Sdílet prostřednictvím


Datové části JSON pro úložiště Poll Async Storage

Text odpovědi (HTTP 200) (verze 2016-01-01 a novější)

Pokud v případě protokolu HTTP 200 používáte rozhraní API verze 2016-01-01 nebo novější, bude text odpovědi obsahovat úplné vlastnosti účtu. Úplnou sadu vlastností a popisů najdete v části Odpověď operace Získat vlastnosti účtu úložiště .

{
    "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"
}

Text odpovědi (HTTP 200) (verze 2015-06-15 a starší)

Pro rozhraní API verze 2015-06-15 a starší bude text odpovědi obsahovat původní požadavek, který byl odeslán podle pokynů Azure REST.

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

V případě protokolu HTTP 202 bude text odpovědi prázdný.