ManagementGroupSubscriptionsOperations クラス
ManagementGroupSubscriptionsOperations 操作。
このクラスを直接インスタンス化しないでください。 代わりに、インスタンス化して属性としてアタッチするクライアント インスタンスを作成する必要があります。
- 継承
-
builtins.objectManagementGroupSubscriptionsOperations
コンストラクター
ManagementGroupSubscriptionsOperations(client, config, serializer, deserializer)
パラメーター
- client
サービス要求のクライアント。
- config
サービス クライアントの構成。
- serializer
オブジェクト モデル シリアライザー。
- deserializer
オブジェクト モデル逆シリアライザー。
変数
- models
この操作グループで使用されるモデル クラスの別名。
メソッド
create |
既存のサブスクリプションと管理グループを関連付けます。 |
delete |
管理グループからサブスクリプションの関連付けを解除します。 |
get_subscription |
管理グループに関連付けられている特定のサブスクリプションに関する詳細を取得します。 |
get_subscriptions_under_management_group |
管理グループに関連付けられているすべてのサブスクリプションの詳細を取得します。 |
create
既存のサブスクリプションと管理グループを関連付けます。
create(group_id: str, subscription_id: str, cache_control: str | None = 'no-cache', **kwargs: Any) -> _models.SubscriptionUnderManagementGroup
パラメーター
- cache_control
- str
要求がキャッシュを利用する必要があるかどうかを示します。 既存のキャッシュをバイパスするには、ヘッダーに "キャッシュなし" 値を設定します。
- cls
- callable
直接応答に渡されるカスタム型または関数
戻り値
SubscriptionUnderManagementGroup、または cls(response) の結果
の戻り値の型 :
例外
delete
管理グループからサブスクリプションの関連付けを解除します。
delete(group_id: str, subscription_id: str, cache_control: str | None = 'no-cache', **kwargs: Any) -> None
パラメーター
- cache_control
- str
要求がキャッシュを利用する必要があるかどうかを示します。 既存のキャッシュをバイパスするには、ヘッダーに "キャッシュなし" 値を設定します。
- cls
- callable
直接応答に渡されるカスタム型または関数
戻り値
None、または cls(response) の結果
の戻り値の型 :
例外
get_subscription
管理グループに関連付けられている特定のサブスクリプションに関する詳細を取得します。
get_subscription(group_id: str, subscription_id: str, cache_control: str | None = 'no-cache', **kwargs: Any) -> _models.SubscriptionUnderManagementGroup
パラメーター
- cache_control
- str
要求がキャッシュを利用する必要があるかどうかを示します。 既存のキャッシュをバイパスするには、ヘッダーに "キャッシュなし" 値を設定します。
- cls
- callable
直接応答に渡されるカスタム型または関数
戻り値
SubscriptionUnderManagementGroup、または cls(response) の結果
の戻り値の型 :
例外
get_subscriptions_under_management_group
管理グループに関連付けられているすべてのサブスクリプションの詳細を取得します。
get_subscriptions_under_management_group(group_id: str, skiptoken: str | None = None, **kwargs: Any) -> Iterable['_models.ListSubscriptionUnderManagementGroup']
パラメーター
- skiptoken
- str
ページ継続トークンは、前の操作で部分的な結果が返された場合にのみ使用されます。 前の応答に nextLink 要素が含まれている場合、nextLink 要素の値には、後続の呼び出しに使用する開始点を指定するトークン パラメーターが含まれます。
- cls
- callable
直接応答に渡されるカスタム型または関数
戻り値
ListSubscriptionUnderManagementGroup または cls(response) の結果のいずれかのインスタンスのような反復子
の戻り値の型 :
例外
属性
models
models = <module 'azure.mgmt.managementgroups.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.7\\x64\\Lib\\site-packages\\azure\\mgmt\\managementgroups\\models\\__init__.py'>
Azure SDK for Python
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示