Aracılığıyla paylaş


Poll Async Storage için JSON yükleri

Yanıt Gövdesi (HTTP 200) (sürüm 2016-01-01 ve üzeri)

HTTP 200 için, API sürümü 2016-01-01 veya üzeri kullanılıyorsa, yanıt gövdesi tam hesap özelliklerini içerir. Tüm özellikler ve açıklamalar için Depolama Hesabı Özelliklerini Al işleminin Yanıt bölümüne bakın.

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

Yanıt Gövdesi (HTTP 200) (sürüm 2015-06-15 ve öncesi)

API sürümü 2015-06-15 ve önceki sürümler için yanıt gövdesi, Azure REST yönergelerine göre PUT olan özgün isteği içerir.

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

HTTP 202 için yanıt gövdesi boş olacaktır.