Prefixes - List By Peering Service
지정된 구독, 리소스 그룹 및 피어링 서비스에서 모든 접두사를 Lists.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peeringServices/{peeringServiceName}/prefixes?api-version=2021-01-01
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peeringServices/{peeringServiceName}/prefixes?$expand={$expand}&api-version=2021-01-01
URI 매개 변수
Name | In(다음 안에) | 필수 | 형식 | Description |
---|---|---|---|---|
peering
|
path | True |
string |
피어링 서비스의 이름입니다. |
resource
|
path | True |
string |
리소스 그룹의 이름. |
subscription
|
path | True |
string |
Azure 구독 ID입니다. |
api-version
|
query | True |
string |
클라이언트 API 버전입니다. |
$expand
|
query |
string |
확장할 속성입니다. |
응답
Name | 형식 | Description |
---|---|---|
200 OK |
정상 |
|
Other Status Codes |
작업이 실패한 이유를 설명하는 오류 응답입니다. |
보안
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 | 사용자 계정 가장 |
예제
List all the prefixes associated with the peering service
Sample Request
Sample Response
{
"value": [
{
"properties": {
"prefix": "192.168.1.0/24",
"prefixValidationState": "Verified",
"learnedType": "ViaServiceProvider",
"peeringServicePrefixKey": "00000000-0000-0000-0000-000000000000",
"provisioningState": "Succeeded"
},
"name": "peeringServicePrefixName1",
"id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName/prefixes/peeringServicePrefixName1"
},
{
"properties": {
"prefix": "192.168.2.0/24",
"prefixValidationState": "Verified",
"learnedType": "ViaServiceProvider",
"peeringServicePrefixKey": "00000000-0000-0000-0000-000000000000",
"provisioningState": "Succeeded"
},
"name": "peeringServicePrefixName2",
"id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peeringServices/peeringServiceName/prefixes/peeringServicePrefixName2"
}
]
}
정의
Name | Description |
---|---|
Error |
작업이 실패한 이유를 설명하는 오류 세부 정보입니다. |
Error |
작업이 실패한 이유를 나타내는 오류 응답입니다. |
learned |
학습된 접두사 형식 |
Peering |
피어링 서비스 접두사 클래스입니다. |
Peering |
접두사와 연결된 이벤트의 세부 정보입니다. |
Peering |
페이지를 매긴 피어링 서비스 접두사 목록입니다. |
prefix |
접두사 유효성 검사 상태입니다. |
provisioning |
리소스의 프로비전 상태입니다. |
ErrorDetail
작업이 실패한 이유를 설명하는 오류 세부 정보입니다.
Name | 형식 | Description |
---|---|---|
code |
string |
오류 코드입니다. |
message |
string |
오류 메시지입니다. |
ErrorResponse
작업이 실패한 이유를 나타내는 오류 응답입니다.
Name | 형식 | Description |
---|---|---|
error |
작업이 실패한 이유를 설명하는 오류 세부 정보입니다. |
learnedType
학습된 접두사 형식
Name | 형식 | Description |
---|---|---|
None |
string |
|
ViaServiceProvider |
string |
|
ViaSession |
string |
PeeringServicePrefix
피어링 서비스 접두사 클래스입니다.
Name | 형식 | Description |
---|---|---|
id |
string |
리소스의 ID입니다. |
name |
string |
리소스의 이름입니다. |
properties.errorMessage |
string |
유효성 검사 상태에 대한 오류 메시지 |
properties.events |
피어링 서비스 접두사에 대한 이벤트 목록 |
|
properties.learnedType |
학습된 접두사 형식 |
|
properties.peeringServicePrefixKey |
string |
피어링 서비스 접두사 키 |
properties.prefix |
string |
트래픽이 시작되는 접두사입니다. |
properties.prefixValidationState |
접두사 유효성 검사 상태 |
|
properties.provisioningState |
리소스의 프로비전 상태입니다. |
|
type |
string |
리소스 형식입니다. |
PeeringServicePrefixEvent
접두사와 연결된 이벤트의 세부 정보입니다.
Name | 형식 | Description |
---|---|---|
eventDescription |
string |
접두사와 연결된 이벤트에 대한 설명입니다. |
eventLevel |
string |
접두사와 연결된 이벤트의 수준입니다. |
eventSummary |
string |
접두사와 연결된 이벤트의 요약입니다. |
eventTimestamp |
string |
접두사에 연결된 이벤트의 타임스탬프입니다. |
eventType |
string |
접두사와 연결된 이벤트의 형식입니다. |
PeeringServicePrefixListResult
페이지를 매긴 피어링 서비스 접두사 목록입니다.
Name | 형식 | Description |
---|---|---|
nextLink |
string |
피어링 서비스 접두사 다음 페이지를 가져올 링크입니다. |
value |
피어링 서비스 접두사 목록입니다. |
prefixValidationState
접두사 유효성 검사 상태입니다.
Name | 형식 | Description |
---|---|---|
Failed |
string |
|
Invalid |
string |
|
None |
string |
|
Pending |
string |
|
Unknown |
string |
|
Verified |
string |
|
Warning |
string |
provisioningState
리소스의 프로비전 상태입니다.
Name | 형식 | Description |
---|---|---|
Deleting |
string |
|
Failed |
string |
|
Succeeded |
string |
|
Updating |
string |