Share via


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 パラメーター

名前 / 必須 説明
customer_id
path True

string

entitlement_id
path True

string

subscription_id
path True

string

version
path True

string

要求ヘッダー

名前 必須 説明
Authorization True

string

承認ベアラー トークン

MS-CorrelationId

string

要求を内部的に追跡するために使用されます。 MS-CorrelationIdが指定されていない場合、サーバーは要求ごとに新しいものを生成します

MS-CV

string

要求を内部的に追跡するために使用されます。 MS-CV が指定されていない場合、サーバーは要求ごとに新しい CV を生成します

MS-RequestId

string

要求のべき等性に使用されます。 MS-RequestIdが指定されていない場合、サーバーは要求ごとに新しいものを生成します

応答

名前 説明
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"

定義

名前 説明
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]
名前 説明
body

string

headers

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

method

string

uri

string

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

名前 説明
friendlyName

string

id

string

links

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

status

string

subscriptionId

string

名前 説明
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]

名前 説明
key

string

value

string