Private Endpoint Connections - Put
Werk de status bij van de opgegeven privé-eindpuntverbinding die is gekoppeld aan het opslagaccount.
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}?api-version=2023-01-01
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
account
|
path | True |
string |
De naam van het opslagaccount in de opgegeven resourcegroep. Opslagaccountnamen moeten tussen 3 en 24 tekens lang zijn en mogen alleen getallen en kleine letters bevatten. Regex pattern: |
private
|
path | True |
string |
De naam van de privé-eindpuntverbinding die is gekoppeld aan de Azure-resource |
resource
|
path | True |
string |
De naam van de resourcegroep in het abonnement van de gebruiker. De naam is niet hoofdlettergevoelig. Regex pattern: |
subscription
|
path | True |
string |
De id van het doelabonnement. |
api-version
|
query | True |
string |
De API-versie die voor deze bewerking moet worden gebruikt. |
Aanvraagbody
Name | Vereist | Type | Description |
---|---|---|---|
properties.privateLinkServiceConnectionState | True |
Een verzameling informatie over de status van de verbinding tussen de servicegebruiker en de provider. |
|
properties.privateEndpoint |
De resource van het privé-eindpunt. |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
OK: werk de eigenschappen van de privé-eindpuntverbinding bij. |
|
Other Status Codes |
Foutreactie waarin wordt beschreven waarom de bewerking is mislukt. |
Beveiliging
azure_auth
Azure Active Directory OAuth2-stroom
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | Uw gebruikersaccount imiteren |
Voorbeelden
StorageAccountPutPrivateEndpointConnection
Sample Request
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res7687/providers/Microsoft.Storage/storageAccounts/sto9699/privateEndpointConnections/{privateEndpointConnectionName}?api-version=2023-01-01
{
"properties": {
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-Approved"
}
}
}
Sample Response
{
"id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/privateEndpointConnections/{privateEndpointConnectionName}",
"name": "{privateEndpointConnectionName}",
"type": "Microsoft.Storage/storageAccounts/privateEndpointConnections",
"properties": {
"provisioningState": "Succeeded",
"privateEndpoint": {
"id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Network/privateEndpoints/petest01"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-Approved",
"actionRequired": "None"
}
}
}
Definities
Name | Description |
---|---|
Error |
Een foutreactie van de opslagresourceprovider. |
Error |
Contract voor hoofdtekst van foutreactie. |
Private |
De privé-eindpuntresource. |
Private |
De privé-eindpuntverbindingsresource. |
Private |
De huidige inrichtingsstatus. |
Private |
De verbindingsstatus van het privé-eindpunt. |
Private |
Een verzameling informatie over de status van de verbinding tussen de servicegebruiker en de provider. |
ErrorResponse
Een foutreactie van de opslagresourceprovider.
Name | Type | Description |
---|---|---|
error |
Antwoordtekst van de fout van de Azure Storage-resourceprovider. |
ErrorResponseBody
Contract voor hoofdtekst van foutreactie.
Name | Type | Description |
---|---|---|
code |
string |
Een id voor de fout. Codes zijn invariant en zijn bedoeld om programmatisch te worden gebruikt. |
message |
string |
Een bericht met een beschrijving van de fout, bedoeld om te worden weergegeven in een gebruikersinterface. |
PrivateEndpoint
De privé-eindpuntresource.
Name | Type | Description |
---|---|---|
id |
string |
De ARM-id voor privé-eindpunt |
PrivateEndpointConnection
De privé-eindpuntverbindingsresource.
Name | Type | Description |
---|---|---|
id |
string |
Volledig gekwalificeerde resource-id voor de resource. Bijvoorbeeld - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name |
string |
De naam van de resource |
properties.privateEndpoint |
De resource van het privé-eindpunt. |
|
properties.privateLinkServiceConnectionState |
Een verzameling informatie over de status van de verbinding tussen de servicegebruiker en de provider. |
|
properties.provisioningState |
De inrichtingsstatus van de privé-eindpuntverbindingsresource. |
|
type |
string |
Het type resource. Bijvoorbeeld 'Microsoft.Compute/virtualMachines' of 'Microsoft.Storage/storageAccounts' |
PrivateEndpointConnectionProvisioningState
De huidige inrichtingsstatus.
Name | Type | Description |
---|---|---|
Creating |
string |
|
Deleting |
string |
|
Failed |
string |
|
Succeeded |
string |
PrivateEndpointServiceConnectionStatus
De verbindingsstatus van het privé-eindpunt.
Name | Type | Description |
---|---|---|
Approved |
string |
|
Pending |
string |
|
Rejected |
string |
PrivateLinkServiceConnectionState
Een verzameling informatie over de status van de verbinding tussen de servicegebruiker en de provider.
Name | Type | Description |
---|---|---|
actionRequired |
string |
Een bericht waarin wordt aangegeven of wijzigingen in de serviceprovider updates van de consument vereisen. |
description |
string |
De reden voor goedkeuring/afwijzing van de verbinding. |
status |
Hiermee wordt aangegeven of de verbinding is goedgekeurd/geweigerd/verwijderd door de eigenaar van de service. |