You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Microsoft.Azure.PowerShell.Cmdlets.Storage.Description('Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this.')]
6
5
param(
7
6
[Parameter(Mandatory,HelpMessage='Gets subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.')]
# A boolean indicating whether or not the service encrypts the data as it is stored.
77
-
${BlobEnabled},
77
+
${EncryptBlobService},
78
78
79
79
[Parameter(ParameterSetName='CreateExpanded1StorageEncryption',Mandatory,HelpMessage='Gets or sets the custom domain name assigned to the storage account. Name is the CNAME source.')]
80
80
[Parameter(ParameterSetName='CreateExpanded1KeyVaultEncryption',Mandatory,HelpMessage='Gets or sets the custom domain name assigned to the storage account. Name is the CNAME source.')]
@@ -119,7 +119,7 @@ function New-AzStorageAccount {
# A boolean indicating whether or not the service encrypts the data as it is stored.
247
-
${TableEnabled},
247
+
${EncryptTableService},
248
248
249
249
[Parameter(ParameterSetName='CreateExpanded1StorageEncryption',HelpMessage='Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters.')]
250
250
[Parameter(ParameterSetName='CreateExpanded1KeyVaultEncryption',HelpMessage='Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters.')]
# A boolean indicating whether or not the service encrypts the data as it is stored.
87
-
${BlobEnabled},
87
+
${EncryptBlobService},
88
88
89
89
[Parameter(ParameterSetName='UpdateExpanded',Mandatory,HelpMessage='Gets or sets the custom domain name assigned to the storage account. Name is the CNAME source.')]
90
90
[Parameter(ParameterSetName='UpdateExpandedStorageEncryption',Mandatory,HelpMessage='Gets or sets the custom domain name assigned to the storage account. Name is the CNAME source.')]
@@ -140,7 +140,7 @@ function Update-AzStorageAccount {
# A boolean indicating whether or not the service encrypts the data as it is stored.
280
-
${TableEnabled},
280
+
${EncryptTableService},
281
281
282
282
[Parameter(ParameterSetName='UpdateExpanded',HelpMessage='Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters.')]
283
283
[Parameter(ParameterSetName='UpdateExpandedStorageEncryption',HelpMessage='Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters.')]
[Microsoft.Azure.PowerShell.Cmdlets.Storage.Description('Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this.')]
6
5
param(
7
6
[Parameter(Mandatory,HelpMessage='The ID of the target subscription.')]
# A boolean indicating whether or not the service encrypts the data as it is stored.
77
-
${BlobEnabled},
77
+
${EncryptBlobService},
78
78
79
79
[Parameter(ParameterSetName='CreateExpandedStorageEncryption',Mandatory,HelpMessage='Gets or sets the custom domain name assigned to the storage account. Name is the CNAME source.')]
80
80
[Parameter(ParameterSetName='CreateExpandedKeyVaultEncryption',Mandatory,HelpMessage='Gets or sets the custom domain name assigned to the storage account. Name is the CNAME source.')]
@@ -128,7 +128,7 @@ function New-AzStorageAccount {
# A boolean indicating whether or not the service encrypts the data as it is stored.
265
-
${TableEnabled},
265
+
${EncryptTableService},
266
266
267
267
[Parameter(ParameterSetName='CreateExpandedStorageEncryption',HelpMessage='Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters.')]
268
268
[Parameter(ParameterSetName='CreateExpandedKeyVaultEncryption',HelpMessage='Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters.')]
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
15
+
16
+
PARAMETER <IImmutabilityPolicy>: The ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag.
17
+
ImmutabilityPeriodSinceCreationInDay <Int32>: The immutability period for the blobs in the container since the policy creation, in days.
@@ -20,42 +27,50 @@ function Set-AzRmStorageContainerImmutabilityPolicy {
20
27
param(
21
28
[Parameter(Mandatory,HelpMessage='The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.')]
[Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.Info(SerializedName='accountName', Required, PossibleTypes=([System.String]), Description='The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.')]
23
31
[System.String]
24
32
# The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
25
33
${AccountName},
26
34
27
35
[Parameter(Mandatory,HelpMessage='The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.')]
[Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.Info(SerializedName='containerName', Required, PossibleTypes=([System.String]), Description='The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.')]
29
38
[System.String]
30
39
# The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
31
40
${ContainerName},
32
41
33
42
[Parameter(Mandatory,HelpMessage='The name of the resource group within the user''s subscription. The name is case insensitive.')]
[Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.Info(SerializedName='resourceGroupName', Required, PossibleTypes=([System.String]), Description='The name of the resource group within the user''s subscription. The name is case insensitive.')]
35
45
[System.String]
36
46
# The name of the resource group within the user's subscription. The name is case insensitive.
37
47
${ResourceGroupName},
38
48
39
49
[Parameter(Mandatory,HelpMessage='The ID of the target subscription.')]
[Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.Info(SerializedName='subscriptionId', Required, PossibleTypes=([System.String]), Description='The ID of the target subscription.')]
41
52
[System.String]
42
53
# The ID of the target subscription.
43
54
${SubscriptionId},
44
55
45
56
[Parameter(HelpMessage='The entity state (ETag) version of the immutability policy to update. A value of "*" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied.')]
[Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.Info(SerializedName='If-Match', PossibleTypes=([System.String]), Description='The entity state (ETag) version of the immutability policy to update. A value of "*" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied.')]
47
59
[System.String]
48
60
# The entity state (ETag) version of the immutability policy to update. A value of "*" can be used to apply the operation only if the immutability policy already exists. If omitted, this operation will always be applied.
49
61
${IfMatch},
50
62
51
-
[Parameter(ParameterSetName='Update',ValueFromPipeline,HelpMessage='The ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag.')]
63
+
[Parameter(ParameterSetName='Update',ValueFromPipeline,HelpMessage='The ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag. To construct, see NOTES section for PARAMETER properties and create a hash table.')]
# The ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag.
68
+
# To construct, see NOTES section for PARAMETER properties and create a hash table.
55
69
${Parameter},
56
70
57
71
[Parameter(ParameterSetName='UpdateExpanded',Mandatory,HelpMessage='The immutability period for the blobs in the container since the policy creation, in days.')]
[Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.Info(SerializedName='body', Required, PossibleTypes=([System.Int32]), Description='The immutability period for the blobs in the container since the policy creation, in days.')]
59
74
[System.Int32]
60
75
# The immutability period for the blobs in the container since the policy creation, in days.
# A boolean indicating whether or not the service encrypts the data as it is stored.
87
-
${BlobEnabled},
87
+
${EncryptBlobService},
88
88
89
89
[Parameter(ParameterSetName='UpdateExpanded1',Mandatory,HelpMessage='Gets or sets the custom domain name assigned to the storage account. Name is the CNAME source.')]
90
90
[Parameter(ParameterSetName='UpdateExpanded1StorageEncryption',Mandatory,HelpMessage='Gets or sets the custom domain name assigned to the storage account. Name is the CNAME source.')]
@@ -151,7 +151,7 @@ function Update-AzStorageAccount {
# A boolean indicating whether or not the service encrypts the data as it is stored.
291
-
${TableEnabled},
291
+
${EncryptTableService},
292
292
293
293
[Parameter(ParameterSetName='UpdateExpanded1',HelpMessage='Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters.')]
294
294
[Parameter(ParameterSetName='UpdateExpanded1StorageEncryption',HelpMessage='Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters.')]
0 commit comments