Delen via


Private Endpoint Connections - Update

Hiermee wordt een privé-eindpuntverbinding bijgewerkt.

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}?api-version=2025-01-01

URI-parameters

Name In Vereist Type Description
privateEndpointConnectionName
path True

string

De naam van de privé-eindpuntverbinding.

resourceGroupName
path True

string

minLength: 1
maxLength: 90

De naam van de resourcegroep. De naam is niet hoofdlettergevoelig.

resourceName
path True

string

minLength: 1
maxLength: 63
pattern: ^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$

De naam van de beheerde clusterresource.

subscriptionId
path True

string (uuid)

De id van het doelabonnement. De waarde moet een UUID zijn.

api-version
query True

string

minLength: 1

De API-versie die voor deze bewerking moet worden gebruikt.

Aanvraagbody

Name Vereist Type Description
properties.privateLinkServiceConnectionState True

PrivateLinkServiceConnectionState

Een verzameling informatie over de status van de verbinding tussen serviceconsumer en provider.

properties.privateEndpoint

PrivateEndpoint

De resource van een privé-eindpunt.

Antwoorden

Name Type Description
200 OK

PrivateEndpointConnection

De bestaande privé-eindpuntverbinding is bijgewerkt.

201 Created

PrivateEndpointConnection

De nieuwe privé-eindpuntverbinding is gemaakt.

Other Status Codes

CloudError

Foutreactie waarin wordt beschreven waarom de bewerking is mislukt.

Beveiliging

azure_auth

Azure Active Directory OAuth2-stroom

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

Bereiken

Name Description
user_impersonation Uw gebruikersaccount imiteren

Voorbeelden

Update Private Endpoint Connection

Voorbeeldaanvraag

PUT https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ContainerService/managedClusters/clustername1/privateEndpointConnections/privateendpointconnection1?api-version=2025-01-01

{
  "properties": {
    "privateLinkServiceConnectionState": {
      "status": "Approved"
    }
  }
}

Voorbeeldrespons

{
  "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ContainerService/managedCluster/clustername1/privateEndpointConnections/privateendpointconnection1",
  "name": "privateendpointconnection1",
  "type": "Microsoft.Network/privateLinkServices/privateEndpointConnections",
  "properties": {
    "privateEndpoint": {
      "id": "/subscriptions/subid2/resourceGroups/rg2/providers/Microsoft.Network/privateEndpoints/pe2"
    },
    "privateLinkServiceConnectionState": {
      "status": "Approved"
    },
    "provisioningState": "Succeeded"
  }
}
{
  "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ContainerService/managedCluster/clustername1/privateEndpointConnections/privateendpointconnection1",
  "name": "privateendpointconnection1",
  "type": "Microsoft.Network/privateLinkServices/privateEndpointConnections",
  "properties": {
    "privateEndpoint": {
      "id": "/subscriptions/subid2/resourceGroups/rg2/providers/Microsoft.Network/privateEndpoints/pe2"
    },
    "privateLinkServiceConnectionState": {
      "status": "Approved"
    },
    "provisioningState": "Succeeded"
  }
}

Definities

Name Description
CloudError

Een foutreactie van de Container-service.

CloudErrorBody

Een foutreactie van de Container-service.

ConnectionStatus

De verbindingsstatus van de Private Link-service.

PrivateEndpoint

Privé-eindpunt waartoe een verbinding behoort.

PrivateEndpointConnection

Een privé-eindpuntverbinding

PrivateEndpointConnectionProvisioningState

De huidige inrichtingsstatus.

PrivateLinkServiceConnectionState

De status van een private link-serviceverbinding.

CloudError

Een foutreactie van de Container-service.

Name Type Description
error

CloudErrorBody

Details over de fout.

CloudErrorBody

Een foutreactie van de Container-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 informatie 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.

ConnectionStatus

De verbindingsstatus van de Private Link-service.

Waarde Description
Approved
Disconnected
Pending
Rejected

PrivateEndpoint

Privé-eindpunt waartoe een verbinding behoort.

Name Type Description
id

string

De resource-id van het privé-eindpunt

PrivateEndpointConnection

Een privé-eindpuntverbinding

Name Type Description
id

string

De id van de privé-eindpuntverbinding.

name

string

De naam van de privé-eindpuntverbinding.

properties.privateEndpoint

PrivateEndpoint

De resource van een privé-eindpunt.

properties.privateLinkServiceConnectionState

PrivateLinkServiceConnectionState

Een verzameling informatie over de status van de verbinding tussen serviceconsumer en provider.

properties.provisioningState

PrivateEndpointConnectionProvisioningState

De huidige inrichtingsstatus.

type

string

Het resourcetype.

PrivateEndpointConnectionProvisioningState

De huidige inrichtingsstatus.

Waarde Description
Canceled
Creating
Deleting
Failed
Succeeded

PrivateLinkServiceConnectionState

De status van een private link-serviceverbinding.

Name Type Description
description

string

De beschrijving van de private link-serviceverbinding.

status

ConnectionStatus

De verbindingsstatus van de Private Link-service.