diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/models/__init__.py b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/models/__init__.py index fb0d40dcf547..ca9687b83717 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/models/__init__.py +++ b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/models/__init__.py @@ -96,6 +96,7 @@ from ._models_py3 import SourceUploadDefinition from ._models_py3 import Status from ._models_py3 import StorageAccountProperties + from ._models_py3 import SystemData from ._models_py3 import Target from ._models_py3 import Task from ._models_py3 import TaskRun @@ -207,6 +208,7 @@ from ._models import SourceUploadDefinition from ._models import Status from ._models import StorageAccountProperties + from ._models import SystemData from ._models import Target from ._models import Task from ._models import TaskRun @@ -255,6 +257,7 @@ RegistryUsageUnit, WebhookStatus, WebhookAction, + CreatedByType, OS, RunStatus, RunType, @@ -363,6 +366,7 @@ 'SourceUploadDefinition', 'Status', 'StorageAccountProperties', + 'SystemData', 'Target', 'Task', 'TaskRun', @@ -410,6 +414,7 @@ 'RegistryUsageUnit', 'WebhookStatus', 'WebhookAction', + 'CreatedByType', 'OS', 'RunStatus', 'RunType', diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/models/_container_registry_management_client_enums.py b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/models/_container_registry_management_client_enums.py index 63e6bb6d8314..ea1d2d4fa737 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/models/_container_registry_management_client_enums.py +++ b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/models/_container_registry_management_client_enums.py @@ -93,6 +93,14 @@ class WebhookAction(str, Enum): chart_delete = "chart_delete" +class CreatedByType(str, Enum): + + user = "User" + application = "Application" + managed_identity = "ManagedIdentity" + key = "Key" + + class OS(str, Enum): windows = "Windows" diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/models/_models.py b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/models/_models.py index 08121387aa0a..cb80236131e3 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/models/_models.py +++ b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/models/_models.py @@ -75,6 +75,10 @@ class Resource(Model): :type location: str :param tags: The tags of the resource. :type tags: dict[str, str] + :ivar system_data: Metadata pertaining to creation and last modification + of the resource. + :vartype system_data: + ~azure.mgmt.containerregistry.v2019_06_01_preview.models.SystemData """ _validation = { @@ -82,6 +86,7 @@ class Resource(Model): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'system_data': {'readonly': True}, } _attribute_map = { @@ -90,6 +95,7 @@ class Resource(Model): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, } def __init__(self, **kwargs): @@ -99,6 +105,7 @@ def __init__(self, **kwargs): self.type = None self.location = kwargs.get('location', None) self.tags = kwargs.get('tags', None) + self.system_data = None class AgentPool(Resource): @@ -121,6 +128,10 @@ class AgentPool(Resource): :type location: str :param tags: The tags of the resource. :type tags: dict[str, str] + :ivar system_data: Metadata pertaining to creation and last modification + of the resource. + :vartype system_data: + ~azure.mgmt.containerregistry.v2019_06_01_preview.models.SystemData :param count: The count of agent machine :type count: int :param tier: The Tier of agent machine @@ -144,6 +155,7 @@ class AgentPool(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'system_data': {'readonly': True}, 'provisioning_state': {'readonly': True}, } @@ -153,6 +165,7 @@ class AgentPool(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, 'count': {'key': 'properties.count', 'type': 'int'}, 'tier': {'key': 'properties.tier', 'type': 'str'}, 'os': {'key': 'properties.os', 'type': 'str'}, @@ -2168,6 +2181,10 @@ class Registry(Resource): :type location: str :param tags: The tags of the resource. :type tags: dict[str, str] + :ivar system_data: Metadata pertaining to creation and last modification + of the resource. + :vartype system_data: + ~azure.mgmt.containerregistry.v2019_06_01_preview.models.SystemData :param sku: Required. The SKU of the container registry. :type sku: ~azure.mgmt.containerregistry.v2019_06_01_preview.models.Sku :ivar login_server: The URL that can be used to log into the container @@ -2205,6 +2222,7 @@ class Registry(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'system_data': {'readonly': True}, 'sku': {'required': True}, 'login_server': {'readonly': True}, 'creation_date': {'readonly': True}, @@ -2218,6 +2236,7 @@ class Registry(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, 'sku': {'key': 'sku', 'type': 'Sku'}, 'login_server': {'key': 'properties.loginServer', 'type': 'str'}, 'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'}, @@ -2446,6 +2465,10 @@ class Replication(Resource): :type location: str :param tags: The tags of the resource. :type tags: dict[str, str] + :ivar system_data: Metadata pertaining to creation and last modification + of the resource. + :vartype system_data: + ~azure.mgmt.containerregistry.v2019_06_01_preview.models.SystemData :ivar provisioning_state: The provisioning state of the replication at the time the operation was called. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled' @@ -2462,6 +2485,7 @@ class Replication(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'system_data': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'status': {'readonly': True}, } @@ -2472,6 +2496,7 @@ class Replication(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'status': {'key': 'properties.status', 'type': 'Status'}, } @@ -3294,6 +3319,48 @@ def __init__(self, **kwargs): self.id = kwargs.get('id', None) +class SystemData(Model): + """Metadata pertaining to creation and last modification of the resource. + + :param created_by: The identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource. + Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key' + :type created_by_type: str or + ~azure.mgmt.containerregistry.v2019_06_01_preview.models.CreatedByType + :param created_at: The timestamp of resource creation (UTC). + :type created_at: datetime + :param last_modified_by: The identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the + resource. Possible values include: 'User', 'Application', + 'ManagedIdentity', 'Key' + :type last_modified_by_type: str or + ~azure.mgmt.containerregistry.v2019_06_01_preview.models.CreatedByType + :param last_modified_at: The type of identity that last modified the + resource. + :type last_modified_at: datetime + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, + } + + def __init__(self, **kwargs): + super(SystemData, self).__init__(**kwargs) + self.created_by = kwargs.get('created_by', None) + self.created_by_type = kwargs.get('created_by_type', None) + self.created_at = kwargs.get('created_at', None) + self.last_modified_by = kwargs.get('last_modified_by', None) + self.last_modified_by_type = kwargs.get('last_modified_by_type', None) + self.last_modified_at = kwargs.get('last_modified_at', None) + + class Target(Model): """The target of the event. @@ -3363,6 +3430,10 @@ class Task(Resource): :type location: str :param tags: The tags of the resource. :type tags: dict[str, str] + :ivar system_data: Metadata pertaining to creation and last modification + of the resource. + :vartype system_data: + ~azure.mgmt.containerregistry.v2019_06_01_preview.models.SystemData :param identity: Identity for the resource. :type identity: ~azure.mgmt.containerregistry.v2019_06_01_preview.models.IdentityProperties @@ -3405,6 +3476,7 @@ class Task(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'system_data': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'creation_date': {'readonly': True}, 'platform': {'required': True}, @@ -3418,6 +3490,7 @@ class Task(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, 'identity': {'key': 'identity', 'type': 'IdentityProperties'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'}, @@ -3466,6 +3539,10 @@ class TaskRun(Resource): :type location: str :param tags: The tags of the resource. :type tags: dict[str, str] + :ivar system_data: Metadata pertaining to creation and last modification + of the resource. + :vartype system_data: + ~azure.mgmt.containerregistry.v2019_06_01_preview.models.SystemData :param identity: Identity for the resource. :type identity: ~azure.mgmt.containerregistry.v2019_06_01_preview.models.IdentityProperties @@ -3490,6 +3567,7 @@ class TaskRun(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'system_data': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'run_result': {'readonly': True}, } @@ -3500,6 +3578,7 @@ class TaskRun(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, 'identity': {'key': 'identity', 'type': 'IdentityProperties'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'run_request': {'key': 'properties.runRequest', 'type': 'RunRequest'}, @@ -4070,6 +4149,10 @@ class Webhook(Resource): :type location: str :param tags: The tags of the resource. :type tags: dict[str, str] + :ivar system_data: Metadata pertaining to creation and last modification + of the resource. + :vartype system_data: + ~azure.mgmt.containerregistry.v2019_06_01_preview.models.SystemData :param status: The status of the webhook at the time the operation was called. Possible values include: 'enabled', 'disabled' :type status: str or @@ -4095,6 +4178,7 @@ class Webhook(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'system_data': {'readonly': True}, 'actions': {'required': True}, 'provisioning_state': {'readonly': True}, } @@ -4105,6 +4189,7 @@ class Webhook(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, 'status': {'key': 'properties.status', 'type': 'str'}, 'scope': {'key': 'properties.scope', 'type': 'str'}, 'actions': {'key': 'properties.actions', 'type': '[str]'}, diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/models/_models_py3.py b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/models/_models_py3.py index 8f7d952288d1..164669ad462d 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/models/_models_py3.py +++ b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview/models/_models_py3.py @@ -75,6 +75,10 @@ class Resource(Model): :type location: str :param tags: The tags of the resource. :type tags: dict[str, str] + :ivar system_data: Metadata pertaining to creation and last modification + of the resource. + :vartype system_data: + ~azure.mgmt.containerregistry.v2019_06_01_preview.models.SystemData """ _validation = { @@ -82,6 +86,7 @@ class Resource(Model): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'system_data': {'readonly': True}, } _attribute_map = { @@ -90,6 +95,7 @@ class Resource(Model): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, } def __init__(self, *, location: str, tags=None, **kwargs) -> None: @@ -99,6 +105,7 @@ def __init__(self, *, location: str, tags=None, **kwargs) -> None: self.type = None self.location = location self.tags = tags + self.system_data = None class AgentPool(Resource): @@ -121,6 +128,10 @@ class AgentPool(Resource): :type location: str :param tags: The tags of the resource. :type tags: dict[str, str] + :ivar system_data: Metadata pertaining to creation and last modification + of the resource. + :vartype system_data: + ~azure.mgmt.containerregistry.v2019_06_01_preview.models.SystemData :param count: The count of agent machine :type count: int :param tier: The Tier of agent machine @@ -144,6 +155,7 @@ class AgentPool(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'system_data': {'readonly': True}, 'provisioning_state': {'readonly': True}, } @@ -153,6 +165,7 @@ class AgentPool(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, 'count': {'key': 'properties.count', 'type': 'int'}, 'tier': {'key': 'properties.tier', 'type': 'str'}, 'os': {'key': 'properties.os', 'type': 'str'}, @@ -2168,6 +2181,10 @@ class Registry(Resource): :type location: str :param tags: The tags of the resource. :type tags: dict[str, str] + :ivar system_data: Metadata pertaining to creation and last modification + of the resource. + :vartype system_data: + ~azure.mgmt.containerregistry.v2019_06_01_preview.models.SystemData :param sku: Required. The SKU of the container registry. :type sku: ~azure.mgmt.containerregistry.v2019_06_01_preview.models.Sku :ivar login_server: The URL that can be used to log into the container @@ -2205,6 +2222,7 @@ class Registry(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'system_data': {'readonly': True}, 'sku': {'required': True}, 'login_server': {'readonly': True}, 'creation_date': {'readonly': True}, @@ -2218,6 +2236,7 @@ class Registry(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, 'sku': {'key': 'sku', 'type': 'Sku'}, 'login_server': {'key': 'properties.loginServer', 'type': 'str'}, 'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'}, @@ -2446,6 +2465,10 @@ class Replication(Resource): :type location: str :param tags: The tags of the resource. :type tags: dict[str, str] + :ivar system_data: Metadata pertaining to creation and last modification + of the resource. + :vartype system_data: + ~azure.mgmt.containerregistry.v2019_06_01_preview.models.SystemData :ivar provisioning_state: The provisioning state of the replication at the time the operation was called. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled' @@ -2462,6 +2485,7 @@ class Replication(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'system_data': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'status': {'readonly': True}, } @@ -2472,6 +2496,7 @@ class Replication(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'status': {'key': 'properties.status', 'type': 'Status'}, } @@ -3294,6 +3319,48 @@ def __init__(self, *, id: str, **kwargs) -> None: self.id = id +class SystemData(Model): + """Metadata pertaining to creation and last modification of the resource. + + :param created_by: The identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource. + Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key' + :type created_by_type: str or + ~azure.mgmt.containerregistry.v2019_06_01_preview.models.CreatedByType + :param created_at: The timestamp of resource creation (UTC). + :type created_at: datetime + :param last_modified_by: The identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the + resource. Possible values include: 'User', 'Application', + 'ManagedIdentity', 'Key' + :type last_modified_by_type: str or + ~azure.mgmt.containerregistry.v2019_06_01_preview.models.CreatedByType + :param last_modified_at: The type of identity that last modified the + resource. + :type last_modified_at: datetime + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, + } + + def __init__(self, *, created_by: str=None, created_by_type=None, created_at=None, last_modified_by: str=None, last_modified_by_type=None, last_modified_at=None, **kwargs) -> None: + super(SystemData, self).__init__(**kwargs) + self.created_by = created_by + self.created_by_type = created_by_type + self.created_at = created_at + self.last_modified_by = last_modified_by + self.last_modified_by_type = last_modified_by_type + self.last_modified_at = last_modified_at + + class Target(Model): """The target of the event. @@ -3363,6 +3430,10 @@ class Task(Resource): :type location: str :param tags: The tags of the resource. :type tags: dict[str, str] + :ivar system_data: Metadata pertaining to creation and last modification + of the resource. + :vartype system_data: + ~azure.mgmt.containerregistry.v2019_06_01_preview.models.SystemData :param identity: Identity for the resource. :type identity: ~azure.mgmt.containerregistry.v2019_06_01_preview.models.IdentityProperties @@ -3405,6 +3476,7 @@ class Task(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'system_data': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'creation_date': {'readonly': True}, 'platform': {'required': True}, @@ -3418,6 +3490,7 @@ class Task(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, 'identity': {'key': 'identity', 'type': 'IdentityProperties'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'}, @@ -3466,6 +3539,10 @@ class TaskRun(Resource): :type location: str :param tags: The tags of the resource. :type tags: dict[str, str] + :ivar system_data: Metadata pertaining to creation and last modification + of the resource. + :vartype system_data: + ~azure.mgmt.containerregistry.v2019_06_01_preview.models.SystemData :param identity: Identity for the resource. :type identity: ~azure.mgmt.containerregistry.v2019_06_01_preview.models.IdentityProperties @@ -3490,6 +3567,7 @@ class TaskRun(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'system_data': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'run_result': {'readonly': True}, } @@ -3500,6 +3578,7 @@ class TaskRun(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, 'identity': {'key': 'identity', 'type': 'IdentityProperties'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'run_request': {'key': 'properties.runRequest', 'type': 'RunRequest'}, @@ -4070,6 +4149,10 @@ class Webhook(Resource): :type location: str :param tags: The tags of the resource. :type tags: dict[str, str] + :ivar system_data: Metadata pertaining to creation and last modification + of the resource. + :vartype system_data: + ~azure.mgmt.containerregistry.v2019_06_01_preview.models.SystemData :param status: The status of the webhook at the time the operation was called. Possible values include: 'enabled', 'disabled' :type status: str or @@ -4095,6 +4178,7 @@ class Webhook(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'system_data': {'readonly': True}, 'actions': {'required': True}, 'provisioning_state': {'readonly': True}, } @@ -4105,6 +4189,7 @@ class Webhook(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, 'status': {'key': 'properties.status', 'type': 'str'}, 'scope': {'key': 'properties.scope', 'type': 'str'}, 'actions': {'key': 'properties.actions', 'type': '[str]'}, diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/__init__.py b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/__init__.py index 4ffe02bc13cd..94f9e7af79ed 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/__init__.py +++ b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/__init__.py @@ -116,6 +116,7 @@ from ._models_py3 import SourceUploadDefinition from ._models_py3 import Status from ._models_py3 import StorageAccountProperties + from ._models_py3 import SystemData from ._models_py3 import Target from ._models_py3 import Task from ._models_py3 import TaskRun @@ -247,6 +248,7 @@ from ._models import SourceUploadDefinition from ._models import Status from ._models import StorageAccountProperties + from ._models import SystemData from ._models import Target from ._models import Task from ._models import TaskRun @@ -310,6 +312,7 @@ RegistryUsageUnit, WebhookStatus, WebhookAction, + CreatedByType, OS, RunStatus, RunType, @@ -436,6 +439,7 @@ 'SourceUploadDefinition', 'Status', 'StorageAccountProperties', + 'SystemData', 'Target', 'Task', 'TaskRun', @@ -498,6 +502,7 @@ 'RegistryUsageUnit', 'WebhookStatus', 'WebhookAction', + 'CreatedByType', 'OS', 'RunStatus', 'RunType', diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_container_registry_management_client_enums.py b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_container_registry_management_client_enums.py index 0b364845701d..22ed146927f9 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_container_registry_management_client_enums.py +++ b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_container_registry_management_client_enums.py @@ -156,6 +156,14 @@ class WebhookAction(str, Enum): chart_delete = "chart_delete" +class CreatedByType(str, Enum): + + user = "User" + application = "Application" + managed_identity = "ManagedIdentity" + key = "Key" + + class OS(str, Enum): windows = "Windows" diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_models.py b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_models.py index 4c5cd5fc0c82..498004baf5df 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_models.py +++ b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_models.py @@ -75,6 +75,10 @@ class Resource(Model): :type location: str :param tags: The tags of the resource. :type tags: dict[str, str] + :ivar system_data: Metadata pertaining to creation and last modification + of the resource. + :vartype system_data: + ~azure.mgmt.containerregistry.v2019_12_01_preview.models.SystemData """ _validation = { @@ -82,6 +86,7 @@ class Resource(Model): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'system_data': {'readonly': True}, } _attribute_map = { @@ -90,6 +95,7 @@ class Resource(Model): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, } def __init__(self, **kwargs): @@ -99,6 +105,7 @@ def __init__(self, **kwargs): self.type = None self.location = kwargs.get('location', None) self.tags = kwargs.get('tags', None) + self.system_data = None class AgentPool(Resource): @@ -121,6 +128,10 @@ class AgentPool(Resource): :type location: str :param tags: The tags of the resource. :type tags: dict[str, str] + :ivar system_data: Metadata pertaining to creation and last modification + of the resource. + :vartype system_data: + ~azure.mgmt.containerregistry.v2019_12_01_preview.models.SystemData :param count: The count of agent machine :type count: int :param tier: The Tier of agent machine @@ -144,6 +155,7 @@ class AgentPool(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'system_data': {'readonly': True}, 'provisioning_state': {'readonly': True}, } @@ -153,6 +165,7 @@ class AgentPool(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, 'count': {'key': 'properties.count', 'type': 'int'}, 'tier': {'key': 'properties.tier', 'type': 'str'}, 'os': {'key': 'properties.os', 'type': 'str'}, @@ -2843,6 +2856,10 @@ class Registry(Resource): :type location: str :param tags: The tags of the resource. :type tags: dict[str, str] + :ivar system_data: Metadata pertaining to creation and last modification + of the resource. + :vartype system_data: + ~azure.mgmt.containerregistry.v2019_12_01_preview.models.SystemData :param sku: Required. The SKU of the container registry. :type sku: ~azure.mgmt.containerregistry.v2019_12_01_preview.models.Sku :param identity: The identity of the container registry. @@ -2901,6 +2918,7 @@ class Registry(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'system_data': {'readonly': True}, 'sku': {'required': True}, 'login_server': {'readonly': True}, 'creation_date': {'readonly': True}, @@ -2916,6 +2934,7 @@ class Registry(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, 'sku': {'key': 'sku', 'type': 'Sku'}, 'identity': {'key': 'identity', 'type': 'IdentityProperties'}, 'login_server': {'key': 'properties.loginServer', 'type': 'str'}, @@ -3178,6 +3197,10 @@ class Replication(Resource): :type location: str :param tags: The tags of the resource. :type tags: dict[str, str] + :ivar system_data: Metadata pertaining to creation and last modification + of the resource. + :vartype system_data: + ~azure.mgmt.containerregistry.v2019_12_01_preview.models.SystemData :ivar provisioning_state: The provisioning state of the replication at the time the operation was called. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled' @@ -3199,6 +3222,7 @@ class Replication(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'system_data': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'status': {'readonly': True}, } @@ -3209,6 +3233,7 @@ class Replication(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'status': {'key': 'properties.status', 'type': 'Status'}, 'region_endpoint_enabled': {'key': 'properties.regionEndpointEnabled', 'type': 'bool'}, @@ -4040,6 +4065,48 @@ def __init__(self, **kwargs): self.id = kwargs.get('id', None) +class SystemData(Model): + """Metadata pertaining to creation and last modification of the resource. + + :param created_by: The identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource. + Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key' + :type created_by_type: str or + ~azure.mgmt.containerregistry.v2019_12_01_preview.models.CreatedByType + :param created_at: The timestamp of resource creation (UTC). + :type created_at: datetime + :param last_modified_by: The identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the + resource. Possible values include: 'User', 'Application', + 'ManagedIdentity', 'Key' + :type last_modified_by_type: str or + ~azure.mgmt.containerregistry.v2019_12_01_preview.models.CreatedByType + :param last_modified_at: The type of identity that last modified the + resource. + :type last_modified_at: datetime + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, + } + + def __init__(self, **kwargs): + super(SystemData, self).__init__(**kwargs) + self.created_by = kwargs.get('created_by', None) + self.created_by_type = kwargs.get('created_by_type', None) + self.created_at = kwargs.get('created_at', None) + self.last_modified_by = kwargs.get('last_modified_by', None) + self.last_modified_by_type = kwargs.get('last_modified_by_type', None) + self.last_modified_at = kwargs.get('last_modified_at', None) + + class Target(Model): """The target of the event. @@ -4109,6 +4176,10 @@ class Task(Resource): :type location: str :param tags: The tags of the resource. :type tags: dict[str, str] + :ivar system_data: Metadata pertaining to creation and last modification + of the resource. + :vartype system_data: + ~azure.mgmt.containerregistry.v2019_12_01_preview.models.SystemData :param identity: Identity for the resource. :type identity: ~azure.mgmt.containerregistry.v2019_12_01_preview.models.IdentityProperties @@ -4151,6 +4222,7 @@ class Task(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'system_data': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'creation_date': {'readonly': True}, 'platform': {'required': True}, @@ -4164,6 +4236,7 @@ class Task(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, 'identity': {'key': 'identity', 'type': 'IdentityProperties'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'}, @@ -4212,6 +4285,10 @@ class TaskRun(Resource): :type location: str :param tags: The tags of the resource. :type tags: dict[str, str] + :ivar system_data: Metadata pertaining to creation and last modification + of the resource. + :vartype system_data: + ~azure.mgmt.containerregistry.v2019_12_01_preview.models.SystemData :param identity: Identity for the resource. :type identity: ~azure.mgmt.containerregistry.v2019_12_01_preview.models.IdentityProperties @@ -4236,6 +4313,7 @@ class TaskRun(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'system_data': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'run_result': {'readonly': True}, } @@ -4246,6 +4324,7 @@ class TaskRun(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, 'identity': {'key': 'identity', 'type': 'IdentityProperties'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'run_request': {'key': 'properties.runRequest', 'type': 'RunRequest'}, @@ -4816,6 +4895,10 @@ class Webhook(Resource): :type location: str :param tags: The tags of the resource. :type tags: dict[str, str] + :ivar system_data: Metadata pertaining to creation and last modification + of the resource. + :vartype system_data: + ~azure.mgmt.containerregistry.v2019_12_01_preview.models.SystemData :param status: The status of the webhook at the time the operation was called. Possible values include: 'enabled', 'disabled' :type status: str or @@ -4841,6 +4924,7 @@ class Webhook(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'system_data': {'readonly': True}, 'actions': {'required': True}, 'provisioning_state': {'readonly': True}, } @@ -4851,6 +4935,7 @@ class Webhook(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, 'status': {'key': 'properties.status', 'type': 'str'}, 'scope': {'key': 'properties.scope', 'type': 'str'}, 'actions': {'key': 'properties.actions', 'type': '[str]'}, diff --git a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_models_py3.py b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_models_py3.py index e7513de90501..f94a0add15b8 100644 --- a/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_models_py3.py +++ b/sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_12_01_preview/models/_models_py3.py @@ -75,6 +75,10 @@ class Resource(Model): :type location: str :param tags: The tags of the resource. :type tags: dict[str, str] + :ivar system_data: Metadata pertaining to creation and last modification + of the resource. + :vartype system_data: + ~azure.mgmt.containerregistry.v2019_12_01_preview.models.SystemData """ _validation = { @@ -82,6 +86,7 @@ class Resource(Model): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'system_data': {'readonly': True}, } _attribute_map = { @@ -90,6 +95,7 @@ class Resource(Model): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, } def __init__(self, *, location: str, tags=None, **kwargs) -> None: @@ -99,6 +105,7 @@ def __init__(self, *, location: str, tags=None, **kwargs) -> None: self.type = None self.location = location self.tags = tags + self.system_data = None class AgentPool(Resource): @@ -121,6 +128,10 @@ class AgentPool(Resource): :type location: str :param tags: The tags of the resource. :type tags: dict[str, str] + :ivar system_data: Metadata pertaining to creation and last modification + of the resource. + :vartype system_data: + ~azure.mgmt.containerregistry.v2019_12_01_preview.models.SystemData :param count: The count of agent machine :type count: int :param tier: The Tier of agent machine @@ -144,6 +155,7 @@ class AgentPool(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'system_data': {'readonly': True}, 'provisioning_state': {'readonly': True}, } @@ -153,6 +165,7 @@ class AgentPool(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, 'count': {'key': 'properties.count', 'type': 'int'}, 'tier': {'key': 'properties.tier', 'type': 'str'}, 'os': {'key': 'properties.os', 'type': 'str'}, @@ -2843,6 +2856,10 @@ class Registry(Resource): :type location: str :param tags: The tags of the resource. :type tags: dict[str, str] + :ivar system_data: Metadata pertaining to creation and last modification + of the resource. + :vartype system_data: + ~azure.mgmt.containerregistry.v2019_12_01_preview.models.SystemData :param sku: Required. The SKU of the container registry. :type sku: ~azure.mgmt.containerregistry.v2019_12_01_preview.models.Sku :param identity: The identity of the container registry. @@ -2901,6 +2918,7 @@ class Registry(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'system_data': {'readonly': True}, 'sku': {'required': True}, 'login_server': {'readonly': True}, 'creation_date': {'readonly': True}, @@ -2916,6 +2934,7 @@ class Registry(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, 'sku': {'key': 'sku', 'type': 'Sku'}, 'identity': {'key': 'identity', 'type': 'IdentityProperties'}, 'login_server': {'key': 'properties.loginServer', 'type': 'str'}, @@ -3178,6 +3197,10 @@ class Replication(Resource): :type location: str :param tags: The tags of the resource. :type tags: dict[str, str] + :ivar system_data: Metadata pertaining to creation and last modification + of the resource. + :vartype system_data: + ~azure.mgmt.containerregistry.v2019_12_01_preview.models.SystemData :ivar provisioning_state: The provisioning state of the replication at the time the operation was called. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled' @@ -3199,6 +3222,7 @@ class Replication(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'system_data': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'status': {'readonly': True}, } @@ -3209,6 +3233,7 @@ class Replication(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'status': {'key': 'properties.status', 'type': 'Status'}, 'region_endpoint_enabled': {'key': 'properties.regionEndpointEnabled', 'type': 'bool'}, @@ -4040,6 +4065,48 @@ def __init__(self, *, id: str, **kwargs) -> None: self.id = id +class SystemData(Model): + """Metadata pertaining to creation and last modification of the resource. + + :param created_by: The identity that created the resource. + :type created_by: str + :param created_by_type: The type of identity that created the resource. + Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key' + :type created_by_type: str or + ~azure.mgmt.containerregistry.v2019_12_01_preview.models.CreatedByType + :param created_at: The timestamp of resource creation (UTC). + :type created_at: datetime + :param last_modified_by: The identity that last modified the resource. + :type last_modified_by: str + :param last_modified_by_type: The type of identity that last modified the + resource. Possible values include: 'User', 'Application', + 'ManagedIdentity', 'Key' + :type last_modified_by_type: str or + ~azure.mgmt.containerregistry.v2019_12_01_preview.models.CreatedByType + :param last_modified_at: The type of identity that last modified the + resource. + :type last_modified_at: datetime + """ + + _attribute_map = { + 'created_by': {'key': 'createdBy', 'type': 'str'}, + 'created_by_type': {'key': 'createdByType', 'type': 'str'}, + 'created_at': {'key': 'createdAt', 'type': 'iso-8601'}, + 'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'}, + 'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'}, + 'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'}, + } + + def __init__(self, *, created_by: str=None, created_by_type=None, created_at=None, last_modified_by: str=None, last_modified_by_type=None, last_modified_at=None, **kwargs) -> None: + super(SystemData, self).__init__(**kwargs) + self.created_by = created_by + self.created_by_type = created_by_type + self.created_at = created_at + self.last_modified_by = last_modified_by + self.last_modified_by_type = last_modified_by_type + self.last_modified_at = last_modified_at + + class Target(Model): """The target of the event. @@ -4109,6 +4176,10 @@ class Task(Resource): :type location: str :param tags: The tags of the resource. :type tags: dict[str, str] + :ivar system_data: Metadata pertaining to creation and last modification + of the resource. + :vartype system_data: + ~azure.mgmt.containerregistry.v2019_12_01_preview.models.SystemData :param identity: Identity for the resource. :type identity: ~azure.mgmt.containerregistry.v2019_12_01_preview.models.IdentityProperties @@ -4151,6 +4222,7 @@ class Task(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'system_data': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'creation_date': {'readonly': True}, 'platform': {'required': True}, @@ -4164,6 +4236,7 @@ class Task(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, 'identity': {'key': 'identity', 'type': 'IdentityProperties'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'}, @@ -4212,6 +4285,10 @@ class TaskRun(Resource): :type location: str :param tags: The tags of the resource. :type tags: dict[str, str] + :ivar system_data: Metadata pertaining to creation and last modification + of the resource. + :vartype system_data: + ~azure.mgmt.containerregistry.v2019_12_01_preview.models.SystemData :param identity: Identity for the resource. :type identity: ~azure.mgmt.containerregistry.v2019_12_01_preview.models.IdentityProperties @@ -4236,6 +4313,7 @@ class TaskRun(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'system_data': {'readonly': True}, 'provisioning_state': {'readonly': True}, 'run_result': {'readonly': True}, } @@ -4246,6 +4324,7 @@ class TaskRun(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, 'identity': {'key': 'identity', 'type': 'IdentityProperties'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'run_request': {'key': 'properties.runRequest', 'type': 'RunRequest'}, @@ -4816,6 +4895,10 @@ class Webhook(Resource): :type location: str :param tags: The tags of the resource. :type tags: dict[str, str] + :ivar system_data: Metadata pertaining to creation and last modification + of the resource. + :vartype system_data: + ~azure.mgmt.containerregistry.v2019_12_01_preview.models.SystemData :param status: The status of the webhook at the time the operation was called. Possible values include: 'enabled', 'disabled' :type status: str or @@ -4841,6 +4924,7 @@ class Webhook(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'system_data': {'readonly': True}, 'actions': {'required': True}, 'provisioning_state': {'readonly': True}, } @@ -4851,6 +4935,7 @@ class Webhook(Resource): 'type': {'key': 'type', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, 'status': {'key': 'properties.status', 'type': 'str'}, 'scope': {'key': 'properties.scope', 'type': 'str'}, 'actions': {'key': 'properties.actions', 'type': '[str]'},