次の方法で共有


BillingSubscriptionResource クラス

定義

BillingSubscription と、それに対して実行できるインスタンス操作を表すクラス。 がある場合はResourceIdentifier、GetBillingSubscriptionResource メソッドを使用して のArmClientインスタンスから を構築BillingSubscriptionResourceできます。 それ以外の場合は、GetBillingSubscription メソッドを使用して親リソース TenantResource から取得できます。

public class BillingSubscriptionResource : Azure.ResourceManager.ArmResource
type BillingSubscriptionResource = class
    inherit ArmResource
Public Class BillingSubscriptionResource
Inherits ArmResource
継承
BillingSubscriptionResource

コンストラクター

BillingSubscriptionResource()

モック作成のために クラスの BillingSubscriptionResource 新しいインスタンスを初期化します。

フィールド

ResourceType

操作のリソースの種類を取得します。

プロパティ

Client

このリソース クライアントの ArmClient 作成元を取得します。

(継承元 ArmResource)
Data

この機能を表すデータを取得します。

Diagnostics

このリソース クライアントの診断オプションを取得します。

(継承元 ArmResource)
Endpoint

このリソース クライアントのベース URI を取得します。

(継承元 ArmResource)
HasData

現在のインスタンスにデータがあるかどうかを取得します。

Id

リソース識別子を取得します。

(継承元 ArmResource)
Pipeline

このリソース クライアントのパイプラインを取得します。

(継承元 ArmResource)

メソッド

CanUseTagResource(CancellationToken)

TagResource API が現在の環境にデプロイされているかどうかを確認します。

(継承元 ArmResource)
CanUseTagResourceAsync(CancellationToken)

TagResource API が現在の環境にデプロイされているかどうかを確認します。

(継承元 ArmResource)
CreateResourceIdentifier(String, String)

インスタンスのリソース識別子を BillingSubscriptionResource 生成します。

Delete(WaitUntil, CancellationToken)

課金サブスクリプションを取り消します。

  • 要求パス/プロバイダー/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}
  • 操作IdBillingSubscriptions_Delete
DeleteAsync(WaitUntil, CancellationToken)

課金サブスクリプションを取り消します。

  • 要求パス/プロバイダー/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}
  • 操作IdBillingSubscriptions_Delete
Get(CancellationToken)

ID でサブスクリプションを取得します。 この操作は現在、契約の種類が Microsoft 顧客契約、Microsoft Partner Agreement、Microsoft Online Services Program の課金アカウントでサポートされています。

  • 要求パス/プロバイダー/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}
  • 操作IdBillingSubscriptions_Get
GetAsync(CancellationToken)

ID でサブスクリプションを取得します。 この操作は現在、契約の種類が Microsoft 顧客契約、Microsoft Partner Agreement、Microsoft Online Services Program の課金アカウントでサポートされています。

  • 要求パス/プロバイダー/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}
  • 操作IdBillingSubscriptions_Get
GetAvailableLocations(CancellationToken)

使用可能なすべての地域の場所を一覧表示します。

(継承元 ArmResource)
GetAvailableLocationsAsync(CancellationToken)

使用可能なすべての地域の場所を一覧表示します。

(継承元 ArmResource)
GetManagementLock(String, CancellationToken)

スコープ別の管理ロックを取得します。

  • 要求パス/{scope}/providers/Microsoft.Authorization/locks/{lockName}
  • 操作IdManagementLocks_GetByScope
(継承元 ArmResource)
GetManagementLockAsync(String, CancellationToken)

スコープ別の管理ロックを取得します。

  • 要求パス/{scope}/providers/Microsoft.Authorization/locks/{lockName}
  • 操作IdManagementLocks_GetByScope
(継承元 ArmResource)
GetManagementLocks()

ArmResource 内の ManagementLockResources のコレクションを取得します。

(継承元 ArmResource)
GetPolicyAssignment(String, CancellationToken)

この操作では、名前と作成されたスコープを指定して、1 つのポリシー割り当てを取得します。

  • 要求パス/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
  • 操作IdPolicyAssignments_Get
(継承元 ArmResource)
GetPolicyAssignmentAsync(String, CancellationToken)

この操作では、名前と作成されたスコープを指定して、1 つのポリシー割り当てを取得します。

  • 要求パス/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
  • 操作IdPolicyAssignments_Get
(継承元 ArmResource)
GetPolicyAssignments()

ArmResource 内の PolicyAssignmentResources のコレクションを取得します。

(継承元 ArmResource)
GetTagResource()

ArmResource で実行できるインスタンス操作と共に TagResource を表すオブジェクトを取得します。

(継承元 ArmResource)
Merge(WaitUntil, BillingSubscriptionMergeContent, CancellationToken)

要求で指定された課金サブスクリプションをターゲット課金サブスクリプションとマージします。

  • 要求パス/プロバイダー/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/merge
  • 操作IdBillingSubscriptions_Merge
MergeAsync(WaitUntil, BillingSubscriptionMergeContent, CancellationToken)

要求で指定された課金サブスクリプションをターゲット課金サブスクリプションとマージします。

  • 要求パス/プロバイダー/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/merge
  • 操作IdBillingSubscriptions_Merge
Move(WaitUntil, BillingSubscriptionMoveContent, CancellationToken)

サブスクリプションの料金を新しい請求書セクションに移動します。 この操作は、契約の種類がMicrosoft 顧客契約の課金アカウントでサポートされています。

  • 要求パス/プロバイダー/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/move
  • 操作IdBillingSubscriptions_Move
MoveAsync(WaitUntil, BillingSubscriptionMoveContent, CancellationToken)

サブスクリプションの料金を新しい請求書セクションに移動します。 この操作は、契約の種類がMicrosoft 顧客契約の課金アカウントでサポートされています。

  • 要求パス/プロバイダー/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/move
  • 操作IdBillingSubscriptions_Move
Split(WaitUntil, BillingSubscriptionSplitContent, CancellationToken)

サブスクリプションを、現在のサブスクリプション数量より少なく、0 に等しくない数量の新しいサブスクリプションに分割します。

  • 要求パス/プロバイダー/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/split
  • 操作IdBillingSubscriptions_Split
SplitAsync(WaitUntil, BillingSubscriptionSplitContent, CancellationToken)

サブスクリプションを、現在のサブスクリプション数量より少なく、0 に等しくない数量の新しいサブスクリプションに分割します。

  • 要求パス/プロバイダー/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/split
  • 操作IdBillingSubscriptions_Split
TryGetApiVersion(ResourceType, String)

現在のクライアント オプションに対して設定されている場合は、API バージョンのオーバーライドを取得します。

(継承元 ArmResource)
Update(WaitUntil, BillingSubscriptionData, CancellationToken)

課金サブスクリプションのプロパティを更新します。

  • 要求パス/プロバイダー/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}
  • 操作IdBillingSubscriptions_Update
UpdateAsync(WaitUntil, BillingSubscriptionData, CancellationToken)

課金サブスクリプションのプロパティを更新します。

  • 要求パス/プロバイダー/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}
  • 操作IdBillingSubscriptions_Update
ValidateMoveEligibility(BillingSubscriptionMoveContent, CancellationToken)

サブスクリプションの料金を新しい請求書セクションに移動できるかどうかを検証します。 この操作は、契約の種類がMicrosoft 顧客契約の課金アカウントでサポートされています。

  • 要求パス/プロバイダー/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/validateMoveEligibility
  • 操作IdBillingSubscriptions_ValidateMoveEligibility
ValidateMoveEligibilityAsync(BillingSubscriptionMoveContent, CancellationToken)

サブスクリプションの料金を新しい請求書セクションに移動できるかどうかを検証します。 この操作は、契約の種類がMicrosoft 顧客契約の課金アカウントでサポートされています。

  • 要求パス/プロバイダー/Microsoft.Billing/billingAccounts/{billingAccountName}/billingSubscriptions/{billingSubscriptionName}/validateMoveEligibility
  • 操作IdBillingSubscriptions_ValidateMoveEligibility

拡張メソッド

GetAuthorizationRoleDefinition(ArmResource, ResourceIdentifier, CancellationToken)

ロール定義を名前 (GUID) で取得します。

  • 要求パス/{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}
  • 操作IdRoleDefinitions_Get
GetAuthorizationRoleDefinitionAsync(ArmResource, ResourceIdentifier, CancellationToken)

ロール定義を名前 (GUID) で取得します。

  • 要求パス/{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}
  • 操作IdRoleDefinitions_Get
GetAuthorizationRoleDefinitions(ArmResource)

ArmResource 内の AuthorizationRoleDefinitionResources のコレクションを取得します。

GetDenyAssignment(ArmResource, String, CancellationToken)

指定した拒否割り当てを取得します。

  • 要求パス/{scope}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId}
  • 操作IdDenyAssignments_Get
GetDenyAssignmentAsync(ArmResource, String, CancellationToken)

指定した拒否割り当てを取得します。

  • 要求パス/{scope}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId}
  • 操作IdDenyAssignments_Get
GetDenyAssignments(ArmResource)

ArmResource 内の DenyAssignmentResources のコレクションを取得します。

GetRoleAssignment(ArmResource, String, String, CancellationToken)

スコープと名前でロールの割り当てを取得します。

  • 要求パス/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
  • 操作IdRoleAssignments_Get
GetRoleAssignmentAsync(ArmResource, String, String, CancellationToken)

スコープと名前でロールの割り当てを取得します。

  • 要求パス/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
  • 操作IdRoleAssignments_Get
GetRoleAssignments(ArmResource)

ArmResource 内の RoleAssignmentResources のコレクションを取得します。

GetRoleAssignmentSchedule(ArmResource, String, CancellationToken)

リソース スコープの指定されたロール割り当てスケジュールを取得する

  • Request Path/{scope}/providers/Microsoft.Authorization/roleAssignmentSchedules/{roleAssignmentScheduleName}
  • 操作IdRoleAssignmentSchedules_Get
GetRoleAssignmentScheduleAsync(ArmResource, String, CancellationToken)

リソース スコープの指定されたロール割り当てスケジュールを取得する

  • Request Path/{scope}/providers/Microsoft.Authorization/roleAssignmentSchedules/{roleAssignmentScheduleName}
  • 操作IdRoleAssignmentSchedules_Get
GetRoleAssignmentScheduleInstance(ArmResource, String, CancellationToken)

指定したロールの割り当てスケジュール インスタンスを取得します。

  • Request Path/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleInstances/{roleAssignmentScheduleInstanceName}
  • 操作IdRoleAssignmentScheduleInstances_Get
GetRoleAssignmentScheduleInstanceAsync(ArmResource, String, CancellationToken)

指定したロールの割り当てスケジュール インスタンスを取得します。

  • Request Path/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleInstances/{roleAssignmentScheduleInstanceName}
  • 操作IdRoleAssignmentScheduleInstances_Get
GetRoleAssignmentScheduleInstances(ArmResource)

ArmResource 内の RoleAssignmentScheduleInstanceResources のコレクションを取得します。

GetRoleAssignmentScheduleRequest(ArmResource, String, CancellationToken)

指定したロールの割り当てスケジュール要求を取得します。

  • 要求パス/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}
  • 操作IdRoleAssignmentScheduleRequests_Get
GetRoleAssignmentScheduleRequestAsync(ArmResource, String, CancellationToken)

指定したロールの割り当てスケジュール要求を取得します。

  • 要求パス/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}
  • 操作IdRoleAssignmentScheduleRequests_Get
GetRoleAssignmentScheduleRequests(ArmResource)

ArmResource 内の RoleAssignmentScheduleRequestResources のコレクションを取得します。

GetRoleAssignmentSchedules(ArmResource)

ArmResource 内の RoleAssignmentScheduleResources のコレクションを取得します。

GetRoleEligibilitySchedule(ArmResource, String, CancellationToken)

リソース スコープの指定されたロール適格性スケジュールを取得する

  • 要求パス/{scope}/providers/Microsoft.Authorization/roleEligibilitySchedules/{roleEligibilityScheduleName}
  • 操作IdRoleEligibilitySchedules_Get
GetRoleEligibilityScheduleAsync(ArmResource, String, CancellationToken)

リソース スコープの指定されたロール適格性スケジュールを取得する

  • 要求パス/{scope}/providers/Microsoft.Authorization/roleEligibilitySchedules/{roleEligibilityScheduleName}
  • 操作IdRoleEligibilitySchedules_Get
GetRoleEligibilityScheduleInstance(ArmResource, String, CancellationToken)

指定したロールの適格性スケジュール インスタンスを取得します。

  • Request Path/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances/{roleEligibilityScheduleInstanceName}
  • 操作IdRoleEligibilityScheduleInstances_Get
GetRoleEligibilityScheduleInstanceAsync(ArmResource, String, CancellationToken)

指定したロールの適格性スケジュール インスタンスを取得します。

  • Request Path/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances/{roleEligibilityScheduleInstanceName}
  • 操作IdRoleEligibilityScheduleInstances_Get
GetRoleEligibilityScheduleInstances(ArmResource)

ArmResource 内の RoleEligibilityScheduleInstanceResources のコレクションを取得します。

GetRoleEligibilityScheduleRequest(ArmResource, String, CancellationToken)

指定したロールの適格性スケジュール要求を取得します。

  • Request Path/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}
  • 操作IdRoleEligibilityScheduleRequests_Get
GetRoleEligibilityScheduleRequestAsync(ArmResource, String, CancellationToken)

指定したロールの適格性スケジュール要求を取得します。

  • Request Path/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}
  • 操作IdRoleEligibilityScheduleRequests_Get
GetRoleEligibilityScheduleRequests(ArmResource)

ArmResource 内の RoleEligibilityScheduleRequestResources のコレクションを取得します。

GetRoleEligibilitySchedules(ArmResource)

ArmResource 内の RoleEligibilityScheduleResources のコレクションを取得します。

GetRoleManagementPolicies(ArmResource)

ArmResource 内の RoleManagementPolicyResources のコレクションを取得します。

GetRoleManagementPolicy(ArmResource, String, CancellationToken)

リソース スコープの指定されたロール管理ポリシーを取得する

  • 要求パス/{scope}/providers/Microsoft.Authorization/roleManagementPolicies/{roleManagementPolicyName}
  • 操作IdRoleManagementPolicies_Get
GetRoleManagementPolicyAssignment(ArmResource, String, CancellationToken)

リソース スコープの指定されたロール管理ポリシーの割り当てを取得する

  • 要求パス/{scope}/providers/Microsoft.Authorization/roleManagementPolicyAssignments/{roleManagementPolicyAssignmentName}
  • 操作IdRoleManagementPolicyAssignments_Get
GetRoleManagementPolicyAssignmentAsync(ArmResource, String, CancellationToken)

リソース スコープの指定されたロール管理ポリシーの割り当てを取得する

  • 要求パス/{scope}/providers/Microsoft.Authorization/roleManagementPolicyAssignments/{roleManagementPolicyAssignmentName}
  • 操作IdRoleManagementPolicyAssignments_Get
GetRoleManagementPolicyAssignments(ArmResource)

ArmResource 内の RoleManagementPolicyAssignmentResources のコレクションを取得します。

GetRoleManagementPolicyAsync(ArmResource, String, CancellationToken)

リソース スコープの指定されたロール管理ポリシーを取得する

  • 要求パス/{scope}/providers/Microsoft.Authorization/roleManagementPolicies/{roleManagementPolicyName}
  • 操作IdRoleManagementPolicies_Get
GetSystemAssignedIdentity(ArmResource)

ArmResource で実行できるインスタンス操作と共に SystemAssignedIdentityResource を表すオブジェクトを取得します。

GetLinkerResource(ArmResource, String, CancellationToken)

指定した名前のリンカー リソースを返します。

  • 要求パス/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • 操作IdLinker_Get
GetLinkerResourceAsync(ArmResource, String, CancellationToken)

指定した名前のリンカー リソースを返します。

  • 要求パス/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • 操作IdLinker_Get
GetLinkerResources(ArmResource)

ArmResource 内の LinkerResources のコレクションを取得します。

適用対象