Private Endpoint Connections - Delete
지정된 이름의 프라이빗 엔드포인트 연결을 삭제합니다.
DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}?api-version=2021-11-01
URI 매개 변수
Name
In(다음 안에)
필수
형식
Description
privateEndpointConnectionName
path
True
string
resourceGroupName
path
True
string
리소스를 포함하는 리소스 그룹의 이름입니다. Azure 리소스 관리자 API 또는 포털에서 이 값을 가져올 수 있습니다.
serverName
path
True
string
서버의 이름입니다.
subscriptionId
path
True
string
Azure 구독을 식별하는 구독 ID입니다.
api-version
query
True
string
요청에 사용할 API 버전입니다.
응답
Name
형식
Description
200 OK
프라이빗 엔드포인트 연결을 삭제했습니다.
202 Accepted
수락됨
204 No Content
프라이빗 엔드포인트 연결이 없습니다.
Other Status Codes
오류 응답: ***
400 NetworkingSubscriptionNotRegisteredWithSqlRp - 네트워크 쪽 프라이빗 엔드포인트에 사용되는 구독이 SQL 리소스 공급자에 등록되지 않았습니다.
400 PrivateEndpointConnectionDoesNotExist - 프라이빗 엔드포인트 연결이 없습니다.
400 PrivateEndpointConnectionStatusNotPending - 프라이빗 엔드포인트 연결 상태가 보류 중이 아닙니다.
400 NullRemotePrivateLinkServiceConnectionState - 원격 Private Link 서비스 연결 상태가 Null입니다.
400 NullPrivateEndpointConnectionProperties - 프라이빗 엔드포인트 연결 속성이 Null입니다.
400 NullRemotePrivateLinkServiceConnectionStateStatus - 원격 Private Link 서비스 연결 상태가 Null입니다.
400 IncorrectPrivateLinkServiceConnectionStateStatus - Private Link 서비스 연결 상태 상태는 "승인됨" 또는 "거부됨"이어야 합니다.
404 PrivateEndpointConnectionDroppedByOtherWorkflow - {0}
404 SubscriptionDoesNotHaveServer - 요청된 서버를 찾을 수 없습니다.
404 ServerNotInSubscriptionResourceGroup - 지정된 서버가 지정된 리소스 그룹 및 구독에 없습니다.
404 OperationIdNotFound - ID가 있는 작업이 없습니다.
409 OperationCancelled - 사용자가 작업을 취소했습니다.
409 OperationInterrupted - 동일한 리소스의 다른 작업에 의해 중단되었으므로 리소스에 대한 작업을 완료할 수 없습니다.
429 SubscriptionTooManyCreateUpdateRequests - 사용 가능한 리소스에서 처리할 수 있는 최대 요청을 초과하는 요청입니다.
429 SubscriptionTooManyRequests - 사용 가능한 리소스에서 처리할 수 있는 최대 요청을 초과하는 요청입니다.
500 OperationTimedOut - 작업 시간이 초과되고 자동으로 롤백됩니다. 작업을 다시 시도하세요.
503 TooManyRequests - 사용 가능한 리소스에서 처리할 수 있는 최대 요청을 초과하는 요청입니다.
예제
Deletes a private endpoint connection with a given name.
Sample Request
DELETE https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default/providers/Microsoft.Sql/servers/test-svr/privateEndpointConnections/private-endpoint-connection-name?api-version=2021-11-01
import com.azure.core.util.Context;
/** Samples for PrivateEndpointConnections Delete. */
public final class Main {
/*
* x-ms-original-file:
* specification/sql/resource-manager/Microsoft.Sql/stable/2021-11-01/examples/PrivateEndpointConnectionDelete.json
*/
/**
* Sample code: Deletes a private endpoint connection with a given name.
*
* @param azure The entry point for accessing resource management APIs in Azure.
*/
public static void
deletesAPrivateEndpointConnectionWithAGivenName(com.azure.resourcemanager.AzureResourceManager azure) {
azure.sqlServers().manager().serviceClient().getPrivateEndpointConnections().delete("Default", "test-svr",
"private-endpoint-connection-name", Context.NONE);
}
}
To use the Azure SDK library in your project, see this documentation . To provide feedback on this code sample, open a GitHub issue