Freigeben über


ManagementGroupSubscriptions interface

Schnittstelle, die eine ManagementGroupSubscriptions darstellt.

Methoden

create(string, string, ManagementGroupSubscriptionsCreateOptionalParams)

Ordnet vorhandenes Abonnement der Verwaltungsgruppe zu.

delete(string, string, ManagementGroupSubscriptionsDeleteOptionalParams)

Ordnet das Abonnement von der Verwaltungsgruppe ab.

getSubscription(string, string, ManagementGroupSubscriptionsGetSubscriptionOptionalParams)

Ruft Details zu einem bestimmten Abonnement ab, das der Verwaltungsgruppe zugeordnet ist.

listSubscriptionsUnderManagementGroup(string, ManagementGroupSubscriptionsGetSubscriptionsUnderManagementGroupOptionalParams)

Ruft Details zu allen Abonnements ab, die der Verwaltungsgruppe zugeordnet sind.

Details zur Methode

create(string, string, ManagementGroupSubscriptionsCreateOptionalParams)

Ordnet vorhandenes Abonnement der Verwaltungsgruppe zu.

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

Parameter

groupId

string

Verwaltungsgruppen-ID.

subscriptionId

string

Abonnement-ID.

options
ManagementGroupSubscriptionsCreateOptionalParams

Die Optionsparameter.

Gibt zurück

delete(string, string, ManagementGroupSubscriptionsDeleteOptionalParams)

Ordnet das Abonnement von der Verwaltungsgruppe ab.

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

Parameter

groupId

string

Verwaltungsgruppen-ID.

subscriptionId

string

Abonnement-ID.

options
ManagementGroupSubscriptionsDeleteOptionalParams

Die Optionsparameter.

Gibt zurück

Promise<void>

getSubscription(string, string, ManagementGroupSubscriptionsGetSubscriptionOptionalParams)

Ruft Details zu einem bestimmten Abonnement ab, das der Verwaltungsgruppe zugeordnet ist.

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

Parameter

groupId

string

Verwaltungsgruppen-ID.

subscriptionId

string

Abonnement-ID.

Gibt zurück

listSubscriptionsUnderManagementGroup(string, ManagementGroupSubscriptionsGetSubscriptionsUnderManagementGroupOptionalParams)

Ruft Details zu allen Abonnements ab, die der Verwaltungsgruppe zugeordnet sind.

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

Parameter

groupId

string

Verwaltungsgruppen-ID.

Gibt zurück