diff --git a/specification/storage/Storage.Management/BlobContainer.tsp b/specification/storage/Storage.Management/BlobContainer.tsp new file mode 100644 index 000000000000..6a23713643f5 --- /dev/null +++ b/specification/storage/Storage.Management/BlobContainer.tsp @@ -0,0 +1,129 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./BlobServiceProperties.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Storage; +/** + * Properties of the blob container, including Id, resource name, resource type, Etag. + */ +@parentResource(BlobServiceProperties) +model BlobContainer + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = BlobContainer, + KeyName = "containerName", + SegmentName = "containers", + NamePattern = "" + >; + + /** + * Resource Etag. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + etag?: string; +} + +@armResourceOperations +interface BlobContainers { + /** + * Gets properties of a specified container. + */ + get is ArmResourceRead; + + /** + * Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. + */ + create is ArmResourceCreateOrReplaceSync< + BlobContainer, + Error = ErrorResponse + >; + + /** + * Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist. + */ + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchSync< + BlobContainer, + PatchModel = BlobContainer, + Error = ErrorResponse + >; + + /** + * Deletes specified container under its account. + */ + delete is ArmResourceDeleteSync; + + /** + * Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request. + */ + setLegalHold is ArmResourceActionSync< + BlobContainer, + LegalHold, + ArmResponse, + Error = ErrorResponse + >; + + /** + * Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request. + */ + clearLegalHold is ArmResourceActionSync< + BlobContainer, + LegalHold, + ArmResponse, + Error = ErrorResponse + >; + + /** + * The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. + */ + lease is ArmResourceActionSync< + BlobContainer, + LeaseContainerRequest, + ArmResponse, + Error = ErrorResponse, + OptionalRequestBody = true + >; + + /** + * This operation migrates a blob container from container level WORM to object level immutability enabled container. Prerequisites require a container level immutability policy either in locked or unlocked state, Account level versioning must be enabled and there should be no Legal hold on the container. + */ + @action("migrate") + objectLevelWorm is ArmResourceActionAsync< + BlobContainer, + void, + { + @body body: void; + }, + Error = CloudError, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; +} + +@@maxLength(BlobContainer.name, 63); +@@minLength(BlobContainer.name, 3); +@@doc(BlobContainer.name, + "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." +); +@@doc(BlobContainer.properties, "Properties of the blob container."); +@@doc(BlobContainers.create::parameters.resource, + "Properties of the blob container to create." +); +@@doc(BlobContainers.update::parameters.properties, + "Properties to update for the blob container." +); +@@doc(BlobContainers.setLegalHold::parameters.body, + "The LegalHold property that will be set to a blob container." +); +@@doc(BlobContainers.clearLegalHold::parameters.body, + "The LegalHold property that will be clear from a blob container." +); diff --git a/specification/storage/Storage.Management/BlobInventoryPolicy.tsp b/specification/storage/Storage.Management/BlobInventoryPolicy.tsp new file mode 100644 index 000000000000..072006014883 --- /dev/null +++ b/specification/storage/Storage.Management/BlobInventoryPolicy.tsp @@ -0,0 +1,69 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./StorageAccount.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Storage; +/** + * The storage account blob inventory policy. + */ +@parentResource(StorageAccount) +model BlobInventoryPolicy + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = BlobInventoryPolicy, + KeyName = "blobInventoryPolicyName", + SegmentName = "inventoryPolicies", + NamePattern = "", + Type = BlobInventoryPolicyName + >; +} + +@armResourceOperations +interface BlobInventoryPolicies { + /** + * Gets the blob inventory policy associated with the specified storage account. + */ + get is ArmResourceRead; + + /** + * Sets the blob inventory policy to the specified storage account. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + createOrUpdate is ArmResourceCreateOrReplaceSync< + BlobInventoryPolicy, + Response = ArmResourceUpdatedResponse, + Error = CloudError + >; + + /** + * Deletes the blob inventory policy associated with the specified storage account. + */ + delete is ArmResourceDeleteSync; + + /** + * Gets the blob inventory policy associated with the specified storage account. + */ + list is ArmResourceListByParent< + BlobInventoryPolicy, + Response = ArmResponse, + Error = ErrorResponse + >; +} + +@@doc(BlobInventoryPolicy.name, + "The name of the storage account blob inventory policy. It should always be 'default'" +); +@@doc(BlobInventoryPolicy.properties, + "Returns the storage account blob inventory policy rules." +); +@@doc(BlobInventoryPolicies.createOrUpdate::parameters.resource, + "The blob inventory policy set to a storage account." +); diff --git a/specification/storage/Storage.Management/BlobServiceProperties.tsp b/specification/storage/Storage.Management/BlobServiceProperties.tsp new file mode 100644 index 000000000000..7b40cd51bf9a --- /dev/null +++ b/specification/storage/Storage.Management/BlobServiceProperties.tsp @@ -0,0 +1,105 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./StorageAccount.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Storage; +/** + * The properties of a storage account’s Blob service. + */ +@singleton("default") +@parentResource(StorageAccount) +model BlobServiceProperties + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = BlobServiceProperties, + KeyName = "blobService", + SegmentName = "blobServices", + NamePattern = "" + >; + + /** + * Sku name and tier. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + sku?: Sku; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface BlobServices { + /** + * Gets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. + */ + getServiceProperties is ArmResourceRead< + BlobServiceProperties, + Error = ErrorResponse + >; + + /** + * Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + setServiceProperties is ArmResourceCreateOrReplaceSync< + BlobServiceProperties, + Response = ArmResourceUpdatedResponse, + Error = ErrorResponse + >; + + /** + * List blob services of storage account. It returns a collection of one object named default. + */ + list is ArmResourceListByParent< + BlobServiceProperties, + Response = ArmResponse, + Error = ErrorResponse + >; + + /** + * Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token. + */ + @get + @list + @action("containers") + blobContainersList is ArmResourceActionSync< + BlobServiceProperties, + void, + ArmResponse, + Parameters = { + /** + * Optional. Specified maximum number of containers that can be included in the list. + */ + @query("$maxpagesize") + $maxpagesize?: string; + + /** + * Optional. When specified, only container names starting with the filter will be listed. + */ + @query("$filter") + $filter?: string; + + /** + * Optional, used to include the properties for soft deleted blob containers. + */ + @query("$include") + $include?: ListContainersInclude; + }, + Error = ErrorResponse + >; +} + +@@doc(BlobServiceProperties.name, ""); +@@doc(BlobServiceProperties.properties, + "The properties of a storage account’s Blob service." +); +@@doc(BlobServices.setServiceProperties::parameters.resource, + "The properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules." +); diff --git a/specification/storage/Storage.Management/DeletedAccount.tsp b/specification/storage/Storage.Management/DeletedAccount.tsp new file mode 100644 index 000000000000..48981e843405 --- /dev/null +++ b/specification/storage/Storage.Management/DeletedAccount.tsp @@ -0,0 +1,43 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Storage; +/** + * Deleted storage account + */ +@subscriptionResource +@parentResource(SubscriptionLocationResource) +model DeletedAccount + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = DeletedAccount, + KeyName = "deletedAccountName", + SegmentName = "deletedAccounts", + NamePattern = "" + >; +} + +@armResourceOperations +interface DeletedAccounts { + /** + * Get properties of specified deleted account resource. + */ + get is ArmResourceRead< + DeletedAccount, + BaseParameters = Azure.ResourceManager.Foundations.SubscriptionBaseParameters, + Error = ErrorResponse + >; +} + +@@maxLength(DeletedAccount.name, 24); +@@minLength(DeletedAccount.name, 3); +@@doc(DeletedAccount.name, "Name of the deleted storage account."); +@@doc(DeletedAccount.properties, "Properties of the deleted account."); diff --git a/specification/storage/Storage.Management/EncryptionScope.tsp b/specification/storage/Storage.Management/EncryptionScope.tsp new file mode 100644 index 000000000000..c0c7183eb000 --- /dev/null +++ b/specification/storage/Storage.Management/EncryptionScope.tsp @@ -0,0 +1,92 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./StorageAccount.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Storage; +/** + * The Encryption Scope resource. + */ +@parentResource(StorageAccount) +model EncryptionScope + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = EncryptionScope, + KeyName = "encryptionScopeName", + SegmentName = "encryptionScopes", + NamePattern = "" + >; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface EncryptionScopes { + /** + * Returns the properties for the specified encryption scope. + */ + get is ArmResourceRead; + + /** + * Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request. + */ + put is ArmResourceCreateOrReplaceSync; + + /** + * Update encryption scope properties as specified in the request body. Update fails if the specified encryption scope does not already exist. + */ + @patch(#{ implicitOptionality: false }) + patch is ArmCustomPatchSync< + EncryptionScope, + PatchModel = EncryptionScope, + Error = ErrorResponse + >; + + /** + * Lists all the encryption scopes available under the specified storage account. + */ + list is ArmResourceListByParent< + EncryptionScope, + Parameters = { + /** + * Optional, specifies the maximum number of encryption scopes that will be included in the list response. + */ + @maxValue(5000) + @minValue(1) + @query("$maxpagesize") + $maxpagesize?: int32; + + /** + * Optional. When specified, only encryption scope names starting with the filter will be listed. + */ + @query("$filter") + $filter?: string; + + /** + * Optional, when specified, will list encryption scopes with the specific state. Defaults to All + */ + @query("$include") + $include?: ListEncryptionScopesInclude; + }, + Error = ErrorResponse + >; +} + +@@maxLength(EncryptionScope.name, 63); +@@minLength(EncryptionScope.name, 3); +@@doc(EncryptionScope.name, + "The name of the encryption scope within the specified storage account. Encryption scope 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." +); +@@doc(EncryptionScope.properties, "Properties of the encryption scope."); +@@doc(EncryptionScopes.put::parameters.resource, + "Encryption scope properties to be used for the create or update." +); +@@doc(EncryptionScopes.patch::parameters.properties, + "Encryption scope properties to be used for the update." +); diff --git a/specification/storage/Storage.Management/FileServiceProperties.tsp b/specification/storage/Storage.Management/FileServiceProperties.tsp new file mode 100644 index 000000000000..7b4f21f21d45 --- /dev/null +++ b/specification/storage/Storage.Management/FileServiceProperties.tsp @@ -0,0 +1,106 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./StorageAccount.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Storage; +/** + * The properties of File services in storage account. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@singleton("default") +@parentResource(StorageAccount) +model FileServiceProperties + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = FileServiceProperties, + KeyName = "FileServicesName", + SegmentName = "fileServices", + NamePattern = "" + >; + + /** + * Sku name and tier. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + sku?: Sku; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface FileServices { + /** + * Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. + */ + getServiceProperties is ArmResourceRead< + FileServiceProperties, + Error = CloudError + >; + + /** + * Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + setServiceProperties is ArmResourceCreateOrReplaceSync< + FileServiceProperties, + Response = ArmResourceUpdatedResponse, + Error = CloudError + >; + + /** + * List all file services in storage accounts + */ + list is Azure.ResourceManager.Legacy.ArmListSinglePageByParent< + FileServiceProperties, + Response = ArmResponse, + Error = CloudError + >; + + /** + * Lists all shares. + */ + @get + @list + @action("shares") + fileSharesList is ArmResourceActionSync< + FileServiceProperties, + void, + ArmResponse, + Parameters = { + /** + * Optional. Specified maximum number of shares that can be included in the list. + */ + @query("$maxpagesize") + $maxpagesize?: string; + + /** + * Optional. When specified, only share names starting with the filter will be listed. + */ + @query("$filter") + $filter?: string; + + /** + * Optional, used to expand the properties within share's properties. Valid values are: deleted, snapshots. Should be passed as a string with delimiter ',' + */ + @query("$expand") + $expand?: string; + }, + Error = CloudError + >; +} + +@@doc(FileServiceProperties.name, ""); +@@doc(FileServiceProperties.properties, + "The properties of File services in storage account." +); +@@doc(FileServices.setServiceProperties::parameters.resource, + "The properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules." +); diff --git a/specification/storage/Storage.Management/FileServiceUsage.tsp b/specification/storage/Storage.Management/FileServiceUsage.tsp new file mode 100644 index 000000000000..a736b175081a --- /dev/null +++ b/specification/storage/Storage.Management/FileServiceUsage.tsp @@ -0,0 +1,56 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./StorageAccount.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Storage; +/** + * The usage of file service in storage account. + */ +@parentResource(FileServiceProperties) +@singleton("default") +model FileServiceUsage + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = FileServiceUsage, + KeyName = "fileServiceUsageName", + SegmentName = "usages", + NamePattern = "" + >; +} + +@armResourceOperations +interface FileServiceUsageOperationGroup { + /** + * Gets the usage of file service in storage account including account limits, file share limits and constants used in recommendations and bursting formula. + */ + getServiceUsage is ArmResourceRead; + + /** + * Gets the usages of file service in storage account. + */ + listServiceUsages is ArmResourceListByParent< + FileServiceUsage, + Parameters = { + /** + * Optional, specifies the maximum number of file service usages to be included in the list response. + */ + @query("$maxpagesize") + $maxpagesize?: int32; + }, + Response = ArmResponse, + Error = CloudError + >; +} + +@@doc(FileServiceUsage.name, ""); +@@doc(FileServiceUsage.properties, + "File service usage in storage account including account limits, file share limits and constants used in recommendations and bursting formula." +); diff --git a/specification/storage/Storage.Management/FileShare.tsp b/specification/storage/Storage.Management/FileShare.tsp new file mode 100644 index 000000000000..189f33e95d51 --- /dev/null +++ b/specification/storage/Storage.Management/FileShare.tsp @@ -0,0 +1,147 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./FileServiceProperties.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Storage; +/** + * Properties of the file share, including Id, resource name, resource type, Etag. + */ +@parentResource(FileServiceProperties) +model FileShare is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = FileShare, + KeyName = "shareName", + SegmentName = "shares", + NamePattern = "" + >; + + /** + * Resource Etag. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + etag?: string; +} + +@armResourceOperations +interface FileShares { + /** + * Gets properties of a specified share. + */ + get is ArmResourceRead< + FileShare, + Parameters = { + /** + * Optional, used to expand the properties within share's properties. Valid values are: stats. Should be passed as a string with delimiter ','. + */ + @query("$expand") + $expand?: string; + + /** + * Optional, used to retrieve properties of a snapshot. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @header + `x-ms-snapshot`?: string; + }, + Error = CloudError + >; + + /** + * Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share. + */ + create is ArmResourceCreateOrReplaceSync< + FileShare, + Parameters = { + /** + * Optional, used to expand the properties within share's properties. Valid values are: snapshots. Should be passed as a string with delimiter ',' + */ + @query("$expand") + $expand?: string; + }, + Error = CloudError + >; + + /** + * Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist. + */ + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchSync< + FileShare, + PatchModel = FileShare, + Error = CloudError + >; + + /** + * Deletes specified share under its account. + */ + delete is ArmResourceDeleteSync< + FileShare, + Parameters = { + /** + * Optional, used to delete a snapshot. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @header + `x-ms-snapshot`?: string; + + /** + * Optional. Valid values are: snapshots, leased-snapshots, none. The default value is snapshots. For 'snapshots', the file share is deleted including all of its file share snapshots. If the file share contains leased-snapshots, the deletion fails. For 'leased-snapshots', the file share is deleted included all of its file share snapshots (leased/unleased). For 'none', the file share is deleted if it has no share snapshots. If the file share contains any snapshots (leased or unleased), the deletion fails. + */ + @query("$include") + $include?: string; + }, + Error = CloudError + >; + + /** + * Restore a file share within a valid retention days if share soft delete is enabled + */ + restore is ArmResourceActionSync< + FileShare, + DeletedShare, + OkResponse, + Error = CloudError + >; + + /** + * The Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite. + */ + lease is ArmResourceActionSync< + FileShare, + LeaseShareRequest, + Parameters = { + /** + * Optional. Specify the snapshot time to lease a snapshot. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @header + `x-ms-snapshot`?: string; + }, + Error = CloudError, + Response = ArmResponse & ETagHeader, + OptionalRequestBody = true + >; +} + +@@maxLength(FileShare.name, 63); +@@minLength(FileShare.name, 3); +@@doc(FileShare.name, + "The name of the file share within the specified storage account. File share 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." +); +@@doc(FileShare.properties, "Properties of the file share."); +@@doc(FileShares.create::parameters.resource, + "Properties of the file share to create." +); +@@doc(FileShares.update::parameters.properties, + "Properties to update for the file share." +); +@@doc(FileShares.restore::parameters.body, ""); diff --git a/specification/storage/Storage.Management/ImmutabilityPolicy.tsp b/specification/storage/Storage.Management/ImmutabilityPolicy.tsp new file mode 100644 index 000000000000..5630f08fb2ee --- /dev/null +++ b/specification/storage/Storage.Management/ImmutabilityPolicy.tsp @@ -0,0 +1,176 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./BlobContainer.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Storage; +/** + * The ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag. + */ +@singleton("default") +@parentResource(BlobContainer) +model ImmutabilityPolicy + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = ImmutabilityPolicy, + KeyName = "immutabilityPolicy", + SegmentName = "immutabilityPolicies", + NamePattern = "" + >; + + /** + * Resource Etag. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + etag?: string; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface CreateOrUpdateImmutabilityPolicyOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + + @doc("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.") + @path + @segment("storageAccounts") + @minLength(3) + @maxLength(24) + @pattern("^[a-z0-9]+$") + accountName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("blobServices") + blobServicesDefault: "default", + + @doc("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.") + @path + @segment("containers") + @minLength(3) + @maxLength(63) + containerName: string, + }, + { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("immutabilityPolicies") + immutabilityPoliciesDefault: "default", + }, + ErrorType = ErrorResponse + > {} + +@armResourceOperations +interface ImmutabilityPolicies { + /** + * Gets the existing immutability policy along with the corresponding ETag in response headers and body. + */ + getImmutabilityPolicy is ArmResourceRead< + ImmutabilityPolicy, + Parameters = { + /** + * The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @header("If-Match") + `If-Match`?: string; + }, + Response = ArmResponse & ETagHeader, + Error = ErrorResponse + >; + + /** + * Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "For backward compatibility" + createOrUpdateImmutabilityPolicy is CreateOrUpdateImmutabilityPolicyOps.CreateOrUpdateSync< + ImmutabilityPolicy, + Parameters = { + /** + * The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @header("If-Match") + `If-Match`?: string; + }, + Response = ArmResourceUpdatedResponse & ETagHeader, + OverrideErrorType = ErrorResponse, + OptionalRequestBody = true + >; + + /** + * Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, the only way is to delete the container after deleting all expired blobs inside the policy locked container. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "For backward compatibility" + deleteImmutabilityPolicy is ArmResourceDeleteSync< + ImmutabilityPolicy, + Parameters = { + /** + * The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @header("If-Match") + `If-Match`: string; + }, + Response = ArmResponse & ETagHeader, + Error = ErrorResponse + >; + + /** + * Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation. + */ + @action("lock") + lockImmutabilityPolicy is ArmResourceActionSync< + ImmutabilityPolicy, + void, + Parameters = { + /** + * The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @header("If-Match") + `If-Match`: string; + }, + Response = ArmResponse & ETagHeader, + Error = ErrorResponse + >; + + /** + * Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation. + */ + @action("extend") + extendImmutabilityPolicy is ArmResourceActionSync< + ImmutabilityPolicy, + ImmutabilityPolicy, + Parameters = { + /** + * The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @header("If-Match") + `If-Match`: string; + }, + Response = ArmResponse & ETagHeader, + Error = ErrorResponse, + OptionalRequestBody = true + >; +} + +@@doc(ImmutabilityPolicy.name, ""); +@@doc(ImmutabilityPolicy.properties, + "The properties of an ImmutabilityPolicy of a blob container." +); +@@doc(ImmutabilityPolicies.createOrUpdateImmutabilityPolicy::parameters.resource, + "The ImmutabilityPolicy Properties that will be created or updated to a blob container." +); diff --git a/specification/storage/Storage.Management/LocalUser.tsp b/specification/storage/Storage.Management/LocalUser.tsp new file mode 100644 index 000000000000..26ee125c72fc --- /dev/null +++ b/specification/storage/Storage.Management/LocalUser.tsp @@ -0,0 +1,108 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./StorageAccount.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Storage; +/** + * The local user associated with the storage accounts. + */ +@parentResource(StorageAccount) +model LocalUser is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = LocalUser, + KeyName = "username", + SegmentName = "localUsers", + NamePattern = "" + >; +} + +@armResourceOperations +interface LocalUserOperationGroup { + /** + * Get the local user of the storage account by username. + */ + get is ArmResourceRead; + + /** + * Create or update the properties of a local user associated with the storage account. Properties for NFSv3 enablement and extended groups cannot be set with other properties. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "For backward compatibility" + createOrUpdate is ArmResourceCreateOrReplaceSync< + LocalUser, + Response = ArmResourceUpdatedResponse, + Error = ErrorResponse + >; + + /** + * Deletes the local user associated with the specified storage account. + */ + delete is ArmResourceDeleteSync; + + /** + * List the local users associated with the storage account. + */ + list is ArmResourceListByParent< + LocalUser, + Parameters = { + /** + * Optional, specifies the maximum number of local users that will be included in the list response. + */ + @maxValue(5000) + @minValue(1) + @query("$maxpagesize") + $maxpagesize?: int32; + + /** + * Optional. When specified, only local user names starting with the filter will be listed. + */ + @query("$filter") + $filter?: string; + + /** + * Optional, when specified, will list local users enabled for the specific protocol. Lists all users by default. + */ + @query("$include") + $include?: ListLocalUserIncludeParam; + }, + Response = ArmResponse, + Error = ErrorResponse + >; + + /** + * List SSH authorized keys and shared key of the local user. + */ + listKeys is ArmResourceActionSync< + LocalUser, + void, + ArmResponse, + Error = ErrorResponse + >; + + /** + * Regenerate the local user SSH password. + */ + regeneratePassword is ArmResourceActionSync< + LocalUser, + void, + ArmResponse, + Error = ErrorResponse + >; +} + +@@maxLength(LocalUser.name, 64); +@@minLength(LocalUser.name, 3); +@@doc(LocalUser.name, + "The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account." +); +@@doc(LocalUser.properties, "Storage account local user properties."); +@@doc(LocalUserOperationGroup.createOrUpdate::parameters.resource, + "The local user associated with a storage account." +); diff --git a/specification/storage/Storage.Management/ManagementPolicy.tsp b/specification/storage/Storage.Management/ManagementPolicy.tsp new file mode 100644 index 000000000000..09604361fa10 --- /dev/null +++ b/specification/storage/Storage.Management/ManagementPolicy.tsp @@ -0,0 +1,60 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./StorageAccount.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Storage; +/** + * The Get Storage Account ManagementPolicies operation response. + */ +@parentResource(StorageAccount) +model ManagementPolicy + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = ManagementPolicy, + KeyName = "managementPolicyName", + SegmentName = "managementPolicies", + NamePattern = "", + Type = ManagementPolicyName + >; +} + +@armResourceOperations +interface ManagementPolicies { + /** + * Gets the managementpolicy associated with the specified storage account. + */ + get is ArmResourceRead; + + /** + * Sets the managementpolicy to the specified storage account. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "For backward compatibility" + createOrUpdate is ArmResourceCreateOrReplaceSync< + ManagementPolicy, + Response = ArmResourceUpdatedResponse, + Error = ErrorResponse + >; + + /** + * Deletes the managementpolicy associated with the specified storage account. + */ + delete is ArmResourceDeleteSync; +} + +@@doc(ManagementPolicy.name, + "The name of the Storage Account Management Policy. It should always be 'default'" +); +@@doc(ManagementPolicy.properties, + "Returns the Storage Account Data Policies Rules." +); +@@doc(ManagementPolicies.createOrUpdate::parameters.resource, + "The ManagementPolicy set to a storage account." +); diff --git a/specification/storage/Storage.Management/NetworkSecurityPerimeterConfiguration.tsp b/specification/storage/Storage.Management/NetworkSecurityPerimeterConfiguration.tsp new file mode 100644 index 000000000000..79a5ba39ab4f --- /dev/null +++ b/specification/storage/Storage.Management/NetworkSecurityPerimeterConfiguration.tsp @@ -0,0 +1,64 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./StorageAccount.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Storage; +/** + * The Network Security Perimeter configuration resource. + */ +@parentResource(StorageAccount) +model NetworkSecurityPerimeterConfiguration + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = NetworkSecurityPerimeterConfiguration, + KeyName = "networkSecurityPerimeterConfigurationName", + SegmentName = "networkSecurityPerimeterConfigurations", + NamePattern = "^.*$" + >; +} + +@armResourceOperations +interface NetworkSecurityPerimeterConfigurations { + /** + * Gets effective NetworkSecurityPerimeterConfiguration for association + */ + get is ArmResourceRead< + NetworkSecurityPerimeterConfiguration, + Error = ErrorResponse + >; + + /** + * Gets list of effective NetworkSecurityPerimeterConfiguration for storage account + */ + list is ArmResourceListByParent< + NetworkSecurityPerimeterConfiguration, + Response = ArmResponse, + Error = ErrorResponse + >; + + /** + * Refreshes any information about the association. + */ + reconcile is ArmResourceActionAsyncBase< + NetworkSecurityPerimeterConfiguration, + void, + ArmAcceptedLroResponse, + BaseParameters = Azure.ResourceManager.Foundations.DefaultBaseParameters, + Error = ErrorResponse + >; +} + +@@doc(NetworkSecurityPerimeterConfiguration.name, + "The name for Network Security Perimeter configuration" +); +@@doc(NetworkSecurityPerimeterConfiguration.properties, + "Properties of the Network Security Perimeter Configuration" +); diff --git a/specification/storage/Storage.Management/ObjectReplicationPolicy.tsp b/specification/storage/Storage.Management/ObjectReplicationPolicy.tsp new file mode 100644 index 000000000000..ad33eb6e5faf --- /dev/null +++ b/specification/storage/Storage.Management/ObjectReplicationPolicy.tsp @@ -0,0 +1,72 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./StorageAccount.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Storage; +/** + * The replication policy between two storage accounts. Multiple rules can be defined in one policy. + */ +@parentResource(StorageAccount) +model ObjectReplicationPolicy + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = ObjectReplicationPolicy, + KeyName = "objectReplicationPolicyId", + SegmentName = "objectReplicationPolicies", + NamePattern = "" + >; +} + +@armResourceOperations +interface ObjectReplicationPolicyOperationGroup { + /** + * Get the object replication policy of the storage account by policy ID. + */ + get is ArmResourceRead; + + /** + * Create or update the object replication policy of the storage account. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + createOrUpdate is ArmResourceCreateOrReplaceSync< + ObjectReplicationPolicy, + Response = ArmResourceUpdatedResponse, + Error = ErrorResponse + >; + + /** + * Deletes the object replication policy associated with the specified storage account. + */ + delete is ArmResourceDeleteSync< + ObjectReplicationPolicy, + Error = ErrorResponse + >; + + /** + * List the object replication policies associated with the storage account. + */ + list is ArmResourceListByParent< + ObjectReplicationPolicy, + Response = ArmResponse, + Error = ErrorResponse + >; +} + +@@minLength(ObjectReplicationPolicy.name, 1); +@@doc(ObjectReplicationPolicy.name, + "For the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file." +); +@@doc(ObjectReplicationPolicy.properties, + "Returns the Storage Account Object Replication Policy." +); +@@doc(ObjectReplicationPolicyOperationGroup.createOrUpdate::parameters.resource, + "The object replication policy set to a storage account. A unique policy ID will be created if absent." +); diff --git a/specification/storage/Storage.Management/PrivateEndpointConnection.tsp b/specification/storage/Storage.Management/PrivateEndpointConnection.tsp new file mode 100644 index 000000000000..777f6b5027dd --- /dev/null +++ b/specification/storage/Storage.Management/PrivateEndpointConnection.tsp @@ -0,0 +1,69 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./StorageAccount.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Storage; +/** + * The Private Endpoint Connection resource. + */ +@parentResource(StorageAccount) +model PrivateEndpointConnection + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = PrivateEndpointConnection, + KeyName = "privateEndpointConnectionName", + SegmentName = "privateEndpointConnections", + NamePattern = "" + >; +} + +@armResourceOperations +interface PrivateEndpointConnections { + /** + * Gets the specified private endpoint connection associated with the storage account. + */ + get is ArmResourceRead; + + /** + * Update the state of specified private endpoint connection associated with the storage account. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + put is ArmResourceCreateOrReplaceSync< + PrivateEndpointConnection, + Response = ArmResourceUpdatedResponse, + Error = ErrorResponse + >; + + /** + * Deletes the specified private endpoint connection associated with the storage account. + */ + delete is ArmResourceDeleteSync< + PrivateEndpointConnection, + Error = ErrorResponse + >; + + /** + * List all the private endpoint connections associated with the storage account. + */ + list is ArmResourceListByParent< + PrivateEndpointConnection, + Response = ArmResponse, + Error = ErrorResponse + >; +} + +@@doc(PrivateEndpointConnection.name, + "The name of the private endpoint connection associated with the Azure resource" +); +@@doc(PrivateEndpointConnection.properties, "Resource properties."); +@@doc(PrivateEndpointConnections.put::parameters.resource, + "The private endpoint connection properties." +); diff --git a/specification/storage/Storage.Management/QueueServiceProperties.tsp b/specification/storage/Storage.Management/QueueServiceProperties.tsp new file mode 100644 index 000000000000..1dc6f29ac357 --- /dev/null +++ b/specification/storage/Storage.Management/QueueServiceProperties.tsp @@ -0,0 +1,92 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./StorageAccount.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Storage; +/** + * The properties of a storage account’s Queue service. + */ +@singleton("default") +@parentResource(StorageAccount) +model QueueServiceProperties + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = QueueServiceProperties, + KeyName = "queueService", + SegmentName = "queueServices", + NamePattern = "" + >; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface QueueServices { + /** + * Gets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. + */ + getServiceProperties is ArmResourceRead< + QueueServiceProperties, + Error = CloudError + >; + + /** + * Sets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + setServiceProperties is ArmResourceCreateOrReplaceSync< + QueueServiceProperties, + Response = ArmResourceUpdatedResponse, + Error = CloudError + >; + + /** + * List all queue services for the storage account + */ + list is Azure.ResourceManager.Legacy.ArmListSinglePageByParent< + QueueServiceProperties, + Response = ArmResponse, + Error = CloudError + >; + + /** + * Gets a list of all the queues under the specified storage account + */ + @get + @list + @action("queues") + queueList is ArmResourceActionSync< + QueueServiceProperties, + void, + ArmResponse, + Parameters = { + /** + * Optional, a maximum number of queues that should be included in a list queue response + */ + @query("$maxpagesize") + $maxpagesize?: string; + + /** + * Optional, When specified, only the queues with a name starting with the given filter will be listed. + */ + @query("$filter") + $filter?: string; + }, + Error = CloudError + >; +} + +@@doc(QueueServiceProperties.name, ""); +@@doc(QueueServiceProperties.properties, + "The properties of a storage account’s Queue service." +); +@@doc(QueueServices.setServiceProperties::parameters.resource, + "The properties of a storage account’s Queue service, only properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified." +); diff --git a/specification/storage/Storage.Management/StorageAccount.tsp b/specification/storage/Storage.Management/StorageAccount.tsp new file mode 100644 index 000000000000..4dbd912ab8b6 --- /dev/null +++ b/specification/storage/Storage.Management/StorageAccount.tsp @@ -0,0 +1,349 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Storage; +/** + * The storage account. + */ +model StorageAccount + is Azure.ResourceManager.TrackedResource { + ...ResourceNameParameter< + Resource = StorageAccount, + KeyName = "accountName", + SegmentName = "storageAccounts", + NamePattern = "^[a-z0-9]+$" + >; + + /** + * Gets the SKU. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + sku?: Sku; + + /** + * Gets the Kind. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + kind?: Kind; + + /** + * The identity of the resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + identity?: Identity; + + /** + * The extendedLocation of the resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + extendedLocation?: ExtendedLocation; + + ...Azure.ResourceManager.AvailabilityZonesProperty; + + /** + * Optional. Gets or sets the zonal placement details for the storage account. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + placement?: Placement; +} + +@armResourceOperations +interface StorageAccounts { + /** + * Checks that the storage account name is valid and is not already in use. + */ + @autoRoute + checkNameAvailability is ArmProviderActionSync< + Request = StorageAccountCheckNameAvailabilityParameters, + Response = CheckNameAvailabilityResult, + Scope = SubscriptionActionScope, + Parameters = {}, + Error = ErrorResponse + >; + /** + * Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys. + */ + getProperties is ArmResourceRead< + StorageAccount, + Parameters = { + /** + * May be used to expand the properties within account's properties. By default, data is not included when fetching properties. Currently we only support geoReplicationStats and blobRestoreStatus. + */ + @query("$expand") + $expand?: StorageAccountExpand; + }, + Error = ErrorResponse + >; + + /** + * Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @armResourceCreateOrUpdate(StorageAccount) + @autoRoute + create is Azure.ResourceManager.Foundations.ArmCreateOperation< + ResourceInstanceParameters< + StorageAccount, + Azure.ResourceManager.Foundations.DefaultBaseParameters + >, + StorageAccountCreateParameters, + Response = ArmResourceUpdatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader>, + ErrorResponse = ErrorResponse + >; + + /** + * The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation. + */ + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchSync< + StorageAccount, + PatchModel = StorageAccountUpdateParameters, + Error = ErrorResponse + >; + + /** + * Deletes a storage account in Microsoft Azure. + */ + delete is ArmResourceDeleteSync; + + /** + * Lists all the storage accounts available under the given resource group. Note that storage keys are not returned; use the ListKeys operation for this. + */ + listByResourceGroup is ArmResourceListByParent< + StorageAccount, + Error = ErrorResponse + >; + + /** + * Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this. + */ + list is ArmListBySubscription; + + /** + * Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account. + */ + listKeys is ArmResourceActionSync< + StorageAccount, + void, + ArmResponse, + Parameters = { + /** + * Specifies type of the key to be listed. Possible value is kerb. + */ + @query("$expand") + $expand?: "kerb"; + }, + Error = ErrorResponse + >; + + /** + * Regenerates one of the access keys or Kerberos keys for the specified storage account. + */ + regenerateKey is ArmResourceActionSync< + StorageAccount, + StorageAccountRegenerateKeyParameters, + ArmResponse, + Error = ErrorResponse + >; + + /** + * List SAS credentials of a storage account. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @action("ListAccountSas") + listAccountSAS is ArmResourceActionSync< + StorageAccount, + AccountSasParameters, + ArmResponse, + Error = ErrorResponse + >; + + /** + * List service SAS credentials of a specific resource. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @action("ListServiceSas") + listServiceSAS is ArmResourceActionSync< + StorageAccount, + ServiceSasParameters, + ArmResponse, + Error = ErrorResponse + >; + + /** + * A failover request can be triggered for a storage account in the event a primary endpoint becomes unavailable for any reason. The failover occurs from the storage account's primary cluster to the secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover and the account is converted to LRS. In the case of a Planned Failover, the primary and secondary clusters are swapped after failover and the account remains geo-replicated. Failover should continue to be used in the event of availability issues as Planned failover is only available while the primary and secondary endpoints are available. The primary use case of a Planned Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter to 'Planned'. Learn more about the failover options here- https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance + */ + failover is ArmResourceActionAsync< + StorageAccount, + void, + { + @body body: void; + }, + Parameters = { + /** + * The parameter is set to 'Planned' to indicate whether a Planned failover is requested. + */ + @query("failoverType") + failoverType?: "Planned"; + }, + Error = ErrorResponse, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; + + /** + * Live Migration of storage account to enable Hns + */ + @action("hnsonmigration") + hierarchicalNamespaceMigration is ArmResourceActionAsync< + StorageAccount, + void, + { + @body body: void; + }, + Parameters = { + /** + * Required. Hierarchical namespace migration type can either be a hierarchical namespace validation request 'HnsOnValidationRequest' or a hydration request 'HnsOnHydrationRequest'. The validation request will validate the migration whereas the hydration request will migrate the account. + */ + @query("requestType") + requestType: string; + }, + Error = ErrorResponse, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; + + /** + * Abort live Migration of storage account to enable Hns + */ + @action("aborthnsonmigration") + abortHierarchicalNamespaceMigration is ArmResourceActionAsync< + StorageAccount, + void, + { + @body body: void; + }, + Error = ErrorResponse, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; + + /** + * Account Migration request can be triggered for a storage account to change its redundancy level. The migration updates the non-zonal redundant storage account to a zonal redundant account or vice-versa in order to have better reliability and availability. Zone-redundant storage (ZRS) replicates your storage account synchronously across three Azure availability zones in the primary region. + */ + @action("startAccountMigration") + customerInitiatedMigration is ArmResourceActionAsync< + StorageAccount, + StorageAccountMigration, + { + @body body: void; + }, + Error = ErrorResponse, + LroHeaders = Azure.Core.Foundations.RetryAfterHeader & + ArmLroLocationHeader + >; + + /** + * Restore blobs in the specified blob ranges + */ + #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + restoreBlobRanges is ArmResourceActionAsyncBase< + StorageAccount, + BlobRestoreParameters, + BaseParameters = Azure.ResourceManager.Foundations.DefaultBaseParameters, + Response = ArmResponse | (ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader> & { + @bodyRoot + _: BlobRestoreStatus; + }), + Error = ErrorResponse + >; + + /** + * Revoke user delegation keys. + */ + revokeUserDelegationKeys is ArmResourceActionSync< + StorageAccount, + void, + OkResponse, + Error = ErrorResponse + >; + + /** + * Gets the private link resources that need to be created for a storage account. + */ + @get + @action("privateLinkResources") + listByStorageAccount is ArmResourceActionSync< + StorageAccount, + void, + ArmResponse, + Error = ErrorResponse + >; + + /** + * Fetch the report summary of all the storage task assignments and instances in an account + */ + @get + @list + @action("reports") + storageTaskAssignmentsInstancesReportList is ArmResourceActionSync< + StorageAccount, + void, + ArmResponse, + Parameters = { + /** + * Optional, specifies the maximum number of storage task assignment instances to be included in the list response. + */ + @query("$maxpagesize") + $maxpagesize?: int32; + + /** + * Optional. When specified, it can be used to query using reporting properties. See [Constructing Filter Strings](https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings) for details. + */ + @query("$filter") + $filter?: string; + }, + Error = ErrorResponse + >; +} + +@@maxLength(StorageAccount.name, 24); +@@minLength(StorageAccount.name, 3); +@@doc(StorageAccount.name, + "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." +); +@@doc(StorageAccount.properties, "Properties of the storage account."); +@@doc(StorageAccounts.create::parameters.resource, + "The parameters to provide for the created account." +); +@@doc(StorageAccounts.update::parameters.properties, + "The parameters to provide for the updated account." +); +@@doc(StorageAccounts.regenerateKey::parameters.body, + "Specifies name of the key which should be regenerated -- key1, key2, kerb1, kerb2." +); +@@doc(StorageAccounts.listAccountSAS::parameters.body, + "The parameters to provide to list SAS credentials for the storage account." +); +@@doc(StorageAccounts.listServiceSAS::parameters.body, + "The parameters to provide to list service SAS credentials." +); +@@doc(StorageAccounts.customerInitiatedMigration::parameters.body, + "The request parameters required to perform storage account migration." +); +@@doc(StorageAccounts.restoreBlobRanges::parameters.body, + "The parameters to provide for restore blob ranges." +); diff --git a/specification/storage/Storage.Management/StorageAccountMigration.tsp b/specification/storage/Storage.Management/StorageAccountMigration.tsp new file mode 100644 index 000000000000..bbf56ff429eb --- /dev/null +++ b/specification/storage/Storage.Management/StorageAccountMigration.tsp @@ -0,0 +1,48 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./StorageAccount.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Storage; +/** + * The parameters or status associated with an ongoing or enqueued storage account migration in order to update its current SKU or region. + */ +@parentResource(StorageAccount) +model StorageAccountMigration + is Azure.ResourceManager.ProxyResource< + StorageAccountMigrationProperties, + false + > { + ...ResourceNameParameter< + Resource = StorageAccountMigration, + KeyName = "migrationName", + SegmentName = "accountMigrations", + NamePattern = "", + Type = MigrationName + >; +} + +@armResourceOperations +interface StorageAccountMigrations { + /** + * Gets the status of the ongoing migration for the specified storage account. + */ + getCustomerInitiatedMigration is ArmResourceRead< + StorageAccountMigration, + Error = ErrorResponse + >; +} + +@@doc(StorageAccountMigration.name, + "The name of the Storage Account Migration. It should always be 'default'" +); +@@doc(StorageAccountMigration.properties, + "The properties of a storage account’s ongoing or enqueued migration." +); diff --git a/specification/storage/Storage.Management/StorageQueue.tsp b/specification/storage/Storage.Management/StorageQueue.tsp new file mode 100644 index 000000000000..c084b1afbe3f --- /dev/null +++ b/specification/storage/Storage.Management/StorageQueue.tsp @@ -0,0 +1,74 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./QueueServiceProperties.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Storage; + +@parentResource(QueueServiceProperties) +model StorageQueue is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = StorageQueue, + KeyName = "queueName", + SegmentName = "queues", + NamePattern = "^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$" + >; +} + +@armResourceOperations +interface StorageQueues { + /** + * Gets the queue with the specified queue name, under the specified account if it exists. + */ + get is ArmResourceRead; + + /** + * Creates a new queue with the specified queue name, under the specified account. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + create is ArmResourceCreateOrReplaceSync< + StorageQueue, + Response = ArmResourceUpdatedResponse, + Error = CloudError + >; + + /** + * Creates a new queue with the specified queue name, under the specified account. + */ + @patch(#{ implicitOptionality: false }) + update is ArmCustomPatchSync< + StorageQueue, + PatchModel = StorageQueue, + Error = CloudError + >; + + /** + * Deletes the queue with the specified queue name, under the specified account if it exists. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + delete is ArmResourceDeleteSync< + StorageQueue, + Response = ArmDeletedNoContentResponse, + Error = CloudError + >; +} + +@@maxLength(StorageQueue.name, 63); +@@minLength(StorageQueue.name, 3); +@@doc(StorageQueue.name, + "A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters." +); +@@doc(StorageQueue.properties, "Queue resource properties."); +@@doc(StorageQueues.create::parameters.resource, + "Queue properties and metadata to be created with" +); +@@doc(StorageQueues.update::parameters.properties, + "Queue properties and metadata to be created with" +); diff --git a/specification/storage/Storage.Management/StorageTaskAssignment.tsp b/specification/storage/Storage.Management/StorageTaskAssignment.tsp new file mode 100644 index 000000000000..e2347b789b79 --- /dev/null +++ b/specification/storage/Storage.Management/StorageTaskAssignment.tsp @@ -0,0 +1,144 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./StorageAccount.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Storage; +/** + * The storage task assignment. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@parentResource(StorageAccount) +@Http.Private.includeInapplicableMetadataInPayload(false) +model StorageTaskAssignment extends Resource { + ...ResourceNameParameter< + Resource = StorageTaskAssignment, + KeyName = "storageTaskAssignmentName", + SegmentName = "storageTaskAssignments", + NamePattern = "^[a-z][a-z0-9]{2,23}$" + >; + + /** + * Properties of the storage task assignment. + */ + properties: StorageTaskAssignmentProperties; +} + +@armResourceOperations +interface StorageTaskAssignments { + /** + * Get the storage task assignment properties + */ + get is ArmResourceRead; + + /** + * Asynchronously creates a new storage task assignment sub-resource with the specified parameters. If a storage task assignment is already created and a subsequent create request is issued with different properties, the storage task assignment properties will be updated. If a storage task assignment is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed. + */ + @put + @Azure.Core.useFinalStateVia("azure-async-operation") + create is ArmResourceCreateOrReplaceAsync< + StorageTaskAssignment, + Response = ArmResourceUpdatedResponse | ArmResourceCreatedResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader>, + Error = ErrorResponse + >; + + /** + * Update storage task assignment properties + */ + @patch(#{ implicitOptionality: false }) + @Azure.Core.useFinalStateVia("azure-async-operation") + update is ArmCustomPatchAsync< + StorageTaskAssignment, + StorageTaskAssignmentUpdateParameters, + Response = ArmResponse | ArmAcceptedLroResponse & + Azure.Core.Foundations.RetryAfterHeader>, + Error = ErrorResponse + >; + + /** + * Delete the storage task assignment sub-resource + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @autoRoute + @armResourceDelete(StorageTaskAssignment) + @Azure.ResourceManager.Private.enforceConstraint( + StorageTaskAssignment, + Foundations.Resource + ) + @delete + delete is Azure.ResourceManager.ArmResourceDeleteAsyncBase< + Resource = StorageTaskAssignment, + Response = ArmAcceptedLroResponse | NoContentResponse, + BaseParameters = Azure.ResourceManager.Foundations.DefaultBaseParameters, + Error = ErrorResponse + >; + + /** + * List all the storage task assignments in an account + */ + list is ArmResourceListByParent< + StorageTaskAssignment, + Parameters = { + /** + * Optional, specifies the maximum number of storage task assignment Ids to be included in the list response. + */ + @query("$top") + $top?: int32; + }, + Response = ArmResponse, + Error = ErrorResponse + >; + + /** + * Fetch the report summary of a single storage task assignment's instances + */ + @get + @list + @action("reports") + storageTaskAssignmentInstancesReportList is ArmResourceActionSync< + StorageTaskAssignment, + void, + ArmResponse, + Parameters = { + /** + * Optional, specifies the maximum number of storage task assignment instances to be included in the list response. + */ + @query("$maxpagesize") + $maxpagesize?: int32; + + /** + * Optional. When specified, it can be used to query using reporting properties. See [Constructing Filter Strings](https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings) for details. + */ + @query("$filter") + $filter?: string; + }, + Error = ErrorResponse + >; +} + +@@maxLength(StorageTaskAssignment.name, 24); +@@minLength(StorageTaskAssignment.name, 3); +@@doc(StorageTaskAssignment.name, + "The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only." +); +@@doc(StorageTaskAssignment.properties, + "Properties of the storage task assignment." +); +@@doc(StorageTaskAssignments.create::parameters.resource, + "The parameters to create a Storage Task Assignment." +); +@@doc(StorageTaskAssignments.update::parameters.properties, + "The parameters to update a Storage Task Assignment." +); +@@visibility(StorageTaskAssignment.name, Lifecycle.Read); diff --git a/specification/storage/Storage.Management/Table.tsp b/specification/storage/Storage.Management/Table.tsp new file mode 100644 index 000000000000..7d3a6ae546c7 --- /dev/null +++ b/specification/storage/Storage.Management/Table.tsp @@ -0,0 +1,126 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./TableServiceProperties.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Storage; +/** + * Properties of the table, including Id, resource name, resource type. + */ +@parentResource(TableServiceProperties) +model Table is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = Table, + KeyName = "tableName", + SegmentName = "tables", + NamePattern = "^[A-Za-z][A-Za-z0-9]{2,62}$" + >; +} + +@armResourceOperations +interface TablesCreateOps + extends Azure.ResourceManager.Legacy.LegacyOperations< + { + ...ApiVersionParameter, + ...SubscriptionIdParameter, + ...ResourceGroupParameter, + ...Azure.ResourceManager.Legacy.Provider, + }, + { + @path + @segment("storageAccounts") + @minLength(3) + @maxLength(24) + @pattern("^[a-z0-9]+$") + @doc("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.") + accountName: string, + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @path + @segment("tableServices") + default: "default", + + @path + @segment("tables") + @minLength(3) + @maxLength(63) + @pattern("^[A-Za-z][A-Za-z0-9]{2,62}$") + @doc("A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric character.") + tableName: string, + }, + KeysOf> + > {} + +@armResourceOperations +interface Tables { + /** + * Gets the table with the specified table name, under the specified account if it exists. + */ + get is ArmResourceRead; + + /** + * Creates a new table with the specified table name, under the specified account. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + create is TablesCreateOps.CreateOrUpdateSync< + Table, + Response = ArmResourceUpdatedResponse, + OverrideErrorType = CloudError, + OptionalRequestBody = true + >; + /** + * Creates a new table with the specified table name, under the specified account. + */ + @patch(#{ implicitOptionality: false }) + update is TablesCreateOps.CustomPatchSync< + Table, + PatchModel = Table, + Response = ArmResourceUpdatedResponse
, + OverrideErrorType = CloudError, + OptionalRequestBody = true + >; + + /** + * Deletes the table with the specified table name, under the specified account if it exists. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + delete is ArmResourceDeleteSync< + Table, + Response = ArmDeletedNoContentResponse, + Error = CloudError + >; + + /** + * Gets a list of all the tables under the specified storage account + */ + list is ArmResourceListByParent< + Table, + Response = ArmResponse, + Error = CloudError + >; +} + +@@maxLength(Table.name, 63); +@@minLength(Table.name, 3); +@@doc(Table.name, + "A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric character." +); +@@doc(Table.properties, "Table resource properties."); +@@doc(Tables.create::parameters.resource, + "The parameters to provide to create a table." +); +@@doc(Tables.update::parameters.properties, + "The parameters to provide to create a table." +); diff --git a/specification/storage/Storage.Management/TableServiceProperties.tsp b/specification/storage/Storage.Management/TableServiceProperties.tsp new file mode 100644 index 000000000000..99f6f9021afd --- /dev/null +++ b/specification/storage/Storage.Management/TableServiceProperties.tsp @@ -0,0 +1,66 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "./models.tsp"; +import "./StorageAccount.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace Microsoft.Storage; +/** + * The properties of a storage account’s Table service. + */ +@singleton("default") +@parentResource(StorageAccount) +model TableServiceProperties + is Azure.ResourceManager.ProxyResource { + ...ResourceNameParameter< + Resource = TableServiceProperties, + KeyName = "tableService", + SegmentName = "tableServices", + NamePattern = "" + >; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface TableServices { + /** + * Gets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. + */ + getServiceProperties is ArmResourceRead< + TableServiceProperties, + Error = CloudError + >; + + /** + * Sets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-put-operation-response-codes" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + setServiceProperties is ArmResourceCreateOrReplaceSync< + TableServiceProperties, + Response = ArmResourceUpdatedResponse, + Error = CloudError + >; + + /** + * List all table services for the storage account. + */ + list is Azure.ResourceManager.Legacy.ArmListSinglePageByParent< + TableServiceProperties, + Response = ArmResponse, + Error = CloudError + >; +} + +@@doc(TableServiceProperties.name, ""); +@@doc(TableServiceProperties.properties, + "The properties of a storage account’s Table service." +); +@@doc(TableServices.setServiceProperties::parameters.resource, + "The properties of a storage account’s Table service, only properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified." +); diff --git a/specification/storage/Storage.Management/back-compatible.tsp b/specification/storage/Storage.Management/back-compatible.tsp new file mode 100644 index 000000000000..60aaa1847d82 --- /dev/null +++ b/specification/storage/Storage.Management/back-compatible.tsp @@ -0,0 +1,387 @@ +import "@azure-tools/typespec-client-generator-core"; + +using Azure.ClientGenerator.Core; +using Azure.ClientGenerator.Core.Legacy; +using Microsoft.Storage; + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(ListContainerItem.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(ImmutabilityPolicyProperties.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(FileShareItem.properties); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(ListQueue.properties); +@@clientName(ListQueue.properties, "QueueProperties"); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(Operation.properties); +@@clientName(Operation.properties, "operationProperties"); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(StorageAccountCreateParameters.properties); +@@clientName(StorageAccountPropertiesCreateParameters.isSftpEnabled, + "IsSftpEnabled" +); +@@clientName(StorageAccountPropertiesCreateParameters.isLocalUserEnabled, + "IsLocalUserEnabled" +); +@@clientName(StorageAccountPropertiesCreateParameters.isHnsEnabled, + "IsHnsEnabled" +); + +@@clientName(Encryption.keyvaultproperties, "KeyVaultProperties"); +@@clientName(Encryption.identity, "EncryptionIdentity"); +@@clientName(Encryption.requireInfrastructureEncryption, + "RequireInfrastructureEncryption" +); + +@@clientName(KeyVaultProperties.keyname, "KeyName"); +@@clientName(KeyVaultProperties.keyversion, "KeyVersion"); +@@clientName(KeyVaultProperties.keyvaulturi, "KeyVaultUri"); +@@clientName(KeyVaultProperties.currentVersionedKeyIdentifier, + "CurrentVersionedKeyIdentifier" +); +@@clientName(KeyVaultProperties.lastKeyRotationTimestamp, + "LastKeyRotationTimestamp" +); +@@clientName(KeyVaultProperties.currentVersionedKeyExpirationTimestamp, + "CurrentVersionedKeyExpirationTimestamp" +); + +@@clientName(EncryptionIdentity.userAssignedIdentity, + "EncryptionUserAssignedIdentity" +); +@@clientName(EncryptionIdentity.federatedIdentityClientId, + "EncryptionFederatedIdentityClientId" +); + +@@clientName(VirtualNetworkRule.id, "VirtualNetworkResourceId"); + +@@clientName(IPRule.value, "IPAddressOrRange", "!java, !javascript"); + +@@clientName(NetworkRuleSet.bypass, "Bypass"); + +@@clientName(StorageAccountProperties.supportsHttpsTrafficOnly, + "EnableHttpsTrafficOnly" +); +@@clientName(StorageAccountProperties.networkAcls, "NetworkRuleSet"); +@@clientName(StorageAccountProperties.isSftpEnabled, "IsSftpEnabled"); +@@clientName(StorageAccountProperties.isLocalUserEnabled, "IsLocalUserEnabled"); +@@clientName(StorageAccountProperties.isHnsEnabled, "IsHnsEnabled"); +@@clientName(StorageAccountProperties.isNfsV3Enabled, "EnableNfsV3"); +@@clientName(StorageAccountProperties.isSkuConversionBlocked, + "IsSkuConversionBlocked" +); +@@clientName(StorageAccountProperties.enableExtendedGroups, + "EnableExtendedGroups" +); +@@clientName(StorageAccountProperties.geoReplicationStats, + "GeoReplicationStats" +); +@@clientName(StorageAccountProperties.failoverInProgress, "FailoverInProgress"); +@@clientName(StorageAccountProperties.routingPreference, "RoutingPreference"); +@@clientName(StorageAccountProperties.blobRestoreStatus, "BlobRestoreStatus"); +@@clientName(StorageAccountProperties.allowBlobPublicAccess, + "AllowBlobPublicAccess" +); +@@clientName(StorageAccountProperties.immutableStorageWithVersioning, + "ImmutableStorageWithVersioning" +); +@@clientName(StorageAccountProperties.storageAccountSkuConversionStatus, + "StorageAccountSkuConversionStatus" +); +@@clientName(StorageAccountProperties.accountMigrationInProgress, + "AccountMigrationInProgress" +); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(StorageAccountUpdateParameters.properties); + +@@clientName(StorageAccountPropertiesUpdateParameters.supportsHttpsTrafficOnly, + "EnableHttpsTrafficOnly" +); +@@clientName(StorageAccountPropertiesUpdateParameters.isSftpEnabled, + "IsSftpEnabled" +); +@@clientName(StorageAccountPropertiesUpdateParameters.isLocalUserEnabled, + "IsLocalUserEnabled" +); +@@clientName(StorageAccountPropertiesUpdateParameters.networkAcls, + "NetworkRuleSet" +); +@@clientName(StorageAccountPropertiesUpdateParameters.enableExtendedGroups, + "EnableExtendedGroups" +); +@@clientName(StorageAccountPropertiesUpdateParameters.routingPreference, + "RoutingPreference" +); +@@clientName(StorageAccountPropertiesUpdateParameters.allowBlobPublicAccess, + "AllowBlobPublicAccess" +); +@@clientName(StorageAccountPropertiesUpdateParameters.immutableStorageWithVersioning, + "ImmutableStorageWithVersioning" +); + +@@clientName(AccountSasParameters.signedServices, "Services"); +@@clientName(AccountSasParameters.signedResourceTypes, "ResourceTypes"); +@@clientName(AccountSasParameters.signedPermission, "Permissions"); +@@clientName(AccountSasParameters.signedIp, + "IPAddressOrRange", + "!java, !javascript" +); +@@clientName(AccountSasParameters.signedProtocol, "Protocols"); +@@clientName(AccountSasParameters.signedStart, "SharedAccessStartTime"); +@@clientName(AccountSasParameters.signedExpiry, "SharedAccessExpiryTime"); + +@@clientName(ServiceSasParameters.signedResource, "Resource"); +@@clientName(ServiceSasParameters.signedPermission, "Permissions"); +@@clientName(ServiceSasParameters.signedIp, + "IPAddressOrRange", + "!java, !javascript" +); +@@clientName(ServiceSasParameters.signedProtocol, "Protocols"); +@@clientName(ServiceSasParameters.signedStart, "SharedAccessStartTime"); +@@clientName(ServiceSasParameters.signedExpiry, "SharedAccessExpiryTime"); +@@clientName(ServiceSasParameters.signedIdentifier, "Identifier"); +@@clientName(ServiceSasParameters.startPk, "PartitionKeyStart"); +@@clientName(ServiceSasParameters.endPk, "PartitionKeyEnd"); +@@clientName(ServiceSasParameters.startRk, "RowKeyStart"); +@@clientName(ServiceSasParameters.endRk, "RowKeyEnd"); +@@clientName(ServiceSasParameters.rscc, "CacheControl"); +@@clientName(ServiceSasParameters.rscd, "ContentDisposition"); +@@clientName(ServiceSasParameters.rsce, "ContentEncoding"); +@@clientName(ServiceSasParameters.rscl, "ContentLanguage"); +@@clientName(ServiceSasParameters.rsct, "ContentType"); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(PrivateLinkResource.properties); + +@@clientName(BlobServices.setServiceProperties::parameters.resource, + "parameters" +); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(BlobServiceProperties.properties); +@@clientName(BlobServiceProperties.properties, "BlobServiceProperties"); + +@@clientName(BlobContainers.create::parameters.resource, "blobContainer"); +@@clientName(BlobContainers.update::parameters.properties, "blobContainer"); +@@clientName(BlobContainers.setLegalHold::parameters.body, "LegalHold"); +@@clientName(BlobContainers.clearLegalHold::parameters.body, "LegalHold"); + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(BlobContainer.properties); +@@clientName(BlobContainer.properties, "ContainerProperties"); + +@@clientName(ContainerProperties.immutabilityPolicy, "ImmutabilityPolicy"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(ImmutabilityPolicy.properties); + +@@clientName(FileServices.setServiceProperties::parameters.resource, + "parameters" +); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(FileServiceProperties.properties); +@@clientName(FileServiceProperties.properties, "FileServiceProperties"); + +@@clientName(FileShares.create::parameters.resource, "fileShare"); +@@clientName(FileShares.update::parameters.properties, "fileShare"); +@@clientName(FileShares.restore::parameters.body, "deletedShare"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(FileShare.properties); +@@clientName(FileShare.properties, "FileShareProperties"); + +@@clientName(QueueServices.setServiceProperties::parameters.resource, + "parameters" +); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(QueueServiceProperties.properties); +@@clientName(QueueServiceProperties.properties, "QueueServiceProperties"); + +@@clientName(StorageQueues.create::parameters.resource, "queue"); +@@clientName(StorageQueues.update::parameters.properties, "queue"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(StorageQueue.properties); +@@clientName(StorageQueue.properties, "QueueProperties"); + +@@clientName(StorageAccounts.create::parameters.resource, "parameters"); +@@clientName(StorageAccounts.update::parameters.properties, "parameters"); +@@clientName(StorageAccounts.regenerateKey::parameters.body, "regenerateKey"); +@@clientName(StorageAccounts.listAccountSAS::parameters.body, "parameters"); +@@clientName(StorageAccounts.listServiceSAS::parameters.body, "parameters"); +@@clientName(StorageAccounts.customerInitiatedMigration::parameters.body, + "parameters" +); +@@clientName(StorageAccounts.restoreBlobRanges::parameters.body, "parameters"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(StorageAccount.properties); + +@@clientName(PrivateEndpointConnections.put::parameters.resource, "properties"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(PrivateEndpointConnection.properties); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(DeletedAccount.properties); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(StorageAccountMigration.properties); +@@clientName(StorageAccountMigration.properties, + "StorageAccountMigrationDetails" +); + +@@clientName(ManagementPolicies.createOrUpdate::parameters.resource, + "properties" +); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(ManagementPolicy.properties); + +@@clientName(BlobInventoryPolicies.createOrUpdate::parameters.resource, + "properties" +); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(BlobInventoryPolicy.properties); + +@@clientName(ObjectReplicationPolicyOperationGroup.createOrUpdate::parameters.resource, + "properties" +); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(ObjectReplicationPolicy.properties); + +@@clientName(LocalUserOperationGroup.createOrUpdate::parameters.resource, + "properties" +); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(LocalUser.properties); + +@@clientName(EncryptionScopes.put::parameters.resource, "encryptionScope"); +@@clientName(EncryptionScopes.patch::parameters.properties, "encryptionScope"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(EncryptionScope.properties); +@@clientName(EncryptionScope.properties, "EncryptionScopeProperties"); + +@@clientName(TableServices.setServiceProperties::parameters.resource, + "parameters" +); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(TableServiceProperties.properties); +@@clientName(TableServiceProperties.properties, "TableServiceProperties"); + +@@clientName(Tables.create::parameters.resource, "parameters"); +@@clientName(Tables.update::parameters.properties, "parameters"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(Table.properties); +@@clientName(Table.properties, "TableProperties"); +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@@flattenProperty(NetworkSecurityPerimeterConfiguration.properties); + +@@clientName(StorageTaskAssignments.create::parameters.resource, "parameters"); +@@clientName(StorageTaskAssignments.update::parameters.properties, + "parameters" +); +@@visibility(FileShareItems.value, Lifecycle.Read); +@@visibility(ListContainerItems.value, Lifecycle.Read); +@@visibility(ListQueueResource.value, Lifecycle.Read); +@@visibility(ListTableResource.value, Lifecycle.Read); +@@visibility(NetworkSecurityPerimeterConfigurationList.value, Lifecycle.Read); +@@visibility(FileServiceUsages.value, Lifecycle.Read); +@@visibility(StorageTaskReportSummary.value, Lifecycle.Read); + +@@clientName(StorageAccounts.checkNameAvailability::parameters.body, + "accountName" +); +@@clientName(ImmutabilityPolicies.createOrUpdateImmutabilityPolicy::parameters.resource, + "parameters" +); +@@clientName(StorageAccountPropertiesCreateParameters.enableExtendedGroups, + "EnableExtendedGroups" +); +@@clientName(StorageAccountPropertiesCreateParameters.routingPreference, + "RoutingPreference" +); +@@clientName(StorageAccountPropertiesCreateParameters.allowBlobPublicAccess, + "AllowBlobPublicAccess" +); +@@clientName(StorageAccountPropertiesCreateParameters.immutableStorageWithVersioning, + "ImmutableStorageWithVersioning" +); +@@clientName(StorageAccountPropertiesCreateParameters.networkAcls, + "NetworkRuleSet" +); +@@clientName(StorageAccountPropertiesCreateParameters.supportsHttpsTrafficOnly, + "EnableHttpsTrafficOnly" +); +@@clientName(StorageAccountPropertiesCreateParameters.isNfsV3Enabled, + "EnableNfsV3" +); +@@visibility(StorageTaskAssignmentsList.value, Lifecycle.Read); + +@@clientLocation(BlobServices.blobContainersList, BlobContainers); +@@clientName(BlobServices.blobContainersList, "List"); +@@clientName(BlobContainers.lease::parameters.body, "parameters"); +@@clientLocation(ImmutabilityPolicies.getImmutabilityPolicy, BlobContainers); +@@clientLocation(ImmutabilityPolicies.createOrUpdateImmutabilityPolicy, + BlobContainers +); +@@clientName(ImmutabilityPolicies.createOrUpdateImmutabilityPolicy::parameters.resource, + "parameters" +); +@@clientLocation(ImmutabilityPolicies.deleteImmutabilityPolicy, BlobContainers); +@@clientLocation(ImmutabilityPolicies.lockImmutabilityPolicy, BlobContainers); +@@clientLocation(ImmutabilityPolicies.extendImmutabilityPolicy, BlobContainers); +@@clientName(ImmutabilityPolicies.extendImmutabilityPolicy::parameters.body, + "parameters" +); +@@clientLocation(FileServices.fileSharesList, FileShares); +@@clientName(FileServices.fileSharesList, "List"); +@@clientLocation(FileServiceUsageOperationGroup.getServiceUsage, FileServices); +@@clientLocation(FileServiceUsageOperationGroup.listServiceUsages, + FileServices +); +@@clientName(FileShares.lease::parameters.body, "parameters"); +@@clientLocation(QueueServices.queueList, "Queue"); +@@clientName(QueueServices.queueList, "List"); +@@clientLocation(StorageQueues.get, "Queue"); +@@clientLocation(StorageQueues.create, "Queue"); +@@clientLocation(StorageQueues.update, "Queue"); +@@clientLocation(StorageQueues.delete, "Queue"); +@@clientLocation(StorageAccounts.listByStorageAccount, "PrivateLinkResources"); +@@clientLocation(StorageAccounts.storageTaskAssignmentsInstancesReportList, + "StorageTaskAssignmentsInstancesReport" +); +@@clientName(StorageAccounts.storageTaskAssignmentsInstancesReportList, "List"); +@@clientLocation(StorageAccountMigrations.getCustomerInitiatedMigration, + StorageAccounts +); +@@clientLocation(ObjectReplicationPolicyOperationGroup.get, + "ObjectReplicationPolicies" +); +@@clientLocation(ObjectReplicationPolicyOperationGroup.createOrUpdate, + "ObjectReplicationPolicies" +); +@@clientLocation(ObjectReplicationPolicyOperationGroup.delete, + "ObjectReplicationPolicies" +); +@@clientLocation(ObjectReplicationPolicyOperationGroup.list, + "ObjectReplicationPolicies" +); +@@clientLocation(LocalUserOperationGroup.get, "LocalUsers"); +@@clientLocation(LocalUserOperationGroup.createOrUpdate, "LocalUsers"); +@@clientLocation(LocalUserOperationGroup.delete, "LocalUsers"); +@@clientLocation(LocalUserOperationGroup.list, "LocalUsers"); +@@clientLocation(LocalUserOperationGroup.listKeys, "LocalUsers"); +@@clientLocation(LocalUserOperationGroup.regeneratePassword, "LocalUsers"); +@@clientLocation(Tables.get, "Table"); +@@clientLocation(Tables.create, "Table"); +@@clientLocation(Tables.update, "Table"); +@@clientLocation(Tables.delete, "Table"); +@@clientLocation(Tables.list, "Table"); +@@clientLocation(StorageTaskAssignments.storageTaskAssignmentInstancesReportList, + "StorageTaskAssignmentInstancesReport" +); +@@clientName(StorageTaskAssignments.storageTaskAssignmentInstancesReportList, + "List" +); +@@clientLocation(SkusOperationGroup.list, "Skus"); +@@clientLocation(DeletedAccountsOperationGroup.list, DeletedAccounts); +@@clientLocation(UsagesOperationGroup.listByLocation, "Usages"); diff --git a/specification/storage/Storage.Management/client.tsp b/specification/storage/Storage.Management/client.tsp new file mode 100644 index 000000000000..23ae6cb60a9c --- /dev/null +++ b/specification/storage/Storage.Management/client.tsp @@ -0,0 +1,83 @@ +import "@azure-tools/typespec-client-generator-core"; +import "./main.tsp"; + +using Azure.ClientGenerator.Core; +using Microsoft.Storage; + +@@clientName(ProvisioningState, "StorageProvisioningState", "csharp"); +@@clientName(Microsoft.Storage, "StorageManagementClient", "javascript"); +@@clientName(Microsoft.Storage, "StorageManagementClient", "python"); + +@@clientName(AccountType, "ActiveDirectoryPropertiesAccountType", "go, java"); +@@clientName(AllowedMethods, "CorsRuleAllowedMethodsItem", "go, java"); + +// Java customization for mitigating breaking changes +@@clientName(SKUCapability, "SkuCapability", "java"); +@@clientName(IPRule, "IpRule", "java"); +@@clientName(IPRule.value, "ipAddressOrRange", "java"); +@@clientName(IPRule.value, "$DO_NOT_NORMALIZE$iPAddressOrRange", "javascript"); +@@clientName(StorageAccounts.listAccountSAS, "listAccountSas", "java"); +@@clientName(StorageAccounts.listServiceSAS, "listServiceSas", "java"); +@@clientName(ImmutableStorageWithVersioning.timeStamp, "timestamp", "java"); +@@clientName(FileShareRecommendations.baseIOPS, "baseIops", "java"); +@@clientName(AccountSasParameters.signedIp, "ipAddressOrRange", "java"); +@@clientName(AccountSasParameters.signedIp, + "$DO_NOT_NORMALIZE$iPAddressOrRange", + "javascript" +); +@@clientName(AccountLimits.maxProvisionedIOPS, "maxProvisionedIops", "java"); +@@clientName(FileShareLimits.maxProvisionedIOPS, "maxProvisionedIops", "java"); +@@clientName(FileShareLimits.minProvisionedIOPS, "minProvisionedIops", "java"); +@@clientName(BurstingConstants.burstFloorIOPS, "burstFloorIops", "java"); +@@clientName(AccountUsageElements.provisionedIOPS, "provisionedIops", "java"); +@@clientName(ServiceSasParameters.signedIp, "ipAddressOrRange", "java"); +@@clientName(ServiceSasParameters.signedIp, + "$DO_NOT_NORMALIZE$iPAddressOrRange", + "javascript" +); + +// should only be used in Java +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum Action { + ALLOW: "Allow", +} +@@alternateType(IPRule.action, Action, "java"); +@@alternateType(VirtualNetworkRule.action, Action, "java"); + +@@alternateType(TriggerParameters.intervalUnit, IntervalUnit, "java"); +@@alternateType(TriggerParametersUpdate.intervalUnit, IntervalUnit, "java"); + +@@usage(StorageAccount, + Azure.ClientGenerator.Core.Usage.input | Azure.ClientGenerator.Core.Usage.output, + "java" +); + +@@clientName(ETagHeader.eTag, "etag", "java"); + +// Fix client parameter order. +/** + * Get properties of specified deleted account resource. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "customization" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "override" +op getDeletedAccountCustomized( + apiVersion: string, + deletedAccountName: string, + location: Azure.Core.azureLocation, + provider: "Microsoft.ThisWillBeReplaced", + subscriptionId: Azure.Core.uuid, +): Azure.ResourceManager.ArmResponse | Microsoft.Storage.ErrorResponse; +@@override(DeletedAccounts.get, getDeletedAccountCustomized, "java,go,python"); +@@clientName(Azure.ResourceManager.CommonTypes.ProxyResource, + "ProxyResourceAutoGenerated", + "javascript" +); +@@clientName(Azure.ResourceManager.CommonTypes.Resource, + "ResourceAutoGenerated", + "javascript" +); +@@clientName(Azure.ResourceManager.CommonTypes.Resource, + "ResourceAutoGenerated", + "python" +); diff --git a/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersClearLegalHold.json b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersClearLegalHold.json new file mode 100644 index 000000000000..c43444f72061 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersClearLegalHold.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "LegalHold": { + "tags": [ + "tag1", + "tag2", + "tag3" + ] + }, + "accountName": "sto7280", + "api-version": "2025-06-01", + "containerName": "container8723", + "monitor": "true", + "resourceGroupName": "res4303", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "hasLegalHold": false, + "tags": [] + } + } + }, + "operationId": "BlobContainers_ClearLegalHold", + "title": "ClearLegalHoldContainers" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersDelete.json b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersDelete.json new file mode 100644 index 000000000000..e0a06918dfbb --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersDelete.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "accountName": "sto4506", + "api-version": "2025-06-01", + "containerName": "container9689", + "monitor": "true", + "resourceGroupName": "res4079", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "BlobContainers_Delete", + "title": "DeleteContainers" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersDeleteImmutabilityPolicy.json b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersDeleteImmutabilityPolicy.json new file mode 100644 index 000000000000..75fe36a46ee0 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersDeleteImmutabilityPolicy.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "If-Match": "8d59f81a7fa7be0", + "accountName": "sto9621", + "api-version": "2025-06-01", + "containerName": "container4910", + "immutabilityPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res1581", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", + "etag": "\"8d59f81a87b40c0\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res1581/providers/Microsoft.Storage/storageAccounts/sto9621/blobServices/default/containers/container4910/immutabilityPolicies/default", + "properties": { + "immutabilityPeriodSinceCreationInDays": 0, + "state": "Unlocked" + } + } + } + }, + "operationId": "BlobContainers_DeleteImmutabilityPolicy", + "title": "DeleteImmutabilityPolicy" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersExtendImmutabilityPolicy.json b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersExtendImmutabilityPolicy.json new file mode 100644 index 000000000000..8879a39db8ff --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersExtendImmutabilityPolicy.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "If-Match": "8d59f830d0c3bf9", + "accountName": "sto232", + "api-version": "2025-06-01", + "containerName": "container5023", + "monitor": "true", + "parameters": { + "properties": { + "immutabilityPeriodSinceCreationInDays": 100 + } + }, + "resourceGroupName": "res6238", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", + "etag": "\"8d57a8b2ff50332\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6238/providers/Microsoft.Storage/storageAccounts/sto232/blobServices/default/containers/container5023/immutabilityPolicies/default", + "properties": { + "immutabilityPeriodSinceCreationInDays": 100, + "state": "Locked" + } + } + } + }, + "operationId": "BlobContainers_ExtendImmutabilityPolicy", + "title": "ExtendImmutabilityPolicy" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersGet.json b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersGet.json new file mode 100644 index 000000000000..af6ef7e6f1b3 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersGet.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "accountName": "sto6217", + "api-version": "2025-06-01", + "containerName": "container1634", + "monitor": "true", + "resourceGroupName": "res9871", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "container1634", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "etag": "\"0x8D592D74CC20EBA\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/blobServices/default/containers/container1634", + "properties": { + "hasImmutabilityPolicy": true, + "hasLegalHold": true, + "immutabilityPolicy": { + "etag": "\"8d592d74cb3011a\"", + "properties": { + "immutabilityPeriodSinceCreationInDays": 100, + "state": "Locked" + }, + "updateHistory": [ + { + "immutabilityPeriodSinceCreationInDays": 3, + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:11.431403Z", + "update": "put" + }, + { + "immutabilityPeriodSinceCreationInDays": 3, + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:13.0907641Z", + "update": "lock" + }, + { + "immutabilityPeriodSinceCreationInDays": 100, + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:14.7097716Z", + "update": "extend" + } + ] + }, + "lastModifiedTime": "2018-03-26T05:06:14Z", + "leaseState": "Available", + "leaseStatus": "Unlocked", + "legalHold": { + "hasLegalHold": true, + "tags": [ + { + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tag": "tag1", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:09.6964643Z" + }, + { + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tag": "tag2", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:09.6964643Z" + }, + { + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tag": "tag3", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:09.6964643Z" + } + ] + }, + "publicAccess": "None" + } + } + } + }, + "operationId": "BlobContainers_Get", + "title": "GetContainers" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersGetImmutabilityPolicy.json b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersGetImmutabilityPolicy.json new file mode 100644 index 000000000000..a9141457911d --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersGetImmutabilityPolicy.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "accountName": "sto9177", + "api-version": "2025-06-01", + "containerName": "container3489", + "immutabilityPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res5221", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", + "etag": "\"8d59f828e64b75c\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res5221/providers/Microsoft.Storage/storageAccounts/sto9177/blobServices/default/containers/container3489/immutabilityPolicies/default", + "properties": { + "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 5, + "state": "Unlocked" + } + } + } + }, + "operationId": "BlobContainers_GetImmutabilityPolicy", + "title": "GetImmutabilityPolicy" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersGetWithAllowProtectedAppendWritesAll.json b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersGetWithAllowProtectedAppendWritesAll.json new file mode 100644 index 000000000000..a07febbe814b --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersGetWithAllowProtectedAppendWritesAll.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "accountName": "sto6217", + "api-version": "2025-06-01", + "containerName": "container1634", + "monitor": "true", + "resourceGroupName": "res9871", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "container1634", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "etag": "\"0x8D592D74CC20EBA\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/blobServices/default/containers/container1634", + "properties": { + "hasImmutabilityPolicy": true, + "hasLegalHold": true, + "immutabilityPolicy": { + "etag": "\"8d592d74cb3011a\"", + "properties": { + "allowProtectedAppendWritesAll": true, + "immutabilityPeriodSinceCreationInDays": 100, + "state": "Locked" + }, + "updateHistory": [ + { + "allowProtectedAppendWritesAll": true, + "immutabilityPeriodSinceCreationInDays": 3, + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:11.431403Z", + "update": "put" + }, + { + "allowProtectedAppendWritesAll": true, + "immutabilityPeriodSinceCreationInDays": 3, + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:13.0907641Z", + "update": "lock" + }, + { + "allowProtectedAppendWritesAll": true, + "immutabilityPeriodSinceCreationInDays": 100, + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:14.7097716Z", + "update": "extend" + } + ] + }, + "lastModifiedTime": "2018-03-26T05:06:14Z", + "leaseState": "Available", + "leaseStatus": "Unlocked", + "legalHold": { + "hasLegalHold": true, + "protectedAppendWritesHistory": { + "allowProtectedAppendWritesAll": true, + "timestamp": "2022-09-01T01:58:44.5044483Z" + }, + "tags": [ + { + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tag": "tag1", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:09.6964643Z" + }, + { + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tag": "tag2", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:09.6964643Z" + }, + { + "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", + "tag": "tag3", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:09.6964643Z" + } + ] + }, + "publicAccess": "None" + } + } + } + }, + "operationId": "BlobContainers_Get", + "title": "GetBlobContainersGetWithAllowProtectedAppendWritesAll" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersLease_Acquire.json b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersLease_Acquire.json new file mode 100644 index 000000000000..94720833036f --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersLease_Acquire.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-06-01", + "containerName": "container6185", + "monitor": "true", + "parameters": { + "action": "Acquire", + "breakPeriod": null, + "leaseDuration": -1, + "leaseId": null, + "proposedLeaseId": null + }, + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "leaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d" + } + } + }, + "operationId": "BlobContainers_Lease", + "title": "Acquire a lease on a container" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersLease_Break.json b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersLease_Break.json new file mode 100644 index 000000000000..48820eaf7a77 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersLease_Break.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-06-01", + "containerName": "container6185", + "monitor": "true", + "parameters": { + "action": "Break", + "breakPeriod": null, + "leaseDuration": null, + "leaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d", + "proposedLeaseId": null + }, + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "leaseTimeSeconds": "0" + } + } + }, + "operationId": "BlobContainers_Lease", + "title": "Break a lease on a container" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersList.json b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersList.json new file mode 100644 index 000000000000..fd7d40d37e80 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersList.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "accountName": "sto1590", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://sto1590endpoint/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers?api-version=2022-09-01&$maxpagesize=2&$skipToken=/sto1590/container5103", + "value": [ + { + "name": "container1644", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "etag": "\"0x8D589847D51C7DE\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers/container1644", + "properties": { + "hasImmutabilityPolicy": false, + "hasLegalHold": false, + "lastModifiedTime": "2018-03-14T08:20:47Z", + "leaseState": "Available", + "leaseStatus": "Unlocked", + "publicAccess": "Container" + } + }, + { + "name": "container4052", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers/container4052", + "properties": { + "hasImmutabilityPolicy": false, + "hasLegalHold": false, + "lastModifiedTime": "2018-03-14T08:20:47Z", + "leaseState": "Available", + "leaseStatus": "Unlocked", + "publicAccess": "None" + } + } + ] + } + } + }, + "operationId": "BlobContainers_List", + "title": "ListContainers" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersLockImmutabilityPolicy.json b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersLockImmutabilityPolicy.json new file mode 100644 index 000000000000..0fb88916bd81 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersLockImmutabilityPolicy.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "If-Match": "8d59f825b721dd3", + "accountName": "sto5009", + "api-version": "2025-06-01", + "containerName": "container1631", + "monitor": "true", + "resourceGroupName": "res2702", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", + "etag": "\"8d57a8a5edb084a\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res2702/providers/Microsoft.Storage/storageAccounts/sto5009/blobServices/default/containers/container1631/immutabilityPolicies/default", + "properties": { + "immutabilityPeriodSinceCreationInDays": 3, + "state": "Locked" + } + } + } + }, + "operationId": "BlobContainers_LockImmutabilityPolicy", + "title": "LockImmutabilityPolicy" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersPatch.json b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersPatch.json new file mode 100644 index 000000000000..b56809ec17f4 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersPatch.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-06-01", + "blobContainer": { + "properties": { + "metadata": { + "metadata": "true" + }, + "publicAccess": "Container" + } + }, + "containerName": "container6185", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "container6185", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", + "properties": { + "hasImmutabilityPolicy": false, + "hasLegalHold": false, + "metadata": { + "metadata": "true" + }, + "publicAccess": "Container" + } + } + } + }, + "operationId": "BlobContainers_Update", + "title": "UpdateContainers" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersPut.json b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersPut.json new file mode 100644 index 000000000000..f84343e4640c --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersPut.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-06-01", + "blobContainer": {}, + "containerName": "container6185", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "container6185", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185" + } + }, + "201": { + "body": { + "name": "container6185", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185" + } + } + }, + "operationId": "BlobContainers_Create", + "title": "PutContainers" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersPutDefaultEncryptionScope.json b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersPutDefaultEncryptionScope.json new file mode 100644 index 000000000000..981c32eb7f3a --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersPutDefaultEncryptionScope.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-06-01", + "blobContainer": { + "properties": { + "defaultEncryptionScope": "encryptionscope185", + "denyEncryptionScopeOverride": true + } + }, + "containerName": "container6185", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "container6185", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", + "properties": { + "defaultEncryptionScope": "encryptionscope185", + "denyEncryptionScopeOverride": true + } + } + }, + "201": { + "body": { + "name": "container6185", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", + "properties": { + "defaultEncryptionScope": "encryptionscope185", + "denyEncryptionScopeOverride": true + } + } + } + }, + "operationId": "BlobContainers_Create", + "title": "PutContainerWithDefaultEncryptionScope" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersPutImmutabilityPolicy.json b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersPutImmutabilityPolicy.json new file mode 100644 index 000000000000..487dd432a3ca --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersPutImmutabilityPolicy.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "accountName": "sto7069", + "api-version": "2025-06-01", + "containerName": "container6397", + "immutabilityPolicyName": "default", + "monitor": "true", + "parameters": { + "properties": { + "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 3 + } + }, + "resourceGroupName": "res1782", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", + "etag": "\"8d59f830cb130e5\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res1782/providers/Microsoft.Storage/storageAccounts/sto7069/blobServices/default/containers/container6397/immutabilityPolicies/default", + "properties": { + "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 3, + "state": "Unlocked" + } + } + } + }, + "operationId": "BlobContainers_CreateOrUpdateImmutabilityPolicy", + "title": "CreateOrUpdateImmutabilityPolicy" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json similarity index 70% rename from specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json rename to specification/storage/Storage.Management/examples/2025-06-01/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json index c7825b058a63..36be6565de0f 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json +++ b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json @@ -1,32 +1,34 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res1782", "accountName": "sto7069", + "api-version": "2025-06-01", "containerName": "container6397", "immutabilityPolicyName": "default", - "api-version": "2025-01-01", "monitor": "true", "parameters": { "properties": { - "immutabilityPeriodSinceCreationInDays": 3, - "allowProtectedAppendWritesAll": true + "allowProtectedAppendWritesAll": true, + "immutabilityPeriodSinceCreationInDays": 3 } - } + }, + "resourceGroupName": "res1782", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res1782/providers/Microsoft.Storage/storageAccounts/sto7069/blobServices/default/containers/container6397/immutabilityPolicies/default", "name": "default", "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", "etag": "\"8d59f830cb130e5\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res1782/providers/Microsoft.Storage/storageAccounts/sto7069/blobServices/default/containers/container6397/immutabilityPolicies/default", "properties": { - "immutabilityPeriodSinceCreationInDays": 3, "allowProtectedAppendWritesAll": true, + "immutabilityPeriodSinceCreationInDays": 3, "state": "Unlocked" } } } - } + }, + "operationId": "BlobContainers_CreateOrUpdateImmutabilityPolicy", + "title": "CreateOrUpdateImmutabilityPolicyWithAllowProtectedAppendWritesAll" } diff --git a/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersPutObjectLevelWorm.json b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersPutObjectLevelWorm.json new file mode 100644 index 000000000000..9e1e11e36c61 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersPutObjectLevelWorm.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-06-01", + "blobContainer": { + "properties": { + "immutableStorageWithVersioning": { + "enabled": true + } + } + }, + "containerName": "container6185", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "container6185", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", + "properties": { + "immutableStorageWithVersioning": { + "enabled": true + } + } + } + }, + "201": { + "body": { + "name": "container6185", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", + "properties": { + "immutableStorageWithVersioning": { + "enabled": true + } + } + } + } + }, + "operationId": "BlobContainers_Create", + "title": "PutContainerWithObjectLevelWorm" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersSetLegalHold.json b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersSetLegalHold.json new file mode 100644 index 000000000000..62ca87f17e31 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersSetLegalHold.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "LegalHold": { + "tags": [ + "tag1", + "tag2", + "tag3" + ] + }, + "accountName": "sto7280", + "api-version": "2025-06-01", + "containerName": "container8723", + "monitor": "true", + "resourceGroupName": "res4303", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "hasLegalHold": true, + "tags": [ + "tag1", + "tag2", + "tag3" + ] + } + } + }, + "operationId": "BlobContainers_SetLegalHold", + "title": "SetLegalHoldContainers" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json new file mode 100644 index 000000000000..7d758ef598e4 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "LegalHold": { + "allowProtectedAppendWritesAll": true, + "tags": [ + "tag1", + "tag2", + "tag3" + ] + }, + "accountName": "sto7280", + "api-version": "2025-06-01", + "containerName": "container8723", + "monitor": "true", + "resourceGroupName": "res4303", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "allowProtectedAppendWritesAll": true, + "hasLegalHold": true, + "tags": [ + "tag1", + "tag2", + "tag3" + ] + } + } + }, + "operationId": "BlobContainers_SetLegalHold", + "title": "SetLegalHoldContainersWithAllowProtectedAppendWritesAll" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/BlobRangesRestore.json b/specification/storage/Storage.Management/examples/2025-06-01/BlobRangesRestore.json new file mode 100644 index 000000000000..272a9a3434b8 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/BlobRangesRestore.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-06-01", + "parameters": { + "blobRanges": [ + { + "endRange": "container/blobpath2", + "startRange": "container/blobpath1" + }, + { + "endRange": "", + "startRange": "container2/blobpath3" + } + ], + "timeToRestore": "2019-04-20T15:30:00.0000000Z" + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "parameters": { + "blobRanges": [ + { + "endRange": "container/blobpath2", + "startRange": "container/blobpath1" + }, + { + "endRange": "", + "startRange": "container2/blobpath3" + } + ], + "timeToRestore": "2019-04-20T15:30:00.0000000Z" + }, + "restoreId": "{restore_id}", + "status": "Succeeded" + } + }, + "202": { + "body": { + "parameters": { + "blobRanges": [ + { + "endRange": "container/blobpath2", + "startRange": "container/blobpath1" + }, + { + "endRange": "", + "startRange": "container2/blobpath3" + } + ], + "timeToRestore": "2019-04-20T15:30:00.0000000Z" + }, + "restoreId": "{restore_id}", + "status": "InProgress" + }, + "headers": { + "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-09-01" + } + } + }, + "operationId": "StorageAccounts_RestoreBlobRanges", + "title": "BlobRangesRestore" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/BlobServicesGet.json b/specification/storage/Storage.Management/examples/2025-06-01/BlobServicesGet.json new file mode 100644 index 000000000000..665ee130e19f --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/BlobServicesGet.json @@ -0,0 +1,98 @@ +{ + "parameters": { + "BlobServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", + "properties": { + "changeFeed": { + "enabled": true, + "retentionInDays": 7 + }, + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x -ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + }, + "defaultServiceVersion": "2017-07-29", + "deleteRetentionPolicy": { + "days": 300, + "enabled": true + }, + "isVersioningEnabled": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + } + }, + "operationId": "BlobServices_GetServiceProperties", + "title": "GetBlobServices" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/BlobServicesList.json b/specification/storage/Storage.Management/examples/2025-06-01/BlobServicesList.json new file mode 100644 index 000000000000..ca7b08c9744a --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/BlobServicesList.json @@ -0,0 +1,101 @@ +{ + "parameters": { + "accountName": "sto8607", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", + "properties": { + "changeFeed": { + "enabled": true, + "retentionInDays": 7 + }, + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x -ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + }, + "defaultServiceVersion": "2017-07-29", + "deleteRetentionPolicy": { + "days": 300, + "enabled": true + }, + "isVersioningEnabled": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + ] + } + } + }, + "operationId": "BlobServices_List", + "title": "ListBlobServices" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/BlobServicesPut.json b/specification/storage/Storage.Management/examples/2025-06-01/BlobServicesPut.json new file mode 100644 index 000000000000..7f781c9f633b --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/BlobServicesPut.json @@ -0,0 +1,173 @@ +{ + "parameters": { + "BlobServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-06-01", + "monitor": "true", + "parameters": { + "properties": { + "changeFeed": { + "enabled": true, + "retentionInDays": 7 + }, + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x -ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + }, + "defaultServiceVersion": "2017-07-29", + "deleteRetentionPolicy": { + "days": 300, + "enabled": true + }, + "isVersioningEnabled": true + } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", + "properties": { + "changeFeed": { + "enabled": true, + "retentionInDays": 7 + }, + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x -ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + }, + "defaultServiceVersion": "2017-07-29", + "deleteRetentionPolicy": { + "days": 300, + "enabled": true + }, + "isVersioningEnabled": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + } + }, + "operationId": "BlobServices_SetServiceProperties", + "title": "PutBlobServices" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/BlobServicesPutAllowPermanentDelete.json b/specification/storage/Storage.Management/examples/2025-06-01/BlobServicesPutAllowPermanentDelete.json new file mode 100644 index 000000000000..e2715d42edd8 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/BlobServicesPutAllowPermanentDelete.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "BlobServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-06-01", + "monitor": "true", + "parameters": { + "properties": { + "deleteRetentionPolicy": { + "allowPermanentDelete": true, + "days": 300, + "enabled": true + }, + "isVersioningEnabled": true + } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", + "properties": { + "deleteRetentionPolicy": { + "allowPermanentDelete": true, + "days": 300, + "enabled": true + }, + "isVersioningEnabled": true + } + } + } + }, + "operationId": "BlobServices_SetServiceProperties", + "title": "BlobServicesPutAllowPermanentDelete" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/BlobServicesPutLastAccessTimeBasedTracking.json b/specification/storage/Storage.Management/examples/2025-06-01/BlobServicesPutLastAccessTimeBasedTracking.json new file mode 100644 index 000000000000..e95bab29be96 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/BlobServicesPutLastAccessTimeBasedTracking.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "BlobServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-06-01", + "monitor": "true", + "parameters": { + "properties": { + "lastAccessTimeTrackingPolicy": { + "name": "AccessTimeTracking", + "blobType": [ + "blockBlob" + ], + "enable": true, + "trackingGranularityInDays": 1 + } + } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", + "properties": { + "lastAccessTimeTrackingPolicy": { + "name": "AccessTimeTracking", + "blobType": [ + "blockBlob" + ], + "enable": true, + "trackingGranularityInDays": 1 + } + } + } + } + }, + "operationId": "BlobServices_SetServiceProperties", + "title": "BlobServicesPutLastAccessTimeBasedTracking" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/DeletedAccountGet.json b/specification/storage/Storage.Management/examples/2025-06-01/DeletedAccountGet.json new file mode 100644 index 000000000000..7509950706e6 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/DeletedAccountGet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "deletedAccountName": "sto1125", + "location": "eastus", + "monitor": "true", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto1125", + "type": "Microsoft.Storage/deletedAccounts", + "id": "/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/eastus/deletedAccounts/sto1125", + "properties": { + "creationTime": "2020-08-17T03:35:37.4588848Z", + "deletionTime": "2020-08-17T04:41:37.3442475Z", + "location": "eastus", + "restoreReference": "sto1125|2020-08-17T03:35:37.4588848Z", + "storageAccountResourceId": "/subscriptions/{subscription-id}/resourceGroups/sto/providers/Microsoft.Storage/storageAccounts/sto1125" + } + } + } + }, + "operationId": "DeletedAccounts_Get", + "title": "DeletedAccountGet" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/DeletedAccountList.json b/specification/storage/Storage.Management/examples/2025-06-01/DeletedAccountList.json new file mode 100644 index 000000000000..0ed27c445f09 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/DeletedAccountList.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "monitor": "true", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sto1125", + "type": "Microsoft.Storage/deletedAccounts", + "id": "/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/eastus/deletedAccounts/sto1125", + "properties": { + "creationTime": "2020-08-17T03:35:37.4588848Z", + "deletionTime": "2020-08-17T04:41:37.3442475Z", + "location": "eastus", + "restoreReference": "sto1125|2020-08-17T03:35:37.4588848Z", + "storageAccountResourceId": "/subscriptions/{subscription-id}/resourceGroups/sto/providers/Microsoft.Storage/storageAccounts/sto1125" + } + }, + { + "name": "sto1126", + "type": "Microsoft.Storage/deletedAccounts", + "id": "/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/eastus/deletedAccounts/sto1126", + "properties": { + "creationTime": "2020-08-19T15:10:21.5902165Z", + "deletionTime": "2020-08-20T06:11:55.1957302Z", + "location": "eastus", + "restoreReference": "sto1126|2020-08-17T03:35:37.4588848Z", + "storageAccountResourceId": "/subscriptions/{subscription-id}/resourceGroups/sto/providers/Microsoft.Storage/storageAccounts/sto1126" + } + } + ] + } + } + }, + "operationId": "DeletedAccounts_List", + "title": "DeletedAccountList" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/DeletedBlobContainersList.json b/specification/storage/Storage.Management/examples/2025-06-01/DeletedBlobContainersList.json new file mode 100644 index 000000000000..c7b80a7021c9 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/DeletedBlobContainersList.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "$include": "deleted", + "accountName": "sto1590", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "container1644", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "etag": "\"0x8D589847D51C7DE\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers/container1644", + "properties": { + "hasImmutabilityPolicy": false, + "hasLegalHold": false, + "lastModifiedTime": "2018-03-14T08:20:47Z", + "leaseState": "Available", + "leaseStatus": "Unlocked", + "publicAccess": "Container" + } + }, + { + "name": "container4052", + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers/container4052", + "properties": { + "deleted": true, + "deletedTime": "2019-12-14T08:20:47Z", + "hasImmutabilityPolicy": false, + "hasLegalHold": false, + "lastModifiedTime": "2018-03-14T08:20:47Z", + "leaseState": "Expired", + "leaseStatus": "Unlocked", + "publicAccess": "None", + "remainingRetentionDays": 30, + "version": "1234567890" + } + } + ] + } + } + }, + "operationId": "BlobContainers_List", + "title": "ListDeletedContainers" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/DeletedFileSharesList.json b/specification/storage/Storage.Management/examples/2025-06-01/DeletedFileSharesList.json new file mode 100644 index 000000000000..d0a3c46336be --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/DeletedFileSharesList.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "$expand": "deleted", + "accountName": "sto1590", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "share1644", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847D51C7DE\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share1644_1234567890", + "properties": { + "deleted": true, + "deletedTime": "2019-12-14T08:20:47Z", + "lastModifiedTime": "2019-05-14T08:20:47Z", + "remainingRetentionDays": 30, + "shareQuota": 1024, + "version": "1234567890" + } + }, + { + "name": "share4052", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", + "properties": { + "lastModifiedTime": "2019-05-14T08:20:47Z", + "shareQuota": 1024 + } + } + ] + } + } + }, + "operationId": "FileShares_List", + "title": "ListDeletedShares" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/FileServicesGet.json b/specification/storage/Storage.Management/examples/2025-06-01/FileServicesGet.json new file mode 100644 index 000000000000..e747ff958200 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/FileServicesGet.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "FileServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/fileServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + } + }, + "operationId": "FileServices_GetServiceProperties", + "title": "GetFileServices" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/FileServicesGetUsage.json b/specification/storage/Storage.Management/examples/2025-06-01/FileServicesGetUsage.json new file mode 100644 index 000000000000..4f6195fc3712 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/FileServicesGetUsage.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "FileServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-06-01", + "fileServiceUsagesName": "default", + "monitor": "true", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-1111-2222-3333-444444444444" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/fileServices/usages", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default/usages/default", + "properties": { + "burstingConstants": { + "burstFloorIOPS": 10000, + "burstIOScalar": 3, + "burstTimeframeSeconds": 3600 + }, + "fileShareLimits": { + "maxProvisionedBandwidthMiBPerSec": 10340, + "maxProvisionedIOPS": 102400, + "maxProvisionedStorageGiB": 262144, + "minProvisionedBandwidthMiBPerSec": 125, + "minProvisionedIOPS": 3000, + "minProvisionedStorageGiB": 32 + }, + "fileShareRecommendations": { + "bandwidthScalar": 0.1, + "baseBandwidthMiBPerSec": 125, + "baseIOPS": 3000, + "ioScalar": 1 + }, + "storageAccountLimits": { + "maxFileShares": 50, + "maxProvisionedBandwidthMiBPerSec": 10340, + "maxProvisionedIOPS": 102400, + "maxProvisionedStorageGiB": 262144 + }, + "storageAccountUsage": { + "liveShares": { + "fileShareCount": 2, + "provisionedBandwidthMiBPerSec": 258, + "provisionedIOPS": 6064, + "provisionedStorageGiB": 64 + }, + "softDeletedShares": { + "fileShareCount": 1, + "provisionedBandwidthMiBPerSec": 125, + "provisionedIOPS": 3000, + "provisionedStorageGiB": 100 + } + } + } + } + } + }, + "operationId": "FileServices_GetServiceUsage", + "title": "GetFileServiceUsage" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/FileServicesList.json b/specification/storage/Storage.Management/examples/2025-06-01/FileServicesList.json new file mode 100644 index 000000000000..55e364188f98 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/FileServicesList.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "accountName": "sto1590", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/fileServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + ] + } + } + }, + "operationId": "FileServices_List", + "title": "ListFileServices" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/FileServicesListUsages.json b/specification/storage/Storage.Management/examples/2025-06-01/FileServicesListUsages.json new file mode 100644 index 000000000000..12224cae8317 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/FileServicesListUsages.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "FileServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-1111-2222-3333-444444444444" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/fileServices/usages", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default/usages/default", + "properties": { + "burstingConstants": { + "burstFloorIOPS": 10000, + "burstIOScalar": 3, + "burstTimeframeSeconds": 3600 + }, + "fileShareLimits": { + "maxProvisionedBandwidthMiBPerSec": 10340, + "maxProvisionedIOPS": 102400, + "maxProvisionedStorageGiB": 262144, + "minProvisionedBandwidthMiBPerSec": 125, + "minProvisionedIOPS": 3000, + "minProvisionedStorageGiB": 32 + }, + "fileShareRecommendations": { + "bandwidthScalar": 0.1, + "baseBandwidthMiBPerSec": 125, + "baseIOPS": 3000, + "ioScalar": 1 + }, + "storageAccountLimits": { + "maxFileShares": 50, + "maxProvisionedBandwidthMiBPerSec": 10340, + "maxProvisionedIOPS": 102400, + "maxProvisionedStorageGiB": 262144 + }, + "storageAccountUsage": { + "liveShares": { + "fileShareCount": 2, + "provisionedBandwidthMiBPerSec": 258, + "provisionedIOPS": 6064, + "provisionedStorageGiB": 64 + }, + "softDeletedShares": { + "fileShareCount": 1, + "provisionedBandwidthMiBPerSec": 125, + "provisionedIOPS": 3000, + "provisionedStorageGiB": 100 + } + } + } + } + ] + } + } + }, + "operationId": "FileServices_ListServiceUsages", + "title": "ListFileServiceUsages" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/FileServicesPut.json b/specification/storage/Storage.Management/examples/2025-06-01/FileServicesPut.json new file mode 100644 index 000000000000..8e78d672f54e --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/FileServicesPut.json @@ -0,0 +1,153 @@ +{ + "parameters": { + "FileServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-06-01", + "monitor": "true", + "parameters": { + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/fileServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + } + }, + "operationId": "FileServices_SetServiceProperties", + "title": "PutFileServices" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/FileServicesPut_EnableSMBMultichannel.json b/specification/storage/Storage.Management/examples/2025-06-01/FileServicesPut_EnableSMBMultichannel.json new file mode 100644 index 000000000000..1075d49e5d8e --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/FileServicesPut_EnableSMBMultichannel.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "FileServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-06-01", + "monitor": "true", + "parameters": { + "properties": { + "protocolSettings": { + "smb": { + "multichannel": { + "enabled": true + } + } + } + } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/fileServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", + "properties": { + "protocolSettings": { + "smb": { + "multichannel": { + "enabled": true + } + } + } + }, + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + } + } + } + }, + "operationId": "FileServices_SetServiceProperties", + "title": "PutFileServices_EnableSMBMultichannel" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/FileServicesPut_EnableSecureSmbFeatures.json b/specification/storage/Storage.Management/examples/2025-06-01/FileServicesPut_EnableSecureSmbFeatures.json new file mode 100644 index 000000000000..3c04af02dd9c --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/FileServicesPut_EnableSecureSmbFeatures.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "FileServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-06-01", + "monitor": "true", + "parameters": { + "properties": { + "protocolSettings": { + "smb": { + "authenticationMethods": "NTLMv2;Kerberos", + "channelEncryption": "AES-128-CCM;AES-128-GCM;AES-256-GCM", + "kerberosTicketEncryption": "RC4-HMAC;AES-256", + "versions": "SMB2.1;SMB3.0;SMB3.1.1" + } + } + } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/fileServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", + "properties": { + "protocolSettings": { + "smb": { + "authenticationMethods": "NTLMv2;Kerberos", + "channelEncryption": "AES-128-CCM;AES-128-GCM;AES-256-GCM", + "kerberosTicketEncryption": "RC4-HMAC;AES-256", + "versions": "SMB2.1;SMB3.0;SMB3.1.1" + } + } + }, + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + } + } + } + }, + "operationId": "FileServices_SetServiceProperties", + "title": "PutFileServices_EnableSecureSmbFeatures" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/FileServicesPut_EncryptionInTransitRequired.json b/specification/storage/Storage.Management/examples/2025-06-01/FileServicesPut_EncryptionInTransitRequired.json new file mode 100644 index 000000000000..3b3ac786a38b --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/FileServicesPut_EncryptionInTransitRequired.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "FileServicesName": "default", + "accountName": "sto8607", + "api-version": "2025-06-01", + "monitor": "true", + "parameters": { + "properties": { + "protocolSettings": { + "nfs": { + "encryptionInTransit": { + "required": true + } + }, + "smb": { + "encryptionInTransit": { + "required": true + } + } + } + } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/fileServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", + "properties": { + "protocolSettings": { + "nfs": { + "encryptionInTransit": { + "required": true + } + }, + "smb": { + "encryptionInTransit": { + "required": true + } + } + } + }, + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + } + } + } + }, + "operationId": "FileServices_SetServiceProperties", + "title": "PutFileServices_EncryptionInTransitRequired" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/FileShareAclsPatch.json b/specification/storage/Storage.Management/examples/2025-06-01/FileShareAclsPatch.json new file mode 100644 index 000000000000..a916e170b84a --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/FileShareAclsPatch.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-06-01", + "fileShare": { + "properties": { + "signedIdentifiers": [ + { + "accessPolicy": { + "expiryTime": "2021-05-01T08:49:37.0000000Z", + "permission": "rwd", + "startTime": "2021-04-01T08:49:37.0000000Z" + }, + "id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI" + } + ] + } + }, + "monitor": "true", + "resourceGroupName": "res3376", + "shareName": "share6185", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share6185", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185", + "properties": { + "signedIdentifiers": [ + { + "accessPolicy": { + "expiryTime": "2021-05-01T08:49:37.0000000Z", + "permission": "rwd", + "startTime": "2021-04-01T08:49:37.0000000Z" + }, + "id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI" + } + ] + } + } + } + }, + "operationId": "FileShares_Update", + "title": "UpdateShareAcls" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/FileShareSnapshotsList.json b/specification/storage/Storage.Management/examples/2025-06-01/FileShareSnapshotsList.json new file mode 100644 index 000000000000..644eac127bf7 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/FileShareSnapshotsList.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "$expand": "snapshots", + "accountName": "sto1590", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "share4052", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", + "properties": { + "lastModifiedTime": "2020-10-26T05:47:05.0000000Z", + "shareQuota": 1024 + } + }, + { + "name": "share4052", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", + "properties": { + "lastModifiedTime": "2020-10-26T05:47:05.0000000Z", + "shareQuota": 1024, + "snapshotTime": "2020-10-26T05:48:07.0000000Z" + } + } + ] + } + } + }, + "operationId": "FileShares_List", + "title": "ListShareSnapshots" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/FileSharesDelete.json b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesDelete.json new file mode 100644 index 000000000000..a2773d297ace --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesDelete.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "accountName": "sto4506", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res4079", + "shareName": "share9689", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "FileShares_Delete", + "title": "DeleteShares" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/FileSharesGet.json b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesGet.json new file mode 100644 index 000000000000..37a6d5023ed6 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesGet.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "sto6217", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res9871", + "shareName": "share1634", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share1634", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D592D74CC20EBA\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/fileServices/default/shares/share1634", + "properties": { + "lastModifiedTime": "2019-05-26T05:06:14Z", + "shareQuota": 1024 + } + } + } + }, + "operationId": "FileShares_Get", + "title": "GetShares" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/FileSharesGet_PaidBursting.json b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesGet_PaidBursting.json new file mode 100644 index 000000000000..fc52f0fbcab8 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesGet_PaidBursting.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "accountName": "sto6217", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res9871", + "shareName": "share1634", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share1634", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D592D74CC20EBA\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/fileServices/default/shares/share1634", + "properties": { + "fileSharePaidBursting": { + "paidBurstingEnabled": true, + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 + }, + "lastModifiedTime": "2019-05-26T05:06:14Z", + "shareQuota": 1024 + } + } + } + }, + "operationId": "FileShares_Get", + "title": "GetSharePaidBursting" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/FileSharesGet_ProvisionedV2.json b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesGet_ProvisionedV2.json new file mode 100644 index 000000000000..49e5e693ae5c --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesGet_ProvisionedV2.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "accountName": "sto6217", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res9871", + "shareName": "share1634", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share1634", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D592D74CC20EBA\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/fileServices/default/shares/share1634", + "properties": { + "includedBurstIops": 15000, + "lastModifiedTime": "2024-10-25T01:50:50.0000000Z", + "maxBurstCreditsForIops": 36000000, + "nextAllowedProvisionedBandwidthDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", + "nextAllowedProvisionedIopsDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", + "nextAllowedQuotaDowngradeTime": "Sat, 26 Oct 2024 01:50:50 GMT", + "provisionedBandwidthMibps": 200, + "provisionedIops": 5000, + "shareQuota": 100 + } + } + } + }, + "operationId": "FileShares_Get", + "title": "GetShareProvisionedV2" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/FileSharesGet_Stats.json b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesGet_Stats.json new file mode 100644 index 000000000000..881504aed018 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesGet_Stats.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "$expand": "stats", + "accountName": "sto6217", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res9871", + "shareName": "share1634", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share1634", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D592D74CC20EBA\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/fileServices/default/shares/share1634", + "properties": { + "lastModifiedTime": "2019-05-26T05:06:14Z", + "shareQuota": 1024, + "shareUsageBytes": 652945 + } + } + } + }, + "operationId": "FileShares_Get", + "title": "GetShareStats" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/FileSharesLease_Acquire.json b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesLease_Acquire.json new file mode 100644 index 000000000000..6300b32e5383 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesLease_Acquire.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-06-01", + "monitor": "true", + "parameters": { + "action": "Acquire", + "breakPeriod": null, + "leaseDuration": -1, + "leaseId": null, + "proposedLeaseId": null + }, + "resourceGroupName": "res3376", + "shareName": "share124", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "leaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d" + } + } + }, + "operationId": "FileShares_Lease", + "title": "Acquire a lease on a share" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/FileSharesLease_Break.json b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesLease_Break.json new file mode 100644 index 000000000000..6bf71d5f6717 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesLease_Break.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-06-01", + "monitor": "true", + "parameters": { + "action": "Break", + "breakPeriod": null, + "leaseDuration": null, + "leaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d", + "proposedLeaseId": null + }, + "resourceGroupName": "res3376", + "shareName": "share12", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "leaseTimeSeconds": "0" + } + } + }, + "operationId": "FileShares_Lease", + "title": "Break a lease on a share" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/FileSharesList.json b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesList.json new file mode 100644 index 000000000000..75d500921c89 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesList.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "accountName": "sto1590", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://sto1590endpoint/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares?api-version=2022-09-01&$maxpagesize=2&$skipToken=/sto1590/share5103", + "value": [ + { + "name": "share1644", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847D51C7DE\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share1644", + "properties": { + "lastModifiedTime": "2019-05-14T08:20:47Z", + "shareQuota": 1024 + } + }, + { + "name": "share4052", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", + "properties": { + "lastModifiedTime": "2019-05-14T08:20:47Z", + "shareQuota": 1024 + } + } + ] + } + } + }, + "operationId": "FileShares_List", + "title": "ListShares" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/FileSharesList_PaidBursting.json b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesList_PaidBursting.json new file mode 100644 index 000000000000..e4a2eda13e73 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesList_PaidBursting.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "accountName": "sto1590", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://sto1590endpoint/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares?api-version=2022-09-01&$maxpagesize=2&$skipToken=/sto1590/share5103", + "value": [ + { + "name": "share1644", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847D51C7DE\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share1644", + "properties": { + "fileSharePaidBursting": { + "paidBurstingEnabled": true, + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 + }, + "lastModifiedTime": "2019-05-14T08:20:47Z", + "shareQuota": 1024 + } + }, + { + "name": "share4052", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", + "properties": { + "fileSharePaidBursting": { + "paidBurstingEnabled": true, + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 + }, + "lastModifiedTime": "2019-05-14T08:20:47Z", + "shareQuota": 1024 + } + } + ] + } + } + }, + "operationId": "FileShares_List", + "title": "ListSharesPaidBursting" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/FileSharesList_ProvisionedV2.json b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesList_ProvisionedV2.json new file mode 100644 index 000000000000..955ff0884305 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesList_ProvisionedV2.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "accountName": "sto1590", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://sto1590endpoint/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares?api-version=2022-09-01&$maxpagesize=2&$skipToken=/sto1590/share5103", + "value": [ + { + "name": "share1644", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847D51C7DE\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share1644", + "properties": { + "includedBurstIops": 15000, + "lastModifiedTime": "2024-10-25T01:50:50.0000000Z", + "maxBurstCreditsForIops": 36000000, + "nextAllowedProvisionedBandwidthDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", + "nextAllowedProvisionedIopsDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", + "nextAllowedQuotaDowngradeTime": "Sat, 26 Oct 2024 01:50:50 GMT", + "provisionedBandwidthMibps": 200, + "provisionedIops": 5000, + "shareQuota": 100 + } + }, + { + "name": "share4052", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", + "properties": { + "includedBurstIops": 15000, + "lastModifiedTime": "2024-10-25T01:50:50.0000000Z", + "maxBurstCreditsForIops": 36000000, + "nextAllowedProvisionedBandwidthDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", + "nextAllowedProvisionedIopsDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", + "nextAllowedQuotaDowngradeTime": "Sat, 26 Oct 2024 01:50:50 GMT", + "provisionedBandwidthMibps": 200, + "provisionedIops": 5000, + "shareQuota": 100 + } + } + ] + } + } + }, + "operationId": "FileShares_List", + "title": "ListSharesProvisionedV2" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/FileSharesPatch.json b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesPatch.json new file mode 100644 index 000000000000..2f81fdc3c6fc --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesPatch.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-06-01", + "fileShare": { + "properties": { + "metadata": { + "type": "image" + } + } + }, + "monitor": "true", + "resourceGroupName": "res3376", + "shareName": "share6185", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share6185", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185", + "properties": { + "metadata": { + "type": "image" + } + } + } + } + }, + "operationId": "FileShares_Update", + "title": "UpdateShares" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/FileSharesPatch_PaidBursting.json b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesPatch_PaidBursting.json new file mode 100644 index 000000000000..a292d588ec57 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesPatch_PaidBursting.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-06-01", + "fileShare": { + "properties": { + "fileSharePaidBursting": { + "paidBurstingEnabled": true, + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 + } + } + }, + "monitor": "true", + "resourceGroupName": "res3376", + "shareName": "share6185", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share6185", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185", + "properties": { + "fileSharePaidBursting": { + "paidBurstingEnabled": true, + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 + } + } + } + } + }, + "operationId": "FileShares_Update", + "title": "UpdateSharePaidBursting" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/FileSharesPatch_ProvisionedV2.json b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesPatch_ProvisionedV2.json new file mode 100644 index 000000000000..a28bf77824b1 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesPatch_ProvisionedV2.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-06-01", + "fileShare": { + "properties": { + "provisionedBandwidthMibps": 200, + "provisionedIops": 5000, + "shareQuota": 100 + } + }, + "monitor": "true", + "resourceGroupName": "res3376", + "shareName": "share6185", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share6185", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185", + "properties": { + "includedBurstIops": 15000, + "maxBurstCreditsForIops": 36000000, + "nextAllowedProvisionedBandwidthDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", + "nextAllowedProvisionedIopsDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", + "nextAllowedQuotaDowngradeTime": "Sat, 26 Oct 2024 01:50:50 GMT", + "provisionedBandwidthMibps": 200, + "provisionedIops": 5000, + "shareQuota": 100 + } + } + } + }, + "operationId": "FileShares_Update", + "title": "UpdateShareProvisionedV2" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/FileSharesPut.json b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesPut.json new file mode 100644 index 000000000000..68ee13e7f3cd --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesPut.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-06-01", + "fileShare": {}, + "monitor": "true", + "resourceGroupName": "res3376", + "shareName": "share6185", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share6185", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185" + } + }, + "201": { + "body": { + "name": "share6185", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185" + } + } + }, + "operationId": "FileShares_Create", + "title": "PutShares" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/FileSharesPut_AccessTier.json b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesPut_AccessTier.json new file mode 100644 index 000000000000..60fbae8b00cd --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesPut_AccessTier.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "accountName": "sto666", + "api-version": "2025-06-01", + "fileShare": { + "properties": { + "accessTier": "Hot" + } + }, + "monitor": "true", + "resourceGroupName": "res346", + "shareName": "share1235", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share1235", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", + "properties": { + "accessTier": "Hot" + } + } + }, + "201": { + "body": { + "name": "share1235", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", + "properties": { + "accessTier": "Hot" + } + } + } + }, + "operationId": "FileShares_Create", + "title": "PutShares with Access Tier" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/FileSharesPut_NFS.json b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesPut_NFS.json new file mode 100644 index 000000000000..9710c876b1b1 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesPut_NFS.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "accountName": "sto666", + "api-version": "2025-06-01", + "fileShare": { + "properties": { + "enabledProtocols": "NFS" + } + }, + "monitor": "true", + "resourceGroupName": "res346", + "shareName": "share1235", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share1235", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", + "properties": { + "enabledProtocols": "NFS" + } + } + }, + "201": { + "body": { + "name": "share1235", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", + "properties": { + "enabledProtocols": "NFS" + } + } + } + }, + "operationId": "FileShares_Create", + "title": "Create NFS Shares" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/FileSharesPut_PaidBursting.json b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesPut_PaidBursting.json new file mode 100644 index 000000000000..48ed146bea43 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesPut_PaidBursting.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "accountName": "sto666", + "api-version": "2025-06-01", + "fileShare": { + "properties": { + "fileSharePaidBursting": { + "paidBurstingEnabled": true, + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 + } + } + }, + "monitor": "true", + "resourceGroupName": "res346", + "shareName": "share1235", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share1235", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", + "properties": { + "fileSharePaidBursting": { + "paidBurstingEnabled": true, + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 + } + } + } + }, + "201": { + "body": { + "name": "share1235", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", + "properties": { + "fileSharePaidBursting": { + "paidBurstingEnabled": true, + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 + } + } + } + } + }, + "operationId": "FileShares_Create", + "title": "PutShares with Paid Bursting" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/FileSharesPut_ProvisionedV2.json b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesPut_ProvisionedV2.json new file mode 100644 index 000000000000..4e17db56e16e --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesPut_ProvisionedV2.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "accountName": "sto666", + "api-version": "2025-06-01", + "fileShare": { + "properties": { + "provisionedBandwidthMibps": 200, + "provisionedIops": 5000, + "shareQuota": 100 + } + }, + "monitor": "true", + "resourceGroupName": "res346", + "shareName": "share1235", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "share1235", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", + "properties": { + "includedBurstIops": 15000, + "maxBurstCreditsForIops": 36000000, + "provisionedBandwidthMibps": 200, + "provisionedIops": 5000, + "shareQuota": 100 + } + } + }, + "201": { + "body": { + "name": "share1235", + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", + "properties": { + "includedBurstIops": 15000, + "maxBurstCreditsForIops": 36000000, + "provisionedBandwidthMibps": 200, + "provisionedIops": 5000, + "shareQuota": 100 + } + } + } + }, + "operationId": "FileShares_Create", + "title": "PutSharesProvisionedV2" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/FileSharesRestore.json b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesRestore.json new file mode 100644 index 000000000000..a076b07da2ec --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/FileSharesRestore.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-06-01", + "deletedShare": { + "deletedShareName": "share1249", + "deletedShareVersion": "1234567890" + }, + "monitor": "true", + "resourceGroupName": "res3376", + "shareName": "share1249", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {} + }, + "operationId": "FileShares_Restore", + "title": "RestoreShares" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/LocalUserCreate.json b/specification/storage/Storage.Management/examples/2025-06-01/LocalUserCreate.json new file mode 100644 index 000000000000..57d20113fb42 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/LocalUserCreate.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-06-01", + "monitor": "true", + "properties": { + "properties": { + "allowAclAuthorization": true, + "groupId": 2000, + "hasSshPassword": true, + "homeDirectory": "homedirectory", + "permissionScopes": [ + { + "permissions": "rwd", + "resourceName": "share1", + "service": "file" + }, + { + "permissions": "rw", + "resourceName": "share2", + "service": "file" + } + ], + "sshAuthorizedKeys": [ + { + "description": "key name", + "key": "ssh-rsa keykeykeykeykey=" + } + ] + } + }, + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "username": "user1" + }, + "responses": { + "200": { + "body": { + "name": "user1", + "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", + "properties": { + "allowAclAuthorization": true, + "groupId": 2000, + "homeDirectory": "homedirectory", + "permissionScopes": [ + { + "permissions": "rwd", + "resourceName": "share1", + "service": "file" + }, + { + "permissions": "rw", + "resourceName": "share2", + "service": "file" + } + ], + "sid": "S-1-2-0-125132-153423-36235-1000", + "sshAuthorizedKeys": [ + { + "description": "key name", + "key": "ssh-rsa keykeykeykeykey=" + } + ], + "userId": 1000 + } + } + } + }, + "operationId": "LocalUsers_CreateOrUpdate", + "title": "CreateLocalUser" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/LocalUserCreateNFSv3Enabled.json b/specification/storage/Storage.Management/examples/2025-06-01/LocalUserCreateNFSv3Enabled.json new file mode 100644 index 000000000000..5e7693b2c1dc --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/LocalUserCreateNFSv3Enabled.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-06-01", + "monitor": "true", + "properties": { + "properties": { + "extendedGroups": [ + 1001, + 1005, + 2005 + ], + "isNFSv3Enabled": true + } + }, + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "username": "user1" + }, + "responses": { + "200": { + "body": { + "name": "user1", + "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", + "properties": { + "allowAclAuthorization": true, + "extendedGroups": [ + 1001, + 1005, + 2005 + ], + "groupId": 2000, + "homeDirectory": "homedirectory", + "isNFSv3Enabled": true, + "permissionScopes": [ + { + "permissions": "rwd", + "resourceName": "share1", + "service": "file" + }, + { + "permissions": "rw", + "resourceName": "share2", + "service": "file" + } + ], + "sid": "S-1-2-0-125132-153423-36235-1000", + "sshAuthorizedKeys": [ + { + "description": "key name", + "key": "ssh-rsa keykeykeykeykey=" + } + ], + "userId": 1000 + } + } + } + }, + "operationId": "LocalUsers_CreateOrUpdate", + "title": "CreateNFSv3EnabledLocalUser" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/LocalUserDelete.json b/specification/storage/Storage.Management/examples/2025-06-01/LocalUserDelete.json new file mode 100644 index 000000000000..b88fdafdfae9 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/LocalUserDelete.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "username": "user1" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "LocalUsers_Delete", + "title": "DeleteLocalUser" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/LocalUserGet.json b/specification/storage/Storage.Management/examples/2025-06-01/LocalUserGet.json new file mode 100644 index 000000000000..5208482cfddf --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/LocalUserGet.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "username": "user1" + }, + "responses": { + "200": { + "body": { + "name": "user1", + "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", + "properties": { + "allowAclAuthorization": true, + "extendedGroups": [ + 1001, + 1005, + 2005 + ], + "groupId": 2000, + "hasSharedKey": true, + "hasSshKey": true, + "hasSshPassword": true, + "homeDirectory": "homedirectory", + "isNFSv3Enabled": true, + "permissionScopes": [ + { + "permissions": "rwd", + "resourceName": "share1", + "service": "file" + }, + { + "permissions": "rw", + "resourceName": "share2", + "service": "file" + } + ], + "sid": "S-1-2-0-125132-153423-36235-1000", + "userId": 1000 + } + } + } + }, + "operationId": "LocalUsers_Get", + "title": "GetLocalUser" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/LocalUserListKeys.json b/specification/storage/Storage.Management/examples/2025-06-01/LocalUserListKeys.json new file mode 100644 index 000000000000..d7faacd1ff54 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/LocalUserListKeys.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "username": "user1" + }, + "responses": { + "200": { + "body": { + "sharedKey": "", + "sshAuthorizedKeys": [ + { + "description": "key name", + "key": "ssh-rsa keykeykeykeykew=" + } + ] + } + } + }, + "operationId": "LocalUsers_ListKeys", + "title": "ListLocalUserKeys" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/LocalUserRegeneratePassword.json b/specification/storage/Storage.Management/examples/2025-06-01/LocalUserRegeneratePassword.json new file mode 100644 index 000000000000..82df789df29f --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/LocalUserRegeneratePassword.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "username": "user1" + }, + "responses": { + "200": { + "body": { + "sshPassword": "" + } + } + }, + "operationId": "LocalUsers_RegeneratePassword", + "title": "RegenerateLocalUserPassword" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/LocalUserUpdate.json b/specification/storage/Storage.Management/examples/2025-06-01/LocalUserUpdate.json new file mode 100644 index 000000000000..937436bcf040 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/LocalUserUpdate.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-06-01", + "monitor": "true", + "properties": { + "properties": { + "allowAclAuthorization": false, + "extendedGroups": [ + 1001, + 1005, + 2005 + ], + "groupId": 3000, + "hasSharedKey": false, + "hasSshKey": false, + "hasSshPassword": false, + "homeDirectory": "homedirectory2", + "isNFSv3Enabled": true + } + }, + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "username": "user1" + }, + "responses": { + "200": { + "body": { + "name": "user1", + "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", + "properties": { + "allowAclAuthorization": false, + "extendedGroups": [ + 1001, + 1005, + 2005 + ], + "groupId": 3000, + "hasSharedKey": false, + "hasSshKey": false, + "hasSshPassword": false, + "homeDirectory": "homedirectory2", + "isNFSv3Enabled": true, + "sid": "S-1-2-0-3528686663-1788730862-2791910117-1000", + "userId": 1000 + } + } + } + }, + "operationId": "LocalUsers_CreateOrUpdate", + "title": "UpdateLocalUser" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/LocalUsersList.json b/specification/storage/Storage.Management/examples/2025-06-01/LocalUsersList.json new file mode 100644 index 000000000000..cc754ec9e14b --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/LocalUsersList.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "user1", + "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", + "properties": { + "allowAclAuthorization": true, + "groupId": 2000, + "hasSharedKey": true, + "hasSshKey": true, + "hasSshPassword": true, + "homeDirectory": "homedirectory", + "permissionScopes": [ + { + "permissions": "rwd", + "resourceName": "share1", + "service": "file" + }, + { + "permissions": "rw", + "resourceName": "share2", + "service": "file" + } + ], + "sid": "S-1-2-0-125132-153423-36235-1000", + "userId": 1000 + } + }, + { + "name": "user2", + "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/loalUsers/user2", + "properties": { + "allowAclAuthorization": true, + "groupId": 2000, + "hasSharedKey": true, + "hasSshKey": false, + "hasSshPassword": true, + "permissionScopes": [ + { + "permissions": "rw", + "resourceName": "resourcename", + "service": "blob" + } + ], + "sid": "S-1-2-0-533672-235636-66334-1001", + "userId": 1001 + } + } + ] + } + } + }, + "operationId": "LocalUsers_List", + "title": "ListLocalUsers" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/LocalUsersListNFSv3Enabled.json b/specification/storage/Storage.Management/examples/2025-06-01/LocalUsersListNFSv3Enabled.json new file mode 100644 index 000000000000..5a1056dc40bd --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/LocalUsersListNFSv3Enabled.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "$include": "nfsv3", + "accountName": "sto2527", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "user1", + "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", + "properties": { + "allowAclAuthorization": true, + "extendedGroups": [ + 1001, + 1005, + 2005 + ], + "groupId": 2000, + "hasSharedKey": true, + "hasSshKey": true, + "hasSshPassword": true, + "homeDirectory": "homedirectory", + "isNFSv3Enabled": true, + "permissionScopes": [ + { + "permissions": "rwd", + "resourceName": "share1", + "service": "file" + }, + { + "permissions": "rw", + "resourceName": "share2", + "service": "file" + } + ], + "sid": "S-1-2-0-125132-153423-36235-1000", + "userId": 1000 + } + }, + { + "name": "user2", + "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/loalUsers/user2", + "properties": { + "allowAclAuthorization": true, + "extendedGroups": [ + 1001, + 1005, + 2005 + ], + "groupId": 2000, + "hasSharedKey": true, + "hasSshKey": false, + "hasSshPassword": true, + "isNFSv3Enabled": true, + "permissionScopes": [ + { + "permissions": "rw", + "resourceName": "resourcename", + "service": "blob" + } + ], + "sid": "S-1-2-0-533672-235636-66334-1001", + "userId": 1001 + } + } + ] + } + } + }, + "operationId": "LocalUsers_List", + "title": "ListNFSv3EnabledLocalUsers" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/NetworkSecurityPerimeterConfigurationGet.json b/specification/storage/Storage.Management/examples/2025-06-01/NetworkSecurityPerimeterConfigurationGet.json new file mode 100644 index 000000000000..f7a02db7d990 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/NetworkSecurityPerimeterConfigurationGet.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "accountName": "sto8607", + "api-version": "2025-06-01", + "networkSecurityPerimeterConfigurationName": "dbedb4e0-40e6-4145-81f3-f1314c150774.resourceAssociation1", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-1111-2222-3333-444444444444" + }, + "responses": { + "200": { + "body": { + "name": "dbedb4e0-40e6-4145-81f3-f1314c150774.resourceAssociation1", + "type": "Microsoft.Storage/storageAccounts/networkSecurityPerimeterConfigurations", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/networkSecurityPerimeterConfigurations/dbedb4e0-40e6-4145-81f3-f1314c150774.resourceAssociation1", + "properties": { + "networkSecurityPerimeter": { + "id": "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774/resourceGroups/res4794/providers/Microsoft.Network/networkSecurityPerimeters/nsp1", + "location": "East US", + "perimeterGuid": "ce2d5953-5c15-40ca-9d51-cc3f4a63b0f5" + }, + "profile": { + "name": "profile1", + "accessRules": [ + { + "name": "allowedSubscriptions", + "properties": { + "direction": "Inbound", + "subscriptions": [ + { + "id": "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774" + } + ] + } + } + ], + "accessRulesVersion": 10, + "diagnosticSettingsVersion": 5, + "enabledLogCategories": [ + "NspPublicInboundPerimeterRulesAllowed", + "NspPublicInboundPerimeterRulesDenied" + ] + }, + "provisioningIssues": [ + { + "name": "ConfigurationPropagationFailure", + "properties": { + "description": "Failed to update Network Security Perimeter association.", + "issueType": "ConfigurationPropagationFailure", + "severity": "Error" + } + } + ], + "provisioningState": "Succeeded", + "resourceAssociation": { + "name": "resourceAssociation1", + "accessMode": "Enforced" + } + } + } + } + }, + "operationId": "NetworkSecurityPerimeterConfigurations_Get", + "title": "NetworkSecurityPerimeterConfigurationGet" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/NetworkSecurityPerimeterConfigurationList.json b/specification/storage/Storage.Management/examples/2025-06-01/NetworkSecurityPerimeterConfigurationList.json new file mode 100644 index 000000000000..ac4d4ff494e7 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/NetworkSecurityPerimeterConfigurationList.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "accountName": "sto8607", + "api-version": "2025-06-01", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-1111-2222-3333-444444444444" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "dbedb4e0-40e6-4145-81f3-f1314c150774.resourceAssociation1", + "type": "Microsoft.Storage/storageAccounts/networkSecurityPerimeterConfigurations", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/networkSecurityPerimeterConfigurations/dbedb4e0-40e6-4145-81f3-f1314c150774.resourceAssociation1", + "properties": { + "networkSecurityPerimeter": { + "id": "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774/resourceGroups/res4794/providers/Microsoft.Network/networkSecurityPerimeters/nsp1", + "location": "East US", + "perimeterGuid": "ce2d5953-5c15-40ca-9d51-cc3f4a63b0f5" + }, + "profile": { + "name": "profile1", + "accessRules": [ + { + "name": "inVpnRule", + "properties": { + "addressPrefixes": [ + "148.0.0.0/8", + "152.4.6.0/24" + ], + "direction": "Inbound" + } + } + ], + "accessRulesVersion": 10, + "diagnosticSettingsVersion": 5, + "enabledLogCategories": [ + "NspPublicInboundPerimeterRulesAllowed", + "NspPublicInboundPerimeterRulesDenied" + ] + }, + "provisioningState": "Succeeded", + "resourceAssociation": { + "name": "association1", + "accessMode": "Enforced" + } + } + } + ] + } + } + }, + "operationId": "NetworkSecurityPerimeterConfigurations_List", + "title": "NetworkSecurityPerimeterConfigurationList" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/NetworkSecurityPerimeterConfigurationReconcile.json b/specification/storage/Storage.Management/examples/2025-06-01/NetworkSecurityPerimeterConfigurationReconcile.json new file mode 100644 index 000000000000..69de089deb3f --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/NetworkSecurityPerimeterConfigurationReconcile.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "accountName": "sto8607", + "api-version": "2025-06-01", + "networkSecurityPerimeterConfigurationName": "dbedb4e0-40e6-4145-81f3-f1314c150774.resourceAssociation1", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-1111-2222-3333-444444444444" + }, + "responses": { + "202": { + "headers": { + "Location": "https://endpoint:port/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Storage/locations/{location}/asyncoperations/{operationid}?monitor=true&api-version=2022-09-01" + } + } + }, + "operationId": "NetworkSecurityPerimeterConfigurations_Reconcile", + "title": "NetworkSecurityPerimeterConfigurationReconcile" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/NfsV3AccountCreate.json b/specification/storage/Storage.Management/examples/2025-06-01/NfsV3AccountCreate.json new file mode 100644 index 000000000000..4038967a5cbd --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/NfsV3AccountCreate.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-06-01", + "parameters": { + "kind": "BlockBlobStorage", + "location": "eastus", + "properties": { + "enableExtendedGroups": true, + "isHnsEnabled": true, + "isNfsV3Enabled": true, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "virtualNetworkRules": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Network/virtualNetworks/net123/subnets/subnet12" + } + ] + }, + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Premium_LRS" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "BlockBlobStorage", + "location": "eastus", + "properties": { + "enableExtendedGroups": true, + "isHnsEnabled": true, + "isNfsV3Enabled": true, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "virtualNetworkRules": [ + { + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Network/virtualNetworks/net123/subnets/subnet12" + } + ] + }, + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "NfsV3AccountCreate" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/ObjectLevelWormContainerMigration.json b/specification/storage/Storage.Management/examples/2025-06-01/ObjectLevelWormContainerMigration.json new file mode 100644 index 000000000000..dd2b78543220 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/ObjectLevelWormContainerMigration.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "accountName": "sto7069", + "api-version": "2025-06-01", + "containerName": "container6397", + "immutabilityPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res1782", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://endpoint:port/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/{location}/asyncoperations/{operationid}?monitor=true&api-version=2022-09-01" + } + } + }, + "operationId": "BlobContainers_ObjectLevelWorm", + "title": "VersionLevelWormContainerMigration" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/OperationsList.json b/specification/storage/Storage.Management/examples/2025-06-01/OperationsList.json new file mode 100644 index 000000000000..710825d16c7e --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/OperationsList.json @@ -0,0 +1,475 @@ +{ + "parameters": { + "api-version": "2025-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Storage/storageAccounts/write", + "display": { + "description": "Creates a storage account with the specified parameters or update the properties or tags or adds custom domain for the specified storage account.", + "operation": "Create/Update Storage Account", + "provider": "Microsoft Storage", + "resource": "Storage Accounts" + } + }, + { + "name": "Microsoft.Storage/storageAccounts/delete", + "display": { + "description": "Deletes an existing storage account.", + "operation": "Delete Storage Account", + "provider": "Microsoft Storage", + "resource": "Storage Accounts" + } + }, + { + "name": "Microsoft.Storage/storageAccounts/listkeys/action", + "display": { + "description": "Returns the access keys for the specified storage account.", + "operation": "List Storage Account Keys", + "provider": "Microsoft Storage", + "resource": "Storage Accounts" + } + }, + { + "name": "Microsoft.Storage/storageAccounts/regeneratekey/action", + "display": { + "description": "Regenerates the access keys for the specified storage account.", + "operation": "Regenerate Storage Account Keys", + "provider": "Microsoft Storage", + "resource": "Storage Accounts" + } + }, + { + "name": "Microsoft.Storage/checknameavailability/read", + "display": { + "description": "Checks that account name is valid and is not in use.", + "operation": "Check Name Availability", + "provider": "Microsoft Storage", + "resource": "Name Availability" + } + }, + { + "name": "Microsoft.Storage/storageAccounts/read", + "display": { + "description": "Returns the list of storage accounts or gets the properties for the specified storage account.", + "operation": "List/Get Storage Account(s)", + "provider": "Microsoft Storage", + "resource": "Storage Accounts" + } + }, + { + "name": "Microsoft.Storage/usages/read", + "display": { + "description": "Returns the limit and the current usage count for resources in the specified subscription", + "operation": "Get Subscription Usages", + "provider": "Microsoft Storage", + "resource": "Usage Metrics" + } + }, + { + "name": "Microsoft.Storage/storageAccounts/listAccountSas/action", + "display": { + "description": "Returns the Account SAS token for the specified storage account.", + "operation": "Returns Storage Account SAS Token", + "provider": "Microsoft Storage", + "resource": "Storage Account SAS Token" + } + }, + { + "name": "Microsoft.Storage/storageAccounts/listServiceSas/action", + "display": { + "description": "Storage Service SAS Token", + "operation": "Returns Storage Service SAS Token", + "provider": "Microsoft Storage", + "resource": "Returns the Service SAS token for the specified storage account." + } + }, + { + "name": "Microsoft.Storage/locations/deleteVirtualNetworkOrSubnets/action", + "display": { + "description": "Notifies Microsoft.Storage that virtual network or subnet is being deleted", + "operation": "Delete virtual network or subnets notifications", + "provider": "Microsoft Storage", + "resource": "Location" + } + }, + { + "name": "Microsoft.Storage/operations/read", + "display": { + "description": "Polls the status of an asynchronous operation.", + "operation": "Poll Asynchronous Operation", + "provider": "Microsoft Storage", + "resource": "Operations" + } + }, + { + "name": "Microsoft.Storage/register/action", + "display": { + "description": "Registers the subscription for the storage resource provider and enables the creation of storage accounts.", + "operation": "Registers the Storage Resource Provider", + "provider": "Microsoft Storage", + "resource": "Storage Resource Provider" + } + }, + { + "name": "Microsoft.Storage/skus/read", + "display": { + "description": "Lists the Skus supported by Microsoft.Storage.", + "operation": "List Skus", + "provider": "Microsoft Storage", + "resource": "Skus" + } + }, + { + "name": "Microsoft.Storage/storageAccounts/services/diagnosticSettings/write", + "display": { + "description": "Create/Update storage account diagnostic settings.", + "operation": "Create/Update Diagnostic Settings", + "provider": "Microsoft Storage", + "resource": "Storage Accounts" + } + }, + { + "name": "Microsoft.Storage/storageAccounts/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Get list of Microsoft Storage Metrics definitions.", + "operation": "Get list of Microsoft Storage Metrics definitions", + "provider": "Microsoft Storage", + "resource": "Storage Accounts" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "UsedCapacity", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "Account used capacity", + "displayName": "Used capacity", + "fillGapWithZero": false, + "resourceIdDimensionNameOverride": "AccountResourceId", + "unit": "Bytes" + } + ] + } + } + }, + { + "name": "Microsoft.Storage/storageAccounts/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the diagnostic setting for the resource.", + "operation": "Read diagnostic setting", + "provider": "Microsoft Storage", + "resource": "Storage Accounts" + }, + "origin": "system" + }, + { + "name": "Microsoft.Storage/storageAccounts/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostic setting for the resource.", + "operation": "Write diagnostic setting", + "provider": "Microsoft Storage", + "resource": "Storage Accounts" + }, + "origin": "system" + }, + { + "name": "Microsoft.Storage/storageAccounts/blobServices/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Get list of Microsoft Storage Metrics definitions.", + "operation": "Get list of Microsoft Storage Metrics definitions", + "provider": "Microsoft Storage", + "resource": "Blob service" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "BlobCapacity", + "aggregationType": "Average", + "category": "Capacity", + "dimensions": [ + { + "name": "BlobType", + "displayName": "Blob type" + } + ], + "displayDescription": "The amount of storage used by the storage account’s Blob service in bytes.", + "displayName": "Blob Capacity", + "fillGapWithZero": false, + "unit": "Bytes" + }, + { + "name": "BlobCount", + "aggregationType": "Average", + "category": "Capacity", + "dimensions": [ + { + "name": "BlobType", + "displayName": "Blob type" + } + ], + "displayDescription": "The number of Blob in the storage account’s Blob service.", + "displayName": "Blob Count", + "fillGapWithZero": false, + "unit": "Count" + }, + { + "name": "ContainerCount", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The number of containers in the storage account’s Blob service.", + "displayName": "Blob Container Count", + "fillGapWithZero": false, + "unit": "Count" + }, + { + "name": "BlobProvisionedSize", + "aggregationType": "Average", + "category": "Capacity", + "dimensions": [ + { + "name": "BlobType", + "displayName": "Blob type" + } + ], + "displayDescription": "The amount of storage provisioned in the storage account’s Blob service in bytes.", + "displayName": "Blob Provisioned Size", + "fillGapWithZero": false, + "unit": "Bytes" + } + ] + } + } + }, + { + "name": "Microsoft.Storage/storageAccounts/blobServices/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the diagnostic setting for the resource.", + "operation": "Read diagnostic setting", + "provider": "Microsoft Storage", + "resource": "Blob service" + }, + "origin": "system" + }, + { + "name": "Microsoft.Storage/storageAccounts/blobServices/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostic setting for the resource.", + "operation": "Write diagnostic setting", + "provider": "Microsoft Storage", + "resource": "Blob service" + }, + "origin": "system" + }, + { + "name": "Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Get list of Microsoft Storage Metrics definitions.", + "operation": "Get list of Microsoft Storage Metrics definitions", + "provider": "Microsoft Storage", + "resource": "Table service" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "TableCapacity", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The amount of storage used by the storage account’s Table service in bytes.", + "displayName": "Table Capacity", + "fillGapWithZero": false, + "unit": "Bytes" + }, + { + "name": "TableCount", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The number of table in the storage account’s Table service.", + "displayName": "Table Count", + "fillGapWithZero": false, + "unit": "Count" + }, + { + "name": "TableEntityCount", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The number of table entities in the storage account’s Table service.", + "displayName": "Table Entity Count", + "fillGapWithZero": false, + "unit": "Count" + } + ] + } + } + }, + { + "name": "Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the diagnostic setting for the resource.", + "operation": "Read diagnostic setting", + "provider": "Microsoft Storage", + "resource": "Table service" + }, + "origin": "system" + }, + { + "name": "Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostic setting for the resource.", + "operation": "Write diagnostic setting", + "provider": "Microsoft Storage", + "resource": "Table service" + }, + "origin": "system" + }, + { + "name": "Microsoft.Storage/storageAccounts/queueServices/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Get list of Microsoft Storage Metrics definitions.", + "operation": "Get list of Microsoft Storage Metrics definitions", + "provider": "Microsoft Storage", + "resource": "Queue service" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "QueueCapacity", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The amount of storage used by the storage account’s Queue service in bytes.", + "displayName": "Queue Capacity", + "fillGapWithZero": false, + "unit": "Bytes" + }, + { + "name": "QueueCount", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The number of queue in the storage account’s Queue service.", + "displayName": "Queue Count", + "fillGapWithZero": false, + "unit": "Count" + }, + { + "name": "QueueMessageCount", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The approximate number of queue messages in the storage account’s Queue service.", + "displayName": "Queue Message Count", + "fillGapWithZero": false, + "unit": "Count" + } + ] + } + } + }, + { + "name": "Microsoft.Storage/storageAccounts/queueServices/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the diagnostic setting for the resource.", + "operation": "Read diagnostic setting", + "provider": "Microsoft Storage", + "resource": "Queue service" + }, + "origin": "system" + }, + { + "name": "Microsoft.Storage/storageAccounts/queueServices/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostic setting for the resource.", + "operation": "Write diagnostic setting", + "provider": "Microsoft Storage", + "resource": "Queue service" + }, + "origin": "system" + }, + { + "name": "Microsoft.Storage/storageAccounts/fileServices/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Get list of Microsoft Storage Metrics definitions.", + "operation": "Get list of Microsoft Storage Metrics definitions", + "provider": "Microsoft Storage", + "resource": "File service" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "FileCapacity", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The amount of storage used by the storage account’s File service in bytes.", + "displayName": "File Capacity", + "fillGapWithZero": false, + "unit": "Bytes" + }, + { + "name": "FileProvisionedSize", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The amount of storage provisioned in the storage account’s File service in bytes.", + "displayName": "File Provisioned Size", + "fillGapWithZero": false, + "unit": "Bytes" + }, + { + "name": "FileCount", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The number of file in the storage account’s File service.", + "displayName": "File Count", + "fillGapWithZero": false, + "unit": "Count" + }, + { + "name": "FileShareCount", + "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The number of file shares in the storage account’s File service.", + "displayName": "File Share Count", + "fillGapWithZero": false, + "unit": "Count" + } + ] + } + } + }, + { + "name": "Microsoft.Storage/storageAccounts/fileServices/providers/Microsoft.Insights/diagnosticSettings/read", + "display": { + "description": "Gets the diagnostic setting for the resource.", + "operation": "Read diagnostic setting", + "provider": "Microsoft Storage", + "resource": "File service" + }, + "origin": "system" + }, + { + "name": "Microsoft.Storage/storageAccounts/fileServices/providers/Microsoft.Insights/diagnosticSettings/write", + "display": { + "description": "Creates or updates the diagnostic setting for the resource.", + "operation": "Write diagnostic setting", + "provider": "Microsoft Storage", + "resource": "File service" + }, + "origin": "system" + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "OperationsList" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/QueueOperationDelete.json b/specification/storage/Storage.Management/examples/2025-06-01/QueueOperationDelete.json new file mode 100644 index 000000000000..ca59dcab1e8d --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/QueueOperationDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-06-01", + "monitor": "true", + "queueName": "queue6185", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "204": {} + }, + "operationId": "Queue_Delete", + "title": "QueueOperationDelete" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/QueueOperationGet.json b/specification/storage/Storage.Management/examples/2025-06-01/QueueOperationGet.json new file mode 100644 index 000000000000..015deeaf3fef --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/QueueOperationGet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-06-01", + "monitor": "true", + "queueName": "queue6185", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "queue6185", + "type": "Microsoft.Storage/storageAccounts/queueServices/queues", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6185", + "properties": { + "metadata": { + "sample1": "meta1", + "sample2": "meta2" + } + } + } + } + }, + "operationId": "Queue_Get", + "title": "QueueOperationGet" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/QueueOperationList.json b/specification/storage/Storage.Management/examples/2025-06-01/QueueOperationList.json new file mode 100644 index 000000000000..71c65fd67983 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/QueueOperationList.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://sto1590endpoint/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues?api-version=2022-09-01&$maxpagesize=2&$skipToken=/sto328/queue6187", + "value": [ + { + "name": "queue6185", + "type": "Microsoft.Storage/storageAccounts/queueServices/queues", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6185", + "properties": { + "metadata": { + "sample1": "meta1", + "sample2": "meta2" + } + } + }, + { + "name": "queue6186", + "type": "Microsoft.Storage/storageAccounts/queueServices/queues", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6186", + "properties": { + "metadata": { + "sample1": "meta1", + "sample2": "meta2" + } + } + } + ] + } + } + }, + "operationId": "Queue_List", + "title": "QueueOperationList" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/QueueOperationPatch.json b/specification/storage/Storage.Management/examples/2025-06-01/QueueOperationPatch.json new file mode 100644 index 000000000000..5a425c699c25 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/QueueOperationPatch.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-06-01", + "monitor": "true", + "queue": {}, + "queueName": "queue6185", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "queue6185", + "type": "Microsoft.Storage/storageAccounts/queueServices/queues", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6185" + } + } + }, + "operationId": "Queue_Update", + "title": "QueueOperationPatch" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/QueueOperationPut.json b/specification/storage/Storage.Management/examples/2025-06-01/QueueOperationPut.json new file mode 100644 index 000000000000..9e7bfa1175d0 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/QueueOperationPut.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-06-01", + "monitor": "true", + "queue": {}, + "queueName": "queue6185", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "queue6185", + "type": "Microsoft.Storage/storageAccounts/queueServices/queues", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6185" + } + } + }, + "operationId": "Queue_Create", + "title": "QueueOperationPut" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/QueueOperationPutWithMetadata.json b/specification/storage/Storage.Management/examples/2025-06-01/QueueOperationPutWithMetadata.json new file mode 100644 index 000000000000..727e87e5a7e1 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/QueueOperationPutWithMetadata.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-06-01", + "monitor": "true", + "queue": { + "properties": { + "metadata": { + "sample1": "meta1", + "sample2": "meta2" + } + } + }, + "queueName": "queue6185", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "queue6185", + "type": "Microsoft.Storage/storageAccounts/queueServices/queues", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6185", + "properties": { + "metadata": { + "sample1": "meta1", + "sample2": "meta2" + } + } + } + } + }, + "operationId": "Queue_Create", + "title": "QueueOperationPutWithMetadata" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/QueueServicesGet.json b/specification/storage/Storage.Management/examples/2025-06-01/QueueServicesGet.json new file mode 100644 index 000000000000..cea446e1c490 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/QueueServicesGet.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "accountName": "sto8607", + "api-version": "2025-06-01", + "monitor": "true", + "queueServiceName": "default", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/queueServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/queueServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + } + } + }, + "operationId": "QueueServices_GetServiceProperties", + "title": "QueueServicesGet" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/QueueServicesList.json b/specification/storage/Storage.Management/examples/2025-06-01/QueueServicesList.json new file mode 100644 index 000000000000..173a857d8949 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/QueueServicesList.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "accountName": "sto1590", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/queueServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/queueServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + } + ] + } + } + }, + "operationId": "QueueServices_List", + "title": "QueueServicesList" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/QueueServicesPut.json b/specification/storage/Storage.Management/examples/2025-06-01/QueueServicesPut.json new file mode 100644 index 000000000000..d1110fec2e05 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/QueueServicesPut.json @@ -0,0 +1,149 @@ +{ + "parameters": { + "accountName": "sto8607", + "api-version": "2025-06-01", + "monitor": "true", + "parameters": { + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + }, + "queueServiceName": "default", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/queueServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/queueServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + } + } + }, + "operationId": "QueueServices_SetServiceProperties", + "title": "QueueServicesPut" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/SKUList.json b/specification/storage/Storage.Management/examples/2025-06-01/SKUList.json new file mode 100644 index 000000000000..a66d5b286382 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/SKUList.json @@ -0,0 +1,6456 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "true" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "eastus2(stage)" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "eastus2(stage)" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "eastus2(stage)" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus2(stage)" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "eastus2(stage)" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus2(stage)" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus2(stage)" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus2(stage)" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southeastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southeastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southeastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southeastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southeastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "southeastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "southeastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "southeastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "japaneast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "japaneast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "japaneast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "japaneast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "japaneast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "japaneast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "japaneast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "japaneast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "japanwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "japanwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "japanwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "japanwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "japanwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "japanwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "japanwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "japanwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "northcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "northcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "northcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "northcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "northcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "northcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "northcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "northcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "southcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "southcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "southcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "centralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "centralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "centralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "northeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "northeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "northeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "northeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "northeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "northeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "northeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "northeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "brazilsouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "brazilsouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "brazilsouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "brazilsouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "brazilsouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "brazilsouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "brazilsouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "brazilsouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "australiaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "australiaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "australiaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "australiaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "australiaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "australiaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "australiaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "australiaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "australiasoutheast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "australiasoutheast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "australiasoutheast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "australiasoutheast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "australiasoutheast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "australiasoutheast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "australiasoutheast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "australiasoutheast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "southindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "southindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "southindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "southindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centralindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centralindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centralindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centralindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centralindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "centralindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "centralindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "centralindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "canadaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "canadaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "canadaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "canadaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "canadaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "canadaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "canadaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "canadaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "canadacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "canadacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "canadacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "canadacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "canadacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "canadacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "canadacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "canadacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "westcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "westcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "westcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "westcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "westcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "BlobStorage", + "locations": [ + "westcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "BlobStorage", + "locations": [ + "westcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "westcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uksouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uksouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uksouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uksouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uksouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "uksouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "uksouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "uksouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "ukwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "ukwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "ukwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "ukwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "ukwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "ukwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "ukwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "ukwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "koreacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "koreacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "koreacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "koreacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "koreacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "koreacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "koreacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "koreacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "koreasouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "koreasouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "koreasouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "koreasouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "koreasouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "koreasouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "koreasouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "koreasouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uknorth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uknorth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uknorth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uknorth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uknorth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "uknorth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "uknorth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "uknorth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uksouth2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uksouth2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uksouth2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uksouth2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "uksouth2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "uksouth2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "uksouth2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "uksouth2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "eastus2euap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "eastus2euap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "eastus2euap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "eastus2euap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "eastus2euap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus2euap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus2euap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "eastus2euap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "centraluseuap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "centraluseuap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "centraluseuap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "Storage", + "locations": [ + "centraluseuap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "Storage", + "locations": [ + "centraluseuap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "BlobStorage", + "locations": [ + "centraluseuap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "kind": "BlobStorage", + "locations": [ + "centraluseuap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "BlobStorage", + "locations": [ + "centraluseuap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + } + ] + } + } + }, + "operationId": "Skus_List", + "title": "SkuList" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/SKUListWithLocationInfo.json b/specification/storage/Storage.Management/examples/2025-06-01/SKUListWithLocationInfo.json new file mode 100644 index 000000000000..3193c2b13ba0 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/SKUListWithLocationInfo.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Premium_LRS", + "capabilities": [ + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "kind": "FileStorage", + "locationInfo": [ + { + "location": "centraluseuap", + "zones": [ + "1", + "2", + "3" + ] + } + ], + "locations": [ + "centraluseuap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + } + ] + } + } + }, + "operationId": "Skus_List", + "title": "SKUListWithLocationInfo" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountAbortHierarchicalNamespaceMigration.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountAbortHierarchicalNamespaceMigration.json new file mode 100644 index 000000000000..7cd98037e3de --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountAbortHierarchicalNamespaceMigration.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "accountName": "sto2434", + "api-version": "2025-06-01", + "resourceGroupName": "res4228", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://endpoint:port/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/{location}/asyncoperations/{operationid}?monitor=true&api-version=2022-09-01" + } + } + }, + "operationId": "StorageAccounts_AbortHierarchicalNamespaceMigration", + "title": "StorageAccountAbortHierarchicalNamespaceMigration" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCheckNameAvailability.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCheckNameAvailability.json new file mode 100644 index 000000000000..08dbdbef223a --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCheckNameAvailability.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": { + "name": "sto3363", + "type": "Microsoft.Storage/storageAccounts" + }, + "api-version": "2025-06-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nameAvailable": true + } + } + }, + "operationId": "StorageAccounts_CheckNameAvailability", + "title": "StorageAccountCheckNameAvailability" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreate.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreate.json new file mode 100644 index 000000000000..04cc8cb4752e --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreate.json @@ -0,0 +1,157 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-06-01", + "parameters": { + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "geoPriorityReplicationStatus": { + "isBlobEnabled": true + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto4445-microsoftrouting.file.core.windows.net/", + "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true, + "geoPriorityReplicationStatus": { + "isBlobEnabled": true + } + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreate" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateAllowedCopyScopeToAAD.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateAllowedCopyScopeToAAD.json new file mode 100644 index 000000000000..0ca48018e164 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateAllowedCopyScopeToAAD.json @@ -0,0 +1,146 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-06-01", + "parameters": { + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "allowedCopyScope": "AAD", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "allowedCopyScope": "AAD", + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto4445-microsoftrouting.file.core.windows.net/", + "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateAllowedCopyScopeToAAD" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateAllowedCopyScopeToPrivateLink.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateAllowedCopyScopeToPrivateLink.json new file mode 100644 index 000000000000..64c3ad8c123b --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateAllowedCopyScopeToPrivateLink.json @@ -0,0 +1,146 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-06-01", + "parameters": { + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "allowedCopyScope": "PrivateLink", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "allowedCopyScope": "PrivateLink", + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto4445-microsoftrouting.file.core.windows.net/", + "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateAllowedCopyScopeToPrivateLink" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateDisallowPublicNetworkAccess.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateDisallowPublicNetworkAccess.json new file mode 100644 index 000000000000..fc00bd1fff14 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateDisallowPublicNetworkAccess.json @@ -0,0 +1,150 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-06-01", + "parameters": { + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "publicNetworkAccess": "Disabled", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto4445-microsoftrouting.file.core.windows.net/", + "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateDisallowPublicNetworkAccess" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json new file mode 100644 index 000000000000..ac25729489d8 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json @@ -0,0 +1,153 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-06-01", + "parameters": { + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "dnsEndpointType": "AzureDnsZone", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "dnsEndpointType": "AzureDnsZone", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.z24.blob.storage.azure.net/", + "dfs": "https://sto4445.z24.dfs.storage.azure.net/", + "file": "https://sto4445.z24.file.storage.azure.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.z24.blob.storage.azure.net/", + "dfs": "https://sto4445-internetrouting.z24.dfs.storage.azure.net/", + "file": "https://sto4445-internetrouting.z24.file.storage.azure.net/", + "web": "https://sto4445-internetrouting.z24.web.storage.azure.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.z24.blob.storage.azure.net/", + "dfs": "https://sto4445-microsoftrouting.z24.dfs.storage.azure.net/", + "file": "https://sto4445-microsoftrouting.z24.file.storage.azure.net/", + "queue": "https://sto4445-microsoftrouting.z24.queue.storage.azure.net/", + "table": "https://sto4445-microsoftrouting.z24.table.storage.azure.net/", + "web": "https://sto4445-microsoftrouting.z24.web.storage.azure.net/" + }, + "queue": "https://sto4445.z24.queue.storage.azure.net/", + "table": "https://sto4445.z24.table.storage.azure.net/", + "web": "https://sto4445.z24.web.storage.azure.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateDnsEndpointTypeToAzureDnsZone" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateDnsEndpointTypeToStandard.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateDnsEndpointTypeToStandard.json new file mode 100644 index 000000000000..a1b3c27ba10f --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateDnsEndpointTypeToStandard.json @@ -0,0 +1,153 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-06-01", + "parameters": { + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "dnsEndpointType": "Standard", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "dnsEndpointType": "Standard", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto4445-microsoftrouting.file.core.windows.net/", + "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateDnsEndpointTypeToStandard" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateEnablePublicNetworkAccess.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateEnablePublicNetworkAccess.json new file mode 100644 index 000000000000..11337aa43e7f --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateEnablePublicNetworkAccess.json @@ -0,0 +1,150 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-06-01", + "parameters": { + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "publicNetworkAccess": "Enabled", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto4445-microsoftrouting.file.core.windows.net/", + "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Enabled", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateEnablePublicNetworkAccess" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateObjectReplicationPolicyOnDestination.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateObjectReplicationPolicyOnDestination.json new file mode 100644 index 000000000000..e077d606a489 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateObjectReplicationPolicyOnDestination.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "accountName": "dst112", + "api-version": "2025-06-01", + "monitor": "true", + "objectReplicationPolicyId": "default", + "properties": { + "properties": { + "destinationAccount": "dst112", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "rules": [ + { + "destinationContainer": "dcont139", + "filters": { + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "sourceContainer": "scont139" + } + ], + "sourceAccount": "src1122" + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "2a20bb73-5717-4635-985a-5d4cf777438f", + "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/dst112/objectReplicationPolicies/2a20bb73-5717-4635-985a-5d4cf777438f", + "properties": { + "destinationAccount": "dst112", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "policyId": "2a20bb73-5717-4635-985a-5d4cf777438f", + "rules": [ + { + "destinationContainer": "destContainer1", + "filters": { + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "sourceContainer1" + } + ], + "sourceAccount": "src1122" + } + } + } + }, + "operationId": "ObjectReplicationPolicies_CreateOrUpdate", + "title": "StorageAccountCreateObjectReplicationPolicyOnDestination" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateObjectReplicationPolicyOnSource.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateObjectReplicationPolicyOnSource.json new file mode 100644 index 000000000000..257f3d732375 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateObjectReplicationPolicyOnSource.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "accountName": "src1122", + "api-version": "2025-06-01", + "monitor": "true", + "objectReplicationPolicyId": "2a20bb73-5717-4635-985a-5d4cf777438f", + "properties": { + "properties": { + "destinationAccount": "dst112", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "rules": [ + { + "destinationContainer": "dcont139", + "filters": { + "minCreationTime": "2020-02-19T16:05:00Z", + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "scont139" + } + ], + "sourceAccount": "src1122" + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "2a20bb73-5717-4635-985a-5d4cf777438f", + "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/src1122/objectReplicationPolicies/2a20bb73-5717-4635-985a-5d4cf777438f", + "properties": { + "destinationAccount": "dst112", + "enabledTime": "2019-06-08T03:01:55.7168089Z", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "policyId": "2a20bb73-5717-4635-985a-5d4cf777438f", + "rules": [ + { + "destinationContainer": "destContainer1", + "filters": { + "minCreationTime": "2020-02-19T16:05:00Z", + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "sourceContainer1" + } + ], + "sourceAccount": "src1122" + } + } + } + }, + "operationId": "ObjectReplicationPolicies_CreateOrUpdate", + "title": "StorageAccountCreateObjectReplicationPolicyOnSource" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreatePremiumBlockBlobStorage.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreatePremiumBlockBlobStorage.json new file mode 100644 index 000000000000..ac7b8204d035 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreatePremiumBlockBlobStorage.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-06-01", + "parameters": { + "kind": "BlockBlobStorage", + "location": "eastus", + "properties": { + "allowSharedKeyAccess": true, + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "minimumTlsVersion": "TLS1_2" + }, + "sku": { + "name": "Premium_LRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "accessTier": "Premium", + "allowBlobPublicAccess": false, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreatePremiumBlockBlobStorage" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json similarity index 82% rename from specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json rename to specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json index 208683170e64..547fd3a92b05 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json @@ -1,9 +1,7 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9101", "accountName": "sto4445", - "api-version": "2025-01-01", + "api-version": "2025-06-01", "parameters": { "identity": { "type": "UserAssigned", @@ -11,108 +9,112 @@ "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": {} } }, - "sku": { - "name": "Standard_LRS" - }, "kind": "Storage", "location": "eastus", "properties": { "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true - }, - "blob": { - "keyType": "Account", - "enabled": true - } + "identity": { + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" }, + "keySource": "Microsoft.Keyvault", "keyvaultproperties": { - "keyvaulturi": "https://myvault8569.vault.azure.net", "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", "keyversion": "" }, - "keySource": "Microsoft.Keyvault", - "identity": { - "userAssignedIdentity": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } } } + }, + "sku": { + "name": "Standard_LRS" } - } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", "identity": { + "type": "UserAssigned", "userAssignedIdentities": { "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": { - "principalId": "8d823284-1060-42a5-9ec4-ed3d831e24d7", - "clientId": "fbaa6278-1ecc-415c-819f-6e2058d3acb5" + "clientId": "fbaa6278-1ecc-415c-819f-6e2058d3acb5", + "principalId": "8d823284-1060-42a5-9ec4-ed3d831e24d7" } - }, - "type": "UserAssigned" - }, - "sku": { - "name": "Standard_LRS", - "tier": "Standard" + } }, "kind": "StorageV2", - "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", - "name": "sto4445", - "type": "Microsoft.Storage/storageAccounts", "location": "eastus", - "tags": {}, "properties": { - "privateEndpointConnections": [], - "networkAcls": { - "bypass": "AzureServices", - "virtualNetworkRules": [], - "ipRules": [], - "defaultAction": "Allow" - }, - "supportsHttpsTrafficOnly": true, + "accessTier": "Hot", + "creationTime": "2020-12-15T00:43:14.0839093Z", "encryption": { "identity": { "userAssignedIdentity": "/subscriptions/{subscription-id}/resourcegroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" }, + "keySource": "Microsoft.Keyvault", "keyvaultproperties": { - "keyvaulturi": "https://myvault8569.vault.azure.net", + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", "keyversion": "", - "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" }, "services": { - "file": { - "keyType": "Account", + "blob": { "enabled": true, + "keyType": "Account", "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" }, - "blob": { - "keyType": "Account", + "file": { "enabled": true, + "keyType": "Account", "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" } - }, - "keySource": "Microsoft.Keyvault" + } + }, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "virtualNetworkRules": [] }, - "accessTier": "Hot", - "provisioningState": "Succeeded", - "creationTime": "2020-12-15T00:43:14.0839093Z", "primaryEndpoints": { - "web": "https://sto4445.web.core.windows.net/", - "dfs": "https://sto4445.dfs.core.windows.net/", "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", "file": "https://sto4445.file.core.windows.net/", "queue": "https://sto4445.queue.core.windows.net/", - "table": "https://sto4445.table.core.windows.net/" + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" }, "primaryLocation": "eastus", - "statusOfPrimary": "available" - } + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "statusOfPrimary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "tags": {} } }, "202": {} - } + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateUserAssignedEncryptionIdentityWithCMK" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json similarity index 79% rename from specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json rename to specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json index 5b7c15cdee86..b5841febb759 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json @@ -1,9 +1,7 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res131918", "accountName": "sto131918", - "api-version": "2025-01-01", + "api-version": "2025-06-01", "parameters": { "identity": { "type": "UserAssigned", @@ -11,110 +9,114 @@ "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": {} } }, - "sku": { - "name": "Standard_LRS" - }, "kind": "Storage", "location": "eastus", "properties": { "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true - }, - "blob": { - "keyType": "Account", - "enabled": true - } + "identity": { + "federatedIdentityClientId": "f83c6b1b-4d34-47e4-bb34-9d83df58b540", + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" }, + "keySource": "Microsoft.Keyvault", "keyvaultproperties": { - "keyvaulturi": "https://myvault8569.vault.azure.net", "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", "keyversion": "" }, - "keySource": "Microsoft.Keyvault", - "identity": { - "userAssignedIdentity": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}", - "federatedIdentityClientId": "f83c6b1b-4d34-47e4-bb34-9d83df58b540" + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } } } + }, + "sku": { + "name": "Standard_LRS" } - } + }, + "resourceGroupName": "res131918", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", "identity": { + "type": "UserAssigned", "userAssignedIdentities": { "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": { - "principalId": "8d823284-1060-42a5-9ec4-ed3d831e24d7", - "clientId": "fbaa6278-1ecc-415c-819f-6e2058d3acb5" + "clientId": "fbaa6278-1ecc-415c-819f-6e2058d3acb5", + "principalId": "8d823284-1060-42a5-9ec4-ed3d831e24d7" } - }, - "type": "UserAssigned" - }, - "sku": { - "name": "Standard_LRS", - "tier": "Standard" + } }, "kind": "StorageV2", - "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", - "name": "sto4445", - "type": "Microsoft.Storage/storageAccounts", "location": "eastus", - "tags": {}, "properties": { - "privateEndpointConnections": [], - "networkAcls": { - "bypass": "AzureServices", - "virtualNetworkRules": [], - "ipRules": [], - "defaultAction": "Allow" - }, - "supportsHttpsTrafficOnly": true, + "accessTier": "Hot", + "creationTime": "2020-12-15T00:43:14.0839093Z", "encryption": { "identity": { - "userAssignedIdentity": "/subscriptions/{subscription-id}/resourcegroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}", - "federatedIdentityClientId": "f83c6b1b-4d34-47e4-bb34-9d83df58b540" + "federatedIdentityClientId": "f83c6b1b-4d34-47e4-bb34-9d83df58b540", + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourcegroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" }, + "keySource": "Microsoft.Keyvault", "keyvaultproperties": { - "keyvaulturi": "https://myvault8569.vault.azure.net", + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", "keyversion": "", - "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" }, "services": { - "file": { - "keyType": "Account", + "blob": { "enabled": true, + "keyType": "Account", "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" }, - "blob": { - "keyType": "Account", + "file": { "enabled": true, + "keyType": "Account", "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" } - }, - "keySource": "Microsoft.Keyvault" + } + }, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "virtualNetworkRules": [] }, - "accessTier": "Hot", - "provisioningState": "Succeeded", - "creationTime": "2020-12-15T00:43:14.0839093Z", "primaryEndpoints": { - "web": "https://sto4445.web.core.windows.net/", - "dfs": "https://sto4445.dfs.core.windows.net/", "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", "file": "https://sto4445.file.core.windows.net/", "queue": "https://sto4445.queue.core.windows.net/", - "table": "https://sto4445.table.core.windows.net/" + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" }, "primaryLocation": "eastus", - "statusOfPrimary": "available" - } + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "statusOfPrimary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "tags": {} } }, "202": {} - } + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId." } diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateWithImmutabilityPolicy.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateWithImmutabilityPolicy.json new file mode 100644 index 000000000000..5ed909ed6f3b --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreateWithImmutabilityPolicy.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-06-01", + "parameters": { + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "immutableStorageWithVersioning": { + "enabled": true, + "immutabilityPolicy": { + "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 15, + "state": "Unlocked" + } + } + }, + "sku": { + "name": "Standard_GRS" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T13:25:33.4863236Z", + "immutableStorageWithVersioning": { + "enabled": true, + "immutabilityPolicy": { + "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 15, + "state": "Unlocked" + } + }, + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded" + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateWithImmutabilityPolicy" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreate_placement.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreate_placement.json new file mode 100644 index 000000000000..e76b8a3d6cec --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreate_placement.json @@ -0,0 +1,160 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-06-01", + "parameters": { + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "kind": "Storage", + "location": "eastus", + "placement": { + "zonePlacementPolicy": "Any" + }, + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "placement": { + "zonePlacementPolicy": "Any" + }, + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto4445-microsoftrouting.file.core.windows.net/", + "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + }, + "zones": [ + "1" + ] + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreate_placement" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreate_zones.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreate_zones.json new file mode 100644 index 000000000000..b5561bd54b72 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountCreate_zones.json @@ -0,0 +1,157 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-06-01", + "parameters": { + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "sku": { + "name": "Standard_GRS" + }, + "tags": { + "key1": "value1", + "key2": "value2" + }, + "zones": [ + "1" + ] + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" + }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "isSftpEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "file": "https://sto4445.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto4445-microsoftrouting.file.core.windows.net/", + "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" + }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + }, + "zones": [ + "1" + ] + } + }, + "202": {} + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreate_zones" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountDelete.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountDelete.json new file mode 100644 index 000000000000..f8dda7fe032b --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "accountName": "sto2434", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res4228", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "StorageAccounts_Delete", + "title": "StorageAccountDelete" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountDeleteBlobInventoryPolicy.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountDeleteBlobInventoryPolicy.json new file mode 100644 index 000000000000..94e00b1b701f --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountDeleteBlobInventoryPolicy.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-06-01", + "blobInventoryPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "BlobInventoryPolicies_Delete", + "title": "StorageAccountDeleteBlobInventoryPolicy" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountDeleteManagementPolicy.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountDeleteManagementPolicy.json new file mode 100644 index 000000000000..d9bba76424fd --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountDeleteManagementPolicy.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-06-01", + "managementPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "ManagementPolicies_Delete", + "title": "StorageAccountDeleteManagementPolicies" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountDeleteObjectReplicationPolicy.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountDeleteObjectReplicationPolicy.json new file mode 100644 index 000000000000..cca882d45dae --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountDeleteObjectReplicationPolicy.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-06-01", + "monitor": "true", + "objectReplicationPolicyId": "{objectReplicationPolicy-Id}", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "ObjectReplicationPolicies_Delete", + "title": "StorageAccountDeleteObjectReplicationPolicies" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountDeletePrivateEndpointConnection.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountDeletePrivateEndpointConnection.json new file mode 100644 index 000000000000..ea1ce748fe17 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountDeletePrivateEndpointConnection.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-06-01", + "monitor": "true", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "PrivateEndpointConnections_Delete", + "title": "StorageAccountDeletePrivateEndpointConnection" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountEnableAD.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountEnableAD.json new file mode 100644 index 000000000000..ae90b658a61a --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountEnableAD.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-06-01", + "monitor": "true", + "parameters": { + "properties": { + "azureFilesIdentityBasedAuthentication": { + "activeDirectoryProperties": { + "accountType": "User", + "azureStorageSid": "S-1-5-21-2400535526-2334094090-2402026252-0012", + "domainGuid": "aebfc118-9fa9-4732-a21f-d98e41a77ae1", + "domainName": "adtest.com", + "domainSid": "S-1-5-21-2400535526-2334094090-2402026252", + "forestName": "adtest.com", + "netBiosDomainName": "adtest.com", + "samAccountName": "sam12498" + }, + "directoryServiceOptions": "AD" + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "azureFilesIdentityBasedAuthentication": { + "activeDirectoryProperties": { + "accountType": "User", + "azureStorageSid": "S-1-5-21-2400535526-2334094090-2402026252-0012", + "domainGuid": "aebfc118-9fa9-4732-a21f-d98e41a77ae1", + "domainName": "adtest.com", + "domainSid": "S-1-5-21-2400535526-2334094090-2402026252", + "forestName": "adtest.com", + "netBiosDomainName": "adtest.com", + "samAccountName": "sam12498" + }, + "directoryServiceOptions": "AD" + }, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountEnableAD" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountEnableCMK.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountEnableCMK.json new file mode 100644 index 000000000000..9eb6d840c72f --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountEnableCMK.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-06-01", + "monitor": "true", + "parameters": { + "properties": { + "encryption": { + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "identity": { + "type": "SystemAssigned", + "principalId": "911871cc-ffd1-4fc4-ac11-7a316433ea66", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountEnableCMK" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountEnableSmbOAuth.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountEnableSmbOAuth.json new file mode 100644 index 000000000000..921e747077c0 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountEnableSmbOAuth.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-06-01", + "monitor": "true", + "parameters": { + "properties": { + "azureFilesIdentityBasedAuthentication": { + "directoryServiceOptions": "None", + "smbOAuthSettings": { + "isSmbOAuthEnabled": true + } + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "azureFilesIdentityBasedAuthentication": { + "directoryServiceOptions": "None", + "smbOAuthSettings": { + "isSmbOAuthEnabled": true + } + }, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountEnableSmbOAuth" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountEncryptionScopeList.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountEncryptionScopeList.json new file mode 100644 index 000000000000..f70aebe0a871 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountEncryptionScopeList.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "accountName": "accountname", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": null, + "value": [ + { + "name": "scope-1", + "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/scope-1", + "properties": { + "creationTime": "2018-10-16T02:42:41.7633306Z", + "lastModifiedTime": "2018-10-16T02:42:41.7633306Z", + "source": "Microsoft.Storage", + "state": "Enabled" + } + }, + { + "name": "scope-2", + "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/scope-2", + "properties": { + "creationTime": "2018-10-16T04:32:14.3355306Z", + "keyVaultProperties": { + "keyUri": "https://testvault.vault.core.windows.net/keys/key1/863425f1358359c" + }, + "lastModifiedTime": "2018-10-17T06:23:14.4513306Z", + "source": "Microsoft.KeyVault", + "state": "Enabled" + } + } + ] + } + } + }, + "operationId": "EncryptionScopes_List", + "title": "StorageAccountEncryptionScopeList" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountFailover.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountFailover.json new file mode 100644 index 000000000000..116d354dbee8 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountFailover.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": "sto2434", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res4228", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://endpoint:port/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/{location}/asyncoperations/{operationid}?monitor=true&api-version=2022-09-01" + } + } + }, + "operationId": "StorageAccounts_Failover", + "title": "StorageAccountFailover" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountFailoverPlanned.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountFailoverPlanned.json new file mode 100644 index 000000000000..023230857ea3 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountFailoverPlanned.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "accountName": "sto2434", + "api-version": "2025-06-01", + "failoverType": "Planned", + "monitor": "true", + "resourceGroupName": "res4228", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://endpoint:port/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/{location}/asyncoperations/{operationid}?monitor=true&api-version=2022-09-01" + } + } + }, + "operationId": "StorageAccounts_Failover", + "title": "StorageAccountFailoverPlanned" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetAsyncSkuConversionStatus.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetAsyncSkuConversionStatus.json new file mode 100644 index 000000000000..f302a6e376ae --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetAsyncSkuConversionStatus.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "StorageV2", + "location": "eastus", + "properties": { + "allowBlobPublicAccess": false, + "minimumTlsVersion": "TLS1_2", + "storageAccountSkuConversionStatus": { + "endTime": "2021-09-02T02:53:39.0932539Z", + "skuConversionStatus": "InProgress", + "startTime": "2022-09-01T02:53:39.0932539Z", + "targetSkuName": "Standard_GRS" + } + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + } + } + } + }, + "operationId": "StorageAccounts_GetProperties", + "title": "StorageAccountGetAsyncSkuConversionStatus" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetBlobInventoryPolicy.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetBlobInventoryPolicy.json new file mode 100644 index 000000000000..c9bd86e45ec3 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetBlobInventoryPolicy.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-06-01", + "blobInventoryPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultInventoryPolicy", + "type": "Microsoft.Storage/storageAccounts/inventoryPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", + "properties": { + "lastModifiedTime": "2020-10-05T02:53:39.0932539Z", + "policy": { + "type": "Inventory", + "enabled": true, + "rules": [ + { + "name": "inventoryPolicyRule1", + "definition": { + "format": "Csv", + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob", + "pageBlob" + ], + "includeBlobVersions": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] + }, + "objectType": "Blob", + "schedule": "Daily", + "schemaFields": [ + "Name", + "Creation-Time", + "Last-Modified", + "Content-Length", + "Content-MD5", + "BlobType", + "AccessTier", + "AccessTierChangeTime", + "Snapshot", + "VersionId", + "IsCurrentVersion", + "Metadata" + ] + }, + "destination": "container1", + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "BlobInventoryPolicies_Get", + "title": "StorageAccountGetBlobInventoryPolicy" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetEncryptionScope.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetEncryptionScope.json new file mode 100644 index 000000000000..f9f62ece745d --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetEncryptionScope.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "accountName": "accountname", + "api-version": "2025-06-01", + "encryptionScopeName": "{encryption-scope-name}", + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "{encyrption-scope-name}", + "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", + "properties": { + "creationTime": "2018-10-16T02:42:41.7633306Z", + "lastModifiedTime": "2018-10-16T02:42:41.7633306Z", + "source": "Microsoft.Storage", + "state": "Enabled" + } + } + } + }, + "operationId": "EncryptionScopes_Get", + "title": "StorageAccountGetEncryptionScope" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetManagementPolicy.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetManagementPolicy.json new file mode 100644 index 000000000000..6663709d25e6 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetManagementPolicy.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-06-01", + "managementPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2018-06-08T03:01:55.7168089Z", + "policy": { + "rules": [ + { + "name": "olcmtest", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_Get", + "title": "StorageAccountGetManagementPolicies" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetMigrationFailed.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetMigrationFailed.json new file mode 100644 index 000000000000..cd8dbe9649bf --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetMigrationFailed.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "accountName": "accountname", + "api-version": "2025-06-01", + "migrationName": "default", + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/accountMigrations", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/accountMigrations/default", + "properties": { + "migrationFailedDetailedReason": "ZRS is not supported for accounts with archive data.", + "migrationFailedReason": "ZrsNotSupportedForAccountWithArchiveData", + "migrationStatus": "Failed", + "targetSkuName": "Standard_ZRS" + } + } + } + }, + "operationId": "StorageAccounts_GetCustomerInitiatedMigration", + "title": "StorageAccountGetMigrationFailed" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetMigrationInProgress.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetMigrationInProgress.json new file mode 100644 index 000000000000..389ea9c0e8af --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetMigrationInProgress.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "accountName": "accountname", + "api-version": "2025-06-01", + "migrationName": "default", + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/accountMigrations", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/accountMigrations/default", + "properties": { + "migrationStatus": "InProgress", + "targetSkuName": "Standard_ZRS" + } + } + } + }, + "operationId": "StorageAccounts_GetCustomerInitiatedMigration", + "title": "StorageAccountGetMigrationInProgress" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetObjectReplicationPolicy.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetObjectReplicationPolicy.json new file mode 100644 index 000000000000..98b9db87c307 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetObjectReplicationPolicy.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-06-01", + "monitor": "true", + "objectReplicationPolicyId": "{objectReplicationPolicy-Id}", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "{objectReplicationPolicy-Id}", + "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/objectReplicationPolicies/{objectReplicationPolicy-Id}", + "properties": { + "destinationAccount": "destAccount1", + "enabledTime": "2019-06-08T03:01:55.7168089Z", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "policyId": "{objectReplicationPolicy-Id}", + "rules": [ + { + "destinationContainer": "destContainer1", + "filters": { + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "sourceContainer": "sourceContainer1" + }, + { + "destinationContainer": "destContainer1", + "filters": { + "prefixMatch": [ + "blobC", + "blobD" + ] + }, + "sourceContainer": "sourceContainer1" + } + ], + "sourceAccount": "sto2527" + } + } + } + }, + "operationId": "ObjectReplicationPolicies_Get", + "title": "StorageAccountGetObjectReplicationPolicies" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetPrivateEndpointConnection.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetPrivateEndpointConnection.json new file mode 100644 index 000000000000..282464545973 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetPrivateEndpointConnection.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-06-01", + "monitor": "true", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.Storage/storageAccounts/privateEndpointConnections", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "description": "Auto-Approved", + "actionRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "PrivateEndpointConnections_Get", + "title": "StorageAccountGetPrivateEndpointConnection" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetProperties.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetProperties.json new file mode 100644 index 000000000000..d8718ecfedcd --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetProperties.json @@ -0,0 +1,108 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "accountMigrationInProgress": false, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "geoReplicationStats": { + "canFailover": true, + "lastSyncTime": "2018-10-30T00:25:34Z", + "status": "Live" + }, + "isHnsEnabled": true, + "isSkuConversionBlocked": false, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false, + "geoPriorityReplicationStatus": { + "isBlobEnabled": true + } + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_GetProperties", + "title": "StorageAccountGetProperties" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetPropertiesCMKEnabled.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetPropertiesCMKEnabled.json new file mode 100644 index 000000000000..e44e2fff8b1a --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetPropertiesCMKEnabled.json @@ -0,0 +1,106 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "identity": { + "type": "SystemAssigned", + "principalId": "911871cc-ffd1-4fc4-ac11-7a316433ea66", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "geoReplicationStats": { + "canFailover": true, + "lastSyncTime": "2018-10-30T00:25:34Z", + "status": "Live" + }, + "isHnsEnabled": true, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_GetProperties", + "title": "StorageAccountGetPropertiesCMKEnabled" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetPropertiesCMKVersionExpirationTime.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetPropertiesCMKVersionExpirationTime.json new file mode 100644 index 000000000000..18abee0f7d1e --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetPropertiesCMKVersionExpirationTime.json @@ -0,0 +1,107 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "identity": { + "type": "SystemAssigned", + "principalId": "911871cc-ffd1-4fc4-ac11-7a316433ea66", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyExpirationTimestamp": "2019-12-13T20:36:23.7023290Z", + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "geoReplicationStats": { + "canFailover": true, + "lastSyncTime": "2018-10-30T00:25:34Z", + "status": "Live" + }, + "isHnsEnabled": true, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_GetProperties", + "title": "StorageAccountGetPropertiesCMKVersionExpirationTime" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse.json similarity index 80% rename from specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse.json rename to specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse.json index 625c45f18c4a..1d8f4c621f5c 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse.json +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse.json @@ -1,96 +1,97 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9407", + "$expand": "geoReplicationStats", "accountName": "sto8596", - "api-version": "2025-01-01", + "api-version": "2025-06-01", "monitor": "true", - "$expand": "geoReplicationStats" + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", "kind": "Storage", "location": "eastus2(stage)", - "name": "sto8596", "properties": { - "keyCreationTime": { - "key1": "2021-03-18T04:42:22.4322836Z", - "key2": "2021-03-18T04:42:22.4322836Z" + "accountMigrationInProgress": false, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } }, "geoReplicationStats": { - "status": "Live", - "lastSyncTime": "2018-10-30T00:25:34Z", "canFailover": false, "canPlannedFailover": false, + "lastSyncTime": "2018-10-30T00:25:34Z", "postFailoverRedundancy": "Standard_LRS", - "postPlannedFailoverRedundancy": "Standard_GRS" + "postPlannedFailoverRedundancy": "Standard_GRS", + "status": "Live" }, "isHnsEnabled": true, - "creationTime": "2017-06-01T02:42:41.7633306Z", + "isSkuConversionBlocked": false, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, "networkAcls": { "bypass": "AzureServices", "defaultAction": "Allow", "ipRules": [], - "virtualNetworkRules": [], "resourceAccessRules": [ { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace" + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" } - ] + ], + "virtualNetworkRules": [] }, "primaryEndpoints": { - "web": "https://sto8596.web.core.windows.net/", - "dfs": "https://sto8596.dfs.core.windows.net/", "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", "file": "https://sto8596.file.core.windows.net/", - "queue": "https://sto8596.queue.core.windows.net/", - "table": "https://sto8596.table.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, "microsoftEndpoints": { - "web": "https://sto8596-microsoftrouting.web.core.windows.net/", - "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", "file": "https://sto8596-microsoftrouting.file.core.windows.net/", "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", - "table": "https://sto8596-microsoftrouting.table.core.windows.net/" + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" }, - "internetEndpoints": { - "web": "https://sto8596-internetrouting.web.core.windows.net/", - "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", - "blob": "https://sto8596-internetrouting.blob.core.windows.net/", - "file": "https://sto8596-internetrouting.file.core.windows.net/" - } + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" }, "primaryLocation": "eastus2(stage)", "provisioningState": "Succeeded", "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true - }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - }, - "blob": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - } - }, - "keySource": "Microsoft.Storage" + "routingChoice": "MicrosoftRouting" }, "secondaryLocation": "northcentralus(stage)", "statusOfPrimary": "available", "statusOfSecondary": "available", - "supportsHttpsTrafficOnly": false, - "isSkuConversionBlocked": false, - "accountMigrationInProgress": false + "supportsHttpsTrafficOnly": false }, "sku": { "name": "Standard_GRS", @@ -99,9 +100,10 @@ "tags": { "key1": "value1", "key2": "value2" - }, - "type": "Microsoft.Storage/storageAccounts" + } } } - } + }, + "operationId": "StorageAccounts_GetProperties", + "title": "StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue.json similarity index 80% rename from specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue.json rename to specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue.json index 4bf041fc25bf..ac678ed0de18 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue.json +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue.json @@ -1,96 +1,97 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9407", + "$expand": "geoReplicationStats", "accountName": "sto8596", - "api-version": "2025-01-01", + "api-version": "2025-06-01", "monitor": "true", - "$expand": "geoReplicationStats" + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", "kind": "Storage", "location": "eastus2(stage)", - "name": "sto8596", "properties": { - "keyCreationTime": { - "key1": "2021-03-18T04:42:22.4322836Z", - "key2": "2021-03-18T04:42:22.4322836Z" + "accountMigrationInProgress": false, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } }, "geoReplicationStats": { - "status": "Live", - "lastSyncTime": "2018-10-30T00:25:34Z", "canFailover": true, "canPlannedFailover": true, + "lastSyncTime": "2018-10-30T00:25:34Z", "postFailoverRedundancy": "Standard_LRS", - "postPlannedFailoverRedundancy": "Standard_GRS" + "postPlannedFailoverRedundancy": "Standard_GRS", + "status": "Live" }, "isHnsEnabled": true, - "creationTime": "2017-06-01T02:42:41.7633306Z", + "isSkuConversionBlocked": false, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, "networkAcls": { "bypass": "AzureServices", "defaultAction": "Allow", "ipRules": [], - "virtualNetworkRules": [], "resourceAccessRules": [ { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace" + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" } - ] + ], + "virtualNetworkRules": [] }, "primaryEndpoints": { - "web": "https://sto8596.web.core.windows.net/", - "dfs": "https://sto8596.dfs.core.windows.net/", "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", "file": "https://sto8596.file.core.windows.net/", - "queue": "https://sto8596.queue.core.windows.net/", - "table": "https://sto8596.table.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, "microsoftEndpoints": { - "web": "https://sto8596-microsoftrouting.web.core.windows.net/", - "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", "file": "https://sto8596-microsoftrouting.file.core.windows.net/", "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", - "table": "https://sto8596-microsoftrouting.table.core.windows.net/" + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" }, - "internetEndpoints": { - "web": "https://sto8596-internetrouting.web.core.windows.net/", - "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", - "blob": "https://sto8596-internetrouting.blob.core.windows.net/", - "file": "https://sto8596-internetrouting.file.core.windows.net/" - } + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" }, "primaryLocation": "eastus2(stage)", "provisioningState": "Succeeded", "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true - }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - }, - "blob": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - } - }, - "keySource": "Microsoft.Storage" + "routingChoice": "MicrosoftRouting" }, "secondaryLocation": "northcentralus(stage)", "statusOfPrimary": "available", "statusOfSecondary": "available", - "supportsHttpsTrafficOnly": false, - "isSkuConversionBlocked": false, - "accountMigrationInProgress": false + "supportsHttpsTrafficOnly": false }, "sku": { "name": "Standard_GRS", @@ -99,9 +100,10 @@ "tags": { "key1": "value1", "key2": "value2" - }, - "type": "Microsoft.Storage/storageAccounts" + } } } - } + }, + "operationId": "StorageAccounts_GetProperties", + "title": "StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue" } diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountHierarchicalNamespaceMigration.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountHierarchicalNamespaceMigration.json new file mode 100644 index 000000000000..a71c5887c854 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountHierarchicalNamespaceMigration.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": "sto2434", + "api-version": "2025-06-01", + "requestType": "HnsOnValidationRequest", + "resourceGroupName": "res4228", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://endpoint:port/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/{location}/asyncoperations/{operationid}?monitor=true&api-version=2022-09-01" + } + } + }, + "operationId": "StorageAccounts_HierarchicalNamespaceMigration", + "title": "StorageAccountHierarchicalNamespaceMigration" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountLeverageIPv6Ability.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountLeverageIPv6Ability.json new file mode 100644 index 000000000000..66c7ecadda11 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountLeverageIPv6Ability.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-06-01", + "monitor": "true", + "parameters": { + "properties": { + "dualStackEndpointPreference": { + "publishIpv6Endpoint": true + }, + "networkAcls": { + "defaultAction": "Deny", + "ipv6Rules": [ + { + "action": "Allow", + "value": "2001:0db8:85a3::/64" + } + ] + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "creationTime": "2017-06-01T02:42:41.7633306Z", + "dualStackEndpointPreference": { + "publishIpv6Endpoint": true + }, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Deny", + "ipRules": [], + "ipv6Rules": [ + { + "action": "Allow", + "value": "2001:0db8:85a3::/64" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "ipv6Endpoints": { + "blob": "https://sto8596-ipv6.blob.core.windows.net/", + "dfs": "https://sto8596-ipv6.dfs.core.windows.net/", + "file": "https://sto8596-ipv6.file.core.windows.net/", + "queue": "https://sto8596-ipv6.queue.core.windows.net/", + "table": "https://sto8596-ipv6.table.core.windows.net/", + "web": "https://sto8596-ipv6.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "statusOfPrimary": "available" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdateEnableIpv6Features" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountList.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountList.json new file mode 100644 index 000000000000..7d310df5b421 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountList.json @@ -0,0 +1,315 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "monitor": "true", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sto1125", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res2627/providers/Microsoft.Storage/storageAccounts/sto1125", + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T13:28:53.4540398Z", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "primaryEndpoints": { + "blob": "https://sto1125.blob.core.windows.net/", + "dfs": "https://sto1125.dfs.core.windows.net/", + "file": "https://sto1125.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto1125-internetrouting.blob.core.windows.net/", + "dfs": "https://sto1125-internetrouting.dfs.core.windows.net/", + "file": "https://sto1125-internetrouting.file.core.windows.net/", + "web": "https://sto1125-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto1125-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto1125-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto1125-microsoftrouting.file.core.windows.net/", + "queue": "https://sto1125-microsoftrouting.queue.core.windows.net/", + "table": "https://sto1125-microsoftrouting.table.core.windows.net/", + "web": "https://sto1125-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto1125.queue.core.windows.net/", + "table": "https://sto1125.table.core.windows.net/", + "web": "https://sto1125.web.core.windows.net/" + }, + "primaryLocation": "eastus", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + { + "name": "sto3699", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto3699", + "identity": { + "type": "SystemAssigned", + "principalId": "356d057d-cba5-44dd-8a30-b2e547bc416b", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T10:06:30.6093014Z", + "primaryEndpoints": { + "blob": "https://sto3699.blob.core.windows.net/", + "file": "https://sto3699.file.core.windows.net/", + "queue": "https://sto3699.queue.core.windows.net/", + "table": "https://sto3699.table.core.windows.net/" + }, + "primaryLocation": "eastus", + "provisioningState": "Succeeded", + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "identity": { + "type": "SystemAssigned", + "principalId": "911871cc-ffd1-4fc4-ac11-7a316433ea66", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "geoReplicationStats": { + "canFailover": true, + "lastSyncTime": "2018-10-30T00:25:34Z", + "status": "Live" + }, + "isHnsEnabled": true, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + { + "name": "sto6637", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto6637", + "identity": { + "type": "SystemAssigned", + "principalId": "911871cc-ffd1-4fc4-ac11-7a316433ea66", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T10:09:39.5625175Z", + "primaryEndpoints": { + "blob": "https://sto6637.blob.core.windows.net/", + "file": "https://sto6637.file.core.windows.net/", + "queue": "https://sto6637.queue.core.windows.net/", + "table": "https://sto6637.table.core.windows.net/" + }, + "primaryLocation": "eastus", + "provisioningState": "Succeeded", + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + { + "name": "sto834", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res8186/providers/Microsoft.Storage/storageAccounts/sto834", + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T13:28:20.8686541Z", + "primaryEndpoints": { + "blob": "https://sto834.blob.core.windows.net/", + "file": "https://sto834.file.core.windows.net/", + "queue": "https://sto834.queue.core.windows.net/", + "table": "https://sto834.table.core.windows.net/" + }, + "primaryLocation": "eastus", + "provisioningState": "Succeeded", + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + { + "name": "sto9174", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto9174", + "identity": { + "type": "SystemAssigned", + "principalId": "933e3ddf-1802-4a51-9469-18a33b576f88", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T09:46:19.6556989Z", + "primaryEndpoints": { + "blob": "https://sto9174.blob.core.windows.net/", + "file": "https://sto9174.file.core.windows.net/", + "queue": "https://sto9174.queue.core.windows.net/", + "table": "https://sto9174.table.core.windows.net/" + }, + "primaryLocation": "eastus", + "provisioningState": "Succeeded", + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + ] + } + } + }, + "operationId": "StorageAccounts_List", + "title": "StorageAccountList" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountListAccountSAS.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountListAccountSAS.json new file mode 100644 index 000000000000..191332f7433c --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountListAccountSAS.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "accountName": "sto8588", + "api-version": "2025-06-01", + "monitor": "true", + "parameters": { + "keyToSign": "key1", + "signedExpiry": "2017-05-24T11:42:03.1567373Z", + "signedPermission": "r", + "signedProtocol": "https,http", + "signedResourceTypes": "s", + "signedServices": "b", + "signedStart": "2017-05-24T10:42:03.1567373Z" + }, + "resourceGroupName": "res7985", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "accountSasToken": "sv=2015-04-05&ss=b&srt=s&sp=r&st=2017-05-24T10%3A42%3A03Z&se=2017-05-24T11%3A42%3A03Z&spr=https,http&sig=Z0I%2BEpM%2BPPlTC8ApfUf%2BcffO2aahMgZim3U0iArqsS0%3D" + } + } + }, + "operationId": "StorageAccounts_ListAccountSAS", + "title": "StorageAccountListAccountSAS" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountListBlobInventoryPolicy.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountListBlobInventoryPolicy.json new file mode 100644 index 000000000000..822cf854321a --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountListBlobInventoryPolicy.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "DefaultInventoryPolicy", + "type": "Microsoft.Storage/storageAccounts/inventoryPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", + "properties": { + "lastModifiedTime": "2020-10-05T02:53:39.0932539Z", + "policy": { + "type": "Inventory", + "enabled": true, + "rules": [ + { + "name": "inventoryPolicyRule1", + "definition": { + "format": "Csv", + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob", + "pageBlob" + ], + "includeBlobVersions": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] + }, + "objectType": "Blob", + "schedule": "Daily", + "schemaFields": [ + "Name", + "Creation-Time", + "Last-Modified", + "Content-Length", + "Content-MD5", + "BlobType", + "AccessTier", + "AccessTierChangeTime", + "Snapshot", + "VersionId", + "IsCurrentVersion", + "Metadata" + ] + }, + "destination": "container1", + "enabled": true + } + ] + } + } + } + ] + } + } + }, + "operationId": "BlobInventoryPolicies_List", + "title": "StorageAccountGetBlobInventoryPolicy" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountListByResourceGroup.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountListByResourceGroup.json new file mode 100644 index 000000000000..056218c1e2b9 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountListByResourceGroup.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "resourceGroupName": "res6117", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sto4036", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6117/providers/Microsoft.Storage/storageAccounts/sto4036", + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T13:24:47.818801Z", + "isHnsEnabled": true, + "primaryEndpoints": { + "blob": "https://sto4036.blob.core.windows.net/", + "dfs": "https://sto4036.dfs.core.windows.net/", + "file": "https://sto4036.file.core.windows.net/", + "queue": "https://sto4036.queue.core.windows.net/", + "table": "https://sto4036.table.core.windows.net/", + "web": "https://sto4036.web.core.windows.net/" + }, + "primaryLocation": "eastus", + "provisioningState": "Succeeded", + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + { + "name": "sto4452", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6117/providers/Microsoft.Storage/storageAccounts/sto4452", + "kind": "Storage", + "location": "eastus", + "properties": { + "creationTime": "2017-05-24T13:24:15.7068366Z", + "primaryEndpoints": { + "blob": "https://sto4452.blob.core.windows.net/", + "file": "https://sto4452.file.core.windows.net/", + "queue": "https://sto4452.queue.core.windows.net/", + "table": "https://sto4452.table.core.windows.net/" + }, + "primaryLocation": "eastus", + "provisioningState": "Succeeded", + "secondaryLocation": "centraluseuap", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + ] + } + } + }, + "operationId": "StorageAccounts_ListByResourceGroup", + "title": "StorageAccountListByResourceGroup" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountListKeys.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountListKeys.json new file mode 100644 index 000000000000..9a391d49482b --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountListKeys.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "accountName": "sto2220", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res418", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "keys": [ + { + "keyName": "key1", + "permissions": "Full", + "value": "" + }, + { + "keyName": "key2", + "permissions": "Full", + "value": "" + } + ] + } + } + }, + "operationId": "StorageAccounts_ListKeys", + "title": "StorageAccountListKeys" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountListLocationUsage.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountListLocationUsage.json new file mode 100644 index 000000000000..bbb4d7f21653 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountListLocationUsage.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-06-01", + "location": "eastus2(stage)", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": { + "localizedValue": "Storage Accounts", + "value": "StorageAccounts" + }, + "currentValue": 55, + "limit": 250, + "unit": "Count" + } + ] + } + } + }, + "operationId": "Usages_ListByLocation", + "title": "UsageList" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountListObjectReplicationPolicies.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountListObjectReplicationPolicies.json new file mode 100644 index 000000000000..84dfa7a90180 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountListObjectReplicationPolicies.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "c6c23999-fd4e-433a-bcf9-1db69d27cd8a", + "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/objectReplicationPolicies/c6c23999-fd4e-433a-bcf9-1db69d27cd8a", + "properties": { + "destinationAccount": "destAccount1", + "sourceAccount": "sto2527" + } + }, + { + "name": "141d23dc-8958-4b48-b6e6-5a40bf1af116", + "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/objectReplicationPolicies/141d23dc-8958-4b48-b6e6-5a40bf1af116", + "properties": { + "destinationAccount": "destAccount2", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "sourceAccount": "sto2527" + } + } + ] + } + } + }, + "operationId": "ObjectReplicationPolicies_List", + "title": "StorageAccountListObjectReplicationPolicies" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountListPrivateEndpointConnections.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountListPrivateEndpointConnections.json new file mode 100644 index 000000000000..e3b89db57f32 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountListPrivateEndpointConnections.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.Storage/storageAccounts/privateEndpointConnections", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "description": "Auto-Approved", + "actionRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + }, + { + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.Storage/storageAccounts/privateEndpointConnections", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest02" + }, + "privateLinkServiceConnectionState": { + "description": "Auto-Approved", + "actionRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "PrivateEndpointConnections_List", + "title": "StorageAccountListPrivateEndpointConnections" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountListPrivateLinkResources.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountListPrivateLinkResources.json new file mode 100644 index 000000000000..d424531bfd51 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountListPrivateLinkResources.json @@ -0,0 +1,103 @@ +{ + "parameters": { + "accountName": "sto2527", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "blob", + "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/blob", + "properties": { + "groupId": "blob", + "requiredMembers": [ + "blob" + ], + "requiredZoneNames": [ + "privatelink.blob.core.windows.net" + ] + } + }, + { + "name": "blob_secondary", + "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/blob_secondary", + "properties": { + "groupId": "blob_secondary", + "requiredMembers": [ + "blob_secondary" + ], + "requiredZoneNames": [ + "privatelink.blob.core.windows.net" + ] + } + }, + { + "name": "table", + "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/table", + "properties": { + "groupId": "table", + "requiredMembers": [ + "table" + ], + "requiredZoneNames": [ + "privatelink.table.core.windows.net" + ] + } + }, + { + "name": "table_secondary", + "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/table_secondary", + "properties": { + "groupId": "table_secondary", + "requiredMembers": [ + "table_secondary" + ], + "requiredZoneNames": [ + "privatelink.table.core.windows.net" + ] + } + }, + { + "name": "dfs", + "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/dfs", + "properties": { + "groupId": "dfs", + "requiredMembers": [ + "dfs" + ], + "requiredZoneNames": [ + "privatelink.dfs.core.windows.net" + ] + } + }, + { + "name": "dfs_secondary", + "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/dfs_secondary", + "properties": { + "groupId": "dfs_secondary", + "requiredMembers": [ + "dfs_secondary" + ], + "requiredZoneNames": [ + "privatelink.dfs.core.windows.net" + ] + } + } + ] + } + } + }, + "operationId": "PrivateLinkResources_ListByStorageAccount", + "title": "StorageAccountListPrivateLinkResources" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountListServiceSAS.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountListServiceSAS.json new file mode 100644 index 000000000000..f40388110412 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountListServiceSAS.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "sto1299", + "api-version": "2025-06-01", + "monitor": "true", + "parameters": { + "canonicalizedResource": "/blob/sto1299/music", + "signedExpiry": "2017-05-24T11:32:48.8457197Z", + "signedPermission": "l", + "signedResource": "c" + }, + "resourceGroupName": "res7439", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "serviceSasToken": "sv=2015-04-05&sr=c&se=2017-05-24T11%3A32%3A48Z&sp=l&sig=PoF8yBUGixsjzwroLmw7vG3VbGz4KB2woZC2D4C2oio%3D" + } + } + }, + "operationId": "StorageAccounts_ListServiceSAS", + "title": "StorageAccountListServiceSAS" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountPatchEncryptionScope.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountPatchEncryptionScope.json new file mode 100644 index 000000000000..b7d1a2a60177 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountPatchEncryptionScope.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "accountName": "accountname", + "api-version": "2025-06-01", + "encryptionScope": { + "properties": { + "keyVaultProperties": { + "keyUri": "https://testvault.vault.core.windows.net/keys/key1/863425f1358359c" + }, + "source": "Microsoft.KeyVault" + } + }, + "encryptionScopeName": "{encryption-scope-name}", + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "{encryption-scope-name}", + "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", + "properties": { + "creationTime": "2018-10-16T02:42:41.7633306Z", + "keyVaultProperties": { + "currentVersionedKeyIdentifier": "https://testvault.vault.core.windows.net/keys/key1/863425f1358359c", + "keyUri": "https://testvault.vault.core.windows.net/keys/key1/863425f1358359c", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "lastModifiedTime": "2018-10-17T06:23:14.4513306Z", + "source": "Microsoft.KeyVault", + "state": "Enabled" + } + } + } + }, + "operationId": "EncryptionScopes_Patch", + "title": "StorageAccountPatchEncryptionScope" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountPostMigration.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountPostMigration.json new file mode 100644 index 000000000000..2774916a0ece --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountPostMigration.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "accountname", + "api-version": "2025-06-01", + "monitor": "true", + "parameters": { + "properties": { + "targetSkuName": "Standard_ZRS" + } + }, + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-09-01" + } + } + }, + "operationId": "StorageAccounts_CustomerInitiatedMigration", + "title": "StorageAccountPostMigration" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountPutEncryptionScope.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountPutEncryptionScope.json new file mode 100644 index 000000000000..a47fd1b8dad5 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountPutEncryptionScope.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "accountName": "accountname", + "api-version": "2025-06-01", + "encryptionScope": {}, + "encryptionScopeName": "{encryption-scope-name}", + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "{encryption-scope-name}", + "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", + "properties": { + "creationTime": "2018-10-16T02:42:41.7633306Z", + "lastModifiedTime": "2018-10-16T02:42:41.7633306Z", + "source": "Microsoft.Storage", + "state": "Enabled" + } + } + }, + "201": { + "body": { + "name": "{encryption-scope-name}", + "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", + "properties": { + "creationTime": "2018-10-16T02:42:41.7633306Z", + "lastModifiedTime": "2018-10-16T02:42:41.7633306Z", + "source": "Microsoft.Storage", + "state": "Enabled" + } + } + } + }, + "operationId": "EncryptionScopes_Put", + "title": "StorageAccountPutEncryptionScope" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json similarity index 77% rename from specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json rename to specification/storage/Storage.Management/examples/2025-06-01/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json index a6f79406ee5c..862a7c3d0e7a 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json @@ -1,45 +1,47 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "resource-group-name", "accountName": "accountname", - "encryptionScopeName": "{encryption-scope-name}", - "api-version": "2025-01-01", - "monitor": "true", + "api-version": "2025-06-01", "encryptionScope": { "properties": { "requireInfrastructureEncryption": true } - } + }, + "encryptionScopeName": "{encryption-scope-name}", + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { - "201": { + "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", "name": "{encryption-scope-name}", "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", "properties": { + "creationTime": "2018-10-16T02:42:41.7633306Z", + "lastModifiedTime": "2018-10-16T02:42:41.7633306Z", "requireInfrastructureEncryption": true, "source": "Microsoft.Storage", - "state": "Enabled", - "creationTime": "2018-10-16T02:42:41.7633306Z", - "lastModifiedTime": "2018-10-16T02:42:41.7633306Z" + "state": "Enabled" } } }, - "200": { + "201": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", "name": "{encryption-scope-name}", "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", "properties": { + "creationTime": "2018-10-16T02:42:41.7633306Z", + "lastModifiedTime": "2018-10-16T02:42:41.7633306Z", "requireInfrastructureEncryption": true, "source": "Microsoft.Storage", - "state": "Enabled", - "creationTime": "2018-10-16T02:42:41.7633306Z", - "lastModifiedTime": "2018-10-16T02:42:41.7633306Z" + "state": "Enabled" } } } - } + }, + "operationId": "EncryptionScopes_Put", + "title": "StorageAccountPutEncryptionScopeWithInfrastructureEncryption" } diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountPutPrivateEndpointConnection.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountPutPrivateEndpointConnection.json new file mode 100644 index 000000000000..f35bd519e5bd --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountPutPrivateEndpointConnection.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-06-01", + "monitor": "true", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "properties": { + "properties": { + "privateLinkServiceConnectionState": { + "description": "Auto-Approved", + "status": "Approved" + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.Storage/storageAccounts/privateEndpointConnections", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "description": "Auto-Approved", + "actionRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "PrivateEndpointConnections_Put", + "title": "StorageAccountPutPrivateEndpointConnection" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountRegenerateKerbKey.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountRegenerateKerbKey.json new file mode 100644 index 000000000000..ee3d68826b28 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountRegenerateKerbKey.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "accountName": "sto3539", + "api-version": "2025-06-01", + "monitor": "true", + "regenerateKey": { + "keyName": "kerb1" + }, + "resourceGroupName": "res4167", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "keys": [ + { + "keyName": "key1", + "permissions": "Full", + "value": "" + }, + { + "keyName": "key2", + "permissions": "Full", + "value": "" + }, + { + "keyName": "kerb1", + "permissions": "Full", + "value": "" + } + ] + } + } + }, + "operationId": "StorageAccounts_RegenerateKey", + "title": "StorageAccountRegenerateKerbKey" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountRegenerateKey.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountRegenerateKey.json new file mode 100644 index 000000000000..9197e89315d6 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountRegenerateKey.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "accountName": "sto3539", + "api-version": "2025-06-01", + "monitor": "true", + "regenerateKey": { + "keyName": "key2" + }, + "resourceGroupName": "res4167", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "keys": [ + { + "keyName": "key1", + "permissions": "Full", + "value": "" + }, + { + "keyName": "key2", + "permissions": "Full", + "value": "" + } + ] + } + } + }, + "operationId": "StorageAccounts_RegenerateKey", + "title": "StorageAccountRegenerateKey" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountRevokeUserDelegationKeys.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountRevokeUserDelegationKeys.json new file mode 100644 index 000000000000..6ae8cf75a66a --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountRevokeUserDelegationKeys.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "accountName": "sto3539", + "api-version": "2025-06-01", + "resourceGroupName": "res4167", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {} + }, + "operationId": "StorageAccounts_RevokeUserDelegationKeys", + "title": "StorageAccountRevokeUserDelegationKeys" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetBlobInventoryPolicy.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetBlobInventoryPolicy.json new file mode 100644 index 000000000000..9292bcea200a --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetBlobInventoryPolicy.json @@ -0,0 +1,162 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-06-01", + "blobInventoryPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "type": "Inventory", + "enabled": true, + "rules": [ + { + "name": "inventoryPolicyRule1", + "definition": { + "format": "Csv", + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob", + "pageBlob" + ], + "creationTime": { + "lastNDays": 1000 + }, + "includeBlobVersions": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] + }, + "objectType": "Blob", + "schedule": "Daily", + "schemaFields": [ + "Name", + "Creation-Time", + "Last-Modified", + "Content-Length", + "Content-MD5", + "BlobType", + "AccessTier", + "AccessTierChangeTime", + "Snapshot", + "VersionId", + "IsCurrentVersion", + "Metadata" + ] + }, + "destination": "container1", + "enabled": true + }, + { + "name": "inventoryPolicyRule2", + "definition": { + "format": "Parquet", + "objectType": "Container", + "schedule": "Weekly", + "schemaFields": [ + "Name", + "Last-Modified", + "Metadata", + "LeaseStatus", + "LeaseState", + "LeaseDuration", + "PublicAccess", + "HasImmutabilityPolicy", + "HasLegalHold" + ] + }, + "destination": "container2", + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultInventoryPolicy", + "type": "Microsoft.Storage/storageAccounts/inventoryPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", + "properties": { + "lastModifiedTime": "2020-10-05T02:53:39.0932539Z", + "policy": { + "type": "Inventory", + "enabled": true, + "rules": [ + { + "name": "inventoryPolicyRule1", + "definition": { + "format": "Csv", + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob", + "pageBlob" + ], + "creationTime": { + "lastNDays": 1000 + }, + "includeBlobVersions": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] + }, + "objectType": "Blob", + "schedule": "Daily", + "schemaFields": [ + "Name", + "Creation-Time", + "Last-Modified", + "Content-Length", + "Content-MD5", + "BlobType", + "AccessTier", + "AccessTierChangeTime", + "Snapshot", + "VersionId", + "IsCurrentVersion", + "Metadata" + ] + }, + "destination": "container1", + "enabled": true + }, + { + "name": "inventoryPolicyRule2", + "definition": { + "format": "Parquet", + "objectType": "Container", + "schedule": "Weekly", + "schemaFields": [ + "Name", + "Last-Modified", + "Metadata", + "LeaseStatus", + "LeaseState", + "LeaseDuration", + "PublicAccess", + "HasImmutabilityPolicy", + "HasLegalHold" + ] + }, + "destination": "container2", + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "BlobInventoryPolicies_CreateOrUpdate", + "title": "StorageAccountSetBlobInventoryPolicy" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json similarity index 90% rename from specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json rename to specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json index 91c194a8a898..d8e36b3c1070 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json @@ -1,43 +1,39 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res7687", "accountName": "sto9699", + "api-version": "2025-06-01", "blobInventoryPolicyName": "default", - "api-version": "2025-01-01", "monitor": "true", "properties": { "properties": { "policy": { - "enabled": true, "type": "Inventory", + "enabled": true, "rules": [ { - "enabled": true, "name": "inventoryPolicyRule1", - "destination": "container1", "definition": { + "format": "Csv", "filters": { "blobTypes": [ "blockBlob", "appendBlob", "pageBlob" ], - "prefixMatch": [ - "inventoryprefix1", - "inventoryprefix2" - ], "excludePrefix": [ "excludeprefix1", "excludeprefix2" ], - "includeSnapshots": true, "includeBlobVersions": true, - "includeDeleted": true + "includeDeleted": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] }, - "format": "Csv", - "schedule": "Daily", "objectType": "Blob", + "schedule": "Daily", "schemaFields": [ "Name", "Creation-Time", @@ -61,15 +57,16 @@ "DeletedTime", "RemainingRetentionDays" ] - } + }, + "destination": "container1", + "enabled": true }, { - "enabled": true, "name": "inventoryPolicyRule2", "definition": { "format": "Parquet", - "schedule": "Weekly", "objectType": "Container", + "schedule": "Weekly", "schemaFields": [ "Name", "Last-Modified", @@ -90,50 +87,51 @@ "RemainingRetentionDays" ] }, - "destination": "container2" + "destination": "container2", + "enabled": true } ] } } - } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", "name": "DefaultInventoryPolicy", "type": "Microsoft.Storage/storageAccounts/inventoryPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", "properties": { "policy": { - "enabled": true, "type": "Inventory", + "enabled": true, "rules": [ { - "enabled": true, "name": "inventoryPolicyRule1", - "destination": "container1", "definition": { + "format": "Csv", "filters": { "blobTypes": [ "blockBlob", "appendBlob", "pageBlob" ], - "prefixMatch": [ - "inventoryprefix1", - "inventoryprefix2" - ], "excludePrefix": [ "excludeprefix1", "excludeprefix2" ], - "includeSnapshots": true, "includeBlobVersions": true, - "includeDeleted": true + "includeDeleted": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] }, - "format": "Csv", - "schedule": "Daily", "objectType": "Blob", + "schedule": "Daily", "schemaFields": [ "Name", "Creation-Time", @@ -157,15 +155,16 @@ "DeletedTime", "RemainingRetentionDays" ] - } + }, + "destination": "container1", + "enabled": true }, { - "enabled": true, "name": "inventoryPolicyRule2", "definition": { "format": "Parquet", - "schedule": "Weekly", "objectType": "Container", + "schedule": "Weekly", "schemaFields": [ "Name", "Last-Modified", @@ -186,12 +185,15 @@ "RemainingRetentionDays" ] }, - "destination": "container2" + "destination": "container2", + "enabled": true } ] } } } } - } + }, + "operationId": "BlobInventoryPolicies_CreateOrUpdate", + "title": "StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json similarity index 90% rename from specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json rename to specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json index 0251e9ed4f09..1ac780df67c5 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json @@ -1,43 +1,39 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res7687", "accountName": "sto9699", + "api-version": "2025-06-01", "blobInventoryPolicyName": "default", - "api-version": "2025-01-01", "monitor": "true", "properties": { "properties": { "policy": { - "enabled": true, "type": "Inventory", + "enabled": true, "rules": [ { - "enabled": true, "name": "inventoryPolicyRule1", - "destination": "container1", "definition": { + "format": "Csv", "filters": { "blobTypes": [ "blockBlob", "appendBlob", "pageBlob" ], - "prefixMatch": [ - "inventoryprefix1", - "inventoryprefix2" - ], "excludePrefix": [ "excludeprefix1", "excludeprefix2" ], - "includeSnapshots": true, "includeBlobVersions": true, - "includeDeleted": true + "includeDeleted": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] }, - "format": "Csv", - "schedule": "Daily", "objectType": "Blob", + "schedule": "Daily", "schemaFields": [ "Name", "Creation-Time", @@ -60,15 +56,16 @@ "Deleted", "RemainingRetentionDays" ] - } + }, + "destination": "container1", + "enabled": true }, { - "enabled": true, "name": "inventoryPolicyRule2", "definition": { "format": "Parquet", - "schedule": "Weekly", "objectType": "Container", + "schedule": "Weekly", "schemaFields": [ "Name", "Last-Modified", @@ -89,50 +86,51 @@ "RemainingRetentionDays" ] }, - "destination": "container2" + "destination": "container2", + "enabled": true } ] } } - } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", "name": "DefaultInventoryPolicy", "type": "Microsoft.Storage/storageAccounts/inventoryPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", "properties": { "policy": { - "enabled": true, "type": "Inventory", + "enabled": true, "rules": [ { - "enabled": true, "name": "inventoryPolicyRule1", - "destination": "container1", "definition": { + "format": "Csv", "filters": { "blobTypes": [ "blockBlob", "appendBlob", "pageBlob" ], - "prefixMatch": [ - "inventoryprefix1", - "inventoryprefix2" - ], "excludePrefix": [ "excludeprefix1", "excludeprefix2" ], - "includeSnapshots": true, "includeBlobVersions": true, - "includeDeleted": true + "includeDeleted": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] }, - "format": "Csv", - "schedule": "Daily", "objectType": "Blob", + "schedule": "Daily", "schemaFields": [ "Name", "Creation-Time", @@ -155,15 +153,16 @@ "Deleted", "RemainingRetentionDays" ] - } + }, + "destination": "container1", + "enabled": true }, { - "enabled": true, "name": "inventoryPolicyRule2", "definition": { "format": "Parquet", - "schedule": "Weekly", "objectType": "Container", + "schedule": "Weekly", "schemaFields": [ "Name", "Last-Modified", @@ -184,12 +183,15 @@ "RemainingRetentionDays" ] }, - "destination": "container2" + "destination": "container2", + "enabled": true } ] } } } } - } + }, + "operationId": "BlobInventoryPolicies_CreateOrUpdate", + "title": "StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount" } diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetManagementPolicy.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetManagementPolicy.json new file mode 100644 index 000000000000..401072cdb135 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetManagementPolicy.json @@ -0,0 +1,182 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-06-01", + "managementPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + }, + { + "name": "olcmtest2", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + } + }, + "filters": { + "blobIndexMatch": [ + { + "name": "tag1", + "op": "==", + "value": "val1" + }, + { + "name": "tag2", + "op": "==", + "value": "val2" + } + ], + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer2" + ] + } + }, + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2018-06-08T02:53:39.0932539Z", + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + }, + { + "name": "olcmtest2", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + } + }, + "filters": { + "blobIndexMatch": [ + { + "name": "tag1", + "op": "==", + "value": "val1" + }, + { + "name": "tag2", + "op": "==", + "value": "val2" + } + ], + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer2" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicies" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetManagementPolicyColdTierActions.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetManagementPolicyColdTierActions.json new file mode 100644 index 000000000000..6ce0684e993b --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetManagementPolicyColdTierActions.json @@ -0,0 +1,130 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-06-01", + "managementPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCold": { + "daysAfterModificationGreaterThan": 30 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 30 + }, + "tierToCold": { + "daysAfterCreationGreaterThan": 30 + } + }, + "version": { + "delete": { + "daysAfterCreationGreaterThan": 30 + }, + "tierToCold": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2021-06-08T02:53:39.0932539Z", + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCold": { + "daysAfterModificationGreaterThan": 30 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 30 + }, + "tierToCold": { + "daysAfterCreationGreaterThan": 30 + } + }, + "version": { + "delete": { + "daysAfterCreationGreaterThan": 30 + }, + "tierToCold": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicyColdTierActions" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json new file mode 100644 index 000000000000..fa402aef6d4e --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json @@ -0,0 +1,102 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-06-01", + "managementPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 90 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 90 + } + }, + "version": { + "delete": { + "daysAfterCreationGreaterThan": 90 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2018-06-08T02:53:39.0932539Z", + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 90 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 90 + } + }, + "version": { + "delete": { + "daysAfterCreationGreaterThan": 90 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicyForBlockAndAppendBlobs" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetManagementPolicyHotTierActions.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetManagementPolicyHotTierActions.json new file mode 100644 index 000000000000..a8e21e1af25b --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetManagementPolicyHotTierActions.json @@ -0,0 +1,100 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-06-01", + "managementPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "tierToHot": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "tierToHot": { + "daysAfterCreationGreaterThan": 30 + } + }, + "version": { + "tierToHot": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2021-06-08T02:53:39.0932539Z", + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "tierToHot": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "tierToHot": { + "daysAfterCreationGreaterThan": 30 + } + }, + "version": { + "tierToHot": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicyHotTierActions" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json new file mode 100644 index 000000000000..7688077535ca --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json @@ -0,0 +1,136 @@ +{ + "parameters": { + "accountName": "sto9699", + "api-version": "2025-06-01", + "managementPolicyName": "default", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterCreationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterCreationGreaterThan": 30 + } + }, + "version": { + "delete": { + "daysAfterCreationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterCreationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "properties": { + "lastModifiedTime": "2018-06-08T02:53:39.0932539Z", + "policy": { + "rules": [ + { + "name": "olcmtest1", + "type": "Lifecycle", + "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterCreationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterCreationGreaterThan": 30 + } + }, + "version": { + "delete": { + "daysAfterCreationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterCreationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterCreationGreaterThan": 30 + } + } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] + } + }, + "enabled": true + } + ] + } + } + } + } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicyWithSnapshotAndVersion" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json similarity index 85% rename from specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json rename to specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json index 02e9a9342d61..2f134b239bdf 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json @@ -1,90 +1,92 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res7687", "accountName": "sto9699", + "api-version": "2025-06-01", "managementPolicyName": "default", - "api-version": "2025-01-01", "monitor": "true", "properties": { "properties": { "policy": { "rules": [ { - "enabled": true, "name": "olcmtest1", "type": "Lifecycle", "definition": { - "filters": { - "blobTypes": [ - "blockBlob" - ], - "prefixMatch": [ - "olcmtestcontainer1" - ] - }, "actions": { "baseBlob": { - "tierToCool": { - "daysAfterCreationGreaterThan": 30 + "delete": { + "daysAfterCreationGreaterThan": 1000 }, "tierToArchive": { "daysAfterCreationGreaterThan": 90 }, - "delete": { - "daysAfterCreationGreaterThan": 1000 + "tierToCool": { + "daysAfterCreationGreaterThan": 30 } } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] } - } + }, + "enabled": true } ] } } - } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", "name": "DefaultManagementPolicy", "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", "properties": { + "lastModifiedTime": "2021-06-08T02:53:39.0932539Z", "policy": { "rules": [ { - "enabled": true, "name": "olcmtest1", "type": "Lifecycle", "definition": { - "filters": { - "blobTypes": [ - "blockBlob" - ], - "prefixMatch": [ - "olcmtestcontainer1" - ] - }, "actions": { "baseBlob": { - "tierToCool": { - "daysAfterCreationGreaterThan": 30 + "delete": { + "daysAfterCreationGreaterThan": 1000 }, "tierToArchive": { "daysAfterCreationGreaterThan": 90 }, - "delete": { - "daysAfterCreationGreaterThan": 1000 + "tierToCool": { + "daysAfterCreationGreaterThan": 30 } } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] } - } + }, + "enabled": true } ] - }, - "lastModifiedTime": "2021-06-08T02:53:39.0932539Z" + } } } } - } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json similarity index 82% rename from specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json rename to specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json index 943e49e5e50c..8d3fe1505d23 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json @@ -1,102 +1,104 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res7687", "accountName": "sto9699", + "api-version": "2025-06-01", "managementPolicyName": "default", - "api-version": "2025-01-01", "monitor": "true", "properties": { "properties": { "policy": { "rules": [ { - "enabled": true, "name": "olcmtest", "type": "Lifecycle", "definition": { - "filters": { - "blobTypes": [ - "blockBlob" - ], - "prefixMatch": [ - "olcmtestcontainer" - ] - }, "actions": { "baseBlob": { - "tierToCool": { - "daysAfterLastAccessTimeGreaterThan": 30 + "delete": { + "daysAfterLastAccessTimeGreaterThan": 1000 }, + "enableAutoTierToHotFromCool": true, "tierToArchive": { "daysAfterLastAccessTimeGreaterThan": 90 }, - "delete": { - "daysAfterLastAccessTimeGreaterThan": 1000 - }, - "enableAutoTierToHotFromCool": true + "tierToCool": { + "daysAfterLastAccessTimeGreaterThan": 30 + } }, "snapshot": { "delete": { "daysAfterCreationGreaterThan": 30 } } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer" + ] } - } + }, + "enabled": true } ] } } - } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", "name": "DefaultManagementPolicy", "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", "properties": { + "lastModifiedTime": "2018-06-08T02:53:39.0932539Z", "policy": { "rules": [ { - "enabled": true, "name": "olcmtest", "type": "Lifecycle", "definition": { - "filters": { - "blobTypes": [ - "blockBlob" - ], - "prefixMatch": [ - "olcmtestcontainer" - ] - }, "actions": { "baseBlob": { - "tierToCool": { - "daysAfterLastAccessTimeGreaterThan": 30 + "delete": { + "daysAfterLastAccessTimeGreaterThan": 1000 }, + "enableAutoTierToHotFromCool": true, "tierToArchive": { "daysAfterLastAccessTimeGreaterThan": 90 }, - "delete": { - "daysAfterLastAccessTimeGreaterThan": 1000 - }, - "enableAutoTierToHotFromCool": true + "tierToCool": { + "daysAfterLastAccessTimeGreaterThan": 30 + } }, "snapshot": { "delete": { "daysAfterCreationGreaterThan": 30 } } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer" + ] } - } + }, + "enabled": true } ] - }, - "lastModifiedTime": "2018-06-08T02:53:39.0932539Z" + } } } } - } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json similarity index 84% rename from specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json rename to specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json index a12452587acd..6960739f4406 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json @@ -1,39 +1,28 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res7687", "accountName": "sto9699", + "api-version": "2025-06-01", "managementPolicyName": "default", - "api-version": "2025-01-01", "monitor": "true", "properties": { "properties": { "policy": { "rules": [ { - "enabled": true, "name": "olcmtest", "type": "Lifecycle", "definition": { - "filters": { - "blobTypes": [ - "blockBlob" - ], - "prefixMatch": [ - "olcmtestcontainer" - ] - }, "actions": { "baseBlob": { - "tierToCool": { - "daysAfterModificationGreaterThan": 30 + "delete": { + "daysAfterModificationGreaterThan": 1000 }, "tierToArchive": { - "daysAfterModificationGreaterThan": 90, - "daysAfterLastTierChangeGreaterThan": 120 + "daysAfterLastTierChangeGreaterThan": 120, + "daysAfterModificationGreaterThan": 90 }, - "delete": { - "daysAfterModificationGreaterThan": 1000 + "tierToCool": { + "daysAfterModificationGreaterThan": 30 } }, "snapshot": { @@ -48,47 +37,50 @@ "daysAfterLastTierChangeGreaterThan": 90 } } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer" + ] } - } + }, + "enabled": true } ] } } - } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", "name": "DefaultManagementPolicy", "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", "properties": { + "lastModifiedTime": "2018-06-08T02:53:39.0932539Z", "policy": { "rules": [ { - "enabled": true, "name": "olcmtest", "type": "Lifecycle", "definition": { - "filters": { - "blobTypes": [ - "blockBlob" - ], - "prefixMatch": [ - "olcmtestcontainer" - ] - }, "actions": { "baseBlob": { - "tierToCool": { - "daysAfterModificationGreaterThan": 30 + "delete": { + "daysAfterModificationGreaterThan": 1000 }, "tierToArchive": { - "daysAfterModificationGreaterThan": 90, - "daysAfterLastTierChangeGreaterThan": 120 + "daysAfterLastTierChangeGreaterThan": 120, + "daysAfterModificationGreaterThan": 90 }, - "delete": { - "daysAfterModificationGreaterThan": 1000 + "tierToCool": { + "daysAfterModificationGreaterThan": 30 } }, "snapshot": { @@ -103,14 +95,24 @@ "daysAfterLastTierChangeGreaterThan": 90 } } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer" + ] } - } + }, + "enabled": true } ] - }, - "lastModifiedTime": "2018-06-08T02:53:39.0932539Z" + } } } } - } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicy_LastTierChangeTimeActions" } diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountUpdate.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountUpdate.json new file mode 100644 index 000000000000..a5881e7e529c --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountUpdate.json @@ -0,0 +1,162 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-06-01", + "monitor": "true", + "parameters": { + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "enableExtendedGroups": true, + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isLocalUserEnabled": true, + "isSftpEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "defaultAction": "Allow", + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ] + }, + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "geoPriorityReplicationStatus": { + "isBlobEnabled": true + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "enableExtendedGroups": true, + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "isLocalUserEnabled": true, + "isSftpEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false, + "geoPriorityReplicationStatus": { + "isBlobEnabled": true + } + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdate" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountUpdateAllowedCopyScopeToAAD.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountUpdateAllowedCopyScopeToAAD.json new file mode 100644 index 000000000000..49f237e048a6 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountUpdateAllowedCopyScopeToAAD.json @@ -0,0 +1,151 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-06-01", + "monitor": "true", + "parameters": { + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "allowedCopyScope": "AAD", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "defaultAction": "Allow", + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ] + }, + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "allowedCopyScope": "AAD", + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdateAllowedCopyScopeToAAD" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountUpdateDisablePublicNetworkAccess.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountUpdateDisablePublicNetworkAccess.json new file mode 100644 index 000000000000..efaec700dd9e --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountUpdateDisablePublicNetworkAccess.json @@ -0,0 +1,151 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-06-01", + "monitor": "true", + "parameters": { + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "defaultAction": "Allow", + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ] + }, + "publicNetworkAccess": "Disabled", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdateDisablePublicNetworkAccess" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountUpdateObjectReplicationPolicyOnDestination.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountUpdateObjectReplicationPolicyOnDestination.json new file mode 100644 index 000000000000..db1b47306504 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountUpdateObjectReplicationPolicyOnDestination.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "accountName": "dst112", + "api-version": "2025-06-01", + "monitor": "true", + "objectReplicationPolicyId": "2a20bb73-5717-4635-985a-5d4cf777438f", + "properties": { + "properties": { + "destinationAccount": "dst112", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "rules": [ + { + "destinationContainer": "dcont139", + "filters": { + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "scont139" + }, + { + "destinationContainer": "dcont179", + "sourceContainer": "scont179" + } + ], + "sourceAccount": "src1122" + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "2a20bb73-5717-4635-985a-5d4cf777438f", + "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/dst112/objectReplicationPolicies/2a20bb73-5717-4635-985a-5d4cf777438f", + "properties": { + "destinationAccount": "dst112", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "policyId": "2a20bb73-5717-4635-985a-5d4cf777438f", + "rules": [ + { + "destinationContainer": "destContainer1", + "filters": { + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "sourceContainer1" + }, + { + "destinationContainer": "dcont179", + "ruleId": "cfbb4bc2-8b60-429f-b05a-d1e0942b33b2", + "sourceContainer": "scont179" + } + ], + "sourceAccount": "src1122" + } + } + } + }, + "operationId": "ObjectReplicationPolicies_CreateOrUpdate", + "title": "StorageAccountUpdateObjectReplicationPolicyOnDestination" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountUpdateObjectReplicationPolicyOnSource.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountUpdateObjectReplicationPolicyOnSource.json new file mode 100644 index 000000000000..850691c56d26 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountUpdateObjectReplicationPolicyOnSource.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "accountName": "src1122", + "api-version": "2025-06-01", + "monitor": "true", + "objectReplicationPolicyId": "2a20bb73-5717-4635-985a-5d4cf777438f", + "properties": { + "properties": { + "destinationAccount": "dst112", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "rules": [ + { + "destinationContainer": "dcont139", + "filters": { + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "scont139" + }, + { + "destinationContainer": "dcont179", + "ruleId": "cfbb4bc2-8b60-429f-b05a-d1e0942b33b2", + "sourceContainer": "scont179" + } + ], + "sourceAccount": "src1122" + } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "2a20bb73-5717-4635-985a-5d4cf777438f", + "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/src1122/objectReplicationPolicies/2a20bb73-5717-4635-985a-5d4cf777438f", + "properties": { + "destinationAccount": "dst112", + "enabledTime": "2019-06-08T03:01:55.7168089Z", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "policyId": "2a20bb73-5717-4635-985a-5d4cf777438f", + "rules": [ + { + "destinationContainer": "destContainer1", + "filters": { + "prefixMatch": [ + "blobA", + "blobB" + ] + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "sourceContainer1" + }, + { + "destinationContainer": "dcont179", + "ruleId": "cfbb4bc2-8b60-429f-b05a-d1e0942b33b2", + "sourceContainer": "scont179" + } + ], + "sourceAccount": "src1122" + } + } + } + }, + "operationId": "ObjectReplicationPolicies_CreateOrUpdate", + "title": "StorageAccountUpdateObjectReplicationPolicyOnSource" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json similarity index 81% rename from specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json rename to specification/storage/Storage.Management/examples/2025-06-01/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json index 2c932bb95594..cf7403f21c34 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json @@ -1,9 +1,7 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9101", "accountName": "sto4445", - "api-version": "2025-01-01", + "api-version": "2025-06-01", "parameters": { "identity": { "type": "UserAssigned", @@ -11,106 +9,110 @@ "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": {} } }, - "sku": { - "name": "Standard_LRS" - }, "kind": "Storage", "properties": { "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true - }, - "blob": { - "keyType": "Account", - "enabled": true - } + "identity": { + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" }, + "keySource": "Microsoft.Keyvault", "keyvaultproperties": { - "keyvaulturi": "https://myvault8569.vault.azure.net", "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", "keyversion": "" }, - "keySource": "Microsoft.Keyvault", - "identity": { - "userAssignedIdentity": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } } } + }, + "sku": { + "name": "Standard_LRS" } - } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", "identity": { + "type": "UserAssigned", "userAssignedIdentities": { "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": { - "principalId": "8d823284-1060-42a5-9ec4-ed3d831e24d7", - "clientId": "fbaa6278-1ecc-415c-819f-6e2058d3acb5" + "clientId": "fbaa6278-1ecc-415c-819f-6e2058d3acb5", + "principalId": "8d823284-1060-42a5-9ec4-ed3d831e24d7" } - }, - "type": "UserAssigned" - }, - "sku": { - "name": "Standard_LRS", - "tier": "Standard" + } }, "kind": "StorageV2", - "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", - "name": "sto4445", - "type": "Microsoft.Storage/storageAccounts", "location": "eastus", - "tags": {}, "properties": { - "privateEndpointConnections": [], - "networkAcls": { - "bypass": "AzureServices", - "virtualNetworkRules": [], - "ipRules": [], - "defaultAction": "Allow" - }, - "supportsHttpsTrafficOnly": true, + "accessTier": "Hot", + "creationTime": "2020-12-15T00:43:14.0839093Z", "encryption": { "identity": { "userAssignedIdentity": "/subscriptions/{subscription-id}/resourcegroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" }, + "keySource": "Microsoft.Keyvault", "keyvaultproperties": { - "keyvaulturi": "https://myvault8569.vault.azure.net", + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", "keyversion": "", - "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" }, "services": { - "file": { - "keyType": "Account", + "blob": { "enabled": true, + "keyType": "Account", "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" }, - "blob": { - "keyType": "Account", + "file": { "enabled": true, + "keyType": "Account", "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" } - }, - "keySource": "Microsoft.Keyvault" + } + }, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "virtualNetworkRules": [] }, - "accessTier": "Hot", - "provisioningState": "Succeeded", - "creationTime": "2020-12-15T00:43:14.0839093Z", "primaryEndpoints": { - "web": "https://sto4445.web.core.windows.net/", - "dfs": "https://sto4445.dfs.core.windows.net/", "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", "file": "https://sto4445.file.core.windows.net/", "queue": "https://sto4445.queue.core.windows.net/", - "table": "https://sto4445.table.core.windows.net/" + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" }, "primaryLocation": "eastus", - "statusOfPrimary": "available" - } + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "statusOfPrimary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "tags": {} } } - } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json similarity index 79% rename from specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json rename to specification/storage/Storage.Management/examples/2025-06-01/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json index db6501f9476a..0a450ac389dc 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json @@ -1,9 +1,7 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res131918", "accountName": "sto131918", - "api-version": "2025-01-01", + "api-version": "2025-06-01", "parameters": { "identity": { "type": "UserAssigned", @@ -11,108 +9,112 @@ "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": {} } }, - "sku": { - "name": "Standard_LRS" - }, "kind": "Storage", "properties": { "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true - }, - "blob": { - "keyType": "Account", - "enabled": true - } + "identity": { + "federatedIdentityClientId": "3109d1c4-a5de-4d84-8832-feabb916a4b6", + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" }, + "keySource": "Microsoft.Keyvault", "keyvaultproperties": { - "keyvaulturi": "https://myvault8569.vault.azure.net", "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", "keyversion": "" }, - "keySource": "Microsoft.Keyvault", - "identity": { - "userAssignedIdentity": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}", - "federatedIdentityClientId": "3109d1c4-a5de-4d84-8832-feabb916a4b6" + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } } } + }, + "sku": { + "name": "Standard_LRS" } - } + }, + "resourceGroupName": "res131918", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", "identity": { + "type": "UserAssigned", "userAssignedIdentities": { "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": { - "principalId": "8d823284-1060-42a5-9ec4-ed3d831e24d7", - "clientId": "fbaa6278-1ecc-415c-819f-6e2058d3acb5" + "clientId": "fbaa6278-1ecc-415c-819f-6e2058d3acb5", + "principalId": "8d823284-1060-42a5-9ec4-ed3d831e24d7" } - }, - "type": "UserAssigned" - }, - "sku": { - "name": "Standard_LRS", - "tier": "Standard" + } }, "kind": "StorageV2", - "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", - "name": "sto4445", - "type": "Microsoft.Storage/storageAccounts", "location": "eastus", - "tags": {}, "properties": { - "privateEndpointConnections": [], - "networkAcls": { - "bypass": "AzureServices", - "virtualNetworkRules": [], - "ipRules": [], - "defaultAction": "Allow" - }, - "supportsHttpsTrafficOnly": true, + "accessTier": "Hot", + "creationTime": "2020-12-15T00:43:14.0839093Z", "encryption": { "identity": { - "userAssignedIdentity": "/subscriptions/{subscription-id}/resourcegroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}", - "federatedIdentityClientId": "3109d1c4-a5de-4d84-8832-feabb916a4b6" + "federatedIdentityClientId": "3109d1c4-a5de-4d84-8832-feabb916a4b6", + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourcegroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" }, + "keySource": "Microsoft.Keyvault", "keyvaultproperties": { - "keyvaulturi": "https://myvault8569.vault.azure.net", + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", "keyversion": "", - "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" }, "services": { - "file": { - "keyType": "Account", + "blob": { "enabled": true, + "keyType": "Account", "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" }, - "blob": { - "keyType": "Account", + "file": { "enabled": true, + "keyType": "Account", "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" } - }, - "keySource": "Microsoft.Keyvault" + } + }, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "virtualNetworkRules": [] }, - "accessTier": "Hot", - "provisioningState": "Succeeded", - "creationTime": "2020-12-15T00:43:14.0839093Z", "primaryEndpoints": { - "web": "https://sto4445.web.core.windows.net/", - "dfs": "https://sto4445.dfs.core.windows.net/", "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", "file": "https://sto4445.file.core.windows.net/", "queue": "https://sto4445.queue.core.windows.net/", - "table": "https://sto4445.table.core.windows.net/" + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" }, "primaryLocation": "eastus", - "statusOfPrimary": "available" - } + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "statusOfPrimary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "tags": {} } } - } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId" } diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountUpdateWithImmutabilityPolicy.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountUpdateWithImmutabilityPolicy.json new file mode 100644 index 000000000000..cae9d255e282 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountUpdateWithImmutabilityPolicy.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-06-01", + "monitor": "true", + "parameters": { + "properties": { + "immutableStorageWithVersioning": { + "enabled": true, + "immutabilityPolicy": { + "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 15, + "state": "Locked" + } + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "immutableStorageWithVersioning": { + "enabled": true, + "immutabilityPolicy": { + "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 15, + "state": "Locked" + } + } + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdateWithImmutabilityPolicy" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountUpdate_placement.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountUpdate_placement.json new file mode 100644 index 000000000000..4e33e234c6f0 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountUpdate_placement.json @@ -0,0 +1,165 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-06-01", + "monitor": "true", + "parameters": { + "placement": { + "zonePlacementPolicy": "Any" + }, + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "enableExtendedGroups": true, + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isLocalUserEnabled": true, + "isSftpEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "defaultAction": "Allow", + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ] + }, + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "placement": { + "zonePlacementPolicy": "Any" + }, + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "enableExtendedGroups": true, + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "isLocalUserEnabled": true, + "isSftpEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdate_placement" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountUpdate_zones.json b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountUpdate_zones.json new file mode 100644 index 000000000000..a2f826cfb117 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/StorageAccountUpdate_zones.json @@ -0,0 +1,162 @@ +{ + "parameters": { + "accountName": "sto8596", + "api-version": "2025-06-01", + "monitor": "true", + "parameters": { + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "enableExtendedGroups": true, + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isLocalUserEnabled": true, + "isSftpEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "defaultAction": "Allow", + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ] + }, + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } + }, + "zones": [ + "1" + ] + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "kind": "Storage", + "location": "eastus2(stage)", + "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "enableExtendedGroups": true, + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, + "isLocalUserEnabled": true, + "isSftpEnabled": true, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "resourceAccessRules": [ + { + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + } + ], + "virtualNetworkRules": [] + }, + "primaryEndpoints": { + "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", + "file": "https://sto8596.file.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, + "microsoftEndpoints": { + "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", + "file": "https://sto8596-microsoftrouting.file.core.windows.net/", + "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + }, + "secondaryLocation": "northcentralus(stage)", + "statusOfPrimary": "available", + "statusOfSecondary": "available", + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Standard_GRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdate_zones" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/TableOperationDelete.json b/specification/storage/Storage.Management/examples/2025-06-01/TableOperationDelete.json new file mode 100644 index 000000000000..5b990def5c90 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/TableOperationDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableName": "table6185" + }, + "responses": { + "204": {} + }, + "operationId": "Table_Delete", + "title": "TableOperationDelete" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/TableOperationGet.json b/specification/storage/Storage.Management/examples/2025-06-01/TableOperationGet.json new file mode 100644 index 000000000000..3cbea1af9dc2 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/TableOperationGet.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableName": "table6185" + }, + "responses": { + "200": { + "body": { + "name": "table6185", + "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", + "properties": { + "tableName": "table6185" + } + } + } + }, + "operationId": "Table_Get", + "title": "TableOperationGet" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/TableOperationList.json b/specification/storage/Storage.Management/examples/2025-06-01/TableOperationList.json new file mode 100644 index 000000000000..3778d0a3be11 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/TableOperationList.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://sto1590endpoint/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables?api-version=2022-09-01&NextTableName=1!40!bXl0YWJsZXNoYzU0OAEwMWQ2MTI5ZTJmYjVmODFh", + "value": [ + { + "name": "table6185", + "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", + "properties": { + "tableName": "table6185" + } + }, + { + "name": "table6186", + "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6186", + "properties": { + "tableName": "table6186" + } + } + ] + } + } + }, + "operationId": "Table_List", + "title": "TableOperationList" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/TableOperationPatch.json b/specification/storage/Storage.Management/examples/2025-06-01/TableOperationPatch.json new file mode 100644 index 000000000000..83c9276ff3f4 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/TableOperationPatch.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableName": "table6185" + }, + "responses": { + "200": { + "body": { + "name": "table6185", + "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", + "properties": { + "tableName": "table6185" + } + } + } + }, + "operationId": "Table_Update", + "title": "TableOperationPatch" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/TableOperationPut.json b/specification/storage/Storage.Management/examples/2025-06-01/TableOperationPut.json new file mode 100644 index 000000000000..bb16aa4c0665 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/TableOperationPut.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableName": "table6185" + }, + "responses": { + "200": { + "body": { + "name": "table6185", + "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", + "properties": { + "tableName": "table6185" + } + } + } + }, + "operationId": "Table_Create", + "title": "TableOperationPut" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/TableOperationPutOrPatchAcls.json b/specification/storage/Storage.Management/examples/2025-06-01/TableOperationPutOrPatchAcls.json new file mode 100644 index 000000000000..02ade7079343 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/TableOperationPutOrPatchAcls.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-06-01", + "monitor": "true", + "parameters": { + "properties": { + "signedIdentifiers": [ + { + "accessPolicy": { + "expiryTime": "2022-03-20T08:49:37.0000000Z", + "permission": "raud", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI" + }, + { + "accessPolicy": { + "expiryTime": "2022-03-20T08:49:37.0000000Z", + "permission": "rad", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "PTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODklMTI" + } + ] + } + }, + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableName": "table6185" + }, + "responses": { + "200": { + "body": { + "name": "table6185", + "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", + "properties": { + "signedIdentifiers": [ + { + "accessPolicy": { + "expiryTime": "2022-03-20T08:49:37.0000000Z", + "permission": "raud", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI" + }, + { + "accessPolicy": { + "expiryTime": "2022-03-20T08:49:37.0000000Z", + "permission": "rad", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "PTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODklMTI" + } + ], + "tableName": "table6185" + } + } + } + }, + "operationId": "Table_Update", + "title": "TableOperationPutOrPatchAcls" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/TableOperationPutOrPatchAclsTableCreate.json b/specification/storage/Storage.Management/examples/2025-06-01/TableOperationPutOrPatchAclsTableCreate.json new file mode 100644 index 000000000000..eb7b6b037a6b --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/TableOperationPutOrPatchAclsTableCreate.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-06-01", + "monitor": "true", + "parameters": { + "properties": { + "signedIdentifiers": [ + { + "accessPolicy": { + "expiryTime": "2022-03-20T08:49:37.0000000Z", + "permission": "raud", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI" + }, + { + "accessPolicy": { + "expiryTime": "2022-03-20T08:49:37.0000000Z", + "permission": "rad", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "PTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODklMTI" + } + ] + } + }, + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableName": "table6185" + }, + "responses": { + "200": { + "body": { + "name": "table6185", + "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", + "properties": { + "signedIdentifiers": [ + { + "accessPolicy": { + "expiryTime": "2022-03-20T08:49:37.0000000Z", + "permission": "raud", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI" + }, + { + "accessPolicy": { + "expiryTime": "2022-03-20T08:49:37.0000000Z", + "permission": "rad", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "PTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODklMTI" + } + ], + "tableName": "table6185" + } + } + } + }, + "operationId": "Table_Create", + "title": "TableOperationPutOrPatchAcls" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/TableServicesGet.json b/specification/storage/Storage.Management/examples/2025-06-01/TableServicesGet.json new file mode 100644 index 000000000000..c50146ece9f7 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/TableServicesGet.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "accountName": "sto8607", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableServiceName": "default" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/tableServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/tableServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + } + } + }, + "operationId": "TableServices_GetServiceProperties", + "title": "TableServicesGet" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/TableServicesList.json b/specification/storage/Storage.Management/examples/2025-06-01/TableServicesList.json new file mode 100644 index 000000000000..785059df5c64 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/TableServicesList.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "accountName": "sto1590", + "api-version": "2025-06-01", + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/tableServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/tableServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + } + ] + } + } + }, + "operationId": "TableServices_List", + "title": "TableServicesList" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/TableServicesPut.json b/specification/storage/Storage.Management/examples/2025-06-01/TableServicesPut.json new file mode 100644 index 000000000000..11ea3e940b6a --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/TableServicesPut.json @@ -0,0 +1,149 @@ +{ + "parameters": { + "accountName": "sto8607", + "api-version": "2025-06-01", + "monitor": "true", + "parameters": { + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableServiceName": "default" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Storage/storageAccounts/tableServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/tableServices/default", + "properties": { + "cors": { + "corsRules": [ + { + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "allowedMethods": [ + "GET", + "HEAD", + "POST", + "OPTIONS", + "MERGE", + "PUT" + ], + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], + "exposedHeaders": [ + "x-ms-meta-*" + ], + "maxAgeInSeconds": 100 + }, + { + "allowedHeaders": [ + "*" + ], + "allowedMethods": [ + "GET" + ], + "allowedOrigins": [ + "*" + ], + "exposedHeaders": [ + "*" + ], + "maxAgeInSeconds": 2 + }, + { + "allowedHeaders": [ + "x-ms-meta-12345675754564*" + ], + "allowedMethods": [ + "GET", + "PUT" + ], + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], + "exposedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" + ], + "maxAgeInSeconds": 2000 + } + ] + } + } + } + } + }, + "operationId": "TableServices_SetServiceProperties", + "title": "TableServicesPut" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/storageTaskAssignmentsCrud/DeleteStorageTaskAssignment.json b/specification/storage/Storage.Management/examples/2025-06-01/storageTaskAssignmentsCrud/DeleteStorageTaskAssignment.json new file mode 100644 index 000000000000..daa5a853d7a5 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/storageTaskAssignmentsCrud/DeleteStorageTaskAssignment.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-06-01", + "resourceGroupName": "res4228", + "storageTaskAssignmentName": "myassignment1", + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-06-01" + } + }, + "204": {} + }, + "operationId": "StorageTaskAssignments_Delete", + "title": "DeleteStorageTaskAssignment" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/storageTaskAssignmentsCrud/GetStorageTaskAssignment.json b/specification/storage/Storage.Management/examples/2025-06-01/storageTaskAssignmentsCrud/GetStorageTaskAssignment.json new file mode 100644 index 000000000000..5367de0afc4a --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/storageTaskAssignmentsCrud/GetStorageTaskAssignment.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-06-01", + "resourceGroupName": "res4228", + "storageTaskAssignmentName": "myassignment1", + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" + }, + "responses": { + "200": { + "body": { + "name": "myassignment1", + "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", + "properties": { + "description": "My Storage task assignment", + "enabled": true, + "executionContext": { + "target": { + "excludePrefix": [], + "prefix": [ + "prefix1", + "prefix2" + ] + }, + "trigger": { + "type": "RunOnce", + "parameters": { + "startOn": "2022-11-15T21:52:47.8145095Z" + } + } + }, + "provisioningState": "Succeeded", + "report": { + "prefix": "container1" + }, + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" + } + } + } + }, + "operationId": "StorageTaskAssignments_Get", + "title": "GetStorageTaskAssignment" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/storageTaskAssignmentsCrud/PatchStorageTaskAssignment.json b/specification/storage/Storage.Management/examples/2025-06-01/storageTaskAssignmentsCrud/PatchStorageTaskAssignment.json new file mode 100644 index 000000000000..ac4a86dc6e12 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/storageTaskAssignmentsCrud/PatchStorageTaskAssignment.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-06-01", + "parameters": { + "properties": { + "description": "My Storage task assignment", + "enabled": true, + "executionContext": { + "target": { + "excludePrefix": [], + "prefix": [ + "prefix1", + "prefix2" + ] + }, + "trigger": { + "type": "RunOnce", + "parameters": { + "startOn": "2022-11-15T21:52:47.8145095Z" + } + } + }, + "report": { + "prefix": "container1" + } + } + }, + "resourceGroupName": "res4228", + "storageTaskAssignmentName": "myassignment1", + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" + }, + "responses": { + "200": { + "body": { + "name": "myassignment1", + "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", + "properties": { + "description": "My Storage task assignment", + "enabled": true, + "executionContext": { + "target": { + "excludePrefix": [], + "prefix": [ + "prefix1", + "prefix2" + ] + }, + "trigger": { + "type": "RunOnce", + "parameters": { + "startOn": "2022-11-15T21:52:47.8145095Z" + } + } + }, + "provisioningState": "Succeeded", + "report": { + "prefix": "container1" + }, + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-06-01" + } + } + }, + "operationId": "StorageTaskAssignments_Update", + "title": "PatchStorageTaskAssignment" +} diff --git a/specification/storage/Storage.Management/examples/2025-06-01/storageTaskAssignmentsCrud/PutStorageTaskAssignment.json b/specification/storage/Storage.Management/examples/2025-06-01/storageTaskAssignmentsCrud/PutStorageTaskAssignment.json new file mode 100644 index 000000000000..4819345d72d9 --- /dev/null +++ b/specification/storage/Storage.Management/examples/2025-06-01/storageTaskAssignmentsCrud/PutStorageTaskAssignment.json @@ -0,0 +1,105 @@ +{ + "parameters": { + "accountName": "sto4445", + "api-version": "2025-06-01", + "parameters": { + "properties": { + "description": "My Storage task assignment", + "enabled": true, + "executionContext": { + "target": { + "excludePrefix": [], + "prefix": [ + "prefix1", + "prefix2" + ] + }, + "trigger": { + "type": "RunOnce", + "parameters": { + "startOn": "2022-11-15T21:52:47.8145095Z" + } + } + }, + "report": { + "prefix": "container1" + }, + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" + } + }, + "resourceGroupName": "res4228", + "storageTaskAssignmentName": "myassignment1", + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" + }, + "responses": { + "200": { + "body": { + "name": "myassignment1", + "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", + "properties": { + "description": "My Storage task assignment", + "enabled": true, + "executionContext": { + "target": { + "excludePrefix": [], + "prefix": [ + "prefix1", + "prefix2" + ] + }, + "trigger": { + "type": "RunOnce", + "parameters": { + "startOn": "2022-11-15T21:52:47.8145095Z" + } + } + }, + "provisioningState": "Succeeded", + "report": { + "prefix": "container1" + }, + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" + } + } + }, + "201": { + "body": { + "name": "myassignment1", + "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", + "properties": { + "description": "My Storage task assignment", + "enabled": true, + "executionContext": { + "target": { + "excludePrefix": [], + "prefix": [ + "prefix1", + "prefix2" + ] + }, + "trigger": { + "type": "RunOnce", + "parameters": { + "startOn": "2022-11-15T21:52:47.8145095Z" + } + } + }, + "provisioningState": "Succeeded", + "report": { + "prefix": "container1" + }, + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-06-01" + } + } + }, + "operationId": "StorageTaskAssignments_Create", + "title": "PutStorageTaskAssignment" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/storageTaskAssignmentsCrud/PutStorageTaskAssignmentRequiredProperties.json b/specification/storage/Storage.Management/examples/2025-06-01/storageTaskAssignmentsCrud/PutStorageTaskAssignmentRequiredProperties.json similarity index 82% rename from specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/storageTaskAssignmentsCrud/PutStorageTaskAssignmentRequiredProperties.json rename to specification/storage/Storage.Management/examples/2025-06-01/storageTaskAssignmentsCrud/PutStorageTaskAssignmentRequiredProperties.json index f5a26e55f9f7..8d799a44e91e 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/storageTaskAssignmentsCrud/PutStorageTaskAssignmentRequiredProperties.json +++ b/specification/storage/Storage.Management/examples/2025-06-01/storageTaskAssignmentsCrud/PutStorageTaskAssignmentRequiredProperties.json @@ -1,15 +1,11 @@ { "parameters": { - "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616", - "resourceGroupName": "res4228", "accountName": "sto4445", - "storageTaskAssignmentName": "myassignment1", - "api-version": "2025-01-01", + "api-version": "2025-06-01", "parameters": { "properties": { - "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", - "enabled": true, "description": "My Storage task assignment", + "enabled": true, "executionContext": { "trigger": { "type": "RunOnce", @@ -20,20 +16,23 @@ }, "report": { "prefix": "container1" - } + }, + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" } - } + }, + "resourceGroupName": "res4228", + "storageTaskAssignmentName": "myassignment1", + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" }, "responses": { "200": { "body": { - "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", "name": "myassignment1", "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", "properties": { - "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", - "enabled": true, "description": "My Storage task assignment", + "enabled": true, "executionContext": { "trigger": { "type": "RunOnce", @@ -42,22 +41,22 @@ } } }, + "provisioningState": "Succeeded", "report": { "prefix": "container1" }, - "provisioningState": "Succeeded" + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" } } }, "201": { "body": { - "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", "name": "myassignment1", "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", "properties": { - "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", - "enabled": true, "description": "My Storage task assignment", + "enabled": true, "executionContext": { "trigger": { "type": "RunOnce", @@ -66,18 +65,20 @@ } } }, + "provisioningState": "Succeeded", "report": { "prefix": "container1" }, - "provisioningState": "Succeeded" + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" } } }, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/eastus/ActionsRPOperationStatuses/00000000-0000-0000-0000-000000000000*00000?api-version=2025-01-01", - "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-01-01" + "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-06-01" } } - } + }, + "operationId": "StorageTaskAssignments_Create", + "title": "PutStorageTaskAssignmentRequiredProperties" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentInstancesReportSummary.json b/specification/storage/Storage.Management/examples/2025-06-01/storageTaskAssignmentsList/ListStorageTaskAssignmentInstancesReportSummary.json similarity index 88% rename from specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentInstancesReportSummary.json rename to specification/storage/Storage.Management/examples/2025-06-01/storageTaskAssignmentsList/ListStorageTaskAssignmentInstancesReportSummary.json index b966f8d6b3ef..bb225e6534ef 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentInstancesReportSummary.json +++ b/specification/storage/Storage.Management/examples/2025-06-01/storageTaskAssignmentsList/ListStorageTaskAssignmentInstancesReportSummary.json @@ -1,59 +1,61 @@ { "parameters": { - "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616", - "resourceGroupName": "res4228", "accountName": "sto4445", + "api-version": "2025-06-01", + "resourceGroupName": "res4228", "storageTaskAssignmentName": "myassignment1", - "api-version": "2025-01-01" + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/instance1", "name": "instance1", "type": "Microsoft.Storage/storageAccounts/reports", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/instance1", "properties": { - "taskAssignmentId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", - "storageAccountId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445", - "startTime": "2023-06-23T00:30:43.226744Z", "finishTime": "2023-06-23T00:40:10.2931264Z", - "objectsTargetedCount": "150", - "objectsOperatedOnCount": "150", "objectFailedCount": "0", + "objectsOperatedOnCount": "150", "objectsSucceededCount": "150", - "runStatusError": "0", + "objectsTargetedCount": "150", + "runResult": "Succeeded", "runStatusEnum": "Finished", + "runStatusError": "0", + "startTime": "2023-06-23T00:30:43.226744Z", + "storageAccountId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445", "summaryReportPath": "https://acc123.blob.core.windows.net/result-container/{folderpath}/SummaryReport.json", + "taskAssignmentId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", - "taskVersion": "1", - "runResult": "Succeeded" + "taskVersion": "1" } }, { - "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/instance2", "name": "instance2", "type": "Microsoft.Storage/storageAccounts/reports", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/instance2", "properties": { - "taskAssignmentId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", - "storageAccountId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445", - "startTime": "2023-06-23T00:30:43.226744Z", "finishTime": "2023-06-23T00:40:10.2931264Z", - "objectsTargetedCount": "150", - "objectsOperatedOnCount": "150", "objectFailedCount": "0", + "objectsOperatedOnCount": "150", "objectsSucceededCount": "150", - "runStatusError": "0", + "objectsTargetedCount": "150", + "runResult": "Succeeded", "runStatusEnum": "Finished", + "runStatusError": "0", + "startTime": "2023-06-23T00:30:43.226744Z", + "storageAccountId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445", "summaryReportPath": "https://acc123.blob.core.windows.net/result-container/{folderpath}/SummaryReport.json", + "taskAssignmentId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", - "taskVersion": "1", - "runResult": "Succeeded" + "taskVersion": "1" } } ] } } - } + }, + "operationId": "StorageTaskAssignmentInstancesReport_List", + "title": "ListStorageTaskAssignmentInstancesReportSummary" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsForAccount.json b/specification/storage/Storage.Management/examples/2025-06-01/storageTaskAssignmentsList/ListStorageTaskAssignmentsForAccount.json similarity index 83% rename from specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsForAccount.json rename to specification/storage/Storage.Management/examples/2025-06-01/storageTaskAssignmentsList/ListStorageTaskAssignmentsForAccount.json index f7ddde63dc56..2b082c5ee9ed 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsForAccount.json +++ b/specification/storage/Storage.Management/examples/2025-06-01/storageTaskAssignmentsList/ListStorageTaskAssignmentsForAccount.json @@ -1,29 +1,28 @@ { "parameters": { - "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616", - "resourceGroupName": "res4228", "accountName": "sto4445", - "api-version": "2025-01-01" + "api-version": "2025-06-01", + "resourceGroupName": "res4228", + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", "name": "myassignment1", "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", "properties": { - "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", - "enabled": true, "description": "My Storage task assignment #1", + "enabled": true, "executionContext": { "target": { + "excludePrefix": [], "prefix": [ "prefix1", "prefix2" - ], - "excludePrefix": [] + ] }, "trigger": { "type": "RunOnce", @@ -32,27 +31,27 @@ } } }, + "provisioningState": "Succeeded", "report": { "prefix": "container1" }, - "provisioningState": "Succeeded" + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" } }, { - "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment2", "name": "myassignment2", "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment2", "properties": { - "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask2", - "enabled": true, "description": "My Storage task assignment #2", + "enabled": true, "executionContext": { "target": { + "excludePrefix": [], "prefix": [ "prefix3", "prefix4" - ], - "excludePrefix": [] + ] }, "trigger": { "type": "RunOnce", @@ -61,14 +60,17 @@ } } }, + "provisioningState": "Succeeded", "report": { "prefix": "container2" }, - "provisioningState": "Succeeded" + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask2" } } ] } } - } + }, + "operationId": "StorageTaskAssignments_List", + "title": "ListStorageTaskAssignmentsForAccount" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsInstancesReportSummary.json b/specification/storage/Storage.Management/examples/2025-06-01/storageTaskAssignmentsList/ListStorageTaskAssignmentsInstancesReportSummary.json similarity index 88% rename from specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsInstancesReportSummary.json rename to specification/storage/Storage.Management/examples/2025-06-01/storageTaskAssignmentsList/ListStorageTaskAssignmentsInstancesReportSummary.json index f4c3331110b4..980eec9914cb 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsInstancesReportSummary.json +++ b/specification/storage/Storage.Management/examples/2025-06-01/storageTaskAssignmentsList/ListStorageTaskAssignmentsInstancesReportSummary.json @@ -1,58 +1,60 @@ { "parameters": { - "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616", - "resourceGroupName": "res4228", "accountName": "sto4445", - "api-version": "2025-01-01" + "api-version": "2025-06-01", + "resourceGroupName": "res4228", + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/instance1", "name": "instance1", "type": "Microsoft.Storage/storageAccounts/reports", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/instance1", "properties": { - "taskAssignmentId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", - "storageAccountId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445", - "startTime": "2023-06-23T00:30:43.226744Z", "finishTime": "2023-06-23T00:40:10.2931264Z", - "objectsTargetedCount": "150", - "objectsOperatedOnCount": "150", "objectFailedCount": "0", + "objectsOperatedOnCount": "150", "objectsSucceededCount": "150", - "runStatusError": "0", + "objectsTargetedCount": "150", + "runResult": "Succeeded", "runStatusEnum": "Finished", + "runStatusError": "0", + "startTime": "2023-06-23T00:30:43.226744Z", + "storageAccountId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445", "summaryReportPath": "https://acc123.blob.core.windows.net/result-container/{folderpath}/SummaryReport.json", + "taskAssignmentId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", - "taskVersion": "1", - "runResult": "Succeeded" + "taskVersion": "1" } }, { - "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/instance2", "name": "instance2", "type": "Microsoft.Storage/storageAccounts/reports", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/instance2", "properties": { - "taskAssignmentId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment2", - "storageAccountId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445", - "startTime": "2023-06-23T00:30:43.226744Z", "finishTime": "2023-06-23T00:40:10.2931264Z", - "objectsTargetedCount": "150", - "objectsOperatedOnCount": "150", "objectFailedCount": "0", + "objectsOperatedOnCount": "150", "objectsSucceededCount": "150", - "runStatusError": "0", + "objectsTargetedCount": "150", + "runResult": "Succeeded", "runStatusEnum": "Finished", + "runStatusError": "0", + "startTime": "2023-06-23T00:30:43.226744Z", + "storageAccountId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445", "summaryReportPath": "https://acc123.blob.core.windows.net/result-container/{folderpath}/SummaryReport.json", + "taskAssignmentId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment2", "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", - "taskVersion": "1", - "runResult": "Succeeded" + "taskVersion": "1" } } ] } } - } + }, + "operationId": "StorageTaskAssignmentsInstancesReport_List", + "title": "ListStorageTaskAssignmentsInstancesReportSummary" } diff --git a/specification/storage/Storage.Management/main.tsp b/specification/storage/Storage.Management/main.tsp new file mode 100644 index 000000000000..01008a6646e1 --- /dev/null +++ b/specification/storage/Storage.Management/main.tsp @@ -0,0 +1,72 @@ +/** + * PLEASE DO NOT REMOVE - USED FOR CONVERTER METRICS + * Generated by package: @autorest/openapi-to-typespec + * Parameters used: + * isFullCompatible: true + * guessResourceKey: false + * Version: 0.11.1 + * Date: 2025-06-24T07:05:39.182Z + */ +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./models.tsp"; +import "./back-compatible.tsp"; +import "./BlobServiceProperties.tsp"; +import "./BlobContainer.tsp"; +import "./ImmutabilityPolicy.tsp"; +import "./FileServiceProperties.tsp"; +import "./FileServiceUsage.tsp"; +import "./FileShare.tsp"; +import "./QueueServiceProperties.tsp"; +import "./StorageQueue.tsp"; +import "./StorageAccount.tsp"; +import "./StorageAccountMigration.tsp"; +import "./DeletedAccount.tsp"; +import "./ManagementPolicy.tsp"; +import "./BlobInventoryPolicy.tsp"; +import "./PrivateEndpointConnection.tsp"; +import "./ObjectReplicationPolicy.tsp"; +import "./LocalUser.tsp"; +import "./EncryptionScope.tsp"; +import "./TableServiceProperties.tsp"; +import "./Table.tsp"; +import "./NetworkSecurityPerimeterConfiguration.tsp"; +import "./StorageTaskAssignment.tsp"; +import "./routes.tsp"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager.Foundations; +using Azure.Core; +using Azure.ResourceManager; +using TypeSpec.Versioning; +/** + * The Azure Storage Management API. + */ +@armProviderNamespace +@service(#{ title: "StorageManagementClient" }) +@versioned(Versions) +@armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5) +namespace Microsoft.Storage; + +/** + * The available API versions. + */ +enum Versions { + /** + * The 2025-06-01 API version. + */ + v2025_06_01: "2025-06-01", +} + +interface Operations + extends Azure.ResourceManager.Legacy.Operations< + ArmResponse, + ErrorResponse + > {} + +@@doc(Operations.list, + "Lists all of the available Storage Rest API operations." +); diff --git a/specification/storage/Storage.Management/models.tsp b/specification/storage/Storage.Management/models.tsp new file mode 100644 index 000000000000..26f669729dd7 --- /dev/null +++ b/specification/storage/Storage.Management/models.tsp @@ -0,0 +1,6050 @@ +import "@typespec/rest"; +import "@typespec/http"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.Core; +using Azure.ResourceManager; +using Azure.ResourceManager.Foundations; + +namespace Microsoft.Storage; + +/** + * Run interval unit of task execution. This is a required field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce' + */ +union IntervalUnit { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + days: "Days", +} + +/** + * Common fields that are returned in the response for all Azure Resource Manager resources + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-no-key" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@Azure.ResourceManager.Legacy.customAzureResource(#{ isAzureResource: true }) +model Resource { + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + @visibility(Lifecycle.Read) + id?: string; + + /** + * The name of the resource + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + @visibility(Lifecycle.Read) + type?: string; +} + +/** + * Geo Priority Replication enablement status for the storage account. + */ +model GeoPriorityReplicationStatus { + /** Indicates whether Blob Geo Priority Replication is enabled for the storage account. */ + isBlobEnabled?: boolean; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union AllowedMethods { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + DELETE: "DELETE", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + GET: "GET", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + HEAD: "HEAD", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + MERGE: "MERGE", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + POST: "POST", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + OPTIONS: "OPTIONS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PUT: "PUT", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PATCH: "PATCH", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + CONNECT: "CONNECT", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TRACE: "TRACE", +} + +/** + * Name of the policy. The valid value is AccessTimeTracking. This field is currently read only + */ +union Name { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AccessTimeTracking: "AccessTimeTracking", +} + +/** + * The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType. + */ +union SkuName { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Standard_LRS: "Standard_LRS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Standard_GRS: "Standard_GRS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Standard_RAGRS: "Standard_RAGRS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Standard_ZRS: "Standard_ZRS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Premium_LRS: "Premium_LRS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Premium_ZRS: "Premium_ZRS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Standard_GZRS: "Standard_GZRS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Standard_RAGZRS: "Standard_RAGZRS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + StandardV2_LRS: "StandardV2_LRS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + StandardV2_GRS: "StandardV2_GRS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + StandardV2_ZRS: "StandardV2_ZRS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + StandardV2_GZRS: "StandardV2_GZRS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PremiumV2_LRS: "PremiumV2_LRS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PremiumV2_ZRS: "PremiumV2_ZRS", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union ListContainersInclude { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + deleted: "deleted", +} + +/** + * The lease status of the container. + */ +union LeaseStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Locked: "Locked", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unlocked: "Unlocked", +} + +/** + * Lease state of the container. + */ +union LeaseState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Available: "Available", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Leased: "Leased", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Expired: "Expired", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Breaking: "Breaking", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Broken: "Broken", +} + +/** + * Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased. + */ +union LeaseDuration { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Infinite: "Infinite", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Fixed: "Fixed", +} + +/** + * The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked. + */ +union ImmutabilityPolicyState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Locked: "Locked", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unlocked: "Unlocked", +} + +/** + * The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend. + */ +union ImmutabilityPolicyUpdateType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + put: "put", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + lock: "lock", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + extend: "extend", +} + +/** + * This property denotes the container level immutability to object level immutability migration state. + */ +union MigrationState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + InProgress: "InProgress", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Completed: "Completed", +} + +/** + * Specifies the lease action. Can be one of the available actions. + */ +union LeaseContainerRequestAction { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Acquire: "Acquire", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Renew: "Renew", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Change: "Change", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Release: "Release", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Break: "Break", +} + +/** + * The authentication protocol that is used for the file share. Can only be specified when creating a share. + */ +union EnabledProtocols { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + SMB: "SMB", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NFS: "NFS", +} + +/** + * The property is for NFS share only. The default is NoRootSquash. + */ +union RootSquashType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NoRootSquash: "NoRootSquash", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RootSquash: "RootSquash", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AllSquash: "AllSquash", +} + +/** + * Access tier for specific share. GpV2 account can choose between TransactionOptimized (default), Hot, and Cool. FileStorage account can choose Premium. + */ +union ShareAccessTier { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TransactionOptimized: "TransactionOptimized", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Hot: "Hot", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Cool: "Cool", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Premium: "Premium", +} + +/** + * Specifies the lease action. Can be one of the available actions. + */ +union LeaseShareAction { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Acquire: "Acquire", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Renew: "Renew", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Change: "Change", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Release: "Release", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Break: "Break", +} + +/** + * Indicates the type of storage account. + */ +union Kind { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Storage: "Storage", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + StorageV2: "StorageV2", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + BlobStorage: "BlobStorage", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + FileStorage: "FileStorage", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + BlockBlobStorage: "BlockBlobStorage", +} + +/** + * The reason for the restriction. As of now this can be "QuotaId" or "NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The "NotAvailableForSubscription" is related to capacity at DC. + */ +union ReasonCode { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + QuotaId: "QuotaId", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NotAvailableForSubscription: "NotAvailableForSubscription", +} + +/** + * The type of extendedLocation. + */ +union ExtendedLocationTypes { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + EdgeZone: "EdgeZone", +} + +/** + * The availability zone pinning policy for the storage account. + */ +union ZonePlacementPolicy { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Any: "Any", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + None: "None", +} + +/** + * The identity type. + */ +union IdentityType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + None: "None", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + SystemAssigned: "SystemAssigned", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + UserAssigned: "UserAssigned", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + `SystemAssigned,UserAssigned`: "SystemAssigned,UserAssigned", +} + +/** + * Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet. + */ +union AllowedCopyScope { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + PrivateLink: "PrivateLink", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AAD: "AAD", +} + +/** + * Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account. Value is optional but if passed in, must be 'Enabled', 'Disabled' or 'SecuredByPerimeter'. + */ +union PublicNetworkAccess { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + SecuredByPerimeter: "SecuredByPerimeter", +} + +/** + * The SAS Expiration Action defines the action to be performed when sasPolicy.sasExpirationPeriod is violated. The 'Log' action can be used for audit purposes and the 'Block' action can be used to block and deny the usage of SAS tokens that do not adhere to the sas policy expiration period. + */ +union ExpirationAction { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Log: "Log", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Block: "Block", +} + +/** + * Encryption key type to be used for the encryption service. 'Account' key type implies that an account-scoped encryption key will be used. 'Service' key type implies that a default service key is used. + */ +union KeyType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Service: "Service", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Account: "Account", +} + +/** + * The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault + */ +union KeySource { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + `Microsoft.Storage`: "Microsoft.Storage", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + `Microsoft.Keyvault`: "Microsoft.Keyvault", +} + +/** + * Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None to bypass none of those traffics. + */ +union Bypass { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + None: "None", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Logging: "Logging", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Metrics: "Metrics", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AzureServices: "AzureServices", +} + +/** + * Gets the state of virtual network rule. + */ +union State { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Provisioning: "Provisioning", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Deprovisioning: "Deprovisioning", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Succeeded: "Succeeded", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Failed: "Failed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + NetworkSourceDeleted: "NetworkSourceDeleted", +} + +/** + * Indicates the directory service used. Note that this enum may be extended in the future. + */ +union DirectoryServiceOptions { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + None: "None", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AADDS: "AADDS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AD: "AD", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AADKERB: "AADKERB", +} + +/** + * Specifies the Active Directory account type for Azure Storage. If directoryServiceOptions is set to AD (AD DS authentication), this property is optional. If provided, samAccountName should also be provided. For directoryServiceOptions AADDS (Entra DS authentication) or AADKERB (Entra authentication), this property can be omitted. + */ +union AccountType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + User: "User", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Computer: "Computer", +} + +/** + * Default share permission for users using Kerberos authentication if RBAC role is not assigned. + */ +union DefaultSharePermission { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + None: "None", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + StorageFileDataSmbShareReader: "StorageFileDataSmbShareReader", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + StorageFileDataSmbShareContributor: "StorageFileDataSmbShareContributor", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + StorageFileDataSmbShareElevatedContributor: "StorageFileDataSmbShareElevatedContributor", +} + +/** + * Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. + */ +union LargeFileSharesState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", +} + +/** + * Routing Choice defines the kind of network routing opted by the user. + */ +union RoutingChoice { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + MicrosoftRouting: "MicrosoftRouting", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + InternetRouting: "InternetRouting", +} + +/** + * Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. + */ +union MinimumTlsVersion { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TLS1_0: "TLS1_0", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TLS1_1: "TLS1_1", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TLS1_2: "TLS1_2", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + TLS1_3: "TLS1_3", +} + +/** + * The ImmutabilityPolicy state defines the mode of the policy. Disabled state disables the policy, Unlocked state allows increase and decrease of immutability retention time and also allows toggling allowProtectedAppendWrites property, Locked state only allows the increase of the immutability retention time. A policy can only be created in a Disabled or Unlocked state and can be toggled between the two states. Only a policy in an Unlocked state can transition to a Locked state which cannot be reverted. + */ +union AccountImmutabilityPolicyState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unlocked: "Unlocked", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Locked: "Locked", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier. + */ +union DnsEndpointType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Standard: "Standard", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + AzureDnsZone: "AzureDnsZone", +} + +/** + * The status of the secondary location. Possible values are: - Live: Indicates that the secondary location is active and operational. - Bootstrap: Indicates initial synchronization from the primary location to the secondary location is in progress.This typically occurs when replication is first enabled. - Unavailable: Indicates that the secondary location is temporarily unavailable. + */ +union GeoReplicationStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Live: "Live", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Bootstrap: "Bootstrap", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unavailable: "Unavailable", +} + +/** + * The redundancy type of the account after an account failover is performed. + */ +union PostFailoverRedundancy { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Standard_LRS: "Standard_LRS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Standard_ZRS: "Standard_ZRS", +} + +/** + * The redundancy type of the account after a planned account failover is performed. + */ +union PostPlannedFailoverRedundancy { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Standard_GRS: "Standard_GRS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Standard_GZRS: "Standard_GZRS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Standard_RAGRS: "Standard_RAGRS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Standard_RAGZRS: "Standard_RAGZRS", +} + +/** + * The private endpoint connection status. + */ +union PrivateEndpointServiceConnectionStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Pending: "Pending", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Approved: "Approved", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Rejected: "Rejected", +} + +/** + * The current provisioning state. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union PrivateEndpointConnectionProvisioningState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Succeeded: "Succeeded", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Creating: "Creating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Deleting: "Deleting", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Failed: "Failed", +} + +/** + * The status of blob restore progress. Possible values are: - InProgress: Indicates that blob restore is ongoing. - Complete: Indicates that blob restore has been completed successfully. - Failed: Indicates that blob restore is failed. + */ +union BlobRestoreProgressStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + InProgress: "InProgress", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Complete: "Complete", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Failed: "Failed", +} + +/** + * This property indicates the current sku conversion status. + */ +union SkuConversionStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + InProgress: "InProgress", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Succeeded: "Succeeded", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Failed: "Failed", +} + +/** + * The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f). + */ +union Services { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + b: "b", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + q: "q", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + t: "t", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + f: "f", +} + +/** + * The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files. + */ +union SignedResourceTypes { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + s: "s", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + c: "c", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + o: "o", +} + +/** + * The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). + */ +union Permissions { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + r: "r", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + d: "d", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + w: "w", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + l: "l", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + a: "a", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + c: "c", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + u: "u", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + p: "p", +} + +/** + * The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s). + */ +union SignedResource { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + b: "b", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + c: "c", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + f: "f", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + s: "s", +} + +/** + * Current status of migration + */ +union migrationStatus { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Invalid: "Invalid", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + SubmittedForConversion: "SubmittedForConversion", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + InProgress: "InProgress", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Complete: "Complete", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Failed: "Failed", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union MigrationName { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + default: "default", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union ManagementPolicyName { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + default: "default", +} + +/** + * The valid value is Lifecycle + */ +union RuleType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Lifecycle: "Lifecycle", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union BlobInventoryPolicyName { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + default: "default", +} + +/** + * The valid value is Inventory + */ +union InventoryRuleType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Inventory: "Inventory", +} + +/** + * This is a required field, it specifies the format for the inventory files. + */ +union Format { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Csv: "Csv", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Parquet: "Parquet", +} + +/** + * This is a required field. This field is used to schedule an inventory formation. + */ +union Schedule { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Daily: "Daily", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Weekly: "Weekly", +} + +/** + * This is a required field. This field specifies the scope of the inventory created either at the blob or container level. + */ +union ObjectType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Blob: "Blob", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Container: "Container", +} + +/** + * The type of identity that created the resource. + */ +union CreatedByType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + User: "User", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Application: "Application", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ManagedIdentity: "ManagedIdentity", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Key: "Key", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union ListLocalUserIncludeParam { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + nfsv3: "nfsv3", +} + +/** + * The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault. + */ +union EncryptionScopeSource { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + `Microsoft.Storage`: "Microsoft.Storage", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + `Microsoft.KeyVault`: "Microsoft.KeyVault", +} + +/** + * The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled. + */ +union EncryptionScopeState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union ListEncryptionScopesInclude { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + All: "All", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enabled: "Enabled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Disabled: "Disabled", +} + +/** + * Provisioning state of Network Security Perimeter configuration propagation + */ +union NetworkSecurityPerimeterConfigurationProvisioningState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Accepted: "Accepted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Succeeded: "Succeeded", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Failed: "Failed", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Deleting: "Deleting", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Canceled: "Canceled", +} + +/** + * Type of issue + */ +union IssueType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Unknown: "Unknown", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ConfigurationPropagationFailure: "ConfigurationPropagationFailure", +} + +/** + * Severity of the issue. + */ +union Severity { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Warning: "Warning", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Error: "Error", +} + +/** + * Access Mode of the resource association + */ +union ResourceAssociationAccessMode { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Enforced: "Enforced", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Learning: "Learning", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Audit: "Audit", +} + +/** + * Direction of Access Rule + */ +union NspAccessRuleDirection { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Inbound: "Inbound", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Outbound: "Outbound", +} + +/** + * Represents the status of the execution. + */ +union RunStatusEnum { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + InProgress: "InProgress", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Finished: "Finished", +} + +/** + * Represents the overall result of the execution for the run instance + */ +union RunResult { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Succeeded: "Succeeded", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Failed: "Failed", +} + +/** + * The SKU tier. This is based on the SKU name. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum SkuTier { + Standard, + Premium, +} + +/** + * Specifies whether data in the container may be accessed publicly and the level of access. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum PublicAccess { + Container, + Blob, + None, +} + +/** + * Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum Reason { + AccountNameInvalid, + AlreadyExists, +} + +/** + * Specifies the default action of allow or deny when no other rules match. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum DefaultAction { + Allow, + Deny, +} + +/** + * Required for storage accounts where kind = BlobStorage. The access tier is used for billing. The 'Premium' access tier is the default value for premium block blobs storage account type and it cannot be changed for the premium block blobs storage account type. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum AccessTier { + Hot, + Cool, + Premium, + Cold, +} + +/** + * Gets the status of the storage account at the time the operation was called. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum ProvisioningState { + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Creating: "Creating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ResolvingDNS: "ResolvingDNS", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Succeeded: "Succeeded", +} +/** + * Gets the status of the storage account at the time the operation was called. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union StorageTaskAssignmentProvisioningState { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ValidateSubscriptionQuotaBegin: "ValidateSubscriptionQuotaBegin", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + ValidateSubscriptionQuotaEnd: "ValidateSubscriptionQuotaEnd", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Accepted: "Accepted", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Creating: "Creating", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Succeeded: "Succeeded", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Deleting: "Deleting", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Canceled: "Canceled", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + Failed: "Failed", +} + +/** + * Gets the status indicating whether the primary location of the storage account is available or unavailable. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum AccountStatus { + available, + unavailable, +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum StorageAccountExpand { + geoReplicationStats, + blobRestoreStatus, +} + +/** + * Permissions for the key -- read-only or full permissions. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum KeyPermission { + Read, + Full, +} + +/** + * Gets the unit of measurement. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum UsageUnit { + Count, + Bytes, + Seconds, + Percent, + CountsPerSecond, + BytesPerSecond, +} + +/** + * The protocol permitted for a request made with the account SAS. + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +enum HttpProtocol { + `https,http`, + https, +} + +/** + * The trigger type of the storage task assignment execution + */ +#suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +union TriggerType { + string, + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + RunOnce: "RunOnce", + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + OnSchedule: "OnSchedule", +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model BlobServiceItems { + /** + * List of blob services returned. + */ + @visibility(Lifecycle.Read) + @pageItems + value?: BlobServiceProperties[]; + + @nextLink + nextLink?: string; +} + +/** + * The properties of a storage account’s Blob service. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model BlobServicePropertiesProperties { + /** + * Specifies CORS rules for the Blob service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Blob service. + */ + cors?: CorsRules; + + /** + * DefaultServiceVersion indicates the default version to use for requests to the Blob service if an incoming request’s version is not specified. Possible values include version 2008-10-27 and all more recent versions. + */ + defaultServiceVersion?: string; + + /** + * The blob service properties for blob soft delete. + */ + deleteRetentionPolicy?: DeleteRetentionPolicy; + + /** + * Versioning is enabled if set to true. + */ + isVersioningEnabled?: boolean; + + /** + * Deprecated in favor of isVersioningEnabled property. + */ + automaticSnapshotPolicyEnabled?: boolean; + + /** + * The blob service properties for change feed events. + */ + changeFeed?: ChangeFeed; + + /** + * The blob service properties for blob restore policy. + */ + restorePolicy?: RestorePolicyProperties; + + /** + * The blob service properties for container soft delete. + */ + containerDeleteRetentionPolicy?: DeleteRetentionPolicy; + + /** + * The blob service property to configure last access time based tracking policy. + */ + lastAccessTimeTrackingPolicy?: LastAccessTimeTrackingPolicy; +} + +/** + * Sets the CORS rules. You can include up to five CorsRule elements in the request. + */ +model CorsRules { + /** + * The List of CORS rules. You can include up to five CorsRule elements in the request. + */ + #suppress "@azure-tools/typespec-client-generator-core/property-name-conflict" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @identifiers(#[]) + corsRules?: CorsRule[]; +} + +/** + * Specifies a CORS rule for the Blob service. + */ +model CorsRule { + /** + * Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or "*" to allow all domains + */ + allowedOrigins: string[]; + + /** + * Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin. + */ + allowedMethods: AllowedMethods[]; + + /** + * Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response. + */ + maxAgeInSeconds: int32; + + /** + * Required if CorsRule element is present. A list of response headers to expose to CORS clients. + */ + exposedHeaders: string[]; + + /** + * Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request. + */ + allowedHeaders: string[]; +} + +/** + * The service properties for soft delete. + */ +model DeleteRetentionPolicy { + /** + * Indicates whether DeleteRetentionPolicy is enabled. + */ + enabled?: boolean; + + /** + * Indicates the number of days that the deleted item should be retained. The minimum specified value can be 1 and the maximum value can be 365. + */ + @maxValue(365) + @minValue(1) + days?: int32; + + /** + * This property when set to true allows deletion of the soft deleted blob versions and snapshots. This property cannot be used blob restore policy. This property only applies to blob service and does not apply to containers or file share. + */ + allowPermanentDelete?: boolean; +} + +/** + * The blob service properties for change feed events. + */ +model ChangeFeed { + /** + * Indicates whether change feed event logging is enabled for the Blob service. + */ + enabled?: boolean; + + /** + * Indicates the duration of changeFeed retention in days. Minimum value is 1 day and maximum value is 146000 days (400 years). A null value indicates an infinite retention of the change feed. + */ + @maxValue(146000) + @minValue(1) + retentionInDays?: int32; +} + +/** + * The blob service properties for blob restore policy + */ +model RestorePolicyProperties { + /** + * Blob restore is enabled if set to true. + */ + enabled: boolean; + + /** + * how long this blob can be restored. It should be great than zero and less than DeleteRetentionPolicy.days. + */ + @maxValue(365) + @minValue(1) + days?: int32; + + /** + * Deprecated in favor of minRestoreTime property. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastEnabledTime?: utcDateTime; + + /** + * Returns the minimum date and time that the restore can be started. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + minRestoreTime?: utcDateTime; +} + +/** + * The blob service properties for Last access time based tracking policy. + */ +model LastAccessTimeTrackingPolicy { + /** + * When set to true last access time based tracking is enabled. + */ + enable: boolean; + + /** + * Name of the policy. The valid value is AccessTimeTracking. This field is currently read only + */ + name?: Name; + + /** + * The field specifies blob object tracking granularity in days, typically how often the blob object should be tracked.This field is currently read only with value as 1 + */ + trackingGranularityInDays?: int32; + + /** + * An array of predefined supported blob types. Only blockBlob is the supported value. This field is currently read only + */ + blobType?: string[]; +} + +/** + * The SKU of the storage account. + */ +model Sku { + /** + * The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType. + */ + name: SkuName; + + /** + * The SKU tier. This is based on the SKU name. + */ + @visibility(Lifecycle.Read) + tier?: SkuTier; +} + +/** + * Response schema. Contains list of blobs returned, and if paging is requested or required, a URL to next page of containers. + */ +model ListContainerItems is Azure.Core.Page; + +/** The resource model definition for an Azure Resource Manager resource with an etag. */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@summary("Entity Resource") +model AzureEntityResource extends Azure.ResourceManager.CommonTypes.Resource { + /** Resource Etag. */ + @visibility(Lifecycle.Read) + etag?: string; +} + +/** + * The blob container properties be listed out. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ListContainerItem extends AzureEntityResource { + /** + * The blob container properties be listed out. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: ContainerProperties; +} + +/** + * The properties of a container. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ContainerProperties { + /** + * The version of the deleted blob container. + */ + @visibility(Lifecycle.Read) + version?: string; + + /** + * Indicates whether the blob container was deleted. + */ + @visibility(Lifecycle.Read) + deleted?: boolean; + + /** + * Blob container deletion time. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + deletedTime?: utcDateTime; + + /** + * Remaining retention days for soft deleted blob container. + */ + @visibility(Lifecycle.Read) + remainingRetentionDays?: int32; + + /** + * Default the container to use specified encryption scope for all writes. + */ + defaultEncryptionScope?: string; + + /** + * Block override of encryption scope from the container default. + */ + denyEncryptionScopeOverride?: boolean; + + /** + * Specifies whether data in the container may be accessed publicly and the level of access. + */ + publicAccess?: PublicAccess; + + /** + * Returns the date and time the container was last modified. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastModifiedTime?: utcDateTime; + + /** + * The lease status of the container. + */ + @visibility(Lifecycle.Read) + leaseStatus?: LeaseStatus; + + /** + * Lease state of the container. + */ + @visibility(Lifecycle.Read) + leaseState?: LeaseState; + + /** + * Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased. + */ + @visibility(Lifecycle.Read) + leaseDuration?: LeaseDuration; + + /** + * A name-value pair to associate with the container as metadata. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + metadata?: Record; + + /** + * The ImmutabilityPolicy property of the container. + */ + @visibility(Lifecycle.Read) + immutabilityPolicy?: ImmutabilityPolicyProperties; + + /** + * The LegalHold property of the container. + */ + @visibility(Lifecycle.Read) + legalHold?: LegalHoldProperties; + + /** + * The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account. + */ + @visibility(Lifecycle.Read) + hasLegalHold?: boolean; + + /** + * The hasImmutabilityPolicy public property is set to true by SRP if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public property is set to false by SRP if ImmutabilityPolicy has not been created for this container. + */ + @visibility(Lifecycle.Read) + hasImmutabilityPolicy?: boolean; + + /** + * The object level immutability property of the container. The property is immutable and can only be set to true at the container creation time. Existing containers must undergo a migration process. + */ + immutableStorageWithVersioning?: ImmutableStorageWithVersioning; + + /** + * Enable NFSv3 root squash on blob container. + */ + enableNfsV3RootSquash?: boolean; + + /** + * Enable NFSv3 all squash on blob container. + */ + enableNfsV3AllSquash?: boolean; +} + +/** + * The properties of an ImmutabilityPolicy of a blob container. + */ +model ImmutabilityPolicyProperties { + /** + * The properties of an ImmutabilityPolicy of a blob container. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: ImmutabilityPolicyProperty; + + /** + * ImmutabilityPolicy Etag. + */ + @visibility(Lifecycle.Read) + etag?: string; + + /** + * The ImmutabilityPolicy update history of the blob container. + */ + @visibility(Lifecycle.Read) + @identifiers(#[]) + updateHistory?: UpdateHistoryProperty[]; +} + +/** + * The properties of an ImmutabilityPolicy of a blob container. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ImmutabilityPolicyProperty { + /** + * The immutability period for the blobs in the container since the policy creation, in days. + */ + immutabilityPeriodSinceCreationInDays?: int32; + + /** + * The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked. + */ + @visibility(Lifecycle.Read) + state?: ImmutabilityPolicyState; + + /** + * This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. + */ + allowProtectedAppendWrites?: boolean; + + /** + * This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive. + */ + allowProtectedAppendWritesAll?: boolean; +} + +/** + * An update history of the ImmutabilityPolicy of a blob container. + */ +model UpdateHistoryProperty { + /** + * The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend. + */ + @visibility(Lifecycle.Read) + update?: ImmutabilityPolicyUpdateType; + + /** + * The immutability period for the blobs in the container since the policy creation, in days. + */ + @visibility(Lifecycle.Read) + immutabilityPeriodSinceCreationInDays?: int32; + + /** + * Returns the date and time the ImmutabilityPolicy was updated. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + timestamp?: utcDateTime; + + /** + * Returns the Object ID of the user who updated the ImmutabilityPolicy. + */ + @visibility(Lifecycle.Read) + objectIdentifier?: string; + + /** + * Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy. + */ + @visibility(Lifecycle.Read) + tenantId?: string; + + /** + * Returns the User Principal Name of the user who updated the ImmutabilityPolicy. + */ + @visibility(Lifecycle.Read) + upn?: string; + + /** + * This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. + */ + allowProtectedAppendWrites?: boolean; + + /** + * This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive. + */ + allowProtectedAppendWritesAll?: boolean; +} + +/** + * The LegalHold property of a blob container. + */ +model LegalHoldProperties { + /** + * The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account. + */ + @visibility(Lifecycle.Read) + hasLegalHold?: boolean; + + /** + * The list of LegalHold tags of a blob container. + */ + @identifiers(#[]) + tags?: TagProperty[]; + + /** + * Protected append blob writes history. + */ + protectedAppendWritesHistory?: ProtectedAppendWritesHistory; +} + +/** + * A tag of the LegalHold of a blob container. + */ +model TagProperty { + /** + * The tag value. + */ + @visibility(Lifecycle.Read) + tag?: string; + + /** + * Returns the date and time the tag was added. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + timestamp?: utcDateTime; + + /** + * Returns the Object ID of the user who added the tag. + */ + @visibility(Lifecycle.Read) + objectIdentifier?: string; + + /** + * Returns the Tenant ID that issued the token for the user who added the tag. + */ + @visibility(Lifecycle.Read) + tenantId?: string; + + /** + * Returns the User Principal Name of the user who added the tag. + */ + @visibility(Lifecycle.Read) + upn?: string; +} + +/** + * Protected append writes history setting for the blob container with Legal holds. + */ +model ProtectedAppendWritesHistory { + /** + * When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining legal hold protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. + */ + allowProtectedAppendWritesAll?: boolean; + + /** + * Returns the date and time the tag was added. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + timestamp?: utcDateTime; +} + +/** + * Object level immutability properties of the container. + */ +model ImmutableStorageWithVersioning { + /** + * This is an immutable property, when set to true it enables object level immutability at the container level. + */ + enabled?: boolean; + + /** + * Returns the date and time the object level immutability was enabled. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + timeStamp?: utcDateTime; + + /** + * This property denotes the container level immutability to object level immutability migration state. + */ + @visibility(Lifecycle.Read) + migrationState?: MigrationState; +} + +@minLength(3) +@maxLength(23) +scalar LimitedString extends string; + +/** + * The LegalHold property of a blob container. + */ +model LegalHold { + /** + * The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account. + */ + @visibility(Lifecycle.Read) + hasLegalHold?: boolean; + + /** + * Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case at SRP. + */ + tags: LimitedString[]; + + /** + * When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining legal hold protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. + */ + allowProtectedAppendWritesAll?: boolean; +} + +/** + * Lease Container request schema. + */ +model LeaseContainerRequest { + /** + * Specifies the lease action. Can be one of the available actions. + */ + action: LeaseContainerRequestAction; + + /** + * Identifies the lease. Can be specified in any valid GUID string format. + */ + leaseId?: string; + + /** + * Optional. For a break action, proposed duration the lease should continue before it is broken, in seconds, between 0 and 60. + */ + breakPeriod?: int32; + + /** + * Required for acquire. Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires. + */ + leaseDuration?: int32; + + /** + * Optional for acquire, required for change. Proposed lease ID, in a GUID string format. + */ + proposedLeaseId?: string; +} + +/** + * Lease Container response schema. + */ +model LeaseContainerResponse { + /** + * Returned unique lease ID that must be included with any request to delete the container, or to renew, change, or release the lease. + */ + leaseId?: string; + + /** + * Approximate time remaining in the lease period, in seconds. + */ + leaseTimeSeconds?: string; +} + +/** + * An error response from the Storage service. + */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@error +@Azure.ResourceManager.Legacy.armExternalType +model CloudError { + /** + * An error response from the Storage service. + */ + error?: CloudErrorBody; +} + +/** + * An error response from the Storage service. + */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@Azure.ResourceManager.Legacy.armExternalType +model CloudErrorBody { + /** + * An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + */ + code?: string; + + /** + * A message describing the error, intended to be suitable for display in a user interface. + */ + message?: string; + + /** + * The target of the particular error. For example, the name of the property in error. + */ + target?: string; + + /** + * A list of additional details about the error. + */ + @identifiers(#[]) + details?: CloudErrorBody[]; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model FileServiceItems { + /** + * List of file services returned. + */ + @pageItems + @visibility(Lifecycle.Read) + value?: FileServiceProperties[]; +} + +/** + * The properties of File services in storage account. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model FileServicePropertiesProperties { + /** + * Specifies CORS rules for the File service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the File service. + */ + cors?: CorsRules; + + /** + * The file service properties for share soft delete. + */ + shareDeleteRetentionPolicy?: DeleteRetentionPolicy; + + /** + * Protocol settings for file service + */ + protocolSettings?: ProtocolSettings; +} + +/** + * Protocol settings for file service + */ +model ProtocolSettings { + /** + * Setting for SMB protocol + */ + smb?: SmbSetting; + + /** + * Setting for NFS protocol + */ + nfs?: NfsSetting; +} + +/** + * Setting for SMB protocol + */ +model SmbSetting { + /** + * Multichannel setting. Applies to Premium FileStorage only. + */ + multichannel?: Multichannel; + + /** + * SMB protocol versions supported by server. Valid values are SMB2.1, SMB3.0, SMB3.1.1. Should be passed as a string with delimiter ';'. + */ + versions?: string; + + /** + * SMB authentication methods supported by server. Valid values are NTLMv2, Kerberos. Should be passed as a string with delimiter ';'. + */ + authenticationMethods?: string; + + /** + * Kerberos ticket encryption supported by server. Valid values are RC4-HMAC, AES-256. Should be passed as a string with delimiter ';' + */ + kerberosTicketEncryption?: string; + + /** + * SMB channel encryption supported by server. Valid values are AES-128-CCM, AES-128-GCM, AES-256-GCM. Should be passed as a string with delimiter ';'. + */ + channelEncryption?: string; + + /** + * Encryption in transit setting. + */ + encryptionInTransit?: EncryptionInTransit; +} + +/** + * Multichannel setting. Applies to Premium FileStorage only. + */ +model Multichannel { + /** + * Indicates whether multichannel is enabled + */ + enabled?: boolean; +} + +/** + * Encryption in transit setting. + */ +model EncryptionInTransit { + /** + * Indicates whether encryption in transit is required + */ + required?: boolean; +} + +/** + * Setting for NFS protocol + */ +model NfsSetting { + /** + * Encryption in transit setting. + */ + encryptionInTransit?: EncryptionInTransit; +} + +/** + * List file service usages schema. + */ +model FileServiceUsages is Azure.Core.Page; + +/** + * File service usage in storage account including account limits, file share limits and constants used in recommendations and bursting formula. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model FileServiceUsageProperties { + /** + * Maximum provisioned storage, IOPS, bandwidth and number of file shares limits for the storage account. + */ + @visibility(Lifecycle.Read) + storageAccountLimits?: AccountLimits; + + /** + * Minimum and maximum provisioned storage, IOPS and bandwidth limits for a file share in the storage account. + */ + @visibility(Lifecycle.Read) + fileShareLimits?: FileShareLimits; + + /** + * Constants used for calculating recommended provisioned IOPS and bandwidth for a file share in the storage account. + */ + @visibility(Lifecycle.Read) + fileShareRecommendations?: FileShareRecommendations; + + /** + * Constants used for calculating included burst IOPS and maximum burst credits for IOPS for a file share in the storage account. + */ + @visibility(Lifecycle.Read) + burstingConstants?: BurstingConstants; + + /** + * Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares and soft-deleted shares in the account. + */ + @visibility(Lifecycle.Read) + storageAccountUsage?: AccountUsage; +} + +/** + * Maximum provisioned storage, IOPS, bandwidth and number of file shares limits for the storage account. + */ +model AccountLimits { + /** + * The maximum number of file shares limit for the storage account. + */ + @visibility(Lifecycle.Read) + maxFileShares?: int32; + + /** + * The maximum provisioned storage quota limit in gibibytes for the storage account. + */ + @visibility(Lifecycle.Read) + maxProvisionedStorageGiB?: int32; + + /** + * The maximum provisioned IOPS limit for the storage account. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + maxProvisionedIOPS?: int32; + + /** + * The maximum provisioned bandwidth limit in mebibytes per second for the storage account. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + maxProvisionedBandwidthMiBPerSec?: int32; +} + +/** + * Minimum and maximum provisioned storage, IOPS and bandwidth limits for a file share in the storage account. + */ +model FileShareLimits { + /** + * The minimum provisioned storage quota limit in gibibytes for a file share in the storage account. + */ + @visibility(Lifecycle.Read) + minProvisionedStorageGiB?: int32; + + /** + * The maximum provisioned storage quota limit in gibibytes for a file share in the storage account. + */ + @visibility(Lifecycle.Read) + maxProvisionedStorageGiB?: int32; + + /** + * The minimum provisioned IOPS limit for a file share in the storage account. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + minProvisionedIOPS?: int32; + + /** + * The maximum provisioned IOPS limit for a file share in the storage account. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + maxProvisionedIOPS?: int32; + + /** + * The minimum provisioned bandwidth limit in mebibytes per second for a file share in the storage account. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + minProvisionedBandwidthMiBPerSec?: int32; + + /** + * The maximum provisioned bandwidth limit in mebibytes per second for a file share in the storage account. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + maxProvisionedBandwidthMiBPerSec?: int32; +} + +/** + * Constants used for calculating recommended provisioned IOPS and bandwidth for a file share in the storage account. + */ +model FileShareRecommendations { + /** + * The base IOPS in the file share provisioned IOPS recommendation formula. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + baseIOPS?: int32; + + /** + * The scalar for IO in the file share provisioned IOPS recommendation formula. + */ + @visibility(Lifecycle.Read) + ioScalar?: float64; + + /** + * The base bandwidth in the file share provisioned bandwidth recommendation formula. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + baseBandwidthMiBPerSec?: int32; + + /** + * The scalar for bandwidth in the file share provisioned bandwidth recommendation formula. + */ + @visibility(Lifecycle.Read) + bandwidthScalar?: float64; +} + +/** + * Constants used for calculating included burst IOPS and maximum burst credits for IOPS for a file share in the storage account. + */ +model BurstingConstants { + /** + * The guaranteed floor of burst IOPS for small file shares. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + burstFloorIOPS?: int32; + + /** + * The scalar against provisioned IOPS in the file share included burst IOPS formula. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + burstIOScalar?: float64; + + /** + * The time frame for bursting in seconds in the file share maximum burst credits for IOPS formula. + */ + @visibility(Lifecycle.Read) + burstTimeframeSeconds?: int32; +} + +/** + * Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares and soft-deleted shares in the account. + */ +model AccountUsage { + /** + * Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares or soft-deleted shares in the account. + */ + liveShares?: AccountUsageElements; + + /** + * Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares or soft-deleted shares in the account. + */ + softDeletedShares?: AccountUsageElements; +} + +/** + * Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares or soft-deleted shares in the account. + */ +model AccountUsageElements { + /** + * The total number of file shares. + */ + @visibility(Lifecycle.Read) + fileShareCount?: int32; + + /** + * The total provisioned storage quota in gibibytes. + */ + @visibility(Lifecycle.Read) + provisionedStorageGiB?: int32; + + /** + * The total provisioned IOPS. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + provisionedIOPS?: int32; + + /** + * The total provisioned bandwidth in mebibytes per second. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + provisionedBandwidthMiBPerSec?: int32; +} + +/** + * Response schema. Contains list of shares returned, and if paging is requested or required, a URL to next page of shares. + */ +model FileShareItems is Azure.Core.Page; + +/** + * The file share properties be listed out. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model FileShareItem extends AzureEntityResource { + /** + * The file share properties be listed out. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: FileShareProperties; +} + +/** + * The properties of the file share. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model FileShareProperties { + /** + * Returns the date and time the share was last modified. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastModifiedTime?: utcDateTime; + + /** + * A name-value pair to associate with the share as metadata. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + metadata?: Record; + + /** + * The provisioned size of the share, in gibibytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400. For file shares created under Files Provisioned v2 account type, please refer to the GetFileServiceUsage API response for the minimum and maximum allowed provisioned storage size. + */ + shareQuota?: int32; + + /** + * The provisioned IOPS of the share. This property is only for file shares created under Files Provisioned v2 account type. Please refer to the GetFileServiceUsage API response for the minimum and maximum allowed value for provisioned IOPS. + */ + provisionedIops?: int32; + + /** + * The provisioned bandwidth of the share, in mebibytes per second. This property is only for file shares created under Files Provisioned v2 account type. Please refer to the GetFileServiceUsage API response for the minimum and maximum allowed value for provisioned bandwidth. + */ + provisionedBandwidthMibps?: int32; + + /** + * The calculated burst IOPS of the share. This property is only for file shares created under Files Provisioned v2 account type. + */ + @visibility(Lifecycle.Read) + includedBurstIops?: int32; + + /** + * The calculated maximum burst credits for the share. This property is only for file shares created under Files Provisioned v2 account type. + */ + @visibility(Lifecycle.Read) + maxBurstCreditsForIops?: int64; + + /** + * Returns the next allowed provisioned storage size downgrade time for the share. This property is only for file shares created under Files Provisioned v1 SSD and Files Provisioned v2 account type + */ + @visibility(Lifecycle.Read) + @encode(DateTimeKnownEncoding.rfc7231) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + nextAllowedQuotaDowngradeTime?: utcDateTime; + + /** + * Returns the next allowed provisioned IOPS downgrade time for the share. This property is only for file shares created under Files Provisioned v2 account type. + */ + @visibility(Lifecycle.Read) + @encode(DateTimeKnownEncoding.rfc7231) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + nextAllowedProvisionedIopsDowngradeTime?: utcDateTime; + + /** + * Returns the next allowed provisioned bandwidth downgrade time for the share. This property is only for file shares created under Files Provisioned v2 account type. + */ + @visibility(Lifecycle.Read) + @encode(DateTimeKnownEncoding.rfc7231) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + nextAllowedProvisionedBandwidthDowngradeTime?: utcDateTime; + + /** + * The authentication protocol that is used for the file share. Can only be specified when creating a share. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + enabledProtocols?: EnabledProtocols; + + /** + * The property is for NFS share only. The default is NoRootSquash. + */ + rootSquash?: RootSquashType; + + /** + * The version of the share. + */ + @visibility(Lifecycle.Read) + version?: string; + + /** + * Indicates whether the share was deleted. + */ + @visibility(Lifecycle.Read) + deleted?: boolean; + + /** + * The deleted time if the share was deleted. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + deletedTime?: utcDateTime; + + /** + * Remaining retention days for share that was soft deleted. + */ + @visibility(Lifecycle.Read) + remainingRetentionDays?: int32; + + /** + * Access tier for specific share. GpV2 account can choose between TransactionOptimized (default), Hot, and Cool. FileStorage account can choose Premium. + */ + accessTier?: ShareAccessTier; + + /** + * Indicates the last modification time for share access tier. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + accessTierChangeTime?: utcDateTime; + + /** + * Indicates if there is a pending transition for access tier. + */ + @visibility(Lifecycle.Read) + accessTierStatus?: string; + + /** + * The approximate size of the data stored on the share. Note that this value may not include all recently created or recently resized files. + */ + @visibility(Lifecycle.Read) + shareUsageBytes?: int64; + + /** + * The lease status of the share. + */ + @visibility(Lifecycle.Read) + leaseStatus?: LeaseStatus; + + /** + * Lease state of the share. + */ + @visibility(Lifecycle.Read) + leaseState?: LeaseState; + + /** + * Specifies whether the lease on a share is of infinite or fixed duration, only when the share is leased. + */ + @visibility(Lifecycle.Read) + leaseDuration?: LeaseDuration; + + /** + * List of stored access policies specified on the share. + */ + signedIdentifiers?: SignedIdentifier[]; + + /** + * Creation time of share snapshot returned in the response of list shares with expand param "snapshots". + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + snapshotTime?: utcDateTime; + + /** + * File Share Paid Bursting properties. + */ + fileSharePaidBursting?: FileSharePropertiesFileSharePaidBursting; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model SignedIdentifier { + /** + * An unique identifier of the stored access policy. + */ + id?: string; + + /** + * Access policy + */ + accessPolicy?: AccessPolicy; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model AccessPolicy { + /** + * Start time of the access policy + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime?: utcDateTime; + + /** + * Expiry time of the access policy + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + expiryTime?: utcDateTime; + + /** + * List of abbreviated permissions. + */ + permission?: string; +} + +/** + * File Share Paid Bursting properties. + */ +model FileSharePropertiesFileSharePaidBursting { + /** + * Indicates whether paid bursting is enabled for the share. This property is only for file shares created under Files Provisioned v1 SSD account type. + */ + paidBurstingEnabled?: boolean; + + /** + * The maximum paid bursting IOPS for the share. This property is only for file shares created under Files Provisioned v1 SSD account type. The maximum allowed value is 102400 which is the maximum allowed IOPS for a share. + */ + paidBurstingMaxIops?: int32; + + /** + * The maximum paid bursting bandwidth for the share, in mebibytes per second. This property is only for file shares created under Files Provisioned v1 SSD account type. The maximum allowed value is 10340 which is the maximum allowed bandwidth for a share. + */ + paidBurstingMaxBandwidthMibps?: int32; +} + +/** + * The deleted share to be restored. + */ +model DeletedShare { + /** + * Required. Identify the name of the deleted share that will be restored. + */ + deletedShareName: string; + + /** + * Required. Identify the version of the deleted share that will be restored. + */ + deletedShareVersion: string; +} + +/** + * Lease Share request schema. + */ +model LeaseShareRequest { + /** + * Specifies the lease action. Can be one of the available actions. + */ + action: LeaseShareAction; + + /** + * Identifies the lease. Can be specified in any valid GUID string format. + */ + leaseId?: string; + + /** + * Optional. For a break action, proposed duration the lease should continue before it is broken, in seconds, between 0 and 60. + */ + breakPeriod?: int32; + + /** + * Required for acquire. Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires. + */ + leaseDuration?: int32; + + /** + * Optional for acquire, required for change. Proposed lease ID, in a GUID string format. + */ + proposedLeaseId?: string; +} + +/** + * Lease Share response schema. + */ +model LeaseShareResponse { + /** + * Returned unique lease ID that must be included with any request to delete the share, or to renew, change, or release the lease. + */ + leaseId?: string; + + /** + * Approximate time remaining in the lease period, in seconds. + */ + leaseTimeSeconds?: string; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ListQueueServices { + /** + * List of queue services returned. + */ + @visibility(Lifecycle.Read) + @pageItems + value?: QueueServiceProperties[]; +} + +/** + * The properties of a storage account’s Queue service. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model QueueServicePropertiesProperties { + /** + * Specifies CORS rules for the Queue service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Queue service. + */ + cors?: CorsRules; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model QueueProperties { + /** + * A name-value pair that represents queue metadata. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + metadata?: Record; + + /** + * Integer indicating an approximate number of messages in the queue. This number is not lower than the actual number of messages in the queue, but could be higher. + */ + @visibility(Lifecycle.Read) + approximateMessageCount?: int32; +} + +/** + * Response schema. Contains list of queues returned + */ +model ListQueueResource is Azure.Core.Page; + +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ListQueue extends Azure.ResourceManager.CommonTypes.Resource { + /** + * List Queue resource properties. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: ListQueueProperties; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ListQueueProperties { + /** + * A name-value pair that represents queue metadata. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + metadata?: Record; +} + +/** + * The list of available operations. + */ +model OperationListResult { + /** + * List of operations supported by the resource provider. + */ + @pageItems + value?: Operation[]; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "" + @nextLink + nextLink?: string; +} + +/** + * Storage REST API operation definition. + */ +model Operation { + /** + * Operation name: {provider}/{resource}/{operation} + */ + name?: string; + + /** + * Display metadata associated with the operation. + */ + display?: OperationDisplay; + + /** + * The origin of operations. + */ + origin?: string; + + /** + * Properties of operation, include metric specifications. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: OperationProperties; +} + +/** + * Display metadata associated with the operation. + */ +model OperationDisplay { + /** + * Service provider: Microsoft Storage. + */ + provider?: string; + + /** + * Resource on which the operation is performed etc. + */ + resource?: string; + + /** + * Type of operation: get, read, delete, etc. + */ + operation?: string; + + /** + * Description of the operation. + */ + description?: string; +} + +/** + * Properties of operation, include metric specifications. + */ +model OperationProperties { + /** + * One property of operation, include metric specifications. + */ + serviceSpecification?: ServiceSpecification; +} + +/** + * One property of operation, include metric specifications. + */ +model ServiceSpecification { + /** + * Metric specifications of operation. + */ + metricSpecifications?: MetricSpecification[]; +} + +/** + * Metric specification of operation. + */ +model MetricSpecification { + /** + * Name of metric specification. + */ + name?: string; + + /** + * Display name of metric specification. + */ + displayName?: string; + + /** + * Display description of metric specification. + */ + displayDescription?: string; + + /** + * Unit could be Bytes or Count. + */ + unit?: string; + + /** + * Dimensions of blobs, including blob type and access tier. + */ + dimensions?: Dimension[]; + + /** + * Aggregation type could be Average. + */ + aggregationType?: string; + + /** + * The property to decide fill gap with zero or not. + */ + fillGapWithZero?: boolean; + + /** + * The category this metric specification belong to, could be Capacity. + */ + category?: string; + + /** + * Account Resource Id. + */ + resourceIdDimensionNameOverride?: string; +} + +/** + * Dimension of blobs, possibly be blob type or access tier. + */ +model Dimension { + /** + * Display name of dimension. + */ + name?: string; + + /** + * Display name of dimension. + */ + displayName?: string; +} + +/** + * The response from the List Storage SKUs operation. + */ +model StorageSkuListResult { + /** + * Get the list result of storage SKUs and their properties. + */ + @visibility(Lifecycle.Read) + @pageItems + value?: SkuInformation[]; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @nextLink + nextLink?: string; +} + +/** + * Storage SKU and its properties + */ +model SkuInformation { + /** + * The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType. + */ + name: SkuName; + + /** + * The SKU tier. This is based on the SKU name. + */ + @visibility(Lifecycle.Read) + tier?: SkuTier; + + /** + * The type of the resource, usually it is 'storageAccounts'. + */ + @visibility(Lifecycle.Read) + resourceType?: string; + + /** + * Indicates the type of storage account. + */ + @visibility(Lifecycle.Read) + kind?: Kind; + + /** + * The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). + */ + @visibility(Lifecycle.Read) + locations?: string[]; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @identifiers(#[]) + locationInfo?: SkuInformationLocationInfoItem[]; + + /** + * The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc. + */ + @visibility(Lifecycle.Read) + capabilities?: SKUCapability[]; + + /** + * The restrictions because of which SKU cannot be used. This is empty if there are no restrictions. + */ + @identifiers(#[]) + restrictions?: Restriction[]; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model SkuInformationLocationInfoItem { + /** + * Describes the location for the product where storage account resource can be created. + */ + @visibility(Lifecycle.Read) + location?: string; + + /** + * Describes the available zones for the product where storage account resource can be created. + */ + @visibility(Lifecycle.Read) + zones?: string[]; +} + +/** + * The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model SKUCapability { + /** + * The name of capability, The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc. + */ + @visibility(Lifecycle.Read) + name?: string; + + /** + * A string value to indicate states of given capability. Possibly 'true' or 'false'. + */ + @visibility(Lifecycle.Read) + value?: string; +} + +/** + * The restriction because of which SKU cannot be used. + */ +model Restriction { + /** + * The type of restrictions. As of now only possible value for this is location. + */ + @visibility(Lifecycle.Read) + type?: string; + + /** + * The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted. + */ + @visibility(Lifecycle.Read) + values?: string[]; + + /** + * The reason for the restriction. As of now this can be "QuotaId" or "NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The "NotAvailableForSubscription" is related to capacity at DC. + */ + reasonCode?: ReasonCode; +} + +/** + * The parameters used to check the availability of the storage account name. + */ +model StorageAccountCheckNameAvailabilityParameters { + /** + * The storage account name. + */ + name: string; + + /** + * The type of resource, Microsoft.Storage/storageAccounts + */ + type: "Microsoft.Storage/storageAccounts"; +} + +/** + * The CheckNameAvailability operation response. + */ +model CheckNameAvailabilityResult { + /** + * Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or is invalid and cannot be used. + */ + @visibility(Lifecycle.Read) + nameAvailable?: boolean; + + /** + * Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false. + */ + @visibility(Lifecycle.Read) + reason?: Reason; + + /** + * Gets an error message explaining the Reason value in more detail. + */ + @visibility(Lifecycle.Read) + message?: string; +} + +/** + * The parameters used when creating a storage account. + */ +model StorageAccountCreateParameters { + /** + * Required. Gets or sets the SKU name. + */ + sku: Sku; + + /** + * Required. Indicates the type of storage account. + */ + kind: Kind; + + /** + * Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed. + */ + location: string; + + /** + * Optional. Set the extended location of the resource. If not set, the storage account will be created in Azure main region. Otherwise it will be created in the specified extended location + */ + extendedLocation?: ExtendedLocation; + + /** + * Optional. Gets or sets the pinned logical availability zone for the storage account. + */ + zones?: string[]; + + /** + * Optional. Gets or sets the zonal placement details for the storage account. + */ + placement?: Placement; + + /** + * 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. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + tags?: Record; + + /** + * The identity of the resource. + */ + identity?: Identity; + + /** + * The parameters used to create the storage account. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: StorageAccountPropertiesCreateParameters; +} + +/** + * The complex type of the extended location. + */ +model ExtendedLocation { + /** + * The name of the extended location. + */ + name?: string; + + /** + * The type of the extended location. + */ + type?: ExtendedLocationTypes; +} + +/** + * The complex type of the zonal placement details. + */ +model Placement { + /** + * The availability zone pinning policy for the storage account. + */ + zonePlacementPolicy?: ZonePlacementPolicy; +} + +/** + * Identity for the resource. + */ +model Identity { + /** + * The principal ID of resource identity. + */ + @visibility(Lifecycle.Read) + principalId?: string; + + /** + * The tenant ID of resource. + */ + @visibility(Lifecycle.Read) + tenantId?: string; + + /** + * The identity type. + */ + type: IdentityType; + + /** + * Gets or sets a list of key value pairs that describe the set of User Assigned identities that will be used with this storage account. The key is the ARM resource identifier of the identity. Only 1 User Assigned identity is permitted here. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + userAssignedIdentities?: Record; +} + +/** + * UserAssignedIdentity for the resource. + */ +model UserAssignedIdentity { + /** + * The principal ID of the identity. + */ + @visibility(Lifecycle.Read) + principalId?: string; + + /** + * The client ID of the identity. + */ + @visibility(Lifecycle.Read) + clientId?: string; +} + +/** + * The parameters used to create the storage account. + */ +model StorageAccountPropertiesCreateParameters { + /** + * Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet. + */ + allowedCopyScope?: AllowedCopyScope; + + /** + * Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account. Value is optional but if passed in, must be 'Enabled', 'Disabled' or 'SecuredByPerimeter'. + */ + publicNetworkAccess?: PublicNetworkAccess; + + /** + * SasPolicy assigned to the storage account. + */ + sasPolicy?: SasPolicy; + + /** + * KeyPolicy assigned to the storage account. + */ + keyPolicy?: KeyPolicy; + + /** + * User domain assigned to the storage account. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property. + */ + customDomain?: CustomDomain; + + /** + * Encryption settings to be used for server-side encryption for the storage account. + */ + encryption?: Encryption; + + /** + * Network rule set + */ + networkAcls?: NetworkRuleSet; + + /** + * Required for storage accounts where kind = BlobStorage. The access tier is used for billing. The 'Premium' access tier is the default value for premium block blobs storage account type and it cannot be changed for the premium block blobs storage account type. + */ + accessTier?: AccessTier; + + /** + * Provides the identity based authentication settings for Azure Files. + */ + azureFilesIdentityBasedAuthentication?: AzureFilesIdentityBasedAuthentication; + + /** + * Allows https traffic only to storage service if sets to true. The default value is true since API version 2019-04-01. + */ + supportsHttpsTrafficOnly?: boolean; + + /** + * Enables Secure File Transfer Protocol, if set to true + */ + isSftpEnabled?: boolean; + + /** + * Enables local users feature, if set to true + */ + isLocalUserEnabled?: boolean; + + /** + * Enables extended group support with local users feature, if set to true + */ + enableExtendedGroups?: boolean; + + /** + * Account HierarchicalNamespace enabled if sets to true. + */ + isHnsEnabled?: boolean; + + /** + * Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. + */ + largeFileSharesState?: LargeFileSharesState; + + /** + * Maintains information about the network routing choice opted by the user for data transfer + */ + routingPreference?: RoutingPreference; + + /** + * Maintains information about the Internet protocol opted by the user. + */ + dualStackEndpointPreference?: DualStackEndpointPreference; + + /** + * Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is false for this property. + */ + allowBlobPublicAccess?: boolean; + + /** + * Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. + */ + minimumTlsVersion?: MinimumTlsVersion; + + /** + * Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true. + */ + allowSharedKeyAccess?: boolean; + + /** + * NFS 3.0 protocol support enabled if set to true. + */ + isNfsV3Enabled?: boolean; + + /** + * Allow or disallow cross AAD tenant object replication. Set this property to true for new or existing accounts only if object replication policies will involve storage accounts in different AAD tenants. The default interpretation is false for new accounts to follow best security practices by default. + */ + allowCrossTenantReplication?: boolean; + + /** + * A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + defaultToOAuthAuthentication?: boolean; + + /** + * The property is immutable and can only be set to true at the account creation time. When set to true, it enables object level immutability for all the new containers in the account by default. + */ + immutableStorageWithVersioning?: ImmutableStorageAccount; + + /** + * Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier. + */ + dnsEndpointType?: DnsEndpointType; + + /** + * Status indicating whether Geo Priority Replication is enabled for the account. + */ + geoPriorityReplicationStatus?: GeoPriorityReplicationStatus; +} + +/** + * SasPolicy assigned to the storage account. + */ +model SasPolicy { + /** + * The SAS expiration period, DD.HH:MM:SS. + */ + sasExpirationPeriod: string; + + /** + * The SAS Expiration Action defines the action to be performed when sasPolicy.sasExpirationPeriod is violated. The 'Log' action can be used for audit purposes and the 'Block' action can be used to block and deny the usage of SAS tokens that do not adhere to the sas policy expiration period. + */ + expirationAction: ExpirationAction = ExpirationAction.Log; +} + +/** + * KeyPolicy assigned to the storage account. + */ +model KeyPolicy { + /** + * The key expiration period in days. + */ + keyExpirationPeriodInDays: int32; +} + +/** + * The custom domain assigned to this storage account. This can be set via Update. + */ +model CustomDomain { + /** + * Gets or sets the custom domain name assigned to the storage account. Name is the CNAME source. + */ + name: string; + + /** + * Indicates whether indirect CName validation is enabled. Default value is false. This should only be set on updates. + */ + useSubDomainName?: boolean; +} + +/** + * The encryption settings on the storage account. + */ +model Encryption { + /** + * List of services which support encryption. + */ + services?: EncryptionServices; + + /** + * The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault + */ + keySource?: KeySource = KeySource.`Microsoft.Storage`; + + /** + * A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest. + */ + requireInfrastructureEncryption?: boolean; + + /** + * Properties provided by key vault. + */ + keyvaultproperties?: KeyVaultProperties; + + /** + * The identity to be used with service-side encryption at rest. + */ + identity?: EncryptionIdentity; +} + +/** + * A list of services that support encryption. + */ +model EncryptionServices { + /** + * The encryption function of the blob storage service. + */ + blob?: EncryptionService; + + /** + * The encryption function of the file storage service. + */ + file?: EncryptionService; + + /** + * The encryption function of the table storage service. + */ + table?: EncryptionService; + + /** + * The encryption function of the queue storage service. + */ + queue?: EncryptionService; +} + +/** + * A service that allows server-side encryption to be used. + */ +model EncryptionService { + /** + * A boolean indicating whether or not the service encrypts the data as it is stored. Encryption at rest is enabled by default today and cannot be disabled. + */ + enabled?: boolean; + + /** + * Gets a rough estimate of the date/time when the encryption was last enabled by the user. Data is encrypted at rest by default today and cannot be disabled. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastEnabledTime?: utcDateTime; + + /** + * Encryption key type to be used for the encryption service. 'Account' key type implies that an account-scoped encryption key will be used. 'Service' key type implies that a default service key is used. + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + keyType?: KeyType; +} + +/** + * Properties of key vault. + */ +model KeyVaultProperties { + /** + * The name of KeyVault key. + */ + keyname?: string; + + /** + * The version of KeyVault key. + */ + keyversion?: string; + + /** + * The Uri of KeyVault. + */ + keyvaulturi?: string; + + /** + * The object identifier of the current versioned Key Vault Key in use. + */ + @visibility(Lifecycle.Read) + currentVersionedKeyIdentifier?: string; + + /** + * Timestamp of last rotation of the Key Vault Key. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastKeyRotationTimestamp?: utcDateTime; + + /** + * This is a read only property that represents the expiration time of the current version of the customer managed key used for encryption. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + currentVersionedKeyExpirationTimestamp?: utcDateTime; +} + +/** + * Encryption identity for the storage account. + */ +model EncryptionIdentity { + /** + * Resource identifier of the UserAssigned identity to be associated with server-side encryption on the storage account. + */ + userAssignedIdentity?: string; + + /** + * ClientId of the multi-tenant application to be used in conjunction with the user-assigned identity for cross-tenant customer-managed-keys server-side encryption on the storage account. + */ + federatedIdentityClientId?: string; +} + +/** + * Network rule set + */ +model NetworkRuleSet { + /** + * Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None to bypass none of those traffics. + */ + bypass?: Bypass = Bypass.AzureServices; + + /** + * Sets the resource access rules + */ + @identifiers(#[]) + resourceAccessRules?: ResourceAccessRule[]; + + /** + * Sets the virtual network rules + */ + virtualNetworkRules?: VirtualNetworkRule[]; + + /** + * Sets the IP ACL rules + */ + @identifiers(#[]) + ipRules?: IPRule[]; + + /** + * Sets the IPv6 ACL rules. + */ + @identifiers(#[]) + ipv6Rules?: IPRule[]; + + /** + * Specifies the default action of allow or deny when no other rules match. + */ + defaultAction: DefaultAction = DefaultAction.Allow; +} + +/** + * Resource Access Rule. + */ +model ResourceAccessRule { + /** + * Tenant Id + */ + tenantId?: string; + + /** + * Resource Id + */ + resourceId?: string; +} + +/** + * Virtual Network rule. + */ +model VirtualNetworkRule { + /** + * Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. + */ + id: string; + + /** + * The action of virtual network rule. + */ + action?: "Allow"; + + /** + * Gets the state of virtual network rule. + */ + state?: State; +} + +/** + * IP rule with specific IP or IP range in CIDR format. + */ +model IPRule { + /** + * Specifies the IP or IP range in CIDR format. + */ + value: string; + + /** + * The action of IP ACL rule. + */ + action?: "Allow"; +} + +/** + * Settings for Azure Files identity based authentication. + */ +model AzureFilesIdentityBasedAuthentication { + /** + * Indicates the directory service used. Note that this enum may be extended in the future. + */ + directoryServiceOptions: DirectoryServiceOptions; + + /** + * Additional information about the directory service. Required if directoryServiceOptions is AD (AD DS authentication). Optional for directoryServiceOptions AADDS (Entra DS authentication) and AADKERB (Entra authentication). + */ + activeDirectoryProperties?: ActiveDirectoryProperties; + + /** + * Default share permission for users using Kerberos authentication if RBAC role is not assigned. + */ + defaultSharePermission?: DefaultSharePermission; + + /** + * Required for Managed Identities access using OAuth over SMB. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + smbOAuthSettings?: SmbOAuthSettings; +} + +/** + * Settings properties for Active Directory (AD). + */ +model ActiveDirectoryProperties { + /** + * Specifies the primary domain that the AD DNS server is authoritative for. This property is required if directoryServiceOptions is set to AD (AD DS authentication). If directoryServiceOptions is set to AADDS (Entra DS authentication), providing this property is optional, as it will be inferred automatically if omitted. If directoryServiceOptions is set to AADKERB (Entra authentication), this property is optional; it is needed to support configuration of directory- and file-level permissions via Windows File Explorer, but is not required for authentication. + */ + domainName?: string; + + /** + * Specifies the NetBIOS domain name. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. Otherwise, it can be omitted. + */ + netBiosDomainName?: string; + + /** + * Specifies the Active Directory forest to get. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. Otherwise, it can be omitted. + */ + forestName?: string; + + /** + * Specifies the domain GUID. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. If directoryServiceOptions is set to AADDS (Entra DS authentication), this property can be omitted. If directoryServiceOptions is set to AADKERB (Entra authentication), this property is optional; it is needed to support configuration of directory- and file-level permissions via Windows File Explorer, but is not required for authentication. + */ + domainGuid?: string; + + /** + * Specifies the security identifier (SID) of the AD domain. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. Otherwise, it can be omitted. + */ + domainSid?: string; + + /** + * Specifies the security identifier (SID) for Azure Storage. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. Otherwise, it can be omitted. + */ + azureStorageSid?: string; + + /** + * Specifies the Active Directory SAMAccountName for Azure Storage. If directoryServiceOptions is set to AD (AD DS authentication), this property is optional. If provided, accountType should also be provided. For directoryServiceOptions AADDS (Entra DS authentication) or AADKERB (Entra authentication), this property can be omitted. + */ + samAccountName?: string; + + /** + * Specifies the Active Directory account type for Azure Storage. If directoryServiceOptions is set to AD (AD DS authentication), this property is optional. If provided, samAccountName should also be provided. For directoryServiceOptions AADDS (Entra DS authentication) or AADKERB (Entra authentication), this property can be omitted. + */ + accountType?: AccountType; +} + +/** + * Setting property for Managed Identity access over SMB using OAuth + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model SmbOAuthSettings { + /** + * Specifies if managed identities can access SMB shares using OAuth. The default interpretation is false for this property. + */ + isSmbOAuthEnabled?: boolean; +} + +/** + * Routing preference defines the type of network, either microsoft or internet routing to be used to deliver the user data, the default option is microsoft routing + */ +model RoutingPreference { + /** + * Routing Choice defines the kind of network routing opted by the user. + */ + routingChoice?: RoutingChoice; + + /** + * A boolean flag which indicates whether microsoft routing storage endpoints are to be published + */ + publishMicrosoftEndpoints?: boolean; + + /** + * A boolean flag which indicates whether internet routing storage endpoints are to be published + */ + publishInternetEndpoints?: boolean; +} + +/** + * Dual-stack endpoint preference defines whether IPv6 endpoints are going to be published. + */ +model DualStackEndpointPreference { + /** + * A boolean flag which indicates whether IPv6 storage endpoints are to be published. + */ + publishIpv6Endpoint?: boolean; +} + +/** + * This property enables and defines account-level immutability. Enabling the feature auto-enables Blob Versioning. + */ +model ImmutableStorageAccount { + /** + * A boolean flag which enables account-level immutability. All the containers under such an account have object-level immutability enabled by default. + */ + enabled?: boolean; + + /** + * Specifies the default account-level immutability policy which is inherited and applied to objects that do not possess an explicit immutability policy at the object level. The object-level immutability policy has higher precedence than the container-level immutability policy, which has a higher precedence than the account-level immutability policy. + */ + immutabilityPolicy?: AccountImmutabilityPolicyProperties; +} + +/** + * This defines account-level immutability policy properties. + */ +model AccountImmutabilityPolicyProperties { + /** + * The immutability period for the blobs in the container since the policy creation, in days. + */ + @maxValue(146000) + @minValue(1) + immutabilityPeriodSinceCreationInDays?: int32; + + /** + * The ImmutabilityPolicy state defines the mode of the policy. Disabled state disables the policy, Unlocked state allows increase and decrease of immutability retention time and also allows toggling allowProtectedAppendWrites property, Locked state only allows the increase of the immutability retention time. A policy can only be created in a Disabled or Unlocked state and can be toggled between the two states. Only a policy in an Unlocked state can transition to a Locked state which cannot be reverted. + */ + state?: AccountImmutabilityPolicyState; + + /** + * This property can only be changed for disabled and unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. + */ + allowProtectedAppendWrites?: boolean; +} + +/** + * Properties of the storage account. + */ +model StorageAccountProperties { + /** + * Gets the status of the storage account at the time the operation was called. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + /** + * Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object. Note that Standard_ZRS and Premium_LRS accounts only return the blob endpoint. + */ + @visibility(Lifecycle.Read) + primaryEndpoints?: Endpoints; + + /** + * Gets the location of the primary data center for the storage account. + */ + @visibility(Lifecycle.Read) + primaryLocation?: string; + + /** + * Gets the status indicating whether the primary location of the storage account is available or unavailable. + */ + @visibility(Lifecycle.Read) + statusOfPrimary?: AccountStatus; + + /** + * Gets the timestamp of the most recent instance of a failover to the secondary location. Only the most recent timestamp is retained. This element is not returned if there has never been a failover instance. Only available if the accountType is Standard_GRS or Standard_RAGRS. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastGeoFailoverTime?: utcDateTime; + + /** + * Gets the location of the geo-replicated secondary for the storage account. Only available if the accountType is Standard_GRS or Standard_RAGRS. + */ + @visibility(Lifecycle.Read) + secondaryLocation?: string; + + /** + * Gets the status indicating whether the secondary location of the storage account is available or unavailable. Only available if the SKU name is Standard_GRS or Standard_RAGRS. + */ + @visibility(Lifecycle.Read) + statusOfSecondary?: AccountStatus; + + /** + * Gets the creation date and time of the storage account in UTC. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + creationTime?: utcDateTime; + + /** + * Gets the custom domain the user assigned to this storage account. + */ + @visibility(Lifecycle.Read) + customDomain?: CustomDomain; + + /** + * SasPolicy assigned to the storage account. + */ + @visibility(Lifecycle.Read) + sasPolicy?: SasPolicy; + + /** + * KeyPolicy assigned to the storage account. + */ + @visibility(Lifecycle.Read) + keyPolicy?: KeyPolicy; + + /** + * Storage account keys creation time. + */ + @visibility(Lifecycle.Read) + keyCreationTime?: KeyCreationTime; + + /** + * Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object from the secondary location of the storage account. Only available if the SKU name is Standard_RAGRS. + */ + @visibility(Lifecycle.Read) + secondaryEndpoints?: Endpoints; + + /** + * Encryption settings to be used for server-side encryption for the storage account. + */ + @visibility(Lifecycle.Read) + encryption?: Encryption; + + /** + * Required for storage accounts where kind = BlobStorage. The access tier is used for billing. The 'Premium' access tier is the default value for premium block blobs storage account type and it cannot be changed for the premium block blobs storage account type. + */ + @visibility(Lifecycle.Read) + accessTier?: AccessTier; + + /** + * Provides the identity based authentication settings for Azure Files. + */ + azureFilesIdentityBasedAuthentication?: AzureFilesIdentityBasedAuthentication; + + /** + * Allows https traffic only to storage service if sets to true. + */ + supportsHttpsTrafficOnly?: boolean; + + /** + * Network rule set + */ + @visibility(Lifecycle.Read) + networkAcls?: NetworkRuleSet; + + /** + * Enables Secure File Transfer Protocol, if set to true + */ + isSftpEnabled?: boolean; + + /** + * Enables local users feature, if set to true + */ + isLocalUserEnabled?: boolean; + + /** + * Enables extended group support with local users feature, if set to true + */ + enableExtendedGroups?: boolean; + + /** + * Account HierarchicalNamespace enabled if sets to true. + */ + isHnsEnabled?: boolean; + + /** + * Geo Replication Stats + */ + @visibility(Lifecycle.Read) + geoReplicationStats?: GeoReplicationStats; + + /** + * If the failover is in progress, the value will be true, otherwise, it will be null. + */ + @visibility(Lifecycle.Read) + failoverInProgress?: boolean; + + /** + * Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. + */ + largeFileSharesState?: LargeFileSharesState; + + /** + * List of private endpoint connection associated with the specified storage account + */ + @visibility(Lifecycle.Read) + privateEndpointConnections?: PrivateEndpointConnection[]; + + /** + * Maintains information about the network routing choice opted by the user for data transfer + */ + routingPreference?: RoutingPreference; + + /** + * Maintains information about the Internet protocol opted by the user. + */ + dualStackEndpointPreference?: DualStackEndpointPreference; + + /** + * Blob restore status + */ + @visibility(Lifecycle.Read) + blobRestoreStatus?: BlobRestoreStatus; + + /** + * Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is false for this property. + */ + allowBlobPublicAccess?: boolean; + + /** + * Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. + */ + minimumTlsVersion?: MinimumTlsVersion; + + /** + * Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true. + */ + allowSharedKeyAccess?: boolean; + + /** + * NFS 3.0 protocol support enabled if set to true. + */ + isNfsV3Enabled?: boolean; + + /** + * Allow or disallow cross AAD tenant object replication. Set this property to true for new or existing accounts only if object replication policies will involve storage accounts in different AAD tenants. The default interpretation is false for new accounts to follow best security practices by default. + */ + allowCrossTenantReplication?: boolean; + + /** + * A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + defaultToOAuthAuthentication?: boolean; + + /** + * Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account. + */ + publicNetworkAccess?: PublicNetworkAccess; + + /** + * The property is immutable and can only be set to true at the account creation time. When set to true, it enables object level immutability for all the containers in the account by default. + */ + immutableStorageWithVersioning?: ImmutableStorageAccount; + + /** + * Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet. + */ + allowedCopyScope?: AllowedCopyScope; + + /** + * This property is readOnly and is set by server during asynchronous storage account sku conversion operations. + */ + storageAccountSkuConversionStatus?: StorageAccountSkuConversionStatus; + + /** + * Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier. + */ + dnsEndpointType?: DnsEndpointType; + + /** + * This property will be set to true or false on an event of ongoing migration. Default value is null. + */ + @visibility(Lifecycle.Read) + isSkuConversionBlocked?: boolean; + + /** + * If customer initiated account migration is in progress, the value will be true else it will be null. + */ + @visibility(Lifecycle.Read) + accountMigrationInProgress?: boolean; + + /** + * Status indicating whether Geo Priority Replication is enabled for the account. + */ + geoPriorityReplicationStatus?: GeoPriorityReplicationStatus; +} + +/** + * The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object. + */ +model Endpoints { + /** + * Gets the blob endpoint. + */ + @visibility(Lifecycle.Read) + blob?: string; + + /** + * Gets the queue endpoint. + */ + @visibility(Lifecycle.Read) + queue?: string; + + /** + * Gets the table endpoint. + */ + @visibility(Lifecycle.Read) + table?: string; + + /** + * Gets the file endpoint. + */ + @visibility(Lifecycle.Read) + file?: string; + + /** + * Gets the web endpoint. + */ + @visibility(Lifecycle.Read) + web?: string; + + /** + * Gets the dfs endpoint. + */ + @visibility(Lifecycle.Read) + dfs?: string; + + /** + * Gets the microsoft routing storage endpoints. + */ + microsoftEndpoints?: StorageAccountMicrosoftEndpoints; + + /** + * Gets the internet routing storage endpoints + */ + internetEndpoints?: StorageAccountInternetEndpoints; + + /** + * Gets the IPv6 storage endpoints. + */ + ipv6Endpoints?: StorageAccountIpv6Endpoints; +} + +/** + * The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object via a microsoft routing endpoint. + */ +model StorageAccountMicrosoftEndpoints { + /** + * Gets the blob endpoint. + */ + @visibility(Lifecycle.Read) + blob?: string; + + /** + * Gets the queue endpoint. + */ + @visibility(Lifecycle.Read) + queue?: string; + + /** + * Gets the table endpoint. + */ + @visibility(Lifecycle.Read) + table?: string; + + /** + * Gets the file endpoint. + */ + @visibility(Lifecycle.Read) + file?: string; + + /** + * Gets the web endpoint. + */ + @visibility(Lifecycle.Read) + web?: string; + + /** + * Gets the dfs endpoint. + */ + @visibility(Lifecycle.Read) + dfs?: string; +} + +/** + * The URIs that are used to perform a retrieval of a public blob, file, web or dfs object via a internet routing endpoint. + */ +model StorageAccountInternetEndpoints { + /** + * Gets the blob endpoint. + */ + @visibility(Lifecycle.Read) + blob?: string; + + /** + * Gets the file endpoint. + */ + @visibility(Lifecycle.Read) + file?: string; + + /** + * Gets the web endpoint. + */ + @visibility(Lifecycle.Read) + web?: string; + + /** + * Gets the dfs endpoint. + */ + @visibility(Lifecycle.Read) + dfs?: string; +} + +/** + * The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object via an IPv6 endpoint. + */ +model StorageAccountIpv6Endpoints { + /** + * Gets the blob endpoint. + */ + @visibility(Lifecycle.Read) + blob?: string; + + /** + * Gets the queue endpoint. + */ + @visibility(Lifecycle.Read) + queue?: string; + + /** + * Gets the table endpoint. + */ + @visibility(Lifecycle.Read) + table?: string; + + /** + * Gets the file endpoint. + */ + @visibility(Lifecycle.Read) + file?: string; + + /** + * Gets the web endpoint. + */ + @visibility(Lifecycle.Read) + web?: string; + + /** + * Gets the dfs endpoint. + */ + @visibility(Lifecycle.Read) + dfs?: string; + + /** + * Gets the microsoft routing storage endpoints. + */ + microsoftEndpoints?: StorageAccountMicrosoftEndpoints; + + /** + * Gets the internet routing storage endpoints + */ + internetEndpoints?: StorageAccountInternetEndpoints; +} + +/** + * Storage account keys creation time. + */ +model KeyCreationTime { + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + key1?: utcDateTime; + + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + key2?: utcDateTime; +} + +/** + * Statistics related to replication for storage account's Blob, Table, Queue and File services. It is only available when geo-redundant replication is enabled for the storage account. + */ +model GeoReplicationStats { + /** + * The status of the secondary location. Possible values are: - Live: Indicates that the secondary location is active and operational. - Bootstrap: Indicates initial synchronization from the primary location to the secondary location is in progress.This typically occurs when replication is first enabled. - Unavailable: Indicates that the secondary location is temporarily unavailable. + */ + @visibility(Lifecycle.Read) + status?: GeoReplicationStatus; + + /** + * All primary writes preceding this UTC date/time value are guaranteed to be available for read operations. Primary writes following this point in time may or may not be available for reads. Element may be default value if value of LastSyncTime is not available, this can happen if secondary is offline or we are in bootstrap. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastSyncTime?: utcDateTime; + + /** + * A boolean flag which indicates whether or not account failover is supported for the account. + */ + @visibility(Lifecycle.Read) + canFailover?: boolean; + + /** + * A boolean flag which indicates whether or not planned account failover is supported for the account. + */ + @visibility(Lifecycle.Read) + canPlannedFailover?: boolean; + + /** + * The redundancy type of the account after an account failover is performed. + */ + @visibility(Lifecycle.Read) + postFailoverRedundancy?: PostFailoverRedundancy; + + /** + * The redundancy type of the account after a planned account failover is performed. + */ + @visibility(Lifecycle.Read) + postPlannedFailoverRedundancy?: PostPlannedFailoverRedundancy; +} + +/** + * Properties of the PrivateEndpointConnectProperties. + */ +model PrivateEndpointConnectionProperties { + /** + * The resource of private end point. + */ + privateEndpoint?: PrivateEndpoint; + + /** + * A collection of information about the state of the connection between service consumer and provider. + */ + privateLinkServiceConnectionState: PrivateLinkServiceConnectionState; + + /** + * The provisioning state of the private endpoint connection resource. + */ + @visibility(Lifecycle.Read) + provisioningState?: PrivateEndpointConnectionProvisioningState; +} + +/** + * The Private Endpoint resource. + */ +model PrivateEndpoint { + /** + * The ARM identifier for Private Endpoint + */ + @visibility(Lifecycle.Read) + id?: string; +} + +/** + * A collection of information about the state of the connection between service consumer and provider. + */ +model PrivateLinkServiceConnectionState { + /** + * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. + */ + status?: PrivateEndpointServiceConnectionStatus; + + /** + * The reason for approval/rejection of the connection. + */ + description?: string; + + /** + * A message indicating if changes on the service provider require any updates on the consumer. + */ + actionRequired?: string; +} + +/** + * Blob restore status. + */ +model BlobRestoreStatus { + /** + * The status of blob restore progress. Possible values are: - InProgress: Indicates that blob restore is ongoing. - Complete: Indicates that blob restore has been completed successfully. - Failed: Indicates that blob restore is failed. + */ + @visibility(Lifecycle.Read) + status?: BlobRestoreProgressStatus; + + /** + * Failure reason when blob restore is failed. + */ + @visibility(Lifecycle.Read) + failureReason?: string; + + /** + * Id for tracking blob restore request. + */ + @visibility(Lifecycle.Read) + restoreId?: string; + + /** + * Blob restore request parameters. + */ + @visibility(Lifecycle.Read) + parameters?: BlobRestoreParameters; +} + +/** + * Blob restore parameters + */ +model BlobRestoreParameters { + /** + * Restore blob to the specified time. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + timeToRestore: utcDateTime; + + /** + * Blob ranges to restore. + */ + @identifiers(#[]) + blobRanges: BlobRestoreRange[]; +} + +/** + * Blob range + */ +model BlobRestoreRange { + /** + * Blob start range. This is inclusive. Empty means account start. + */ + startRange: string; + + /** + * Blob end range. This is exclusive. Empty means account end. + */ + endRange: string; +} + +/** + * This defines the sku conversion status object for asynchronous sku conversions. + */ +model StorageAccountSkuConversionStatus { + /** + * This property indicates the current sku conversion status. + */ + @visibility(Lifecycle.Read) + skuConversionStatus?: SkuConversionStatus; + + /** + * This property represents the target sku name to which the account sku is being converted asynchronously. + */ + targetSkuName?: SkuName; + + /** + * This property represents the sku conversion start time. + */ + @visibility(Lifecycle.Read) + startTime?: string; + + /** + * This property represents the sku conversion end time. + */ + @visibility(Lifecycle.Read) + endTime?: string; +} + +/** + * The parameters that can be provided when updating the storage account properties. + */ +model StorageAccountUpdateParameters { + /** + * Gets or sets the SKU name. Note that the SKU name cannot be updated to Standard_ZRS, Premium_LRS or Premium_ZRS, nor can accounts of those SKU names be updated to any other value. + */ + sku?: Sku; + + /** + * 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. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + tags?: Record; + + /** + * The identity of the resource. + */ + identity?: Identity; + + /** + * The parameters used when updating a storage account. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: StorageAccountPropertiesUpdateParameters; + + /** + * Optional. Indicates the type of storage account. Currently only StorageV2 value supported by server. + */ + kind?: Kind; + + /** + * Optional. Gets or sets the pinned logical availability zone for the storage account. + */ + zones?: string[]; + + /** + * Optional. Gets or sets the zonal placement details for the storage account. + */ + placement?: Placement; +} + +/** + * The parameters used when updating a storage account. + */ +model StorageAccountPropertiesUpdateParameters { + /** + * Custom domain assigned to the storage account by the user. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property. + */ + customDomain?: CustomDomain; + + /** + * Not applicable. Azure Storage encryption at rest is enabled by default for all storage accounts and cannot be disabled. + */ + encryption?: Encryption; + + /** + * SasPolicy assigned to the storage account. + */ + sasPolicy?: SasPolicy; + + /** + * KeyPolicy assigned to the storage account. + */ + keyPolicy?: KeyPolicy; + + /** + * Required for storage accounts where kind = BlobStorage. The access tier is used for billing. The 'Premium' access tier is the default value for premium block blobs storage account type and it cannot be changed for the premium block blobs storage account type. + */ + accessTier?: AccessTier; + + /** + * Provides the identity based authentication settings for Azure Files. + */ + azureFilesIdentityBasedAuthentication?: AzureFilesIdentityBasedAuthentication; + + /** + * Allows https traffic only to storage service if sets to true. + */ + supportsHttpsTrafficOnly?: boolean; + + /** + * Enables Secure File Transfer Protocol, if set to true + */ + isSftpEnabled?: boolean; + + /** + * Enables local users feature, if set to true + */ + isLocalUserEnabled?: boolean; + + /** + * Enables extended group support with local users feature, if set to true + */ + enableExtendedGroups?: boolean; + + /** + * Network rule set + */ + networkAcls?: NetworkRuleSet; + + /** + * Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. + */ + largeFileSharesState?: LargeFileSharesState; + + /** + * Maintains information about the network routing choice opted by the user for data transfer + */ + routingPreference?: RoutingPreference; + + /** + * Maintains information about the Internet protocol opted by the user. + */ + dualStackEndpointPreference?: DualStackEndpointPreference; + + /** + * Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is false for this property. + */ + allowBlobPublicAccess?: boolean; + + /** + * Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. + */ + minimumTlsVersion?: MinimumTlsVersion; + + /** + * Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true. + */ + allowSharedKeyAccess?: boolean; + + /** + * Allow or disallow cross AAD tenant object replication. Set this property to true for new or existing accounts only if object replication policies will involve storage accounts in different AAD tenants. The default interpretation is false for new accounts to follow best security practices by default. + */ + allowCrossTenantReplication?: boolean; + + /** + * A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + defaultToOAuthAuthentication?: boolean; + + /** + * Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account. Value is optional but if passed in, must be 'Enabled', 'Disabled' or 'SecuredByPerimeter'. + */ + publicNetworkAccess?: PublicNetworkAccess; + + /** + * The property is immutable and can only be set to true at the account creation time. When set to true, it enables object level immutability for all the containers in the account by default. + */ + immutableStorageWithVersioning?: ImmutableStorageAccount; + + /** + * Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet. + */ + allowedCopyScope?: AllowedCopyScope; + + /** + * Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier. + */ + dnsEndpointType?: DnsEndpointType; + + /** + * Status indicating whether Geo Priority Replication is enabled for the account. + */ + geoPriorityReplicationStatus?: GeoPriorityReplicationStatus; +} + +/** + * Attributes of a deleted storage account. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model DeletedAccountProperties { + /** + * Full resource id of the original storage account. + */ + @visibility(Lifecycle.Read) + storageAccountResourceId?: string; + + /** + * Location of the deleted account. + */ + @visibility(Lifecycle.Read) + location?: string; + + /** + * Can be used to attempt recovering this deleted account via PutStorageAccount API. + */ + @visibility(Lifecycle.Read) + restoreReference?: string; + + /** + * Creation time of the deleted account. + */ + @visibility(Lifecycle.Read) + creationTime?: string; + + /** + * Deletion time of the deleted account. + */ + @visibility(Lifecycle.Read) + deletionTime?: string; +} + +/** + * An error response from the storage resource provider. + */ +@error +model ErrorResponse { + /** + * Azure Storage Resource Provider error response body. + */ + error?: ErrorResponseBody; +} + +/** + * Error response body contract. + */ +model ErrorResponseBody { + /** + * An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + */ + code?: string; + + /** + * A message describing the error, intended to be suitable for display in a user interface. + */ + message?: string; +} + +/** + * The response from the ListKeys operation. + */ +model StorageAccountListKeysResult { + /** + * Gets the list of storage account keys and their properties for the specified storage account. + */ + @visibility(Lifecycle.Read) + @identifiers(#[]) + keys?: StorageAccountKey[]; +} + +/** + * An access key for the storage account. + */ +model StorageAccountKey { + /** + * Name of the key. + */ + @visibility(Lifecycle.Read) + keyName?: string; + + /** + * Base 64-encoded value of the key. + */ + @visibility(Lifecycle.Read) + value?: string; + + /** + * Permissions for the key -- read-only or full permissions. + */ + @visibility(Lifecycle.Read) + permissions?: KeyPermission; + + /** + * Creation time of the key, in round trip date format. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + creationTime?: utcDateTime; +} + +/** + * The parameters used to regenerate the storage account key. + */ +model StorageAccountRegenerateKeyParameters { + /** + * The name of storage keys that want to be regenerated, possible values are key1, key2, kerb1, kerb2. + */ + keyName: string; +} + +/** + * The response from the List Usages operation. + */ +model UsageListResult { + /** + * Gets or sets the list of Storage Resource Usages. + */ + @pageItems + value?: Usage[]; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @nextLink + nextLink?: string; +} + +/** + * Describes Storage Resource Usage. + */ +model Usage { + /** + * Gets the unit of measurement. + */ + @visibility(Lifecycle.Read) + unit?: UsageUnit; + + /** + * Gets the current count of the allocated resources in the subscription. + */ + @visibility(Lifecycle.Read) + currentValue?: int32; + + /** + * Gets the maximum count of the resources that can be allocated in the subscription. + */ + @visibility(Lifecycle.Read) + limit?: int32; + + /** + * Gets the name of the type of usage. + */ + @visibility(Lifecycle.Read) + name?: UsageName; +} + +/** + * The usage names that can be used; currently limited to StorageAccount. + */ +model UsageName { + /** + * Gets a string describing the resource name. + */ + @visibility(Lifecycle.Read) + value?: string; + + /** + * Gets a localized string describing the resource name. + */ + @visibility(Lifecycle.Read) + localizedValue?: string; +} + +/** + * The parameters to list SAS credentials of a storage account. + */ +model AccountSasParameters { + /** + * The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f). + */ + signedServices: Services; + + /** + * The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files. + */ + signedResourceTypes: SignedResourceTypes; + + /** + * The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). + */ + signedPermission: Permissions; + + /** + * An IP address or a range of IP addresses from which to accept requests. + */ + signedIp?: string; + + /** + * The protocol permitted for a request made with the account SAS. + */ + signedProtocol?: HttpProtocol; + + /** + * The time at which the SAS becomes valid. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + signedStart?: utcDateTime; + + /** + * The time at which the shared access signature becomes invalid. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + signedExpiry: utcDateTime; + + /** + * The key to sign the account SAS token with. + */ + keyToSign?: string; +} + +/** + * The List SAS credentials operation response. + */ +model ListAccountSasResponse { + /** + * List SAS credentials of storage account. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + accountSasToken?: string; +} + +/** + * The parameters to list service SAS credentials of a specific resource. + */ +model ServiceSasParameters { + /** + * The canonical path to the signed resource. + */ + canonicalizedResource: string; + + /** + * The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s). + */ + signedResource?: SignedResource; + + /** + * The signed permissions for the service SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). + */ + signedPermission?: Permissions; + + /** + * An IP address or a range of IP addresses from which to accept requests. + */ + signedIp?: string; + + /** + * The protocol permitted for a request made with the account SAS. + */ + signedProtocol?: HttpProtocol; + + /** + * The time at which the SAS becomes valid. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + signedStart?: utcDateTime; + + /** + * The time at which the shared access signature becomes invalid. + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + signedExpiry?: utcDateTime; + + /** + * A unique value up to 64 characters in length that correlates to an access policy specified for the container, queue, or table. + */ + @maxLength(64) + signedIdentifier?: string; + + /** + * The start of partition key. + */ + startPk?: string; + + /** + * The end of partition key. + */ + endPk?: string; + + /** + * The start of row key. + */ + startRk?: string; + + /** + * The end of row key. + */ + endRk?: string; + + /** + * The key to sign the account SAS token with. + */ + keyToSign?: string; + + /** + * The response header override for cache control. + */ + rscc?: string; + + /** + * The response header override for content disposition. + */ + rscd?: string; + + /** + * The response header override for content encoding. + */ + rsce?: string; + + /** + * The response header override for content language. + */ + rscl?: string; + + /** + * The response header override for content type. + */ + rsct?: string; +} + +/** + * The List service SAS credentials operation response. + */ +model ListServiceSasResponse { + /** + * List service SAS credentials of specific resource. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @visibility(Lifecycle.Read) + serviceSasToken?: string; +} + +/** + * The properties of a storage account's ongoing or enqueued migration. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StorageAccountMigrationProperties { + /** + * Target sku name for the account + */ + targetSkuName: SkuName; + + /** + * Current status of migration + */ + @visibility(Lifecycle.Read) + migrationStatus?: migrationStatus; + + /** + * Error code for migration failure + */ + @visibility(Lifecycle.Read) + migrationFailedReason?: string; + + /** + * Reason for migration failure + */ + @visibility(Lifecycle.Read) + migrationFailedDetailedReason?: string; +} + +/** + * The Storage Account ManagementPolicy properties. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ManagementPolicyProperties { + /** + * Returns the date and time the ManagementPolicies was last modified. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastModifiedTime?: utcDateTime; + + /** + * The Storage Account ManagementPolicy, in JSON format. See more details in: https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview. + */ + policy: ManagementPolicySchema; +} + +/** + * The Storage Account ManagementPolicies Rules. See more details in: https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview. + */ +model ManagementPolicySchema { + /** + * The Storage Account ManagementPolicies Rules. See more details in: https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview. + */ + rules: ManagementPolicyRule[]; +} + +/** + * An object that wraps the Lifecycle rule. Each rule is uniquely defined by name. + */ +model ManagementPolicyRule { + /** + * Rule is enabled if set to true. + */ + enabled?: boolean; + + /** + * A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy. + */ + name: string; + + /** + * The valid value is Lifecycle + */ + type: RuleType; + + /** + * An object that defines the Lifecycle rule. + */ + definition: ManagementPolicyDefinition; +} + +/** + * An object that defines the Lifecycle rule. Each definition is made up with a filters set and an actions set. + */ +model ManagementPolicyDefinition { + /** + * An object that defines the action set. + */ + actions: ManagementPolicyAction; + + /** + * An object that defines the filter set. + */ + filters?: ManagementPolicyFilter; +} + +/** + * Actions are applied to the filtered blobs when the execution condition is met. + */ +model ManagementPolicyAction { + /** + * The management policy action for base blob + */ + baseBlob?: ManagementPolicyBaseBlob; + + /** + * The management policy action for snapshot + */ + snapshot?: ManagementPolicySnapShot; + + /** + * The management policy action for version + */ + version?: ManagementPolicyVersion; +} + +/** + * Management policy action for base blob. + */ +model ManagementPolicyBaseBlob { + /** + * The function to tier blobs to cool storage. + */ + tierToCool?: DateAfterModification; + + /** + * The function to tier blobs to archive storage. + */ + tierToArchive?: DateAfterModification; + + /** + * The function to tier blobs to cold storage. + */ + tierToCold?: DateAfterModification; + + /** + * The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts + */ + tierToHot?: DateAfterModification; + + /** + * The function to delete the blob + */ + delete?: DateAfterModification; + + /** + * This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan. + */ + enableAutoTierToHotFromCool?: boolean; +} + +/** + * Object to define the base blob action conditions. Properties daysAfterModificationGreaterThan, daysAfterLastAccessTimeGreaterThan and daysAfterCreationGreaterThan are mutually exclusive. The daysAfterLastTierChangeGreaterThan property is only applicable for tierToArchive actions which requires daysAfterModificationGreaterThan to be set, also it cannot be used in conjunction with daysAfterLastAccessTimeGreaterThan or daysAfterCreationGreaterThan. + */ +model DateAfterModification { + /** + * Value indicating the age in days after last modification + */ + @minValue(0) + daysAfterModificationGreaterThan?: float32; + + /** + * Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy + */ + @minValue(0) + daysAfterLastAccessTimeGreaterThan?: float32; + + /** + * Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterModificationGreaterThan to be set for baseBlobs based actions. The blob will be archived if both the conditions are satisfied. + */ + @minValue(0) + daysAfterLastTierChangeGreaterThan?: float32; + + /** + * Value indicating the age in days after blob creation. + */ + @minValue(0) + daysAfterCreationGreaterThan?: float32; +} + +/** + * Management policy action for snapshot. + */ +model ManagementPolicySnapShot { + /** + * The function to tier blob snapshot to cool storage. + */ + tierToCool?: DateAfterCreation; + + /** + * The function to tier blob snapshot to archive storage. + */ + tierToArchive?: DateAfterCreation; + + /** + * The function to tier blobs to cold storage. + */ + tierToCold?: DateAfterCreation; + + /** + * The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts + */ + tierToHot?: DateAfterCreation; + + /** + * The function to delete the blob snapshot + */ + delete?: DateAfterCreation; +} + +/** + * Object to define snapshot and version action conditions. + */ +model DateAfterCreation { + /** + * Value indicating the age in days after creation + */ + @minValue(0) + daysAfterCreationGreaterThan: float32; + + /** + * Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterCreationGreaterThan to be set for snapshots and blob version based actions. The blob will be archived if both the conditions are satisfied. + */ + @minValue(0) + daysAfterLastTierChangeGreaterThan?: float32; +} + +/** + * Management policy action for blob version. + */ +model ManagementPolicyVersion { + /** + * The function to tier blob version to cool storage. + */ + tierToCool?: DateAfterCreation; + + /** + * The function to tier blob version to archive storage. + */ + tierToArchive?: DateAfterCreation; + + /** + * The function to tier blobs to cold storage. + */ + tierToCold?: DateAfterCreation; + + /** + * The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts + */ + tierToHot?: DateAfterCreation; + + /** + * The function to delete the blob version + */ + delete?: DateAfterCreation; +} + +/** + * Filters limit rule actions to a subset of blobs within the storage account. If multiple filters are defined, a logical AND is performed on all filters. + */ +model ManagementPolicyFilter { + /** + * An array of strings for prefixes to be match. + */ + prefixMatch?: string[]; + + /** + * An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob. + */ + blobTypes: string[]; + + /** + * An array of blob index tag based filters, there can be at most 10 tag filters + */ + blobIndexMatch?: TagFilter[]; +} + +/** + * Blob index tag based filtering for blob objects + */ +model TagFilter { + /** + * This is the filter tag name, it can have 1 - 128 characters + */ + @maxLength(128) + @minLength(1) + name: string; + + /** + * This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported + */ + `op`: string; + + /** + * This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters + */ + @maxLength(256) + @minLength(0) + value: string; +} + +/** + * The storage account blob inventory policy properties. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model BlobInventoryPolicyProperties { + /** + * Returns the last modified date and time of the blob inventory policy. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastModifiedTime?: utcDateTime; + + /** + * The storage account blob inventory policy object. It is composed of policy rules. + */ + policy: BlobInventoryPolicySchema; +} + +/** + * The storage account blob inventory policy rules. + */ +model BlobInventoryPolicySchema { + /** + * Policy is enabled if set to true. + */ + enabled: boolean; + + /** + * Deprecated Property from API version 2021-04-01 onwards, the required destination container name must be specified at the rule level 'policy.rule.destination' + */ + @visibility(Lifecycle.Read) + destination?: string; + + /** + * The valid value is Inventory + */ + type: InventoryRuleType; + + /** + * The storage account blob inventory policy rules. The rule is applied when it is enabled. + */ + rules: BlobInventoryPolicyRule[]; +} + +/** + * An object that wraps the blob inventory rule. Each rule is uniquely defined by name. + */ +model BlobInventoryPolicyRule { + /** + * Rule is enabled when set to true. + */ + enabled: boolean; + + /** + * A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy. + */ + name: string; + + /** + * Container name where blob inventory files are stored. Must be pre-created. + */ + destination: string; + + /** + * An object that defines the blob inventory policy rule. + */ + definition: BlobInventoryPolicyDefinition; +} + +/** + * An object that defines the blob inventory rule. + */ +model BlobInventoryPolicyDefinition { + /** + * An object that defines the filter set. + */ + filters?: BlobInventoryPolicyFilter; + + /** + * This is a required field, it specifies the format for the inventory files. + */ + format: Format; + + /** + * This is a required field. This field is used to schedule an inventory formation. + */ + schedule: Schedule; + + /** + * This is a required field. This field specifies the scope of the inventory created either at the blob or container level. + */ + objectType: ObjectType; + + /** + * This is a required field. This field specifies the fields and properties of the object to be included in the inventory. The Schema field value 'Name' is always required. The valid values for this field for the 'Blob' definition.objectType include 'Name, Creation-Time, Last-Modified, Content-Length, Content-MD5, BlobType, AccessTier, AccessTierChangeTime, AccessTierInferred, Tags, Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, Snapshot, VersionId, IsCurrentVersion, Metadata, LastAccessTime, Tags, Etag, ContentType, ContentEncoding, ContentLanguage, ContentCRC64, CacheControl, ContentDisposition, LeaseStatus, LeaseState, LeaseDuration, ServerEncrypted, Deleted, DeletionId, DeletedTime, RemainingRetentionDays, ImmutabilityPolicyUntilDate, ImmutabilityPolicyMode, LegalHold, CopyId, CopyStatus, CopySource, CopyProgress, CopyCompletionTime, CopyStatusDescription, CustomerProvidedKeySha256, RehydratePriority, ArchiveStatus, XmsBlobSequenceNumber, EncryptionScope, IncrementalCopy, TagCount'. For Blob object type schema field value 'DeletedTime' is applicable only for Hns enabled accounts. The valid values for 'Container' definition.objectType include 'Name, Last-Modified, Metadata, LeaseStatus, LeaseState, LeaseDuration, PublicAccess, HasImmutabilityPolicy, HasLegalHold, Etag, DefaultEncryptionScope, DenyEncryptionScopeOverride, ImmutableStorageWithVersioningEnabled, Deleted, Version, DeletedTime, RemainingRetentionDays'. Schema field values 'Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, DeletionId' are valid only for Hns enabled accounts.Schema field values 'Tags, TagCount' are only valid for Non-Hns accounts. + */ + schemaFields: string[]; +} + +/** + * An object that defines the blob inventory rule filter conditions. For 'Blob' definition.objectType all filter properties are applicable, 'blobTypes' is required and others are optional. For 'Container' definition.objectType only prefixMatch is applicable and is optional. + */ +model BlobInventoryPolicyFilter { + /** + * An array of strings with maximum 10 blob prefixes to be included in the inventory. + */ + prefixMatch?: string[]; + + /** + * An array of strings with maximum 10 blob prefixes to be excluded from the inventory. + */ + excludePrefix?: string[]; + + /** + * An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs. This field is required when definition.objectType property is set to 'Blob'. + */ + blobTypes?: string[]; + + /** + * Includes blob versions in blob inventory when value is set to true. The definition.schemaFields values 'VersionId and IsCurrentVersion' are required if this property is set to true, else they must be excluded. + */ + includeBlobVersions?: boolean; + + /** + * Includes blob snapshots in blob inventory when value is set to true. The definition.schemaFields value 'Snapshot' is required if this property is set to true, else it must be excluded. + */ + includeSnapshots?: boolean; + + /** + * For 'Container' definition.objectType the definition.schemaFields must include 'Deleted, Version, DeletedTime and RemainingRetentionDays'. For 'Blob' definition.objectType and HNS enabled storage accounts the definition.schemaFields must include 'DeletionId, Deleted, DeletedTime and RemainingRetentionDays' and for Hns disabled accounts the definition.schemaFields must include 'Deleted and RemainingRetentionDays', else it must be excluded. + */ + includeDeleted?: boolean; + + /** + * This property is used to filter objects based on the object creation time + */ + creationTime?: BlobInventoryCreationTime; +} + +/** + * This property defines the creation time based filtering condition. Blob Inventory schema parameter 'Creation-Time' is mandatory with this filter. + */ +model BlobInventoryCreationTime { + /** + * When set the policy filters the objects that are created in the last N days. Where N is an integer value between 1 to 36500. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @maxValue(36500) + @minValue(1) + lastNDays?: int32; +} + +/** + * List of blob inventory policies returned. + */ +model ListBlobInventoryPolicy { + /** + * List of blob inventory policies. + */ + @visibility(Lifecycle.Read) + @pageItems + value?: BlobInventoryPolicy[]; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @nextLink + nextLink?: string; +} + +/** + * List of private endpoint connection associated with the specified storage account + */ +model PrivateEndpointConnectionListResult { + /** + * Array of private endpoint connections + */ + @pageItems + value?: PrivateEndpointConnection[]; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @nextLink + nextLink?: string; +} + +/** + * A list of private link resources + */ +model PrivateLinkResourceListResult { + /** + * Array of private link resources + */ + value?: PrivateLinkResource[]; +} + +/** + * A private link resource + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model PrivateLinkResource extends Azure.ResourceManager.CommonTypes.Resource { + /** + * Resource properties. + */ + #suppress "@azure-tools/typespec-azure-core/no-private-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + properties?: PrivateLinkResourceProperties; +} + +/** + * Properties of a private link resource. + */ +model PrivateLinkResourceProperties { + /** + * The private link resource group id. + */ + @visibility(Lifecycle.Read) + groupId?: string; + + /** + * The private link resource required member names. + */ + @visibility(Lifecycle.Read) + requiredMembers?: string[]; + + /** + * The private link resource Private link DNS zone name. + */ + requiredZoneNames?: string[]; +} + +/** + * List storage account object replication policies. + */ +model ObjectReplicationPolicies { + /** + * The replication policy between two storage accounts. + */ + @pageItems + value?: ObjectReplicationPolicy[]; + + #suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @nextLink + nextLink?: string; +} + +/** + * The Storage Account ObjectReplicationPolicy properties. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ObjectReplicationPolicyProperties { + /** + * A unique id for object replication policy. + */ + @visibility(Lifecycle.Read) + policyId?: string; + + /** + * Indicates when the policy is enabled on the source account. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + enabledTime?: utcDateTime; + + /** + * Required. Source account name. It should be full resource id if allowCrossTenantReplication set to false. + */ + sourceAccount: string; + + /** + * Required. Destination account name. It should be full resource id if allowCrossTenantReplication set to false. + */ + destinationAccount: string; + + /** + * The storage account object replication rules. + */ + @identifiers(#[]) + rules?: ObjectReplicationPolicyRule[]; + + /** + * Optional. The object replication policy metrics feature options. + */ + metrics?: ObjectReplicationPolicyPropertiesMetrics; + + /** + * Optional. The object replication policy priority replication feature options. + */ + priorityReplication?: ObjectReplicationPolicyPropertiesPriorityReplication; +} + +/** + * The replication policy rule between two containers. + */ +model ObjectReplicationPolicyRule { + /** + * Rule Id is auto-generated for each new rule on destination account. It is required for put policy on source account. + */ + ruleId?: string; + + /** + * Required. Source container name. + */ + sourceContainer: string; + + /** + * Required. Destination container name. + */ + destinationContainer: string; + + /** + * Optional. An object that defines the filter set. + */ + filters?: ObjectReplicationPolicyFilter; +} + +/** + * Filters limit replication to a subset of blobs within the storage account. A logical OR is performed on values in the filter. If multiple filters are defined, a logical AND is performed on all filters. + */ +model ObjectReplicationPolicyFilter { + /** + * Optional. Filters the results to replicate only blobs whose names begin with the specified prefix. + */ + prefixMatch?: string[]; + + /** + * Blobs created after the time will be replicated to the destination. It must be in datetime format 'yyyy-MM-ddTHH:mm:ssZ'. Example: 2020-02-19T16:05:00Z + */ + minCreationTime?: string; +} + +/** + * Optional. The object replication policy metrics feature options. + */ +model ObjectReplicationPolicyPropertiesMetrics { + /** + * Indicates whether object replication metrics feature is enabled for the policy. + */ + enabled?: boolean; +} + +/** + * Optional. The object replication policy priority replication feature options. + */ +model ObjectReplicationPolicyPropertiesPriorityReplication { + /** + * Indicates whether object replication priority replication feature is enabled for the policy. + */ + enabled?: boolean; +} + +/** + * List of local users requested, and if paging is required, a URL to the next page of local users. + */ +model LocalUsers is Azure.Core.Page; + +/** + * The Storage Account Local User properties. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model LocalUserProperties { + /** + * The permission scopes of the local user. + */ + @identifiers(#[]) + permissionScopes?: PermissionScope[]; + + /** + * Optional, local user home directory. + */ + homeDirectory?: string; + + /** + * Optional, local user ssh authorized keys for SFTP. + */ + @identifiers(#[]) + sshAuthorizedKeys?: SshPublicKey[]; + + /** + * A unique Security Identifier that is generated by the server. + */ + @visibility(Lifecycle.Read) + sid?: string; + + /** + * Indicates whether shared key exists. Set it to false to remove existing shared key. + */ + hasSharedKey?: boolean; + + /** + * Indicates whether ssh key exists. Set it to false to remove existing SSH key. + */ + hasSshKey?: boolean; + + /** + * Indicates whether ssh password exists. Set it to false to remove existing SSH password. + */ + hasSshPassword?: boolean; + + /** + * A unique Identifier that is generated by the server. + */ + @visibility(Lifecycle.Read) + userId?: int32; + + /** + * An identifier for associating a group of users. + */ + groupId?: int32; + + /** + * Indicates whether ACL authorization is allowed for this user. Set it to false to disallow using ACL authorization. + */ + allowAclAuthorization?: boolean; + + /** + * Supplementary group membership. Only applicable for local users enabled for NFSv3 access. + */ + extendedGroups?: int32[]; + + /** + * Indicates if the local user is enabled for access with NFSv3 protocol. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + isNFSv3Enabled?: boolean; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model PermissionScope { + /** + * The permissions for the local user. Possible values include: Read (r), Write (w), Delete (d), List (l), Create (c), Modify Ownership (o), and Modify Permissions (p). + */ + permissions: string; + + /** + * The service used by the local user, e.g. blob, file. + */ + service: string; + + /** + * The name of resource, normally the container name or the file share name, used by the local user. + */ + resourceName: string; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model SshPublicKey { + /** + * Optional. It is used to store the function/usage of the key + */ + description?: string; + + /** + * Ssh public key base64 encoded. The format should be: ' ', e.g. ssh-rsa AAAABBBB + */ + #suppress "@azure-tools/typespec-azure-resource-manager/secret-prop" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + key?: string; +} + +/** + * The Storage Account Local User keys. + */ +model LocalUserKeys { + /** + * Optional, local user ssh authorized keys for SFTP. + */ + @identifiers(#[]) + sshAuthorizedKeys?: SshPublicKey[]; + + /** + * Auto generated by the server for SMB authentication. + */ + @visibility(Lifecycle.Read) + @secret + sharedKey?: string; +} + +/** + * The secrets of Storage Account Local User. + */ +model LocalUserRegeneratePasswordResult { + /** + * Auto generated password by the server for SSH authentication if hasSshPassword is set to true on the creation of local user. + */ + @visibility(Lifecycle.Read) + @secret + sshPassword?: string; +} + +/** + * Properties of the encryption scope. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model EncryptionScopeProperties { + /** + * The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault. + */ + source?: EncryptionScopeSource; + + /** + * The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled. + */ + state?: EncryptionScopeState; + + /** + * Gets the creation date and time of the encryption scope in UTC. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + creationTime?: utcDateTime; + + /** + * Gets the last modification date and time of the encryption scope in UTC. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastModifiedTime?: utcDateTime; + + /** + * The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'. + */ + keyVaultProperties?: EncryptionScopeKeyVaultProperties; + + /** + * A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest. + */ + requireInfrastructureEncryption?: boolean; +} + +/** + * The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'. + */ +model EncryptionScopeKeyVaultProperties { + /** + * The object identifier for a key vault key object. When applied, the encryption scope will use the key referenced by the identifier to enable customer-managed key support on this encryption scope. + */ + keyUri?: string; + + /** + * The object identifier of the current versioned Key Vault Key in use. + */ + @visibility(Lifecycle.Read) + currentVersionedKeyIdentifier?: string; + + /** + * Timestamp of last rotation of the Key Vault Key. + */ + @visibility(Lifecycle.Read) + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + lastKeyRotationTimestamp?: utcDateTime; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model ListTableServices { + /** + * List of table services returned. + */ + @visibility(Lifecycle.Read) + @pageItems + value?: TableServiceProperties[]; +} + +/** + * The properties of a storage account’s Table service. + */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model TableServicePropertiesProperties { + /** + * Specifies CORS rules for the Table service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Table service. + */ + cors?: CorsRules; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +#suppress "@azure-tools/typespec-azure-core/documentation-required" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model TableProperties { + /** + * Table name under the specified account + */ + @visibility(Lifecycle.Read) + tableName?: string; + + /** + * List of stored access policies specified on the table. + */ + signedIdentifiers?: TableSignedIdentifier[]; +} + +/** + * Object to set Table Access Policy. + */ +model TableSignedIdentifier { + /** + * unique-64-character-value of the stored access policy. + */ + id: string; + + /** + * Access policy + */ + accessPolicy?: TableAccessPolicy; +} + +/** + * Table Access Policy Properties Object. + */ +model TableAccessPolicy { + /** + * Start time of the access policy + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startTime?: utcDateTime; + + /** + * Expiry time of the access policy + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + expiryTime?: utcDateTime; + + /** + * Required. List of abbreviated permissions. Supported permission values include 'r','a','u','d' + */ + permission: string; +} + +/** + * Response schema. Contains list of tables returned + */ +model ListTableResource is Azure.Core.Page
; + +/** + * Result of the List Network Security Perimeter configuration operation. + */ +model NetworkSecurityPerimeterConfigurationList + is Azure.Core.Page; + +/** + * Properties of the Network Security Perimeter Configuration + */ +model NetworkSecurityPerimeterConfigurationProperties { + /** + * Provisioning state of Network Security Perimeter configuration propagation + */ + @visibility(Lifecycle.Read) + provisioningState?: NetworkSecurityPerimeterConfigurationProvisioningState; + + /** + * List of Provisioning Issues if any + */ + @visibility(Lifecycle.Read) + @identifiers(#["name"]) + provisioningIssues?: ProvisioningIssue[]; + + /** + * NetworkSecurityPerimeter related information + */ + @visibility(Lifecycle.Read) + networkSecurityPerimeter?: NetworkSecurityPerimeter; + + /** + * Information about resource association + */ + @visibility(Lifecycle.Read) + resourceAssociation?: NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation; + + /** + * Network Security Perimeter profile + */ + @visibility(Lifecycle.Read) + profile?: NetworkSecurityPerimeterConfigurationPropertiesProfile; +} + +/** + * Describes provisioning issue for given NetworkSecurityPerimeterConfiguration + */ +model ProvisioningIssue { + /** + * Name of the issue + */ + name?: string; + + /** + * Properties of provisioning issue + */ + @visibility(Lifecycle.Read) + properties?: ProvisioningIssueProperties; +} + +/** + * Properties of provisioning issue + */ +model ProvisioningIssueProperties { + /** + * Type of issue + */ + issueType?: IssueType; + + /** + * Severity of the issue. + */ + severity?: Severity; + + /** + * Description of the issue + */ + description?: string; +} + +/** + * NetworkSecurityPerimeter related information + */ +model NetworkSecurityPerimeter { + /** + * The ARM identifier of the resource + */ + id?: string; + + /** + * Guid of the resource + */ + perimeterGuid?: string; + + /** + * Location of the resource + */ + @visibility(Lifecycle.Read, Lifecycle.Create) + location?: string; +} + +/** + * Information about resource association + */ +model NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation { + /** + * Name of the resource association + */ + name?: string; + + /** + * Access Mode of the resource association + */ + accessMode?: ResourceAssociationAccessMode; +} + +/** + * Network Security Perimeter profile + */ +model NetworkSecurityPerimeterConfigurationPropertiesProfile { + /** + * Name of the resource + */ + name?: string; + + /** + * Current access rules version + */ + accessRulesVersion?: float32; + + /** + * List of Access Rules + */ + @identifiers(#["name"]) + accessRules?: NspAccessRule[]; + + /** + * Diagnostic settings version + */ + diagnosticSettingsVersion?: float32; + + /** + * Enabled logging categories + */ + enabledLogCategories?: string[]; +} + +/** + * Information of Access Rule in Network Security Perimeter profile + */ +model NspAccessRule { + /** + * Name of the resource + */ + name?: string; + + /** + * Properties of Access Rule + */ + @visibility(Lifecycle.Read) + properties?: NspAccessRuleProperties; +} + +/** + * Properties of Access Rule + */ +model NspAccessRuleProperties { + /** + * Direction of Access Rule + */ + direction?: NspAccessRuleDirection; + + /** + * Address prefixes in the CIDR format for inbound rules + */ + addressPrefixes?: string[]; + + /** + * Subscriptions for inbound rules + */ + subscriptions?: NspAccessRulePropertiesSubscriptionsItem[]; + + /** + * NetworkSecurityPerimeters for inbound rules + */ + @visibility(Lifecycle.Read) + networkSecurityPerimeters?: NetworkSecurityPerimeter[]; + + /** + * FQDN for outbound rules + */ + @visibility(Lifecycle.Read) + fullyQualifiedDomainNames?: string[]; +} + +/** + * Subscription for inbound rule + */ +model NspAccessRulePropertiesSubscriptionsItem { + /** + * The ARM identifier of subscription + */ + id?: string; +} + +/** + * Properties of the storage task assignment. + */ +model StorageTaskAssignmentProperties { + /** + * Id of the corresponding storage task + */ + taskId: Azure.Core.armResourceIdentifier; + + /** + * Whether the storage task assignment is enabled or not + */ + enabled: boolean; + + /** + * Text that describes the purpose of the storage task assignment + */ + description: string; + + /** + * The storage task assignment execution context + */ + executionContext: StorageTaskAssignmentExecutionContext; + + /** + * The storage task assignment report + */ + report: StorageTaskAssignmentReport; + + /** + * Represents the provisioning state of the storage task assignment. + */ + @visibility(Lifecycle.Read) + provisioningState?: StorageTaskAssignmentProvisioningState; + + /** + * Run status of storage task assignment + */ + runStatus?: StorageTaskReportProperties; +} + +/** + * Execution context of the storage task assignment. + */ +model StorageTaskAssignmentExecutionContext { + /** + * Execution target of the storage task assignment + */ + target?: ExecutionTarget; + + /** + * Execution trigger of the storage task assignment + */ + trigger: ExecutionTrigger; +} + +/** + * Target helps provide filter parameters for the objects in the storage account and forms the execution context for the storage task + */ +model ExecutionTarget { + /** + * Required list of object prefixes to be included for task execution + */ + prefix?: string[]; + + /** + * List of object prefixes to be excluded from task execution. If there is a conflict between include and exclude prefixes, the exclude prefix will be the determining factor + */ + excludePrefix?: string[]; +} + +/** + * Execution trigger for storage task assignment + */ +model ExecutionTrigger { + /** + * The trigger type of the storage task assignment execution + */ + type: TriggerType; + + /** + * The trigger parameters of the storage task assignment execution + */ + parameters: TriggerParameters; +} + +/** + * The trigger parameters update for the storage task assignment execution + */ +model TriggerParameters { + /** + * When to start task execution. This is a required field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce' + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startFrom?: utcDateTime; + + /** + * Run interval of task execution. This is a required field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce' + */ + @minValue(1) + interval?: int32; + + /** + * Run interval unit of task execution. This is a required field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce' + */ + intervalUnit?: IntervalUnit; + + /** + * When to end task execution. This is a required field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce' + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + endBy?: utcDateTime; + + /** + * When to start task execution. This is a required field when ExecutionTrigger.properties.type is 'RunOnce'; this property should not be present when ExecutionTrigger.properties.type is 'OnSchedule' + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startOn?: utcDateTime; +} + +/** + * The storage task assignment report + */ +model StorageTaskAssignmentReport { + /** + * The container prefix for the location of storage task assignment report + */ + prefix: string; +} + +/** + * Storage task execution report for a run instance. + */ +model StorageTaskReportProperties { + /** + * Represents the Storage Task Assignment Id associated with the storage task that provided an execution context. + */ + @visibility(Lifecycle.Read) + taskAssignmentId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.Storage/storageAccounts/storageTaskAssignments"; + } + ]>; + + /** + * Represents the Storage Account Id where the storage task definition was applied and executed. + */ + @visibility(Lifecycle.Read) + storageAccountId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.Storage/storageAccounts"; + } + ]>; + + /** + * Start time of the run instance. Filter options such as startTime gt '2023-06-26T20:51:24.4494016Z' and other comparison operators can be used as described for DateTime properties in https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators + */ + @visibility(Lifecycle.Read) + startTime?: string; + + /** + * End time of the run instance. Filter options such as startTime gt '2023-06-26T20:51:24.4494016Z' and other comparison operators can be used as described for DateTime properties in https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators + */ + @visibility(Lifecycle.Read) + finishTime?: string; + + /** + * Total number of objects that meet the condition as defined in the storage task assignment execution context. Filter options such as objectsTargetedCount gt 50 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators + */ + @visibility(Lifecycle.Read) + objectsTargetedCount?: string; + + /** + * Total number of objects that meet the storage tasks condition and were operated upon. Filter options such as objectsOperatedOnCount ge 100 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators + */ + @visibility(Lifecycle.Read) + objectsOperatedOnCount?: string; + + /** + * Total number of objects where task operation failed when was attempted. Filter options such as objectFailedCount eq 0 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators + */ + @visibility(Lifecycle.Read) + objectFailedCount?: string; + + /** + * Total number of objects where task operation succeeded when was attempted.Filter options such as objectsSucceededCount gt 150 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators + */ + @visibility(Lifecycle.Read) + objectsSucceededCount?: string; + + /** + * Well known Azure Storage error code that represents the error encountered during execution of the run instance. + */ + @visibility(Lifecycle.Read) + runStatusError?: string; + + /** + * Represents the status of the execution. + */ + @visibility(Lifecycle.Read) + runStatusEnum?: RunStatusEnum; + + /** + * Full path to the verbose report stored in the reporting container as specified in the assignment execution context for the storage account. + */ + @visibility(Lifecycle.Read) + summaryReportPath?: string; + + /** + * Storage Task Arm Id. + */ + @visibility(Lifecycle.Read) + taskId?: Azure.Core.armResourceIdentifier<[ + { + type: "Microsoft.StorageActions/storageTasks"; + } + ]>; + + /** + * Storage Task Version + */ + @visibility(Lifecycle.Read) + taskVersion?: string; + + /** + * Represents the overall result of the execution for the run instance + */ + @visibility(Lifecycle.Read) + runResult?: RunResult; +} + +/** + * Parameters of the storage task assignment update request + */ +model StorageTaskAssignmentUpdateParameters { + /** + * Properties of the storage task assignment. + */ + properties?: StorageTaskAssignmentUpdateProperties; +} + +/** + * Properties of the storage task update assignment. + */ +model StorageTaskAssignmentUpdateProperties { + /** + * Id of the corresponding storage task + */ + @visibility(Lifecycle.Read) + taskId?: string; + + /** + * Whether the storage task assignment is enabled or not + */ + enabled?: boolean; + + /** + * Text that describes the purpose of the storage task assignment + */ + description?: string; + + /** + * The storage task assignment execution context + */ + executionContext?: StorageTaskAssignmentUpdateExecutionContext; + + /** + * The storage task assignment report + */ + report?: StorageTaskAssignmentUpdateReport; + + /** + * Represents the provisioning state of the storage task assignment. + */ + @visibility(Lifecycle.Read) + provisioningState?: StorageTaskAssignmentProvisioningState; + + /** + * Run status of storage task assignment + */ + runStatus?: StorageTaskReportProperties; +} + +/** + * Execution context of the storage task assignment update. + */ +model StorageTaskAssignmentUpdateExecutionContext { + /** + * Execution target of the storage task assignment + */ + target?: ExecutionTarget; + + /** + * Execution trigger of the storage task assignment + */ + trigger?: ExecutionTriggerUpdate; +} + +/** + * Execution trigger update for storage task assignment + */ +model ExecutionTriggerUpdate { + /** + * The trigger type of the storage task assignment execution + */ + type?: TriggerType; + + /** + * The trigger parameters of the storage task assignment execution + */ + parameters?: TriggerParametersUpdate; +} + +/** + * The trigger parameters update for the storage task assignment execution + */ +model TriggerParametersUpdate { + /** + * When to start task execution. This is a mutable field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce' + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startFrom?: utcDateTime; + + /** + * Run interval of task execution. This is a mutable field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce' + */ + @minValue(1) + interval?: int32; + + /** + * Run interval unit of task execution. This is a mutable field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce' + */ + intervalUnit?: IntervalUnit; + + /** + * When to end task execution. This is a mutable field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce' + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + endBy?: utcDateTime; + + /** + * When to start task execution. This is a mutable field when ExecutionTrigger.properties.type is 'RunOnce'; this property should not be present when ExecutionTrigger.properties.type is 'OnSchedule' + */ + // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + startOn?: utcDateTime; +} + +/** + * The storage task assignment report + */ +model StorageTaskAssignmentUpdateReport { + /** + * The prefix of the storage task assignment report + */ + prefix?: string; +} + +/** + * List of storage task assignments for the storage account + */ +model StorageTaskAssignmentsList is Azure.Core.Page; + +/** + * Fetch Storage Tasks Run Summary. + */ +model StorageTaskReportSummary is Azure.Core.Page; + +/** + * Storage Tasks run report instance + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +model StorageTaskReportInstance + extends Azure.ResourceManager.CommonTypes.ProxyResource { + /** + * Storage task execution report for a run instance. + */ + properties?: StorageTaskReportProperties; +} + +#suppress "@azure-tools/typespec-azure-core/documentation-required" "Just for reference, not part of API" +alias ETagHeader = { + /** + * The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers. + */ + @header("ETag") + eTag: string; +}; diff --git a/specification/storage/Storage.Management/routes.tsp b/specification/storage/Storage.Management/routes.tsp new file mode 100644 index 000000000000..636b60fa60e0 --- /dev/null +++ b/specification/storage/Storage.Management/routes.tsp @@ -0,0 +1,65 @@ +// FIXME: Operations in this file are not detected as a resource operation, please confirm the conversion result manually + +import "@azure-tools/typespec-azure-core"; +import "@typespec/rest"; +import "./models.tsp"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; + +using TypeSpec.Rest; +using TypeSpec.Http; +using Azure.ResourceManager; +using TypeSpec.OpenAPI; + +namespace Microsoft.Storage; + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface SkusOperationGroup { + /** + * Lists the available SKUs supported by Microsoft.Storage for given subscription. + */ + @autoRoute + @get + @list + @action("skus") + list is ArmProviderActionSync< + Response = StorageSkuListResult, + Scope = SubscriptionActionScope, + Parameters = {}, + Error = ErrorResponse + >; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface DeletedAccountsOperationGroup { + /** + * Lists deleted accounts under the subscription. + */ + @autoRoute + @get + @list + @action("deletedAccounts") + list is ArmProviderActionSync< + Response = ResourceListResult, + Scope = SubscriptionActionScope, + Parameters = {}, + Error = ErrorResponse + >; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +interface UsagesOperationGroup { + /** + * Gets the current usage count and the limit for the resources of the location under the subscription. + */ + @autoRoute + @get + @list + @action("usages") + listByLocation is ArmProviderActionSync< + Response = UsageListResult, + Scope = SubscriptionActionScope, + Parameters = LocationParameter, + Error = ErrorResponse + >; +} diff --git a/specification/storage/Storage.Management/tspconfig.yaml b/specification/storage/Storage.Management/tspconfig.yaml new file mode 100644 index 000000000000..2f83f340fea1 --- /dev/null +++ b/specification/storage/Storage.Management/tspconfig.yaml @@ -0,0 +1,49 @@ +parameters: + "service-dir": + default: "sdk/storage" +emit: + - "@azure-tools/typespec-autorest" +options: + "@azure-tools/typespec-autorest": + omit-unreachable-types: true + emitter-output-dir: "{project-root}/.." + azure-resource-provider-folder: "resource-manager" + output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/openapi.json" + examples-dir: "{project-root}/examples" + emit-lro-options: "all" + "@azure-tools/typespec-python": + emitter-output-dir: "{output-dir}/{service-dir}/azure-mgmt-storage" + namespace: "azure.mgmt.storage" + generate-test: true + generate-sample: true + flavor: "azure" + "@azure-tools/typespec-java": + emitter-output-dir: "{output-dir}/{service-dir}/azure-resourcemanager-storage-generated" + namespace: "com.azure.resourcemanager.storage.generated" + service-name: "Storage" # human-readable service name, whitespace allowed + flavor: azure + premium: false # TODO(change it to true when release) + rename-model: + FailoverRequestFailoverType: FailoverType + ListKeysRequestExpand: ListKeyExpand + enable-sync-stack: false + "@azure-tools/typespec-ts": + emitter-output-dir: "{output-dir}/{service-dir}/arm-storage" + service-dir: sdk/storage + flavor: "azure" + experimental-extensible-enums: true + package-details: + name: "@azure/arm-storage" + "@azure-tools/typespec-go": + service-dir: "sdk/resourcemanager/storage" + emitter-output-dir: "{output-dir}/{service-dir}/armstorage" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armstorage" + fix-const-stuttering: false + flavor: "azure" + generate-samples: true + generate-fakes: true + head-as-boolean: true + inject-spans: true +linter: + extends: + - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/blob.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/blob.json deleted file mode 100644 index 36c760c727cb..000000000000 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/blob.json +++ /dev/null @@ -1,1579 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2025-06-01", - "title": "StorageManagementClient", - "description": "The Azure Storage Management API." - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices": { - "get": { - "tags": [ - "BlobService" - ], - "operationId": "BlobServices_List", - "x-ms-examples": { - "ListBlobServices": { - "$ref": "./examples/BlobServicesList.json" - } - }, - "description": "List blob services of storage account. It returns a collection of one object named default.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- List blob services operation completed successfully.", - "schema": { - "$ref": "#/definitions/BlobServiceItems" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/{BlobServicesName}": { - "put": { - "tags": [ - "BlobService" - ], - "operationId": "BlobServices_SetServiceProperties", - "x-ms-examples": { - "PutBlobServices": { - "$ref": "./examples/BlobServicesPut.json" - }, - "BlobServicesPutLastAccessTimeBasedTracking": { - "$ref": "./examples/BlobServicesPutLastAccessTimeBasedTracking.json" - }, - "BlobServicesPutAllowPermanentDelete": { - "$ref": "./examples/BlobServicesPutAllowPermanentDelete.json" - } - }, - "description": "Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. ", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/BlobServicesName" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/BlobServiceProperties" - }, - "description": "The properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules." - } - ], - "responses": { - "200": { - "description": "OK -- Sets The properties of a storage account’s Blob service successfully.", - "schema": { - "$ref": "#/definitions/BlobServiceProperties" - } - } - } - }, - "get": { - "tags": [ - "BlobService" - ], - "operationId": "BlobServices_GetServiceProperties", - "x-ms-examples": { - "GetBlobServices": { - "$ref": "./examples/BlobServicesGet.json" - } - }, - "description": "Gets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/BlobServicesName" - } - ], - "responses": { - "200": { - "description": "OK -- returned the properties of a storage account’s Blob service.", - "schema": { - "$ref": "#/definitions/BlobServiceProperties" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers": { - "get": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_List", - "x-ms-examples": { - "ListContainers": { - "$ref": "./examples/BlobContainersList.json" - }, - "ListDeletedContainers": { - "$ref": "./examples/DeletedBlobContainersList.json" - } - }, - "description": "Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "$maxpagesize", - "in": "query", - "type": "string", - "description": "Optional. Specified maximum number of containers that can be included in the list." - }, - { - "name": "$filter", - "in": "query", - "type": "string", - "description": "Optional. When specified, only container names starting with the filter will be listed." - }, - { - "name": "$include", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "deleted" - ], - "x-ms-enum": { - "name": "ListContainersInclude", - "modelAsString": true - }, - "description": "Optional, used to include the properties for soft deleted blob containers." - } - ], - "responses": { - "200": { - "description": "OK -- List Container operation completed successfully.", - "schema": { - "$ref": "#/definitions/ListContainerItems" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}": { - "put": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_Create", - "x-ms-examples": { - "PutContainers": { - "$ref": "./examples/BlobContainersPut.json" - }, - "PutContainerWithDefaultEncryptionScope": { - "$ref": "./examples/BlobContainersPutDefaultEncryptionScope.json" - }, - "PutContainerWithObjectLevelWorm": { - "$ref": "./examples/BlobContainersPutObjectLevelWorm.json" - } - }, - "description": "Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container. ", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "name": "blobContainer", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/BlobContainer" - }, - "description": "Properties of the blob container to create." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "201": { - "description": "Created -- Create Container operation completed successfully.", - "schema": { - "$ref": "#/definitions/BlobContainer" - } - }, - "200": { - "description": "OK -- The Container is already created.", - "schema": { - "$ref": "#/definitions/BlobContainer" - } - } - } - }, - "patch": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_Update", - "x-ms-examples": { - "UpdateContainers": { - "$ref": "./examples/BlobContainersPatch.json" - } - }, - "description": "Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist. ", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "name": "blobContainer", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/BlobContainer" - }, - "description": "Properties to update for the blob container." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- Update Container operation completed successfully.", - "schema": { - "$ref": "#/definitions/BlobContainer", - "description": "Properties of the updated blob container." - } - } - } - }, - "get": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_Get", - "x-ms-examples": { - "GetContainers": { - "$ref": "./examples/BlobContainersGet.json" - }, - "GetBlobContainersGetWithAllowProtectedAppendWritesAll": { - "$ref": "./examples/BlobContainersGetWithAllowProtectedAppendWritesAll.json" - } - }, - "description": "Gets properties of a specified container. ", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- Get Container operation completed successfully.", - "schema": { - "$ref": "#/definitions/BlobContainer" - } - } - } - }, - "delete": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_Delete", - "x-ms-examples": { - "DeleteContainers": { - "$ref": "./examples/BlobContainersDelete.json" - } - }, - "description": "Deletes specified container under its account.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- Delete Container operation completed successfully." - }, - "204": { - "description": "No Content -- The Container not exist." - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold": { - "post": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_SetLegalHold", - "x-ms-examples": { - "SetLegalHoldContainers": { - "$ref": "./examples/BlobContainersSetLegalHold.json" - }, - "SetLegalHoldContainersWithAllowProtectedAppendWritesAll": { - "$ref": "./examples/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json" - } - }, - "description": "Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "LegalHold", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LegalHold" - }, - "description": "The LegalHold property that will be set to a blob container." - } - ], - "responses": { - "200": { - "description": "OK -- Set legal hold tags for Container completed successfully.", - "schema": { - "$ref": "#/definitions/LegalHold" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold": { - "post": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_ClearLegalHold", - "x-ms-examples": { - "ClearLegalHoldContainers": { - "$ref": "./examples/BlobContainersClearLegalHold.json" - } - }, - "description": "Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "LegalHold", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LegalHold" - }, - "description": "The LegalHold property that will be clear from a blob container." - } - ], - "responses": { - "200": { - "description": "OK -- Clear legal hold tags for Container completed successfully.", - "schema": { - "$ref": "#/definitions/LegalHold" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}": { - "put": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_CreateOrUpdateImmutabilityPolicy", - "x-ms-examples": { - "CreateOrUpdateImmutabilityPolicy": { - "$ref": "./examples/BlobContainersPutImmutabilityPolicy.json" - }, - "CreateOrUpdateImmutabilityPolicyWithAllowProtectedAppendWritesAll": { - "$ref": "./examples/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json" - } - }, - "description": "Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "#/parameters/ImmutabilityPolicyName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "description": "The ImmutabilityPolicy Properties that will be created or updated to a blob container." - }, - { - "name": "If-Match", - "in": "header", - "required": false, - "type": "string", - "description": "The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service." - } - ], - "responses": { - "200": { - "description": "OK -- Creates or updates container ImmutabilityPolicy operation completed successfully.", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } - } - } - } - }, - "get": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_GetImmutabilityPolicy", - "x-ms-examples": { - "GetImmutabilityPolicy": { - "$ref": "./examples/BlobContainersGetImmutabilityPolicy.json" - } - }, - "description": "Gets the existing immutability policy along with the corresponding ETag in response headers and body.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "#/parameters/ImmutabilityPolicyName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "If-Match", - "in": "header", - "required": false, - "type": "string", - "description": "The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service." - } - ], - "responses": { - "200": { - "description": "OK -- Gets container ImmutabilityPolicy operation completed successfully.", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } - } - } - } - }, - "delete": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_DeleteImmutabilityPolicy", - "x-ms-examples": { - "DeleteImmutabilityPolicy": { - "$ref": "./examples/BlobContainersDeleteImmutabilityPolicy.json" - } - }, - "description": "Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, the only way is to delete the container after deleting all expired blobs inside the policy locked container.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "#/parameters/ImmutabilityPolicyName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "If-Match", - "in": "header", - "required": true, - "type": "string", - "description": "The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service." - } - ], - "responses": { - "200": { - "description": "OK -- Deletes container ImmutabilityPolicy operation completed successfully.", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock": { - "post": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_LockImmutabilityPolicy", - "x-ms-examples": { - "LockImmutabilityPolicy": { - "$ref": "./examples/BlobContainersLockImmutabilityPolicy.json" - } - }, - "description": "Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "If-Match", - "in": "header", - "required": true, - "type": "string", - "description": "The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service." - } - ], - "responses": { - "200": { - "description": "OK -- Locks container ImmutabilityPolicy operation completed successfully.", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend": { - "post": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_ExtendImmutabilityPolicy", - "x-ms-examples": { - "ExtendImmutabilityPolicy": { - "$ref": "./examples/BlobContainersExtendImmutabilityPolicy.json" - } - }, - "description": "Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "description": "The ImmutabilityPolicy Properties that will be extended for a blob container." - }, - { - "name": "If-Match", - "in": "header", - "required": true, - "type": "string", - "description": "The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service." - } - ], - "responses": { - "200": { - "description": "OK -- Extends container ImmutabilityPolicy operation completed successfully..", - "schema": { - "$ref": "#/definitions/ImmutabilityPolicy" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease": { - "post": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_Lease", - "x-ms-examples": { - "Acquire a lease on a container": { - "$ref": "./examples/BlobContainersLease_Acquire.json" - }, - "Break a lease on a container": { - "$ref": "./examples/BlobContainersLease_Break.json" - } - }, - "description": "The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/LeaseContainerRequest" - }, - "description": "Lease Container request body." - } - ], - "responses": { - "200": { - "description": "OK -- Lease Container operation completed successfully.", - "schema": { - "$ref": "#/definitions/LeaseContainerResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/migrate": { - "post": { - "tags": [ - "BlobContainers" - ], - "operationId": "BlobContainers_ObjectLevelWorm", - "x-ms-examples": { - "VersionLevelWormContainerMigration": { - "$ref": "./examples/ObjectLevelWormContainerMigration.json" - } - }, - "description": "This operation migrates a blob container from container level WORM to object level immutability enabled container. Prerequisites require a container level immutability policy either in locked or unlocked state, Account level versioning must be enabled and there should be no Legal hold on the container.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ContainerName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- returned when the blob container migration to support object level immutability completes." - }, - "202": { - "description": "Accepted -- Blob Container migration to support object level immutability is accepted; operation will complete asynchronously." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - } - }, - "definitions": { - "ContainerProperties": { - "properties": { - "version": { - "type": "string", - "readOnly": true, - "description": "The version of the deleted blob container." - }, - "deleted": { - "type": "boolean", - "readOnly": true, - "description": "Indicates whether the blob container was deleted." - }, - "deletedTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Blob container deletion time." - }, - "remainingRetentionDays": { - "type": "integer", - "readOnly": true, - "description": "Remaining retention days for soft deleted blob container." - }, - "defaultEncryptionScope": { - "type": "string", - "description": "Default the container to use specified encryption scope for all writes." - }, - "denyEncryptionScopeOverride": { - "type": "boolean", - "description": "Block override of encryption scope from the container default." - }, - "publicAccess": { - "type": "string", - "enum": [ - "Container", - "Blob", - "None" - ], - "x-ms-enum": { - "name": "PublicAccess", - "modelAsString": false - }, - "description": "Specifies whether data in the container may be accessed publicly and the level of access." - }, - "lastModifiedTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Returns the date and time the container was last modified." - }, - "leaseStatus": { - "type": "string", - "readOnly": true, - "enum": [ - "Locked", - "Unlocked" - ], - "x-ms-enum": { - "name": "LeaseStatus", - "modelAsString": true - }, - "description": "The lease status of the container." - }, - "leaseState": { - "type": "string", - "readOnly": true, - "enum": [ - "Available", - "Leased", - "Expired", - "Breaking", - "Broken" - ], - "x-ms-enum": { - "name": "LeaseState", - "modelAsString": true - }, - "description": "Lease state of the container." - }, - "leaseDuration": { - "type": "string", - "readOnly": true, - "enum": [ - "Infinite", - "Fixed" - ], - "x-ms-enum": { - "name": "LeaseDuration", - "modelAsString": true - }, - "description": "Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased." - }, - "metadata": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "A name-value pair to associate with the container as metadata." - }, - "immutabilityPolicy": { - "readOnly": true, - "$ref": "#/definitions/ImmutabilityPolicyProperties", - "x-ms-client-name": "ImmutabilityPolicy", - "description": "The ImmutabilityPolicy property of the container." - }, - "legalHold": { - "readOnly": true, - "$ref": "#/definitions/LegalHoldProperties", - "description": "The LegalHold property of the container." - }, - "hasLegalHold": { - "type": "boolean", - "readOnly": true, - "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." - }, - "hasImmutabilityPolicy": { - "type": "boolean", - "readOnly": true, - "description": "The hasImmutabilityPolicy public property is set to true by SRP if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public property is set to false by SRP if ImmutabilityPolicy has not been created for this container." - }, - "immutableStorageWithVersioning": { - "$ref": "#/definitions/ImmutableStorageWithVersioning", - "description": "The object level immutability property of the container. The property is immutable and can only be set to true at the container creation time. Existing containers must undergo a migration process." - }, - "enableNfsV3RootSquash": { - "type": "boolean", - "description": "Enable NFSv3 root squash on blob container." - }, - "enableNfsV3AllSquash": { - "type": "boolean", - "description": "Enable NFSv3 all squash on blob container." - } - }, - "description": "The properties of a container." - }, - "BlobContainer": { - "properties": { - "properties": { - "$ref": "#/definitions/ContainerProperties", - "x-ms-client-flatten": true, - "x-ms-client-name": "ContainerProperties", - "description": "Properties of the blob container." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" - } - ], - "description": "Properties of the blob container, including Id, resource name, resource type, Etag." - }, - "ImmutabilityPolicyProperty": { - "properties": { - "immutabilityPeriodSinceCreationInDays": { - "type": "integer", - "description": "The immutability period for the blobs in the container since the policy creation, in days." - }, - "state": { - "type": "string", - "readOnly": true, - "enum": [ - "Locked", - "Unlocked" - ], - "x-ms-enum": { - "name": "ImmutabilityPolicyState", - "modelAsString": true - }, - "description": "The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked." - }, - "allowProtectedAppendWrites": { - "type": "boolean", - "description": "This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API." - }, - "allowProtectedAppendWritesAll": { - "type": "boolean", - "description": "This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive." - } - }, - "description": "The properties of an ImmutabilityPolicy of a blob container." - }, - "ImmutabilityPolicyProperties": { - "properties": { - "properties": { - "$ref": "#/definitions/ImmutabilityPolicyProperty", - "x-ms-client-flatten": true, - "description": "The properties of an ImmutabilityPolicy of a blob container." - }, - "etag": { - "type": "string", - "readOnly": true, - "description": "ImmutabilityPolicy Etag." - }, - "updateHistory": { - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/UpdateHistoryProperty" - }, - "description": "The ImmutabilityPolicy update history of the blob container." - } - }, - "description": "The properties of an ImmutabilityPolicy of a blob container." - }, - "ImmutabilityPolicy": { - "properties": { - "properties": { - "$ref": "#/definitions/ImmutabilityPolicyProperty", - "x-ms-client-flatten": true, - "description": "The properties of an ImmutabilityPolicy of a blob container." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" - } - ], - "required": [ - "properties" - ], - "description": "The ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag." - }, - "ImmutableStorageWithVersioning": { - "properties": { - "enabled": { - "type": "boolean", - "description": "This is an immutable property, when set to true it enables object level immutability at the container level." - }, - "timeStamp": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Returns the date and time the object level immutability was enabled." - }, - "migrationState": { - "type": "string", - "readOnly": true, - "enum": [ - "InProgress", - "Completed" - ], - "x-ms-enum": { - "name": "MigrationState", - "modelAsString": true - }, - "description": "This property denotes the container level immutability to object level immutability migration state." - } - }, - "description": "Object level immutability properties of the container." - }, - "UpdateHistoryProperty": { - "properties": { - "update": { - "type": "string", - "readOnly": true, - "enum": [ - "put", - "lock", - "extend" - ], - "x-ms-enum": { - "name": "ImmutabilityPolicyUpdateType", - "modelAsString": true - }, - "description": "The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend." - }, - "immutabilityPeriodSinceCreationInDays": { - "type": "integer", - "readOnly": true, - "description": "The immutability period for the blobs in the container since the policy creation, in days." - }, - "timestamp": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Returns the date and time the ImmutabilityPolicy was updated." - }, - "objectIdentifier": { - "type": "string", - "readOnly": true, - "description": "Returns the Object ID of the user who updated the ImmutabilityPolicy." - }, - "tenantId": { - "type": "string", - "readOnly": true, - "description": "Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy." - }, - "upn": { - "type": "string", - "readOnly": true, - "description": "Returns the User Principal Name of the user who updated the ImmutabilityPolicy." - }, - "allowProtectedAppendWrites": { - "type": "boolean", - "description": "This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API." - }, - "allowProtectedAppendWritesAll": { - "type": "boolean", - "description": "This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive." - } - }, - "description": "An update history of the ImmutabilityPolicy of a blob container." - }, - "LegalHoldProperties": { - "properties": { - "hasLegalHold": { - "type": "boolean", - "readOnly": true, - "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/definitions/TagProperty" - }, - "description": "The list of LegalHold tags of a blob container." - }, - "protectedAppendWritesHistory": { - "$ref": "#/definitions/ProtectedAppendWritesHistory", - "description": "Protected append blob writes history." - } - }, - "description": "The LegalHold property of a blob container." - }, - "TagProperty": { - "properties": { - "tag": { - "type": "string", - "readOnly": true, - "description": "The tag value." - }, - "timestamp": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Returns the date and time the tag was added." - }, - "objectIdentifier": { - "type": "string", - "readOnly": true, - "description": "Returns the Object ID of the user who added the tag." - }, - "tenantId": { - "type": "string", - "readOnly": true, - "description": "Returns the Tenant ID that issued the token for the user who added the tag." - }, - "upn": { - "type": "string", - "readOnly": true, - "description": "Returns the User Principal Name of the user who added the tag." - } - }, - "description": "A tag of the LegalHold of a blob container." - }, - "ProtectedAppendWritesHistory": { - "type": "object", - "properties": { - "allowProtectedAppendWritesAll": { - "type": "boolean", - "description": "When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining legal hold protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted." - }, - "timestamp": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Returns the date and time the tag was added." - } - }, - "description": "Protected append writes history setting for the blob container with Legal holds." - }, - "LegalHold": { - "properties": { - "hasLegalHold": { - "type": "boolean", - "readOnly": true, - "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account." - }, - "tags": { - "type": "array", - "items": { - "type": "string", - "maxLength": 23, - "minLength": 3 - }, - "description": "Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case at SRP." - }, - "allowProtectedAppendWritesAll": { - "type": "boolean", - "description": "When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining legal hold protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted." - } - }, - "required": [ - "tags" - ], - "description": "The LegalHold property of a blob container." - }, - "ListContainerItem": { - "properties": { - "properties": { - "$ref": "#/definitions/ContainerProperties", - "x-ms-client-flatten": true, - "description": "The blob container properties be listed out." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" - } - ], - "description": "The blob container properties be listed out." - }, - "ListContainerItems": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ListContainerItem" - }, - "description": "List of blobs containers returned.", - "readOnly": true - }, - "nextLink": { - "type": "string", - "description": "Request URL that can be used to query next page of containers. Returned when total number of requested containers exceed maximum page size.", - "readOnly": true - } - }, - "description": "Response schema. Contains list of blobs returned, and if paging is requested or required, a URL to next page of containers." - }, - "BlobServiceProperties": { - "properties": { - "properties": { - "properties": { - "cors": { - "$ref": "./common.json#/definitions/CorsRules", - "description": "Specifies CORS rules for the Blob service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Blob service." - }, - "defaultServiceVersion": { - "type": "string", - "description": "DefaultServiceVersion indicates the default version to use for requests to the Blob service if an incoming request’s version is not specified. Possible values include version 2008-10-27 and all more recent versions." - }, - "deleteRetentionPolicy": { - "$ref": "./common.json#/definitions/DeleteRetentionPolicy", - "description": "The blob service properties for blob soft delete." - }, - "isVersioningEnabled": { - "type": "boolean", - "description": "Versioning is enabled if set to true." - }, - "automaticSnapshotPolicyEnabled": { - "type": "boolean", - "description": "Deprecated in favor of isVersioningEnabled property." - }, - "changeFeed": { - "$ref": "#/definitions/ChangeFeed", - "description": "The blob service properties for change feed events." - }, - "restorePolicy": { - "$ref": "#/definitions/RestorePolicyProperties", - "description": "The blob service properties for blob restore policy." - }, - "containerDeleteRetentionPolicy": { - "$ref": "./common.json#/definitions/DeleteRetentionPolicy", - "description": "The blob service properties for container soft delete." - }, - "lastAccessTimeTrackingPolicy": { - "$ref": "#/definitions/LastAccessTimeTrackingPolicy", - "description": "The blob service property to configure last access time based tracking policy." - } - }, - "x-ms-client-flatten": true, - "x-ms-client-name": "BlobServiceProperties", - "description": "The properties of a storage account’s Blob service." - }, - "sku": { - "$ref": "./common.json#/definitions/Sku", - "readOnly": true, - "description": "Sku name and tier." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "description": "The properties of a storage account’s Blob service." - }, - "BlobServiceItems": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/BlobServiceProperties" - }, - "description": "List of blob services returned.", - "readOnly": true - } - } - }, - "ChangeFeed": { - "properties": { - "enabled": { - "type": "boolean", - "description": "Indicates whether change feed event logging is enabled for the Blob service." - }, - "retentionInDays": { - "type": "integer", - "minimum": 1, - "maximum": 146000, - "format": "int32", - "description": "Indicates the duration of changeFeed retention in days. Minimum value is 1 day and maximum value is 146000 days (400 years). A null value indicates an infinite retention of the change feed." - } - }, - "description": "The blob service properties for change feed events." - }, - "RestorePolicyProperties": { - "properties": { - "enabled": { - "type": "boolean", - "description": "Blob restore is enabled if set to true." - }, - "days": { - "type": "integer", - "minimum": 1, - "maximum": 365, - "description": "how long this blob can be restored. It should be great than zero and less than DeleteRetentionPolicy.days." - }, - "lastEnabledTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Deprecated in favor of minRestoreTime property." - }, - "minRestoreTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Returns the minimum date and time that the restore can be started." - } - }, - "required": [ - "enabled" - ], - "description": "The blob service properties for blob restore policy" - }, - "LastAccessTimeTrackingPolicy": { - "properties": { - "enable": { - "type": "boolean", - "description": "When set to true last access time based tracking is enabled." - }, - "name": { - "type": "string", - "description": "Name of the policy. The valid value is AccessTimeTracking. This field is currently read only", - "enum": [ - "AccessTimeTracking" - ], - "x-ms-enum": { - "name": "name", - "modelAsString": true - } - }, - "trackingGranularityInDays": { - "type": "integer", - "format": "int32", - "description": "The field specifies blob object tracking granularity in days, typically how often the blob object should be tracked.This field is currently read only with value as 1" - }, - "blobType": { - "type": "array", - "items": { - "type": "string" - }, - "description": "An array of predefined supported blob types. Only blockBlob is the supported value. This field is currently read only" - } - }, - "required": [ - "enable" - ], - "description": "The blob service properties for Last access time based tracking policy." - }, - "LeaseContainerRequest": { - "properties": { - "action": { - "type": "string", - "enum": [ - "Acquire", - "Renew", - "Change", - "Release", - "Break" - ], - "x-ms-enum": { - "name": "LeaseContainerRequestAction", - "modelAsString": true - }, - "description": "Specifies the lease action. Can be one of the available actions." - }, - "leaseId": { - "type": "string", - "description": "Identifies the lease. Can be specified in any valid GUID string format." - }, - "breakPeriod": { - "type": "integer", - "description": "Optional. For a break action, proposed duration the lease should continue before it is broken, in seconds, between 0 and 60." - }, - "leaseDuration": { - "type": "integer", - "description": "Required for acquire. Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires." - }, - "proposedLeaseId": { - "type": "string", - "description": "Optional for acquire, required for change. Proposed lease ID, in a GUID string format." - } - }, - "required": [ - "action" - ], - "description": "Lease Container request schema." - }, - "LeaseContainerResponse": { - "properties": { - "leaseId": { - "type": "string", - "description": "Returned unique lease ID that must be included with any request to delete the container, or to renew, change, or release the lease." - }, - "leaseTimeSeconds": { - "type": "string", - "description": "Approximate time remaining in the lease period, in seconds." - } - }, - "description": "Lease Container response schema." - } - }, - "parameters": { - "ContainerName": { - "name": "containerName", - "in": "path", - "required": true, - "type": "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.", - "maxLength": 63, - "minLength": 3, - "x-ms-parameter-location": "method" - }, - "ImmutabilityPolicyName": { - "name": "immutabilityPolicyName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default'", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "ImmutabilityPolicyName", - "modelAsString": false - }, - "x-ms-parameter-location": "method" - }, - "BlobServicesName": { - "name": "BlobServicesName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the blob Service within the specified storage account. Blob Service Name must be 'default'", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "BlobServicesName", - "modelAsString": false - }, - "x-ms-parameter-location": "method" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/common.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/common.json deleted file mode 100644 index 8a514b2a130d..000000000000 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/common.json +++ /dev/null @@ -1,368 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "StorageManagementClient", - "description": "Storage Resource Provider API Common Types", - "version": "2025-06-01" - }, - "paths": {}, - "definitions": { - "CorsRules": { - "properties": { - "corsRules": { - "type": "array", - "items": { - "description": "Specifies a CORS rule for the Blob service. ", - "$ref": "#/definitions/CorsRule" - }, - "description": "The List of CORS rules. You can include up to five CorsRule elements in the request. " - } - }, - "description": "Sets the CORS rules. You can include up to five CorsRule elements in the request. " - }, - "CorsRule": { - "properties": { - "allowedOrigins": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or \"*\" to allow all domains" - }, - "allowedMethods": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "DELETE", - "GET", - "HEAD", - "MERGE", - "POST", - "OPTIONS", - "PUT", - "PATCH", - "CONNECT", - "TRACE" - ], - "x-ms-enum": { - "name": "AllowedMethods", - "modelAsString": true - } - }, - "description": "Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin." - }, - "maxAgeInSeconds": { - "type": "integer", - "description": "Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response." - }, - "exposedHeaders": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Required if CorsRule element is present. A list of response headers to expose to CORS clients." - }, - "allowedHeaders": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request." - } - }, - "required": [ - "allowedOrigins", - "allowedMethods", - "maxAgeInSeconds", - "exposedHeaders", - "allowedHeaders" - ], - "description": "Specifies a CORS rule for the Blob service." - }, - "DeleteRetentionPolicy": { - "properties": { - "enabled": { - "type": "boolean", - "description": "Indicates whether DeleteRetentionPolicy is enabled." - }, - "days": { - "type": "integer", - "minimum": 1, - "maximum": 365, - "description": "Indicates the number of days that the deleted item should be retained. The minimum specified value can be 1 and the maximum value can be 365." - }, - "allowPermanentDelete": { - "type": "boolean", - "description": "This property when set to true allows deletion of the soft deleted blob versions and snapshots. This property cannot be used blob restore policy. This property only applies to blob service and does not apply to containers or file share." - } - }, - "description": "The service properties for soft delete." - }, - "Sku": { - "properties": { - "name": { - "$ref": "#/definitions/SkuName" - }, - "tier": { - "$ref": "#/definitions/Tier" - } - }, - "required": [ - "name" - ], - "description": "The SKU of the storage account." - }, - "SkuName": { - "type": "string", - "description": "The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType.", - "enum": [ - "Standard_LRS", - "Standard_GRS", - "Standard_RAGRS", - "Standard_ZRS", - "Premium_LRS", - "Premium_ZRS", - "Standard_GZRS", - "Standard_RAGZRS", - "StandardV2_LRS", - "StandardV2_GRS", - "StandardV2_ZRS", - "StandardV2_GZRS", - "PremiumV2_LRS", - "PremiumV2_ZRS" - ], - "x-ms-enum": { - "name": "SkuName", - "modelAsString": true - } - }, - "Tier": { - "readOnly": true, - "type": "string", - "description": "The SKU tier. This is based on the SKU name.", - "enum": [ - "Standard", - "Premium" - ], - "x-ms-enum": { - "name": "SkuTier", - "modelAsString": false - } - }, - "CloudError": { - "x-ms-external": true, - "properties": { - "error": { - "$ref": "#/definitions/CloudErrorBody" - } - }, - "description": "An error response from the Storage service." - }, - "CloudErrorBody": { - "x-ms-external": true, - "properties": { - "code": { - "type": "string", - "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." - }, - "message": { - "type": "string", - "description": "A message describing the error, intended to be suitable for display in a user interface." - }, - "target": { - "type": "string", - "description": "The target of the particular error. For example, the name of the property in error." - }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/CloudErrorBody" - }, - "description": "A list of additional details about the error." - } - }, - "description": "An error response from the Storage service." - }, - "SignedIdentifier": { - "properties": { - "id": { - "type": "string", - "description": "An unique identifier of the stored access policy." - }, - "accessPolicy": { - "$ref": "#/definitions/AccessPolicy", - "description": "Access policy" - } - } - }, - "AccessPolicy": { - "properties": { - "startTime": { - "type": "string", - "format": "date-time", - "description": "Start time of the access policy" - }, - "expiryTime": { - "type": "string", - "format": "date-time", - "description": "Expiry time of the access policy" - }, - "permission": { - "type": "string", - "description": "List of abbreviated permissions." - } - } - }, - "StorageTaskReportSummary": { - "type": "object", - "properties": { - "value": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/StorageTaskReportInstance" - }, - "x-ms-identifiers": [], - "description": "Gets storage tasks run result summary." - }, - "nextLink": { - "type": "string", - "description": "Request URL that can be used to query next page of storage task run results summary. Returned when the number of run instances and summary reports exceed maximum page size.", - "readOnly": true - } - }, - "description": "Fetch Storage Tasks Run Summary." - }, - "StorageTaskReportInstance": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/StorageTaskReportProperties" - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - } - ], - "description": "Storage Tasks run report instance" - }, - "StorageTaskReportProperties": { - "type": "object", - "properties": { - "taskAssignmentId": { - "readOnly": true, - "type": "string", - "format": "arm-id", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments" - } - ] - }, - "description": "Represents the Storage Task Assignment Id associated with the storage task that provided an execution context." - }, - "storageAccountId": { - "readOnly": true, - "type": "string", - "format": "arm-id", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.Storage/storageAccounts" - } - ] - }, - "description": "Represents the Storage Account Id where the storage task definition was applied and executed." - }, - "startTime": { - "readOnly": true, - "type": "string", - "description": "Start time of the run instance. Filter options such as startTime gt '2023-06-26T20:51:24.4494016Z' and other comparison operators can be used as described for DateTime properties in https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators" - }, - "finishTime": { - "readOnly": true, - "type": "string", - "description": "End time of the run instance. Filter options such as startTime gt '2023-06-26T20:51:24.4494016Z' and other comparison operators can be used as described for DateTime properties in https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators" - }, - "objectsTargetedCount": { - "readOnly": true, - "type": "string", - "description": "Total number of objects that meet the condition as defined in the storage task assignment execution context. Filter options such as objectsTargetedCount gt 50 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators" - }, - "objectsOperatedOnCount": { - "readOnly": true, - "type": "string", - "description": "Total number of objects that meet the storage tasks condition and were operated upon. Filter options such as objectsOperatedOnCount ge 100 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators" - }, - "objectFailedCount": { - "readOnly": true, - "type": "string", - "description": "Total number of objects where task operation failed when was attempted. Filter options such as objectFailedCount eq 0 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators" - }, - "objectsSucceededCount": { - "readOnly": true, - "type": "string", - "description": "Total number of objects where task operation succeeded when was attempted.Filter options such as objectsSucceededCount gt 150 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators" - }, - "runStatusError": { - "readOnly": true, - "type": "string", - "description": "Well known Azure Storage error code that represents the error encountered during execution of the run instance." - }, - "runStatusEnum": { - "readOnly": true, - "type": "string", - "enum": [ - "InProgress", - "Finished" - ], - "x-ms-enum": { - "name": "RunStatusEnum", - "modelAsString": true - }, - "description": "Represents the status of the execution." - }, - "summaryReportPath": { - "readOnly": true, - "type": "string", - "description": "Full path to the verbose report stored in the reporting container as specified in the assignment execution context for the storage account. " - }, - "taskId": { - "readOnly": true, - "type": "string", - "format": "arm-id", - "x-ms-arm-id-details": { - "allowedResources": [ - { - "type": "Microsoft.StorageActions/storageTasks" - } - ] - }, - "description": "Storage Task Arm Id." - }, - "taskVersion": { - "readOnly": true, - "type": "string", - "description": "Storage Task Version" - }, - "runResult": { - "readOnly": true, - "type": "string", - "enum": [ - "Succeeded", - "Failed" - ], - "x-ms-enum": { - "name": "RunResult", - "modelAsString": true - }, - "description": "Represents the overall result of the execution for the run instance" - } - }, - "description": "Storage task execution report for a run instance." - } - } -} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersClearLegalHold.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersClearLegalHold.json index 9e943e50a97f..c43444f72061 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersClearLegalHold.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersClearLegalHold.json @@ -1,18 +1,18 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res4303", - "accountName": "sto7280", - "containerName": "container8723", - "api-version": "2025-06-01", - "monitor": "true", "LegalHold": { "tags": [ "tag1", "tag2", "tag3" ] - } + }, + "accountName": "sto7280", + "api-version": "2025-06-01", + "containerName": "container8723", + "monitor": "true", + "resourceGroupName": "res4303", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -21,5 +21,7 @@ "tags": [] } } - } + }, + "operationId": "BlobContainers_ClearLegalHold", + "title": "ClearLegalHoldContainers" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersDelete.json index 3fb6e714b374..e0a06918dfbb 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersDelete.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersDelete.json @@ -1,14 +1,16 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res4079", "accountName": "sto4506", - "containerName": "container9689", "api-version": "2025-06-01", - "monitor": "true" + "containerName": "container9689", + "monitor": "true", + "resourceGroupName": "res4079", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, "204": {} - } + }, + "operationId": "BlobContainers_Delete", + "title": "DeleteContainers" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersDeleteImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersDeleteImmutabilityPolicy.json index 18e2e2ca7f84..75fe36a46ee0 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersDeleteImmutabilityPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersDeleteImmutabilityPolicy.json @@ -1,26 +1,28 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res1581", + "If-Match": "8d59f81a7fa7be0", "accountName": "sto9621", + "api-version": "2025-06-01", "containerName": "container4910", "immutabilityPolicyName": "default", - "If-Match": "8d59f81a7fa7be0", - "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res1581", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res1581/providers/Microsoft.Storage/storageAccounts/sto9621/blobServices/default/containers/container4910/immutabilityPolicies/default", "name": "default", "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", "etag": "\"8d59f81a87b40c0\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res1581/providers/Microsoft.Storage/storageAccounts/sto9621/blobServices/default/containers/container4910/immutabilityPolicies/default", "properties": { "immutabilityPeriodSinceCreationInDays": 0, "state": "Unlocked" } } } - } + }, + "operationId": "BlobContainers_DeleteImmutabilityPolicy", + "title": "DeleteImmutabilityPolicy" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersExtendImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersExtendImmutabilityPolicy.json index 4fa2accf8664..8879a39db8ff 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersExtendImmutabilityPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersExtendImmutabilityPolicy.json @@ -1,30 +1,32 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res6238", - "accountName": "sto232", - "containerName": "container5023", "If-Match": "8d59f830d0c3bf9", + "accountName": "sto232", "api-version": "2025-06-01", + "containerName": "container5023", "monitor": "true", "parameters": { "properties": { "immutabilityPeriodSinceCreationInDays": 100 } - } + }, + "resourceGroupName": "res6238", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res6238/providers/Microsoft.Storage/storageAccounts/sto232/blobServices/default/containers/container5023/immutabilityPolicies/default", "name": "default", "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", "etag": "\"8d57a8b2ff50332\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6238/providers/Microsoft.Storage/storageAccounts/sto232/blobServices/default/containers/container5023/immutabilityPolicies/default", "properties": { "immutabilityPeriodSinceCreationInDays": 100, "state": "Locked" } } } - } + }, + "operationId": "BlobContainers_ExtendImmutabilityPolicy", + "title": "ExtendImmutabilityPolicy" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersGet.json index 4a7d0666c90e..af6ef7e6f1b3 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersGet.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersGet.json @@ -1,24 +1,22 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9871", "accountName": "sto6217", - "containerName": "container1634", "api-version": "2025-06-01", - "monitor": "true" + "containerName": "container1634", + "monitor": "true", + "resourceGroupName": "res9871", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/blobServices/default/containers/container1634", "name": "container1634", "type": "Microsoft.Storage/storageAccounts/blobServices/containers", "etag": "\"0x8D592D74CC20EBA\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/blobServices/default/containers/container1634", "properties": { - "publicAccess": "None", - "leaseStatus": "Unlocked", - "leaseState": "Available", - "lastModifiedTime": "2018-03-26T05:06:14Z", + "hasImmutabilityPolicy": true, + "hasLegalHold": true, "immutabilityPolicy": { "etag": "\"8d592d74cb3011a\"", "properties": { @@ -27,55 +25,59 @@ }, "updateHistory": [ { - "update": "put", "immutabilityPeriodSinceCreationInDays": 3, - "timestamp": "2018-03-26T05:06:11.431403Z", "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:11.431403Z", + "update": "put" }, { - "update": "lock", "immutabilityPeriodSinceCreationInDays": 3, - "timestamp": "2018-03-26T05:06:13.0907641Z", "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:13.0907641Z", + "update": "lock" }, { - "update": "extend", "immutabilityPeriodSinceCreationInDays": 100, - "timestamp": "2018-03-26T05:06:14.7097716Z", "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:14.7097716Z", + "update": "extend" } ] }, + "lastModifiedTime": "2018-03-26T05:06:14Z", + "leaseState": "Available", + "leaseStatus": "Unlocked", "legalHold": { "hasLegalHold": true, "tags": [ { - "tag": "tag1", - "timestamp": "2018-03-26T05:06:09.6964643Z", "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + "tag": "tag1", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:09.6964643Z" }, { - "tag": "tag2", - "timestamp": "2018-03-26T05:06:09.6964643Z", "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + "tag": "tag2", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:09.6964643Z" }, { - "tag": "tag3", - "timestamp": "2018-03-26T05:06:09.6964643Z", "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + "tag": "tag3", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:09.6964643Z" } ] }, - "hasImmutabilityPolicy": true, - "hasLegalHold": true + "publicAccess": "None" } } } - } + }, + "operationId": "BlobContainers_Get", + "title": "GetContainers" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersGetImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersGetImmutabilityPolicy.json index 50fd63b9771e..a9141457911d 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersGetImmutabilityPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersGetImmutabilityPolicy.json @@ -1,26 +1,28 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res5221", "accountName": "sto9177", + "api-version": "2025-06-01", "containerName": "container3489", "immutabilityPolicyName": "default", - "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res5221", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res5221/providers/Microsoft.Storage/storageAccounts/sto9177/blobServices/default/containers/container3489/immutabilityPolicies/default", "name": "default", "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", "etag": "\"8d59f828e64b75c\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res5221/providers/Microsoft.Storage/storageAccounts/sto9177/blobServices/default/containers/container3489/immutabilityPolicies/default", "properties": { - "immutabilityPeriodSinceCreationInDays": 5, "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 5, "state": "Unlocked" } } } - } + }, + "operationId": "BlobContainers_GetImmutabilityPolicy", + "title": "GetImmutabilityPolicy" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersGetWithAllowProtectedAppendWritesAll.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersGetWithAllowProtectedAppendWritesAll.json index 152aff0c95fe..a07febbe814b 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersGetWithAllowProtectedAppendWritesAll.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersGetWithAllowProtectedAppendWritesAll.json @@ -1,58 +1,59 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9871", "accountName": "sto6217", - "containerName": "container1634", "api-version": "2025-06-01", - "monitor": "true" + "containerName": "container1634", + "monitor": "true", + "resourceGroupName": "res9871", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/blobServices/default/containers/container1634", "name": "container1634", "type": "Microsoft.Storage/storageAccounts/blobServices/containers", "etag": "\"0x8D592D74CC20EBA\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/blobServices/default/containers/container1634", "properties": { - "publicAccess": "None", - "leaseStatus": "Unlocked", - "leaseState": "Available", - "lastModifiedTime": "2018-03-26T05:06:14Z", + "hasImmutabilityPolicy": true, + "hasLegalHold": true, "immutabilityPolicy": { "etag": "\"8d592d74cb3011a\"", "properties": { - "immutabilityPeriodSinceCreationInDays": 100, "allowProtectedAppendWritesAll": true, + "immutabilityPeriodSinceCreationInDays": 100, "state": "Locked" }, "updateHistory": [ { - "update": "put", - "immutabilityPeriodSinceCreationInDays": 3, "allowProtectedAppendWritesAll": true, - "timestamp": "2018-03-26T05:06:11.431403Z", + "immutabilityPeriodSinceCreationInDays": 3, "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:11.431403Z", + "update": "put" }, { - "update": "lock", - "immutabilityPeriodSinceCreationInDays": 3, "allowProtectedAppendWritesAll": true, - "timestamp": "2018-03-26T05:06:13.0907641Z", + "immutabilityPeriodSinceCreationInDays": 3, "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:13.0907641Z", + "update": "lock" }, { - "update": "extend", - "immutabilityPeriodSinceCreationInDays": 100, "allowProtectedAppendWritesAll": true, - "timestamp": "2018-03-26T05:06:14.7097716Z", + "immutabilityPeriodSinceCreationInDays": 100, "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:14.7097716Z", + "update": "extend" } ] }, + "lastModifiedTime": "2018-03-26T05:06:14Z", + "leaseState": "Available", + "leaseStatus": "Unlocked", "legalHold": { "hasLegalHold": true, "protectedAppendWritesHistory": { @@ -61,29 +62,30 @@ }, "tags": [ { - "tag": "tag1", - "timestamp": "2018-03-26T05:06:09.6964643Z", "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + "tag": "tag1", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:09.6964643Z" }, { - "tag": "tag2", - "timestamp": "2018-03-26T05:06:09.6964643Z", "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + "tag": "tag2", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:09.6964643Z" }, { - "tag": "tag3", - "timestamp": "2018-03-26T05:06:09.6964643Z", "objectIdentifier": "ce7cd28a-fc25-4bf1-8fb9-e1b9833ffd4b", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + "tag": "tag3", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "timestamp": "2018-03-26T05:06:09.6964643Z" } ] }, - "hasImmutabilityPolicy": true, - "hasLegalHold": true + "publicAccess": "None" } } } - } + }, + "operationId": "BlobContainers_Get", + "title": "GetBlobContainersGetWithAllowProtectedAppendWritesAll" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersLease_Acquire.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersLease_Acquire.json index 4e175d8ca29e..94720833036f 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersLease_Acquire.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersLease_Acquire.json @@ -1,18 +1,18 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res3376", "accountName": "sto328", - "containerName": "container6185", "api-version": "2025-06-01", + "containerName": "container6185", "monitor": "true", "parameters": { "action": "Acquire", - "leaseId": null, "breakPeriod": null, "leaseDuration": -1, + "leaseId": null, "proposedLeaseId": null - } + }, + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -20,5 +20,7 @@ "leaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d" } } - } + }, + "operationId": "BlobContainers_Lease", + "title": "Acquire a lease on a container" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersLease_Break.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersLease_Break.json index 7fcda2cd28fc..48820eaf7a77 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersLease_Break.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersLease_Break.json @@ -1,18 +1,18 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res3376", "accountName": "sto328", - "containerName": "container6185", "api-version": "2025-06-01", + "containerName": "container6185", "monitor": "true", "parameters": { "action": "Break", - "leaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d", "breakPeriod": null, "leaseDuration": null, + "leaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d", "proposedLeaseId": null - } + }, + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -20,5 +20,7 @@ "leaseTimeSeconds": "0" } } - } + }, + "operationId": "BlobContainers_Lease", + "title": "Break a lease on a container" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersList.json index 8eb0116f4a1d..fd7d40d37e80 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersList.json @@ -1,46 +1,48 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9290", "accountName": "sto1590", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "nextLink": "https://sto1590endpoint/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers?api-version=2022-09-01&$maxpagesize=2&$skipToken=/sto1590/container5103", "value": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers/container1644", "name": "container1644", "type": "Microsoft.Storage/storageAccounts/blobServices/containers", "etag": "\"0x8D589847D51C7DE\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers/container1644", "properties": { - "publicAccess": "Container", - "leaseStatus": "Unlocked", - "leaseState": "Available", - "lastModifiedTime": "2018-03-14T08:20:47Z", "hasImmutabilityPolicy": false, - "hasLegalHold": false + "hasLegalHold": false, + "lastModifiedTime": "2018-03-14T08:20:47Z", + "leaseState": "Available", + "leaseStatus": "Unlocked", + "publicAccess": "Container" } }, { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers/container4052", "name": "container4052", "type": "Microsoft.Storage/storageAccounts/blobServices/containers", "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers/container4052", "properties": { - "publicAccess": "None", - "leaseStatus": "Unlocked", - "leaseState": "Available", - "lastModifiedTime": "2018-03-14T08:20:47Z", "hasImmutabilityPolicy": false, - "hasLegalHold": false + "hasLegalHold": false, + "lastModifiedTime": "2018-03-14T08:20:47Z", + "leaseState": "Available", + "leaseStatus": "Unlocked", + "publicAccess": "None" } } - ], - "nextLink": "https://sto1590endpoint/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers?api-version=2022-09-01&$maxpagesize=2&$skipToken=/sto1590/container5103" + ] } } - } + }, + "operationId": "BlobContainers_List", + "title": "ListContainers" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersLockImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersLockImmutabilityPolicy.json index 9b5a86f84972..0fb88916bd81 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersLockImmutabilityPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersLockImmutabilityPolicy.json @@ -1,25 +1,27 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res2702", - "accountName": "sto5009", - "containerName": "container1631", "If-Match": "8d59f825b721dd3", + "accountName": "sto5009", "api-version": "2025-06-01", - "monitor": "true" + "containerName": "container1631", + "monitor": "true", + "resourceGroupName": "res2702", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res2702/providers/Microsoft.Storage/storageAccounts/sto5009/blobServices/default/containers/container1631/immutabilityPolicies/default", "name": "default", "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", "etag": "\"8d57a8a5edb084a\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res2702/providers/Microsoft.Storage/storageAccounts/sto5009/blobServices/default/containers/container1631/immutabilityPolicies/default", "properties": { "immutabilityPeriodSinceCreationInDays": 3, "state": "Locked" } } } - } + }, + "operationId": "BlobContainers_LockImmutabilityPolicy", + "title": "LockImmutabilityPolicy" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersPatch.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersPatch.json index e1d00d1ef659..b56809ec17f4 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersPatch.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersPatch.json @@ -1,35 +1,37 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res3376", "accountName": "sto328", - "containerName": "container6185", "api-version": "2025-06-01", - "monitor": "true", "blobContainer": { "properties": { - "publicAccess": "Container", "metadata": { "metadata": "true" - } + }, + "publicAccess": "Container" } - } + }, + "containerName": "container6185", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", "name": "container6185", "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", "properties": { + "hasImmutabilityPolicy": false, + "hasLegalHold": false, "metadata": { "metadata": "true" }, - "publicAccess": "Container", - "hasImmutabilityPolicy": false, - "hasLegalHold": false + "publicAccess": "Container" } } } - } + }, + "operationId": "BlobContainers_Update", + "title": "UpdateContainers" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersPut.json index 2520c27ba48c..f84343e4640c 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersPut.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersPut.json @@ -1,27 +1,29 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res3376", "accountName": "sto328", - "containerName": "container6185", "api-version": "2025-06-01", + "blobContainer": {}, + "containerName": "container6185", "monitor": "true", - "blobContainer": {} + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { - "201": { + "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", "name": "container6185", - "type": "Microsoft.Storage/storageAccounts/blobServices/containers" + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185" } }, - "200": { + "201": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", "name": "container6185", - "type": "Microsoft.Storage/storageAccounts/blobServices/containers" + "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185" } } - } + }, + "operationId": "BlobContainers_Create", + "title": "PutContainers" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersPutDefaultEncryptionScope.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersPutDefaultEncryptionScope.json index fad12db3d556..981c32eb7f3a 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersPutDefaultEncryptionScope.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersPutDefaultEncryptionScope.json @@ -1,40 +1,42 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res3376", "accountName": "sto328", - "containerName": "container6185", "api-version": "2025-06-01", - "monitor": "true", "blobContainer": { "properties": { "defaultEncryptionScope": "encryptionscope185", "denyEncryptionScopeOverride": true } - } + }, + "containerName": "container6185", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { - "201": { + "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", "name": "container6185", "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", "properties": { "defaultEncryptionScope": "encryptionscope185", "denyEncryptionScopeOverride": true } } }, - "200": { + "201": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", "name": "container6185", "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", "properties": { "defaultEncryptionScope": "encryptionscope185", "denyEncryptionScopeOverride": true } } } - } + }, + "operationId": "BlobContainers_Create", + "title": "PutContainerWithDefaultEncryptionScope" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersPutImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersPutImmutabilityPolicy.json index 1ae68855f843..487dd432a3ca 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersPutImmutabilityPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersPutImmutabilityPolicy.json @@ -1,32 +1,34 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res1782", "accountName": "sto7069", + "api-version": "2025-06-01", "containerName": "container6397", "immutabilityPolicyName": "default", - "api-version": "2025-06-01", "monitor": "true", "parameters": { "properties": { - "immutabilityPeriodSinceCreationInDays": 3, - "allowProtectedAppendWrites": true + "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 3 } - } + }, + "resourceGroupName": "res1782", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res1782/providers/Microsoft.Storage/storageAccounts/sto7069/blobServices/default/containers/container6397/immutabilityPolicies/default", "name": "default", "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", "etag": "\"8d59f830cb130e5\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res1782/providers/Microsoft.Storage/storageAccounts/sto7069/blobServices/default/containers/container6397/immutabilityPolicies/default", "properties": { - "immutabilityPeriodSinceCreationInDays": 3, "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 3, "state": "Unlocked" } } } - } + }, + "operationId": "BlobContainers_CreateOrUpdateImmutabilityPolicy", + "title": "CreateOrUpdateImmutabilityPolicy" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json index df40de45b011..36be6565de0f 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json @@ -1,32 +1,34 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res1782", "accountName": "sto7069", + "api-version": "2025-06-01", "containerName": "container6397", "immutabilityPolicyName": "default", - "api-version": "2025-06-01", "monitor": "true", "parameters": { "properties": { - "immutabilityPeriodSinceCreationInDays": 3, - "allowProtectedAppendWritesAll": true + "allowProtectedAppendWritesAll": true, + "immutabilityPeriodSinceCreationInDays": 3 } - } + }, + "resourceGroupName": "res1782", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res1782/providers/Microsoft.Storage/storageAccounts/sto7069/blobServices/default/containers/container6397/immutabilityPolicies/default", "name": "default", "type": "Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies", "etag": "\"8d59f830cb130e5\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res1782/providers/Microsoft.Storage/storageAccounts/sto7069/blobServices/default/containers/container6397/immutabilityPolicies/default", "properties": { - "immutabilityPeriodSinceCreationInDays": 3, "allowProtectedAppendWritesAll": true, + "immutabilityPeriodSinceCreationInDays": 3, "state": "Unlocked" } } } - } + }, + "operationId": "BlobContainers_CreateOrUpdateImmutabilityPolicy", + "title": "CreateOrUpdateImmutabilityPolicyWithAllowProtectedAppendWritesAll" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersPutObjectLevelWorm.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersPutObjectLevelWorm.json index 9abadb3e00df..9e1e11e36c61 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersPutObjectLevelWorm.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersPutObjectLevelWorm.json @@ -1,25 +1,25 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res3376", "accountName": "sto328", - "containerName": "container6185", "api-version": "2025-06-01", - "monitor": "true", "blobContainer": { "properties": { "immutableStorageWithVersioning": { "enabled": true } } - } + }, + "containerName": "container6185", + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { - "201": { + "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", "name": "container6185", "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", "properties": { "immutableStorageWithVersioning": { "enabled": true @@ -27,11 +27,11 @@ } } }, - "200": { + "201": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", "name": "container6185", "type": "Microsoft.Storage/storageAccounts/blobServices/containers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/blobServices/default/containers/container6185", "properties": { "immutableStorageWithVersioning": { "enabled": true @@ -39,5 +39,7 @@ } } } - } + }, + "operationId": "BlobContainers_Create", + "title": "PutContainerWithObjectLevelWorm" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersSetLegalHold.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersSetLegalHold.json index 37b997921ccd..62ca87f17e31 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersSetLegalHold.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersSetLegalHold.json @@ -1,18 +1,18 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res4303", - "accountName": "sto7280", - "containerName": "container8723", - "api-version": "2025-06-01", - "monitor": "true", "LegalHold": { "tags": [ "tag1", "tag2", "tag3" ] - } + }, + "accountName": "sto7280", + "api-version": "2025-06-01", + "containerName": "container8723", + "monitor": "true", + "resourceGroupName": "res4303", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -25,5 +25,7 @@ ] } } - } + }, + "operationId": "BlobContainers_SetLegalHold", + "title": "SetLegalHoldContainers" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json index 08399940b34a..7d758ef598e4 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json @@ -1,31 +1,33 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res4303", - "accountName": "sto7280", - "containerName": "container8723", - "api-version": "2025-06-01", - "monitor": "true", "LegalHold": { + "allowProtectedAppendWritesAll": true, "tags": [ "tag1", "tag2", "tag3" - ], - "allowProtectedAppendWritesAll": true - } + ] + }, + "accountName": "sto7280", + "api-version": "2025-06-01", + "containerName": "container8723", + "monitor": "true", + "resourceGroupName": "res4303", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "allowProtectedAppendWritesAll": true, "hasLegalHold": true, "tags": [ "tag1", "tag2", "tag3" - ], - "allowProtectedAppendWritesAll": true + ] } } - } + }, + "operationId": "BlobContainers_SetLegalHold", + "title": "SetLegalHoldContainersWithAllowProtectedAppendWritesAll" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobRangesRestore.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobRangesRestore.json index 34adf822c8a0..272a9a3434b8 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobRangesRestore.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobRangesRestore.json @@ -1,64 +1,66 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9101", "accountName": "sto4445", "api-version": "2025-06-01", "parameters": { - "timeToRestore": "2019-04-20T15:30:00.0000000Z", "blobRanges": [ { - "startRange": "container/blobpath1", - "endRange": "container/blobpath2" + "endRange": "container/blobpath2", + "startRange": "container/blobpath1" }, { - "startRange": "container2/blobpath3", - "endRange": "" + "endRange": "", + "startRange": "container2/blobpath3" } - ] - } + ], + "timeToRestore": "2019-04-20T15:30:00.0000000Z" + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "status": "Succeeded", - "restoreId": "{restore_id}", "parameters": { - "timeToRestore": "2019-04-20T15:30:00.0000000Z", "blobRanges": [ { - "startRange": "container/blobpath1", - "endRange": "container/blobpath2" + "endRange": "container/blobpath2", + "startRange": "container/blobpath1" }, { - "startRange": "container2/blobpath3", - "endRange": "" + "endRange": "", + "startRange": "container2/blobpath3" } - ] - } + ], + "timeToRestore": "2019-04-20T15:30:00.0000000Z" + }, + "restoreId": "{restore_id}", + "status": "Succeeded" } }, "202": { - "headers": { - "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-09-01" - }, "body": { - "status": "InProgress", - "restoreId": "{restore_id}", "parameters": { - "timeToRestore": "2019-04-20T15:30:00.0000000Z", "blobRanges": [ { - "startRange": "container/blobpath1", - "endRange": "container/blobpath2" + "endRange": "container/blobpath2", + "startRange": "container/blobpath1" }, { - "startRange": "container2/blobpath3", - "endRange": "" + "endRange": "", + "startRange": "container2/blobpath3" } - ] - } + ], + "timeToRestore": "2019-04-20T15:30:00.0000000Z" + }, + "restoreId": "{restore_id}", + "status": "InProgress" + }, + "headers": { + "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-09-01" } } - } + }, + "operationId": "StorageAccounts_RestoreBlobRanges", + "title": "BlobRangesRestore" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobServicesGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobServicesGet.json index 1a5d939bce92..665ee130e19f 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobServicesGet.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobServicesGet.json @@ -1,25 +1,30 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res4410", - "accountName": "sto8607", "BlobServicesName": "default", + "accountName": "sto8607", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", "name": "default", "type": "Microsoft.Storage/storageAccounts/blobServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", "properties": { + "changeFeed": { + "enabled": true, + "retentionInDays": 7 + }, "cors": { "corsRules": [ { - "allowedOrigins": [ - "http://www.contoso.com", - "http://www.fabrikam.com" + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" ], "allowedMethods": [ "GET", @@ -29,62 +34,57 @@ "MERGE", "PUT" ], - "maxAgeInSeconds": 100, + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], "exposedHeaders": [ "x-ms-meta-*" ], - "allowedHeaders": [ - "x-ms-meta-abc", - "x-ms-meta-data*", - "x-ms-meta-target*" - ] + "maxAgeInSeconds": 100 }, { - "allowedOrigins": [ + "allowedHeaders": [ "*" ], "allowedMethods": [ "GET" ], - "maxAgeInSeconds": 2, - "exposedHeaders": [ + "allowedOrigins": [ "*" ], - "allowedHeaders": [ + "exposedHeaders": [ "*" - ] + ], + "maxAgeInSeconds": 2 }, { - "allowedOrigins": [ - "http://www.abc23.com", - "https://www.fabrikam.com/*" + "allowedHeaders": [ + "x-ms-meta-12345675754564*" ], "allowedMethods": [ "GET", "PUT" ], - "maxAgeInSeconds": 2000, + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], "exposedHeaders": [ "x-ms-meta-abc", "x-ms-meta-data*", "x -ms-meta-target*" ], - "allowedHeaders": [ - "x-ms-meta-12345675754564*" - ] + "maxAgeInSeconds": 2000 } ] }, "defaultServiceVersion": "2017-07-29", "deleteRetentionPolicy": { - "enabled": true, - "days": 300 + "days": 300, + "enabled": true }, - "isVersioningEnabled": true, - "changeFeed": { - "enabled": true, - "retentionInDays": 7 - } + "isVersioningEnabled": true }, "sku": { "name": "Standard_GRS", @@ -92,5 +92,7 @@ } } } - } + }, + "operationId": "BlobServices_GetServiceProperties", + "title": "GetBlobServices" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobServicesList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobServicesList.json index f227dc20ba9e..ca7b08c9744a 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobServicesList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobServicesList.json @@ -1,26 +1,31 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res4410", "accountName": "sto8607", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", "name": "default", "type": "Microsoft.Storage/storageAccounts/blobServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", "properties": { + "changeFeed": { + "enabled": true, + "retentionInDays": 7 + }, "cors": { "corsRules": [ { - "allowedOrigins": [ - "http://www.contoso.com", - "http://www.fabrikam.com" + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" ], "allowedMethods": [ "GET", @@ -30,62 +35,57 @@ "MERGE", "PUT" ], - "maxAgeInSeconds": 100, + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], "exposedHeaders": [ "x-ms-meta-*" ], - "allowedHeaders": [ - "x-ms-meta-abc", - "x-ms-meta-data*", - "x-ms-meta-target*" - ] + "maxAgeInSeconds": 100 }, { - "allowedOrigins": [ + "allowedHeaders": [ "*" ], "allowedMethods": [ "GET" ], - "maxAgeInSeconds": 2, - "exposedHeaders": [ + "allowedOrigins": [ "*" ], - "allowedHeaders": [ + "exposedHeaders": [ "*" - ] + ], + "maxAgeInSeconds": 2 }, { - "allowedOrigins": [ - "http://www.abc23.com", - "https://www.fabrikam.com/*" + "allowedHeaders": [ + "x-ms-meta-12345675754564*" ], "allowedMethods": [ "GET", "PUT" ], - "maxAgeInSeconds": 2000, + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], "exposedHeaders": [ "x-ms-meta-abc", "x-ms-meta-data*", "x -ms-meta-target*" ], - "allowedHeaders": [ - "x-ms-meta-12345675754564*" - ] + "maxAgeInSeconds": 2000 } ] }, "defaultServiceVersion": "2017-07-29", "deleteRetentionPolicy": { - "enabled": true, - "days": 300 + "days": 300, + "enabled": true }, - "isVersioningEnabled": true, - "changeFeed": { - "enabled": true, - "retentionInDays": 7 - } + "isVersioningEnabled": true }, "sku": { "name": "Standard_GRS", @@ -95,5 +95,7 @@ ] } } - } + }, + "operationId": "BlobServices_List", + "title": "ListBlobServices" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobServicesPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobServicesPut.json index 6dc856627f8c..7f781c9f633b 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobServicesPut.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobServicesPut.json @@ -1,19 +1,22 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res4410", - "accountName": "sto8607", "BlobServicesName": "default", + "accountName": "sto8607", "api-version": "2025-06-01", "monitor": "true", "parameters": { "properties": { + "changeFeed": { + "enabled": true, + "retentionInDays": 7 + }, "cors": { "corsRules": [ { - "allowedOrigins": [ - "http://www.contoso.com", - "http://www.fabrikam.com" + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" ], "allowedMethods": [ "GET", @@ -23,78 +26,80 @@ "MERGE", "PUT" ], - "maxAgeInSeconds": 100, + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], "exposedHeaders": [ "x-ms-meta-*" ], - "allowedHeaders": [ - "x-ms-meta-abc", - "x-ms-meta-data*", - "x-ms-meta-target*" - ] + "maxAgeInSeconds": 100 }, { - "allowedOrigins": [ + "allowedHeaders": [ "*" ], "allowedMethods": [ "GET" ], - "maxAgeInSeconds": 2, - "exposedHeaders": [ + "allowedOrigins": [ "*" ], - "allowedHeaders": [ + "exposedHeaders": [ "*" - ] + ], + "maxAgeInSeconds": 2 }, { - "allowedOrigins": [ - "http://www.abc23.com", - "https://www.fabrikam.com/*" + "allowedHeaders": [ + "x-ms-meta-12345675754564*" ], "allowedMethods": [ "GET", "PUT" ], - "maxAgeInSeconds": 2000, + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], "exposedHeaders": [ "x-ms-meta-abc", "x-ms-meta-data*", "x -ms-meta-target*" ], - "allowedHeaders": [ - "x-ms-meta-12345675754564*" - ] + "maxAgeInSeconds": 2000 } ] }, "defaultServiceVersion": "2017-07-29", "deleteRetentionPolicy": { - "enabled": true, - "days": 300 + "days": 300, + "enabled": true }, - "isVersioningEnabled": true, - "changeFeed": { - "enabled": true, - "retentionInDays": 7 - } + "isVersioningEnabled": true } - } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", "name": "default", "type": "Microsoft.Storage/storageAccounts/blobServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", "properties": { + "changeFeed": { + "enabled": true, + "retentionInDays": 7 + }, "cors": { "corsRules": [ { - "allowedOrigins": [ - "http://www.contoso.com", - "http://www.fabrikam.com" + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" ], "allowedMethods": [ "GET", @@ -104,62 +109,57 @@ "MERGE", "PUT" ], - "maxAgeInSeconds": 100, + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], "exposedHeaders": [ "x-ms-meta-*" ], - "allowedHeaders": [ - "x-ms-meta-abc", - "x-ms-meta-data*", - "x-ms-meta-target*" - ] + "maxAgeInSeconds": 100 }, { - "allowedOrigins": [ + "allowedHeaders": [ "*" ], "allowedMethods": [ "GET" ], - "maxAgeInSeconds": 2, - "exposedHeaders": [ + "allowedOrigins": [ "*" ], - "allowedHeaders": [ + "exposedHeaders": [ "*" - ] + ], + "maxAgeInSeconds": 2 }, { - "allowedOrigins": [ - "http://www.abc23.com", - "https://www.fabrikam.com/*" + "allowedHeaders": [ + "x-ms-meta-12345675754564*" ], "allowedMethods": [ "GET", "PUT" ], - "maxAgeInSeconds": 2000, + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], "exposedHeaders": [ "x-ms-meta-abc", "x-ms-meta-data*", "x -ms-meta-target*" ], - "allowedHeaders": [ - "x-ms-meta-12345675754564*" - ] + "maxAgeInSeconds": 2000 } ] }, "defaultServiceVersion": "2017-07-29", "deleteRetentionPolicy": { - "enabled": true, - "days": 300 + "days": 300, + "enabled": true }, - "isVersioningEnabled": true, - "changeFeed": { - "enabled": true, - "retentionInDays": 7 - } + "isVersioningEnabled": true }, "sku": { "name": "Standard_GRS", @@ -167,5 +167,7 @@ } } } - } + }, + "operationId": "BlobServices_SetServiceProperties", + "title": "PutBlobServices" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobServicesPutAllowPermanentDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobServicesPutAllowPermanentDelete.json index 913c11918579..e2715d42edd8 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobServicesPutAllowPermanentDelete.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobServicesPutAllowPermanentDelete.json @@ -1,37 +1,39 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res4410", - "accountName": "sto8607", "BlobServicesName": "default", + "accountName": "sto8607", "api-version": "2025-06-01", "monitor": "true", "parameters": { "properties": { "deleteRetentionPolicy": { - "enabled": true, + "allowPermanentDelete": true, "days": 300, - "allowPermanentDelete": true + "enabled": true }, "isVersioningEnabled": true } - } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", "name": "default", "type": "Microsoft.Storage/storageAccounts/blobServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", "properties": { "deleteRetentionPolicy": { - "enabled": true, + "allowPermanentDelete": true, "days": 300, - "allowPermanentDelete": true + "enabled": true }, "isVersioningEnabled": true } } } - } + }, + "operationId": "BlobServices_SetServiceProperties", + "title": "BlobServicesPutAllowPermanentDelete" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobServicesPutLastAccessTimeBasedTracking.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobServicesPutLastAccessTimeBasedTracking.json index 64ce3121c7dd..e95bab29be96 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobServicesPutLastAccessTimeBasedTracking.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/BlobServicesPutLastAccessTimeBasedTracking.json @@ -1,41 +1,43 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res4410", - "accountName": "sto8607", "BlobServicesName": "default", + "accountName": "sto8607", "api-version": "2025-06-01", "monitor": "true", "parameters": { "properties": { "lastAccessTimeTrackingPolicy": { - "enable": true, "name": "AccessTimeTracking", - "trackingGranularityInDays": 1, "blobType": [ "blockBlob" - ] + ], + "enable": true, + "trackingGranularityInDays": 1 } } - } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", "name": "default", "type": "Microsoft.Storage/storageAccounts/blobServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", "properties": { "lastAccessTimeTrackingPolicy": { - "enable": true, "name": "AccessTimeTracking", - "trackingGranularityInDays": 1, "blobType": [ "blockBlob" - ] + ], + "enable": true, + "trackingGranularityInDays": 1 } } } } - } + }, + "operationId": "BlobServices_SetServiceProperties", + "title": "BlobServicesPutLastAccessTimeBasedTracking" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/DeletedAccountGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/DeletedAccountGet.json index f434ae2a63b5..7509950706e6 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/DeletedAccountGet.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/DeletedAccountGet.json @@ -1,25 +1,27 @@ { "parameters": { - "subscriptionId": "{subscription-id}", + "api-version": "2025-06-01", "deletedAccountName": "sto1125", "location": "eastus", - "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/eastus/deletedAccounts/sto1125", "name": "sto1125", "type": "Microsoft.Storage/deletedAccounts", + "id": "/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/eastus/deletedAccounts/sto1125", "properties": { - "storageAccountResourceId": "/subscriptions/{subscription-id}/resourceGroups/sto/providers/Microsoft.Storage/storageAccounts/sto1125", + "creationTime": "2020-08-17T03:35:37.4588848Z", + "deletionTime": "2020-08-17T04:41:37.3442475Z", "location": "eastus", "restoreReference": "sto1125|2020-08-17T03:35:37.4588848Z", - "creationTime": "2020-08-17T03:35:37.4588848Z", - "deletionTime": "2020-08-17T04:41:37.3442475Z" + "storageAccountResourceId": "/subscriptions/{subscription-id}/resourceGroups/sto/providers/Microsoft.Storage/storageAccounts/sto1125" } } } - } + }, + "operationId": "DeletedAccounts_Get", + "title": "DeletedAccountGet" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/DeletedAccountList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/DeletedAccountList.json index 133118bcb9e0..0ed27c445f09 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/DeletedAccountList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/DeletedAccountList.json @@ -1,39 +1,41 @@ { "parameters": { - "subscriptionId": "{subscription-id}", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/eastus/deletedAccounts/sto1125", "name": "sto1125", "type": "Microsoft.Storage/deletedAccounts", + "id": "/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/eastus/deletedAccounts/sto1125", "properties": { - "storageAccountResourceId": "/subscriptions/{subscription-id}/resourceGroups/sto/providers/Microsoft.Storage/storageAccounts/sto1125", + "creationTime": "2020-08-17T03:35:37.4588848Z", + "deletionTime": "2020-08-17T04:41:37.3442475Z", "location": "eastus", "restoreReference": "sto1125|2020-08-17T03:35:37.4588848Z", - "creationTime": "2020-08-17T03:35:37.4588848Z", - "deletionTime": "2020-08-17T04:41:37.3442475Z" + "storageAccountResourceId": "/subscriptions/{subscription-id}/resourceGroups/sto/providers/Microsoft.Storage/storageAccounts/sto1125" } }, { - "id": "/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/eastus/deletedAccounts/sto1126", "name": "sto1126", "type": "Microsoft.Storage/deletedAccounts", + "id": "/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/eastus/deletedAccounts/sto1126", "properties": { - "storageAccountResourceId": "/subscriptions/{subscription-id}/resourceGroups/sto/providers/Microsoft.Storage/storageAccounts/sto1126", + "creationTime": "2020-08-19T15:10:21.5902165Z", + "deletionTime": "2020-08-20T06:11:55.1957302Z", "location": "eastus", "restoreReference": "sto1126|2020-08-17T03:35:37.4588848Z", - "creationTime": "2020-08-19T15:10:21.5902165Z", - "deletionTime": "2020-08-20T06:11:55.1957302Z" + "storageAccountResourceId": "/subscriptions/{subscription-id}/resourceGroups/sto/providers/Microsoft.Storage/storageAccounts/sto1126" } } ] } } - } + }, + "operationId": "DeletedAccounts_List", + "title": "DeletedAccountList" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/DeletedBlobContainersList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/DeletedBlobContainersList.json index c52b2afb0fac..c7b80a7021c9 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/DeletedBlobContainersList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/DeletedBlobContainersList.json @@ -1,50 +1,52 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9290", - "accountName": "sto1590", "$include": "deleted", + "accountName": "sto1590", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers/container1644", "name": "container1644", "type": "Microsoft.Storage/storageAccounts/blobServices/containers", "etag": "\"0x8D589847D51C7DE\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers/container1644", "properties": { - "publicAccess": "Container", - "leaseStatus": "Unlocked", - "leaseState": "Available", - "lastModifiedTime": "2018-03-14T08:20:47Z", "hasImmutabilityPolicy": false, - "hasLegalHold": false + "hasLegalHold": false, + "lastModifiedTime": "2018-03-14T08:20:47Z", + "leaseState": "Available", + "leaseStatus": "Unlocked", + "publicAccess": "Container" } }, { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers/container4052", "name": "container4052", "type": "Microsoft.Storage/storageAccounts/blobServices/containers", "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/blobServices/default/containers/container4052", "properties": { - "publicAccess": "None", - "leaseStatus": "Unlocked", - "leaseState": "Expired", - "lastModifiedTime": "2018-03-14T08:20:47Z", - "hasImmutabilityPolicy": false, - "hasLegalHold": false, - "version": "1234567890", "deleted": true, "deletedTime": "2019-12-14T08:20:47Z", - "remainingRetentionDays": 30 + "hasImmutabilityPolicy": false, + "hasLegalHold": false, + "lastModifiedTime": "2018-03-14T08:20:47Z", + "leaseState": "Expired", + "leaseStatus": "Unlocked", + "publicAccess": "None", + "remainingRetentionDays": 30, + "version": "1234567890" } } ] } } - } + }, + "operationId": "BlobContainers_List", + "title": "ListDeletedContainers" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/DeletedFileSharesList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/DeletedFileSharesList.json index fc0cb69920d3..d0a3c46336be 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/DeletedFileSharesList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/DeletedFileSharesList.json @@ -1,35 +1,35 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9290", - "accountName": "sto1590", "$expand": "deleted", + "accountName": "sto1590", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share1644_1234567890", "name": "share1644", "type": "Microsoft.Storage/storageAccounts/fileServices/shares", "etag": "\"0x8D589847D51C7DE\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share1644_1234567890", "properties": { - "lastModifiedTime": "2019-05-14T08:20:47Z", - "shareQuota": 1024, - "version": "1234567890", "deleted": true, "deletedTime": "2019-12-14T08:20:47Z", - "remainingRetentionDays": 30 + "lastModifiedTime": "2019-05-14T08:20:47Z", + "remainingRetentionDays": 30, + "shareQuota": 1024, + "version": "1234567890" } }, { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", "name": "share4052", "type": "Microsoft.Storage/storageAccounts/fileServices/shares", "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", "properties": { "lastModifiedTime": "2019-05-14T08:20:47Z", "shareQuota": 1024 @@ -38,5 +38,7 @@ ] } } - } + }, + "operationId": "FileShares_List", + "title": "ListDeletedShares" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesGet.json index 2aed1ea6ce3d..e747ff958200 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesGet.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesGet.json @@ -1,25 +1,26 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res4410", - "accountName": "sto8607", "FileServicesName": "default", + "accountName": "sto8607", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", "name": "default", "type": "Microsoft.Storage/storageAccounts/fileServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", "properties": { "cors": { "corsRules": [ { - "allowedOrigins": [ - "http://www.contoso.com", - "http://www.fabrikam.com" + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" ], "allowedMethods": [ "GET", @@ -29,49 +30,48 @@ "MERGE", "PUT" ], - "maxAgeInSeconds": 100, + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], "exposedHeaders": [ "x-ms-meta-*" ], - "allowedHeaders": [ - "x-ms-meta-abc", - "x-ms-meta-data*", - "x-ms-meta-target*" - ] + "maxAgeInSeconds": 100 }, { - "allowedOrigins": [ + "allowedHeaders": [ "*" ], "allowedMethods": [ "GET" ], - "maxAgeInSeconds": 2, - "exposedHeaders": [ + "allowedOrigins": [ "*" ], - "allowedHeaders": [ + "exposedHeaders": [ "*" - ] + ], + "maxAgeInSeconds": 2 }, { - "allowedOrigins": [ - "http://www.abc23.com", - "https://www.fabrikam.com/*" + "allowedHeaders": [ + "x-ms-meta-12345675754564*" ], "allowedMethods": [ "GET", "PUT" ], - "maxAgeInSeconds": 2000, + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], "exposedHeaders": [ "x-ms-meta-abc", "x-ms-meta-data*", "x-ms-meta-target*" ], - "allowedHeaders": [ - "x-ms-meta-12345675754564*" - ] + "maxAgeInSeconds": 2000 } ] } @@ -82,5 +82,7 @@ } } } - } + }, + "operationId": "FileServices_GetServiceProperties", + "title": "GetFileServices" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesGetUsage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesGetUsage.json index e9e6d7f6c163..4f6195fc3712 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesGetUsage.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesGetUsage.json @@ -1,61 +1,63 @@ { "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "res4410", - "accountName": "sto8607", "FileServicesName": "default", - "fileServiceUsagesName": "default", + "accountName": "sto8607", "api-version": "2025-06-01", - "monitor": "true" + "fileServiceUsagesName": "default", + "monitor": "true", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-1111-2222-3333-444444444444" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default/usages/default", "name": "default", "type": "Microsoft.Storage/storageAccounts/fileServices/usages", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default/usages/default", "properties": { - "storageAccountLimits": { - "maxFileShares": 50, - "maxProvisionedStorageGiB": 262144, - "maxProvisionedIOPS": 102400, - "maxProvisionedBandwidthMiBPerSec": 10340 + "burstingConstants": { + "burstFloorIOPS": 10000, + "burstIOScalar": 3, + "burstTimeframeSeconds": 3600 }, "fileShareLimits": { - "minProvisionedStorageGiB": 32, - "maxProvisionedStorageGiB": 262144, - "minProvisionedIOPS": 3000, + "maxProvisionedBandwidthMiBPerSec": 10340, "maxProvisionedIOPS": 102400, + "maxProvisionedStorageGiB": 262144, "minProvisionedBandwidthMiBPerSec": 125, - "maxProvisionedBandwidthMiBPerSec": 10340 + "minProvisionedIOPS": 3000, + "minProvisionedStorageGiB": 32 }, "fileShareRecommendations": { - "baseIOPS": 3000, - "ioScalar": 1, + "bandwidthScalar": 0.1, "baseBandwidthMiBPerSec": 125, - "bandwidthScalar": 0.1 + "baseIOPS": 3000, + "ioScalar": 1 }, - "burstingConstants": { - "burstFloorIOPS": 10000, - "burstIOScalar": 3, - "burstTimeframeSeconds": 3600 + "storageAccountLimits": { + "maxFileShares": 50, + "maxProvisionedBandwidthMiBPerSec": 10340, + "maxProvisionedIOPS": 102400, + "maxProvisionedStorageGiB": 262144 }, "storageAccountUsage": { "liveShares": { "fileShareCount": 2, - "provisionedStorageGiB": 64, + "provisionedBandwidthMiBPerSec": 258, "provisionedIOPS": 6064, - "provisionedBandwidthMiBPerSec": 258 + "provisionedStorageGiB": 64 }, "softDeletedShares": { "fileShareCount": 1, - "provisionedStorageGiB": 100, + "provisionedBandwidthMiBPerSec": 125, "provisionedIOPS": 3000, - "provisionedBandwidthMiBPerSec": 125 + "provisionedStorageGiB": 100 } } } } } - } + }, + "operationId": "FileServices_GetServiceUsage", + "title": "GetFileServiceUsage" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesList.json index 03554df45b3d..55e364188f98 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesList.json @@ -1,26 +1,27 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9290", "accountName": "sto1590", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", "name": "default", "type": "Microsoft.Storage/storageAccounts/fileServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", "properties": { "cors": { "corsRules": [ { - "allowedOrigins": [ - "http://www.contoso.com", - "http://www.fabrikam.com" + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" ], "allowedMethods": [ "GET", @@ -30,49 +31,48 @@ "MERGE", "PUT" ], - "maxAgeInSeconds": 100, + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], "exposedHeaders": [ "x-ms-meta-*" ], - "allowedHeaders": [ - "x-ms-meta-abc", - "x-ms-meta-data*", - "x-ms-meta-target*" - ] + "maxAgeInSeconds": 100 }, { - "allowedOrigins": [ + "allowedHeaders": [ "*" ], "allowedMethods": [ "GET" ], - "maxAgeInSeconds": 2, - "exposedHeaders": [ + "allowedOrigins": [ "*" ], - "allowedHeaders": [ + "exposedHeaders": [ "*" - ] + ], + "maxAgeInSeconds": 2 }, { - "allowedOrigins": [ - "http://www.abc23.com", - "https://www.fabrikam.com/*" + "allowedHeaders": [ + "x-ms-meta-12345675754564*" ], "allowedMethods": [ "GET", "PUT" ], - "maxAgeInSeconds": 2000, + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], "exposedHeaders": [ "x-ms-meta-abc", "x-ms-meta-data*", "x-ms-meta-target*" ], - "allowedHeaders": [ - "x-ms-meta-12345675754564*" - ] + "maxAgeInSeconds": 2000 } ] } @@ -85,5 +85,7 @@ ] } } - } + }, + "operationId": "FileServices_List", + "title": "ListFileServices" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesListUsages.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesListUsages.json index 608b26b1c0e3..12224cae8317 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesListUsages.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesListUsages.json @@ -1,58 +1,58 @@ { "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "res4410", - "accountName": "sto8607", "FileServicesName": "default", + "accountName": "sto8607", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-1111-2222-3333-444444444444" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default/usages/default", "name": "default", "type": "Microsoft.Storage/storageAccounts/fileServices/usages", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default/usages/default", "properties": { - "storageAccountLimits": { - "maxFileShares": 50, - "maxProvisionedStorageGiB": 262144, - "maxProvisionedIOPS": 102400, - "maxProvisionedBandwidthMiBPerSec": 10340 + "burstingConstants": { + "burstFloorIOPS": 10000, + "burstIOScalar": 3, + "burstTimeframeSeconds": 3600 }, "fileShareLimits": { - "minProvisionedStorageGiB": 32, - "maxProvisionedStorageGiB": 262144, - "minProvisionedIOPS": 3000, + "maxProvisionedBandwidthMiBPerSec": 10340, "maxProvisionedIOPS": 102400, + "maxProvisionedStorageGiB": 262144, "minProvisionedBandwidthMiBPerSec": 125, - "maxProvisionedBandwidthMiBPerSec": 10340 + "minProvisionedIOPS": 3000, + "minProvisionedStorageGiB": 32 }, "fileShareRecommendations": { - "baseIOPS": 3000, - "ioScalar": 1, + "bandwidthScalar": 0.1, "baseBandwidthMiBPerSec": 125, - "bandwidthScalar": 0.1 + "baseIOPS": 3000, + "ioScalar": 1 }, - "burstingConstants": { - "burstFloorIOPS": 10000, - "burstIOScalar": 3, - "burstTimeframeSeconds": 3600 + "storageAccountLimits": { + "maxFileShares": 50, + "maxProvisionedBandwidthMiBPerSec": 10340, + "maxProvisionedIOPS": 102400, + "maxProvisionedStorageGiB": 262144 }, "storageAccountUsage": { "liveShares": { "fileShareCount": 2, - "provisionedStorageGiB": 64, + "provisionedBandwidthMiBPerSec": 258, "provisionedIOPS": 6064, - "provisionedBandwidthMiBPerSec": 258 + "provisionedStorageGiB": 64 }, "softDeletedShares": { "fileShareCount": 1, - "provisionedStorageGiB": 100, + "provisionedBandwidthMiBPerSec": 125, "provisionedIOPS": 3000, - "provisionedBandwidthMiBPerSec": 125 + "provisionedStorageGiB": 100 } } } @@ -60,5 +60,7 @@ ] } } - } + }, + "operationId": "FileServices_ListServiceUsages", + "title": "ListFileServiceUsages" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesPut.json index 522e989b8139..8e78d672f54e 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesPut.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesPut.json @@ -1,9 +1,7 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res4410", - "accountName": "sto8607", "FileServicesName": "default", + "accountName": "sto8607", "api-version": "2025-06-01", "monitor": "true", "parameters": { @@ -11,9 +9,10 @@ "cors": { "corsRules": [ { - "allowedOrigins": [ - "http://www.contoso.com", - "http://www.fabrikam.com" + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" ], "allowedMethods": [ "GET", @@ -23,68 +22,70 @@ "MERGE", "PUT" ], - "maxAgeInSeconds": 100, + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], "exposedHeaders": [ "x-ms-meta-*" ], - "allowedHeaders": [ - "x-ms-meta-abc", - "x-ms-meta-data*", - "x-ms-meta-target*" - ] + "maxAgeInSeconds": 100 }, { - "allowedOrigins": [ + "allowedHeaders": [ "*" ], "allowedMethods": [ "GET" ], - "maxAgeInSeconds": 2, - "exposedHeaders": [ + "allowedOrigins": [ "*" ], - "allowedHeaders": [ + "exposedHeaders": [ "*" - ] + ], + "maxAgeInSeconds": 2 }, { - "allowedOrigins": [ - "http://www.abc23.com", - "https://www.fabrikam.com/*" + "allowedHeaders": [ + "x-ms-meta-12345675754564*" ], "allowedMethods": [ "GET", "PUT" ], - "maxAgeInSeconds": 2000, + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], "exposedHeaders": [ "x-ms-meta-abc", "x-ms-meta-data*", "x-ms-meta-target*" ], - "allowedHeaders": [ - "x-ms-meta-12345675754564*" - ] + "maxAgeInSeconds": 2000 } ] } } - } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", "name": "default", "type": "Microsoft.Storage/storageAccounts/fileServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", "properties": { "cors": { "corsRules": [ { - "allowedOrigins": [ - "http://www.contoso.com", - "http://www.fabrikam.com" + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" ], "allowedMethods": [ "GET", @@ -94,49 +95,48 @@ "MERGE", "PUT" ], - "maxAgeInSeconds": 100, + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], "exposedHeaders": [ "x-ms-meta-*" ], - "allowedHeaders": [ - "x-ms-meta-abc", - "x-ms-meta-data*", - "x-ms-meta-target*" - ] + "maxAgeInSeconds": 100 }, { - "allowedOrigins": [ + "allowedHeaders": [ "*" ], "allowedMethods": [ "GET" ], - "maxAgeInSeconds": 2, - "exposedHeaders": [ + "allowedOrigins": [ "*" ], - "allowedHeaders": [ + "exposedHeaders": [ "*" - ] + ], + "maxAgeInSeconds": 2 }, { - "allowedOrigins": [ - "http://www.abc23.com", - "https://www.fabrikam.com/*" + "allowedHeaders": [ + "x-ms-meta-12345675754564*" ], "allowedMethods": [ "GET", "PUT" ], - "maxAgeInSeconds": 2000, + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], "exposedHeaders": [ "x-ms-meta-abc", "x-ms-meta-data*", "x-ms-meta-target*" ], - "allowedHeaders": [ - "x-ms-meta-12345675754564*" - ] + "maxAgeInSeconds": 2000 } ] } @@ -147,5 +147,7 @@ } } } - } + }, + "operationId": "FileServices_SetServiceProperties", + "title": "PutFileServices" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesPut_EnableSMBMultichannel.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesPut_EnableSMBMultichannel.json index ed9a591487b5..1075d49e5d8e 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesPut_EnableSMBMultichannel.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesPut_EnableSMBMultichannel.json @@ -1,9 +1,7 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res4410", - "accountName": "sto8607", "FileServicesName": "default", + "accountName": "sto8607", "api-version": "2025-06-01", "monitor": "true", "parameters": { @@ -16,14 +14,16 @@ } } } - } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", "name": "default", "type": "Microsoft.Storage/storageAccounts/fileServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", "properties": { "protocolSettings": { "smb": { @@ -39,5 +39,7 @@ } } } - } + }, + "operationId": "FileServices_SetServiceProperties", + "title": "PutFileServices_EnableSMBMultichannel" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesPut_EnableSecureSmbFeatures.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesPut_EnableSecureSmbFeatures.json index 740161399d4d..3c04af02dd9c 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesPut_EnableSecureSmbFeatures.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesPut_EnableSecureSmbFeatures.json @@ -1,37 +1,37 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res4410", - "accountName": "sto8607", "FileServicesName": "default", + "accountName": "sto8607", "api-version": "2025-06-01", "monitor": "true", "parameters": { "properties": { "protocolSettings": { "smb": { - "versions": "SMB2.1;SMB3.0;SMB3.1.1", "authenticationMethods": "NTLMv2;Kerberos", + "channelEncryption": "AES-128-CCM;AES-128-GCM;AES-256-GCM", "kerberosTicketEncryption": "RC4-HMAC;AES-256", - "channelEncryption": "AES-128-CCM;AES-128-GCM;AES-256-GCM" + "versions": "SMB2.1;SMB3.0;SMB3.1.1" } } } - } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", "name": "default", "type": "Microsoft.Storage/storageAccounts/fileServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", "properties": { "protocolSettings": { "smb": { - "versions": "SMB2.1;SMB3.0;SMB3.1.1", "authenticationMethods": "NTLMv2;Kerberos", + "channelEncryption": "AES-128-CCM;AES-128-GCM;AES-256-GCM", "kerberosTicketEncryption": "RC4-HMAC;AES-256", - "channelEncryption": "AES-128-CCM;AES-128-GCM;AES-256-GCM" + "versions": "SMB2.1;SMB3.0;SMB3.1.1" } } }, @@ -41,5 +41,7 @@ } } } - } + }, + "operationId": "FileServices_SetServiceProperties", + "title": "PutFileServices_EnableSecureSmbFeatures" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesPut_EncryptionInTransitRequired.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesPut_EncryptionInTransitRequired.json index 1be8d01d9210..3b3ac786a38b 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesPut_EncryptionInTransitRequired.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileServicesPut_EncryptionInTransitRequired.json @@ -1,42 +1,42 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res4410", - "accountName": "sto8607", "FileServicesName": "default", + "accountName": "sto8607", "api-version": "2025-06-01", "monitor": "true", "parameters": { "properties": { "protocolSettings": { - "smb": { + "nfs": { "encryptionInTransit": { "required": true } }, - "nfs": { + "smb": { "encryptionInTransit": { "required": true } } } } - } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", "name": "default", "type": "Microsoft.Storage/storageAccounts/fileServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", "properties": { "protocolSettings": { - "smb": { + "nfs": { "encryptionInTransit": { "required": true } }, - "nfs": { + "smb": { "encryptionInTransit": { "required": true } @@ -49,5 +49,7 @@ } } } - } + }, + "operationId": "FileServices_SetServiceProperties", + "title": "PutFileServices_EncryptionInTransitRequired" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileShareAclsPatch.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileShareAclsPatch.json index e81b8c1543f3..a916e170b84a 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileShareAclsPatch.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileShareAclsPatch.json @@ -1,45 +1,47 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res3376", "accountName": "sto328", - "shareName": "share6185", "api-version": "2025-06-01", - "monitor": "true", "fileShare": { "properties": { "signedIdentifiers": [ { - "id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI", "accessPolicy": { - "startTime": "2021-04-01T08:49:37.0000000Z", "expiryTime": "2021-05-01T08:49:37.0000000Z", - "permission": "rwd" - } + "permission": "rwd", + "startTime": "2021-04-01T08:49:37.0000000Z" + }, + "id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI" } ] } - } + }, + "monitor": "true", + "resourceGroupName": "res3376", + "shareName": "share6185", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185", "name": "share6185", "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185", "properties": { "signedIdentifiers": [ { - "id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI", "accessPolicy": { - "startTime": "2021-04-01T08:49:37.0000000Z", "expiryTime": "2021-05-01T08:49:37.0000000Z", - "permission": "rwd" - } + "permission": "rwd", + "startTime": "2021-04-01T08:49:37.0000000Z" + }, + "id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI" } ] } } } - } + }, + "operationId": "FileShares_Update", + "title": "UpdateShareAcls" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileShareSnapshotsList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileShareSnapshotsList.json index 7e2c26af995d..644eac127bf7 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileShareSnapshotsList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileShareSnapshotsList.json @@ -1,31 +1,31 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9290", - "accountName": "sto1590", "$expand": "snapshots", + "accountName": "sto1590", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", "name": "share4052", "type": "Microsoft.Storage/storageAccounts/fileServices/shares", "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", "properties": { "lastModifiedTime": "2020-10-26T05:47:05.0000000Z", "shareQuota": 1024 } }, { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", "name": "share4052", "type": "Microsoft.Storage/storageAccounts/fileServices/shares", "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", "properties": { "lastModifiedTime": "2020-10-26T05:47:05.0000000Z", "shareQuota": 1024, @@ -35,5 +35,7 @@ ] } } - } + }, + "operationId": "FileShares_List", + "title": "ListShareSnapshots" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesDelete.json index bb380316097c..a2773d297ace 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesDelete.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesDelete.json @@ -1,14 +1,16 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res4079", "accountName": "sto4506", - "shareName": "share9689", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res4079", + "shareName": "share9689", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, "204": {} - } + }, + "operationId": "FileShares_Delete", + "title": "DeleteShares" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesGet.json index 5cbf6768ebd2..37a6d5023ed6 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesGet.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesGet.json @@ -1,24 +1,26 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9871", "accountName": "sto6217", - "shareName": "share1634", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res9871", + "shareName": "share1634", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/fileServices/default/shares/share1634", "name": "share1634", "type": "Microsoft.Storage/storageAccounts/fileServices/shares", "etag": "\"0x8D592D74CC20EBA\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/fileServices/default/shares/share1634", "properties": { "lastModifiedTime": "2019-05-26T05:06:14Z", "shareQuota": 1024 } } } - } + }, + "operationId": "FileShares_Get", + "title": "GetShares" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesGet_PaidBursting.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesGet_PaidBursting.json index 0c3a3371e68c..fc52f0fbcab8 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesGet_PaidBursting.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesGet_PaidBursting.json @@ -1,29 +1,31 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9871", "accountName": "sto6217", - "shareName": "share1634", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res9871", + "shareName": "share1634", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/fileServices/default/shares/share1634", "name": "share1634", "type": "Microsoft.Storage/storageAccounts/fileServices/shares", "etag": "\"0x8D592D74CC20EBA\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/fileServices/default/shares/share1634", "properties": { - "lastModifiedTime": "2019-05-26T05:06:14Z", - "shareQuota": 1024, "fileSharePaidBursting": { "paidBurstingEnabled": true, - "paidBurstingMaxIops": 102400, - "paidBurstingMaxBandwidthMibps": 10340 - } + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 + }, + "lastModifiedTime": "2019-05-26T05:06:14Z", + "shareQuota": 1024 } } } - } + }, + "operationId": "FileShares_Get", + "title": "GetSharePaidBursting" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesGet_ProvisionedV2.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesGet_ProvisionedV2.json index c1ceb9ecfdab..49e5e693ae5c 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesGet_ProvisionedV2.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesGet_ProvisionedV2.json @@ -1,31 +1,33 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9871", "accountName": "sto6217", - "shareName": "share1634", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res9871", + "shareName": "share1634", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/fileServices/default/shares/share1634", "name": "share1634", "type": "Microsoft.Storage/storageAccounts/fileServices/shares", "etag": "\"0x8D592D74CC20EBA\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/fileServices/default/shares/share1634", "properties": { - "lastModifiedTime": "2024-10-25T01:50:50.0000000Z", - "shareQuota": 100, - "provisionedIops": 5000, - "provisionedBandwidthMibps": 200, "includedBurstIops": 15000, + "lastModifiedTime": "2024-10-25T01:50:50.0000000Z", "maxBurstCreditsForIops": 36000000, - "nextAllowedQuotaDowngradeTime": "Sat, 26 Oct 2024 01:50:50 GMT", + "nextAllowedProvisionedBandwidthDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", "nextAllowedProvisionedIopsDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", - "nextAllowedProvisionedBandwidthDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT" + "nextAllowedQuotaDowngradeTime": "Sat, 26 Oct 2024 01:50:50 GMT", + "provisionedBandwidthMibps": 200, + "provisionedIops": 5000, + "shareQuota": 100 } } } - } + }, + "operationId": "FileShares_Get", + "title": "GetShareProvisionedV2" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesGet_Stats.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesGet_Stats.json index 245fd09d9146..881504aed018 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesGet_Stats.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesGet_Stats.json @@ -1,20 +1,20 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9871", - "accountName": "sto6217", - "shareName": "share1634", "$expand": "stats", + "accountName": "sto6217", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res9871", + "shareName": "share1634", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/fileServices/default/shares/share1634", "name": "share1634", "type": "Microsoft.Storage/storageAccounts/fileServices/shares", "etag": "\"0x8D592D74CC20EBA\"", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Storage/storageAccounts/sto6217/fileServices/default/shares/share1634", "properties": { "lastModifiedTime": "2019-05-26T05:06:14Z", "shareQuota": 1024, @@ -22,5 +22,7 @@ } } } - } + }, + "operationId": "FileShares_Get", + "title": "GetShareStats" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesLease_Acquire.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesLease_Acquire.json index 0c1fa675975c..6300b32e5383 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesLease_Acquire.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesLease_Acquire.json @@ -1,18 +1,18 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res3376", "accountName": "sto328", - "shareName": "share124", "api-version": "2025-06-01", "monitor": "true", "parameters": { "action": "Acquire", - "leaseId": null, "breakPeriod": null, "leaseDuration": -1, + "leaseId": null, "proposedLeaseId": null - } + }, + "resourceGroupName": "res3376", + "shareName": "share124", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -20,5 +20,7 @@ "leaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d" } } - } + }, + "operationId": "FileShares_Lease", + "title": "Acquire a lease on a share" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesLease_Break.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesLease_Break.json index 4aac1392ae3f..6bf71d5f6717 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesLease_Break.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesLease_Break.json @@ -1,18 +1,18 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res3376", "accountName": "sto328", - "shareName": "share12", "api-version": "2025-06-01", "monitor": "true", "parameters": { "action": "Break", - "leaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d", "breakPeriod": null, "leaseDuration": null, + "leaseId": "8698f513-fa75-44a1-b8eb-30ba336af27d", "proposedLeaseId": null - } + }, + "resourceGroupName": "res3376", + "shareName": "share12", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -20,5 +20,7 @@ "leaseTimeSeconds": "0" } } - } + }, + "operationId": "FileShares_Lease", + "title": "Break a lease on a share" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesList.json index 7fdffad60259..75d500921c89 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesList.json @@ -1,38 +1,40 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9290", "accountName": "sto1590", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "nextLink": "https://sto1590endpoint/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares?api-version=2022-09-01&$maxpagesize=2&$skipToken=/sto1590/share5103", "value": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share1644", "name": "share1644", "type": "Microsoft.Storage/storageAccounts/fileServices/shares", "etag": "\"0x8D589847D51C7DE\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share1644", "properties": { "lastModifiedTime": "2019-05-14T08:20:47Z", "shareQuota": 1024 } }, { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", "name": "share4052", "type": "Microsoft.Storage/storageAccounts/fileServices/shares", "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", "properties": { "lastModifiedTime": "2019-05-14T08:20:47Z", "shareQuota": 1024 } } - ], - "nextLink": "https://sto1590endpoint/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares?api-version=2022-09-01&$maxpagesize=2&$skipToken=/sto1590/share5103" + ] } } - } + }, + "operationId": "FileShares_List", + "title": "ListShares" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesList_PaidBursting.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesList_PaidBursting.json index bb62bb4de2d0..e4a2eda13e73 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesList_PaidBursting.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesList_PaidBursting.json @@ -1,48 +1,50 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9290", "accountName": "sto1590", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "nextLink": "https://sto1590endpoint/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares?api-version=2022-09-01&$maxpagesize=2&$skipToken=/sto1590/share5103", "value": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share1644", "name": "share1644", "type": "Microsoft.Storage/storageAccounts/fileServices/shares", "etag": "\"0x8D589847D51C7DE\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share1644", "properties": { - "lastModifiedTime": "2019-05-14T08:20:47Z", - "shareQuota": 1024, "fileSharePaidBursting": { "paidBurstingEnabled": true, - "paidBurstingMaxIops": 102400, - "paidBurstingMaxBandwidthMibps": 10340 - } + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 + }, + "lastModifiedTime": "2019-05-14T08:20:47Z", + "shareQuota": 1024 } }, { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", "name": "share4052", "type": "Microsoft.Storage/storageAccounts/fileServices/shares", "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", "properties": { - "lastModifiedTime": "2019-05-14T08:20:47Z", - "shareQuota": 1024, "fileSharePaidBursting": { "paidBurstingEnabled": true, - "paidBurstingMaxIops": 102400, - "paidBurstingMaxBandwidthMibps": 10340 - } + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 + }, + "lastModifiedTime": "2019-05-14T08:20:47Z", + "shareQuota": 1024 } } - ], - "nextLink": "https://sto1590endpoint/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares?api-version=2022-09-01&$maxpagesize=2&$skipToken=/sto1590/share5103" + ] } } - } + }, + "operationId": "FileShares_List", + "title": "ListSharesPaidBursting" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesList_ProvisionedV2.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesList_ProvisionedV2.json index 1d992ea47027..955ff0884305 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesList_ProvisionedV2.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesList_ProvisionedV2.json @@ -1,52 +1,54 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9290", "accountName": "sto1590", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "nextLink": "https://sto1590endpoint/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares?api-version=2022-09-01&$maxpagesize=2&$skipToken=/sto1590/share5103", "value": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share1644", "name": "share1644", "type": "Microsoft.Storage/storageAccounts/fileServices/shares", "etag": "\"0x8D589847D51C7DE\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share1644", "properties": { - "lastModifiedTime": "2024-10-25T01:50:50.0000000Z", - "shareQuota": 100, - "provisionedIops": 5000, - "provisionedBandwidthMibps": 200, "includedBurstIops": 15000, + "lastModifiedTime": "2024-10-25T01:50:50.0000000Z", "maxBurstCreditsForIops": 36000000, - "nextAllowedQuotaDowngradeTime": "Sat, 26 Oct 2024 01:50:50 GMT", + "nextAllowedProvisionedBandwidthDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", "nextAllowedProvisionedIopsDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", - "nextAllowedProvisionedBandwidthDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT" + "nextAllowedQuotaDowngradeTime": "Sat, 26 Oct 2024 01:50:50 GMT", + "provisionedBandwidthMibps": 200, + "provisionedIops": 5000, + "shareQuota": 100 } }, { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", "name": "share4052", "type": "Microsoft.Storage/storageAccounts/fileServices/shares", "etag": "\"0x8D589847DAB5AF9\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares/share4052", "properties": { - "lastModifiedTime": "2024-10-25T01:50:50.0000000Z", - "shareQuota": 100, - "provisionedIops": 5000, - "provisionedBandwidthMibps": 200, "includedBurstIops": 15000, + "lastModifiedTime": "2024-10-25T01:50:50.0000000Z", "maxBurstCreditsForIops": 36000000, - "nextAllowedQuotaDowngradeTime": "Sat, 26 Oct 2024 01:50:50 GMT", + "nextAllowedProvisionedBandwidthDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", "nextAllowedProvisionedIopsDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", - "nextAllowedProvisionedBandwidthDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT" + "nextAllowedQuotaDowngradeTime": "Sat, 26 Oct 2024 01:50:50 GMT", + "provisionedBandwidthMibps": 200, + "provisionedIops": 5000, + "shareQuota": 100 } } - ], - "nextLink": "https://sto1590endpoint/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/fileServices/default/shares?api-version=2022-09-01&$maxpagesize=2&$skipToken=/sto1590/share5103" + ] } } - } + }, + "operationId": "FileShares_List", + "title": "ListSharesProvisionedV2" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPatch.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPatch.json index 476898a5b5a1..2f81fdc3c6fc 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPatch.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPatch.json @@ -1,25 +1,25 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res3376", "accountName": "sto328", - "shareName": "share6185", "api-version": "2025-06-01", - "monitor": "true", "fileShare": { "properties": { "metadata": { "type": "image" } } - } + }, + "monitor": "true", + "resourceGroupName": "res3376", + "shareName": "share6185", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185", "name": "share6185", "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185", "properties": { "metadata": { "type": "image" @@ -27,5 +27,7 @@ } } } - } + }, + "operationId": "FileShares_Update", + "title": "UpdateShares" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPatch_PaidBursting.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPatch_PaidBursting.json index c749a242b563..a292d588ec57 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPatch_PaidBursting.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPatch_PaidBursting.json @@ -1,35 +1,37 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res3376", "accountName": "sto328", - "shareName": "share6185", "api-version": "2025-06-01", - "monitor": "true", "fileShare": { "properties": { "fileSharePaidBursting": { "paidBurstingEnabled": true, - "paidBurstingMaxIops": 102400, - "paidBurstingMaxBandwidthMibps": 10340 + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 } } - } + }, + "monitor": "true", + "resourceGroupName": "res3376", + "shareName": "share6185", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185", "name": "share6185", "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185", "properties": { "fileSharePaidBursting": { "paidBurstingEnabled": true, - "paidBurstingMaxIops": 102400, - "paidBurstingMaxBandwidthMibps": 10340 + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 } } } } - } + }, + "operationId": "FileShares_Update", + "title": "UpdateSharePaidBursting" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPatch_ProvisionedV2.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPatch_ProvisionedV2.json index 106b41cc95e4..a28bf77824b1 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPatch_ProvisionedV2.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPatch_ProvisionedV2.json @@ -1,36 +1,38 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res3376", "accountName": "sto328", - "shareName": "share6185", "api-version": "2025-06-01", - "monitor": "true", "fileShare": { "properties": { - "shareQuota": 100, + "provisionedBandwidthMibps": 200, "provisionedIops": 5000, - "provisionedBandwidthMibps": 200 + "shareQuota": 100 } - } + }, + "monitor": "true", + "resourceGroupName": "res3376", + "shareName": "share6185", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185", "name": "share6185", "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185", "properties": { - "shareQuota": 100, - "provisionedIops": 5000, - "provisionedBandwidthMibps": 200, "includedBurstIops": 15000, "maxBurstCreditsForIops": 36000000, - "nextAllowedQuotaDowngradeTime": "Sat, 26 Oct 2024 01:50:50 GMT", + "nextAllowedProvisionedBandwidthDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", "nextAllowedProvisionedIopsDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT", - "nextAllowedProvisionedBandwidthDowngradeTime": "Fri, 25 Oct 2024 01:48:09 GMT" + "nextAllowedQuotaDowngradeTime": "Sat, 26 Oct 2024 01:50:50 GMT", + "provisionedBandwidthMibps": 200, + "provisionedIops": 5000, + "shareQuota": 100 } } } - } + }, + "operationId": "FileShares_Update", + "title": "UpdateShareProvisionedV2" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPut.json index 085b06eeda65..68ee13e7f3cd 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPut.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPut.json @@ -1,27 +1,29 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res3376", "accountName": "sto328", - "shareName": "share6185", "api-version": "2025-06-01", + "fileShare": {}, "monitor": "true", - "fileShare": {} + "resourceGroupName": "res3376", + "shareName": "share6185", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { - "201": { + "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185", "name": "share6185", - "type": "Microsoft.Storage/storageAccounts/fileServices/shares" + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185" } }, - "200": { + "201": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185", "name": "share6185", - "type": "Microsoft.Storage/storageAccounts/fileServices/shares" + "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/fileServices/default/shares/share6185" } } - } + }, + "operationId": "FileShares_Create", + "title": "PutShares" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPut_AccessTier.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPut_AccessTier.json index 9d57a4eb6681..60fbae8b00cd 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPut_AccessTier.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPut_AccessTier.json @@ -1,37 +1,39 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res346", "accountName": "sto666", - "shareName": "share1235", "api-version": "2025-06-01", - "monitor": "true", "fileShare": { "properties": { "accessTier": "Hot" } - } + }, + "monitor": "true", + "resourceGroupName": "res346", + "shareName": "share1235", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { - "201": { + "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", "name": "share1235", "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", "properties": { "accessTier": "Hot" } } }, - "200": { + "201": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", "name": "share1235", "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", "properties": { "accessTier": "Hot" } } } - } + }, + "operationId": "FileShares_Create", + "title": "PutShares with Access Tier" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPut_NFS.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPut_NFS.json index 2e2075292229..9710c876b1b1 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPut_NFS.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPut_NFS.json @@ -1,37 +1,39 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res346", "accountName": "sto666", - "shareName": "share1235", "api-version": "2025-06-01", - "monitor": "true", "fileShare": { "properties": { "enabledProtocols": "NFS" } - } + }, + "monitor": "true", + "resourceGroupName": "res346", + "shareName": "share1235", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { - "201": { + "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", "name": "share1235", "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", "properties": { "enabledProtocols": "NFS" } } }, - "200": { + "201": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", "name": "share1235", "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", "properties": { "enabledProtocols": "NFS" } } } - } + }, + "operationId": "FileShares_Create", + "title": "Create NFS Shares" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPut_PaidBursting.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPut_PaidBursting.json index 246ab7cd4421..48ed146bea43 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPut_PaidBursting.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPut_PaidBursting.json @@ -1,49 +1,51 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res346", "accountName": "sto666", - "shareName": "share1235", "api-version": "2025-06-01", - "monitor": "true", "fileShare": { "properties": { "fileSharePaidBursting": { "paidBurstingEnabled": true, - "paidBurstingMaxIops": 102400, - "paidBurstingMaxBandwidthMibps": 10340 + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 } } - } + }, + "monitor": "true", + "resourceGroupName": "res346", + "shareName": "share1235", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { - "201": { + "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", "name": "share1235", "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", "properties": { "fileSharePaidBursting": { "paidBurstingEnabled": true, - "paidBurstingMaxIops": 102400, - "paidBurstingMaxBandwidthMibps": 10340 + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 } } } }, - "200": { + "201": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", "name": "share1235", "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", "properties": { "fileSharePaidBursting": { "paidBurstingEnabled": true, - "paidBurstingMaxIops": 102400, - "paidBurstingMaxBandwidthMibps": 10340 + "paidBurstingMaxBandwidthMibps": 10340, + "paidBurstingMaxIops": 102400 } } } } - } + }, + "operationId": "FileShares_Create", + "title": "PutShares with Paid Bursting" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPut_ProvisionedV2.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPut_ProvisionedV2.json index 7983cd400ff4..4e17db56e16e 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPut_ProvisionedV2.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesPut_ProvisionedV2.json @@ -1,47 +1,49 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res346", "accountName": "sto666", - "shareName": "share1235", "api-version": "2025-06-01", - "monitor": "true", "fileShare": { "properties": { - "shareQuota": 100, + "provisionedBandwidthMibps": 200, "provisionedIops": 5000, - "provisionedBandwidthMibps": 200 + "shareQuota": 100 } - } + }, + "monitor": "true", + "resourceGroupName": "res346", + "shareName": "share1235", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { - "201": { + "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", "name": "share1235", "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", "properties": { - "shareQuota": 100, - "provisionedIops": 5000, - "provisionedBandwidthMibps": 200, "includedBurstIops": 15000, - "maxBurstCreditsForIops": 36000000 + "maxBurstCreditsForIops": 36000000, + "provisionedBandwidthMibps": 200, + "provisionedIops": 5000, + "shareQuota": 100 } } }, - "200": { + "201": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", "name": "share1235", "type": "Microsoft.Storage/storageAccounts/fileServices/shares", + "id": "/subscriptions/{subscription-id}/resourceGroups/res346/providers/Microsoft.Storage/storageAccounts/sto666/fileServices/default/shares/share1235", "properties": { - "shareQuota": 100, - "provisionedIops": 5000, - "provisionedBandwidthMibps": 200, "includedBurstIops": 15000, - "maxBurstCreditsForIops": 36000000 + "maxBurstCreditsForIops": 36000000, + "provisionedBandwidthMibps": 200, + "provisionedIops": 5000, + "shareQuota": 100 } } } - } + }, + "operationId": "FileShares_Create", + "title": "PutSharesProvisionedV2" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesRestore.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesRestore.json index 427464cb4f54..a076b07da2ec 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesRestore.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/FileSharesRestore.json @@ -1,17 +1,19 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res3376", "accountName": "sto328", - "shareName": "share1249", + "api-version": "2025-06-01", "deletedShare": { "deletedShareName": "share1249", "deletedShareVersion": "1234567890" }, - "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res3376", + "shareName": "share1249", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {} - } + }, + "operationId": "FileShares_Restore", + "title": "RestoreShares" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUserCreate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUserCreate.json index 09f724a3d663..57d20113fb42 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUserCreate.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUserCreate.json @@ -1,70 +1,72 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res6977", "accountName": "sto2527", - "username": "user1", "api-version": "2025-06-01", + "monitor": "true", "properties": { "properties": { + "allowAclAuthorization": true, + "groupId": 2000, + "hasSshPassword": true, + "homeDirectory": "homedirectory", "permissionScopes": [ { "permissions": "rwd", - "service": "file", - "resourceName": "share1" + "resourceName": "share1", + "service": "file" }, { "permissions": "rw", - "service": "file", - "resourceName": "share2" + "resourceName": "share2", + "service": "file" } ], - "homeDirectory": "homedirectory", - "hasSshPassword": true, "sshAuthorizedKeys": [ { "description": "key name", "key": "ssh-rsa keykeykeykeykey=" } - ], - "groupId": 2000, - "allowAclAuthorization": true + ] } }, - "monitor": "true" + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "username": "user1" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", "name": "user1", "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", "properties": { + "allowAclAuthorization": true, + "groupId": 2000, + "homeDirectory": "homedirectory", "permissionScopes": [ { "permissions": "rwd", - "service": "file", - "resourceName": "share1" + "resourceName": "share1", + "service": "file" }, { "permissions": "rw", - "service": "file", - "resourceName": "share2" + "resourceName": "share2", + "service": "file" } ], - "homeDirectory": "homedirectory", + "sid": "S-1-2-0-125132-153423-36235-1000", "sshAuthorizedKeys": [ { "description": "key name", "key": "ssh-rsa keykeykeykeykey=" } ], - "sid": "S-1-2-0-125132-153423-36235-1000", - "userId": 1000, - "groupId": 2000, - "allowAclAuthorization": true + "userId": 1000 } } } - } + }, + "operationId": "LocalUsers_CreateOrUpdate", + "title": "CreateLocalUser" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUserCreateNFSv3Enabled.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUserCreateNFSv3Enabled.json index 127cf4f9ed2c..5e7693b2c1dc 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUserCreateNFSv3Enabled.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUserCreateNFSv3Enabled.json @@ -1,10 +1,8 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res6977", "accountName": "sto2527", - "username": "user1", "api-version": "2025-06-01", + "monitor": "true", "properties": { "properties": { "extendedGroups": [ @@ -15,46 +13,50 @@ "isNFSv3Enabled": true } }, - "monitor": "true" + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "username": "user1" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", "name": "user1", "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", "properties": { + "allowAclAuthorization": true, + "extendedGroups": [ + 1001, + 1005, + 2005 + ], + "groupId": 2000, + "homeDirectory": "homedirectory", + "isNFSv3Enabled": true, "permissionScopes": [ { "permissions": "rwd", - "service": "file", - "resourceName": "share1" + "resourceName": "share1", + "service": "file" }, { "permissions": "rw", - "service": "file", - "resourceName": "share2" + "resourceName": "share2", + "service": "file" } ], - "homeDirectory": "homedirectory", + "sid": "S-1-2-0-125132-153423-36235-1000", "sshAuthorizedKeys": [ { "description": "key name", "key": "ssh-rsa keykeykeykeykey=" } ], - "sid": "S-1-2-0-125132-153423-36235-1000", - "userId": 1000, - "groupId": 2000, - "allowAclAuthorization": true, - "extendedGroups": [ - 1001, - 1005, - 2005 - ], - "isNFSv3Enabled": true + "userId": 1000 } } } - } + }, + "operationId": "LocalUsers_CreateOrUpdate", + "title": "CreateNFSv3EnabledLocalUser" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUserDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUserDelete.json index b3ff41c29b3d..b88fdafdfae9 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUserDelete.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUserDelete.json @@ -1,14 +1,16 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res6977", "accountName": "sto2527", - "username": "user1", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "username": "user1" }, "responses": { "200": {}, "204": {} - } + }, + "operationId": "LocalUsers_Delete", + "title": "DeleteLocalUser" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUserGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUserGet.json index beadf4760c47..5208482cfddf 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUserGet.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUserGet.json @@ -1,47 +1,49 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res6977", "accountName": "sto2527", - "username": "user1", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "username": "user1" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", "name": "user1", "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", "properties": { + "allowAclAuthorization": true, + "extendedGroups": [ + 1001, + 1005, + 2005 + ], + "groupId": 2000, + "hasSharedKey": true, + "hasSshKey": true, + "hasSshPassword": true, + "homeDirectory": "homedirectory", + "isNFSv3Enabled": true, "permissionScopes": [ { "permissions": "rwd", - "service": "file", - "resourceName": "share1" + "resourceName": "share1", + "service": "file" }, { "permissions": "rw", - "service": "file", - "resourceName": "share2" + "resourceName": "share2", + "service": "file" } ], - "homeDirectory": "homedirectory", "sid": "S-1-2-0-125132-153423-36235-1000", - "hasSharedKey": true, - "hasSshKey": true, - "hasSshPassword": true, - "userId": 1000, - "groupId": 2000, - "allowAclAuthorization": true, - "extendedGroups": [ - 1001, - 1005, - 2005 - ], - "isNFSv3Enabled": true + "userId": 1000 } } } - } + }, + "operationId": "LocalUsers_Get", + "title": "GetLocalUser" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUserListKeys.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUserListKeys.json index efe6558c35aa..d7faacd1ff54 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUserListKeys.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUserListKeys.json @@ -1,23 +1,25 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res6977", "accountName": "sto2527", - "username": "user1", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "username": "user1" }, "responses": { "200": { "body": { + "sharedKey": "", "sshAuthorizedKeys": [ { "description": "key name", "key": "ssh-rsa keykeykeykeykew=" } - ], - "sharedKey": "" + ] } } - } + }, + "operationId": "LocalUsers_ListKeys", + "title": "ListLocalUserKeys" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUserRegeneratePassword.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUserRegeneratePassword.json index 845d2d213f4f..82df789df29f 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUserRegeneratePassword.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUserRegeneratePassword.json @@ -1,11 +1,11 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res6977", "accountName": "sto2527", - "username": "user1", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "username": "user1" }, "responses": { "200": { @@ -13,5 +13,7 @@ "sshPassword": "" } } - } + }, + "operationId": "LocalUsers_RegeneratePassword", + "title": "RegenerateLocalUserPassword" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUserUpdate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUserUpdate.json index 06dc77916239..937436bcf040 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUserUpdate.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUserUpdate.json @@ -1,51 +1,53 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res6977", "accountName": "sto2527", - "username": "user1", "api-version": "2025-06-01", + "monitor": "true", "properties": { "properties": { - "homeDirectory": "homedirectory2", - "hasSharedKey": false, - "hasSshPassword": false, - "hasSshKey": false, - "groupId": 3000, "allowAclAuthorization": false, "extendedGroups": [ 1001, 1005, 2005 ], + "groupId": 3000, + "hasSharedKey": false, + "hasSshKey": false, + "hasSshPassword": false, + "homeDirectory": "homedirectory2", "isNFSv3Enabled": true } }, - "monitor": "true" + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "username": "user1" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", "name": "user1", "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", "properties": { - "homeDirectory": "homedirectory2", - "sid": "S-1-2-0-3528686663-1788730862-2791910117-1000", - "hasSharedKey": false, - "hasSshPassword": false, - "hasSshKey": false, - "userId": 1000, - "groupId": 3000, "allowAclAuthorization": false, "extendedGroups": [ 1001, 1005, 2005 ], - "isNFSv3Enabled": true + "groupId": 3000, + "hasSharedKey": false, + "hasSshKey": false, + "hasSshPassword": false, + "homeDirectory": "homedirectory2", + "isNFSv3Enabled": true, + "sid": "S-1-2-0-3528686663-1788730862-2791910117-1000", + "userId": 1000 } } } - } + }, + "operationId": "LocalUsers_CreateOrUpdate", + "title": "UpdateLocalUser" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUsersList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUsersList.json index 1d4fe4809132..cc754ec9e14b 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUsersList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUsersList.json @@ -1,66 +1,68 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res6977", "accountName": "sto2527", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "nextLink": null, "value": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", "name": "user1", "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", "properties": { + "allowAclAuthorization": true, + "groupId": 2000, + "hasSharedKey": true, + "hasSshKey": true, + "hasSshPassword": true, + "homeDirectory": "homedirectory", "permissionScopes": [ { "permissions": "rwd", - "service": "file", - "resourceName": "share1" + "resourceName": "share1", + "service": "file" }, { "permissions": "rw", - "service": "file", - "resourceName": "share2" + "resourceName": "share2", + "service": "file" } ], - "homeDirectory": "homedirectory", "sid": "S-1-2-0-125132-153423-36235-1000", - "hasSharedKey": true, - "hasSshKey": true, - "hasSshPassword": true, - "userId": 1000, - "groupId": 2000, - "allowAclAuthorization": true + "userId": 1000 } }, { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/loalUsers/user2", "name": "user2", "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/loalUsers/user2", "properties": { + "allowAclAuthorization": true, + "groupId": 2000, + "hasSharedKey": true, + "hasSshKey": false, + "hasSshPassword": true, "permissionScopes": [ { "permissions": "rw", - "service": "blob", - "resourceName": "resourcename" + "resourceName": "resourcename", + "service": "blob" } ], "sid": "S-1-2-0-533672-235636-66334-1001", - "hasSharedKey": true, - "hasSshKey": false, - "hasSshPassword": true, - "userId": 1001, - "groupId": 2000, - "allowAclAuthorization": true + "userId": 1001 } } - ], - "nextLink": null + ] } } - } + }, + "operationId": "LocalUsers_List", + "title": "ListLocalUsers" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUsersListNFSv3Enabled.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUsersListNFSv3Enabled.json index e353b9ba44fe..5a1056dc40bd 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUsersListNFSv3Enabled.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/LocalUsersListNFSv3Enabled.json @@ -1,78 +1,80 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res6977", + "$include": "nfsv3", "accountName": "sto2527", "api-version": "2025-06-01", - "$include": "nfsv3", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", "name": "user1", "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/loalUsers/user1", "properties": { + "allowAclAuthorization": true, + "extendedGroups": [ + 1001, + 1005, + 2005 + ], + "groupId": 2000, + "hasSharedKey": true, + "hasSshKey": true, + "hasSshPassword": true, + "homeDirectory": "homedirectory", + "isNFSv3Enabled": true, "permissionScopes": [ { "permissions": "rwd", - "service": "file", - "resourceName": "share1" + "resourceName": "share1", + "service": "file" }, { "permissions": "rw", - "service": "file", - "resourceName": "share2" + "resourceName": "share2", + "service": "file" } ], - "homeDirectory": "homedirectory", "sid": "S-1-2-0-125132-153423-36235-1000", - "hasSharedKey": true, - "hasSshKey": true, - "hasSshPassword": true, - "userId": 1000, - "groupId": 2000, - "allowAclAuthorization": true, - "extendedGroups": [ - 1001, - 1005, - 2005 - ], - "isNFSv3Enabled": true + "userId": 1000 } }, { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/loalUsers/user2", "name": "user2", "type": "Microsoft.Storage/storageAccounts/localUsers", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/loalUsers/user2", "properties": { - "permissionScopes": [ - { - "permissions": "rw", - "service": "blob", - "resourceName": "resourcename" - } - ], - "sid": "S-1-2-0-533672-235636-66334-1001", - "hasSharedKey": true, - "hasSshKey": false, - "hasSshPassword": true, - "userId": 1001, - "groupId": 2000, "allowAclAuthorization": true, "extendedGroups": [ 1001, 1005, 2005 ], - "isNFSv3Enabled": true + "groupId": 2000, + "hasSharedKey": true, + "hasSshKey": false, + "hasSshPassword": true, + "isNFSv3Enabled": true, + "permissionScopes": [ + { + "permissions": "rw", + "resourceName": "resourcename", + "service": "blob" + } + ], + "sid": "S-1-2-0-533672-235636-66334-1001", + "userId": 1001 } } ] } } - } + }, + "operationId": "LocalUsers_List", + "title": "ListNFSv3EnabledLocalUsers" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/NetworkSecurityPerimeterConfigurationGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/NetworkSecurityPerimeterConfigurationGet.json index 4127422da457..f7a02db7d990 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/NetworkSecurityPerimeterConfigurationGet.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/NetworkSecurityPerimeterConfigurationGet.json @@ -1,41 +1,25 @@ { "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "res4410", "accountName": "sto8607", + "api-version": "2025-06-01", "networkSecurityPerimeterConfigurationName": "dbedb4e0-40e6-4145-81f3-f1314c150774.resourceAssociation1", - "api-version": "2025-06-01" + "resourceGroupName": "res4410", + "subscriptionId": "00000000-1111-2222-3333-444444444444" }, "responses": { "200": { "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/networkSecurityPerimeterConfigurations/dbedb4e0-40e6-4145-81f3-f1314c150774.resourceAssociation1", "name": "dbedb4e0-40e6-4145-81f3-f1314c150774.resourceAssociation1", "type": "Microsoft.Storage/storageAccounts/networkSecurityPerimeterConfigurations", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/networkSecurityPerimeterConfigurations/dbedb4e0-40e6-4145-81f3-f1314c150774.resourceAssociation1", "properties": { - "provisioningState": "Succeeded", - "provisioningIssues": [ - { - "name": "ConfigurationPropagationFailure", - "properties": { - "issueType": "ConfigurationPropagationFailure", - "severity": "Error", - "description": "Failed to update Network Security Perimeter association." - } - } - ], "networkSecurityPerimeter": { "id": "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774/resourceGroups/res4794/providers/Microsoft.Network/networkSecurityPerimeters/nsp1", - "perimeterGuid": "ce2d5953-5c15-40ca-9d51-cc3f4a63b0f5", - "location": "East US" - }, - "resourceAssociation": { - "name": "resourceAssociation1", - "accessMode": "Enforced" + "location": "East US", + "perimeterGuid": "ce2d5953-5c15-40ca-9d51-cc3f4a63b0f5" }, "profile": { "name": "profile1", - "accessRulesVersion": 10, "accessRules": [ { "name": "allowedSubscriptions", @@ -49,14 +33,32 @@ } } ], + "accessRulesVersion": 10, "diagnosticSettingsVersion": 5, "enabledLogCategories": [ "NspPublicInboundPerimeterRulesAllowed", "NspPublicInboundPerimeterRulesDenied" ] + }, + "provisioningIssues": [ + { + "name": "ConfigurationPropagationFailure", + "properties": { + "description": "Failed to update Network Security Perimeter association.", + "issueType": "ConfigurationPropagationFailure", + "severity": "Error" + } + } + ], + "provisioningState": "Succeeded", + "resourceAssociation": { + "name": "resourceAssociation1", + "accessMode": "Enforced" } } } } - } + }, + "operationId": "NetworkSecurityPerimeterConfigurations_Get", + "title": "NetworkSecurityPerimeterConfigurationGet" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/NetworkSecurityPerimeterConfigurationList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/NetworkSecurityPerimeterConfigurationList.json index 152ae8cae456..ac4d4ff494e7 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/NetworkSecurityPerimeterConfigurationList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/NetworkSecurityPerimeterConfigurationList.json @@ -1,54 +1,56 @@ { "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "res4410", "accountName": "sto8607", - "api-version": "2025-06-01" + "api-version": "2025-06-01", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-1111-2222-3333-444444444444" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/networkSecurityPerimeterConfigurations/dbedb4e0-40e6-4145-81f3-f1314c150774.resourceAssociation1", "name": "dbedb4e0-40e6-4145-81f3-f1314c150774.resourceAssociation1", "type": "Microsoft.Storage/storageAccounts/networkSecurityPerimeterConfigurations", + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/networkSecurityPerimeterConfigurations/dbedb4e0-40e6-4145-81f3-f1314c150774.resourceAssociation1", "properties": { - "provisioningState": "Succeeded", "networkSecurityPerimeter": { "id": "/subscriptions/dbedb4e0-40e6-4145-81f3-f1314c150774/resourceGroups/res4794/providers/Microsoft.Network/networkSecurityPerimeters/nsp1", - "perimeterGuid": "ce2d5953-5c15-40ca-9d51-cc3f4a63b0f5", - "location": "East US" - }, - "resourceAssociation": { - "name": "association1", - "accessMode": "Enforced" + "location": "East US", + "perimeterGuid": "ce2d5953-5c15-40ca-9d51-cc3f4a63b0f5" }, "profile": { "name": "profile1", - "accessRulesVersion": 10, "accessRules": [ { "name": "inVpnRule", "properties": { - "direction": "Inbound", "addressPrefixes": [ "148.0.0.0/8", "152.4.6.0/24" - ] + ], + "direction": "Inbound" } } ], + "accessRulesVersion": 10, "diagnosticSettingsVersion": 5, "enabledLogCategories": [ "NspPublicInboundPerimeterRulesAllowed", "NspPublicInboundPerimeterRulesDenied" ] + }, + "provisioningState": "Succeeded", + "resourceAssociation": { + "name": "association1", + "accessMode": "Enforced" } } } ] } } - } + }, + "operationId": "NetworkSecurityPerimeterConfigurations_List", + "title": "NetworkSecurityPerimeterConfigurationList" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/NetworkSecurityPerimeterConfigurationReconcile.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/NetworkSecurityPerimeterConfigurationReconcile.json index 1b81b03664a9..69de089deb3f 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/NetworkSecurityPerimeterConfigurationReconcile.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/NetworkSecurityPerimeterConfigurationReconcile.json @@ -1,10 +1,10 @@ { "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "res4410", "accountName": "sto8607", + "api-version": "2025-06-01", "networkSecurityPerimeterConfigurationName": "dbedb4e0-40e6-4145-81f3-f1314c150774.resourceAssociation1", - "api-version": "2025-06-01" + "resourceGroupName": "res4410", + "subscriptionId": "00000000-1111-2222-3333-444444444444" }, "responses": { "202": { @@ -12,5 +12,7 @@ "Location": "https://endpoint:port/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Storage/locations/{location}/asyncoperations/{operationid}?monitor=true&api-version=2022-09-01" } } - } + }, + "operationId": "NetworkSecurityPerimeterConfigurations_Reconcile", + "title": "NetworkSecurityPerimeterConfigurationReconcile" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/NfsV3AccountCreate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/NfsV3AccountCreate.json index 3cf5ebe1a0d4..4038967a5cbd 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/NfsV3AccountCreate.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/NfsV3AccountCreate.json @@ -1,20 +1,14 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9101", "accountName": "sto4445", "api-version": "2025-06-01", "parameters": { - "sku": { - "name": "Premium_LRS" - }, "kind": "BlockBlobStorage", "location": "eastus", "properties": { + "enableExtendedGroups": true, "isHnsEnabled": true, "isNfsV3Enabled": true, - "enableExtendedGroups": true, - "supportsHttpsTrafficOnly": false, "networkAcls": { "bypass": "AzureServices", "defaultAction": "Allow", @@ -24,22 +18,28 @@ "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Network/virtualNetworks/net123/subnets/subnet12" } ] - } + }, + "supportsHttpsTrafficOnly": false + }, + "sku": { + "name": "Premium_LRS" } - } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", "kind": "BlockBlobStorage", "location": "eastus", - "name": "sto4445", "properties": { + "enableExtendedGroups": true, "isHnsEnabled": true, "isNfsV3Enabled": true, - "enableExtendedGroups": true, - "supportsHttpsTrafficOnly": false, "networkAcls": { "bypass": "AzureServices", "defaultAction": "Allow", @@ -49,15 +49,17 @@ "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Network/virtualNetworks/net123/subnets/subnet12" } ] - } + }, + "supportsHttpsTrafficOnly": false }, "sku": { "name": "Premium_LRS", "tier": "Premium" - }, - "type": "Microsoft.Storage/storageAccounts" + } } }, "202": {} - } + }, + "operationId": "StorageAccounts_Create", + "title": "NfsV3AccountCreate" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/ObjectLevelWormContainerMigration.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/ObjectLevelWormContainerMigration.json index 9ffc530c18a8..dd2b78543220 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/ObjectLevelWormContainerMigration.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/ObjectLevelWormContainerMigration.json @@ -1,12 +1,12 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res1782", "accountName": "sto7069", + "api-version": "2025-06-01", "containerName": "container6397", "immutabilityPolicyName": "default", - "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res1782", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, @@ -15,5 +15,7 @@ "Location": "https://endpoint:port/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/{location}/asyncoperations/{operationid}?monitor=true&api-version=2022-09-01" } } - } + }, + "operationId": "BlobContainers_ObjectLevelWorm", + "title": "VersionLevelWormContainerMigration" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/OperationsList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/OperationsList.json index 4c2853ae4545..710825d16c7e 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/OperationsList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/OperationsList.json @@ -9,136 +9,136 @@ { "name": "Microsoft.Storage/storageAccounts/write", "display": { - "provider": "Microsoft Storage", - "resource": "Storage Accounts", + "description": "Creates a storage account with the specified parameters or update the properties or tags or adds custom domain for the specified storage account.", "operation": "Create/Update Storage Account", - "description": "Creates a storage account with the specified parameters or update the properties or tags or adds custom domain for the specified storage account." + "provider": "Microsoft Storage", + "resource": "Storage Accounts" } }, { "name": "Microsoft.Storage/storageAccounts/delete", "display": { - "provider": "Microsoft Storage", - "resource": "Storage Accounts", + "description": "Deletes an existing storage account.", "operation": "Delete Storage Account", - "description": "Deletes an existing storage account." + "provider": "Microsoft Storage", + "resource": "Storage Accounts" } }, { "name": "Microsoft.Storage/storageAccounts/listkeys/action", "display": { - "provider": "Microsoft Storage", - "resource": "Storage Accounts", + "description": "Returns the access keys for the specified storage account.", "operation": "List Storage Account Keys", - "description": "Returns the access keys for the specified storage account." + "provider": "Microsoft Storage", + "resource": "Storage Accounts" } }, { "name": "Microsoft.Storage/storageAccounts/regeneratekey/action", "display": { - "provider": "Microsoft Storage", - "resource": "Storage Accounts", + "description": "Regenerates the access keys for the specified storage account.", "operation": "Regenerate Storage Account Keys", - "description": "Regenerates the access keys for the specified storage account." + "provider": "Microsoft Storage", + "resource": "Storage Accounts" } }, { "name": "Microsoft.Storage/checknameavailability/read", "display": { - "provider": "Microsoft Storage", - "resource": "Name Availability", + "description": "Checks that account name is valid and is not in use.", "operation": "Check Name Availability", - "description": "Checks that account name is valid and is not in use." + "provider": "Microsoft Storage", + "resource": "Name Availability" } }, { "name": "Microsoft.Storage/storageAccounts/read", "display": { - "provider": "Microsoft Storage", - "resource": "Storage Accounts", + "description": "Returns the list of storage accounts or gets the properties for the specified storage account.", "operation": "List/Get Storage Account(s)", - "description": "Returns the list of storage accounts or gets the properties for the specified storage account." + "provider": "Microsoft Storage", + "resource": "Storage Accounts" } }, { "name": "Microsoft.Storage/usages/read", "display": { - "provider": "Microsoft Storage", - "resource": "Usage Metrics", + "description": "Returns the limit and the current usage count for resources in the specified subscription", "operation": "Get Subscription Usages", - "description": "Returns the limit and the current usage count for resources in the specified subscription" + "provider": "Microsoft Storage", + "resource": "Usage Metrics" } }, { "name": "Microsoft.Storage/storageAccounts/listAccountSas/action", "display": { - "provider": "Microsoft Storage", - "resource": "Storage Account SAS Token", + "description": "Returns the Account SAS token for the specified storage account.", "operation": "Returns Storage Account SAS Token", - "description": "Returns the Account SAS token for the specified storage account." + "provider": "Microsoft Storage", + "resource": "Storage Account SAS Token" } }, { "name": "Microsoft.Storage/storageAccounts/listServiceSas/action", "display": { - "provider": "Microsoft Storage", - "resource": "Returns the Service SAS token for the specified storage account.", + "description": "Storage Service SAS Token", "operation": "Returns Storage Service SAS Token", - "description": "Storage Service SAS Token" + "provider": "Microsoft Storage", + "resource": "Returns the Service SAS token for the specified storage account." } }, { "name": "Microsoft.Storage/locations/deleteVirtualNetworkOrSubnets/action", "display": { - "provider": "Microsoft Storage", - "resource": "Location", + "description": "Notifies Microsoft.Storage that virtual network or subnet is being deleted", "operation": "Delete virtual network or subnets notifications", - "description": "Notifies Microsoft.Storage that virtual network or subnet is being deleted" + "provider": "Microsoft Storage", + "resource": "Location" } }, { "name": "Microsoft.Storage/operations/read", "display": { - "provider": "Microsoft Storage", - "resource": "Operations", + "description": "Polls the status of an asynchronous operation.", "operation": "Poll Asynchronous Operation", - "description": "Polls the status of an asynchronous operation." + "provider": "Microsoft Storage", + "resource": "Operations" } }, { "name": "Microsoft.Storage/register/action", "display": { - "provider": "Microsoft Storage", - "resource": "Storage Resource Provider", + "description": "Registers the subscription for the storage resource provider and enables the creation of storage accounts.", "operation": "Registers the Storage Resource Provider", - "description": "Registers the subscription for the storage resource provider and enables the creation of storage accounts." + "provider": "Microsoft Storage", + "resource": "Storage Resource Provider" } }, { "name": "Microsoft.Storage/skus/read", "display": { - "provider": "Microsoft Storage", - "resource": "Skus", + "description": "Lists the Skus supported by Microsoft.Storage.", "operation": "List Skus", - "description": "Lists the Skus supported by Microsoft.Storage." + "provider": "Microsoft Storage", + "resource": "Skus" } }, { "name": "Microsoft.Storage/storageAccounts/services/diagnosticSettings/write", "display": { - "provider": "Microsoft Storage", - "resource": "Storage Accounts", + "description": "Create/Update storage account diagnostic settings.", "operation": "Create/Update Diagnostic Settings", - "description": "Create/Update storage account diagnostic settings." + "provider": "Microsoft Storage", + "resource": "Storage Accounts" } }, { "name": "Microsoft.Storage/storageAccounts/providers/Microsoft.Insights/metricDefinitions/read", "display": { - "provider": "Microsoft Storage", - "resource": "Storage Accounts", + "description": "Get list of Microsoft Storage Metrics definitions.", "operation": "Get list of Microsoft Storage Metrics definitions", - "description": "Get list of Microsoft Storage Metrics definitions." + "provider": "Microsoft Storage", + "resource": "Storage Accounts" }, "origin": "system", "properties": { @@ -146,13 +146,13 @@ "metricSpecifications": [ { "name": "UsedCapacity", - "displayName": "Used capacity", - "displayDescription": "Account used capacity", - "unit": "Bytes", "aggregationType": "Average", - "fillGapWithZero": false, "category": "Capacity", - "resourceIdDimensionNameOverride": "AccountResourceId" + "displayDescription": "Account used capacity", + "displayName": "Used capacity", + "fillGapWithZero": false, + "resourceIdDimensionNameOverride": "AccountResourceId", + "unit": "Bytes" } ] } @@ -161,30 +161,30 @@ { "name": "Microsoft.Storage/storageAccounts/providers/Microsoft.Insights/diagnosticSettings/read", "display": { - "provider": "Microsoft Storage", - "resource": "Storage Accounts", + "description": "Gets the diagnostic setting for the resource.", "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource." + "provider": "Microsoft Storage", + "resource": "Storage Accounts" }, "origin": "system" }, { "name": "Microsoft.Storage/storageAccounts/providers/Microsoft.Insights/diagnosticSettings/write", "display": { - "provider": "Microsoft Storage", - "resource": "Storage Accounts", + "description": "Creates or updates the diagnostic setting for the resource.", "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource." + "provider": "Microsoft Storage", + "resource": "Storage Accounts" }, "origin": "system" }, { "name": "Microsoft.Storage/storageAccounts/blobServices/providers/Microsoft.Insights/metricDefinitions/read", "display": { - "provider": "Microsoft Storage", - "resource": "Blob service", + "description": "Get list of Microsoft Storage Metrics definitions.", "operation": "Get list of Microsoft Storage Metrics definitions", - "description": "Get list of Microsoft Storage Metrics definitions." + "provider": "Microsoft Storage", + "resource": "Blob service" }, "origin": "system", "properties": { @@ -192,57 +192,57 @@ "metricSpecifications": [ { "name": "BlobCapacity", - "displayName": "Blob Capacity", - "displayDescription": "The amount of storage used by the storage account’s Blob service in bytes.", - "unit": "Bytes", "aggregationType": "Average", + "category": "Capacity", "dimensions": [ { "name": "BlobType", "displayName": "Blob type" } ], + "displayDescription": "The amount of storage used by the storage account’s Blob service in bytes.", + "displayName": "Blob Capacity", "fillGapWithZero": false, - "category": "Capacity" + "unit": "Bytes" }, { "name": "BlobCount", - "displayName": "Blob Count", - "displayDescription": "The number of Blob in the storage account’s Blob service.", - "unit": "Count", "aggregationType": "Average", + "category": "Capacity", "dimensions": [ { "name": "BlobType", "displayName": "Blob type" } ], + "displayDescription": "The number of Blob in the storage account’s Blob service.", + "displayName": "Blob Count", "fillGapWithZero": false, - "category": "Capacity" + "unit": "Count" }, { "name": "ContainerCount", - "displayName": "Blob Container Count", - "displayDescription": "The number of containers in the storage account’s Blob service.", - "unit": "Count", "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The number of containers in the storage account’s Blob service.", + "displayName": "Blob Container Count", "fillGapWithZero": false, - "category": "Capacity" + "unit": "Count" }, { "name": "BlobProvisionedSize", - "displayName": "Blob Provisioned Size", - "displayDescription": "The amount of storage provisioned in the storage account’s Blob service in bytes.", - "unit": "Bytes", "aggregationType": "Average", + "category": "Capacity", "dimensions": [ { "name": "BlobType", "displayName": "Blob type" } ], + "displayDescription": "The amount of storage provisioned in the storage account’s Blob service in bytes.", + "displayName": "Blob Provisioned Size", "fillGapWithZero": false, - "category": "Capacity" + "unit": "Bytes" } ] } @@ -251,30 +251,30 @@ { "name": "Microsoft.Storage/storageAccounts/blobServices/providers/Microsoft.Insights/diagnosticSettings/read", "display": { - "provider": "Microsoft Storage", - "resource": "Blob service", + "description": "Gets the diagnostic setting for the resource.", "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource." + "provider": "Microsoft Storage", + "resource": "Blob service" }, "origin": "system" }, { "name": "Microsoft.Storage/storageAccounts/blobServices/providers/Microsoft.Insights/diagnosticSettings/write", "display": { - "provider": "Microsoft Storage", - "resource": "Blob service", + "description": "Creates or updates the diagnostic setting for the resource.", "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource." + "provider": "Microsoft Storage", + "resource": "Blob service" }, "origin": "system" }, { "name": "Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/metricDefinitions/read", "display": { - "provider": "Microsoft Storage", - "resource": "Table service", + "description": "Get list of Microsoft Storage Metrics definitions.", "operation": "Get list of Microsoft Storage Metrics definitions", - "description": "Get list of Microsoft Storage Metrics definitions." + "provider": "Microsoft Storage", + "resource": "Table service" }, "origin": "system", "properties": { @@ -282,30 +282,30 @@ "metricSpecifications": [ { "name": "TableCapacity", - "displayName": "Table Capacity", - "displayDescription": "The amount of storage used by the storage account’s Table service in bytes.", - "unit": "Bytes", "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The amount of storage used by the storage account’s Table service in bytes.", + "displayName": "Table Capacity", "fillGapWithZero": false, - "category": "Capacity" + "unit": "Bytes" }, { "name": "TableCount", - "displayName": "Table Count", - "displayDescription": "The number of table in the storage account’s Table service.", - "unit": "Count", "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The number of table in the storage account’s Table service.", + "displayName": "Table Count", "fillGapWithZero": false, - "category": "Capacity" + "unit": "Count" }, { "name": "TableEntityCount", - "displayName": "Table Entity Count", - "displayDescription": "The number of table entities in the storage account’s Table service.", - "unit": "Count", "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The number of table entities in the storage account’s Table service.", + "displayName": "Table Entity Count", "fillGapWithZero": false, - "category": "Capacity" + "unit": "Count" } ] } @@ -314,30 +314,30 @@ { "name": "Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/diagnosticSettings/read", "display": { - "provider": "Microsoft Storage", - "resource": "Table service", + "description": "Gets the diagnostic setting for the resource.", "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource." + "provider": "Microsoft Storage", + "resource": "Table service" }, "origin": "system" }, { "name": "Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/diagnosticSettings/write", "display": { - "provider": "Microsoft Storage", - "resource": "Table service", + "description": "Creates or updates the diagnostic setting for the resource.", "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource." + "provider": "Microsoft Storage", + "resource": "Table service" }, "origin": "system" }, { "name": "Microsoft.Storage/storageAccounts/queueServices/providers/Microsoft.Insights/metricDefinitions/read", "display": { - "provider": "Microsoft Storage", - "resource": "Queue service", + "description": "Get list of Microsoft Storage Metrics definitions.", "operation": "Get list of Microsoft Storage Metrics definitions", - "description": "Get list of Microsoft Storage Metrics definitions." + "provider": "Microsoft Storage", + "resource": "Queue service" }, "origin": "system", "properties": { @@ -345,30 +345,30 @@ "metricSpecifications": [ { "name": "QueueCapacity", - "displayName": "Queue Capacity", - "displayDescription": "The amount of storage used by the storage account’s Queue service in bytes.", - "unit": "Bytes", "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The amount of storage used by the storage account’s Queue service in bytes.", + "displayName": "Queue Capacity", "fillGapWithZero": false, - "category": "Capacity" + "unit": "Bytes" }, { "name": "QueueCount", - "displayName": "Queue Count", - "displayDescription": "The number of queue in the storage account’s Queue service.", - "unit": "Count", "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The number of queue in the storage account’s Queue service.", + "displayName": "Queue Count", "fillGapWithZero": false, - "category": "Capacity" + "unit": "Count" }, { "name": "QueueMessageCount", - "displayName": "Queue Message Count", - "displayDescription": "The approximate number of queue messages in the storage account’s Queue service.", - "unit": "Count", "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The approximate number of queue messages in the storage account’s Queue service.", + "displayName": "Queue Message Count", "fillGapWithZero": false, - "category": "Capacity" + "unit": "Count" } ] } @@ -377,30 +377,30 @@ { "name": "Microsoft.Storage/storageAccounts/queueServices/providers/Microsoft.Insights/diagnosticSettings/read", "display": { - "provider": "Microsoft Storage", - "resource": "Queue service", + "description": "Gets the diagnostic setting for the resource.", "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource." + "provider": "Microsoft Storage", + "resource": "Queue service" }, "origin": "system" }, { "name": "Microsoft.Storage/storageAccounts/queueServices/providers/Microsoft.Insights/diagnosticSettings/write", "display": { - "provider": "Microsoft Storage", - "resource": "Queue service", + "description": "Creates or updates the diagnostic setting for the resource.", "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource." + "provider": "Microsoft Storage", + "resource": "Queue service" }, "origin": "system" }, { "name": "Microsoft.Storage/storageAccounts/fileServices/providers/Microsoft.Insights/metricDefinitions/read", "display": { - "provider": "Microsoft Storage", - "resource": "File service", + "description": "Get list of Microsoft Storage Metrics definitions.", "operation": "Get list of Microsoft Storage Metrics definitions", - "description": "Get list of Microsoft Storage Metrics definitions." + "provider": "Microsoft Storage", + "resource": "File service" }, "origin": "system", "properties": { @@ -408,39 +408,39 @@ "metricSpecifications": [ { "name": "FileCapacity", - "displayName": "File Capacity", - "displayDescription": "The amount of storage used by the storage account’s File service in bytes.", - "unit": "Bytes", "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The amount of storage used by the storage account’s File service in bytes.", + "displayName": "File Capacity", "fillGapWithZero": false, - "category": "Capacity" + "unit": "Bytes" }, { "name": "FileProvisionedSize", - "displayName": "File Provisioned Size", - "displayDescription": "The amount of storage provisioned in the storage account’s File service in bytes.", - "unit": "Bytes", "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The amount of storage provisioned in the storage account’s File service in bytes.", + "displayName": "File Provisioned Size", "fillGapWithZero": false, - "category": "Capacity" + "unit": "Bytes" }, { "name": "FileCount", - "displayName": "File Count", - "displayDescription": "The number of file in the storage account’s File service.", - "unit": "Count", "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The number of file in the storage account’s File service.", + "displayName": "File Count", "fillGapWithZero": false, - "category": "Capacity" + "unit": "Count" }, { "name": "FileShareCount", - "displayName": "File Share Count", - "displayDescription": "The number of file shares in the storage account’s File service.", - "unit": "Count", "aggregationType": "Average", + "category": "Capacity", + "displayDescription": "The number of file shares in the storage account’s File service.", + "displayName": "File Share Count", "fillGapWithZero": false, - "category": "Capacity" + "unit": "Count" } ] } @@ -449,25 +449,27 @@ { "name": "Microsoft.Storage/storageAccounts/fileServices/providers/Microsoft.Insights/diagnosticSettings/read", "display": { - "provider": "Microsoft Storage", - "resource": "File service", + "description": "Gets the diagnostic setting for the resource.", "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource." + "provider": "Microsoft Storage", + "resource": "File service" }, "origin": "system" }, { "name": "Microsoft.Storage/storageAccounts/fileServices/providers/Microsoft.Insights/diagnosticSettings/write", "display": { - "provider": "Microsoft Storage", - "resource": "File service", + "description": "Creates or updates the diagnostic setting for the resource.", "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource." + "provider": "Microsoft Storage", + "resource": "File service" }, "origin": "system" } ] } } - } + }, + "operationId": "Operations_List", + "title": "OperationsList" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueOperationDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueOperationDelete.json index 90a46481f9ee..ca59dcab1e8d 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueOperationDelete.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueOperationDelete.json @@ -1,13 +1,15 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res3376", "accountName": "sto328", - "queueName": "queue6185", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "queueName": "queue6185", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "204": {} - } + }, + "operationId": "Queue_Delete", + "title": "QueueOperationDelete" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueOperationGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueOperationGet.json index 0f3f26d80e73..015deeaf3fef 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueOperationGet.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueOperationGet.json @@ -1,18 +1,18 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res3376", "accountName": "sto328", - "queueName": "queue6185", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "queueName": "queue6185", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6185", "name": "queue6185", "type": "Microsoft.Storage/storageAccounts/queueServices/queues", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6185", "properties": { "metadata": { "sample1": "meta1", @@ -21,5 +21,7 @@ } } } - } + }, + "operationId": "Queue_Get", + "title": "QueueOperationGet" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueOperationList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueOperationList.json index f3cd874d85d0..71c65fd67983 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueOperationList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueOperationList.json @@ -1,19 +1,20 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9290", "accountName": "sto328", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "nextLink": "https://sto1590endpoint/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues?api-version=2022-09-01&$maxpagesize=2&$skipToken=/sto328/queue6187", "value": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6185", "name": "queue6185", "type": "Microsoft.Storage/storageAccounts/queueServices/queues", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6185", "properties": { "metadata": { "sample1": "meta1", @@ -22,9 +23,9 @@ } }, { - "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6186", "name": "queue6186", "type": "Microsoft.Storage/storageAccounts/queueServices/queues", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6186", "properties": { "metadata": { "sample1": "meta1", @@ -32,9 +33,10 @@ } } } - ], - "nextLink": "https://sto1590endpoint/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues?api-version=2022-09-01&$maxpagesize=2&$skipToken=/sto328/queue6187" + ] } } - } + }, + "operationId": "Queue_List", + "title": "QueueOperationList" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueOperationPatch.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueOperationPatch.json index 6a6c0a48e4e3..5a425c699c25 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueOperationPatch.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueOperationPatch.json @@ -1,20 +1,22 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res3376", "accountName": "sto328", - "queueName": "queue6185", "api-version": "2025-06-01", "monitor": "true", - "queue": {} + "queue": {}, + "queueName": "queue6185", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6185", "name": "queue6185", - "type": "Microsoft.Storage/storageAccounts/queueServices/queues" + "type": "Microsoft.Storage/storageAccounts/queueServices/queues", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6185" } } - } + }, + "operationId": "Queue_Update", + "title": "QueueOperationPatch" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueOperationPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueOperationPut.json index 6a6c0a48e4e3..9e7bfa1175d0 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueOperationPut.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueOperationPut.json @@ -1,20 +1,22 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res3376", "accountName": "sto328", - "queueName": "queue6185", "api-version": "2025-06-01", "monitor": "true", - "queue": {} + "queue": {}, + "queueName": "queue6185", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6185", "name": "queue6185", - "type": "Microsoft.Storage/storageAccounts/queueServices/queues" + "type": "Microsoft.Storage/storageAccounts/queueServices/queues", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6185" } } - } + }, + "operationId": "Queue_Create", + "title": "QueueOperationPut" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueOperationPutWithMetadata.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueOperationPutWithMetadata.json index 4bf4702220b9..727e87e5a7e1 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueOperationPutWithMetadata.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueOperationPutWithMetadata.json @@ -1,9 +1,6 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res3376", "accountName": "sto328", - "queueName": "queue6185", "api-version": "2025-06-01", "monitor": "true", "queue": { @@ -13,14 +10,17 @@ "sample2": "meta2" } } - } + }, + "queueName": "queue6185", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6185", "name": "queue6185", "type": "Microsoft.Storage/storageAccounts/queueServices/queues", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/queueServices/default/queues/queue6185", "properties": { "metadata": { "sample1": "meta1", @@ -29,5 +29,7 @@ } } } - } + }, + "operationId": "Queue_Create", + "title": "QueueOperationPutWithMetadata" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueServicesGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueServicesGet.json index 03f595d46081..cea446e1c490 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueServicesGet.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueServicesGet.json @@ -1,25 +1,26 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res4410", "accountName": "sto8607", - "queueServiceName": "default", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "queueServiceName": "default", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/queueServices/default", "name": "default", "type": "Microsoft.Storage/storageAccounts/queueServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/queueServices/default", "properties": { "cors": { "corsRules": [ { - "allowedOrigins": [ - "http://www.contoso.com", - "http://www.fabrikam.com" + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" ], "allowedMethods": [ "GET", @@ -29,54 +30,55 @@ "MERGE", "PUT" ], - "maxAgeInSeconds": 100, + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], "exposedHeaders": [ "x-ms-meta-*" ], - "allowedHeaders": [ - "x-ms-meta-abc", - "x-ms-meta-data*", - "x-ms-meta-target*" - ] + "maxAgeInSeconds": 100 }, { - "allowedOrigins": [ + "allowedHeaders": [ "*" ], "allowedMethods": [ "GET" ], - "maxAgeInSeconds": 2, - "exposedHeaders": [ + "allowedOrigins": [ "*" ], - "allowedHeaders": [ + "exposedHeaders": [ "*" - ] + ], + "maxAgeInSeconds": 2 }, { - "allowedOrigins": [ - "http://www.abc23.com", - "https://www.fabrikam.com/*" + "allowedHeaders": [ + "x-ms-meta-12345675754564*" ], "allowedMethods": [ "GET", "PUT" ], - "maxAgeInSeconds": 2000, + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], "exposedHeaders": [ "x-ms-meta-abc", "x-ms-meta-data*", "x-ms-meta-target*" ], - "allowedHeaders": [ - "x-ms-meta-12345675754564*" - ] + "maxAgeInSeconds": 2000 } ] } } } } - } + }, + "operationId": "QueueServices_GetServiceProperties", + "title": "QueueServicesGet" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueServicesList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueServicesList.json index 778d8bff3a1e..173a857d8949 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueServicesList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueServicesList.json @@ -1,26 +1,27 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9290", "accountName": "sto1590", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/queueServices/default", "name": "default", "type": "Microsoft.Storage/storageAccounts/queueServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/queueServices/default", "properties": { "cors": { "corsRules": [ { - "allowedOrigins": [ - "http://www.contoso.com", - "http://www.fabrikam.com" + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" ], "allowedMethods": [ "GET", @@ -30,49 +31,48 @@ "MERGE", "PUT" ], - "maxAgeInSeconds": 100, + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], "exposedHeaders": [ "x-ms-meta-*" ], - "allowedHeaders": [ - "x-ms-meta-abc", - "x-ms-meta-data*", - "x-ms-meta-target*" - ] + "maxAgeInSeconds": 100 }, { - "allowedOrigins": [ + "allowedHeaders": [ "*" ], "allowedMethods": [ "GET" ], - "maxAgeInSeconds": 2, - "exposedHeaders": [ + "allowedOrigins": [ "*" ], - "allowedHeaders": [ + "exposedHeaders": [ "*" - ] + ], + "maxAgeInSeconds": 2 }, { - "allowedOrigins": [ - "http://www.abc23.com", - "https://www.fabrikam.com/*" + "allowedHeaders": [ + "x-ms-meta-12345675754564*" ], "allowedMethods": [ "GET", "PUT" ], - "maxAgeInSeconds": 2000, + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], "exposedHeaders": [ "x-ms-meta-abc", "x-ms-meta-data*", "x-ms-meta-target*" ], - "allowedHeaders": [ - "x-ms-meta-12345675754564*" - ] + "maxAgeInSeconds": 2000 } ] } @@ -81,5 +81,7 @@ ] } } - } + }, + "operationId": "QueueServices_List", + "title": "QueueServicesList" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueServicesPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueServicesPut.json index 87bd6816a50f..d1110fec2e05 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueServicesPut.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/QueueServicesPut.json @@ -1,9 +1,6 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res4410", "accountName": "sto8607", - "queueServiceName": "default", "api-version": "2025-06-01", "monitor": "true", "parameters": { @@ -11,9 +8,10 @@ "cors": { "corsRules": [ { - "allowedOrigins": [ - "http://www.contoso.com", - "http://www.fabrikam.com" + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" ], "allowedMethods": [ "GET", @@ -23,68 +21,71 @@ "MERGE", "PUT" ], - "maxAgeInSeconds": 100, + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], "exposedHeaders": [ "x-ms-meta-*" ], - "allowedHeaders": [ - "x-ms-meta-abc", - "x-ms-meta-data*", - "x-ms-meta-target*" - ] + "maxAgeInSeconds": 100 }, { - "allowedOrigins": [ + "allowedHeaders": [ "*" ], "allowedMethods": [ "GET" ], - "maxAgeInSeconds": 2, - "exposedHeaders": [ + "allowedOrigins": [ "*" ], - "allowedHeaders": [ + "exposedHeaders": [ "*" - ] + ], + "maxAgeInSeconds": 2 }, { - "allowedOrigins": [ - "http://www.abc23.com", - "https://www.fabrikam.com/*" + "allowedHeaders": [ + "x-ms-meta-12345675754564*" ], "allowedMethods": [ "GET", "PUT" ], - "maxAgeInSeconds": 2000, + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], "exposedHeaders": [ "x-ms-meta-abc", "x-ms-meta-data*", "x-ms-meta-target*" ], - "allowedHeaders": [ - "x-ms-meta-12345675754564*" - ] + "maxAgeInSeconds": 2000 } ] } } - } + }, + "queueServiceName": "default", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/queueServices/default", "name": "default", "type": "Microsoft.Storage/storageAccounts/queueServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/queueServices/default", "properties": { "cors": { "corsRules": [ { - "allowedOrigins": [ - "http://www.contoso.com", - "http://www.fabrikam.com" + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" ], "allowedMethods": [ "GET", @@ -94,54 +95,55 @@ "MERGE", "PUT" ], - "maxAgeInSeconds": 100, + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], "exposedHeaders": [ "x-ms-meta-*" ], - "allowedHeaders": [ - "x-ms-meta-abc", - "x-ms-meta-data*", - "x-ms-meta-target*" - ] + "maxAgeInSeconds": 100 }, { - "allowedOrigins": [ + "allowedHeaders": [ "*" ], "allowedMethods": [ "GET" ], - "maxAgeInSeconds": 2, - "exposedHeaders": [ + "allowedOrigins": [ "*" ], - "allowedHeaders": [ + "exposedHeaders": [ "*" - ] + ], + "maxAgeInSeconds": 2 }, { - "allowedOrigins": [ - "http://www.abc23.com", - "https://www.fabrikam.com/*" + "allowedHeaders": [ + "x-ms-meta-12345675754564*" ], "allowedMethods": [ "GET", "PUT" ], - "maxAgeInSeconds": 2000, + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], "exposedHeaders": [ "x-ms-meta-abc", "x-ms-meta-data*", "x-ms-meta-target*" ], - "allowedHeaders": [ - "x-ms-meta-12345675754564*" - ] + "maxAgeInSeconds": 2000 } ] } } } } - } + }, + "operationId": "QueueServices_SetServiceProperties", + "title": "QueueServicesPut" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/SKUList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/SKUList.json index 2bd5fcf158e8..a66d5b286382 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/SKUList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/SKUList.json @@ -1,20 +1,14 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "api-version": "2025-06-01" + "api-version": "2025-06-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { - "resourceType": "storageAccounts", "name": "Standard_LRS", - "tier": "Standard", - "kind": "Storage", - "locations": [ - "eastus" - ], "capabilities": [ { "name": "supportsfileencryption", @@ -29,16 +23,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_ZRS", - "tier": "Standard", "kind": "Storage", "locations": [ "eastus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", "capabilities": [ { "name": "supportsfileencryption", @@ -53,16 +47,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "Storage", "locations": [ "eastus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportsfileencryption", @@ -77,16 +71,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "Storage", "locations": [ "eastus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportsfileencryption", @@ -101,16 +95,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Premium_LRS", - "tier": "Premium", "kind": "Storage", "locations": [ "eastus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", "capabilities": [ { "name": "supportsfileencryption", @@ -125,16 +119,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "BlobStorage", + "kind": "Storage", "locations": [ "eastus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsarchivepreview", @@ -157,16 +151,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "eastus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportschangenotification", @@ -185,16 +179,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "eastus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportschangenotification", @@ -213,16 +207,16 @@ "value": "false" } ], - "restrictions": [] + "kind": "BlobStorage", + "locations": [ + "eastus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" }, { - "resourceType": "storageAccounts", "name": "Standard_LRS", - "tier": "Standard", - "kind": "Storage", - "locations": [ - "eastus2" - ], "capabilities": [ { "name": "supportsfileencryption", @@ -237,16 +231,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_ZRS", - "tier": "Standard", "kind": "Storage", "locations": [ "eastus2" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", "capabilities": [ { "name": "supportsfileencryption", @@ -261,16 +255,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "Storage", "locations": [ "eastus2" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportsfileencryption", @@ -285,16 +279,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "Storage", "locations": [ "eastus2" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportsfileencryption", @@ -309,16 +303,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Premium_LRS", - "tier": "Premium", "kind": "Storage", "locations": [ "eastus2" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", "capabilities": [ { "name": "supportsfileencryption", @@ -333,16 +327,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "BlobStorage", + "kind": "Storage", "locations": [ "eastus2" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsarchivepreview", @@ -365,16 +359,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "eastus2" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportschangenotification", @@ -393,16 +387,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "eastus2" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportschangenotification", @@ -421,16 +415,16 @@ "value": "false" } ], - "restrictions": [] + "kind": "BlobStorage", + "locations": [ + "eastus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" }, { - "resourceType": "storageAccounts", "name": "Standard_LRS", - "tier": "Standard", - "kind": "Storage", - "locations": [ - "eastus2(stage)" - ], "capabilities": [ { "name": "supportsfileencryption", @@ -445,16 +439,16 @@ "value": "true" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_ZRS", - "tier": "Standard", "kind": "Storage", "locations": [ "eastus2(stage)" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", "capabilities": [ { "name": "supportsfileencryption", @@ -469,16 +463,16 @@ "value": "true" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "Storage", "locations": [ "eastus2(stage)" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportsfileencryption", @@ -493,16 +487,16 @@ "value": "true" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "Storage", "locations": [ "eastus2(stage)" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportsfileencryption", @@ -517,32 +511,32 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Premium_LRS", - "tier": "Premium", "kind": "Storage", "locations": [ "eastus2(stage)" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", "capabilities": [ { "name": "supportsnetworkacls", "value": "true" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "BlobStorage", + "kind": "Storage", "locations": [ "eastus2(stage)" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsarchivepreview", @@ -565,16 +559,16 @@ "value": "true" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "eastus2(stage)" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportschangenotification", @@ -593,16 +587,16 @@ "value": "true" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "eastus2(stage)" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportschangenotification", @@ -621,16 +615,16 @@ "value": "false" } ], - "restrictions": [] + "kind": "BlobStorage", + "locations": [ + "eastus2(stage)" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" }, { - "resourceType": "storageAccounts", "name": "Standard_LRS", - "tier": "Standard", - "kind": "Storage", - "locations": [ - "westus" - ], "capabilities": [ { "name": "supportsfileencryption", @@ -645,16 +639,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_ZRS", - "tier": "Standard", "kind": "Storage", "locations": [ "westus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", "capabilities": [ { "name": "supportsfileencryption", @@ -669,16 +663,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "Storage", "locations": [ "westus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportsfileencryption", @@ -693,16 +687,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "Storage", "locations": [ "westus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportsfileencryption", @@ -717,16 +711,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Premium_LRS", - "tier": "Premium", "kind": "Storage", "locations": [ "westus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", "capabilities": [ { "name": "supportsfileencryption", @@ -741,16 +735,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "BlobStorage", + "kind": "Storage", "locations": [ "westus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsarchivepreview", @@ -773,16 +767,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "westus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportschangenotification", @@ -801,16 +795,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "westus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportschangenotification", @@ -829,16 +823,16 @@ "value": "false" } ], - "restrictions": [] + "kind": "BlobStorage", + "locations": [ + "westus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" }, { - "resourceType": "storageAccounts", "name": "Standard_LRS", - "tier": "Standard", - "kind": "Storage", - "locations": [ - "westeurope" - ], "capabilities": [ { "name": "supportsfileencryption", @@ -853,16 +847,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_ZRS", - "tier": "Standard", "kind": "Storage", "locations": [ "westeurope" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", "capabilities": [ { "name": "supportsfileencryption", @@ -877,16 +871,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "Storage", "locations": [ "westeurope" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportsfileencryption", @@ -901,16 +895,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "Storage", "locations": [ "westeurope" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportsfileencryption", @@ -925,16 +919,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Premium_LRS", - "tier": "Premium", "kind": "Storage", "locations": [ "westeurope" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", "capabilities": [ { "name": "supportsfileencryption", @@ -949,16 +943,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "BlobStorage", + "kind": "Storage", "locations": [ "westeurope" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsarchivepreview", @@ -981,16 +975,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "westeurope" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportschangenotification", @@ -1009,16 +1003,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "westeurope" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportschangenotification", @@ -1037,16 +1031,16 @@ "value": "false" } ], - "restrictions": [] + "kind": "BlobStorage", + "locations": [ + "westeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" }, { - "resourceType": "storageAccounts", "name": "Standard_LRS", - "tier": "Standard", - "kind": "Storage", - "locations": [ - "eastasia" - ], "capabilities": [ { "name": "supportsfileencryption", @@ -1061,16 +1055,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_ZRS", - "tier": "Standard", "kind": "Storage", "locations": [ "eastasia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", "capabilities": [ { "name": "supportsfileencryption", @@ -1085,16 +1079,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "Storage", "locations": [ "eastasia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportsfileencryption", @@ -1109,16 +1103,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "Storage", "locations": [ "eastasia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportsfileencryption", @@ -1133,16 +1127,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Premium_LRS", - "tier": "Premium", "kind": "Storage", "locations": [ "eastasia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", "capabilities": [ { "name": "supportsfileencryption", @@ -1157,16 +1151,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "BlobStorage", + "kind": "Storage", "locations": [ "eastasia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsarchivepreview", @@ -1189,16 +1183,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "eastasia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportschangenotification", @@ -1217,16 +1211,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "eastasia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportschangenotification", @@ -1245,16 +1239,16 @@ "value": "false" } ], - "restrictions": [] + "kind": "BlobStorage", + "locations": [ + "eastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" }, { - "resourceType": "storageAccounts", "name": "Standard_LRS", - "tier": "Standard", - "kind": "Storage", - "locations": [ - "southeastasia" - ], "capabilities": [ { "name": "supportsfileencryption", @@ -1269,16 +1263,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_ZRS", - "tier": "Standard", "kind": "Storage", "locations": [ "southeastasia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", "capabilities": [ { "name": "supportsfileencryption", @@ -1293,16 +1287,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "Storage", "locations": [ "southeastasia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportsfileencryption", @@ -1317,16 +1311,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "Storage", "locations": [ "southeastasia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportsfileencryption", @@ -1341,16 +1335,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Premium_LRS", - "tier": "Premium", "kind": "Storage", "locations": [ "southeastasia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", "capabilities": [ { "name": "supportsfileencryption", @@ -1365,16 +1359,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "BlobStorage", + "kind": "Storage", "locations": [ "southeastasia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsarchivepreview", @@ -1397,16 +1391,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "southeastasia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportschangenotification", @@ -1425,16 +1419,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "southeastasia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportschangenotification", @@ -1453,16 +1447,16 @@ "value": "false" } ], - "restrictions": [] + "kind": "BlobStorage", + "locations": [ + "southeastasia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" }, { - "resourceType": "storageAccounts", "name": "Standard_LRS", - "tier": "Standard", - "kind": "Storage", - "locations": [ - "japaneast" - ], "capabilities": [ { "name": "supportsfileencryption", @@ -1477,16 +1471,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_ZRS", - "tier": "Standard", "kind": "Storage", "locations": [ "japaneast" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", "capabilities": [ { "name": "supportsfileencryption", @@ -1501,16 +1495,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "Storage", "locations": [ "japaneast" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportsfileencryption", @@ -1525,16 +1519,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "Storage", "locations": [ "japaneast" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportsfileencryption", @@ -1549,16 +1543,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Premium_LRS", - "tier": "Premium", "kind": "Storage", "locations": [ "japaneast" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", "capabilities": [ { "name": "supportsfileencryption", @@ -1573,16 +1567,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "BlobStorage", + "kind": "Storage", "locations": [ "japaneast" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsarchivepreview", @@ -1605,16 +1599,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "japaneast" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportschangenotification", @@ -1633,16 +1627,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "japaneast" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportschangenotification", @@ -1661,16 +1655,16 @@ "value": "false" } ], - "restrictions": [] + "kind": "BlobStorage", + "locations": [ + "japaneast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" }, { - "resourceType": "storageAccounts", "name": "Standard_LRS", - "tier": "Standard", - "kind": "Storage", - "locations": [ - "japanwest" - ], "capabilities": [ { "name": "supportsfileencryption", @@ -1685,16 +1679,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_ZRS", - "tier": "Standard", "kind": "Storage", "locations": [ "japanwest" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", "capabilities": [ { "name": "supportsfileencryption", @@ -1709,16 +1703,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "Storage", "locations": [ "japanwest" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportsfileencryption", @@ -1733,16 +1727,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "Storage", "locations": [ "japanwest" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportsfileencryption", @@ -1757,16 +1751,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Premium_LRS", - "tier": "Premium", "kind": "Storage", "locations": [ "japanwest" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", "capabilities": [ { "name": "supportsfileencryption", @@ -1781,16 +1775,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "BlobStorage", + "kind": "Storage", "locations": [ "japanwest" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsarchivepreview", @@ -1813,16 +1807,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "japanwest" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportschangenotification", @@ -1841,16 +1835,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "japanwest" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportschangenotification", @@ -1869,16 +1863,16 @@ "value": "false" } ], - "restrictions": [] + "kind": "BlobStorage", + "locations": [ + "japanwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" }, { - "resourceType": "storageAccounts", "name": "Standard_LRS", - "tier": "Standard", - "kind": "Storage", - "locations": [ - "northcentralus" - ], "capabilities": [ { "name": "supportsfileencryption", @@ -1893,16 +1887,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_ZRS", - "tier": "Standard", "kind": "Storage", "locations": [ "northcentralus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", "capabilities": [ { "name": "supportsfileencryption", @@ -1917,16 +1911,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "Storage", "locations": [ "northcentralus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportsfileencryption", @@ -1941,16 +1935,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "Storage", "locations": [ "northcentralus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportsfileencryption", @@ -1965,16 +1959,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Premium_LRS", - "tier": "Premium", "kind": "Storage", "locations": [ "northcentralus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", "capabilities": [ { "name": "supportsfileencryption", @@ -1989,16 +1983,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "BlobStorage", + "kind": "Storage", "locations": [ "northcentralus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsarchivepreview", @@ -2021,16 +2015,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "northcentralus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportschangenotification", @@ -2049,16 +2043,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "northcentralus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportschangenotification", @@ -2077,16 +2071,16 @@ "value": "false" } ], - "restrictions": [] + "kind": "BlobStorage", + "locations": [ + "northcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" }, { - "resourceType": "storageAccounts", "name": "Standard_LRS", - "tier": "Standard", - "kind": "Storage", - "locations": [ - "southcentralus" - ], "capabilities": [ { "name": "supportsfileencryption", @@ -2101,16 +2095,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_ZRS", - "tier": "Standard", "kind": "Storage", "locations": [ "southcentralus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", "capabilities": [ { "name": "supportsfileencryption", @@ -2125,16 +2119,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "Storage", "locations": [ "southcentralus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportsfileencryption", @@ -2149,16 +2143,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "Storage", "locations": [ "southcentralus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportsfileencryption", @@ -2173,16 +2167,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Premium_LRS", - "tier": "Premium", "kind": "Storage", "locations": [ "southcentralus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", "capabilities": [ { "name": "supportsfileencryption", @@ -2197,16 +2191,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "BlobStorage", + "kind": "Storage", "locations": [ "southcentralus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsarchivepreview", @@ -2229,16 +2223,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "southcentralus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportschangenotification", @@ -2257,16 +2251,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "southcentralus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportschangenotification", @@ -2285,16 +2279,16 @@ "value": "false" } ], - "restrictions": [] + "kind": "BlobStorage", + "locations": [ + "southcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" }, { - "resourceType": "storageAccounts", "name": "Standard_LRS", - "tier": "Standard", - "kind": "Storage", - "locations": [ - "centralus" - ], "capabilities": [ { "name": "supportsfileencryption", @@ -2309,16 +2303,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_ZRS", - "tier": "Standard", "kind": "Storage", "locations": [ "centralus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", "capabilities": [ { "name": "supportsfileencryption", @@ -2333,16 +2327,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "Storage", "locations": [ "centralus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportsfileencryption", @@ -2357,16 +2351,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "Storage", "locations": [ "centralus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportsfileencryption", @@ -2381,16 +2375,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Premium_LRS", - "tier": "Premium", "kind": "Storage", "locations": [ "centralus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", "capabilities": [ { "name": "supportsfileencryption", @@ -2405,16 +2399,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "BlobStorage", + "kind": "Storage", "locations": [ "centralus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsarchivepreview", @@ -2437,16 +2431,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "centralus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportschangenotification", @@ -2465,16 +2459,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "centralus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportschangenotification", @@ -2493,16 +2487,16 @@ "value": "false" } ], - "restrictions": [] + "kind": "BlobStorage", + "locations": [ + "centralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" }, { - "resourceType": "storageAccounts", "name": "Standard_LRS", - "tier": "Standard", - "kind": "Storage", - "locations": [ - "northeurope" - ], "capabilities": [ { "name": "supportsfileencryption", @@ -2517,16 +2511,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_ZRS", - "tier": "Standard", "kind": "Storage", "locations": [ "northeurope" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", "capabilities": [ { "name": "supportsfileencryption", @@ -2541,16 +2535,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "Storage", "locations": [ "northeurope" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportsfileencryption", @@ -2565,16 +2559,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "Storage", "locations": [ "northeurope" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportsfileencryption", @@ -2589,16 +2583,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Premium_LRS", - "tier": "Premium", "kind": "Storage", "locations": [ "northeurope" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", "capabilities": [ { "name": "supportsfileencryption", @@ -2613,16 +2607,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "BlobStorage", + "kind": "Storage", "locations": [ "northeurope" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsarchivepreview", @@ -2645,16 +2639,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "northeurope" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportschangenotification", @@ -2673,16 +2667,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "northeurope" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportschangenotification", @@ -2701,16 +2695,16 @@ "value": "false" } ], - "restrictions": [] + "kind": "BlobStorage", + "locations": [ + "northeurope" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" }, { - "resourceType": "storageAccounts", "name": "Standard_LRS", - "tier": "Standard", - "kind": "Storage", - "locations": [ - "brazilsouth" - ], "capabilities": [ { "name": "supportsfileencryption", @@ -2725,16 +2719,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_ZRS", - "tier": "Standard", "kind": "Storage", "locations": [ "brazilsouth" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", "capabilities": [ { "name": "supportsfileencryption", @@ -2749,16 +2743,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "Storage", "locations": [ "brazilsouth" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportsfileencryption", @@ -2773,16 +2767,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "Storage", "locations": [ "brazilsouth" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportsfileencryption", @@ -2797,16 +2791,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Premium_LRS", - "tier": "Premium", "kind": "Storage", "locations": [ "brazilsouth" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", "capabilities": [ { "name": "supportsfileencryption", @@ -2821,16 +2815,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "BlobStorage", + "kind": "Storage", "locations": [ "brazilsouth" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsarchivepreview", @@ -2853,16 +2847,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "brazilsouth" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportschangenotification", @@ -2881,16 +2875,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "brazilsouth" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportschangenotification", @@ -2909,16 +2903,16 @@ "value": "false" } ], - "restrictions": [] + "kind": "BlobStorage", + "locations": [ + "brazilsouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" }, { - "resourceType": "storageAccounts", "name": "Standard_LRS", - "tier": "Standard", - "kind": "Storage", - "locations": [ - "australiaeast" - ], "capabilities": [ { "name": "supportsfileencryption", @@ -2933,16 +2927,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_ZRS", - "tier": "Standard", "kind": "Storage", "locations": [ "australiaeast" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", "capabilities": [ { "name": "supportsfileencryption", @@ -2957,16 +2951,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "Storage", "locations": [ "australiaeast" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportsfileencryption", @@ -2981,16 +2975,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "Storage", "locations": [ "australiaeast" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportsfileencryption", @@ -3005,16 +2999,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Premium_LRS", - "tier": "Premium", "kind": "Storage", "locations": [ "australiaeast" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", "capabilities": [ { "name": "supportsfileencryption", @@ -3029,16 +3023,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "BlobStorage", + "kind": "Storage", "locations": [ "australiaeast" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsarchivepreview", @@ -3061,16 +3055,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "australiaeast" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportschangenotification", @@ -3089,16 +3083,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "australiaeast" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportschangenotification", @@ -3117,16 +3111,16 @@ "value": "false" } ], - "restrictions": [] + "kind": "BlobStorage", + "locations": [ + "australiaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" }, { - "resourceType": "storageAccounts", "name": "Standard_LRS", - "tier": "Standard", - "kind": "Storage", - "locations": [ - "australiasoutheast" - ], "capabilities": [ { "name": "supportsfileencryption", @@ -3141,16 +3135,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_ZRS", - "tier": "Standard", "kind": "Storage", "locations": [ "australiasoutheast" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", "capabilities": [ { "name": "supportsfileencryption", @@ -3165,16 +3159,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "Storage", "locations": [ "australiasoutheast" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportsfileencryption", @@ -3189,16 +3183,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "Storage", "locations": [ "australiasoutheast" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportsfileencryption", @@ -3213,16 +3207,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Premium_LRS", - "tier": "Premium", "kind": "Storage", "locations": [ "australiasoutheast" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", "capabilities": [ { "name": "supportsfileencryption", @@ -3237,16 +3231,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "BlobStorage", + "kind": "Storage", "locations": [ "australiasoutheast" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsarchivepreview", @@ -3269,16 +3263,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "australiasoutheast" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportschangenotification", @@ -3297,16 +3291,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "australiasoutheast" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportschangenotification", @@ -3325,16 +3319,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "Storage", + "kind": "BlobStorage", "locations": [ - "southindia" + "australiasoutheast" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsfileencryption", @@ -3349,16 +3343,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_ZRS", - "tier": "Standard", "kind": "Storage", "locations": [ "southindia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", "capabilities": [ { "name": "supportsfileencryption", @@ -3373,16 +3367,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "Storage", "locations": [ "southindia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportsfileencryption", @@ -3397,16 +3391,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "Storage", "locations": [ "southindia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportsfileencryption", @@ -3421,16 +3415,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Premium_LRS", - "tier": "Premium", "kind": "Storage", "locations": [ "southindia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", "capabilities": [ { "name": "supportsfileencryption", @@ -3445,16 +3439,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "BlobStorage", + "kind": "Storage", "locations": [ "southindia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsarchivepreview", @@ -3477,16 +3471,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "southindia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportschangenotification", @@ -3505,16 +3499,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "southindia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportschangenotification", @@ -3533,16 +3527,16 @@ "value": "false" } ], - "restrictions": [] + "kind": "BlobStorage", + "locations": [ + "southindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" }, { - "resourceType": "storageAccounts", "name": "Standard_LRS", - "tier": "Standard", - "kind": "Storage", - "locations": [ - "centralindia" - ], "capabilities": [ { "name": "supportsfileencryption", @@ -3557,16 +3551,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_ZRS", - "tier": "Standard", "kind": "Storage", "locations": [ "centralindia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", "capabilities": [ { "name": "supportsfileencryption", @@ -3581,16 +3575,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "Storage", "locations": [ "centralindia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportsfileencryption", @@ -3605,16 +3599,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "Storage", "locations": [ "centralindia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportsfileencryption", @@ -3629,16 +3623,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Premium_LRS", - "tier": "Premium", "kind": "Storage", "locations": [ "centralindia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", "capabilities": [ { "name": "supportsfileencryption", @@ -3653,16 +3647,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "BlobStorage", + "kind": "Storage", "locations": [ "centralindia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsarchivepreview", @@ -3685,16 +3679,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "centralindia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportschangenotification", @@ -3713,16 +3707,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "centralindia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportschangenotification", @@ -3741,16 +3735,16 @@ "value": "false" } ], - "restrictions": [] + "kind": "BlobStorage", + "locations": [ + "centralindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" }, { - "resourceType": "storageAccounts", "name": "Standard_LRS", - "tier": "Standard", - "kind": "Storage", - "locations": [ - "westindia" - ], "capabilities": [ { "name": "supportsfileencryption", @@ -3765,16 +3759,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_ZRS", - "tier": "Standard", "kind": "Storage", "locations": [ "westindia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", "capabilities": [ { "name": "supportsfileencryption", @@ -3789,16 +3783,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "Storage", "locations": [ "westindia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportsfileencryption", @@ -3813,16 +3807,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "Storage", "locations": [ "westindia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportsfileencryption", @@ -3837,16 +3831,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Premium_LRS", - "tier": "Premium", "kind": "Storage", "locations": [ "westindia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", "capabilities": [ { "name": "supportsfileencryption", @@ -3861,16 +3855,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "BlobStorage", + "kind": "Storage", "locations": [ "westindia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsarchivepreview", @@ -3893,16 +3887,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "westindia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportschangenotification", @@ -3921,16 +3915,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "westindia" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportschangenotification", @@ -3949,16 +3943,16 @@ "value": "false" } ], - "restrictions": [] + "kind": "BlobStorage", + "locations": [ + "westindia" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" }, { - "resourceType": "storageAccounts", "name": "Standard_LRS", - "tier": "Standard", - "kind": "Storage", - "locations": [ - "canadaeast" - ], "capabilities": [ { "name": "supportsfileencryption", @@ -3973,16 +3967,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_ZRS", - "tier": "Standard", "kind": "Storage", "locations": [ "canadaeast" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", "capabilities": [ { "name": "supportsfileencryption", @@ -3997,16 +3991,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "Storage", "locations": [ "canadaeast" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportsfileencryption", @@ -4021,16 +4015,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "Storage", "locations": [ "canadaeast" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportsfileencryption", @@ -4045,16 +4039,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Premium_LRS", - "tier": "Premium", "kind": "Storage", "locations": [ "canadaeast" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", "capabilities": [ { "name": "supportsfileencryption", @@ -4069,16 +4063,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "BlobStorage", + "kind": "Storage", "locations": [ "canadaeast" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsarchivepreview", @@ -4099,18 +4093,18 @@ { "name": "supportsnetworkacls", "value": "false" - } - ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", + } + ], "kind": "BlobStorage", "locations": [ "canadaeast" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportschangenotification", @@ -4129,16 +4123,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "canadaeast" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportschangenotification", @@ -4157,16 +4151,16 @@ "value": "false" } ], - "restrictions": [] + "kind": "BlobStorage", + "locations": [ + "canadaeast" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" }, { - "resourceType": "storageAccounts", "name": "Standard_LRS", - "tier": "Standard", - "kind": "Storage", - "locations": [ - "canadacentral" - ], "capabilities": [ { "name": "supportsfileencryption", @@ -4181,16 +4175,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_ZRS", - "tier": "Standard", "kind": "Storage", "locations": [ "canadacentral" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", "capabilities": [ { "name": "supportsfileencryption", @@ -4205,16 +4199,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "Storage", "locations": [ "canadacentral" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportsfileencryption", @@ -4229,16 +4223,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "Storage", "locations": [ "canadacentral" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportsfileencryption", @@ -4253,16 +4247,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Premium_LRS", - "tier": "Premium", "kind": "Storage", "locations": [ "canadacentral" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", "capabilities": [ { "name": "supportsfileencryption", @@ -4277,16 +4271,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "BlobStorage", + "kind": "Storage", "locations": [ "canadacentral" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsarchivepreview", @@ -4309,16 +4303,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "canadacentral" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportschangenotification", @@ -4337,16 +4331,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "canadacentral" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportschangenotification", @@ -4365,16 +4359,16 @@ "value": "false" } ], - "restrictions": [] + "kind": "BlobStorage", + "locations": [ + "canadacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" }, { - "resourceType": "storageAccounts", "name": "Standard_LRS", - "tier": "Standard", - "kind": "Storage", - "locations": [ - "westus2" - ], "capabilities": [ { "name": "supportsfileencryption", @@ -4389,16 +4383,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_ZRS", - "tier": "Standard", "kind": "Storage", "locations": [ "westus2" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", "capabilities": [ { "name": "supportsfileencryption", @@ -4413,16 +4407,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "Storage", "locations": [ "westus2" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportsfileencryption", @@ -4437,16 +4431,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "Storage", "locations": [ "westus2" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportsfileencryption", @@ -4461,16 +4455,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Premium_LRS", - "tier": "Premium", "kind": "Storage", "locations": [ "westus2" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", "capabilities": [ { "name": "supportsfileencryption", @@ -4485,16 +4479,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "BlobStorage", + "kind": "Storage", "locations": [ "westus2" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsarchivepreview", @@ -4517,16 +4511,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "westus2" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportschangenotification", @@ -4545,16 +4539,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "westus2" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportschangenotification", @@ -4573,16 +4567,16 @@ "value": "false" } ], - "restrictions": [] + "kind": "BlobStorage", + "locations": [ + "westus2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" }, { - "resourceType": "storageAccounts", "name": "Standard_LRS", - "tier": "Standard", - "kind": "Storage", - "locations": [ - "westcentralus" - ], "capabilities": [ { "name": "supportsfileencryption", @@ -4597,16 +4591,16 @@ "value": "true" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_ZRS", - "tier": "Standard", "kind": "Storage", "locations": [ "westcentralus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", "capabilities": [ { "name": "supportsfileencryption", @@ -4621,16 +4615,16 @@ "value": "true" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "Storage", "locations": [ "westcentralus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportsfileencryption", @@ -4645,16 +4639,16 @@ "value": "true" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "Storage", "locations": [ "westcentralus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportsfileencryption", @@ -4669,16 +4663,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Premium_LRS", - "tier": "Premium", "kind": "Storage", "locations": [ "westcentralus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", "capabilities": [ { "name": "supportsfileencryption", @@ -4693,16 +4687,16 @@ "value": "true" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "BlobStorage", + "kind": "Storage", "locations": [ "westcentralus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsarchivepreview", @@ -4725,16 +4719,16 @@ "value": "true" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "westcentralus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportschangenotification", @@ -4753,16 +4747,16 @@ "value": "true" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "westcentralus" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportschangenotification", @@ -4781,16 +4775,16 @@ "value": "false" } ], - "restrictions": [] + "kind": "BlobStorage", + "locations": [ + "westcentralus" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" }, { - "resourceType": "storageAccounts", "name": "Standard_LRS", - "tier": "Standard", - "kind": "Storage", - "locations": [ - "uksouth" - ], "capabilities": [ { "name": "supportsfileencryption", @@ -4805,16 +4799,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_ZRS", - "tier": "Standard", "kind": "Storage", "locations": [ "uksouth" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", "capabilities": [ { "name": "supportsfileencryption", @@ -4829,16 +4823,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "Storage", "locations": [ "uksouth" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportsfileencryption", @@ -4853,16 +4847,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "Storage", "locations": [ "uksouth" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportsfileencryption", @@ -4877,16 +4871,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Premium_LRS", - "tier": "Premium", "kind": "Storage", "locations": [ "uksouth" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", "capabilities": [ { "name": "supportsfileencryption", @@ -4901,16 +4895,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "BlobStorage", + "kind": "Storage", "locations": [ "uksouth" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsarchivepreview", @@ -4933,16 +4927,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "uksouth" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportschangenotification", @@ -4961,16 +4955,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "uksouth" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportschangenotification", @@ -4989,16 +4983,16 @@ "value": "false" } ], - "restrictions": [] + "kind": "BlobStorage", + "locations": [ + "uksouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" }, { - "resourceType": "storageAccounts", "name": "Standard_LRS", - "tier": "Standard", - "kind": "Storage", - "locations": [ - "ukwest" - ], "capabilities": [ { "name": "supportsfileencryption", @@ -5013,16 +5007,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_ZRS", - "tier": "Standard", "kind": "Storage", "locations": [ "ukwest" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", "capabilities": [ { "name": "supportsfileencryption", @@ -5037,16 +5031,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "Storage", "locations": [ "ukwest" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportsfileencryption", @@ -5061,16 +5055,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "Storage", "locations": [ "ukwest" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportsfileencryption", @@ -5085,16 +5079,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Premium_LRS", - "tier": "Premium", "kind": "Storage", "locations": [ "ukwest" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", "capabilities": [ { "name": "supportsfileencryption", @@ -5109,16 +5103,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "BlobStorage", + "kind": "Storage", "locations": [ "ukwest" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsarchivepreview", @@ -5141,16 +5135,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "ukwest" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportschangenotification", @@ -5169,16 +5163,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "ukwest" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportschangenotification", @@ -5197,16 +5191,16 @@ "value": "false" } ], - "restrictions": [] + "kind": "BlobStorage", + "locations": [ + "ukwest" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" }, { - "resourceType": "storageAccounts", "name": "Standard_LRS", - "tier": "Standard", - "kind": "Storage", - "locations": [ - "koreacentral" - ], "capabilities": [ { "name": "supportsfileencryption", @@ -5221,16 +5215,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_ZRS", - "tier": "Standard", "kind": "Storage", "locations": [ "koreacentral" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", "capabilities": [ { "name": "supportsfileencryption", @@ -5245,16 +5239,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "Storage", "locations": [ "koreacentral" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportsfileencryption", @@ -5269,16 +5263,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "Storage", "locations": [ "koreacentral" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportsfileencryption", @@ -5293,16 +5287,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Premium_LRS", - "tier": "Premium", "kind": "Storage", "locations": [ "koreacentral" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", "capabilities": [ { "name": "supportsfileencryption", @@ -5317,16 +5311,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "BlobStorage", + "kind": "Storage", "locations": [ "koreacentral" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsarchivepreview", @@ -5349,16 +5343,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "koreacentral" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportschangenotification", @@ -5377,16 +5371,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "koreacentral" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportschangenotification", @@ -5405,16 +5399,16 @@ "value": "false" } ], - "restrictions": [] + "kind": "BlobStorage", + "locations": [ + "koreacentral" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" }, { - "resourceType": "storageAccounts", "name": "Standard_LRS", - "tier": "Standard", - "kind": "Storage", - "locations": [ - "koreasouth" - ], "capabilities": [ { "name": "supportsfileencryption", @@ -5429,16 +5423,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_ZRS", - "tier": "Standard", "kind": "Storage", "locations": [ "koreasouth" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", "capabilities": [ { "name": "supportsfileencryption", @@ -5453,16 +5447,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "Storage", "locations": [ "koreasouth" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportsfileencryption", @@ -5477,16 +5471,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "Storage", "locations": [ "koreasouth" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportsfileencryption", @@ -5501,16 +5495,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Premium_LRS", - "tier": "Premium", "kind": "Storage", "locations": [ "koreasouth" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", "capabilities": [ { "name": "supportsfileencryption", @@ -5525,16 +5519,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "BlobStorage", + "kind": "Storage", "locations": [ "koreasouth" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsarchivepreview", @@ -5557,16 +5551,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "koreasouth" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportschangenotification", @@ -5585,16 +5579,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "koreasouth" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportschangenotification", @@ -5613,16 +5607,16 @@ "value": "false" } ], - "restrictions": [] + "kind": "BlobStorage", + "locations": [ + "koreasouth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" }, { - "resourceType": "storageAccounts", "name": "Standard_LRS", - "tier": "Standard", - "kind": "Storage", - "locations": [ - "uknorth" - ], "capabilities": [ { "name": "supportsfileencryption", @@ -5637,16 +5631,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_ZRS", - "tier": "Standard", "kind": "Storage", "locations": [ "uknorth" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", "capabilities": [ { "name": "supportsfileencryption", @@ -5661,16 +5655,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "Storage", "locations": [ "uknorth" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportsfileencryption", @@ -5685,16 +5679,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "Storage", "locations": [ "uknorth" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportsfileencryption", @@ -5709,16 +5703,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Premium_LRS", - "tier": "Premium", "kind": "Storage", "locations": [ "uknorth" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", "capabilities": [ { "name": "supportsfileencryption", @@ -5733,16 +5727,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "BlobStorage", + "kind": "Storage", "locations": [ "uknorth" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsarchivepreview", @@ -5765,16 +5759,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "uknorth" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportschangenotification", @@ -5793,16 +5787,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "uknorth" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportschangenotification", @@ -5821,16 +5815,16 @@ "value": "false" } ], - "restrictions": [] + "kind": "BlobStorage", + "locations": [ + "uknorth" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" }, { - "resourceType": "storageAccounts", "name": "Standard_LRS", - "tier": "Standard", - "kind": "Storage", - "locations": [ - "uksouth2" - ], "capabilities": [ { "name": "supportsfileencryption", @@ -5845,16 +5839,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_ZRS", - "tier": "Standard", "kind": "Storage", "locations": [ "uksouth2" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", "capabilities": [ { "name": "supportsfileencryption", @@ -5869,16 +5863,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "Storage", "locations": [ "uksouth2" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportsfileencryption", @@ -5893,16 +5887,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "Storage", "locations": [ "uksouth2" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportsfileencryption", @@ -5917,16 +5911,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Premium_LRS", - "tier": "Premium", "kind": "Storage", "locations": [ "uksouth2" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", "capabilities": [ { "name": "supportsfileencryption", @@ -5941,16 +5935,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "BlobStorage", + "kind": "Storage", "locations": [ "uksouth2" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsarchivepreview", @@ -5973,16 +5967,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "uksouth2" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportschangenotification", @@ -6001,16 +5995,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "uksouth2" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportschangenotification", @@ -6029,16 +6023,16 @@ "value": "false" } ], - "restrictions": [] + "kind": "BlobStorage", + "locations": [ + "uksouth2" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" }, { - "resourceType": "storageAccounts", "name": "Standard_LRS", - "tier": "Standard", - "kind": "Storage", - "locations": [ - "eastus2euap" - ], "capabilities": [ { "name": "supportsfileencryption", @@ -6053,16 +6047,16 @@ "value": "true" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_ZRS", - "tier": "Standard", "kind": "Storage", "locations": [ "eastus2euap" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", "capabilities": [ { "name": "supportsfileencryption", @@ -6077,16 +6071,16 @@ "value": "true" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "Storage", "locations": [ "eastus2euap" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportsfileencryption", @@ -6101,16 +6095,16 @@ "value": "true" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "Storage", "locations": [ "eastus2euap" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportsfileencryption", @@ -6125,16 +6119,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Premium_LRS", - "tier": "Premium", "kind": "Storage", "locations": [ "eastus2euap" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", "capabilities": [ { "name": "supportsfileencryption", @@ -6149,16 +6143,16 @@ "value": "true" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "BlobStorage", + "kind": "Storage", "locations": [ "eastus2euap" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsarchivepreview", @@ -6181,16 +6175,16 @@ "value": "true" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "eastus2euap" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportschangenotification", @@ -6209,16 +6203,16 @@ "value": "true" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "eastus2euap" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportschangenotification", @@ -6237,16 +6231,16 @@ "value": "false" } ], - "restrictions": [] + "kind": "BlobStorage", + "locations": [ + "eastus2euap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" }, { - "resourceType": "storageAccounts", "name": "Standard_LRS", - "tier": "Standard", - "kind": "Storage", - "locations": [ - "centraluseuap" - ], "capabilities": [ { "name": "supportsfileencryption", @@ -6261,16 +6255,16 @@ "value": "true" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_ZRS", - "tier": "Standard", "kind": "Storage", "locations": [ "centraluseuap" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_ZRS", "capabilities": [ { "name": "supportsfileencryption", @@ -6285,16 +6279,16 @@ "value": "true" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "Storage", "locations": [ "centraluseuap" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportsfileencryption", @@ -6309,16 +6303,16 @@ "value": "true" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "Storage", "locations": [ "centraluseuap" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportsfileencryption", @@ -6333,16 +6327,16 @@ "value": "false" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Premium_LRS", - "tier": "Premium", "kind": "Storage", "locations": [ "centraluseuap" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Premium_LRS", "capabilities": [ { "name": "supportsfileencryption", @@ -6357,16 +6351,16 @@ "value": "true" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_LRS", - "tier": "Standard", - "kind": "BlobStorage", + "kind": "Storage", "locations": [ "centraluseuap" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" + }, + { + "name": "Standard_LRS", "capabilities": [ { "name": "supportsarchivepreview", @@ -6389,16 +6383,16 @@ "value": "true" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_GRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "centraluseuap" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_GRS", "capabilities": [ { "name": "supportschangenotification", @@ -6417,16 +6411,16 @@ "value": "true" } ], - "restrictions": [] - }, - { - "resourceType": "storageAccounts", - "name": "Standard_RAGRS", - "tier": "Standard", "kind": "BlobStorage", "locations": [ "centraluseuap" ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" + }, + { + "name": "Standard_RAGRS", "capabilities": [ { "name": "supportschangenotification", @@ -6445,10 +6439,18 @@ "value": "false" } ], - "restrictions": [] + "kind": "BlobStorage", + "locations": [ + "centraluseuap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Standard" } ] } } - } + }, + "operationId": "Skus_List", + "title": "SkuList" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/SKUListWithLocationInfo.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/SKUListWithLocationInfo.json index 0e845016b9fa..3193c2b13ba0 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/SKUListWithLocationInfo.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/SKUListWithLocationInfo.json @@ -1,30 +1,14 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "api-version": "2025-06-01" + "api-version": "2025-06-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { - "resourceType": "storageAccounts", "name": "Premium_LRS", - "tier": "Premium", - "kind": "FileStorage", - "locations": [ - "centraluseuap" - ], - "locationInfo": [ - { - "location": "centraluseuap", - "zones": [ - "1", - "2", - "3" - ] - } - ], "capabilities": [ { "name": "supportschangenotification", @@ -43,10 +27,28 @@ "value": "false" } ], - "restrictions": [] + "kind": "FileStorage", + "locationInfo": [ + { + "location": "centraluseuap", + "zones": [ + "1", + "2", + "3" + ] + } + ], + "locations": [ + "centraluseuap" + ], + "resourceType": "storageAccounts", + "restrictions": [], + "tier": "Premium" } ] } } - } + }, + "operationId": "Skus_List", + "title": "SKUListWithLocationInfo" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountAbortHierarchicalNamespaceMigration.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountAbortHierarchicalNamespaceMigration.json index b3b6ffc14049..7cd98037e3de 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountAbortHierarchicalNamespaceMigration.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountAbortHierarchicalNamespaceMigration.json @@ -1,9 +1,9 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res4228", "accountName": "sto2434", - "api-version": "2025-06-01" + "api-version": "2025-06-01", + "resourceGroupName": "res4228", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, @@ -12,5 +12,7 @@ "Location": "https://endpoint:port/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/{location}/asyncoperations/{operationid}?monitor=true&api-version=2022-09-01" } } - } + }, + "operationId": "StorageAccounts_AbortHierarchicalNamespaceMigration", + "title": "StorageAccountAbortHierarchicalNamespaceMigration" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCheckNameAvailability.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCheckNameAvailability.json index 784291eb9695..08dbdbef223a 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCheckNameAvailability.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCheckNameAvailability.json @@ -1,11 +1,11 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "api-version": "2025-06-01", "accountName": { "name": "sto3363", "type": "Microsoft.Storage/storageAccounts" - } + }, + "api-version": "2025-06-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -13,5 +13,7 @@ "nameAvailable": true } } - } + }, + "operationId": "StorageAccounts_CheckNameAvailability", + "title": "StorageAccountCheckNameAvailability" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreate.json index 038fe632d851..04cc8cb4752e 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreate.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreate.json @@ -1,135 +1,136 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9101", "accountName": "sto4445", "api-version": "2025-06-01", "parameters": { - "sku": { - "name": "Standard_GRS" + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" }, "kind": "Storage", "location": "eastus", - "extendedLocation": { - "type": "EdgeZone", - "name": "losangeles001" - }, "properties": { - "keyPolicy": { - "keyExpirationPeriodInDays": 20 - }, - "sasPolicy": { - "sasExpirationPeriod": "1.15:59:59", - "expirationAction": "Log" + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } }, "isHnsEnabled": true, "isSftpEnabled": true, - "allowBlobPublicAccess": false, - "defaultToOAuthAuthentication": false, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, "minimumTlsVersion": "TLS1_2", - "allowSharedKeyAccess": true, "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true + "routingChoice": "MicrosoftRouting" }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true - }, - "blob": { - "keyType": "Account", - "enabled": true - } - }, - "requireInfrastructureEncryption": false, - "keySource": "Microsoft.Storage" + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" }, "geoPriorityReplicationStatus": { "isBlobEnabled": true } }, + "sku": { + "name": "Standard_GRS" + }, "tags": { "key1": "value1", "key2": "value2" } - } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", - "kind": "Storage", - "location": "eastus", "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", "extendedLocation": { - "type": "EdgeZone", - "name": "losangeles001" + "name": "losangeles001", + "type": "EdgeZone" }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", "properties": { - "keyPolicy": { - "keyExpirationPeriodInDays": 20 - }, - "sasPolicy": { - "sasExpirationPeriod": "1.15:59:59", - "expirationAction": "Log" + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } }, + "isHnsEnabled": true, + "isSftpEnabled": true, "keyCreationTime": { "key1": "2021-03-18T04:42:22.4322836Z", "key2": "2021-03-18T04:42:22.4322836Z" }, - "isHnsEnabled": true, - "isSftpEnabled": true, - "allowBlobPublicAccess": false, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, "minimumTlsVersion": "TLS1_2", - "allowSharedKeyAccess": true, - "creationTime": "2017-05-24T13:25:33.4863236Z", "primaryEndpoints": { - "web": "https://sto4445.web.core.windows.net/", - "dfs": "https://sto4445.dfs.core.windows.net/", "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", "file": "https://sto4445.file.core.windows.net/", - "queue": "https://sto4445.queue.core.windows.net/", - "table": "https://sto4445.table.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, "microsoftEndpoints": { - "web": "https://sto4445-microsoftrouting.web.core.windows.net/", - "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", "file": "https://sto4445-microsoftrouting.file.core.windows.net/", "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", - "table": "https://sto4445-microsoftrouting.table.core.windows.net/" + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" }, - "internetEndpoints": { - "web": "https://sto4445-internetrouting.web.core.windows.net/", - "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", - "blob": "https://sto4445-internetrouting.blob.core.windows.net/", - "file": "https://sto4445-internetrouting.file.core.windows.net/" - } + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" }, "primaryLocation": "eastus2euap", "provisioningState": "Succeeded", "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true + "routingChoice": "MicrosoftRouting" }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - }, - "blob": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - } - }, - "requireInfrastructureEncryption": false, - "keySource": "Microsoft.Storage" + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" }, "secondaryLocation": "centraluseuap", "statusOfPrimary": "available", @@ -146,10 +147,11 @@ "tags": { "key1": "value1", "key2": "value2" - }, - "type": "Microsoft.Storage/storageAccounts" + } } }, "202": {} - } + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreate" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateAllowedCopyScopeToAAD.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateAllowedCopyScopeToAAD.json index 789470ab69c6..0ca48018e164 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateAllowedCopyScopeToAAD.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateAllowedCopyScopeToAAD.json @@ -1,132 +1,133 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9101", "accountName": "sto4445", "api-version": "2025-06-01", "parameters": { - "sku": { - "name": "Standard_GRS" - }, "kind": "Storage", "location": "eastus", "properties": { - "keyPolicy": { - "keyExpirationPeriodInDays": 20 - }, - "sasPolicy": { - "sasExpirationPeriod": "1.15:59:59", - "expirationAction": "Log" - }, - "isHnsEnabled": true, "allowBlobPublicAccess": false, - "minimumTlsVersion": "TLS1_2", "allowSharedKeyAccess": true, "allowedCopyScope": "AAD", - "routingPreference": { - "routingChoice": "MicrosoftRouting", - "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true - }, "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, "services": { - "file": { - "keyType": "Account", - "enabled": true - }, "blob": { - "keyType": "Account", - "enabled": true + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" } - }, - "requireInfrastructureEncryption": false, - "keySource": "Microsoft.Storage" + } + }, + "isHnsEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" } }, + "sku": { + "name": "Standard_GRS" + }, "tags": { "key1": "value1", "key2": "value2" } - } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", - "kind": "Storage", - "location": "eastus", "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", "extendedLocation": { - "type": "EdgeZone", - "name": "losangeles001" + "name": "losangeles001", + "type": "EdgeZone" }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", "properties": { - "keyPolicy": { - "keyExpirationPeriodInDays": 20 - }, - "sasPolicy": { - "sasExpirationPeriod": "1.15:59:59", - "expirationAction": "Log" + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "allowedCopyScope": "AAD", + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } }, + "isHnsEnabled": true, "keyCreationTime": { "key1": "2021-03-18T04:42:22.4322836Z", "key2": "2021-03-18T04:42:22.4322836Z" }, - "isHnsEnabled": true, - "allowBlobPublicAccess": false, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, "minimumTlsVersion": "TLS1_2", - "allowSharedKeyAccess": true, - "creationTime": "2017-05-24T13:25:33.4863236Z", "primaryEndpoints": { - "web": "https://sto4445.web.core.windows.net/", - "dfs": "https://sto4445.dfs.core.windows.net/", "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", "file": "https://sto4445.file.core.windows.net/", - "queue": "https://sto4445.queue.core.windows.net/", - "table": "https://sto4445.table.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, "microsoftEndpoints": { - "web": "https://sto4445-microsoftrouting.web.core.windows.net/", - "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", "file": "https://sto4445-microsoftrouting.file.core.windows.net/", "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", - "table": "https://sto4445-microsoftrouting.table.core.windows.net/" + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" }, - "internetEndpoints": { - "web": "https://sto4445-internetrouting.web.core.windows.net/", - "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", - "blob": "https://sto4445-internetrouting.blob.core.windows.net/", - "file": "https://sto4445-internetrouting.file.core.windows.net/" - } + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" }, "primaryLocation": "eastus2euap", "provisioningState": "Succeeded", "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true + "routingChoice": "MicrosoftRouting" }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - }, - "blob": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - } - }, - "requireInfrastructureEncryption": false, - "keySource": "Microsoft.Storage" + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" }, "secondaryLocation": "centraluseuap", "statusOfPrimary": "available", "statusOfSecondary": "available", - "supportsHttpsTrafficOnly": true, - "allowedCopyScope": "AAD" + "supportsHttpsTrafficOnly": true }, "sku": { "name": "Standard_GRS", @@ -135,10 +136,11 @@ "tags": { "key1": "value1", "key2": "value2" - }, - "type": "Microsoft.Storage/storageAccounts" + } } }, "202": {} - } + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateAllowedCopyScopeToAAD" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateAllowedCopyScopeToPrivateLink.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateAllowedCopyScopeToPrivateLink.json index 8be902ea0cf1..64c3ad8c123b 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateAllowedCopyScopeToPrivateLink.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateAllowedCopyScopeToPrivateLink.json @@ -1,132 +1,133 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9101", "accountName": "sto4445", "api-version": "2025-06-01", "parameters": { - "sku": { - "name": "Standard_GRS" - }, "kind": "Storage", "location": "eastus", "properties": { - "keyPolicy": { - "keyExpirationPeriodInDays": 20 - }, - "sasPolicy": { - "sasExpirationPeriod": "1.15:59:59", - "expirationAction": "Log" - }, - "isHnsEnabled": true, "allowBlobPublicAccess": false, - "minimumTlsVersion": "TLS1_2", "allowSharedKeyAccess": true, "allowedCopyScope": "PrivateLink", - "routingPreference": { - "routingChoice": "MicrosoftRouting", - "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true - }, "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, "services": { - "file": { - "keyType": "Account", - "enabled": true - }, "blob": { - "keyType": "Account", - "enabled": true + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" } - }, - "requireInfrastructureEncryption": false, - "keySource": "Microsoft.Storage" + } + }, + "isHnsEnabled": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, + "minimumTlsVersion": "TLS1_2", + "routingPreference": { + "publishInternetEndpoints": true, + "publishMicrosoftEndpoints": true, + "routingChoice": "MicrosoftRouting" + }, + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" } }, + "sku": { + "name": "Standard_GRS" + }, "tags": { "key1": "value1", "key2": "value2" } - } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", - "kind": "Storage", - "location": "eastus", "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", "extendedLocation": { - "type": "EdgeZone", - "name": "losangeles001" + "name": "losangeles001", + "type": "EdgeZone" }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", "properties": { - "keyPolicy": { - "keyExpirationPeriodInDays": 20 - }, - "sasPolicy": { - "sasExpirationPeriod": "1.15:59:59", - "expirationAction": "Log" + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "allowedCopyScope": "PrivateLink", + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } }, + "isHnsEnabled": true, "keyCreationTime": { "key1": "2021-03-18T04:42:22.4322836Z", "key2": "2021-03-18T04:42:22.4322836Z" }, - "isHnsEnabled": true, - "allowBlobPublicAccess": false, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, "minimumTlsVersion": "TLS1_2", - "allowSharedKeyAccess": true, - "creationTime": "2017-05-24T13:25:33.4863236Z", "primaryEndpoints": { - "web": "https://sto4445.web.core.windows.net/", - "dfs": "https://sto4445.dfs.core.windows.net/", "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", "file": "https://sto4445.file.core.windows.net/", - "queue": "https://sto4445.queue.core.windows.net/", - "table": "https://sto4445.table.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, "microsoftEndpoints": { - "web": "https://sto4445-microsoftrouting.web.core.windows.net/", - "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", "file": "https://sto4445-microsoftrouting.file.core.windows.net/", "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", - "table": "https://sto4445-microsoftrouting.table.core.windows.net/" + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" }, - "internetEndpoints": { - "web": "https://sto4445-internetrouting.web.core.windows.net/", - "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", - "blob": "https://sto4445-internetrouting.blob.core.windows.net/", - "file": "https://sto4445-internetrouting.file.core.windows.net/" - } + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" }, "primaryLocation": "eastus2euap", "provisioningState": "Succeeded", "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true + "routingChoice": "MicrosoftRouting" }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - }, - "blob": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - } - }, - "requireInfrastructureEncryption": false, - "keySource": "Microsoft.Storage" + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" }, "secondaryLocation": "centraluseuap", "statusOfPrimary": "available", "statusOfSecondary": "available", - "supportsHttpsTrafficOnly": true, - "allowedCopyScope": "PrivateLink" + "supportsHttpsTrafficOnly": true }, "sku": { "name": "Standard_GRS", @@ -135,10 +136,11 @@ "tags": { "key1": "value1", "key2": "value2" - }, - "type": "Microsoft.Storage/storageAccounts" + } } }, "202": {} - } + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateAllowedCopyScopeToPrivateLink" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateDisallowPublicNetworkAccess.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateDisallowPublicNetworkAccess.json index 33f5f25433fa..fc00bd1fff14 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateDisallowPublicNetworkAccess.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateDisallowPublicNetworkAccess.json @@ -1,136 +1,137 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9101", "accountName": "sto4445", "api-version": "2025-06-01", "parameters": { - "sku": { - "name": "Standard_GRS" + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" }, "kind": "Storage", "location": "eastus", - "extendedLocation": { - "type": "EdgeZone", - "name": "losangeles001" - }, "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, "keyPolicy": { "keyExpirationPeriodInDays": 20 }, - "sasPolicy": { - "sasExpirationPeriod": "1.15:59:59", - "expirationAction": "Log" - }, - "isHnsEnabled": true, - "allowBlobPublicAccess": false, "minimumTlsVersion": "TLS1_2", - "allowSharedKeyAccess": true, "publicNetworkAccess": "Disabled", "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true + "routingChoice": "MicrosoftRouting" }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true - }, - "blob": { - "keyType": "Account", - "enabled": true - } - }, - "requireInfrastructureEncryption": false, - "keySource": "Microsoft.Storage" + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" } }, + "sku": { + "name": "Standard_GRS" + }, "tags": { "key1": "value1", "key2": "value2" } - } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", - "kind": "Storage", - "location": "eastus", "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", "extendedLocation": { - "type": "EdgeZone", - "name": "losangeles001" + "name": "losangeles001", + "type": "EdgeZone" }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", "properties": { - "keyPolicy": { - "keyExpirationPeriodInDays": 20 - }, - "sasPolicy": { - "sasExpirationPeriod": "1.15:59:59", - "expirationAction": "Log" + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } }, + "isHnsEnabled": true, "keyCreationTime": { "key1": "2021-03-18T04:42:22.4322836Z", "key2": "2021-03-18T04:42:22.4322836Z" }, - "isHnsEnabled": true, - "allowBlobPublicAccess": false, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, "minimumTlsVersion": "TLS1_2", - "allowSharedKeyAccess": true, - "creationTime": "2017-05-24T13:25:33.4863236Z", "primaryEndpoints": { - "web": "https://sto4445.web.core.windows.net/", - "dfs": "https://sto4445.dfs.core.windows.net/", "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", "file": "https://sto4445.file.core.windows.net/", - "queue": "https://sto4445.queue.core.windows.net/", - "table": "https://sto4445.table.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, "microsoftEndpoints": { - "web": "https://sto4445-microsoftrouting.web.core.windows.net/", - "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", "file": "https://sto4445-microsoftrouting.file.core.windows.net/", "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", - "table": "https://sto4445-microsoftrouting.table.core.windows.net/" + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" }, - "internetEndpoints": { - "web": "https://sto4445-internetrouting.web.core.windows.net/", - "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", - "blob": "https://sto4445-internetrouting.blob.core.windows.net/", - "file": "https://sto4445-internetrouting.file.core.windows.net/" - } + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" }, "primaryLocation": "eastus2euap", "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true + "routingChoice": "MicrosoftRouting" }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - }, - "blob": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - } - }, - "requireInfrastructureEncryption": false, - "keySource": "Microsoft.Storage" + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" }, "secondaryLocation": "centraluseuap", "statusOfPrimary": "available", "statusOfSecondary": "available", - "supportsHttpsTrafficOnly": true, - "publicNetworkAccess": "Disabled" + "supportsHttpsTrafficOnly": true }, "sku": { "name": "Standard_GRS", @@ -139,10 +140,11 @@ "tags": { "key1": "value1", "key2": "value2" - }, - "type": "Microsoft.Storage/storageAccounts" + } } }, "202": {} - } + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateDisallowPublicNetworkAccess" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json index 5f2d4479ecb1..ac25729489d8 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json @@ -1,134 +1,135 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9101", "accountName": "sto4445", "api-version": "2025-06-01", "parameters": { - "sku": { - "name": "Standard_GRS" + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" }, "kind": "Storage", "location": "eastus", - "extendedLocation": { - "type": "EdgeZone", - "name": "losangeles001" - }, "properties": { - "keyPolicy": { - "keyExpirationPeriodInDays": 20 - }, - "sasPolicy": { - "sasExpirationPeriod": "1.15:59:59", - "expirationAction": "Log" - }, + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, "dnsEndpointType": "AzureDnsZone", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, "isHnsEnabled": true, "isSftpEnabled": true, - "allowBlobPublicAccess": false, - "defaultToOAuthAuthentication": false, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, "minimumTlsVersion": "TLS1_2", - "allowSharedKeyAccess": true, "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true + "routingChoice": "MicrosoftRouting" }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true - }, - "blob": { - "keyType": "Account", - "enabled": true - } - }, - "requireInfrastructureEncryption": false, - "keySource": "Microsoft.Storage" + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" } }, + "sku": { + "name": "Standard_GRS" + }, "tags": { "key1": "value1", "key2": "value2" } - } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", - "kind": "Storage", - "location": "eastus", "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", "extendedLocation": { - "type": "EdgeZone", - "name": "losangeles001" + "name": "losangeles001", + "type": "EdgeZone" }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", "properties": { - "keyPolicy": { - "keyExpirationPeriodInDays": 20 - }, - "sasPolicy": { - "sasExpirationPeriod": "1.15:59:59", - "expirationAction": "Log" + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "dnsEndpointType": "AzureDnsZone", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } }, + "isHnsEnabled": true, + "isSftpEnabled": true, "keyCreationTime": { "key1": "2021-03-18T04:42:22.4322836Z", "key2": "2021-03-18T04:42:22.4322836Z" }, - "dnsEndpointType": "AzureDnsZone", - "isHnsEnabled": true, - "isSftpEnabled": true, - "allowBlobPublicAccess": false, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, "minimumTlsVersion": "TLS1_2", - "allowSharedKeyAccess": true, - "creationTime": "2017-05-24T13:25:33.4863236Z", "primaryEndpoints": { - "web": "https://sto4445.z24.web.storage.azure.net/", - "dfs": "https://sto4445.z24.dfs.storage.azure.net/", "blob": "https://sto4445.z24.blob.storage.azure.net/", + "dfs": "https://sto4445.z24.dfs.storage.azure.net/", "file": "https://sto4445.z24.file.storage.azure.net/", - "queue": "https://sto4445.z24.queue.storage.azure.net/", - "table": "https://sto4445.z24.table.storage.azure.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.z24.blob.storage.azure.net/", + "dfs": "https://sto4445-internetrouting.z24.dfs.storage.azure.net/", + "file": "https://sto4445-internetrouting.z24.file.storage.azure.net/", + "web": "https://sto4445-internetrouting.z24.web.storage.azure.net/" + }, "microsoftEndpoints": { - "web": "https://sto4445-microsoftrouting.z24.web.storage.azure.net/", - "dfs": "https://sto4445-microsoftrouting.z24.dfs.storage.azure.net/", "blob": "https://sto4445-microsoftrouting.z24.blob.storage.azure.net/", + "dfs": "https://sto4445-microsoftrouting.z24.dfs.storage.azure.net/", "file": "https://sto4445-microsoftrouting.z24.file.storage.azure.net/", "queue": "https://sto4445-microsoftrouting.z24.queue.storage.azure.net/", - "table": "https://sto4445-microsoftrouting.z24.table.storage.azure.net/" + "table": "https://sto4445-microsoftrouting.z24.table.storage.azure.net/", + "web": "https://sto4445-microsoftrouting.z24.web.storage.azure.net/" }, - "internetEndpoints": { - "web": "https://sto4445-internetrouting.z24.web.storage.azure.net/", - "dfs": "https://sto4445-internetrouting.z24.dfs.storage.azure.net/", - "blob": "https://sto4445-internetrouting.z24.blob.storage.azure.net/", - "file": "https://sto4445-internetrouting.z24.file.storage.azure.net/" - } + "queue": "https://sto4445.z24.queue.storage.azure.net/", + "table": "https://sto4445.z24.table.storage.azure.net/", + "web": "https://sto4445.z24.web.storage.azure.net/" }, "primaryLocation": "eastus2euap", "provisioningState": "Succeeded", "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true + "routingChoice": "MicrosoftRouting" }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - }, - "blob": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - } - }, - "requireInfrastructureEncryption": false, - "keySource": "Microsoft.Storage" + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" }, "secondaryLocation": "centraluseuap", "statusOfPrimary": "available", @@ -142,10 +143,11 @@ "tags": { "key1": "value1", "key2": "value2" - }, - "type": "Microsoft.Storage/storageAccounts" + } } }, "202": {} - } + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateDnsEndpointTypeToAzureDnsZone" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateDnsEndpointTypeToStandard.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateDnsEndpointTypeToStandard.json index fa63dba62abb..a1b3c27ba10f 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateDnsEndpointTypeToStandard.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateDnsEndpointTypeToStandard.json @@ -1,134 +1,135 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9101", "accountName": "sto4445", "api-version": "2025-06-01", "parameters": { - "sku": { - "name": "Standard_GRS" + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" }, "kind": "Storage", "location": "eastus", - "extendedLocation": { - "type": "EdgeZone", - "name": "losangeles001" - }, "properties": { - "keyPolicy": { - "keyExpirationPeriodInDays": 20 - }, - "sasPolicy": { - "sasExpirationPeriod": "1.15:59:59", - "expirationAction": "Log" - }, + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, "dnsEndpointType": "Standard", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, "isHnsEnabled": true, "isSftpEnabled": true, - "allowBlobPublicAccess": false, - "defaultToOAuthAuthentication": false, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, "minimumTlsVersion": "TLS1_2", - "allowSharedKeyAccess": true, "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true + "routingChoice": "MicrosoftRouting" }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true - }, - "blob": { - "keyType": "Account", - "enabled": true - } - }, - "requireInfrastructureEncryption": false, - "keySource": "Microsoft.Storage" + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" } }, + "sku": { + "name": "Standard_GRS" + }, "tags": { "key1": "value1", "key2": "value2" } - } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", - "kind": "Storage", - "location": "eastus", "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", "extendedLocation": { - "type": "EdgeZone", - "name": "losangeles001" + "name": "losangeles001", + "type": "EdgeZone" }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", "properties": { - "keyPolicy": { - "keyExpirationPeriodInDays": 20 - }, - "sasPolicy": { - "sasExpirationPeriod": "1.15:59:59", - "expirationAction": "Log" + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "dnsEndpointType": "Standard", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } }, + "isHnsEnabled": true, + "isSftpEnabled": true, "keyCreationTime": { "key1": "2021-03-18T04:42:22.4322836Z", "key2": "2021-03-18T04:42:22.4322836Z" }, - "dnsEndpointType": "Standard", - "isHnsEnabled": true, - "isSftpEnabled": true, - "allowBlobPublicAccess": false, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, "minimumTlsVersion": "TLS1_2", - "allowSharedKeyAccess": true, - "creationTime": "2017-05-24T13:25:33.4863236Z", "primaryEndpoints": { - "web": "https://sto4445.web.core.windows.net/", - "dfs": "https://sto4445.dfs.core.windows.net/", "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", "file": "https://sto4445.file.core.windows.net/", - "queue": "https://sto4445.queue.core.windows.net/", - "table": "https://sto4445.table.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, "microsoftEndpoints": { - "web": "https://sto4445-microsoftrouting.web.core.windows.net/", - "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", "file": "https://sto4445-microsoftrouting.file.core.windows.net/", "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", - "table": "https://sto4445-microsoftrouting.table.core.windows.net/" + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" }, - "internetEndpoints": { - "web": "https://sto4445-internetrouting.web.core.windows.net/", - "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", - "blob": "https://sto4445-internetrouting.blob.core.windows.net/", - "file": "https://sto4445-internetrouting.file.core.windows.net/" - } + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" }, "primaryLocation": "eastus2euap", "provisioningState": "Succeeded", "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true + "routingChoice": "MicrosoftRouting" }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - }, - "blob": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - } - }, - "requireInfrastructureEncryption": false, - "keySource": "Microsoft.Storage" + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" }, "secondaryLocation": "centraluseuap", "statusOfPrimary": "available", @@ -142,10 +143,11 @@ "tags": { "key1": "value1", "key2": "value2" - }, - "type": "Microsoft.Storage/storageAccounts" + } } }, "202": {} - } + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateDnsEndpointTypeToStandard" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateEnablePublicNetworkAccess.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateEnablePublicNetworkAccess.json index ccb095527e21..11337aa43e7f 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateEnablePublicNetworkAccess.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateEnablePublicNetworkAccess.json @@ -1,136 +1,137 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9101", "accountName": "sto4445", "api-version": "2025-06-01", "parameters": { - "sku": { - "name": "Standard_GRS" + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" }, "kind": "Storage", "location": "eastus", - "extendedLocation": { - "type": "EdgeZone", - "name": "losangeles001" - }, "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isHnsEnabled": true, "keyPolicy": { "keyExpirationPeriodInDays": 20 }, - "sasPolicy": { - "sasExpirationPeriod": "1.15:59:59", - "expirationAction": "Log" - }, - "isHnsEnabled": true, - "allowBlobPublicAccess": false, "minimumTlsVersion": "TLS1_2", - "allowSharedKeyAccess": true, "publicNetworkAccess": "Enabled", "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true + "routingChoice": "MicrosoftRouting" }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true - }, - "blob": { - "keyType": "Account", - "enabled": true - } - }, - "requireInfrastructureEncryption": false, - "keySource": "Microsoft.Storage" + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" } }, + "sku": { + "name": "Standard_GRS" + }, "tags": { "key1": "value1", "key2": "value2" } - } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", - "kind": "Storage", - "location": "eastus", "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", "extendedLocation": { - "type": "EdgeZone", - "name": "losangeles001" + "name": "losangeles001", + "type": "EdgeZone" }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", "properties": { - "keyPolicy": { - "keyExpirationPeriodInDays": 20 - }, - "sasPolicy": { - "sasExpirationPeriod": "1.15:59:59", - "expirationAction": "Log" + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } }, + "isHnsEnabled": true, "keyCreationTime": { "key1": "2021-03-18T04:42:22.4322836Z", "key2": "2021-03-18T04:42:22.4322836Z" }, - "isHnsEnabled": true, - "allowBlobPublicAccess": false, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, "minimumTlsVersion": "TLS1_2", - "allowSharedKeyAccess": true, - "creationTime": "2017-05-24T13:25:33.4863236Z", "primaryEndpoints": { - "web": "https://sto4445.web.core.windows.net/", - "dfs": "https://sto4445.dfs.core.windows.net/", "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", "file": "https://sto4445.file.core.windows.net/", - "queue": "https://sto4445.queue.core.windows.net/", - "table": "https://sto4445.table.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, "microsoftEndpoints": { - "web": "https://sto4445-microsoftrouting.web.core.windows.net/", - "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", "file": "https://sto4445-microsoftrouting.file.core.windows.net/", "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", - "table": "https://sto4445-microsoftrouting.table.core.windows.net/" + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" }, - "internetEndpoints": { - "web": "https://sto4445-internetrouting.web.core.windows.net/", - "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", - "blob": "https://sto4445-internetrouting.blob.core.windows.net/", - "file": "https://sto4445-internetrouting.file.core.windows.net/" - } + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" }, "primaryLocation": "eastus2euap", "provisioningState": "Succeeded", + "publicNetworkAccess": "Enabled", "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true + "routingChoice": "MicrosoftRouting" }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - }, - "blob": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - } - }, - "requireInfrastructureEncryption": false, - "keySource": "Microsoft.Storage" + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" }, "secondaryLocation": "centraluseuap", "statusOfPrimary": "available", "statusOfSecondary": "available", - "supportsHttpsTrafficOnly": true, - "publicNetworkAccess": "Enabled" + "supportsHttpsTrafficOnly": true }, "sku": { "name": "Standard_GRS", @@ -139,10 +140,11 @@ "tags": { "key1": "value1", "key2": "value2" - }, - "type": "Microsoft.Storage/storageAccounts" + } } }, "202": {} - } + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateEnablePublicNetworkAccess" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json index 541e0082801b..e077d606a489 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json @@ -1,67 +1,69 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res7687", "accountName": "dst112", - "objectReplicationPolicyId": "default", "api-version": "2025-06-01", "monitor": "true", + "objectReplicationPolicyId": "default", "properties": { "properties": { - "sourceAccount": "src1122", "destinationAccount": "dst112", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, "rules": [ { - "sourceContainer": "scont139", "destinationContainer": "dcont139", "filters": { "prefixMatch": [ "blobA", "blobB" ] - } + }, + "sourceContainer": "scont139" } ], - "metrics": { - "enabled": true - }, - "priorityReplication": { - "enabled": true - } + "sourceAccount": "src1122" } - } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/dst112/objectReplicationPolicies/2a20bb73-5717-4635-985a-5d4cf777438f", "name": "2a20bb73-5717-4635-985a-5d4cf777438f", "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/dst112/objectReplicationPolicies/2a20bb73-5717-4635-985a-5d4cf777438f", "properties": { - "policyId": "2a20bb73-5717-4635-985a-5d4cf777438f", - "sourceAccount": "src1122", "destinationAccount": "dst112", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "policyId": "2a20bb73-5717-4635-985a-5d4cf777438f", "rules": [ { - "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", - "sourceContainer": "sourceContainer1", "destinationContainer": "destContainer1", "filters": { "prefixMatch": [ "blobA", "blobB" ] - } + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "sourceContainer1" } ], - "metrics": { - "enabled": true - }, - "priorityReplication": { - "enabled": true - } + "sourceAccount": "src1122" } } } - } + }, + "operationId": "ObjectReplicationPolicies_CreateOrUpdate", + "title": "StorageAccountCreateObjectReplicationPolicyOnDestination" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateObjectReplicationPolicyOnSource.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateObjectReplicationPolicyOnSource.json index ab527a448a3b..257f3d732375 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateObjectReplicationPolicyOnSource.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateObjectReplicationPolicyOnSource.json @@ -1,71 +1,73 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res7687", "accountName": "src1122", - "objectReplicationPolicyId": "2a20bb73-5717-4635-985a-5d4cf777438f", "api-version": "2025-06-01", "monitor": "true", + "objectReplicationPolicyId": "2a20bb73-5717-4635-985a-5d4cf777438f", "properties": { "properties": { - "sourceAccount": "src1122", "destinationAccount": "dst112", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, "rules": [ { - "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", - "sourceContainer": "scont139", "destinationContainer": "dcont139", "filters": { + "minCreationTime": "2020-02-19T16:05:00Z", "prefixMatch": [ "blobA", "blobB" - ], - "minCreationTime": "2020-02-19T16:05:00Z" - } + ] + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "scont139" } ], - "metrics": { - "enabled": true - }, - "priorityReplication": { - "enabled": true - } + "sourceAccount": "src1122" } - } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/src1122/objectReplicationPolicies/2a20bb73-5717-4635-985a-5d4cf777438f", "name": "2a20bb73-5717-4635-985a-5d4cf777438f", "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/src1122/objectReplicationPolicies/2a20bb73-5717-4635-985a-5d4cf777438f", "properties": { - "policyId": "2a20bb73-5717-4635-985a-5d4cf777438f", - "enabledTime": "2019-06-08T03:01:55.7168089Z", - "sourceAccount": "src1122", "destinationAccount": "dst112", + "enabledTime": "2019-06-08T03:01:55.7168089Z", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "policyId": "2a20bb73-5717-4635-985a-5d4cf777438f", "rules": [ { - "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", - "sourceContainer": "sourceContainer1", "destinationContainer": "destContainer1", "filters": { + "minCreationTime": "2020-02-19T16:05:00Z", "prefixMatch": [ "blobA", "blobB" - ], - "minCreationTime": "2020-02-19T16:05:00Z" - } + ] + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "sourceContainer1" } ], - "metrics": { - "enabled": true - }, - "priorityReplication": { - "enabled": true - } + "sourceAccount": "src1122" } } } - } + }, + "operationId": "ObjectReplicationPolicies_CreateOrUpdate", + "title": "StorageAccountCreateObjectReplicationPolicyOnSource" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreatePremiumBlockBlobStorage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreatePremiumBlockBlobStorage.json index cf268e015863..ac7b8204d035 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreatePremiumBlockBlobStorage.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreatePremiumBlockBlobStorage.json @@ -1,74 +1,75 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9101", "accountName": "sto4445", "api-version": "2025-06-01", "parameters": { - "sku": { - "name": "Premium_LRS" - }, "kind": "BlockBlobStorage", "location": "eastus", "properties": { - "minimumTlsVersion": "TLS1_2", "allowSharedKeyAccess": true, "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, "services": { - "file": { - "keyType": "Account", - "enabled": true - }, "blob": { - "keyType": "Account", - "enabled": true + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" } - }, - "requireInfrastructureEncryption": false, - "keySource": "Microsoft.Storage" - } + } + }, + "minimumTlsVersion": "TLS1_2" + }, + "sku": { + "name": "Premium_LRS" }, "tags": { "key1": "value1", "key2": "value2" } - } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", "kind": "Storage", "location": "eastus", - "name": "sto4445", "properties": { + "accessTier": "Premium", "allowBlobPublicAccess": false, - "minimumTlsVersion": "TLS1_2", "creationTime": "2017-05-24T13:25:33.4863236Z", - "primaryEndpoints": { - "blob": "https://sto4445.blob.core.windows.net/", - "web": "https://sto4445.web.core.windows.net/", - "dfs": "https://sto4445.dfs.core.windows.net/" - }, - "primaryLocation": "eastus2euap", - "accessTier": "Premium", - "provisioningState": "Succeeded", "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, "services": { - "file": { - "keyType": "Account", + "blob": { "enabled": true, + "keyType": "Account", "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" }, - "blob": { - "keyType": "Account", + "file": { "enabled": true, + "keyType": "Account", "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" } - }, - "requireInfrastructureEncryption": false, - "keySource": "Microsoft.Storage" + } + }, + "minimumTlsVersion": "TLS1_2", + "primaryEndpoints": { + "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" }, + "primaryLocation": "eastus2euap", + "provisioningState": "Succeeded", "statusOfPrimary": "available", "statusOfSecondary": "available", "supportsHttpsTrafficOnly": true @@ -80,10 +81,11 @@ "tags": { "key1": "value1", "key2": "value2" - }, - "type": "Microsoft.Storage/storageAccounts" + } } }, "202": {} - } + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreatePremiumBlockBlobStorage" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json index 94962cf09412..547fd3a92b05 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json @@ -1,7 +1,5 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9101", "accountName": "sto4445", "api-version": "2025-06-01", "parameters": { @@ -11,108 +9,112 @@ "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": {} } }, - "sku": { - "name": "Standard_LRS" - }, "kind": "Storage", "location": "eastus", "properties": { "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true - }, - "blob": { - "keyType": "Account", - "enabled": true - } + "identity": { + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" }, + "keySource": "Microsoft.Keyvault", "keyvaultproperties": { - "keyvaulturi": "https://myvault8569.vault.azure.net", "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", "keyversion": "" }, - "keySource": "Microsoft.Keyvault", - "identity": { - "userAssignedIdentity": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } } } + }, + "sku": { + "name": "Standard_LRS" } - } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", "identity": { + "type": "UserAssigned", "userAssignedIdentities": { "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": { - "principalId": "8d823284-1060-42a5-9ec4-ed3d831e24d7", - "clientId": "fbaa6278-1ecc-415c-819f-6e2058d3acb5" + "clientId": "fbaa6278-1ecc-415c-819f-6e2058d3acb5", + "principalId": "8d823284-1060-42a5-9ec4-ed3d831e24d7" } - }, - "type": "UserAssigned" - }, - "sku": { - "name": "Standard_LRS", - "tier": "Standard" + } }, "kind": "StorageV2", - "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", - "name": "sto4445", - "type": "Microsoft.Storage/storageAccounts", "location": "eastus", - "tags": {}, "properties": { - "privateEndpointConnections": [], - "networkAcls": { - "bypass": "AzureServices", - "virtualNetworkRules": [], - "ipRules": [], - "defaultAction": "Allow" - }, - "supportsHttpsTrafficOnly": true, + "accessTier": "Hot", + "creationTime": "2020-12-15T00:43:14.0839093Z", "encryption": { "identity": { "userAssignedIdentity": "/subscriptions/{subscription-id}/resourcegroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" }, + "keySource": "Microsoft.Keyvault", "keyvaultproperties": { - "keyvaulturi": "https://myvault8569.vault.azure.net", + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", "keyversion": "", - "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" }, "services": { - "file": { - "keyType": "Account", + "blob": { "enabled": true, + "keyType": "Account", "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" }, - "blob": { - "keyType": "Account", + "file": { "enabled": true, + "keyType": "Account", "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" } - }, - "keySource": "Microsoft.Keyvault" + } + }, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "virtualNetworkRules": [] }, - "accessTier": "Hot", - "provisioningState": "Succeeded", - "creationTime": "2020-12-15T00:43:14.0839093Z", "primaryEndpoints": { - "web": "https://sto4445.web.core.windows.net/", - "dfs": "https://sto4445.dfs.core.windows.net/", "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", "file": "https://sto4445.file.core.windows.net/", "queue": "https://sto4445.queue.core.windows.net/", - "table": "https://sto4445.table.core.windows.net/" + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" }, "primaryLocation": "eastus", - "statusOfPrimary": "available" - } + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "statusOfPrimary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "tags": {} } }, "202": {} - } + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateUserAssignedEncryptionIdentityWithCMK" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json index 5db21d90313b..b5841febb759 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json @@ -1,7 +1,5 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res131918", "accountName": "sto131918", "api-version": "2025-06-01", "parameters": { @@ -11,110 +9,114 @@ "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": {} } }, - "sku": { - "name": "Standard_LRS" - }, "kind": "Storage", "location": "eastus", "properties": { "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true - }, - "blob": { - "keyType": "Account", - "enabled": true - } + "identity": { + "federatedIdentityClientId": "f83c6b1b-4d34-47e4-bb34-9d83df58b540", + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" }, + "keySource": "Microsoft.Keyvault", "keyvaultproperties": { - "keyvaulturi": "https://myvault8569.vault.azure.net", "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", "keyversion": "" }, - "keySource": "Microsoft.Keyvault", - "identity": { - "userAssignedIdentity": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}", - "federatedIdentityClientId": "f83c6b1b-4d34-47e4-bb34-9d83df58b540" + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } } } + }, + "sku": { + "name": "Standard_LRS" } - } + }, + "resourceGroupName": "res131918", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", "identity": { + "type": "UserAssigned", "userAssignedIdentities": { "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": { - "principalId": "8d823284-1060-42a5-9ec4-ed3d831e24d7", - "clientId": "fbaa6278-1ecc-415c-819f-6e2058d3acb5" + "clientId": "fbaa6278-1ecc-415c-819f-6e2058d3acb5", + "principalId": "8d823284-1060-42a5-9ec4-ed3d831e24d7" } - }, - "type": "UserAssigned" - }, - "sku": { - "name": "Standard_LRS", - "tier": "Standard" + } }, "kind": "StorageV2", - "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", - "name": "sto4445", - "type": "Microsoft.Storage/storageAccounts", "location": "eastus", - "tags": {}, "properties": { - "privateEndpointConnections": [], - "networkAcls": { - "bypass": "AzureServices", - "virtualNetworkRules": [], - "ipRules": [], - "defaultAction": "Allow" - }, - "supportsHttpsTrafficOnly": true, + "accessTier": "Hot", + "creationTime": "2020-12-15T00:43:14.0839093Z", "encryption": { "identity": { - "userAssignedIdentity": "/subscriptions/{subscription-id}/resourcegroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}", - "federatedIdentityClientId": "f83c6b1b-4d34-47e4-bb34-9d83df58b540" + "federatedIdentityClientId": "f83c6b1b-4d34-47e4-bb34-9d83df58b540", + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourcegroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" }, + "keySource": "Microsoft.Keyvault", "keyvaultproperties": { - "keyvaulturi": "https://myvault8569.vault.azure.net", + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", "keyversion": "", - "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" }, "services": { - "file": { - "keyType": "Account", + "blob": { "enabled": true, + "keyType": "Account", "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" }, - "blob": { - "keyType": "Account", + "file": { "enabled": true, + "keyType": "Account", "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" } - }, - "keySource": "Microsoft.Keyvault" + } + }, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "virtualNetworkRules": [] }, - "accessTier": "Hot", - "provisioningState": "Succeeded", - "creationTime": "2020-12-15T00:43:14.0839093Z", "primaryEndpoints": { - "web": "https://sto4445.web.core.windows.net/", - "dfs": "https://sto4445.dfs.core.windows.net/", "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", "file": "https://sto4445.file.core.windows.net/", "queue": "https://sto4445.queue.core.windows.net/", - "table": "https://sto4445.table.core.windows.net/" + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" }, "primaryLocation": "eastus", - "statusOfPrimary": "available" - } + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "statusOfPrimary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "tags": {} } }, "202": {} - } + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId." } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateWithImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateWithImmutabilityPolicy.json index 6a8d25cfef53..5ed909ed6f3b 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateWithImmutabilityPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreateWithImmutabilityPolicy.json @@ -1,70 +1,72 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9101", "accountName": "sto4445", "api-version": "2025-06-01", "parameters": { - "sku": { - "name": "Standard_GRS" + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" }, "kind": "Storage", "location": "eastus", - "extendedLocation": { - "type": "EdgeZone", - "name": "losangeles001" - }, "properties": { "immutableStorageWithVersioning": { + "enabled": true, "immutabilityPolicy": { - "immutabilityPeriodSinceCreationInDays": 15, "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 15, "state": "Unlocked" - }, - "enabled": true + } } + }, + "sku": { + "name": "Standard_GRS" } - } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", - "kind": "Storage", - "location": "eastus", "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", "extendedLocation": { - "type": "EdgeZone", - "name": "losangeles001" + "name": "losangeles001", + "type": "EdgeZone" }, + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", "properties": { "creationTime": "2017-05-24T13:25:33.4863236Z", + "immutableStorageWithVersioning": { + "enabled": true, + "immutabilityPolicy": { + "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 15, + "state": "Unlocked" + } + }, "primaryEndpoints": { - "web": "https://sto4445.web.core.windows.net/", - "dfs": "https://sto4445.dfs.core.windows.net/", "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", "file": "https://sto4445.file.core.windows.net/", "queue": "https://sto4445.queue.core.windows.net/", - "table": "https://sto4445.table.core.windows.net/" + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" }, "primaryLocation": "eastus2euap", - "provisioningState": "Succeeded", - "immutableStorageWithVersioning": { - "immutabilityPolicy": { - "immutabilityPeriodSinceCreationInDays": 15, - "allowProtectedAppendWrites": true, - "state": "Unlocked" - }, - "enabled": true - } + "provisioningState": "Succeeded" }, "sku": { "name": "Standard_GRS", "tier": "Standard" - }, - "type": "Microsoft.Storage/storageAccounts" + } } }, "202": {} - } + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreateWithImmutabilityPolicy" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreate_placement.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreate_placement.json index 1885b34f6170..e76b8a3d6cec 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreate_placement.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreate_placement.json @@ -1,141 +1,139 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9101", "accountName": "sto4445", "api-version": "2025-06-01", "parameters": { - "sku": { - "name": "Standard_GRS" + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" }, "kind": "Storage", "location": "eastus", - "extendedLocation": { - "type": "EdgeZone", - "name": "losangeles001" - }, "placement": { "zonePlacementPolicy": "Any" }, "properties": { - "keyPolicy": { - "keyExpirationPeriodInDays": 20 - }, - "sasPolicy": { - "sasExpirationPeriod": "1.15:59:59", - "expirationAction": "Log" + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } }, "isHnsEnabled": true, "isSftpEnabled": true, - "allowBlobPublicAccess": false, - "defaultToOAuthAuthentication": false, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, "minimumTlsVersion": "TLS1_2", - "allowSharedKeyAccess": true, "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true + "routingChoice": "MicrosoftRouting" }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true - }, - "blob": { - "keyType": "Account", - "enabled": true - } - }, - "requireInfrastructureEncryption": false, - "keySource": "Microsoft.Storage" + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" } }, + "sku": { + "name": "Standard_GRS" + }, "tags": { "key1": "value1", "key2": "value2" } - } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", - "kind": "Storage", - "location": "eastus", "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", "extendedLocation": { - "type": "EdgeZone", - "name": "losangeles001" + "name": "losangeles001", + "type": "EdgeZone" }, - "zones": [ - "1" - ], + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", "placement": { "zonePlacementPolicy": "Any" }, "properties": { - "keyPolicy": { - "keyExpirationPeriodInDays": 20 - }, - "sasPolicy": { - "sasExpirationPeriod": "1.15:59:59", - "expirationAction": "Log" + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } }, + "isHnsEnabled": true, + "isSftpEnabled": true, "keyCreationTime": { "key1": "2021-03-18T04:42:22.4322836Z", "key2": "2021-03-18T04:42:22.4322836Z" }, - "isHnsEnabled": true, - "isSftpEnabled": true, - "allowBlobPublicAccess": false, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, "minimumTlsVersion": "TLS1_2", - "allowSharedKeyAccess": true, - "creationTime": "2017-05-24T13:25:33.4863236Z", "primaryEndpoints": { - "web": "https://sto4445.web.core.windows.net/", - "dfs": "https://sto4445.dfs.core.windows.net/", "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", "file": "https://sto4445.file.core.windows.net/", - "queue": "https://sto4445.queue.core.windows.net/", - "table": "https://sto4445.table.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, "microsoftEndpoints": { - "web": "https://sto4445-microsoftrouting.web.core.windows.net/", - "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", "file": "https://sto4445-microsoftrouting.file.core.windows.net/", "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", - "table": "https://sto4445-microsoftrouting.table.core.windows.net/" + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" }, - "internetEndpoints": { - "web": "https://sto4445-internetrouting.web.core.windows.net/", - "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", - "blob": "https://sto4445-internetrouting.blob.core.windows.net/", - "file": "https://sto4445-internetrouting.file.core.windows.net/" - } + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" }, "primaryLocation": "eastus2euap", "provisioningState": "Succeeded", "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true + "routingChoice": "MicrosoftRouting" }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - }, - "blob": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - } - }, - "requireInfrastructureEncryption": false, - "keySource": "Microsoft.Storage" + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" }, "secondaryLocation": "centraluseuap", "statusOfPrimary": "available", @@ -150,9 +148,13 @@ "key1": "value1", "key2": "value2" }, - "type": "Microsoft.Storage/storageAccounts" + "zones": [ + "1" + ] } }, "202": {} - } + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreate_placement" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreate_zones.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreate_zones.json index 6e14f4667a14..b5561bd54b72 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreate_zones.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountCreate_zones.json @@ -1,138 +1,136 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9101", "accountName": "sto4445", "api-version": "2025-06-01", "parameters": { - "sku": { - "name": "Standard_GRS" + "extendedLocation": { + "name": "losangeles001", + "type": "EdgeZone" }, "kind": "Storage", "location": "eastus", - "extendedLocation": { - "type": "EdgeZone", - "name": "losangeles001" - }, - "zones": [ - "1" - ], "properties": { - "keyPolicy": { - "keyExpirationPeriodInDays": 20 - }, - "sasPolicy": { - "sasExpirationPeriod": "1.15:59:59", - "expirationAction": "Log" + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } }, "isHnsEnabled": true, "isSftpEnabled": true, - "allowBlobPublicAccess": false, - "defaultToOAuthAuthentication": false, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, "minimumTlsVersion": "TLS1_2", - "allowSharedKeyAccess": true, "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true + "routingChoice": "MicrosoftRouting" }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true - }, - "blob": { - "keyType": "Account", - "enabled": true - } - }, - "requireInfrastructureEncryption": false, - "keySource": "Microsoft.Storage" + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" } }, + "sku": { + "name": "Standard_GRS" + }, "tags": { "key1": "value1", "key2": "value2" - } - } + }, + "zones": [ + "1" + ] + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", - "kind": "Storage", - "location": "eastus", "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", "extendedLocation": { - "type": "EdgeZone", - "name": "losangeles001" + "name": "losangeles001", + "type": "EdgeZone" }, - "zones": [ - "1" - ], + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", + "kind": "Storage", + "location": "eastus", "properties": { - "keyPolicy": { - "keyExpirationPeriodInDays": 20 - }, - "sasPolicy": { - "sasExpirationPeriod": "1.15:59:59", - "expirationAction": "Log" + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-05-24T13:25:33.4863236Z", + "encryption": { + "keySource": "Microsoft.Storage", + "requireInfrastructureEncryption": false, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } }, + "isHnsEnabled": true, + "isSftpEnabled": true, "keyCreationTime": { "key1": "2021-03-18T04:42:22.4322836Z", "key2": "2021-03-18T04:42:22.4322836Z" }, - "isHnsEnabled": true, - "isSftpEnabled": true, - "allowBlobPublicAccess": false, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, "minimumTlsVersion": "TLS1_2", - "allowSharedKeyAccess": true, - "creationTime": "2017-05-24T13:25:33.4863236Z", "primaryEndpoints": { - "web": "https://sto4445.web.core.windows.net/", - "dfs": "https://sto4445.dfs.core.windows.net/", "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", "file": "https://sto4445.file.core.windows.net/", - "queue": "https://sto4445.queue.core.windows.net/", - "table": "https://sto4445.table.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto4445-internetrouting.blob.core.windows.net/", + "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", + "file": "https://sto4445-internetrouting.file.core.windows.net/", + "web": "https://sto4445-internetrouting.web.core.windows.net/" + }, "microsoftEndpoints": { - "web": "https://sto4445-microsoftrouting.web.core.windows.net/", - "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", "blob": "https://sto4445-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto4445-microsoftrouting.dfs.core.windows.net/", "file": "https://sto4445-microsoftrouting.file.core.windows.net/", "queue": "https://sto4445-microsoftrouting.queue.core.windows.net/", - "table": "https://sto4445-microsoftrouting.table.core.windows.net/" + "table": "https://sto4445-microsoftrouting.table.core.windows.net/", + "web": "https://sto4445-microsoftrouting.web.core.windows.net/" }, - "internetEndpoints": { - "web": "https://sto4445-internetrouting.web.core.windows.net/", - "dfs": "https://sto4445-internetrouting.dfs.core.windows.net/", - "blob": "https://sto4445-internetrouting.blob.core.windows.net/", - "file": "https://sto4445-internetrouting.file.core.windows.net/" - } + "queue": "https://sto4445.queue.core.windows.net/", + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" }, "primaryLocation": "eastus2euap", "provisioningState": "Succeeded", "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true + "routingChoice": "MicrosoftRouting" }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - }, - "blob": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - } - }, - "requireInfrastructureEncryption": false, - "keySource": "Microsoft.Storage" + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" }, "secondaryLocation": "centraluseuap", "statusOfPrimary": "available", @@ -147,9 +145,13 @@ "key1": "value1", "key2": "value2" }, - "type": "Microsoft.Storage/storageAccounts" + "zones": [ + "1" + ] } }, "202": {} - } + }, + "operationId": "StorageAccounts_Create", + "title": "StorageAccountCreate_zones" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountDelete.json index fe75274cdc3e..f8dda7fe032b 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountDelete.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountDelete.json @@ -1,13 +1,15 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res4228", "accountName": "sto2434", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res4228", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, "204": {} - } + }, + "operationId": "StorageAccounts_Delete", + "title": "StorageAccountDelete" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountDeleteBlobInventoryPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountDeleteBlobInventoryPolicy.json index c3d439b1c92a..94e00b1b701f 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountDeleteBlobInventoryPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountDeleteBlobInventoryPolicy.json @@ -1,14 +1,16 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res6977", "accountName": "sto2527", - "blobInventoryPolicyName": "default", "api-version": "2025-06-01", - "monitor": "true" + "blobInventoryPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, "204": {} - } + }, + "operationId": "BlobInventoryPolicies_Delete", + "title": "StorageAccountDeleteBlobInventoryPolicy" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountDeleteManagementPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountDeleteManagementPolicy.json index 80b783057ee1..d9bba76424fd 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountDeleteManagementPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountDeleteManagementPolicy.json @@ -1,14 +1,16 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res6977", "accountName": "sto2527", - "managementPolicyName": "default", "api-version": "2025-06-01", - "monitor": "true" + "managementPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, "204": {} - } + }, + "operationId": "ManagementPolicies_Delete", + "title": "StorageAccountDeleteManagementPolicies" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountDeleteObjectReplicationPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountDeleteObjectReplicationPolicy.json index 634a3a3739b5..cca882d45dae 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountDeleteObjectReplicationPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountDeleteObjectReplicationPolicy.json @@ -1,14 +1,16 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res6977", "accountName": "sto2527", - "objectReplicationPolicyId": "{objectReplicationPolicy-Id}", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "objectReplicationPolicyId": "{objectReplicationPolicy-Id}", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, "204": {} - } + }, + "operationId": "ObjectReplicationPolicies_Delete", + "title": "StorageAccountDeleteObjectReplicationPolicies" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountDeletePrivateEndpointConnection.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountDeletePrivateEndpointConnection.json index 46b2f8ebd44a..ea1ce748fe17 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountDeletePrivateEndpointConnection.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountDeletePrivateEndpointConnection.json @@ -1,14 +1,16 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res6977", "accountName": "sto2527", - "privateEndpointConnectionName": "{privateEndpointConnectionName}", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, "204": {} - } + }, + "operationId": "PrivateEndpointConnections_Delete", + "title": "StorageAccountDeletePrivateEndpointConnection" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountEnableAD.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountEnableAD.json index 643add0af887..ae90b658a61a 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountEnableAD.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountEnableAD.json @@ -1,57 +1,58 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9407", "accountName": "sto8596", "api-version": "2025-06-01", "monitor": "true", "parameters": { "properties": { "azureFilesIdentityBasedAuthentication": { - "directoryServiceOptions": "AD", "activeDirectoryProperties": { - "domainName": "adtest.com", - "netBiosDomainName": "adtest.com", - "forestName": "adtest.com", + "accountType": "User", + "azureStorageSid": "S-1-5-21-2400535526-2334094090-2402026252-0012", "domainGuid": "aebfc118-9fa9-4732-a21f-d98e41a77ae1", + "domainName": "adtest.com", "domainSid": "S-1-5-21-2400535526-2334094090-2402026252", - "azureStorageSid": "S-1-5-21-2400535526-2334094090-2402026252-0012", - "samAccountName": "sam12498", - "accountType": "User" - } + "forestName": "adtest.com", + "netBiosDomainName": "adtest.com", + "samAccountName": "sam12498" + }, + "directoryServiceOptions": "AD" } } - } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", "kind": "Storage", "location": "eastus2(stage)", - "name": "sto8596", "properties": { - "creationTime": "2017-06-01T02:42:41.7633306Z", "azureFilesIdentityBasedAuthentication": { - "directoryServiceOptions": "AD", "activeDirectoryProperties": { - "domainName": "adtest.com", - "netBiosDomainName": "adtest.com", - "forestName": "adtest.com", + "accountType": "User", + "azureStorageSid": "S-1-5-21-2400535526-2334094090-2402026252-0012", "domainGuid": "aebfc118-9fa9-4732-a21f-d98e41a77ae1", + "domainName": "adtest.com", "domainSid": "S-1-5-21-2400535526-2334094090-2402026252", - "azureStorageSid": "S-1-5-21-2400535526-2334094090-2402026252-0012", - "samAccountName": "sam12498", - "accountType": "User" - } + "forestName": "adtest.com", + "netBiosDomainName": "adtest.com", + "samAccountName": "sam12498" + }, + "directoryServiceOptions": "AD" }, + "creationTime": "2017-06-01T02:42:41.7633306Z", "primaryEndpoints": { - "web": "https://sto8596.web.core.windows.net/", - "dfs": "https://sto8596.dfs.core.windows.net/", "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", "file": "https://sto8596.file.core.windows.net/", "queue": "https://sto8596.queue.core.windows.net/", - "table": "https://sto8596.table.core.windows.net/" + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" }, "primaryLocation": "eastus2(stage)", "provisioningState": "Succeeded", @@ -67,9 +68,10 @@ "tags": { "key1": "value1", "key2": "value2" - }, - "type": "Microsoft.Storage/storageAccounts" + } } } - } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountEnableAD" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountEnableCMK.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountEnableCMK.json index 98f254d1c502..9eb6d840c72f 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountEnableCMK.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountEnableCMK.json @@ -1,76 +1,77 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9407", "accountName": "sto8596", "api-version": "2025-06-01", "monitor": "true", "parameters": { "properties": { "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true - }, - "blob": { - "keyType": "Account", - "enabled": true - } - }, "keySource": "Microsoft.Keyvault", "keyvaultproperties": { - "keyvaulturi": "https://myvault8569.vault.azure.net", "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", "keyversion": "" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } } } } - } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", "identity": { + "type": "SystemAssigned", "principalId": "911871cc-ffd1-4fc4-ac11-7a316433ea66", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "type": "SystemAssigned" + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" }, "kind": "Storage", "location": "eastus2(stage)", - "name": "sto8596", "properties": { "creationTime": "2017-06-01T02:42:41.7633306Z", "encryption": { + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, "services": { - "file": { - "keyType": "Account", + "blob": { "enabled": true, + "keyType": "Account", "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" }, - "blob": { - "keyType": "Account", + "file": { "enabled": true, + "keyType": "Account", "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" } - }, - "keySource": "Microsoft.Keyvault", - "keyvaultproperties": { - "keyvaulturi": "https://myvault8569.vault.azure.net", - "keyname": "wrappingKey", - "keyversion": "", - "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", - "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" } }, "primaryEndpoints": { - "web": "https://sto8596.web.core.windows.net/", - "dfs": "https://sto8596.dfs.core.windows.net/", "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", "file": "https://sto8596.file.core.windows.net/", "queue": "https://sto8596.queue.core.windows.net/", - "table": "https://sto8596.table.core.windows.net/" + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" }, "primaryLocation": "eastus2(stage)", "provisioningState": "Succeeded", @@ -86,9 +87,10 @@ "tags": { "key1": "value1", "key2": "value2" - }, - "type": "Microsoft.Storage/storageAccounts" + } } } - } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountEnableCMK" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountEnableSmbOAuth.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountEnableSmbOAuth.json index 646344fe1f9d..921e747077c0 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountEnableSmbOAuth.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountEnableSmbOAuth.json @@ -1,7 +1,5 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9407", "accountName": "sto8596", "api-version": "2025-06-01", "monitor": "true", @@ -14,30 +12,33 @@ } } } - } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", "kind": "Storage", "location": "eastus2(stage)", - "name": "sto8596", "properties": { - "creationTime": "2017-06-01T02:42:41.7633306Z", "azureFilesIdentityBasedAuthentication": { "directoryServiceOptions": "None", "smbOAuthSettings": { "isSmbOAuthEnabled": true } }, + "creationTime": "2017-06-01T02:42:41.7633306Z", "primaryEndpoints": { - "web": "https://sto8596.web.core.windows.net/", - "dfs": "https://sto8596.dfs.core.windows.net/", "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", "file": "https://sto8596.file.core.windows.net/", "queue": "https://sto8596.queue.core.windows.net/", - "table": "https://sto8596.table.core.windows.net/" + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" }, "primaryLocation": "eastus2(stage)", "provisioningState": "Succeeded", @@ -53,9 +54,10 @@ "tags": { "key1": "value1", "key2": "value2" - }, - "type": "Microsoft.Storage/storageAccounts" + } } } - } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountEnableSmbOAuth" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountEncryptionScopeList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountEncryptionScopeList.json index e42691f42b27..f70aebe0a871 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountEncryptionScopeList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountEncryptionScopeList.json @@ -1,43 +1,45 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "resource-group-name", "accountName": "accountname", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "nextLink": null, "value": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/scope-1", "name": "scope-1", "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/scope-1", "properties": { - "source": "Microsoft.Storage", - "state": "Enabled", "creationTime": "2018-10-16T02:42:41.7633306Z", - "lastModifiedTime": "2018-10-16T02:42:41.7633306Z" + "lastModifiedTime": "2018-10-16T02:42:41.7633306Z", + "source": "Microsoft.Storage", + "state": "Enabled" } }, { - "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/scope-2", "name": "scope-2", "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/scope-2", "properties": { - "source": "Microsoft.KeyVault", - "state": "Enabled", + "creationTime": "2018-10-16T04:32:14.3355306Z", "keyVaultProperties": { "keyUri": "https://testvault.vault.core.windows.net/keys/key1/863425f1358359c" }, - "creationTime": "2018-10-16T04:32:14.3355306Z", - "lastModifiedTime": "2018-10-17T06:23:14.4513306Z" + "lastModifiedTime": "2018-10-17T06:23:14.4513306Z", + "source": "Microsoft.KeyVault", + "state": "Enabled" } } - ], - "nextLink": null + ] } } - } + }, + "operationId": "EncryptionScopes_List", + "title": "StorageAccountEncryptionScopeList" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountFailover.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountFailover.json index fadd6cf02bae..116d354dbee8 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountFailover.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountFailover.json @@ -1,10 +1,10 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res4228", "accountName": "sto2434", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res4228", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, @@ -13,5 +13,7 @@ "Location": "https://endpoint:port/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/{location}/asyncoperations/{operationid}?monitor=true&api-version=2022-09-01" } } - } + }, + "operationId": "StorageAccounts_Failover", + "title": "StorageAccountFailover" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountFailoverPlanned.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountFailoverPlanned.json index 6f1a726dece5..023230857ea3 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountFailoverPlanned.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountFailoverPlanned.json @@ -1,11 +1,11 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res4228", "accountName": "sto2434", "api-version": "2025-06-01", + "failoverType": "Planned", "monitor": "true", - "failoverType": "Planned" + "resourceGroupName": "res4228", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, @@ -14,5 +14,7 @@ "Location": "https://endpoint:port/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/{location}/asyncoperations/{operationid}?monitor=true&api-version=2022-09-01" } } - } + }, + "operationId": "StorageAccounts_Failover", + "title": "StorageAccountFailoverPlanned" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetAsyncSkuConversionStatus.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetAsyncSkuConversionStatus.json index dbaaac744a21..f302a6e376ae 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetAsyncSkuConversionStatus.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetAsyncSkuConversionStatus.json @@ -1,34 +1,36 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9407", "accountName": "sto8596", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", "kind": "StorageV2", "location": "eastus", - "name": "sto8596", "properties": { "allowBlobPublicAccess": false, "minimumTlsVersion": "TLS1_2", "storageAccountSkuConversionStatus": { + "endTime": "2021-09-02T02:53:39.0932539Z", "skuConversionStatus": "InProgress", - "targetSkuName": "Standard_GRS", "startTime": "2022-09-01T02:53:39.0932539Z", - "endTime": "2021-09-02T02:53:39.0932539Z" + "targetSkuName": "Standard_GRS" } }, "sku": { "name": "Standard_GRS", "tier": "Standard" - }, - "type": "Microsoft.Storage/storageAccounts" + } } } - } + }, + "operationId": "StorageAccounts_GetProperties", + "title": "StorageAccountGetAsyncSkuConversionStatus" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetBlobInventoryPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetBlobInventoryPolicy.json index ce787f11406b..c9bd86e45ec3 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetBlobInventoryPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetBlobInventoryPolicy.json @@ -1,44 +1,43 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res7687", "accountName": "sto9699", - "blobInventoryPolicyName": "default", "api-version": "2025-06-01", - "monitor": "true" + "blobInventoryPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", "name": "DefaultInventoryPolicy", "type": "Microsoft.Storage/storageAccounts/inventoryPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", "properties": { + "lastModifiedTime": "2020-10-05T02:53:39.0932539Z", "policy": { - "enabled": true, "type": "Inventory", + "enabled": true, "rules": [ { - "enabled": true, "name": "inventoryPolicyRule1", - "destination": "container1", "definition": { + "format": "Csv", "filters": { "blobTypes": [ "blockBlob", "appendBlob", "pageBlob" ], + "includeBlobVersions": true, + "includeSnapshots": true, "prefixMatch": [ "inventoryprefix1", "inventoryprefix2" - ], - "includeSnapshots": true, - "includeBlobVersions": true + ] }, - "format": "Csv", - "schedule": "Daily", "objectType": "Blob", + "schedule": "Daily", "schemaFields": [ "Name", "Creation-Time", @@ -53,13 +52,16 @@ "IsCurrentVersion", "Metadata" ] - } + }, + "destination": "container1", + "enabled": true } ] - }, - "lastModifiedTime": "2020-10-05T02:53:39.0932539Z" + } } } } - } + }, + "operationId": "BlobInventoryPolicies_Get", + "title": "StorageAccountGetBlobInventoryPolicy" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetEncryptionScope.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetEncryptionScope.json index 153a3126892a..f9f62ece745d 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetEncryptionScope.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetEncryptionScope.json @@ -1,25 +1,27 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "resource-group-name", "accountName": "accountname", - "encryptionScopeName": "{encryption-scope-name}", "api-version": "2025-06-01", - "monitor": "true" + "encryptionScopeName": "{encryption-scope-name}", + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", "name": "{encyrption-scope-name}", "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", "properties": { - "source": "Microsoft.Storage", - "state": "Enabled", "creationTime": "2018-10-16T02:42:41.7633306Z", - "lastModifiedTime": "2018-10-16T02:42:41.7633306Z" + "lastModifiedTime": "2018-10-16T02:42:41.7633306Z", + "source": "Microsoft.Storage", + "state": "Enabled" } } } - } + }, + "operationId": "EncryptionScopes_Get", + "title": "StorageAccountGetEncryptionScope" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetManagementPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetManagementPolicy.json index 305030f00bc2..6663709d25e6 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetManagementPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetManagementPolicy.json @@ -1,44 +1,36 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res6977", "accountName": "sto2527", - "managementPolicyName": "default", "api-version": "2025-06-01", - "monitor": "true" + "managementPolicyName": "default", + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", "name": "DefaultManagementPolicy", "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", "properties": { + "lastModifiedTime": "2018-06-08T03:01:55.7168089Z", "policy": { "rules": [ { - "enabled": true, "name": "olcmtest", "type": "Lifecycle", "definition": { - "filters": { - "blobTypes": [ - "blockBlob" - ], - "prefixMatch": [ - "olcmtestcontainer" - ] - }, "actions": { "baseBlob": { - "tierToCool": { - "daysAfterModificationGreaterThan": 30 + "delete": { + "daysAfterModificationGreaterThan": 1000 }, "tierToArchive": { "daysAfterModificationGreaterThan": 90 }, - "delete": { - "daysAfterModificationGreaterThan": 1000 + "tierToCool": { + "daysAfterModificationGreaterThan": 30 } }, "snapshot": { @@ -46,14 +38,24 @@ "daysAfterCreationGreaterThan": 30 } } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer" + ] } - } + }, + "enabled": true } ] - }, - "lastModifiedTime": "2018-06-08T03:01:55.7168089Z" + } } } } - } + }, + "operationId": "ManagementPolicies_Get", + "title": "StorageAccountGetManagementPolicies" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetMigrationFailed.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetMigrationFailed.json index a88046ca34db..cd8dbe9649bf 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetMigrationFailed.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetMigrationFailed.json @@ -1,25 +1,27 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "resource-group-name", "accountName": "accountname", "api-version": "2025-06-01", "migrationName": "default", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/accountMigrations/default", "name": "default", "type": "Microsoft.Storage/storageAccounts/accountMigrations", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/accountMigrations/default", "properties": { - "targetSkuName": "Standard_ZRS", - "migrationStatus": "Failed", + "migrationFailedDetailedReason": "ZRS is not supported for accounts with archive data.", "migrationFailedReason": "ZrsNotSupportedForAccountWithArchiveData", - "migrationFailedDetailedReason": "ZRS is not supported for accounts with archive data." + "migrationStatus": "Failed", + "targetSkuName": "Standard_ZRS" } } } - } + }, + "operationId": "StorageAccounts_GetCustomerInitiatedMigration", + "title": "StorageAccountGetMigrationFailed" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetMigrationInProgress.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetMigrationInProgress.json index ff4fc198264e..389ea9c0e8af 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetMigrationInProgress.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetMigrationInProgress.json @@ -1,23 +1,25 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "resource-group-name", "accountName": "accountname", "api-version": "2025-06-01", "migrationName": "default", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/accountMigrations/default", "name": "default", "type": "Microsoft.Storage/storageAccounts/accountMigrations", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/accountMigrations/default", "properties": { - "targetSkuName": "Standard_ZRS", - "migrationStatus": "InProgress" + "migrationStatus": "InProgress", + "targetSkuName": "Standard_ZRS" } } } - } + }, + "operationId": "StorageAccounts_GetCustomerInitiatedMigration", + "title": "StorageAccountGetMigrationInProgress" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetObjectReplicationPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetObjectReplicationPolicy.json index 602871579b9d..98b9db87c307 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetObjectReplicationPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetObjectReplicationPolicy.json @@ -1,53 +1,55 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res6977", "accountName": "sto2527", - "objectReplicationPolicyId": "{objectReplicationPolicy-Id}", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "objectReplicationPolicyId": "{objectReplicationPolicy-Id}", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/objectReplicationPolicies/{objectReplicationPolicy-Id}", "name": "{objectReplicationPolicy-Id}", "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/objectReplicationPolicies/{objectReplicationPolicy-Id}", "properties": { - "policyId": "{objectReplicationPolicy-Id}", - "enabledTime": "2019-06-08T03:01:55.7168089Z", - "sourceAccount": "sto2527", "destinationAccount": "destAccount1", + "enabledTime": "2019-06-08T03:01:55.7168089Z", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "policyId": "{objectReplicationPolicy-Id}", "rules": [ { - "sourceContainer": "sourceContainer1", "destinationContainer": "destContainer1", "filters": { "prefixMatch": [ "blobA", "blobB" ] - } + }, + "sourceContainer": "sourceContainer1" }, { - "sourceContainer": "sourceContainer1", "destinationContainer": "destContainer1", "filters": { "prefixMatch": [ "blobC", "blobD" ] - } + }, + "sourceContainer": "sourceContainer1" } ], - "metrics": { - "enabled": true - }, - "priorityReplication": { - "enabled": true - } + "sourceAccount": "sto2527" } } } - } + }, + "operationId": "ObjectReplicationPolicies_Get", + "title": "StorageAccountGetObjectReplicationPolicies" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetPrivateEndpointConnection.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetPrivateEndpointConnection.json index c3604ebbc4d4..282464545973 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetPrivateEndpointConnection.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetPrivateEndpointConnection.json @@ -1,30 +1,32 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res6977", "accountName": "sto2527", - "privateEndpointConnectionName": "{privateEndpointConnectionName}", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}", "name": "{privateEndpointConnectionName}", "type": "Microsoft.Storage/storageAccounts/privateEndpointConnections", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}", "properties": { - "provisioningState": "Succeeded", "privateEndpoint": { "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest01" }, "privateLinkServiceConnectionState": { - "status": "Approved", "description": "Auto-Approved", - "actionRequired": "None" - } + "actionRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" } } } - } + }, + "operationId": "PrivateEndpointConnections_Get", + "title": "StorageAccountGetPrivateEndpointConnection" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetProperties.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetProperties.json index a47aeada709d..d8718ecfedcd 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetProperties.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetProperties.json @@ -1,92 +1,93 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9407", "accountName": "sto8596", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", "kind": "Storage", "location": "eastus2(stage)", - "name": "sto8596", "properties": { - "keyCreationTime": { - "key1": "2021-03-18T04:42:22.4322836Z", - "key2": "2021-03-18T04:42:22.4322836Z" + "accountMigrationInProgress": false, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } }, "geoReplicationStats": { - "status": "Live", + "canFailover": true, "lastSyncTime": "2018-10-30T00:25:34Z", - "canFailover": true + "status": "Live" }, "isHnsEnabled": true, - "creationTime": "2017-06-01T02:42:41.7633306Z", + "isSkuConversionBlocked": false, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, "networkAcls": { "bypass": "AzureServices", "defaultAction": "Allow", "ipRules": [], - "virtualNetworkRules": [], "resourceAccessRules": [ { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace" + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" } - ] + ], + "virtualNetworkRules": [] }, "primaryEndpoints": { - "web": "https://sto8596.web.core.windows.net/", - "dfs": "https://sto8596.dfs.core.windows.net/", "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", "file": "https://sto8596.file.core.windows.net/", - "queue": "https://sto8596.queue.core.windows.net/", - "table": "https://sto8596.table.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, "microsoftEndpoints": { - "web": "https://sto8596-microsoftrouting.web.core.windows.net/", - "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", "file": "https://sto8596-microsoftrouting.file.core.windows.net/", "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", - "table": "https://sto8596-microsoftrouting.table.core.windows.net/" + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" }, - "internetEndpoints": { - "web": "https://sto8596-internetrouting.web.core.windows.net/", - "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", - "blob": "https://sto8596-internetrouting.blob.core.windows.net/", - "file": "https://sto8596-internetrouting.file.core.windows.net/" - } + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" }, "primaryLocation": "eastus2(stage)", "provisioningState": "Succeeded", "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true - }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - }, - "blob": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - } - }, - "keySource": "Microsoft.Storage" + "routingChoice": "MicrosoftRouting" }, "secondaryLocation": "northcentralus(stage)", "statusOfPrimary": "available", "statusOfSecondary": "available", "supportsHttpsTrafficOnly": false, - "isSkuConversionBlocked": false, - "accountMigrationInProgress": false, "geoPriorityReplicationStatus": { "isBlobEnabled": true } @@ -98,9 +99,10 @@ "tags": { "key1": "value1", "key2": "value2" - }, - "type": "Microsoft.Storage/storageAccounts" + } } } - } + }, + "operationId": "StorageAccounts_GetProperties", + "title": "StorageAccountGetProperties" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetPropertiesCMKEnabled.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetPropertiesCMKEnabled.json index 17d5f45b0284..e44e2fff8b1a 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetPropertiesCMKEnabled.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetPropertiesCMKEnabled.json @@ -1,88 +1,89 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9407", "accountName": "sto8596", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", "identity": { + "type": "SystemAssigned", "principalId": "911871cc-ffd1-4fc4-ac11-7a316433ea66", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "type": "SystemAssigned" + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" }, "kind": "Storage", "location": "eastus2(stage)", - "name": "sto8596", "properties": { + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, "geoReplicationStats": { - "status": "Live", + "canFailover": true, "lastSyncTime": "2018-10-30T00:25:34Z", - "canFailover": true + "status": "Live" }, "isHnsEnabled": true, - "creationTime": "2017-06-01T02:42:41.7633306Z", "networkAcls": { "bypass": "AzureServices", "defaultAction": "Allow", "ipRules": [], - "virtualNetworkRules": [], - "resourceAccessRules": [] + "resourceAccessRules": [], + "virtualNetworkRules": [] }, "primaryEndpoints": { - "web": "https://sto8596.web.core.windows.net/", - "dfs": "https://sto8596.dfs.core.windows.net/", "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", "file": "https://sto8596.file.core.windows.net/", - "queue": "https://sto8596.queue.core.windows.net/", - "table": "https://sto8596.table.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, "microsoftEndpoints": { - "web": "https://sto8596-microsoftrouting.web.core.windows.net/", - "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", "file": "https://sto8596-microsoftrouting.file.core.windows.net/", "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", - "table": "https://sto8596-microsoftrouting.table.core.windows.net/" + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" }, - "internetEndpoints": { - "web": "https://sto8596-internetrouting.web.core.windows.net/", - "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", - "blob": "https://sto8596-internetrouting.blob.core.windows.net/", - "file": "https://sto8596-internetrouting.file.core.windows.net/" - } + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" }, "primaryLocation": "eastus2(stage)", "provisioningState": "Succeeded", "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true - }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - }, - "blob": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - } - }, - "keySource": "Microsoft.Keyvault", - "keyvaultproperties": { - "keyvaulturi": "https://myvault8569.vault.azure.net", - "keyname": "wrappingKey", - "keyversion": "", - "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", - "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" - } + "routingChoice": "MicrosoftRouting" }, "secondaryLocation": "northcentralus(stage)", "statusOfPrimary": "available", @@ -96,9 +97,10 @@ "tags": { "key1": "value1", "key2": "value2" - }, - "type": "Microsoft.Storage/storageAccounts" + } } } - } + }, + "operationId": "StorageAccounts_GetProperties", + "title": "StorageAccountGetPropertiesCMKEnabled" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetPropertiesCMKVersionExpirationTime.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetPropertiesCMKVersionExpirationTime.json index 35a5134c34d7..18abee0f7d1e 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetPropertiesCMKVersionExpirationTime.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetPropertiesCMKVersionExpirationTime.json @@ -1,89 +1,90 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9407", "accountName": "sto8596", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", "identity": { + "type": "SystemAssigned", "principalId": "911871cc-ffd1-4fc4-ac11-7a316433ea66", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "type": "SystemAssigned" + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" }, "kind": "Storage", "location": "eastus2(stage)", - "name": "sto8596", "properties": { + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyExpirationTimestamp": "2019-12-13T20:36:23.7023290Z", + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, "geoReplicationStats": { - "status": "Live", + "canFailover": true, "lastSyncTime": "2018-10-30T00:25:34Z", - "canFailover": true + "status": "Live" }, "isHnsEnabled": true, - "creationTime": "2017-06-01T02:42:41.7633306Z", "networkAcls": { "bypass": "AzureServices", "defaultAction": "Allow", "ipRules": [], - "virtualNetworkRules": [], - "resourceAccessRules": [] + "resourceAccessRules": [], + "virtualNetworkRules": [] }, "primaryEndpoints": { - "web": "https://sto8596.web.core.windows.net/", - "dfs": "https://sto8596.dfs.core.windows.net/", "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", "file": "https://sto8596.file.core.windows.net/", - "queue": "https://sto8596.queue.core.windows.net/", - "table": "https://sto8596.table.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, "microsoftEndpoints": { - "web": "https://sto8596-microsoftrouting.web.core.windows.net/", - "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", "file": "https://sto8596-microsoftrouting.file.core.windows.net/", "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", - "table": "https://sto8596-microsoftrouting.table.core.windows.net/" + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" }, - "internetEndpoints": { - "web": "https://sto8596-internetrouting.web.core.windows.net/", - "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", - "blob": "https://sto8596-internetrouting.blob.core.windows.net/", - "file": "https://sto8596-internetrouting.file.core.windows.net/" - } + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" }, "primaryLocation": "eastus2(stage)", "provisioningState": "Succeeded", "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true - }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - }, - "blob": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - } - }, - "keySource": "Microsoft.Keyvault", - "keyvaultproperties": { - "keyvaulturi": "https://myvault8569.vault.azure.net", - "keyname": "wrappingKey", - "keyversion": "", - "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", - "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z", - "currentVersionedKeyExpirationTimestamp": "2019-12-13T20:36:23.7023290Z" - } + "routingChoice": "MicrosoftRouting" }, "secondaryLocation": "northcentralus(stage)", "statusOfPrimary": "available", @@ -97,9 +98,10 @@ "tags": { "key1": "value1", "key2": "value2" - }, - "type": "Microsoft.Storage/storageAccounts" + } } } - } + }, + "operationId": "StorageAccounts_GetProperties", + "title": "StorageAccountGetPropertiesCMKVersionExpirationTime" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse.json index b6c1c3d530dc..1d8f4c621f5c 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse.json @@ -1,96 +1,97 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9407", + "$expand": "geoReplicationStats", "accountName": "sto8596", "api-version": "2025-06-01", "monitor": "true", - "$expand": "geoReplicationStats" + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", "kind": "Storage", "location": "eastus2(stage)", - "name": "sto8596", "properties": { - "keyCreationTime": { - "key1": "2021-03-18T04:42:22.4322836Z", - "key2": "2021-03-18T04:42:22.4322836Z" + "accountMigrationInProgress": false, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } }, "geoReplicationStats": { - "status": "Live", - "lastSyncTime": "2018-10-30T00:25:34Z", "canFailover": false, "canPlannedFailover": false, + "lastSyncTime": "2018-10-30T00:25:34Z", "postFailoverRedundancy": "Standard_LRS", - "postPlannedFailoverRedundancy": "Standard_GRS" + "postPlannedFailoverRedundancy": "Standard_GRS", + "status": "Live" }, "isHnsEnabled": true, - "creationTime": "2017-06-01T02:42:41.7633306Z", + "isSkuConversionBlocked": false, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, "networkAcls": { "bypass": "AzureServices", "defaultAction": "Allow", "ipRules": [], - "virtualNetworkRules": [], "resourceAccessRules": [ { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace" + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" } - ] + ], + "virtualNetworkRules": [] }, "primaryEndpoints": { - "web": "https://sto8596.web.core.windows.net/", - "dfs": "https://sto8596.dfs.core.windows.net/", "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", "file": "https://sto8596.file.core.windows.net/", - "queue": "https://sto8596.queue.core.windows.net/", - "table": "https://sto8596.table.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, "microsoftEndpoints": { - "web": "https://sto8596-microsoftrouting.web.core.windows.net/", - "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", "file": "https://sto8596-microsoftrouting.file.core.windows.net/", "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", - "table": "https://sto8596-microsoftrouting.table.core.windows.net/" + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" }, - "internetEndpoints": { - "web": "https://sto8596-internetrouting.web.core.windows.net/", - "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", - "blob": "https://sto8596-internetrouting.blob.core.windows.net/", - "file": "https://sto8596-internetrouting.file.core.windows.net/" - } + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" }, "primaryLocation": "eastus2(stage)", "provisioningState": "Succeeded", "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true - }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - }, - "blob": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - } - }, - "keySource": "Microsoft.Storage" + "routingChoice": "MicrosoftRouting" }, "secondaryLocation": "northcentralus(stage)", "statusOfPrimary": "available", "statusOfSecondary": "available", - "supportsHttpsTrafficOnly": false, - "isSkuConversionBlocked": false, - "accountMigrationInProgress": false + "supportsHttpsTrafficOnly": false }, "sku": { "name": "Standard_GRS", @@ -99,9 +100,10 @@ "tags": { "key1": "value1", "key2": "value2" - }, - "type": "Microsoft.Storage/storageAccounts" + } } } - } + }, + "operationId": "StorageAccounts_GetProperties", + "title": "StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue.json index 8322cd88eb18..ac678ed0de18 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue.json @@ -1,96 +1,97 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9407", + "$expand": "geoReplicationStats", "accountName": "sto8596", "api-version": "2025-06-01", "monitor": "true", - "$expand": "geoReplicationStats" + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", "kind": "Storage", "location": "eastus2(stage)", - "name": "sto8596", "properties": { - "keyCreationTime": { - "key1": "2021-03-18T04:42:22.4322836Z", - "key2": "2021-03-18T04:42:22.4322836Z" + "accountMigrationInProgress": false, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } }, "geoReplicationStats": { - "status": "Live", - "lastSyncTime": "2018-10-30T00:25:34Z", "canFailover": true, "canPlannedFailover": true, + "lastSyncTime": "2018-10-30T00:25:34Z", "postFailoverRedundancy": "Standard_LRS", - "postPlannedFailoverRedundancy": "Standard_GRS" + "postPlannedFailoverRedundancy": "Standard_GRS", + "status": "Live" }, "isHnsEnabled": true, - "creationTime": "2017-06-01T02:42:41.7633306Z", + "isSkuConversionBlocked": false, + "keyCreationTime": { + "key1": "2021-03-18T04:42:22.4322836Z", + "key2": "2021-03-18T04:42:22.4322836Z" + }, "networkAcls": { "bypass": "AzureServices", "defaultAction": "Allow", "ipRules": [], - "virtualNetworkRules": [], "resourceAccessRules": [ { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace" + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" } - ] + ], + "virtualNetworkRules": [] }, "primaryEndpoints": { - "web": "https://sto8596.web.core.windows.net/", - "dfs": "https://sto8596.dfs.core.windows.net/", "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", "file": "https://sto8596.file.core.windows.net/", - "queue": "https://sto8596.queue.core.windows.net/", - "table": "https://sto8596.table.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, "microsoftEndpoints": { - "web": "https://sto8596-microsoftrouting.web.core.windows.net/", - "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", "file": "https://sto8596-microsoftrouting.file.core.windows.net/", "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", - "table": "https://sto8596-microsoftrouting.table.core.windows.net/" + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" }, - "internetEndpoints": { - "web": "https://sto8596-internetrouting.web.core.windows.net/", - "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", - "blob": "https://sto8596-internetrouting.blob.core.windows.net/", - "file": "https://sto8596-internetrouting.file.core.windows.net/" - } + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" }, "primaryLocation": "eastus2(stage)", "provisioningState": "Succeeded", "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true - }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - }, - "blob": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - } - }, - "keySource": "Microsoft.Storage" + "routingChoice": "MicrosoftRouting" }, "secondaryLocation": "northcentralus(stage)", "statusOfPrimary": "available", "statusOfSecondary": "available", - "supportsHttpsTrafficOnly": false, - "isSkuConversionBlocked": false, - "accountMigrationInProgress": false + "supportsHttpsTrafficOnly": false }, "sku": { "name": "Standard_GRS", @@ -99,9 +100,10 @@ "tags": { "key1": "value1", "key2": "value2" - }, - "type": "Microsoft.Storage/storageAccounts" + } } } - } + }, + "operationId": "StorageAccounts_GetProperties", + "title": "StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountHierarchicalNamespaceMigration.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountHierarchicalNamespaceMigration.json index e077bac7236c..a71c5887c854 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountHierarchicalNamespaceMigration.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountHierarchicalNamespaceMigration.json @@ -1,10 +1,10 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res4228", "accountName": "sto2434", "api-version": "2025-06-01", - "requestType": "HnsOnValidationRequest" + "requestType": "HnsOnValidationRequest", + "resourceGroupName": "res4228", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, @@ -13,5 +13,7 @@ "Location": "https://endpoint:port/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/{location}/asyncoperations/{operationid}?monitor=true&api-version=2022-09-01" } } - } + }, + "operationId": "StorageAccounts_HierarchicalNamespaceMigration", + "title": "StorageAccountHierarchicalNamespaceMigration" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountLeverageIPv6Ability.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountLeverageIPv6Ability.json index dca2c47fa755..66c7ecadda11 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountLeverageIPv6Ability.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountLeverageIPv6Ability.json @@ -1,70 +1,71 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9407", "accountName": "sto8596", "api-version": "2025-06-01", "monitor": "true", "parameters": { "properties": { + "dualStackEndpointPreference": { + "publishIpv6Endpoint": true + }, "networkAcls": { + "defaultAction": "Deny", "ipv6Rules": [ { "action": "Allow", "value": "2001:0db8:85a3::/64" } - ], - "defaultAction": "Deny" - }, - "dualStackEndpointPreference": { - "publishIpv6Endpoint": true + ] } } - } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", "kind": "Storage", "location": "eastus2(stage)", - "name": "sto8596", "properties": { + "creationTime": "2017-06-01T02:42:41.7633306Z", + "dualStackEndpointPreference": { + "publishIpv6Endpoint": true + }, "keyCreationTime": { "key1": "2021-03-18T04:42:22.4322836Z", "key2": "2021-03-18T04:42:22.4322836Z" }, - "creationTime": "2017-06-01T02:42:41.7633306Z", "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Deny", + "ipRules": [], "ipv6Rules": [ { "action": "Allow", "value": "2001:0db8:85a3::/64" } ], - "bypass": "AzureServices", - "defaultAction": "Deny", - "ipRules": [], "virtualNetworkRules": [] }, - "dualStackEndpointPreference": { - "publishIpv6Endpoint": true - }, "primaryEndpoints": { - "web": "https://sto8596.web.core.windows.net/", - "dfs": "https://sto8596.dfs.core.windows.net/", "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", "file": "https://sto8596.file.core.windows.net/", - "queue": "https://sto8596.queue.core.windows.net/", - "table": "https://sto8596.table.core.windows.net/", "ipv6Endpoints": { - "web": "https://sto8596-ipv6.web.core.windows.net/", - "dfs": "https://sto8596-ipv6.dfs.core.windows.net/", "blob": "https://sto8596-ipv6.blob.core.windows.net/", + "dfs": "https://sto8596-ipv6.dfs.core.windows.net/", "file": "https://sto8596-ipv6.file.core.windows.net/", "queue": "https://sto8596-ipv6.queue.core.windows.net/", - "table": "https://sto8596-ipv6.table.core.windows.net/" - } + "table": "https://sto8596-ipv6.table.core.windows.net/", + "web": "https://sto8596-ipv6.web.core.windows.net/" + }, + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" }, "primaryLocation": "eastus2(stage)", "provisioningState": "Succeeded", @@ -77,9 +78,10 @@ "tags": { "key1": "value1", "key2": "value2" - }, - "type": "Microsoft.Storage/storageAccounts" + } } } - } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdateEnableIpv6Features" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountList.json index 24cfe7a8d4f5..7d310df5b421 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountList.json @@ -1,64 +1,65 @@ { "parameters": { - "subscriptionId": "{subscription-id}", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { + "name": "sto1125", + "type": "Microsoft.Storage/storageAccounts", "id": "/subscriptions/{subscription-id}/resourceGroups/res2627/providers/Microsoft.Storage/storageAccounts/sto1125", "kind": "Storage", "location": "eastus", - "name": "sto1125", "properties": { - "isHnsEnabled": true, "creationTime": "2017-05-24T13:28:53.4540398Z", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, + "isHnsEnabled": true, "primaryEndpoints": { - "web": "https://sto1125.web.core.windows.net/", - "dfs": "https://sto1125.dfs.core.windows.net/", "blob": "https://sto1125.blob.core.windows.net/", + "dfs": "https://sto1125.dfs.core.windows.net/", "file": "https://sto1125.file.core.windows.net/", - "queue": "https://sto1125.queue.core.windows.net/", - "table": "https://sto1125.table.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto1125-internetrouting.blob.core.windows.net/", + "dfs": "https://sto1125-internetrouting.dfs.core.windows.net/", + "file": "https://sto1125-internetrouting.file.core.windows.net/", + "web": "https://sto1125-internetrouting.web.core.windows.net/" + }, "microsoftEndpoints": { - "web": "https://sto1125-microsoftrouting.web.core.windows.net/", - "dfs": "https://sto1125-microsoftrouting.dfs.core.windows.net/", "blob": "https://sto1125-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto1125-microsoftrouting.dfs.core.windows.net/", "file": "https://sto1125-microsoftrouting.file.core.windows.net/", "queue": "https://sto1125-microsoftrouting.queue.core.windows.net/", - "table": "https://sto1125-microsoftrouting.table.core.windows.net/" + "table": "https://sto1125-microsoftrouting.table.core.windows.net/", + "web": "https://sto1125-microsoftrouting.web.core.windows.net/" }, - "internetEndpoints": { - "web": "https://sto1125-internetrouting.web.core.windows.net/", - "dfs": "https://sto1125-internetrouting.dfs.core.windows.net/", - "blob": "https://sto1125-internetrouting.blob.core.windows.net/", - "file": "https://sto1125-internetrouting.file.core.windows.net/" - } + "queue": "https://sto1125.queue.core.windows.net/", + "table": "https://sto1125.table.core.windows.net/", + "web": "https://sto1125.web.core.windows.net/" }, "primaryLocation": "eastus", "provisioningState": "Succeeded", "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true - }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - }, - "blob": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - } - }, - "keySource": "Microsoft.Storage" + "routingChoice": "MicrosoftRouting" }, "secondaryLocation": "centraluseuap", "statusOfPrimary": "available", @@ -72,19 +73,19 @@ "tags": { "key1": "value1", "key2": "value2" - }, - "type": "Microsoft.Storage/storageAccounts" + } }, { + "name": "sto3699", + "type": "Microsoft.Storage/storageAccounts", "id": "/subscriptions/{subscription-id}/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto3699", "identity": { + "type": "SystemAssigned", "principalId": "356d057d-cba5-44dd-8a30-b2e547bc416b", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "type": "SystemAssigned" + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" }, "kind": "Storage", "location": "eastus", - "name": "sto3699", "properties": { "creationTime": "2017-05-24T10:06:30.6093014Z", "primaryEndpoints": { @@ -107,89 +108,89 @@ "tags": { "key1": "value1", "key2": "value2" - }, - "type": "Microsoft.Storage/storageAccounts" + } }, { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", "identity": { + "type": "SystemAssigned", "principalId": "911871cc-ffd1-4fc4-ac11-7a316433ea66", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "type": "SystemAssigned" + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" }, "kind": "Storage", "location": "eastus2(stage)", - "name": "sto8596", "properties": { + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Keyvault", + "keyvaultproperties": { + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", + "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", + "keyversion": "", + "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" + }, + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } + }, "geoReplicationStats": { - "status": "Live", + "canFailover": true, "lastSyncTime": "2018-10-30T00:25:34Z", - "canFailover": true + "status": "Live" }, "isHnsEnabled": true, - "creationTime": "2017-06-01T02:42:41.7633306Z", "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], "resourceAccessRules": [ { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace" + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" } ], - "bypass": "AzureServices", - "defaultAction": "Allow", - "ipRules": [], "virtualNetworkRules": [] }, "primaryEndpoints": { - "web": "https://sto8596.web.core.windows.net/", - "dfs": "https://sto8596.dfs.core.windows.net/", "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", "file": "https://sto8596.file.core.windows.net/", - "queue": "https://sto8596.queue.core.windows.net/", - "table": "https://sto8596.table.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, "microsoftEndpoints": { - "web": "https://sto8596-microsoftrouting.web.core.windows.net/", - "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", "file": "https://sto8596-microsoftrouting.file.core.windows.net/", "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", - "table": "https://sto8596-microsoftrouting.table.core.windows.net/" + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" }, - "internetEndpoints": { - "web": "https://sto8596-internetrouting.web.core.windows.net/", - "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", - "blob": "https://sto8596-internetrouting.blob.core.windows.net/", - "file": "https://sto8596-internetrouting.file.core.windows.net/" - } + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" }, "primaryLocation": "eastus2(stage)", "provisioningState": "Succeeded", "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true - }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - }, - "blob": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - } - }, - "keySource": "Microsoft.Keyvault", - "keyvaultproperties": { - "keyvaulturi": "https://myvault8569.vault.azure.net", - "keyname": "wrappingKey", - "keyversion": "", - "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", - "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" - } + "routingChoice": "MicrosoftRouting" }, "secondaryLocation": "northcentralus(stage)", "statusOfPrimary": "available", @@ -203,19 +204,19 @@ "tags": { "key1": "value1", "key2": "value2" - }, - "type": "Microsoft.Storage/storageAccounts" + } }, { + "name": "sto6637", + "type": "Microsoft.Storage/storageAccounts", "id": "/subscriptions/{subscription-id}/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto6637", "identity": { + "type": "SystemAssigned", "principalId": "911871cc-ffd1-4fc4-ac11-7a316433ea66", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "type": "SystemAssigned" + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" }, "kind": "Storage", "location": "eastus", - "name": "sto6637", "properties": { "creationTime": "2017-05-24T10:09:39.5625175Z", "primaryEndpoints": { @@ -238,14 +239,14 @@ "tags": { "key1": "value1", "key2": "value2" - }, - "type": "Microsoft.Storage/storageAccounts" + } }, { + "name": "sto834", + "type": "Microsoft.Storage/storageAccounts", "id": "/subscriptions/{subscription-id}/resourceGroups/res8186/providers/Microsoft.Storage/storageAccounts/sto834", "kind": "Storage", "location": "eastus", - "name": "sto834", "properties": { "creationTime": "2017-05-24T13:28:20.8686541Z", "primaryEndpoints": { @@ -268,19 +269,19 @@ "tags": { "key1": "value1", "key2": "value2" - }, - "type": "Microsoft.Storage/storageAccounts" + } }, { + "name": "sto9174", + "type": "Microsoft.Storage/storageAccounts", "id": "/subscriptions/{subscription-id}/resourceGroups/testcmk3/providers/Microsoft.Storage/storageAccounts/sto9174", "identity": { + "type": "SystemAssigned", "principalId": "933e3ddf-1802-4a51-9469-18a33b576f88", - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "type": "SystemAssigned" + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" }, "kind": "Storage", "location": "eastus", - "name": "sto9174", "properties": { "creationTime": "2017-05-24T09:46:19.6556989Z", "primaryEndpoints": { @@ -303,11 +304,12 @@ "tags": { "key1": "value1", "key2": "value2" - }, - "type": "Microsoft.Storage/storageAccounts" + } } ] } } - } + }, + "operationId": "StorageAccounts_List", + "title": "StorageAccountList" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListAccountSAS.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListAccountSAS.json index a2f7206b796b..191332f7433c 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListAccountSAS.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListAccountSAS.json @@ -1,19 +1,19 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res7985", "accountName": "sto8588", "api-version": "2025-06-01", "monitor": "true", "parameters": { - "signedServices": "b", - "signedResourceTypes": "s", + "keyToSign": "key1", + "signedExpiry": "2017-05-24T11:42:03.1567373Z", "signedPermission": "r", "signedProtocol": "https,http", - "signedStart": "2017-05-24T10:42:03.1567373Z", - "signedExpiry": "2017-05-24T11:42:03.1567373Z", - "keyToSign": "key1" - } + "signedResourceTypes": "s", + "signedServices": "b", + "signedStart": "2017-05-24T10:42:03.1567373Z" + }, + "resourceGroupName": "res7985", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -21,5 +21,7 @@ "accountSasToken": "sv=2015-04-05&ss=b&srt=s&sp=r&st=2017-05-24T10%3A42%3A03Z&se=2017-05-24T11%3A42%3A03Z&spr=https,http&sig=Z0I%2BEpM%2BPPlTC8ApfUf%2BcffO2aahMgZim3U0iArqsS0%3D" } } - } + }, + "operationId": "StorageAccounts_ListAccountSAS", + "title": "StorageAccountListAccountSAS" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListBlobInventoryPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListBlobInventoryPolicy.json index 6597d2660f9f..822cf854321a 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListBlobInventoryPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListBlobInventoryPolicy.json @@ -1,45 +1,44 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res7687", "accountName": "sto9699", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", "name": "DefaultInventoryPolicy", "type": "Microsoft.Storage/storageAccounts/inventoryPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", "properties": { + "lastModifiedTime": "2020-10-05T02:53:39.0932539Z", "policy": { - "enabled": true, "type": "Inventory", + "enabled": true, "rules": [ { - "enabled": true, "name": "inventoryPolicyRule1", - "destination": "container1", "definition": { + "format": "Csv", "filters": { "blobTypes": [ "blockBlob", "appendBlob", "pageBlob" ], + "includeBlobVersions": true, + "includeSnapshots": true, "prefixMatch": [ "inventoryprefix1", "inventoryprefix2" - ], - "includeSnapshots": true, - "includeBlobVersions": true + ] }, - "format": "Csv", - "schedule": "Daily", "objectType": "Blob", + "schedule": "Daily", "schemaFields": [ "Name", "Creation-Time", @@ -54,15 +53,18 @@ "IsCurrentVersion", "Metadata" ] - } + }, + "destination": "container1", + "enabled": true } ] - }, - "lastModifiedTime": "2020-10-05T02:53:39.0932539Z" + } } } ] } } - } + }, + "operationId": "BlobInventoryPolicies_List", + "title": "StorageAccountGetBlobInventoryPolicy" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListByResourceGroup.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListByResourceGroup.json index 51c64237d4c1..056218c1e2b9 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListByResourceGroup.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListByResourceGroup.json @@ -1,28 +1,29 @@ { "parameters": { - "subscriptionId": "{subscription-id}", + "api-version": "2025-06-01", "resourceGroupName": "res6117", - "api-version": "2025-06-01" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { + "name": "sto4036", + "type": "Microsoft.Storage/storageAccounts", "id": "/subscriptions/{subscription-id}/resourceGroups/res6117/providers/Microsoft.Storage/storageAccounts/sto4036", "kind": "Storage", "location": "eastus", - "name": "sto4036", "properties": { - "isHnsEnabled": true, "creationTime": "2017-05-24T13:24:47.818801Z", + "isHnsEnabled": true, "primaryEndpoints": { - "web": "https://sto4036.web.core.windows.net/", - "dfs": "https://sto4036.dfs.core.windows.net/", "blob": "https://sto4036.blob.core.windows.net/", + "dfs": "https://sto4036.dfs.core.windows.net/", "file": "https://sto4036.file.core.windows.net/", "queue": "https://sto4036.queue.core.windows.net/", - "table": "https://sto4036.table.core.windows.net/" + "table": "https://sto4036.table.core.windows.net/", + "web": "https://sto4036.web.core.windows.net/" }, "primaryLocation": "eastus", "provisioningState": "Succeeded", @@ -38,14 +39,14 @@ "tags": { "key1": "value1", "key2": "value2" - }, - "type": "Microsoft.Storage/storageAccounts" + } }, { + "name": "sto4452", + "type": "Microsoft.Storage/storageAccounts", "id": "/subscriptions/{subscription-id}/resourceGroups/res6117/providers/Microsoft.Storage/storageAccounts/sto4452", "kind": "Storage", "location": "eastus", - "name": "sto4452", "properties": { "creationTime": "2017-05-24T13:24:15.7068366Z", "primaryEndpoints": { @@ -68,11 +69,12 @@ "tags": { "key1": "value1", "key2": "value2" - }, - "type": "Microsoft.Storage/storageAccounts" + } } ] } } - } + }, + "operationId": "StorageAccounts_ListByResourceGroup", + "title": "StorageAccountListByResourceGroup" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListKeys.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListKeys.json index 5ad35e3502a3..9a391d49482b 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListKeys.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListKeys.json @@ -1,10 +1,10 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res418", "accountName": "sto2220", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res418", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -23,5 +23,7 @@ ] } } - } + }, + "operationId": "StorageAccounts_ListKeys", + "title": "StorageAccountListKeys" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListLocationUsage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListLocationUsage.json index 594b809e2a6a..bbb4d7f21653 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListLocationUsage.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListLocationUsage.json @@ -1,24 +1,26 @@ { "parameters": { - "subscriptionId": "{subscription-id}", + "api-version": "2025-06-01", "location": "eastus2(stage)", - "api-version": "2025-06-01" + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { - "unit": "Count", + "name": { + "localizedValue": "Storage Accounts", + "value": "StorageAccounts" + }, "currentValue": 55, "limit": 250, - "name": { - "value": "StorageAccounts", - "localizedValue": "Storage Accounts" - } + "unit": "Count" } ] } } - } + }, + "operationId": "Usages_ListByLocation", + "title": "UsageList" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListObjectReplicationPolicies.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListObjectReplicationPolicies.json index 4f897e27a18f..84dfa7a90180 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListObjectReplicationPolicies.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListObjectReplicationPolicies.json @@ -1,41 +1,43 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res6977", "accountName": "sto2527", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/objectReplicationPolicies/c6c23999-fd4e-433a-bcf9-1db69d27cd8a", "name": "c6c23999-fd4e-433a-bcf9-1db69d27cd8a", "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/objectReplicationPolicies/c6c23999-fd4e-433a-bcf9-1db69d27cd8a", "properties": { - "sourceAccount": "sto2527", - "destinationAccount": "destAccount1" + "destinationAccount": "destAccount1", + "sourceAccount": "sto2527" } }, { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/objectReplicationPolicies/141d23dc-8958-4b48-b6e6-5a40bf1af116", "name": "141d23dc-8958-4b48-b6e6-5a40bf1af116", "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto1590/objectReplicationPolicies/141d23dc-8958-4b48-b6e6-5a40bf1af116", "properties": { - "sourceAccount": "sto2527", "destinationAccount": "destAccount2", "metrics": { "enabled": true }, "priorityReplication": { "enabled": true - } + }, + "sourceAccount": "sto2527" } } ] } } - } + }, + "operationId": "ObjectReplicationPolicies_List", + "title": "StorageAccountListObjectReplicationPolicies" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListPrivateEndpointConnections.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListPrivateEndpointConnections.json index f394983bc594..e3b89db57f32 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListPrivateEndpointConnections.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListPrivateEndpointConnections.json @@ -1,49 +1,51 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res6977", "accountName": "sto2527", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}", "name": "{privateEndpointConnectionName}", "type": "Microsoft.Storage/storageAccounts/privateEndpointConnections", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}", "properties": { - "provisioningState": "Succeeded", "privateEndpoint": { "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest01" }, "privateLinkServiceConnectionState": { - "status": "Approved", "description": "Auto-Approved", - "actionRequired": "None" - } + "actionRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" } }, { - "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}", "name": "{privateEndpointConnectionName}", "type": "Microsoft.Storage/storageAccounts/privateEndpointConnections", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}", "properties": { - "provisioningState": "Succeeded", "privateEndpoint": { "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest02" }, "privateLinkServiceConnectionState": { - "status": "Approved", "description": "Auto-Approved", - "actionRequired": "None" - } + "actionRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" } } ] } } - } + }, + "operationId": "PrivateEndpointConnections_List", + "title": "StorageAccountListPrivateEndpointConnections" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListPrivateLinkResources.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListPrivateLinkResources.json index 0c402d1988a8..d424531bfd51 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListPrivateLinkResources.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListPrivateLinkResources.json @@ -1,19 +1,19 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res6977", "accountName": "sto2527", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res6977", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/blob", "name": "blob", "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/blob", "properties": { "groupId": "blob", "requiredMembers": [ @@ -25,9 +25,9 @@ } }, { - "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/blob_secondary", "name": "blob_secondary", "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/blob_secondary", "properties": { "groupId": "blob_secondary", "requiredMembers": [ @@ -39,9 +39,9 @@ } }, { - "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/table", "name": "table", "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/table", "properties": { "groupId": "table", "requiredMembers": [ @@ -53,9 +53,9 @@ } }, { - "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/table_secondary", "name": "table_secondary", "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/table_secondary", "properties": { "groupId": "table_secondary", "requiredMembers": [ @@ -67,9 +67,9 @@ } }, { - "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/dfs", "name": "dfs", "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/dfs", "properties": { "groupId": "dfs", "requiredMembers": [ @@ -81,9 +81,9 @@ } }, { - "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/dfs_secondary", "name": "dfs_secondary", "type": "Microsoft.Storage/storageAccounts/privateLinkResources", + "id": "/subscriptions/{subscription-id}/resourceGroups/res6977/providers/Microsoft.Storage/storageAccounts/sto2527/privateLinkResources/dfs_secondary", "properties": { "groupId": "dfs_secondary", "requiredMembers": [ @@ -97,5 +97,7 @@ ] } } - } + }, + "operationId": "PrivateLinkResources_ListByStorageAccount", + "title": "StorageAccountListPrivateLinkResources" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListServiceSAS.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListServiceSAS.json index 76c02d84fd3b..f40388110412 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListServiceSAS.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountListServiceSAS.json @@ -1,16 +1,16 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res7439", "accountName": "sto1299", "api-version": "2025-06-01", "monitor": "true", "parameters": { "canonicalizedResource": "/blob/sto1299/music", - "signedResource": "c", + "signedExpiry": "2017-05-24T11:32:48.8457197Z", "signedPermission": "l", - "signedExpiry": "2017-05-24T11:32:48.8457197Z" - } + "signedResource": "c" + }, + "resourceGroupName": "res7439", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -18,5 +18,7 @@ "serviceSasToken": "sv=2015-04-05&sr=c&se=2017-05-24T11%3A32%3A48Z&sp=l&sig=PoF8yBUGixsjzwroLmw7vG3VbGz4KB2woZC2D4C2oio%3D" } } - } + }, + "operationId": "StorageAccounts_ListServiceSAS", + "title": "StorageAccountListServiceSAS" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountPatchEncryptionScope.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountPatchEncryptionScope.json index 1edee68839f7..b7d1a2a60177 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountPatchEncryptionScope.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountPatchEncryptionScope.json @@ -1,38 +1,40 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "resource-group-name", "accountName": "accountname", - "encryptionScopeName": "{encryption-scope-name}", "api-version": "2025-06-01", - "monitor": "true", "encryptionScope": { "properties": { - "source": "Microsoft.KeyVault", "keyVaultProperties": { "keyUri": "https://testvault.vault.core.windows.net/keys/key1/863425f1358359c" - } + }, + "source": "Microsoft.KeyVault" } - } + }, + "encryptionScopeName": "{encryption-scope-name}", + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", "name": "{encryption-scope-name}", "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", "properties": { - "source": "Microsoft.KeyVault", - "state": "Enabled", + "creationTime": "2018-10-16T02:42:41.7633306Z", "keyVaultProperties": { - "keyUri": "https://testvault.vault.core.windows.net/keys/key1/863425f1358359c", "currentVersionedKeyIdentifier": "https://testvault.vault.core.windows.net/keys/key1/863425f1358359c", + "keyUri": "https://testvault.vault.core.windows.net/keys/key1/863425f1358359c", "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" }, - "creationTime": "2018-10-16T02:42:41.7633306Z", - "lastModifiedTime": "2018-10-17T06:23:14.4513306Z" + "lastModifiedTime": "2018-10-17T06:23:14.4513306Z", + "source": "Microsoft.KeyVault", + "state": "Enabled" } } } - } + }, + "operationId": "EncryptionScopes_Patch", + "title": "StorageAccountPatchEncryptionScope" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountPostMigration.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountPostMigration.json index c86dac95832a..2774916a0ece 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountPostMigration.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountPostMigration.json @@ -1,7 +1,5 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "resource-group-name", "accountName": "accountname", "api-version": "2025-06-01", "monitor": "true", @@ -9,7 +7,9 @@ "properties": { "targetSkuName": "Standard_ZRS" } - } + }, + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {}, @@ -18,5 +18,7 @@ "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-09-01" } } - } + }, + "operationId": "StorageAccounts_CustomerInitiatedMigration", + "title": "StorageAccountPostMigration" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountPutEncryptionScope.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountPutEncryptionScope.json index 16ac02cf708c..a47fd1b8dad5 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountPutEncryptionScope.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountPutEncryptionScope.json @@ -1,39 +1,41 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "resource-group-name", "accountName": "accountname", - "encryptionScopeName": "{encryption-scope-name}", "api-version": "2025-06-01", + "encryptionScope": {}, + "encryptionScopeName": "{encryption-scope-name}", "monitor": "true", - "encryptionScope": {} + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { - "201": { + "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", "name": "{encryption-scope-name}", "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", "properties": { - "source": "Microsoft.Storage", - "state": "Enabled", "creationTime": "2018-10-16T02:42:41.7633306Z", - "lastModifiedTime": "2018-10-16T02:42:41.7633306Z" + "lastModifiedTime": "2018-10-16T02:42:41.7633306Z", + "source": "Microsoft.Storage", + "state": "Enabled" } } }, - "200": { + "201": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", "name": "{encryption-scope-name}", "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", "properties": { - "source": "Microsoft.Storage", - "state": "Enabled", "creationTime": "2018-10-16T02:42:41.7633306Z", - "lastModifiedTime": "2018-10-16T02:42:41.7633306Z" + "lastModifiedTime": "2018-10-16T02:42:41.7633306Z", + "source": "Microsoft.Storage", + "state": "Enabled" } } } - } + }, + "operationId": "EncryptionScopes_Put", + "title": "StorageAccountPutEncryptionScope" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json index 5a3c637ca316..862a7c3d0e7a 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json @@ -1,45 +1,47 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "resource-group-name", "accountName": "accountname", - "encryptionScopeName": "{encryption-scope-name}", "api-version": "2025-06-01", - "monitor": "true", "encryptionScope": { "properties": { "requireInfrastructureEncryption": true } - } + }, + "encryptionScopeName": "{encryption-scope-name}", + "monitor": "true", + "resourceGroupName": "resource-group-name", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { - "201": { + "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", "name": "{encryption-scope-name}", "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", "properties": { + "creationTime": "2018-10-16T02:42:41.7633306Z", + "lastModifiedTime": "2018-10-16T02:42:41.7633306Z", "requireInfrastructureEncryption": true, "source": "Microsoft.Storage", - "state": "Enabled", - "creationTime": "2018-10-16T02:42:41.7633306Z", - "lastModifiedTime": "2018-10-16T02:42:41.7633306Z" + "state": "Enabled" } } }, - "200": { + "201": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", "name": "{encryption-scope-name}", "type": "Microsoft.Storage/storageAccounts/encryptionScopes", + "id": "/subscriptions/{subscription-id}/resourceGroups/resource-group-name/providers/Microsoft.Storage/storageAccounts/accountname/encryptionScopes/{encryption-scope-name}", "properties": { + "creationTime": "2018-10-16T02:42:41.7633306Z", + "lastModifiedTime": "2018-10-16T02:42:41.7633306Z", "requireInfrastructureEncryption": true, "source": "Microsoft.Storage", - "state": "Enabled", - "creationTime": "2018-10-16T02:42:41.7633306Z", - "lastModifiedTime": "2018-10-16T02:42:41.7633306Z" + "state": "Enabled" } } } - } + }, + "operationId": "EncryptionScopes_Put", + "title": "StorageAccountPutEncryptionScopeWithInfrastructureEncryption" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountPutPrivateEndpointConnection.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountPutPrivateEndpointConnection.json index ab97264a9e49..f35bd519e5bd 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountPutPrivateEndpointConnection.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountPutPrivateEndpointConnection.json @@ -1,38 +1,40 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res7687", "accountName": "sto9699", - "privateEndpointConnectionName": "{privateEndpointConnectionName}", "api-version": "2025-06-01", "monitor": "true", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", "properties": { "properties": { "privateLinkServiceConnectionState": { - "status": "Approved", - "description": "Auto-Approved" + "description": "Auto-Approved", + "status": "Approved" } } - } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}", "name": "{privateEndpointConnectionName}", "type": "Microsoft.Storage/storageAccounts/privateEndpointConnections", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}", "properties": { - "provisioningState": "Succeeded", "privateEndpoint": { "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest01" }, "privateLinkServiceConnectionState": { - "status": "Approved", "description": "Auto-Approved", - "actionRequired": "None" - } + "actionRequired": "None", + "status": "Approved" + }, + "provisioningState": "Succeeded" } } } - } + }, + "operationId": "PrivateEndpointConnections_Put", + "title": "StorageAccountPutPrivateEndpointConnection" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountRegenerateKerbKey.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountRegenerateKerbKey.json index bd4cc62dfd67..ee3d68826b28 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountRegenerateKerbKey.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountRegenerateKerbKey.json @@ -1,13 +1,13 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res4167", "accountName": "sto3539", "api-version": "2025-06-01", "monitor": "true", "regenerateKey": { "keyName": "kerb1" - } + }, + "resourceGroupName": "res4167", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -31,5 +31,7 @@ ] } } - } + }, + "operationId": "StorageAccounts_RegenerateKey", + "title": "StorageAccountRegenerateKerbKey" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountRegenerateKey.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountRegenerateKey.json index 7f0fdd70008b..9197e89315d6 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountRegenerateKey.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountRegenerateKey.json @@ -1,13 +1,13 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res4167", "accountName": "sto3539", "api-version": "2025-06-01", "monitor": "true", "regenerateKey": { "keyName": "key2" - } + }, + "resourceGroupName": "res4167", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { @@ -26,5 +26,7 @@ ] } } - } + }, + "operationId": "StorageAccounts_RegenerateKey", + "title": "StorageAccountRegenerateKey" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountRevokeUserDelegationKeys.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountRevokeUserDelegationKeys.json index 5b85706ccb29..6ae8cf75a66a 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountRevokeUserDelegationKeys.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountRevokeUserDelegationKeys.json @@ -1,11 +1,13 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res4167", "accountName": "sto3539", - "api-version": "2025-06-01" + "api-version": "2025-06-01", + "resourceGroupName": "res4167", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": {} - } + }, + "operationId": "StorageAccounts_RevokeUserDelegationKeys", + "title": "StorageAccountRevokeUserDelegationKeys" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetBlobInventoryPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetBlobInventoryPolicy.json index e38301c9a88c..9292bcea200a 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetBlobInventoryPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetBlobInventoryPolicy.json @@ -1,41 +1,37 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res7687", "accountName": "sto9699", - "blobInventoryPolicyName": "default", "api-version": "2025-06-01", + "blobInventoryPolicyName": "default", "monitor": "true", "properties": { "properties": { "policy": { - "enabled": true, "type": "Inventory", + "enabled": true, "rules": [ { - "enabled": true, "name": "inventoryPolicyRule1", - "destination": "container1", "definition": { + "format": "Csv", "filters": { "blobTypes": [ "blockBlob", "appendBlob", "pageBlob" ], - "prefixMatch": [ - "inventoryprefix1", - "inventoryprefix2" - ], "creationTime": { "lastNDays": 1000 }, + "includeBlobVersions": true, "includeSnapshots": true, - "includeBlobVersions": true + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] }, - "format": "Csv", - "schedule": "Daily", "objectType": "Blob", + "schedule": "Daily", "schemaFields": [ "Name", "Creation-Time", @@ -50,15 +46,16 @@ "IsCurrentVersion", "Metadata" ] - } + }, + "destination": "container1", + "enabled": true }, { - "enabled": true, "name": "inventoryPolicyRule2", "definition": { "format": "Parquet", - "schedule": "Weekly", "objectType": "Container", + "schedule": "Weekly", "schemaFields": [ "Name", "Last-Modified", @@ -71,48 +68,50 @@ "HasLegalHold" ] }, - "destination": "container2" + "destination": "container2", + "enabled": true } ] } } - } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", "name": "DefaultInventoryPolicy", "type": "Microsoft.Storage/storageAccounts/inventoryPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", "properties": { + "lastModifiedTime": "2020-10-05T02:53:39.0932539Z", "policy": { - "enabled": true, "type": "Inventory", + "enabled": true, "rules": [ { - "enabled": true, "name": "inventoryPolicyRule1", - "destination": "container1", "definition": { + "format": "Csv", "filters": { "blobTypes": [ "blockBlob", "appendBlob", "pageBlob" ], - "prefixMatch": [ - "inventoryprefix1", - "inventoryprefix2" - ], "creationTime": { "lastNDays": 1000 }, + "includeBlobVersions": true, "includeSnapshots": true, - "includeBlobVersions": true + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] }, - "format": "Csv", - "schedule": "Daily", "objectType": "Blob", + "schedule": "Daily", "schemaFields": [ "Name", "Creation-Time", @@ -127,15 +126,16 @@ "IsCurrentVersion", "Metadata" ] - } + }, + "destination": "container1", + "enabled": true }, { - "enabled": true, "name": "inventoryPolicyRule2", "definition": { "format": "Parquet", - "schedule": "Weekly", "objectType": "Container", + "schedule": "Weekly", "schemaFields": [ "Name", "Last-Modified", @@ -148,13 +148,15 @@ "HasLegalHold" ] }, - "destination": "container2" + "destination": "container2", + "enabled": true } ] - }, - "lastModifiedTime": "2020-10-05T02:53:39.0932539Z" + } } } } - } + }, + "operationId": "BlobInventoryPolicies_CreateOrUpdate", + "title": "StorageAccountSetBlobInventoryPolicy" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json index e4645baf34cd..d8e36b3c1070 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json @@ -1,43 +1,39 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res7687", "accountName": "sto9699", - "blobInventoryPolicyName": "default", "api-version": "2025-06-01", + "blobInventoryPolicyName": "default", "monitor": "true", "properties": { "properties": { "policy": { - "enabled": true, "type": "Inventory", + "enabled": true, "rules": [ { - "enabled": true, "name": "inventoryPolicyRule1", - "destination": "container1", "definition": { + "format": "Csv", "filters": { "blobTypes": [ "blockBlob", "appendBlob", "pageBlob" ], - "prefixMatch": [ - "inventoryprefix1", - "inventoryprefix2" - ], "excludePrefix": [ "excludeprefix1", "excludeprefix2" ], - "includeSnapshots": true, "includeBlobVersions": true, - "includeDeleted": true + "includeDeleted": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] }, - "format": "Csv", - "schedule": "Daily", "objectType": "Blob", + "schedule": "Daily", "schemaFields": [ "Name", "Creation-Time", @@ -61,15 +57,16 @@ "DeletedTime", "RemainingRetentionDays" ] - } + }, + "destination": "container1", + "enabled": true }, { - "enabled": true, "name": "inventoryPolicyRule2", "definition": { "format": "Parquet", - "schedule": "Weekly", "objectType": "Container", + "schedule": "Weekly", "schemaFields": [ "Name", "Last-Modified", @@ -90,50 +87,51 @@ "RemainingRetentionDays" ] }, - "destination": "container2" + "destination": "container2", + "enabled": true } ] } } - } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", "name": "DefaultInventoryPolicy", "type": "Microsoft.Storage/storageAccounts/inventoryPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", "properties": { "policy": { - "enabled": true, "type": "Inventory", + "enabled": true, "rules": [ { - "enabled": true, "name": "inventoryPolicyRule1", - "destination": "container1", "definition": { + "format": "Csv", "filters": { "blobTypes": [ "blockBlob", "appendBlob", "pageBlob" ], - "prefixMatch": [ - "inventoryprefix1", - "inventoryprefix2" - ], "excludePrefix": [ "excludeprefix1", "excludeprefix2" ], - "includeSnapshots": true, "includeBlobVersions": true, - "includeDeleted": true + "includeDeleted": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] }, - "format": "Csv", - "schedule": "Daily", "objectType": "Blob", + "schedule": "Daily", "schemaFields": [ "Name", "Creation-Time", @@ -157,15 +155,16 @@ "DeletedTime", "RemainingRetentionDays" ] - } + }, + "destination": "container1", + "enabled": true }, { - "enabled": true, "name": "inventoryPolicyRule2", "definition": { "format": "Parquet", - "schedule": "Weekly", "objectType": "Container", + "schedule": "Weekly", "schemaFields": [ "Name", "Last-Modified", @@ -186,12 +185,15 @@ "RemainingRetentionDays" ] }, - "destination": "container2" + "destination": "container2", + "enabled": true } ] } } } } - } + }, + "operationId": "BlobInventoryPolicies_CreateOrUpdate", + "title": "StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json index 4abdd2a84f4b..1ac780df67c5 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json @@ -1,43 +1,39 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res7687", "accountName": "sto9699", - "blobInventoryPolicyName": "default", "api-version": "2025-06-01", + "blobInventoryPolicyName": "default", "monitor": "true", "properties": { "properties": { "policy": { - "enabled": true, "type": "Inventory", + "enabled": true, "rules": [ { - "enabled": true, "name": "inventoryPolicyRule1", - "destination": "container1", "definition": { + "format": "Csv", "filters": { "blobTypes": [ "blockBlob", "appendBlob", "pageBlob" ], - "prefixMatch": [ - "inventoryprefix1", - "inventoryprefix2" - ], "excludePrefix": [ "excludeprefix1", "excludeprefix2" ], - "includeSnapshots": true, "includeBlobVersions": true, - "includeDeleted": true + "includeDeleted": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] }, - "format": "Csv", - "schedule": "Daily", "objectType": "Blob", + "schedule": "Daily", "schemaFields": [ "Name", "Creation-Time", @@ -60,15 +56,16 @@ "Deleted", "RemainingRetentionDays" ] - } + }, + "destination": "container1", + "enabled": true }, { - "enabled": true, "name": "inventoryPolicyRule2", "definition": { "format": "Parquet", - "schedule": "Weekly", "objectType": "Container", + "schedule": "Weekly", "schemaFields": [ "Name", "Last-Modified", @@ -89,50 +86,51 @@ "RemainingRetentionDays" ] }, - "destination": "container2" + "destination": "container2", + "enabled": true } ] } } - } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", "name": "DefaultInventoryPolicy", "type": "Microsoft.Storage/storageAccounts/inventoryPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/inventoryPolicies/default", "properties": { "policy": { - "enabled": true, "type": "Inventory", + "enabled": true, "rules": [ { - "enabled": true, "name": "inventoryPolicyRule1", - "destination": "container1", "definition": { + "format": "Csv", "filters": { "blobTypes": [ "blockBlob", "appendBlob", "pageBlob" ], - "prefixMatch": [ - "inventoryprefix1", - "inventoryprefix2" - ], "excludePrefix": [ "excludeprefix1", "excludeprefix2" ], - "includeSnapshots": true, "includeBlobVersions": true, - "includeDeleted": true + "includeDeleted": true, + "includeSnapshots": true, + "prefixMatch": [ + "inventoryprefix1", + "inventoryprefix2" + ] }, - "format": "Csv", - "schedule": "Daily", "objectType": "Blob", + "schedule": "Daily", "schemaFields": [ "Name", "Creation-Time", @@ -155,15 +153,16 @@ "Deleted", "RemainingRetentionDays" ] - } + }, + "destination": "container1", + "enabled": true }, { - "enabled": true, "name": "inventoryPolicyRule2", "definition": { "format": "Parquet", - "schedule": "Weekly", "objectType": "Container", + "schedule": "Weekly", "schemaFields": [ "Name", "Last-Modified", @@ -184,12 +183,15 @@ "RemainingRetentionDays" ] }, - "destination": "container2" + "destination": "container2", + "enabled": true } ] } } } } - } + }, + "operationId": "BlobInventoryPolicies_CreateOrUpdate", + "title": "StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicy.json index 5aafff907201..401072cdb135 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicy.json @@ -1,38 +1,27 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res7687", "accountName": "sto9699", - "managementPolicyName": "default", "api-version": "2025-06-01", + "managementPolicyName": "default", "monitor": "true", "properties": { "properties": { "policy": { "rules": [ { - "enabled": true, "name": "olcmtest1", "type": "Lifecycle", "definition": { - "filters": { - "blobTypes": [ - "blockBlob" - ], - "prefixMatch": [ - "olcmtestcontainer1" - ] - }, "actions": { "baseBlob": { - "tierToCool": { - "daysAfterModificationGreaterThan": 30 + "delete": { + "daysAfterModificationGreaterThan": 1000 }, "tierToArchive": { "daysAfterModificationGreaterThan": 90 }, - "delete": { - "daysAfterModificationGreaterThan": 1000 + "tierToCool": { + "daysAfterModificationGreaterThan": 30 } }, "snapshot": { @@ -40,21 +29,36 @@ "daysAfterCreationGreaterThan": 30 } } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] } - } + }, + "enabled": true }, { - "enabled": true, "name": "olcmtest2", "type": "Lifecycle", "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + } + }, "filters": { - "blobTypes": [ - "blockBlob" - ], - "prefixMatch": [ - "olcmtestcontainer2" - ], "blobIndexMatch": [ { "name": "tag1", @@ -66,60 +70,48 @@ "op": "==", "value": "val2" } + ], + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer2" ] - }, - "actions": { - "baseBlob": { - "tierToCool": { - "daysAfterModificationGreaterThan": 30 - }, - "tierToArchive": { - "daysAfterModificationGreaterThan": 90 - }, - "delete": { - "daysAfterModificationGreaterThan": 1000 - } - } } - } + }, + "enabled": true } ] } } - } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", "name": "DefaultManagementPolicy", "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", "properties": { + "lastModifiedTime": "2018-06-08T02:53:39.0932539Z", "policy": { "rules": [ { - "enabled": true, "name": "olcmtest1", "type": "Lifecycle", "definition": { - "filters": { - "blobTypes": [ - "blockBlob" - ], - "prefixMatch": [ - "olcmtestcontainer1" - ] - }, "actions": { "baseBlob": { - "tierToCool": { - "daysAfterModificationGreaterThan": 30 + "delete": { + "daysAfterModificationGreaterThan": 1000 }, "tierToArchive": { "daysAfterModificationGreaterThan": 90 }, - "delete": { - "daysAfterModificationGreaterThan": 1000 + "tierToCool": { + "daysAfterModificationGreaterThan": 30 } }, "snapshot": { @@ -127,21 +119,36 @@ "daysAfterCreationGreaterThan": 30 } } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] } - } + }, + "enabled": true }, { - "enabled": true, "name": "olcmtest2", "type": "Lifecycle", "definition": { + "actions": { + "baseBlob": { + "delete": { + "daysAfterModificationGreaterThan": 1000 + }, + "tierToArchive": { + "daysAfterModificationGreaterThan": 90 + }, + "tierToCool": { + "daysAfterModificationGreaterThan": 30 + } + } + }, "filters": { - "blobTypes": [ - "blockBlob" - ], - "prefixMatch": [ - "olcmtestcontainer2" - ], "blobIndexMatch": [ { "name": "tag1", @@ -153,28 +160,23 @@ "op": "==", "value": "val2" } + ], + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer2" ] - }, - "actions": { - "baseBlob": { - "tierToCool": { - "daysAfterModificationGreaterThan": 30 - }, - "tierToArchive": { - "daysAfterModificationGreaterThan": 90 - }, - "delete": { - "daysAfterModificationGreaterThan": 1000 - } - } } - } + }, + "enabled": true } ] - }, - "lastModifiedTime": "2018-06-08T02:53:39.0932539Z" + } } } } - } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicies" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicyColdTierActions.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicyColdTierActions.json index ed8ccbacf594..6ce0684e993b 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicyColdTierActions.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicyColdTierActions.json @@ -1,32 +1,21 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res7687", "accountName": "sto9699", - "managementPolicyName": "default", "api-version": "2025-06-01", + "managementPolicyName": "default", "monitor": "true", "properties": { "properties": { "policy": { "rules": [ { - "enabled": true, "name": "olcmtest1", "type": "Lifecycle", "definition": { - "filters": { - "blobTypes": [ - "blockBlob" - ], - "prefixMatch": [ - "olcmtestcontainer1" - ] - }, "actions": { "baseBlob": { - "tierToCool": { - "daysAfterModificationGreaterThan": 30 + "delete": { + "daysAfterModificationGreaterThan": 1000 }, "tierToArchive": { "daysAfterModificationGreaterThan": 90 @@ -34,60 +23,63 @@ "tierToCold": { "daysAfterModificationGreaterThan": 30 }, - "delete": { - "daysAfterModificationGreaterThan": 1000 + "tierToCool": { + "daysAfterModificationGreaterThan": 30 } }, "snapshot": { - "tierToCold": { + "delete": { "daysAfterCreationGreaterThan": 30 }, - "delete": { + "tierToCold": { "daysAfterCreationGreaterThan": 30 } }, "version": { - "tierToCold": { + "delete": { "daysAfterCreationGreaterThan": 30 }, - "delete": { + "tierToCold": { "daysAfterCreationGreaterThan": 30 } } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] } - } + }, + "enabled": true } ] } } - } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", "name": "DefaultManagementPolicy", "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", "properties": { + "lastModifiedTime": "2021-06-08T02:53:39.0932539Z", "policy": { "rules": [ { - "enabled": true, "name": "olcmtest1", "type": "Lifecycle", "definition": { - "filters": { - "blobTypes": [ - "blockBlob" - ], - "prefixMatch": [ - "olcmtestcontainer1" - ] - }, "actions": { "baseBlob": { - "tierToCool": { - "daysAfterModificationGreaterThan": 30 + "delete": { + "daysAfterModificationGreaterThan": 1000 }, "tierToArchive": { "daysAfterModificationGreaterThan": 90 @@ -95,34 +87,44 @@ "tierToCold": { "daysAfterModificationGreaterThan": 30 }, - "delete": { - "daysAfterModificationGreaterThan": 1000 + "tierToCool": { + "daysAfterModificationGreaterThan": 30 } }, "snapshot": { - "tierToCold": { + "delete": { "daysAfterCreationGreaterThan": 30 }, - "delete": { + "tierToCold": { "daysAfterCreationGreaterThan": 30 } }, "version": { - "tierToCold": { + "delete": { "daysAfterCreationGreaterThan": 30 }, - "delete": { + "tierToCold": { "daysAfterCreationGreaterThan": 30 } } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] } - } + }, + "enabled": true } ] - }, - "lastModifiedTime": "2021-06-08T02:53:39.0932539Z" + } } } } - } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicyColdTierActions" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json index aec43f42a1e6..fa402aef6d4e 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json @@ -1,29 +1,17 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res7687", "accountName": "sto9699", - "managementPolicyName": "default", "api-version": "2025-06-01", + "managementPolicyName": "default", "monitor": "true", "properties": { "properties": { "policy": { "rules": [ { - "enabled": true, "name": "olcmtest1", "type": "Lifecycle", "definition": { - "filters": { - "blobTypes": [ - "blockBlob", - "appendBlob" - ], - "prefixMatch": [ - "olcmtestcontainer1" - ] - }, "actions": { "baseBlob": { "delete": { @@ -40,37 +28,40 @@ "daysAfterCreationGreaterThan": 90 } } + }, + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] } - } + }, + "enabled": true } ] } } - } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", "name": "DefaultManagementPolicy", "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", "properties": { + "lastModifiedTime": "2018-06-08T02:53:39.0932539Z", "policy": { "rules": [ { - "enabled": true, "name": "olcmtest1", "type": "Lifecycle", "definition": { - "filters": { - "blobTypes": [ - "blockBlob", - "appendBlob" - ], - "prefixMatch": [ - "olcmtestcontainer1" - ] - }, "actions": { "baseBlob": { "delete": { @@ -87,14 +78,25 @@ "daysAfterCreationGreaterThan": 90 } } + }, + "filters": { + "blobTypes": [ + "blockBlob", + "appendBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] } - } + }, + "enabled": true } ] - }, - "lastModifiedTime": "2018-06-08T02:53:39.0932539Z" + } } } } - } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicyForBlockAndAppendBlobs" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicyHotTierActions.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicyHotTierActions.json index 4548d82b313a..a8e21e1af25b 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicyHotTierActions.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicyHotTierActions.json @@ -1,28 +1,17 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res7687", "accountName": "sto9699", - "managementPolicyName": "default", "api-version": "2025-06-01", + "managementPolicyName": "default", "monitor": "true", "properties": { "properties": { "policy": { "rules": [ { - "enabled": true, "name": "olcmtest1", "type": "Lifecycle", "definition": { - "filters": { - "blobTypes": [ - "blockBlob" - ], - "prefixMatch": [ - "olcmtestcontainer1" - ] - }, "actions": { "baseBlob": { "tierToHot": { @@ -39,36 +28,39 @@ "daysAfterCreationGreaterThan": 30 } } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] } - } + }, + "enabled": true } ] } } - } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", "name": "DefaultManagementPolicy", "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", "properties": { + "lastModifiedTime": "2021-06-08T02:53:39.0932539Z", "policy": { "rules": [ { - "enabled": true, "name": "olcmtest1", "type": "Lifecycle", "definition": { - "filters": { - "blobTypes": [ - "blockBlob" - ], - "prefixMatch": [ - "olcmtestcontainer1" - ] - }, "actions": { "baseBlob": { "tierToHot": { @@ -85,14 +77,24 @@ "daysAfterCreationGreaterThan": 30 } } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] } - } + }, + "enabled": true } ] - }, - "lastModifiedTime": "2021-06-08T02:53:39.0932539Z" + } } } } - } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicyHotTierActions" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json index cbf2dd0309e7..7688077535ca 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json @@ -1,134 +1,136 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res7687", "accountName": "sto9699", - "managementPolicyName": "default", "api-version": "2025-06-01", + "managementPolicyName": "default", "monitor": "true", "properties": { "properties": { "policy": { "rules": [ { - "enabled": true, "name": "olcmtest1", "type": "Lifecycle", "definition": { - "filters": { - "blobTypes": [ - "blockBlob" - ], - "prefixMatch": [ - "olcmtestcontainer1" - ] - }, "actions": { "baseBlob": { - "tierToCool": { - "daysAfterModificationGreaterThan": 30 + "delete": { + "daysAfterModificationGreaterThan": 1000 }, "tierToArchive": { "daysAfterModificationGreaterThan": 90 }, - "delete": { - "daysAfterModificationGreaterThan": 1000 + "tierToCool": { + "daysAfterModificationGreaterThan": 30 } }, "snapshot": { - "tierToCool": { - "daysAfterCreationGreaterThan": 30 + "delete": { + "daysAfterCreationGreaterThan": 1000 }, "tierToArchive": { "daysAfterCreationGreaterThan": 90 }, - "delete": { - "daysAfterCreationGreaterThan": 1000 + "tierToCool": { + "daysAfterCreationGreaterThan": 30 } }, "version": { - "tierToCool": { - "daysAfterCreationGreaterThan": 30 + "delete": { + "daysAfterCreationGreaterThan": 1000 }, "tierToArchive": { "daysAfterCreationGreaterThan": 90 }, - "delete": { - "daysAfterCreationGreaterThan": 1000 + "tierToCool": { + "daysAfterCreationGreaterThan": 30 } } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] } - } + }, + "enabled": true } ] } } - } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", "name": "DefaultManagementPolicy", "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", "properties": { + "lastModifiedTime": "2018-06-08T02:53:39.0932539Z", "policy": { "rules": [ { - "enabled": true, "name": "olcmtest1", "type": "Lifecycle", "definition": { - "filters": { - "blobTypes": [ - "blockBlob" - ], - "prefixMatch": [ - "olcmtestcontainer1" - ] - }, "actions": { "baseBlob": { - "tierToCool": { - "daysAfterModificationGreaterThan": 30 + "delete": { + "daysAfterModificationGreaterThan": 1000 }, "tierToArchive": { "daysAfterModificationGreaterThan": 90 }, - "delete": { - "daysAfterModificationGreaterThan": 1000 + "tierToCool": { + "daysAfterModificationGreaterThan": 30 } }, "snapshot": { - "tierToCool": { - "daysAfterCreationGreaterThan": 30 + "delete": { + "daysAfterCreationGreaterThan": 1000 }, "tierToArchive": { "daysAfterCreationGreaterThan": 90 }, - "delete": { - "daysAfterCreationGreaterThan": 1000 + "tierToCool": { + "daysAfterCreationGreaterThan": 30 } }, "version": { - "tierToCool": { - "daysAfterCreationGreaterThan": 30 + "delete": { + "daysAfterCreationGreaterThan": 1000 }, "tierToArchive": { "daysAfterCreationGreaterThan": 90 }, - "delete": { - "daysAfterCreationGreaterThan": 1000 + "tierToCool": { + "daysAfterCreationGreaterThan": 30 } } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] } - } + }, + "enabled": true } ] - }, - "lastModifiedTime": "2018-06-08T02:53:39.0932539Z" + } } } } - } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicyWithSnapshotAndVersion" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json index 1e9fa18b1a1b..2f134b239bdf 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json @@ -1,90 +1,92 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res7687", "accountName": "sto9699", - "managementPolicyName": "default", "api-version": "2025-06-01", + "managementPolicyName": "default", "monitor": "true", "properties": { "properties": { "policy": { "rules": [ { - "enabled": true, "name": "olcmtest1", "type": "Lifecycle", "definition": { - "filters": { - "blobTypes": [ - "blockBlob" - ], - "prefixMatch": [ - "olcmtestcontainer1" - ] - }, "actions": { "baseBlob": { - "tierToCool": { - "daysAfterCreationGreaterThan": 30 + "delete": { + "daysAfterCreationGreaterThan": 1000 }, "tierToArchive": { "daysAfterCreationGreaterThan": 90 }, - "delete": { - "daysAfterCreationGreaterThan": 1000 + "tierToCool": { + "daysAfterCreationGreaterThan": 30 } } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] } - } + }, + "enabled": true } ] } } - } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", "name": "DefaultManagementPolicy", "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", "properties": { + "lastModifiedTime": "2021-06-08T02:53:39.0932539Z", "policy": { "rules": [ { - "enabled": true, "name": "olcmtest1", "type": "Lifecycle", "definition": { - "filters": { - "blobTypes": [ - "blockBlob" - ], - "prefixMatch": [ - "olcmtestcontainer1" - ] - }, "actions": { "baseBlob": { - "tierToCool": { - "daysAfterCreationGreaterThan": 30 + "delete": { + "daysAfterCreationGreaterThan": 1000 }, "tierToArchive": { "daysAfterCreationGreaterThan": 90 }, - "delete": { - "daysAfterCreationGreaterThan": 1000 + "tierToCool": { + "daysAfterCreationGreaterThan": 30 } } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer1" + ] } - } + }, + "enabled": true } ] - }, - "lastModifiedTime": "2021-06-08T02:53:39.0932539Z" + } } } } - } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json index d95403abd0b3..8d3fe1505d23 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json @@ -1,102 +1,104 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res7687", "accountName": "sto9699", - "managementPolicyName": "default", "api-version": "2025-06-01", + "managementPolicyName": "default", "monitor": "true", "properties": { "properties": { "policy": { "rules": [ { - "enabled": true, "name": "olcmtest", "type": "Lifecycle", "definition": { - "filters": { - "blobTypes": [ - "blockBlob" - ], - "prefixMatch": [ - "olcmtestcontainer" - ] - }, "actions": { "baseBlob": { - "tierToCool": { - "daysAfterLastAccessTimeGreaterThan": 30 + "delete": { + "daysAfterLastAccessTimeGreaterThan": 1000 }, + "enableAutoTierToHotFromCool": true, "tierToArchive": { "daysAfterLastAccessTimeGreaterThan": 90 }, - "delete": { - "daysAfterLastAccessTimeGreaterThan": 1000 - }, - "enableAutoTierToHotFromCool": true + "tierToCool": { + "daysAfterLastAccessTimeGreaterThan": 30 + } }, "snapshot": { "delete": { "daysAfterCreationGreaterThan": 30 } } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer" + ] } - } + }, + "enabled": true } ] } } - } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", "name": "DefaultManagementPolicy", "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", "properties": { + "lastModifiedTime": "2018-06-08T02:53:39.0932539Z", "policy": { "rules": [ { - "enabled": true, "name": "olcmtest", "type": "Lifecycle", "definition": { - "filters": { - "blobTypes": [ - "blockBlob" - ], - "prefixMatch": [ - "olcmtestcontainer" - ] - }, "actions": { "baseBlob": { - "tierToCool": { - "daysAfterLastAccessTimeGreaterThan": 30 + "delete": { + "daysAfterLastAccessTimeGreaterThan": 1000 }, + "enableAutoTierToHotFromCool": true, "tierToArchive": { "daysAfterLastAccessTimeGreaterThan": 90 }, - "delete": { - "daysAfterLastAccessTimeGreaterThan": 1000 - }, - "enableAutoTierToHotFromCool": true + "tierToCool": { + "daysAfterLastAccessTimeGreaterThan": 30 + } }, "snapshot": { "delete": { "daysAfterCreationGreaterThan": 30 } } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer" + ] } - } + }, + "enabled": true } ] - }, - "lastModifiedTime": "2018-06-08T02:53:39.0932539Z" + } } } } - } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json index 5f7685bcdebe..6960739f4406 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json @@ -1,39 +1,28 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res7687", "accountName": "sto9699", - "managementPolicyName": "default", "api-version": "2025-06-01", + "managementPolicyName": "default", "monitor": "true", "properties": { "properties": { "policy": { "rules": [ { - "enabled": true, "name": "olcmtest", "type": "Lifecycle", "definition": { - "filters": { - "blobTypes": [ - "blockBlob" - ], - "prefixMatch": [ - "olcmtestcontainer" - ] - }, "actions": { "baseBlob": { - "tierToCool": { - "daysAfterModificationGreaterThan": 30 + "delete": { + "daysAfterModificationGreaterThan": 1000 }, "tierToArchive": { - "daysAfterModificationGreaterThan": 90, - "daysAfterLastTierChangeGreaterThan": 120 + "daysAfterLastTierChangeGreaterThan": 120, + "daysAfterModificationGreaterThan": 90 }, - "delete": { - "daysAfterModificationGreaterThan": 1000 + "tierToCool": { + "daysAfterModificationGreaterThan": 30 } }, "snapshot": { @@ -48,47 +37,50 @@ "daysAfterLastTierChangeGreaterThan": 90 } } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer" + ] } - } + }, + "enabled": true } ] } } - } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", "name": "DefaultManagementPolicy", "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", "properties": { + "lastModifiedTime": "2018-06-08T02:53:39.0932539Z", "policy": { "rules": [ { - "enabled": true, "name": "olcmtest", "type": "Lifecycle", "definition": { - "filters": { - "blobTypes": [ - "blockBlob" - ], - "prefixMatch": [ - "olcmtestcontainer" - ] - }, "actions": { "baseBlob": { - "tierToCool": { - "daysAfterModificationGreaterThan": 30 + "delete": { + "daysAfterModificationGreaterThan": 1000 }, "tierToArchive": { - "daysAfterModificationGreaterThan": 90, - "daysAfterLastTierChangeGreaterThan": 120 + "daysAfterLastTierChangeGreaterThan": 120, + "daysAfterModificationGreaterThan": 90 }, - "delete": { - "daysAfterModificationGreaterThan": 1000 + "tierToCool": { + "daysAfterModificationGreaterThan": 30 } }, "snapshot": { @@ -103,14 +95,24 @@ "daysAfterLastTierChangeGreaterThan": 90 } } + }, + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer" + ] } - } + }, + "enabled": true } ] - }, - "lastModifiedTime": "2018-06-08T02:53:39.0932539Z" + } } } } - } + }, + "operationId": "ManagementPolicies_CreateOrUpdate", + "title": "StorageAccountSetManagementPolicy_LastTierChangeTimeActions" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdate.json index 88346b899802..a5881e7e529c 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdate.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdate.json @@ -1,141 +1,142 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9407", "accountName": "sto8596", "api-version": "2025-06-01", "monitor": "true", "parameters": { "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "enableExtendedGroups": true, + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isLocalUserEnabled": true, + "isSftpEnabled": true, "keyPolicy": { "keyExpirationPeriodInDays": 20 }, - "sasPolicy": { - "sasExpirationPeriod": "1.15:59:59", - "expirationAction": "Log" - }, - "allowBlobPublicAccess": false, - "isSftpEnabled": true, - "isLocalUserEnabled": true, - "enableExtendedGroups": true, - "defaultToOAuthAuthentication": false, "minimumTlsVersion": "TLS1_2", - "allowSharedKeyAccess": true, "networkAcls": { + "defaultAction": "Allow", "resourceAccessRules": [ { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace" + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" } - ], - "defaultAction": "Allow" + ] }, "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true + "routingChoice": "MicrosoftRouting" }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true - }, - "blob": { - "keyType": "Account", - "enabled": true - } - }, - "keySource": "Microsoft.Storage" + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" }, "geoPriorityReplicationStatus": { "isBlobEnabled": true } } - } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", "kind": "Storage", "location": "eastus2(stage)", - "name": "sto8596", "properties": { - "keyPolicy": { - "keyExpirationPeriodInDays": 20 - }, - "sasPolicy": { - "sasExpirationPeriod": "1.15:59:59", - "expirationAction": "Log" + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "enableExtendedGroups": true, + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } }, + "isHnsEnabled": true, + "isLocalUserEnabled": true, + "isSftpEnabled": true, "keyCreationTime": { "key1": "2021-03-18T04:42:22.4322836Z", "key2": "2021-03-18T04:42:22.4322836Z" }, - "isHnsEnabled": true, - "allowBlobPublicAccess": false, - "isSftpEnabled": true, - "isLocalUserEnabled": true, - "enableExtendedGroups": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, "minimumTlsVersion": "TLS1_2", - "allowSharedKeyAccess": true, - "creationTime": "2017-06-01T02:42:41.7633306Z", "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], "resourceAccessRules": [ { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace" + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" } ], - "bypass": "AzureServices", - "defaultAction": "Allow", - "ipRules": [], "virtualNetworkRules": [] }, "primaryEndpoints": { - "web": "https://sto8596.web.core.windows.net/", - "dfs": "https://sto8596.dfs.core.windows.net/", "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", "file": "https://sto8596.file.core.windows.net/", - "queue": "https://sto8596.queue.core.windows.net/", - "table": "https://sto8596.table.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, "microsoftEndpoints": { - "web": "https://sto8596-microsoftrouting.web.core.windows.net/", - "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", "file": "https://sto8596-microsoftrouting.file.core.windows.net/", "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", - "table": "https://sto8596-microsoftrouting.table.core.windows.net/" + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" }, - "internetEndpoints": { - "web": "https://sto8596-internetrouting.web.core.windows.net/", - "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", - "blob": "https://sto8596-internetrouting.blob.core.windows.net/", - "file": "https://sto8596-internetrouting.file.core.windows.net/" - } + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" }, "primaryLocation": "eastus2(stage)", "provisioningState": "Succeeded", "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true + "routingChoice": "MicrosoftRouting" }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - }, - "blob": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - } - }, - "keySource": "Microsoft.Storage" + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" }, "secondaryLocation": "northcentralus(stage)", "statusOfPrimary": "available", @@ -152,9 +153,10 @@ "tags": { "key1": "value1", "key2": "value2" - }, - "type": "Microsoft.Storage/storageAccounts" + } } } - } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdate" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdateAllowedCopyScopeToAAD.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdateAllowedCopyScopeToAAD.json index 659120f7d134..49f237e048a6 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdateAllowedCopyScopeToAAD.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdateAllowedCopyScopeToAAD.json @@ -1,134 +1,135 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9407", "accountName": "sto8596", "api-version": "2025-06-01", "monitor": "true", "parameters": { "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "allowedCopyScope": "AAD", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, "keyPolicy": { "keyExpirationPeriodInDays": 20 }, - "sasPolicy": { - "sasExpirationPeriod": "1.15:59:59", - "expirationAction": "Log" - }, - "allowBlobPublicAccess": false, "minimumTlsVersion": "TLS1_2", - "allowSharedKeyAccess": true, "networkAcls": { + "defaultAction": "Allow", "resourceAccessRules": [ { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace" + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" } - ], - "defaultAction": "Allow" + ] }, "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true - }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true - }, - "blob": { - "keyType": "Account", - "enabled": true - } - }, - "keySource": "Microsoft.Storage" + "routingChoice": "MicrosoftRouting" }, - "allowedCopyScope": "AAD" + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } } - } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", "kind": "Storage", "location": "eastus2(stage)", - "name": "sto8596", "properties": { - "keyPolicy": { - "keyExpirationPeriodInDays": 20 - }, - "sasPolicy": { - "sasExpirationPeriod": "1.15:59:59", - "expirationAction": "Log" + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "allowedCopyScope": "AAD", + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } }, + "isHnsEnabled": true, "keyCreationTime": { "key1": "2021-03-18T04:42:22.4322836Z", "key2": "2021-03-18T04:42:22.4322836Z" }, - "isHnsEnabled": true, - "allowBlobPublicAccess": false, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, "minimumTlsVersion": "TLS1_2", - "allowSharedKeyAccess": true, - "creationTime": "2017-06-01T02:42:41.7633306Z", "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], "resourceAccessRules": [ { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace" + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" } ], - "bypass": "AzureServices", - "defaultAction": "Allow", - "ipRules": [], "virtualNetworkRules": [] }, "primaryEndpoints": { - "web": "https://sto8596.web.core.windows.net/", - "dfs": "https://sto8596.dfs.core.windows.net/", "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", "file": "https://sto8596.file.core.windows.net/", - "queue": "https://sto8596.queue.core.windows.net/", - "table": "https://sto8596.table.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, "microsoftEndpoints": { - "web": "https://sto8596-microsoftrouting.web.core.windows.net/", - "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", "file": "https://sto8596-microsoftrouting.file.core.windows.net/", "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", - "table": "https://sto8596-microsoftrouting.table.core.windows.net/" + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" }, - "internetEndpoints": { - "web": "https://sto8596-internetrouting.web.core.windows.net/", - "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", - "blob": "https://sto8596-internetrouting.blob.core.windows.net/", - "file": "https://sto8596-internetrouting.file.core.windows.net/" - } + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" }, "primaryLocation": "eastus2(stage)", "provisioningState": "Succeeded", "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true + "routingChoice": "MicrosoftRouting" }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - }, - "blob": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - } - }, - "keySource": "Microsoft.Storage" + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" }, - "allowedCopyScope": "AAD", "secondaryLocation": "northcentralus(stage)", "statusOfPrimary": "available", "statusOfSecondary": "available", @@ -141,9 +142,10 @@ "tags": { "key1": "value1", "key2": "value2" - }, - "type": "Microsoft.Storage/storageAccounts" + } } } - } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdateAllowedCopyScopeToAAD" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdateDisablePublicNetworkAccess.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdateDisablePublicNetworkAccess.json index 95f924d007f5..efaec700dd9e 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdateDisablePublicNetworkAccess.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdateDisablePublicNetworkAccess.json @@ -1,134 +1,135 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9407", "accountName": "sto8596", "api-version": "2025-06-01", "monitor": "true", "parameters": { "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, "keyPolicy": { "keyExpirationPeriodInDays": 20 }, - "sasPolicy": { - "sasExpirationPeriod": "1.15:59:59", - "expirationAction": "Log" - }, - "allowBlobPublicAccess": false, "minimumTlsVersion": "TLS1_2", - "allowSharedKeyAccess": true, "networkAcls": { + "defaultAction": "Allow", "resourceAccessRules": [ { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace" + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" } - ], - "defaultAction": "Allow" + ] }, + "publicNetworkAccess": "Disabled", "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true - }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true - }, - "blob": { - "keyType": "Account", - "enabled": true - } - }, - "keySource": "Microsoft.Storage" + "routingChoice": "MicrosoftRouting" }, - "publicNetworkAccess": "Disabled" + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" + } } - } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", "kind": "Storage", "location": "eastus2(stage)", - "name": "sto8596", "properties": { - "keyPolicy": { - "keyExpirationPeriodInDays": 20 - }, - "sasPolicy": { - "sasExpirationPeriod": "1.15:59:59", - "expirationAction": "Log" + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } }, + "isHnsEnabled": true, "keyCreationTime": { "key1": "2021-03-18T04:42:22.4322836Z", "key2": "2021-03-18T04:42:22.4322836Z" }, - "isHnsEnabled": true, - "allowBlobPublicAccess": false, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, "minimumTlsVersion": "TLS1_2", - "allowSharedKeyAccess": true, - "creationTime": "2017-06-01T02:42:41.7633306Z", "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], "resourceAccessRules": [ { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace" + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" } ], - "bypass": "AzureServices", - "defaultAction": "Allow", - "ipRules": [], "virtualNetworkRules": [] }, "primaryEndpoints": { - "web": "https://sto8596.web.core.windows.net/", - "dfs": "https://sto8596.dfs.core.windows.net/", "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", "file": "https://sto8596.file.core.windows.net/", - "queue": "https://sto8596.queue.core.windows.net/", - "table": "https://sto8596.table.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, "microsoftEndpoints": { - "web": "https://sto8596-microsoftrouting.web.core.windows.net/", - "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", "file": "https://sto8596-microsoftrouting.file.core.windows.net/", "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", - "table": "https://sto8596-microsoftrouting.table.core.windows.net/" + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" }, - "internetEndpoints": { - "web": "https://sto8596-internetrouting.web.core.windows.net/", - "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", - "blob": "https://sto8596-internetrouting.blob.core.windows.net/", - "file": "https://sto8596-internetrouting.file.core.windows.net/" - } + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" }, "primaryLocation": "eastus2(stage)", "provisioningState": "Succeeded", + "publicNetworkAccess": "Disabled", "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true + "routingChoice": "MicrosoftRouting" }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - }, - "blob": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - } - }, - "keySource": "Microsoft.Storage" + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" }, - "publicNetworkAccess": "Disabled", "secondaryLocation": "northcentralus(stage)", "statusOfPrimary": "available", "statusOfSecondary": "available", @@ -141,9 +142,10 @@ "tags": { "key1": "value1", "key2": "value2" - }, - "type": "Microsoft.Storage/storageAccounts" + } } } - } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdateDisablePublicNetworkAccess" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdateObjectReplicationPolicyOnDestination.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdateObjectReplicationPolicyOnDestination.json index e42407a02371..db1b47306504 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdateObjectReplicationPolicyOnDestination.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdateObjectReplicationPolicyOnDestination.json @@ -1,77 +1,79 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res7687", "accountName": "dst112", - "objectReplicationPolicyId": "2a20bb73-5717-4635-985a-5d4cf777438f", "api-version": "2025-06-01", "monitor": "true", + "objectReplicationPolicyId": "2a20bb73-5717-4635-985a-5d4cf777438f", "properties": { "properties": { - "sourceAccount": "src1122", "destinationAccount": "dst112", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, "rules": [ { - "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", - "sourceContainer": "scont139", "destinationContainer": "dcont139", "filters": { "prefixMatch": [ "blobA", "blobB" ] - } + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "scont139" }, { - "sourceContainer": "scont179", - "destinationContainer": "dcont179" + "destinationContainer": "dcont179", + "sourceContainer": "scont179" } ], - "metrics": { - "enabled": true - }, - "priorityReplication": { - "enabled": true - } + "sourceAccount": "src1122" } - } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/dst112/objectReplicationPolicies/2a20bb73-5717-4635-985a-5d4cf777438f", "name": "2a20bb73-5717-4635-985a-5d4cf777438f", "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/dst112/objectReplicationPolicies/2a20bb73-5717-4635-985a-5d4cf777438f", "properties": { - "policyId": "2a20bb73-5717-4635-985a-5d4cf777438f", - "sourceAccount": "src1122", "destinationAccount": "dst112", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "policyId": "2a20bb73-5717-4635-985a-5d4cf777438f", "rules": [ { - "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", - "sourceContainer": "sourceContainer1", "destinationContainer": "destContainer1", "filters": { "prefixMatch": [ "blobA", "blobB" ] - } + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "sourceContainer1" }, { + "destinationContainer": "dcont179", "ruleId": "cfbb4bc2-8b60-429f-b05a-d1e0942b33b2", - "sourceContainer": "scont179", - "destinationContainer": "dcont179" + "sourceContainer": "scont179" } ], - "metrics": { - "enabled": true - }, - "priorityReplication": { - "enabled": true - } + "sourceAccount": "src1122" } } } - } + }, + "operationId": "ObjectReplicationPolicies_CreateOrUpdate", + "title": "StorageAccountUpdateObjectReplicationPolicyOnDestination" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdateObjectReplicationPolicyOnSource.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdateObjectReplicationPolicyOnSource.json index 843b79a43d93..850691c56d26 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdateObjectReplicationPolicyOnSource.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdateObjectReplicationPolicyOnSource.json @@ -1,79 +1,81 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res7687", "accountName": "src1122", - "objectReplicationPolicyId": "2a20bb73-5717-4635-985a-5d4cf777438f", "api-version": "2025-06-01", "monitor": "true", + "objectReplicationPolicyId": "2a20bb73-5717-4635-985a-5d4cf777438f", "properties": { "properties": { - "sourceAccount": "src1122", "destinationAccount": "dst112", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, "rules": [ { - "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", - "sourceContainer": "scont139", "destinationContainer": "dcont139", "filters": { "prefixMatch": [ "blobA", "blobB" ] - } + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "scont139" }, { + "destinationContainer": "dcont179", "ruleId": "cfbb4bc2-8b60-429f-b05a-d1e0942b33b2", - "sourceContainer": "scont179", - "destinationContainer": "dcont179" + "sourceContainer": "scont179" } ], - "metrics": { - "enabled": true - }, - "priorityReplication": { - "enabled": true - } + "sourceAccount": "src1122" } - } + }, + "resourceGroupName": "res7687", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/src1122/objectReplicationPolicies/2a20bb73-5717-4635-985a-5d4cf777438f", "name": "2a20bb73-5717-4635-985a-5d4cf777438f", "type": "Microsoft.Storage/storageAccounts/objectReplicationPolicies", + "id": "/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/src1122/objectReplicationPolicies/2a20bb73-5717-4635-985a-5d4cf777438f", "properties": { - "policyId": "2a20bb73-5717-4635-985a-5d4cf777438f", - "enabledTime": "2019-06-08T03:01:55.7168089Z", - "sourceAccount": "src1122", "destinationAccount": "dst112", + "enabledTime": "2019-06-08T03:01:55.7168089Z", + "metrics": { + "enabled": true + }, + "priorityReplication": { + "enabled": true + }, + "policyId": "2a20bb73-5717-4635-985a-5d4cf777438f", "rules": [ { - "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", - "sourceContainer": "sourceContainer1", "destinationContainer": "destContainer1", "filters": { "prefixMatch": [ "blobA", "blobB" ] - } + }, + "ruleId": "d5d18a48-8801-4554-aeaa-74faf65f5ef9", + "sourceContainer": "sourceContainer1" }, { + "destinationContainer": "dcont179", "ruleId": "cfbb4bc2-8b60-429f-b05a-d1e0942b33b2", - "sourceContainer": "scont179", - "destinationContainer": "dcont179" + "sourceContainer": "scont179" } ], - "metrics": { - "enabled": true - }, - "priorityReplication": { - "enabled": true - } + "sourceAccount": "src1122" } } } - } + }, + "operationId": "ObjectReplicationPolicies_CreateOrUpdate", + "title": "StorageAccountUpdateObjectReplicationPolicyOnSource" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json index cc2b1c9a4ab5..cf7403f21c34 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json @@ -1,7 +1,5 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9101", "accountName": "sto4445", "api-version": "2025-06-01", "parameters": { @@ -11,106 +9,110 @@ "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": {} } }, - "sku": { - "name": "Standard_LRS" - }, "kind": "Storage", "properties": { "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true - }, - "blob": { - "keyType": "Account", - "enabled": true - } + "identity": { + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" }, + "keySource": "Microsoft.Keyvault", "keyvaultproperties": { - "keyvaulturi": "https://myvault8569.vault.azure.net", "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", "keyversion": "" }, - "keySource": "Microsoft.Keyvault", - "identity": { - "userAssignedIdentity": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } } } + }, + "sku": { + "name": "Standard_LRS" } - } + }, + "resourceGroupName": "res9101", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", "identity": { + "type": "UserAssigned", "userAssignedIdentities": { "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": { - "principalId": "8d823284-1060-42a5-9ec4-ed3d831e24d7", - "clientId": "fbaa6278-1ecc-415c-819f-6e2058d3acb5" + "clientId": "fbaa6278-1ecc-415c-819f-6e2058d3acb5", + "principalId": "8d823284-1060-42a5-9ec4-ed3d831e24d7" } - }, - "type": "UserAssigned" - }, - "sku": { - "name": "Standard_LRS", - "tier": "Standard" + } }, "kind": "StorageV2", - "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", - "name": "sto4445", - "type": "Microsoft.Storage/storageAccounts", "location": "eastus", - "tags": {}, "properties": { - "privateEndpointConnections": [], - "networkAcls": { - "bypass": "AzureServices", - "virtualNetworkRules": [], - "ipRules": [], - "defaultAction": "Allow" - }, - "supportsHttpsTrafficOnly": true, + "accessTier": "Hot", + "creationTime": "2020-12-15T00:43:14.0839093Z", "encryption": { "identity": { "userAssignedIdentity": "/subscriptions/{subscription-id}/resourcegroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" }, + "keySource": "Microsoft.Keyvault", "keyvaultproperties": { - "keyvaulturi": "https://myvault8569.vault.azure.net", + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", "keyversion": "", - "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" }, "services": { - "file": { - "keyType": "Account", + "blob": { "enabled": true, + "keyType": "Account", "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" }, - "blob": { - "keyType": "Account", + "file": { "enabled": true, + "keyType": "Account", "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" } - }, - "keySource": "Microsoft.Keyvault" + } + }, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "virtualNetworkRules": [] }, - "accessTier": "Hot", - "provisioningState": "Succeeded", - "creationTime": "2020-12-15T00:43:14.0839093Z", "primaryEndpoints": { - "web": "https://sto4445.web.core.windows.net/", - "dfs": "https://sto4445.dfs.core.windows.net/", "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", "file": "https://sto4445.file.core.windows.net/", "queue": "https://sto4445.queue.core.windows.net/", - "table": "https://sto4445.table.core.windows.net/" + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" }, "primaryLocation": "eastus", - "statusOfPrimary": "available" - } + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "statusOfPrimary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "tags": {} } } - } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json index 73fe7b67b47f..0a450ac389dc 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json @@ -1,7 +1,5 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res131918", "accountName": "sto131918", "api-version": "2025-06-01", "parameters": { @@ -11,108 +9,112 @@ "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": {} } }, - "sku": { - "name": "Standard_LRS" - }, "kind": "Storage", "properties": { "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true - }, - "blob": { - "keyType": "Account", - "enabled": true - } + "identity": { + "federatedIdentityClientId": "3109d1c4-a5de-4d84-8832-feabb916a4b6", + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" }, + "keySource": "Microsoft.Keyvault", "keyvaultproperties": { - "keyvaulturi": "https://myvault8569.vault.azure.net", "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", "keyversion": "" }, - "keySource": "Microsoft.Keyvault", - "identity": { - "userAssignedIdentity": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}", - "federatedIdentityClientId": "3109d1c4-a5de-4d84-8832-feabb916a4b6" + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } } } + }, + "sku": { + "name": "Standard_LRS" } - } + }, + "resourceGroupName": "res131918", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "sto4445", + "type": "Microsoft.Storage/storageAccounts", + "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", "identity": { + "type": "UserAssigned", "userAssignedIdentities": { "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}": { - "principalId": "8d823284-1060-42a5-9ec4-ed3d831e24d7", - "clientId": "fbaa6278-1ecc-415c-819f-6e2058d3acb5" + "clientId": "fbaa6278-1ecc-415c-819f-6e2058d3acb5", + "principalId": "8d823284-1060-42a5-9ec4-ed3d831e24d7" } - }, - "type": "UserAssigned" - }, - "sku": { - "name": "Standard_LRS", - "tier": "Standard" + } }, "kind": "StorageV2", - "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", - "name": "sto4445", - "type": "Microsoft.Storage/storageAccounts", "location": "eastus", - "tags": {}, "properties": { - "privateEndpointConnections": [], - "networkAcls": { - "bypass": "AzureServices", - "virtualNetworkRules": [], - "ipRules": [], - "defaultAction": "Allow" - }, - "supportsHttpsTrafficOnly": true, + "accessTier": "Hot", + "creationTime": "2020-12-15T00:43:14.0839093Z", "encryption": { "identity": { - "userAssignedIdentity": "/subscriptions/{subscription-id}/resourcegroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}", - "federatedIdentityClientId": "3109d1c4-a5de-4d84-8832-feabb916a4b6" + "federatedIdentityClientId": "3109d1c4-a5de-4d84-8832-feabb916a4b6", + "userAssignedIdentity": "/subscriptions/{subscription-id}/resourcegroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}" }, + "keySource": "Microsoft.Keyvault", "keyvaultproperties": { - "keyvaulturi": "https://myvault8569.vault.azure.net", + "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", "keyname": "wrappingKey", + "keyvaulturi": "https://myvault8569.vault.azure.net", "keyversion": "", - "currentVersionedKeyIdentifier": "https://myvault8569.vault.azure.net/keys/wrappingKey/0682afdd9c104f4285df20107e956cad", "lastKeyRotationTimestamp": "2019-12-13T20:36:23.7023290Z" }, "services": { - "file": { - "keyType": "Account", + "blob": { "enabled": true, + "keyType": "Account", "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" }, - "blob": { - "keyType": "Account", + "file": { "enabled": true, + "keyType": "Account", "lastEnabledTime": "2020-12-15T00:43:14.1739587Z" } - }, - "keySource": "Microsoft.Keyvault" + } + }, + "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], + "virtualNetworkRules": [] }, - "accessTier": "Hot", - "provisioningState": "Succeeded", - "creationTime": "2020-12-15T00:43:14.0839093Z", "primaryEndpoints": { - "web": "https://sto4445.web.core.windows.net/", - "dfs": "https://sto4445.dfs.core.windows.net/", "blob": "https://sto4445.blob.core.windows.net/", + "dfs": "https://sto4445.dfs.core.windows.net/", "file": "https://sto4445.file.core.windows.net/", "queue": "https://sto4445.queue.core.windows.net/", - "table": "https://sto4445.table.core.windows.net/" + "table": "https://sto4445.table.core.windows.net/", + "web": "https://sto4445.web.core.windows.net/" }, "primaryLocation": "eastus", - "statusOfPrimary": "available" - } + "privateEndpointConnections": [], + "provisioningState": "Succeeded", + "statusOfPrimary": "available", + "supportsHttpsTrafficOnly": true + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "tags": {} } } - } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdateWithImmutabilityPolicy.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdateWithImmutabilityPolicy.json index b770c0f0e85b..cae9d255e282 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdateWithImmutabilityPolicy.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdateWithImmutabilityPolicy.json @@ -1,38 +1,39 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9407", "accountName": "sto8596", "api-version": "2025-06-01", "monitor": "true", "parameters": { "properties": { "immutableStorageWithVersioning": { + "enabled": true, "immutabilityPolicy": { - "immutabilityPeriodSinceCreationInDays": 15, "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 15, "state": "Locked" - }, - "enabled": true + } } } - } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", "kind": "Storage", "location": "eastus2(stage)", - "name": "sto8596", "properties": { "immutableStorageWithVersioning": { + "enabled": true, "immutabilityPolicy": { - "immutabilityPeriodSinceCreationInDays": 15, "allowProtectedAppendWrites": true, + "immutabilityPeriodSinceCreationInDays": 15, "state": "Locked" - }, - "enabled": true + } } }, "sku": { @@ -42,9 +43,10 @@ "tags": { "key1": "value1", "key2": "value2" - }, - "type": "Microsoft.Storage/storageAccounts" + } } } - } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdateWithImmutabilityPolicy" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdate_placement.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdate_placement.json index 2ff979dd70d9..4e33e234c6f0 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdate_placement.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdate_placement.json @@ -1,141 +1,145 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9407", "accountName": "sto8596", "api-version": "2025-06-01", "monitor": "true", "parameters": { + "placement": { + "zonePlacementPolicy": "Any" + }, "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "enableExtendedGroups": true, + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isLocalUserEnabled": true, + "isSftpEnabled": true, "keyPolicy": { "keyExpirationPeriodInDays": 20 }, - "sasPolicy": { - "sasExpirationPeriod": "1.15:59:59", - "expirationAction": "Log" - }, - "allowBlobPublicAccess": false, - "isSftpEnabled": true, - "isLocalUserEnabled": true, - "enableExtendedGroups": true, - "defaultToOAuthAuthentication": false, "minimumTlsVersion": "TLS1_2", - "allowSharedKeyAccess": true, "networkAcls": { + "defaultAction": "Allow", "resourceAccessRules": [ { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace" + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" } - ], - "defaultAction": "Allow" + ] }, "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true + "routingChoice": "MicrosoftRouting" }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true - }, - "blob": { - "keyType": "Account", - "enabled": true - } - }, - "keySource": "Microsoft.Storage" + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" } - }, - "placement": { - "zonePlacementPolicy": "Any" } - } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", "kind": "Storage", "location": "eastus2(stage)", - "name": "sto8596", + "placement": { + "zonePlacementPolicy": "Any" + }, "properties": { - "keyPolicy": { - "keyExpirationPeriodInDays": 20 - }, - "sasPolicy": { - "sasExpirationPeriod": "1.15:59:59", - "expirationAction": "Log" + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "enableExtendedGroups": true, + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } }, + "isHnsEnabled": true, + "isLocalUserEnabled": true, + "isSftpEnabled": true, "keyCreationTime": { "key1": "2021-03-18T04:42:22.4322836Z", "key2": "2021-03-18T04:42:22.4322836Z" }, - "isHnsEnabled": true, - "allowBlobPublicAccess": false, - "isSftpEnabled": true, - "isLocalUserEnabled": true, - "enableExtendedGroups": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, "minimumTlsVersion": "TLS1_2", - "allowSharedKeyAccess": true, - "creationTime": "2017-06-01T02:42:41.7633306Z", "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], "resourceAccessRules": [ { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace" + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" } ], - "bypass": "AzureServices", - "defaultAction": "Allow", - "ipRules": [], "virtualNetworkRules": [] }, "primaryEndpoints": { - "web": "https://sto8596.web.core.windows.net/", - "dfs": "https://sto8596.dfs.core.windows.net/", "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", "file": "https://sto8596.file.core.windows.net/", - "queue": "https://sto8596.queue.core.windows.net/", - "table": "https://sto8596.table.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, "microsoftEndpoints": { - "web": "https://sto8596-microsoftrouting.web.core.windows.net/", - "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", "file": "https://sto8596-microsoftrouting.file.core.windows.net/", "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", - "table": "https://sto8596-microsoftrouting.table.core.windows.net/" + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" }, - "internetEndpoints": { - "web": "https://sto8596-internetrouting.web.core.windows.net/", - "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", - "blob": "https://sto8596-internetrouting.blob.core.windows.net/", - "file": "https://sto8596-internetrouting.file.core.windows.net/" - } + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" }, "primaryLocation": "eastus2(stage)", "provisioningState": "Succeeded", "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true + "routingChoice": "MicrosoftRouting" }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - }, - "blob": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - } - }, - "keySource": "Microsoft.Storage" + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" }, "secondaryLocation": "northcentralus(stage)", "statusOfPrimary": "available", @@ -150,14 +154,12 @@ "key1": "value1", "key2": "value2" }, - "type": "Microsoft.Storage/storageAccounts", "zones": [ "1" - ], - "placement": { - "zonePlacementPolicy": "Any" - } + ] } } - } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdate_placement" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdate_zones.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdate_zones.json index 54fe1fa4c756..a2f826cfb117 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdate_zones.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/StorageAccountUpdate_zones.json @@ -1,141 +1,142 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9407", "accountName": "sto8596", "api-version": "2025-06-01", "monitor": "true", "parameters": { "properties": { + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "defaultToOAuthAuthentication": false, + "enableExtendedGroups": true, + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account" + }, + "file": { + "enabled": true, + "keyType": "Account" + } + } + }, + "isLocalUserEnabled": true, + "isSftpEnabled": true, "keyPolicy": { "keyExpirationPeriodInDays": 20 }, - "sasPolicy": { - "sasExpirationPeriod": "1.15:59:59", - "expirationAction": "Log" - }, - "allowBlobPublicAccess": false, - "isSftpEnabled": true, - "isLocalUserEnabled": true, - "enableExtendedGroups": true, - "defaultToOAuthAuthentication": false, "minimumTlsVersion": "TLS1_2", - "allowSharedKeyAccess": true, "networkAcls": { + "defaultAction": "Allow", "resourceAccessRules": [ { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace" + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" } - ], - "defaultAction": "Allow" + ] }, "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true + "routingChoice": "MicrosoftRouting" }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true - }, - "blob": { - "keyType": "Account", - "enabled": true - } - }, - "keySource": "Microsoft.Storage" + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" } }, "zones": [ "1" ] - } + }, + "resourceGroupName": "res9407", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "name": "sto8596", + "type": "Microsoft.Storage/storageAccounts", "id": "/subscriptions/{subscription-id}/resourceGroups/res9407/providers/Microsoft.Storage/storageAccounts/sto8596", "kind": "Storage", "location": "eastus2(stage)", - "name": "sto8596", "properties": { - "keyPolicy": { - "keyExpirationPeriodInDays": 20 - }, - "sasPolicy": { - "sasExpirationPeriod": "1.15:59:59", - "expirationAction": "Log" + "allowBlobPublicAccess": false, + "allowSharedKeyAccess": true, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "enableExtendedGroups": true, + "encryption": { + "keySource": "Microsoft.Storage", + "services": { + "blob": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + }, + "file": { + "enabled": true, + "keyType": "Account", + "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" + } + } }, + "isHnsEnabled": true, + "isLocalUserEnabled": true, + "isSftpEnabled": true, "keyCreationTime": { "key1": "2021-03-18T04:42:22.4322836Z", "key2": "2021-03-18T04:42:22.4322836Z" }, - "isHnsEnabled": true, - "allowBlobPublicAccess": false, - "isSftpEnabled": true, - "isLocalUserEnabled": true, - "enableExtendedGroups": true, + "keyPolicy": { + "keyExpirationPeriodInDays": 20 + }, "minimumTlsVersion": "TLS1_2", - "allowSharedKeyAccess": true, - "creationTime": "2017-06-01T02:42:41.7633306Z", "networkAcls": { + "bypass": "AzureServices", + "defaultAction": "Allow", + "ipRules": [], "resourceAccessRules": [ { - "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace" + "resourceId": "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47" } ], - "bypass": "AzureServices", - "defaultAction": "Allow", - "ipRules": [], "virtualNetworkRules": [] }, "primaryEndpoints": { - "web": "https://sto8596.web.core.windows.net/", - "dfs": "https://sto8596.dfs.core.windows.net/", "blob": "https://sto8596.blob.core.windows.net/", + "dfs": "https://sto8596.dfs.core.windows.net/", "file": "https://sto8596.file.core.windows.net/", - "queue": "https://sto8596.queue.core.windows.net/", - "table": "https://sto8596.table.core.windows.net/", + "internetEndpoints": { + "blob": "https://sto8596-internetrouting.blob.core.windows.net/", + "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", + "file": "https://sto8596-internetrouting.file.core.windows.net/", + "web": "https://sto8596-internetrouting.web.core.windows.net/" + }, "microsoftEndpoints": { - "web": "https://sto8596-microsoftrouting.web.core.windows.net/", - "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", "blob": "https://sto8596-microsoftrouting.blob.core.windows.net/", + "dfs": "https://sto8596-microsoftrouting.dfs.core.windows.net/", "file": "https://sto8596-microsoftrouting.file.core.windows.net/", "queue": "https://sto8596-microsoftrouting.queue.core.windows.net/", - "table": "https://sto8596-microsoftrouting.table.core.windows.net/" + "table": "https://sto8596-microsoftrouting.table.core.windows.net/", + "web": "https://sto8596-microsoftrouting.web.core.windows.net/" }, - "internetEndpoints": { - "web": "https://sto8596-internetrouting.web.core.windows.net/", - "dfs": "https://sto8596-internetrouting.dfs.core.windows.net/", - "blob": "https://sto8596-internetrouting.blob.core.windows.net/", - "file": "https://sto8596-internetrouting.file.core.windows.net/" - } + "queue": "https://sto8596.queue.core.windows.net/", + "table": "https://sto8596.table.core.windows.net/", + "web": "https://sto8596.web.core.windows.net/" }, "primaryLocation": "eastus2(stage)", "provisioningState": "Succeeded", "routingPreference": { - "routingChoice": "MicrosoftRouting", + "publishInternetEndpoints": true, "publishMicrosoftEndpoints": true, - "publishInternetEndpoints": true + "routingChoice": "MicrosoftRouting" }, - "encryption": { - "services": { - "file": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - }, - "blob": { - "keyType": "Account", - "enabled": true, - "lastEnabledTime": "2019-12-11T20:49:31.7036140Z" - } - }, - "keySource": "Microsoft.Storage" + "sasPolicy": { + "expirationAction": "Log", + "sasExpirationPeriod": "1.15:59:59" }, "secondaryLocation": "northcentralus(stage)", "statusOfPrimary": "available", @@ -150,11 +151,12 @@ "key1": "value1", "key2": "value2" }, - "type": "Microsoft.Storage/storageAccounts", "zones": [ "1" ] } } - } + }, + "operationId": "StorageAccounts_Update", + "title": "StorageAccountUpdate_zones" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableOperationDelete.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableOperationDelete.json index bc17218c5af4..5b990def5c90 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableOperationDelete.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableOperationDelete.json @@ -1,13 +1,15 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res3376", "accountName": "sto328", - "tableName": "table6185", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableName": "table6185" }, "responses": { "204": {} - } + }, + "operationId": "Table_Delete", + "title": "TableOperationDelete" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableOperationGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableOperationGet.json index 4d9a550253a7..3cbea1af9dc2 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableOperationGet.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableOperationGet.json @@ -1,22 +1,24 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res3376", "accountName": "sto328", - "tableName": "table6185", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableName": "table6185" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", "name": "table6185", "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", "properties": { "tableName": "table6185" } } } - } + }, + "operationId": "Table_Get", + "title": "TableOperationGet" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableOperationList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableOperationList.json index 5ac31a951a20..3778d0a3be11 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableOperationList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableOperationList.json @@ -1,34 +1,36 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9290", "accountName": "sto328", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { + "nextLink": "https://sto1590endpoint/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables?api-version=2022-09-01&NextTableName=1!40!bXl0YWJsZXNoYzU0OAEwMWQ2MTI5ZTJmYjVmODFh", "value": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", "name": "table6185", "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", "properties": { "tableName": "table6185" } }, { - "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6186", "name": "table6186", "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6186", "properties": { "tableName": "table6186" } } - ], - "nextLink": "https://sto1590endpoint/subscriptions/{subscription-id}/resourceGroups/res9290/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables?api-version=2022-09-01&NextTableName=1!40!bXl0YWJsZXNoYzU0OAEwMWQ2MTI5ZTJmYjVmODFh" + ] } } - } + }, + "operationId": "Table_List", + "title": "TableOperationList" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableOperationPatch.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableOperationPatch.json index 4d9a550253a7..83c9276ff3f4 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableOperationPatch.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableOperationPatch.json @@ -1,22 +1,24 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res3376", "accountName": "sto328", - "tableName": "table6185", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableName": "table6185" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", "name": "table6185", "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", "properties": { "tableName": "table6185" } } } - } + }, + "operationId": "Table_Update", + "title": "TableOperationPatch" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableOperationPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableOperationPut.json index 4d9a550253a7..bb16aa4c0665 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableOperationPut.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableOperationPut.json @@ -1,22 +1,24 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res3376", "accountName": "sto328", - "tableName": "table6185", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableName": "table6185" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", "name": "table6185", "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", "properties": { "tableName": "table6185" } } } - } + }, + "operationId": "Table_Create", + "title": "TableOperationPut" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableOperationPutOrPatchAcls.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableOperationPutOrPatchAcls.json index 50ea5c75d277..02ade7079343 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableOperationPutOrPatchAcls.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableOperationPutOrPatchAcls.json @@ -1,62 +1,64 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res3376", "accountName": "sto328", - "tableName": "table6185", "api-version": "2025-06-01", "monitor": "true", "parameters": { "properties": { "signedIdentifiers": [ { - "id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI", "accessPolicy": { - "startTime": "2022-03-17T08:49:37.0000000Z", "expiryTime": "2022-03-20T08:49:37.0000000Z", - "permission": "raud" - } + "permission": "raud", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI" }, { - "id": "PTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODklMTI", "accessPolicy": { - "startTime": "2022-03-17T08:49:37.0000000Z", "expiryTime": "2022-03-20T08:49:37.0000000Z", - "permission": "rad" - } + "permission": "rad", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "PTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODklMTI" } ] } - } + }, + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableName": "table6185" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", "name": "table6185", "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", "properties": { - "tableName": "table6185", "signedIdentifiers": [ { - "id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI", "accessPolicy": { - "startTime": "2022-03-17T08:49:37.0000000Z", "expiryTime": "2022-03-20T08:49:37.0000000Z", - "permission": "raud" - } + "permission": "raud", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI" }, { - "id": "PTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODklMTI", "accessPolicy": { - "startTime": "2022-03-17T08:49:37.0000000Z", "expiryTime": "2022-03-20T08:49:37.0000000Z", - "permission": "rad" - } + "permission": "rad", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "PTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODklMTI" } - ] + ], + "tableName": "table6185" } } } - } + }, + "operationId": "Table_Update", + "title": "TableOperationPutOrPatchAcls" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableOperationPutOrPatchAclsTableCreate.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableOperationPutOrPatchAclsTableCreate.json new file mode 100644 index 000000000000..eb7b6b037a6b --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableOperationPutOrPatchAclsTableCreate.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "accountName": "sto328", + "api-version": "2025-06-01", + "monitor": "true", + "parameters": { + "properties": { + "signedIdentifiers": [ + { + "accessPolicy": { + "expiryTime": "2022-03-20T08:49:37.0000000Z", + "permission": "raud", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI" + }, + { + "accessPolicy": { + "expiryTime": "2022-03-20T08:49:37.0000000Z", + "permission": "rad", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "PTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODklMTI" + } + ] + } + }, + "resourceGroupName": "res3376", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableName": "table6185" + }, + "responses": { + "200": { + "body": { + "name": "table6185", + "type": "Microsoft.Storage/storageAccounts/tableServices/tables", + "id": "/subscriptions/{subscription-id}/resourceGroups/res3376/providers/Microsoft.Storage/storageAccounts/sto328/tableServices/default/tables/table6185", + "properties": { + "signedIdentifiers": [ + { + "accessPolicy": { + "expiryTime": "2022-03-20T08:49:37.0000000Z", + "permission": "raud", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "MTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTI" + }, + { + "accessPolicy": { + "expiryTime": "2022-03-20T08:49:37.0000000Z", + "permission": "rad", + "startTime": "2022-03-17T08:49:37.0000000Z" + }, + "id": "PTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMjM0NTY3ODklMTI" + } + ], + "tableName": "table6185" + } + } + } + }, + "operationId": "Table_Create", + "title": "TableOperationPutOrPatchAcls" +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableServicesGet.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableServicesGet.json index bb41c0f8f0b8..c50146ece9f7 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableServicesGet.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableServicesGet.json @@ -1,25 +1,26 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res4410", "accountName": "sto8607", - "tableServiceName": "default", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableServiceName": "default" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/tableServices/default", "name": "default", "type": "Microsoft.Storage/storageAccounts/tableServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/tableServices/default", "properties": { "cors": { "corsRules": [ { - "allowedOrigins": [ - "http://www.contoso.com", - "http://www.fabrikam.com" + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" ], "allowedMethods": [ "GET", @@ -29,54 +30,55 @@ "MERGE", "PUT" ], - "maxAgeInSeconds": 100, + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], "exposedHeaders": [ "x-ms-meta-*" ], - "allowedHeaders": [ - "x-ms-meta-abc", - "x-ms-meta-data*", - "x-ms-meta-target*" - ] + "maxAgeInSeconds": 100 }, { - "allowedOrigins": [ + "allowedHeaders": [ "*" ], "allowedMethods": [ "GET" ], - "maxAgeInSeconds": 2, - "exposedHeaders": [ + "allowedOrigins": [ "*" ], - "allowedHeaders": [ + "exposedHeaders": [ "*" - ] + ], + "maxAgeInSeconds": 2 }, { - "allowedOrigins": [ - "http://www.abc23.com", - "https://www.fabrikam.com/*" + "allowedHeaders": [ + "x-ms-meta-12345675754564*" ], "allowedMethods": [ "GET", "PUT" ], - "maxAgeInSeconds": 2000, + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], "exposedHeaders": [ "x-ms-meta-abc", "x-ms-meta-data*", "x-ms-meta-target*" ], - "allowedHeaders": [ - "x-ms-meta-12345675754564*" - ] + "maxAgeInSeconds": 2000 } ] } } } } - } + }, + "operationId": "TableServices_GetServiceProperties", + "title": "TableServicesGet" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableServicesList.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableServicesList.json index e5dfec0db6b2..785059df5c64 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableServicesList.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableServicesList.json @@ -1,26 +1,27 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9290", "accountName": "sto1590", "api-version": "2025-06-01", - "monitor": "true" + "monitor": "true", + "resourceGroupName": "res9290", + "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/tableServices/default", "name": "default", "type": "Microsoft.Storage/storageAccounts/tableServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/tableServices/default", "properties": { "cors": { "corsRules": [ { - "allowedOrigins": [ - "http://www.contoso.com", - "http://www.fabrikam.com" + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" ], "allowedMethods": [ "GET", @@ -30,49 +31,48 @@ "MERGE", "PUT" ], - "maxAgeInSeconds": 100, + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], "exposedHeaders": [ "x-ms-meta-*" ], - "allowedHeaders": [ - "x-ms-meta-abc", - "x-ms-meta-data*", - "x-ms-meta-target*" - ] + "maxAgeInSeconds": 100 }, { - "allowedOrigins": [ + "allowedHeaders": [ "*" ], "allowedMethods": [ "GET" ], - "maxAgeInSeconds": 2, - "exposedHeaders": [ + "allowedOrigins": [ "*" ], - "allowedHeaders": [ + "exposedHeaders": [ "*" - ] + ], + "maxAgeInSeconds": 2 }, { - "allowedOrigins": [ - "http://www.abc23.com", - "https://www.fabrikam.com/*" + "allowedHeaders": [ + "x-ms-meta-12345675754564*" ], "allowedMethods": [ "GET", "PUT" ], - "maxAgeInSeconds": 2000, + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], "exposedHeaders": [ "x-ms-meta-abc", "x-ms-meta-data*", "x-ms-meta-target*" ], - "allowedHeaders": [ - "x-ms-meta-12345675754564*" - ] + "maxAgeInSeconds": 2000 } ] } @@ -81,5 +81,7 @@ ] } } - } + }, + "operationId": "TableServices_List", + "title": "TableServicesList" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableServicesPut.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableServicesPut.json index 1a0a8a29ed8f..11ea3e940b6a 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableServicesPut.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/TableServicesPut.json @@ -1,9 +1,6 @@ { "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res4410", "accountName": "sto8607", - "tableServiceName": "default", "api-version": "2025-06-01", "monitor": "true", "parameters": { @@ -11,9 +8,10 @@ "cors": { "corsRules": [ { - "allowedOrigins": [ - "http://www.contoso.com", - "http://www.fabrikam.com" + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" ], "allowedMethods": [ "GET", @@ -23,68 +21,71 @@ "MERGE", "PUT" ], - "maxAgeInSeconds": 100, + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], "exposedHeaders": [ "x-ms-meta-*" ], - "allowedHeaders": [ - "x-ms-meta-abc", - "x-ms-meta-data*", - "x-ms-meta-target*" - ] + "maxAgeInSeconds": 100 }, { - "allowedOrigins": [ + "allowedHeaders": [ "*" ], "allowedMethods": [ "GET" ], - "maxAgeInSeconds": 2, - "exposedHeaders": [ + "allowedOrigins": [ "*" ], - "allowedHeaders": [ + "exposedHeaders": [ "*" - ] + ], + "maxAgeInSeconds": 2 }, { - "allowedOrigins": [ - "http://www.abc23.com", - "https://www.fabrikam.com/*" + "allowedHeaders": [ + "x-ms-meta-12345675754564*" ], "allowedMethods": [ "GET", "PUT" ], - "maxAgeInSeconds": 2000, + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], "exposedHeaders": [ "x-ms-meta-abc", "x-ms-meta-data*", "x-ms-meta-target*" ], - "allowedHeaders": [ - "x-ms-meta-12345675754564*" - ] + "maxAgeInSeconds": 2000 } ] } } - } + }, + "resourceGroupName": "res4410", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tableServiceName": "default" }, "responses": { "200": { "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/tableServices/default", "name": "default", "type": "Microsoft.Storage/storageAccounts/tableServices", + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/tableServices/default", "properties": { "cors": { "corsRules": [ { - "allowedOrigins": [ - "http://www.contoso.com", - "http://www.fabrikam.com" + "allowedHeaders": [ + "x-ms-meta-abc", + "x-ms-meta-data*", + "x-ms-meta-target*" ], "allowedMethods": [ "GET", @@ -94,54 +95,55 @@ "MERGE", "PUT" ], - "maxAgeInSeconds": 100, + "allowedOrigins": [ + "http://www.contoso.com", + "http://www.fabrikam.com" + ], "exposedHeaders": [ "x-ms-meta-*" ], - "allowedHeaders": [ - "x-ms-meta-abc", - "x-ms-meta-data*", - "x-ms-meta-target*" - ] + "maxAgeInSeconds": 100 }, { - "allowedOrigins": [ + "allowedHeaders": [ "*" ], "allowedMethods": [ "GET" ], - "maxAgeInSeconds": 2, - "exposedHeaders": [ + "allowedOrigins": [ "*" ], - "allowedHeaders": [ + "exposedHeaders": [ "*" - ] + ], + "maxAgeInSeconds": 2 }, { - "allowedOrigins": [ - "http://www.abc23.com", - "https://www.fabrikam.com/*" + "allowedHeaders": [ + "x-ms-meta-12345675754564*" ], "allowedMethods": [ "GET", "PUT" ], - "maxAgeInSeconds": 2000, + "allowedOrigins": [ + "http://www.abc23.com", + "https://www.fabrikam.com/*" + ], "exposedHeaders": [ "x-ms-meta-abc", "x-ms-meta-data*", "x-ms-meta-target*" ], - "allowedHeaders": [ - "x-ms-meta-12345675754564*" - ] + "maxAgeInSeconds": 2000 } ] } } } } - } + }, + "operationId": "TableServices_SetServiceProperties", + "title": "TableServicesPut" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsCrud/DeleteStorageTaskAssignment.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsCrud/DeleteStorageTaskAssignment.json index e081d97021ff..daa5a853d7a5 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsCrud/DeleteStorageTaskAssignment.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsCrud/DeleteStorageTaskAssignment.json @@ -1,18 +1,19 @@ { "parameters": { - "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616", - "resourceGroupName": "res4228", "accountName": "sto4445", + "api-version": "2025-06-01", + "resourceGroupName": "res4228", "storageTaskAssignmentName": "myassignment1", - "api-version": "2025-06-01" + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" }, "responses": { "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/eastus/ActionsRPOperationStatuses/00000000-0000-0000-0000-000000000000*00000?api-version=2025-06-01", "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-06-01" } }, "204": {} - } + }, + "operationId": "StorageTaskAssignments_Delete", + "title": "DeleteStorageTaskAssignment" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsCrud/GetStorageTaskAssignment.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsCrud/GetStorageTaskAssignment.json index d67c7626391d..5367de0afc4a 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsCrud/GetStorageTaskAssignment.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsCrud/GetStorageTaskAssignment.json @@ -1,28 +1,27 @@ { "parameters": { - "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616", - "resourceGroupName": "res4228", "accountName": "sto4445", + "api-version": "2025-06-01", + "resourceGroupName": "res4228", "storageTaskAssignmentName": "myassignment1", - "api-version": "2025-06-01" + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" }, "responses": { "200": { "body": { - "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", "name": "myassignment1", "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", "properties": { - "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", - "enabled": true, "description": "My Storage task assignment", + "enabled": true, "executionContext": { "target": { + "excludePrefix": [], "prefix": [ "prefix1", "prefix2" - ], - "excludePrefix": [] + ] }, "trigger": { "type": "RunOnce", @@ -31,12 +30,15 @@ } } }, + "provisioningState": "Succeeded", "report": { "prefix": "container1" }, - "provisioningState": "Succeeded" + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" } } } - } + }, + "operationId": "StorageTaskAssignments_Get", + "title": "GetStorageTaskAssignment" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsCrud/PatchStorageTaskAssignment.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsCrud/PatchStorageTaskAssignment.json index e2f4ebb55594..ac4a86dc6e12 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsCrud/PatchStorageTaskAssignment.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsCrud/PatchStorageTaskAssignment.json @@ -1,21 +1,18 @@ { "parameters": { - "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616", - "resourceGroupName": "res4228", "accountName": "sto4445", - "storageTaskAssignmentName": "myassignment1", "api-version": "2025-06-01", "parameters": { "properties": { - "enabled": true, "description": "My Storage task assignment", + "enabled": true, "executionContext": { "target": { + "excludePrefix": [], "prefix": [ "prefix1", "prefix2" - ], - "excludePrefix": [] + ] }, "trigger": { "type": "RunOnce", @@ -28,25 +25,27 @@ "prefix": "container1" } } - } + }, + "resourceGroupName": "res4228", + "storageTaskAssignmentName": "myassignment1", + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" }, "responses": { "200": { "body": { - "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", "name": "myassignment1", "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", "properties": { - "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", - "enabled": true, "description": "My Storage task assignment", + "enabled": true, "executionContext": { "target": { + "excludePrefix": [], "prefix": [ "prefix1", "prefix2" - ], - "excludePrefix": [] + ] }, "trigger": { "type": "RunOnce", @@ -55,18 +54,20 @@ } } }, + "provisioningState": "Succeeded", "report": { "prefix": "container1" }, - "provisioningState": "Succeeded" + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" } } }, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/eastus/ActionsRPOperationStatuses/00000000-0000-0000-0000-000000000000*00000?api-version=2025-06-01", "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-06-01" } } - } + }, + "operationId": "StorageTaskAssignments_Update", + "title": "PatchStorageTaskAssignment" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsCrud/PutStorageTaskAssignment.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsCrud/PutStorageTaskAssignment.json index a5e99e252652..4819345d72d9 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsCrud/PutStorageTaskAssignment.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsCrud/PutStorageTaskAssignment.json @@ -1,22 +1,18 @@ { "parameters": { - "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616", - "resourceGroupName": "res4228", "accountName": "sto4445", - "storageTaskAssignmentName": "myassignment1", "api-version": "2025-06-01", "parameters": { "properties": { - "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", - "enabled": true, "description": "My Storage task assignment", + "enabled": true, "executionContext": { "target": { + "excludePrefix": [], "prefix": [ "prefix1", "prefix2" - ], - "excludePrefix": [] + ] }, "trigger": { "type": "RunOnce", @@ -27,27 +23,30 @@ }, "report": { "prefix": "container1" - } + }, + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" } - } + }, + "resourceGroupName": "res4228", + "storageTaskAssignmentName": "myassignment1", + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" }, "responses": { "200": { "body": { - "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", "name": "myassignment1", "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", "properties": { - "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", - "enabled": true, "description": "My Storage task assignment", + "enabled": true, "executionContext": { "target": { + "excludePrefix": [], "prefix": [ "prefix1", "prefix2" - ], - "excludePrefix": [] + ] }, "trigger": { "type": "RunOnce", @@ -56,29 +55,29 @@ } } }, + "provisioningState": "Succeeded", "report": { "prefix": "container1" }, - "provisioningState": "Succeeded" + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" } } }, "201": { "body": { - "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", "name": "myassignment1", "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", "properties": { - "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", - "enabled": true, "description": "My Storage task assignment", + "enabled": true, "executionContext": { "target": { + "excludePrefix": [], "prefix": [ "prefix1", "prefix2" - ], - "excludePrefix": [] + ] }, "trigger": { "type": "RunOnce", @@ -87,18 +86,20 @@ } } }, + "provisioningState": "Succeeded", "report": { "prefix": "container1" }, - "provisioningState": "Succeeded" + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" } } }, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/eastus/ActionsRPOperationStatuses/00000000-0000-0000-0000-000000000000*00000?api-version=2025-06-01", "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-06-01" } } - } + }, + "operationId": "StorageTaskAssignments_Create", + "title": "PutStorageTaskAssignment" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsCrud/PutStorageTaskAssignmentRequiredProperties.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsCrud/PutStorageTaskAssignmentRequiredProperties.json index b30f6488e05b..8d799a44e91e 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsCrud/PutStorageTaskAssignmentRequiredProperties.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsCrud/PutStorageTaskAssignmentRequiredProperties.json @@ -1,15 +1,11 @@ { "parameters": { - "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616", - "resourceGroupName": "res4228", "accountName": "sto4445", - "storageTaskAssignmentName": "myassignment1", "api-version": "2025-06-01", "parameters": { "properties": { - "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", - "enabled": true, "description": "My Storage task assignment", + "enabled": true, "executionContext": { "trigger": { "type": "RunOnce", @@ -20,20 +16,23 @@ }, "report": { "prefix": "container1" - } + }, + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" } - } + }, + "resourceGroupName": "res4228", + "storageTaskAssignmentName": "myassignment1", + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" }, "responses": { "200": { "body": { - "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", "name": "myassignment1", "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", "properties": { - "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", - "enabled": true, "description": "My Storage task assignment", + "enabled": true, "executionContext": { "trigger": { "type": "RunOnce", @@ -42,22 +41,22 @@ } } }, + "provisioningState": "Succeeded", "report": { "prefix": "container1" }, - "provisioningState": "Succeeded" + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" } } }, "201": { "body": { - "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", "name": "myassignment1", "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", "properties": { - "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", - "enabled": true, "description": "My Storage task assignment", + "enabled": true, "executionContext": { "trigger": { "type": "RunOnce", @@ -66,18 +65,20 @@ } } }, + "provisioningState": "Succeeded", "report": { "prefix": "container1" }, - "provisioningState": "Succeeded" + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" } } }, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/eastus/ActionsRPOperationStatuses/00000000-0000-0000-0000-000000000000*00000?api-version=2025-06-01", "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-06-01" } } - } + }, + "operationId": "StorageTaskAssignments_Create", + "title": "PutStorageTaskAssignmentRequiredProperties" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentInstancesReportSummary.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentInstancesReportSummary.json index 3e64efe6842e..bb225e6534ef 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentInstancesReportSummary.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentInstancesReportSummary.json @@ -1,59 +1,61 @@ { "parameters": { - "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616", - "resourceGroupName": "res4228", "accountName": "sto4445", + "api-version": "2025-06-01", + "resourceGroupName": "res4228", "storageTaskAssignmentName": "myassignment1", - "api-version": "2025-06-01" + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/instance1", "name": "instance1", "type": "Microsoft.Storage/storageAccounts/reports", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/instance1", "properties": { - "taskAssignmentId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", - "storageAccountId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445", - "startTime": "2023-06-23T00:30:43.226744Z", "finishTime": "2023-06-23T00:40:10.2931264Z", - "objectsTargetedCount": "150", - "objectsOperatedOnCount": "150", "objectFailedCount": "0", + "objectsOperatedOnCount": "150", "objectsSucceededCount": "150", - "runStatusError": "0", + "objectsTargetedCount": "150", + "runResult": "Succeeded", "runStatusEnum": "Finished", + "runStatusError": "0", + "startTime": "2023-06-23T00:30:43.226744Z", + "storageAccountId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445", "summaryReportPath": "https://acc123.blob.core.windows.net/result-container/{folderpath}/SummaryReport.json", + "taskAssignmentId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", - "taskVersion": "1", - "runResult": "Succeeded" + "taskVersion": "1" } }, { - "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/instance2", "name": "instance2", "type": "Microsoft.Storage/storageAccounts/reports", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/instance2", "properties": { - "taskAssignmentId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", - "storageAccountId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445", - "startTime": "2023-06-23T00:30:43.226744Z", "finishTime": "2023-06-23T00:40:10.2931264Z", - "objectsTargetedCount": "150", - "objectsOperatedOnCount": "150", "objectFailedCount": "0", + "objectsOperatedOnCount": "150", "objectsSucceededCount": "150", - "runStatusError": "0", + "objectsTargetedCount": "150", + "runResult": "Succeeded", "runStatusEnum": "Finished", + "runStatusError": "0", + "startTime": "2023-06-23T00:30:43.226744Z", + "storageAccountId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445", "summaryReportPath": "https://acc123.blob.core.windows.net/result-container/{folderpath}/SummaryReport.json", + "taskAssignmentId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", - "taskVersion": "1", - "runResult": "Succeeded" + "taskVersion": "1" } } ] } } - } + }, + "operationId": "StorageTaskAssignmentInstancesReport_List", + "title": "ListStorageTaskAssignmentInstancesReportSummary" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsForAccount.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsForAccount.json index 695341273d9b..2b082c5ee9ed 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsForAccount.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsForAccount.json @@ -1,29 +1,28 @@ { "parameters": { - "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616", - "resourceGroupName": "res4228", "accountName": "sto4445", - "api-version": "2025-06-01" + "api-version": "2025-06-01", + "resourceGroupName": "res4228", + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", "name": "myassignment1", "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", "properties": { - "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", - "enabled": true, "description": "My Storage task assignment #1", + "enabled": true, "executionContext": { "target": { + "excludePrefix": [], "prefix": [ "prefix1", "prefix2" - ], - "excludePrefix": [] + ] }, "trigger": { "type": "RunOnce", @@ -32,27 +31,27 @@ } } }, + "provisioningState": "Succeeded", "report": { "prefix": "container1" }, - "provisioningState": "Succeeded" + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1" } }, { - "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment2", "name": "myassignment2", "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment2", "properties": { - "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask2", - "enabled": true, "description": "My Storage task assignment #2", + "enabled": true, "executionContext": { "target": { + "excludePrefix": [], "prefix": [ "prefix3", "prefix4" - ], - "excludePrefix": [] + ] }, "trigger": { "type": "RunOnce", @@ -61,14 +60,17 @@ } } }, + "provisioningState": "Succeeded", "report": { "prefix": "container2" }, - "provisioningState": "Succeeded" + "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask2" } } ] } } - } + }, + "operationId": "StorageTaskAssignments_List", + "title": "ListStorageTaskAssignmentsForAccount" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsInstancesReportSummary.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsInstancesReportSummary.json index bc012ba374fd..980eec9914cb 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsInstancesReportSummary.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsInstancesReportSummary.json @@ -1,58 +1,60 @@ { "parameters": { - "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616", - "resourceGroupName": "res4228", "accountName": "sto4445", - "api-version": "2025-06-01" + "api-version": "2025-06-01", + "resourceGroupName": "res4228", + "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616" }, "responses": { "200": { "body": { "value": [ { - "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/instance1", "name": "instance1", "type": "Microsoft.Storage/storageAccounts/reports", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/instance1", "properties": { - "taskAssignmentId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", - "storageAccountId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445", - "startTime": "2023-06-23T00:30:43.226744Z", "finishTime": "2023-06-23T00:40:10.2931264Z", - "objectsTargetedCount": "150", - "objectsOperatedOnCount": "150", "objectFailedCount": "0", + "objectsOperatedOnCount": "150", "objectsSucceededCount": "150", - "runStatusError": "0", + "objectsTargetedCount": "150", + "runResult": "Succeeded", "runStatusEnum": "Finished", + "runStatusError": "0", + "startTime": "2023-06-23T00:30:43.226744Z", + "storageAccountId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445", "summaryReportPath": "https://acc123.blob.core.windows.net/result-container/{folderpath}/SummaryReport.json", + "taskAssignmentId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", - "taskVersion": "1", - "runResult": "Succeeded" + "taskVersion": "1" } }, { - "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/instance2", "name": "instance2", "type": "Microsoft.Storage/storageAccounts/reports", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/instance2", "properties": { - "taskAssignmentId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment2", - "storageAccountId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445", - "startTime": "2023-06-23T00:30:43.226744Z", "finishTime": "2023-06-23T00:40:10.2931264Z", - "objectsTargetedCount": "150", - "objectsOperatedOnCount": "150", "objectFailedCount": "0", + "objectsOperatedOnCount": "150", "objectsSucceededCount": "150", - "runStatusError": "0", + "objectsTargetedCount": "150", + "runResult": "Succeeded", "runStatusEnum": "Finished", + "runStatusError": "0", + "startTime": "2023-06-23T00:30:43.226744Z", + "storageAccountId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445", "summaryReportPath": "https://acc123.blob.core.windows.net/result-container/{folderpath}/SummaryReport.json", + "taskAssignmentId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment2", "taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourcegroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", - "taskVersion": "1", - "runResult": "Succeeded" + "taskVersion": "1" } } ] } } - } + }, + "operationId": "StorageTaskAssignmentsInstancesReport_List", + "title": "ListStorageTaskAssignmentsInstancesReportSummary" } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/file.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/file.json deleted file mode 100644 index 60b129d560c3..000000000000 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/file.json +++ /dev/null @@ -1,1509 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2025-06-01", - "title": "StorageManagementClient", - "description": "The Azure Storage Management API." - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices": { - "get": { - "tags": [ - "FileService" - ], - "operationId": "FileServices_List", - "x-ms-examples": { - "ListFileServices": { - "$ref": "./examples/FileServicesList.json" - } - }, - "description": "List all file services in storage accounts", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- List file services operation completed successfully.", - "schema": { - "$ref": "#/definitions/FileServiceItems" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}": { - "put": { - "tags": [ - "FileService" - ], - "operationId": "FileServices_SetServiceProperties", - "x-ms-examples": { - "PutFileServices": { - "$ref": "./examples/FileServicesPut.json" - }, - "PutFileServices_EnableSMBMultichannel": { - "$ref": "./examples/FileServicesPut_EnableSMBMultichannel.json" - }, - "PutFileServices_EnableSecureSmbFeatures": { - "$ref": "./examples/FileServicesPut_EnableSecureSmbFeatures.json" - }, - "PutFileServices_EncryptionInTransitRequired": { - "$ref": "./examples/FileServicesPut_EncryptionInTransitRequired.json" - } - }, - "description": "Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. ", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/FileServicesName" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/FileServiceProperties" - }, - "description": "The properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules." - } - ], - "responses": { - "200": { - "description": "OK -- Sets The properties of a storage account’s File service successfully.", - "schema": { - "$ref": "#/definitions/FileServiceProperties" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - } - }, - "get": { - "tags": [ - "FileService" - ], - "operationId": "FileServices_GetServiceProperties", - "x-ms-examples": { - "GetFileServices": { - "$ref": "./examples/FileServicesGet.json" - } - }, - "description": "Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/FileServicesName" - } - ], - "responses": { - "200": { - "description": "OK -- returned the properties of a storage account’s File service.", - "schema": { - "$ref": "#/definitions/FileServiceProperties" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}/usages": { - "get": { - "tags": [ - "FileService" - ], - "operationId": "FileServices_ListServiceUsages", - "x-ms-examples": { - "ListFileServiceUsages": { - "$ref": "./examples/FileServicesListUsages.json" - } - }, - "description": "Gets the usages of file service in storage account.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/FileServicesName" - }, - { - "name": "$maxpagesize", - "in": "query", - "type": "integer", - "format": "int32", - "description": "Optional, specifies the maximum number of file service usages to be included in the list response." - } - ], - "responses": { - "200": { - "description": "OK -- returned the usages of a storage account’s File service.", - "schema": { - "$ref": "#/definitions/FileServiceUsages" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}/usages/{fileServiceUsagesName}": { - "get": { - "tags": [ - "FileService" - ], - "operationId": "FileServices_GetServiceUsage", - "x-ms-examples": { - "GetFileServiceUsage": { - "$ref": "./examples/FileServicesGetUsage.json" - } - }, - "description": "Gets the usage of file service in storage account including account limits, file share limits and constants used in recommendations and bursting formula.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/FileServicesName" - }, - { - "$ref": "#/parameters/FileServiceUsagesName" - } - ], - "responses": { - "200": { - "description": "OK -- returned the usage of a storage account’s File service.", - "schema": { - "$ref": "#/definitions/FileServiceUsage" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares": { - "get": { - "tags": [ - "FileShares" - ], - "operationId": "FileShares_List", - "x-ms-examples": { - "ListShares": { - "$ref": "./examples/FileSharesList.json" - }, - "ListDeletedShares": { - "$ref": "./examples/DeletedFileSharesList.json" - }, - "ListShareSnapshots": { - "$ref": "./examples/FileShareSnapshotsList.json" - }, - "ListSharesPaidBursting": { - "$ref": "./examples/FileSharesList_PaidBursting.json" - }, - "ListSharesProvisionedV2": { - "$ref": "./examples/FileSharesList_ProvisionedV2.json" - } - }, - "description": "Lists all shares.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "$maxpagesize", - "in": "query", - "type": "string", - "description": "Optional. Specified maximum number of shares that can be included in the list." - }, - { - "name": "$filter", - "in": "query", - "type": "string", - "description": "Optional. When specified, only share names starting with the filter will be listed." - }, - { - "name": "$expand", - "in": "query", - "required": false, - "type": "string", - "description": "Optional, used to expand the properties within share's properties. Valid values are: deleted, snapshots. Should be passed as a string with delimiter ','" - } - ], - "responses": { - "200": { - "description": "OK -- List Shares operation completed successfully.", - "schema": { - "$ref": "#/definitions/FileShareItems" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}": { - "put": { - "tags": [ - "FileShares" - ], - "operationId": "FileShares_Create", - "x-ms-examples": { - "PutShares": { - "$ref": "./examples/FileSharesPut.json" - }, - "Create NFS Shares": { - "$ref": "./examples/FileSharesPut_NFS.json" - }, - "PutShares with Access Tier": { - "$ref": "./examples/FileSharesPut_AccessTier.json" - }, - "PutShares with Paid Bursting": { - "$ref": "./examples/FileSharesPut_PaidBursting.json" - }, - "PutSharesProvisionedV2": { - "$ref": "./examples/FileSharesPut_ProvisionedV2.json" - } - }, - "description": "Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share. ", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ShareName" - }, - { - "name": "fileShare", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/FileShare" - }, - "description": "Properties of the file share to create." - }, - { - "name": "$expand", - "in": "query", - "required": false, - "type": "string", - "description": "Optional, used to expand the properties within share's properties. Valid values are: snapshots. Should be passed as a string with delimiter ','" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "201": { - "description": "Created -- Create Share operation completed successfully.", - "schema": { - "$ref": "#/definitions/FileShare" - } - }, - "200": { - "description": "OK -- The Share is already created.", - "schema": { - "$ref": "#/definitions/FileShare" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - } - }, - "patch": { - "tags": [ - "FileShares" - ], - "operationId": "FileShares_Update", - "x-ms-examples": { - "UpdateShares": { - "$ref": "./examples/FileSharesPatch.json" - }, - "UpdateShareAcls": { - "$ref": "./examples/FileShareAclsPatch.json" - }, - "UpdateSharePaidBursting": { - "$ref": "./examples/FileSharesPatch_PaidBursting.json" - }, - "UpdateShareProvisionedV2": { - "$ref": "./examples/FileSharesPatch_ProvisionedV2.json" - } - }, - "description": "Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist. ", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ShareName" - }, - { - "name": "fileShare", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/FileShare" - }, - "description": "Properties to update for the file share." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- Update Share operation completed successfully.", - "schema": { - "$ref": "#/definitions/FileShare", - "description": "Properties of the updated file share." - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - } - }, - "get": { - "tags": [ - "FileShares" - ], - "operationId": "FileShares_Get", - "x-ms-examples": { - "GetShares": { - "$ref": "./examples/FileSharesGet.json" - }, - "GetShareStats": { - "$ref": "./examples/FileSharesGet_Stats.json" - }, - "GetSharePaidBursting": { - "$ref": "./examples/FileSharesGet_PaidBursting.json" - }, - "GetShareProvisionedV2": { - "$ref": "./examples/FileSharesGet_ProvisionedV2.json" - } - }, - "description": "Gets properties of a specified share.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ShareName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "$expand", - "in": "query", - "required": false, - "type": "string", - "description": "Optional, used to expand the properties within share's properties. Valid values are: stats. Should be passed as a string with delimiter ','." - }, - { - "name": "x-ms-snapshot", - "in": "header", - "required": false, - "type": "string", - "description": "Optional, used to retrieve properties of a snapshot." - } - ], - "responses": { - "200": { - "description": "OK -- Get Share operation completed successfully.", - "schema": { - "$ref": "#/definitions/FileShare" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "FileShares" - ], - "operationId": "FileShares_Delete", - "x-ms-examples": { - "DeleteShares": { - "$ref": "./examples/FileSharesDelete.json" - } - }, - "description": "Deletes specified share under its account.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ShareName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "x-ms-snapshot", - "in": "header", - "required": false, - "type": "string", - "description": "Optional, used to delete a snapshot." - }, - { - "name": "$include", - "in": "query", - "required": false, - "type": "string", - "description": "Optional. Valid values are: snapshots, leased-snapshots, none. The default value is snapshots. For 'snapshots', the file share is deleted including all of its file share snapshots. If the file share contains leased-snapshots, the deletion fails. For 'leased-snapshots', the file share is deleted included all of its file share snapshots (leased/unleased). For 'none', the file share is deleted if it has no share snapshots. If the file share contains any snapshots (leased or unleased), the deletion fails." - } - ], - "responses": { - "200": { - "description": "OK -- Delete Share operation completed successfully." - }, - "204": { - "description": "No Content -- The Share not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}/restore": { - "post": { - "tags": [ - "FileShares" - ], - "operationId": "FileShares_Restore", - "x-ms-examples": { - "RestoreShares": { - "$ref": "./examples/FileSharesRestore.json" - } - }, - "description": "Restore a file share within a valid retention days if share soft delete is enabled", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ShareName" - }, - { - "name": "deletedShare", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DeletedShare" - } - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- The Share is successfully restored." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}/lease": { - "post": { - "tags": [ - "FileShares" - ], - "operationId": "FileShares_Lease", - "x-ms-examples": { - "Acquire a lease on a share": { - "$ref": "./examples/FileSharesLease_Acquire.json" - }, - "Break a lease on a share": { - "$ref": "./examples/FileSharesLease_Break.json" - } - }, - "description": "The Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/ShareName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "parameters", - "in": "body", - "schema": { - "$ref": "#/definitions/LeaseShareRequest" - }, - "description": "Lease Share request body." - }, - { - "name": "x-ms-snapshot", - "in": "header", - "required": false, - "type": "string", - "description": "Optional. Specify the snapshot time to lease a snapshot." - } - ], - "responses": { - "200": { - "description": "OK -- Lease Share operation completed successfully.", - "schema": { - "$ref": "#/definitions/LeaseShareResponse" - }, - "headers": { - "ETag": { - "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers.", - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - } - } - } - }, - "definitions": { - "FileServiceItems": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/FileServiceProperties" - }, - "description": "List of file services returned.", - "readOnly": true - } - } - }, - "FileServiceProperties": { - "properties": { - "properties": { - "properties": { - "cors": { - "$ref": "./common.json#/definitions/CorsRules", - "description": "Specifies CORS rules for the File service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the File service." - }, - "shareDeleteRetentionPolicy": { - "$ref": "./common.json#/definitions/DeleteRetentionPolicy", - "description": "The file service properties for share soft delete." - }, - "protocolSettings": { - "$ref": "#/definitions/ProtocolSettings", - "description": "Protocol settings for file service" - } - }, - "x-ms-client-flatten": true, - "x-ms-client-name": "FileServiceProperties", - "description": "The properties of File services in storage account." - }, - "sku": { - "$ref": "./common.json#/definitions/Sku", - "readOnly": true, - "description": "Sku name and tier." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "description": "The properties of File services in storage account." - }, - "ProtocolSettings": { - "properties": { - "smb": { - "$ref": "#/definitions/SmbSetting", - "description": "Setting for SMB protocol" - }, - "nfs": { - "$ref": "#/definitions/NfsSetting", - "description": "Setting for NFS protocol" - } - }, - "description": "Protocol settings for file service" - }, - "SmbSetting": { - "properties": { - "multichannel": { - "$ref": "#/definitions/Multichannel", - "description": "Multichannel setting. Applies to Premium FileStorage only." - }, - "versions": { - "type": "string", - "description": "SMB protocol versions supported by server. Valid values are SMB2.1, SMB3.0, SMB3.1.1. Should be passed as a string with delimiter ';'." - }, - "authenticationMethods": { - "type": "string", - "description": "SMB authentication methods supported by server. Valid values are NTLMv2, Kerberos. Should be passed as a string with delimiter ';'." - }, - "kerberosTicketEncryption": { - "type": "string", - "description": "Kerberos ticket encryption supported by server. Valid values are RC4-HMAC, AES-256. Should be passed as a string with delimiter ';'" - }, - "channelEncryption": { - "type": "string", - "description": "SMB channel encryption supported by server. Valid values are AES-128-CCM, AES-128-GCM, AES-256-GCM. Should be passed as a string with delimiter ';'." - }, - "encryptionInTransit": { - "$ref": "#/definitions/EncryptionInTransit", - "description": "Encryption in transit setting." - } - }, - "description": "Setting for SMB protocol" - }, - "NfsSetting": { - "type": "object", - "properties": { - "encryptionInTransit": { - "$ref": "#/definitions/EncryptionInTransit", - "description": "Encryption in transit setting." - } - }, - "description": "Setting for NFS protocol" - }, - "Multichannel": { - "properties": { - "enabled": { - "type": "boolean", - "description": "Indicates whether multichannel is enabled" - } - }, - "description": "Multichannel setting. Applies to Premium FileStorage only." - }, - "EncryptionInTransit": { - "type": "object", - "properties": { - "required": { - "type": "boolean", - "description": "Indicates whether encryption in transit is required" - } - }, - "description": "Encryption in transit setting." - }, - "FileServiceUsages": { - "type": "object", - "properties": { - "value": { - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/FileServiceUsage" - }, - "description": "List of file service usages returned." - }, - "nextLink": { - "type": "string", - "readOnly": true, - "description": "Request URL that can be used to query next page of file service usages. Returned when total number of requested file service usages exceed maximum page size." - } - }, - "description": "List file service usages schema." - }, - "FileServiceUsage": { - "type": "object", - "readOnly": true, - "properties": { - "properties": { - "$ref": "#/definitions/FileServiceUsageProperties" - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "description": "The usage of file service in storage account." - }, - "FileServiceUsageProperties": { - "type": "object", - "readOnly": true, - "properties": { - "storageAccountLimits": { - "$ref": "#/definitions/AccountLimits" - }, - "fileShareLimits": { - "$ref": "#/definitions/FileShareLimits" - }, - "fileShareRecommendations": { - "$ref": "#/definitions/FileShareRecommendations" - }, - "burstingConstants": { - "$ref": "#/definitions/BurstingConstants" - }, - "storageAccountUsage": { - "$ref": "#/definitions/AccountUsage" - } - }, - "description": "File service usage in storage account including account limits, file share limits and constants used in recommendations and bursting formula." - }, - "AccountLimits": { - "type": "object", - "readOnly": true, - "properties": { - "maxFileShares": { - "type": "integer", - "format": "int32", - "readOnly": true, - "description": "The maximum number of file shares limit for the storage account." - }, - "maxProvisionedStorageGiB": { - "type": "integer", - "format": "int32", - "readOnly": true, - "description": "The maximum provisioned storage quota limit in gibibytes for the storage account." - }, - "maxProvisionedIOPS": { - "type": "integer", - "format": "int32", - "readOnly": true, - "description": "The maximum provisioned IOPS limit for the storage account." - }, - "maxProvisionedBandwidthMiBPerSec": { - "type": "integer", - "format": "int32", - "readOnly": true, - "description": "The maximum provisioned bandwidth limit in mebibytes per second for the storage account." - } - }, - "description": "Maximum provisioned storage, IOPS, bandwidth and number of file shares limits for the storage account." - }, - "FileShareLimits": { - "type": "object", - "readOnly": true, - "properties": { - "minProvisionedStorageGiB": { - "type": "integer", - "format": "int32", - "readOnly": true, - "description": "The minimum provisioned storage quota limit in gibibytes for a file share in the storage account." - }, - "maxProvisionedStorageGiB": { - "type": "integer", - "format": "int32", - "readOnly": true, - "description": "The maximum provisioned storage quota limit in gibibytes for a file share in the storage account." - }, - "minProvisionedIOPS": { - "type": "integer", - "format": "int32", - "readOnly": true, - "description": "The minimum provisioned IOPS limit for a file share in the storage account." - }, - "maxProvisionedIOPS": { - "type": "integer", - "format": "int32", - "readOnly": true, - "description": "The maximum provisioned IOPS limit for a file share in the storage account." - }, - "minProvisionedBandwidthMiBPerSec": { - "type": "integer", - "format": "int32", - "readOnly": true, - "description": "The minimum provisioned bandwidth limit in mebibytes per second for a file share in the storage account." - }, - "maxProvisionedBandwidthMiBPerSec": { - "type": "integer", - "format": "int32", - "readOnly": true, - "description": "The maximum provisioned bandwidth limit in mebibytes per second for a file share in the storage account." - } - }, - "description": "Minimum and maximum provisioned storage, IOPS and bandwidth limits for a file share in the storage account." - }, - "FileShareRecommendations": { - "type": "object", - "readOnly": true, - "properties": { - "baseIOPS": { - "type": "integer", - "format": "int32", - "readOnly": true, - "description": "The base IOPS in the file share provisioned IOPS recommendation formula." - }, - "ioScalar": { - "type": "number", - "format": "double", - "readOnly": true, - "description": "The scalar for IO in the file share provisioned IOPS recommendation formula." - }, - "baseBandwidthMiBPerSec": { - "type": "integer", - "format": "int32", - "readOnly": true, - "description": "The base bandwidth in the file share provisioned bandwidth recommendation formula." - }, - "bandwidthScalar": { - "type": "number", - "format": "double", - "readOnly": true, - "description": "The scalar for bandwidth in the file share provisioned bandwidth recommendation formula." - } - }, - "description": "Constants used for calculating recommended provisioned IOPS and bandwidth for a file share in the storage account." - }, - "BurstingConstants": { - "type": "object", - "readOnly": true, - "properties": { - "burstFloorIOPS": { - "type": "integer", - "format": "int32", - "readOnly": true, - "description": "The guaranteed floor of burst IOPS for small file shares." - }, - "burstIOScalar": { - "type": "number", - "format": "double", - "readOnly": true, - "description": "The scalar against provisioned IOPS in the file share included burst IOPS formula." - }, - "burstTimeframeSeconds": { - "type": "integer", - "format": "int32", - "readOnly": true, - "description": "The time frame for bursting in seconds in the file share maximum burst credits for IOPS formula." - } - }, - "description": "Constants used for calculating included burst IOPS and maximum burst credits for IOPS for a file share in the storage account." - }, - "AccountUsage": { - "type": "object", - "readOnly": true, - "properties": { - "liveShares": { - "$ref": "#/definitions/AccountUsageElements" - }, - "softDeletedShares": { - "$ref": "#/definitions/AccountUsageElements" - } - }, - "description": "Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares and soft-deleted shares in the account." - }, - "AccountUsageElements": { - "type": "object", - "readOnly": true, - "properties": { - "fileShareCount": { - "type": "integer", - "format": "int32", - "readOnly": true, - "description": "The total number of file shares." - }, - "provisionedStorageGiB": { - "type": "integer", - "format": "int32", - "readOnly": true, - "description": "The total provisioned storage quota in gibibytes." - }, - "provisionedIOPS": { - "type": "integer", - "format": "int32", - "readOnly": true, - "description": "The total provisioned IOPS." - }, - "provisionedBandwidthMiBPerSec": { - "type": "integer", - "format": "int32", - "readOnly": true, - "description": "The total provisioned bandwidth in mebibytes per second." - } - }, - "description": "Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares or soft-deleted shares in the account." - }, - "FileShare": { - "properties": { - "properties": { - "$ref": "#/definitions/FileShareProperties", - "x-ms-client-flatten": true, - "x-ms-client-name": "FileShareProperties", - "description": "Properties of the file share." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" - } - ], - "description": "Properties of the file share, including Id, resource name, resource type, Etag." - }, - "DeletedShare": { - "properties": { - "deletedShareName": { - "type": "string", - "description": "Required. Identify the name of the deleted share that will be restored." - }, - "deletedShareVersion": { - "type": "string", - "description": "Required. Identify the version of the deleted share that will be restored." - } - }, - "required": [ - "deletedShareName", - "deletedShareVersion" - ], - "description": "The deleted share to be restored." - }, - "FileShareItem": { - "properties": { - "properties": { - "$ref": "#/definitions/FileShareProperties", - "x-ms-client-flatten": true, - "description": "The file share properties be listed out." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" - } - ], - "description": "The file share properties be listed out." - }, - "FileShareItems": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/FileShareItem" - }, - "description": "List of file shares returned.", - "readOnly": true - }, - "nextLink": { - "type": "string", - "description": "Request URL that can be used to query next page of shares. Returned when total number of requested shares exceed maximum page size.", - "readOnly": true - } - }, - "description": "Response schema. Contains list of shares returned, and if paging is requested or required, a URL to next page of shares." - }, - "FileShareProperties": { - "properties": { - "lastModifiedTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Returns the date and time the share was last modified." - }, - "metadata": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "A name-value pair to associate with the share as metadata." - }, - "shareQuota": { - "type": "integer", - "format": "int32", - "description": "The provisioned size of the share, in gibibytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400. For file shares created under Files Provisioned v2 account type, please refer to the GetFileServiceUsage API response for the minimum and maximum allowed provisioned storage size." - }, - "provisionedIops": { - "type": "integer", - "format": "int32", - "description": "The provisioned IOPS of the share. This property is only for file shares created under Files Provisioned v2 account type. Please refer to the GetFileServiceUsage API response for the minimum and maximum allowed value for provisioned IOPS." - }, - "provisionedBandwidthMibps": { - "type": "integer", - "format": "int32", - "description": "The provisioned bandwidth of the share, in mebibytes per second. This property is only for file shares created under Files Provisioned v2 account type. Please refer to the GetFileServiceUsage API response for the minimum and maximum allowed value for provisioned bandwidth." - }, - "includedBurstIops": { - "type": "integer", - "format": "int32", - "readOnly": true, - "description": "The calculated burst IOPS of the share. This property is only for file shares created under Files Provisioned v2 account type." - }, - "maxBurstCreditsForIops": { - "type": "integer", - "format": "int64", - "readOnly": true, - "description": "The calculated maximum burst credits for the share. This property is only for file shares created under Files Provisioned v2 account type." - }, - "nextAllowedQuotaDowngradeTime": { - "type": "string", - "format": "date-time-rfc1123", - "readOnly": true, - "description": "Returns the next allowed provisioned storage size downgrade time for the share. This property is only for file shares created under Files Provisioned v1 SSD and Files Provisioned v2 account type" - }, - "nextAllowedProvisionedIopsDowngradeTime": { - "type": "string", - "format": "date-time-rfc1123", - "readOnly": true, - "description": "Returns the next allowed provisioned IOPS downgrade time for the share. This property is only for file shares created under Files Provisioned v2 account type." - }, - "nextAllowedProvisionedBandwidthDowngradeTime": { - "type": "string", - "format": "date-time-rfc1123", - "readOnly": true, - "description": "Returns the next allowed provisioned bandwidth downgrade time for the share. This property is only for file shares created under Files Provisioned v2 account type." - }, - "enabledProtocols": { - "type": "string", - "enum": [ - "SMB", - "NFS" - ], - "x-ms-enum": { - "name": "EnabledProtocols", - "modelAsString": true - }, - "description": "The authentication protocol that is used for the file share. Can only be specified when creating a share.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "rootSquash": { - "type": "string", - "enum": [ - "NoRootSquash", - "RootSquash", - "AllSquash" - ], - "x-ms-enum": { - "name": "RootSquashType", - "modelAsString": true - }, - "description": "The property is for NFS share only. The default is NoRootSquash." - }, - "version": { - "type": "string", - "readOnly": true, - "description": "The version of the share." - }, - "deleted": { - "type": "boolean", - "readOnly": true, - "description": "Indicates whether the share was deleted." - }, - "deletedTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "The deleted time if the share was deleted." - }, - "remainingRetentionDays": { - "type": "integer", - "readOnly": true, - "description": "Remaining retention days for share that was soft deleted." - }, - "accessTier": { - "type": "string", - "enum": [ - "TransactionOptimized", - "Hot", - "Cool", - "Premium" - ], - "x-ms-enum": { - "name": "ShareAccessTier", - "modelAsString": true - }, - "description": "Access tier for specific share. GpV2 account can choose between TransactionOptimized (default), Hot, and Cool. FileStorage account can choose Premium." - }, - "accessTierChangeTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Indicates the last modification time for share access tier." - }, - "accessTierStatus": { - "type": "string", - "readOnly": true, - "description": "Indicates if there is a pending transition for access tier." - }, - "shareUsageBytes": { - "type": "integer", - "format": "int64", - "readOnly": true, - "description": "The approximate size of the data stored on the share. Note that this value may not include all recently created or recently resized files." - }, - "leaseStatus": { - "type": "string", - "readOnly": true, - "enum": [ - "Locked", - "Unlocked" - ], - "x-ms-enum": { - "name": "LeaseStatus", - "modelAsString": true - }, - "description": "The lease status of the share." - }, - "leaseState": { - "type": "string", - "readOnly": true, - "enum": [ - "Available", - "Leased", - "Expired", - "Breaking", - "Broken" - ], - "x-ms-enum": { - "name": "LeaseState", - "modelAsString": true - }, - "description": "Lease state of the share." - }, - "leaseDuration": { - "type": "string", - "readOnly": true, - "enum": [ - "Infinite", - "Fixed" - ], - "x-ms-enum": { - "name": "LeaseDuration", - "modelAsString": true - }, - "description": "Specifies whether the lease on a share is of infinite or fixed duration, only when the share is leased." - }, - "signedIdentifiers": { - "type": "array", - "items": { - "$ref": "./common.json#/definitions/SignedIdentifier" - }, - "description": "List of stored access policies specified on the share." - }, - "snapshotTime": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "Creation time of share snapshot returned in the response of list shares with expand param \"snapshots\"." - }, - "fileSharePaidBursting": { - "type": "object", - "properties": { - "paidBurstingEnabled": { - "type": "boolean", - "description": "Indicates whether paid bursting is enabled for the share. This property is only for file shares created under Files Provisioned v1 SSD account type." - }, - "paidBurstingMaxIops": { - "type": "integer", - "format": "int32", - "description": "The maximum paid bursting IOPS for the share. This property is only for file shares created under Files Provisioned v1 SSD account type. The maximum allowed value is 102400 which is the maximum allowed IOPS for a share." - }, - "paidBurstingMaxBandwidthMibps": { - "type": "integer", - "format": "int32", - "description": "The maximum paid bursting bandwidth for the share, in mebibytes per second. This property is only for file shares created under Files Provisioned v1 SSD account type. The maximum allowed value is 10340 which is the maximum allowed bandwidth for a share." - } - }, - "description": "File Share Paid Bursting properties." - } - }, - "description": "The properties of the file share." - }, - "LeaseShareRequest": { - "properties": { - "action": { - "type": "string", - "enum": [ - "Acquire", - "Renew", - "Change", - "Release", - "Break" - ], - "x-ms-enum": { - "name": "LeaseShareAction", - "modelAsString": true - }, - "description": "Specifies the lease action. Can be one of the available actions." - }, - "leaseId": { - "type": "string", - "description": "Identifies the lease. Can be specified in any valid GUID string format." - }, - "breakPeriod": { - "type": "integer", - "format": "int32", - "description": "Optional. For a break action, proposed duration the lease should continue before it is broken, in seconds, between 0 and 60." - }, - "leaseDuration": { - "type": "integer", - "format": "int32", - "description": "Required for acquire. Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires." - }, - "proposedLeaseId": { - "type": "string", - "description": "Optional for acquire, required for change. Proposed lease ID, in a GUID string format." - } - }, - "required": [ - "action" - ], - "description": "Lease Share request schema." - }, - "LeaseShareResponse": { - "properties": { - "leaseId": { - "type": "string", - "description": "Returned unique lease ID that must be included with any request to delete the share, or to renew, change, or release the lease." - }, - "leaseTimeSeconds": { - "type": "string", - "description": "Approximate time remaining in the lease period, in seconds." - } - }, - "description": "Lease Share response schema." - }, - "SignedIdentifier": { - "properties": { - "id": { - "type": "string", - "description": "An unique identifier of the stored access policy." - }, - "accessPolicy": { - "$ref": "#/definitions/AccessPolicy", - "description": "Access policy" - } - } - }, - "AccessPolicy": { - "properties": { - "startTime": { - "type": "string", - "format": "date-time", - "description": "Start time of the access policy" - }, - "expiryTime": { - "type": "string", - "format": "date-time", - "description": "Expiry time of the access policy" - }, - "permission": { - "type": "string", - "description": "List of abbreviated permissions." - } - } - } - }, - "parameters": { - "FileServicesName": { - "name": "FileServicesName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the file Service within the specified storage account. File Service Name must be \"default\"", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "FileServicesName", - "modelAsString": false - }, - "x-ms-parameter-location": "method" - }, - "FileServiceUsagesName": { - "name": "fileServiceUsagesName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the file service usage. File Service Usage Name must be \"default\"", - "pattern": "^[a-z][a-z0-9]*$", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "fileServiceUsagesName", - "modelAsString": false - }, - "x-ms-parameter-location": "method" - }, - "ShareName": { - "name": "shareName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the file share within the specified storage account. File share 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.", - "maxLength": 63, - "minLength": 3, - "x-ms-parameter-location": "method" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/networkSecurityPerimeter.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/networkSecurityPerimeter.json deleted file mode 100644 index ba8254160b20..000000000000 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/networkSecurityPerimeter.json +++ /dev/null @@ -1,447 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2025-06-01", - "title": "StorageManagementClient", - "description": "The Azure Storage Management API." - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/networkSecurityPerimeterConfigurations": { - "get": { - "tags": [ - "StorageAccounts NetworkSecurityPerimeterConfigurations" - ], - "operationId": "NetworkSecurityPerimeterConfigurations_List", - "x-ms-examples": { - "NetworkSecurityPerimeterConfigurationList": { - "$ref": "./examples/NetworkSecurityPerimeterConfigurationList.json" - } - }, - "description": "Gets list of effective NetworkSecurityPerimeterConfiguration for storage account", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Network Security Perimeter Configuration List", - "schema": { - "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}": { - "get": { - "tags": [ - "StorageAccounts NetworkSecurityPerimeterConfigurations" - ], - "operationId": "NetworkSecurityPerimeterConfigurations_Get", - "x-ms-examples": { - "NetworkSecurityPerimeterConfigurationGet": { - "$ref": "./examples/NetworkSecurityPerimeterConfigurationGet.json" - } - }, - "description": "Gets effective NetworkSecurityPerimeterConfiguration for association", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/networkSecurityPerimeterConfigurationName" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Network Security Perimeter Configuration", - "schema": { - "$ref": "#/definitions/NetworkSecurityPerimeterConfiguration" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}/reconcile": { - "post": { - "tags": [ - "StorageAccounts NetworkSecurityPerimeterConfigurations" - ], - "operationId": "NetworkSecurityPerimeterConfigurations_Reconcile", - "description": "Refreshes any information about the association.", - "x-ms-examples": { - "NetworkSecurityPerimeterConfigurationReconcile": { - "$ref": "./examples/NetworkSecurityPerimeterConfigurationReconcile.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/networkSecurityPerimeterConfigurationName" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "202": { - "description": "Request to reconcile the association accepted.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - } - }, - "definitions": { - "NetworkSecurityPerimeterConfiguration": { - "description": "The Network Security Perimeter configuration resource.", - "type": "object", - "readOnly": true, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationProperties", - "description": "Properties of the Network Security Perimeter Configuration", - "x-ms-client-flatten": true - } - } - }, - "NetworkSecurityPerimeterConfigurationList": { - "description": "Result of the List Network Security Perimeter configuration operation.", - "type": "object", - "properties": { - "value": { - "description": "A collection of Network Security Perimeter configurations", - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/NetworkSecurityPerimeterConfiguration" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next set of paged results.", - "type": "string" - } - } - }, - "NetworkSecurityPerimeterConfigurationProperties": { - "description": "Properties of the Network Security Perimeter Configuration", - "type": "object", - "readOnly": true, - "properties": { - "provisioningState": { - "description": "Provisioning state of Network Security Perimeter configuration propagation", - "enum": [ - "Accepted", - "Succeeded", - "Failed", - "Deleting", - "Canceled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "NetworkSecurityPerimeterConfigurationProvisioningState", - "modelAsString": true - } - }, - "provisioningIssues": { - "description": "List of Provisioning Issues if any", - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/ProvisioningIssue" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "networkSecurityPerimeter": { - "$ref": "#/definitions/NetworkSecurityPerimeter", - "readOnly": true - }, - "resourceAssociation": { - "description": "Information about resource association", - "readOnly": true, - "type": "object", - "properties": { - "name": { - "description": "Name of the resource association", - "type": "string" - }, - "accessMode": { - "description": "Access Mode of the resource association", - "enum": [ - "Enforced", - "Learning", - "Audit" - ], - "type": "string", - "x-ms-enum": { - "name": "ResourceAssociationAccessMode", - "modelAsString": true - } - } - } - }, - "profile": { - "description": "Network Security Perimeter profile", - "readOnly": true, - "type": "object", - "properties": { - "name": { - "description": "Name of the resource", - "type": "string" - }, - "accessRulesVersion": { - "description": "Current access rules version", - "type": "number" - }, - "accessRules": { - "description": "List of Access Rules", - "type": "array", - "items": { - "$ref": "#/definitions/NspAccessRule" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "diagnosticSettingsVersion": { - "description": "Diagnostic settings version", - "type": "number" - }, - "enabledLogCategories": { - "description": "Enabled logging categories", - "type": "array", - "items": { - "description": "Logging category", - "type": "string" - } - } - } - } - } - }, - "ProvisioningIssue": { - "description": "Describes provisioning issue for given NetworkSecurityPerimeterConfiguration", - "type": "object", - "readOnly": true, - "properties": { - "name": { - "description": "Name of the issue", - "type": "string" - }, - "properties": { - "description": "Properties of provisioning issue", - "type": "object", - "readOnly": true, - "properties": { - "issueType": { - "description": "Type of issue", - "enum": [ - "Unknown", - "ConfigurationPropagationFailure" - ], - "type": "string", - "x-ms-enum": { - "name": "IssueType", - "modelAsString": true - } - }, - "severity": { - "description": "Severity of the issue.", - "enum": [ - "Warning", - "Error" - ], - "type": "string", - "x-ms-enum": { - "name": "Severity", - "modelAsString": true - } - }, - "description": { - "description": "Description of the issue", - "type": "string" - } - } - } - } - }, - "NspAccessRule": { - "description": "Information of Access Rule in Network Security Perimeter profile", - "type": "object", - "readOnly": true, - "properties": { - "name": { - "description": "Name of the resource", - "type": "string" - }, - "properties": { - "description": "Properties of Access Rule", - "readOnly": true, - "type": "object", - "properties": { - "direction": { - "description": "Direction of Access Rule", - "enum": [ - "Inbound", - "Outbound" - ], - "type": "string", - "x-ms-enum": { - "name": "NspAccessRuleDirection", - "modelAsString": true - } - }, - "addressPrefixes": { - "description": "Address prefixes in the CIDR format for inbound rules", - "type": "array", - "items": { - "description": "IP Address", - "type": "string" - } - }, - "subscriptions": { - "description": "Subscriptions for inbound rules", - "type": "array", - "items": { - "description": "Subscription for inbound rule", - "type": "object", - "readOnly": true, - "properties": { - "id": { - "description": "The ARM identifier of subscription", - "type": "string" - } - } - } - }, - "networkSecurityPerimeters": { - "description": "NetworkSecurityPerimeters for inbound rules", - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/NetworkSecurityPerimeter" - } - }, - "fullyQualifiedDomainNames": { - "description": "FQDN for outbound rules", - "type": "array", - "readOnly": true, - "items": { - "description": "Fully qualified domain name", - "type": "string" - } - } - } - } - } - }, - "NetworkSecurityPerimeter": { - "description": "NetworkSecurityPerimeter related information", - "type": "object", - "readOnly": true, - "properties": { - "id": { - "description": "The ARM identifier of the resource", - "type": "string" - }, - "perimeterGuid": { - "description": "Guid of the resource", - "type": "string" - }, - "location": { - "description": "Location of the resource", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - } - } - } - }, - "parameters": { - "networkSecurityPerimeterConfigurationName": { - "name": "networkSecurityPerimeterConfigurationName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^.*$", - "description": "The name for Network Security Perimeter configuration", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/openapi.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/openapi.json new file mode 100644 index 000000000000..1c1b044b0e41 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/openapi.json @@ -0,0 +1,14359 @@ +{ + "swagger": "2.0", + "info": { + "title": "StorageManagementClient", + "version": "2025-06-01", + "description": "The Azure Storage Management API.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "BlobContainers" + }, + { + "name": "BlobServices" + }, + { + "name": "StorageAccounts" + }, + { + "name": "ImmutabilityPolicies" + }, + { + "name": "FileShares" + }, + { + "name": "FileServices" + }, + { + "name": "FileServiceUsageOperationGroup" + }, + { + "name": "QueueServices" + }, + { + "name": "StorageQueues" + }, + { + "name": "StorageAccountMigrations" + }, + { + "name": "DeletedAccounts" + }, + { + "name": "ManagementPolicies" + }, + { + "name": "BlobInventoryPolicies" + }, + { + "name": "PrivateEndpointConnections" + }, + { + "name": "ObjectReplicationPolicyOperationGroup" + }, + { + "name": "LocalUserOperationGroup" + }, + { + "name": "EncryptionScopes" + }, + { + "name": "TableServices" + }, + { + "name": "Tables" + }, + { + "name": "NetworkSecurityPerimeterConfigurations" + }, + { + "name": "StorageTaskAssignments" + } + ], + "paths": { + "/providers/Microsoft.Storage/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "Lists all of the available Storage Rest API operations.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "OperationsList": { + "$ref": "./examples/OperationsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability": { + "post": { + "operationId": "StorageAccounts_CheckNameAvailability", + "tags": [ + "StorageAccounts" + ], + "description": "Checks that the storage account name is valid and is not already in use.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "accountName", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/StorageAccountCheckNameAvailabilityParameters" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountCheckNameAvailability": { + "$ref": "./examples/StorageAccountCheckNameAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/deletedAccounts": { + "get": { + "operationId": "DeletedAccounts_List", + "description": "Lists deleted accounts under the subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/DeletedAccountListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeletedAccountList": { + "$ref": "./examples/DeletedAccountList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/deletedAccounts/{deletedAccountName}": { + "get": { + "operationId": "DeletedAccounts_Get", + "tags": [ + "DeletedAccounts" + ], + "description": "Get properties of specified deleted account resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "deletedAccountName", + "in": "path", + "description": "Name of the deleted storage account.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24 + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DeletedAccount" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeletedAccountGet": { + "$ref": "./examples/DeletedAccountGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/usages": { + "get": { + "operationId": "Usages_ListByLocation", + "description": "Gets the current usage count and the limit for the resources of the location under the subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/UsageListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "UsageList": { + "$ref": "./examples/StorageAccountListLocationUsage.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/skus": { + "get": { + "operationId": "Skus_List", + "description": "Lists the available SKUs supported by Microsoft.Storage for given subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/StorageSkuListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SKUListWithLocationInfo": { + "$ref": "./examples/SKUListWithLocationInfo.json" + }, + "SkuList": { + "$ref": "./examples/SKUList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts": { + "get": { + "operationId": "StorageAccounts_List", + "tags": [ + "StorageAccounts" + ], + "description": "Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StorageAccountListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountList": { + "$ref": "./examples/StorageAccountList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts": { + "get": { + "operationId": "StorageAccounts_ListByResourceGroup", + "tags": [ + "StorageAccounts" + ], + "description": "Lists all the storage accounts available under the given resource group. Note that storage keys are not returned; use the ListKeys operation for this.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StorageAccountListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountListByResourceGroup": { + "$ref": "./examples/StorageAccountListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}": { + "get": { + "operationId": "StorageAccounts_GetProperties", + "tags": [ + "StorageAccounts" + ], + "description": "Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "$expand", + "in": "query", + "description": "May be used to expand the properties within account's properties. By default, data is not included when fetching properties. Currently we only support geoReplicationStats and blobRestoreStatus.", + "required": false, + "type": "string", + "enum": [ + "geoReplicationStats", + "blobRestoreStatus" + ], + "x-ms-enum": { + "name": "StorageAccountExpand", + "modelAsString": false + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StorageAccount" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountGetAsyncSkuConversionStatus": { + "$ref": "./examples/StorageAccountGetAsyncSkuConversionStatus.json" + }, + "StorageAccountGetProperties": { + "$ref": "./examples/StorageAccountGetProperties.json" + }, + "StorageAccountGetPropertiesCMKEnabled": { + "$ref": "./examples/StorageAccountGetPropertiesCMKEnabled.json" + }, + "StorageAccountGetPropertiesCMKVersionExpirationTime": { + "$ref": "./examples/StorageAccountGetPropertiesCMKVersionExpirationTime.json" + }, + "StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse": { + "$ref": "./examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse.json" + }, + "StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue": { + "$ref": "./examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue.json" + } + } + }, + "put": { + "operationId": "StorageAccounts_Create", + "tags": [ + "StorageAccounts" + ], + "description": "Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters to provide for the created account.", + "required": true, + "schema": { + "$ref": "#/definitions/StorageAccountCreateParameters" + } + } + ], + "responses": { + "200": { + "description": "Resource 'StorageAccount' update operation succeeded", + "schema": { + "$ref": "#/definitions/StorageAccount" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NfsV3AccountCreate": { + "$ref": "./examples/NfsV3AccountCreate.json" + }, + "StorageAccountCreate": { + "$ref": "./examples/StorageAccountCreate.json" + }, + "StorageAccountCreateAllowedCopyScopeToAAD": { + "$ref": "./examples/StorageAccountCreateAllowedCopyScopeToAAD.json" + }, + "StorageAccountCreateAllowedCopyScopeToPrivateLink": { + "$ref": "./examples/StorageAccountCreateAllowedCopyScopeToPrivateLink.json" + }, + "StorageAccountCreateDisallowPublicNetworkAccess": { + "$ref": "./examples/StorageAccountCreateDisallowPublicNetworkAccess.json" + }, + "StorageAccountCreateDnsEndpointTypeToAzureDnsZone": { + "$ref": "./examples/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json" + }, + "StorageAccountCreateDnsEndpointTypeToStandard": { + "$ref": "./examples/StorageAccountCreateDnsEndpointTypeToStandard.json" + }, + "StorageAccountCreateEnablePublicNetworkAccess": { + "$ref": "./examples/StorageAccountCreateEnablePublicNetworkAccess.json" + }, + "StorageAccountCreatePremiumBlockBlobStorage": { + "$ref": "./examples/StorageAccountCreatePremiumBlockBlobStorage.json" + }, + "StorageAccountCreateUserAssignedEncryptionIdentityWithCMK": { + "$ref": "./examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json" + }, + "StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.": { + "$ref": "./examples/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json" + }, + "StorageAccountCreateWithImmutabilityPolicy": { + "$ref": "./examples/StorageAccountCreateWithImmutabilityPolicy.json" + }, + "StorageAccountCreate_placement": { + "$ref": "./examples/StorageAccountCreate_placement.json" + }, + "StorageAccountCreate_zones": { + "$ref": "./examples/StorageAccountCreate_zones.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/StorageAccount" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "StorageAccounts_Update", + "tags": [ + "StorageAccounts" + ], + "description": "The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters to provide for the updated account.", + "required": true, + "schema": { + "$ref": "#/definitions/StorageAccountUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StorageAccount" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountEnableAD": { + "$ref": "./examples/StorageAccountEnableAD.json" + }, + "StorageAccountEnableCMK": { + "$ref": "./examples/StorageAccountEnableCMK.json" + }, + "StorageAccountEnableSmbOAuth": { + "$ref": "./examples/StorageAccountEnableSmbOAuth.json" + }, + "StorageAccountUpdate": { + "$ref": "./examples/StorageAccountUpdate.json" + }, + "StorageAccountUpdateAllowedCopyScopeToAAD": { + "$ref": "./examples/StorageAccountUpdateAllowedCopyScopeToAAD.json" + }, + "StorageAccountUpdateDisablePublicNetworkAccess": { + "$ref": "./examples/StorageAccountUpdateDisablePublicNetworkAccess.json" + }, + "StorageAccountUpdateEnableIpv6Features": { + "$ref": "./examples/StorageAccountLeverageIPv6Ability.json" + }, + "StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK": { + "$ref": "./examples/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json" + }, + "StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId": { + "$ref": "./examples/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json" + }, + "StorageAccountUpdateWithImmutabilityPolicy": { + "$ref": "./examples/StorageAccountUpdateWithImmutabilityPolicy.json" + }, + "StorageAccountUpdate_placement": { + "$ref": "./examples/StorageAccountUpdate_placement.json" + }, + "StorageAccountUpdate_zones": { + "$ref": "./examples/StorageAccountUpdate_zones.json" + } + } + }, + "delete": { + "operationId": "StorageAccounts_Delete", + "tags": [ + "StorageAccounts" + ], + "description": "Deletes a storage account in Microsoft Azure.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountDelete": { + "$ref": "./examples/StorageAccountDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/aborthnsonmigration": { + "post": { + "operationId": "StorageAccounts_AbortHierarchicalNamespaceMigration", + "tags": [ + "StorageAccounts" + ], + "description": "Abort live Migration of storage account to enable Hns", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountAbortHierarchicalNamespaceMigration": { + "$ref": "./examples/StorageAccountAbortHierarchicalNamespaceMigration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/accountMigrations/{migrationName}": { + "get": { + "operationId": "StorageAccounts_GetCustomerInitiatedMigration", + "tags": [ + "StorageAccountMigrations" + ], + "description": "Gets the status of the ongoing migration for the specified storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "migrationName", + "in": "path", + "description": "The name of the Storage Account Migration. It should always be 'default'", + "required": true, + "type": "string", + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "MigrationName", + "modelAsString": true, + "values": [ + { + "name": "default", + "value": "default" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StorageAccountMigration" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountGetMigrationFailed": { + "$ref": "./examples/StorageAccountGetMigrationFailed.json" + }, + "StorageAccountGetMigrationInProgress": { + "$ref": "./examples/StorageAccountGetMigrationInProgress.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices": { + "get": { + "operationId": "BlobServices_List", + "tags": [ + "BlobServices" + ], + "description": "List blob services of storage account. It returns a collection of one object named default.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BlobServiceItems" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListBlobServices": { + "$ref": "./examples/BlobServicesList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default": { + "get": { + "operationId": "BlobServices_GetServiceProperties", + "tags": [ + "BlobServices" + ], + "description": "Gets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BlobServiceProperties" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetBlobServices": { + "$ref": "./examples/BlobServicesGet.json" + } + } + }, + "put": { + "operationId": "BlobServices_SetServiceProperties", + "tags": [ + "BlobServices" + ], + "description": "Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "parameters", + "in": "body", + "description": "The properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.", + "required": true, + "schema": { + "$ref": "#/definitions/BlobServiceProperties" + } + } + ], + "responses": { + "200": { + "description": "Resource 'BlobServiceProperties' update operation succeeded", + "schema": { + "$ref": "#/definitions/BlobServiceProperties" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BlobServicesPutAllowPermanentDelete": { + "$ref": "./examples/BlobServicesPutAllowPermanentDelete.json" + }, + "BlobServicesPutLastAccessTimeBasedTracking": { + "$ref": "./examples/BlobServicesPutLastAccessTimeBasedTracking.json" + }, + "PutBlobServices": { + "$ref": "./examples/BlobServicesPut.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers": { + "get": { + "operationId": "BlobContainers_List", + "tags": [ + "BlobServices" + ], + "description": "Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation token.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "$maxpagesize", + "in": "query", + "description": "Optional. Specified maximum number of containers that can be included in the list.", + "required": false, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "Optional. When specified, only container names starting with the filter will be listed.", + "required": false, + "type": "string" + }, + { + "name": "$include", + "in": "query", + "description": "Optional, used to include the properties for soft deleted blob containers.", + "required": false, + "type": "string", + "enum": [ + "deleted" + ], + "x-ms-enum": { + "name": "ListContainersInclude", + "modelAsString": true, + "values": [ + { + "name": "deleted", + "value": "deleted" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListContainerItems" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListContainers": { + "$ref": "./examples/BlobContainersList.json" + }, + "ListDeletedContainers": { + "$ref": "./examples/DeletedBlobContainersList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}": { + "get": { + "operationId": "BlobContainers_Get", + "tags": [ + "BlobContainers" + ], + "description": "Gets properties of a specified container.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "containerName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BlobContainer" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetBlobContainersGetWithAllowProtectedAppendWritesAll": { + "$ref": "./examples/BlobContainersGetWithAllowProtectedAppendWritesAll.json" + }, + "GetContainers": { + "$ref": "./examples/BlobContainersGet.json" + } + } + }, + "put": { + "operationId": "BlobContainers_Create", + "tags": [ + "BlobContainers" + ], + "description": "Creates a new container under the specified account as described by request body. The container resource includes metadata and properties for that container. It does not include a list of the blobs contained by the container.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "containerName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "blobContainer", + "in": "body", + "description": "Properties of the blob container to create.", + "required": true, + "schema": { + "$ref": "#/definitions/BlobContainer" + } + } + ], + "responses": { + "200": { + "description": "Resource 'BlobContainer' update operation succeeded", + "schema": { + "$ref": "#/definitions/BlobContainer" + } + }, + "201": { + "description": "Resource 'BlobContainer' create operation succeeded", + "schema": { + "$ref": "#/definitions/BlobContainer" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PutContainerWithDefaultEncryptionScope": { + "$ref": "./examples/BlobContainersPutDefaultEncryptionScope.json" + }, + "PutContainerWithObjectLevelWorm": { + "$ref": "./examples/BlobContainersPutObjectLevelWorm.json" + }, + "PutContainers": { + "$ref": "./examples/BlobContainersPut.json" + } + } + }, + "patch": { + "operationId": "BlobContainers_Update", + "tags": [ + "BlobContainers" + ], + "description": "Updates container properties as specified in request body. Properties not mentioned in the request will be unchanged. Update fails if the specified container doesn't already exist.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "containerName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "blobContainer", + "in": "body", + "description": "Properties to update for the blob container.", + "required": true, + "schema": { + "$ref": "#/definitions/BlobContainer" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BlobContainer" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "UpdateContainers": { + "$ref": "./examples/BlobContainersPatch.json" + } + } + }, + "delete": { + "operationId": "BlobContainers_Delete", + "tags": [ + "BlobContainers" + ], + "description": "Deletes specified container under its account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "containerName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteContainers": { + "$ref": "./examples/BlobContainersDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold": { + "post": { + "operationId": "BlobContainers_ClearLegalHold", + "tags": [ + "BlobContainers" + ], + "description": "Clears legal hold tags. Clearing the same or non-existent tag results in an idempotent operation. ClearLegalHold clears out only the specified tags in the request.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "containerName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "LegalHold", + "in": "body", + "description": "The LegalHold property that will be clear from a blob container.", + "required": true, + "schema": { + "$ref": "#/definitions/LegalHold" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/LegalHold" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ClearLegalHoldContainers": { + "$ref": "./examples/BlobContainersClearLegalHold.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default": { + "get": { + "operationId": "BlobContainers_GetImmutabilityPolicy", + "tags": [ + "ImmutabilityPolicies" + ], + "description": "Gets the existing immutability policy along with the corresponding ETag in response headers and body.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "containerName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "If-Match", + "in": "header", + "description": "The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" + }, + "headers": { + "ETag": { + "type": "string", + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetImmutabilityPolicy": { + "$ref": "./examples/BlobContainersGetImmutabilityPolicy.json" + } + } + }, + "put": { + "operationId": "BlobContainers_CreateOrUpdateImmutabilityPolicy", + "tags": [ + "ImmutabilityPolicies" + ], + "description": "Creates or updates an unlocked immutability policy. ETag in If-Match is honored if given but not required for this operation.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "containerName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "If-Match", + "in": "header", + "description": "The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service.", + "required": false, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "The ImmutabilityPolicy Properties that will be created or updated to a blob container.", + "required": false, + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" + }, + "headers": { + "ETag": { + "type": "string", + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateOrUpdateImmutabilityPolicy": { + "$ref": "./examples/BlobContainersPutImmutabilityPolicy.json" + }, + "CreateOrUpdateImmutabilityPolicyWithAllowProtectedAppendWritesAll": { + "$ref": "./examples/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json" + } + } + }, + "delete": { + "operationId": "BlobContainers_DeleteImmutabilityPolicy", + "tags": [ + "ImmutabilityPolicies" + ], + "description": "Aborts an unlocked immutability policy. The response of delete has immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is required for this operation. Deleting a locked immutability policy is not allowed, the only way is to delete the container after deleting all expired blobs inside the policy locked container.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "containerName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "If-Match", + "in": "header", + "description": "The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" + }, + "headers": { + "ETag": { + "type": "string", + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteImmutabilityPolicy": { + "$ref": "./examples/BlobContainersDeleteImmutabilityPolicy.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend": { + "post": { + "operationId": "BlobContainers_ExtendImmutabilityPolicy", + "tags": [ + "ImmutabilityPolicies" + ], + "description": "Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy. The only action allowed on a Locked policy will be this action. ETag in If-Match is required for this operation.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "containerName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "If-Match", + "in": "header", + "description": "The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "The content of the action request", + "required": false, + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" + }, + "headers": { + "ETag": { + "type": "string", + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ExtendImmutabilityPolicy": { + "$ref": "./examples/BlobContainersExtendImmutabilityPolicy.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock": { + "post": { + "operationId": "BlobContainers_LockImmutabilityPolicy", + "tags": [ + "ImmutabilityPolicies" + ], + "description": "Sets the ImmutabilityPolicy to Locked state. The only action allowed on a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is required for this operation.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "containerName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "If-Match", + "in": "header", + "description": "The entity state (ETag) version of the immutability policy to update must be returned to the server for all update operations. The ETag value must include the leading and trailing double quotes as returned by the service.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ImmutabilityPolicy" + }, + "headers": { + "ETag": { + "type": "string", + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "LockImmutabilityPolicy": { + "$ref": "./examples/BlobContainersLockImmutabilityPolicy.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/lease": { + "post": { + "operationId": "BlobContainers_Lease", + "tags": [ + "BlobContainers" + ], + "description": "The Lease Container operation establishes and manages a lock on a container for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "containerName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "parameters", + "in": "body", + "description": "The content of the action request", + "required": false, + "schema": { + "$ref": "#/definitions/LeaseContainerRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/LeaseContainerResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Acquire a lease on a container": { + "$ref": "./examples/BlobContainersLease_Acquire.json" + }, + "Break a lease on a container": { + "$ref": "./examples/BlobContainersLease_Break.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/migrate": { + "post": { + "operationId": "BlobContainers_ObjectLevelWorm", + "tags": [ + "BlobContainers" + ], + "description": "This operation migrates a blob container from container level WORM to object level immutability enabled container. Prerequisites require a container level immutability policy either in locked or unlocked state, Account level versioning must be enabled and there should be no Legal hold on the container.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "containerName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "VersionLevelWormContainerMigration": { + "$ref": "./examples/ObjectLevelWormContainerMigration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold": { + "post": { + "operationId": "BlobContainers_SetLegalHold", + "tags": [ + "BlobContainers" + ], + "description": "Sets legal hold tags. Setting the same tag results in an idempotent operation. SetLegalHold follows an append pattern and does not clear out the existing tags that are not specified in the request.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "containerName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "LegalHold", + "in": "body", + "description": "The LegalHold property that will be set to a blob container.", + "required": true, + "schema": { + "$ref": "#/definitions/LegalHold" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/LegalHold" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SetLegalHoldContainers": { + "$ref": "./examples/BlobContainersSetLegalHold.json" + }, + "SetLegalHoldContainersWithAllowProtectedAppendWritesAll": { + "$ref": "./examples/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes": { + "get": { + "operationId": "EncryptionScopes_List", + "tags": [ + "EncryptionScopes" + ], + "description": "Lists all the encryption scopes available under the specified storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "$maxpagesize", + "in": "query", + "description": "Optional, specifies the maximum number of encryption scopes that will be included in the list response.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 5000 + }, + { + "name": "$filter", + "in": "query", + "description": "Optional. When specified, only encryption scope names starting with the filter will be listed.", + "required": false, + "type": "string" + }, + { + "name": "$include", + "in": "query", + "description": "Optional, when specified, will list encryption scopes with the specific state. Defaults to All", + "required": false, + "type": "string", + "enum": [ + "All", + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ListEncryptionScopesInclude", + "modelAsString": true, + "values": [ + { + "name": "All", + "value": "All" + }, + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EncryptionScopeListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountEncryptionScopeList": { + "$ref": "./examples/StorageAccountEncryptionScopeList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}": { + "get": { + "operationId": "EncryptionScopes_Get", + "tags": [ + "EncryptionScopes" + ], + "description": "Returns the properties for the specified encryption scope.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "encryptionScopeName", + "in": "path", + "description": "The name of the encryption scope within the specified storage account. Encryption scope 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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EncryptionScope" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountGetEncryptionScope": { + "$ref": "./examples/StorageAccountGetEncryptionScope.json" + } + } + }, + "put": { + "operationId": "EncryptionScopes_Put", + "tags": [ + "EncryptionScopes" + ], + "description": "Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "encryptionScopeName", + "in": "path", + "description": "The name of the encryption scope within the specified storage account. Encryption scope 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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "encryptionScope", + "in": "body", + "description": "Encryption scope properties to be used for the create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/EncryptionScope" + } + } + ], + "responses": { + "200": { + "description": "Resource 'EncryptionScope' update operation succeeded", + "schema": { + "$ref": "#/definitions/EncryptionScope" + } + }, + "201": { + "description": "Resource 'EncryptionScope' create operation succeeded", + "schema": { + "$ref": "#/definitions/EncryptionScope" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountPutEncryptionScope": { + "$ref": "./examples/StorageAccountPutEncryptionScope.json" + }, + "StorageAccountPutEncryptionScopeWithInfrastructureEncryption": { + "$ref": "./examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json" + } + } + }, + "patch": { + "operationId": "EncryptionScopes_Patch", + "tags": [ + "EncryptionScopes" + ], + "description": "Update encryption scope properties as specified in the request body. Update fails if the specified encryption scope does not already exist.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "encryptionScopeName", + "in": "path", + "description": "The name of the encryption scope within the specified storage account. Encryption scope 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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "encryptionScope", + "in": "body", + "description": "Encryption scope properties to be used for the update.", + "required": true, + "schema": { + "$ref": "#/definitions/EncryptionScope" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EncryptionScope" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountPatchEncryptionScope": { + "$ref": "./examples/StorageAccountPatchEncryptionScope.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover": { + "post": { + "operationId": "StorageAccounts_Failover", + "tags": [ + "StorageAccounts" + ], + "description": "A failover request can be triggered for a storage account in the event a primary endpoint becomes unavailable for any reason. The failover occurs from the storage account's primary cluster to the secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover and the account is converted to LRS. In the case of a Planned Failover, the primary and secondary clusters are swapped after failover and the account remains geo-replicated. Failover should continue to be used in the event of availability issues as Planned failover is only available while the primary and secondary endpoints are available. The primary use case of a Planned Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter to 'Planned'. Learn more about the failover options here- https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "failoverType", + "in": "query", + "description": "The parameter is set to 'Planned' to indicate whether a Planned failover is requested.", + "required": false, + "type": "string", + "enum": [ + "Planned" + ], + "x-ms-enum": { + "modelAsString": false + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountFailover": { + "$ref": "./examples/StorageAccountFailover.json" + }, + "StorageAccountFailoverPlanned": { + "$ref": "./examples/StorageAccountFailoverPlanned.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices": { + "get": { + "operationId": "FileServices_List", + "tags": [ + "FileServices" + ], + "description": "List all file services in storage accounts", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FileServiceItems" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ListFileServices": { + "$ref": "./examples/FileServicesList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default": { + "get": { + "operationId": "FileServices_GetServiceProperties", + "tags": [ + "FileServices" + ], + "description": "Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FileServiceProperties" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "GetFileServices": { + "$ref": "./examples/FileServicesGet.json" + } + } + }, + "put": { + "operationId": "FileServices_SetServiceProperties", + "tags": [ + "FileServices" + ], + "description": "Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "parameters", + "in": "body", + "description": "The properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules.", + "required": true, + "schema": { + "$ref": "#/definitions/FileServiceProperties" + } + } + ], + "responses": { + "200": { + "description": "Resource 'FileServiceProperties' update operation succeeded", + "schema": { + "$ref": "#/definitions/FileServiceProperties" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "PutFileServices": { + "$ref": "./examples/FileServicesPut.json" + }, + "PutFileServices_EnableSMBMultichannel": { + "$ref": "./examples/FileServicesPut_EnableSMBMultichannel.json" + }, + "PutFileServices_EnableSecureSmbFeatures": { + "$ref": "./examples/FileServicesPut_EnableSecureSmbFeatures.json" + }, + "PutFileServices_EncryptionInTransitRequired": { + "$ref": "./examples/FileServicesPut_EncryptionInTransitRequired.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares": { + "get": { + "operationId": "FileShares_List", + "tags": [ + "FileServices" + ], + "description": "Lists all shares.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "$maxpagesize", + "in": "query", + "description": "Optional. Specified maximum number of shares that can be included in the list.", + "required": false, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "Optional. When specified, only share names starting with the filter will be listed.", + "required": false, + "type": "string" + }, + { + "name": "$expand", + "in": "query", + "description": "Optional, used to expand the properties within share's properties. Valid values are: deleted, snapshots. Should be passed as a string with delimiter ','", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FileShareItems" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ListDeletedShares": { + "$ref": "./examples/DeletedFileSharesList.json" + }, + "ListShareSnapshots": { + "$ref": "./examples/FileShareSnapshotsList.json" + }, + "ListShares": { + "$ref": "./examples/FileSharesList.json" + }, + "ListSharesPaidBursting": { + "$ref": "./examples/FileSharesList_PaidBursting.json" + }, + "ListSharesProvisionedV2": { + "$ref": "./examples/FileSharesList_ProvisionedV2.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}": { + "get": { + "operationId": "FileShares_Get", + "tags": [ + "FileShares" + ], + "description": "Gets properties of a specified share.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the file share within the specified storage account. File share 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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "$expand", + "in": "query", + "description": "Optional, used to expand the properties within share's properties. Valid values are: stats. Should be passed as a string with delimiter ','.", + "required": false, + "type": "string" + }, + { + "name": "x-ms-snapshot", + "in": "header", + "description": "Optional, used to retrieve properties of a snapshot.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FileShare" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "GetSharePaidBursting": { + "$ref": "./examples/FileSharesGet_PaidBursting.json" + }, + "GetShareProvisionedV2": { + "$ref": "./examples/FileSharesGet_ProvisionedV2.json" + }, + "GetShareStats": { + "$ref": "./examples/FileSharesGet_Stats.json" + }, + "GetShares": { + "$ref": "./examples/FileSharesGet.json" + } + } + }, + "put": { + "operationId": "FileShares_Create", + "tags": [ + "FileShares" + ], + "description": "Creates a new share under the specified account as described by request body. The share resource includes metadata and properties for that share. It does not include a list of the files contained by the share.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the file share within the specified storage account. File share 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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "$expand", + "in": "query", + "description": "Optional, used to expand the properties within share's properties. Valid values are: snapshots. Should be passed as a string with delimiter ','", + "required": false, + "type": "string" + }, + { + "name": "fileShare", + "in": "body", + "description": "Properties of the file share to create.", + "required": true, + "schema": { + "$ref": "#/definitions/FileShare" + } + } + ], + "responses": { + "200": { + "description": "Resource 'FileShare' update operation succeeded", + "schema": { + "$ref": "#/definitions/FileShare" + } + }, + "201": { + "description": "Resource 'FileShare' create operation succeeded", + "schema": { + "$ref": "#/definitions/FileShare" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Create NFS Shares": { + "$ref": "./examples/FileSharesPut_NFS.json" + }, + "PutShares": { + "$ref": "./examples/FileSharesPut.json" + }, + "PutShares with Access Tier": { + "$ref": "./examples/FileSharesPut_AccessTier.json" + }, + "PutShares with Paid Bursting": { + "$ref": "./examples/FileSharesPut_PaidBursting.json" + }, + "PutSharesProvisionedV2": { + "$ref": "./examples/FileSharesPut_ProvisionedV2.json" + } + } + }, + "patch": { + "operationId": "FileShares_Update", + "tags": [ + "FileShares" + ], + "description": "Updates share properties as specified in request body. Properties not mentioned in the request will not be changed. Update fails if the specified share does not already exist.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the file share within the specified storage account. File share 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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "fileShare", + "in": "body", + "description": "Properties to update for the file share.", + "required": true, + "schema": { + "$ref": "#/definitions/FileShare" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FileShare" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "UpdateShareAcls": { + "$ref": "./examples/FileShareAclsPatch.json" + }, + "UpdateSharePaidBursting": { + "$ref": "./examples/FileSharesPatch_PaidBursting.json" + }, + "UpdateShareProvisionedV2": { + "$ref": "./examples/FileSharesPatch_ProvisionedV2.json" + }, + "UpdateShares": { + "$ref": "./examples/FileSharesPatch.json" + } + } + }, + "delete": { + "operationId": "FileShares_Delete", + "tags": [ + "FileShares" + ], + "description": "Deletes specified share under its account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the file share within the specified storage account. File share 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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "x-ms-snapshot", + "in": "header", + "description": "Optional, used to delete a snapshot.", + "required": false, + "type": "string" + }, + { + "name": "$include", + "in": "query", + "description": "Optional. Valid values are: snapshots, leased-snapshots, none. The default value is snapshots. For 'snapshots', the file share is deleted including all of its file share snapshots. If the file share contains leased-snapshots, the deletion fails. For 'leased-snapshots', the file share is deleted included all of its file share snapshots (leased/unleased). For 'none', the file share is deleted if it has no share snapshots. If the file share contains any snapshots (leased or unleased), the deletion fails.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "DeleteShares": { + "$ref": "./examples/FileSharesDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}/lease": { + "post": { + "operationId": "FileShares_Lease", + "tags": [ + "FileShares" + ], + "description": "The Lease Share operation establishes and manages a lock on a share for delete operations. The lock duration can be 15 to 60 seconds, or can be infinite.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the file share within the specified storage account. File share 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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "x-ms-snapshot", + "in": "header", + "description": "Optional. Specify the snapshot time to lease a snapshot.", + "required": false, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "The content of the action request", + "required": false, + "schema": { + "$ref": "#/definitions/LeaseShareRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/LeaseShareResponse" + }, + "headers": { + "ETag": { + "type": "string", + "description": "The ETag HTTP response header. This is an opaque string. You can use it to detect whether the resource has changed between requests. In particular, you can pass the ETag to one of the If-Match or If-None-Match headers." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Acquire a lease on a share": { + "$ref": "./examples/FileSharesLease_Acquire.json" + }, + "Break a lease on a share": { + "$ref": "./examples/FileSharesLease_Break.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/shares/{shareName}/restore": { + "post": { + "operationId": "FileShares_Restore", + "tags": [ + "FileShares" + ], + "description": "Restore a file share within a valid retention days if share soft delete is enabled", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "shareName", + "in": "path", + "description": "The name of the file share within the specified storage account. File share 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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63 + }, + { + "name": "deletedShare", + "in": "body", + "description": "", + "required": true, + "schema": { + "$ref": "#/definitions/DeletedShare" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "RestoreShares": { + "$ref": "./examples/FileSharesRestore.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/usages": { + "get": { + "operationId": "FileServices_ListServiceUsages", + "tags": [ + "FileServiceUsageOperationGroup" + ], + "description": "Gets the usages of file service in storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "$maxpagesize", + "in": "query", + "description": "Optional, specifies the maximum number of file service usages to be included in the list response.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FileServiceUsages" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ListFileServiceUsages": { + "$ref": "./examples/FileServicesListUsages.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/default/usages/default": { + "get": { + "operationId": "FileServices_GetServiceUsage", + "tags": [ + "FileServiceUsageOperationGroup" + ], + "description": "Gets the usage of file service in storage account including account limits, file share limits and constants used in recommendations and bursting formula.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FileServiceUsage" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "GetFileServiceUsage": { + "$ref": "./examples/FileServicesGetUsage.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/hnsonmigration": { + "post": { + "operationId": "StorageAccounts_HierarchicalNamespaceMigration", + "tags": [ + "StorageAccounts" + ], + "description": "Live Migration of storage account to enable Hns", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "requestType", + "in": "query", + "description": "Required. Hierarchical namespace migration type can either be a hierarchical namespace validation request 'HnsOnValidationRequest' or a hydration request 'HnsOnHydrationRequest'. The validation request will validate the migration whereas the hydration request will migrate the account.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountHierarchicalNamespaceMigration": { + "$ref": "./examples/StorageAccountHierarchicalNamespaceMigration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies": { + "get": { + "operationId": "BlobInventoryPolicies_List", + "tags": [ + "BlobInventoryPolicies" + ], + "description": "Gets the blob inventory policy associated with the specified storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListBlobInventoryPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountGetBlobInventoryPolicy": { + "$ref": "./examples/StorageAccountListBlobInventoryPolicy.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName}": { + "get": { + "operationId": "BlobInventoryPolicies_Get", + "tags": [ + "BlobInventoryPolicies" + ], + "description": "Gets the blob inventory policy associated with the specified storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "blobInventoryPolicyName", + "in": "path", + "description": "The name of the storage account blob inventory policy. It should always be 'default'", + "required": true, + "type": "string", + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "BlobInventoryPolicyName", + "modelAsString": true, + "values": [ + { + "name": "default", + "value": "default" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BlobInventoryPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "StorageAccountGetBlobInventoryPolicy": { + "$ref": "./examples/StorageAccountGetBlobInventoryPolicy.json" + } + } + }, + "put": { + "operationId": "BlobInventoryPolicies_CreateOrUpdate", + "tags": [ + "BlobInventoryPolicies" + ], + "description": "Sets the blob inventory policy to the specified storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "blobInventoryPolicyName", + "in": "path", + "description": "The name of the storage account blob inventory policy. It should always be 'default'", + "required": true, + "type": "string", + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "BlobInventoryPolicyName", + "modelAsString": true, + "values": [ + { + "name": "default", + "value": "default" + } + ] + } + }, + { + "name": "properties", + "in": "body", + "description": "The blob inventory policy set to a storage account.", + "required": true, + "schema": { + "$ref": "#/definitions/BlobInventoryPolicy" + } + } + ], + "responses": { + "200": { + "description": "Resource 'BlobInventoryPolicy' update operation succeeded", + "schema": { + "$ref": "#/definitions/BlobInventoryPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "StorageAccountSetBlobInventoryPolicy": { + "$ref": "./examples/StorageAccountSetBlobInventoryPolicy.json" + }, + "StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount": { + "$ref": "./examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json" + }, + "StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount": { + "$ref": "./examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json" + } + } + }, + "delete": { + "operationId": "BlobInventoryPolicies_Delete", + "tags": [ + "BlobInventoryPolicies" + ], + "description": "Deletes the blob inventory policy associated with the specified storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "blobInventoryPolicyName", + "in": "path", + "description": "The name of the storage account blob inventory policy. It should always be 'default'", + "required": true, + "type": "string", + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "BlobInventoryPolicyName", + "modelAsString": true, + "values": [ + { + "name": "default", + "value": "default" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "StorageAccountDeleteBlobInventoryPolicy": { + "$ref": "./examples/StorageAccountDeleteBlobInventoryPolicy.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listAccountSas": { + "post": { + "operationId": "StorageAccounts_ListAccountSAS", + "tags": [ + "StorageAccounts" + ], + "description": "List SAS credentials of a storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters to provide to list SAS credentials for the storage account.", + "required": true, + "schema": { + "$ref": "#/definitions/AccountSasParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListAccountSasResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountListAccountSAS": { + "$ref": "./examples/StorageAccountListAccountSAS.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys": { + "post": { + "operationId": "StorageAccounts_ListKeys", + "tags": [ + "StorageAccounts" + ], + "description": "Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "$expand", + "in": "query", + "description": "Specifies type of the key to be listed. Possible value is kerb.", + "required": false, + "type": "string", + "enum": [ + "kerb" + ], + "x-ms-enum": { + "modelAsString": false + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StorageAccountListKeysResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountListKeys": { + "$ref": "./examples/StorageAccountListKeys.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listServiceSas": { + "post": { + "operationId": "StorageAccounts_ListServiceSAS", + "tags": [ + "StorageAccounts" + ], + "description": "List service SAS credentials of a specific resource.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters to provide to list service SAS credentials.", + "required": true, + "schema": { + "$ref": "#/definitions/ServiceSasParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListServiceSasResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountListServiceSAS": { + "$ref": "./examples/StorageAccountListServiceSAS.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers": { + "get": { + "operationId": "LocalUsers_List", + "tags": [ + "LocalUserOperationGroup" + ], + "description": "List the local users associated with the storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "$maxpagesize", + "in": "query", + "description": "Optional, specifies the maximum number of local users that will be included in the list response.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 5000 + }, + { + "name": "$filter", + "in": "query", + "description": "Optional. When specified, only local user names starting with the filter will be listed.", + "required": false, + "type": "string" + }, + { + "name": "$include", + "in": "query", + "description": "Optional, when specified, will list local users enabled for the specific protocol. Lists all users by default.", + "required": false, + "type": "string", + "enum": [ + "nfsv3" + ], + "x-ms-enum": { + "name": "ListLocalUserIncludeParam", + "modelAsString": true, + "values": [ + { + "name": "nfsv3", + "value": "nfsv3" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/LocalUsers" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListLocalUsers": { + "$ref": "./examples/LocalUsersList.json" + }, + "ListNFSv3EnabledLocalUsers": { + "$ref": "./examples/LocalUsersListNFSv3Enabled.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}": { + "get": { + "operationId": "LocalUsers_Get", + "tags": [ + "LocalUserOperationGroup" + ], + "description": "Get the local user of the storage account by username.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "username", + "in": "path", + "description": "The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 64 + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/LocalUser" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetLocalUser": { + "$ref": "./examples/LocalUserGet.json" + } + } + }, + "put": { + "operationId": "LocalUsers_CreateOrUpdate", + "tags": [ + "LocalUserOperationGroup" + ], + "description": "Create or update the properties of a local user associated with the storage account. Properties for NFSv3 enablement and extended groups cannot be set with other properties.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "username", + "in": "path", + "description": "The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 64 + }, + { + "name": "properties", + "in": "body", + "description": "The local user associated with a storage account.", + "required": true, + "schema": { + "$ref": "#/definitions/LocalUser" + } + } + ], + "responses": { + "200": { + "description": "Resource 'LocalUser' update operation succeeded", + "schema": { + "$ref": "#/definitions/LocalUser" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "CreateLocalUser": { + "$ref": "./examples/LocalUserCreate.json" + }, + "CreateNFSv3EnabledLocalUser": { + "$ref": "./examples/LocalUserCreateNFSv3Enabled.json" + }, + "UpdateLocalUser": { + "$ref": "./examples/LocalUserUpdate.json" + } + } + }, + "delete": { + "operationId": "LocalUsers_Delete", + "tags": [ + "LocalUserOperationGroup" + ], + "description": "Deletes the local user associated with the specified storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "username", + "in": "path", + "description": "The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 64 + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteLocalUser": { + "$ref": "./examples/LocalUserDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}/listKeys": { + "post": { + "operationId": "LocalUsers_ListKeys", + "tags": [ + "LocalUserOperationGroup" + ], + "description": "List SSH authorized keys and shared key of the local user.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "username", + "in": "path", + "description": "The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 64 + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/LocalUserKeys" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListLocalUserKeys": { + "$ref": "./examples/LocalUserListKeys.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}/regeneratePassword": { + "post": { + "operationId": "LocalUsers_RegeneratePassword", + "tags": [ + "LocalUserOperationGroup" + ], + "description": "Regenerate the local user SSH password.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "username", + "in": "path", + "description": "The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 64 + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/LocalUserRegeneratePasswordResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "RegenerateLocalUserPassword": { + "$ref": "./examples/LocalUserRegeneratePassword.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}": { + "get": { + "operationId": "ManagementPolicies_Get", + "tags": [ + "ManagementPolicies" + ], + "description": "Gets the managementpolicy associated with the specified storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "managementPolicyName", + "in": "path", + "description": "The name of the Storage Account Management Policy. It should always be 'default'", + "required": true, + "type": "string", + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "ManagementPolicyName", + "modelAsString": true, + "values": [ + { + "name": "default", + "value": "default" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ManagementPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountGetManagementPolicies": { + "$ref": "./examples/StorageAccountGetManagementPolicy.json" + } + } + }, + "put": { + "operationId": "ManagementPolicies_CreateOrUpdate", + "tags": [ + "ManagementPolicies" + ], + "description": "Sets the managementpolicy to the specified storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "managementPolicyName", + "in": "path", + "description": "The name of the Storage Account Management Policy. It should always be 'default'", + "required": true, + "type": "string", + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "ManagementPolicyName", + "modelAsString": true, + "values": [ + { + "name": "default", + "value": "default" + } + ] + } + }, + { + "name": "properties", + "in": "body", + "description": "The ManagementPolicy set to a storage account.", + "required": true, + "schema": { + "$ref": "#/definitions/ManagementPolicy" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ManagementPolicy' update operation succeeded", + "schema": { + "$ref": "#/definitions/ManagementPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountSetManagementPolicies": { + "$ref": "./examples/StorageAccountSetManagementPolicy.json" + }, + "StorageAccountSetManagementPolicyColdTierActions": { + "$ref": "./examples/StorageAccountSetManagementPolicyColdTierActions.json" + }, + "StorageAccountSetManagementPolicyForBlockAndAppendBlobs": { + "$ref": "./examples/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json" + }, + "StorageAccountSetManagementPolicyHotTierActions": { + "$ref": "./examples/StorageAccountSetManagementPolicyHotTierActions.json" + }, + "StorageAccountSetManagementPolicyWithSnapshotAndVersion": { + "$ref": "./examples/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json" + }, + "StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions": { + "$ref": "./examples/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json" + }, + "StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions": { + "$ref": "./examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json" + }, + "StorageAccountSetManagementPolicy_LastTierChangeTimeActions": { + "$ref": "./examples/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json" + } + } + }, + "delete": { + "operationId": "ManagementPolicies_Delete", + "tags": [ + "ManagementPolicies" + ], + "description": "Deletes the managementpolicy associated with the specified storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "managementPolicyName", + "in": "path", + "description": "The name of the Storage Account Management Policy. It should always be 'default'", + "required": true, + "type": "string", + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "ManagementPolicyName", + "modelAsString": true, + "values": [ + { + "name": "default", + "value": "default" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountDeleteManagementPolicies": { + "$ref": "./examples/StorageAccountDeleteManagementPolicy.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/networkSecurityPerimeterConfigurations": { + "get": { + "operationId": "NetworkSecurityPerimeterConfigurations_List", + "tags": [ + "NetworkSecurityPerimeterConfigurations" + ], + "description": "Gets list of effective NetworkSecurityPerimeterConfiguration for storage account", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkSecurityPerimeterConfigurationList": { + "$ref": "./examples/NetworkSecurityPerimeterConfigurationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}": { + "get": { + "operationId": "NetworkSecurityPerimeterConfigurations_Get", + "tags": [ + "NetworkSecurityPerimeterConfigurations" + ], + "description": "Gets effective NetworkSecurityPerimeterConfiguration for association", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "networkSecurityPerimeterConfigurationName", + "in": "path", + "description": "The name for Network Security Perimeter configuration", + "required": true, + "type": "string", + "pattern": "^.*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfiguration" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkSecurityPerimeterConfigurationGet": { + "$ref": "./examples/NetworkSecurityPerimeterConfigurationGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}/reconcile": { + "post": { + "operationId": "NetworkSecurityPerimeterConfigurations_Reconcile", + "tags": [ + "NetworkSecurityPerimeterConfigurations" + ], + "description": "Refreshes any information about the association.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "networkSecurityPerimeterConfigurationName", + "in": "path", + "description": "The name for Network Security Perimeter configuration", + "required": true, + "type": "string", + "pattern": "^.*$" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "NetworkSecurityPerimeterConfigurationReconcile": { + "$ref": "./examples/NetworkSecurityPerimeterConfigurationReconcile.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies": { + "get": { + "operationId": "ObjectReplicationPolicies_List", + "tags": [ + "ObjectReplicationPolicyOperationGroup" + ], + "description": "List the object replication policies associated with the storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ObjectReplicationPolicies" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountListObjectReplicationPolicies": { + "$ref": "./examples/StorageAccountListObjectReplicationPolicies.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies/{objectReplicationPolicyId}": { + "get": { + "operationId": "ObjectReplicationPolicies_Get", + "tags": [ + "ObjectReplicationPolicyOperationGroup" + ], + "description": "Get the object replication policy of the storage account by policy ID.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "objectReplicationPolicyId", + "in": "path", + "description": "For the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file.", + "required": true, + "type": "string", + "minLength": 1 + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ObjectReplicationPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountGetObjectReplicationPolicies": { + "$ref": "./examples/StorageAccountGetObjectReplicationPolicy.json" + } + } + }, + "put": { + "operationId": "ObjectReplicationPolicies_CreateOrUpdate", + "tags": [ + "ObjectReplicationPolicyOperationGroup" + ], + "description": "Create or update the object replication policy of the storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "objectReplicationPolicyId", + "in": "path", + "description": "For the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file.", + "required": true, + "type": "string", + "minLength": 1 + }, + { + "name": "properties", + "in": "body", + "description": "The object replication policy set to a storage account. A unique policy ID will be created if absent.", + "required": true, + "schema": { + "$ref": "#/definitions/ObjectReplicationPolicy" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ObjectReplicationPolicy' update operation succeeded", + "schema": { + "$ref": "#/definitions/ObjectReplicationPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountCreateObjectReplicationPolicyOnDestination": { + "$ref": "./examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json" + }, + "StorageAccountCreateObjectReplicationPolicyOnSource": { + "$ref": "./examples/StorageAccountCreateObjectReplicationPolicyOnSource.json" + }, + "StorageAccountUpdateObjectReplicationPolicyOnDestination": { + "$ref": "./examples/StorageAccountUpdateObjectReplicationPolicyOnDestination.json" + }, + "StorageAccountUpdateObjectReplicationPolicyOnSource": { + "$ref": "./examples/StorageAccountUpdateObjectReplicationPolicyOnSource.json" + } + } + }, + "delete": { + "operationId": "ObjectReplicationPolicies_Delete", + "tags": [ + "ObjectReplicationPolicyOperationGroup" + ], + "description": "Deletes the object replication policy associated with the specified storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "objectReplicationPolicyId", + "in": "path", + "description": "For the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file.", + "required": true, + "type": "string", + "minLength": 1 + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountDeleteObjectReplicationPolicies": { + "$ref": "./examples/StorageAccountDeleteObjectReplicationPolicy.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections": { + "get": { + "operationId": "PrivateEndpointConnections_List", + "tags": [ + "PrivateEndpointConnections" + ], + "description": "List all the private endpoint connections associated with the storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountListPrivateEndpointConnections": { + "$ref": "./examples/StorageAccountListPrivateEndpointConnections.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "operationId": "PrivateEndpointConnections_Get", + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Gets the specified private endpoint connection associated with the storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection associated with the Azure resource", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountGetPrivateEndpointConnection": { + "$ref": "./examples/StorageAccountGetPrivateEndpointConnection.json" + } + } + }, + "put": { + "operationId": "PrivateEndpointConnections_Put", + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Update the state of specified private endpoint connection associated with the storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection associated with the Azure resource", + "required": true, + "type": "string" + }, + { + "name": "properties", + "in": "body", + "description": "The private endpoint connection properties.", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'PrivateEndpointConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountPutPrivateEndpointConnection": { + "$ref": "./examples/StorageAccountPutPrivateEndpointConnection.json" + } + } + }, + "delete": { + "operationId": "PrivateEndpointConnections_Delete", + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Deletes the specified private endpoint connection associated with the storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection associated with the Azure resource", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountDeletePrivateEndpointConnection": { + "$ref": "./examples/StorageAccountDeletePrivateEndpointConnection.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateLinkResources": { + "get": { + "operationId": "PrivateLinkResources_ListByStorageAccount", + "tags": [ + "StorageAccounts" + ], + "description": "Gets the private link resources that need to be created for a storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateLinkResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountListPrivateLinkResources": { + "$ref": "./examples/StorageAccountListPrivateLinkResources.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices": { + "get": { + "operationId": "QueueServices_List", + "tags": [ + "QueueServices" + ], + "description": "List all queue services for the storage account", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListQueueServices" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "QueueServicesList": { + "$ref": "./examples/QueueServicesList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default": { + "get": { + "operationId": "QueueServices_GetServiceProperties", + "tags": [ + "QueueServices" + ], + "description": "Gets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/QueueServiceProperties" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "QueueServicesGet": { + "$ref": "./examples/QueueServicesGet.json" + } + } + }, + "put": { + "operationId": "QueueServices_SetServiceProperties", + "tags": [ + "QueueServices" + ], + "description": "Sets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "parameters", + "in": "body", + "description": "The properties of a storage account’s Queue service, only properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified.", + "required": true, + "schema": { + "$ref": "#/definitions/QueueServiceProperties" + } + } + ], + "responses": { + "200": { + "description": "Resource 'QueueServiceProperties' update operation succeeded", + "schema": { + "$ref": "#/definitions/QueueServiceProperties" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "QueueServicesPut": { + "$ref": "./examples/QueueServicesPut.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues": { + "get": { + "operationId": "Queue_List", + "tags": [ + "QueueServices" + ], + "description": "Gets a list of all the queues under the specified storage account", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "$maxpagesize", + "in": "query", + "description": "Optional, a maximum number of queues that should be included in a list queue response", + "required": false, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "Optional, When specified, only the queues with a name starting with the given filter will be listed.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListQueueResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "QueueOperationList": { + "$ref": "./examples/QueueOperationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}": { + "get": { + "operationId": "Queue_Get", + "tags": [ + "StorageQueues" + ], + "description": "Gets the queue with the specified queue name, under the specified account if it exists.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "queueName", + "in": "path", + "description": "A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StorageQueue" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "QueueOperationGet": { + "$ref": "./examples/QueueOperationGet.json" + } + } + }, + "put": { + "operationId": "Queue_Create", + "tags": [ + "StorageQueues" + ], + "description": "Creates a new queue with the specified queue name, under the specified account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "queueName", + "in": "path", + "description": "A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$" + }, + { + "name": "queue", + "in": "body", + "description": "Queue properties and metadata to be created with", + "required": true, + "schema": { + "$ref": "#/definitions/StorageQueue" + } + } + ], + "responses": { + "200": { + "description": "Resource 'StorageQueue' update operation succeeded", + "schema": { + "$ref": "#/definitions/StorageQueue" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "QueueOperationPut": { + "$ref": "./examples/QueueOperationPut.json" + }, + "QueueOperationPutWithMetadata": { + "$ref": "./examples/QueueOperationPutWithMetadata.json" + } + } + }, + "patch": { + "operationId": "Queue_Update", + "tags": [ + "StorageQueues" + ], + "description": "Creates a new queue with the specified queue name, under the specified account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "queueName", + "in": "path", + "description": "A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$" + }, + { + "name": "queue", + "in": "body", + "description": "Queue properties and metadata to be created with", + "required": true, + "schema": { + "$ref": "#/definitions/StorageQueue" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StorageQueue" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "QueueOperationPatch": { + "$ref": "./examples/QueueOperationPatch.json" + } + } + }, + "delete": { + "operationId": "Queue_Delete", + "tags": [ + "StorageQueues" + ], + "description": "Deletes the queue with the specified queue name, under the specified account if it exists.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "queueName", + "in": "path", + "description": "A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$" + } + ], + "responses": { + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "QueueOperationDelete": { + "$ref": "./examples/QueueOperationDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey": { + "post": { + "operationId": "StorageAccounts_RegenerateKey", + "tags": [ + "StorageAccounts" + ], + "description": "Regenerates one of the access keys or Kerberos keys for the specified storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "regenerateKey", + "in": "body", + "description": "Specifies name of the key which should be regenerated -- key1, key2, kerb1, kerb2.", + "required": true, + "schema": { + "$ref": "#/definitions/StorageAccountRegenerateKeyParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StorageAccountListKeysResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountRegenerateKerbKey": { + "$ref": "./examples/StorageAccountRegenerateKerbKey.json" + }, + "StorageAccountRegenerateKey": { + "$ref": "./examples/StorageAccountRegenerateKey.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/reports": { + "get": { + "operationId": "StorageTaskAssignmentsInstancesReport_List", + "tags": [ + "StorageAccounts" + ], + "description": "Fetch the report summary of all the storage task assignments and instances in an account", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "$maxpagesize", + "in": "query", + "description": "Optional, specifies the maximum number of storage task assignment instances to be included in the list response.", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "in": "query", + "description": "Optional. When specified, it can be used to query using reporting properties. See [Constructing Filter Strings](https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings) for details.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StorageTaskReportSummary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListStorageTaskAssignmentsInstancesReportSummary": { + "$ref": "./examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsInstancesReportSummary.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges": { + "post": { + "operationId": "StorageAccounts_RestoreBlobRanges", + "tags": [ + "StorageAccounts" + ], + "description": "Restore blobs in the specified blob ranges", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters to provide for restore blob ranges.", + "required": true, + "schema": { + "$ref": "#/definitions/BlobRestoreParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BlobRestoreStatus" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/BlobRestoreStatus" + }, + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BlobRangesRestore": { + "$ref": "./examples/BlobRangesRestore.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/BlobRestoreStatus" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/revokeUserDelegationKeys": { + "post": { + "operationId": "StorageAccounts_RevokeUserDelegationKeys", + "tags": [ + "StorageAccounts" + ], + "description": "Revoke user delegation keys.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountRevokeUserDelegationKeys": { + "$ref": "./examples/StorageAccountRevokeUserDelegationKeys.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/startAccountMigration": { + "post": { + "operationId": "StorageAccounts_CustomerInitiatedMigration", + "tags": [ + "StorageAccounts" + ], + "description": "Account Migration request can be triggered for a storage account to change its redundancy level. The migration updates the non-zonal redundant storage account to a zonal redundant account or vice-versa in order to have better reliability and availability. Zone-redundant storage (ZRS) replicates your storage account synchronously across three Azure availability zones in the primary region.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "parameters", + "in": "body", + "description": "The request parameters required to perform storage account migration.", + "required": true, + "schema": { + "$ref": "#/definitions/StorageAccountMigration" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "StorageAccountPostMigration": { + "$ref": "./examples/StorageAccountPostMigration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments": { + "get": { + "operationId": "StorageTaskAssignments_List", + "tags": [ + "StorageTaskAssignments" + ], + "description": "List all the storage task assignments in an account", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "$top", + "in": "query", + "description": "Optional, specifies the maximum number of storage task assignment Ids to be included in the list response.", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StorageTaskAssignmentsList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListStorageTaskAssignmentsForAccount": { + "$ref": "./examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsForAccount.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}": { + "get": { + "operationId": "StorageTaskAssignments_Get", + "tags": [ + "StorageTaskAssignments" + ], + "description": "Get the storage task assignment properties", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "storageTaskAssignmentName", + "in": "path", + "description": "The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z][a-z0-9]{2,23}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StorageTaskAssignment" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetStorageTaskAssignment": { + "$ref": "./examples/storageTaskAssignmentsCrud/GetStorageTaskAssignment.json" + } + } + }, + "put": { + "operationId": "StorageTaskAssignments_Create", + "tags": [ + "StorageTaskAssignments" + ], + "description": "Asynchronously creates a new storage task assignment sub-resource with the specified parameters. If a storage task assignment is already created and a subsequent create request is issued with different properties, the storage task assignment properties will be updated. If a storage task assignment is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "storageTaskAssignmentName", + "in": "path", + "description": "The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z][a-z0-9]{2,23}$" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters to create a Storage Task Assignment.", + "required": true, + "schema": { + "$ref": "#/definitions/StorageTaskAssignment" + } + } + ], + "responses": { + "200": { + "description": "Resource 'StorageTaskAssignment' update operation succeeded", + "schema": { + "$ref": "#/definitions/StorageTaskAssignment" + } + }, + "201": { + "description": "Resource 'StorageTaskAssignment' create operation succeeded", + "schema": { + "$ref": "#/definitions/StorageTaskAssignment" + }, + "headers": { + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PutStorageTaskAssignment": { + "$ref": "./examples/storageTaskAssignmentsCrud/PutStorageTaskAssignment.json" + }, + "PutStorageTaskAssignmentRequiredProperties": { + "$ref": "./examples/storageTaskAssignmentsCrud/PutStorageTaskAssignmentRequiredProperties.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/StorageTaskAssignment" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "StorageTaskAssignments_Update", + "tags": [ + "StorageTaskAssignments" + ], + "description": "Update storage task assignment properties", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "storageTaskAssignmentName", + "in": "path", + "description": "The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z][a-z0-9]{2,23}$" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters to update a Storage Task Assignment.", + "required": true, + "schema": { + "$ref": "#/definitions/StorageTaskAssignmentUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StorageTaskAssignment" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PatchStorageTaskAssignment": { + "$ref": "./examples/storageTaskAssignmentsCrud/PatchStorageTaskAssignment.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/StorageTaskAssignment" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "StorageTaskAssignments_Delete", + "tags": [ + "StorageTaskAssignments" + ], + "description": "Delete the storage task assignment sub-resource", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "storageTaskAssignmentName", + "in": "path", + "description": "The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z][a-z0-9]{2,23}$" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeleteStorageTaskAssignment": { + "$ref": "./examples/storageTaskAssignmentsCrud/DeleteStorageTaskAssignment.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}/reports": { + "get": { + "operationId": "StorageTaskAssignmentInstancesReport_List", + "tags": [ + "StorageTaskAssignments" + ], + "description": "Fetch the report summary of a single storage task assignment's instances", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "storageTaskAssignmentName", + "in": "path", + "description": "The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z][a-z0-9]{2,23}$" + }, + { + "name": "$maxpagesize", + "in": "query", + "description": "Optional, specifies the maximum number of storage task assignment instances to be included in the list response.", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "$filter", + "in": "query", + "description": "Optional. When specified, it can be used to query using reporting properties. See [Constructing Filter Strings](https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings) for details.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StorageTaskReportSummary" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListStorageTaskAssignmentInstancesReportSummary": { + "$ref": "./examples/storageTaskAssignmentsList/ListStorageTaskAssignmentInstancesReportSummary.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices": { + "get": { + "operationId": "TableServices_List", + "tags": [ + "TableServices" + ], + "description": "List all table services for the storage account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListTableServices" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "TableServicesList": { + "$ref": "./examples/TableServicesList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default": { + "get": { + "operationId": "TableServices_GetServiceProperties", + "tags": [ + "TableServices" + ], + "description": "Gets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TableServiceProperties" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "TableServicesGet": { + "$ref": "./examples/TableServicesGet.json" + } + } + }, + "put": { + "operationId": "TableServices_SetServiceProperties", + "tags": [ + "TableServices" + ], + "description": "Sets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "parameters", + "in": "body", + "description": "The properties of a storage account’s Table service, only properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified.", + "required": true, + "schema": { + "$ref": "#/definitions/TableServiceProperties" + } + } + ], + "responses": { + "200": { + "description": "Resource 'TableServiceProperties' update operation succeeded", + "schema": { + "$ref": "#/definitions/TableServiceProperties" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "TableServicesPut": { + "$ref": "./examples/TableServicesPut.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables": { + "get": { + "operationId": "Table_List", + "tags": [ + "Tables" + ], + "description": "Gets a list of all the tables under the specified storage account", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListTableResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "TableOperationList": { + "$ref": "./examples/TableOperationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}": { + "get": { + "operationId": "Table_Get", + "tags": [ + "Tables" + ], + "description": "Gets the table with the specified table name, under the specified account if it exists.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "tableName", + "in": "path", + "description": "A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric character.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[A-Za-z][A-Za-z0-9]{2,62}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Table" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "TableOperationGet": { + "$ref": "./examples/TableOperationGet.json" + } + } + }, + "put": { + "operationId": "Table_Create", + "tags": [ + "Tables" + ], + "description": "Creates a new table with the specified table name, under the specified account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "tableName", + "in": "path", + "description": "A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric character.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[A-Za-z][A-Za-z0-9]{2,62}$" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters to provide to create a table.", + "required": false, + "schema": { + "$ref": "#/definitions/Table" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Table' update operation succeeded", + "schema": { + "$ref": "#/definitions/Table" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "TableOperationPut": { + "$ref": "./examples/TableOperationPut.json" + }, + "TableOperationPutOrPatchAcls": { + "$ref": "./examples/TableOperationPutOrPatchAclsTableCreate.json" + } + } + }, + "patch": { + "operationId": "Table_Update", + "tags": [ + "Tables" + ], + "description": "Creates a new table with the specified table name, under the specified account.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "tableName", + "in": "path", + "description": "A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric character.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[A-Za-z][A-Za-z0-9]{2,62}$" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters to provide to create a table.", + "required": false, + "schema": { + "$ref": "#/definitions/Table" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Table' update operation succeeded", + "schema": { + "$ref": "#/definitions/Table" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "TableOperationPatch": { + "$ref": "./examples/TableOperationPatch.json" + }, + "TableOperationPutOrPatchAcls": { + "$ref": "./examples/TableOperationPutOrPatchAcls.json" + } + } + }, + "delete": { + "operationId": "Table_Delete", + "tags": [ + "Tables" + ], + "description": "Deletes the table with the specified table name, under the specified account if it exists.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "accountName", + "in": "path", + "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.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 24, + "pattern": "^[a-z0-9]+$" + }, + { + "name": "tableName", + "in": "path", + "description": "A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric character.", + "required": true, + "type": "string", + "minLength": 3, + "maxLength": 63, + "pattern": "^[A-Za-z][A-Za-z0-9]{2,62}$" + } + ], + "responses": { + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "TableOperationDelete": { + "$ref": "./examples/TableOperationDelete.json" + } + } + } + } + }, + "definitions": { + "AccessPolicy": { + "type": "object", + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "description": "Start time of the access policy" + }, + "expiryTime": { + "type": "string", + "format": "date-time", + "description": "Expiry time of the access policy" + }, + "permission": { + "type": "string", + "description": "List of abbreviated permissions." + } + } + }, + "AccessTier": { + "type": "string", + "description": "Required for storage accounts where kind = BlobStorage. The access tier is used for billing. The 'Premium' access tier is the default value for premium block blobs storage account type and it cannot be changed for the premium block blobs storage account type.", + "enum": [ + "Hot", + "Cool", + "Premium", + "Cold" + ], + "x-ms-enum": { + "name": "AccessTier", + "modelAsString": false + } + }, + "AccountImmutabilityPolicyProperties": { + "type": "object", + "description": "This defines account-level immutability policy properties.", + "properties": { + "immutabilityPeriodSinceCreationInDays": { + "type": "integer", + "format": "int32", + "description": "The immutability period for the blobs in the container since the policy creation, in days.", + "minimum": 1, + "maximum": 146000 + }, + "state": { + "$ref": "#/definitions/AccountImmutabilityPolicyState", + "description": "The ImmutabilityPolicy state defines the mode of the policy. Disabled state disables the policy, Unlocked state allows increase and decrease of immutability retention time and also allows toggling allowProtectedAppendWrites property, Locked state only allows the increase of the immutability retention time. A policy can only be created in a Disabled or Unlocked state and can be toggled between the two states. Only a policy in an Unlocked state can transition to a Locked state which cannot be reverted." + }, + "allowProtectedAppendWrites": { + "type": "boolean", + "description": "This property can only be changed for disabled and unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted." + } + } + }, + "AccountImmutabilityPolicyState": { + "type": "string", + "description": "The ImmutabilityPolicy state defines the mode of the policy. Disabled state disables the policy, Unlocked state allows increase and decrease of immutability retention time and also allows toggling allowProtectedAppendWrites property, Locked state only allows the increase of the immutability retention time. A policy can only be created in a Disabled or Unlocked state and can be toggled between the two states. Only a policy in an Unlocked state can transition to a Locked state which cannot be reverted.", + "enum": [ + "Unlocked", + "Locked", + "Disabled" + ], + "x-ms-enum": { + "name": "AccountImmutabilityPolicyState", + "modelAsString": true, + "values": [ + { + "name": "Unlocked", + "value": "Unlocked" + }, + { + "name": "Locked", + "value": "Locked" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "AccountLimits": { + "type": "object", + "description": "Maximum provisioned storage, IOPS, bandwidth and number of file shares limits for the storage account.", + "properties": { + "maxFileShares": { + "type": "integer", + "format": "int32", + "description": "The maximum number of file shares limit for the storage account.", + "readOnly": true + }, + "maxProvisionedStorageGiB": { + "type": "integer", + "format": "int32", + "description": "The maximum provisioned storage quota limit in gibibytes for the storage account.", + "readOnly": true + }, + "maxProvisionedIOPS": { + "type": "integer", + "format": "int32", + "description": "The maximum provisioned IOPS limit for the storage account.", + "readOnly": true + }, + "maxProvisionedBandwidthMiBPerSec": { + "type": "integer", + "format": "int32", + "description": "The maximum provisioned bandwidth limit in mebibytes per second for the storage account.", + "readOnly": true + } + } + }, + "AccountSasParameters": { + "type": "object", + "description": "The parameters to list SAS credentials of a storage account.", + "properties": { + "signedServices": { + "$ref": "#/definitions/Services", + "description": "The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f).", + "x-ms-client-name": "Services" + }, + "signedResourceTypes": { + "$ref": "#/definitions/SignedResourceTypes", + "description": "The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files.", + "x-ms-client-name": "ResourceTypes" + }, + "signedPermission": { + "$ref": "#/definitions/Permissions", + "description": "The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p).", + "x-ms-client-name": "Permissions" + }, + "signedIp": { + "type": "string", + "description": "An IP address or a range of IP addresses from which to accept requests.", + "x-ms-client-name": "IPAddressOrRange" + }, + "signedProtocol": { + "$ref": "#/definitions/HttpProtocol", + "description": "The protocol permitted for a request made with the account SAS.", + "x-ms-client-name": "Protocols" + }, + "signedStart": { + "type": "string", + "format": "date-time", + "description": "The time at which the SAS becomes valid.", + "x-ms-client-name": "SharedAccessStartTime" + }, + "signedExpiry": { + "type": "string", + "format": "date-time", + "description": "The time at which the shared access signature becomes invalid.", + "x-ms-client-name": "SharedAccessExpiryTime" + }, + "keyToSign": { + "type": "string", + "description": "The key to sign the account SAS token with." + } + }, + "required": [ + "signedServices", + "signedResourceTypes", + "signedPermission", + "signedExpiry" + ] + }, + "AccountStatus": { + "type": "string", + "description": "Gets the status indicating whether the primary location of the storage account is available or unavailable.", + "enum": [ + "available", + "unavailable" + ], + "x-ms-enum": { + "name": "AccountStatus", + "modelAsString": false + } + }, + "AccountType": { + "type": "string", + "description": "Specifies the Active Directory account type for Azure Storage. If directoryServiceOptions is set to AD (AD DS authentication), this property is optional. If provided, samAccountName should also be provided. For directoryServiceOptions AADDS (Entra DS authentication) or AADKERB (Entra authentication), this property can be omitted.", + "enum": [ + "User", + "Computer" + ], + "x-ms-enum": { + "name": "AccountType", + "modelAsString": true, + "values": [ + { + "name": "User", + "value": "User" + }, + { + "name": "Computer", + "value": "Computer" + } + ] + } + }, + "AccountUsage": { + "type": "object", + "description": "Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares and soft-deleted shares in the account.", + "properties": { + "liveShares": { + "$ref": "#/definitions/AccountUsageElements", + "description": "Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares or soft-deleted shares in the account." + }, + "softDeletedShares": { + "$ref": "#/definitions/AccountUsageElements", + "description": "Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares or soft-deleted shares in the account." + } + } + }, + "AccountUsageElements": { + "type": "object", + "description": "Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares or soft-deleted shares in the account.", + "properties": { + "fileShareCount": { + "type": "integer", + "format": "int32", + "description": "The total number of file shares.", + "readOnly": true + }, + "provisionedStorageGiB": { + "type": "integer", + "format": "int32", + "description": "The total provisioned storage quota in gibibytes.", + "readOnly": true + }, + "provisionedIOPS": { + "type": "integer", + "format": "int32", + "description": "The total provisioned IOPS.", + "readOnly": true + }, + "provisionedBandwidthMiBPerSec": { + "type": "integer", + "format": "int32", + "description": "The total provisioned bandwidth in mebibytes per second.", + "readOnly": true + } + } + }, + "ActiveDirectoryProperties": { + "type": "object", + "description": "Settings properties for Active Directory (AD).", + "properties": { + "domainName": { + "type": "string", + "description": "Specifies the primary domain that the AD DNS server is authoritative for. This property is required if directoryServiceOptions is set to AD (AD DS authentication). If directoryServiceOptions is set to AADDS (Entra DS authentication), providing this property is optional, as it will be inferred automatically if omitted. If directoryServiceOptions is set to AADKERB (Entra authentication), this property is optional; it is needed to support configuration of directory- and file-level permissions via Windows File Explorer, but is not required for authentication." + }, + "netBiosDomainName": { + "type": "string", + "description": "Specifies the NetBIOS domain name. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. Otherwise, it can be omitted." + }, + "forestName": { + "type": "string", + "description": "Specifies the Active Directory forest to get. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. Otherwise, it can be omitted." + }, + "domainGuid": { + "type": "string", + "description": "Specifies the domain GUID. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. If directoryServiceOptions is set to AADDS (Entra DS authentication), this property can be omitted. If directoryServiceOptions is set to AADKERB (Entra authentication), this property is optional; it is needed to support configuration of directory- and file-level permissions via Windows File Explorer, but is not required for authentication." + }, + "domainSid": { + "type": "string", + "description": "Specifies the security identifier (SID) of the AD domain. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. Otherwise, it can be omitted." + }, + "azureStorageSid": { + "type": "string", + "description": "Specifies the security identifier (SID) for Azure Storage. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. Otherwise, it can be omitted." + }, + "samAccountName": { + "type": "string", + "description": "Specifies the Active Directory SAMAccountName for Azure Storage. If directoryServiceOptions is set to AD (AD DS authentication), this property is optional. If provided, accountType should also be provided. For directoryServiceOptions AADDS (Entra DS authentication) or AADKERB (Entra authentication), this property can be omitted." + }, + "accountType": { + "$ref": "#/definitions/AccountType", + "description": "Specifies the Active Directory account type for Azure Storage. If directoryServiceOptions is set to AD (AD DS authentication), this property is optional. If provided, samAccountName should also be provided. For directoryServiceOptions AADDS (Entra DS authentication) or AADKERB (Entra authentication), this property can be omitted." + } + } + }, + "AllowedCopyScope": { + "type": "string", + "description": "Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet.", + "enum": [ + "PrivateLink", + "AAD" + ], + "x-ms-enum": { + "name": "AllowedCopyScope", + "modelAsString": true, + "values": [ + { + "name": "PrivateLink", + "value": "PrivateLink" + }, + { + "name": "AAD", + "value": "AAD" + } + ] + } + }, + "AllowedMethods": { + "type": "string", + "enum": [ + "DELETE", + "GET", + "HEAD", + "MERGE", + "POST", + "OPTIONS", + "PUT", + "PATCH", + "CONNECT", + "TRACE" + ], + "x-ms-enum": { + "name": "AllowedMethods", + "modelAsString": true, + "values": [ + { + "name": "DELETE", + "value": "DELETE" + }, + { + "name": "GET", + "value": "GET" + }, + { + "name": "HEAD", + "value": "HEAD" + }, + { + "name": "MERGE", + "value": "MERGE" + }, + { + "name": "POST", + "value": "POST" + }, + { + "name": "OPTIONS", + "value": "OPTIONS" + }, + { + "name": "PUT", + "value": "PUT" + }, + { + "name": "PATCH", + "value": "PATCH" + }, + { + "name": "CONNECT", + "value": "CONNECT" + }, + { + "name": "TRACE", + "value": "TRACE" + } + ] + } + }, + "AzureEntityResource": { + "type": "object", + "title": "Entity Resource", + "description": "The resource model definition for an Azure Resource Manager resource with an etag.", + "properties": { + "etag": { + "type": "string", + "description": "Resource Etag.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" + } + ] + }, + "AzureFilesIdentityBasedAuthentication": { + "type": "object", + "description": "Settings for Azure Files identity based authentication.", + "properties": { + "directoryServiceOptions": { + "$ref": "#/definitions/DirectoryServiceOptions", + "description": "Indicates the directory service used. Note that this enum may be extended in the future." + }, + "activeDirectoryProperties": { + "$ref": "#/definitions/ActiveDirectoryProperties", + "description": "Additional information about the directory service. Required if directoryServiceOptions is AD (AD DS authentication). Optional for directoryServiceOptions AADDS (Entra DS authentication) and AADKERB (Entra authentication)." + }, + "defaultSharePermission": { + "$ref": "#/definitions/DefaultSharePermission", + "description": "Default share permission for users using Kerberos authentication if RBAC role is not assigned." + }, + "smbOAuthSettings": { + "$ref": "#/definitions/SmbOAuthSettings", + "description": "Required for Managed Identities access using OAuth over SMB." + } + }, + "required": [ + "directoryServiceOptions" + ] + }, + "BlobContainer": { + "type": "object", + "description": "Properties of the blob container, including Id, resource name, resource type, Etag.", + "properties": { + "properties": { + "$ref": "#/definitions/ContainerProperties", + "description": "Properties of the blob container.", + "x-ms-client-flatten": true, + "x-ms-client-name": "ContainerProperties" + }, + "etag": { + "type": "string", + "description": "Resource Etag.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "BlobInventoryCreationTime": { + "type": "object", + "description": "This property defines the creation time based filtering condition. Blob Inventory schema parameter 'Creation-Time' is mandatory with this filter.", + "properties": { + "lastNDays": { + "type": "integer", + "format": "int32", + "description": "When set the policy filters the objects that are created in the last N days. Where N is an integer value between 1 to 36500.", + "minimum": 1, + "maximum": 36500 + } + } + }, + "BlobInventoryPolicy": { + "type": "object", + "description": "The storage account blob inventory policy.", + "properties": { + "properties": { + "$ref": "#/definitions/BlobInventoryPolicyProperties", + "description": "Returns the storage account blob inventory policy rules.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "BlobInventoryPolicyDefinition": { + "type": "object", + "description": "An object that defines the blob inventory rule.", + "properties": { + "filters": { + "$ref": "#/definitions/BlobInventoryPolicyFilter", + "description": "An object that defines the filter set." + }, + "format": { + "$ref": "#/definitions/Format", + "description": "This is a required field, it specifies the format for the inventory files." + }, + "schedule": { + "$ref": "#/definitions/Schedule", + "description": "This is a required field. This field is used to schedule an inventory formation." + }, + "objectType": { + "$ref": "#/definitions/ObjectType", + "description": "This is a required field. This field specifies the scope of the inventory created either at the blob or container level." + }, + "schemaFields": { + "type": "array", + "description": "This is a required field. This field specifies the fields and properties of the object to be included in the inventory. The Schema field value 'Name' is always required. The valid values for this field for the 'Blob' definition.objectType include 'Name, Creation-Time, Last-Modified, Content-Length, Content-MD5, BlobType, AccessTier, AccessTierChangeTime, AccessTierInferred, Tags, Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, Snapshot, VersionId, IsCurrentVersion, Metadata, LastAccessTime, Tags, Etag, ContentType, ContentEncoding, ContentLanguage, ContentCRC64, CacheControl, ContentDisposition, LeaseStatus, LeaseState, LeaseDuration, ServerEncrypted, Deleted, DeletionId, DeletedTime, RemainingRetentionDays, ImmutabilityPolicyUntilDate, ImmutabilityPolicyMode, LegalHold, CopyId, CopyStatus, CopySource, CopyProgress, CopyCompletionTime, CopyStatusDescription, CustomerProvidedKeySha256, RehydratePriority, ArchiveStatus, XmsBlobSequenceNumber, EncryptionScope, IncrementalCopy, TagCount'. For Blob object type schema field value 'DeletedTime' is applicable only for Hns enabled accounts. The valid values for 'Container' definition.objectType include 'Name, Last-Modified, Metadata, LeaseStatus, LeaseState, LeaseDuration, PublicAccess, HasImmutabilityPolicy, HasLegalHold, Etag, DefaultEncryptionScope, DenyEncryptionScopeOverride, ImmutableStorageWithVersioningEnabled, Deleted, Version, DeletedTime, RemainingRetentionDays'. Schema field values 'Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, DeletionId' are valid only for Hns enabled accounts.Schema field values 'Tags, TagCount' are only valid for Non-Hns accounts.", + "items": { + "type": "string" + } + } + }, + "required": [ + "format", + "schedule", + "objectType", + "schemaFields" + ] + }, + "BlobInventoryPolicyFilter": { + "type": "object", + "description": "An object that defines the blob inventory rule filter conditions. For 'Blob' definition.objectType all filter properties are applicable, 'blobTypes' is required and others are optional. For 'Container' definition.objectType only prefixMatch is applicable and is optional.", + "properties": { + "prefixMatch": { + "type": "array", + "description": "An array of strings with maximum 10 blob prefixes to be included in the inventory.", + "items": { + "type": "string" + } + }, + "excludePrefix": { + "type": "array", + "description": "An array of strings with maximum 10 blob prefixes to be excluded from the inventory.", + "items": { + "type": "string" + } + }, + "blobTypes": { + "type": "array", + "description": "An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs. This field is required when definition.objectType property is set to 'Blob'.", + "items": { + "type": "string" + } + }, + "includeBlobVersions": { + "type": "boolean", + "description": "Includes blob versions in blob inventory when value is set to true. The definition.schemaFields values 'VersionId and IsCurrentVersion' are required if this property is set to true, else they must be excluded." + }, + "includeSnapshots": { + "type": "boolean", + "description": "Includes blob snapshots in blob inventory when value is set to true. The definition.schemaFields value 'Snapshot' is required if this property is set to true, else it must be excluded." + }, + "includeDeleted": { + "type": "boolean", + "description": "For 'Container' definition.objectType the definition.schemaFields must include 'Deleted, Version, DeletedTime and RemainingRetentionDays'. For 'Blob' definition.objectType and HNS enabled storage accounts the definition.schemaFields must include 'DeletionId, Deleted, DeletedTime and RemainingRetentionDays' and for Hns disabled accounts the definition.schemaFields must include 'Deleted and RemainingRetentionDays', else it must be excluded." + }, + "creationTime": { + "$ref": "#/definitions/BlobInventoryCreationTime", + "description": "This property is used to filter objects based on the object creation time" + } + } + }, + "BlobInventoryPolicyProperties": { + "type": "object", + "description": "The storage account blob inventory policy properties.", + "properties": { + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Returns the last modified date and time of the blob inventory policy.", + "readOnly": true + }, + "policy": { + "$ref": "#/definitions/BlobInventoryPolicySchema", + "description": "The storage account blob inventory policy object. It is composed of policy rules." + } + }, + "required": [ + "policy" + ] + }, + "BlobInventoryPolicyRule": { + "type": "object", + "description": "An object that wraps the blob inventory rule. Each rule is uniquely defined by name.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Rule is enabled when set to true." + }, + "name": { + "type": "string", + "description": "A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy." + }, + "destination": { + "type": "string", + "description": "Container name where blob inventory files are stored. Must be pre-created." + }, + "definition": { + "$ref": "#/definitions/BlobInventoryPolicyDefinition", + "description": "An object that defines the blob inventory policy rule." + } + }, + "required": [ + "enabled", + "name", + "destination", + "definition" + ] + }, + "BlobInventoryPolicySchema": { + "type": "object", + "description": "The storage account blob inventory policy rules.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Policy is enabled if set to true." + }, + "destination": { + "type": "string", + "description": "Deprecated Property from API version 2021-04-01 onwards, the required destination container name must be specified at the rule level 'policy.rule.destination'", + "readOnly": true + }, + "type": { + "$ref": "#/definitions/InventoryRuleType", + "description": "The valid value is Inventory" + }, + "rules": { + "type": "array", + "description": "The storage account blob inventory policy rules. The rule is applied when it is enabled.", + "items": { + "$ref": "#/definitions/BlobInventoryPolicyRule" + } + } + }, + "required": [ + "enabled", + "type", + "rules" + ] + }, + "BlobRestoreParameters": { + "type": "object", + "description": "Blob restore parameters", + "properties": { + "timeToRestore": { + "type": "string", + "format": "date-time", + "description": "Restore blob to the specified time." + }, + "blobRanges": { + "type": "array", + "description": "Blob ranges to restore.", + "items": { + "$ref": "#/definitions/BlobRestoreRange" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "timeToRestore", + "blobRanges" + ] + }, + "BlobRestoreProgressStatus": { + "type": "string", + "description": "The status of blob restore progress. Possible values are: - InProgress: Indicates that blob restore is ongoing. - Complete: Indicates that blob restore has been completed successfully. - Failed: Indicates that blob restore is failed.", + "enum": [ + "InProgress", + "Complete", + "Failed" + ], + "x-ms-enum": { + "name": "BlobRestoreProgressStatus", + "modelAsString": true, + "values": [ + { + "name": "InProgress", + "value": "InProgress" + }, + { + "name": "Complete", + "value": "Complete" + }, + { + "name": "Failed", + "value": "Failed" + } + ] + } + }, + "BlobRestoreRange": { + "type": "object", + "description": "Blob range", + "properties": { + "startRange": { + "type": "string", + "description": "Blob start range. This is inclusive. Empty means account start." + }, + "endRange": { + "type": "string", + "description": "Blob end range. This is exclusive. Empty means account end." + } + }, + "required": [ + "startRange", + "endRange" + ] + }, + "BlobRestoreStatus": { + "type": "object", + "description": "Blob restore status.", + "properties": { + "status": { + "$ref": "#/definitions/BlobRestoreProgressStatus", + "description": "The status of blob restore progress. Possible values are: - InProgress: Indicates that blob restore is ongoing. - Complete: Indicates that blob restore has been completed successfully. - Failed: Indicates that blob restore is failed.", + "readOnly": true + }, + "failureReason": { + "type": "string", + "description": "Failure reason when blob restore is failed.", + "readOnly": true + }, + "restoreId": { + "type": "string", + "description": "Id for tracking blob restore request.", + "readOnly": true + }, + "parameters": { + "$ref": "#/definitions/BlobRestoreParameters", + "description": "Blob restore request parameters.", + "readOnly": true + } + } + }, + "BlobServiceItems": { + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "List of blob services returned.", + "items": { + "$ref": "#/definitions/BlobServiceProperties" + }, + "readOnly": true + }, + "nextLink": { + "type": "string" + } + } + }, + "BlobServiceProperties": { + "type": "object", + "description": "The properties of a storage account’s Blob service.", + "properties": { + "properties": { + "$ref": "#/definitions/BlobServicePropertiesProperties", + "description": "The properties of a storage account’s Blob service.", + "x-ms-client-flatten": true, + "x-ms-client-name": "BlobServiceProperties" + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "Sku name and tier.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "BlobServicePropertiesProperties": { + "type": "object", + "description": "The properties of a storage account’s Blob service.", + "properties": { + "cors": { + "$ref": "#/definitions/CorsRules", + "description": "Specifies CORS rules for the Blob service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Blob service." + }, + "defaultServiceVersion": { + "type": "string", + "description": "DefaultServiceVersion indicates the default version to use for requests to the Blob service if an incoming request’s version is not specified. Possible values include version 2008-10-27 and all more recent versions." + }, + "deleteRetentionPolicy": { + "$ref": "#/definitions/DeleteRetentionPolicy", + "description": "The blob service properties for blob soft delete." + }, + "isVersioningEnabled": { + "type": "boolean", + "description": "Versioning is enabled if set to true." + }, + "automaticSnapshotPolicyEnabled": { + "type": "boolean", + "description": "Deprecated in favor of isVersioningEnabled property." + }, + "changeFeed": { + "$ref": "#/definitions/ChangeFeed", + "description": "The blob service properties for change feed events." + }, + "restorePolicy": { + "$ref": "#/definitions/RestorePolicyProperties", + "description": "The blob service properties for blob restore policy." + }, + "containerDeleteRetentionPolicy": { + "$ref": "#/definitions/DeleteRetentionPolicy", + "description": "The blob service properties for container soft delete." + }, + "lastAccessTimeTrackingPolicy": { + "$ref": "#/definitions/LastAccessTimeTrackingPolicy", + "description": "The blob service property to configure last access time based tracking policy." + } + } + }, + "BurstingConstants": { + "type": "object", + "description": "Constants used for calculating included burst IOPS and maximum burst credits for IOPS for a file share in the storage account.", + "properties": { + "burstFloorIOPS": { + "type": "integer", + "format": "int32", + "description": "The guaranteed floor of burst IOPS for small file shares.", + "readOnly": true + }, + "burstIOScalar": { + "type": "number", + "format": "double", + "description": "The scalar against provisioned IOPS in the file share included burst IOPS formula.", + "readOnly": true + }, + "burstTimeframeSeconds": { + "type": "integer", + "format": "int32", + "description": "The time frame for bursting in seconds in the file share maximum burst credits for IOPS formula.", + "readOnly": true + } + } + }, + "ChangeFeed": { + "type": "object", + "description": "The blob service properties for change feed events.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Indicates whether change feed event logging is enabled for the Blob service." + }, + "retentionInDays": { + "type": "integer", + "format": "int32", + "description": "Indicates the duration of changeFeed retention in days. Minimum value is 1 day and maximum value is 146000 days (400 years). A null value indicates an infinite retention of the change feed.", + "minimum": 1, + "maximum": 146000 + } + } + }, + "CheckNameAvailabilityResult": { + "type": "object", + "description": "The CheckNameAvailability operation response.", + "properties": { + "nameAvailable": { + "type": "boolean", + "description": "Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or is invalid and cannot be used.", + "readOnly": true + }, + "reason": { + "$ref": "#/definitions/Reason", + "description": "Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false.", + "readOnly": true + }, + "message": { + "type": "string", + "description": "Gets an error message explaining the Reason value in more detail.", + "readOnly": true + } + } + }, + "CloudError": { + "type": "object", + "description": "An error response from the Storage service.", + "properties": { + "error": { + "$ref": "#/definitions/CloudErrorBody", + "description": "An error response from the Storage service." + } + }, + "x-ms-external": true + }, + "CloudErrorBody": { + "type": "object", + "description": "An error response from the Storage service.", + "properties": { + "code": { + "type": "string", + "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." + }, + "message": { + "type": "string", + "description": "A message describing the error, intended to be suitable for display in a user interface." + }, + "target": { + "type": "string", + "description": "The target of the particular error. For example, the name of the property in error." + }, + "details": { + "type": "array", + "description": "A list of additional details about the error.", + "items": { + "$ref": "#/definitions/CloudErrorBody" + }, + "x-ms-identifiers": [] + } + }, + "x-ms-external": true + }, + "ContainerProperties": { + "type": "object", + "description": "The properties of a container.", + "properties": { + "version": { + "type": "string", + "description": "The version of the deleted blob container.", + "readOnly": true + }, + "deleted": { + "type": "boolean", + "description": "Indicates whether the blob container was deleted.", + "readOnly": true + }, + "deletedTime": { + "type": "string", + "format": "date-time", + "description": "Blob container deletion time.", + "readOnly": true + }, + "remainingRetentionDays": { + "type": "integer", + "format": "int32", + "description": "Remaining retention days for soft deleted blob container.", + "readOnly": true + }, + "defaultEncryptionScope": { + "type": "string", + "description": "Default the container to use specified encryption scope for all writes." + }, + "denyEncryptionScopeOverride": { + "type": "boolean", + "description": "Block override of encryption scope from the container default." + }, + "publicAccess": { + "$ref": "#/definitions/PublicAccess", + "description": "Specifies whether data in the container may be accessed publicly and the level of access." + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Returns the date and time the container was last modified.", + "readOnly": true + }, + "leaseStatus": { + "$ref": "#/definitions/LeaseStatus", + "description": "The lease status of the container.", + "readOnly": true + }, + "leaseState": { + "$ref": "#/definitions/LeaseState", + "description": "Lease state of the container.", + "readOnly": true + }, + "leaseDuration": { + "$ref": "#/definitions/LeaseDuration", + "description": "Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased.", + "readOnly": true + }, + "metadata": { + "type": "object", + "description": "A name-value pair to associate with the container as metadata.", + "additionalProperties": { + "type": "string" + } + }, + "immutabilityPolicy": { + "$ref": "#/definitions/ImmutabilityPolicyProperties", + "description": "The ImmutabilityPolicy property of the container.", + "readOnly": true, + "x-ms-client-name": "ImmutabilityPolicy" + }, + "legalHold": { + "$ref": "#/definitions/LegalHoldProperties", + "description": "The LegalHold property of the container.", + "readOnly": true + }, + "hasLegalHold": { + "type": "boolean", + "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account.", + "readOnly": true + }, + "hasImmutabilityPolicy": { + "type": "boolean", + "description": "The hasImmutabilityPolicy public property is set to true by SRP if ImmutabilityPolicy has been created for this container. The hasImmutabilityPolicy public property is set to false by SRP if ImmutabilityPolicy has not been created for this container.", + "readOnly": true + }, + "immutableStorageWithVersioning": { + "$ref": "#/definitions/ImmutableStorageWithVersioning", + "description": "The object level immutability property of the container. The property is immutable and can only be set to true at the container creation time. Existing containers must undergo a migration process." + }, + "enableNfsV3RootSquash": { + "type": "boolean", + "description": "Enable NFSv3 root squash on blob container." + }, + "enableNfsV3AllSquash": { + "type": "boolean", + "description": "Enable NFSv3 all squash on blob container." + } + } + }, + "CorsRule": { + "type": "object", + "description": "Specifies a CORS rule for the Blob service.", + "properties": { + "allowedOrigins": { + "type": "array", + "description": "Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or \"*\" to allow all domains", + "items": { + "type": "string" + } + }, + "allowedMethods": { + "type": "array", + "description": "Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin.", + "items": { + "$ref": "#/definitions/AllowedMethods" + } + }, + "maxAgeInSeconds": { + "type": "integer", + "format": "int32", + "description": "Required if CorsRule element is present. The number of seconds that the client/browser should cache a preflight response." + }, + "exposedHeaders": { + "type": "array", + "description": "Required if CorsRule element is present. A list of response headers to expose to CORS clients.", + "items": { + "type": "string" + } + }, + "allowedHeaders": { + "type": "array", + "description": "Required if CorsRule element is present. A list of headers allowed to be part of the cross-origin request.", + "items": { + "type": "string" + } + } + }, + "required": [ + "allowedOrigins", + "allowedMethods", + "maxAgeInSeconds", + "exposedHeaders", + "allowedHeaders" + ] + }, + "CorsRules": { + "type": "object", + "description": "Sets the CORS rules. You can include up to five CorsRule elements in the request.", + "properties": { + "corsRules": { + "type": "array", + "description": "The List of CORS rules. You can include up to five CorsRule elements in the request.", + "items": { + "$ref": "#/definitions/CorsRule" + }, + "x-ms-identifiers": [] + } + } + }, + "CustomDomain": { + "type": "object", + "description": "The custom domain assigned to this storage account. This can be set via Update.", + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the custom domain name assigned to the storage account. Name is the CNAME source." + }, + "useSubDomainName": { + "type": "boolean", + "description": "Indicates whether indirect CName validation is enabled. Default value is false. This should only be set on updates." + } + }, + "required": [ + "name" + ] + }, + "DateAfterCreation": { + "type": "object", + "description": "Object to define snapshot and version action conditions.", + "properties": { + "daysAfterCreationGreaterThan": { + "type": "number", + "format": "float", + "description": "Value indicating the age in days after creation", + "minimum": 0 + }, + "daysAfterLastTierChangeGreaterThan": { + "type": "number", + "format": "float", + "description": "Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterCreationGreaterThan to be set for snapshots and blob version based actions. The blob will be archived if both the conditions are satisfied.", + "minimum": 0 + } + }, + "required": [ + "daysAfterCreationGreaterThan" + ] + }, + "DateAfterModification": { + "type": "object", + "description": "Object to define the base blob action conditions. Properties daysAfterModificationGreaterThan, daysAfterLastAccessTimeGreaterThan and daysAfterCreationGreaterThan are mutually exclusive. The daysAfterLastTierChangeGreaterThan property is only applicable for tierToArchive actions which requires daysAfterModificationGreaterThan to be set, also it cannot be used in conjunction with daysAfterLastAccessTimeGreaterThan or daysAfterCreationGreaterThan.", + "properties": { + "daysAfterModificationGreaterThan": { + "type": "number", + "format": "float", + "description": "Value indicating the age in days after last modification", + "minimum": 0 + }, + "daysAfterLastAccessTimeGreaterThan": { + "type": "number", + "format": "float", + "description": "Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy", + "minimum": 0 + }, + "daysAfterLastTierChangeGreaterThan": { + "type": "number", + "format": "float", + "description": "Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterModificationGreaterThan to be set for baseBlobs based actions. The blob will be archived if both the conditions are satisfied.", + "minimum": 0 + }, + "daysAfterCreationGreaterThan": { + "type": "number", + "format": "float", + "description": "Value indicating the age in days after blob creation.", + "minimum": 0 + } + } + }, + "DefaultSharePermission": { + "type": "string", + "description": "Default share permission for users using Kerberos authentication if RBAC role is not assigned.", + "enum": [ + "None", + "StorageFileDataSmbShareReader", + "StorageFileDataSmbShareContributor", + "StorageFileDataSmbShareElevatedContributor" + ], + "x-ms-enum": { + "name": "DefaultSharePermission", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "StorageFileDataSmbShareReader", + "value": "StorageFileDataSmbShareReader" + }, + { + "name": "StorageFileDataSmbShareContributor", + "value": "StorageFileDataSmbShareContributor" + }, + { + "name": "StorageFileDataSmbShareElevatedContributor", + "value": "StorageFileDataSmbShareElevatedContributor" + } + ] + } + }, + "DeleteRetentionPolicy": { + "type": "object", + "description": "The service properties for soft delete.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Indicates whether DeleteRetentionPolicy is enabled." + }, + "days": { + "type": "integer", + "format": "int32", + "description": "Indicates the number of days that the deleted item should be retained. The minimum specified value can be 1 and the maximum value can be 365.", + "minimum": 1, + "maximum": 365 + }, + "allowPermanentDelete": { + "type": "boolean", + "description": "This property when set to true allows deletion of the soft deleted blob versions and snapshots. This property cannot be used blob restore policy. This property only applies to blob service and does not apply to containers or file share." + } + } + }, + "DeletedAccount": { + "type": "object", + "description": "Deleted storage account", + "properties": { + "properties": { + "$ref": "#/definitions/DeletedAccountProperties", + "description": "Properties of the deleted account.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "DeletedAccountListResult": { + "type": "object", + "description": "The response of a DeletedAccount list operation.", + "properties": { + "value": { + "type": "array", + "description": "The DeletedAccount items on this page", + "items": { + "$ref": "#/definitions/DeletedAccount" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DeletedAccountProperties": { + "type": "object", + "description": "Attributes of a deleted storage account.", + "properties": { + "storageAccountResourceId": { + "type": "string", + "description": "Full resource id of the original storage account.", + "readOnly": true + }, + "location": { + "type": "string", + "description": "Location of the deleted account.", + "readOnly": true + }, + "restoreReference": { + "type": "string", + "description": "Can be used to attempt recovering this deleted account via PutStorageAccount API.", + "readOnly": true + }, + "creationTime": { + "type": "string", + "description": "Creation time of the deleted account.", + "readOnly": true + }, + "deletionTime": { + "type": "string", + "description": "Deletion time of the deleted account.", + "readOnly": true + } + } + }, + "DeletedShare": { + "type": "object", + "description": "The deleted share to be restored.", + "properties": { + "deletedShareName": { + "type": "string", + "description": "Required. Identify the name of the deleted share that will be restored." + }, + "deletedShareVersion": { + "type": "string", + "description": "Required. Identify the version of the deleted share that will be restored." + } + }, + "required": [ + "deletedShareName", + "deletedShareVersion" + ] + }, + "Dimension": { + "type": "object", + "description": "Dimension of blobs, possibly be blob type or access tier.", + "properties": { + "name": { + "type": "string", + "description": "Display name of dimension." + }, + "displayName": { + "type": "string", + "description": "Display name of dimension." + } + } + }, + "DirectoryServiceOptions": { + "type": "string", + "description": "Indicates the directory service used. Note that this enum may be extended in the future.", + "enum": [ + "None", + "AADDS", + "AD", + "AADKERB" + ], + "x-ms-enum": { + "name": "DirectoryServiceOptions", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "AADDS", + "value": "AADDS" + }, + { + "name": "AD", + "value": "AD" + }, + { + "name": "AADKERB", + "value": "AADKERB" + } + ] + } + }, + "DnsEndpointType": { + "type": "string", + "description": "Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier.", + "enum": [ + "Standard", + "AzureDnsZone" + ], + "x-ms-enum": { + "name": "DnsEndpointType", + "modelAsString": true, + "values": [ + { + "name": "Standard", + "value": "Standard" + }, + { + "name": "AzureDnsZone", + "value": "AzureDnsZone" + } + ] + } + }, + "DualStackEndpointPreference": { + "type": "object", + "description": "Dual-stack endpoint preference defines whether IPv6 endpoints are going to be published.", + "properties": { + "publishIpv6Endpoint": { + "type": "boolean", + "description": "A boolean flag which indicates whether IPv6 storage endpoints are to be published." + } + } + }, + "EnabledProtocols": { + "type": "string", + "description": "The authentication protocol that is used for the file share. Can only be specified when creating a share.", + "enum": [ + "SMB", + "NFS" + ], + "x-ms-enum": { + "name": "EnabledProtocols", + "modelAsString": true, + "values": [ + { + "name": "SMB", + "value": "SMB" + }, + { + "name": "NFS", + "value": "NFS" + } + ] + } + }, + "Encryption": { + "type": "object", + "description": "The encryption settings on the storage account.", + "properties": { + "services": { + "$ref": "#/definitions/EncryptionServices", + "description": "List of services which support encryption." + }, + "keySource": { + "type": "string", + "description": "The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault", + "default": "Microsoft.Storage", + "enum": [ + "Microsoft.Storage", + "Microsoft.Keyvault" + ], + "x-ms-enum": { + "name": "KeySource", + "modelAsString": true, + "values": [ + { + "name": "Microsoft.Storage", + "value": "Microsoft.Storage" + }, + { + "name": "Microsoft.Keyvault", + "value": "Microsoft.Keyvault" + } + ] + } + }, + "requireInfrastructureEncryption": { + "type": "boolean", + "description": "A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest.", + "x-ms-client-name": "RequireInfrastructureEncryption" + }, + "keyvaultproperties": { + "$ref": "#/definitions/KeyVaultProperties", + "description": "Properties provided by key vault.", + "x-ms-client-name": "KeyVaultProperties" + }, + "identity": { + "$ref": "#/definitions/EncryptionIdentity", + "description": "The identity to be used with service-side encryption at rest.", + "x-ms-client-name": "EncryptionIdentity" + } + } + }, + "EncryptionIdentity": { + "type": "object", + "description": "Encryption identity for the storage account.", + "properties": { + "userAssignedIdentity": { + "type": "string", + "description": "Resource identifier of the UserAssigned identity to be associated with server-side encryption on the storage account.", + "x-ms-client-name": "EncryptionUserAssignedIdentity" + }, + "federatedIdentityClientId": { + "type": "string", + "description": "ClientId of the multi-tenant application to be used in conjunction with the user-assigned identity for cross-tenant customer-managed-keys server-side encryption on the storage account.", + "x-ms-client-name": "EncryptionFederatedIdentityClientId" + } + } + }, + "EncryptionInTransit": { + "type": "object", + "description": "Encryption in transit setting.", + "properties": { + "required": { + "type": "boolean", + "description": "Indicates whether encryption in transit is required" + } + } + }, + "EncryptionScope": { + "type": "object", + "description": "The Encryption Scope resource.", + "properties": { + "properties": { + "$ref": "#/definitions/EncryptionScopeProperties", + "description": "Properties of the encryption scope.", + "x-ms-client-flatten": true, + "x-ms-client-name": "EncryptionScopeProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "EncryptionScopeKeyVaultProperties": { + "type": "object", + "description": "The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'.", + "properties": { + "keyUri": { + "type": "string", + "description": "The object identifier for a key vault key object. When applied, the encryption scope will use the key referenced by the identifier to enable customer-managed key support on this encryption scope." + }, + "currentVersionedKeyIdentifier": { + "type": "string", + "description": "The object identifier of the current versioned Key Vault Key in use.", + "readOnly": true + }, + "lastKeyRotationTimestamp": { + "type": "string", + "format": "date-time", + "description": "Timestamp of last rotation of the Key Vault Key.", + "readOnly": true + } + } + }, + "EncryptionScopeListResult": { + "type": "object", + "description": "The response of a EncryptionScope list operation.", + "properties": { + "value": { + "type": "array", + "description": "The EncryptionScope items on this page", + "items": { + "$ref": "#/definitions/EncryptionScope" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "EncryptionScopeProperties": { + "type": "object", + "description": "Properties of the encryption scope.", + "properties": { + "source": { + "$ref": "#/definitions/EncryptionScopeSource", + "description": "The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault." + }, + "state": { + "$ref": "#/definitions/EncryptionScopeState", + "description": "The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled." + }, + "creationTime": { + "type": "string", + "format": "date-time", + "description": "Gets the creation date and time of the encryption scope in UTC.", + "readOnly": true + }, + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Gets the last modification date and time of the encryption scope in UTC.", + "readOnly": true + }, + "keyVaultProperties": { + "$ref": "#/definitions/EncryptionScopeKeyVaultProperties", + "description": "The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'." + }, + "requireInfrastructureEncryption": { + "type": "boolean", + "description": "A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest." + } + } + }, + "EncryptionScopeSource": { + "type": "string", + "description": "The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault.", + "enum": [ + "Microsoft.Storage", + "Microsoft.KeyVault" + ], + "x-ms-enum": { + "name": "EncryptionScopeSource", + "modelAsString": true, + "values": [ + { + "name": "Microsoft.Storage", + "value": "Microsoft.Storage" + }, + { + "name": "Microsoft.KeyVault", + "value": "Microsoft.KeyVault" + } + ] + } + }, + "EncryptionScopeState": { + "type": "string", + "description": "The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "EncryptionScopeState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + } + ] + } + }, + "EncryptionService": { + "type": "object", + "description": "A service that allows server-side encryption to be used.", + "properties": { + "enabled": { + "type": "boolean", + "description": "A boolean indicating whether or not the service encrypts the data as it is stored. Encryption at rest is enabled by default today and cannot be disabled." + }, + "lastEnabledTime": { + "type": "string", + "format": "date-time", + "description": "Gets a rough estimate of the date/time when the encryption was last enabled by the user. Data is encrypted at rest by default today and cannot be disabled.", + "readOnly": true + }, + "keyType": { + "$ref": "#/definitions/KeyType", + "description": "Encryption key type to be used for the encryption service. 'Account' key type implies that an account-scoped encryption key will be used. 'Service' key type implies that a default service key is used.", + "x-ms-mutability": [ + "read", + "create" + ] + } + } + }, + "EncryptionServices": { + "type": "object", + "description": "A list of services that support encryption.", + "properties": { + "blob": { + "$ref": "#/definitions/EncryptionService", + "description": "The encryption function of the blob storage service." + }, + "file": { + "$ref": "#/definitions/EncryptionService", + "description": "The encryption function of the file storage service." + }, + "table": { + "$ref": "#/definitions/EncryptionService", + "description": "The encryption function of the table storage service." + }, + "queue": { + "$ref": "#/definitions/EncryptionService", + "description": "The encryption function of the queue storage service." + } + } + }, + "Endpoints": { + "type": "object", + "description": "The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object.", + "properties": { + "blob": { + "type": "string", + "description": "Gets the blob endpoint.", + "readOnly": true + }, + "queue": { + "type": "string", + "description": "Gets the queue endpoint.", + "readOnly": true + }, + "table": { + "type": "string", + "description": "Gets the table endpoint.", + "readOnly": true + }, + "file": { + "type": "string", + "description": "Gets the file endpoint.", + "readOnly": true + }, + "web": { + "type": "string", + "description": "Gets the web endpoint.", + "readOnly": true + }, + "dfs": { + "type": "string", + "description": "Gets the dfs endpoint.", + "readOnly": true + }, + "microsoftEndpoints": { + "$ref": "#/definitions/StorageAccountMicrosoftEndpoints", + "description": "Gets the microsoft routing storage endpoints." + }, + "internetEndpoints": { + "$ref": "#/definitions/StorageAccountInternetEndpoints", + "description": "Gets the internet routing storage endpoints" + }, + "ipv6Endpoints": { + "$ref": "#/definitions/StorageAccountIpv6Endpoints", + "description": "Gets the IPv6 storage endpoints." + } + } + }, + "ErrorResponse": { + "type": "object", + "description": "An error response from the storage resource provider.", + "properties": { + "error": { + "$ref": "#/definitions/ErrorResponseBody", + "description": "Azure Storage Resource Provider error response body." + } + } + }, + "ErrorResponseBody": { + "type": "object", + "description": "Error response body contract.", + "properties": { + "code": { + "type": "string", + "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." + }, + "message": { + "type": "string", + "description": "A message describing the error, intended to be suitable for display in a user interface." + } + } + }, + "ExecutionTarget": { + "type": "object", + "description": "Target helps provide filter parameters for the objects in the storage account and forms the execution context for the storage task", + "properties": { + "prefix": { + "type": "array", + "description": "Required list of object prefixes to be included for task execution", + "items": { + "type": "string" + } + }, + "excludePrefix": { + "type": "array", + "description": "List of object prefixes to be excluded from task execution. If there is a conflict between include and exclude prefixes, the exclude prefix will be the determining factor", + "items": { + "type": "string" + } + } + } + }, + "ExecutionTrigger": { + "type": "object", + "description": "Execution trigger for storage task assignment", + "properties": { + "type": { + "$ref": "#/definitions/TriggerType", + "description": "The trigger type of the storage task assignment execution" + }, + "parameters": { + "$ref": "#/definitions/TriggerParameters", + "description": "The trigger parameters of the storage task assignment execution" + } + }, + "required": [ + "type", + "parameters" + ] + }, + "ExecutionTriggerUpdate": { + "type": "object", + "description": "Execution trigger update for storage task assignment", + "properties": { + "type": { + "$ref": "#/definitions/TriggerType", + "description": "The trigger type of the storage task assignment execution" + }, + "parameters": { + "$ref": "#/definitions/TriggerParametersUpdate", + "description": "The trigger parameters of the storage task assignment execution" + } + } + }, + "ExtendedLocation": { + "type": "object", + "description": "The complex type of the extended location.", + "properties": { + "name": { + "type": "string", + "description": "The name of the extended location." + }, + "type": { + "$ref": "#/definitions/ExtendedLocationTypes", + "description": "The type of the extended location." + } + } + }, + "ExtendedLocationTypes": { + "type": "string", + "description": "The type of extendedLocation.", + "enum": [ + "EdgeZone" + ], + "x-ms-enum": { + "name": "ExtendedLocationTypes", + "modelAsString": true, + "values": [ + { + "name": "EdgeZone", + "value": "EdgeZone" + } + ] + } + }, + "FileServiceItems": { + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "List of file services returned.", + "items": { + "$ref": "#/definitions/FileServiceProperties" + }, + "readOnly": true + } + } + }, + "FileServiceProperties": { + "type": "object", + "description": "The properties of File services in storage account.", + "properties": { + "properties": { + "$ref": "#/definitions/FileServicePropertiesProperties", + "description": "The properties of File services in storage account.", + "x-ms-client-flatten": true, + "x-ms-client-name": "FileServiceProperties" + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "Sku name and tier.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "FileServicePropertiesProperties": { + "type": "object", + "description": "The properties of File services in storage account.", + "properties": { + "cors": { + "$ref": "#/definitions/CorsRules", + "description": "Specifies CORS rules for the File service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the File service." + }, + "shareDeleteRetentionPolicy": { + "$ref": "#/definitions/DeleteRetentionPolicy", + "description": "The file service properties for share soft delete." + }, + "protocolSettings": { + "$ref": "#/definitions/ProtocolSettings", + "description": "Protocol settings for file service" + } + } + }, + "FileServiceUsage": { + "type": "object", + "description": "The usage of file service in storage account.", + "properties": { + "properties": { + "$ref": "#/definitions/FileServiceUsageProperties", + "description": "File service usage in storage account including account limits, file share limits and constants used in recommendations and bursting formula." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "FileServiceUsageProperties": { + "type": "object", + "description": "File service usage in storage account including account limits, file share limits and constants used in recommendations and bursting formula.", + "properties": { + "storageAccountLimits": { + "$ref": "#/definitions/AccountLimits", + "description": "Maximum provisioned storage, IOPS, bandwidth and number of file shares limits for the storage account.", + "readOnly": true + }, + "fileShareLimits": { + "$ref": "#/definitions/FileShareLimits", + "description": "Minimum and maximum provisioned storage, IOPS and bandwidth limits for a file share in the storage account.", + "readOnly": true + }, + "fileShareRecommendations": { + "$ref": "#/definitions/FileShareRecommendations", + "description": "Constants used for calculating recommended provisioned IOPS and bandwidth for a file share in the storage account.", + "readOnly": true + }, + "burstingConstants": { + "$ref": "#/definitions/BurstingConstants", + "description": "Constants used for calculating included burst IOPS and maximum burst credits for IOPS for a file share in the storage account.", + "readOnly": true + }, + "storageAccountUsage": { + "$ref": "#/definitions/AccountUsage", + "description": "Usage of provisioned storage, IOPS, bandwidth and number of file shares across all live shares and soft-deleted shares in the account.", + "readOnly": true + } + } + }, + "FileServiceUsages": { + "type": "object", + "description": "List file service usages schema.", + "properties": { + "value": { + "type": "array", + "description": "The FileServiceUsage items on this page", + "items": { + "$ref": "#/definitions/FileServiceUsage" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "FileShare": { + "type": "object", + "description": "Properties of the file share, including Id, resource name, resource type, Etag.", + "properties": { + "properties": { + "$ref": "#/definitions/FileShareProperties", + "description": "Properties of the file share.", + "x-ms-client-flatten": true, + "x-ms-client-name": "FileShareProperties" + }, + "etag": { + "type": "string", + "description": "Resource Etag.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "FileShareItem": { + "type": "object", + "description": "The file share properties be listed out.", + "properties": { + "properties": { + "$ref": "#/definitions/FileShareProperties", + "description": "The file share properties be listed out.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/AzureEntityResource" + } + ] + }, + "FileShareItems": { + "type": "object", + "description": "Response schema. Contains list of shares returned, and if paging is requested or required, a URL to next page of shares.", + "properties": { + "value": { + "type": "array", + "description": "The FileShareItem items on this page", + "items": { + "$ref": "#/definitions/FileShareItem" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "FileShareLimits": { + "type": "object", + "description": "Minimum and maximum provisioned storage, IOPS and bandwidth limits for a file share in the storage account.", + "properties": { + "minProvisionedStorageGiB": { + "type": "integer", + "format": "int32", + "description": "The minimum provisioned storage quota limit in gibibytes for a file share in the storage account.", + "readOnly": true + }, + "maxProvisionedStorageGiB": { + "type": "integer", + "format": "int32", + "description": "The maximum provisioned storage quota limit in gibibytes for a file share in the storage account.", + "readOnly": true + }, + "minProvisionedIOPS": { + "type": "integer", + "format": "int32", + "description": "The minimum provisioned IOPS limit for a file share in the storage account.", + "readOnly": true + }, + "maxProvisionedIOPS": { + "type": "integer", + "format": "int32", + "description": "The maximum provisioned IOPS limit for a file share in the storage account.", + "readOnly": true + }, + "minProvisionedBandwidthMiBPerSec": { + "type": "integer", + "format": "int32", + "description": "The minimum provisioned bandwidth limit in mebibytes per second for a file share in the storage account.", + "readOnly": true + }, + "maxProvisionedBandwidthMiBPerSec": { + "type": "integer", + "format": "int32", + "description": "The maximum provisioned bandwidth limit in mebibytes per second for a file share in the storage account.", + "readOnly": true + } + } + }, + "FileShareProperties": { + "type": "object", + "description": "The properties of the file share.", + "properties": { + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Returns the date and time the share was last modified.", + "readOnly": true + }, + "metadata": { + "type": "object", + "description": "A name-value pair to associate with the share as metadata.", + "additionalProperties": { + "type": "string" + } + }, + "shareQuota": { + "type": "integer", + "format": "int32", + "description": "The provisioned size of the share, in gibibytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400. For file shares created under Files Provisioned v2 account type, please refer to the GetFileServiceUsage API response for the minimum and maximum allowed provisioned storage size." + }, + "provisionedIops": { + "type": "integer", + "format": "int32", + "description": "The provisioned IOPS of the share. This property is only for file shares created under Files Provisioned v2 account type. Please refer to the GetFileServiceUsage API response for the minimum and maximum allowed value for provisioned IOPS." + }, + "provisionedBandwidthMibps": { + "type": "integer", + "format": "int32", + "description": "The provisioned bandwidth of the share, in mebibytes per second. This property is only for file shares created under Files Provisioned v2 account type. Please refer to the GetFileServiceUsage API response for the minimum and maximum allowed value for provisioned bandwidth." + }, + "includedBurstIops": { + "type": "integer", + "format": "int32", + "description": "The calculated burst IOPS of the share. This property is only for file shares created under Files Provisioned v2 account type.", + "readOnly": true + }, + "maxBurstCreditsForIops": { + "type": "integer", + "format": "int64", + "description": "The calculated maximum burst credits for the share. This property is only for file shares created under Files Provisioned v2 account type.", + "readOnly": true + }, + "nextAllowedQuotaDowngradeTime": { + "type": "string", + "format": "date-time-rfc7231", + "description": "Returns the next allowed provisioned storage size downgrade time for the share. This property is only for file shares created under Files Provisioned v1 SSD and Files Provisioned v2 account type", + "readOnly": true + }, + "nextAllowedProvisionedIopsDowngradeTime": { + "type": "string", + "format": "date-time-rfc7231", + "description": "Returns the next allowed provisioned IOPS downgrade time for the share. This property is only for file shares created under Files Provisioned v2 account type.", + "readOnly": true + }, + "nextAllowedProvisionedBandwidthDowngradeTime": { + "type": "string", + "format": "date-time-rfc7231", + "description": "Returns the next allowed provisioned bandwidth downgrade time for the share. This property is only for file shares created under Files Provisioned v2 account type.", + "readOnly": true + }, + "enabledProtocols": { + "$ref": "#/definitions/EnabledProtocols", + "description": "The authentication protocol that is used for the file share. Can only be specified when creating a share.", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "rootSquash": { + "$ref": "#/definitions/RootSquashType", + "description": "The property is for NFS share only. The default is NoRootSquash." + }, + "version": { + "type": "string", + "description": "The version of the share.", + "readOnly": true + }, + "deleted": { + "type": "boolean", + "description": "Indicates whether the share was deleted.", + "readOnly": true + }, + "deletedTime": { + "type": "string", + "format": "date-time", + "description": "The deleted time if the share was deleted.", + "readOnly": true + }, + "remainingRetentionDays": { + "type": "integer", + "format": "int32", + "description": "Remaining retention days for share that was soft deleted.", + "readOnly": true + }, + "accessTier": { + "$ref": "#/definitions/ShareAccessTier", + "description": "Access tier for specific share. GpV2 account can choose between TransactionOptimized (default), Hot, and Cool. FileStorage account can choose Premium." + }, + "accessTierChangeTime": { + "type": "string", + "format": "date-time", + "description": "Indicates the last modification time for share access tier.", + "readOnly": true + }, + "accessTierStatus": { + "type": "string", + "description": "Indicates if there is a pending transition for access tier.", + "readOnly": true + }, + "shareUsageBytes": { + "type": "integer", + "format": "int64", + "description": "The approximate size of the data stored on the share. Note that this value may not include all recently created or recently resized files.", + "readOnly": true + }, + "leaseStatus": { + "$ref": "#/definitions/LeaseStatus", + "description": "The lease status of the share.", + "readOnly": true + }, + "leaseState": { + "$ref": "#/definitions/LeaseState", + "description": "Lease state of the share.", + "readOnly": true + }, + "leaseDuration": { + "$ref": "#/definitions/LeaseDuration", + "description": "Specifies whether the lease on a share is of infinite or fixed duration, only when the share is leased.", + "readOnly": true + }, + "signedIdentifiers": { + "type": "array", + "description": "List of stored access policies specified on the share.", + "items": { + "$ref": "#/definitions/SignedIdentifier" + } + }, + "snapshotTime": { + "type": "string", + "format": "date-time", + "description": "Creation time of share snapshot returned in the response of list shares with expand param \"snapshots\".", + "readOnly": true + }, + "fileSharePaidBursting": { + "$ref": "#/definitions/FileSharePropertiesFileSharePaidBursting", + "description": "File Share Paid Bursting properties." + } + } + }, + "FileSharePropertiesFileSharePaidBursting": { + "type": "object", + "description": "File Share Paid Bursting properties.", + "properties": { + "paidBurstingEnabled": { + "type": "boolean", + "description": "Indicates whether paid bursting is enabled for the share. This property is only for file shares created under Files Provisioned v1 SSD account type." + }, + "paidBurstingMaxIops": { + "type": "integer", + "format": "int32", + "description": "The maximum paid bursting IOPS for the share. This property is only for file shares created under Files Provisioned v1 SSD account type. The maximum allowed value is 102400 which is the maximum allowed IOPS for a share." + }, + "paidBurstingMaxBandwidthMibps": { + "type": "integer", + "format": "int32", + "description": "The maximum paid bursting bandwidth for the share, in mebibytes per second. This property is only for file shares created under Files Provisioned v1 SSD account type. The maximum allowed value is 10340 which is the maximum allowed bandwidth for a share." + } + } + }, + "FileShareRecommendations": { + "type": "object", + "description": "Constants used for calculating recommended provisioned IOPS and bandwidth for a file share in the storage account.", + "properties": { + "baseIOPS": { + "type": "integer", + "format": "int32", + "description": "The base IOPS in the file share provisioned IOPS recommendation formula.", + "readOnly": true + }, + "ioScalar": { + "type": "number", + "format": "double", + "description": "The scalar for IO in the file share provisioned IOPS recommendation formula.", + "readOnly": true + }, + "baseBandwidthMiBPerSec": { + "type": "integer", + "format": "int32", + "description": "The base bandwidth in the file share provisioned bandwidth recommendation formula.", + "readOnly": true + }, + "bandwidthScalar": { + "type": "number", + "format": "double", + "description": "The scalar for bandwidth in the file share provisioned bandwidth recommendation formula.", + "readOnly": true + } + } + }, + "Format": { + "type": "string", + "description": "This is a required field, it specifies the format for the inventory files.", + "enum": [ + "Csv", + "Parquet" + ], + "x-ms-enum": { + "name": "Format", + "modelAsString": true, + "values": [ + { + "name": "Csv", + "value": "Csv" + }, + { + "name": "Parquet", + "value": "Parquet" + } + ] + } + }, + "GeoPriorityReplicationStatus": { + "type": "object", + "description": "Geo Priority Replication enablement status for the storage account.", + "properties": { + "isBlobEnabled": { + "type": "boolean", + "description": "Indicates whether Blob Geo Priority Replication is enabled for the storage account." + } + } + }, + "GeoReplicationStats": { + "type": "object", + "description": "Statistics related to replication for storage account's Blob, Table, Queue and File services. It is only available when geo-redundant replication is enabled for the storage account.", + "properties": { + "status": { + "$ref": "#/definitions/GeoReplicationStatus", + "description": "The status of the secondary location. Possible values are: - Live: Indicates that the secondary location is active and operational. - Bootstrap: Indicates initial synchronization from the primary location to the secondary location is in progress.This typically occurs when replication is first enabled. - Unavailable: Indicates that the secondary location is temporarily unavailable.", + "readOnly": true + }, + "lastSyncTime": { + "type": "string", + "format": "date-time", + "description": "All primary writes preceding this UTC date/time value are guaranteed to be available for read operations. Primary writes following this point in time may or may not be available for reads. Element may be default value if value of LastSyncTime is not available, this can happen if secondary is offline or we are in bootstrap.", + "readOnly": true + }, + "canFailover": { + "type": "boolean", + "description": "A boolean flag which indicates whether or not account failover is supported for the account.", + "readOnly": true + }, + "canPlannedFailover": { + "type": "boolean", + "description": "A boolean flag which indicates whether or not planned account failover is supported for the account.", + "readOnly": true + }, + "postFailoverRedundancy": { + "$ref": "#/definitions/PostFailoverRedundancy", + "description": "The redundancy type of the account after an account failover is performed.", + "readOnly": true + }, + "postPlannedFailoverRedundancy": { + "$ref": "#/definitions/PostPlannedFailoverRedundancy", + "description": "The redundancy type of the account after a planned account failover is performed.", + "readOnly": true + } + } + }, + "GeoReplicationStatus": { + "type": "string", + "description": "The status of the secondary location. Possible values are: - Live: Indicates that the secondary location is active and operational. - Bootstrap: Indicates initial synchronization from the primary location to the secondary location is in progress.This typically occurs when replication is first enabled. - Unavailable: Indicates that the secondary location is temporarily unavailable.", + "enum": [ + "Live", + "Bootstrap", + "Unavailable" + ], + "x-ms-enum": { + "name": "GeoReplicationStatus", + "modelAsString": true, + "values": [ + { + "name": "Live", + "value": "Live" + }, + { + "name": "Bootstrap", + "value": "Bootstrap" + }, + { + "name": "Unavailable", + "value": "Unavailable" + } + ] + } + }, + "HttpProtocol": { + "type": "string", + "description": "The protocol permitted for a request made with the account SAS.", + "enum": [ + "https,http", + "https" + ], + "x-ms-enum": { + "name": "HttpProtocol", + "modelAsString": false + } + }, + "IPRule": { + "type": "object", + "description": "IP rule with specific IP or IP range in CIDR format.", + "properties": { + "value": { + "type": "string", + "description": "Specifies the IP or IP range in CIDR format.", + "x-ms-client-name": "IPAddressOrRange" + }, + "action": { + "type": "string", + "description": "The action of IP ACL rule.", + "enum": [ + "Allow" + ], + "x-ms-enum": { + "modelAsString": false + } + } + }, + "required": [ + "value" + ] + }, + "Identity": { + "type": "object", + "description": "Identity for the resource.", + "properties": { + "principalId": { + "type": "string", + "description": "The principal ID of resource identity.", + "readOnly": true + }, + "tenantId": { + "type": "string", + "description": "The tenant ID of resource.", + "readOnly": true + }, + "type": { + "$ref": "#/definitions/IdentityType", + "description": "The identity type." + }, + "userAssignedIdentities": { + "type": "object", + "description": "Gets or sets a list of key value pairs that describe the set of User Assigned identities that will be used with this storage account. The key is the ARM resource identifier of the identity. Only 1 User Assigned identity is permitted here.", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentity" + } + } + }, + "required": [ + "type" + ] + }, + "IdentityType": { + "type": "string", + "description": "The identity type.", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned", + "SystemAssigned,UserAssigned" + ], + "x-ms-enum": { + "name": "IdentityType", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "SystemAssigned", + "value": "SystemAssigned" + }, + { + "name": "UserAssigned", + "value": "UserAssigned" + }, + { + "name": "SystemAssigned,UserAssigned", + "value": "SystemAssigned,UserAssigned" + } + ] + } + }, + "ImmutabilityPolicy": { + "type": "object", + "description": "The ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag.", + "properties": { + "properties": { + "$ref": "#/definitions/ImmutabilityPolicyProperty", + "description": "The properties of an ImmutabilityPolicy of a blob container.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "Resource Etag.", + "readOnly": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ImmutabilityPolicyProperties": { + "type": "object", + "description": "The properties of an ImmutabilityPolicy of a blob container.", + "properties": { + "properties": { + "$ref": "#/definitions/ImmutabilityPolicyProperty", + "description": "The properties of an ImmutabilityPolicy of a blob container.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "ImmutabilityPolicy Etag.", + "readOnly": true + }, + "updateHistory": { + "type": "array", + "description": "The ImmutabilityPolicy update history of the blob container.", + "items": { + "$ref": "#/definitions/UpdateHistoryProperty" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + } + }, + "ImmutabilityPolicyProperty": { + "type": "object", + "description": "The properties of an ImmutabilityPolicy of a blob container.", + "properties": { + "immutabilityPeriodSinceCreationInDays": { + "type": "integer", + "format": "int32", + "description": "The immutability period for the blobs in the container since the policy creation, in days." + }, + "state": { + "$ref": "#/definitions/ImmutabilityPolicyState", + "description": "The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked.", + "readOnly": true + }, + "allowProtectedAppendWrites": { + "type": "boolean", + "description": "This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API." + }, + "allowProtectedAppendWritesAll": { + "type": "boolean", + "description": "This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive." + } + } + }, + "ImmutabilityPolicyState": { + "type": "string", + "description": "The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked.", + "enum": [ + "Locked", + "Unlocked" + ], + "x-ms-enum": { + "name": "ImmutabilityPolicyState", + "modelAsString": true, + "values": [ + { + "name": "Locked", + "value": "Locked" + }, + { + "name": "Unlocked", + "value": "Unlocked" + } + ] + } + }, + "ImmutabilityPolicyUpdateType": { + "type": "string", + "description": "The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend.", + "enum": [ + "put", + "lock", + "extend" + ], + "x-ms-enum": { + "name": "ImmutabilityPolicyUpdateType", + "modelAsString": true, + "values": [ + { + "name": "put", + "value": "put" + }, + { + "name": "lock", + "value": "lock" + }, + { + "name": "extend", + "value": "extend" + } + ] + } + }, + "ImmutableStorageAccount": { + "type": "object", + "description": "This property enables and defines account-level immutability. Enabling the feature auto-enables Blob Versioning.", + "properties": { + "enabled": { + "type": "boolean", + "description": "A boolean flag which enables account-level immutability. All the containers under such an account have object-level immutability enabled by default." + }, + "immutabilityPolicy": { + "$ref": "#/definitions/AccountImmutabilityPolicyProperties", + "description": "Specifies the default account-level immutability policy which is inherited and applied to objects that do not possess an explicit immutability policy at the object level. The object-level immutability policy has higher precedence than the container-level immutability policy, which has a higher precedence than the account-level immutability policy." + } + } + }, + "ImmutableStorageWithVersioning": { + "type": "object", + "description": "Object level immutability properties of the container.", + "properties": { + "enabled": { + "type": "boolean", + "description": "This is an immutable property, when set to true it enables object level immutability at the container level." + }, + "timeStamp": { + "type": "string", + "format": "date-time", + "description": "Returns the date and time the object level immutability was enabled.", + "readOnly": true + }, + "migrationState": { + "$ref": "#/definitions/MigrationState", + "description": "This property denotes the container level immutability to object level immutability migration state.", + "readOnly": true + } + } + }, + "IntervalUnit": { + "type": "string", + "description": "Run interval unit of task execution. This is a required field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce'", + "enum": [ + "Days" + ], + "x-ms-enum": { + "name": "IntervalUnit", + "modelAsString": true, + "values": [ + { + "name": "days", + "value": "Days" + } + ] + } + }, + "InventoryRuleType": { + "type": "string", + "description": "The valid value is Inventory", + "enum": [ + "Inventory" + ], + "x-ms-enum": { + "name": "InventoryRuleType", + "modelAsString": true, + "values": [ + { + "name": "Inventory", + "value": "Inventory" + } + ] + } + }, + "IssueType": { + "type": "string", + "description": "Type of issue", + "enum": [ + "Unknown", + "ConfigurationPropagationFailure" + ], + "x-ms-enum": { + "name": "IssueType", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown" + }, + { + "name": "ConfigurationPropagationFailure", + "value": "ConfigurationPropagationFailure" + } + ] + } + }, + "KeyCreationTime": { + "type": "object", + "description": "Storage account keys creation time.", + "properties": { + "key1": { + "type": "string", + "format": "date-time" + }, + "key2": { + "type": "string", + "format": "date-time" + } + } + }, + "KeyPermission": { + "type": "string", + "description": "Permissions for the key -- read-only or full permissions.", + "enum": [ + "Read", + "Full" + ], + "x-ms-enum": { + "name": "KeyPermission", + "modelAsString": false + } + }, + "KeyPolicy": { + "type": "object", + "description": "KeyPolicy assigned to the storage account.", + "properties": { + "keyExpirationPeriodInDays": { + "type": "integer", + "format": "int32", + "description": "The key expiration period in days." + } + }, + "required": [ + "keyExpirationPeriodInDays" + ] + }, + "KeyType": { + "type": "string", + "description": "Encryption key type to be used for the encryption service. 'Account' key type implies that an account-scoped encryption key will be used. 'Service' key type implies that a default service key is used.", + "enum": [ + "Service", + "Account" + ], + "x-ms-enum": { + "name": "KeyType", + "modelAsString": true, + "values": [ + { + "name": "Service", + "value": "Service" + }, + { + "name": "Account", + "value": "Account" + } + ] + } + }, + "KeyVaultProperties": { + "type": "object", + "description": "Properties of key vault.", + "properties": { + "keyname": { + "type": "string", + "description": "The name of KeyVault key.", + "x-ms-client-name": "KeyName" + }, + "keyversion": { + "type": "string", + "description": "The version of KeyVault key.", + "x-ms-client-name": "KeyVersion" + }, + "keyvaulturi": { + "type": "string", + "description": "The Uri of KeyVault.", + "x-ms-client-name": "KeyVaultUri" + }, + "currentVersionedKeyIdentifier": { + "type": "string", + "description": "The object identifier of the current versioned Key Vault Key in use.", + "readOnly": true, + "x-ms-client-name": "CurrentVersionedKeyIdentifier" + }, + "lastKeyRotationTimestamp": { + "type": "string", + "format": "date-time", + "description": "Timestamp of last rotation of the Key Vault Key.", + "readOnly": true, + "x-ms-client-name": "LastKeyRotationTimestamp" + }, + "currentVersionedKeyExpirationTimestamp": { + "type": "string", + "format": "date-time", + "description": "This is a read only property that represents the expiration time of the current version of the customer managed key used for encryption.", + "readOnly": true, + "x-ms-client-name": "CurrentVersionedKeyExpirationTimestamp" + } + } + }, + "Kind": { + "type": "string", + "description": "Indicates the type of storage account.", + "enum": [ + "Storage", + "StorageV2", + "BlobStorage", + "FileStorage", + "BlockBlobStorage" + ], + "x-ms-enum": { + "name": "Kind", + "modelAsString": true, + "values": [ + { + "name": "Storage", + "value": "Storage" + }, + { + "name": "StorageV2", + "value": "StorageV2" + }, + { + "name": "BlobStorage", + "value": "BlobStorage" + }, + { + "name": "FileStorage", + "value": "FileStorage" + }, + { + "name": "BlockBlobStorage", + "value": "BlockBlobStorage" + } + ] + } + }, + "LargeFileSharesState": { + "type": "string", + "description": "Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled.", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "LargeFileSharesState", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled" + }, + { + "name": "Enabled", + "value": "Enabled" + } + ] + } + }, + "LastAccessTimeTrackingPolicy": { + "type": "object", + "description": "The blob service properties for Last access time based tracking policy.", + "properties": { + "enable": { + "type": "boolean", + "description": "When set to true last access time based tracking is enabled." + }, + "name": { + "$ref": "#/definitions/Name", + "description": "Name of the policy. The valid value is AccessTimeTracking. This field is currently read only" + }, + "trackingGranularityInDays": { + "type": "integer", + "format": "int32", + "description": "The field specifies blob object tracking granularity in days, typically how often the blob object should be tracked.This field is currently read only with value as 1" + }, + "blobType": { + "type": "array", + "description": "An array of predefined supported blob types. Only blockBlob is the supported value. This field is currently read only", + "items": { + "type": "string" + } + } + }, + "required": [ + "enable" + ] + }, + "LeaseContainerRequest": { + "type": "object", + "description": "Lease Container request schema.", + "properties": { + "action": { + "$ref": "#/definitions/LeaseContainerRequestAction", + "description": "Specifies the lease action. Can be one of the available actions." + }, + "leaseId": { + "type": "string", + "description": "Identifies the lease. Can be specified in any valid GUID string format." + }, + "breakPeriod": { + "type": "integer", + "format": "int32", + "description": "Optional. For a break action, proposed duration the lease should continue before it is broken, in seconds, between 0 and 60." + }, + "leaseDuration": { + "type": "integer", + "format": "int32", + "description": "Required for acquire. Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires." + }, + "proposedLeaseId": { + "type": "string", + "description": "Optional for acquire, required for change. Proposed lease ID, in a GUID string format." + } + }, + "required": [ + "action" + ] + }, + "LeaseContainerRequestAction": { + "type": "string", + "description": "Specifies the lease action. Can be one of the available actions.", + "enum": [ + "Acquire", + "Renew", + "Change", + "Release", + "Break" + ], + "x-ms-enum": { + "name": "LeaseContainerRequestAction", + "modelAsString": true, + "values": [ + { + "name": "Acquire", + "value": "Acquire" + }, + { + "name": "Renew", + "value": "Renew" + }, + { + "name": "Change", + "value": "Change" + }, + { + "name": "Release", + "value": "Release" + }, + { + "name": "Break", + "value": "Break" + } + ] + } + }, + "LeaseContainerResponse": { + "type": "object", + "description": "Lease Container response schema.", + "properties": { + "leaseId": { + "type": "string", + "description": "Returned unique lease ID that must be included with any request to delete the container, or to renew, change, or release the lease." + }, + "leaseTimeSeconds": { + "type": "string", + "description": "Approximate time remaining in the lease period, in seconds." + } + } + }, + "LeaseDuration": { + "type": "string", + "description": "Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased.", + "enum": [ + "Infinite", + "Fixed" + ], + "x-ms-enum": { + "name": "LeaseDuration", + "modelAsString": true, + "values": [ + { + "name": "Infinite", + "value": "Infinite" + }, + { + "name": "Fixed", + "value": "Fixed" + } + ] + } + }, + "LeaseShareAction": { + "type": "string", + "description": "Specifies the lease action. Can be one of the available actions.", + "enum": [ + "Acquire", + "Renew", + "Change", + "Release", + "Break" + ], + "x-ms-enum": { + "name": "LeaseShareAction", + "modelAsString": true, + "values": [ + { + "name": "Acquire", + "value": "Acquire" + }, + { + "name": "Renew", + "value": "Renew" + }, + { + "name": "Change", + "value": "Change" + }, + { + "name": "Release", + "value": "Release" + }, + { + "name": "Break", + "value": "Break" + } + ] + } + }, + "LeaseShareRequest": { + "type": "object", + "description": "Lease Share request schema.", + "properties": { + "action": { + "$ref": "#/definitions/LeaseShareAction", + "description": "Specifies the lease action. Can be one of the available actions." + }, + "leaseId": { + "type": "string", + "description": "Identifies the lease. Can be specified in any valid GUID string format." + }, + "breakPeriod": { + "type": "integer", + "format": "int32", + "description": "Optional. For a break action, proposed duration the lease should continue before it is broken, in seconds, between 0 and 60." + }, + "leaseDuration": { + "type": "integer", + "format": "int32", + "description": "Required for acquire. Specifies the duration of the lease, in seconds, or negative one (-1) for a lease that never expires." + }, + "proposedLeaseId": { + "type": "string", + "description": "Optional for acquire, required for change. Proposed lease ID, in a GUID string format." + } + }, + "required": [ + "action" + ] + }, + "LeaseShareResponse": { + "type": "object", + "description": "Lease Share response schema.", + "properties": { + "leaseId": { + "type": "string", + "description": "Returned unique lease ID that must be included with any request to delete the share, or to renew, change, or release the lease." + }, + "leaseTimeSeconds": { + "type": "string", + "description": "Approximate time remaining in the lease period, in seconds." + } + } + }, + "LeaseState": { + "type": "string", + "description": "Lease state of the container.", + "enum": [ + "Available", + "Leased", + "Expired", + "Breaking", + "Broken" + ], + "x-ms-enum": { + "name": "LeaseState", + "modelAsString": true, + "values": [ + { + "name": "Available", + "value": "Available" + }, + { + "name": "Leased", + "value": "Leased" + }, + { + "name": "Expired", + "value": "Expired" + }, + { + "name": "Breaking", + "value": "Breaking" + }, + { + "name": "Broken", + "value": "Broken" + } + ] + } + }, + "LeaseStatus": { + "type": "string", + "description": "The lease status of the container.", + "enum": [ + "Locked", + "Unlocked" + ], + "x-ms-enum": { + "name": "LeaseStatus", + "modelAsString": true, + "values": [ + { + "name": "Locked", + "value": "Locked" + }, + { + "name": "Unlocked", + "value": "Unlocked" + } + ] + } + }, + "LegalHold": { + "type": "object", + "description": "The LegalHold property of a blob container.", + "properties": { + "hasLegalHold": { + "type": "boolean", + "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account.", + "readOnly": true + }, + "tags": { + "type": "array", + "description": "Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case at SRP.", + "items": { + "$ref": "#/definitions/LimitedString" + } + }, + "allowProtectedAppendWritesAll": { + "type": "boolean", + "description": "When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining legal hold protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted." + } + }, + "required": [ + "tags" + ] + }, + "LegalHoldProperties": { + "type": "object", + "description": "The LegalHold property of a blob container.", + "properties": { + "hasLegalHold": { + "type": "boolean", + "description": "The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account.", + "readOnly": true + }, + "tags": { + "type": "array", + "description": "The list of LegalHold tags of a blob container.", + "items": { + "$ref": "#/definitions/TagProperty" + }, + "x-ms-identifiers": [] + }, + "protectedAppendWritesHistory": { + "$ref": "#/definitions/ProtectedAppendWritesHistory", + "description": "Protected append blob writes history." + } + } + }, + "LimitedString": { + "type": "string", + "minLength": 3, + "maxLength": 23 + }, + "ListAccountSasResponse": { + "type": "object", + "description": "The List SAS credentials operation response.", + "properties": { + "accountSasToken": { + "type": "string", + "description": "List SAS credentials of storage account.", + "readOnly": true + } + } + }, + "ListBlobInventoryPolicy": { + "type": "object", + "description": "List of blob inventory policies returned.", + "properties": { + "value": { + "type": "array", + "description": "List of blob inventory policies.", + "items": { + "$ref": "#/definitions/BlobInventoryPolicy" + }, + "readOnly": true + }, + "nextLink": { + "type": "string" + } + } + }, + "ListContainerItem": { + "type": "object", + "description": "The blob container properties be listed out.", + "properties": { + "properties": { + "$ref": "#/definitions/ContainerProperties", + "description": "The blob container properties be listed out.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/AzureEntityResource" + } + ] + }, + "ListContainerItems": { + "type": "object", + "description": "Response schema. Contains list of blobs returned, and if paging is requested or required, a URL to next page of containers.", + "properties": { + "value": { + "type": "array", + "description": "The ListContainerItem items on this page", + "items": { + "$ref": "#/definitions/ListContainerItem" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ListQueue": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ListQueueProperties", + "description": "List Queue resource properties.", + "x-ms-client-flatten": true, + "x-ms-client-name": "QueueProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" + } + ] + }, + "ListQueueProperties": { + "type": "object", + "properties": { + "metadata": { + "type": "object", + "description": "A name-value pair that represents queue metadata.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ListQueueResource": { + "type": "object", + "description": "Response schema. Contains list of queues returned", + "properties": { + "value": { + "type": "array", + "description": "The ListQueue items on this page", + "items": { + "$ref": "#/definitions/ListQueue" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ListQueueServices": { + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "List of queue services returned.", + "items": { + "$ref": "#/definitions/QueueServiceProperties" + }, + "readOnly": true + } + } + }, + "ListServiceSasResponse": { + "type": "object", + "description": "The List service SAS credentials operation response.", + "properties": { + "serviceSasToken": { + "type": "string", + "description": "List service SAS credentials of specific resource.", + "readOnly": true + } + } + }, + "ListTableResource": { + "type": "object", + "description": "Response schema. Contains list of tables returned", + "properties": { + "value": { + "type": "array", + "description": "The Table items on this page", + "items": { + "$ref": "#/definitions/Table" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ListTableServices": { + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "List of table services returned.", + "items": { + "$ref": "#/definitions/TableServiceProperties" + }, + "readOnly": true + } + } + }, + "LocalUser": { + "type": "object", + "description": "The local user associated with the storage accounts.", + "properties": { + "properties": { + "$ref": "#/definitions/LocalUserProperties", + "description": "Storage account local user properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "LocalUserKeys": { + "type": "object", + "description": "The Storage Account Local User keys.", + "properties": { + "sshAuthorizedKeys": { + "type": "array", + "description": "Optional, local user ssh authorized keys for SFTP.", + "items": { + "$ref": "#/definitions/SshPublicKey" + }, + "x-ms-identifiers": [] + }, + "sharedKey": { + "type": "string", + "format": "password", + "description": "Auto generated by the server for SMB authentication.", + "readOnly": true, + "x-ms-secret": true + } + } + }, + "LocalUserProperties": { + "type": "object", + "description": "The Storage Account Local User properties.", + "properties": { + "permissionScopes": { + "type": "array", + "description": "The permission scopes of the local user.", + "items": { + "$ref": "#/definitions/PermissionScope" + }, + "x-ms-identifiers": [] + }, + "homeDirectory": { + "type": "string", + "description": "Optional, local user home directory." + }, + "sshAuthorizedKeys": { + "type": "array", + "description": "Optional, local user ssh authorized keys for SFTP.", + "items": { + "$ref": "#/definitions/SshPublicKey" + }, + "x-ms-identifiers": [] + }, + "sid": { + "type": "string", + "description": "A unique Security Identifier that is generated by the server.", + "readOnly": true + }, + "hasSharedKey": { + "type": "boolean", + "description": "Indicates whether shared key exists. Set it to false to remove existing shared key." + }, + "hasSshKey": { + "type": "boolean", + "description": "Indicates whether ssh key exists. Set it to false to remove existing SSH key." + }, + "hasSshPassword": { + "type": "boolean", + "description": "Indicates whether ssh password exists. Set it to false to remove existing SSH password." + }, + "userId": { + "type": "integer", + "format": "int32", + "description": "A unique Identifier that is generated by the server.", + "readOnly": true + }, + "groupId": { + "type": "integer", + "format": "int32", + "description": "An identifier for associating a group of users." + }, + "allowAclAuthorization": { + "type": "boolean", + "description": "Indicates whether ACL authorization is allowed for this user. Set it to false to disallow using ACL authorization." + }, + "extendedGroups": { + "type": "array", + "description": "Supplementary group membership. Only applicable for local users enabled for NFSv3 access.", + "items": { + "type": "integer", + "format": "int32" + } + }, + "isNFSv3Enabled": { + "type": "boolean", + "description": "Indicates if the local user is enabled for access with NFSv3 protocol." + } + } + }, + "LocalUserRegeneratePasswordResult": { + "type": "object", + "description": "The secrets of Storage Account Local User.", + "properties": { + "sshPassword": { + "type": "string", + "format": "password", + "description": "Auto generated password by the server for SSH authentication if hasSshPassword is set to true on the creation of local user.", + "readOnly": true, + "x-ms-secret": true + } + } + }, + "LocalUsers": { + "type": "object", + "description": "List of local users requested, and if paging is required, a URL to the next page of local users.", + "properties": { + "value": { + "type": "array", + "description": "The LocalUser items on this page", + "items": { + "$ref": "#/definitions/LocalUser" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ManagementPolicy": { + "type": "object", + "description": "The Get Storage Account ManagementPolicies operation response.", + "properties": { + "properties": { + "$ref": "#/definitions/ManagementPolicyProperties", + "description": "Returns the Storage Account Data Policies Rules.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ManagementPolicyAction": { + "type": "object", + "description": "Actions are applied to the filtered blobs when the execution condition is met.", + "properties": { + "baseBlob": { + "$ref": "#/definitions/ManagementPolicyBaseBlob", + "description": "The management policy action for base blob" + }, + "snapshot": { + "$ref": "#/definitions/ManagementPolicySnapShot", + "description": "The management policy action for snapshot" + }, + "version": { + "$ref": "#/definitions/ManagementPolicyVersion", + "description": "The management policy action for version" + } + } + }, + "ManagementPolicyBaseBlob": { + "type": "object", + "description": "Management policy action for base blob.", + "properties": { + "tierToCool": { + "$ref": "#/definitions/DateAfterModification", + "description": "The function to tier blobs to cool storage." + }, + "tierToArchive": { + "$ref": "#/definitions/DateAfterModification", + "description": "The function to tier blobs to archive storage." + }, + "tierToCold": { + "$ref": "#/definitions/DateAfterModification", + "description": "The function to tier blobs to cold storage." + }, + "tierToHot": { + "$ref": "#/definitions/DateAfterModification", + "description": "The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts" + }, + "delete": { + "$ref": "#/definitions/DateAfterModification", + "description": "The function to delete the blob" + }, + "enableAutoTierToHotFromCool": { + "type": "boolean", + "description": "This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan." + } + } + }, + "ManagementPolicyDefinition": { + "type": "object", + "description": "An object that defines the Lifecycle rule. Each definition is made up with a filters set and an actions set.", + "properties": { + "actions": { + "$ref": "#/definitions/ManagementPolicyAction", + "description": "An object that defines the action set." + }, + "filters": { + "$ref": "#/definitions/ManagementPolicyFilter", + "description": "An object that defines the filter set." + } + }, + "required": [ + "actions" + ] + }, + "ManagementPolicyFilter": { + "type": "object", + "description": "Filters limit rule actions to a subset of blobs within the storage account. If multiple filters are defined, a logical AND is performed on all filters.", + "properties": { + "prefixMatch": { + "type": "array", + "description": "An array of strings for prefixes to be match.", + "items": { + "type": "string" + } + }, + "blobTypes": { + "type": "array", + "description": "An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob.", + "items": { + "type": "string" + } + }, + "blobIndexMatch": { + "type": "array", + "description": "An array of blob index tag based filters, there can be at most 10 tag filters", + "items": { + "$ref": "#/definitions/TagFilter" + } + } + }, + "required": [ + "blobTypes" + ] + }, + "ManagementPolicyProperties": { + "type": "object", + "description": "The Storage Account ManagementPolicy properties.", + "properties": { + "lastModifiedTime": { + "type": "string", + "format": "date-time", + "description": "Returns the date and time the ManagementPolicies was last modified.", + "readOnly": true + }, + "policy": { + "$ref": "#/definitions/ManagementPolicySchema", + "description": "The Storage Account ManagementPolicy, in JSON format. See more details in: https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview." + } + }, + "required": [ + "policy" + ] + }, + "ManagementPolicyRule": { + "type": "object", + "description": "An object that wraps the Lifecycle rule. Each rule is uniquely defined by name.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Rule is enabled if set to true." + }, + "name": { + "type": "string", + "description": "A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy." + }, + "type": { + "$ref": "#/definitions/RuleType", + "description": "The valid value is Lifecycle" + }, + "definition": { + "$ref": "#/definitions/ManagementPolicyDefinition", + "description": "An object that defines the Lifecycle rule." + } + }, + "required": [ + "name", + "type", + "definition" + ] + }, + "ManagementPolicySchema": { + "type": "object", + "description": "The Storage Account ManagementPolicies Rules. See more details in: https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview.", + "properties": { + "rules": { + "type": "array", + "description": "The Storage Account ManagementPolicies Rules. See more details in: https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview.", + "items": { + "$ref": "#/definitions/ManagementPolicyRule" + } + } + }, + "required": [ + "rules" + ] + }, + "ManagementPolicySnapShot": { + "type": "object", + "description": "Management policy action for snapshot.", + "properties": { + "tierToCool": { + "$ref": "#/definitions/DateAfterCreation", + "description": "The function to tier blob snapshot to cool storage." + }, + "tierToArchive": { + "$ref": "#/definitions/DateAfterCreation", + "description": "The function to tier blob snapshot to archive storage." + }, + "tierToCold": { + "$ref": "#/definitions/DateAfterCreation", + "description": "The function to tier blobs to cold storage." + }, + "tierToHot": { + "$ref": "#/definitions/DateAfterCreation", + "description": "The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts" + }, + "delete": { + "$ref": "#/definitions/DateAfterCreation", + "description": "The function to delete the blob snapshot" + } + } + }, + "ManagementPolicyVersion": { + "type": "object", + "description": "Management policy action for blob version.", + "properties": { + "tierToCool": { + "$ref": "#/definitions/DateAfterCreation", + "description": "The function to tier blob version to cool storage." + }, + "tierToArchive": { + "$ref": "#/definitions/DateAfterCreation", + "description": "The function to tier blob version to archive storage." + }, + "tierToCold": { + "$ref": "#/definitions/DateAfterCreation", + "description": "The function to tier blobs to cold storage." + }, + "tierToHot": { + "$ref": "#/definitions/DateAfterCreation", + "description": "The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts" + }, + "delete": { + "$ref": "#/definitions/DateAfterCreation", + "description": "The function to delete the blob version" + } + } + }, + "MetricSpecification": { + "type": "object", + "description": "Metric specification of operation.", + "properties": { + "name": { + "type": "string", + "description": "Name of metric specification." + }, + "displayName": { + "type": "string", + "description": "Display name of metric specification." + }, + "displayDescription": { + "type": "string", + "description": "Display description of metric specification." + }, + "unit": { + "type": "string", + "description": "Unit could be Bytes or Count." + }, + "dimensions": { + "type": "array", + "description": "Dimensions of blobs, including blob type and access tier.", + "items": { + "$ref": "#/definitions/Dimension" + } + }, + "aggregationType": { + "type": "string", + "description": "Aggregation type could be Average." + }, + "fillGapWithZero": { + "type": "boolean", + "description": "The property to decide fill gap with zero or not." + }, + "category": { + "type": "string", + "description": "The category this metric specification belong to, could be Capacity." + }, + "resourceIdDimensionNameOverride": { + "type": "string", + "description": "Account Resource Id." + } + } + }, + "MigrationState": { + "type": "string", + "description": "This property denotes the container level immutability to object level immutability migration state.", + "enum": [ + "InProgress", + "Completed" + ], + "x-ms-enum": { + "name": "MigrationState", + "modelAsString": true, + "values": [ + { + "name": "InProgress", + "value": "InProgress" + }, + { + "name": "Completed", + "value": "Completed" + } + ] + } + }, + "MinimumTlsVersion": { + "type": "string", + "description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property.", + "enum": [ + "TLS1_0", + "TLS1_1", + "TLS1_2", + "TLS1_3" + ], + "x-ms-enum": { + "name": "MinimumTlsVersion", + "modelAsString": true, + "values": [ + { + "name": "TLS1_0", + "value": "TLS1_0" + }, + { + "name": "TLS1_1", + "value": "TLS1_1" + }, + { + "name": "TLS1_2", + "value": "TLS1_2" + }, + { + "name": "TLS1_3", + "value": "TLS1_3" + } + ] + } + }, + "Multichannel": { + "type": "object", + "description": "Multichannel setting. Applies to Premium FileStorage only.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Indicates whether multichannel is enabled" + } + } + }, + "Name": { + "type": "string", + "description": "Name of the policy. The valid value is AccessTimeTracking. This field is currently read only", + "enum": [ + "AccessTimeTracking" + ], + "x-ms-enum": { + "name": "Name", + "modelAsString": true, + "values": [ + { + "name": "AccessTimeTracking", + "value": "AccessTimeTracking" + } + ] + } + }, + "NetworkRuleSet": { + "type": "object", + "description": "Network rule set", + "properties": { + "bypass": { + "type": "string", + "description": "Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, \"Logging, Metrics\"), or None to bypass none of those traffics.", + "default": "AzureServices", + "enum": [ + "None", + "Logging", + "Metrics", + "AzureServices" + ], + "x-ms-enum": { + "name": "Bypass", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None" + }, + { + "name": "Logging", + "value": "Logging" + }, + { + "name": "Metrics", + "value": "Metrics" + }, + { + "name": "AzureServices", + "value": "AzureServices" + } + ] + }, + "x-ms-client-name": "Bypass" + }, + "resourceAccessRules": { + "type": "array", + "description": "Sets the resource access rules", + "items": { + "$ref": "#/definitions/ResourceAccessRule" + }, + "x-ms-identifiers": [] + }, + "virtualNetworkRules": { + "type": "array", + "description": "Sets the virtual network rules", + "items": { + "$ref": "#/definitions/VirtualNetworkRule" + } + }, + "ipRules": { + "type": "array", + "description": "Sets the IP ACL rules", + "items": { + "$ref": "#/definitions/IPRule" + }, + "x-ms-identifiers": [] + }, + "ipv6Rules": { + "type": "array", + "description": "Sets the IPv6 ACL rules.", + "items": { + "$ref": "#/definitions/IPRule" + }, + "x-ms-identifiers": [] + }, + "defaultAction": { + "type": "string", + "description": "Specifies the default action of allow or deny when no other rules match.", + "default": "Allow", + "enum": [ + "Allow", + "Deny" + ], + "x-ms-enum": { + "name": "DefaultAction", + "modelAsString": false + } + } + }, + "required": [ + "defaultAction" + ] + }, + "NetworkSecurityPerimeter": { + "type": "object", + "description": "NetworkSecurityPerimeter related information", + "properties": { + "id": { + "type": "string", + "description": "The ARM identifier of the resource" + }, + "perimeterGuid": { + "type": "string", + "description": "Guid of the resource" + }, + "location": { + "type": "string", + "description": "Location of the resource", + "x-ms-mutability": [ + "read", + "create" + ] + } + } + }, + "NetworkSecurityPerimeterConfiguration": { + "type": "object", + "description": "The Network Security Perimeter configuration resource.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationProperties", + "description": "Properties of the Network Security Perimeter Configuration", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "NetworkSecurityPerimeterConfigurationList": { + "type": "object", + "description": "Result of the List Network Security Perimeter configuration operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkSecurityPerimeterConfiguration items on this page", + "items": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfiguration" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkSecurityPerimeterConfigurationProperties": { + "type": "object", + "description": "Properties of the Network Security Perimeter Configuration", + "properties": { + "provisioningState": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationProvisioningState", + "description": "Provisioning state of Network Security Perimeter configuration propagation", + "readOnly": true + }, + "provisioningIssues": { + "type": "array", + "description": "List of Provisioning Issues if any", + "items": { + "$ref": "#/definitions/ProvisioningIssue" + }, + "readOnly": true, + "x-ms-identifiers": [ + "name" + ] + }, + "networkSecurityPerimeter": { + "$ref": "#/definitions/NetworkSecurityPerimeter", + "description": "NetworkSecurityPerimeter related information", + "readOnly": true + }, + "resourceAssociation": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation", + "description": "Information about resource association", + "readOnly": true + }, + "profile": { + "$ref": "#/definitions/NetworkSecurityPerimeterConfigurationPropertiesProfile", + "description": "Network Security Perimeter profile", + "readOnly": true + } + } + }, + "NetworkSecurityPerimeterConfigurationPropertiesProfile": { + "type": "object", + "description": "Network Security Perimeter profile", + "properties": { + "name": { + "type": "string", + "description": "Name of the resource" + }, + "accessRulesVersion": { + "type": "number", + "format": "float", + "description": "Current access rules version" + }, + "accessRules": { + "type": "array", + "description": "List of Access Rules", + "items": { + "$ref": "#/definitions/NspAccessRule" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "diagnosticSettingsVersion": { + "type": "number", + "format": "float", + "description": "Diagnostic settings version" + }, + "enabledLogCategories": { + "type": "array", + "description": "Enabled logging categories", + "items": { + "type": "string" + } + } + } + }, + "NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation": { + "type": "object", + "description": "Information about resource association", + "properties": { + "name": { + "type": "string", + "description": "Name of the resource association" + }, + "accessMode": { + "$ref": "#/definitions/ResourceAssociationAccessMode", + "description": "Access Mode of the resource association" + } + } + }, + "NetworkSecurityPerimeterConfigurationProvisioningState": { + "type": "string", + "description": "Provisioning state of Network Security Perimeter configuration propagation", + "enum": [ + "Accepted", + "Succeeded", + "Failed", + "Deleting", + "Canceled" + ], + "x-ms-enum": { + "name": "NetworkSecurityPerimeterConfigurationProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Accepted", + "value": "Accepted" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "Deleting", + "value": "Deleting" + }, + { + "name": "Canceled", + "value": "Canceled" + } + ] + } + }, + "NfsSetting": { + "type": "object", + "description": "Setting for NFS protocol", + "properties": { + "encryptionInTransit": { + "$ref": "#/definitions/EncryptionInTransit", + "description": "Encryption in transit setting." + } + } + }, + "NspAccessRule": { + "type": "object", + "description": "Information of Access Rule in Network Security Perimeter profile", + "properties": { + "name": { + "type": "string", + "description": "Name of the resource" + }, + "properties": { + "$ref": "#/definitions/NspAccessRuleProperties", + "description": "Properties of Access Rule", + "readOnly": true + } + } + }, + "NspAccessRuleDirection": { + "type": "string", + "description": "Direction of Access Rule", + "enum": [ + "Inbound", + "Outbound" + ], + "x-ms-enum": { + "name": "NspAccessRuleDirection", + "modelAsString": true, + "values": [ + { + "name": "Inbound", + "value": "Inbound" + }, + { + "name": "Outbound", + "value": "Outbound" + } + ] + } + }, + "NspAccessRuleProperties": { + "type": "object", + "description": "Properties of Access Rule", + "properties": { + "direction": { + "$ref": "#/definitions/NspAccessRuleDirection", + "description": "Direction of Access Rule" + }, + "addressPrefixes": { + "type": "array", + "description": "Address prefixes in the CIDR format for inbound rules", + "items": { + "type": "string" + } + }, + "subscriptions": { + "type": "array", + "description": "Subscriptions for inbound rules", + "items": { + "$ref": "#/definitions/NspAccessRulePropertiesSubscriptionsItem" + } + }, + "networkSecurityPerimeters": { + "type": "array", + "description": "NetworkSecurityPerimeters for inbound rules", + "items": { + "$ref": "#/definitions/NetworkSecurityPerimeter" + }, + "readOnly": true + }, + "fullyQualifiedDomainNames": { + "type": "array", + "description": "FQDN for outbound rules", + "items": { + "type": "string" + }, + "readOnly": true + } + } + }, + "NspAccessRulePropertiesSubscriptionsItem": { + "type": "object", + "description": "Subscription for inbound rule", + "properties": { + "id": { + "type": "string", + "description": "The ARM identifier of subscription" + } + } + }, + "ObjectReplicationPolicies": { + "type": "object", + "description": "List storage account object replication policies.", + "properties": { + "value": { + "type": "array", + "description": "The replication policy between two storage accounts.", + "items": { + "$ref": "#/definitions/ObjectReplicationPolicy" + } + }, + "nextLink": { + "type": "string" + } + } + }, + "ObjectReplicationPolicy": { + "type": "object", + "description": "The replication policy between two storage accounts. Multiple rules can be defined in one policy.", + "properties": { + "properties": { + "$ref": "#/definitions/ObjectReplicationPolicyProperties", + "description": "Returns the Storage Account Object Replication Policy.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "ObjectReplicationPolicyFilter": { + "type": "object", + "description": "Filters limit replication to a subset of blobs within the storage account. A logical OR is performed on values in the filter. If multiple filters are defined, a logical AND is performed on all filters.", + "properties": { + "prefixMatch": { + "type": "array", + "description": "Optional. Filters the results to replicate only blobs whose names begin with the specified prefix.", + "items": { + "type": "string" + } + }, + "minCreationTime": { + "type": "string", + "description": "Blobs created after the time will be replicated to the destination. It must be in datetime format 'yyyy-MM-ddTHH:mm:ssZ'. Example: 2020-02-19T16:05:00Z" + } + } + }, + "ObjectReplicationPolicyProperties": { + "type": "object", + "description": "The Storage Account ObjectReplicationPolicy properties.", + "properties": { + "policyId": { + "type": "string", + "description": "A unique id for object replication policy.", + "readOnly": true + }, + "enabledTime": { + "type": "string", + "format": "date-time", + "description": "Indicates when the policy is enabled on the source account.", + "readOnly": true + }, + "sourceAccount": { + "type": "string", + "description": "Required. Source account name. It should be full resource id if allowCrossTenantReplication set to false." + }, + "destinationAccount": { + "type": "string", + "description": "Required. Destination account name. It should be full resource id if allowCrossTenantReplication set to false." + }, + "rules": { + "type": "array", + "description": "The storage account object replication rules.", + "items": { + "$ref": "#/definitions/ObjectReplicationPolicyRule" + }, + "x-ms-identifiers": [] + }, + "metrics": { + "$ref": "#/definitions/ObjectReplicationPolicyPropertiesMetrics", + "description": "Optional. The object replication policy metrics feature options." + }, + "priorityReplication": { + "$ref": "#/definitions/ObjectReplicationPolicyPropertiesPriorityReplication", + "description": "Optional. The object replication policy priority replication feature options." + } + }, + "required": [ + "sourceAccount", + "destinationAccount" + ] + }, + "ObjectReplicationPolicyPropertiesMetrics": { + "type": "object", + "description": "Optional. The object replication policy metrics feature options.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Indicates whether object replication metrics feature is enabled for the policy." + } + } + }, + "ObjectReplicationPolicyPropertiesPriorityReplication": { + "type": "object", + "description": "Optional. The object replication policy priority replication feature options.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Indicates whether object replication priority replication feature is enabled for the policy." + } + } + }, + "ObjectReplicationPolicyRule": { + "type": "object", + "description": "The replication policy rule between two containers.", + "properties": { + "ruleId": { + "type": "string", + "description": "Rule Id is auto-generated for each new rule on destination account. It is required for put policy on source account." + }, + "sourceContainer": { + "type": "string", + "description": "Required. Source container name." + }, + "destinationContainer": { + "type": "string", + "description": "Required. Destination container name." + }, + "filters": { + "$ref": "#/definitions/ObjectReplicationPolicyFilter", + "description": "Optional. An object that defines the filter set." + } + }, + "required": [ + "sourceContainer", + "destinationContainer" + ] + }, + "ObjectType": { + "type": "string", + "description": "This is a required field. This field specifies the scope of the inventory created either at the blob or container level.", + "enum": [ + "Blob", + "Container" + ], + "x-ms-enum": { + "name": "ObjectType", + "modelAsString": true, + "values": [ + { + "name": "Blob", + "value": "Blob" + }, + { + "name": "Container", + "value": "Container" + } + ] + } + }, + "Operation": { + "type": "object", + "description": "Storage REST API operation definition.", + "properties": { + "name": { + "type": "string", + "description": "Operation name: {provider}/{resource}/{operation}" + }, + "display": { + "$ref": "#/definitions/OperationDisplay", + "description": "Display metadata associated with the operation." + }, + "origin": { + "type": "string", + "description": "The origin of operations." + }, + "properties": { + "$ref": "#/definitions/OperationProperties", + "description": "Properties of operation, include metric specifications.", + "x-ms-client-flatten": true, + "x-ms-client-name": "operationProperties" + } + } + }, + "OperationDisplay": { + "type": "object", + "description": "Display metadata associated with the operation.", + "properties": { + "provider": { + "type": "string", + "description": "Service provider: Microsoft Storage." + }, + "resource": { + "type": "string", + "description": "Resource on which the operation is performed etc." + }, + "operation": { + "type": "string", + "description": "Type of operation: get, read, delete, etc." + }, + "description": { + "type": "string", + "description": "Description of the operation." + } + } + }, + "OperationListResult": { + "type": "object", + "description": "The list of available operations.", + "properties": { + "value": { + "type": "array", + "description": "List of operations supported by the resource provider.", + "items": { + "$ref": "#/definitions/Operation" + } + }, + "nextLink": { + "type": "string" + } + } + }, + "OperationProperties": { + "type": "object", + "description": "Properties of operation, include metric specifications.", + "properties": { + "serviceSpecification": { + "$ref": "#/definitions/ServiceSpecification", + "description": "One property of operation, include metric specifications." + } + } + }, + "PermissionScope": { + "type": "object", + "properties": { + "permissions": { + "type": "string", + "description": "The permissions for the local user. Possible values include: Read (r), Write (w), Delete (d), List (l), Create (c), Modify Ownership (o), and Modify Permissions (p)." + }, + "service": { + "type": "string", + "description": "The service used by the local user, e.g. blob, file." + }, + "resourceName": { + "type": "string", + "description": "The name of resource, normally the container name or the file share name, used by the local user." + } + }, + "required": [ + "permissions", + "service", + "resourceName" + ] + }, + "Permissions": { + "type": "string", + "description": "The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p).", + "enum": [ + "r", + "d", + "w", + "l", + "a", + "c", + "u", + "p" + ], + "x-ms-enum": { + "name": "Permissions", + "modelAsString": true, + "values": [ + { + "name": "r", + "value": "r" + }, + { + "name": "d", + "value": "d" + }, + { + "name": "w", + "value": "w" + }, + { + "name": "l", + "value": "l" + }, + { + "name": "a", + "value": "a" + }, + { + "name": "c", + "value": "c" + }, + { + "name": "u", + "value": "u" + }, + { + "name": "p", + "value": "p" + } + ] + } + }, + "Placement": { + "type": "object", + "description": "The complex type of the zonal placement details.", + "properties": { + "zonePlacementPolicy": { + "$ref": "#/definitions/ZonePlacementPolicy", + "description": "The availability zone pinning policy for the storage account." + } + } + }, + "PostFailoverRedundancy": { + "type": "string", + "description": "The redundancy type of the account after an account failover is performed.", + "enum": [ + "Standard_LRS", + "Standard_ZRS" + ], + "x-ms-enum": { + "name": "PostFailoverRedundancy", + "modelAsString": true, + "values": [ + { + "name": "Standard_LRS", + "value": "Standard_LRS" + }, + { + "name": "Standard_ZRS", + "value": "Standard_ZRS" + } + ] + } + }, + "PostPlannedFailoverRedundancy": { + "type": "string", + "description": "The redundancy type of the account after a planned account failover is performed.", + "enum": [ + "Standard_GRS", + "Standard_GZRS", + "Standard_RAGRS", + "Standard_RAGZRS" + ], + "x-ms-enum": { + "name": "PostPlannedFailoverRedundancy", + "modelAsString": true, + "values": [ + { + "name": "Standard_GRS", + "value": "Standard_GRS" + }, + { + "name": "Standard_GZRS", + "value": "Standard_GZRS" + }, + { + "name": "Standard_RAGRS", + "value": "Standard_RAGRS" + }, + { + "name": "Standard_RAGZRS", + "value": "Standard_RAGZRS" + } + ] + } + }, + "PrivateEndpoint": { + "type": "object", + "description": "The Private Endpoint resource.", + "properties": { + "id": { + "type": "string", + "description": "The ARM identifier for Private Endpoint", + "readOnly": true + } + } + }, + "PrivateEndpointConnection": { + "type": "object", + "description": "The Private Endpoint Connection resource.", + "properties": { + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "description": "Resource properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "PrivateEndpointConnectionListResult": { + "type": "object", + "description": "List of private endpoint connection associated with the specified storage account", + "properties": { + "value": { + "type": "array", + "description": "Array of private endpoint connections", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "nextLink": { + "type": "string" + } + } + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "description": "Properties of the PrivateEndpointConnectProperties.", + "properties": { + "privateEndpoint": { + "$ref": "#/definitions/PrivateEndpoint", + "description": "The resource of private end point." + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkServiceConnectionState", + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "provisioningState": { + "$ref": "#/definitions/PrivateEndpointConnectionProvisioningState", + "description": "The provisioning state of the private endpoint connection resource.", + "readOnly": true + } + }, + "required": [ + "privateLinkServiceConnectionState" + ] + }, + "PrivateEndpointConnectionProvisioningState": { + "type": "string", + "description": "The current provisioning state.", + "enum": [ + "Succeeded", + "Creating", + "Deleting", + "Failed" + ], + "x-ms-enum": { + "name": "PrivateEndpointConnectionProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Creating", + "value": "Creating" + }, + { + "name": "Deleting", + "value": "Deleting" + }, + { + "name": "Failed", + "value": "Failed" + } + ] + } + }, + "PrivateEndpointServiceConnectionStatus": { + "type": "string", + "description": "The private endpoint connection status.", + "enum": [ + "Pending", + "Approved", + "Rejected" + ], + "x-ms-enum": { + "name": "PrivateEndpointServiceConnectionStatus", + "modelAsString": true, + "values": [ + { + "name": "Pending", + "value": "Pending" + }, + { + "name": "Approved", + "value": "Approved" + }, + { + "name": "Rejected", + "value": "Rejected" + } + ] + } + }, + "PrivateLinkResource": { + "type": "object", + "description": "A private link resource", + "properties": { + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "Resource properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/Resource" + } + ] + }, + "PrivateLinkResourceListResult": { + "type": "object", + "description": "A list of private link resources", + "properties": { + "value": { + "type": "array", + "description": "Array of private link resources", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } + } + } + }, + "PrivateLinkResourceProperties": { + "type": "object", + "description": "Properties of a private link resource.", + "properties": { + "groupId": { + "type": "string", + "description": "The private link resource group id.", + "readOnly": true + }, + "requiredMembers": { + "type": "array", + "description": "The private link resource required member names.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "requiredZoneNames": { + "type": "array", + "description": "The private link resource Private link DNS zone name.", + "items": { + "type": "string" + } + } + } + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "description": "A collection of information about the state of the connection between service consumer and provider.", + "properties": { + "status": { + "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." + }, + "description": { + "type": "string", + "description": "The reason for approval/rejection of the connection." + }, + "actionRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer." + } + } + }, + "ProtectedAppendWritesHistory": { + "type": "object", + "description": "Protected append writes history setting for the blob container with Legal holds.", + "properties": { + "allowProtectedAppendWritesAll": { + "type": "boolean", + "description": "When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining legal hold protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted." + }, + "timestamp": { + "type": "string", + "format": "date-time", + "description": "Returns the date and time the tag was added.", + "readOnly": true + } + } + }, + "ProtocolSettings": { + "type": "object", + "description": "Protocol settings for file service", + "properties": { + "smb": { + "$ref": "#/definitions/SmbSetting", + "description": "Setting for SMB protocol" + }, + "nfs": { + "$ref": "#/definitions/NfsSetting", + "description": "Setting for NFS protocol" + } + } + }, + "ProvisioningIssue": { + "type": "object", + "description": "Describes provisioning issue for given NetworkSecurityPerimeterConfiguration", + "properties": { + "name": { + "type": "string", + "description": "Name of the issue" + }, + "properties": { + "$ref": "#/definitions/ProvisioningIssueProperties", + "description": "Properties of provisioning issue", + "readOnly": true + } + } + }, + "ProvisioningIssueProperties": { + "type": "object", + "description": "Properties of provisioning issue", + "properties": { + "issueType": { + "$ref": "#/definitions/IssueType", + "description": "Type of issue" + }, + "severity": { + "$ref": "#/definitions/Severity", + "description": "Severity of the issue." + }, + "description": { + "type": "string", + "description": "Description of the issue" + } + } + }, + "ProvisioningState": { + "type": "string", + "description": "Gets the status of the storage account at the time the operation was called.", + "enum": [ + "Creating", + "ResolvingDNS", + "Succeeded" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": false, + "values": [ + { + "name": "Creating", + "value": "Creating" + }, + { + "name": "ResolvingDNS", + "value": "ResolvingDNS" + }, + { + "name": "Succeeded", + "value": "Succeeded" + } + ] + } + }, + "PublicAccess": { + "type": "string", + "description": "Specifies whether data in the container may be accessed publicly and the level of access.", + "enum": [ + "Container", + "Blob", + "None" + ], + "x-ms-enum": { + "name": "PublicAccess", + "modelAsString": false + } + }, + "PublicNetworkAccess": { + "type": "string", + "description": "Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account. Value is optional but if passed in, must be 'Enabled', 'Disabled' or 'SecuredByPerimeter'.", + "enum": [ + "Enabled", + "Disabled", + "SecuredByPerimeter" + ], + "x-ms-enum": { + "name": "PublicNetworkAccess", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled" + }, + { + "name": "SecuredByPerimeter", + "value": "SecuredByPerimeter" + } + ] + } + }, + "QueueProperties": { + "type": "object", + "properties": { + "metadata": { + "type": "object", + "description": "A name-value pair that represents queue metadata.", + "additionalProperties": { + "type": "string" + } + }, + "approximateMessageCount": { + "type": "integer", + "format": "int32", + "description": "Integer indicating an approximate number of messages in the queue. This number is not lower than the actual number of messages in the queue, but could be higher.", + "readOnly": true + } + } + }, + "QueueServiceProperties": { + "type": "object", + "description": "The properties of a storage account’s Queue service.", + "properties": { + "properties": { + "$ref": "#/definitions/QueueServicePropertiesProperties", + "description": "The properties of a storage account’s Queue service.", + "x-ms-client-flatten": true, + "x-ms-client-name": "QueueServiceProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "QueueServicePropertiesProperties": { + "type": "object", + "description": "The properties of a storage account’s Queue service.", + "properties": { + "cors": { + "$ref": "#/definitions/CorsRules", + "description": "Specifies CORS rules for the Queue service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Queue service." + } + } + }, + "Reason": { + "type": "string", + "description": "Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false.", + "enum": [ + "AccountNameInvalid", + "AlreadyExists" + ], + "x-ms-enum": { + "name": "Reason", + "modelAsString": false + } + }, + "ReasonCode": { + "type": "string", + "description": "The reason for the restriction. As of now this can be \"QuotaId\" or \"NotAvailableForSubscription\". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The \"NotAvailableForSubscription\" is related to capacity at DC.", + "enum": [ + "QuotaId", + "NotAvailableForSubscription" + ], + "x-ms-enum": { + "name": "ReasonCode", + "modelAsString": true, + "values": [ + { + "name": "QuotaId", + "value": "QuotaId" + }, + { + "name": "NotAvailableForSubscription", + "value": "NotAvailableForSubscription" + } + ] + } + }, + "Resource": { + "type": "object", + "description": "Common fields that are returned in the response for all Azure Resource Manager resources", + "properties": { + "id": { + "type": "string", + "description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}", + "readOnly": true + }, + "name": { + "type": "string", + "description": "The name of the resource", + "readOnly": true + }, + "type": { + "type": "string", + "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "ResourceAccessRule": { + "type": "object", + "description": "Resource Access Rule.", + "properties": { + "tenantId": { + "type": "string", + "description": "Tenant Id" + }, + "resourceId": { + "type": "string", + "description": "Resource Id" + } + } + }, + "ResourceAssociationAccessMode": { + "type": "string", + "description": "Access Mode of the resource association", + "enum": [ + "Enforced", + "Learning", + "Audit" + ], + "x-ms-enum": { + "name": "ResourceAssociationAccessMode", + "modelAsString": true, + "values": [ + { + "name": "Enforced", + "value": "Enforced" + }, + { + "name": "Learning", + "value": "Learning" + }, + { + "name": "Audit", + "value": "Audit" + } + ] + } + }, + "RestorePolicyProperties": { + "type": "object", + "description": "The blob service properties for blob restore policy", + "properties": { + "enabled": { + "type": "boolean", + "description": "Blob restore is enabled if set to true." + }, + "days": { + "type": "integer", + "format": "int32", + "description": "how long this blob can be restored. It should be great than zero and less than DeleteRetentionPolicy.days.", + "minimum": 1, + "maximum": 365 + }, + "lastEnabledTime": { + "type": "string", + "format": "date-time", + "description": "Deprecated in favor of minRestoreTime property.", + "readOnly": true + }, + "minRestoreTime": { + "type": "string", + "format": "date-time", + "description": "Returns the minimum date and time that the restore can be started.", + "readOnly": true + } + }, + "required": [ + "enabled" + ] + }, + "Restriction": { + "type": "object", + "description": "The restriction because of which SKU cannot be used.", + "properties": { + "type": { + "type": "string", + "description": "The type of restrictions. As of now only possible value for this is location.", + "readOnly": true + }, + "values": { + "type": "array", + "description": "The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "reasonCode": { + "$ref": "#/definitions/ReasonCode", + "description": "The reason for the restriction. As of now this can be \"QuotaId\" or \"NotAvailableForSubscription\". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The \"NotAvailableForSubscription\" is related to capacity at DC." + } + } + }, + "RootSquashType": { + "type": "string", + "description": "The property is for NFS share only. The default is NoRootSquash.", + "enum": [ + "NoRootSquash", + "RootSquash", + "AllSquash" + ], + "x-ms-enum": { + "name": "RootSquashType", + "modelAsString": true, + "values": [ + { + "name": "NoRootSquash", + "value": "NoRootSquash" + }, + { + "name": "RootSquash", + "value": "RootSquash" + }, + { + "name": "AllSquash", + "value": "AllSquash" + } + ] + } + }, + "RoutingChoice": { + "type": "string", + "description": "Routing Choice defines the kind of network routing opted by the user.", + "enum": [ + "MicrosoftRouting", + "InternetRouting" + ], + "x-ms-enum": { + "name": "RoutingChoice", + "modelAsString": true, + "values": [ + { + "name": "MicrosoftRouting", + "value": "MicrosoftRouting" + }, + { + "name": "InternetRouting", + "value": "InternetRouting" + } + ] + } + }, + "RoutingPreference": { + "type": "object", + "description": "Routing preference defines the type of network, either microsoft or internet routing to be used to deliver the user data, the default option is microsoft routing", + "properties": { + "routingChoice": { + "$ref": "#/definitions/RoutingChoice", + "description": "Routing Choice defines the kind of network routing opted by the user." + }, + "publishMicrosoftEndpoints": { + "type": "boolean", + "description": "A boolean flag which indicates whether microsoft routing storage endpoints are to be published" + }, + "publishInternetEndpoints": { + "type": "boolean", + "description": "A boolean flag which indicates whether internet routing storage endpoints are to be published" + } + } + }, + "RuleType": { + "type": "string", + "description": "The valid value is Lifecycle", + "enum": [ + "Lifecycle" + ], + "x-ms-enum": { + "name": "RuleType", + "modelAsString": true, + "values": [ + { + "name": "Lifecycle", + "value": "Lifecycle" + } + ] + } + }, + "RunResult": { + "type": "string", + "description": "Represents the overall result of the execution for the run instance", + "enum": [ + "Succeeded", + "Failed" + ], + "x-ms-enum": { + "name": "RunResult", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed" + } + ] + } + }, + "RunStatusEnum": { + "type": "string", + "description": "Represents the status of the execution.", + "enum": [ + "InProgress", + "Finished" + ], + "x-ms-enum": { + "name": "RunStatusEnum", + "modelAsString": true, + "values": [ + { + "name": "InProgress", + "value": "InProgress" + }, + { + "name": "Finished", + "value": "Finished" + } + ] + } + }, + "SKUCapability": { + "type": "object", + "description": "The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc.", + "properties": { + "name": { + "type": "string", + "description": "The name of capability, The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc.", + "readOnly": true + }, + "value": { + "type": "string", + "description": "A string value to indicate states of given capability. Possibly 'true' or 'false'.", + "readOnly": true + } + } + }, + "SasPolicy": { + "type": "object", + "description": "SasPolicy assigned to the storage account.", + "properties": { + "sasExpirationPeriod": { + "type": "string", + "description": "The SAS expiration period, DD.HH:MM:SS." + }, + "expirationAction": { + "type": "string", + "description": "The SAS Expiration Action defines the action to be performed when sasPolicy.sasExpirationPeriod is violated. The 'Log' action can be used for audit purposes and the 'Block' action can be used to block and deny the usage of SAS tokens that do not adhere to the sas policy expiration period.", + "default": "Log", + "enum": [ + "Log", + "Block" + ], + "x-ms-enum": { + "name": "ExpirationAction", + "modelAsString": true, + "values": [ + { + "name": "Log", + "value": "Log" + }, + { + "name": "Block", + "value": "Block" + } + ] + } + } + }, + "required": [ + "sasExpirationPeriod", + "expirationAction" + ] + }, + "Schedule": { + "type": "string", + "description": "This is a required field. This field is used to schedule an inventory formation.", + "enum": [ + "Daily", + "Weekly" + ], + "x-ms-enum": { + "name": "Schedule", + "modelAsString": true, + "values": [ + { + "name": "Daily", + "value": "Daily" + }, + { + "name": "Weekly", + "value": "Weekly" + } + ] + } + }, + "ServiceSasParameters": { + "type": "object", + "description": "The parameters to list service SAS credentials of a specific resource.", + "properties": { + "canonicalizedResource": { + "type": "string", + "description": "The canonical path to the signed resource." + }, + "signedResource": { + "$ref": "#/definitions/SignedResource", + "description": "The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s).", + "x-ms-client-name": "Resource" + }, + "signedPermission": { + "$ref": "#/definitions/Permissions", + "description": "The signed permissions for the service SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p).", + "x-ms-client-name": "Permissions" + }, + "signedIp": { + "type": "string", + "description": "An IP address or a range of IP addresses from which to accept requests.", + "x-ms-client-name": "IPAddressOrRange" + }, + "signedProtocol": { + "$ref": "#/definitions/HttpProtocol", + "description": "The protocol permitted for a request made with the account SAS.", + "x-ms-client-name": "Protocols" + }, + "signedStart": { + "type": "string", + "format": "date-time", + "description": "The time at which the SAS becomes valid.", + "x-ms-client-name": "SharedAccessStartTime" + }, + "signedExpiry": { + "type": "string", + "format": "date-time", + "description": "The time at which the shared access signature becomes invalid.", + "x-ms-client-name": "SharedAccessExpiryTime" + }, + "signedIdentifier": { + "type": "string", + "description": "A unique value up to 64 characters in length that correlates to an access policy specified for the container, queue, or table.", + "maxLength": 64, + "x-ms-client-name": "Identifier" + }, + "startPk": { + "type": "string", + "description": "The start of partition key.", + "x-ms-client-name": "PartitionKeyStart" + }, + "endPk": { + "type": "string", + "description": "The end of partition key.", + "x-ms-client-name": "PartitionKeyEnd" + }, + "startRk": { + "type": "string", + "description": "The start of row key.", + "x-ms-client-name": "RowKeyStart" + }, + "endRk": { + "type": "string", + "description": "The end of row key.", + "x-ms-client-name": "RowKeyEnd" + }, + "keyToSign": { + "type": "string", + "description": "The key to sign the account SAS token with." + }, + "rscc": { + "type": "string", + "description": "The response header override for cache control.", + "x-ms-client-name": "CacheControl" + }, + "rscd": { + "type": "string", + "description": "The response header override for content disposition.", + "x-ms-client-name": "ContentDisposition" + }, + "rsce": { + "type": "string", + "description": "The response header override for content encoding.", + "x-ms-client-name": "ContentEncoding" + }, + "rscl": { + "type": "string", + "description": "The response header override for content language.", + "x-ms-client-name": "ContentLanguage" + }, + "rsct": { + "type": "string", + "description": "The response header override for content type.", + "x-ms-client-name": "ContentType" + } + }, + "required": [ + "canonicalizedResource" + ] + }, + "ServiceSpecification": { + "type": "object", + "description": "One property of operation, include metric specifications.", + "properties": { + "metricSpecifications": { + "type": "array", + "description": "Metric specifications of operation.", + "items": { + "$ref": "#/definitions/MetricSpecification" + } + } + } + }, + "Services": { + "type": "string", + "description": "The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f).", + "enum": [ + "b", + "q", + "t", + "f" + ], + "x-ms-enum": { + "name": "Services", + "modelAsString": true, + "values": [ + { + "name": "b", + "value": "b" + }, + { + "name": "q", + "value": "q" + }, + { + "name": "t", + "value": "t" + }, + { + "name": "f", + "value": "f" + } + ] + } + }, + "Severity": { + "type": "string", + "description": "Severity of the issue.", + "enum": [ + "Warning", + "Error" + ], + "x-ms-enum": { + "name": "Severity", + "modelAsString": true, + "values": [ + { + "name": "Warning", + "value": "Warning" + }, + { + "name": "Error", + "value": "Error" + } + ] + } + }, + "ShareAccessTier": { + "type": "string", + "description": "Access tier for specific share. GpV2 account can choose between TransactionOptimized (default), Hot, and Cool. FileStorage account can choose Premium.", + "enum": [ + "TransactionOptimized", + "Hot", + "Cool", + "Premium" + ], + "x-ms-enum": { + "name": "ShareAccessTier", + "modelAsString": true, + "values": [ + { + "name": "TransactionOptimized", + "value": "TransactionOptimized" + }, + { + "name": "Hot", + "value": "Hot" + }, + { + "name": "Cool", + "value": "Cool" + }, + { + "name": "Premium", + "value": "Premium" + } + ] + } + }, + "SignedIdentifier": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "An unique identifier of the stored access policy." + }, + "accessPolicy": { + "$ref": "#/definitions/AccessPolicy", + "description": "Access policy" + } + } + }, + "SignedResource": { + "type": "string", + "description": "The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s).", + "enum": [ + "b", + "c", + "f", + "s" + ], + "x-ms-enum": { + "name": "SignedResource", + "modelAsString": true, + "values": [ + { + "name": "b", + "value": "b" + }, + { + "name": "c", + "value": "c" + }, + { + "name": "f", + "value": "f" + }, + { + "name": "s", + "value": "s" + } + ] + } + }, + "SignedResourceTypes": { + "type": "string", + "description": "The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files.", + "enum": [ + "s", + "c", + "o" + ], + "x-ms-enum": { + "name": "SignedResourceTypes", + "modelAsString": true, + "values": [ + { + "name": "s", + "value": "s" + }, + { + "name": "c", + "value": "c" + }, + { + "name": "o", + "value": "o" + } + ] + } + }, + "Sku": { + "type": "object", + "description": "The SKU of the storage account.", + "properties": { + "name": { + "$ref": "#/definitions/SkuName", + "description": "The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType." + }, + "tier": { + "$ref": "#/definitions/SkuTier", + "description": "The SKU tier. This is based on the SKU name.", + "readOnly": true + } + }, + "required": [ + "name" + ] + }, + "SkuConversionStatus": { + "type": "string", + "description": "This property indicates the current sku conversion status.", + "enum": [ + "InProgress", + "Succeeded", + "Failed" + ], + "x-ms-enum": { + "name": "SkuConversionStatus", + "modelAsString": true, + "values": [ + { + "name": "InProgress", + "value": "InProgress" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed" + } + ] + } + }, + "SkuInformation": { + "type": "object", + "description": "Storage SKU and its properties", + "properties": { + "name": { + "$ref": "#/definitions/SkuName", + "description": "The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType." + }, + "tier": { + "$ref": "#/definitions/SkuTier", + "description": "The SKU tier. This is based on the SKU name.", + "readOnly": true + }, + "resourceType": { + "type": "string", + "description": "The type of the resource, usually it is 'storageAccounts'.", + "readOnly": true + }, + "kind": { + "$ref": "#/definitions/Kind", + "description": "Indicates the type of storage account.", + "readOnly": true + }, + "locations": { + "type": "array", + "description": "The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.).", + "items": { + "type": "string" + }, + "readOnly": true + }, + "locationInfo": { + "type": "array", + "items": { + "$ref": "#/definitions/SkuInformationLocationInfoItem" + }, + "x-ms-identifiers": [] + }, + "capabilities": { + "type": "array", + "description": "The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc.", + "items": { + "$ref": "#/definitions/SKUCapability" + }, + "readOnly": true + }, + "restrictions": { + "type": "array", + "description": "The restrictions because of which SKU cannot be used. This is empty if there are no restrictions.", + "items": { + "$ref": "#/definitions/Restriction" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "name" + ] + }, + "SkuInformationLocationInfoItem": { + "type": "object", + "properties": { + "location": { + "type": "string", + "description": "Describes the location for the product where storage account resource can be created.", + "readOnly": true + }, + "zones": { + "type": "array", + "description": "Describes the available zones for the product where storage account resource can be created.", + "items": { + "type": "string" + }, + "readOnly": true + } + } + }, + "SkuName": { + "type": "string", + "description": "The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType.", + "enum": [ + "Standard_LRS", + "Standard_GRS", + "Standard_RAGRS", + "Standard_ZRS", + "Premium_LRS", + "Premium_ZRS", + "Standard_GZRS", + "Standard_RAGZRS", + "StandardV2_LRS", + "StandardV2_GRS", + "StandardV2_ZRS", + "StandardV2_GZRS", + "PremiumV2_LRS", + "PremiumV2_ZRS" + ], + "x-ms-enum": { + "name": "SkuName", + "modelAsString": true, + "values": [ + { + "name": "Standard_LRS", + "value": "Standard_LRS" + }, + { + "name": "Standard_GRS", + "value": "Standard_GRS" + }, + { + "name": "Standard_RAGRS", + "value": "Standard_RAGRS" + }, + { + "name": "Standard_ZRS", + "value": "Standard_ZRS" + }, + { + "name": "Premium_LRS", + "value": "Premium_LRS" + }, + { + "name": "Premium_ZRS", + "value": "Premium_ZRS" + }, + { + "name": "Standard_GZRS", + "value": "Standard_GZRS" + }, + { + "name": "Standard_RAGZRS", + "value": "Standard_RAGZRS" + }, + { + "name": "StandardV2_LRS", + "value": "StandardV2_LRS" + }, + { + "name": "StandardV2_GRS", + "value": "StandardV2_GRS" + }, + { + "name": "StandardV2_ZRS", + "value": "StandardV2_ZRS" + }, + { + "name": "StandardV2_GZRS", + "value": "StandardV2_GZRS" + }, + { + "name": "PremiumV2_LRS", + "value": "PremiumV2_LRS" + }, + { + "name": "PremiumV2_ZRS", + "value": "PremiumV2_ZRS" + } + ] + } + }, + "SkuTier": { + "type": "string", + "description": "The SKU tier. This is based on the SKU name.", + "enum": [ + "Standard", + "Premium" + ], + "x-ms-enum": { + "name": "SkuTier", + "modelAsString": false + } + }, + "SmbOAuthSettings": { + "type": "object", + "description": "Setting property for Managed Identity access over SMB using OAuth", + "properties": { + "isSmbOAuthEnabled": { + "type": "boolean", + "description": "Specifies if managed identities can access SMB shares using OAuth. The default interpretation is false for this property." + } + } + }, + "SmbSetting": { + "type": "object", + "description": "Setting for SMB protocol", + "properties": { + "multichannel": { + "$ref": "#/definitions/Multichannel", + "description": "Multichannel setting. Applies to Premium FileStorage only." + }, + "versions": { + "type": "string", + "description": "SMB protocol versions supported by server. Valid values are SMB2.1, SMB3.0, SMB3.1.1. Should be passed as a string with delimiter ';'." + }, + "authenticationMethods": { + "type": "string", + "description": "SMB authentication methods supported by server. Valid values are NTLMv2, Kerberos. Should be passed as a string with delimiter ';'." + }, + "kerberosTicketEncryption": { + "type": "string", + "description": "Kerberos ticket encryption supported by server. Valid values are RC4-HMAC, AES-256. Should be passed as a string with delimiter ';'" + }, + "channelEncryption": { + "type": "string", + "description": "SMB channel encryption supported by server. Valid values are AES-128-CCM, AES-128-GCM, AES-256-GCM. Should be passed as a string with delimiter ';'." + }, + "encryptionInTransit": { + "$ref": "#/definitions/EncryptionInTransit", + "description": "Encryption in transit setting." + } + } + }, + "SshPublicKey": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "Optional. It is used to store the function/usage of the key" + }, + "key": { + "type": "string", + "description": "Ssh public key base64 encoded. The format should be: ' ', e.g. ssh-rsa AAAABBBB" + } + } + }, + "State": { + "type": "string", + "description": "Gets the state of virtual network rule.", + "enum": [ + "Provisioning", + "Deprovisioning", + "Succeeded", + "Failed", + "NetworkSourceDeleted" + ], + "x-ms-enum": { + "name": "State", + "modelAsString": true, + "values": [ + { + "name": "Provisioning", + "value": "Provisioning" + }, + { + "name": "Deprovisioning", + "value": "Deprovisioning" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed" + }, + { + "name": "NetworkSourceDeleted", + "value": "NetworkSourceDeleted" + } + ] + } + }, + "StorageAccount": { + "type": "object", + "description": "The storage account.", + "properties": { + "properties": { + "$ref": "#/definitions/StorageAccountProperties", + "description": "Properties of the storage account.", + "x-ms-client-flatten": true + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "Gets the SKU.", + "readOnly": true + }, + "kind": { + "$ref": "#/definitions/Kind", + "description": "Gets the Kind.", + "readOnly": true + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "The extendedLocation of the resource." + }, + "zones": { + "type": "array", + "description": "The availability zones.", + "items": { + "type": "string" + } + }, + "placement": { + "$ref": "#/definitions/Placement", + "description": "Optional. Gets or sets the zonal placement details for the storage account." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" + } + ] + }, + "StorageAccountCheckNameAvailabilityParameters": { + "type": "object", + "description": "The parameters used to check the availability of the storage account name.", + "properties": { + "name": { + "type": "string", + "description": "The storage account name." + }, + "type": { + "type": "string", + "description": "The type of resource, Microsoft.Storage/storageAccounts", + "enum": [ + "Microsoft.Storage/storageAccounts" + ], + "x-ms-enum": { + "modelAsString": false + } + } + }, + "required": [ + "name", + "type" + ] + }, + "StorageAccountCreateParameters": { + "type": "object", + "description": "The parameters used when creating a storage account.", + "properties": { + "sku": { + "$ref": "#/definitions/Sku", + "description": "Required. Gets or sets the SKU name." + }, + "kind": { + "$ref": "#/definitions/Kind", + "description": "Required. Indicates the type of storage account." + }, + "location": { + "type": "string", + "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed." + }, + "extendedLocation": { + "$ref": "#/definitions/ExtendedLocation", + "description": "Optional. Set the extended location of the resource. If not set, the storage account will be created in Azure main region. Otherwise it will be created in the specified extended location" + }, + "zones": { + "type": "array", + "description": "Optional. Gets or sets the pinned logical availability zone for the storage account.", + "items": { + "type": "string" + } + }, + "placement": { + "$ref": "#/definitions/Placement", + "description": "Optional. Gets or sets the zonal placement details for the storage account." + }, + "tags": { + "type": "object", + "description": "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.", + "additionalProperties": { + "type": "string" + } + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + }, + "properties": { + "$ref": "#/definitions/StorageAccountPropertiesCreateParameters", + "description": "The parameters used to create the storage account.", + "x-ms-client-flatten": true + } + }, + "required": [ + "sku", + "kind", + "location" + ] + }, + "StorageAccountInternetEndpoints": { + "type": "object", + "description": "The URIs that are used to perform a retrieval of a public blob, file, web or dfs object via a internet routing endpoint.", + "properties": { + "blob": { + "type": "string", + "description": "Gets the blob endpoint.", + "readOnly": true + }, + "file": { + "type": "string", + "description": "Gets the file endpoint.", + "readOnly": true + }, + "web": { + "type": "string", + "description": "Gets the web endpoint.", + "readOnly": true + }, + "dfs": { + "type": "string", + "description": "Gets the dfs endpoint.", + "readOnly": true + } + } + }, + "StorageAccountIpv6Endpoints": { + "type": "object", + "description": "The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object via an IPv6 endpoint.", + "properties": { + "blob": { + "type": "string", + "description": "Gets the blob endpoint.", + "readOnly": true + }, + "queue": { + "type": "string", + "description": "Gets the queue endpoint.", + "readOnly": true + }, + "table": { + "type": "string", + "description": "Gets the table endpoint.", + "readOnly": true + }, + "file": { + "type": "string", + "description": "Gets the file endpoint.", + "readOnly": true + }, + "web": { + "type": "string", + "description": "Gets the web endpoint.", + "readOnly": true + }, + "dfs": { + "type": "string", + "description": "Gets the dfs endpoint.", + "readOnly": true + }, + "microsoftEndpoints": { + "$ref": "#/definitions/StorageAccountMicrosoftEndpoints", + "description": "Gets the microsoft routing storage endpoints." + }, + "internetEndpoints": { + "$ref": "#/definitions/StorageAccountInternetEndpoints", + "description": "Gets the internet routing storage endpoints" + } + } + }, + "StorageAccountKey": { + "type": "object", + "description": "An access key for the storage account.", + "properties": { + "keyName": { + "type": "string", + "description": "Name of the key.", + "readOnly": true + }, + "value": { + "type": "string", + "description": "Base 64-encoded value of the key.", + "readOnly": true + }, + "permissions": { + "$ref": "#/definitions/KeyPermission", + "description": "Permissions for the key -- read-only or full permissions.", + "readOnly": true + }, + "creationTime": { + "type": "string", + "format": "date-time", + "description": "Creation time of the key, in round trip date format.", + "readOnly": true + } + } + }, + "StorageAccountListKeysResult": { + "type": "object", + "description": "The response from the ListKeys operation.", + "properties": { + "keys": { + "type": "array", + "description": "Gets the list of storage account keys and their properties for the specified storage account.", + "items": { + "$ref": "#/definitions/StorageAccountKey" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + } + }, + "StorageAccountListResult": { + "type": "object", + "description": "The response of a StorageAccount list operation.", + "properties": { + "value": { + "type": "array", + "description": "The StorageAccount items on this page", + "items": { + "$ref": "#/definitions/StorageAccount" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "StorageAccountMicrosoftEndpoints": { + "type": "object", + "description": "The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object via a microsoft routing endpoint.", + "properties": { + "blob": { + "type": "string", + "description": "Gets the blob endpoint.", + "readOnly": true + }, + "queue": { + "type": "string", + "description": "Gets the queue endpoint.", + "readOnly": true + }, + "table": { + "type": "string", + "description": "Gets the table endpoint.", + "readOnly": true + }, + "file": { + "type": "string", + "description": "Gets the file endpoint.", + "readOnly": true + }, + "web": { + "type": "string", + "description": "Gets the web endpoint.", + "readOnly": true + }, + "dfs": { + "type": "string", + "description": "Gets the dfs endpoint.", + "readOnly": true + } + } + }, + "StorageAccountMigration": { + "type": "object", + "description": "The parameters or status associated with an ongoing or enqueued storage account migration in order to update its current SKU or region.", + "properties": { + "properties": { + "$ref": "#/definitions/StorageAccountMigrationProperties", + "description": "The properties of a storage account’s ongoing or enqueued migration.", + "x-ms-client-flatten": true, + "x-ms-client-name": "StorageAccountMigrationDetails" + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "StorageAccountMigrationProperties": { + "type": "object", + "description": "The properties of a storage account's ongoing or enqueued migration.", + "properties": { + "targetSkuName": { + "$ref": "#/definitions/SkuName", + "description": "Target sku name for the account" + }, + "migrationStatus": { + "$ref": "#/definitions/migrationStatus", + "description": "Current status of migration", + "readOnly": true + }, + "migrationFailedReason": { + "type": "string", + "description": "Error code for migration failure", + "readOnly": true + }, + "migrationFailedDetailedReason": { + "type": "string", + "description": "Reason for migration failure", + "readOnly": true + } + }, + "required": [ + "targetSkuName" + ] + }, + "StorageAccountProperties": { + "type": "object", + "description": "Properties of the storage account.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "Gets the status of the storage account at the time the operation was called.", + "readOnly": true + }, + "primaryEndpoints": { + "$ref": "#/definitions/Endpoints", + "description": "Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object. Note that Standard_ZRS and Premium_LRS accounts only return the blob endpoint.", + "readOnly": true + }, + "primaryLocation": { + "type": "string", + "description": "Gets the location of the primary data center for the storage account.", + "readOnly": true + }, + "statusOfPrimary": { + "$ref": "#/definitions/AccountStatus", + "description": "Gets the status indicating whether the primary location of the storage account is available or unavailable.", + "readOnly": true + }, + "lastGeoFailoverTime": { + "type": "string", + "format": "date-time", + "description": "Gets the timestamp of the most recent instance of a failover to the secondary location. Only the most recent timestamp is retained. This element is not returned if there has never been a failover instance. Only available if the accountType is Standard_GRS or Standard_RAGRS.", + "readOnly": true + }, + "secondaryLocation": { + "type": "string", + "description": "Gets the location of the geo-replicated secondary for the storage account. Only available if the accountType is Standard_GRS or Standard_RAGRS.", + "readOnly": true + }, + "statusOfSecondary": { + "$ref": "#/definitions/AccountStatus", + "description": "Gets the status indicating whether the secondary location of the storage account is available or unavailable. Only available if the SKU name is Standard_GRS or Standard_RAGRS.", + "readOnly": true + }, + "creationTime": { + "type": "string", + "format": "date-time", + "description": "Gets the creation date and time of the storage account in UTC.", + "readOnly": true + }, + "customDomain": { + "$ref": "#/definitions/CustomDomain", + "description": "Gets the custom domain the user assigned to this storage account.", + "readOnly": true + }, + "sasPolicy": { + "$ref": "#/definitions/SasPolicy", + "description": "SasPolicy assigned to the storage account.", + "readOnly": true + }, + "keyPolicy": { + "$ref": "#/definitions/KeyPolicy", + "description": "KeyPolicy assigned to the storage account.", + "readOnly": true + }, + "keyCreationTime": { + "$ref": "#/definitions/KeyCreationTime", + "description": "Storage account keys creation time.", + "readOnly": true + }, + "secondaryEndpoints": { + "$ref": "#/definitions/Endpoints", + "description": "Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object from the secondary location of the storage account. Only available if the SKU name is Standard_RAGRS.", + "readOnly": true + }, + "encryption": { + "$ref": "#/definitions/Encryption", + "description": "Encryption settings to be used for server-side encryption for the storage account.", + "readOnly": true + }, + "accessTier": { + "$ref": "#/definitions/AccessTier", + "description": "Required for storage accounts where kind = BlobStorage. The access tier is used for billing. The 'Premium' access tier is the default value for premium block blobs storage account type and it cannot be changed for the premium block blobs storage account type.", + "readOnly": true + }, + "azureFilesIdentityBasedAuthentication": { + "$ref": "#/definitions/AzureFilesIdentityBasedAuthentication", + "description": "Provides the identity based authentication settings for Azure Files." + }, + "supportsHttpsTrafficOnly": { + "type": "boolean", + "description": "Allows https traffic only to storage service if sets to true.", + "x-ms-client-name": "EnableHttpsTrafficOnly" + }, + "networkAcls": { + "$ref": "#/definitions/NetworkRuleSet", + "description": "Network rule set", + "readOnly": true, + "x-ms-client-name": "NetworkRuleSet" + }, + "isSftpEnabled": { + "type": "boolean", + "description": "Enables Secure File Transfer Protocol, if set to true", + "x-ms-client-name": "IsSftpEnabled" + }, + "isLocalUserEnabled": { + "type": "boolean", + "description": "Enables local users feature, if set to true", + "x-ms-client-name": "IsLocalUserEnabled" + }, + "enableExtendedGroups": { + "type": "boolean", + "description": "Enables extended group support with local users feature, if set to true", + "x-ms-client-name": "EnableExtendedGroups" + }, + "isHnsEnabled": { + "type": "boolean", + "description": "Account HierarchicalNamespace enabled if sets to true.", + "x-ms-client-name": "IsHnsEnabled" + }, + "geoReplicationStats": { + "$ref": "#/definitions/GeoReplicationStats", + "description": "Geo Replication Stats", + "readOnly": true, + "x-ms-client-name": "GeoReplicationStats" + }, + "failoverInProgress": { + "type": "boolean", + "description": "If the failover is in progress, the value will be true, otherwise, it will be null.", + "readOnly": true, + "x-ms-client-name": "FailoverInProgress" + }, + "largeFileSharesState": { + "$ref": "#/definitions/LargeFileSharesState", + "description": "Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled." + }, + "privateEndpointConnections": { + "type": "array", + "description": "List of private endpoint connection associated with the specified storage account", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "readOnly": true + }, + "routingPreference": { + "$ref": "#/definitions/RoutingPreference", + "description": "Maintains information about the network routing choice opted by the user for data transfer", + "x-ms-client-name": "RoutingPreference" + }, + "dualStackEndpointPreference": { + "$ref": "#/definitions/DualStackEndpointPreference", + "description": "Maintains information about the Internet protocol opted by the user." + }, + "blobRestoreStatus": { + "$ref": "#/definitions/BlobRestoreStatus", + "description": "Blob restore status", + "readOnly": true, + "x-ms-client-name": "BlobRestoreStatus" + }, + "allowBlobPublicAccess": { + "type": "boolean", + "description": "Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is false for this property.", + "x-ms-client-name": "AllowBlobPublicAccess" + }, + "minimumTlsVersion": { + "$ref": "#/definitions/MinimumTlsVersion", + "description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property." + }, + "allowSharedKeyAccess": { + "type": "boolean", + "description": "Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true." + }, + "isNfsV3Enabled": { + "type": "boolean", + "description": "NFS 3.0 protocol support enabled if set to true.", + "x-ms-client-name": "EnableNfsV3" + }, + "allowCrossTenantReplication": { + "type": "boolean", + "description": "Allow or disallow cross AAD tenant object replication. Set this property to true for new or existing accounts only if object replication policies will involve storage accounts in different AAD tenants. The default interpretation is false for new accounts to follow best security practices by default." + }, + "defaultToOAuthAuthentication": { + "type": "boolean", + "description": "A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property." + }, + "publicNetworkAccess": { + "$ref": "#/definitions/PublicNetworkAccess", + "description": "Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account." + }, + "immutableStorageWithVersioning": { + "$ref": "#/definitions/ImmutableStorageAccount", + "description": "The property is immutable and can only be set to true at the account creation time. When set to true, it enables object level immutability for all the containers in the account by default.", + "x-ms-client-name": "ImmutableStorageWithVersioning" + }, + "allowedCopyScope": { + "$ref": "#/definitions/AllowedCopyScope", + "description": "Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet." + }, + "storageAccountSkuConversionStatus": { + "$ref": "#/definitions/StorageAccountSkuConversionStatus", + "description": "This property is readOnly and is set by server during asynchronous storage account sku conversion operations.", + "x-ms-client-name": "StorageAccountSkuConversionStatus" + }, + "dnsEndpointType": { + "$ref": "#/definitions/DnsEndpointType", + "description": "Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier." + }, + "isSkuConversionBlocked": { + "type": "boolean", + "description": "This property will be set to true or false on an event of ongoing migration. Default value is null.", + "readOnly": true, + "x-ms-client-name": "IsSkuConversionBlocked" + }, + "accountMigrationInProgress": { + "type": "boolean", + "description": "If customer initiated account migration is in progress, the value will be true else it will be null.", + "readOnly": true, + "x-ms-client-name": "AccountMigrationInProgress" + }, + "geoPriorityReplicationStatus": { + "$ref": "#/definitions/GeoPriorityReplicationStatus", + "description": "Status indicating whether Geo Priority Replication is enabled for the account." + } + } + }, + "StorageAccountPropertiesCreateParameters": { + "type": "object", + "description": "The parameters used to create the storage account.", + "properties": { + "allowedCopyScope": { + "$ref": "#/definitions/AllowedCopyScope", + "description": "Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet." + }, + "publicNetworkAccess": { + "$ref": "#/definitions/PublicNetworkAccess", + "description": "Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account. Value is optional but if passed in, must be 'Enabled', 'Disabled' or 'SecuredByPerimeter'." + }, + "sasPolicy": { + "$ref": "#/definitions/SasPolicy", + "description": "SasPolicy assigned to the storage account." + }, + "keyPolicy": { + "$ref": "#/definitions/KeyPolicy", + "description": "KeyPolicy assigned to the storage account." + }, + "customDomain": { + "$ref": "#/definitions/CustomDomain", + "description": "User domain assigned to the storage account. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property." + }, + "encryption": { + "$ref": "#/definitions/Encryption", + "description": "Encryption settings to be used for server-side encryption for the storage account." + }, + "networkAcls": { + "$ref": "#/definitions/NetworkRuleSet", + "description": "Network rule set", + "x-ms-client-name": "NetworkRuleSet" + }, + "accessTier": { + "$ref": "#/definitions/AccessTier", + "description": "Required for storage accounts where kind = BlobStorage. The access tier is used for billing. The 'Premium' access tier is the default value for premium block blobs storage account type and it cannot be changed for the premium block blobs storage account type." + }, + "azureFilesIdentityBasedAuthentication": { + "$ref": "#/definitions/AzureFilesIdentityBasedAuthentication", + "description": "Provides the identity based authentication settings for Azure Files." + }, + "supportsHttpsTrafficOnly": { + "type": "boolean", + "description": "Allows https traffic only to storage service if sets to true. The default value is true since API version 2019-04-01.", + "x-ms-client-name": "EnableHttpsTrafficOnly" + }, + "isSftpEnabled": { + "type": "boolean", + "description": "Enables Secure File Transfer Protocol, if set to true", + "x-ms-client-name": "IsSftpEnabled" + }, + "isLocalUserEnabled": { + "type": "boolean", + "description": "Enables local users feature, if set to true", + "x-ms-client-name": "IsLocalUserEnabled" + }, + "enableExtendedGroups": { + "type": "boolean", + "description": "Enables extended group support with local users feature, if set to true", + "x-ms-client-name": "EnableExtendedGroups" + }, + "isHnsEnabled": { + "type": "boolean", + "description": "Account HierarchicalNamespace enabled if sets to true.", + "x-ms-client-name": "IsHnsEnabled" + }, + "largeFileSharesState": { + "$ref": "#/definitions/LargeFileSharesState", + "description": "Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled." + }, + "routingPreference": { + "$ref": "#/definitions/RoutingPreference", + "description": "Maintains information about the network routing choice opted by the user for data transfer", + "x-ms-client-name": "RoutingPreference" + }, + "dualStackEndpointPreference": { + "$ref": "#/definitions/DualStackEndpointPreference", + "description": "Maintains information about the Internet protocol opted by the user." + }, + "allowBlobPublicAccess": { + "type": "boolean", + "description": "Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is false for this property.", + "x-ms-client-name": "AllowBlobPublicAccess" + }, + "minimumTlsVersion": { + "$ref": "#/definitions/MinimumTlsVersion", + "description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property." + }, + "allowSharedKeyAccess": { + "type": "boolean", + "description": "Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true." + }, + "isNfsV3Enabled": { + "type": "boolean", + "description": "NFS 3.0 protocol support enabled if set to true.", + "x-ms-client-name": "EnableNfsV3" + }, + "allowCrossTenantReplication": { + "type": "boolean", + "description": "Allow or disallow cross AAD tenant object replication. Set this property to true for new or existing accounts only if object replication policies will involve storage accounts in different AAD tenants. The default interpretation is false for new accounts to follow best security practices by default." + }, + "defaultToOAuthAuthentication": { + "type": "boolean", + "description": "A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property." + }, + "immutableStorageWithVersioning": { + "$ref": "#/definitions/ImmutableStorageAccount", + "description": "The property is immutable and can only be set to true at the account creation time. When set to true, it enables object level immutability for all the new containers in the account by default.", + "x-ms-client-name": "ImmutableStorageWithVersioning" + }, + "dnsEndpointType": { + "$ref": "#/definitions/DnsEndpointType", + "description": "Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier." + }, + "geoPriorityReplicationStatus": { + "$ref": "#/definitions/GeoPriorityReplicationStatus", + "description": "Status indicating whether Geo Priority Replication is enabled for the account." + } + } + }, + "StorageAccountPropertiesUpdateParameters": { + "type": "object", + "description": "The parameters used when updating a storage account.", + "properties": { + "customDomain": { + "$ref": "#/definitions/CustomDomain", + "description": "Custom domain assigned to the storage account by the user. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property." + }, + "encryption": { + "$ref": "#/definitions/Encryption", + "description": "Not applicable. Azure Storage encryption at rest is enabled by default for all storage accounts and cannot be disabled." + }, + "sasPolicy": { + "$ref": "#/definitions/SasPolicy", + "description": "SasPolicy assigned to the storage account." + }, + "keyPolicy": { + "$ref": "#/definitions/KeyPolicy", + "description": "KeyPolicy assigned to the storage account." + }, + "accessTier": { + "$ref": "#/definitions/AccessTier", + "description": "Required for storage accounts where kind = BlobStorage. The access tier is used for billing. The 'Premium' access tier is the default value for premium block blobs storage account type and it cannot be changed for the premium block blobs storage account type." + }, + "azureFilesIdentityBasedAuthentication": { + "$ref": "#/definitions/AzureFilesIdentityBasedAuthentication", + "description": "Provides the identity based authentication settings for Azure Files." + }, + "supportsHttpsTrafficOnly": { + "type": "boolean", + "description": "Allows https traffic only to storage service if sets to true.", + "x-ms-client-name": "EnableHttpsTrafficOnly" + }, + "isSftpEnabled": { + "type": "boolean", + "description": "Enables Secure File Transfer Protocol, if set to true", + "x-ms-client-name": "IsSftpEnabled" + }, + "isLocalUserEnabled": { + "type": "boolean", + "description": "Enables local users feature, if set to true", + "x-ms-client-name": "IsLocalUserEnabled" + }, + "enableExtendedGroups": { + "type": "boolean", + "description": "Enables extended group support with local users feature, if set to true", + "x-ms-client-name": "EnableExtendedGroups" + }, + "networkAcls": { + "$ref": "#/definitions/NetworkRuleSet", + "description": "Network rule set", + "x-ms-client-name": "NetworkRuleSet" + }, + "largeFileSharesState": { + "$ref": "#/definitions/LargeFileSharesState", + "description": "Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled." + }, + "routingPreference": { + "$ref": "#/definitions/RoutingPreference", + "description": "Maintains information about the network routing choice opted by the user for data transfer", + "x-ms-client-name": "RoutingPreference" + }, + "dualStackEndpointPreference": { + "$ref": "#/definitions/DualStackEndpointPreference", + "description": "Maintains information about the Internet protocol opted by the user." + }, + "allowBlobPublicAccess": { + "type": "boolean", + "description": "Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is false for this property.", + "x-ms-client-name": "AllowBlobPublicAccess" + }, + "minimumTlsVersion": { + "$ref": "#/definitions/MinimumTlsVersion", + "description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property." + }, + "allowSharedKeyAccess": { + "type": "boolean", + "description": "Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true." + }, + "allowCrossTenantReplication": { + "type": "boolean", + "description": "Allow or disallow cross AAD tenant object replication. Set this property to true for new or existing accounts only if object replication policies will involve storage accounts in different AAD tenants. The default interpretation is false for new accounts to follow best security practices by default." + }, + "defaultToOAuthAuthentication": { + "type": "boolean", + "description": "A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property." + }, + "publicNetworkAccess": { + "$ref": "#/definitions/PublicNetworkAccess", + "description": "Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account. Value is optional but if passed in, must be 'Enabled', 'Disabled' or 'SecuredByPerimeter'." + }, + "immutableStorageWithVersioning": { + "$ref": "#/definitions/ImmutableStorageAccount", + "description": "The property is immutable and can only be set to true at the account creation time. When set to true, it enables object level immutability for all the containers in the account by default.", + "x-ms-client-name": "ImmutableStorageWithVersioning" + }, + "allowedCopyScope": { + "$ref": "#/definitions/AllowedCopyScope", + "description": "Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet." + }, + "dnsEndpointType": { + "$ref": "#/definitions/DnsEndpointType", + "description": "Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier." + }, + "geoPriorityReplicationStatus": { + "$ref": "#/definitions/GeoPriorityReplicationStatus", + "description": "Status indicating whether Geo Priority Replication is enabled for the account." + } + } + }, + "StorageAccountRegenerateKeyParameters": { + "type": "object", + "description": "The parameters used to regenerate the storage account key.", + "properties": { + "keyName": { + "type": "string", + "description": "The name of storage keys that want to be regenerated, possible values are key1, key2, kerb1, kerb2." + } + }, + "required": [ + "keyName" + ] + }, + "StorageAccountSkuConversionStatus": { + "type": "object", + "description": "This defines the sku conversion status object for asynchronous sku conversions.", + "properties": { + "skuConversionStatus": { + "$ref": "#/definitions/SkuConversionStatus", + "description": "This property indicates the current sku conversion status.", + "readOnly": true + }, + "targetSkuName": { + "$ref": "#/definitions/SkuName", + "description": "This property represents the target sku name to which the account sku is being converted asynchronously." + }, + "startTime": { + "type": "string", + "description": "This property represents the sku conversion start time.", + "readOnly": true + }, + "endTime": { + "type": "string", + "description": "This property represents the sku conversion end time.", + "readOnly": true + } + } + }, + "StorageAccountUpdateParameters": { + "type": "object", + "description": "The parameters that can be provided when updating the storage account properties.", + "properties": { + "sku": { + "$ref": "#/definitions/Sku", + "description": "Gets or sets the SKU name. Note that the SKU name cannot be updated to Standard_ZRS, Premium_LRS or Premium_ZRS, nor can accounts of those SKU names be updated to any other value." + }, + "tags": { + "type": "object", + "description": "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.", + "additionalProperties": { + "type": "string" + } + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + }, + "properties": { + "$ref": "#/definitions/StorageAccountPropertiesUpdateParameters", + "description": "The parameters used when updating a storage account.", + "x-ms-client-flatten": true + }, + "kind": { + "$ref": "#/definitions/Kind", + "description": "Optional. Indicates the type of storage account. Currently only StorageV2 value supported by server." + }, + "zones": { + "type": "array", + "description": "Optional. Gets or sets the pinned logical availability zone for the storage account.", + "items": { + "type": "string" + } + }, + "placement": { + "$ref": "#/definitions/Placement", + "description": "Optional. Gets or sets the zonal placement details for the storage account." + } + } + }, + "StorageQueue": { + "type": "object", + "description": "Concrete proxy resource types can be created by aliasing this type using a specific property type.", + "properties": { + "properties": { + "$ref": "#/definitions/QueueProperties", + "description": "Queue resource properties.", + "x-ms-client-flatten": true, + "x-ms-client-name": "QueueProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "StorageSkuListResult": { + "type": "object", + "description": "The response from the List Storage SKUs operation.", + "properties": { + "value": { + "type": "array", + "description": "Get the list result of storage SKUs and their properties.", + "items": { + "$ref": "#/definitions/SkuInformation" + }, + "readOnly": true + }, + "nextLink": { + "type": "string" + } + } + }, + "StorageTaskAssignment": { + "type": "object", + "description": "The storage task assignment.", + "properties": { + "properties": { + "$ref": "#/definitions/StorageTaskAssignmentProperties", + "description": "Properties of the storage task assignment." + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "StorageTaskAssignmentExecutionContext": { + "type": "object", + "description": "Execution context of the storage task assignment.", + "properties": { + "target": { + "$ref": "#/definitions/ExecutionTarget", + "description": "Execution target of the storage task assignment" + }, + "trigger": { + "$ref": "#/definitions/ExecutionTrigger", + "description": "Execution trigger of the storage task assignment" + } + }, + "required": [ + "trigger" + ] + }, + "StorageTaskAssignmentProperties": { + "type": "object", + "description": "Properties of the storage task assignment.", + "properties": { + "taskId": { + "type": "string", + "format": "arm-id", + "description": "Id of the corresponding storage task" + }, + "enabled": { + "type": "boolean", + "description": "Whether the storage task assignment is enabled or not" + }, + "description": { + "type": "string", + "description": "Text that describes the purpose of the storage task assignment" + }, + "executionContext": { + "$ref": "#/definitions/StorageTaskAssignmentExecutionContext", + "description": "The storage task assignment execution context" + }, + "report": { + "$ref": "#/definitions/StorageTaskAssignmentReport", + "description": "The storage task assignment report" + }, + "provisioningState": { + "$ref": "#/definitions/StorageTaskAssignmentProvisioningState", + "description": "Represents the provisioning state of the storage task assignment.", + "readOnly": true + }, + "runStatus": { + "$ref": "#/definitions/StorageTaskReportProperties", + "description": "Run status of storage task assignment" + } + }, + "required": [ + "taskId", + "enabled", + "description", + "executionContext", + "report" + ] + }, + "StorageTaskAssignmentProvisioningState": { + "type": "string", + "description": "Gets the status of the storage account at the time the operation was called.", + "enum": [ + "ValidateSubscriptionQuotaBegin", + "ValidateSubscriptionQuotaEnd", + "Accepted", + "Creating", + "Succeeded", + "Deleting", + "Canceled", + "Failed" + ], + "x-ms-enum": { + "name": "StorageTaskAssignmentProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "ValidateSubscriptionQuotaBegin", + "value": "ValidateSubscriptionQuotaBegin" + }, + { + "name": "ValidateSubscriptionQuotaEnd", + "value": "ValidateSubscriptionQuotaEnd" + }, + { + "name": "Accepted", + "value": "Accepted" + }, + { + "name": "Creating", + "value": "Creating" + }, + { + "name": "Succeeded", + "value": "Succeeded" + }, + { + "name": "Deleting", + "value": "Deleting" + }, + { + "name": "Canceled", + "value": "Canceled" + }, + { + "name": "Failed", + "value": "Failed" + } + ] + } + }, + "StorageTaskAssignmentReport": { + "type": "object", + "description": "The storage task assignment report", + "properties": { + "prefix": { + "type": "string", + "description": "The container prefix for the location of storage task assignment report" + } + }, + "required": [ + "prefix" + ] + }, + "StorageTaskAssignmentUpdateExecutionContext": { + "type": "object", + "description": "Execution context of the storage task assignment update.", + "properties": { + "target": { + "$ref": "#/definitions/ExecutionTarget", + "description": "Execution target of the storage task assignment" + }, + "trigger": { + "$ref": "#/definitions/ExecutionTriggerUpdate", + "description": "Execution trigger of the storage task assignment" + } + } + }, + "StorageTaskAssignmentUpdateParameters": { + "type": "object", + "description": "Parameters of the storage task assignment update request", + "properties": { + "properties": { + "$ref": "#/definitions/StorageTaskAssignmentUpdateProperties", + "description": "Properties of the storage task assignment." + } + } + }, + "StorageTaskAssignmentUpdateProperties": { + "type": "object", + "description": "Properties of the storage task update assignment.", + "properties": { + "taskId": { + "type": "string", + "description": "Id of the corresponding storage task", + "readOnly": true + }, + "enabled": { + "type": "boolean", + "description": "Whether the storage task assignment is enabled or not" + }, + "description": { + "type": "string", + "description": "Text that describes the purpose of the storage task assignment" + }, + "executionContext": { + "$ref": "#/definitions/StorageTaskAssignmentUpdateExecutionContext", + "description": "The storage task assignment execution context" + }, + "report": { + "$ref": "#/definitions/StorageTaskAssignmentUpdateReport", + "description": "The storage task assignment report" + }, + "provisioningState": { + "$ref": "#/definitions/StorageTaskAssignmentProvisioningState", + "description": "Represents the provisioning state of the storage task assignment.", + "readOnly": true + }, + "runStatus": { + "$ref": "#/definitions/StorageTaskReportProperties", + "description": "Run status of storage task assignment" + } + } + }, + "StorageTaskAssignmentUpdateReport": { + "type": "object", + "description": "The storage task assignment report", + "properties": { + "prefix": { + "type": "string", + "description": "The prefix of the storage task assignment report" + } + } + }, + "StorageTaskAssignmentsList": { + "type": "object", + "description": "List of storage task assignments for the storage account", + "properties": { + "value": { + "type": "array", + "description": "The StorageTaskAssignment items on this page", + "items": { + "$ref": "#/definitions/StorageTaskAssignment" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "StorageTaskReportInstance": { + "type": "object", + "description": "Storage Tasks run report instance", + "properties": { + "properties": { + "$ref": "#/definitions/StorageTaskReportProperties", + "description": "Storage task execution report for a run instance." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "StorageTaskReportProperties": { + "type": "object", + "description": "Storage task execution report for a run instance.", + "properties": { + "taskAssignmentId": { + "type": "string", + "format": "arm-id", + "description": "Represents the Storage Task Assignment Id associated with the storage task that provided an execution context.", + "readOnly": true, + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Storage/storageAccounts/storageTaskAssignments" + } + ] + } + }, + "storageAccountId": { + "type": "string", + "format": "arm-id", + "description": "Represents the Storage Account Id where the storage task definition was applied and executed.", + "readOnly": true, + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Storage/storageAccounts" + } + ] + } + }, + "startTime": { + "type": "string", + "description": "Start time of the run instance. Filter options such as startTime gt '2023-06-26T20:51:24.4494016Z' and other comparison operators can be used as described for DateTime properties in https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators", + "readOnly": true + }, + "finishTime": { + "type": "string", + "description": "End time of the run instance. Filter options such as startTime gt '2023-06-26T20:51:24.4494016Z' and other comparison operators can be used as described for DateTime properties in https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators", + "readOnly": true + }, + "objectsTargetedCount": { + "type": "string", + "description": "Total number of objects that meet the condition as defined in the storage task assignment execution context. Filter options such as objectsTargetedCount gt 50 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators", + "readOnly": true + }, + "objectsOperatedOnCount": { + "type": "string", + "description": "Total number of objects that meet the storage tasks condition and were operated upon. Filter options such as objectsOperatedOnCount ge 100 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators", + "readOnly": true + }, + "objectFailedCount": { + "type": "string", + "description": "Total number of objects where task operation failed when was attempted. Filter options such as objectFailedCount eq 0 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators", + "readOnly": true + }, + "objectsSucceededCount": { + "type": "string", + "description": "Total number of objects where task operation succeeded when was attempted.Filter options such as objectsSucceededCount gt 150 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators", + "readOnly": true + }, + "runStatusError": { + "type": "string", + "description": "Well known Azure Storage error code that represents the error encountered during execution of the run instance.", + "readOnly": true + }, + "runStatusEnum": { + "$ref": "#/definitions/RunStatusEnum", + "description": "Represents the status of the execution.", + "readOnly": true + }, + "summaryReportPath": { + "type": "string", + "description": "Full path to the verbose report stored in the reporting container as specified in the assignment execution context for the storage account.", + "readOnly": true + }, + "taskId": { + "type": "string", + "format": "arm-id", + "description": "Storage Task Arm Id.", + "readOnly": true, + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.StorageActions/storageTasks" + } + ] + } + }, + "taskVersion": { + "type": "string", + "description": "Storage Task Version", + "readOnly": true + }, + "runResult": { + "$ref": "#/definitions/RunResult", + "description": "Represents the overall result of the execution for the run instance", + "readOnly": true + } + } + }, + "StorageTaskReportSummary": { + "type": "object", + "description": "Fetch Storage Tasks Run Summary.", + "properties": { + "value": { + "type": "array", + "description": "The StorageTaskReportInstance items on this page", + "items": { + "$ref": "#/definitions/StorageTaskReportInstance" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "Table": { + "type": "object", + "description": "Properties of the table, including Id, resource name, resource type.", + "properties": { + "properties": { + "$ref": "#/definitions/TableProperties", + "description": "Table resource properties.", + "x-ms-client-flatten": true, + "x-ms-client-name": "TableProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "TableAccessPolicy": { + "type": "object", + "description": "Table Access Policy Properties Object.", + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "description": "Start time of the access policy" + }, + "expiryTime": { + "type": "string", + "format": "date-time", + "description": "Expiry time of the access policy" + }, + "permission": { + "type": "string", + "description": "Required. List of abbreviated permissions. Supported permission values include 'r','a','u','d'" + } + }, + "required": [ + "permission" + ] + }, + "TableProperties": { + "type": "object", + "properties": { + "tableName": { + "type": "string", + "description": "Table name under the specified account", + "readOnly": true + }, + "signedIdentifiers": { + "type": "array", + "description": "List of stored access policies specified on the table.", + "items": { + "$ref": "#/definitions/TableSignedIdentifier" + } + } + } + }, + "TableServiceProperties": { + "type": "object", + "description": "The properties of a storage account’s Table service.", + "properties": { + "properties": { + "$ref": "#/definitions/TableServicePropertiesProperties", + "description": "The properties of a storage account’s Table service.", + "x-ms-client-flatten": true, + "x-ms-client-name": "TableServiceProperties" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ] + }, + "TableServicePropertiesProperties": { + "type": "object", + "description": "The properties of a storage account’s Table service.", + "properties": { + "cors": { + "$ref": "#/definitions/CorsRules", + "description": "Specifies CORS rules for the Table service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Table service." + } + } + }, + "TableSignedIdentifier": { + "type": "object", + "description": "Object to set Table Access Policy.", + "properties": { + "id": { + "type": "string", + "description": "unique-64-character-value of the stored access policy." + }, + "accessPolicy": { + "$ref": "#/definitions/TableAccessPolicy", + "description": "Access policy" + } + }, + "required": [ + "id" + ] + }, + "TagFilter": { + "type": "object", + "description": "Blob index tag based filtering for blob objects", + "properties": { + "name": { + "type": "string", + "description": "This is the filter tag name, it can have 1 - 128 characters", + "minLength": 1, + "maxLength": 128 + }, + "op": { + "type": "string", + "description": "This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported" + }, + "value": { + "type": "string", + "description": "This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters", + "minLength": 0, + "maxLength": 256 + } + }, + "required": [ + "name", + "op", + "value" + ] + }, + "TagProperty": { + "type": "object", + "description": "A tag of the LegalHold of a blob container.", + "properties": { + "tag": { + "type": "string", + "description": "The tag value.", + "readOnly": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "description": "Returns the date and time the tag was added.", + "readOnly": true + }, + "objectIdentifier": { + "type": "string", + "description": "Returns the Object ID of the user who added the tag.", + "readOnly": true + }, + "tenantId": { + "type": "string", + "description": "Returns the Tenant ID that issued the token for the user who added the tag.", + "readOnly": true + }, + "upn": { + "type": "string", + "description": "Returns the User Principal Name of the user who added the tag.", + "readOnly": true + } + } + }, + "TriggerParameters": { + "type": "object", + "description": "The trigger parameters update for the storage task assignment execution", + "properties": { + "startFrom": { + "type": "string", + "format": "date-time", + "description": "When to start task execution. This is a required field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce'" + }, + "interval": { + "type": "integer", + "format": "int32", + "description": "Run interval of task execution. This is a required field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce'", + "minimum": 1 + }, + "intervalUnit": { + "$ref": "#/definitions/IntervalUnit", + "description": "Run interval unit of task execution. This is a required field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce'" + }, + "endBy": { + "type": "string", + "format": "date-time", + "description": "When to end task execution. This is a required field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce'" + }, + "startOn": { + "type": "string", + "format": "date-time", + "description": "When to start task execution. This is a required field when ExecutionTrigger.properties.type is 'RunOnce'; this property should not be present when ExecutionTrigger.properties.type is 'OnSchedule'" + } + } + }, + "TriggerParametersUpdate": { + "type": "object", + "description": "The trigger parameters update for the storage task assignment execution", + "properties": { + "startFrom": { + "type": "string", + "format": "date-time", + "description": "When to start task execution. This is a mutable field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce'" + }, + "interval": { + "type": "integer", + "format": "int32", + "description": "Run interval of task execution. This is a mutable field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce'", + "minimum": 1 + }, + "intervalUnit": { + "$ref": "#/definitions/IntervalUnit", + "description": "Run interval unit of task execution. This is a mutable field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce'" + }, + "endBy": { + "type": "string", + "format": "date-time", + "description": "When to end task execution. This is a mutable field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce'" + }, + "startOn": { + "type": "string", + "format": "date-time", + "description": "When to start task execution. This is a mutable field when ExecutionTrigger.properties.type is 'RunOnce'; this property should not be present when ExecutionTrigger.properties.type is 'OnSchedule'" + } + } + }, + "TriggerType": { + "type": "string", + "description": "The trigger type of the storage task assignment execution", + "enum": [ + "RunOnce", + "OnSchedule" + ], + "x-ms-enum": { + "name": "TriggerType", + "modelAsString": true, + "values": [ + { + "name": "RunOnce", + "value": "RunOnce" + }, + { + "name": "OnSchedule", + "value": "OnSchedule" + } + ] + } + }, + "UpdateHistoryProperty": { + "type": "object", + "description": "An update history of the ImmutabilityPolicy of a blob container.", + "properties": { + "update": { + "$ref": "#/definitions/ImmutabilityPolicyUpdateType", + "description": "The ImmutabilityPolicy update type of a blob container, possible values include: put, lock and extend.", + "readOnly": true + }, + "immutabilityPeriodSinceCreationInDays": { + "type": "integer", + "format": "int32", + "description": "The immutability period for the blobs in the container since the policy creation, in days.", + "readOnly": true + }, + "timestamp": { + "type": "string", + "format": "date-time", + "description": "Returns the date and time the ImmutabilityPolicy was updated.", + "readOnly": true + }, + "objectIdentifier": { + "type": "string", + "description": "Returns the Object ID of the user who updated the ImmutabilityPolicy.", + "readOnly": true + }, + "tenantId": { + "type": "string", + "description": "Returns the Tenant ID that issued the token for the user who updated the ImmutabilityPolicy.", + "readOnly": true + }, + "upn": { + "type": "string", + "description": "Returns the User Principal Name of the user who updated the ImmutabilityPolicy.", + "readOnly": true + }, + "allowProtectedAppendWrites": { + "type": "boolean", + "description": "This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API." + }, + "allowProtectedAppendWritesAll": { + "type": "boolean", + "description": "This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive." + } + } + }, + "Usage": { + "type": "object", + "description": "Describes Storage Resource Usage.", + "properties": { + "unit": { + "$ref": "#/definitions/UsageUnit", + "description": "Gets the unit of measurement.", + "readOnly": true + }, + "currentValue": { + "type": "integer", + "format": "int32", + "description": "Gets the current count of the allocated resources in the subscription.", + "readOnly": true + }, + "limit": { + "type": "integer", + "format": "int32", + "description": "Gets the maximum count of the resources that can be allocated in the subscription.", + "readOnly": true + }, + "name": { + "$ref": "#/definitions/UsageName", + "description": "Gets the name of the type of usage.", + "readOnly": true + } + } + }, + "UsageListResult": { + "type": "object", + "description": "The response from the List Usages operation.", + "properties": { + "value": { + "type": "array", + "description": "Gets or sets the list of Storage Resource Usages.", + "items": { + "$ref": "#/definitions/Usage" + } + }, + "nextLink": { + "type": "string" + } + } + }, + "UsageName": { + "type": "object", + "description": "The usage names that can be used; currently limited to StorageAccount.", + "properties": { + "value": { + "type": "string", + "description": "Gets a string describing the resource name.", + "readOnly": true + }, + "localizedValue": { + "type": "string", + "description": "Gets a localized string describing the resource name.", + "readOnly": true + } + } + }, + "UsageUnit": { + "type": "string", + "description": "Gets the unit of measurement.", + "enum": [ + "Count", + "Bytes", + "Seconds", + "Percent", + "CountsPerSecond", + "BytesPerSecond" + ], + "x-ms-enum": { + "name": "UsageUnit", + "modelAsString": false + } + }, + "UserAssignedIdentity": { + "type": "object", + "description": "UserAssignedIdentity for the resource.", + "properties": { + "principalId": { + "type": "string", + "description": "The principal ID of the identity.", + "readOnly": true + }, + "clientId": { + "type": "string", + "description": "The client ID of the identity.", + "readOnly": true + } + } + }, + "VirtualNetworkRule": { + "type": "object", + "description": "Virtual Network rule.", + "properties": { + "id": { + "type": "string", + "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.", + "x-ms-client-name": "VirtualNetworkResourceId" + }, + "action": { + "type": "string", + "description": "The action of virtual network rule.", + "enum": [ + "Allow" + ], + "x-ms-enum": { + "modelAsString": false + } + }, + "state": { + "$ref": "#/definitions/State", + "description": "Gets the state of virtual network rule." + } + }, + "required": [ + "id" + ] + }, + "ZonePlacementPolicy": { + "type": "string", + "description": "The availability zone pinning policy for the storage account.", + "enum": [ + "Any", + "None" + ], + "x-ms-enum": { + "name": "ZonePlacementPolicy", + "modelAsString": true, + "values": [ + { + "name": "Any", + "value": "Any" + }, + { + "name": "None", + "value": "None" + } + ] + } + }, + "migrationStatus": { + "type": "string", + "description": "Current status of migration", + "enum": [ + "Invalid", + "SubmittedForConversion", + "InProgress", + "Complete", + "Failed" + ], + "x-ms-enum": { + "name": "migrationStatus", + "modelAsString": true, + "values": [ + { + "name": "Invalid", + "value": "Invalid" + }, + { + "name": "SubmittedForConversion", + "value": "SubmittedForConversion" + }, + { + "name": "InProgress", + "value": "InProgress" + }, + { + "name": "Complete", + "value": "Complete" + }, + { + "name": "Failed", + "value": "Failed" + } + ] + } + } + }, + "parameters": {} +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/privatelinks.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/privatelinks.json deleted file mode 100644 index 04e3c0e0114f..000000000000 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/privatelinks.json +++ /dev/null @@ -1,174 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2025-06-01", - "title": "StorageManagementClient" - }, - "paths": {}, - "definitions": { - "PrivateEndpoint": { - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The ARM identifier for Private Endpoint" - } - }, - "description": "The Private Endpoint resource." - }, - "PrivateEndpointConnection": { - "properties": { - "properties": { - "$ref": "#/definitions/PrivateEndpointConnectionProperties", - "x-ms-client-flatten": true, - "description": "Resource properties." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "description": "The Private Endpoint Connection resource." - }, - "PrivateEndpointConnectionProperties": { - "properties": { - "privateEndpoint": { - "$ref": "#/definitions/PrivateEndpoint", - "description": "The resource of private end point." - }, - "privateLinkServiceConnectionState": { - "$ref": "#/definitions/PrivateLinkServiceConnectionState", - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "provisioningState": { - "$ref": "#/definitions/PrivateEndpointConnectionProvisioningState", - "description": "The provisioning state of the private endpoint connection resource." - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "PrivateLinkServiceConnectionState": { - "properties": { - "status": { - "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "actionRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - } - }, - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "PrivateEndpointServiceConnectionStatus": { - "type": "string", - "description": "The private endpoint connection status.", - "enum": [ - "Pending", - "Approved", - "Rejected" - ], - "x-ms-enum": { - "name": "PrivateEndpointServiceConnectionStatus", - "modelAsString": true - } - }, - "PrivateEndpointConnectionProvisioningState": { - "type": "string", - "readOnly": true, - "description": "The current provisioning state.", - "enum": [ - "Succeeded", - "Creating", - "Deleting", - "Failed" - ], - "x-ms-enum": { - "name": "PrivateEndpointConnectionProvisioningState", - "modelAsString": true - } - }, - "PrivateLinkResource": { - "properties": { - "properties": { - "$ref": "#/definitions/PrivateLinkResourceProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "description": "A private link resource" - }, - "PrivateLinkResourceProperties": { - "properties": { - "groupId": { - "description": "The private link resource group id.", - "type": "string", - "readOnly": true - }, - "requiredMembers": { - "description": "The private link resource required member names.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "requiredZoneNames": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The private link resource Private link DNS zone name." - } - }, - "description": "Properties of a private link resource." - }, - "PrivateEndpointConnectionListResult": { - "properties": { - "value": { - "type": "array", - "description": "Array of private endpoint connections", - "items": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - } - }, - "description": "List of private endpoint connection associated with the specified storage account" - }, - "PrivateLinkResourceListResult": { - "properties": { - "value": { - "type": "array", - "description": "Array of private link resources", - "items": { - "$ref": "#/definitions/PrivateLinkResource" - } - } - }, - "description": "A list of private link resources" - } - }, - "parameters": { - "PrivateEndpointConnectionName": { - "name": "privateEndpointConnectionName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/queue.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/queue.json deleted file mode 100644 index c7081f00687f..000000000000 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/queue.json +++ /dev/null @@ -1,564 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2025-06-01", - "title": "StorageManagementClient", - "description": "The Azure Storage Management API." - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices": { - "get": { - "tags": [ - "QueueServiceProperties" - ], - "operationId": "QueueServices_List", - "x-ms-examples": { - "QueueServicesList": { - "$ref": "./examples/QueueServicesList.json" - } - }, - "description": "List all queue services for the storage account", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- returned the properties of a storage account’s Queue service.", - "schema": { - "$ref": "#/definitions/ListQueueServices" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/{queueServiceName}": { - "put": { - "tags": [ - "QueueServiceProperties" - ], - "operationId": "QueueServices_SetServiceProperties", - "x-ms-examples": { - "QueueServicesPut": { - "$ref": "./examples/QueueServicesPut.json" - } - }, - "description": "Sets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. ", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/QueueServiceName" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/QueueServiceProperties" - }, - "description": "The properties of a storage account’s Queue service, only properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified." - } - ], - "responses": { - "200": { - "description": "OK -- Sets The properties of a storage account’s Queue service successfully.", - "schema": { - "$ref": "#/definitions/QueueServiceProperties" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - } - }, - "get": { - "tags": [ - "QueueServiceProperties" - ], - "operationId": "QueueServices_GetServiceProperties", - "x-ms-examples": { - "QueueServicesGet": { - "$ref": "./examples/QueueServicesGet.json" - } - }, - "description": "Gets the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/QueueServiceName" - } - ], - "responses": { - "200": { - "description": "OK -- returned the properties of a storage account’s Queue service.", - "schema": { - "$ref": "#/definitions/QueueServiceProperties" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}": { - "put": { - "tags": [ - "QueueService" - ], - "operationId": "Queue_Create", - "x-ms-examples": { - "QueueOperationPut": { - "$ref": "./examples/QueueOperationPut.json" - }, - "QueueOperationPutWithMetadata": { - "$ref": "./examples/QueueOperationPutWithMetadata.json" - } - }, - "description": "Creates a new queue with the specified queue name, under the specified account.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/QueueName" - }, - { - "name": "queue", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/StorageQueue" - }, - "description": "Queue properties and metadata to be created with" - } - ], - "responses": { - "200": { - "description": "OK -- Creates a queue with the given queue name successfully.", - "schema": { - "$ref": "#/definitions/StorageQueue" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - } - }, - "patch": { - "tags": [ - "QueueService" - ], - "operationId": "Queue_Update", - "x-ms-examples": { - "QueueOperationPatch": { - "$ref": "./examples/QueueOperationPatch.json" - } - }, - "description": "Creates a new queue with the specified queue name, under the specified account.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/QueueName" - }, - { - "name": "queue", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/StorageQueue" - }, - "description": "Queue properties and metadata to be created with" - } - ], - "responses": { - "200": { - "description": "OK -- Creates a queue with the given queue name successfully.", - "schema": { - "$ref": "#/definitions/StorageQueue" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - } - }, - "get": { - "tags": [ - "QueueService" - ], - "operationId": "Queue_Get", - "x-ms-examples": { - "QueueOperationGet": { - "$ref": "./examples/QueueOperationGet.json" - } - }, - "description": "Gets the queue with the specified queue name, under the specified account if it exists.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/QueueName" - } - ], - "responses": { - "200": { - "description": "OK -- returned table with the specified table name successfully.", - "schema": { - "$ref": "#/definitions/StorageQueue" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "QueueService" - ], - "operationId": "Queue_Delete", - "x-ms-examples": { - "QueueOperationDelete": { - "$ref": "./examples/QueueOperationDelete.json" - } - }, - "description": "Deletes the queue with the specified queue name, under the specified account if it exists.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/QueueName" - } - ], - "responses": { - "204": { - "description": "No Content - Successfully deleted the queue with the specified queue name" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues": { - "get": { - "tags": [ - "QueueService" - ], - "operationId": "Queue_List", - "x-ms-examples": { - "QueueOperationList": { - "$ref": "./examples/QueueOperationList.json" - } - }, - "description": "Gets a list of all the queues under the specified storage account", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "$maxpagesize", - "in": "query", - "type": "string", - "description": "Optional, a maximum number of queues that should be included in a list queue response" - }, - { - "name": "$filter", - "in": "query", - "type": "string", - "description": "Optional, When specified, only the queues with a name starting with the given filter will be listed." - } - ], - "responses": { - "200": { - "description": "OK -- returned a list of queues successfully.", - "schema": { - "$ref": "#/definitions/ListQueueResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "definitions": { - "ListQueueServices": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/QueueServiceProperties" - }, - "description": "List of queue services returned.", - "readOnly": true - } - } - }, - "QueueServiceProperties": { - "properties": { - "properties": { - "properties": { - "cors": { - "$ref": "./common.json#/definitions/CorsRules", - "description": "Specifies CORS rules for the Queue service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Queue service." - } - }, - "x-ms-client-flatten": true, - "x-ms-client-name": "QueueServiceProperties", - "description": "The properties of a storage account’s Queue service." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "description": "The properties of a storage account’s Queue service." - }, - "StorageQueue": { - "properties": { - "properties": { - "$ref": "#/definitions/QueueProperties", - "x-ms-client-flatten": true, - "x-ms-client-name": "QueueProperties", - "description": "Queue resource properties." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ] - }, - "QueueProperties": { - "properties": { - "metadata": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "A name-value pair that represents queue metadata." - }, - "approximateMessageCount": { - "type": "integer", - "readOnly": true, - "description": "Integer indicating an approximate number of messages in the queue. This number is not lower than the actual number of messages in the queue, but could be higher." - } - } - }, - "ListQueue": { - "properties": { - "properties": { - "$ref": "#/definitions/ListQueueProperties", - "x-ms-client-flatten": true, - "x-ms-client-name": "QueueProperties", - "description": "List Queue resource properties." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ] - }, - "ListQueueProperties": { - "properties": { - "metadata": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "A name-value pair that represents queue metadata." - } - } - }, - "ListQueueResource": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ListQueue" - }, - "description": "List of queues returned.", - "readOnly": true - }, - "nextLink": { - "type": "string", - "description": "Request URL that can be used to list next page of queues", - "readOnly": true - } - }, - "description": "Response schema. Contains list of queues returned" - } - }, - "parameters": { - "QueueServiceName": { - "name": "queueServiceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Queue Service within the specified storage account. Queue Service Name must be 'default'", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "QueueServiceName", - "modelAsString": false - }, - "x-ms-parameter-location": "method" - }, - "QueueName": { - "name": "queueName", - "in": "path", - "required": true, - "type": "string", - "description": "A queue name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters.", - "maxLength": 63, - "minLength": 3, - "pattern": "^[a-z0-9]([a-z0-9]|(-(?!-))){1,61}[a-z0-9]$", - "x-ms-parameter-location": "method" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/storage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/storage.json deleted file mode 100644 index c056afb4d5d4..000000000000 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/storage.json +++ /dev/null @@ -1,6079 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "StorageManagementClient", - "description": "The Azure Storage Management API.", - "version": "2025-06-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/providers/Microsoft.Storage/operations": { - "get": { - "tags": [ - "Operations" - ], - "description": "Lists all of the available Storage Rest API operations.", - "operationId": "Operations_List", - "x-ms-examples": { - "OperationsList": { - "$ref": "./examples/OperationsList.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "#/definitions/OperationListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/skus": { - "get": { - "tags": [ - "Skus" - ], - "operationId": "Skus_List", - "description": "Lists the available SKUs supported by Microsoft.Storage for given subscription.", - "x-ms-examples": { - "SkuList": { - "$ref": "./examples/SKUList.json" - }, - "SKUListWithLocationInfo": { - "$ref": "./examples/SKUListWithLocationInfo.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- List of storage SKUs in the given subscription retrieved and returned successfully.", - "schema": { - "$ref": "#/definitions/StorageSkuListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability": { - "post": { - "tags": [ - "StorageAccounts" - ], - "operationId": "StorageAccounts_CheckNameAvailability", - "description": "Checks that the storage account name is valid and is not already in use.", - "x-ms-examples": { - "StorageAccountCheckNameAvailability": { - "$ref": "./examples/StorageAccountCheckNameAvailability.json" - } - }, - "parameters": [ - { - "name": "accountName", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/StorageAccountCheckNameAvailabilityParameters" - }, - "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." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- Operation to check the storage account name availability was successful.", - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityResult" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}": { - "put": { - "tags": [ - "StorageAccounts" - ], - "operationId": "StorageAccounts_Create", - "description": "Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.", - "x-ms-examples": { - "StorageAccountCreate": { - "$ref": "./examples/StorageAccountCreate.json" - }, - "NfsV3AccountCreate": { - "$ref": "./examples/NfsV3AccountCreate.json" - }, - "StorageAccountCreateUserAssignedEncryptionIdentityWithCMK": { - "$ref": "./examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json" - }, - "StorageAccountCreateWithImmutabilityPolicy": { - "$ref": "./examples/StorageAccountCreateWithImmutabilityPolicy.json" - }, - "StorageAccountCreateDisallowPublicNetworkAccess": { - "$ref": "./examples/StorageAccountCreateDisallowPublicNetworkAccess.json" - }, - "StorageAccountCreateEnablePublicNetworkAccess": { - "$ref": "./examples/StorageAccountCreateEnablePublicNetworkAccess.json" - }, - "StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.": { - "$ref": "./examples/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json" - }, - "StorageAccountCreateAllowedCopyScopeToPrivateLink": { - "$ref": "./examples/StorageAccountCreateAllowedCopyScopeToPrivateLink.json" - }, - "StorageAccountCreateAllowedCopyScopeToAAD": { - "$ref": "./examples/StorageAccountCreateAllowedCopyScopeToAAD.json" - }, - "StorageAccountCreatePremiumBlockBlobStorage": { - "$ref": "./examples/StorageAccountCreatePremiumBlockBlobStorage.json" - }, - "StorageAccountCreateDnsEndpointTypeToAzureDnsZone": { - "$ref": "./examples/StorageAccountCreateDnsEndpointTypeToAzureDnsZone.json" - }, - "StorageAccountCreateDnsEndpointTypeToStandard": { - "$ref": "./examples/StorageAccountCreateDnsEndpointTypeToStandard.json" - }, - "StorageAccountCreate_placement": { - "$ref": "./examples/StorageAccountCreate_placement.json" - }, - "StorageAccountCreate_zones": { - "$ref": "./examples/StorageAccountCreate_zones.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/StorageAccountCreateParameters" - }, - "description": "The parameters to provide for the created account." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- returned when the storage account was already created from a previous request with the same properties specified in the request body.", - "schema": { - "$ref": "#/definitions/StorageAccount" - } - }, - "202": { - "description": "Accepted -- Create or update storage account request accepted; operation will complete asynchronously." - } - }, - "x-ms-long-running-operation": true - }, - "delete": { - "tags": [ - "StorageAccounts" - ], - "operationId": "StorageAccounts_Delete", - "description": "Deletes a storage account in Microsoft Azure.", - "x-ms-examples": { - "StorageAccountDelete": { - "$ref": "./examples/StorageAccountDelete.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- storage account deleted successfully." - }, - "204": { - "description": "NoContent -- account does not exist in the subscription." - } - } - }, - "get": { - "tags": [ - "StorageAccounts" - ], - "operationId": "StorageAccounts_GetProperties", - "description": "Returns the properties for the specified storage account including but not limited to name, SKU name, location, and account status. The ListKeys operation should be used to retrieve storage keys.", - "x-ms-examples": { - "StorageAccountGetProperties": { - "$ref": "./examples/StorageAccountGetProperties.json" - }, - "StorageAccountGetPropertiesCMKEnabled": { - "$ref": "./examples/StorageAccountGetPropertiesCMKEnabled.json" - }, - "StorageAccountGetAsyncSkuConversionStatus": { - "$ref": "./examples/StorageAccountGetAsyncSkuConversionStatus.json" - }, - "StorageAccountGetPropertiesCMKVersionExpirationTime": { - "$ref": "./examples/StorageAccountGetPropertiesCMKVersionExpirationTime.json" - }, - "StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue": { - "$ref": "./examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverTrue.json" - }, - "StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse": { - "$ref": "./examples/StorageAccountGetPropertiesGeoReplicationStatscanFailoverFalse.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "$expand", - "description": "May be used to expand the properties within account's properties. By default, data is not included when fetching properties. Currently we only support geoReplicationStats and blobRestoreStatus.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "geoReplicationStats", - "blobRestoreStatus" - ], - "x-ms-enum": { - "name": "StorageAccountExpand", - "modelAsString": false - } - } - ], - "responses": { - "200": { - "description": "OK -- properties retrieved successfully for the storage account.", - "schema": { - "$ref": "#/definitions/StorageAccount" - } - } - } - }, - "patch": { - "tags": [ - "StorageAccounts" - ], - "operationId": "StorageAccounts_Update", - "description": "The update operation can be used to update the SKU, encryption, access tier, or tags for a storage account. It can also be used to map the account to a custom domain. Only one custom domain is supported per storage account; the replacement/change of custom domain is not supported. In order to replace an old custom domain, the old value must be cleared/unregistered before a new value can be set. The update of multiple properties is supported. This call does not change the storage keys for the account. If you want to change the storage account keys, use the regenerate keys operation. The location and name of the storage account cannot be changed after creation.", - "x-ms-examples": { - "StorageAccountUpdate": { - "$ref": "./examples/StorageAccountUpdate.json" - }, - "StorageAccountEnableAD": { - "$ref": "./examples/StorageAccountEnableAD.json" - }, - "StorageAccountEnableCMK": { - "$ref": "./examples/StorageAccountEnableCMK.json" - }, - "StorageAccountEnableSmbOAuth": { - "$ref": "./examples/StorageAccountEnableSmbOAuth.json" - }, - "StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK": { - "$ref": "./examples/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json" - }, - "StorageAccountUpdateDisablePublicNetworkAccess": { - "$ref": "./examples/StorageAccountUpdateDisablePublicNetworkAccess.json" - }, - "StorageAccountUpdateWithImmutabilityPolicy": { - "$ref": "./examples/StorageAccountUpdateWithImmutabilityPolicy.json" - }, - "StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId": { - "$ref": "./examples/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json" - }, - "StorageAccountUpdateAllowedCopyScopeToAAD": { - "$ref": "./examples/StorageAccountUpdateAllowedCopyScopeToAAD.json" - }, - "StorageAccountUpdate_placement": { - "$ref": "./examples/StorageAccountUpdate_placement.json" - }, - "StorageAccountUpdate_zones": { - "$ref": "./examples/StorageAccountUpdate_zones.json" - }, - "StorageAccountUpdateEnableIpv6Features": { - "$ref": "./examples/StorageAccountLeverageIPv6Ability.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/StorageAccountUpdateParameters" - }, - "description": "The parameters to provide for the updated account." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- storage account properties updated successfully.", - "schema": { - "$ref": "#/definitions/StorageAccount" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/deletedAccounts": { - "get": { - "tags": [ - "DeletedAccounts" - ], - "operationId": "DeletedAccounts_List", - "description": "Lists deleted accounts under the subscription.", - "x-ms-examples": { - "DeletedAccountList": { - "$ref": "./examples/DeletedAccountList.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- List of deleted accounts was retrieved and returned successfully.", - "schema": { - "$ref": "#/definitions/DeletedAccountListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/deletedAccounts/{deletedAccountName}": { - "get": { - "tags": [ - "DeletedAccounts" - ], - "operationId": "DeletedAccounts_Get", - "description": "Get properties of specified deleted account resource.", - "x-ms-examples": { - "DeletedAccountGet": { - "$ref": "./examples/DeletedAccountGet.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/DeletedAccountName" - }, - { - "name": "location", - "in": "path", - "required": true, - "type": "string", - "description": "The location of the deleted storage account." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- properties retrieved and returned successfully for the deleted account.", - "schema": { - "$ref": "#/definitions/DeletedAccount" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts": { - "get": { - "tags": [ - "StorageAccounts" - ], - "operationId": "StorageAccounts_List", - "description": "Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this.", - "x-ms-examples": { - "StorageAccountList": { - "$ref": "./examples/StorageAccountList.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- List of storage accounts was retrieved and returned successfully.", - "schema": { - "$ref": "#/definitions/StorageAccountListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts": { - "get": { - "tags": [ - "StorageAccounts" - ], - "operationId": "StorageAccounts_ListByResourceGroup", - "description": "Lists all the storage accounts available under the given resource group. Note that storage keys are not returned; use the ListKeys operation for this.", - "x-ms-examples": { - "StorageAccountListByResourceGroup": { - "$ref": "./examples/StorageAccountListByResourceGroup.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- List of storage accounts in the given resource group retrieved and returned successfully.", - "schema": { - "$ref": "#/definitions/StorageAccountListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys": { - "post": { - "tags": [ - "StorageAccounts" - ], - "operationId": "StorageAccounts_ListKeys", - "description": "Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account.", - "x-ms-examples": { - "StorageAccountListKeys": { - "$ref": "./examples/StorageAccountListKeys.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "$expand", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "kerb" - ], - "x-ms-enum": { - "name": "ListKeyExpand" - }, - "description": "Specifies type of the key to be listed. Possible value is kerb." - } - ], - "responses": { - "200": { - "description": "OK -- list of keys retrieved and returned successfully.", - "schema": { - "$ref": "#/definitions/StorageAccountListKeysResult" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey": { - "post": { - "tags": [ - "StorageAccounts" - ], - "operationId": "StorageAccounts_RegenerateKey", - "description": "Regenerates one of the access keys or Kerberos keys for the specified storage account.", - "x-ms-examples": { - "StorageAccountRegenerateKey": { - "$ref": "./examples/StorageAccountRegenerateKey.json" - }, - "StorageAccountRegenerateKerbKey": { - "$ref": "./examples/StorageAccountRegenerateKerbKey.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "name": "regenerateKey", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/StorageAccountRegenerateKeyParameters" - }, - "description": "Specifies name of the key which should be regenerated -- key1, key2, kerb1, kerb2." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- specified key regenerated successfully.", - "schema": { - "$ref": "#/definitions/StorageAccountListKeysResult" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/usages": { - "get": { - "tags": [ - "LocationUsage" - ], - "operationId": "Usages_ListByLocation", - "description": "Gets the current usage count and the limit for the resources of the location under the subscription.", - "x-ms-examples": { - "UsageList": { - "$ref": "./examples/StorageAccountListLocationUsage.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "location", - "in": "path", - "required": true, - "type": "string", - "description": "The location of the Azure Storage resource." - } - ], - "responses": { - "200": { - "description": "OK -- current usage count and limit retrieved and returned successfully.", - "schema": { - "$ref": "#/definitions/UsageListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas": { - "post": { - "tags": [ - "StorageAccounts" - ], - "operationId": "StorageAccounts_ListAccountSAS", - "description": "List SAS credentials of a storage account.", - "x-ms-examples": { - "StorageAccountListAccountSAS": { - "$ref": "./examples/StorageAccountListAccountSAS.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/AccountSasParameters" - }, - "description": "The parameters to provide to list SAS credentials for the storage account." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- returned the account SAS created for the storage account requested.", - "schema": { - "$ref": "#/definitions/ListAccountSasResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas": { - "post": { - "tags": [ - "StorageAccounts" - ], - "operationId": "StorageAccounts_ListServiceSAS", - "description": "List service SAS credentials of a specific resource.", - "x-ms-examples": { - "StorageAccountListServiceSAS": { - "$ref": "./examples/StorageAccountListServiceSAS.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ServiceSasParameters" - }, - "description": "The parameters to provide to list service SAS credentials." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- returned the service SAS created for the storage service requested.", - "schema": { - "$ref": "#/definitions/ListServiceSasResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover": { - "post": { - "tags": [ - "StorageAccounts" - ], - "operationId": "StorageAccounts_Failover", - "description": "A failover request can be triggered for a storage account in the event a primary endpoint becomes unavailable for any reason. The failover occurs from the storage account's primary cluster to the secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover and the account is converted to LRS. In the case of a Planned Failover, the primary and secondary clusters are swapped after failover and the account remains geo-replicated. Failover should continue to be used in the event of availability issues as Planned failover is only available while the primary and secondary endpoints are available. The primary use case of a Planned Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter to 'Planned'. Learn more about the failover options here- https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance", - "x-ms-examples": { - "StorageAccountFailover": { - "$ref": "./examples/StorageAccountFailover.json" - }, - "StorageAccountFailoverPlanned": { - "$ref": "./examples/StorageAccountFailoverPlanned.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "failoverType", - "description": "The parameter is set to 'Planned' to indicate whether a Planned failover is requested.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "Planned" - ], - "x-ms-enum": { - "name": "failoverType", - "modelAsString": false - } - } - ], - "responses": { - "200": { - "description": "OK -- Returned when the storage account failover is completed, and the secondary cluster has become primary." - }, - "202": { - "description": "Accepted -- Failover request accepted; operation will complete asynchronously." - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/hnsonmigration": { - "post": { - "tags": [ - "StorageAccounts" - ], - "operationId": "StorageAccounts_HierarchicalNamespaceMigration", - "description": "Live Migration of storage account to enable Hns", - "x-ms-examples": { - "StorageAccountHierarchicalNamespaceMigration": { - "$ref": "./examples/StorageAccountHierarchicalNamespaceMigration.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "requestType", - "in": "query", - "required": true, - "type": "string", - "description": "Required. Hierarchical namespace migration type can either be a hierarchical namespace validation request 'HnsOnValidationRequest' or a hydration request 'HnsOnHydrationRequest'. The validation request will validate the migration whereas the hydration request will migrate the account." - } - ], - "responses": { - "200": { - "description": "OK -- Returned when the storage account migration to hierarchical namespace is completed." - }, - "202": { - "description": "Accepted -- Hierarchical namespace migration request accepted; operation will complete asynchronously." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/aborthnsonmigration": { - "post": { - "tags": [ - "StorageAccounts" - ], - "operationId": "StorageAccounts_AbortHierarchicalNamespaceMigration", - "description": "Abort live Migration of storage account to enable Hns", - "x-ms-examples": { - "StorageAccountAbortHierarchicalNamespaceMigration": { - "$ref": "./examples/StorageAccountAbortHierarchicalNamespaceMigration.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- Returned when the storage account migration to hierarchical namespace is aborted." - }, - "202": { - "description": "Accepted -- Abort hierarchical namespace migration request accepted; operation will complete asynchronously." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/startAccountMigration": { - "post": { - "tags": [ - "AccountMigrations" - ], - "operationId": "StorageAccounts_CustomerInitiatedMigration", - "description": "Account Migration request can be triggered for a storage account to change its redundancy level. The migration updates the non-zonal redundant storage account to a zonal redundant account or vice-versa in order to have better reliability and availability. Zone-redundant storage (ZRS) replicates your storage account synchronously across three Azure availability zones in the primary region.", - "x-ms-examples": { - "StorageAccountPostMigration": { - "$ref": "./examples/StorageAccountPostMigration.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/StorageAccountMigration" - }, - "description": "The request parameters required to perform storage account migration." - } - ], - "responses": { - "200": { - "description": "OK -- Returned when the request is just for validating the migration request, it does not actually initiate migration; applicable in cross region migration currently." - }, - "202": { - "description": "Accepted -- Migration request accepted; operation will complete asynchronously.", - "headers": { - "Location": { - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/accountMigrations/{migrationName}": { - "get": { - "tags": [ - "AccountMigrations" - ], - "operationId": "StorageAccounts_GetCustomerInitiatedMigration", - "description": "Gets the status of the ongoing migration for the specified storage account.", - "x-ms-examples": { - "StorageAccountGetMigrationFailed": { - "$ref": "./examples/StorageAccountGetMigrationFailed.json" - }, - "StorageAccountGetMigrationInProgress": { - "$ref": "./examples/StorageAccountGetMigrationInProgress.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/MigrationName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- Get the details of the ongoing or completed migration successfully.", - "schema": { - "$ref": "#/definitions/StorageAccountMigration" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/restoreBlobRanges": { - "post": { - "tags": [ - "StorageAccounts" - ], - "operationId": "StorageAccounts_RestoreBlobRanges", - "description": "Restore blobs in the specified blob ranges", - "x-ms-examples": { - "BlobRangesRestore": { - "$ref": "./examples/BlobRangesRestore.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/BlobRestoreParameters" - }, - "description": "The parameters to provide for restore blob ranges." - } - ], - "responses": { - "200": { - "description": "OK -- returned when blob ranges are restored completely with the same properties specified in the request body.", - "schema": { - "$ref": "#/definitions/BlobRestoreStatus" - } - }, - "202": { - "description": "Accepted -- Blob restore request accepted; operation will complete asynchronously.", - "schema": { - "$ref": "#/definitions/BlobRestoreStatus" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}": { - "get": { - "tags": [ - "ManagementPolicies" - ], - "operationId": "ManagementPolicies_Get", - "description": "Gets the managementpolicy associated with the specified storage account.", - "x-ms-examples": { - "StorageAccountGetManagementPolicies": { - "$ref": "./examples/StorageAccountGetManagementPolicy.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ManagementPolicyName" - } - ], - "responses": { - "200": { - "description": "OK -- Get the managementpolicy successfully.", - "schema": { - "$ref": "#/definitions/ManagementPolicy" - } - } - } - }, - "put": { - "tags": [ - "ManagementPolicies" - ], - "operationId": "ManagementPolicies_CreateOrUpdate", - "description": "Sets the managementpolicy to the specified storage account.", - "x-ms-examples": { - "StorageAccountSetManagementPolicies": { - "$ref": "./examples/StorageAccountSetManagementPolicy.json" - }, - "StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions": { - "$ref": "./examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json" - }, - "StorageAccountSetManagementPolicyWithSnapshotAndVersion": { - "$ref": "./examples/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json" - }, - "StorageAccountSetManagementPolicyForBlockAndAppendBlobs": { - "$ref": "./examples/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json" - }, - "StorageAccountSetManagementPolicy_LastTierChangeTimeActions": { - "$ref": "./examples/StorageAccountSetManagementPolicy_LastTierChangeTimeActions.json" - }, - "StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions": { - "$ref": "./examples/StorageAccountSetManagementPolicy_BaseBlobDaysAfterCreationActions.json" - }, - "StorageAccountSetManagementPolicyColdTierActions": { - "$ref": "./examples/StorageAccountSetManagementPolicyColdTierActions.json" - }, - "StorageAccountSetManagementPolicyHotTierActions": { - "$ref": "./examples/StorageAccountSetManagementPolicyHotTierActions.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ManagementPolicyName" - }, - { - "name": "properties", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ManagementPolicy" - }, - "description": "The ManagementPolicy set to a storage account." - } - ], - "responses": { - "200": { - "description": "OK -- Put managementpolicy successfully.", - "schema": { - "$ref": "#/definitions/ManagementPolicy" - } - } - } - }, - "delete": { - "tags": [ - "ManagementPolicies" - ], - "operationId": "ManagementPolicies_Delete", - "description": "Deletes the managementpolicy associated with the specified storage account.", - "x-ms-examples": { - "StorageAccountDeleteManagementPolicies": { - "$ref": "./examples/StorageAccountDeleteManagementPolicy.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ManagementPolicyName" - } - ], - "responses": { - "200": { - "description": "OK -- Delete the managementpolicy successfully." - }, - "204": { - "description": "No Content -- The managementpolicy does not exist." - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName}": { - "get": { - "tags": [ - "BlobInventoryPolicies" - ], - "operationId": "BlobInventoryPolicies_Get", - "description": "Gets the blob inventory policy associated with the specified storage account.", - "x-ms-examples": { - "StorageAccountGetBlobInventoryPolicy": { - "$ref": "./examples/StorageAccountGetBlobInventoryPolicy.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/BlobInventoryPolicyName" - } - ], - "responses": { - "200": { - "description": "OK -- Get the blob inventory policy successfully.", - "schema": { - "$ref": "#/definitions/BlobInventoryPolicy" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - } - }, - "put": { - "tags": [ - "BlobInventoryPolicies" - ], - "operationId": "BlobInventoryPolicies_CreateOrUpdate", - "description": "Sets the blob inventory policy to the specified storage account.", - "x-ms-examples": { - "StorageAccountSetBlobInventoryPolicy": { - "$ref": "./examples/StorageAccountSetBlobInventoryPolicy.json" - }, - "StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount": { - "$ref": "./examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForHnsAccount.json" - }, - "StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount": { - "$ref": "./examples/StorageAccountSetBlobInventoryPolicyIncludeDeleteAndNewSchemaForNonHnsAccount.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/BlobInventoryPolicyName" - }, - { - "name": "properties", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/BlobInventoryPolicy" - }, - "description": "The blob inventory policy set to a storage account." - } - ], - "responses": { - "200": { - "description": "OK -- Put blob inventory policy successfully.", - "schema": { - "$ref": "#/definitions/BlobInventoryPolicy" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "BlobInventoryPolicies" - ], - "operationId": "BlobInventoryPolicies_Delete", - "description": "Deletes the blob inventory policy associated with the specified storage account.", - "x-ms-examples": { - "StorageAccountDeleteBlobInventoryPolicy": { - "$ref": "./examples/StorageAccountDeleteBlobInventoryPolicy.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/BlobInventoryPolicyName" - } - ], - "responses": { - "200": { - "description": "OK -- Delete the blob inventory policy successfully." - }, - "204": { - "description": "No Content -- The blob inventory policy does not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies": { - "get": { - "tags": [ - "BlobInventoryPolicies" - ], - "operationId": "BlobInventoryPolicies_List", - "description": "Gets the blob inventory policy associated with the specified storage account.", - "x-ms-examples": { - "StorageAccountGetBlobInventoryPolicy": { - "$ref": "./examples/StorageAccountListBlobInventoryPolicy.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- Get the blob inventory policies successfully.", - "schema": { - "$ref": "#/definitions/ListBlobInventoryPolicy" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections": { - "get": { - "tags": [ - "PrivateEndpointConnections" - ], - "operationId": "PrivateEndpointConnections_List", - "description": "List all the private endpoint connections associated with the storage account.", - "x-ms-examples": { - "StorageAccountListPrivateEndpointConnections": { - "$ref": "./examples/StorageAccountListPrivateEndpointConnections.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- Successfully retrieved private endpoint connections.", - "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnectionListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}": { - "get": { - "tags": [ - "PrivateEndpointConnections" - ], - "operationId": "PrivateEndpointConnections_Get", - "description": "Gets the specified private endpoint connection associated with the storage account.", - "x-ms-examples": { - "StorageAccountGetPrivateEndpointConnection": { - "$ref": "./examples/StorageAccountGetPrivateEndpointConnection.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" - } - ], - "responses": { - "200": { - "description": "OK -- Get the private endpoint connection properties successfully.", - "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "PrivateEndpointConnections" - ], - "operationId": "PrivateEndpointConnections_Put", - "description": "Update the state of specified private endpoint connection associated with the storage account.", - "x-ms-examples": { - "StorageAccountPutPrivateEndpointConnection": { - "$ref": "./examples/StorageAccountPutPrivateEndpointConnection.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" - }, - { - "name": "properties", - "in": "body", - "required": true, - "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" - }, - "description": "The private endpoint connection properties." - } - ], - "responses": { - "200": { - "description": "OK -- Update the private endpoint connection properties successfully.", - "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "PrivateEndpointConnections" - ], - "operationId": "PrivateEndpointConnections_Delete", - "description": "Deletes the specified private endpoint connection associated with the storage account.", - "x-ms-examples": { - "StorageAccountDeletePrivateEndpointConnection": { - "$ref": "./examples/StorageAccountDeletePrivateEndpointConnection.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" - } - ], - "responses": { - "200": { - "description": "OK -- Delete the private endpoint connection successfully." - }, - "204": { - "description": "No Content -- The private endpoint connection does not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateLinkResources": { - "get": { - "tags": [ - "PrivateLinkResources" - ], - "operationId": "PrivateLinkResources_ListByStorageAccount", - "description": "Gets the private link resources that need to be created for a storage account.", - "x-ms-examples": { - "StorageAccountListPrivateLinkResources": { - "$ref": "./examples/StorageAccountListPrivateLinkResources.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved private link resources.", - "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateLinkResourceListResult" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies": { - "get": { - "tags": [ - "ObjectReplicationPolicies" - ], - "operationId": "ObjectReplicationPolicies_List", - "description": "List the object replication policies associated with the storage account.", - "x-ms-examples": { - "StorageAccountListObjectReplicationPolicies": { - "$ref": "./examples/StorageAccountListObjectReplicationPolicies.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- List object replication policies successfully.", - "schema": { - "$ref": "#/definitions/ObjectReplicationPolicies" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/objectReplicationPolicies/{objectReplicationPolicyId}": { - "get": { - "tags": [ - "ObjectReplicationPolicies" - ], - "operationId": "ObjectReplicationPolicies_Get", - "description": "Get the object replication policy of the storage account by policy ID.", - "x-ms-examples": { - "StorageAccountGetObjectReplicationPolicies": { - "$ref": "./examples/StorageAccountGetObjectReplicationPolicy.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ObjectReplicationPolicyId" - } - ], - "responses": { - "200": { - "description": "OK -- Get the object replication policy successfully.", - "schema": { - "$ref": "#/definitions/ObjectReplicationPolicy" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "ObjectReplicationPolicies" - ], - "operationId": "ObjectReplicationPolicies_CreateOrUpdate", - "description": "Create or update the object replication policy of the storage account.", - "x-ms-examples": { - "StorageAccountCreateObjectReplicationPolicyOnDestination": { - "$ref": "./examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json" - }, - "StorageAccountCreateObjectReplicationPolicyOnSource": { - "$ref": "./examples/StorageAccountCreateObjectReplicationPolicyOnSource.json" - }, - "StorageAccountUpdateObjectReplicationPolicyOnDestination": { - "$ref": "./examples/StorageAccountUpdateObjectReplicationPolicyOnDestination.json" - }, - "StorageAccountUpdateObjectReplicationPolicyOnSource": { - "$ref": "./examples/StorageAccountUpdateObjectReplicationPolicyOnSource.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ObjectReplicationPolicyId" - }, - { - "name": "properties", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ObjectReplicationPolicy" - }, - "description": "The object replication policy set to a storage account. A unique policy ID will be created if absent." - } - ], - "responses": { - "200": { - "description": "OK -- Put object replication policy successfully.", - "schema": { - "$ref": "#/definitions/ObjectReplicationPolicy" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "ObjectReplicationPolicies" - ], - "operationId": "ObjectReplicationPolicies_Delete", - "description": "Deletes the object replication policy associated with the specified storage account.", - "x-ms-examples": { - "StorageAccountDeleteObjectReplicationPolicies": { - "$ref": "./examples/StorageAccountDeleteObjectReplicationPolicy.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ObjectReplicationPolicyId" - } - ], - "responses": { - "200": { - "description": "OK -- Delete the object replication policy successfully." - }, - "204": { - "description": "No Content -- The object replication policy does not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/revokeUserDelegationKeys": { - "post": { - "tags": [ - "StorageAccounts" - ], - "operationId": "StorageAccounts_RevokeUserDelegationKeys", - "description": "Revoke user delegation keys.", - "x-ms-examples": { - "StorageAccountRevokeUserDelegationKeys": { - "$ref": "./examples/StorageAccountRevokeUserDelegationKeys.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "name": "accountName", - "in": "path", - "required": true, - "type": "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.", - "maxLength": 24, - "minLength": 3 - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- revoke user delegation keys succeeded." - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers": { - "get": { - "tags": [ - "LocalUsers" - ], - "operationId": "LocalUsers_List", - "description": "List the local users associated with the storage account.", - "x-ms-examples": { - "ListLocalUsers": { - "$ref": "./examples/LocalUsersList.json" - }, - "ListNFSv3EnabledLocalUsers": { - "$ref": "./examples/LocalUsersListNFSv3Enabled.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "$maxpagesize", - "in": "query", - "type": "integer", - "minimum": 1, - "maximum": 5000, - "format": "int32", - "description": "Optional, specifies the maximum number of local users that will be included in the list response." - }, - { - "name": "$filter", - "in": "query", - "type": "string", - "description": "Optional. When specified, only local user names starting with the filter will be listed." - }, - { - "name": "$include", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "nfsv3" - ], - "x-ms-enum": { - "name": "ListLocalUserIncludeParam", - "modelAsString": true - }, - "description": "Optional, when specified, will list local users enabled for the specific protocol. Lists all users by default." - } - ], - "responses": { - "200": { - "description": "OK -- List local users successfully.", - "schema": { - "$ref": "#/definitions/LocalUsers" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}": { - "get": { - "tags": [ - "LocalUsers" - ], - "operationId": "LocalUsers_Get", - "description": "Get the local user of the storage account by username.", - "x-ms-examples": { - "GetLocalUser": { - "$ref": "./examples/LocalUserGet.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/Username" - } - ], - "responses": { - "200": { - "description": "OK -- Get the local user properties successfully.", - "schema": { - "$ref": "#/definitions/LocalUser" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "put": { - "tags": [ - "LocalUsers" - ], - "operationId": "LocalUsers_CreateOrUpdate", - "description": "Create or update the properties of a local user associated with the storage account. Properties for NFSv3 enablement and extended groups cannot be set with other properties.", - "x-ms-examples": { - "CreateLocalUser": { - "$ref": "./examples/LocalUserCreate.json" - }, - "CreateNFSv3EnabledLocalUser": { - "$ref": "./examples/LocalUserCreateNFSv3Enabled.json" - }, - "UpdateLocalUser": { - "$ref": "./examples/LocalUserUpdate.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/Username" - }, - { - "name": "properties", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/LocalUser" - }, - "description": "The local user associated with a storage account." - } - ], - "responses": { - "200": { - "description": "OK -- Put local user successfully.", - "schema": { - "$ref": "#/definitions/LocalUser" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "LocalUsers" - ], - "operationId": "LocalUsers_Delete", - "description": "Deletes the local user associated with the specified storage account.", - "x-ms-examples": { - "DeleteLocalUser": { - "$ref": "./examples/LocalUserDelete.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/Username" - } - ], - "responses": { - "200": { - "description": "OK -- Delete the local user successfully." - }, - "204": { - "description": "No content -- Delete the local user successfully." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}/listKeys": { - "post": { - "tags": [ - "LocalUsers" - ], - "operationId": "LocalUsers_ListKeys", - "description": "List SSH authorized keys and shared key of the local user.", - "x-ms-examples": { - "ListLocalUserKeys": { - "$ref": "./examples/LocalUserListKeys.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/Username" - } - ], - "responses": { - "200": { - "description": "OK -- Get the local user keys successfully.", - "schema": { - "$ref": "#/definitions/LocalUserKeys" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}/regeneratePassword": { - "post": { - "tags": [ - "LocalUsers" - ], - "operationId": "LocalUsers_RegeneratePassword", - "description": "Regenerate the local user SSH password.", - "x-ms-examples": { - "RegenerateLocalUserPassword": { - "$ref": "./examples/LocalUserRegeneratePassword.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/Username" - } - ], - "responses": { - "200": { - "description": "OK -- Regenerate local user password successfully.", - "schema": { - "$ref": "#/definitions/LocalUserRegeneratePasswordResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}": { - "put": { - "tags": [ - "EncryptionScopes" - ], - "operationId": "EncryptionScopes_Put", - "description": "Synchronously creates or updates an encryption scope under the specified storage account. If an encryption scope is already created and a subsequent request is issued with different properties, the encryption scope properties will be updated per the specified request.", - "x-ms-examples": { - "StorageAccountPutEncryptionScope": { - "$ref": "./examples/StorageAccountPutEncryptionScope.json" - }, - "StorageAccountPutEncryptionScopeWithInfrastructureEncryption": { - "$ref": "./examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/EncryptionScopeName" - }, - { - "name": "encryptionScope", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/EncryptionScope" - }, - "description": "Encryption scope properties to be used for the create or update." - } - ], - "responses": { - "201": { - "description": "Created -- Create encryption scope operation completed successfully.", - "schema": { - "$ref": "#/definitions/EncryptionScope" - } - }, - "200": { - "description": "OK -- Update encryption scope operation completed successfully.", - "schema": { - "$ref": "#/definitions/EncryptionScope" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "patch": { - "tags": [ - "EncryptionScopes" - ], - "operationId": "EncryptionScopes_Patch", - "description": "Update encryption scope properties as specified in the request body. Update fails if the specified encryption scope does not already exist.", - "x-ms-examples": { - "StorageAccountPatchEncryptionScope": { - "$ref": "./examples/StorageAccountPatchEncryptionScope.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/EncryptionScopeName" - }, - { - "name": "encryptionScope", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/EncryptionScope" - }, - "description": "Encryption scope properties to be used for the update." - } - ], - "responses": { - "200": { - "description": "OK -- Update encryption scope operation completed successfully.", - "schema": { - "$ref": "#/definitions/EncryptionScope" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "get": { - "tags": [ - "EncryptionScopes" - ], - "operationId": "EncryptionScopes_Get", - "description": "Returns the properties for the specified encryption scope.", - "x-ms-examples": { - "StorageAccountGetEncryptionScope": { - "$ref": "./examples/StorageAccountGetEncryptionScope.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/EncryptionScopeName" - } - ], - "responses": { - "200": { - "description": "OK -- Get encryption scope operation completed successfully.", - "schema": { - "$ref": "#/definitions/EncryptionScope" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes": { - "get": { - "tags": [ - "EncryptionScopes" - ], - "operationId": "EncryptionScopes_List", - "description": "Lists all the encryption scopes available under the specified storage account.", - "x-ms-examples": { - "StorageAccountEncryptionScopeList": { - "$ref": "./examples/StorageAccountEncryptionScopeList.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ResourceGroupName" - }, - { - "$ref": "#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "$maxpagesize", - "in": "query", - "type": "integer", - "minimum": 1, - "maximum": 5000, - "format": "int32", - "description": "Optional, specifies the maximum number of encryption scopes that will be included in the list response." - }, - { - "name": "$filter", - "in": "query", - "type": "string", - "description": "Optional. When specified, only encryption scope names starting with the filter will be listed." - }, - { - "name": "$include", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "All", - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "ListEncryptionScopesInclude", - "modelAsString": true - }, - "description": "Optional, when specified, will list encryption scopes with the specific state. Defaults to All" - } - ], - "responses": { - "200": { - "description": "OK -- List encryption scopes operation completed successfully.", - "schema": { - "$ref": "#/definitions/EncryptionScopeListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "definitions": { - "OperationListResult": { - "description": "Result of the request to list Storage operations. It contains a list of operations and a URL link to get the next set of results.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Operation" - }, - "description": "List of Storage operations supported by the Storage resource provider." - } - } - }, - "Operation": { - "description": "Storage REST API operation definition.", - "type": "object", - "properties": { - "name": { - "description": "Operation name: {provider}/{resource}/{operation}", - "type": "string" - }, - "display": { - "description": "Display metadata associated with the operation.", - "properties": { - "provider": { - "description": "Service provider: Microsoft Storage.", - "type": "string" - }, - "resource": { - "description": "Resource on which the operation is performed etc.", - "type": "string" - }, - "operation": { - "description": "Type of operation: get, read, delete, etc.", - "type": "string" - }, - "description": { - "description": "Description of the operation.", - "type": "string" - } - } - }, - "origin": { - "type": "string", - "description": "The origin of operations." - }, - "properties": { - "description": "Properties of operation, include metric specifications.", - "x-ms-client-flatten": true, - "x-ms-client-name": "OperationProperties", - "$ref": "#/definitions/OperationProperties" - } - } - }, - "OperationProperties": { - "description": "Properties of operation, include metric specifications.", - "properties": { - "serviceSpecification": { - "$ref": "#/definitions/ServiceSpecification", - "description": "One property of operation, include metric specifications." - } - } - }, - "ServiceSpecification": { - "description": "One property of operation, include metric specifications.", - "properties": { - "metricSpecifications": { - "description": "Metric specifications of operation.", - "type": "array", - "items": { - "$ref": "#/definitions/MetricSpecification" - } - } - } - }, - "MetricSpecification": { - "description": "Metric specification of operation.", - "properties": { - "name": { - "type": "string", - "description": "Name of metric specification." - }, - "displayName": { - "type": "string", - "description": "Display name of metric specification." - }, - "displayDescription": { - "type": "string", - "description": "Display description of metric specification." - }, - "unit": { - "type": "string", - "description": "Unit could be Bytes or Count." - }, - "dimensions": { - "description": "Dimensions of blobs, including blob type and access tier.", - "type": "array", - "items": { - "$ref": "#/definitions/Dimension" - } - }, - "aggregationType": { - "type": "string", - "description": "Aggregation type could be Average." - }, - "fillGapWithZero": { - "type": "boolean", - "description": "The property to decide fill gap with zero or not." - }, - "category": { - "type": "string", - "description": "The category this metric specification belong to, could be Capacity." - }, - "resourceIdDimensionNameOverride": { - "type": "string", - "description": "Account Resource Id." - } - } - }, - "Dimension": { - "description": "Dimension of blobs, possibly be blob type or access tier.", - "properties": { - "name": { - "type": "string", - "description": "Display name of dimension." - }, - "displayName": { - "type": "string", - "description": "Display name of dimension." - } - } - }, - "StorageAccountCheckNameAvailabilityParameters": { - "properties": { - "name": { - "type": "string", - "description": "The storage account name." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Storage/storageAccounts" - ], - "x-ms-enum": { - "name": "Type", - "modelAsString": false - }, - "description": "The type of resource, Microsoft.Storage/storageAccounts" - } - }, - "required": [ - "name", - "type" - ], - "description": "The parameters used to check the availability of the storage account name." - }, - "SKUCapability": { - "properties": { - "name": { - "readOnly": true, - "type": "string", - "description": "The name of capability, The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc." - }, - "value": { - "readOnly": true, - "type": "string", - "description": "A string value to indicate states of given capability. Possibly 'true' or 'false'." - } - }, - "description": "The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc." - }, - "Restriction": { - "properties": { - "type": { - "readOnly": true, - "type": "string", - "description": "The type of restrictions. As of now only possible value for this is location." - }, - "values": { - "readOnly": true, - "type": "array", - "items": { - "type": "string" - }, - "description": "The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted." - }, - "reasonCode": { - "type": "string", - "enum": [ - "QuotaId", - "NotAvailableForSubscription" - ], - "x-ms-enum": { - "name": "ReasonCode", - "modelAsString": true - }, - "description": "The reason for the restriction. As of now this can be \"QuotaId\" or \"NotAvailableForSubscription\". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The \"NotAvailableForSubscription\" is related to capacity at DC." - } - }, - "description": "The restriction because of which SKU cannot be used." - }, - "StorageSkuListResult": { - "properties": { - "value": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/SkuInformation" - }, - "description": "Get the list result of storage SKUs and their properties." - } - }, - "description": "The response from the List Storage SKUs operation." - }, - "CheckNameAvailabilityResult": { - "properties": { - "nameAvailable": { - "readOnly": true, - "type": "boolean", - "description": "Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or is invalid and cannot be used." - }, - "reason": { - "readOnly": true, - "type": "string", - "description": "Gets the reason that a storage account name could not be used. The Reason element is only returned if NameAvailable is false.", - "enum": [ - "AccountNameInvalid", - "AlreadyExists" - ], - "x-ms-enum": { - "name": "Reason", - "modelAsString": false - } - }, - "message": { - "readOnly": true, - "type": "string", - "description": "Gets an error message explaining the Reason value in more detail." - } - }, - "description": "The CheckNameAvailability operation response." - }, - "SkuInformation": { - "properties": { - "name": { - "$ref": "./common.json#/definitions/SkuName" - }, - "tier": { - "$ref": "./common.json#/definitions/Tier" - }, - "resourceType": { - "readOnly": true, - "type": "string", - "description": "The type of the resource, usually it is 'storageAccounts'." - }, - "kind": { - "readOnly": true, - "type": "string", - "description": "Indicates the type of storage account.", - "enum": [ - "Storage", - "StorageV2", - "BlobStorage", - "FileStorage", - "BlockBlobStorage" - ], - "x-ms-enum": { - "name": "Kind", - "modelAsString": true - } - }, - "locations": { - "readOnly": true, - "type": "array", - "items": { - "type": "string" - }, - "description": "The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.)." - }, - "locationInfo": { - "type": "array", - "items": { - "type": "object", - "properties": { - "location": { - "readOnly": true, - "type": "string", - "description": "Describes the location for the product where storage account resource can be created." - }, - "zones": { - "readOnly": true, - "type": "array", - "items": { - "type": "string" - }, - "description": "Describes the available zones for the product where storage account resource can be created." - } - } - } - }, - "capabilities": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/SKUCapability" - }, - "description": "The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc." - }, - "restrictions": { - "type": "array", - "items": { - "$ref": "#/definitions/Restriction" - }, - "description": "The restrictions because of which SKU cannot be used. This is empty if there are no restrictions." - } - }, - "required": [ - "name" - ], - "description": "Storage SKU and its properties" - }, - "CustomDomain": { - "properties": { - "name": { - "type": "string", - "description": "Gets or sets the custom domain name assigned to the storage account. Name is the CNAME source." - }, - "useSubDomainName": { - "type": "boolean", - "description": "Indicates whether indirect CName validation is enabled. Default value is false. This should only be set on updates." - } - }, - "required": [ - "name" - ], - "description": "The custom domain assigned to this storage account. This can be set via Update." - }, - "SasPolicy": { - "properties": { - "sasExpirationPeriod": { - "type": "string", - "example": "1.15:59:59", - "description": "The SAS expiration period, DD.HH:MM:SS." - }, - "expirationAction": { - "type": "string", - "enum": [ - "Log", - "Block" - ], - "x-ms-enum": { - "name": "ExpirationAction", - "modelAsString": true - }, - "default": "Log", - "description": "The SAS Expiration Action defines the action to be performed when sasPolicy.sasExpirationPeriod is violated. The 'Log' action can be used for audit purposes and the 'Block' action can be used to block and deny the usage of SAS tokens that do not adhere to the sas policy expiration period." - } - }, - "required": [ - "sasExpirationPeriod", - "expirationAction" - ], - "description": "SasPolicy assigned to the storage account." - }, - "KeyPolicy": { - "properties": { - "keyExpirationPeriodInDays": { - "type": "integer", - "description": "The key expiration period in days.", - "format": "int32" - } - }, - "required": [ - "keyExpirationPeriodInDays" - ], - "description": "KeyPolicy assigned to the storage account." - }, - "KeyCreationTime": { - "properties": { - "key1": { - "type": "string", - "format": "date-time", - "example": "2021-02-03T05:57:30.917Z" - }, - "key2": { - "type": "string", - "format": "date-time", - "example": "2021-02-03T05:57:30.917Z" - } - }, - "description": "Storage account keys creation time." - }, - "EncryptionService": { - "properties": { - "enabled": { - "type": "boolean", - "description": "A boolean indicating whether or not the service encrypts the data as it is stored. Encryption at rest is enabled by default today and cannot be disabled." - }, - "lastEnabledTime": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "Gets a rough estimate of the date/time when the encryption was last enabled by the user. Data is encrypted at rest by default today and cannot be disabled." - }, - "keyType": { - "type": "string", - "description": "Encryption key type to be used for the encryption service. 'Account' key type implies that an account-scoped encryption key will be used. 'Service' key type implies that a default service key is used.", - "enum": [ - "Service", - "Account" - ], - "x-ms-enum": { - "name": "KeyType", - "modelAsString": true - }, - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "description": "A service that allows server-side encryption to be used." - }, - "EncryptionServices": { - "properties": { - "blob": { - "$ref": "#/definitions/EncryptionService", - "description": "The encryption function of the blob storage service." - }, - "file": { - "$ref": "#/definitions/EncryptionService", - "description": "The encryption function of the file storage service." - }, - "table": { - "$ref": "#/definitions/EncryptionService", - "description": "The encryption function of the table storage service." - }, - "queue": { - "$ref": "#/definitions/EncryptionService", - "description": "The encryption function of the queue storage service." - } - }, - "description": "A list of services that support encryption." - }, - "KeyVaultProperties": { - "description": "Properties of key vault.", - "properties": { - "keyname": { - "type": "string", - "description": "The name of KeyVault key.", - "x-ms-client-name": "KeyName" - }, - "keyversion": { - "type": "string", - "description": "The version of KeyVault key.", - "x-ms-client-name": "KeyVersion" - }, - "keyvaulturi": { - "type": "string", - "description": "The Uri of KeyVault.", - "x-ms-client-name": "KeyVaultUri" - }, - "currentVersionedKeyIdentifier": { - "type": "string", - "readOnly": true, - "description": "The object identifier of the current versioned Key Vault Key in use.", - "x-ms-client-name": "CurrentVersionedKeyIdentifier" - }, - "lastKeyRotationTimestamp": { - "type": "string", - "readOnly": true, - "format": "date-time", - "description": "Timestamp of last rotation of the Key Vault Key.", - "x-ms-client-name": "LastKeyRotationTimestamp" - }, - "currentVersionedKeyExpirationTimestamp": { - "type": "string", - "readOnly": true, - "format": "date-time", - "description": "This is a read only property that represents the expiration time of the current version of the customer managed key used for encryption.", - "x-ms-client-name": "CurrentVersionedKeyExpirationTimestamp" - } - } - }, - "Encryption": { - "properties": { - "services": { - "$ref": "#/definitions/EncryptionServices", - "description": "List of services which support encryption." - }, - "keySource": { - "type": "string", - "description": "The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault", - "enum": [ - "Microsoft.Storage", - "Microsoft.Keyvault" - ], - "x-ms-enum": { - "name": "KeySource", - "modelAsString": true - }, - "default": "Microsoft.Storage" - }, - "requireInfrastructureEncryption": { - "type": "boolean", - "x-ms-client-name": "RequireInfrastructureEncryption", - "description": "A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest." - }, - "keyvaultproperties": { - "$ref": "#/definitions/KeyVaultProperties", - "x-ms-client-name": "KeyVaultProperties", - "description": "Properties provided by key vault." - }, - "identity": { - "$ref": "#/definitions/EncryptionIdentity", - "x-ms-client-name": "EncryptionIdentity", - "description": "The identity to be used with service-side encryption at rest." - } - }, - "description": "The encryption settings on the storage account." - }, - "EncryptionIdentity": { - "properties": { - "userAssignedIdentity": { - "type": "string", - "description": "Resource identifier of the UserAssigned identity to be associated with server-side encryption on the storage account.", - "x-ms-client-name": "EncryptionUserAssignedIdentity" - }, - "federatedIdentityClientId": { - "type": "string", - "description": "ClientId of the multi-tenant application to be used in conjunction with the user-assigned identity for cross-tenant customer-managed-keys server-side encryption on the storage account.", - "x-ms-client-name": "EncryptionFederatedIdentityClientId" - } - }, - "description": "Encryption identity for the storage account." - }, - "UserAssignedIdentity": { - "properties": { - "principalId": { - "readOnly": true, - "type": "string", - "description": "The principal ID of the identity." - }, - "clientId": { - "readOnly": true, - "type": "string", - "description": "The client ID of the identity." - } - }, - "description": "UserAssignedIdentity for the resource." - }, - "ResourceAccessRule": { - "properties": { - "tenantId": { - "type": "string", - "description": "Tenant Id" - }, - "resourceId": { - "type": "string", - "description": "Resource Id" - } - }, - "description": "Resource Access Rule." - }, - "VirtualNetworkRule": { - "properties": { - "id": { - "type": "string", - "x-ms-client-name": "VirtualNetworkResourceId", - "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}." - }, - "action": { - "type": "string", - "enum": [ - "Allow" - ], - "x-ms-enum": { - "name": "Action", - "modelAsString": false - }, - "default": "Allow", - "description": "The action of virtual network rule." - }, - "state": { - "type": "string", - "enum": [ - "Provisioning", - "Deprovisioning", - "Succeeded", - "Failed", - "NetworkSourceDeleted" - ], - "x-ms-enum": { - "name": "State", - "modelAsString": true - }, - "description": "Gets the state of virtual network rule." - } - }, - "required": [ - "id" - ], - "description": "Virtual Network rule." - }, - "IPRule": { - "properties": { - "value": { - "type": "string", - "x-ms-client-name": "IPAddressOrRange", - "description": "Specifies the IP or IP range in CIDR format." - }, - "action": { - "type": "string", - "enum": [ - "Allow" - ], - "x-ms-enum": { - "name": "Action", - "modelAsString": false - }, - "default": "Allow", - "description": "The action of IP ACL rule." - } - }, - "required": [ - "value" - ], - "description": "IP rule with specific IP or IP range in CIDR format." - }, - "NetworkRuleSet": { - "properties": { - "bypass": { - "type": "string", - "enum": [ - "None", - "Logging", - "Metrics", - "AzureServices" - ], - "x-ms-enum": { - "name": "Bypass", - "modelAsString": true - }, - "x-ms-client-name": "Bypass", - "default": "AzureServices", - "description": "Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, \"Logging, Metrics\"), or None to bypass none of those traffics." - }, - "resourceAccessRules": { - "type": "array", - "items": { - "description": "Resource Access Rules.", - "$ref": "#/definitions/ResourceAccessRule" - }, - "description": "Sets the resource access rules" - }, - "virtualNetworkRules": { - "type": "array", - "items": { - "description": "Virtual Network rule.", - "$ref": "#/definitions/VirtualNetworkRule" - }, - "description": "Sets the virtual network rules" - }, - "ipRules": { - "type": "array", - "items": { - "description": "IP rule with specific IP or IP range in CIDR format.", - "$ref": "#/definitions/IPRule" - }, - "description": "Sets the IP ACL rules" - }, - "ipv6Rules": { - "type": "array", - "items": { - "description": "IPv6 rule with specific IP or IP range in CIDR format.", - "$ref": "#/definitions/IPRule" - }, - "description": "Sets the IPv6 ACL rules." - }, - "defaultAction": { - "type": "string", - "enum": [ - "Allow", - "Deny" - ], - "x-ms-enum": { - "name": "DefaultAction", - "modelAsString": false - }, - "default": "Allow", - "description": "Specifies the default action of allow or deny when no other rules match." - } - }, - "required": [ - "defaultAction" - ], - "description": "Network rule set" - }, - "AzureFilesIdentityBasedAuthentication": { - "properties": { - "directoryServiceOptions": { - "type": "string", - "description": "Indicates the directory service used. Note that this enum may be extended in the future.", - "enum": [ - "None", - "AADDS", - "AD", - "AADKERB" - ], - "x-ms-enum": { - "name": "DirectoryServiceOptions", - "modelAsString": true - } - }, - "activeDirectoryProperties": { - "$ref": "#/definitions/ActiveDirectoryProperties", - "description": "Additional information about the directory service. Required if directoryServiceOptions is AD (AD DS authentication). Optional for directoryServiceOptions AADDS (Entra DS authentication) and AADKERB (Entra authentication)." - }, - "defaultSharePermission": { - "type": "string", - "description": "Default share permission for users using Kerberos authentication if RBAC role is not assigned.", - "enum": [ - "None", - "StorageFileDataSmbShareReader", - "StorageFileDataSmbShareContributor", - "StorageFileDataSmbShareElevatedContributor" - ], - "x-ms-enum": { - "name": "DefaultSharePermission", - "modelAsString": true - } - }, - "smbOAuthSettings": { - "$ref": "#/definitions/SmbOAuthSettings", - "description": "Required for Managed Identities access using OAuth over SMB." - } - }, - "required": [ - "directoryServiceOptions" - ], - "description": "Settings for Azure Files identity based authentication." - }, - "SmbOAuthSettings": { - "type": "object", - "properties": { - "isSmbOAuthEnabled": { - "type": "boolean", - "description": "Specifies if managed identities can access SMB shares using OAuth. The default interpretation is false for this property." - } - }, - "description": "Setting property for Managed Identity access over SMB using OAuth" - }, - "ActiveDirectoryProperties": { - "properties": { - "domainName": { - "type": "string", - "description": "Specifies the primary domain that the AD DNS server is authoritative for. This property is required if directoryServiceOptions is set to AD (AD DS authentication). If directoryServiceOptions is set to AADDS (Entra DS authentication), providing this property is optional, as it will be inferred automatically if omitted. If directoryServiceOptions is set to AADKERB (Entra authentication), this property is optional; it is needed to support configuration of directory- and file-level permissions via Windows File Explorer, but is not required for authentication." - }, - "netBiosDomainName": { - "type": "string", - "description": "Specifies the NetBIOS domain name. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. Otherwise, it can be omitted." - }, - "forestName": { - "type": "string", - "description": "Specifies the Active Directory forest to get. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. Otherwise, it can be omitted." - }, - "domainGuid": { - "type": "string", - "description": "Specifies the domain GUID. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. If directoryServiceOptions is set to AADDS (Entra DS authentication), this property can be omitted. If directoryServiceOptions is set to AADKERB (Entra authentication), this property is optional; it is needed to support configuration of directory- and file-level permissions via Windows File Explorer, but is not required for authentication." - }, - "domainSid": { - "type": "string", - "description": "Specifies the security identifier (SID) of the AD domain. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. Otherwise, it can be omitted." - }, - "azureStorageSid": { - "type": "string", - "description": "Specifies the security identifier (SID) for Azure Storage. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. Otherwise, it can be omitted." - }, - "samAccountName": { - "type": "string", - "description": "Specifies the Active Directory SAMAccountName for Azure Storage. If directoryServiceOptions is set to AD (AD DS authentication), this property is optional. If provided, accountType should also be provided. For directoryServiceOptions AADDS (Entra DS authentication) or AADKERB (Entra authentication), this property can be omitted." - }, - "accountType": { - "type": "string", - "description": "Specifies the Active Directory account type for Azure Storage. If directoryServiceOptions is set to AD (AD DS authentication), this property is optional. If provided, samAccountName should also be provided. For directoryServiceOptions AADDS (Entra DS authentication) or AADKERB (Entra authentication), this property can be omitted.", - "enum": [ - "User", - "Computer" - ], - "x-ms-enum": { - "name": "AccountType", - "modelAsString": true - } - } - }, - "description": "Settings properties for Active Directory (AD)." - }, - "StorageAccountPropertiesCreateParameters": { - "properties": { - "allowedCopyScope": { - "type": "string", - "description": "Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet.", - "enum": [ - "PrivateLink", - "AAD" - ], - "x-ms-enum": { - "name": "AllowedCopyScope", - "modelAsString": true - } - }, - "publicNetworkAccess": { - "$ref": "#/definitions/PublicNetworkAccess", - "description": "Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account. Value is optional but if passed in, must be 'Enabled', 'Disabled' or 'SecuredByPerimeter'." - }, - "sasPolicy": { - "$ref": "#/definitions/SasPolicy", - "description": "SasPolicy assigned to the storage account." - }, - "keyPolicy": { - "$ref": "#/definitions/KeyPolicy", - "description": "KeyPolicy assigned to the storage account." - }, - "customDomain": { - "$ref": "#/definitions/CustomDomain", - "description": "User domain assigned to the storage account. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property." - }, - "encryption": { - "$ref": "#/definitions/Encryption", - "description": "Encryption settings to be used for server-side encryption for the storage account." - }, - "networkAcls": { - "$ref": "#/definitions/NetworkRuleSet", - "x-ms-client-name": "NetworkRuleSet", - "description": "Network rule set" - }, - "accessTier": { - "type": "string", - "description": "Required for storage accounts where kind = BlobStorage. The access tier is used for billing. The 'Premium' access tier is the default value for premium block blobs storage account type and it cannot be changed for the premium block blobs storage account type.", - "enum": [ - "Hot", - "Cool", - "Premium", - "Cold" - ], - "x-ms-enum": { - "name": "AccessTier", - "modelAsString": false - } - }, - "azureFilesIdentityBasedAuthentication": { - "$ref": "#/definitions/AzureFilesIdentityBasedAuthentication", - "description": "Provides the identity based authentication settings for Azure Files." - }, - "supportsHttpsTrafficOnly": { - "type": "boolean", - "x-ms-client-name": "EnableHttpsTrafficOnly", - "description": "Allows https traffic only to storage service if sets to true. The default value is true since API version 2019-04-01." - }, - "isSftpEnabled": { - "type": "boolean", - "x-ms-client-name": "IsSftpEnabled", - "description": "Enables Secure File Transfer Protocol, if set to true" - }, - "isLocalUserEnabled": { - "type": "boolean", - "x-ms-client-name": "IsLocalUserEnabled", - "description": "Enables local users feature, if set to true" - }, - "enableExtendedGroups": { - "type": "boolean", - "x-ms-client-name": "EnableExtendedGroups", - "description": "Enables extended group support with local users feature, if set to true" - }, - "isHnsEnabled": { - "type": "boolean", - "x-ms-client-name": "IsHnsEnabled", - "description": "Account HierarchicalNamespace enabled if sets to true." - }, - "largeFileSharesState": { - "type": "string", - "enum": [ - "Disabled", - "Enabled" - ], - "x-ms-enum": { - "name": "LargeFileSharesState", - "modelAsString": true - }, - "description": "Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled." - }, - "routingPreference": { - "$ref": "#/definitions/RoutingPreference", - "x-ms-client-name": "RoutingPreference", - "description": "Maintains information about the network routing choice opted by the user for data transfer" - }, - "dualStackEndpointPreference": { - "$ref": "#/definitions/DualStackEndpointPreference", - "x-ms-client-name": "DualStackEndpointPreference", - "description": "Maintains information about the Internet protocol opted by the user." - }, - "allowBlobPublicAccess": { - "type": "boolean", - "x-ms-client-name": "AllowBlobPublicAccess", - "description": "Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is false for this property." - }, - "minimumTlsVersion": { - "type": "string", - "enum": [ - "TLS1_0", - "TLS1_1", - "TLS1_2", - "TLS1_3" - ], - "x-ms-enum": { - "name": "MinimumTlsVersion", - "modelAsString": true - }, - "description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property." - }, - "allowSharedKeyAccess": { - "type": "boolean", - "description": "Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true." - }, - "isNfsV3Enabled": { - "type": "boolean", - "x-ms-client-name": "EnableNfsV3", - "description": "NFS 3.0 protocol support enabled if set to true." - }, - "allowCrossTenantReplication": { - "type": "boolean", - "description": "Allow or disallow cross AAD tenant object replication. Set this property to true for new or existing accounts only if object replication policies will involve storage accounts in different AAD tenants. The default interpretation is false for new accounts to follow best security practices by default." - }, - "defaultToOAuthAuthentication": { - "type": "boolean", - "description": "A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property." - }, - "immutableStorageWithVersioning": { - "$ref": "#/definitions/ImmutableStorageAccount", - "x-ms-client-name": "ImmutableStorageWithVersioning", - "description": "The property is immutable and can only be set to true at the account creation time. When set to true, it enables object level immutability for all the new containers in the account by default." - }, - "dnsEndpointType": { - "type": "string", - "enum": [ - "Standard", - "AzureDnsZone" - ], - "x-ms-enum": { - "name": "DnsEndpointType", - "modelAsString": true - }, - "description": "Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier." - }, - "geoPriorityReplicationStatus": { - "$ref": "#/definitions/GeoPriorityReplicationStatus", - "description": "Status indicating whether Geo Priority Replication is enabled for the account." - } - }, - "description": "The parameters used to create the storage account." - }, - "Identity": { - "properties": { - "principalId": { - "readOnly": true, - "type": "string", - "description": "The principal ID of resource identity." - }, - "tenantId": { - "readOnly": true, - "type": "string", - "description": "The tenant ID of resource." - }, - "type": { - "type": "string", - "description": "The identity type.", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned", - "SystemAssigned,UserAssigned" - ], - "x-ms-enum": { - "name": "IdentityType", - "modelAsString": true - } - }, - "userAssignedIdentities": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentity" - }, - "description": "Gets or sets a list of key value pairs that describe the set of User Assigned identities that will be used with this storage account. The key is the ARM resource identifier of the identity. Only 1 User Assigned identity is permitted here." - } - }, - "required": [ - "type" - ], - "description": "Identity for the resource." - }, - "ExtendedLocationType": { - "type": "string", - "description": "The type of extendedLocation.", - "enum": [ - "EdgeZone" - ], - "x-ms-enum": { - "name": "ExtendedLocationTypes", - "modelAsString": true - } - }, - "ExtendedLocation": { - "description": "The complex type of the extended location.", - "properties": { - "name": { - "type": "string", - "description": "The name of the extended location." - }, - "type": { - "$ref": "#/definitions/ExtendedLocationType", - "description": "The type of the extended location." - } - } - }, - "Placement": { - "type": "object", - "description": "The complex type of the zonal placement details.", - "properties": { - "zonePlacementPolicy": { - "type": "string", - "description": "The availability zone pinning policy for the storage account.", - "enum": [ - "Any", - "None" - ], - "x-ms-enum": { - "name": "ZonePlacementPolicy", - "modelAsString": true - } - } - } - }, - "StorageAccountCreateParameters": { - "properties": { - "sku": { - "$ref": "./common.json#/definitions/Sku", - "description": "Required. Gets or sets the SKU name." - }, - "kind": { - "type": "string", - "description": "Required. Indicates the type of storage account.", - "enum": [ - "Storage", - "StorageV2", - "BlobStorage", - "FileStorage", - "BlockBlobStorage" - ], - "x-ms-enum": { - "name": "Kind", - "modelAsString": true - } - }, - "location": { - "type": "string", - "description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed." - }, - "extendedLocation": { - "$ref": "#/definitions/ExtendedLocation", - "description": "Optional. Set the extended location of the resource. If not set, the storage account will be created in Azure main region. Otherwise it will be created in the specified extended location" - }, - "zones": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Optional. Gets or sets the pinned logical availability zone for the storage account." - }, - "placement": { - "$ref": "#/definitions/Placement", - "description": "Optional. Gets or sets the zonal placement details for the storage account." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "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." - }, - "identity": { - "$ref": "#/definitions/Identity", - "description": "The identity of the resource." - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/StorageAccountPropertiesCreateParameters", - "description": "The parameters used to create the storage account." - } - }, - "required": [ - "sku", - "kind", - "location" - ], - "description": "The parameters used when creating a storage account." - }, - "Endpoints": { - "properties": { - "blob": { - "readOnly": true, - "type": "string", - "description": "Gets the blob endpoint." - }, - "queue": { - "readOnly": true, - "type": "string", - "description": "Gets the queue endpoint." - }, - "table": { - "readOnly": true, - "type": "string", - "description": "Gets the table endpoint." - }, - "file": { - "readOnly": true, - "type": "string", - "description": "Gets the file endpoint." - }, - "web": { - "readOnly": true, - "type": "string", - "description": "Gets the web endpoint." - }, - "dfs": { - "readOnly": true, - "type": "string", - "description": "Gets the dfs endpoint." - }, - "microsoftEndpoints": { - "x-ms-client-flatten": false, - "$ref": "#/definitions/StorageAccountMicrosoftEndpoints", - "description": "Gets the microsoft routing storage endpoints." - }, - "internetEndpoints": { - "x-ms-client-flatten": false, - "$ref": "#/definitions/StorageAccountInternetEndpoints", - "description": "Gets the internet routing storage endpoints" - }, - "ipv6Endpoints": { - "x-ms-client-flatten": false, - "$ref": "#/definitions/StorageAccountIpv6Endpoints", - "description": "Gets the IPv6 storage endpoints." - } - }, - "description": "The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object." - }, - "StorageAccountMicrosoftEndpoints": { - "properties": { - "blob": { - "readOnly": true, - "type": "string", - "description": "Gets the blob endpoint." - }, - "queue": { - "readOnly": true, - "type": "string", - "description": "Gets the queue endpoint." - }, - "table": { - "readOnly": true, - "type": "string", - "description": "Gets the table endpoint." - }, - "file": { - "readOnly": true, - "type": "string", - "description": "Gets the file endpoint." - }, - "web": { - "readOnly": true, - "type": "string", - "description": "Gets the web endpoint." - }, - "dfs": { - "readOnly": true, - "type": "string", - "description": "Gets the dfs endpoint." - } - }, - "description": "The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object via a microsoft routing endpoint." - }, - "StorageAccountInternetEndpoints": { - "properties": { - "blob": { - "readOnly": true, - "type": "string", - "description": "Gets the blob endpoint." - }, - "file": { - "readOnly": true, - "type": "string", - "description": "Gets the file endpoint." - }, - "web": { - "readOnly": true, - "type": "string", - "description": "Gets the web endpoint." - }, - "dfs": { - "readOnly": true, - "type": "string", - "description": "Gets the dfs endpoint." - } - }, - "description": "The URIs that are used to perform a retrieval of a public blob, file, web or dfs object via a internet routing endpoint." - }, - "StorageAccountIpv6Endpoints": { - "type": "object", - "properties": { - "blob": { - "readOnly": true, - "type": "string", - "description": "Gets the blob endpoint." - }, - "queue": { - "readOnly": true, - "type": "string", - "description": "Gets the queue endpoint." - }, - "table": { - "readOnly": true, - "type": "string", - "description": "Gets the table endpoint." - }, - "file": { - "readOnly": true, - "type": "string", - "description": "Gets the file endpoint." - }, - "web": { - "readOnly": true, - "type": "string", - "description": "Gets the web endpoint." - }, - "dfs": { - "readOnly": true, - "type": "string", - "description": "Gets the dfs endpoint." - }, - "microsoftEndpoints": { - "x-ms-client-flatten": false, - "$ref": "#/definitions/StorageAccountMicrosoftEndpoints", - "description": "Gets the microsoft routing storage endpoints." - }, - "internetEndpoints": { - "x-ms-client-flatten": false, - "$ref": "#/definitions/StorageAccountInternetEndpoints", - "description": "Gets the internet routing storage endpoints" - } - }, - "description": "The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object via an IPv6 endpoint." - }, - "GeoReplicationStats": { - "properties": { - "status": { - "readOnly": true, - "type": "string", - "description": "The status of the secondary location. Possible values are: - Live: Indicates that the secondary location is active and operational. - Bootstrap: Indicates initial synchronization from the primary location to the secondary location is in progress.This typically occurs when replication is first enabled. - Unavailable: Indicates that the secondary location is temporarily unavailable.", - "enum": [ - "Live", - "Bootstrap", - "Unavailable" - ], - "x-ms-enum": { - "name": "GeoReplicationStatus", - "modelAsString": true - } - }, - "lastSyncTime": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "All primary writes preceding this UTC date/time value are guaranteed to be available for read operations. Primary writes following this point in time may or may not be available for reads. Element may be default value if value of LastSyncTime is not available, this can happen if secondary is offline or we are in bootstrap." - }, - "canFailover": { - "readOnly": true, - "type": "boolean", - "description": "A boolean flag which indicates whether or not account failover is supported for the account." - }, - "canPlannedFailover": { - "readOnly": true, - "type": "boolean", - "description": "A boolean flag which indicates whether or not planned account failover is supported for the account." - }, - "postFailoverRedundancy": { - "readOnly": true, - "type": "string", - "description": "The redundancy type of the account after an account failover is performed.", - "enum": [ - "Standard_LRS", - "Standard_ZRS" - ], - "x-ms-enum": { - "name": "postFailoverRedundancy", - "modelAsString": true - } - }, - "postPlannedFailoverRedundancy": { - "readOnly": true, - "type": "string", - "description": "The redundancy type of the account after a planned account failover is performed.", - "enum": [ - "Standard_GRS", - "Standard_GZRS", - "Standard_RAGRS", - "Standard_RAGZRS" - ], - "x-ms-enum": { - "name": "postPlannedFailoverRedundancy", - "modelAsString": true - } - } - }, - "description": "Statistics related to replication for storage account's Blob, Table, Queue and File services. It is only available when geo-redundant replication is enabled for the storage account." - }, - "RoutingPreference": { - "properties": { - "routingChoice": { - "type": "string", - "description": "Routing Choice defines the kind of network routing opted by the user.", - "enum": [ - "MicrosoftRouting", - "InternetRouting" - ], - "x-ms-enum": { - "name": "RoutingChoice", - "modelAsString": true - } - }, - "publishMicrosoftEndpoints": { - "type": "boolean", - "description": "A boolean flag which indicates whether microsoft routing storage endpoints are to be published" - }, - "publishInternetEndpoints": { - "type": "boolean", - "description": "A boolean flag which indicates whether internet routing storage endpoints are to be published" - } - }, - "description": "Routing preference defines the type of network, either microsoft or internet routing to be used to deliver the user data, the default option is microsoft routing" - }, - "DualStackEndpointPreference": { - "type": "object", - "properties": { - "publishIpv6Endpoint": { - "type": "boolean", - "description": "A boolean flag which indicates whether IPv6 storage endpoints are to be published." - } - }, - "description": "Dual-stack endpoint preference defines whether IPv6 endpoints are going to be published." - }, - "ImmutableStorageAccount": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean", - "description": "A boolean flag which enables account-level immutability. All the containers under such an account have object-level immutability enabled by default." - }, - "immutabilityPolicy": { - "x-ms-client-flatten": false, - "$ref": "#/definitions/AccountImmutabilityPolicyProperties", - "description": "Specifies the default account-level immutability policy which is inherited and applied to objects that do not possess an explicit immutability policy at the object level. The object-level immutability policy has higher precedence than the container-level immutability policy, which has a higher precedence than the account-level immutability policy." - } - }, - "description": "This property enables and defines account-level immutability. Enabling the feature auto-enables Blob Versioning." - }, - "AccountImmutabilityPolicyProperties": { - "type": "object", - "properties": { - "immutabilityPeriodSinceCreationInDays": { - "type": "integer", - "minimum": 1, - "maximum": 146000, - "format": "int32", - "description": "The immutability period for the blobs in the container since the policy creation, in days." - }, - "state": { - "type": "string", - "description": "The ImmutabilityPolicy state defines the mode of the policy. Disabled state disables the policy, Unlocked state allows increase and decrease of immutability retention time and also allows toggling allowProtectedAppendWrites property, Locked state only allows the increase of the immutability retention time. A policy can only be created in a Disabled or Unlocked state and can be toggled between the two states. Only a policy in an Unlocked state can transition to a Locked state which cannot be reverted.", - "enum": [ - "Unlocked", - "Locked", - "Disabled" - ], - "x-ms-enum": { - "name": "AccountImmutabilityPolicyState", - "modelAsString": true - } - }, - "allowProtectedAppendWrites": { - "type": "boolean", - "description": "This property can only be changed for disabled and unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted." - } - }, - "description": "This defines account-level immutability policy properties." - }, - "StorageAccountSkuConversionStatus": { - "type": "object", - "properties": { - "skuConversionStatus": { - "readOnly": true, - "type": "string", - "description": "This property indicates the current sku conversion status.", - "enum": [ - "InProgress", - "Succeeded", - "Failed" - ], - "x-ms-enum": { - "name": "SkuConversionStatus", - "modelAsString": true - } - }, - "targetSkuName": { - "$ref": "./common.json#/definitions/SkuName", - "description": "This property represents the target sku name to which the account sku is being converted asynchronously." - }, - "startTime": { - "readOnly": true, - "type": "string", - "description": "This property represents the sku conversion start time." - }, - "endTime": { - "readOnly": true, - "type": "string", - "description": "This property represents the sku conversion end time." - } - }, - "description": "This defines the sku conversion status object for asynchronous sku conversions." - }, - "BlobRestoreStatus": { - "properties": { - "status": { - "readOnly": true, - "type": "string", - "description": "The status of blob restore progress. Possible values are: - InProgress: Indicates that blob restore is ongoing. - Complete: Indicates that blob restore has been completed successfully. - Failed: Indicates that blob restore is failed.", - "enum": [ - "InProgress", - "Complete", - "Failed" - ], - "x-ms-enum": { - "name": "BlobRestoreProgressStatus", - "modelAsString": true - } - }, - "failureReason": { - "readOnly": true, - "type": "string", - "description": "Failure reason when blob restore is failed." - }, - "restoreId": { - "readOnly": true, - "type": "string", - "description": "Id for tracking blob restore request." - }, - "parameters": { - "readOnly": true, - "$ref": "#/definitions/BlobRestoreParameters", - "description": "Blob restore request parameters." - } - }, - "description": "Blob restore status." - }, - "DeletedAccountProperties": { - "properties": { - "storageAccountResourceId": { - "readOnly": true, - "type": "string", - "description": "Full resource id of the original storage account." - }, - "location": { - "readOnly": true, - "type": "string", - "description": "Location of the deleted account." - }, - "restoreReference": { - "readOnly": true, - "type": "string", - "description": "Can be used to attempt recovering this deleted account via PutStorageAccount API." - }, - "creationTime": { - "readOnly": true, - "type": "string", - "description": "Creation time of the deleted account." - }, - "deletionTime": { - "readOnly": true, - "type": "string", - "description": "Deletion time of the deleted account." - } - }, - "description": "Attributes of a deleted storage account." - }, - "StorageAccountProperties": { - "properties": { - "provisioningState": { - "readOnly": true, - "type": "string", - "description": "Gets the status of the storage account at the time the operation was called.", - "enum": [ - "Creating", - "ResolvingDNS", - "Succeeded" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": false - } - }, - "primaryEndpoints": { - "$ref": "#/definitions/Endpoints", - "readOnly": true, - "description": "Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object. Note that Standard_ZRS and Premium_LRS accounts only return the blob endpoint." - }, - "primaryLocation": { - "readOnly": true, - "type": "string", - "description": "Gets the location of the primary data center for the storage account." - }, - "statusOfPrimary": { - "readOnly": true, - "type": "string", - "description": "Gets the status indicating whether the primary location of the storage account is available or unavailable.", - "enum": [ - "available", - "unavailable" - ], - "x-ms-enum": { - "name": "AccountStatus", - "modelAsString": false - } - }, - "lastGeoFailoverTime": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "Gets the timestamp of the most recent instance of a failover to the secondary location. Only the most recent timestamp is retained. This element is not returned if there has never been a failover instance. Only available if the accountType is Standard_GRS or Standard_RAGRS." - }, - "secondaryLocation": { - "readOnly": true, - "type": "string", - "description": "Gets the location of the geo-replicated secondary for the storage account. Only available if the accountType is Standard_GRS or Standard_RAGRS." - }, - "statusOfSecondary": { - "readOnly": true, - "type": "string", - "description": "Gets the status indicating whether the secondary location of the storage account is available or unavailable. Only available if the SKU name is Standard_GRS or Standard_RAGRS.", - "enum": [ - "available", - "unavailable" - ], - "x-ms-enum": { - "name": "AccountStatus", - "modelAsString": false - } - }, - "creationTime": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "Gets the creation date and time of the storage account in UTC." - }, - "customDomain": { - "$ref": "#/definitions/CustomDomain", - "readOnly": true, - "description": "Gets the custom domain the user assigned to this storage account." - }, - "sasPolicy": { - "$ref": "#/definitions/SasPolicy", - "readOnly": true, - "description": "SasPolicy assigned to the storage account." - }, - "keyPolicy": { - "$ref": "#/definitions/KeyPolicy", - "readOnly": true, - "description": "KeyPolicy assigned to the storage account." - }, - "keyCreationTime": { - "readOnly": true, - "$ref": "#/definitions/KeyCreationTime", - "description": "Storage account keys creation time." - }, - "secondaryEndpoints": { - "$ref": "#/definitions/Endpoints", - "readOnly": true, - "description": "Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object from the secondary location of the storage account. Only available if the SKU name is Standard_RAGRS." - }, - "encryption": { - "$ref": "#/definitions/Encryption", - "readOnly": true, - "description": "Encryption settings to be used for server-side encryption for the storage account." - }, - "accessTier": { - "readOnly": true, - "type": "string", - "description": "Required for storage accounts where kind = BlobStorage. The access tier is used for billing. The 'Premium' access tier is the default value for premium block blobs storage account type and it cannot be changed for the premium block blobs storage account type.", - "enum": [ - "Hot", - "Cool", - "Premium", - "Cold" - ], - "x-ms-enum": { - "name": "AccessTier", - "modelAsString": false - } - }, - "azureFilesIdentityBasedAuthentication": { - "$ref": "#/definitions/AzureFilesIdentityBasedAuthentication", - "description": "Provides the identity based authentication settings for Azure Files." - }, - "supportsHttpsTrafficOnly": { - "type": "boolean", - "x-ms-client-name": "EnableHttpsTrafficOnly", - "description": "Allows https traffic only to storage service if sets to true." - }, - "networkAcls": { - "$ref": "#/definitions/NetworkRuleSet", - "x-ms-client-name": "NetworkRuleSet", - "description": "Network rule set", - "readOnly": true - }, - "isSftpEnabled": { - "type": "boolean", - "x-ms-client-name": "IsSftpEnabled", - "description": "Enables Secure File Transfer Protocol, if set to true" - }, - "isLocalUserEnabled": { - "type": "boolean", - "x-ms-client-name": "IsLocalUserEnabled", - "description": "Enables local users feature, if set to true" - }, - "enableExtendedGroups": { - "type": "boolean", - "x-ms-client-name": "EnableExtendedGroups", - "description": "Enables extended group support with local users feature, if set to true" - }, - "isHnsEnabled": { - "type": "boolean", - "x-ms-client-name": "IsHnsEnabled", - "description": "Account HierarchicalNamespace enabled if sets to true." - }, - "geoReplicationStats": { - "$ref": "#/definitions/GeoReplicationStats", - "x-ms-client-name": "GeoReplicationStats", - "description": "Geo Replication Stats", - "readOnly": true - }, - "failoverInProgress": { - "type": "boolean", - "x-ms-client-name": "FailoverInProgress", - "description": "If the failover is in progress, the value will be true, otherwise, it will be null.", - "readOnly": true - }, - "largeFileSharesState": { - "type": "string", - "enum": [ - "Disabled", - "Enabled" - ], - "x-ms-enum": { - "name": "LargeFileSharesState", - "modelAsString": true - }, - "description": "Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled." - }, - "privateEndpointConnections": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" - }, - "description": "List of private endpoint connection associated with the specified storage account" - }, - "routingPreference": { - "$ref": "#/definitions/RoutingPreference", - "x-ms-client-name": "RoutingPreference", - "description": "Maintains information about the network routing choice opted by the user for data transfer" - }, - "dualStackEndpointPreference": { - "$ref": "#/definitions/DualStackEndpointPreference", - "x-ms-client-name": "DualStackEndpointPreference", - "description": "Maintains information about the Internet protocol opted by the user." - }, - "blobRestoreStatus": { - "$ref": "#/definitions/BlobRestoreStatus", - "x-ms-client-name": "BlobRestoreStatus", - "description": "Blob restore status", - "readOnly": true - }, - "allowBlobPublicAccess": { - "type": "boolean", - "x-ms-client-name": "AllowBlobPublicAccess", - "description": "Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is false for this property." - }, - "minimumTlsVersion": { - "type": "string", - "enum": [ - "TLS1_0", - "TLS1_1", - "TLS1_2", - "TLS1_3" - ], - "x-ms-enum": { - "name": "MinimumTlsVersion", - "modelAsString": true - }, - "description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property." - }, - "allowSharedKeyAccess": { - "type": "boolean", - "description": "Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true." - }, - "isNfsV3Enabled": { - "type": "boolean", - "x-ms-client-name": "EnableNfsV3", - "description": "NFS 3.0 protocol support enabled if set to true." - }, - "allowCrossTenantReplication": { - "type": "boolean", - "description": "Allow or disallow cross AAD tenant object replication. Set this property to true for new or existing accounts only if object replication policies will involve storage accounts in different AAD tenants. The default interpretation is false for new accounts to follow best security practices by default." - }, - "defaultToOAuthAuthentication": { - "type": "boolean", - "description": "A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property." - }, - "publicNetworkAccess": { - "$ref": "#/definitions/PublicNetworkAccess", - "description": "Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account." - }, - "immutableStorageWithVersioning": { - "$ref": "#/definitions/ImmutableStorageAccount", - "x-ms-client-name": "ImmutableStorageWithVersioning", - "description": "The property is immutable and can only be set to true at the account creation time. When set to true, it enables object level immutability for all the containers in the account by default." - }, - "allowedCopyScope": { - "type": "string", - "enum": [ - "PrivateLink", - "AAD" - ], - "x-ms-enum": { - "name": "AllowedCopyScope", - "modelAsString": true - }, - "description": "Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet." - }, - "storageAccountSkuConversionStatus": { - "$ref": "#/definitions/StorageAccountSkuConversionStatus", - "x-ms-client-name": "StorageAccountSkuConversionStatus", - "description": "This property is readOnly and is set by server during asynchronous storage account sku conversion operations." - }, - "dnsEndpointType": { - "type": "string", - "enum": [ - "Standard", - "AzureDnsZone" - ], - "x-ms-enum": { - "name": "DnsEndpointType", - "modelAsString": true - }, - "description": "Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier." - }, - "isSkuConversionBlocked": { - "type": "boolean", - "x-ms-client-name": "IsSkuConversionBlocked", - "description": "This property will be set to true or false on an event of ongoing migration. Default value is null.", - "readOnly": true - }, - "accountMigrationInProgress": { - "type": "boolean", - "x-ms-client-name": "AccountMigrationInProgress", - "description": "If customer initiated account migration is in progress, the value will be true else it will be null.", - "readOnly": true - }, - "geoPriorityReplicationStatus": { - "$ref": "#/definitions/GeoPriorityReplicationStatus", - "description": "Status indicating whether Geo Priority Replication is enabled for the account." - } - }, - "description": "Properties of the storage account." - }, - "DeletedAccount": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/DeletedAccountProperties", - "description": "Properties of the deleted account." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" - } - ], - "description": "Deleted storage account" - }, - "StorageAccount": { - "properties": { - "sku": { - "$ref": "./common.json#/definitions/Sku", - "readOnly": true, - "description": "Gets the SKU." - }, - "kind": { - "readOnly": true, - "type": "string", - "description": "Gets the Kind.", - "enum": [ - "Storage", - "StorageV2", - "BlobStorage", - "FileStorage", - "BlockBlobStorage" - ], - "x-ms-enum": { - "name": "Kind", - "modelAsString": true - } - }, - "identity": { - "$ref": "#/definitions/Identity", - "description": "The identity of the resource." - }, - "extendedLocation": { - "$ref": "#/definitions/ExtendedLocation", - "description": "The extendedLocation of the resource." - }, - "zones": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Optional. Gets or sets the pinned logical availability zone for the storage account." - }, - "placement": { - "$ref": "#/definitions/Placement", - "description": "Optional. Gets or sets the zonal placement details for the storage account." - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/StorageAccountProperties", - "description": "Properties of the storage account." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/TrackedResource" - } - ], - "description": "The storage account." - }, - "StorageAccountKey": { - "properties": { - "keyName": { - "readOnly": true, - "type": "string", - "description": "Name of the key." - }, - "value": { - "readOnly": true, - "type": "string", - "description": "Base 64-encoded value of the key." - }, - "permissions": { - "readOnly": true, - "type": "string", - "description": "Permissions for the key -- read-only or full permissions.", - "enum": [ - "Read", - "Full" - ], - "x-ms-enum": { - "name": "KeyPermission", - "modelAsString": false - } - }, - "creationTime": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "Creation time of the key, in round trip date format." - } - }, - "description": "An access key for the storage account." - }, - "StorageAccountListResult": { - "properties": { - "value": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/StorageAccount" - }, - "description": "Gets the list of storage accounts and their properties." - }, - "nextLink": { - "type": "string", - "description": "Request URL that can be used to query next page of storage accounts. Returned when total number of requested storage accounts exceed maximum page size.", - "readOnly": true - } - }, - "description": "The response from the List Storage Accounts operation." - }, - "DeletedAccountListResult": { - "properties": { - "value": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/DeletedAccount" - }, - "description": "Gets the list of deleted accounts and their properties." - }, - "nextLink": { - "type": "string", - "description": "Request URL that can be used to query next page of deleted accounts. Returned when total number of requested deleted accounts exceed maximum page size.", - "readOnly": true - } - }, - "description": "The response from the List Deleted Accounts operation." - }, - "StorageAccountListKeysResult": { - "properties": { - "keys": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/StorageAccountKey" - }, - "description": "Gets the list of storage account keys and their properties for the specified storage account." - } - }, - "description": "The response from the ListKeys operation." - }, - "StorageAccountRegenerateKeyParameters": { - "properties": { - "keyName": { - "type": "string", - "description": "The name of storage keys that want to be regenerated, possible values are key1, key2, kerb1, kerb2." - } - }, - "required": [ - "keyName" - ], - "description": "The parameters used to regenerate the storage account key." - }, - "StorageAccountPropertiesUpdateParameters": { - "properties": { - "customDomain": { - "$ref": "#/definitions/CustomDomain", - "description": "Custom domain assigned to the storage account by the user. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property." - }, - "encryption": { - "$ref": "#/definitions/Encryption", - "description": "Not applicable. Azure Storage encryption at rest is enabled by default for all storage accounts and cannot be disabled." - }, - "sasPolicy": { - "$ref": "#/definitions/SasPolicy", - "description": "SasPolicy assigned to the storage account." - }, - "keyPolicy": { - "$ref": "#/definitions/KeyPolicy", - "description": "KeyPolicy assigned to the storage account." - }, - "accessTier": { - "type": "string", - "description": "Required for storage accounts where kind = BlobStorage. The access tier is used for billing. The 'Premium' access tier is the default value for premium block blobs storage account type and it cannot be changed for the premium block blobs storage account type.", - "enum": [ - "Hot", - "Cool", - "Premium", - "Cold" - ], - "x-ms-enum": { - "name": "AccessTier", - "modelAsString": false - } - }, - "azureFilesIdentityBasedAuthentication": { - "$ref": "#/definitions/AzureFilesIdentityBasedAuthentication", - "description": "Provides the identity based authentication settings for Azure Files." - }, - "supportsHttpsTrafficOnly": { - "type": "boolean", - "x-ms-client-name": "EnableHttpsTrafficOnly", - "description": "Allows https traffic only to storage service if sets to true." - }, - "isSftpEnabled": { - "type": "boolean", - "x-ms-client-name": "IsSftpEnabled", - "description": "Enables Secure File Transfer Protocol, if set to true" - }, - "isLocalUserEnabled": { - "type": "boolean", - "x-ms-client-name": "IsLocalUserEnabled", - "description": "Enables local users feature, if set to true" - }, - "enableExtendedGroups": { - "type": "boolean", - "x-ms-client-name": "EnableExtendedGroups", - "description": "Enables extended group support with local users feature, if set to true" - }, - "networkAcls": { - "description": "Network rule set", - "x-ms-client-name": "NetworkRuleSet", - "$ref": "#/definitions/NetworkRuleSet" - }, - "largeFileSharesState": { - "type": "string", - "enum": [ - "Disabled", - "Enabled" - ], - "x-ms-enum": { - "name": "LargeFileSharesState", - "modelAsString": true - }, - "description": "Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled." - }, - "routingPreference": { - "$ref": "#/definitions/RoutingPreference", - "x-ms-client-name": "RoutingPreference", - "description": "Maintains information about the network routing choice opted by the user for data transfer" - }, - "dualStackEndpointPreference": { - "$ref": "#/definitions/DualStackEndpointPreference", - "x-ms-client-name": "DualStackEndpointPreference", - "description": "Maintains information about the Internet protocol opted by the user." - }, - "allowBlobPublicAccess": { - "type": "boolean", - "x-ms-client-name": "AllowBlobPublicAccess", - "description": "Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is false for this property." - }, - "minimumTlsVersion": { - "type": "string", - "enum": [ - "TLS1_0", - "TLS1_1", - "TLS1_2", - "TLS1_3" - ], - "x-ms-enum": { - "name": "MinimumTlsVersion", - "modelAsString": true - }, - "description": "Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property." - }, - "allowSharedKeyAccess": { - "type": "boolean", - "description": "Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true." - }, - "allowCrossTenantReplication": { - "type": "boolean", - "description": "Allow or disallow cross AAD tenant object replication. Set this property to true for new or existing accounts only if object replication policies will involve storage accounts in different AAD tenants. The default interpretation is false for new accounts to follow best security practices by default." - }, - "defaultToOAuthAuthentication": { - "type": "boolean", - "description": "A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property." - }, - "publicNetworkAccess": { - "$ref": "#/definitions/PublicNetworkAccess", - "description": "Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account. Value is optional but if passed in, must be 'Enabled', 'Disabled' or 'SecuredByPerimeter'." - }, - "immutableStorageWithVersioning": { - "$ref": "#/definitions/ImmutableStorageAccount", - "x-ms-client-name": "ImmutableStorageWithVersioning", - "description": "The property is immutable and can only be set to true at the account creation time. When set to true, it enables object level immutability for all the containers in the account by default." - }, - "allowedCopyScope": { - "type": "string", - "enum": [ - "PrivateLink", - "AAD" - ], - "x-ms-enum": { - "name": "AllowedCopyScope", - "modelAsString": true - }, - "description": "Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet." - }, - "dnsEndpointType": { - "type": "string", - "enum": [ - "Standard", - "AzureDnsZone" - ], - "x-ms-enum": { - "name": "DnsEndpointType", - "modelAsString": true - }, - "description": "Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier." - }, - "geoPriorityReplicationStatus": { - "$ref": "#/definitions/GeoPriorityReplicationStatus", - "description": "Status indicating whether Geo Priority Replication is enabled for the account." - } - }, - "description": "The parameters used when updating a storage account." - }, - "StorageAccountUpdateParameters": { - "properties": { - "sku": { - "$ref": "./common.json#/definitions/Sku", - "description": "Gets or sets the SKU name. Note that the SKU name cannot be updated to Standard_ZRS, Premium_LRS or Premium_ZRS, nor can accounts of those SKU names be updated to any other value." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "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." - }, - "identity": { - "$ref": "#/definitions/Identity", - "description": "The identity of the resource." - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/StorageAccountPropertiesUpdateParameters", - "description": "The parameters used when updating a storage account." - }, - "kind": { - "type": "string", - "description": "Optional. Indicates the type of storage account. Currently only StorageV2 value supported by server.", - "enum": [ - "Storage", - "StorageV2", - "BlobStorage", - "FileStorage", - "BlockBlobStorage" - ], - "x-ms-enum": { - "name": "Kind", - "modelAsString": true - } - }, - "zones": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Optional. Gets or sets the pinned logical availability zone for the storage account." - }, - "placement": { - "$ref": "#/definitions/Placement", - "description": "Optional. Gets or sets the zonal placement details for the storage account." - } - }, - "description": "The parameters that can be provided when updating the storage account properties." - }, - "BlobRestoreParameters": { - "properties": { - "timeToRestore": { - "type": "string", - "format": "date-time", - "description": "Restore blob to the specified time." - }, - "blobRanges": { - "type": "array", - "items": { - "$ref": "#/definitions/BlobRestoreRange" - }, - "description": "Blob ranges to restore." - } - }, - "required": [ - "timeToRestore", - "blobRanges" - ], - "description": "Blob restore parameters" - }, - "BlobRestoreRange": { - "properties": { - "startRange": { - "type": "string", - "description": "Blob start range. This is inclusive. Empty means account start." - }, - "endRange": { - "type": "string", - "description": "Blob end range. This is exclusive. Empty means account end." - } - }, - "required": [ - "startRange", - "endRange" - ], - "description": "Blob range" - }, - "UsageName": { - "properties": { - "value": { - "readOnly": true, - "type": "string", - "description": "Gets a string describing the resource name." - }, - "localizedValue": { - "readOnly": true, - "type": "string", - "description": "Gets a localized string describing the resource name." - } - }, - "description": "The usage names that can be used; currently limited to StorageAccount." - }, - "Usage": { - "properties": { - "unit": { - "readOnly": true, - "type": "string", - "description": "Gets the unit of measurement.", - "enum": [ - "Count", - "Bytes", - "Seconds", - "Percent", - "CountsPerSecond", - "BytesPerSecond" - ], - "x-ms-enum": { - "name": "UsageUnit", - "modelAsString": false - } - }, - "currentValue": { - "readOnly": true, - "type": "integer", - "format": "int32", - "description": "Gets the current count of the allocated resources in the subscription." - }, - "limit": { - "readOnly": true, - "type": "integer", - "format": "int32", - "description": "Gets the maximum count of the resources that can be allocated in the subscription." - }, - "name": { - "$ref": "#/definitions/UsageName", - "readOnly": true, - "description": "Gets the name of the type of usage." - } - }, - "description": "Describes Storage Resource Usage." - }, - "UsageListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Usage" - }, - "description": "Gets or sets the list of Storage Resource Usages." - } - }, - "description": "The response from the List Usages operation." - }, - "AccountSasParameters": { - "properties": { - "signedServices": { - "type": "string", - "enum": [ - "b", - "q", - "t", - "f" - ], - "x-ms-enum": { - "name": "Services", - "modelAsString": true - }, - "x-ms-client-name": "Services", - "description": "The signed services accessible with the account SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f)." - }, - "signedResourceTypes": { - "type": "string", - "enum": [ - "s", - "c", - "o" - ], - "x-ms-enum": { - "name": "SignedResourceTypes", - "modelAsString": true - }, - "x-ms-client-name": "ResourceTypes", - "description": "The signed resource types that are accessible with the account SAS. Service (s): Access to service-level APIs; Container (c): Access to container-level APIs; Object (o): Access to object-level APIs for blobs, queue messages, table entities, and files." - }, - "signedPermission": { - "type": "string", - "enum": [ - "r", - "d", - "w", - "l", - "a", - "c", - "u", - "p" - ], - "x-ms-enum": { - "name": "Permissions", - "modelAsString": true - }, - "x-ms-client-name": "Permissions", - "description": "The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p)." - }, - "signedIp": { - "type": "string", - "x-ms-client-name": "IPAddressOrRange", - "description": "An IP address or a range of IP addresses from which to accept requests." - }, - "signedProtocol": { - "type": "string", - "enum": [ - "https,http", - "https" - ], - "x-ms-enum": { - "name": "HttpProtocol", - "modelAsString": false - }, - "x-ms-client-name": "Protocols", - "description": "The protocol permitted for a request made with the account SAS." - }, - "signedStart": { - "type": "string", - "format": "date-time", - "x-ms-client-name": "SharedAccessStartTime", - "description": "The time at which the SAS becomes valid." - }, - "signedExpiry": { - "type": "string", - "format": "date-time", - "x-ms-client-name": "SharedAccessExpiryTime", - "description": "The time at which the shared access signature becomes invalid." - }, - "keyToSign": { - "type": "string", - "description": "The key to sign the account SAS token with." - } - }, - "required": [ - "signedServices", - "signedResourceTypes", - "signedPermission", - "signedExpiry" - ], - "description": "The parameters to list SAS credentials of a storage account." - }, - "ListAccountSasResponse": { - "properties": { - "accountSasToken": { - "readOnly": true, - "type": "string", - "description": "List SAS credentials of storage account." - } - }, - "description": "The List SAS credentials operation response." - }, - "ServiceSasParameters": { - "properties": { - "canonicalizedResource": { - "type": "string", - "description": "The canonical path to the signed resource." - }, - "signedResource": { - "type": "string", - "enum": [ - "b", - "c", - "f", - "s" - ], - "x-ms-enum": { - "name": "signedResource", - "modelAsString": true - }, - "x-ms-client-name": "Resource", - "description": "The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s)." - }, - "signedPermission": { - "type": "string", - "enum": [ - "r", - "d", - "w", - "l", - "a", - "c", - "u", - "p" - ], - "x-ms-enum": { - "name": "Permissions", - "modelAsString": true - }, - "x-ms-client-name": "Permissions", - "description": "The signed permissions for the service SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p)." - }, - "signedIp": { - "type": "string", - "x-ms-client-name": "IPAddressOrRange", - "description": "An IP address or a range of IP addresses from which to accept requests." - }, - "signedProtocol": { - "type": "string", - "enum": [ - "https,http", - "https" - ], - "x-ms-enum": { - "name": "HttpProtocol", - "modelAsString": false - }, - "x-ms-client-name": "Protocols", - "description": "The protocol permitted for a request made with the account SAS." - }, - "signedStart": { - "type": "string", - "format": "date-time", - "x-ms-client-name": "SharedAccessStartTime", - "description": "The time at which the SAS becomes valid." - }, - "signedExpiry": { - "type": "string", - "format": "date-time", - "x-ms-client-name": "SharedAccessExpiryTime", - "description": "The time at which the shared access signature becomes invalid." - }, - "signedIdentifier": { - "type": "string", - "maxLength": 64, - "x-ms-client-name": "Identifier", - "description": "A unique value up to 64 characters in length that correlates to an access policy specified for the container, queue, or table." - }, - "startPk": { - "type": "string", - "x-ms-client-name": "PartitionKeyStart", - "description": "The start of partition key." - }, - "endPk": { - "type": "string", - "x-ms-client-name": "PartitionKeyEnd", - "description": "The end of partition key." - }, - "startRk": { - "type": "string", - "x-ms-client-name": "RowKeyStart", - "description": "The start of row key." - }, - "endRk": { - "type": "string", - "x-ms-client-name": "RowKeyEnd", - "description": "The end of row key." - }, - "keyToSign": { - "type": "string", - "description": "The key to sign the account SAS token with." - }, - "rscc": { - "type": "string", - "x-ms-client-name": "CacheControl", - "description": "The response header override for cache control." - }, - "rscd": { - "type": "string", - "x-ms-client-name": "ContentDisposition", - "description": "The response header override for content disposition." - }, - "rsce": { - "type": "string", - "x-ms-client-name": "ContentEncoding", - "description": "The response header override for content encoding." - }, - "rscl": { - "type": "string", - "x-ms-client-name": "ContentLanguage", - "description": "The response header override for content language." - }, - "rsct": { - "type": "string", - "x-ms-client-name": "ContentType", - "description": "The response header override for content type." - } - }, - "required": [ - "canonicalizedResource" - ], - "description": "The parameters to list service SAS credentials of a specific resource." - }, - "ListServiceSasResponse": { - "properties": { - "serviceSasToken": { - "readOnly": true, - "type": "string", - "description": "List service SAS credentials of specific resource." - } - }, - "description": "The List service SAS credentials operation response." - }, - "ManagementPolicy": { - "properties": { - "properties": { - "$ref": "#/definitions/ManagementPolicyProperties", - "x-ms-client-flatten": true, - "description": "Returns the Storage Account Data Policies Rules." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "description": "The Get Storage Account ManagementPolicies operation response." - }, - "ManagementPolicyProperties": { - "properties": { - "lastModifiedTime": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "Returns the date and time the ManagementPolicies was last modified." - }, - "policy": { - "$ref": "#/definitions/ManagementPolicySchema", - "description": "The Storage Account ManagementPolicy, in JSON format. See more details in: https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview." - } - }, - "required": [ - "policy" - ], - "description": "The Storage Account ManagementPolicy properties." - }, - "ManagementPolicySchema": { - "properties": { - "rules": { - "type": "array", - "items": { - "$ref": "#/definitions/ManagementPolicyRule" - }, - "description": "The Storage Account ManagementPolicies Rules. See more details in: https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview." - } - }, - "required": [ - "rules" - ], - "description": "The Storage Account ManagementPolicies Rules. See more details in: https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview." - }, - "ManagementPolicyRule": { - "properties": { - "enabled": { - "type": "boolean", - "description": "Rule is enabled if set to true." - }, - "name": { - "type": "string", - "description": "A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy." - }, - "type": { - "type": "string", - "description": "The valid value is Lifecycle", - "enum": [ - "Lifecycle" - ], - "x-ms-enum": { - "name": "RuleType", - "modelAsString": true - } - }, - "definition": { - "$ref": "#/definitions/ManagementPolicyDefinition", - "description": "An object that defines the Lifecycle rule." - } - }, - "required": [ - "name", - "type", - "definition" - ], - "description": "An object that wraps the Lifecycle rule. Each rule is uniquely defined by name." - }, - "ManagementPolicyDefinition": { - "properties": { - "actions": { - "$ref": "#/definitions/ManagementPolicyAction", - "description": "An object that defines the action set." - }, - "filters": { - "$ref": "#/definitions/ManagementPolicyFilter", - "description": "An object that defines the filter set." - } - }, - "required": [ - "actions" - ], - "description": "An object that defines the Lifecycle rule. Each definition is made up with a filters set and an actions set." - }, - "ManagementPolicyFilter": { - "properties": { - "prefixMatch": { - "type": "array", - "items": { - "type": "string" - }, - "description": "An array of strings for prefixes to be match." - }, - "blobTypes": { - "type": "array", - "items": { - "type": "string" - }, - "description": "An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob." - }, - "blobIndexMatch": { - "type": "array", - "items": { - "$ref": "#/definitions/TagFilter" - }, - "description": "An array of blob index tag based filters, there can be at most 10 tag filters" - } - }, - "required": [ - "blobTypes" - ], - "description": "Filters limit rule actions to a subset of blobs within the storage account. If multiple filters are defined, a logical AND is performed on all filters. " - }, - "TagFilter": { - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 128, - "description": "This is the filter tag name, it can have 1 - 128 characters" - }, - "op": { - "type": "string", - "description": "This is the comparison operator which is used for object comparison and filtering. Only == (equality operator) is currently supported" - }, - "value": { - "type": "string", - "minLength": 0, - "maxLength": 256, - "description": "This is the filter tag value field used for tag based filtering, it can have 0 - 256 characters" - } - }, - "required": [ - "name", - "op", - "value" - ], - "description": "Blob index tag based filtering for blob objects" - }, - "ManagementPolicyAction": { - "properties": { - "baseBlob": { - "$ref": "#/definitions/ManagementPolicyBaseBlob", - "description": "The management policy action for base blob" - }, - "snapshot": { - "$ref": "#/definitions/ManagementPolicySnapShot", - "description": "The management policy action for snapshot" - }, - "version": { - "$ref": "#/definitions/ManagementPolicyVersion", - "description": "The management policy action for version" - } - }, - "description": "Actions are applied to the filtered blobs when the execution condition is met." - }, - "ManagementPolicyBaseBlob": { - "properties": { - "tierToCool": { - "$ref": "#/definitions/DateAfterModification", - "description": "The function to tier blobs to cool storage." - }, - "tierToArchive": { - "$ref": "#/definitions/DateAfterModification", - "description": "The function to tier blobs to archive storage." - }, - "tierToCold": { - "$ref": "#/definitions/DateAfterModification", - "description": "The function to tier blobs to cold storage." - }, - "tierToHot": { - "$ref": "#/definitions/DateAfterModification", - "description": "The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts" - }, - "delete": { - "$ref": "#/definitions/DateAfterModification", - "description": "The function to delete the blob" - }, - "enableAutoTierToHotFromCool": { - "type": "boolean", - "description": "This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan." - } - }, - "description": "Management policy action for base blob." - }, - "ManagementPolicySnapShot": { - "properties": { - "tierToCool": { - "$ref": "#/definitions/DateAfterCreation", - "description": "The function to tier blob snapshot to cool storage." - }, - "tierToArchive": { - "$ref": "#/definitions/DateAfterCreation", - "description": "The function to tier blob snapshot to archive storage." - }, - "tierToCold": { - "$ref": "#/definitions/DateAfterCreation", - "description": "The function to tier blobs to cold storage." - }, - "tierToHot": { - "$ref": "#/definitions/DateAfterCreation", - "description": "The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts" - }, - "delete": { - "$ref": "#/definitions/DateAfterCreation", - "description": "The function to delete the blob snapshot" - } - }, - "description": "Management policy action for snapshot." - }, - "ManagementPolicyVersion": { - "properties": { - "tierToCool": { - "$ref": "#/definitions/DateAfterCreation", - "description": "The function to tier blob version to cool storage." - }, - "tierToArchive": { - "$ref": "#/definitions/DateAfterCreation", - "description": "The function to tier blob version to archive storage." - }, - "tierToCold": { - "$ref": "#/definitions/DateAfterCreation", - "description": "The function to tier blobs to cold storage." - }, - "tierToHot": { - "$ref": "#/definitions/DateAfterCreation", - "description": "The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts" - }, - "delete": { - "$ref": "#/definitions/DateAfterCreation", - "description": "The function to delete the blob version" - } - }, - "description": "Management policy action for blob version." - }, - "DateAfterModification": { - "properties": { - "daysAfterModificationGreaterThan": { - "type": "number", - "multipleOf": 1.0, - "minimum": 0, - "description": "Value indicating the age in days after last modification" - }, - "daysAfterLastAccessTimeGreaterThan": { - "type": "number", - "multipleOf": 1.0, - "minimum": 0, - "description": "Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy" - }, - "daysAfterLastTierChangeGreaterThan": { - "type": "number", - "multipleOf": 1.0, - "minimum": 0, - "description": "Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterModificationGreaterThan to be set for baseBlobs based actions. The blob will be archived if both the conditions are satisfied." - }, - "daysAfterCreationGreaterThan": { - "type": "number", - "multipleOf": 1.0, - "minimum": 0, - "description": "Value indicating the age in days after blob creation." - } - }, - "description": "Object to define the base blob action conditions. Properties daysAfterModificationGreaterThan, daysAfterLastAccessTimeGreaterThan and daysAfterCreationGreaterThan are mutually exclusive. The daysAfterLastTierChangeGreaterThan property is only applicable for tierToArchive actions which requires daysAfterModificationGreaterThan to be set, also it cannot be used in conjunction with daysAfterLastAccessTimeGreaterThan or daysAfterCreationGreaterThan." - }, - "DateAfterCreation": { - "properties": { - "daysAfterCreationGreaterThan": { - "type": "number", - "multipleOf": 1.0, - "minimum": 0, - "description": "Value indicating the age in days after creation" - }, - "daysAfterLastTierChangeGreaterThan": { - "type": "number", - "multipleOf": 1.0, - "minimum": 0, - "description": "Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterCreationGreaterThan to be set for snapshots and blob version based actions. The blob will be archived if both the conditions are satisfied." - } - }, - "required": [ - "daysAfterCreationGreaterThan" - ], - "description": "Object to define snapshot and version action conditions." - }, - "EncryptionScope": { - "properties": { - "properties": { - "$ref": "#/definitions/EncryptionScopeProperties", - "x-ms-client-flatten": true, - "x-ms-client-name": "EncryptionScopeProperties", - "description": "Properties of the encryption scope." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "description": "The Encryption Scope resource." - }, - "EncryptionScopeProperties": { - "properties": { - "source": { - "type": "string", - "enum": [ - "Microsoft.Storage", - "Microsoft.KeyVault" - ], - "x-ms-enum": { - "name": "EncryptionScopeSource", - "modelAsString": true - }, - "description": "The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault." - }, - "state": { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "EncryptionScopeState", - "modelAsString": true - }, - "description": "The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled." - }, - "creationTime": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "Gets the creation date and time of the encryption scope in UTC." - }, - "lastModifiedTime": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "Gets the last modification date and time of the encryption scope in UTC." - }, - "keyVaultProperties": { - "$ref": "#/definitions/EncryptionScopeKeyVaultProperties", - "description": "The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'." - }, - "requireInfrastructureEncryption": { - "type": "boolean", - "description": "A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest." - } - }, - "description": "Properties of the encryption scope." - }, - "EncryptionScopeKeyVaultProperties": { - "properties": { - "keyUri": { - "type": "string", - "description": "The object identifier for a key vault key object. When applied, the encryption scope will use the key referenced by the identifier to enable customer-managed key support on this encryption scope." - }, - "currentVersionedKeyIdentifier": { - "type": "string", - "readOnly": true, - "description": "The object identifier of the current versioned Key Vault Key in use." - }, - "lastKeyRotationTimestamp": { - "type": "string", - "readOnly": true, - "format": "date-time", - "description": "Timestamp of last rotation of the Key Vault Key." - } - }, - "description": "The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'." - }, - "EncryptionScopeListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/EncryptionScope" - }, - "description": "List of encryption scopes requested.", - "readOnly": true - }, - "nextLink": { - "type": "string", - "description": "Request URL that can be used to query next page of encryption scopes. Returned when total number of requested encryption scopes exceeds the maximum page size.", - "readOnly": true - } - }, - "description": "List of encryption scopes requested, and if paging is required, a URL to the next page of encryption scopes." - }, - "ObjectReplicationPolicies": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ObjectReplicationPolicy" - }, - "description": "The replication policy between two storage accounts." - } - }, - "description": "List storage account object replication policies." - }, - "ObjectReplicationPolicy": { - "properties": { - "properties": { - "$ref": "#/definitions/ObjectReplicationPolicyProperties", - "x-ms-client-flatten": true, - "description": "Returns the Storage Account Object Replication Policy." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "description": "The replication policy between two storage accounts. Multiple rules can be defined in one policy." - }, - "ObjectReplicationPolicyProperties": { - "properties": { - "policyId": { - "readOnly": true, - "type": "string", - "description": "A unique id for object replication policy." - }, - "enabledTime": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "Indicates when the policy is enabled on the source account." - }, - "sourceAccount": { - "type": "string", - "description": "Required. Source account name. It should be full resource id if allowCrossTenantReplication set to false." - }, - "destinationAccount": { - "type": "string", - "description": "Required. Destination account name. It should be full resource id if allowCrossTenantReplication set to false." - }, - "rules": { - "type": "array", - "items": { - "$ref": "#/definitions/ObjectReplicationPolicyRule" - }, - "description": "The storage account object replication rules." - }, - "metrics": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean", - "description": "Indicates whether object replication metrics feature is enabled for the policy." - } - }, - "description": "Optional. The object replication policy metrics feature options." - }, - "priorityReplication": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean", - "description": "Indicates whether object replication priority replication feature is enabled for the policy." - } - }, - "description": "Optional. The object replication policy priority replication feature options." - } - }, - "required": [ - "sourceAccount", - "destinationAccount" - ], - "description": "The Storage Account ObjectReplicationPolicy properties." - }, - "ObjectReplicationPolicyRule": { - "properties": { - "ruleId": { - "type": "string", - "description": "Rule Id is auto-generated for each new rule on destination account. It is required for put policy on source account." - }, - "sourceContainer": { - "type": "string", - "description": "Required. Source container name." - }, - "destinationContainer": { - "type": "string", - "description": "Required. Destination container name." - }, - "filters": { - "$ref": "#/definitions/ObjectReplicationPolicyFilter", - "description": "Optional. An object that defines the filter set." - } - }, - "required": [ - "sourceContainer", - "destinationContainer" - ], - "description": "The replication policy rule between two containers." - }, - "ObjectReplicationPolicyFilter": { - "properties": { - "prefixMatch": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Optional. Filters the results to replicate only blobs whose names begin with the specified prefix." - }, - "minCreationTime": { - "type": "string", - "description": "Blobs created after the time will be replicated to the destination. It must be in datetime format 'yyyy-MM-ddTHH:mm:ssZ'. Example: 2020-02-19T16:05:00Z" - } - }, - "description": "Filters limit replication to a subset of blobs within the storage account. A logical OR is performed on values in the filter. If multiple filters are defined, a logical AND is performed on all filters." - }, - "LocalUsers": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/LocalUser" - }, - "description": "The list of local users associated with the storage account." - }, - "nextLink": { - "type": "string", - "description": "Request URL that can be used to query next page of local users. Returned when total number of requested local users exceeds the maximum page size.", - "readOnly": true - } - }, - "description": "List of local users requested, and if paging is required, a URL to the next page of local users." - }, - "LocalUser": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/LocalUserProperties", - "x-ms-client-flatten": true, - "description": "Storage account local user properties." - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "description": "The local user associated with the storage accounts." - }, - "LocalUserProperties": { - "type": "object", - "properties": { - "permissionScopes": { - "type": "array", - "items": { - "$ref": "#/definitions/PermissionScope" - }, - "description": "The permission scopes of the local user." - }, - "homeDirectory": { - "type": "string", - "description": "Optional, local user home directory." - }, - "sshAuthorizedKeys": { - "$ref": "#/definitions/SshAuthorizedKeys" - }, - "sid": { - "readOnly": true, - "type": "string", - "description": "A unique Security Identifier that is generated by the server." - }, - "hasSharedKey": { - "type": "boolean", - "description": "Indicates whether shared key exists. Set it to false to remove existing shared key." - }, - "hasSshKey": { - "type": "boolean", - "description": "Indicates whether ssh key exists. Set it to false to remove existing SSH key." - }, - "hasSshPassword": { - "type": "boolean", - "description": "Indicates whether ssh password exists. Set it to false to remove existing SSH password." - }, - "userId": { - "readOnly": true, - "type": "integer", - "format": "int32", - "description": "A unique Identifier that is generated by the server." - }, - "groupId": { - "type": "integer", - "format": "int32", - "description": "An identifier for associating a group of users." - }, - "allowAclAuthorization": { - "type": "boolean", - "description": "Indicates whether ACL authorization is allowed for this user. Set it to false to disallow using ACL authorization." - }, - "extendedGroups": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "description": "Supplementary group membership. Only applicable for local users enabled for NFSv3 access." - }, - "isNFSv3Enabled": { - "type": "boolean", - "description": "Indicates if the local user is enabled for access with NFSv3 protocol." - } - }, - "description": "The Storage Account Local User properties." - }, - "LocalUserKeys": { - "type": "object", - "properties": { - "sshAuthorizedKeys": { - "$ref": "#/definitions/SshAuthorizedKeys" - }, - "sharedKey": { - "x-ms-secret": true, - "$ref": "#/definitions/SharedKey" - } - }, - "description": "The Storage Account Local User keys." - }, - "LocalUserRegeneratePasswordResult": { - "type": "object", - "properties": { - "sshPassword": { - "x-ms-secret": true, - "readOnly": true, - "type": "string", - "description": "Auto generated password by the server for SSH authentication if hasSshPassword is set to true on the creation of local user." - } - }, - "description": "The secrets of Storage Account Local User." - }, - "PermissionScope": { - "type": "object", - "properties": { - "permissions": { - "type": "string", - "description": "The permissions for the local user. Possible values include: Read (r), Write (w), Delete (d), List (l), Create (c), Modify Ownership (o), and Modify Permissions (p)." - }, - "service": { - "type": "string", - "description": "The service used by the local user, e.g. blob, file." - }, - "resourceName": { - "type": "string", - "description": "The name of resource, normally the container name or the file share name, used by the local user." - } - }, - "required": [ - "permissions", - "service", - "resourceName" - ] - }, - "SshAuthorizedKeys": { - "type": "array", - "items": { - "$ref": "#/definitions/SshPublicKey" - }, - "description": "Optional, local user ssh authorized keys for SFTP." - }, - "SshPublicKey": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Optional. It is used to store the function/usage of the key" - }, - "key": { - "type": "string", - "description": "Ssh public key base64 encoded. The format should be: ' ', e.g. ssh-rsa AAAABBBB" - } - } - }, - "SharedKey": { - "readOnly": true, - "type": "string", - "description": "Auto generated by the server for SMB authentication." - }, - "ListBlobInventoryPolicy": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/BlobInventoryPolicy" - }, - "description": "List of blob inventory policies.", - "readOnly": true - } - }, - "description": "List of blob inventory policies returned." - }, - "BlobInventoryPolicy": { - "properties": { - "properties": { - "$ref": "#/definitions/BlobInventoryPolicyProperties", - "x-ms-client-flatten": true, - "description": "Returns the storage account blob inventory policy rules." - }, - "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "description": "The storage account blob inventory policy." - }, - "BlobInventoryPolicyProperties": { - "properties": { - "lastModifiedTime": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "Returns the last modified date and time of the blob inventory policy." - }, - "policy": { - "$ref": "#/definitions/BlobInventoryPolicySchema", - "description": "The storage account blob inventory policy object. It is composed of policy rules." - } - }, - "required": [ - "policy" - ], - "description": "The storage account blob inventory policy properties." - }, - "BlobInventoryPolicySchema": { - "properties": { - "enabled": { - "type": "boolean", - "description": "Policy is enabled if set to true." - }, - "destination": { - "readOnly": true, - "type": "string", - "description": "Deprecated Property from API version 2021-04-01 onwards, the required destination container name must be specified at the rule level 'policy.rule.destination'" - }, - "type": { - "type": "string", - "description": "The valid value is Inventory", - "enum": [ - "Inventory" - ], - "x-ms-enum": { - "name": "InventoryRuleType", - "modelAsString": true - } - }, - "rules": { - "type": "array", - "items": { - "$ref": "#/definitions/BlobInventoryPolicyRule" - }, - "description": "The storage account blob inventory policy rules. The rule is applied when it is enabled." - } - }, - "required": [ - "enabled", - "type", - "rules" - ], - "description": "The storage account blob inventory policy rules." - }, - "BlobInventoryPolicyRule": { - "properties": { - "enabled": { - "type": "boolean", - "description": "Rule is enabled when set to true." - }, - "name": { - "type": "string", - "description": "A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy." - }, - "destination": { - "type": "string", - "description": "Container name where blob inventory files are stored. Must be pre-created." - }, - "definition": { - "$ref": "#/definitions/BlobInventoryPolicyDefinition", - "description": "An object that defines the blob inventory policy rule." - } - }, - "required": [ - "name", - "enabled", - "destination", - "definition" - ], - "description": "An object that wraps the blob inventory rule. Each rule is uniquely defined by name." - }, - "BlobInventoryPolicyDefinition": { - "properties": { - "filters": { - "$ref": "#/definitions/BlobInventoryPolicyFilter", - "description": "An object that defines the filter set." - }, - "format": { - "type": "string", - "description": "This is a required field, it specifies the format for the inventory files.", - "enum": [ - "Csv", - "Parquet" - ], - "x-ms-enum": { - "name": "format", - "modelAsString": true - } - }, - "schedule": { - "type": "string", - "description": "This is a required field. This field is used to schedule an inventory formation.", - "enum": [ - "Daily", - "Weekly" - ], - "x-ms-enum": { - "name": "schedule", - "modelAsString": true - } - }, - "objectType": { - "type": "string", - "description": "This is a required field. This field specifies the scope of the inventory created either at the blob or container level.", - "enum": [ - "Blob", - "Container" - ], - "x-ms-enum": { - "name": "objectType", - "modelAsString": true - } - }, - "schemaFields": { - "type": "array", - "items": { - "type": "string" - }, - "description": "This is a required field. This field specifies the fields and properties of the object to be included in the inventory. The Schema field value 'Name' is always required. The valid values for this field for the 'Blob' definition.objectType include 'Name, Creation-Time, Last-Modified, Content-Length, Content-MD5, BlobType, AccessTier, AccessTierChangeTime, AccessTierInferred, Tags, Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, Snapshot, VersionId, IsCurrentVersion, Metadata, LastAccessTime, Tags, Etag, ContentType, ContentEncoding, ContentLanguage, ContentCRC64, CacheControl, ContentDisposition, LeaseStatus, LeaseState, LeaseDuration, ServerEncrypted, Deleted, DeletionId, DeletedTime, RemainingRetentionDays, ImmutabilityPolicyUntilDate, ImmutabilityPolicyMode, LegalHold, CopyId, CopyStatus, CopySource, CopyProgress, CopyCompletionTime, CopyStatusDescription, CustomerProvidedKeySha256, RehydratePriority, ArchiveStatus, XmsBlobSequenceNumber, EncryptionScope, IncrementalCopy, TagCount'. For Blob object type schema field value 'DeletedTime' is applicable only for Hns enabled accounts. The valid values for 'Container' definition.objectType include 'Name, Last-Modified, Metadata, LeaseStatus, LeaseState, LeaseDuration, PublicAccess, HasImmutabilityPolicy, HasLegalHold, Etag, DefaultEncryptionScope, DenyEncryptionScopeOverride, ImmutableStorageWithVersioningEnabled, Deleted, Version, DeletedTime, RemainingRetentionDays'. Schema field values 'Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, DeletionId' are valid only for Hns enabled accounts.Schema field values 'Tags, TagCount' are only valid for Non-Hns accounts." - } - }, - "required": [ - "format", - "schedule", - "objectType", - "schemaFields" - ], - "description": "An object that defines the blob inventory rule." - }, - "BlobInventoryPolicyFilter": { - "properties": { - "prefixMatch": { - "type": "array", - "items": { - "type": "string" - }, - "description": "An array of strings with maximum 10 blob prefixes to be included in the inventory." - }, - "excludePrefix": { - "type": "array", - "items": { - "type": "string" - }, - "description": "An array of strings with maximum 10 blob prefixes to be excluded from the inventory." - }, - "blobTypes": { - "type": "array", - "items": { - "type": "string" - }, - "description": "An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs. This field is required when definition.objectType property is set to 'Blob'." - }, - "includeBlobVersions": { - "type": "boolean", - "description": "Includes blob versions in blob inventory when value is set to true. The definition.schemaFields values 'VersionId and IsCurrentVersion' are required if this property is set to true, else they must be excluded." - }, - "includeSnapshots": { - "type": "boolean", - "description": "Includes blob snapshots in blob inventory when value is set to true. The definition.schemaFields value 'Snapshot' is required if this property is set to true, else it must be excluded." - }, - "includeDeleted": { - "type": "boolean", - "description": "For 'Container' definition.objectType the definition.schemaFields must include 'Deleted, Version, DeletedTime and RemainingRetentionDays'. For 'Blob' definition.objectType and HNS enabled storage accounts the definition.schemaFields must include 'DeletionId, Deleted, DeletedTime and RemainingRetentionDays' and for Hns disabled accounts the definition.schemaFields must include 'Deleted and RemainingRetentionDays', else it must be excluded." - }, - "creationTime": { - "$ref": "#/definitions/BlobInventoryCreationTime", - "description": "This property is used to filter objects based on the object creation time" - } - }, - "description": "An object that defines the blob inventory rule filter conditions. For 'Blob' definition.objectType all filter properties are applicable, 'blobTypes' is required and others are optional. For 'Container' definition.objectType only prefixMatch is applicable and is optional." - }, - "BlobInventoryCreationTime": { - "type": "object", - "properties": { - "lastNDays": { - "type": "integer", - "minimum": 1, - "maximum": 36500, - "format": "int32", - "description": "When set the policy filters the objects that are created in the last N days. Where N is an integer value between 1 to 36500." - } - }, - "description": "This property defines the creation time based filtering condition. Blob Inventory schema parameter 'Creation-Time' is mandatory with this filter." - }, - "StorageAccountMigration": { - "type": "object", - "properties": { - "id": { - "type": "string", - "readOnly": true, - "description": "Migration Resource Id" - }, - "name": { - "type": "string", - "description": "current value is 'default' for customer initiated migration" - }, - "type": { - "type": "string", - "description": "SrpAccountMigrationType in ARM contract which is 'accountMigrations'" - }, - "properties": { - "type": "object", - "properties": { - "targetSkuName": { - "$ref": "./common.json#/definitions/SkuName", - "description": "Target sku name for the account" - }, - "migrationStatus": { - "type": "string", - "description": "Current status of migration", - "enum": [ - "Invalid", - "SubmittedForConversion", - "InProgress", - "Complete", - "Failed" - ], - "x-ms-enum": { - "name": "migrationStatus", - "modelAsString": true - }, - "readOnly": true - }, - "migrationFailedReason": { - "readOnly": true, - "type": "string", - "description": "Error code for migration failure" - }, - "migrationFailedDetailedReason": { - "readOnly": true, - "type": "string", - "description": "Reason for migration failure" - } - }, - "x-ms-client-flatten": true, - "x-ms-client-name": "StorageAccountMigrationDetails", - "description": "The properties of a storage account's ongoing or enqueued migration.", - "required": [ - "targetSkuName" - ] - } - }, - "required": [ - "properties" - ], - "description": "The parameters or status associated with an ongoing or enqueued storage account migration in order to update its current SKU or region." - }, - "ErrorResponseBody": { - "properties": { - "code": { - "type": "string", - "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." - }, - "message": { - "type": "string", - "description": "A message describing the error, intended to be suitable for display in a user interface." - } - }, - "description": "Error response body contract." - }, - "ErrorResponse": { - "properties": { - "error": { - "$ref": "#/definitions/ErrorResponseBody", - "description": "Azure Storage Resource Provider error response body." - } - }, - "description": "An error response from the storage resource provider." - }, - "PublicNetworkAccess": { - "type": "string", - "description": "Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account. Value is optional but if passed in, must be 'Enabled', 'Disabled' or 'SecuredByPerimeter'.", - "enum": [ - "Enabled", - "Disabled", - "SecuredByPerimeter" - ], - "x-ms-enum": { - "name": "PublicNetworkAccess", - "modelAsString": true - } - }, - "GeoPriorityReplicationStatus": { - "type": "object", - "properties": { - "isBlobEnabled": { - "type": "boolean", - "description": "Indicates whether Blob Geo Priority Replication is enabled for the storage account." - } - }, - "description": "Geo Priority Replication enablement status for the storage account." - } - }, - "parameters": { - "ResourceGroupName": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group within the user's subscription. The name is case insensitive.", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90, - "x-ms-parameter-location": "method" - }, - "StorageAccountName": { - "name": "accountName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[a-z0-9]+$", - "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.", - "maxLength": 24, - "minLength": 3, - "x-ms-parameter-location": "method" - }, - "DeletedAccountName": { - "name": "deletedAccountName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the deleted storage account.", - "maxLength": 24, - "minLength": 3, - "x-ms-parameter-location": "method" - }, - "ManagementPolicyName": { - "name": "managementPolicyName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Storage Account Management Policy. It should always be 'default'", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "ManagementPolicyName", - "modelAsString": true - }, - "x-ms-parameter-location": "method" - }, - "MigrationName": { - "name": "migrationName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Storage Account Migration. It should always be 'default'", - "pattern": "^[a-z][a-z0-9]*$", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "MigrationName", - "modelAsString": true - }, - "x-ms-parameter-location": "method" - }, - "EncryptionScopeName": { - "name": "encryptionScopeName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the encryption scope within the specified storage account. Encryption scope 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.", - "maxLength": 63, - "minLength": 3, - "x-ms-parameter-location": "method" - }, - "ObjectReplicationPolicyId": { - "name": "objectReplicationPolicyId", - "in": "path", - "required": true, - "type": "string", - "description": "For the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file.", - "minLength": 1, - "x-ms-parameter-location": "method" - }, - "Username": { - "name": "username", - "in": "path", - "required": true, - "type": "string", - "description": "The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account.", - "minLength": 3, - "maxLength": 64, - "x-ms-parameter-location": "method" - }, - "BlobInventoryPolicyName": { - "name": "blobInventoryPolicyName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the storage account blob inventory policy. It should always be 'default'", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "BlobInventoryPolicyName", - "modelAsString": true - }, - "x-ms-parameter-location": "method" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/storageTaskAssignments.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/storageTaskAssignments.json deleted file mode 100644 index fc3b81a16aa3..000000000000 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/storageTaskAssignments.json +++ /dev/null @@ -1,802 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "StorageManagementClient", - "description": "The Azure Storage Management API.", - "version": "2025-06-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}": { - "put": { - "tags": [ - "StorageTaskAssignments" - ], - "description": "Asynchronously creates a new storage task assignment sub-resource with the specified parameters. If a storage task assignment is already created and a subsequent create request is issued with different properties, the storage task assignment properties will be updated. If a storage task assignment is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.", - "operationId": "StorageTaskAssignments_Create", - "x-ms-examples": { - "PutStorageTaskAssignment": { - "$ref": "./examples/storageTaskAssignmentsCrud/PutStorageTaskAssignment.json" - }, - "PutStorageTaskAssignmentRequiredProperties": { - "$ref": "./examples/storageTaskAssignmentsCrud/PutStorageTaskAssignmentRequiredProperties.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/StorageTaskAssignmentName" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/StorageTaskAssignment" - }, - "description": "The parameters to create a Storage Task Assignment." - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK -- Update storage task assignment with the same properties specified in the request body.", - "schema": { - "$ref": "#/definitions/StorageTaskAssignment" - } - }, - "201": { - "description": "OK -- Create storage task assignment with the same properties specified in the request body.", - "schema": { - "$ref": "#/definitions/StorageTaskAssignment" - } - }, - "202": { - "description": "Accepted -- Create or update request accepted; operation will complete asynchronously.", - "headers": { - "Azure-AsyncOperation": { - "type": "string" - }, - "Location": { - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "patch": { - "tags": [ - "StorageTaskAssignments" - ], - "description": "Update storage task assignment properties", - "operationId": "StorageTaskAssignments_Update", - "x-ms-examples": { - "PatchStorageTaskAssignment": { - "$ref": "./examples/storageTaskAssignmentsCrud/PatchStorageTaskAssignment.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/StorageTaskAssignmentName" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/StorageTaskAssignmentUpdateParameters" - }, - "description": "The parameters to update a Storage Task Assignment." - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK -- returned when the update request body had no changes.", - "schema": { - "$ref": "#/definitions/StorageTaskAssignment" - } - }, - "202": { - "description": "Accepted -- update request accepted; operation will complete asynchronously.", - "headers": { - "Azure-AsyncOperation": { - "type": "string" - }, - "Location": { - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "get": { - "tags": [ - "StorageTaskAssignments" - ], - "description": "Get the storage task assignment properties", - "operationId": "StorageTaskAssignments_Get", - "x-ms-examples": { - "GetStorageTaskAssignment": { - "$ref": "./examples/storageTaskAssignmentsCrud/GetStorageTaskAssignment.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/StorageTaskAssignmentName" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK -- properties retrieved successfully for the storage task assignment.", - "schema": { - "$ref": "#/definitions/StorageTaskAssignment" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - } - }, - "delete": { - "tags": [ - "StorageTaskAssignments" - ], - "description": "Delete the storage task assignment sub-resource", - "operationId": "StorageTaskAssignments_Delete", - "x-ms-examples": { - "DeleteStorageTaskAssignment": { - "$ref": "./examples/storageTaskAssignmentsCrud/DeleteStorageTaskAssignment.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/StorageTaskAssignmentName" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "202": { - "description": "Accepted -- Delete request accepted; operation will complete asynchronously.", - "headers": { - "Azure-AsyncOperation": { - "type": "string" - }, - "Location": { - "type": "string" - } - } - }, - "204": { - "description": "NoContent -- specified storage task assignment does not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments": { - "get": { - "tags": [ - "StorageTaskAssignments" - ], - "description": "List all the storage task assignments in an account", - "operationId": "StorageTaskAssignments_List", - "x-ms-examples": { - "ListStorageTaskAssignmentsForAccount": { - "$ref": "./examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsForAccount.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "name": "$top", - "in": "query", - "type": "integer", - "format": "int32", - "description": "Optional, specifies the maximum number of storage task assignment Ids to be included in the list response." - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK -- list of storage task assignments was retrieved and returned successfully.", - "schema": { - "$ref": "#/definitions/StorageTaskAssignmentsList" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/reports": { - "get": { - "tags": [ - "StorageTaskAssignments" - ], - "description": "Fetch the report summary of all the storage task assignments and instances in an account", - "operationId": "StorageTaskAssignmentsInstancesReport_List", - "x-ms-examples": { - "ListStorageTaskAssignmentsInstancesReportSummary": { - "$ref": "./examples/storageTaskAssignmentsList/ListStorageTaskAssignmentsInstancesReportSummary.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "name": "$maxpagesize", - "in": "query", - "type": "integer", - "format": "int32", - "description": "Optional, specifies the maximum number of storage task assignment instances to be included in the list response." - }, - { - "name": "$filter", - "in": "query", - "type": "string", - "description": "Optional. When specified, it can be used to query using reporting properties. See [Constructing Filter Strings](https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings) for details." - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK -- storage task assignments' instances report summary retrieved and returned successfully.", - "schema": { - "$ref": "./common.json#/definitions/StorageTaskReportSummary" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}/reports": { - "get": { - "tags": [ - "StorageTaskAssignments" - ], - "description": "Fetch the report summary of a single storage task assignment's instances", - "operationId": "StorageTaskAssignmentInstancesReport_List", - "x-ms-examples": { - "ListStorageTaskAssignmentInstancesReportSummary": { - "$ref": "./examples/storageTaskAssignmentsList/ListStorageTaskAssignmentInstancesReportSummary.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "#/parameters/StorageTaskAssignmentName" - }, - { - "name": "$maxpagesize", - "in": "query", - "type": "integer", - "format": "int32", - "description": "Optional, specifies the maximum number of storage task assignment instances to be included in the list response." - }, - { - "name": "$filter", - "in": "query", - "type": "string", - "description": "Optional. When specified, it can be used to query using reporting properties. See [Constructing Filter Strings](https://learn.microsoft.com/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings) for details." - }, - { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK -- storage task assignment's instances report summary retrieved and returned successfully", - "schema": { - "$ref": "./common.json#/definitions/StorageTaskReportSummary" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "definitions": { - "StorageTaskAssignment": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/StorageTaskAssignmentProperties", - "description": "Properties of the storage task assignment." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "required": [ - "properties" - ], - "description": "The storage task assignment." - }, - "StorageTaskAssignmentProperties": { - "type": "object", - "properties": { - "taskId": { - "type": "string", - "format": "arm-id", - "description": "Id of the corresponding storage task" - }, - "enabled": { - "type": "boolean", - "description": "Whether the storage task assignment is enabled or not" - }, - "description": { - "type": "string", - "description": "Text that describes the purpose of the storage task assignment" - }, - "executionContext": { - "$ref": "#/definitions/StorageTaskAssignmentExecutionContext", - "description": "The storage task assignment execution context" - }, - "report": { - "$ref": "#/definitions/StorageTaskAssignmentReport", - "description": "The storage task assignment report" - }, - "provisioningState": { - "readOnly": true, - "type": "string", - "description": "Represents the provisioning state of the storage task assignment.", - "enum": [ - "ValidateSubscriptionQuotaBegin", - "ValidateSubscriptionQuotaEnd", - "Accepted", - "Creating", - "Succeeded", - "Deleting", - "Canceled", - "Failed" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - }, - "runStatus": { - "$ref": "./common.json#/definitions/StorageTaskReportProperties", - "description": "Run status of storage task assignment" - } - }, - "required": [ - "taskId", - "enabled", - "description", - "executionContext", - "report" - ], - "description": "Properties of the storage task assignment." - }, - "StorageTaskAssignmentExecutionContext": { - "type": "object", - "properties": { - "target": { - "$ref": "#/definitions/ExecutionTarget", - "description": "Execution target of the storage task assignment" - }, - "trigger": { - "$ref": "#/definitions/ExecutionTrigger", - "description": "Execution trigger of the storage task assignment" - } - }, - "required": [ - "trigger" - ], - "description": "Execution context of the storage task assignment." - }, - "ExecutionTarget": { - "type": "object", - "properties": { - "prefix": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Required list of object prefixes to be included for task execution" - }, - "excludePrefix": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of object prefixes to be excluded from task execution. If there is a conflict between include and exclude prefixes, the exclude prefix will be the determining factor" - } - }, - "description": "Target helps provide filter parameters for the objects in the storage account and forms the execution context for the storage task" - }, - "ExecutionTrigger": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "RunOnce", - "OnSchedule" - ], - "x-ms-enum": { - "name": "TriggerType", - "modelAsString": true - }, - "description": "The trigger type of the storage task assignment execution" - }, - "parameters": { - "$ref": "#/definitions/TriggerParameters", - "description": "The trigger parameters of the storage task assignment execution" - } - }, - "required": [ - "type", - "parameters" - ], - "description": "Execution trigger for storage task assignment" - }, - "TriggerParameters": { - "type": "object", - "properties": { - "startFrom": { - "type": "string", - "format": "date-time", - "description": "When to start task execution. This is a required field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce'" - }, - "interval": { - "type": "integer", - "minimum": 1, - "format": "int32", - "description": "Run interval of task execution. This is a required field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce'" - }, - "intervalUnit": { - "type": "string", - "enum": [ - "Days" - ], - "x-ms-enum": { - "name": "IntervalUnit", - "modelAsString": true - }, - "description": "Run interval unit of task execution. This is a required field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce'" - }, - "endBy": { - "type": "string", - "format": "date-time", - "description": "When to end task execution. This is a required field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce'" - }, - "startOn": { - "type": "string", - "format": "date-time", - "description": "When to start task execution. This is a required field when ExecutionTrigger.properties.type is 'RunOnce'; this property should not be present when ExecutionTrigger.properties.type is 'OnSchedule'" - } - }, - "description": "The trigger parameters update for the storage task assignment execution" - }, - "StorageTaskAssignmentReport": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "description": "The container prefix for the location of storage task assignment report" - } - }, - "required": [ - "prefix" - ], - "description": "The storage task assignment report" - }, - "StorageTaskAssignmentUpdateParameters": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/StorageTaskAssignmentUpdateProperties", - "description": "Properties of the storage task assignment." - } - }, - "description": "Parameters of the storage task assignment update request" - }, - "StorageTaskAssignmentUpdateProperties": { - "type": "object", - "properties": { - "taskId": { - "readOnly": true, - "type": "string", - "description": "Id of the corresponding storage task" - }, - "enabled": { - "type": "boolean", - "description": "Whether the storage task assignment is enabled or not" - }, - "description": { - "type": "string", - "description": "Text that describes the purpose of the storage task assignment" - }, - "executionContext": { - "$ref": "#/definitions/StorageTaskAssignmentUpdateExecutionContext", - "description": "The storage task assignment execution context" - }, - "report": { - "$ref": "#/definitions/StorageTaskAssignmentUpdateReport", - "description": "The storage task assignment report" - }, - "provisioningState": { - "readOnly": true, - "type": "string", - "description": "Represents the provisioning state of the storage task assignment.", - "enum": [ - "ValidateSubscriptionQuotaBegin", - "ValidateSubscriptionQuotaEnd", - "Accepted", - "Creating", - "Succeeded", - "Deleting", - "Canceled", - "Failed" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - }, - "runStatus": { - "$ref": "./common.json#/definitions/StorageTaskReportProperties", - "description": "Run status of storage task assignment" - } - }, - "description": "Properties of the storage task update assignment." - }, - "StorageTaskAssignmentUpdateExecutionContext": { - "type": "object", - "properties": { - "target": { - "$ref": "#/definitions/ExecutionTarget", - "description": "Execution target of the storage task assignment" - }, - "trigger": { - "$ref": "#/definitions/ExecutionTriggerUpdate", - "description": "Execution trigger of the storage task assignment" - } - }, - "description": "Execution context of the storage task assignment update." - }, - "ExecutionTriggerUpdate": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "RunOnce", - "OnSchedule" - ], - "x-ms-enum": { - "name": "TriggerType", - "modelAsString": true - }, - "description": "The trigger type of the storage task assignment execution" - }, - "parameters": { - "$ref": "#/definitions/TriggerParametersUpdate", - "description": "The trigger parameters of the storage task assignment execution" - } - }, - "description": "Execution trigger update for storage task assignment" - }, - "TriggerParametersUpdate": { - "type": "object", - "properties": { - "startFrom": { - "type": "string", - "format": "date-time", - "description": "When to start task execution. This is a mutable field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce'" - }, - "interval": { - "type": "integer", - "minimum": 1, - "format": "int32", - "description": "Run interval of task execution. This is a mutable field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce'" - }, - "intervalUnit": { - "type": "string", - "enum": [ - "Days" - ], - "x-ms-enum": { - "name": "IntervalUnit", - "modelAsString": true - }, - "description": "Run interval unit of task execution. This is a mutable field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce'" - }, - "endBy": { - "type": "string", - "format": "date-time", - "description": "When to end task execution. This is a mutable field when ExecutionTrigger.properties.type is 'OnSchedule'; this property should not be present when ExecutionTrigger.properties.type is 'RunOnce'" - }, - "startOn": { - "type": "string", - "format": "date-time", - "description": "When to start task execution. This is a mutable field when ExecutionTrigger.properties.type is 'RunOnce'; this property should not be present when ExecutionTrigger.properties.type is 'OnSchedule'" - } - }, - "description": "The trigger parameters update for the storage task assignment execution" - }, - "StorageTaskAssignmentUpdateReport": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "description": "The prefix of the storage task assignment report" - } - }, - "description": "The storage task assignment report" - }, - "StorageTaskAssignmentsList": { - "type": "object", - "properties": { - "value": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/StorageTaskAssignment" - }, - "x-ms-identifiers": [], - "description": "Gets the list of storage task assignments and their properties." - }, - "nextLink": { - "type": "string", - "description": "Request URL that can be used to query next page of storage task assignments. Returned when total number of requested storage task assignments exceed maximum page size.", - "readOnly": true - } - }, - "description": "List of storage task assignments for the storage account" - } - }, - "parameters": { - "StorageTaskAssignmentName": { - "name": "storageTaskAssignmentName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.", - "pattern": "^[a-z][a-z0-9]{2,23}$", - "maxLength": 24, - "minLength": 3, - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/table.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/table.json deleted file mode 100644 index 26e24aad7b93..000000000000 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-06-01/table.json +++ /dev/null @@ -1,570 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2025-06-01", - "title": "StorageManagementClient", - "description": "The Azure Storage Management API." - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices": { - "get": { - "tags": [ - "TableServiceProperties" - ], - "operationId": "TableServices_List", - "x-ms-examples": { - "TableServicesList": { - "$ref": "./examples/TableServicesList.json" - } - }, - "description": "List all table services for the storage account.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- returned the properties of a storage account’s Table service.", - "schema": { - "$ref": "#/definitions/ListTableServices" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/{tableServiceName}": { - "put": { - "tags": [ - "TableServiceProperties" - ], - "operationId": "TableServices_SetServiceProperties", - "x-ms-examples": { - "TableServicesPut": { - "$ref": "./examples/TableServicesPut.json" - } - }, - "description": "Sets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. ", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/TableServiceName" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/TableServiceProperties" - }, - "description": "The properties of a storage account’s Table service, only properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified." - } - ], - "responses": { - "200": { - "description": "OK -- Sets The properties of a storage account’s Table service successfully.", - "schema": { - "$ref": "#/definitions/TableServiceProperties" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - } - }, - "get": { - "tags": [ - "TableServiceProperties" - ], - "operationId": "TableServices_GetServiceProperties", - "x-ms-examples": { - "TableServicesGet": { - "$ref": "./examples/TableServicesGet.json" - } - }, - "description": "Gets the properties of a storage account’s Table service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/TableServiceName" - } - ], - "responses": { - "200": { - "description": "OK -- returned the properties of a storage account’s Table service.", - "schema": { - "$ref": "#/definitions/TableServiceProperties" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}": { - "put": { - "tags": [ - "TableService" - ], - "operationId": "Table_Create", - "x-ms-examples": { - "TableOperationPut": { - "$ref": "./examples/TableOperationPut.json" - }, - "TableOperationPutOrPatchAcls": { - "$ref": "./examples/TableOperationPutOrPatchAcls.json" - } - }, - "description": "Creates a new table with the specified table name, under the specified account.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "name": "parameters", - "in": "body", - "required": false, - "schema": { - "$ref": "#/definitions/Table" - }, - "description": "The parameters to provide to create a table." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/TableName" - } - ], - "responses": { - "200": { - "description": "OK -- Creates a table with the given table name successfully.", - "schema": { - "$ref": "#/definitions/Table" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - } - }, - "patch": { - "tags": [ - "TableService" - ], - "operationId": "Table_Update", - "x-ms-examples": { - "TableOperationPatch": { - "$ref": "./examples/TableOperationPatch.json" - }, - "TableOperationPutOrPatchAcls": { - "$ref": "./examples/TableOperationPutOrPatchAcls.json" - } - }, - "description": "Creates a new table with the specified table name, under the specified account.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "name": "parameters", - "in": "body", - "required": false, - "schema": { - "$ref": "#/definitions/Table" - }, - "description": "The parameters to provide to create a table." - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/TableName" - } - ], - "responses": { - "200": { - "description": "OK -- Creates a table with the given table name successfully.", - "schema": { - "$ref": "#/definitions/Table" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - } - }, - "get": { - "tags": [ - "TableService" - ], - "operationId": "Table_Get", - "x-ms-examples": { - "TableOperationGet": { - "$ref": "./examples/TableOperationGet.json" - } - }, - "description": "Gets the table with the specified table name, under the specified account if it exists.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/TableName" - } - ], - "responses": { - "200": { - "description": "OK -- returned table with the specified table name successfully.", - "schema": { - "$ref": "#/definitions/Table" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - } - }, - "delete": { - "tags": [ - "TableService" - ], - "operationId": "Table_Delete", - "x-ms-examples": { - "TableOperationDelete": { - "$ref": "./examples/TableOperationDelete.json" - } - }, - "description": "Deletes the table with the specified table name, under the specified account if it exists.", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/TableName" - } - ], - "responses": { - "204": { - "description": "No Content - Successfully deleted the table with the specified table name" - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables": { - "get": { - "tags": [ - "TableService" - ], - "operationId": "Table_List", - "x-ms-examples": { - "TableOperationList": { - "$ref": "./examples/TableOperationList.json" - } - }, - "description": "Gets a list of all the tables under the specified storage account", - "parameters": [ - { - "$ref": "./storage.json#/parameters/ResourceGroupName" - }, - { - "$ref": "./storage.json#/parameters/StorageAccountName" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK -- returned a list of tables successfully.", - "schema": { - "$ref": "#/definitions/ListTableResource" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "./common.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "definitions": { - "ListTableServices": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/TableServiceProperties" - }, - "description": "List of table services returned.", - "readOnly": true - } - } - }, - "TableServiceProperties": { - "properties": { - "properties": { - "properties": { - "cors": { - "$ref": "./common.json#/definitions/CorsRules", - "description": "Specifies CORS rules for the Table service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Table service." - } - }, - "x-ms-client-flatten": true, - "x-ms-client-name": "TableServiceProperties", - "description": "The properties of a storage account’s Table service." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "description": "The properties of a storage account’s Table service." - }, - "Table": { - "properties": { - "properties": { - "$ref": "#/definitions/TableProperties", - "x-ms-client-flatten": true, - "x-ms-client-name": "TableProperties", - "description": "Table resource properties." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "description": "Properties of the table, including Id, resource name, resource type." - }, - "TableProperties": { - "properties": { - "tableName": { - "type": "string", - "readOnly": true, - "description": "Table name under the specified account" - }, - "signedIdentifiers": { - "type": "array", - "items": { - "$ref": "#/definitions/TableSignedIdentifier" - }, - "description": "List of stored access policies specified on the table." - } - } - }, - "ListTableResource": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Table" - }, - "description": "List of tables returned.", - "readOnly": true - }, - "nextLink": { - "type": "string", - "description": "Request URL that can be used to query next page of tables", - "readOnly": true - } - }, - "description": "Response schema. Contains list of tables returned" - }, - "TableSignedIdentifier": { - "properties": { - "id": { - "type": "string", - "description": "unique-64-character-value of the stored access policy." - }, - "accessPolicy": { - "$ref": "#/definitions/TableAccessPolicy", - "description": "Access policy" - } - }, - "required": [ - "id" - ], - "type": "object", - "description": "Object to set Table Access Policy." - }, - "TableAccessPolicy": { - "properties": { - "startTime": { - "type": "string", - "format": "date-time", - "description": "Start time of the access policy" - }, - "expiryTime": { - "type": "string", - "format": "date-time", - "description": "Expiry time of the access policy" - }, - "permission": { - "type": "string", - "description": "Required. List of abbreviated permissions. Supported permission values include 'r','a','u','d'" - } - }, - "required": [ - "permission" - ], - "type": "object", - "description": "Table Access Policy Properties Object." - } - }, - "parameters": { - "TableServiceName": { - "name": "tableServiceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the Table Service within the specified storage account. Table Service Name must be 'default'", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "TableServiceName", - "modelAsString": false - }, - "x-ms-parameter-location": "method" - }, - "TableName": { - "name": "tableName", - "in": "path", - "required": true, - "type": "string", - "description": "A table name must be unique within a storage account and must be between 3 and 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric character.", - "maxLength": 63, - "minLength": 3, - "pattern": "^[A-Za-z][A-Za-z0-9]{2,62}$", - "x-ms-parameter-location": "method" - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ] -} diff --git a/specification/storage/resource-manager/readme.md b/specification/storage/resource-manager/readme.md index b14d649059e4..e439844c3140 100644 --- a/specification/storage/resource-manager/readme.md +++ b/specification/storage/resource-manager/readme.md @@ -37,15 +37,7 @@ These settings apply only when `--tag=package-2025-06` is specified on the comma ```yaml $(tag) == 'package-2025-06' input-file: - - Microsoft.Storage/stable/2025-06-01/blob.json - - Microsoft.Storage/stable/2025-06-01/common.json - - Microsoft.Storage/stable/2025-06-01/file.json - - Microsoft.Storage/stable/2025-06-01/privatelinks.json - - Microsoft.Storage/stable/2025-06-01/queue.json - - Microsoft.Storage/stable/2025-06-01/storage.json - - Microsoft.Storage/stable/2025-06-01/table.json - - Microsoft.Storage/stable/2025-06-01/networkSecurityPerimeter.json - - Microsoft.Storage/stable/2025-06-01/storageTaskAssignments.json + - Microsoft.Storage/stable/2025-06-01/openapi.json directive: - where: