Delen via


Service Association Links - List

Haalt een lijst met koppelingen voor servicekoppelingen voor een subnet op.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/ServiceAssociationLinks?api-version=2025-03-01

URI-parameters

Name In Vereist Type Description
resourceGroupName
path True

string

De naam van de resourcegroep.

subnetName
path True

string

De naam van het subnet.

subscriptionId
path True

string

De abonnementsreferenties waarmee het Microsoft Azure-abonnement uniek wordt geïdentificeerd. De abonnements-id maakt deel uit van de URI voor elke serviceoproep.

virtualNetworkName
path True

string

De naam van het virtuele netwerk.

api-version
query True

string

Client-API-versie.

Antwoorden

Name Type Description
200 OK

ServiceAssociationLinksListResult

Verzoek geslaagd. De bewerking retourneert een lijst met koppelingen voor servicekoppelingen voor het subnet.

Other Status Codes

CloudError

Foutreactie waarin wordt beschreven waarom de bewerking is mislukt.

Beveiliging

azure_auth

OAuth2-stroom voor Azure Active Directory.

Type: oauth2
Stroom: implicit
Autorisatie-URL: https://login.microsoftonline.com/common/oauth2/authorize

Bereiken

Name Description
user_impersonation Uw gebruikersaccount imiteren

Voorbeelden

Voorbeeldaanvraag

GET https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet/ServiceAssociationLinks?api-version=2025-03-01

Voorbeeldrespons

{
  "value": [
    {
      "name": "acisal",
      "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet/serviceAssociationLinks/acisal",
      "etag": "W/\"00000000-0000-0000-0000-000000000000\"",
      "type": "Microsoft.Network/virtualNetworks/subnets/serviceAssociationLinks",
      "properties": {
        "provisioningState": "Succeeded",
        "linkedResourceType": "Microsoft.ContainerInstance/containerGroups",
        "allowDelete": true,
        "locations": [
          "westus"
        ]
      }
    }
  ]
}

Definities

Name Description
CloudError

Een foutreactie van de service.

CloudErrorBody

Een foutreactie van de service.

ProvisioningState

De huidige inrichtingsstatus.

ServiceAssociationLink

ServiceAssociationLink-resource.

ServiceAssociationLinksListResult

Antwoord voor ServiceAssociationLinks_List bewerking.

CloudError

Een foutreactie van de service.

Name Type Description
error

CloudErrorBody

Wolk fout lichaam.

CloudErrorBody

Een foutreactie van de service.

Name Type Description
code

string

Een id voor de fout. Codes zijn invariant en zijn bedoeld om programmatisch te worden gebruikt.

details

CloudErrorBody[]

Een lijst met aanvullende details over de fout.

message

string

Een bericht met een beschrijving van de fout, bedoeld om te worden weergegeven in een gebruikersinterface.

target

string

Het doel van de specifieke fout. Bijvoorbeeld de naam van de eigenschap in fout.

ProvisioningState

De huidige inrichtingsstatus.

Waarde Description
Succeeded
Updating
Deleting
Failed

ServiceAssociationLink-resource.

Name Type Description
etag

string

Een unieke alleen-lezen tekenreeks die wordt gewijzigd wanneer de resource wordt bijgewerkt.

id

string

Resource-id.

name

string

Naam van de resource die uniek is binnen een resourcegroep. Deze naam kan worden gebruikt voor toegang tot de resource.

properties.allowDelete

boolean

Indien waar, kan de resource worden verwijderd.

properties.link

string

Koppeling naar de externe resource.

properties.linkedResourceType

string

Resourcetype van de gekoppelde resource.

properties.locations

string[]

Een lijst met locaties.

properties.provisioningState

ProvisioningState

De inrichtingsstatus van de resource voor de koppelingskoppeling van de servicekoppeling.

type

string

Type bron

ServiceAssociationLinksListResult

Antwoord voor ServiceAssociationLinks_List bewerking.

Name Type Description
nextLink

string

De URL om de volgende reeks resultaten te krijgen.

value

ServiceAssociationLink[]

De serviceassociatie koppelt in een subnet.