你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Offer Delegations - Get
获取指定的产品/服务委派。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Subscriptions.Admin/offers/{offer}/offerDelegations/{offerDelegationName}?api-version=2015-11-01
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
offer
|
path | True |
string |
产品/服务的名称。 |
offer
|
path | True |
string |
产品/服务委派的名称。 |
resource
|
path | True |
string |
资源所在的资源组。 |
subscription
|
path | True |
string |
唯一标识 Microsoft Azure 订阅的订阅凭据。订阅 ID 构成每个服务调用的 URI 的一部分。 |
api-version
|
query | True |
string |
客户端 API 版本。 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
确定 |
|
Other Status Codes |
意外错误 |
安全性
azure_auth
Azure Active Directory OAuth2 流
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
名称 | 说明 |
---|---|
user_impersonation | 模拟用户帐户 |
示例
Get the specified offer delegation.
Sample Request
GET https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourcegroups/cnur9852subscrrg374/providers/Microsoft.Subscriptions.Admin/offers/cnur9852tenantoffer374/offerDelegations/testOfferDelegation?api-version=2015-11-01
Sample Response
{
"id": "/subscriptions/2ac7d4ad-fece-4cf0-bc29-e8678897fa75/resourceGroups/cnur9852subscrrg374/providers/Microsoft.Subscriptions.Admin/offers/cnur9852tenantoffer374/offerDelegations/testOfferDelegation",
"name": "cnur9852tenantoffer374/testOfferDelegation",
"type": "Microsoft.Subscriptions.Admin/offers/offerDelegations",
"location": "local",
"properties": {
"subscriptionId": "9e8052f2-70df-44c0-8300-f97949ca75f0"
}
}
定义
名称 | 说明 |
---|---|
Error |
错误响应。 |
Error |
错误定义。 |
Offer |
产品/服务委派。 |
Error
错误响应。
名称 | 类型 | 说明 |
---|---|---|
error |
错误详细信息。 |
ErrorDefinition
错误定义。
名称 | 类型 | 说明 |
---|---|---|
code |
string |
服务特定的错误代码,用作 HTTP 错误代码的子状态。 |
details |
内部错误详细信息。 |
|
message |
string |
错误的说明。 |
OfferDelegation
产品/服务委派。
名称 | 类型 | 说明 |
---|---|---|
id |
string |
资源的 URI。 |
location |
string |
资源的位置 |
name |
string |
资源的名称。 |
properties.subscriptionId |
string |
接收委派套餐的订阅的标识符。 |
tags |
object |
键值对列表。 |
type |
string |
资源的类型。 |