Skip to content

Commit

Permalink
Generated from 292e2cbfdfc4a66969ccaa472a9fdce531c4e747
Browse files Browse the repository at this point in the history
re-vert re-ordering of the API's
  • Loading branch information
SDK Automation committed Jul 28, 2020
1 parent 06f5c8c commit 50af844
Show file tree
Hide file tree
Showing 5 changed files with 81 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def delete(
delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/dataSetMappings/{dataSetMappingName}'}

def list_by_share_subscription(
self, resource_group_name, account_name, share_subscription_name, skip_token=None, custom_headers=None, raw=False, **operation_config):
self, resource_group_name, account_name, share_subscription_name, skip_token=None, filter=None, orderby=None, custom_headers=None, raw=False, **operation_config):
"""List DataSetMappings in a share subscription.
List DataSetMappings in a share subscription.
Expand All @@ -260,6 +260,10 @@ def list_by_share_subscription(
:type share_subscription_name: str
:param skip_token: Continuation token
:type skip_token: str
:param filter: Filters the results using OData syntax.
:type filter: str
:param orderby: Sorts the results using OData syntax.
:type orderby: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
Expand Down Expand Up @@ -288,6 +292,10 @@ def prepare_request(next_link=None):
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
if skip_token is not None:
query_parameters['$skipToken'] = self._serialize.query("skip_token", skip_token, 'str')
if filter is not None:
query_parameters['$filter'] = self._serialize.query("filter", filter, 'str')
if orderby is not None:
query_parameters['$orderby'] = self._serialize.query("orderby", orderby, 'str')

else:
url = next_link
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def get_long_running_output(response):
delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/dataSets/{dataSetName}'}

def list_by_share(
self, resource_group_name, account_name, share_name, skip_token=None, custom_headers=None, raw=False, **operation_config):
self, resource_group_name, account_name, share_name, skip_token=None, filter=None, orderby=None, custom_headers=None, raw=False, **operation_config):
"""List DataSets in a share.
List DataSets in a share.
Expand All @@ -286,6 +286,10 @@ def list_by_share(
:type share_name: str
:param skip_token: continuation token
:type skip_token: str
:param filter: Filters the results using OData syntax.
:type filter: str
:param orderby: Sorts the results using OData syntax.
:type orderby: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
Expand Down Expand Up @@ -314,6 +318,10 @@ def prepare_request(next_link=None):
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
if skip_token is not None:
query_parameters['$skipToken'] = self._serialize.query("skip_token", skip_token, 'str')
if filter is not None:
query_parameters['$filter'] = self._serialize.query("filter", filter, 'str')
if orderby is not None:
query_parameters['$orderby'] = self._serialize.query("orderby", orderby, 'str')

else:
url = next_link
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def delete(
delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/invitations/{invitationName}'}

def list_by_share(
self, resource_group_name, account_name, share_name, skip_token=None, custom_headers=None, raw=False, **operation_config):
self, resource_group_name, account_name, share_name, skip_token=None, filter=None, orderby=None, custom_headers=None, raw=False, **operation_config):
"""List all Invitations in a share.
List invitations in a share.
Expand All @@ -256,6 +256,10 @@ def list_by_share(
:type share_name: str
:param skip_token: The continuation token
:type skip_token: str
:param filter: Filters the results using OData syntax.
:type filter: str
:param orderby: Sorts the results using OData syntax.
:type orderby: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
Expand Down Expand Up @@ -284,6 +288,10 @@ def prepare_request(next_link=None):
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
if skip_token is not None:
query_parameters['$skipToken'] = self._serialize.query("skip_token", skip_token, 'str')
if filter is not None:
query_parameters['$filter'] = self._serialize.query("filter", filter, 'str')
if orderby is not None:
query_parameters['$orderby'] = self._serialize.query("orderby", orderby, 'str')

else:
url = next_link
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ def get_long_running_output(response):
delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}'}

def list_by_account(
self, resource_group_name, account_name, skip_token=None, custom_headers=None, raw=False, **operation_config):
self, resource_group_name, account_name, skip_token=None, filter=None, orderby=None, custom_headers=None, raw=False, **operation_config):
"""List of available share subscriptions under an account.
List share subscriptions in an account.
Expand All @@ -292,6 +292,10 @@ def list_by_account(
:type account_name: str
:param skip_token: Continuation Token
:type skip_token: str
:param filter: Filters the results using OData syntax.
:type filter: str
:param orderby: Sorts the results using OData syntax.
:type orderby: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
Expand Down Expand Up @@ -319,6 +323,10 @@ def prepare_request(next_link=None):
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
if skip_token is not None:
query_parameters['$skipToken'] = self._serialize.query("skip_token", skip_token, 'str')
if filter is not None:
query_parameters['$filter'] = self._serialize.query("filter", filter, 'str')
if orderby is not None:
query_parameters['$orderby'] = self._serialize.query("orderby", orderby, 'str')

else:
url = next_link
Expand Down Expand Up @@ -439,7 +447,7 @@ def internal_paging(next_link=None):
list_source_share_synchronization_settings.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/listSourceShareSynchronizationSettings'}

def list_synchronizations(
self, resource_group_name, account_name, share_subscription_name, skip_token=None, custom_headers=None, raw=False, **operation_config):
self, resource_group_name, account_name, share_subscription_name, skip_token=None, filter=None, orderby=None, custom_headers=None, raw=False, **operation_config):
"""List Synchronizations in a share subscription.
List synchronizations of a share subscription.
Expand All @@ -452,6 +460,10 @@ def list_synchronizations(
:type share_subscription_name: str
:param skip_token: Continuation token
:type skip_token: str
:param filter: Filters the results using OData syntax.
:type filter: str
:param orderby: Sorts the results using OData syntax.
:type orderby: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
Expand Down Expand Up @@ -480,6 +492,10 @@ def prepare_request(next_link=None):
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
if skip_token is not None:
query_parameters['$skipToken'] = self._serialize.query("skip_token", skip_token, 'str')
if filter is not None:
query_parameters['$filter'] = self._serialize.query("filter", filter, 'str')
if orderby is not None:
query_parameters['$orderby'] = self._serialize.query("orderby", orderby, 'str')

else:
url = next_link
Expand Down Expand Up @@ -519,7 +535,7 @@ def internal_paging(next_link=None):
list_synchronizations.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/listSynchronizations'}

def list_synchronization_details(
self, resource_group_name, account_name, share_subscription_name, synchronization_id, skip_token=None, custom_headers=None, raw=False, **operation_config):
self, resource_group_name, account_name, share_subscription_name, synchronization_id, skip_token=None, filter=None, orderby=None, custom_headers=None, raw=False, **operation_config):
"""List data set level details for a share subscription synchronization.
List synchronization details.
Expand All @@ -534,6 +550,10 @@ def list_synchronization_details(
:type synchronization_id: str
:param skip_token: Continuation token
:type skip_token: str
:param filter: Filters the results using OData syntax.
:type filter: str
:param orderby: Sorts the results using OData syntax.
:type orderby: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
Expand Down Expand Up @@ -564,6 +584,10 @@ def prepare_request(next_link=None):
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
if skip_token is not None:
query_parameters['$skipToken'] = self._serialize.query("skip_token", skip_token, 'str')
if filter is not None:
query_parameters['$filter'] = self._serialize.query("filter", filter, 'str')
if orderby is not None:
query_parameters['$orderby'] = self._serialize.query("orderby", orderby, 'str')

else:
url = next_link
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def get_long_running_output(response):
delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}'}

def list_by_account(
self, resource_group_name, account_name, skip_token=None, custom_headers=None, raw=False, **operation_config):
self, resource_group_name, account_name, skip_token=None, filter=None, orderby=None, custom_headers=None, raw=False, **operation_config):
"""List of available shares under an account.
List shares in an account.
Expand All @@ -288,6 +288,10 @@ def list_by_account(
:type account_name: str
:param skip_token: Continuation Token
:type skip_token: str
:param filter: Filters the results using OData syntax.
:type filter: str
:param orderby: Sorts the results using OData syntax.
:type orderby: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
Expand Down Expand Up @@ -315,6 +319,10 @@ def prepare_request(next_link=None):
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
if skip_token is not None:
query_parameters['$skipToken'] = self._serialize.query("skip_token", skip_token, 'str')
if filter is not None:
query_parameters['$filter'] = self._serialize.query("filter", filter, 'str')
if orderby is not None:
query_parameters['$orderby'] = self._serialize.query("orderby", orderby, 'str')

else:
url = next_link
Expand Down Expand Up @@ -354,7 +362,7 @@ def internal_paging(next_link=None):
list_by_account.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares'}

def list_synchronizations(
self, resource_group_name, account_name, share_name, skip_token=None, custom_headers=None, raw=False, **operation_config):
self, resource_group_name, account_name, share_name, skip_token=None, filter=None, orderby=None, custom_headers=None, raw=False, **operation_config):
"""List Synchronizations in a share.
List synchronizations of a share.
Expand All @@ -367,6 +375,10 @@ def list_synchronizations(
:type share_name: str
:param skip_token: Continuation token
:type skip_token: str
:param filter: Filters the results using OData syntax.
:type filter: str
:param orderby: Sorts the results using OData syntax.
:type orderby: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
Expand Down Expand Up @@ -395,6 +407,10 @@ def prepare_request(next_link=None):
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
if skip_token is not None:
query_parameters['$skipToken'] = self._serialize.query("skip_token", skip_token, 'str')
if filter is not None:
query_parameters['$filter'] = self._serialize.query("filter", filter, 'str')
if orderby is not None:
query_parameters['$orderby'] = self._serialize.query("orderby", orderby, 'str')

else:
url = next_link
Expand Down Expand Up @@ -434,7 +450,7 @@ def internal_paging(next_link=None):
list_synchronizations.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/listSynchronizations'}

def list_synchronization_details(
self, resource_group_name, account_name, share_name, share_synchronization, skip_token=None, custom_headers=None, raw=False, **operation_config):
self, resource_group_name, account_name, share_name, share_synchronization, skip_token=None, filter=None, orderby=None, custom_headers=None, raw=False, **operation_config):
"""List data set level details for a share synchronization.
List synchronization details.
Expand All @@ -450,6 +466,10 @@ def list_synchronization_details(
~azure.mgmt.datashare.models.ShareSynchronization
:param skip_token: Continuation token
:type skip_token: str
:param filter: Filters the results using OData syntax.
:type filter: str
:param orderby: Sorts the results using OData syntax.
:type orderby: str
:param dict custom_headers: headers that will be added to the request
:param bool raw: returns the direct response alongside the
deserialized response
Expand Down Expand Up @@ -478,6 +498,10 @@ def prepare_request(next_link=None):
query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str')
if skip_token is not None:
query_parameters['$skipToken'] = self._serialize.query("skip_token", skip_token, 'str')
if filter is not None:
query_parameters['$filter'] = self._serialize.query("filter", filter, 'str')
if orderby is not None:
query_parameters['$orderby'] = self._serialize.query("orderby", orderby, 'str')

else:
url = next_link
Expand Down

0 comments on commit 50af844

Please sign in to comment.