Azure spending - Get an Azure entitlement for a subscription

지정된 고객에 대한 구독 식별자의 자격을 가져옵니다.

GET https://api.partnercenter.microsoft.com/v{version}/customers/{customer_id}/subscriptions/{subscription_id}/azureEntitlements/{entitlement_id}

URI 매개 변수

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

string

entitlement_id
path True

string

subscription_id
path True

string

version
path True

string

요청 헤더

Name 필수 형식 Description
Authorization True

string

권한 부여 전달자 토큰

MS-CorrelationId

string

내부적으로 요청을 추적하는 데 사용됩니다. MS-CorrelationId 제공되지 않으면 서버는 각 요청에 대해 새 MS-CorrelationId 생성합니다.

MS-CV

string

내부적으로 요청을 추적하는 데 사용됩니다. MS-CV가 제공되지 않으면 서버는 각 요청에 대해 새 를 생성합니다.

MS-RequestId

string

요청의 멱등성에 사용됩니다. MS-RequestId 제공되지 않으면 서버는 각 요청에 대해 새 MS-RequestId 생성합니다.

응답

Name 형식 Description
200 OK

Microsoft.Partner.Services.Subscriptions.V1.Models.AzureEntitlement

요청이 성공했습니다. 응답 본문에는 권한 식별자가 포함됩니다.

Media Types: "text/plain", "application/json", "text/json"

400 Bad Request

누락되었거나 잘못된 입력이 있었습니다. 응답 본문은 오류 세부 정보를 제공합니다.

Media Types: "text/plain", "application/json", "text/json"

401 Unauthorized

요청이 인증되지 않았습니다. 클라이언트는 먼저 파트너 API 서비스를 사용하여 인증해야 합니다.

Media Types: "text/plain", "application/json", "text/json"

403 Forbidden

요청이 인증되었지만 호출자에게 호출할 권한이 없으므로 거부되었습니다.

Media Types: "text/plain", "application/json", "text/json"

404 Not Found

리소스를 찾을 수 없거나 지정된 입력 매개 변수와 함께 사용할 수 없습니다.

Media Types: "text/plain", "application/json", "text/json"

500 Internal Server Error

서버 오류

Media Types: "text/plain", "application/json", "text/json"

정의

Name Description
Microsoft.Partner.Core.Collections.Link
Microsoft.Partner.Services.Subscriptions.V1.Models.AzureEntitlement
Microsoft.Partner.Services.Subscriptions.V1.Models.AzureEntitlementLinks
System.Collections.Generic.KeyValuePair[System.String,System.String]
Name 형식 Description
body

string

headers

System.Collections.Generic.KeyValuePair[System.String,System.String][]

method

string

uri

string

Microsoft.Partner.Services.Subscriptions.V1.Models.AzureEntitlement

Name 형식 Description
friendlyName

string

id

string

links

Microsoft.Partner.Services.Subscriptions.V1.Models.AzureEntitlementLinks

status

string

subscriptionId

string

Name 형식 Description
next

Microsoft.Partner.Core.Collections.Link

previous

Microsoft.Partner.Core.Collections.Link

self

Microsoft.Partner.Core.Collections.Link

System.Collections.Generic.KeyValuePair[System.String,System.String]

Name 형식 Description
key

string

value

string