diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/DeletedStorageAccountRestore.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/DeletedStorageAccountRestore.json deleted file mode 100644 index 900ba1ccb385..000000000000 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/DeletedStorageAccountRestore.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res9101", - "accountName": "sto4445", - "api-version": "2025-01-01", - "parameters": { - "location": "westus", - "sku": { - "name": "Standard_GRS" - }, - "kind": "Storage", - "properties": { - "deletedAccountCreationTime": "2025-03-04T00:08:10.185493Z" - } - } - }, - "responses": { - "202": { - "headers": { - "Location": "https://management.azure.com/locations/westus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2024-11-01-preview" - } - }, - "200": { - "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/storageAccounts/sto4445", - "kind": "Storage", - "location": "westus", - "name": "sto4445", - "sku": { - "name": "Standard_GRS", - "tier": "Standard" - }, - "type": "Microsoft.Storage/storageAccounts", - "properties": { - "publicNetworkAccess": "Enabled" - } - } - } - } -} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountLeverageIPv6Ability.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountLeverageIPv6Ability.json new file mode 100644 index 000000000000..1641b25b9482 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/StorageAccountLeverageIPv6Ability.json @@ -0,0 +1,85 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "res9407", + "accountName": "sto8596", + "api-version": "2025-01-01", + "monitor": "true", + "parameters": { + "properties": { + "networkAcls": { + "ipv6Rules": [ + { + "action": "Allow", + "value": "2001:0db8:85a3::/64" + } + ], + "defaultAction": "Deny" + }, + "dualStackEndpointPreference": { + "publishIpv6Endpoint": true + } + } + } + }, + "responses": { + "200": { + "body": { + "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" + }, + "creationTime": "2017-06-01T02:42:41.7633306Z", + "networkAcls": { + "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/", + "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/", + "file": "https://sto8596-ipv6.file.core.windows.net/", + "queue": "https://sto8596-ipv6.queue.core.windows.net/", + "table": "https://sto8596-ipv6.table.core.windows.net/" + } + }, + "primaryLocation": "eastus2(stage)", + "provisioningState": "Succeeded", + "statusOfPrimary": "available" + }, + "sku": { + "name": "Standard_LRS", + "tier": "Standard" + }, + "tags": { + "key1": "value1", + "key2": "value2" + }, + "type": "Microsoft.Storage/storageAccounts" + } + } + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/storage.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/storage.json index 3b3a17a31185..8ff0f35ca9f2 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/storage.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/storage.json @@ -165,9 +165,6 @@ "StorageAccountCreateDnsEndpointTypeToStandard": { "$ref": "./examples/StorageAccountCreateDnsEndpointTypeToStandard.json" }, - "DeletedStorageAccountRestore": { - "$ref": "./examples/DeletedStorageAccountRestore.json" - }, "StorageAccountCreate_placement": { "$ref": "./examples/StorageAccountCreate_placement.json" }, @@ -206,7 +203,7 @@ } }, "202": { - "description": "Accepted -- Create, update or restore storage account request accepted; operation will complete asynchronously." + "description": "Accepted -- Create or update storage account request accepted; operation will complete asynchronously." } }, "x-ms-long-running-operation": true @@ -348,6 +345,9 @@ }, "StorageAccountUpdate_zones": { "$ref": "./examples/StorageAccountUpdate_zones.json" + }, + "StorageAccountUpdateEnableIpv6Features": { + "$ref": "./examples/StorageAccountLeverageIPv6Ability.json" } }, "parameters": [ @@ -3016,7 +3016,7 @@ "value": { "type": "string", "x-ms-client-name": "IPAddressOrRange", - "description": "Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed." + "description": "Specifies the IP or IP range in CIDR format." }, "action": { "type": "string", @@ -3078,6 +3078,14 @@ }, "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": [ @@ -3295,6 +3303,11 @@ "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", @@ -3347,11 +3360,6 @@ "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." - }, - "deletedAccountCreationTime": { - "type": "string", - "format": "date-time", - "description": "Creation time of the deleted account. This property should only be provided while requesting deleted storage account recovery." } }, "description": "The parameters used to create the storage account." @@ -3542,6 +3550,11 @@ "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." @@ -3606,6 +3619,52 @@ }, "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": { @@ -3694,6 +3753,16 @@ }, "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": { @@ -4023,6 +4092,11 @@ "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", @@ -4361,6 +4435,11 @@ "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", @@ -5791,7 +5870,7 @@ }, "x-ms-client-flatten": true, "x-ms-client-name": "StorageAccountMigrationDetails", - "description": "The properties of a storage account’s ongoing or enqueued migration.", + "description": "The properties of a storage account's ongoing or enqueued migration.", "required": [ "targetSkuName" ]