Vpn Gateways - Stop Packet Capture

지정된 리소스 그룹의 vpn Gateway에서 패킷 캡처를 중지합니다.

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/stoppacketcapture?api-version=2023-09-01

URI 매개 변수

Name In(다음 안에) 필수 형식 Description
gatewayName
path True

string

게이트웨이의 이름입니다.

resourceGroupName
path True

string

VpnGateway의 리소스 그룹 이름입니다.

subscriptionId
path True

string

Microsoft Azure 구독을 고유하게 식별하는 구독 자격 증명입니다. 구독 ID는 모든 서비스 호출에 대한 URI의 파트를 형성합니다.

api-version
query True

string

클라이언트 API 버전입니다.

요청 본문

Name 형식 Description
sasUrl

string

vpn Gateway의 패킷 캡처에 대한 SAS URL입니다.

응답

Name 형식 Description
200 OK

string

요청이 성공했습니다. vpn Gateway에서 작업 패킷 캡처가 중지되었습니다.

202 Accepted

수락되고 작업이 비동기적으로 완료됩니다.

Other Status Codes

CloudError

작업이 실패한 이유를 설명하는 오류 응답입니다.

보안

azure_auth

Azure Active Directory OAuth2 Flow.

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation 사용자 계정 가장

예제

Stop packet capture on vpn gateway

Sample Request

POST https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/vpngw/stoppacketcapture?api-version=2023-09-01

{
  "sasUrl": "https://teststorage.blob.core.windows.net/?sv=2018-03-28&ss=bfqt&srt=sco&sp=rwdlacup&se=2019-09-13T07:44:05Z&st=2019-09-06T23:44:05Z&spr=https&sig=V1h9D1riltvZMI69d6ihENnFo%2FrCvTqGgjO2lf%2FVBhE%3D"
}

Sample Response

Location: https://management.azure.com/subscriptions/11111111-1111-1111-1111-111111111111/providers/Microsoft.Network/locations/region/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-09-01
"\"{\"Status\":\"Successful\",\"Data\":null}\""

정의

Name Description
CloudError

서비스의 오류 응답입니다.

CloudErrorBody

서비스의 오류 응답입니다.

VpnGatewayPacketCaptureStopParameters

패킷 캡처 매개 변수를 중지합니다.

CloudError

서비스의 오류 응답입니다.

Name 형식 Description
error

CloudErrorBody

클라우드 오류 본문.

CloudErrorBody

서비스의 오류 응답입니다.

Name 형식 Description
code

string

오류의 식별자입니다. 코드는 고정이며 프로그래밍 방식으로 사용하기 위한 것입니다.

details

CloudErrorBody[]

오류에 대한 추가 세부 정보 목록입니다.

message

string

사용자 인터페이스에 표시하기에 적합한 오류를 설명하는 메시지입니다.

target

string

특정 오류의 대상입니다. 예를 들어 오류에 있는 속성의 이름입니다.

VpnGatewayPacketCaptureStopParameters

패킷 캡처 매개 변수를 중지합니다.

Name 형식 Description
sasUrl

string

vpn Gateway의 패킷 캡처에 대한 SAS URL입니다.