共用方式為


ArmBillingModelFactory.BillingAccountProperties Method

Definition

Initializes a new instance of BillingAccountProperties.

public static Azure.ResourceManager.Billing.Models.BillingAccountProperties BillingAccountProperties (Azure.ResourceManager.Billing.Models.BillingProvisioningState? provisioningState = default, Azure.ResourceManager.Billing.Models.BillingAccountStatus? accountStatus = default, Azure.ResourceManager.Billing.Models.BillingAccountType? accountType = default, Azure.ResourceManager.Billing.Models.BillingAccountSubType? accountSubType = default, Azure.ResourceManager.Billing.Models.BillingAccountStatusReasonCode? accountStatusReasonCode = default, Azure.ResourceManager.Billing.Models.BillingAgreementType? agreementType = default, string displayName = default, Azure.ResourceManager.Billing.Models.BillingAccountEnrollmentDetails enrollmentDetails = default, bool? hasReadAccess = default, bool? hasNoBillingProfiles = default, string notificationEmailAddress = default, Guid? primaryBillingTenantId = default, Azure.ResourceManager.Billing.Models.BillingAddressDetails soldTo = default, Azure.ResourceManager.Billing.Models.BillingRegistrationNumber registrationNumber = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingRelationshipType> billingRelationshipTypes = default, System.Collections.Generic.IEnumerable<string> qualifications = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingTaxIdentifier> taxIds = default);
static member BillingAccountProperties : Nullable<Azure.ResourceManager.Billing.Models.BillingProvisioningState> * Nullable<Azure.ResourceManager.Billing.Models.BillingAccountStatus> * Nullable<Azure.ResourceManager.Billing.Models.BillingAccountType> * Nullable<Azure.ResourceManager.Billing.Models.BillingAccountSubType> * Nullable<Azure.ResourceManager.Billing.Models.BillingAccountStatusReasonCode> * Nullable<Azure.ResourceManager.Billing.Models.BillingAgreementType> * string * Azure.ResourceManager.Billing.Models.BillingAccountEnrollmentDetails * Nullable<bool> * Nullable<bool> * string * Nullable<Guid> * Azure.ResourceManager.Billing.Models.BillingAddressDetails * Azure.ResourceManager.Billing.Models.BillingRegistrationNumber * seq<Azure.ResourceManager.Billing.Models.BillingRelationshipType> * seq<string> * seq<Azure.ResourceManager.Billing.Models.BillingTaxIdentifier> -> Azure.ResourceManager.Billing.Models.BillingAccountProperties
Public Shared Function BillingAccountProperties (Optional provisioningState As Nullable(Of BillingProvisioningState) = Nothing, Optional accountStatus As Nullable(Of BillingAccountStatus) = Nothing, Optional accountType As Nullable(Of BillingAccountType) = Nothing, Optional accountSubType As Nullable(Of BillingAccountSubType) = Nothing, Optional accountStatusReasonCode As Nullable(Of BillingAccountStatusReasonCode) = Nothing, Optional agreementType As Nullable(Of BillingAgreementType) = Nothing, Optional displayName As String = Nothing, Optional enrollmentDetails As BillingAccountEnrollmentDetails = Nothing, Optional hasReadAccess As Nullable(Of Boolean) = Nothing, Optional hasNoBillingProfiles As Nullable(Of Boolean) = Nothing, Optional notificationEmailAddress As String = Nothing, Optional primaryBillingTenantId As Nullable(Of Guid) = Nothing, Optional soldTo As BillingAddressDetails = Nothing, Optional registrationNumber As BillingRegistrationNumber = Nothing, Optional billingRelationshipTypes As IEnumerable(Of BillingRelationshipType) = Nothing, Optional qualifications As IEnumerable(Of String) = Nothing, Optional taxIds As IEnumerable(Of BillingTaxIdentifier) = Nothing) As BillingAccountProperties

Parameters

provisioningState
Nullable<BillingProvisioningState>

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

accountStatus
Nullable<BillingAccountStatus>

The current status of the billing account.

accountType
Nullable<BillingAccountType>

The type of customer.

accountSubType
Nullable<BillingAccountSubType>

The tier of the account.

accountStatusReasonCode
Nullable<BillingAccountStatusReasonCode>

Reason for the specified billing account status.

agreementType
Nullable<BillingAgreementType>

The type of agreement.

displayName
String

The billing account name.

enrollmentDetails
BillingAccountEnrollmentDetails

The properties of an enrollment.

hasReadAccess
Nullable<Boolean>

Indicates whether user has read access to the billing account.

hasNoBillingProfiles
Nullable<Boolean>

Indicates whether or not the billing account has any billing profiles.

notificationEmailAddress
String

Notification email address for legacy account. Available for agreement type Microsoft Online Services Program.

primaryBillingTenantId
Nullable<Guid>

The tenant that was used to set up the billing account. By default, only users from this tenant can get role assignments on the billing account and all purchases are provisioned in this tenant.

soldTo
BillingAddressDetails

The address of the individual or organization that is responsible for the billing account.

registrationNumber
BillingRegistrationNumber

Describes the registration number of the organization linked with the billing account.

billingRelationshipTypes
IEnumerable<BillingRelationshipType>

Identifies the billing relationships represented by a billing account. The billing relationship may be between Microsoft, the customer, and/or a third-party.

qualifications
IEnumerable<String>

Qualifications for pricing on a billing account. Values may be Commercial, Education, Charity or Government.

taxIds
IEnumerable<BillingTaxIdentifier>

A list of tax identifiers for the billing account.

Returns

A new BillingAccountProperties instance for mocking.

Applies to