Virtual Clusters - List

Hämtar en lista över alla virtualClusters i prenumerationen.

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Sql/virtualClusters?api-version=2015-05-01-preview

URI-parametrar

Name In Required Type Description
subscriptionId
path True
  • string

Det prenumerations-ID som identifierar en Azure-prenumeration.

api-version
query True
  • string

DEN API-version som ska användas för begäran.

Svar

Name Type Description
200 OK

Listan över virtuella kluster har hämtats.

Other Status Codes

Felsvar: ***

Exempel

List virtualClusters

Sample Request

GET https://management.azure.com/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/providers/Microsoft.Sql/virtualClusters?api-version=2015-05-01-preview

Sample Response

{
  "value": [
    {
      "properties": {
        "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
        "family": "Gen4",
        "childResources": [
          "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance1",
          "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance2"
        ]
      },
      "location": "westeurope",
      "id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/virtualClusters/vc-subnet1-f769ed71-b3ad-491a-a9d5-26eeceaa6be2",
      "name": "vc-subnet1-f769ed71-b3ad-491a-a9d5-26eeceaa6be2",
      "type": "Microsoft.Sql/virtualClusters"
    },
    {
      "properties": {
        "subnetId": "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/subnet2",
        "family": "Gen5",
        "childResources": [
          "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance3",
          "/subscriptions/20D7082A-0FC7-4468-82BD-542694D5042B/resourceGroups/testrg/providers/Microsoft.Sql/managedInstances/testinstance4"
        ]
      },
      "location": "westeurope",
      "id": "/subscriptions/20d7082a-0fc7-4468-82bd-542694d5042b/resourceGroups/testrg/providers/Microsoft.Sql/virtualClusters/vc-subnet2-14b795bd-9c8f-46ec-adb8-2b8eff56ac16",
      "name": "vc-subnet1-14b795bd-9c8f-46ec-adb8-2b8eff56ac16",
      "type": "Microsoft.Sql/virtualClusters"
    }
  ]
}

Definitioner

VirtualCluster

Ett Azure SQL virtuellt kluster.

VirtualClusterListResult

En lista över virtuella kluster.

VirtualCluster

Ett Azure SQL virtuellt kluster.

Name Type Description
id
  • string

Resurs-ID.

location
  • string

Resursplats.

name
  • string

Resursnamn.

properties.childResources
  • string[]

Lista över resurser i det här virtuella klustret.

properties.family
  • string

Om tjänsten har olika generationer av maskinvara, för samma SKU, kan den samlas in här.

properties.subnetId
  • string

Undernätsresurs-ID för det virtuella klustret.

tags
  • object

Resurstaggar.

type
  • string

Resurstyp.

VirtualClusterListResult

En lista över virtuella kluster.

Name Type Description
nextLink
  • string

Länk för att hämta nästa sida med resultat.

value

Matris med resultat.