Delen via


JSON-payloads voor Poll Asynchron-opslag

Antwoordtekst (HTTP 200) (versie 2016-01-01 en hoger)

Als u voor HTTP 200 API-versie 2016-01-01 of hoger gebruikt, bevat de hoofdtekst van het antwoord de volledige accounteigenschappen. Zie de sectie Antwoord van de bewerking Eigenschappen van opslagaccount ophalen voor de volledige set eigenschappen en beschrijvingen.

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

Antwoordtekst (HTTP 200) (versie 2015-06-15 en eerder)

Voor API-versie 2015-06-15 en eerder bevat de hoofdtekst van het antwoord de oorspronkelijke aanvraag die is PUT volgens de Azure REST-richtlijnen.

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

Voor HTTP 202 is de hoofdtekst van het antwoord leeg.