Поделиться через


ManagementGroupSubscriptions interface

Интерфейс, представляющий интерфейс ManagementGroupSubscriptions.

Методы

create(string, string, ManagementGroupSubscriptionsCreateOptionalParams)

Связывает существующую подписку с группой управления.

delete(string, string, ManagementGroupSubscriptionsDeleteOptionalParams)

Отменяет связывание подписки из группы управления.

getSubscription(string, string, ManagementGroupSubscriptionsGetSubscriptionOptionalParams)

Извлекает сведения об этой подписке, связанной с группой управления.

listSubscriptionsUnderManagementGroup(string, ManagementGroupSubscriptionsGetSubscriptionsUnderManagementGroupOptionalParams)

Извлекает сведения обо всех подписках, связанных с группой управления.

Сведения о методе

create(string, string, ManagementGroupSubscriptionsCreateOptionalParams)

Связывает существующую подписку с группой управления.

function create(groupId: string, subscriptionId: string, options?: ManagementGroupSubscriptionsCreateOptionalParams): Promise<SubscriptionUnderManagementGroup>

Параметры

groupId

string

Идентификатор группы управления.

subscriptionId

string

Идентификатор подписки.

options
ManagementGroupSubscriptionsCreateOptionalParams

Параметры параметров.

Возвращаемое значение

delete(string, string, ManagementGroupSubscriptionsDeleteOptionalParams)

Отменяет связывание подписки из группы управления.

function delete(groupId: string, subscriptionId: string, options?: ManagementGroupSubscriptionsDeleteOptionalParams): Promise<void>

Параметры

groupId

string

Идентификатор группы управления.

subscriptionId

string

Идентификатор подписки.

options
ManagementGroupSubscriptionsDeleteOptionalParams

Параметры параметров.

Возвращаемое значение

Promise<void>

getSubscription(string, string, ManagementGroupSubscriptionsGetSubscriptionOptionalParams)

Извлекает сведения об этой подписке, связанной с группой управления.

function getSubscription(groupId: string, subscriptionId: string, options?: ManagementGroupSubscriptionsGetSubscriptionOptionalParams): Promise<SubscriptionUnderManagementGroup>

Параметры

groupId

string

Идентификатор группы управления.

subscriptionId

string

Идентификатор подписки.

options
ManagementGroupSubscriptionsGetSubscriptionOptionalParams

Параметры параметров.

Возвращаемое значение

listSubscriptionsUnderManagementGroup(string, ManagementGroupSubscriptionsGetSubscriptionsUnderManagementGroupOptionalParams)

Извлекает сведения обо всех подписках, связанных с группой управления.

function listSubscriptionsUnderManagementGroup(groupId: string, options?: ManagementGroupSubscriptionsGetSubscriptionsUnderManagementGroupOptionalParams): PagedAsyncIterableIterator<SubscriptionUnderManagementGroup, SubscriptionUnderManagementGroup[], PageSettings>

Параметры

groupId

string

Идентификатор группы управления.

Возвращаемое значение