Condividi tramite


Payload JSON per l'archiviazione asincrona di polling

Corpo della risposta (HTTP 200) (versione 2016-01-01 e successive)

Per HTTP 200, se si usa la versione API 2016-01-01 o successiva, il corpo della risposta conterrà le proprietà complete dell'account. Per il set completo di proprietà e descrizioni, vedere la sezione Risposta dell'operazione Get Storage Account Properties .

{
    "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}",
    "name": "accountName",
    "location": "account geo region",
    "tags": {
        "key1": "value1", 
        "key2": "value2"
    },
    "type": "Microsoft.Storage/storageAccounts",
    "properties": {
        "provisioningState": "status",
        "encryption": {
	               "services": {
                        "blob": {
                        "enabled": true,
                            "lastEnabledTime": dateTime}
                },
	             "keySource": "Microsoft.Storage
         },        
        "primaryEndpoints": {
                "blob": "blob endpoint",
                "queue": "queue endpoint",
                "table": "table endpoint",
                "file": "file endpoint"
        },
        "primaryLocation": "primary geo region",
        "statusOfPrimary": "available|unavailable",
        "lastGeoFailoverTime": "dateTime",
        "secondaryLocation": "secondary geo region",
        "statusOfSecondary": "available|unavailable",
        "secondaryEndpoints": {
                "blob": "secondary blob endpoint",
                "queue": "secondary queue endpoint",
                "table": "secondary table endpoint",
        },
        "creationTime": "dateTime",
        "customDomain": {
                "name": "user domain”
        },
        "accessTier": "Cool|Hot"
    }
    "sku": {
        "name": "Standard_LRS|Standard_ZRS|Standard_GRS|Standard_RAGRS|Premium_LRS"
        "tier": "Standard|Premium"    
    }, 
    "kind": "Storage|BlobStorage"
}

Corpo della risposta (HTTP 200) (versione 2015-06-15 e precedenti)

Per l'API versione 2015-06-15 e precedenti, il corpo della risposta conterrà la richiesta originale PUT in base alle linee guida REST di Azure.

{
    "location": "account geo region",
    "tags": {
      "key1": "value1", 
      "key2": "value2"
    },
    "properties": {
      "accountType": "Standard_LRS|Standard_ZRS|Standard_GRS|Standard_RAGRS|Premium_LRS"
    }
}

Per HTTP 202, il corpo della risposta sarà vuoto.