@@ -3944,31 +3944,3 @@ def _swap_blob_endpoints(host_locations):
39443944 # Note that only the primary endpoint is supported for the DFS endpoint
39453945 return {LocationMode .PRIMARY : host_locations [LocationMode .PRIMARY ].replace (_BLOB_SERVICE_PUBLIC_CLOUD_HOST ,
39463946 _DFS_SERVICE_PUBLIC_CLOUD_HOST , 1 )}
3947-
3948- # TODO remove after service update, needed for testing against HN-enabled account for the moment
3949- def _create_file_system (self , filesystem_name , timeout = None ):
3950- _validate_not_none ('filesystem_name' , filesystem_name )
3951- request = HTTPRequest ()
3952- request .host_locations = self ._swap_blob_endpoints (self ._get_host_locations ())
3953- request .method = 'PUT'
3954- request .path = _get_path (filesystem_name )
3955- request .query = {
3956- 'resource' : 'filesystem' ,
3957- 'timeout' : _int_to_str (timeout ),
3958- }
3959- self ._perform_request (request )
3960- return True
3961-
3962- # TODO remove after service update, needed for testing against HN-enabled account for the moment
3963- def _delete_file_system (self , filesystem_name , timeout = None ):
3964- _validate_not_none ('filesystem_name' , filesystem_name )
3965- request = HTTPRequest ()
3966- request .host_locations = self ._swap_blob_endpoints (self ._get_host_locations ())
3967- request .method = 'DELETE'
3968- request .path = _get_path (filesystem_name )
3969- request .query = {
3970- 'resource' : 'filesystem' ,
3971- 'timeout' : _int_to_str (timeout ),
3972- }
3973- self ._perform_request (request )
3974- return True
0 commit comments