diff --git a/sdk/subscription/azure-mgmt-subscription/_meta.json b/sdk/subscription/azure-mgmt-subscription/_meta.json index 26df39e60ba65..0d25c4e1eca61 100644 --- a/sdk/subscription/azure-mgmt-subscription/_meta.json +++ b/sdk/subscription/azure-mgmt-subscription/_meta.json @@ -4,7 +4,7 @@ "@autorest/python@5.12.0", "@autorest/modelerfour@4.19.3" ], - "commit": "1b0a465061c68175898f8f5d27f0301f42ce994c", + "commit": "46ad97970c9c2050396de6d1d0f586166b8d0417", "repository_url": "https://github.com/Azure/azure-rest-api-specs", "autorest_command": "autorest specification/subscription/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --python3-only --track2 --use=@autorest/python@5.12.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2", "readme": "specification/subscription/resource-manager/readme.md" diff --git a/sdk/subscription/azure-mgmt-subscription/azure/mgmt/subscription/_version.py b/sdk/subscription/azure-mgmt-subscription/azure/mgmt/subscription/_version.py index cac9f5d10f8b7..e5754a47ce68f 100644 --- a/sdk/subscription/azure-mgmt-subscription/azure/mgmt/subscription/_version.py +++ b/sdk/subscription/azure-mgmt-subscription/azure/mgmt/subscription/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "3.0.0" +VERSION = "1.0.0b1" diff --git a/sdk/subscription/azure-mgmt-subscription/azure/mgmt/subscription/models/_models_py3.py b/sdk/subscription/azure-mgmt-subscription/azure/mgmt/subscription/models/_models_py3.py index 85bfda0fa46b5..740ad487b7dd3 100644 --- a/sdk/subscription/azure-mgmt-subscription/azure/mgmt/subscription/models/_models_py3.py +++ b/sdk/subscription/azure-mgmt-subscription/azure/mgmt/subscription/models/_models_py3.py @@ -1142,18 +1142,12 @@ def __init__( class SubscriptionListResult(msrest.serialization.Model): """Subscription list operation response. - All required parameters must be populated in order to send to Azure. - :ivar value: An array of subscriptions. :vartype value: list[~azure.mgmt.subscription.models.Subscription] - :ivar next_link: Required. The URL to get the next set of results. + :ivar next_link: The URL to get the next set of results. :vartype next_link: str """ - _validation = { - 'next_link': {'required': True}, - } - _attribute_map = { 'value': {'key': 'value', 'type': '[Subscription]'}, 'next_link': {'key': 'nextLink', 'type': 'str'}, @@ -1162,14 +1156,14 @@ class SubscriptionListResult(msrest.serialization.Model): def __init__( self, *, - next_link: str, value: Optional[List["Subscription"]] = None, + next_link: Optional[str] = None, **kwargs ): """ :keyword value: An array of subscriptions. :paramtype value: list[~azure.mgmt.subscription.models.Subscription] - :keyword next_link: Required. The URL to get the next set of results. + :keyword next_link: The URL to get the next set of results. :paramtype next_link: str """ super(SubscriptionListResult, self).__init__(**kwargs)