{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-storage-accounts/json-schema/azure-storage-accounts-storage-account-schema.json",
  "title": "StorageAccount",
  "description": "The storage account.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/azure-storage-accounts-storageaccounts-api-openapi.yml#/components/schemas/StorageAccount",
  "allOf": [
    {
      "allOf": [
        {
          "properties": {
            "id": {
              "description": "Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}",
              "readOnly": true,
              "type": "string"
            },
            "name": {
              "description": "The name of the resource",
              "readOnly": true,
              "type": "string"
            },
            "type": {
              "description": "The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.",
              "readOnly": true,
              "type": "string"
            }
          },
          "x-ms-azure-resource": true
        }
      ],
      "description": "The resource model definition for a ARM tracked top level resource",
      "properties": {
        "location": {
          "description": "The geo-location where the resource lives",
          "type": "string",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "tags": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Resource tags.",
          "type": "object",
          "x-ms-mutability": [
            "read",
            "create",
            "update"
          ]
        }
      },
      "required": [
        "location"
      ]
    }
  ],
  "properties": {
    "identity": {
      "$ref": "#/$defs/Identity",
      "description": "The identity of the resource."
    },
    "kind": {
      "description": "Gets the Kind.",
      "enum": [
        "Storage",
        "StorageV2",
        "BlobStorage",
        "FileStorage",
        "BlockBlobStorage"
      ],
      "readOnly": true,
      "type": "string",
      "x-ms-enum": {
        "modelAsString": true,
        "name": "Kind"
      }
    },
    "properties": {
      "$ref": "#/$defs/StorageAccountProperties",
      "description": "Properties of the storage account.",
      "x-ms-client-flatten": true
    },
    "sku": {
      "description": "The SKU of the storage account.",
      "properties": {
        "name": {
          "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"
          ],
          "type": "string",
          "x-ms-enum": {
            "modelAsString": true,
            "name": "SkuName"
          }
        },
        "tier": {
          "description": "The SKU tier. This is based on the SKU name.",
          "enum": [
            "Standard",
            "Premium"
          ],
          "readOnly": true,
          "type": "string",
          "x-ms-enum": {
            "modelAsString": false,
            "name": "SkuTier"
          }
        }
      },
      "required": [
        "name"
      ]
    }
  },
  "$defs": {
    "ActiveDirectoryProperties": {
      "description": "Settings properties for Active Directory (AD).",
      "properties": {
        "azureStorageSid": {
          "description": "Specifies the security identifier (SID) for Azure Storage.",
          "type": "string"
        },
        "domainGuid": {
          "description": "Specifies the domain GUID.",
          "type": "string"
        },
        "domainName": {
          "description": "Specifies the primary domain that the AD DNS server is authoritative for.",
          "type": "string"
        },
        "domainSid": {
          "description": "Specifies the security identifier (SID).",
          "type": "string"
        },
        "forestName": {
          "description": "Specifies the Active Directory forest to get.",
          "type": "string"
        },
        "netBiosDomainName": {
          "description": "Specifies the NetBIOS domain name.",
          "type": "string"
        }
      },
      "required": [
        "domainName",
        "netBiosDomainName",
        "forestName",
        "domainGuid",
        "domainSid",
        "azureStorageSid"
      ]
    },
    "AzureFilesIdentityBasedAuthentication": {
      "description": "Settings for Azure Files identity based authentication.",
      "properties": {
        "activeDirectoryProperties": {
          "$ref": "#/$defs/ActiveDirectoryProperties",
          "description": "Required if choose AD."
        },
        "directoryServiceOptions": {
          "description": "Indicates the directory service used.",
          "enum": [
            "None",
            "AADDS",
            "AD"
          ],
          "type": "string",
          "x-ms-enum": {
            "modelAsString": true,
            "name": "DirectoryServiceOptions"
          }
        }
      },
      "required": [
        "directoryServiceOptions"
      ]
    },
    "BlobRestoreParameters": {
      "description": "Blob restore parameters",
      "properties": {
        "blobRanges": {
          "description": "Blob ranges to restore.",
          "items": {
            "$ref": "#/$defs/BlobRestoreRange"
          },
          "type": "array"
        },
        "timeToRestore": {
          "description": "Restore blob to the specified time.",
          "format": "date-time",
          "type": "string"
        }
      },
      "required": [
        "timeToRestore",
        "blobRanges"
      ]
    },
    "BlobRestoreRange": {
      "description": "Blob range",
      "properties": {
        "endRange": {
          "description": "Blob end range. Empty means account end.",
          "type": "string"
        },
        "startRange": {
          "description": "Blob start range. Empty means account start.",
          "type": "string"
        }
      },
      "required": [
        "startRange",
        "endRange"
      ]
    },
    "BlobRestoreStatus": {
      "description": "Blob restore status.",
      "properties": {
        "failureReason": {
          "description": "Failure reason when blob restore is failed.",
          "readOnly": true,
          "type": "string"
        },
        "parameters": {
          "$ref": "#/$defs/BlobRestoreParameters",
          "description": "Blob restore request parameters.",
          "readOnly": true
        },
        "restoreId": {
          "description": "Id for tracking blob restore request.",
          "readOnly": true,
          "type": "string"
        },
        "status": {
          "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"
          ],
          "readOnly": true,
          "type": "string",
          "x-ms-enum": {
            "modelAsString": true,
            "name": "BlobRestoreProgressStatus"
          }
        }
      }
    },
    "CustomDomain": {
      "description": "The custom domain assigned to this storage account. This can be set via Update.",
      "properties": {
        "name": {
          "description": "Gets or sets the custom domain name assigned to the storage account. Name is the CNAME source.",
          "type": "string"
        },
        "useSubDomainName": {
          "description": "Indicates whether indirect CName validation is enabled. Default value is false. This should only be set on updates.",
          "type": "boolean"
        }
      },
      "required": [
        "name"
      ]
    },
    "Encryption": {
      "description": "The encryption settings on the storage account.",
      "properties": {
        "keySource": {
          "default": "Microsoft.Storage",
          "description": "The encryption keySource (provider). Possible values (case-insensitive):  Microsoft.Storage, Microsoft.Keyvault",
          "enum": [
            "Microsoft.Storage",
            "Microsoft.Keyvault"
          ],
          "type": "string",
          "x-ms-enum": {
            "modelAsString": true,
            "name": "KeySource"
          }
        },
        "keyvaultproperties": {
          "$ref": "#/$defs/KeyVaultProperties",
          "description": "Properties provided by key vault.",
          "x-ms-client-name": "KeyVaultProperties"
        },
        "services": {
          "$ref": "#/$defs/EncryptionServices",
          "description": "List of services which support encryption."
        }
      },
      "required": [
        "keySource"
      ]
    },
    "EncryptionService": {
      "description": "A service that allows server-side encryption to be used.",
      "properties": {
        "enabled": {
          "description": "A boolean indicating whether or not the service encrypts the data as it is stored.",
          "type": "boolean"
        },
        "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.",
          "enum": [
            "Service",
            "Account"
          ],
          "type": "string",
          "x-ms-enum": {
            "modelAsString": true,
            "name": "KeyType"
          },
          "x-ms-mutability": [
            "create",
            "read"
          ]
        },
        "lastEnabledTime": {
          "description": "Gets a rough estimate of the date/time when the encryption was last enabled by the user. Only returned when encryption is enabled. There might be some unencrypted blobs which were written after this time, as it is just a rough estimate.",
          "format": "date-time",
          "readOnly": true,
          "type": "string"
        }
      }
    },
    "EncryptionServices": {
      "description": "A list of services that support encryption.",
      "properties": {
        "blob": {
          "$ref": "#/$defs/EncryptionService",
          "description": "The encryption function of the blob storage service."
        },
        "file": {
          "$ref": "#/$defs/EncryptionService",
          "description": "The encryption function of the file storage service."
        },
        "queue": {
          "$ref": "#/$defs/EncryptionService",
          "description": "The encryption function of the queue storage service."
        },
        "table": {
          "$ref": "#/$defs/EncryptionService",
          "description": "The encryption function of the table storage service."
        }
      }
    },
    "Endpoints": {
      "description": "The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object.",
      "properties": {
        "blob": {
          "description": "Gets the blob endpoint.",
          "readOnly": true,
          "type": "string"
        },
        "dfs": {
          "description": "Gets the dfs endpoint.",
          "readOnly": true,
          "type": "string"
        },
        "file": {
          "description": "Gets the file endpoint.",
          "readOnly": true,
          "type": "string"
        },
        "internetEndpoints": {
          "$ref": "#/$defs/StorageAccountInternetEndpoints",
          "description": "Gets the internet routing storage endpoints",
          "x-ms-client-flatten": false
        },
        "microsoftEndpoints": {
          "$ref": "#/$defs/StorageAccountMicrosoftEndpoints",
          "description": "Gets the microsoft routing storage endpoints.",
          "x-ms-client-flatten": false
        },
        "queue": {
          "description": "Gets the queue endpoint.",
          "readOnly": true,
          "type": "string"
        },
        "table": {
          "description": "Gets the table endpoint.",
          "readOnly": true,
          "type": "string"
        },
        "web": {
          "description": "Gets the web endpoint.",
          "readOnly": true,
          "type": "string"
        }
      }
    },
    "GeoReplicationStats": {
      "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": {
        "canFailover": {
          "description": "A boolean flag which indicates whether or not account failover is supported for the account.",
          "readOnly": true,
          "type": "boolean"
        },
        "lastSyncTime": {
          "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.",
          "format": "date-time",
          "readOnly": true,
          "type": "string"
        },
        "status": {
          "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"
          ],
          "readOnly": true,
          "type": "string",
          "x-ms-enum": {
            "modelAsString": true,
            "name": "GeoReplicationStatus"
          }
        }
      }
    },
    "IPRule": {
      "description": "IP rule with specific IP or IP range in CIDR format.",
      "properties": {
        "action": {
          "default": "Allow",
          "description": "The action of IP ACL rule.",
          "enum": [
            "Allow"
          ],
          "type": "string",
          "x-ms-enum": {
            "modelAsString": false,
            "name": "Action"
          }
        },
        "value": {
          "description": "Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.",
          "type": "string",
          "x-ms-client-name": "IPAddressOrRange"
        }
      },
      "required": [
        "value"
      ]
    },
    "Identity": {
      "description": "Identity for the resource.",
      "properties": {
        "principalId": {
          "description": "The principal ID of resource identity.",
          "readOnly": true,
          "type": "string"
        },
        "tenantId": {
          "description": "The tenant ID of resource.",
          "readOnly": true,
          "type": "string"
        },
        "type": {
          "description": "The identity type.",
          "enum": [
            "SystemAssigned"
          ],
          "type": "string",
          "x-ms-enum": {
            "modelAsString": false,
            "name": "IdentityType"
          }
        }
      },
      "required": [
        "type"
      ]
    },
    "KeyVaultProperties": {
      "description": "Properties of key vault.",
      "properties": {
        "keyname": {
          "description": "The name of KeyVault key.",
          "type": "string",
          "x-ms-client-name": "KeyName"
        },
        "keyvaulturi": {
          "description": "The Uri of KeyVault.",
          "type": "string",
          "x-ms-client-name": "KeyVaultUri"
        },
        "keyversion": {
          "description": "The version of KeyVault key.",
          "type": "string",
          "x-ms-client-name": "KeyVersion"
        }
      }
    },
    "NetworkRuleSet": {
      "description": "Network rule set",
      "properties": {
        "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.",
          "enum": [
            "None",
            "Logging",
            "Metrics",
            "AzureServices"
          ],
          "type": "string",
          "x-ms-client-name": "Bypass",
          "x-ms-enum": {
            "modelAsString": true,
            "name": "Bypass"
          }
        },
        "defaultAction": {
          "default": "Allow",
          "description": "Specifies the default action of allow or deny when no other rules match.",
          "enum": [
            "Allow",
            "Deny"
          ],
          "type": "string",
          "x-ms-enum": {
            "modelAsString": false,
            "name": "DefaultAction"
          }
        },
        "ipRules": {
          "description": "Sets the IP ACL rules",
          "items": {
            "$ref": "#/$defs/IPRule",
            "description": "IP rule with specific IP or IP range in CIDR format."
          },
          "type": "array"
        },
        "virtualNetworkRules": {
          "description": "Sets the virtual network rules",
          "items": {
            "$ref": "#/$defs/VirtualNetworkRule",
            "description": "Virtual Network rule."
          },
          "type": "array"
        }
      },
      "required": [
        "defaultAction"
      ]
    },
    "PrivateEndpoint": {
      "description": "The Private Endpoint resource.",
      "properties": {
        "id": {
          "description": "The ARM identifier for Private Endpoint",
          "readOnly": true,
          "type": "string"
        }
      }
    },
    "PrivateEndpointConnection": {
      "allOf": [
        {
          "properties": {
            "id": {
              "description": "Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}",
              "readOnly": true,
              "type": "string"
            },
            "name": {
              "description": "The name of the resource",
              "readOnly": true,
              "type": "string"
            },
            "type": {
              "description": "The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.",
              "readOnly": true,
              "type": "string"
            }
          },
          "x-ms-azure-resource": true
        }
      ],
      "description": "The Private Endpoint Connection resource.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/PrivateEndpointConnectionProperties",
          "description": "Resource properties.",
          "x-ms-client-flatten": true
        }
      }
    },
    "PrivateEndpointConnectionProperties": {
      "description": "Properties of the PrivateEndpointConnectProperties.",
      "properties": {
        "privateEndpoint": {
          "$ref": "#/$defs/PrivateEndpoint",
          "description": "The resource of private end point."
        },
        "privateLinkServiceConnectionState": {
          "$ref": "#/$defs/PrivateLinkServiceConnectionState",
          "description": "A collection of information about the state of the connection between service consumer and provider."
        },
        "provisioningState": {
          "$ref": "#/$defs/PrivateEndpointConnectionProvisioningState",
          "description": "The provisioning state of the private endpoint connection resource."
        }
      },
      "required": [
        "privateLinkServiceConnectionState"
      ]
    },
    "PrivateEndpointConnectionProvisioningState": {
      "description": "The current provisioning state.",
      "enum": [
        "Succeeded",
        "Creating",
        "Deleting",
        "Failed"
      ],
      "readOnly": true,
      "type": "string",
      "x-ms-enum": {
        "modelAsString": true,
        "name": "PrivateEndpointConnectionProvisioningState"
      }
    },
    "PrivateEndpointServiceConnectionStatus": {
      "description": "The private endpoint connection status.",
      "enum": [
        "Pending",
        "Approved",
        "Rejected"
      ],
      "type": "string",
      "x-ms-enum": {
        "modelAsString": true,
        "name": "PrivateEndpointServiceConnectionStatus"
      }
    },
    "PrivateLinkServiceConnectionState": {
      "description": "A collection of information about the state of the connection between service consumer and provider.",
      "properties": {
        "actionRequired": {
          "description": "A message indicating if changes on the service provider require any updates on the consumer.",
          "type": "string"
        },
        "description": {
          "description": "The reason for approval/rejection of the connection.",
          "type": "string"
        },
        "status": {
          "$ref": "#/$defs/PrivateEndpointServiceConnectionStatus",
          "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service."
        }
      }
    },
    "RoutingPreference": {
      "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": {
        "publishInternetEndpoints": {
          "description": "A boolean flag which indicates whether internet routing storage endpoints are to be published",
          "type": "boolean"
        },
        "publishMicrosoftEndpoints": {
          "description": "A boolean flag which indicates whether microsoft routing storage endpoints are to be published",
          "type": "boolean"
        },
        "routingChoice": {
          "description": "Routing Choice defines the kind of network routing opted by the user.",
          "enum": [
            "MicrosoftRouting",
            "InternetRouting"
          ],
          "type": "string",
          "x-ms-enum": {
            "modelAsString": true,
            "name": "RoutingChoice"
          }
        }
      }
    },
    "StorageAccountInternetEndpoints": {
      "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": {
          "description": "Gets the blob endpoint.",
          "readOnly": true,
          "type": "string"
        },
        "dfs": {
          "description": "Gets the dfs endpoint.",
          "readOnly": true,
          "type": "string"
        },
        "file": {
          "description": "Gets the file endpoint.",
          "readOnly": true,
          "type": "string"
        },
        "web": {
          "description": "Gets the web endpoint.",
          "readOnly": true,
          "type": "string"
        }
      }
    },
    "StorageAccountMicrosoftEndpoints": {
      "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": {
          "description": "Gets the blob endpoint.",
          "readOnly": true,
          "type": "string"
        },
        "dfs": {
          "description": "Gets the dfs endpoint.",
          "readOnly": true,
          "type": "string"
        },
        "file": {
          "description": "Gets the file endpoint.",
          "readOnly": true,
          "type": "string"
        },
        "queue": {
          "description": "Gets the queue endpoint.",
          "readOnly": true,
          "type": "string"
        },
        "table": {
          "description": "Gets the table endpoint.",
          "readOnly": true,
          "type": "string"
        },
        "web": {
          "description": "Gets the web endpoint.",
          "readOnly": true,
          "type": "string"
        }
      }
    },
    "StorageAccountProperties": {
      "description": "Properties of the storage account.",
      "properties": {
        "accessTier": {
          "description": "Required for storage accounts where kind = BlobStorage. The access tier used for billing.",
          "enum": [
            "Hot",
            "Cool"
          ],
          "readOnly": true,
          "type": "string",
          "x-ms-enum": {
            "modelAsString": false,
            "name": "AccessTier"
          }
        },
        "azureFilesIdentityBasedAuthentication": {
          "$ref": "#/$defs/AzureFilesIdentityBasedAuthentication",
          "description": "Provides the identity based authentication settings for Azure Files."
        },
        "blobRestoreStatus": {
          "$ref": "#/$defs/BlobRestoreStatus",
          "description": "Blob restore status",
          "readOnly": true,
          "x-ms-client-name": "BlobRestoreStatus"
        },
        "creationTime": {
          "description": "Gets the creation date and time of the storage account in UTC.",
          "format": "date-time",
          "readOnly": true,
          "type": "string"
        },
        "customDomain": {
          "$ref": "#/$defs/CustomDomain",
          "description": "Gets the custom domain the user assigned to this storage account.",
          "readOnly": true
        },
        "encryption": {
          "$ref": "#/$defs/Encryption",
          "description": "Gets the encryption settings on the account. If unspecified, the account is unencrypted.",
          "readOnly": true
        },
        "failoverInProgress": {
          "description": "If the failover is in progress, the value will be true, otherwise, it will be null.",
          "readOnly": true,
          "type": "boolean",
          "x-ms-client-name": "FailoverInProgress"
        },
        "geoReplicationStats": {
          "$ref": "#/$defs/GeoReplicationStats",
          "description": "Geo Replication Stats",
          "readOnly": true,
          "x-ms-client-name": "GeoReplicationStats"
        },
        "isHnsEnabled": {
          "description": "Account HierarchicalNamespace enabled if sets to true.",
          "type": "boolean",
          "x-ms-client-name": "IsHnsEnabled"
        },
        "largeFileSharesState": {
          "description": "Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled.",
          "enum": [
            "Disabled",
            "Enabled"
          ],
          "type": "string",
          "x-ms-enum": {
            "modelAsString": true,
            "name": "LargeFileSharesState"
          }
        },
        "lastGeoFailoverTime": {
          "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.",
          "format": "date-time",
          "readOnly": true,
          "type": "string"
        },
        "networkAcls": {
          "$ref": "#/$defs/NetworkRuleSet",
          "description": "Network rule set",
          "readOnly": true,
          "x-ms-client-name": "NetworkRuleSet"
        },
        "primaryEndpoints": {
          "$ref": "#/$defs/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": {
          "description": "Gets the location of the primary data center for the storage account.",
          "readOnly": true,
          "type": "string"
        },
        "privateEndpointConnections": {
          "description": "List of private endpoint connection associated with the specified storage account",
          "items": {
            "$ref": "#/$defs/PrivateEndpointConnection"
          },
          "readOnly": true,
          "type": "array"
        },
        "provisioningState": {
          "description": "Gets the status of the storage account at the time the operation was called.",
          "enum": [
            "Creating",
            "ResolvingDNS",
            "Succeeded"
          ],
          "readOnly": true,
          "type": "string",
          "x-ms-enum": {
            "modelAsString": false,
            "name": "ProvisioningState"
          }
        },
        "routingPreference": {
          "$ref": "#/$defs/RoutingPreference",
          "description": "Maintains information about the network routing choice opted by the user for data transfer",
          "x-ms-client-name": "RoutingPreference"
        },
        "secondaryEndpoints": {
          "$ref": "#/$defs/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
        },
        "secondaryLocation": {
          "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,
          "type": "string"
        },
        "statusOfPrimary": {
          "description": "Gets the status indicating whether the primary location of the storage account is available or unavailable.",
          "enum": [
            "available",
            "unavailable"
          ],
          "readOnly": true,
          "type": "string",
          "x-ms-enum": {
            "modelAsString": false,
            "name": "AccountStatus"
          }
        },
        "statusOfSecondary": {
          "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"
          ],
          "readOnly": true,
          "type": "string",
          "x-ms-enum": {
            "modelAsString": false,
            "name": "AccountStatus"
          }
        },
        "supportsHttpsTrafficOnly": {
          "description": "Allows https traffic only to storage service if sets to true.",
          "type": "boolean",
          "x-ms-client-name": "EnableHttpsTrafficOnly"
        }
      }
    },
    "VirtualNetworkRule": {
      "description": "Virtual Network rule.",
      "properties": {
        "action": {
          "default": "Allow",
          "description": "The action of virtual network rule.",
          "enum": [
            "Allow"
          ],
          "type": "string",
          "x-ms-enum": {
            "modelAsString": false,
            "name": "Action"
          }
        },
        "id": {
          "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.",
          "type": "string",
          "x-ms-client-name": "VirtualNetworkResourceId"
        },
        "state": {
          "description": "Gets the state of virtual network rule.",
          "enum": [
            "provisioning",
            "deprovisioning",
            "succeeded",
            "failed",
            "networkSourceDeleted"
          ],
          "type": "string",
          "x-ms-enum": {
            "modelAsString": false,
            "name": "State"
          }
        }
      },
      "required": [
        "id"
      ]
    }
  }
}