ManagementGroupSubscriptions interface
ManagementGroupSubscriptions を表すインターフェイス。
メソッド
create(string, string, Management |
既存のサブスクリプションを管理グループに関連付けます。 |
delete(string, string, Management |
管理グループからサブスクリプションを関連付け解除します。 |
get |
管理グループに関連付けられている特定のサブスクリプションに関する詳細を取得します。 |
list |
管理グループに関連付けられているすべてのサブスクリプションに関する詳細を取得します。 |
メソッドの詳細
create(string, string, ManagementGroupSubscriptionsCreateOptionalParams)
既存のサブスクリプションを管理グループに関連付けます。
function create(groupId: string, subscriptionId: string, options?: ManagementGroupSubscriptionsCreateOptionalParams): Promise<SubscriptionUnderManagementGroup>
パラメーター
- groupId
-
string
管理グループ ID。
- subscriptionId
-
string
サブスクリプション ID。
オプション パラメーター。
戻り値
Promise<SubscriptionUnderManagementGroup>
delete(string, string, ManagementGroupSubscriptionsDeleteOptionalParams)
管理グループからサブスクリプションを関連付け解除します。
function delete(groupId: string, subscriptionId: string, options?: ManagementGroupSubscriptionsDeleteOptionalParams): Promise<void>
パラメーター
- groupId
-
string
管理グループ ID。
- subscriptionId
-
string
サブスクリプション ID。
オプション パラメーター。
戻り値
Promise<void>
getSubscription(string, string, ManagementGroupSubscriptionsGetSubscriptionOptionalParams)
管理グループに関連付けられている特定のサブスクリプションに関する詳細を取得します。
function getSubscription(groupId: string, subscriptionId: string, options?: ManagementGroupSubscriptionsGetSubscriptionOptionalParams): Promise<SubscriptionUnderManagementGroup>
パラメーター
- groupId
-
string
管理グループ ID。
- subscriptionId
-
string
サブスクリプション ID。
オプション パラメーター。
戻り値
Promise<SubscriptionUnderManagementGroup>
listSubscriptionsUnderManagementGroup(string, ManagementGroupSubscriptionsGetSubscriptionsUnderManagementGroupOptionalParams)
管理グループに関連付けられているすべてのサブスクリプションに関する詳細を取得します。
function listSubscriptionsUnderManagementGroup(groupId: string, options?: ManagementGroupSubscriptionsGetSubscriptionsUnderManagementGroupOptionalParams): PagedAsyncIterableIterator<SubscriptionUnderManagementGroup, SubscriptionUnderManagementGroup[], PageSettings>
パラメーター
- groupId
-
string
管理グループ ID。
オプション パラメーター。