共用方式為


ArmBillingModelFactory.BillingAssociatedTenantProperties Method

Definition

Initializes a new instance of BillingAssociatedTenantProperties.

public static Azure.ResourceManager.Billing.Models.BillingAssociatedTenantProperties BillingAssociatedTenantProperties (Azure.ResourceManager.Billing.Models.BillingProvisioningState? provisioningState = default, string displayName = default, Guid? tenantId = default, Azure.ResourceManager.Billing.Models.BillingManagementTenantState? billingManagementState = default, Azure.ResourceManager.Billing.Models.BillingProvisioningTenantState? provisioningManagementState = default, string provisioningBillingRequestId = default);
static member BillingAssociatedTenantProperties : Nullable<Azure.ResourceManager.Billing.Models.BillingProvisioningState> * string * Nullable<Guid> * Nullable<Azure.ResourceManager.Billing.Models.BillingManagementTenantState> * Nullable<Azure.ResourceManager.Billing.Models.BillingProvisioningTenantState> * string -> Azure.ResourceManager.Billing.Models.BillingAssociatedTenantProperties
Public Shared Function BillingAssociatedTenantProperties (Optional provisioningState As Nullable(Of BillingProvisioningState) = Nothing, Optional displayName As String = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional billingManagementState As Nullable(Of BillingManagementTenantState) = Nothing, Optional provisioningManagementState As Nullable(Of BillingProvisioningTenantState) = Nothing, Optional provisioningBillingRequestId As String = Nothing) As BillingAssociatedTenantProperties

Parameters

provisioningState
Nullable<BillingProvisioningState>

The provisioning state of the resource during a long-running operation.

displayName
String

The name of the associated tenant.

tenantId
Nullable<Guid>

The ID that uniquely identifies a tenant.

billingManagementState
Nullable<BillingManagementTenantState>

The state determines whether users from the associated tenant can be assigned roles for commerce activities like viewing and downloading invoices, managing payments, and making purchases.

provisioningManagementState
Nullable<BillingProvisioningTenantState>

The state determines whether subscriptions and licenses can be provisioned in the associated tenant. It can be set to 'Pending' to initiate a billing request.

provisioningBillingRequestId
String

The unique identifier for the billing request that is created when enabling provisioning for an associated tenant.

Returns

A new BillingAssociatedTenantProperties instance for mocking.

Applies to