Skip to content

Commit 0fde0dc

Browse files
authored
[T1] containerregistry 2020 12 09 (Azure#15720)
* test,version,CHANGELOG * version
1 parent ea5b785 commit 0fde0dc

File tree

46 files changed

+21291
-181
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+21291
-181
lines changed

sdk/containerregistry/azure-mgmt-containerregistry/CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
# Release History
22

3+
## 3.0.0rc16 (2020-12-09)
4+
5+
**Features**
6+
7+
- Model ExportPipeline has a new parameter system_data
8+
- Model ScopeMap has a new parameter system_data
9+
- Model Task has a new parameter system_data
10+
- Model TaskRun has a new parameter system_data
11+
- Model Token has a new parameter system_data
12+
- Model Resource has a new parameter system_data
13+
- Model KeyVaultProperties has a new parameter key_rotation_enabled
14+
- Model KeyVaultProperties has a new parameter last_key_rotation_timestamp
15+
- Model RegistryUpdateParameters has a new parameter network_rule_bypass_options
16+
- Model ImportPipeline has a new parameter system_data
17+
- Model Run has a new parameter system_data
18+
- Model ProxyResource has a new parameter system_data
19+
- Model AgentPool has a new parameter system_data
20+
- Model PrivateEndpointConnection has a new parameter system_data
21+
- Model PipelineRun has a new parameter system_data
22+
- Model Registry has a new parameter system_data
23+
- Model Registry has a new parameter network_rule_bypass_options
24+
- Model Registry has a new parameter zone_redundancy
25+
- Model Webhook has a new parameter system_data
26+
- Model Replication has a new parameter zone_redundancy
27+
- Model Replication has a new parameter system_data
28+
- Added operation group ConnectedRegistriesOperations
29+
30+
**Breaking changes**
31+
32+
- Model TokenCredentialsProperties no longer has parameter active_directory_object
33+
334
## 3.0.0rc15(2020-9-16)
435
**Features**
536

sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/_container_registry_management_client.py

Lines changed: 59 additions & 0 deletions
Large diffs are not rendered by default.

sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_05_01_preview/models/__init__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
from ._models_py3 import Source
5252
from ._models_py3 import Status
5353
from ._models_py3 import StorageAccountProperties
54+
from ._models_py3 import SystemData
5455
from ._models_py3 import Target
5556
from ._models_py3 import Token
5657
from ._models_py3 import TokenCertificate
@@ -104,6 +105,7 @@
104105
from ._models import Source
105106
from ._models import Status
106107
from ._models import StorageAccountProperties
108+
from ._models import SystemData
107109
from ._models import Target
108110
from ._models import Token
109111
from ._models import TokenCertificate
@@ -135,6 +137,8 @@
135137
TrustPolicyType,
136138
WebhookStatus,
137139
WebhookAction,
140+
CreatedByType,
141+
LastModifiedByType,
138142
TokenCertificateName,
139143
TokenPasswordName,
140144
TokenStatus,
@@ -182,6 +186,7 @@
182186
'Source',
183187
'Status',
184188
'StorageAccountProperties',
189+
'SystemData',
185190
'Target',
186191
'Token',
187192
'TokenCertificate',
@@ -212,6 +217,8 @@
212217
'TrustPolicyType',
213218
'WebhookStatus',
214219
'WebhookAction',
220+
'CreatedByType',
221+
'LastModifiedByType',
215222
'TokenCertificateName',
216223
'TokenPasswordName',
217224
'TokenStatus',

sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_05_01_preview/models/_container_registry_management_client_enums.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,22 @@ class WebhookAction(str, Enum):
9393
chart_delete = "chart_delete"
9494

9595

96+
class CreatedByType(str, Enum):
97+
98+
user = "User"
99+
application = "Application"
100+
managed_identity = "ManagedIdentity"
101+
key = "Key"
102+
103+
104+
class LastModifiedByType(str, Enum):
105+
106+
user = "User"
107+
application = "Application"
108+
managed_identity = "ManagedIdentity"
109+
key = "Key"
110+
111+
96112
class TokenCertificateName(str, Enum):
97113

98114
certificate1 = "certificate1"

sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_05_01_preview/models/_models.py

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -597,25 +597,32 @@ class ProxyResource(Model):
597597
:vartype name: str
598598
:ivar type: The type of the resource.
599599
:vartype type: str
600+
:ivar system_data: Metadata pertaining to creation and last modification
601+
of the resource.
602+
:vartype system_data:
603+
~azure.mgmt.containerregistry.v2019_05_01_preview.models.SystemData
600604
"""
601605

602606
_validation = {
603607
'id': {'readonly': True},
604608
'name': {'readonly': True},
605609
'type': {'readonly': True},
610+
'system_data': {'readonly': True},
606611
}
607612

608613
_attribute_map = {
609614
'id': {'key': 'id', 'type': 'str'},
610615
'name': {'key': 'name', 'type': 'str'},
611616
'type': {'key': 'type', 'type': 'str'},
617+
'system_data': {'key': 'systemData', 'type': 'SystemData'},
612618
}
613619

614620
def __init__(self, **kwargs):
615621
super(ProxyResource, self).__init__(**kwargs)
616622
self.id = None
617623
self.name = None
618624
self.type = None
625+
self.system_data = None
619626

620627

621628
class QuarantinePolicy(Model):
@@ -1126,6 +1133,10 @@ class ScopeMap(ProxyResource):
11261133
:vartype name: str
11271134
:ivar type: The type of the resource.
11281135
:vartype type: str
1136+
:ivar system_data: Metadata pertaining to creation and last modification
1137+
of the resource.
1138+
:vartype system_data:
1139+
~azure.mgmt.containerregistry.v2019_05_01_preview.models.SystemData
11291140
:param description: The user friendly description of the scope map.
11301141
:type description: str
11311142
:ivar scope_map_type: The type of the scope map. E.g. BuildIn scope map.
@@ -1148,6 +1159,7 @@ class ScopeMap(ProxyResource):
11481159
'id': {'readonly': True},
11491160
'name': {'readonly': True},
11501161
'type': {'readonly': True},
1162+
'system_data': {'readonly': True},
11511163
'scope_map_type': {'readonly': True},
11521164
'creation_date': {'readonly': True},
11531165
'provisioning_state': {'readonly': True},
@@ -1158,6 +1170,7 @@ class ScopeMap(ProxyResource):
11581170
'id': {'key': 'id', 'type': 'str'},
11591171
'name': {'key': 'name', 'type': 'str'},
11601172
'type': {'key': 'type', 'type': 'str'},
1173+
'system_data': {'key': 'systemData', 'type': 'SystemData'},
11611174
'description': {'key': 'properties.description', 'type': 'str'},
11621175
'scope_map_type': {'key': 'properties.type', 'type': 'str'},
11631176
'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'},
@@ -1313,6 +1326,47 @@ def __init__(self, **kwargs):
13131326
self.id = kwargs.get('id', None)
13141327

13151328

1329+
class SystemData(Model):
1330+
"""Metadata pertaining to creation and last modification of the resource.
1331+
1332+
:param created_by: The identity that created the resource.
1333+
:type created_by: str
1334+
:param created_by_type: The type of identity that created the resource.
1335+
Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key'
1336+
:type created_by_type: str or
1337+
~azure.mgmt.containerregistry.v2019_05_01_preview.models.CreatedByType
1338+
:param created_at: The timestamp of resource creation (UTC).
1339+
:type created_at: datetime
1340+
:param last_modified_by: The identity that last modified the resource.
1341+
:type last_modified_by: str
1342+
:param last_modified_by_type: The type of identity that last modified the
1343+
resource. Possible values include: 'User', 'Application',
1344+
'ManagedIdentity', 'Key'
1345+
:type last_modified_by_type: str or
1346+
~azure.mgmt.containerregistry.v2019_05_01_preview.models.LastModifiedByType
1347+
:param last_modified_at: The timestamp of resource modification (UTC).
1348+
:type last_modified_at: datetime
1349+
"""
1350+
1351+
_attribute_map = {
1352+
'created_by': {'key': 'createdBy', 'type': 'str'},
1353+
'created_by_type': {'key': 'createdByType', 'type': 'str'},
1354+
'created_at': {'key': 'createdAt', 'type': 'iso-8601'},
1355+
'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'},
1356+
'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'},
1357+
'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'},
1358+
}
1359+
1360+
def __init__(self, **kwargs):
1361+
super(SystemData, self).__init__(**kwargs)
1362+
self.created_by = kwargs.get('created_by', None)
1363+
self.created_by_type = kwargs.get('created_by_type', None)
1364+
self.created_at = kwargs.get('created_at', None)
1365+
self.last_modified_by = kwargs.get('last_modified_by', None)
1366+
self.last_modified_by_type = kwargs.get('last_modified_by_type', None)
1367+
self.last_modified_at = kwargs.get('last_modified_at', None)
1368+
1369+
13161370
class Target(Model):
13171371
"""The target of the event.
13181372
@@ -1374,6 +1428,10 @@ class Token(ProxyResource):
13741428
:vartype name: str
13751429
:ivar type: The type of the resource.
13761430
:vartype type: str
1431+
:ivar system_data: Metadata pertaining to creation and last modification
1432+
of the resource.
1433+
:vartype system_data:
1434+
~azure.mgmt.containerregistry.v2019_05_01_preview.models.SystemData
13771435
:ivar creation_date: The creation date of scope map.
13781436
:vartype creation_date: datetime
13791437
:ivar provisioning_state: Provisioning state of the resource. Possible
@@ -1398,6 +1456,7 @@ class Token(ProxyResource):
13981456
'id': {'readonly': True},
13991457
'name': {'readonly': True},
14001458
'type': {'readonly': True},
1459+
'system_data': {'readonly': True},
14011460
'creation_date': {'readonly': True},
14021461
'provisioning_state': {'readonly': True},
14031462
}
@@ -1406,6 +1465,7 @@ class Token(ProxyResource):
14061465
'id': {'key': 'id', 'type': 'str'},
14071466
'name': {'key': 'name', 'type': 'str'},
14081467
'type': {'key': 'type', 'type': 'str'},
1468+
'system_data': {'key': 'systemData', 'type': 'SystemData'},
14091469
'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'},
14101470
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
14111471
'scope_map_id': {'key': 'properties.scopeMapId', 'type': 'str'},

sdk/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_05_01_preview/models/_models_py3.py

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -597,25 +597,32 @@ class ProxyResource(Model):
597597
:vartype name: str
598598
:ivar type: The type of the resource.
599599
:vartype type: str
600+
:ivar system_data: Metadata pertaining to creation and last modification
601+
of the resource.
602+
:vartype system_data:
603+
~azure.mgmt.containerregistry.v2019_05_01_preview.models.SystemData
600604
"""
601605

602606
_validation = {
603607
'id': {'readonly': True},
604608
'name': {'readonly': True},
605609
'type': {'readonly': True},
610+
'system_data': {'readonly': True},
606611
}
607612

608613
_attribute_map = {
609614
'id': {'key': 'id', 'type': 'str'},
610615
'name': {'key': 'name', 'type': 'str'},
611616
'type': {'key': 'type', 'type': 'str'},
617+
'system_data': {'key': 'systemData', 'type': 'SystemData'},
612618
}
613619

614620
def __init__(self, **kwargs) -> None:
615621
super(ProxyResource, self).__init__(**kwargs)
616622
self.id = None
617623
self.name = None
618624
self.type = None
625+
self.system_data = None
619626

620627

621628
class QuarantinePolicy(Model):
@@ -1126,6 +1133,10 @@ class ScopeMap(ProxyResource):
11261133
:vartype name: str
11271134
:ivar type: The type of the resource.
11281135
:vartype type: str
1136+
:ivar system_data: Metadata pertaining to creation and last modification
1137+
of the resource.
1138+
:vartype system_data:
1139+
~azure.mgmt.containerregistry.v2019_05_01_preview.models.SystemData
11291140
:param description: The user friendly description of the scope map.
11301141
:type description: str
11311142
:ivar scope_map_type: The type of the scope map. E.g. BuildIn scope map.
@@ -1148,6 +1159,7 @@ class ScopeMap(ProxyResource):
11481159
'id': {'readonly': True},
11491160
'name': {'readonly': True},
11501161
'type': {'readonly': True},
1162+
'system_data': {'readonly': True},
11511163
'scope_map_type': {'readonly': True},
11521164
'creation_date': {'readonly': True},
11531165
'provisioning_state': {'readonly': True},
@@ -1158,6 +1170,7 @@ class ScopeMap(ProxyResource):
11581170
'id': {'key': 'id', 'type': 'str'},
11591171
'name': {'key': 'name', 'type': 'str'},
11601172
'type': {'key': 'type', 'type': 'str'},
1173+
'system_data': {'key': 'systemData', 'type': 'SystemData'},
11611174
'description': {'key': 'properties.description', 'type': 'str'},
11621175
'scope_map_type': {'key': 'properties.type', 'type': 'str'},
11631176
'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'},
@@ -1313,6 +1326,47 @@ def __init__(self, *, id: str, **kwargs) -> None:
13131326
self.id = id
13141327

13151328

1329+
class SystemData(Model):
1330+
"""Metadata pertaining to creation and last modification of the resource.
1331+
1332+
:param created_by: The identity that created the resource.
1333+
:type created_by: str
1334+
:param created_by_type: The type of identity that created the resource.
1335+
Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key'
1336+
:type created_by_type: str or
1337+
~azure.mgmt.containerregistry.v2019_05_01_preview.models.CreatedByType
1338+
:param created_at: The timestamp of resource creation (UTC).
1339+
:type created_at: datetime
1340+
:param last_modified_by: The identity that last modified the resource.
1341+
:type last_modified_by: str
1342+
:param last_modified_by_type: The type of identity that last modified the
1343+
resource. Possible values include: 'User', 'Application',
1344+
'ManagedIdentity', 'Key'
1345+
:type last_modified_by_type: str or
1346+
~azure.mgmt.containerregistry.v2019_05_01_preview.models.LastModifiedByType
1347+
:param last_modified_at: The timestamp of resource modification (UTC).
1348+
:type last_modified_at: datetime
1349+
"""
1350+
1351+
_attribute_map = {
1352+
'created_by': {'key': 'createdBy', 'type': 'str'},
1353+
'created_by_type': {'key': 'createdByType', 'type': 'str'},
1354+
'created_at': {'key': 'createdAt', 'type': 'iso-8601'},
1355+
'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'},
1356+
'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'},
1357+
'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'},
1358+
}
1359+
1360+
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:
1361+
super(SystemData, self).__init__(**kwargs)
1362+
self.created_by = created_by
1363+
self.created_by_type = created_by_type
1364+
self.created_at = created_at
1365+
self.last_modified_by = last_modified_by
1366+
self.last_modified_by_type = last_modified_by_type
1367+
self.last_modified_at = last_modified_at
1368+
1369+
13161370
class Target(Model):
13171371
"""The target of the event.
13181372
@@ -1374,6 +1428,10 @@ class Token(ProxyResource):
13741428
:vartype name: str
13751429
:ivar type: The type of the resource.
13761430
:vartype type: str
1431+
:ivar system_data: Metadata pertaining to creation and last modification
1432+
of the resource.
1433+
:vartype system_data:
1434+
~azure.mgmt.containerregistry.v2019_05_01_preview.models.SystemData
13771435
:ivar creation_date: The creation date of scope map.
13781436
:vartype creation_date: datetime
13791437
:ivar provisioning_state: Provisioning state of the resource. Possible
@@ -1398,6 +1456,7 @@ class Token(ProxyResource):
13981456
'id': {'readonly': True},
13991457
'name': {'readonly': True},
14001458
'type': {'readonly': True},
1459+
'system_data': {'readonly': True},
14011460
'creation_date': {'readonly': True},
14021461
'provisioning_state': {'readonly': True},
14031462
}
@@ -1406,6 +1465,7 @@ class Token(ProxyResource):
14061465
'id': {'key': 'id', 'type': 'str'},
14071466
'name': {'key': 'name', 'type': 'str'},
14081467
'type': {'key': 'type', 'type': 'str'},
1468+
'system_data': {'key': 'systemData', 'type': 'SystemData'},
14091469
'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'},
14101470
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
14111471
'scope_map_id': {'key': 'properties.scopeMapId', 'type': 'str'},

0 commit comments

Comments
 (0)