@@ -250,6 +250,12 @@ class BlobContainer(AzureEntityResource):
250
250
:vartype type: str
251
251
:ivar etag: Resource Etag.
252
252
:vartype etag: str
253
+ :param default_encryption_scope: Default the container to use specified
254
+ encryption scope for all writes.
255
+ :type default_encryption_scope: str
256
+ :param deny_encryption_scope_override: Block override of encryption scope
257
+ from the container default.
258
+ :type deny_encryption_scope_override: bool
253
259
:param public_access: Specifies whether data in the container may be
254
260
accessed publicly and the level of access. Possible values include:
255
261
'Container', 'Blob', 'None'
@@ -314,6 +320,8 @@ class BlobContainer(AzureEntityResource):
314
320
'name' : {'key' : 'name' , 'type' : 'str' },
315
321
'type' : {'key' : 'type' , 'type' : 'str' },
316
322
'etag' : {'key' : 'etag' , 'type' : 'str' },
323
+ 'default_encryption_scope' : {'key' : 'properties.defaultEncryptionScope' , 'type' : 'str' },
324
+ 'deny_encryption_scope_override' : {'key' : 'properties.denyEncryptionScopeOverride' , 'type' : 'bool' },
317
325
'public_access' : {'key' : 'properties.publicAccess' , 'type' : 'PublicAccess' },
318
326
'last_modified_time' : {'key' : 'properties.lastModifiedTime' , 'type' : 'iso-8601' },
319
327
'lease_status' : {'key' : 'properties.leaseStatus' , 'type' : 'str' },
@@ -326,8 +334,10 @@ class BlobContainer(AzureEntityResource):
326
334
'has_immutability_policy' : {'key' : 'properties.hasImmutabilityPolicy' , 'type' : 'bool' },
327
335
}
328
336
329
- def __init__ (self , * , public_access = None , metadata = None , ** kwargs ) -> None :
337
+ def __init__ (self , * , default_encryption_scope : str = None , deny_encryption_scope_override : bool = None , public_access = None , metadata = None , ** kwargs ) -> None :
330
338
super (BlobContainer , self ).__init__ (** kwargs )
339
+ self .default_encryption_scope = default_encryption_scope
340
+ self .deny_encryption_scope_override = deny_encryption_scope_override
331
341
self .public_access = public_access
332
342
self .last_modified_time = None
333
343
self .lease_status = None
@@ -1509,25 +1519,43 @@ def __init__(self, *, ip_address_or_range: str, action="Allow", **kwargs) -> Non
1509
1519
class KeyVaultProperties (Model ):
1510
1520
"""Properties of key vault.
1511
1521
1522
+ Variables are only populated by the server, and will be ignored when
1523
+ sending a request.
1524
+
1512
1525
:param key_name: The name of KeyVault key.
1513
1526
:type key_name: str
1514
1527
:param key_version: The version of KeyVault key.
1515
1528
:type key_version: str
1516
1529
:param key_vault_uri: The Uri of KeyVault.
1517
1530
:type key_vault_uri: str
1531
+ :ivar current_versioned_key_identifier: The object identifier of the
1532
+ current versioned Key Vault Key in use.
1533
+ :vartype current_versioned_key_identifier: str
1534
+ :ivar last_key_rotation_timestamp: Timestamp of last rotation of the Key
1535
+ Vault Key.
1536
+ :vartype last_key_rotation_timestamp: datetime
1518
1537
"""
1519
1538
1539
+ _validation = {
1540
+ 'current_versioned_key_identifier' : {'readonly' : True },
1541
+ 'last_key_rotation_timestamp' : {'readonly' : True },
1542
+ }
1543
+
1520
1544
_attribute_map = {
1521
1545
'key_name' : {'key' : 'keyname' , 'type' : 'str' },
1522
1546
'key_version' : {'key' : 'keyversion' , 'type' : 'str' },
1523
1547
'key_vault_uri' : {'key' : 'keyvaulturi' , 'type' : 'str' },
1548
+ 'current_versioned_key_identifier' : {'key' : 'currentVersionedKeyIdentifier' , 'type' : 'str' },
1549
+ 'last_key_rotation_timestamp' : {'key' : 'lastKeyRotationTimestamp' , 'type' : 'iso-8601' },
1524
1550
}
1525
1551
1526
1552
def __init__ (self , * , key_name : str = None , key_version : str = None , key_vault_uri : str = None , ** kwargs ) -> None :
1527
1553
super (KeyVaultProperties , self ).__init__ (** kwargs )
1528
1554
self .key_name = key_name
1529
1555
self .key_version = key_version
1530
1556
self .key_vault_uri = key_vault_uri
1557
+ self .current_versioned_key_identifier = None
1558
+ self .last_key_rotation_timestamp = None
1531
1559
1532
1560
1533
1561
class LeaseContainerRequest (Model ):
@@ -1702,6 +1730,12 @@ class ListContainerItem(AzureEntityResource):
1702
1730
:vartype type: str
1703
1731
:ivar etag: Resource Etag.
1704
1732
:vartype etag: str
1733
+ :param default_encryption_scope: Default the container to use specified
1734
+ encryption scope for all writes.
1735
+ :type default_encryption_scope: str
1736
+ :param deny_encryption_scope_override: Block override of encryption scope
1737
+ from the container default.
1738
+ :type deny_encryption_scope_override: bool
1705
1739
:param public_access: Specifies whether data in the container may be
1706
1740
accessed publicly and the level of access. Possible values include:
1707
1741
'Container', 'Blob', 'None'
@@ -1766,6 +1800,8 @@ class ListContainerItem(AzureEntityResource):
1766
1800
'name' : {'key' : 'name' , 'type' : 'str' },
1767
1801
'type' : {'key' : 'type' , 'type' : 'str' },
1768
1802
'etag' : {'key' : 'etag' , 'type' : 'str' },
1803
+ 'default_encryption_scope' : {'key' : 'properties.defaultEncryptionScope' , 'type' : 'str' },
1804
+ 'deny_encryption_scope_override' : {'key' : 'properties.denyEncryptionScopeOverride' , 'type' : 'bool' },
1769
1805
'public_access' : {'key' : 'properties.publicAccess' , 'type' : 'PublicAccess' },
1770
1806
'last_modified_time' : {'key' : 'properties.lastModifiedTime' , 'type' : 'iso-8601' },
1771
1807
'lease_status' : {'key' : 'properties.leaseStatus' , 'type' : 'str' },
@@ -1778,8 +1814,10 @@ class ListContainerItem(AzureEntityResource):
1778
1814
'has_immutability_policy' : {'key' : 'properties.hasImmutabilityPolicy' , 'type' : 'bool' },
1779
1815
}
1780
1816
1781
- def __init__ (self , * , public_access = None , metadata = None , ** kwargs ) -> None :
1817
+ def __init__ (self , * , default_encryption_scope : str = None , deny_encryption_scope_override : bool = None , public_access = None , metadata = None , ** kwargs ) -> None :
1782
1818
super (ListContainerItem , self ).__init__ (** kwargs )
1819
+ self .default_encryption_scope = default_encryption_scope
1820
+ self .deny_encryption_scope_override = deny_encryption_scope_override
1783
1821
self .public_access = public_access
1784
1822
self .last_modified_time = None
1785
1823
self .lease_status = None
0 commit comments