您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

列出订阅帐户存储 JSON 有效负载

请求正文

请求正文为空。

响应正文 (2016-01-01 及更高版本)

对于 HTTP 200,如果使用 API 版本 2016-01-01 或更高版本,则响应正文将包含完整的帐户属性。 有关完整的属性和说明,请参阅存储帐户属性"操作的响应部分。

{
    "value": [
    {
        "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}",
        "name": "accountName1",
        "location": "account geo region",
        "tags": {
            "key1": "value1", 
            "key2": "value2"
         },
        "type": "Microsoft.Storage/StorageAccount",
        "properties": {}
        "sku": {
            "name": "Standard_LRS|Standard_ZRS|Standard_GRS|Standard_RAGRS|Premium_LRS"
            "tier": "Standard|Premium"
        },
        "kind": "Storage|BlobStorage"
    },
    {
       "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}",
        "name": "accountName2",
        "location": "account geo region",
        "tags": {
            "key1": "value1",  
            "key2": "value2"
        },
        "type": "Microsoft.Storage/StorageAccount",
        "properties": {}
        "sku": {
            "name": "Standard_LRS|Standard_ZRS|Standard_GRS|Standard_RAGRS|Premium_LRS"
            "tier": "Standard|Premium"
        },
        "kind": "Storage|BlobStorage"
    }
    ]
}

##响应正文 (2015-06-15 及更早版本)

存储帐户及其属性的格式化列表。 有关完整的属性和说明,请参阅存储帐户属性"操作的响应部分。

{
    "value": [
    {
        "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}",
        "name": "accountName1",
        "location": "account geo region",
        "tags": {
            "key1": "value1", 
            "key2": "value2"
     },
        "type": "Microsoft.Storage/StorageAccount",
        "properties": {}
    },
    {
       "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}",
        "name": "accountName2",
        "location": "account geo region",
        "tags": {
            "key1": "value1",  
            "key2": "value2"
        },
        "type": "Microsoft.Storage/StorageAccount",
        "properties": {}
    }
    ]
}

##响应正文 (2015-06-15 及更早版本)

存储帐户及其属性的格式化列表。 有关完整的属性和说明,请参阅存储帐户属性"操作的响应部分。

{
    "value": [
    {
        "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}",
        "name": "accountName1",
        "location": "account geo region",
        "tags": {
            "key1": "value1", 
            "key2": "value2"
     },
        "type": "Microsoft.Storage/StorageAccount",
        "properties": {}
    },
    {
       "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}",
        "name": "accountName2",
        "location": "account geo region",
        "tags": {
            "key1": "value1",  
            "key2": "value2"
        },
        "type": "Microsoft.Storage/StorageAccount",
        "properties": {}
    }
    ]
}