Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR containerregistry/resource-manager] Xiadu/msi #3580

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
from .operation_service_specification_definition_py3 import OperationServiceSpecificationDefinition
from .operation_definition_py3 import OperationDefinition
from .sku_py3 import Sku
from .registry_identity_py3 import RegistryIdentity
from .status_py3 import Status
from .storage_account_properties_py3 import StorageAccountProperties
from .registry_py3 import Registry
Expand Down Expand Up @@ -60,7 +59,6 @@
from .operation_service_specification_definition import OperationServiceSpecificationDefinition
from .operation_definition import OperationDefinition
from .sku import Sku
from .registry_identity import RegistryIdentity
from .status import Status
from .storage_account_properties import StorageAccountProperties
from .registry import Registry
Expand Down Expand Up @@ -118,7 +116,6 @@
'OperationServiceSpecificationDefinition',
'OperationDefinition',
'Sku',
'RegistryIdentity',
'Status',
'StorageAccountProperties',
'Registry',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ class Registry(Resource):
:type tags: dict[str, str]
:param sku: Required. The SKU of the container registry.
:type sku: ~azure.mgmt.containerregistry.v2017_10_01.models.Sku
:param identity: The identity of the container registry.
:type identity:
~azure.mgmt.containerregistry.v2017_10_01.models.RegistryIdentity
:ivar login_server: The URL that can be used to log into the container
registry.
:vartype login_server: str
Expand Down Expand Up @@ -78,7 +75,6 @@ class Registry(Resource):
'location': {'key': 'location', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'sku': {'key': 'sku', 'type': 'Sku'},
'identity': {'key': 'identity', 'type': 'RegistryIdentity'},
'login_server': {'key': 'properties.loginServer', 'type': 'str'},
'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
Expand All @@ -90,7 +86,6 @@ class Registry(Resource):
def __init__(self, **kwargs):
super(Registry, self).__init__(**kwargs)
self.sku = kwargs.get('sku', None)
self.identity = kwargs.get('identity', None)
self.login_server = None
self.creation_date = None
self.provisioning_state = None
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ class Registry(Resource):
:type tags: dict[str, str]
:param sku: Required. The SKU of the container registry.
:type sku: ~azure.mgmt.containerregistry.v2017_10_01.models.Sku
:param identity: The identity of the container registry.
:type identity:
~azure.mgmt.containerregistry.v2017_10_01.models.RegistryIdentity
:ivar login_server: The URL that can be used to log into the container
registry.
:vartype login_server: str
Expand Down Expand Up @@ -78,7 +75,6 @@ class Registry(Resource):
'location': {'key': 'location', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'sku': {'key': 'sku', 'type': 'Sku'},
'identity': {'key': 'identity', 'type': 'RegistryIdentity'},
'login_server': {'key': 'properties.loginServer', 'type': 'str'},
'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
Expand All @@ -87,10 +83,9 @@ class Registry(Resource):
'storage_account': {'key': 'properties.storageAccount', 'type': 'StorageAccountProperties'},
}

def __init__(self, *, location: str, sku, tags=None, identity=None, admin_user_enabled: bool=False, storage_account=None, **kwargs) -> None:
def __init__(self, *, location: str, sku, tags=None, admin_user_enabled: bool=False, storage_account=None, **kwargs) -> None:
super(Registry, self).__init__(location=location, tags=tags, **kwargs)
self.sku = sku
self.identity = identity
self.login_server = None
self.creation_date = None
self.provisioning_state = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ class RegistryUpdateParameters(Model):
:type tags: dict[str, str]
:param sku: The SKU of the container registry.
:type sku: ~azure.mgmt.containerregistry.v2017_10_01.models.Sku
:param identity: The identity of the container registry.
:type identity:
~azure.mgmt.containerregistry.v2017_10_01.models.RegistryIdentity
:param admin_user_enabled: The value that indicates whether the admin user
is enabled.
:type admin_user_enabled: bool
Expand All @@ -36,7 +33,6 @@ class RegistryUpdateParameters(Model):
_attribute_map = {
'tags': {'key': 'tags', 'type': '{str}'},
'sku': {'key': 'sku', 'type': 'Sku'},
'identity': {'key': 'identity', 'type': 'RegistryIdentity'},
'admin_user_enabled': {'key': 'properties.adminUserEnabled', 'type': 'bool'},
'storage_account': {'key': 'properties.storageAccount', 'type': 'StorageAccountProperties'},
}
Expand All @@ -45,6 +41,5 @@ def __init__(self, **kwargs):
super(RegistryUpdateParameters, self).__init__(**kwargs)
self.tags = kwargs.get('tags', None)
self.sku = kwargs.get('sku', None)
self.identity = kwargs.get('identity', None)
self.admin_user_enabled = kwargs.get('admin_user_enabled', None)
self.storage_account = kwargs.get('storage_account', None)
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ class RegistryUpdateParameters(Model):
:type tags: dict[str, str]
:param sku: The SKU of the container registry.
:type sku: ~azure.mgmt.containerregistry.v2017_10_01.models.Sku
:param identity: The identity of the container registry.
:type identity:
~azure.mgmt.containerregistry.v2017_10_01.models.RegistryIdentity
:param admin_user_enabled: The value that indicates whether the admin user
is enabled.
:type admin_user_enabled: bool
Expand All @@ -36,15 +33,13 @@ class RegistryUpdateParameters(Model):
_attribute_map = {
'tags': {'key': 'tags', 'type': '{str}'},
'sku': {'key': 'sku', 'type': 'Sku'},
'identity': {'key': 'identity', 'type': 'RegistryIdentity'},
'admin_user_enabled': {'key': 'properties.adminUserEnabled', 'type': 'bool'},
'storage_account': {'key': 'properties.storageAccount', 'type': 'StorageAccountProperties'},
}

def __init__(self, *, tags=None, sku=None, identity=None, admin_user_enabled: bool=None, storage_account=None, **kwargs) -> None:
def __init__(self, *, tags=None, sku=None, admin_user_enabled: bool=None, storage_account=None, **kwargs) -> None:
super(RegistryUpdateParameters, self).__init__(**kwargs)
self.tags = tags
self.sku = sku
self.identity = identity
self.admin_user_enabled = admin_user_enabled
self.storage_account = storage_account
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
from .operation_service_specification_definition_py3 import OperationServiceSpecificationDefinition
from .operation_definition_py3 import OperationDefinition
from .sku_py3 import Sku
from .registry_identity_py3 import RegistryIdentity
from .status_py3 import Status
from .storage_account_properties_py3 import StorageAccountProperties
from .registry_py3 import Registry
Expand Down Expand Up @@ -87,7 +86,6 @@
from .operation_service_specification_definition import OperationServiceSpecificationDefinition
from .operation_definition import OperationDefinition
from .sku import Sku
from .registry_identity import RegistryIdentity
from .status import Status
from .storage_account_properties import StorageAccountProperties
from .registry import Registry
Expand Down Expand Up @@ -184,7 +182,6 @@
'OperationServiceSpecificationDefinition',
'OperationDefinition',
'Sku',
'RegistryIdentity',
'Status',
'StorageAccountProperties',
'Registry',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ class Registry(Resource):
:type tags: dict[str, str]
:param sku: Required. The SKU of the container registry.
:type sku: ~azure.mgmt.containerregistry.v2018_02_01_preview.models.Sku
:param identity: The identity of the container registry.
:type identity:
~azure.mgmt.containerregistry.v2018_02_01_preview.models.RegistryIdentity
:ivar login_server: The URL that can be used to log into the container
registry.
:vartype login_server: str
Expand Down Expand Up @@ -79,7 +76,6 @@ class Registry(Resource):
'location': {'key': 'location', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'sku': {'key': 'sku', 'type': 'Sku'},
'identity': {'key': 'identity', 'type': 'RegistryIdentity'},
'login_server': {'key': 'properties.loginServer', 'type': 'str'},
'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
Expand All @@ -91,7 +87,6 @@ class Registry(Resource):
def __init__(self, **kwargs):
super(Registry, self).__init__(**kwargs)
self.sku = kwargs.get('sku', None)
self.identity = kwargs.get('identity', None)
self.login_server = None
self.creation_date = None
self.provisioning_state = None
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ class Registry(Resource):
:type tags: dict[str, str]
:param sku: Required. The SKU of the container registry.
:type sku: ~azure.mgmt.containerregistry.v2018_02_01_preview.models.Sku
:param identity: The identity of the container registry.
:type identity:
~azure.mgmt.containerregistry.v2018_02_01_preview.models.RegistryIdentity
:ivar login_server: The URL that can be used to log into the container
registry.
:vartype login_server: str
Expand Down Expand Up @@ -79,7 +76,6 @@ class Registry(Resource):
'location': {'key': 'location', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'sku': {'key': 'sku', 'type': 'Sku'},
'identity': {'key': 'identity', 'type': 'RegistryIdentity'},
'login_server': {'key': 'properties.loginServer', 'type': 'str'},
'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
Expand All @@ -88,10 +84,9 @@ class Registry(Resource):
'storage_account': {'key': 'properties.storageAccount', 'type': 'StorageAccountProperties'},
}

def __init__(self, *, location: str, sku, tags=None, identity=None, admin_user_enabled: bool=False, storage_account=None, **kwargs) -> None:
def __init__(self, *, location: str, sku, tags=None, admin_user_enabled: bool=False, storage_account=None, **kwargs) -> None:
super(Registry, self).__init__(location=location, tags=tags, **kwargs)
self.sku = sku
self.identity = identity
self.login_server = None
self.creation_date = None
self.provisioning_state = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ class RegistryUpdateParameters(Model):
:type tags: dict[str, str]
:param sku: The SKU of the container registry.
:type sku: ~azure.mgmt.containerregistry.v2018_02_01_preview.models.Sku
:param identity: The identity of the container registry.
:type identity:
~azure.mgmt.containerregistry.v2018_02_01_preview.models.RegistryIdentity
:param admin_user_enabled: The value that indicates whether the admin user
is enabled.
:type admin_user_enabled: bool
Expand All @@ -36,7 +33,6 @@ class RegistryUpdateParameters(Model):
_attribute_map = {
'tags': {'key': 'tags', 'type': '{str}'},
'sku': {'key': 'sku', 'type': 'Sku'},
'identity': {'key': 'identity', 'type': 'RegistryIdentity'},
'admin_user_enabled': {'key': 'properties.adminUserEnabled', 'type': 'bool'},
'storage_account': {'key': 'properties.storageAccount', 'type': 'StorageAccountProperties'},
}
Expand All @@ -45,6 +41,5 @@ def __init__(self, **kwargs):
super(RegistryUpdateParameters, self).__init__(**kwargs)
self.tags = kwargs.get('tags', None)
self.sku = kwargs.get('sku', None)
self.identity = kwargs.get('identity', None)
self.admin_user_enabled = kwargs.get('admin_user_enabled', None)
self.storage_account = kwargs.get('storage_account', None)
Loading