通过


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

GroupQuotaSubscriptionAllocationRequest interface

表示 GroupQuotaSubscriptionAllocationRequest 的接口。

方法

beginUpdate(string, string, string, string, SubscriptionQuotaAllocationsList, GroupQuotaSubscriptionAllocationRequestUpdateOptionalParams)

请求将配额从组配额分配给特定订阅。 将 GroupQuota 分配到订阅或减少分配给订阅的配额,以向 groupQuota 提供未使用的配额(配额 >= 使用情况)。 因此,此 API 可用于将配额分配给订阅,并将未使用的配额分配给组配额,该配额可以分配给 GroupQuota 中的另一个订阅。 用户可以从 groupQuota 中的多个订阅收集未使用的配额,并将 groupQuota 分配到需要订阅。

beginUpdateAndWait(string, string, string, string, SubscriptionQuotaAllocationsList, GroupQuotaSubscriptionAllocationRequestUpdateOptionalParams)

请求将配额从组配额分配给特定订阅。 将 GroupQuota 分配到订阅或减少分配给订阅的配额,以向 groupQuota 提供未使用的配额(配额 >= 使用情况)。 因此,此 API 可用于将配额分配给订阅,并将未使用的配额分配给组配额,该配额可以分配给 GroupQuota 中的另一个订阅。 用户可以从 groupQuota 中的多个订阅收集未使用的配额,并将 groupQuota 分配到需要订阅。

get(string, string, string, string, GroupQuotaSubscriptionAllocationRequestGetOptionalParams)

按 allocationId 获取 subscriptionId 的配额分配请求状态。

list(string, string, string, string, GroupQuotaSubscriptionAllocationRequestListOptionalParams)

获取 resourceProvider/location 的所有 quotaAllocationRequests。 需要位置的筛选器参数。

方法详细信息

beginUpdate(string, string, string, string, SubscriptionQuotaAllocationsList, GroupQuotaSubscriptionAllocationRequestUpdateOptionalParams)

请求将配额从组配额分配给特定订阅。 将 GroupQuota 分配到订阅或减少分配给订阅的配额,以向 groupQuota 提供未使用的配额(配额 >= 使用情况)。 因此,此 API 可用于将配额分配给订阅,并将未使用的配额分配给组配额,该配额可以分配给 GroupQuota 中的另一个订阅。 用户可以从 groupQuota 中的多个订阅收集未使用的配额,并将 groupQuota 分配到需要订阅。

function beginUpdate(managementGroupId: string, groupQuotaName: string, resourceProviderName: string, location: string, allocateQuotaRequest: SubscriptionQuotaAllocationsList, options?: GroupQuotaSubscriptionAllocationRequestUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SubscriptionQuotaAllocationsList>, SubscriptionQuotaAllocationsList>>

参数

managementGroupId

string

管理组 ID。

groupQuotaName

string

GroupQuota 名称。 名称对于提供的上下文 tenantId/MgId 应是唯一的。

resourceProviderName

string

资源提供程序名称,例如 - Microsoft.Compute。 目前仅Microsoft.Compute 资源提供程序支持此 API。

location

string

Azure 区域的名称。

allocateQuotaRequest
SubscriptionQuotaAllocationsList

配额请求有效负载。

返回

beginUpdateAndWait(string, string, string, string, SubscriptionQuotaAllocationsList, GroupQuotaSubscriptionAllocationRequestUpdateOptionalParams)

请求将配额从组配额分配给特定订阅。 将 GroupQuota 分配到订阅或减少分配给订阅的配额,以向 groupQuota 提供未使用的配额(配额 >= 使用情况)。 因此,此 API 可用于将配额分配给订阅,并将未使用的配额分配给组配额,该配额可以分配给 GroupQuota 中的另一个订阅。 用户可以从 groupQuota 中的多个订阅收集未使用的配额,并将 groupQuota 分配到需要订阅。

function beginUpdateAndWait(managementGroupId: string, groupQuotaName: string, resourceProviderName: string, location: string, allocateQuotaRequest: SubscriptionQuotaAllocationsList, options?: GroupQuotaSubscriptionAllocationRequestUpdateOptionalParams): Promise<SubscriptionQuotaAllocationsList>

参数

managementGroupId

string

管理组 ID。

groupQuotaName

string

GroupQuota 名称。 名称对于提供的上下文 tenantId/MgId 应是唯一的。

resourceProviderName

string

资源提供程序名称,例如 - Microsoft.Compute。 目前仅Microsoft.Compute 资源提供程序支持此 API。

location

string

Azure 区域的名称。

allocateQuotaRequest
SubscriptionQuotaAllocationsList

配额请求有效负载。

返回

get(string, string, string, string, GroupQuotaSubscriptionAllocationRequestGetOptionalParams)

按 allocationId 获取 subscriptionId 的配额分配请求状态。

function get(managementGroupId: string, groupQuotaName: string, resourceProviderName: string, allocationId: string, options?: GroupQuotaSubscriptionAllocationRequestGetOptionalParams): Promise<QuotaAllocationRequestStatus>

参数

managementGroupId

string

管理组 ID。

groupQuotaName

string

GroupQuota 名称。 名称对于提供的上下文 tenantId/MgId 应是唯一的。

resourceProviderName

string

资源提供程序名称,例如 - Microsoft.Compute。 目前仅Microsoft.Compute 资源提供程序支持此 API。

allocationId

string

请求 ID。

返回

list(string, string, string, string, GroupQuotaSubscriptionAllocationRequestListOptionalParams)

获取 resourceProvider/location 的所有 quotaAllocationRequests。 需要位置的筛选器参数。

function list(managementGroupId: string, groupQuotaName: string, resourceProviderName: string, filter: string, options?: GroupQuotaSubscriptionAllocationRequestListOptionalParams): PagedAsyncIterableIterator<QuotaAllocationRequestStatus, QuotaAllocationRequestStatus[], PageSettings>

参数

managementGroupId

string

管理组 ID。

groupQuotaName

string

GroupQuota 名称。 名称对于提供的上下文 tenantId/MgId 应是唯一的。

resourceProviderName

string

资源提供程序名称,例如 - Microsoft.Compute。 目前仅Microsoft.Compute 资源提供程序支持此 API。

filter

string

支持的运算符
           location eq {location}
           Example: $filter=location eq eastus

返回