Class ArmBillingModelFactory
Model factory for models.
Inheritance
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.Billing.dll
Syntax
public static class ArmBillingModelFactory
Methods
BillingAccountData(ResourceIdentifier, String, ResourceType, SystemData, BillingAccountProperties, IDictionary<String,String>)
Initializes a new instance of BillingAccountData.
Declaration
public static Azure.ResourceManager.Billing.BillingAccountData BillingAccountData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.Billing.Models.BillingAccountProperties properties = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
BillingAccountProperties
properties
A billing account. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
BillingAccountData
A new BillingAccountData instance for mocking. |
BillingAccountEnrollmentDetails(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, String, String, String, String, String, Nullable<ExtendedTermOption>, Nullable<BillingEnrollmentSupportLevel>, String, String, String, Nullable<EnrollmentMarkupStatus>, IndirectRelationshipInfo, String)
Initializes a new instance of BillingAccountEnrollmentDetails.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingAccountEnrollmentDetails BillingAccountEnrollmentDetails (Nullable<DateTimeOffset> startOn = null, Nullable<DateTimeOffset> endOn = null, string currency = null, string channel = null, string language = null, string countryCode = null, string billingCycle = null, Nullable<Azure.ResourceManager.Billing.Models.ExtendedTermOption> extendedTermOption = null, Nullable<Azure.ResourceManager.Billing.Models.BillingEnrollmentSupportLevel> supportLevel = null, string supportCoverage = null, string cloud = null, string poNumber = null, Nullable<Azure.ResourceManager.Billing.Models.EnrollmentMarkupStatus> markupStatus = null, Azure.ResourceManager.Billing.Models.IndirectRelationshipInfo indirectRelationshipInfo = null, string invoiceRecipient = null);
Parameters
System.Nullable<System.DateTimeOffset>
startOn
The start date of the enrollment. |
System.Nullable<System.DateTimeOffset>
endOn
The end date of the enrollment. |
System.String
currency
The billing currency for the enrollment. |
System.String
channel
The channel type of the enrollment. |
System.String
language
The language for the enrollment. |
System.String
countryCode
The country code of the enrollment. |
System.String
billingCycle
The billing cycle for the enrollment. |
System.Nullable<ExtendedTermOption>
extendedTermOption
The billing account extension opted by the company. |
System.Nullable<BillingEnrollmentSupportLevel>
supportLevel
The support level offer associated with an enrollment. |
System.String
supportCoverage
The support coverage period for the enrollment. |
System.String
cloud
The cloud of the enrollment. |
System.String
poNumber
The purchase order number of the enrollment. |
System.Nullable<EnrollmentMarkupStatus>
markupStatus
Markup status of enrollment, applicable only for indirect enrollments. |
IndirectRelationshipInfo
indirectRelationshipInfo
The properties of an enrollment which are applicable only for indirect enrollments. |
System.String
invoiceRecipient
The contact who receives invoices of the enrollment. |
Returns
BillingAccountEnrollmentDetails
A new BillingAccountEnrollmentDetails instance for mocking. |
BillingAccountPatch(ResourceIdentifier, String, ResourceType, SystemData, BillingAccountProperties, IDictionary<String,String>)
Initializes a new instance of BillingAccountPatch.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingAccountPatch BillingAccountPatch (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.Billing.Models.BillingAccountProperties properties = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
BillingAccountProperties
properties
A billing account. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
BillingAccountPatch
A new BillingAccountPatch instance for mocking. |
BillingAccountPolicyData(ResourceIdentifier, String, ResourceType, SystemData, BillingAccountPolicyProperties, IDictionary<String,String>)
Initializes a new instance of BillingAccountPolicyData.
Declaration
public static Azure.ResourceManager.Billing.BillingAccountPolicyData BillingAccountPolicyData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.Billing.Models.BillingAccountPolicyProperties properties = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
BillingAccountPolicyProperties
properties
A policy at billing account scope. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
BillingAccountPolicyData
A new BillingAccountPolicyData instance for mocking. |
BillingAccountPolicyProperties(Nullable<BillingProvisioningState>, EnterpriseAgreementPolicies, Nullable<MarketplacePurchasesPolicy>, Nullable<ReservationPurchasesPolicy>, Nullable<SavingsPlanPurchasesPolicy>, IEnumerable<BillingPolicySummary>)
Initializes a new instance of BillingAccountPolicyProperties.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingAccountPolicyProperties BillingAccountPolicyProperties (Nullable<Azure.ResourceManager.Billing.Models.BillingProvisioningState> provisioningState = null, Azure.ResourceManager.Billing.Models.EnterpriseAgreementPolicies enterpriseAgreementPolicies = null, Nullable<Azure.ResourceManager.Billing.Models.MarketplacePurchasesPolicy> marketplacePurchases = null, Nullable<Azure.ResourceManager.Billing.Models.ReservationPurchasesPolicy> reservationPurchases = null, Nullable<Azure.ResourceManager.Billing.Models.SavingsPlanPurchasesPolicy> savingsPlanPurchases = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingPolicySummary> policies = null);
Parameters
System.Nullable<BillingProvisioningState>
provisioningState
The provisioning state of the resource during a long-running operation. |
EnterpriseAgreementPolicies
enterpriseAgreementPolicies
The policies for Enterprise Agreement enrollments. |
System.Nullable<MarketplacePurchasesPolicy>
marketplacePurchases
The policy that controls whether Azure marketplace purchases are allowed. |
System.Nullable<ReservationPurchasesPolicy>
reservationPurchases
The policy that controls whether Azure reservation purchases are allowed. |
System.Nullable<SavingsPlanPurchasesPolicy>
savingsPlanPurchases
The policy that controls whether users with Azure savings plan purchase are allowed. |
System.Collections.Generic.IEnumerable<BillingPolicySummary>
policies
List of all policies defined at the billing scope. |
Returns
BillingAccountPolicyProperties
A new BillingAccountPolicyProperties instance for mocking. |
BillingAccountProperties(Nullable<BillingProvisioningState>, Nullable<BillingAccountStatus>, Nullable<BillingAccountType>, Nullable<BillingAccountSubType>, Nullable<BillingAccountStatusReasonCode>, Nullable<BillingAgreementType>, String, BillingAccountEnrollmentDetails, Nullable<Boolean>, Nullable<Boolean>, String, Nullable<Guid>, BillingAddressDetails, BillingRegistrationNumber, IEnumerable<BillingRelationshipType>, IEnumerable<String>, IEnumerable<BillingTaxIdentifier>)
Initializes a new instance of BillingAccountProperties.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingAccountProperties BillingAccountProperties (Nullable<Azure.ResourceManager.Billing.Models.BillingProvisioningState> provisioningState = null, Nullable<Azure.ResourceManager.Billing.Models.BillingAccountStatus> accountStatus = null, Nullable<Azure.ResourceManager.Billing.Models.BillingAccountType> accountType = null, Nullable<Azure.ResourceManager.Billing.Models.BillingAccountSubType> accountSubType = null, Nullable<Azure.ResourceManager.Billing.Models.BillingAccountStatusReasonCode> accountStatusReasonCode = null, Nullable<Azure.ResourceManager.Billing.Models.BillingAgreementType> agreementType = null, string displayName = null, Azure.ResourceManager.Billing.Models.BillingAccountEnrollmentDetails enrollmentDetails = null, Nullable<bool> hasReadAccess = null, Nullable<bool> hasNoBillingProfiles = null, string notificationEmailAddress = null, Nullable<Guid> primaryBillingTenantId = null, Azure.ResourceManager.Billing.Models.BillingAddressDetails soldTo = null, Azure.ResourceManager.Billing.Models.BillingRegistrationNumber registrationNumber = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingRelationshipType> billingRelationshipTypes = null, System.Collections.Generic.IEnumerable<string> qualifications = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingTaxIdentifier> taxIds = null);
Parameters
System.Nullable<BillingProvisioningState>
provisioningState
The provisioning state of the resource during a long-running operation. |
System.Nullable<BillingAccountStatus>
accountStatus
The current status of the billing account. |
System.Nullable<BillingAccountType>
accountType
The type of customer. |
System.Nullable<BillingAccountSubType>
accountSubType
The tier of the account. |
System.Nullable<BillingAccountStatusReasonCode>
accountStatusReasonCode
Reason for the specified billing account status. |
System.Nullable<BillingAgreementType>
agreementType
The type of agreement. |
System.String
displayName
The billing account name. |
BillingAccountEnrollmentDetails
enrollmentDetails
The properties of an enrollment. |
System.Nullable<System.Boolean>
hasReadAccess
Indicates whether user has read access to the billing account. |
System.Nullable<System.Boolean>
hasNoBillingProfiles
Indicates whether or not the billing account has any billing profiles. |
System.String
notificationEmailAddress
Notification email address for legacy account. Available for agreement type Microsoft Online Services Program. |
System.Nullable<System.Guid>
primaryBillingTenantId
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. |
BillingAddressDetails
soldTo
The address of the individual or organization that is responsible for the billing account. |
BillingRegistrationNumber
registrationNumber
Describes the registration number of the organization linked with the billing account. |
System.Collections.Generic.IEnumerable<BillingRelationshipType>
billingRelationshipTypes
Identifies the billing relationships represented by a billing account. The billing relationship may be between Microsoft, the customer, and/or a third-party. |
System.Collections.Generic.IEnumerable<System.String>
qualifications
Qualifications for pricing on a billing account. Values may be Commercial, Education, Charity or Government. |
System.Collections.Generic.IEnumerable<BillingTaxIdentifier>
taxIds
A list of tax identifiers for the billing account. |
Returns
BillingAccountProperties
A new BillingAccountProperties instance for mocking. |
BillingAddressValidationResult(Nullable<BillingAddressValidationStatus>, IEnumerable<BillingAddressDetails>, String)
Initializes a new instance of BillingAddressValidationResult.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingAddressValidationResult BillingAddressValidationResult (Nullable<Azure.ResourceManager.Billing.Models.BillingAddressValidationStatus> status = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingAddressDetails> suggestedAddresses = null, string validationMessage = null);
Parameters
System.Nullable<BillingAddressValidationStatus>
status
Status of the address validation. |
System.Collections.Generic.IEnumerable<BillingAddressDetails>
suggestedAddresses
The list of suggested addresses. |
System.String
validationMessage
Validation error message. |
Returns
BillingAddressValidationResult
A new BillingAddressValidationResult instance for mocking. |
BillingAgreementData(ResourceIdentifier, String, ResourceType, SystemData, BillingAgreementProperties, IDictionary<String,String>)
Initializes a new instance of BillingAgreementData.
Declaration
public static Azure.ResourceManager.Billing.BillingAgreementData BillingAgreementData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.Billing.Models.BillingAgreementProperties properties = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
BillingAgreementProperties
properties
An agreement. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
BillingAgreementData
A new BillingAgreementData instance for mocking. |
BillingAgreementParticipant(String, String, Nullable<DateTimeOffset>)
Initializes a new instance of BillingAgreementParticipant.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingAgreementParticipant BillingAgreementParticipant (string email = null, string status = null, Nullable<DateTimeOffset> statusOn = null);
Parameters
System.String
email
The email address of the participant. |
System.String
status
The acceptance status of the participant. |
System.Nullable<System.DateTimeOffset>
statusOn
The date when the status got changed. |
Returns
BillingAgreementParticipant
A new BillingAgreementParticipant instance for mocking. |
BillingAgreementProperties(Nullable<AgreementAcceptanceMode>, String, IEnumerable<BillingProfileInfo>, Nullable<BillingAgreementCategory>, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, IEnumerable<BillingAgreementParticipant>, String, String)
Initializes a new instance of BillingAgreementProperties.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingAgreementProperties BillingAgreementProperties (Nullable<Azure.ResourceManager.Billing.Models.AgreementAcceptanceMode> acceptanceMode = null, string agreementLink = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingProfileInfo> billingProfileInfo = null, Nullable<Azure.ResourceManager.Billing.Models.BillingAgreementCategory> category = null, string displayName = null, Nullable<DateTimeOffset> effectiveOn = null, Nullable<DateTimeOffset> expireOn = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingAgreementParticipant> participants = null, string status = null, string leadBillingAccountName = null);
Parameters
System.Nullable<AgreementAcceptanceMode>
acceptanceMode
The mode of acceptance for an agreement. |
System.String
agreementLink
The URL to download the agreement. |
System.Collections.Generic.IEnumerable<BillingProfileInfo>
billingProfileInfo
The list of billing profiles associated with agreement and present only for specific agreements. |
System.Nullable<BillingAgreementCategory>
category
The category of the agreement. |
System.String
displayName
The name of the agreement signed by a customer. |
System.Nullable<System.DateTimeOffset>
effectiveOn
The date from which the agreement is effective. |
System.Nullable<System.DateTimeOffset>
expireOn
The date when the agreement expires. |
System.Collections.Generic.IEnumerable<BillingAgreementParticipant>
participants
The list of participants that participates in acceptance of an agreement. |
System.String
status
The current status of the agreement. |
System.String
leadBillingAccountName
The ID of the lead billing account if this agreement is part of the Customer Affiliate Purchase Terms. |
Returns
BillingAgreementProperties
A new BillingAgreementProperties instance for mocking. |
BillingAmount(String, Nullable<Single>)
Initializes a new instance of BillingAmount.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingAmount BillingAmount (string currency = null, Nullable<float> value = null);
Parameters
System.String
currency
The currency for the amount value. |
System.Nullable<System.Single>
value
The amount value. For example, if the currency is USD, then a value of 600 would be $600.00. |
Returns
BillingAmount
A new BillingAmount instance for mocking. |
BillingAssociatedTenantData(ResourceIdentifier, String, ResourceType, SystemData, BillingAssociatedTenantProperties, IDictionary<String,String>)
Initializes a new instance of BillingAssociatedTenantData.
Declaration
public static Azure.ResourceManager.Billing.BillingAssociatedTenantData BillingAssociatedTenantData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.Billing.Models.BillingAssociatedTenantProperties properties = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
BillingAssociatedTenantProperties
properties
An associated tenant. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
BillingAssociatedTenantData
A new BillingAssociatedTenantData instance for mocking. |
BillingAssociatedTenantProperties(Nullable<BillingProvisioningState>, String, Nullable<Guid>, Nullable<BillingManagementTenantState>, Nullable<BillingProvisioningTenantState>, String)
Initializes a new instance of BillingAssociatedTenantProperties.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingAssociatedTenantProperties BillingAssociatedTenantProperties (Nullable<Azure.ResourceManager.Billing.Models.BillingProvisioningState> provisioningState = null, string displayName = null, Nullable<Guid> tenantId = null, Nullable<Azure.ResourceManager.Billing.Models.BillingManagementTenantState> billingManagementState = null, Nullable<Azure.ResourceManager.Billing.Models.BillingProvisioningTenantState> provisioningManagementState = null, string provisioningBillingRequestId = null);
Parameters
System.Nullable<BillingProvisioningState>
provisioningState
The provisioning state of the resource during a long-running operation. |
System.String
displayName
The name of the associated tenant. |
System.Nullable<System.Guid>
tenantId
The ID that uniquely identifies a tenant. |
System.Nullable<BillingManagementTenantState>
billingManagementState
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. |
System.Nullable<BillingProvisioningTenantState>
provisioningManagementState
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. |
System.String
provisioningBillingRequestId
The unique identifier for the billing request that is created when enabling provisioning for an associated tenant. |
Returns
BillingAssociatedTenantProperties
A new BillingAssociatedTenantProperties instance for mocking. |
BillingAvailableBalanceData(ResourceIdentifier, String, ResourceType, SystemData, BillingAvailableBalanceProperties, IDictionary<String,String>)
Initializes a new instance of BillingAvailableBalanceData.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingAvailableBalanceData BillingAvailableBalanceData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.Billing.Models.BillingAvailableBalanceProperties properties = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
BillingAvailableBalanceProperties
properties
The Available Credit or Payment on Account Balance. The credit balance can be used to settle due or past due invoices. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
BillingAvailableBalanceData
A new BillingAvailableBalanceData instance for mocking. |
BillingAvailableBalanceProperties(BillingAmount, IEnumerable<BillingPaymentOnAccount>, BillingAmount)
Initializes a new instance of BillingAvailableBalanceProperties.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingAvailableBalanceProperties BillingAvailableBalanceProperties (Azure.ResourceManager.Billing.Models.BillingAmount amount = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingPaymentOnAccount> paymentsOnAccount = null, Azure.ResourceManager.Billing.Models.BillingAmount totalPaymentsOnAccount = null);
Parameters
BillingAmount
amount
Credit amount for immediate payment. |
System.Collections.Generic.IEnumerable<BillingPaymentOnAccount>
paymentsOnAccount
The list of payments on accounts. |
BillingAmount
totalPaymentsOnAccount
Total amount of payments on accounts. |
Returns
BillingAvailableBalanceProperties
A new BillingAvailableBalanceProperties instance for mocking. |
BillingCheckAccessResult(Nullable<BillingProfileAccessDecision>, String)
Initializes a new instance of BillingCheckAccessResult.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingCheckAccessResult BillingCheckAccessResult (Nullable<Azure.ResourceManager.Billing.Models.BillingProfileAccessDecision> accessDecision = null, string action = null);
Parameters
System.Nullable<BillingProfileAccessDecision>
accessDecision
Access Decision, specifies access is allowed or not. |
System.String
action
Gets or sets an action. |
Returns
BillingCheckAccessResult
A new BillingCheckAccessResult instance for mocking. |
BillingCustomerData(ResourceIdentifier, String, ResourceType, SystemData, BillingCustomerProperties, IDictionary<String,String>)
Initializes a new instance of BillingCustomerData.
Declaration
public static Azure.ResourceManager.Billing.BillingCustomerData BillingCustomerData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.Billing.Models.BillingCustomerProperties properties = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
BillingCustomerProperties
properties
A partner's customer. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
BillingCustomerData
A new BillingCustomerData instance for mocking. |
BillingCustomerPolicyData(ResourceIdentifier, String, ResourceType, SystemData, BillingCustomerPolicyProperties, IDictionary<String,String>)
Initializes a new instance of BillingCustomerPolicyData.
Declaration
public static Azure.ResourceManager.Billing.BillingCustomerPolicyData BillingCustomerPolicyData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.Billing.Models.BillingCustomerPolicyProperties properties = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
BillingCustomerPolicyProperties
properties
A policy at customer scope. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
BillingCustomerPolicyData
A new BillingCustomerPolicyData instance for mocking. |
BillingCustomerPolicyProperties(Nullable<BillingProvisioningState>, ViewChargesPolicy, IEnumerable<BillingPolicySummary>)
Initializes a new instance of BillingCustomerPolicyProperties.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingCustomerPolicyProperties BillingCustomerPolicyProperties (Nullable<Azure.ResourceManager.Billing.Models.BillingProvisioningState> provisioningState = null, Azure.ResourceManager.Billing.Models.ViewChargesPolicy viewCharges = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingPolicySummary> policies = null);
Parameters
System.Nullable<BillingProvisioningState>
provisioningState
The provisioning state of the resource during a long-running operation. |
ViewChargesPolicy
viewCharges
The policy that controls whether the users in customer's organization can view charges at pay-as-you-go prices. |
System.Collections.Generic.IEnumerable<BillingPolicySummary>
policies
List of all policies defined at the billing scope. |
Returns
BillingCustomerPolicyProperties
A new BillingCustomerPolicyProperties instance for mocking. |
BillingCustomerProperties(String, ResourceIdentifier, String, String, Nullable<BillingCustomerStatus>, IEnumerable<BillingAzurePlan>, IEnumerable<CreatedSubscriptionReseller>, IDictionary<String,String>)
Initializes a new instance of BillingCustomerProperties.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingCustomerProperties BillingCustomerProperties (string billingProfileDisplayName = null, Azure.Core.ResourceIdentifier billingProfileId = null, string displayName = null, string systemId = null, Nullable<Azure.ResourceManager.Billing.Models.BillingCustomerStatus> status = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingAzurePlan> enabledAzurePlans = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.CreatedSubscriptionReseller> resellers = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
System.String
billingProfileDisplayName
The name of the billing profile. |
Azure.Core.ResourceIdentifier
billingProfileId
The fully qualified ID that uniquely identifies a billing profile. |
System.String
displayName
The name of the customer. |
System.String
systemId
The system generated unique identifier for a customer. |
System.Nullable<BillingCustomerStatus>
status
Identifies the status of an customer. This is an upcoming property that will be populated in the future. |
System.Collections.Generic.IEnumerable<BillingAzurePlan>
enabledAzurePlans
Azure plans enabled for the customer. |
System.Collections.Generic.IEnumerable<CreatedSubscriptionReseller>
resellers
The list of resellers for which an Azure plan is enabled for the customer. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
BillingCustomerProperties
A new BillingCustomerProperties instance for mocking. |
BillingDepartmentData(ResourceIdentifier, String, ResourceType, SystemData, BillingDepartmentProperties, IDictionary<String,String>)
Initializes a new instance of BillingDepartmentData.
Declaration
public static Azure.ResourceManager.Billing.BillingDepartmentData BillingDepartmentData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.Billing.Models.BillingDepartmentProperties properties = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
BillingDepartmentProperties
properties
Optional grouping of enrollment accounts to segment costs into logical groupings and set budgets. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
BillingDepartmentData
A new BillingDepartmentData instance for mocking. |
BillingDepartmentProperties(String, String, String, String)
Initializes a new instance of BillingDepartmentProperties.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingDepartmentProperties BillingDepartmentProperties (string costCenter = null, string displayName = null, string id = null, string status = null);
Parameters
System.String
costCenter
The cost center associated with the department. |
System.String
displayName
The name of the department. |
System.String
id
The ID that uniquely identifies the department. |
System.String
status
The status of the department. |
Returns
BillingDepartmentProperties
A new BillingDepartmentProperties instance for mocking. |
BillingDocumentDownloadResult(Nullable<DateTimeOffset>, Uri)
Initializes a new instance of BillingDocumentDownloadResult.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingDocumentDownloadResult BillingDocumentDownloadResult (Nullable<DateTimeOffset> expireOn = null, Uri uri = null);
Parameters
System.Nullable<System.DateTimeOffset>
expireOn
The time in UTC when the download URL will expire. |
System.Uri
uri
The URL to the PDF or .zip file. |
Returns
BillingDocumentDownloadResult
A new BillingDocumentDownloadResult instance for mocking. |
BillingEnrollmentAccountData(ResourceIdentifier, String, ResourceType, SystemData, BillingEnrollmentAccountProperties, IDictionary<String,String>)
Initializes a new instance of BillingEnrollmentAccountData.
Declaration
public static Azure.ResourceManager.Billing.BillingEnrollmentAccountData BillingEnrollmentAccountData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.Billing.Models.BillingEnrollmentAccountProperties properties = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
BillingEnrollmentAccountProperties
properties
It is an organizational hierarchy within a billing account to administer and manage azure costs. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
BillingEnrollmentAccountData
A new BillingEnrollmentAccountData instance for mocking. |
BillingEnrollmentAccountProperties(String, String, String, String, Nullable<Boolean>, String, String, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)
Initializes a new instance of BillingEnrollmentAccountProperties.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingEnrollmentAccountProperties BillingEnrollmentAccountProperties (string costCenter = null, string displayName = null, string departmentDisplayName = null, string departmentId = null, Nullable<bool> isDevTestEnabled = null, string accountOwner = null, string authType = null, string status = null, Nullable<DateTimeOffset> startOn = null, Nullable<DateTimeOffset> endOn = null);
Parameters
System.String
costCenter
The cost center associated with the enrollment account. |
System.String
displayName
The name of the enrollment account. |
System.String
departmentDisplayName
The name of the department under which the enrollment account exists. |
System.String
departmentId
The ID that uniquely identifies the department. |
System.Nullable<System.Boolean>
isDevTestEnabled
Boolean flag which enables subscribers to run development and testing workloads on Azure at special Dev/Test rates. |
System.String
accountOwner
The owner of the enrollment account. |
System.String
authType
The authorization type of the enrollment account. |
System.String
status
The status of the enrollment account. |
System.Nullable<System.DateTimeOffset>
startOn
The date from which the enrollment account became valid and functional. |
System.Nullable<System.DateTimeOffset>
endOn
The date of expiration of the enrollment account. |
Returns
BillingEnrollmentAccountProperties
A new BillingEnrollmentAccountProperties instance for mocking. |
BillingInvoiceData(ResourceIdentifier, String, ResourceType, SystemData, BillingInvoiceProperties, IDictionary<String,String>)
Initializes a new instance of BillingInvoiceData.
Declaration
public static Azure.ResourceManager.Billing.BillingInvoiceData BillingInvoiceData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.Billing.Models.BillingInvoiceProperties properties = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
BillingInvoiceProperties
properties
An invoice. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
BillingInvoiceData
A new BillingInvoiceData instance for mocking. |
BillingInvoiceFailedPayment(Nullable<DateTimeOffset>, Nullable<BillingInvoiceFailedPaymentReason>)
Initializes a new instance of BillingInvoiceFailedPayment.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingInvoiceFailedPayment BillingInvoiceFailedPayment (Nullable<DateTimeOffset> on = null, Nullable<Azure.ResourceManager.Billing.Models.BillingInvoiceFailedPaymentReason> failedPaymentReason = null);
Parameters
System.Nullable<System.DateTimeOffset>
on
The date when the payment was attempted. |
System.Nullable<BillingInvoiceFailedPaymentReason>
failedPaymentReason
The reason that the payment failed. |
Returns
BillingInvoiceFailedPayment
A new BillingInvoiceFailedPayment instance for mocking. |
BillingInvoicePayment(BillingAmount, Nullable<DateTimeOffset>, ResourceIdentifier, Nullable<PaymentMethodFamily>, String, String)
Initializes a new instance of BillingInvoicePayment.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingInvoicePayment BillingInvoicePayment (Azure.ResourceManager.Billing.Models.BillingAmount amount = null, Nullable<DateTimeOffset> madeOn = null, Azure.Core.ResourceIdentifier paymentMethodId = null, Nullable<Azure.ResourceManager.Billing.Models.PaymentMethodFamily> paymentMethodFamily = null, string paymentMethodType = null, string paymentType = null);
Parameters
BillingAmount
amount
The paid amount. |
System.Nullable<System.DateTimeOffset>
madeOn
The date when the payment was made. |
Azure.Core.ResourceIdentifier
paymentMethodId
The ID that uniquely identifies the payment method used for the invoice. |
System.Nullable<PaymentMethodFamily>
paymentMethodFamily
The family of payment method. |
System.String
paymentMethodType
The type of payment method. |
System.String
paymentType
The type of payment. |
Returns
BillingInvoicePayment
A new BillingInvoicePayment instance for mocking. |
BillingInvoiceProperties(BillingAmount, BillingAmount, BillingAmount, String, String, ResourceIdentifier, BillingAmount, String, IEnumerable<InvoiceDocument>, Nullable<InvoiceDocumentType>, Nullable<DateTimeOffset>, IEnumerable<BillingInvoiceFailedPayment>, BillingAmount, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<BillingInvoiceType>, Nullable<Boolean>, IEnumerable<BillingInvoicePayment>, String, RebillDetails, Nullable<BillingInvoiceStatus>, String, String, Nullable<SpecialTaxationType>, BillingAmount, BillingAmount, BillingAmount, RefundDetailsSummary)
Initializes a new instance of BillingInvoiceProperties.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingInvoiceProperties BillingInvoiceProperties (Azure.ResourceManager.Billing.Models.BillingAmount amountDue = null, Azure.ResourceManager.Billing.Models.BillingAmount azurePrepaymentApplied = null, Azure.ResourceManager.Billing.Models.BillingAmount billedAmount = null, string billedDocumentId = null, string billingProfileDisplayName = null, Azure.Core.ResourceIdentifier billingProfileId = null, Azure.ResourceManager.Billing.Models.BillingAmount creditAmount = null, string creditForDocumentId = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.InvoiceDocument> documents = null, Nullable<Azure.ResourceManager.Billing.Models.InvoiceDocumentType> documentType = null, Nullable<DateTimeOffset> dueOn = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingInvoiceFailedPayment> failedPayments = null, Azure.ResourceManager.Billing.Models.BillingAmount freeAzureCreditApplied = null, Nullable<DateTimeOffset> invoiceOn = null, Nullable<DateTimeOffset> invoicePeriodEndOn = null, Nullable<DateTimeOffset> invoicePeriodStartOn = null, Nullable<Azure.ResourceManager.Billing.Models.BillingInvoiceType> invoiceType = null, Nullable<bool> isMonthlyInvoice = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingInvoicePayment> payments = null, string purchaseOrderNumber = null, Azure.ResourceManager.Billing.Models.RebillDetails rebillDetails = null, Nullable<Azure.ResourceManager.Billing.Models.BillingInvoiceStatus> status = null, string subscriptionDisplayName = null, string subscriptionId = null, Nullable<Azure.ResourceManager.Billing.Models.SpecialTaxationType> specialTaxationType = null, Azure.ResourceManager.Billing.Models.BillingAmount subTotal = null, Azure.ResourceManager.Billing.Models.BillingAmount taxAmount = null, Azure.ResourceManager.Billing.Models.BillingAmount totalAmount = null, Azure.ResourceManager.Billing.Models.RefundDetailsSummary refundDetails = null);
Parameters
BillingAmount
amountDue
The amount due as of now. |
BillingAmount
azurePrepaymentApplied
The amount of Azure prepayment applied to the charges. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement. |
BillingAmount
billedAmount
The total charges for the invoice billing period. |
System.String
billedDocumentId
The Id of the active invoice which is originally billed after this invoice was voided. This field is applicable to the void invoices only. |
System.String
billingProfileDisplayName
The name of the billing profile for which the invoice is generated. |
Azure.Core.ResourceIdentifier
billingProfileId
The ID of the billing profile for which the invoice is generated. |
BillingAmount
creditAmount
The total refund for returns and cancellations during the invoice billing period. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement. |
System.String
creditForDocumentId
The Id of the invoice which got voided and this credit note was issued as a result. This field is applicable to the credit notes only. |
System.Collections.Generic.IEnumerable<InvoiceDocument>
documents
List of documents available to download and view such as invoice, credit note, or tax receipt. |
System.Nullable<InvoiceDocumentType>
documentType
The type of the document. |
System.Nullable<System.DateTimeOffset>
dueOn
The due date for the invoice. |
System.Collections.Generic.IEnumerable<BillingInvoiceFailedPayment>
failedPayments
List of failed payments. |
BillingAmount
freeAzureCreditApplied
The amount of free Azure credits applied to the charges. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement. |
System.Nullable<System.DateTimeOffset>
invoiceOn
The date when the invoice was generated. |
System.Nullable<System.DateTimeOffset>
invoicePeriodEndOn
The end date of the billing period for which the invoice is generated. The date is in MM-DD-YYYY format. |
System.Nullable<System.DateTimeOffset>
invoicePeriodStartOn
The start date of the billing period for which the invoice is generated. The date is in MM-DD-YYYY format. |
System.Nullable<BillingInvoiceType>
invoiceType
Invoice type. |
System.Nullable<System.Boolean>
isMonthlyInvoice
Specifies if the invoice is generated as part of monthly invoicing cycle or not. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement. |
System.Collections.Generic.IEnumerable<BillingInvoicePayment>
payments
List of payments. |
System.String
purchaseOrderNumber
An optional purchase order number for the invoice. |
RebillDetails
rebillDetails
Rebill details for an invoice. |
System.Nullable<BillingInvoiceStatus>
status
The current status of the invoice. |
System.String
subscriptionDisplayName
The name of the billing subscription for which the invoice is generated. |
System.String
subscriptionId
The ID of the subscription for which the invoice is generated. |
System.Nullable<SpecialTaxationType>
specialTaxationType
Identifies the type of tax calculation used for the invoice. The field is applicable only to invoices with special tax calculation logic. |
BillingAmount
subTotal
The pre-tax amount due. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement. |
BillingAmount
taxAmount
The amount of tax charged for the billing period. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement. |
BillingAmount
totalAmount
The amount due when the invoice was generated. This field is applicable to billing accounts with agreement type Microsoft Customer Agreement. |
RefundDetailsSummary
refundDetails
The details of a refund request. |
Returns
BillingInvoiceProperties
A new BillingInvoiceProperties instance for mocking. |
BillingInvoiceSectionData(ResourceIdentifier, String, ResourceType, SystemData, BillingInvoiceSectionProperties, IDictionary<String,String>)
Initializes a new instance of BillingInvoiceSectionData.
Declaration
public static Azure.ResourceManager.Billing.BillingInvoiceSectionData BillingInvoiceSectionData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.Billing.Models.BillingInvoiceSectionProperties properties = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
BillingInvoiceSectionProperties
properties
An invoice section. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
BillingInvoiceSectionData
A new BillingInvoiceSectionData instance for mocking. |
BillingInvoiceSectionProperties(Nullable<BillingProvisioningState>, String, Nullable<InvoiceSectionState>, Nullable<InvoiceSectionStateReasonCode>, String, String, IDictionary<String,String>)
Initializes a new instance of BillingInvoiceSectionProperties.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingInvoiceSectionProperties BillingInvoiceSectionProperties (Nullable<Azure.ResourceManager.Billing.Models.BillingProvisioningState> provisioningState = null, string displayName = null, Nullable<Azure.ResourceManager.Billing.Models.InvoiceSectionState> state = null, Nullable<Azure.ResourceManager.Billing.Models.InvoiceSectionStateReasonCode> reasonCode = null, string systemId = null, string targetCloud = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
System.Nullable<BillingProvisioningState>
provisioningState
The provisioning state of the resource during a long-running operation. |
System.String
displayName
The name of the invoice section. |
System.Nullable<InvoiceSectionState>
state
Identifies the status of an invoice section. |
System.Nullable<InvoiceSectionStateReasonCode>
reasonCode
Reason for the specified invoice section status. |
System.String
systemId
The system generated unique identifier for an invoice section. |
System.String
targetCloud
Identifies the cloud environments that are associated with an invoice section. This is a system managed optional field and gets updated as the invoice section gets associated with accounts in various clouds. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
BillingInvoiceSectionProperties
A new BillingInvoiceSectionProperties instance for mocking. |
BillingPaymentMethodData(ResourceIdentifier, String, ResourceType, SystemData, Nullable<PaymentMethodFamily>, String, String, String, String, String, IEnumerable<PaymentMethodLogo>, Nullable<PaymentMethodStatus>)
Initializes a new instance of BillingPaymentMethodData.
Declaration
[System.ComponentModel.EditorBrowsable]
public static Azure.ResourceManager.Billing.BillingPaymentMethodData BillingPaymentMethodData (Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, Nullable<Azure.ResourceManager.Billing.Models.PaymentMethodFamily> family, string paymentMethodType, string accountHolderName, string expiration, string lastFourDigits, string displayName, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.PaymentMethodLogo> logos, Nullable<Azure.ResourceManager.Billing.Models.PaymentMethodStatus> status);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
System.Nullable<PaymentMethodFamily>
family
The family of payment method. |
System.String
paymentMethodType
The type of payment method. |
System.String
accountHolderName
The account holder name for the payment method. This is only supported for payment methods with family CreditCard. |
System.String
expiration
The expiration month and year of the payment method. This is only supported for payment methods with family CreditCard. |
System.String
lastFourDigits
Last four digits of payment method. |
System.String
displayName
The display name of the payment method. |
System.Collections.Generic.IEnumerable<PaymentMethodLogo>
logos
The list of logos for the payment method. |
System.Nullable<PaymentMethodStatus>
status
Status of the payment method. |
Returns
BillingPaymentMethodData
A new BillingPaymentMethodData instance for mocking. |
BillingPaymentMethodData(ResourceIdentifier, String, ResourceType, SystemData, ResourceIdentifier, String, String, String, Nullable<PaymentMethodFamily>, String, IEnumerable<PaymentMethodLogo>, String, Nullable<PaymentMethodStatus>, IDictionary<String,String>)
Initializes a new instance of BillingPaymentMethodData.
Declaration
public static Azure.ResourceManager.Billing.BillingPaymentMethodData BillingPaymentMethodData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Azure.Core.ResourceIdentifier paymentMethodId = null, string accountHolderName = null, string displayName = null, string expiration = null, Nullable<Azure.ResourceManager.Billing.Models.PaymentMethodFamily> family = null, string lastFourDigits = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.PaymentMethodLogo> logos = null, string paymentMethodType = null, Nullable<Azure.ResourceManager.Billing.Models.PaymentMethodStatus> status = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
Azure.Core.ResourceIdentifier
paymentMethodId
Id of payment method. |
System.String
accountHolderName
The account holder name for the payment method. This is only supported for payment methods with family CreditCard. |
System.String
displayName
The display name of the payment method. |
System.String
expiration
The expiration month and year of the payment method. This is only supported for payment methods with family CreditCard. |
System.Nullable<PaymentMethodFamily>
family
The family of payment method. |
System.String
lastFourDigits
Last four digits of payment method. |
System.Collections.Generic.IEnumerable<PaymentMethodLogo>
logos
The list of logos for the payment method. |
System.String
paymentMethodType
The type of payment method. |
System.Nullable<PaymentMethodStatus>
status
Status of the payment method. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
BillingPaymentMethodData
A new BillingPaymentMethodData instance for mocking. |
BillingPaymentMethodLinkData(ResourceIdentifier, String, ResourceType, SystemData, PaymentMethodProjectionProperties)
Initializes a new instance of BillingPaymentMethodLinkData.
Declaration
[System.ComponentModel.EditorBrowsable]
public static Azure.ResourceManager.Billing.BillingPaymentMethodLinkData BillingPaymentMethodLinkData (Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, Azure.ResourceManager.Billing.Models.PaymentMethodProjectionProperties paymentMethod);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
PaymentMethodProjectionProperties
paymentMethod
Projection of a payment method. |
Returns
BillingPaymentMethodLinkData
A new BillingPaymentMethodLinkData instance for mocking. |
BillingPaymentMethodLinkData(ResourceIdentifier, String, ResourceType, SystemData, String, String, String, Nullable<PaymentMethodFamily>, String, IEnumerable<PaymentMethodLogo>, PaymentMethodProjectionProperties, ResourceIdentifier, String, Nullable<PaymentMethodStatus>, IDictionary<String,String>)
Initializes a new instance of BillingPaymentMethodLinkData.
Declaration
public static Azure.ResourceManager.Billing.BillingPaymentMethodLinkData BillingPaymentMethodLinkData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, string accountHolderName = null, string displayName = null, string expiration = null, Nullable<Azure.ResourceManager.Billing.Models.PaymentMethodFamily> family = null, string lastFourDigits = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.PaymentMethodLogo> logos = null, Azure.ResourceManager.Billing.Models.PaymentMethodProjectionProperties paymentMethod = null, Azure.Core.ResourceIdentifier paymentMethodId = null, string paymentMethodType = null, Nullable<Azure.ResourceManager.Billing.Models.PaymentMethodStatus> status = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
System.String
accountHolderName
The account holder name for the payment method. This is only supported for payment methods with family CreditCard. |
System.String
displayName
The display name of the payment method. |
System.String
expiration
The expiration month and year of the payment method. This is only supported for payment methods with family CreditCard. |
System.Nullable<PaymentMethodFamily>
family
The family of payment method. |
System.String
lastFourDigits
Last four digits of payment method. |
System.Collections.Generic.IEnumerable<PaymentMethodLogo>
logos
The list of logos for the payment method. |
PaymentMethodProjectionProperties
paymentMethod
Projection of a payment method. Will not be returned in this or future versions. |
Azure.Core.ResourceIdentifier
paymentMethodId
Id of payment method. Example: /providers/Microsoft.Billing/paymentMethods/ABCDABCDABC0. |
System.String
paymentMethodType
The type of payment method. |
System.Nullable<PaymentMethodStatus>
status
Status of the payment method. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
BillingPaymentMethodLinkData
A new BillingPaymentMethodLinkData instance for mocking. |
BillingPaymentOnAccount(CreatedSubscriptionReseller, ResourceIdentifier, String, ResourceIdentifier, String, Nullable<DateTimeOffset>, Nullable<PaymentMethodFamily>)
Initializes a new instance of BillingPaymentOnAccount.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingPaymentOnAccount BillingPaymentOnAccount (Azure.ResourceManager.Billing.Models.CreatedSubscriptionReseller amount = null, Azure.Core.ResourceIdentifier billingProfileId = null, string billingProfileDisplayName = null, Azure.Core.ResourceIdentifier invoiceId = null, string invoiceName = null, Nullable<DateTimeOffset> on = null, Nullable<Azure.ResourceManager.Billing.Models.PaymentMethodFamily> paymentMethodType = null);
Parameters
CreatedSubscriptionReseller
amount
Payment on Account amount. |
Azure.Core.ResourceIdentifier
billingProfileId
The ID of the billing profile for the payments on account. |
System.String
billingProfileDisplayName
The name of the billing profile for the payments on account. |
Azure.Core.ResourceIdentifier
invoiceId
The ID of the invoice for which the payments on account was generated. |
System.String
invoiceName
The name of the invoice for the payments on account. |
System.Nullable<System.DateTimeOffset>
on
The date of the payments on account. |
System.Nullable<PaymentMethodFamily>
paymentMethodType
Payment on Account type. |
Returns
BillingPaymentOnAccount
A new BillingPaymentOnAccount instance for mocking. |
BillingPaymentTerm(String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<Boolean>)
Initializes a new instance of BillingPaymentTerm.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingPaymentTerm BillingPaymentTerm (string term = null, Nullable<DateTimeOffset> startOn = null, Nullable<DateTimeOffset> endOn = null, Nullable<bool> isDefault = null);
Parameters
System.String
term
Represents duration in netXX format. Always in days. |
System.Nullable<System.DateTimeOffset>
startOn
The date on when the defined 'Payment Term' will be effective from and is always in UTC. |
System.Nullable<System.DateTimeOffset>
endOn
The date on when the defined 'Payment Term' will end and is always in UTC. |
System.Nullable<System.Boolean>
isDefault
Indicates payment term is the standard payment term. |
Returns
BillingPaymentTerm
A new BillingPaymentTerm instance for mocking. |
BillingPermission(IEnumerable<String>, IEnumerable<String>)
Initializes a new instance of BillingPermission.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingPermission BillingPermission (System.Collections.Generic.IEnumerable<string> actions = null, System.Collections.Generic.IEnumerable<string> notActions = null);
Parameters
System.Collections.Generic.IEnumerable<System.String>
actions
The set of actions that the caller is allowed to perform. |
System.Collections.Generic.IEnumerable<System.String>
notActions
The set of actions that the caller is not allowed to perform. |
Returns
BillingPermission
A new BillingPermission instance for mocking. |
BillingPlanPaymentDetail(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, BillingPrice, BillingPrice, Nullable<BillingPaymentStatus>, ExtendedStatusInfo)
Initializes a new instance of BillingPlanPaymentDetail.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingPlanPaymentDetail BillingPlanPaymentDetail (Nullable<DateTimeOffset> dueOn = null, Nullable<DateTimeOffset> paymentCompletedOn = null, Azure.ResourceManager.Billing.Models.BillingPrice pricingCurrencyTotal = null, Azure.ResourceManager.Billing.Models.BillingPrice billingCurrencyTotal = null, Nullable<Azure.ResourceManager.Billing.Models.BillingPaymentStatus> status = null, Azure.ResourceManager.Billing.Models.ExtendedStatusInfo extendedStatusInfo = null);
Parameters
System.Nullable<System.DateTimeOffset>
dueOn
Date when the payment needs to be done. |
System.Nullable<System.DateTimeOffset>
paymentCompletedOn
Date when the transaction is completed. Null when it is scheduled. |
BillingPrice
pricingCurrencyTotal
Amount in pricing currency. Tax not included. |
BillingPrice
billingCurrencyTotal
Amount charged in Billing currency. Tax not included. Is null for future payments. |
System.Nullable<BillingPaymentStatus>
status
Describes whether the payment is completed, failed, pending, cancelled or scheduled in the future. |
ExtendedStatusInfo
extendedStatusInfo
Extended status information. |
Returns
BillingPlanPaymentDetail
A new BillingPlanPaymentDetail instance for mocking. |
BillingProductData(ResourceIdentifier, String, ResourceType, SystemData, BillingProductProperties, IDictionary<String,String>)
Initializes a new instance of BillingProductData.
Declaration
public static Azure.ResourceManager.Billing.BillingProductData BillingProductData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.Billing.Models.BillingProductProperties properties = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
BillingProductProperties
properties
A product. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
BillingProductData
A new BillingProductData instance for mocking. |
BillingProductPatch(ResourceIdentifier, String, ResourceType, SystemData, BillingProductProperties, IDictionary<String,String>)
Initializes a new instance of BillingProductPatch.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingProductPatch BillingProductPatch (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.Billing.Models.BillingProductProperties properties = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
BillingProductProperties
properties
A product. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
BillingProductPatch
A new BillingProductPatch instance for mocking. |
BillingProductProperties(Nullable<BillingSubscriptionAutoRenewState>, String, String, ResourceIdentifier, String, ResourceIdentifier, String, String, String, ResourceIdentifier, String, BillingAmount, String, String, String, String, String, String, Nullable<Int64>, Nullable<BillingProductStatus>, Nullable<Guid>, BillingAmount)
Initializes a new instance of BillingProductProperties.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingProductProperties BillingProductProperties (Nullable<Azure.ResourceManager.Billing.Models.BillingSubscriptionAutoRenewState> autoRenew = null, string availabilityId = null, string billingFrequency = null, Azure.Core.ResourceIdentifier billingProfileId = null, string billingProfileDisplayName = null, Azure.Core.ResourceIdentifier customerId = null, string customerDisplayName = null, string displayName = null, string endDate = null, Azure.Core.ResourceIdentifier invoiceSectionId = null, string invoiceSectionDisplayName = null, Azure.ResourceManager.Billing.Models.BillingAmount lastCharge = null, string lastChargeDate = null, string productType = null, string productTypeId = null, string skuId = null, string skuDescription = null, string purchaseDate = null, Nullable<long> quantity = null, Nullable<Azure.ResourceManager.Billing.Models.BillingProductStatus> status = null, Nullable<Guid> tenantId = null, Azure.ResourceManager.Billing.Models.BillingAmount reseller = null);
Parameters
System.Nullable<BillingSubscriptionAutoRenewState>
autoRenew
Indicates whether auto renewal is turned on or off for a product. |
System.String
availabilityId
The availability of the product. |
System.String
billingFrequency
The frequency at which the product will be billed. |
Azure.Core.ResourceIdentifier
billingProfileId
The ID of the billing profile to which the product is billed. |
System.String
billingProfileDisplayName
The name of the billing profile to which the product is billed. |
Azure.Core.ResourceIdentifier
customerId
The ID of the customer for whom the product was purchased. The field is applicable only for Microsoft Partner Agreement billing account. |
System.String
customerDisplayName
The name of the customer for whom the product was purchased. The field is applicable only for Microsoft Partner Agreement billing account. |
System.String
displayName
The display name of the product. |
System.String
endDate
The date when the product will be renewed or canceled. |
Azure.Core.ResourceIdentifier
invoiceSectionId
The ID of the invoice section to which the product is billed. |
System.String
invoiceSectionDisplayName
The name of the invoice section to which the product is billed. |
BillingAmount
lastCharge
The last month charges. |
System.String
lastChargeDate
The date of the last charge. |
System.String
productType
The description of the type of product. |
System.String
productTypeId
The ID of the type of product. |
System.String
skuId
The sku ID of the product. |
System.String
skuDescription
The sku description of the product. |
System.String
purchaseDate
The date when the product was purchased. |
System.Nullable<System.Int64>
quantity
The quantity purchased for the product. |
System.Nullable<BillingProductStatus>
status
The status of the product. |
System.Nullable<System.Guid>
tenantId
The id of the tenant in which the product is used. |
BillingAmount
reseller
Reseller for this product. The fields is not available for Microsoft Partner Agreement products. |
Returns
BillingProductProperties
A new BillingProductProperties instance for mocking. |
BillingProfileData(ResourceIdentifier, String, ResourceType, SystemData, BillingProfileProperties, IDictionary<String,String>)
Initializes a new instance of BillingProfileData.
Declaration
public static Azure.ResourceManager.Billing.BillingProfileData BillingProfileData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.Billing.Models.BillingProfileProperties properties = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
BillingProfileProperties
properties
A billing profile. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
BillingProfileData
A new BillingProfileData instance for mocking. |
BillingProfileInfo(ResourceIdentifier, String, ResourceIdentifier, String, String)
Initializes a new instance of BillingProfileInfo.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingProfileInfo BillingProfileInfo (Azure.Core.ResourceIdentifier billingAccountId = null, string billingProfileDisplayName = null, Azure.Core.ResourceIdentifier billingProfileId = null, string billingProfileSystemId = null, string indirectRelationshipOrganizationName = null);
Parameters
Azure.Core.ResourceIdentifier
billingAccountId
The fully qualified ID that uniquely identifies a billing account. |
System.String
billingProfileDisplayName
The name of the billing profile. |
Azure.Core.ResourceIdentifier
billingProfileId
The friendly ID that uniquely identifies a billing profile. |
System.String
billingProfileSystemId
The fully qualified ID that uniquely identifies a billing profile. |
System.String
indirectRelationshipOrganizationName
Billing account name. Available for a specific type of agreement. |
Returns
BillingProfileInfo
A new BillingProfileInfo instance for mocking. |
BillingProfilePolicyData(ResourceIdentifier, String, ResourceType, SystemData, BillingProfilePolicyProperties, IDictionary<String,String>)
Initializes a new instance of BillingProfilePolicyData.
Declaration
public static Azure.ResourceManager.Billing.BillingProfilePolicyData BillingProfilePolicyData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.Billing.Models.BillingProfilePolicyProperties properties = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
BillingProfilePolicyProperties
properties
A policy at billing profile scope. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
BillingProfilePolicyData
A new BillingProfilePolicyData instance for mocking. |
BillingProfilePolicyProperties(Nullable<BillingProvisioningState>, EnterpriseAgreementPolicies, Nullable<InvoiceSectionLabelManagementPolicy>, Nullable<MarketplacePurchasesPolicy>, Nullable<ReservationPurchasesPolicy>, Nullable<SavingsPlanPurchasesPolicy>, Nullable<ViewChargesPolicy>, IEnumerable<BillingPolicySummary>)
Initializes a new instance of BillingProfilePolicyProperties.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingProfilePolicyProperties BillingProfilePolicyProperties (Nullable<Azure.ResourceManager.Billing.Models.BillingProvisioningState> provisioningState = null, Azure.ResourceManager.Billing.Models.EnterpriseAgreementPolicies enterpriseAgreementPolicies = null, Nullable<Azure.ResourceManager.Billing.Models.InvoiceSectionLabelManagementPolicy> invoiceSectionLabelManagement = null, Nullable<Azure.ResourceManager.Billing.Models.MarketplacePurchasesPolicy> marketplacePurchases = null, Nullable<Azure.ResourceManager.Billing.Models.ReservationPurchasesPolicy> reservationPurchases = null, Nullable<Azure.ResourceManager.Billing.Models.SavingsPlanPurchasesPolicy> savingsPlanPurchases = null, Nullable<Azure.ResourceManager.Billing.Models.ViewChargesPolicy> viewCharges = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingPolicySummary> policies = null);
Parameters
System.Nullable<BillingProvisioningState>
provisioningState
The provisioning state of the resource during a long-running operation. |
EnterpriseAgreementPolicies
enterpriseAgreementPolicies
The policies for Enterprise Agreement enrollments. |
System.Nullable<InvoiceSectionLabelManagementPolicy>
invoiceSectionLabelManagement
The policy that controls invoice section label management at invoice section scope. This is allowed by default. |
System.Nullable<MarketplacePurchasesPolicy>
marketplacePurchases
The policy that controls whether Azure marketplace purchases are allowed. |
System.Nullable<ReservationPurchasesPolicy>
reservationPurchases
The policy that controls whether Azure reservation purchases are allowed. |
System.Nullable<SavingsPlanPurchasesPolicy>
savingsPlanPurchases
The policy that controls whether users with Azure savings plan purchase are allowed. |
System.Nullable<ViewChargesPolicy>
viewCharges
The policy that controls whether the users in customer's organization can view charges at pay-as-you-go prices. |
System.Collections.Generic.IEnumerable<BillingPolicySummary>
policies
List of all policies defined at the billing scope. |
Returns
BillingProfilePolicyProperties
A new BillingProfilePolicyProperties instance for mocking. |
BillingProfileProperties(Nullable<BillingProvisioningState>, Nullable<BillingRelationshipType>, BillingAddressDetails, String, String, IEnumerable<BillingAzurePlan>, Nullable<Boolean>, IndirectRelationshipInfo, Nullable<Int32>, Nullable<Boolean>, IEnumerable<String>, String, BillingAddressDetails, BillingAddressDetails, Nullable<BillingSpendingLimit>, IEnumerable<SpendingLimitDetails>, Nullable<BillingProfileStatus>, Nullable<BillingProfileStatusReasonCode>, String, IDictionary<String,String>, IEnumerable<String>, BillingPaymentTerm, IEnumerable<BillingPaymentTerm>)
Initializes a new instance of BillingProfileProperties.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingProfileProperties BillingProfileProperties (Nullable<Azure.ResourceManager.Billing.Models.BillingProvisioningState> provisioningState = null, Nullable<Azure.ResourceManager.Billing.Models.BillingRelationshipType> billingRelationshipType = null, Azure.ResourceManager.Billing.Models.BillingAddressDetails billTo = null, string currency = null, string displayName = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingAzurePlan> enabledAzurePlans = null, Nullable<bool> hasReadAccess = null, Azure.ResourceManager.Billing.Models.IndirectRelationshipInfo indirectRelationshipInfo = null, Nullable<int> invoiceDay = null, Nullable<bool> isInvoiceEmailOptIn = null, System.Collections.Generic.IEnumerable<string> invoiceRecipients = null, string poNumber = null, Azure.ResourceManager.Billing.Models.BillingAddressDetails shipTo = null, Azure.ResourceManager.Billing.Models.BillingAddressDetails soldTo = null, Nullable<Azure.ResourceManager.Billing.Models.BillingSpendingLimit> spendingLimit = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.SpendingLimitDetails> spendingLimitDetails = null, Nullable<Azure.ResourceManager.Billing.Models.BillingProfileStatus> status = null, Nullable<Azure.ResourceManager.Billing.Models.BillingProfileStatusReasonCode> statusReasonCode = null, string systemId = null, System.Collections.Generic.IDictionary<string,string> tags = null, System.Collections.Generic.IEnumerable<string> targetClouds = null, Azure.ResourceManager.Billing.Models.BillingPaymentTerm currentPaymentTerm = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingPaymentTerm> otherPaymentTerms = null);
Parameters
System.Nullable<BillingProvisioningState>
provisioningState
The provisioning state of the resource during a long-running operation. |
System.Nullable<BillingRelationshipType>
billingRelationshipType
Identifies the billing relationship represented by the billing profile. The billing relationship may be between Microsoft, the customer, and/or a third-party. |
BillingAddressDetails
billTo
Billing address. |
System.String
currency
The currency in which the charges for the billing profile are billed. |
System.String
displayName
The name of the billing profile. |
System.Collections.Generic.IEnumerable<BillingAzurePlan>
enabledAzurePlans
Information about the enabled azure plans. |
System.Nullable<System.Boolean>
hasReadAccess
Indicates whether user has read access to the billing profile. |
IndirectRelationshipInfo
indirectRelationshipInfo
Identifies the billing profile that is linked to another billing profile in indirect purchase motion. |
System.Nullable<System.Int32>
invoiceDay
The day of the month when the invoice for the billing profile is generated. |
System.Nullable<System.Boolean>
isInvoiceEmailOptIn
Flag controlling whether the invoices for the billing profile are sent through email. |
System.Collections.Generic.IEnumerable<System.String>
invoiceRecipients
The list of email addresses to receive invoices by email for the billing profile. |
System.String
poNumber
The default purchase order number that will appear on the invoices generated for the billing profile. |
BillingAddressDetails
shipTo
The default address where the products are shipped, or the services are being used. If a ship to is not specified for a product or a subscription, then this address will be used. |
BillingAddressDetails
soldTo
The address of the individual or organization that is responsible for the billing account. |
System.Nullable<BillingSpendingLimit>
spendingLimit
The billing profile spending limit. |
System.Collections.Generic.IEnumerable<SpendingLimitDetails>
spendingLimitDetails
The details of billing profile spending limit. |
System.Nullable<BillingProfileStatus>
status
The status of the billing profile. |
System.Nullable<BillingProfileStatusReasonCode>
statusReasonCode
Reason for the specified billing profile status. |
System.String
systemId
The system generated unique identifier for a billing profile. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
System.Collections.Generic.IEnumerable<System.String>
targetClouds
Identifies the cloud environments that are associated with a billing profile. This is a system managed optional field and gets updated as the billing profile gets associated with accounts in various clouds. |
BillingPaymentTerm
currentPaymentTerm
The current payment term of the billing profile. |
System.Collections.Generic.IEnumerable<BillingPaymentTerm>
otherPaymentTerms
The other payment terms of the billing profile. |
Returns
BillingProfileProperties
A new BillingProfileProperties instance for mocking. |
BillingPropertyData(ResourceIdentifier, String, ResourceType, SystemData, BillingPropertyProperties, IDictionary<String,String>)
Initializes a new instance of BillingPropertyData.
Declaration
public static Azure.ResourceManager.Billing.BillingPropertyData BillingPropertyData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.Billing.Models.BillingPropertyProperties properties = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
BillingPropertyProperties
properties
A billing property. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
BillingPropertyData
A new BillingPropertyData instance for mocking. |
BillingPropertyProperties(Nullable<BillingAgreementType>, String, ResourceIdentifier, String, String, Nullable<BillingAccountStatus>, Nullable<BillingAccountStatusReasonCode>, Nullable<BillingAccountType>, Nullable<BillingAccountSubType>, String, String, ResourceIdentifier, Nullable<BillingSpendingLimit>, IEnumerable<SpendingLimitDetails>, Nullable<BillingProfileStatus>, Nullable<BillingProfileStatusReasonCode>, Nullable<PaymentMethodFamily>, String, Nullable<Guid>, String, String, ResourceIdentifier, Nullable<BillingCustomerStatus>, String, ResourceIdentifier, Nullable<InvoiceSectionState>, Nullable<InvoiceSectionStateReasonCode>, Nullable<Boolean>, String, String, Nullable<BillingSubscriptionStatus>, IEnumerable<BillingSubscriptionStatusDetails>, Nullable<SubscriptionBillingType>, BillingAddressDetails, Nullable<SubscriptionWorkloadType>, SubscriptionEnrollmentDetails, Nullable<Boolean>, String, String)
Initializes a new instance of BillingPropertyProperties.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingPropertyProperties BillingPropertyProperties (Nullable<Azure.ResourceManager.Billing.Models.BillingAgreementType> billingAccountAgreementType = null, string billingAccountDisplayName = null, Azure.Core.ResourceIdentifier billingAccountId = null, string accountAdminNotificationEmailAddress = null, string billingAccountSoldToCountry = null, Nullable<Azure.ResourceManager.Billing.Models.BillingAccountStatus> billingAccountStatus = null, Nullable<Azure.ResourceManager.Billing.Models.BillingAccountStatusReasonCode> billingAccountStatusReasonCode = null, Nullable<Azure.ResourceManager.Billing.Models.BillingAccountType> billingAccountType = null, Nullable<Azure.ResourceManager.Billing.Models.BillingAccountSubType> billingAccountSubType = null, string billingCurrency = null, string billingProfileDisplayName = null, Azure.Core.ResourceIdentifier billingProfileId = null, Nullable<Azure.ResourceManager.Billing.Models.BillingSpendingLimit> billingProfileSpendingLimit = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.SpendingLimitDetails> billingProfileSpendingLimitDetails = null, Nullable<Azure.ResourceManager.Billing.Models.BillingProfileStatus> billingProfileStatus = null, Nullable<Azure.ResourceManager.Billing.Models.BillingProfileStatusReasonCode> billingProfileStatusReasonCode = null, Nullable<Azure.ResourceManager.Billing.Models.PaymentMethodFamily> billingProfilePaymentMethodFamily = null, string billingProfilePaymentMethodType = null, Nullable<Guid> billingTenantId = null, string costCenter = null, string customerDisplayName = null, Azure.Core.ResourceIdentifier customerId = null, Nullable<Azure.ResourceManager.Billing.Models.BillingCustomerStatus> customerStatus = null, string invoiceSectionDisplayName = null, Azure.Core.ResourceIdentifier invoiceSectionId = null, Nullable<Azure.ResourceManager.Billing.Models.InvoiceSectionState> invoiceSectionStatus = null, Nullable<Azure.ResourceManager.Billing.Models.InvoiceSectionStateReasonCode> invoiceSectionStatusReasonCode = null, Nullable<bool> isTransitionedBillingAccount = null, string skuDescription = null, string skuId = null, Nullable<Azure.ResourceManager.Billing.Models.BillingSubscriptionStatus> subscriptionBillingStatus = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingSubscriptionStatusDetails> subscriptionBillingStatusDetails = null, Nullable<Azure.ResourceManager.Billing.Models.SubscriptionBillingType> subscriptionBillingType = null, Azure.ResourceManager.Billing.Models.BillingAddressDetails subscriptionServiceUsageAddress = null, Nullable<Azure.ResourceManager.Billing.Models.SubscriptionWorkloadType> subscriptionWorkloadType = null, Azure.ResourceManager.Billing.Models.SubscriptionEnrollmentDetails enrollmentDetails = null, Nullable<bool> isAccountAdmin = null, string productId = null, string productName = null);
Parameters
System.Nullable<BillingAgreementType>
billingAccountAgreementType
The type of agreement. |
System.String
billingAccountDisplayName
The name of the billing account. |
Azure.Core.ResourceIdentifier
billingAccountId
The fully qualified ID that uniquely identifies a billing account. |
System.String
accountAdminNotificationEmailAddress
Notification email address for legacy account. Available for agreement type Microsoft Online Services Program. |
System.String
billingAccountSoldToCountry
The country of the individual or organization that is responsible for the billing account. |
System.Nullable<BillingAccountStatus>
billingAccountStatus
The current status of the billing account. |
System.Nullable<BillingAccountStatusReasonCode>
billingAccountStatusReasonCode
Reason for the specified billing account status. |
System.Nullable<BillingAccountType>
billingAccountType
The type of customer. |
System.Nullable<BillingAccountSubType>
billingAccountSubType
The tier of the account. |
System.String
billingCurrency
The billing currency for the subscription. Available for billing accounts with agreement type Enterprise Agreement. |
System.String
billingProfileDisplayName
The name of the billing profile. |
Azure.Core.ResourceIdentifier
billingProfileId
The fully qualified ID that uniquely identifies a billing profile. |
System.Nullable<BillingSpendingLimit>
billingProfileSpendingLimit
The billing profile spending limit. |
System.Collections.Generic.IEnumerable<SpendingLimitDetails>
billingProfileSpendingLimitDetails
The details of billing profile spending limit. |
System.Nullable<BillingProfileStatus>
billingProfileStatus
The status of the billing profile. |
System.Nullable<BillingProfileStatusReasonCode>
billingProfileStatusReasonCode
Reason for the specified billing profile status. |
System.Nullable<PaymentMethodFamily>
billingProfilePaymentMethodFamily
The payment method family of the primary payment method for the billing profile. |
System.String
billingProfilePaymentMethodType
The payment method type of the primary payment method for the billing profile. |
System.Nullable<System.Guid>
billingTenantId
The Azure AD tenant ID of the billing account for the subscription. |
System.String
costCenter
The cost center applied to the subscription. Available for agreement type Microsoft Customer Agreement and Microsoft Partner Agreement. This property can be updated via patch. |
System.String
customerDisplayName
The name of the customer. |
Azure.Core.ResourceIdentifier
customerId
The fully qualified ID that uniquely identifies a customer. |
System.Nullable<BillingCustomerStatus>
customerStatus
Identifies the status of an customer. This is an upcoming property that will be populated in the future. |
System.String
invoiceSectionDisplayName
The name of the invoice section. |
Azure.Core.ResourceIdentifier
invoiceSectionId
The fully qualified ID that uniquely identifies an invoice section. |
System.Nullable<InvoiceSectionState>
invoiceSectionStatus
Identifies the status of an invoice section. |
System.Nullable<InvoiceSectionStateReasonCode>
invoiceSectionStatusReasonCode
Reason for the specified invoice section status. |
System.Nullable<System.Boolean>
isTransitionedBillingAccount
Specifies if the billing account for the subscription is transitioned from a Microsoft Online Service Program to a Microsoft Customer Agreement (MCA) account. Will be present and value will be true if its a transitioned billing account. |
System.String
skuDescription
The sku description. |
System.String
skuId
The ID that uniquely identifies a sku. |
System.Nullable<BillingSubscriptionStatus>
subscriptionBillingStatus
The subscription status. |
System.Collections.Generic.IEnumerable<BillingSubscriptionStatusDetails>
subscriptionBillingStatusDetails
The reason codes for the subscription status. |
System.Nullable<SubscriptionBillingType>
subscriptionBillingType
The type of billing subscription. |
BillingAddressDetails
subscriptionServiceUsageAddress
The address of the individual or organization where service subscription is being used. Available for agreement type Microsoft Online Services Program. This property can be updated via patch. |
System.Nullable<SubscriptionWorkloadType>
subscriptionWorkloadType
The Azure workload type of the subscription. |
SubscriptionEnrollmentDetails
enrollmentDetails
The enrollment details for the subscription. Available for billing accounts with agreement type Enterprise Agreement. |
System.Nullable<System.Boolean>
isAccountAdmin
Indicates whether user is the account admin. |
System.String
productId
The ID that uniquely identifies a product. |
System.String
productName
The ID that uniquely identifies a product. |
Returns
BillingPropertyProperties
A new BillingPropertyProperties instance for mocking. |
BillingRegistrationNumber(String, Nullable<Boolean>, IEnumerable<String>)
Initializes a new instance of BillingRegistrationNumber.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingRegistrationNumber BillingRegistrationNumber (string id = null, Nullable<bool> isRequired = null, System.Collections.Generic.IEnumerable<string> registrationNumberType = null);
Parameters
System.String
id
The unique identification number of the organization linked with the billing account. |
System.Nullable<System.Boolean>
isRequired
Identifies if the registration number is required for the billing account. |
System.Collections.Generic.IEnumerable<System.String>
registrationNumberType
The types of registration number allowed based on the country of the billing account. |
Returns
BillingRegistrationNumber
A new BillingRegistrationNumber instance for mocking. |
BillingRequestData(ResourceIdentifier, String, ResourceType, SystemData, BillingRequestProperties, IDictionary<String,String>)
Initializes a new instance of BillingRequestData.
Declaration
public static Azure.ResourceManager.Billing.BillingRequestData BillingRequestData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.Billing.Models.BillingRequestProperties properties = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
BillingRequestProperties
properties
A request submitted by a user to manage billing. Users with an owner role on the scope can approve or decline these requests. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
BillingRequestData
A new BillingRequestData instance for mocking. |
BillingRequestProperties(Nullable<BillingProvisioningState>, IDictionary<String,String>, BillingPrincipal, Nullable<DateTimeOffset>, ResourceIdentifier, String, String, Nullable<Guid>, ResourceIdentifier, String, String, BillingPrincipal, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, String, ResourceIdentifier, String, String, ResourceIdentifier, String, String, String, String, String, String, IEnumerable<BillingPrincipal>, String, String, Nullable<BillingRequestStatus>, Nullable<BillingRequestType>, BillingPrincipal, Nullable<DateTimeOffset>)
Initializes a new instance of BillingRequestProperties.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingRequestProperties BillingRequestProperties (Nullable<Azure.ResourceManager.Billing.Models.BillingProvisioningState> provisioningState = null, System.Collections.Generic.IDictionary<string,string> additionalInformation = null, Azure.ResourceManager.Billing.Models.BillingPrincipal reviewedBy = null, Nullable<DateTimeOffset> reviewalOn = null, Azure.Core.ResourceIdentifier billingAccountId = null, string billingAccountName = null, string billingAccountDisplayName = null, Nullable<Guid> billingAccountPrimaryBillingTenantId = null, Azure.Core.ResourceIdentifier billingProfileId = null, string billingProfileName = null, string billingProfileDisplayName = null, Azure.ResourceManager.Billing.Models.BillingPrincipal createdBy = null, Nullable<DateTimeOffset> createdOn = null, Nullable<DateTimeOffset> expireOn = null, string decisionReason = null, Azure.Core.ResourceIdentifier invoiceSectionId = null, string invoiceSectionName = null, string invoiceSectionDisplayName = null, Azure.Core.ResourceIdentifier customerId = null, string customerName = null, string customerDisplayName = null, string subscriptionId = null, string subscriptionName = null, string subscriptionDisplayName = null, string justification = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingPrincipal> recipients = null, string requestScope = null, string billingScope = null, Nullable<Azure.ResourceManager.Billing.Models.BillingRequestStatus> status = null, Nullable<Azure.ResourceManager.Billing.Models.BillingRequestType> requestType = null, Azure.ResourceManager.Billing.Models.BillingPrincipal lastUpdatedBy = null, Nullable<DateTimeOffset> lastUpdatedOn = null);
Parameters
System.Nullable<BillingProvisioningState>
provisioningState
The provisioning state of the resource during a long-running operation. |
System.Collections.Generic.IDictionary<System.String,System.String>
additionalInformation
Additional information for the billing request. |
BillingPrincipal
reviewedBy
The principal of the request reviewer. Will only be set if request is approved. |
System.Nullable<System.DateTimeOffset>
reviewalOn
The date and time when the request was reviewed. |
Azure.Core.ResourceIdentifier
billingAccountId
The fully qualified ID that uniquely identifies a billing account. |
System.String
billingAccountName
The ID that uniquely identifies a billing account. |
System.String
billingAccountDisplayName
The name of the billing account. |
System.Nullable<System.Guid>
billingAccountPrimaryBillingTenantId
The primary tenant ID of the billing account for which the billing request was submitted. |
Azure.Core.ResourceIdentifier
billingProfileId
The fully qualified ID that uniquely identifies a billing profile. |
System.String
billingProfileName
The ID that uniquely identifies a billing profile. |
System.String
billingProfileDisplayName
The name of the billing profile. |
BillingPrincipal
createdBy
The principal of the entity who created the request. |
System.Nullable<System.DateTimeOffset>
createdOn
The date and time when the request was created. |
System.Nullable<System.DateTimeOffset>
expireOn
The date and time when the request expires. |
System.String
decisionReason
The reason to approve or decline the request. |
Azure.Core.ResourceIdentifier
invoiceSectionId
The fully qualified ID that uniquely identifies an invoice section. |
System.String
invoiceSectionName
The ID that uniquely identifies an invoice section. |
System.String
invoiceSectionDisplayName
The name of the invoice section. |
Azure.Core.ResourceIdentifier
customerId
The fully qualified ID that uniquely identifies a customer. |
System.String
customerName
The ID that uniquely identifies a customer. |
System.String
customerDisplayName
The name of the customer. |
System.String
subscriptionId
The fully qualified ID that uniquely identifies a billing subscription. |
System.String
subscriptionName
The ID that uniquely identifies a billing subscription. |
System.String
subscriptionDisplayName
The name of the billing subscription. |
System.String
justification
Justification for submitting request. |
System.Collections.Generic.IEnumerable<BillingPrincipal>
recipients
The recipients of the billing request. |
System.String
requestScope
The billing scope for which the request was submitted (ex. '/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}'). |
System.String
billingScope
The billing scope for which the request will be applied. This is a read only property derived by the service. |
System.Nullable<BillingRequestStatus>
status
Status of billing request. |
System.Nullable<BillingRequestType>
requestType
Type of billing request. |
BillingPrincipal
lastUpdatedBy
The principal of the entity who last updated the request. |
System.Nullable<System.DateTimeOffset>
lastUpdatedOn
Date and time of last update. |
Returns
BillingRequestProperties
A new BillingRequestProperties instance for mocking. |
BillingReservationData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, Nullable<Int32>, String, String, Nullable<InstanceFlexibility>, String, IEnumerable<String>, String, Nullable<Boolean>, String, Nullable<Single>, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, String, ReservationExtendedStatusInfo, Nullable<ReservationBillingPlan>, String, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, ReservationSplitProperties, ReservationMergeProperties, ReservationSwapProperties, ReservationAppliedScopeProperties, String, Nullable<Boolean>, String, String, ReservationRenewProperties, String, String, String, String, String, IEnumerable<ReservationUtilizationAggregates>)
Initializes a new instance of BillingReservationData.
Declaration
public static Azure.ResourceManager.Billing.BillingReservationData BillingReservationData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary<string,string> tags = null, Azure.Core.AzureLocation location = null, Nullable<int> etag = null, string skuName = null, string reservedResourceType = null, Nullable<Azure.ResourceManager.Billing.Models.InstanceFlexibility> instanceFlexibility = null, string displayName = null, System.Collections.Generic.IEnumerable<string> appliedScopes = null, string appliedScopeType = null, Nullable<bool> isArchived = null, string capabilities = null, Nullable<float> quantity = null, string provisioningState = null, Nullable<DateTimeOffset> effectiveOn = null, Nullable<DateTimeOffset> benefitStartOn = null, Nullable<DateTimeOffset> lastUpdatedOn = null, Nullable<DateTimeOffset> expireOn = null, Nullable<DateTimeOffset> reservationExpireOn = null, Nullable<DateTimeOffset> reviewOn = null, string skuDescription = null, Azure.ResourceManager.Billing.Models.ReservationExtendedStatusInfo extendedStatusInfo = null, Nullable<Azure.ResourceManager.Billing.Models.ReservationBillingPlan> billingPlan = null, string displayProvisioningState = null, string provisioningSubState = null, Nullable<DateTimeOffset> purchaseOn = null, Nullable<DateTimeOffset> reservationPurchaseOn = null, Azure.ResourceManager.Billing.Models.ReservationSplitProperties splitProperties = null, Azure.ResourceManager.Billing.Models.ReservationMergeProperties mergeProperties = null, Azure.ResourceManager.Billing.Models.ReservationSwapProperties swapProperties = null, Azure.ResourceManager.Billing.Models.ReservationAppliedScopeProperties appliedScopeProperties = null, string billingScopeId = null, Nullable<bool> isRenewed = null, string renewSource = null, string renewDestination = null, Azure.ResourceManager.Billing.Models.ReservationRenewProperties renewProperties = null, string term = null, string userFriendlyAppliedScopeType = null, string userFriendlyRenewState = null, string productCode = null, string trend = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.ReservationUtilizationAggregates> aggregates = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
The tags. |
Azure.Core.AzureLocation
location
The location. |
System.Nullable<System.Int32>
etag
|
System.String
skuName
The sku information associated to this reservation. |
System.String
reservedResourceType
The reserved source type of the reservation, e.g. virtual machine. |
System.Nullable<InstanceFlexibility>
instanceFlexibility
Allows reservation discount to be applied across skus within the same auto fit group. Not all skus support instance size flexibility. |
System.String
displayName
The display name of the reservation. |
System.Collections.Generic.IEnumerable<System.String>
appliedScopes
The array of applied scopes of a reservation. Will be null if the reservation is in Shared scope. |
System.String
appliedScopeType
The applied scope type of the reservation. |
System.Nullable<System.Boolean>
isArchived
Indicates if the reservation is archived. |
System.String
capabilities
Capabilities of the reservation. |
System.Nullable<System.Single>
quantity
The number of the reservation. |
System.String
provisioningState
The provisioning state of the reservation, e.g. Succeeded. |
System.Nullable<System.DateTimeOffset>
effectiveOn
The effective date time of the reservation. |
System.Nullable<System.DateTimeOffset>
benefitStartOn
This is the DateTime when the reservation benefit started. |
System.Nullable<System.DateTimeOffset>
lastUpdatedOn
DateTime of the last time the reservation was updated. |
System.Nullable<System.DateTimeOffset>
expireOn
The expiry date of the reservation. |
System.Nullable<System.DateTimeOffset>
reservationExpireOn
This is the date-time when the reservation will expire. |
System.Nullable<System.DateTimeOffset>
reviewOn
This is the date-time when the Azure Hybrid Benefit needs to be reviewed. |
System.String
skuDescription
The sku description of the reservation. |
ReservationExtendedStatusInfo
extendedStatusInfo
The message giving detailed information about the status code. |
System.Nullable<ReservationBillingPlan>
billingPlan
The billing plan options available for this sku. |
System.String
displayProvisioningState
The provisioning state of the reservation for display, e.g. Succeeded. |
System.String
provisioningSubState
The provisioning state of the reservation, e.g. Succeeded. |
System.Nullable<System.DateTimeOffset>
purchaseOn
This is the date when the reservation was purchased. |
System.Nullable<System.DateTimeOffset>
reservationPurchaseOn
This is the date-time when the reservation was purchased. |
ReservationSplitProperties
splitProperties
Properties of reservation split. |
ReservationMergeProperties
mergeProperties
Properties of reservation merge. |
ReservationSwapProperties
swapProperties
Properties of reservation swap. |
ReservationAppliedScopeProperties
appliedScopeProperties
Properties specific to applied scope type. Not required if not applicable. Required and need to provide tenantId and managementGroupId if AppliedScopeType is ManagementGroup. |
System.String
billingScopeId
Subscription that will be charged for purchasing reservation or savings plan. |
System.Nullable<System.Boolean>
isRenewed
The renew state of the reservation. |
System.String
renewSource
The renew source of the reservation. |
System.String
renewDestination
Reservation Id of the reservation which is purchased because of renew. Format of the resource Id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}. |
ReservationRenewProperties
renewProperties
The renew properties for a reservation. |
System.String
term
The term of the reservation, e.g. P1Y. |
System.String
userFriendlyAppliedScopeType
The applied scope type of the reservation for display, e.g. Shared. |
System.String
userFriendlyRenewState
The renew state of the reservation for display, e.g. On. |
System.String
productCode
Represents UPN. |
System.String
trend
last 7 day utilization trend for a reservation. |
System.Collections.Generic.IEnumerable<ReservationUtilizationAggregates>
aggregates
The array of aggregates of a reservation's utilization. |
Returns
BillingReservationData
A new BillingReservationData instance for mocking. |
BillingReservationOrderData(ResourceIdentifier, String, ResourceType, SystemData, Nullable<Int32>, IDictionary<String,String>, String, String, ResourceIdentifier, ResourceIdentifier, ResourceIdentifier, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<Int32>, String, String, Nullable<ReservationBillingPlan>, ReservationOrderBillingPlanInformation, IEnumerable<BillingReservationData>, Nullable<DateTimeOffset>, ReservationExtendedStatusInfo, String)
Initializes a new instance of BillingReservationOrderData.
Declaration
public static Azure.ResourceManager.Billing.BillingReservationOrderData BillingReservationOrderData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Nullable<int> etag = null, System.Collections.Generic.IDictionary<string,string> tags = null, string displayName = null, string enrollmentId = null, Azure.Core.ResourceIdentifier customerId = null, Azure.Core.ResourceIdentifier billingProfileId = null, Azure.Core.ResourceIdentifier billingAccountId = null, Nullable<DateTimeOffset> requestOn = null, Nullable<DateTimeOffset> createdOn = null, Nullable<DateTimeOffset> expireOn = null, Nullable<DateTimeOffset> reservationExpireOn = null, Nullable<DateTimeOffset> benefitStartOn = null, Nullable<int> originalQuantity = null, string term = null, string provisioningState = null, Nullable<Azure.ResourceManager.Billing.Models.ReservationBillingPlan> billingPlan = null, Azure.ResourceManager.Billing.Models.ReservationOrderBillingPlanInformation planInformation = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.BillingReservationData> reservations = null, Nullable<DateTimeOffset> reviewedOn = null, Azure.ResourceManager.Billing.Models.ReservationExtendedStatusInfo extendedStatusInfo = null, string productCode = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
System.Nullable<System.Int32>
etag
|
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Tags for this reservation. |
System.String
displayName
Friendly name for user to easily identified the reservation order. |
System.String
enrollmentId
Enrollment id of the reservation order. |
Azure.Core.ResourceIdentifier
customerId
Fully-qualified identifier of the customerId where the benefit is applied. Present only for Enterprise Agreement PartnerLed customers. |
Azure.Core.ResourceIdentifier
billingProfileId
Billing profile Id associated to this reservation order. |
Azure.Core.ResourceIdentifier
billingAccountId
Billing account Id associated to this reservation order. |
System.Nullable<System.DateTimeOffset>
requestOn
This is the DateTime when the reservation order was initially requested for purchase. |
System.Nullable<System.DateTimeOffset>
createdOn
This is the DateTime when the reservation order was created. |
System.Nullable<System.DateTimeOffset>
expireOn
This is the date when the reservation order will expire. |
System.Nullable<System.DateTimeOffset>
reservationExpireOn
This is the date-time when the reservation order will expire. |
System.Nullable<System.DateTimeOffset>
benefitStartOn
This is the DateTime when the reservation benefit started. |
System.Nullable<System.Int32>
originalQuantity
Total original quantity of the skus purchased in the reservation order. |
System.String
term
The term of the reservation, e.g. P1Y. |
System.String
provisioningState
The provisioning state of the reservation, e.g. Succeeded. |
System.Nullable<ReservationBillingPlan>
billingPlan
Represent the billing plans. |
ReservationOrderBillingPlanInformation
planInformation
Information describing the type of billing plan for this reservation order. |
System.Collections.Generic.IEnumerable<BillingReservationData>
reservations
|
System.Nullable<System.DateTimeOffset>
reviewedOn
This is the date-time when the Azure Hybrid Benefit needs to be reviewed. |
ReservationExtendedStatusInfo
extendedStatusInfo
Extended status information for the reservation. |
System.String
productCode
Represents UPN. |
Returns
BillingReservationOrderData
A new BillingReservationOrderData instance for mocking. |
BillingRoleAssignmentData(ResourceIdentifier, String, ResourceType, SystemData, BillingRoleAssignmentProperties, IDictionary<String,String>)
Initializes a new instance of BillingRoleAssignmentData.
Declaration
public static Azure.ResourceManager.Billing.BillingRoleAssignmentData BillingRoleAssignmentData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.Billing.Models.BillingRoleAssignmentProperties properties = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
BillingRoleAssignmentProperties
properties
The properties of the billing role assignment. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
BillingRoleAssignmentData
A new BillingRoleAssignmentData instance for mocking. |
BillingRoleAssignmentListResult(String, IEnumerable<BillingRoleAssignmentData>)
Initializes a new instance of BillingRoleAssignmentListResult.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingRoleAssignmentListResult BillingRoleAssignmentListResult (string nextLink = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.BillingRoleAssignmentData> value = null);
Parameters
System.String
nextLink
The link (url) to the next page of results. |
System.Collections.Generic.IEnumerable<BillingRoleAssignmentData>
value
The list of resources. |
Returns
BillingRoleAssignmentListResult
A new BillingRoleAssignmentListResult instance for mocking. |
BillingRoleAssignmentProperties(Nullable<BillingProvisioningState>, Nullable<DateTimeOffset>, Nullable<Guid>, String, String, String, Nullable<DateTimeOffset>, String, String, String, Nullable<Guid>, String, String, Nullable<Guid>, ResourceIdentifier, String, String, String, String, String, Nullable<BillingPrincipalType>, ResourceIdentifier, ResourceIdentifier, String, ResourceIdentifier, String, ResourceIdentifier, String, ResourceIdentifier, String)
Initializes a new instance of BillingRoleAssignmentProperties.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingRoleAssignmentProperties BillingRoleAssignmentProperties (Nullable<Azure.ResourceManager.Billing.Models.BillingProvisioningState> provisioningState = null, Nullable<DateTimeOffset> createdOn = null, Nullable<Guid> createdByPrincipalTenantId = null, string createdByPrincipalId = null, string createdByPrincipalPuid = null, string createdByUserEmailAddress = null, Nullable<DateTimeOffset> modifiedOn = null, string modifiedByPrincipalPuid = null, string modifiedByUserEmailAddress = null, string modifiedByPrincipalId = null, Nullable<Guid> modifiedByPrincipalTenantId = null, string principalPuid = null, string principalId = null, Nullable<Guid> principalTenantId = null, Azure.Core.ResourceIdentifier roleDefinitionId = null, string scope = null, string userAuthenticationType = null, string userEmailAddress = null, string principalTenantName = null, string principalDisplayName = null, Nullable<Azure.ResourceManager.Billing.Models.BillingPrincipalType> principalType = null, Azure.Core.ResourceIdentifier billingRequestId = null, Azure.Core.ResourceIdentifier billingAccountId = null, string billingAccountDisplayName = null, Azure.Core.ResourceIdentifier billingProfileId = null, string billingProfileDisplayName = null, Azure.Core.ResourceIdentifier invoiceSectionId = null, string invoiceSectionDisplayName = null, Azure.Core.ResourceIdentifier customerId = null, string customerDisplayName = null);
Parameters
System.Nullable<BillingProvisioningState>
provisioningState
The provisioning state of the resource during a long-running operation. |
System.Nullable<System.DateTimeOffset>
createdOn
The date the role assignment was created. |
System.Nullable<System.Guid>
createdByPrincipalTenantId
The tenant Id of the user who created the role assignment. |
System.String
createdByPrincipalId
The object ID of the user who created the role assignment. |
System.String
createdByPrincipalPuid
The principal PUID of the user who created the role assignment. |
System.String
createdByUserEmailAddress
The email address of the user who created the role assignment. This is supported only for billing accounts with agreement type Enterprise Agreement. |
System.Nullable<System.DateTimeOffset>
modifiedOn
The date the role assignment was modified. |
System.String
modifiedByPrincipalPuid
The principal PUID of the user who modified the role assignment. |
System.String
modifiedByUserEmailAddress
The email address of the user who modified the role assignment. This is supported only for billing accounts with agreement type Enterprise Agreement. |
System.String
modifiedByPrincipalId
The principal PUID of the user who modified the role assignment. |
System.Nullable<System.Guid>
modifiedByPrincipalTenantId
The tenant Id of the user who modified the role assignment. |
System.String
principalPuid
The principal PUID of the user to whom the role was assigned. |
System.String
principalId
The object id of the user to whom the role was assigned. |
System.Nullable<System.Guid>
principalTenantId
The principal tenant id of the user to whom the role was assigned. |
Azure.Core.ResourceIdentifier
roleDefinitionId
The ID of the role definition. |
System.String
scope
The scope at which the role was assigned. |
System.String
userAuthenticationType
The authentication type of the user, whether Organization or MSA, of the user to whom the role was assigned. This is supported only for billing accounts with agreement type Enterprise Agreement. |
System.String
userEmailAddress
The email address of the user to whom the role was assigned. This is supported only for billing accounts with agreement type Enterprise Agreement. |
System.String
principalTenantName
The friendly name of the tenant of the user to whom the role was assigned. This will be 'Primary Tenant' for the primary tenant of the billing account. |
System.String
principalDisplayName
The display name of the principal to whom the role was assigned. |
System.Nullable<BillingPrincipalType>
principalType
The type of a role Assignment. |
Azure.Core.ResourceIdentifier
billingRequestId
The ID of the billing request that was created for the role assignment. This is only applicable to cross tenant role assignments or role assignments created through the billing request. |
Azure.Core.ResourceIdentifier
billingAccountId
The fully qualified ID that uniquely identifies a billing account. |
System.String
billingAccountDisplayName
The name of the billing account. |
Azure.Core.ResourceIdentifier
billingProfileId
The fully qualified ID that uniquely identifies a billing profile. |
System.String
billingProfileDisplayName
The name of the billing profile. |
Azure.Core.ResourceIdentifier
invoiceSectionId
The fully qualified ID that uniquely identifies an invoice section. |
System.String
invoiceSectionDisplayName
The name of the invoice section. |
Azure.Core.ResourceIdentifier
customerId
The fully qualified ID that uniquely identifies a customer. |
System.String
customerDisplayName
The name of the customer. |
Returns
BillingRoleAssignmentProperties
A new BillingRoleAssignmentProperties instance for mocking. |
BillingRoleDefinitionData(ResourceIdentifier, String, ResourceType, SystemData, BillingRoleDefinitionProperties, IDictionary<String,String>)
Initializes a new instance of BillingRoleDefinitionData.
Declaration
public static Azure.ResourceManager.Billing.BillingRoleDefinitionData BillingRoleDefinitionData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.Billing.Models.BillingRoleDefinitionProperties properties = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
BillingRoleDefinitionProperties
properties
The properties of a role definition. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
BillingRoleDefinitionData
A new BillingRoleDefinitionData instance for mocking. |
BillingRoleDefinitionProperties(String, IEnumerable<BillingPermission>, String)
Initializes a new instance of BillingRoleDefinitionProperties.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingRoleDefinitionProperties BillingRoleDefinitionProperties (string description = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingPermission> permissions = null, string roleName = null);
Parameters
System.String
description
The role description. |
System.Collections.Generic.IEnumerable<BillingPermission>
permissions
The billingPermissions the role has. |
System.String
roleName
The name of the role. |
Returns
BillingRoleDefinitionProperties
A new BillingRoleDefinitionProperties instance for mocking. |
BillingSavingsPlanModelData(ResourceIdentifier, String, ResourceType, SystemData, String, String, Nullable<BillingProvisioningState>, String, String, String, ResourceIdentifier, ResourceIdentifier, ResourceIdentifier, Nullable<BillingSavingsPlanTerm>, Nullable<Boolean>, String, String, BillingPurchaseProperties, Nullable<BillingPlan>, Nullable<BillingAppliedScopeType>, BillingAppliedScopeProperties, BillingBenefitCommitment, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, SavingsPlanUtilization, ExtendedStatusInfo, String, IDictionary<String,String>)
Initializes a new instance of BillingSavingsPlanModelData.
Declaration
public static Azure.ResourceManager.Billing.BillingSavingsPlanModelData BillingSavingsPlanModelData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, string skuName = null, string displayName = null, Nullable<Azure.ResourceManager.Billing.Models.BillingProvisioningState> provisioningState = null, string displayProvisioningState = null, string userFriendlyAppliedScopeType = null, string billingScopeId = null, Azure.Core.ResourceIdentifier billingProfileId = null, Azure.Core.ResourceIdentifier customerId = null, Azure.Core.ResourceIdentifier billingAccountId = null, Nullable<Azure.ResourceManager.Billing.Models.BillingSavingsPlanTerm> term = null, Nullable<bool> isRenewed = null, string renewSource = null, string renewDestination = null, Azure.ResourceManager.Billing.Models.BillingPurchaseProperties renewPurchaseProperties = null, Nullable<Azure.ResourceManager.Billing.Models.BillingPlan> billingPlan = null, Nullable<Azure.ResourceManager.Billing.Models.BillingAppliedScopeType> appliedScopeType = null, Azure.ResourceManager.Billing.Models.BillingAppliedScopeProperties appliedScopeProperties = null, Azure.ResourceManager.Billing.Models.BillingBenefitCommitment commitment = null, Nullable<DateTimeOffset> effectiveOn = null, Nullable<DateTimeOffset> benefitStartOn = null, Nullable<DateTimeOffset> expiryOn = null, Nullable<DateTimeOffset> purchaseOn = null, Azure.ResourceManager.Billing.Models.SavingsPlanUtilization utilization = null, Azure.ResourceManager.Billing.Models.ExtendedStatusInfo extendedStatusInfo = null, string productCode = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
System.String
skuName
Savings plan SKU. |
System.String
displayName
Display name. |
System.Nullable<BillingProvisioningState>
provisioningState
The provisioning state of the resource during a long-running operation. |
System.String
displayProvisioningState
The provisioning state of the savings plan for display, e.g. Succeeded. |
System.String
userFriendlyAppliedScopeType
The applied scope type of the savings plan for display, e.g. Shared. |
System.String
billingScopeId
Subscription that will be charged for purchasing SavingsPlan. |
Azure.Core.ResourceIdentifier
billingProfileId
Fully-qualified identifier of the billing profile where the savings plan is applied. Present only for Field-led or Customer-led customers. |
Azure.Core.ResourceIdentifier
customerId
Fully-qualified identifier of the customer where the savings plan is applied. Present only for Partner-led customers. |
Azure.Core.ResourceIdentifier
billingAccountId
Fully-qualified identifier of the billing account where the savings plan is applied. |
System.Nullable<BillingSavingsPlanTerm>
term
Represents the Savings plan term in ISO 8601 format. |
System.Nullable<System.Boolean>
isRenewed
Setting this to true will automatically purchase a new benefit on the expiration date time. |
System.String
renewSource
SavingsPlan Id of the SavingsPlan from which this SavingsPlan is renewed. |
System.String
renewDestination
SavingsPlan Id of the SavingsPlan which is purchased because of renew. |
BillingPurchaseProperties
renewPurchaseProperties
Properties specific to renew. |
System.Nullable<BillingPlan>
billingPlan
Represents the billing plan in ISO 8601 format. Required only for monthly purchases. |
System.Nullable<BillingAppliedScopeType>
appliedScopeType
Type of the Applied Scope. |
BillingAppliedScopeProperties
appliedScopeProperties
Properties specific to applied scope type. Not required if not applicable. |
BillingBenefitCommitment
commitment
Commitment towards the benefit. |
System.Nullable<System.DateTimeOffset>
effectiveOn
DateTime of the savings plan starting when this version is effective from. |
System.Nullable<System.DateTimeOffset>
benefitStartOn
This is the DateTime when the savings plan benefit starts. |
System.Nullable<System.DateTimeOffset>
expiryOn
This is the date-time when the savings plan will expire. |
System.Nullable<System.DateTimeOffset>
purchaseOn
Date time when the savings plan was purchased. |
SavingsPlanUtilization
utilization
Savings plan utilization. |
ExtendedStatusInfo
extendedStatusInfo
Extended status information. |
System.String
productCode
Represents UPN. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
BillingSavingsPlanModelData
A new BillingSavingsPlanModelData instance for mocking. |
BillingSubscriptionAliasData(ResourceIdentifier, String, ResourceType, SystemData, Nullable<BillingSubscriptionAutoRenewState>, String, String, ResourceIdentifier, IReadOnlyDictionary<String,String>, String, String, String, String, String, String, String, String, ResourceIdentifier, String, String, BillingAmount, BillingAmount, String, String, String, String, String, Nullable<DateTimeOffset>, Nullable<Int64>, CreatedSubscriptionReseller, SubscriptionRenewalTermDetails, String, String, Nullable<BillingSubscriptionStatus>, String, IEnumerable<String>, Nullable<TimeSpan>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<SubscriptionEnrollmentAccountStatus>, Nullable<DateTimeOffset>, ResourceIdentifier)
Initializes a new instance of BillingSubscriptionAliasData.
Declaration
[System.ComponentModel.EditorBrowsable]
public static Azure.ResourceManager.Billing.BillingSubscriptionAliasData BillingSubscriptionAliasData (Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, Nullable<Azure.ResourceManager.Billing.Models.BillingSubscriptionAutoRenewState> autoRenew, string beneficiaryTenantId, string billingFrequency, Azure.Core.ResourceIdentifier billingProfileId, System.Collections.Generic.IReadOnlyDictionary<string,string> billingPolicies, string billingProfileDisplayName, string billingProfileName, string consumptionCostCenter, string customerId, string customerDisplayName, string displayName, string enrollmentAccountId, string enrollmentAccountDisplayName, Azure.Core.ResourceIdentifier invoiceSectionId, string invoiceSectionDisplayName, string invoiceSectionName, Azure.ResourceManager.Billing.Models.BillingAmount lastMonthCharges, Azure.ResourceManager.Billing.Models.BillingAmount monthToDateCharges, string nextBillingCycleBillingFrequency, string offerId, string productCategory, string productType, string productTypeId, Nullable<DateTimeOffset> purchaseOn, Nullable<long> quantity, Azure.ResourceManager.Billing.Models.CreatedSubscriptionReseller reseller, Azure.ResourceManager.Billing.Models.SubscriptionRenewalTermDetails renewalTermDetails, string skuDescription, string skuId, Nullable<Azure.ResourceManager.Billing.Models.BillingSubscriptionStatus> status, string subscriptionId, System.Collections.Generic.IEnumerable<string> suspensionReasons, Nullable<TimeSpan> termDuration, Nullable<DateTimeOffset> termStartOn, Nullable<DateTimeOffset> termEndOn, Nullable<Azure.ResourceManager.Billing.Models.SubscriptionEnrollmentAccountStatus> subscriptionEnrollmentAccountStatus, Nullable<DateTimeOffset> enrollmentAccountStartOn, Azure.Core.ResourceIdentifier billingSubscriptionId);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
System.Nullable<BillingSubscriptionAutoRenewState>
autoRenew
Indicates whether auto renewal is turned on or off for a subscription. |
System.String
beneficiaryTenantId
The provisioning tenant of the subscription. |
System.String
billingFrequency
The billing frequency of the subscription in the ISO8601 format. Example: P1M, P3M, P1Y. |
Azure.Core.ResourceIdentifier
billingProfileId
The ID of the billing profile to which the subscription is billed. This field is only applicable for Microsoft Customer Agreement billing accounts. |
System.Collections.Generic.IReadOnlyDictionary<System.String,System.String>
billingPolicies
Dictionary of billing policies associated with the subscription. |
System.String
billingProfileDisplayName
The display name of the billing profile to which the subscription is billed. This field is only applicable for Microsoft Customer Agreement billing accounts. |
System.String
billingProfileName
The name of the billing profile to which the subscription is billed. This field is only applicable for Microsoft Customer Agreement billing accounts. |
System.String
consumptionCostCenter
The cost center applied to the subscription. This field is only available for consumption subscriptions of Microsoft Customer Agreement Type billing accounts. |
System.String
customerId
The ID of the customer for whom the subscription was created. The field is applicable only for Microsoft Partner Agreement billing accounts. |
System.String
customerDisplayName
The name of the customer for whom the subscription was created. The field is applicable only for Microsoft Partner Agreement billing accounts. |
System.String
displayName
The name of the subscription. |
System.String
enrollmentAccountId
The enrollment Account ID associated with the subscription. This field is available only for the Enterprise Agreement billing accounts. |
System.String
enrollmentAccountDisplayName
The enrollment Account name associated with the subscription. This field is available only for the Enterprise Agreement billing accounts. |
Azure.Core.ResourceIdentifier
invoiceSectionId
The ID of the invoice section to which the subscription is billed. The field is applicable only for Microsoft Partner Agreement billing accounts. |
System.String
invoiceSectionDisplayName
The display name of the invoice section to which the subscription is billed. The field is applicable only for Microsoft Partner Agreement billing accounts. |
System.String
invoiceSectionName
The name of the invoice section to which the subscription is billed. The field is applicable only for Microsoft Partner Agreement billing accounts. |
BillingAmount
lastMonthCharges
The last month's charges. This field is only available for usage based subscriptions of Microsoft Customer Agreement billing accounts. |
BillingAmount
monthToDateCharges
The current month to date charges. This field is only available for usage based subscriptions of Microsoft Customer Agreement billing accounts. |
System.String
nextBillingCycleBillingFrequency
Next billing cycle details of the subscription. |
System.String
offerId
The offer ID for the subscription. This field is only available for the Microsoft Online Services Program billing accounts. |
System.String
productCategory
The category of the product for which the subscription is purchased. Possible values include: AzureSupport, Hardware, ReservationOrder, SaaS, SavingsPlanOrder, Software, UsageBased, Other. |
System.String
productType
The type of the product for which the subscription is purchased. |
System.String
productTypeId
The ID of the product for which the subscription is purchased. |
System.Nullable<System.DateTimeOffset>
purchaseOn
The purchase date of the subscription in UTC time. |
System.Nullable<System.Int64>
quantity
The number of licenses purchased for the subscription. |
CreatedSubscriptionReseller
reseller
The reseller for which the subscription is created. The field is available for Microsoft Partner Agreement billing accounts. |
SubscriptionRenewalTermDetails
renewalTermDetails
The term details of the subscription at the next renewal. |
System.String
skuDescription
The SKU description of the product for which the subscription is purchased. This field is only available for Microsoft Customer Agreement billing accounts. |
System.String
skuId
The SKU ID of the product for which the subscription is purchased. This field is only available for Microsoft Customer Agreement billing accounts. |
System.Nullable<BillingSubscriptionStatus>
status
The status of the subscription. This field is not available for Enterprise Agreement billing accounts. |
System.String
subscriptionId
The ID of the usage-based subscription. This field is only available for usage-based subscriptions of Microsoft Customer Agreement billing accounts. |
System.Collections.Generic.IEnumerable<System.String>
suspensionReasons
The suspension reason for the subscription. This field is not available for Enterprise Agreement billing accounts. |
System.Nullable<System.TimeSpan>
termDuration
The duration for which you can use the subscription. Example P1Y and P1M. |
System.Nullable<System.DateTimeOffset>
termStartOn
The start date of the term in UTC time. |
System.Nullable<System.DateTimeOffset>
termEndOn
The end date of the term in UTC time. |
System.Nullable<SubscriptionEnrollmentAccountStatus>
subscriptionEnrollmentAccountStatus
The current enrollment account status of the subscription. This field is available only for the Enterprise Agreement billing accounts. |
System.Nullable<System.DateTimeOffset>
enrollmentAccountStartOn
The enrollment Account and the subscription association start date. This field is available only for the Enterprise Agreement billing accounts. |
Azure.Core.ResourceIdentifier
billingSubscriptionId
The ID of the billing subscription with the subscription alias. |
Returns
BillingSubscriptionAliasData
A new BillingSubscriptionAliasData instance for mocking. |
BillingSubscriptionAliasData(ResourceIdentifier, String, ResourceType, SystemData, Nullable<BillingSubscriptionAutoRenewState>, Nullable<Guid>, BillingBeneficiary, String, ResourceIdentifier, IReadOnlyDictionary<String,String>, String, String, String, String, String, String, String, String, String, ResourceIdentifier, String, String, BillingAmount, BillingAmount, String, String, String, String, String, Nullable<DateTimeOffset>, Nullable<Int64>, CreatedSubscriptionReseller, SubscriptionRenewalTermDetails, String, String, BillingSystemOverrides, Uri, Nullable<TimeSpan>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<Guid>, Nullable<BillingSubscriptionStatus>, Nullable<BillingSubscriptionOperationStatus>, Nullable<BillingProvisioningState>, String, IEnumerable<String>, IEnumerable<BillingSubscriptionStatusDetails>, Nullable<DateTimeOffset>, Nullable<SubscriptionEnrollmentAccountStatus>, String, IDictionary<String,String>)
Initializes a new instance of BillingSubscriptionAliasData.
Declaration
public static Azure.ResourceManager.Billing.BillingSubscriptionAliasData BillingSubscriptionAliasData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Nullable<Azure.ResourceManager.Billing.Models.BillingSubscriptionAutoRenewState> autoRenew = null, Nullable<Guid> subscriptionAliasBeneficiaryTenantId = null, Azure.ResourceManager.Billing.Models.BillingBeneficiary beneficiary = null, string billingFrequency = null, Azure.Core.ResourceIdentifier billingProfileId = null, System.Collections.Generic.IReadOnlyDictionary<string,string> billingPolicies = null, string billingProfileDisplayName = null, string billingProfileName = null, string consumptionCostCenter = null, string subscriptionAliasCustomerId = null, string customerDisplayName = null, string customerName = null, string displayName = null, string enrollmentAccountId = null, string enrollmentAccountDisplayName = null, Azure.Core.ResourceIdentifier invoiceSectionId = null, string invoiceSectionDisplayName = null, string invoiceSectionName = null, Azure.ResourceManager.Billing.Models.BillingAmount lastMonthCharges = null, Azure.ResourceManager.Billing.Models.BillingAmount monthToDateCharges = null, string nextBillingCycleBillingFrequency = null, string offerId = null, string productCategory = null, string productType = null, string productTypeId = null, Nullable<DateTimeOffset> purchaseOn = null, Nullable<long> quantity = null, Azure.ResourceManager.Billing.Models.CreatedSubscriptionReseller reseller = null, Azure.ResourceManager.Billing.Models.SubscriptionRenewalTermDetails renewalTermDetails = null, string skuId = null, string skuDescription = null, Azure.ResourceManager.Billing.Models.BillingSystemOverrides systemOverrides = null, Uri resourceUri = null, Nullable<TimeSpan> termDuration = null, Nullable<DateTimeOffset> termStartOn = null, Nullable<DateTimeOffset> termEndOn = null, Nullable<Guid> provisioningTenantId = null, Nullable<Azure.ResourceManager.Billing.Models.BillingSubscriptionStatus> status = null, Nullable<Azure.ResourceManager.Billing.Models.BillingSubscriptionOperationStatus> operationStatus = null, Nullable<Azure.ResourceManager.Billing.Models.BillingProvisioningState> provisioningState = null, string subscriptionId = null, System.Collections.Generic.IEnumerable<string> suspensionReasons = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingSubscriptionStatusDetails> suspensionReasonDetails = null, Nullable<DateTimeOffset> enrollmentAccountStartOn = null, Nullable<Azure.ResourceManager.Billing.Models.SubscriptionEnrollmentAccountStatus> subscriptionEnrollmentAccountStatus = null, string subscriptionAliasSubscriptionId = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
System.Nullable<BillingSubscriptionAutoRenewState>
autoRenew
Indicates whether auto renewal is turned on or off for a product. |
System.Nullable<System.Guid>
subscriptionAliasBeneficiaryTenantId
The provisioning tenant of the subscription. |
BillingBeneficiary
beneficiary
The beneficiary of the billing subscription. |
System.String
billingFrequency
The billing frequency in ISO8601 format of product in the subscription. Example: P1M, P3M, P1Y. |
Azure.Core.ResourceIdentifier
billingProfileId
The fully qualified ID that uniquely identifies a billing profile. |
System.Collections.Generic.IReadOnlyDictionary<System.String,System.String>
billingPolicies
Dictionary of billing policies associated with the subscription. |
System.String
billingProfileDisplayName
The name of the billing profile. |
System.String
billingProfileName
The ID that uniquely identifies a billing profile. |
System.String
consumptionCostCenter
The cost center applied to the subscription. This field is only available for consumption subscriptions of Microsoft Customer Agreement or Enterprise Agreement Type billing accounts. |
System.String
subscriptionAliasCustomerId
The fully qualified ID that uniquely identifies a customer. |
System.String
customerDisplayName
The name of the customer. |
System.String
customerName
The ID that uniquely identifies a customer. |
System.String
displayName
The name of the billing subscription. |
System.String
enrollmentAccountId
The enrollment Account ID associated with the subscription. This field is available only for the Enterprise Agreement Type billing accounts. |
System.String
enrollmentAccountDisplayName
The enrollment Account name associated with the subscription. This field is available only for the Enterprise Agreement Type billing accounts. |
Azure.Core.ResourceIdentifier
invoiceSectionId
The fully qualified ID that uniquely identifies an invoice section. |
System.String
invoiceSectionDisplayName
The name of the invoice section. |
System.String
invoiceSectionName
The ID that uniquely identifies an invoice section. |
BillingAmount
lastMonthCharges
The last month's charges. This field is only available for usage based subscriptions of Microsoft Customer Agreement billing accounts. |
BillingAmount
monthToDateCharges
The current month to date charges. This field is only available for usage based subscriptions of Microsoft Customer Agreement billing accounts. |
System.String
nextBillingCycleBillingFrequency
Next billing cycle details of the subscription. |
System.String
offerId
The offer ID for the subscription. This field is only available for the Microsoft Online Services Program billing accounts. |
System.String
productCategory
The category of the product for which the subscription is purchased. Possible values include: AzureSupport, Hardware, ReservationOrder, SaaS, SavingsPlanOrder, Software, UsageBased, Other. |
System.String
productType
Type of the product for which the subscription is purchased. |
System.String
productTypeId
Id of the product for which the subscription is purchased. |
System.Nullable<System.DateTimeOffset>
purchaseOn
Purchase date of the product in UTC time. |
System.Nullable<System.Int64>
quantity
The quantity of licenses or fulfillment units for the subscription. |
CreatedSubscriptionReseller
reseller
Reseller for this subscription. The fields is not available for Microsoft Partner Agreement billing accounts. |
SubscriptionRenewalTermDetails
renewalTermDetails
Details for the next renewal term of a subscription. |
System.String
skuId
The SKU ID of the product for which the subscription is purchased. This field is is only available for Microsoft Customer Agreement billing accounts. |
System.String
skuDescription
The SKU description of the product for which the subscription is purchased. This field is is only available for billing accounts with agreement type Microsoft Customer Agreement and Microsoft Partner Agreement. |
BillingSystemOverrides
systemOverrides
System imposed policies that regulate behavior of the subscription. |
System.Uri
resourceUri
Unique identifier of the linked resource. |
System.Nullable<System.TimeSpan>
termDuration
The duration in ISO8601 format for which you can use the subscription. Example: P1M, P3M, P1Y. |
System.Nullable<System.DateTimeOffset>
termStartOn
Start date of the term in UTC time. |
System.Nullable<System.DateTimeOffset>
termEndOn
End date of the term in UTC time. |
System.Nullable<System.Guid>
provisioningTenantId
The tenant in which the subscription is provisioned. |
System.Nullable<BillingSubscriptionStatus>
status
The status of the subscription. This field is not available for Enterprise Agreement billing accounts. |
System.Nullable<BillingSubscriptionOperationStatus>
operationStatus
The status of an operation on the subscription. When None, there is no ongoing operation. When LockedForUpdate, write operations will be blocked on the Billing Subscription. Other is the default value and you may need to refer to the latest API version for more details. |
System.Nullable<BillingProvisioningState>
provisioningState
The provisioning state of the resource during a long-running operation. |
System.String
subscriptionId
The ID of the subscription. |
System.Collections.Generic.IEnumerable<System.String>
suspensionReasons
The suspension reason for a subscription. This field is not available for Enterprise Agreement billing accounts. |
System.Collections.Generic.IEnumerable<BillingSubscriptionStatusDetails>
suspensionReasonDetails
The suspension details for a subscription. This field is not available for Enterprise Agreement billing accounts. |
System.Nullable<System.DateTimeOffset>
enrollmentAccountStartOn
The enrollment Account and the subscription association start date. This field is available only for the Enterprise Agreement Type. |
System.Nullable<SubscriptionEnrollmentAccountStatus>
subscriptionEnrollmentAccountStatus
The current enrollment account status of the subscription. This field is available only for the Enterprise Agreement Type. |
System.String
subscriptionAliasSubscriptionId
The ID of the billing subscription with the subscription alias. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
BillingSubscriptionAliasData
A new BillingSubscriptionAliasData instance for mocking. |
BillingSubscriptionData(ResourceIdentifier, String, ResourceType, SystemData, Nullable<BillingSubscriptionAutoRenewState>, String, String, ResourceIdentifier, IReadOnlyDictionary<String,String>, String, String, String, String, String, String, String, String, ResourceIdentifier, String, String, BillingAmount, BillingAmount, String, String, String, String, String, Nullable<DateTimeOffset>, Nullable<Int64>, CreatedSubscriptionReseller, SubscriptionRenewalTermDetails, String, String, Nullable<BillingSubscriptionStatus>, String, IEnumerable<String>, Nullable<TimeSpan>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<SubscriptionEnrollmentAccountStatus>, Nullable<DateTimeOffset>)
Initializes a new instance of BillingSubscriptionData.
Declaration
[System.ComponentModel.EditorBrowsable]
public static Azure.ResourceManager.Billing.BillingSubscriptionData BillingSubscriptionData (Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, Nullable<Azure.ResourceManager.Billing.Models.BillingSubscriptionAutoRenewState> autoRenew, string beneficiaryTenantId, string billingFrequency, Azure.Core.ResourceIdentifier billingProfileId, System.Collections.Generic.IReadOnlyDictionary<string,string> billingPolicies, string billingProfileDisplayName, string billingProfileName, string consumptionCostCenter, string customerId, string customerDisplayName, string displayName, string enrollmentAccountId, string enrollmentAccountDisplayName, Azure.Core.ResourceIdentifier invoiceSectionId, string invoiceSectionDisplayName, string invoiceSectionName, Azure.ResourceManager.Billing.Models.BillingAmount lastMonthCharges, Azure.ResourceManager.Billing.Models.BillingAmount monthToDateCharges, string nextBillingCycleBillingFrequency, string offerId, string productCategory, string productType, string productTypeId, Nullable<DateTimeOffset> purchaseOn, Nullable<long> quantity, Azure.ResourceManager.Billing.Models.CreatedSubscriptionReseller reseller, Azure.ResourceManager.Billing.Models.SubscriptionRenewalTermDetails renewalTermDetails, string skuDescription, string skuId, Nullable<Azure.ResourceManager.Billing.Models.BillingSubscriptionStatus> status, string subscriptionId, System.Collections.Generic.IEnumerable<string> suspensionReasons, Nullable<TimeSpan> termDuration, Nullable<DateTimeOffset> termStartOn, Nullable<DateTimeOffset> termEndOn, Nullable<Azure.ResourceManager.Billing.Models.SubscriptionEnrollmentAccountStatus> subscriptionEnrollmentAccountStatus, Nullable<DateTimeOffset> enrollmentAccountStartOn);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
System.Nullable<BillingSubscriptionAutoRenewState>
autoRenew
Indicates whether auto renewal is turned on or off for a subscription. |
System.String
beneficiaryTenantId
The provisioning tenant of the subscription. |
System.String
billingFrequency
The billing frequency of the subscription in the ISO8601 format. Example: P1M, P3M, P1Y. |
Azure.Core.ResourceIdentifier
billingProfileId
The ID of the billing profile to which the subscription is billed. This field is only applicable for Microsoft Customer Agreement billing accounts. |
System.Collections.Generic.IReadOnlyDictionary<System.String,System.String>
billingPolicies
Dictionary of billing policies associated with the subscription. |
System.String
billingProfileDisplayName
The display name of the billing profile to which the subscription is billed. This field is only applicable for Microsoft Customer Agreement billing accounts. |
System.String
billingProfileName
The name of the billing profile to which the subscription is billed. This field is only applicable for Microsoft Customer Agreement billing accounts. |
System.String
consumptionCostCenter
The cost center applied to the subscription. This field is only available for consumption subscriptions of Microsoft Customer Agreement Type billing accounts. |
System.String
customerId
The ID of the customer for whom the subscription was created. The field is applicable only for Microsoft Partner Agreement billing accounts. |
System.String
customerDisplayName
The name of the customer for whom the subscription was created. The field is applicable only for Microsoft Partner Agreement billing accounts. |
System.String
displayName
The name of the subscription. |
System.String
enrollmentAccountId
The enrollment Account ID associated with the subscription. This field is available only for the Enterprise Agreement billing accounts. |
System.String
enrollmentAccountDisplayName
The enrollment Account name associated with the subscription. This field is available only for the Enterprise Agreement billing accounts. |
Azure.Core.ResourceIdentifier
invoiceSectionId
The ID of the invoice section to which the subscription is billed. The field is applicable only for Microsoft Partner Agreement billing accounts. |
System.String
invoiceSectionDisplayName
The display name of the invoice section to which the subscription is billed. The field is applicable only for Microsoft Partner Agreement billing accounts. |
System.String
invoiceSectionName
The name of the invoice section to which the subscription is billed. The field is applicable only for Microsoft Partner Agreement billing accounts. |
BillingAmount
lastMonthCharges
The last month's charges. This field is only available for usage based subscriptions of Microsoft Customer Agreement billing accounts. |
BillingAmount
monthToDateCharges
The current month to date charges. This field is only available for usage based subscriptions of Microsoft Customer Agreement billing accounts. |
System.String
nextBillingCycleBillingFrequency
Next billing cycle details of the subscription. |
System.String
offerId
The offer ID for the subscription. This field is only available for the Microsoft Online Services Program billing accounts. |
System.String
productCategory
The category of the product for which the subscription is purchased. Possible values include: AzureSupport, Hardware, ReservationOrder, SaaS, SavingsPlanOrder, Software, UsageBased, Other. |
System.String
productType
The type of the product for which the subscription is purchased. |
System.String
productTypeId
The ID of the product for which the subscription is purchased. |
System.Nullable<System.DateTimeOffset>
purchaseOn
The purchase date of the subscription in UTC time. |
System.Nullable<System.Int64>
quantity
The number of licenses purchased for the subscription. |
CreatedSubscriptionReseller
reseller
The reseller for which the subscription is created. The field is available for Microsoft Partner Agreement billing accounts. |
SubscriptionRenewalTermDetails
renewalTermDetails
The term details of the subscription at the next renewal. |
System.String
skuDescription
The SKU description of the product for which the subscription is purchased. This field is only available for Microsoft Customer Agreement billing accounts. |
System.String
skuId
The SKU ID of the product for which the subscription is purchased. This field is only available for Microsoft Customer Agreement billing accounts. |
System.Nullable<BillingSubscriptionStatus>
status
The status of the subscription. This field is not available for Enterprise Agreement billing accounts. |
System.String
subscriptionId
The ID of the usage-based subscription. This field is only available for usage-based subscriptions of Microsoft Customer Agreement billing accounts. |
System.Collections.Generic.IEnumerable<System.String>
suspensionReasons
The suspension reason for the subscription. This field is not available for Enterprise Agreement billing accounts. |
System.Nullable<System.TimeSpan>
termDuration
The duration for which you can use the subscription. Example P1Y and P1M. |
System.Nullable<System.DateTimeOffset>
termStartOn
The start date of the term in UTC time. |
System.Nullable<System.DateTimeOffset>
termEndOn
The end date of the term in UTC time. |
System.Nullable<SubscriptionEnrollmentAccountStatus>
subscriptionEnrollmentAccountStatus
The current enrollment account status of the subscription. This field is available only for the Enterprise Agreement billing accounts. |
System.Nullable<System.DateTimeOffset>
enrollmentAccountStartOn
The enrollment Account and the subscription association start date. This field is available only for the Enterprise Agreement billing accounts. |
Returns
BillingSubscriptionData
A new BillingSubscriptionData instance for mocking. |
BillingSubscriptionData(ResourceIdentifier, String, ResourceType, SystemData, Nullable<BillingSubscriptionAutoRenewState>, Nullable<Guid>, BillingBeneficiary, String, ResourceIdentifier, IReadOnlyDictionary<String,String>, String, String, String, String, String, String, String, String, String, ResourceIdentifier, String, String, BillingAmount, BillingAmount, String, String, String, String, String, Nullable<DateTimeOffset>, Nullable<Int64>, CreatedSubscriptionReseller, SubscriptionRenewalTermDetails, String, String, BillingSystemOverrides, Uri, Nullable<TimeSpan>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<Guid>, Nullable<BillingSubscriptionStatus>, Nullable<BillingSubscriptionOperationStatus>, Nullable<BillingProvisioningState>, String, IEnumerable<String>, IEnumerable<BillingSubscriptionStatusDetails>, Nullable<DateTimeOffset>, Nullable<SubscriptionEnrollmentAccountStatus>, IDictionary<String,String>)
Initializes a new instance of BillingSubscriptionData.
Declaration
public static Azure.ResourceManager.Billing.BillingSubscriptionData BillingSubscriptionData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Nullable<Azure.ResourceManager.Billing.Models.BillingSubscriptionAutoRenewState> autoRenew = null, Nullable<Guid> subscriptionBeneficiaryTenantId = null, Azure.ResourceManager.Billing.Models.BillingBeneficiary beneficiary = null, string billingFrequency = null, Azure.Core.ResourceIdentifier billingProfileId = null, System.Collections.Generic.IReadOnlyDictionary<string,string> billingPolicies = null, string billingProfileDisplayName = null, string billingProfileName = null, string consumptionCostCenter = null, string subscriptionCustomerId = null, string customerDisplayName = null, string customerName = null, string displayName = null, string enrollmentAccountId = null, string enrollmentAccountDisplayName = null, Azure.Core.ResourceIdentifier invoiceSectionId = null, string invoiceSectionDisplayName = null, string invoiceSectionName = null, Azure.ResourceManager.Billing.Models.BillingAmount lastMonthCharges = null, Azure.ResourceManager.Billing.Models.BillingAmount monthToDateCharges = null, string nextBillingCycleBillingFrequency = null, string offerId = null, string productCategory = null, string productType = null, string productTypeId = null, Nullable<DateTimeOffset> purchaseOn = null, Nullable<long> quantity = null, Azure.ResourceManager.Billing.Models.CreatedSubscriptionReseller reseller = null, Azure.ResourceManager.Billing.Models.SubscriptionRenewalTermDetails renewalTermDetails = null, string skuId = null, string skuDescription = null, Azure.ResourceManager.Billing.Models.BillingSystemOverrides systemOverrides = null, Uri resourceUri = null, Nullable<TimeSpan> termDuration = null, Nullable<DateTimeOffset> termStartOn = null, Nullable<DateTimeOffset> termEndOn = null, Nullable<Guid> provisioningTenantId = null, Nullable<Azure.ResourceManager.Billing.Models.BillingSubscriptionStatus> status = null, Nullable<Azure.ResourceManager.Billing.Models.BillingSubscriptionOperationStatus> operationStatus = null, Nullable<Azure.ResourceManager.Billing.Models.BillingProvisioningState> provisioningState = null, string subscriptionId = null, System.Collections.Generic.IEnumerable<string> suspensionReasons = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingSubscriptionStatusDetails> suspensionReasonDetails = null, Nullable<DateTimeOffset> enrollmentAccountStartOn = null, Nullable<Azure.ResourceManager.Billing.Models.SubscriptionEnrollmentAccountStatus> subscriptionEnrollmentAccountStatus = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
System.Nullable<BillingSubscriptionAutoRenewState>
autoRenew
Indicates whether auto renewal is turned on or off for a product. |
System.Nullable<System.Guid>
subscriptionBeneficiaryTenantId
The provisioning tenant of the subscription. |
BillingBeneficiary
beneficiary
The beneficiary of the billing subscription. |
System.String
billingFrequency
The billing frequency in ISO8601 format of product in the subscription. Example: P1M, P3M, P1Y. |
Azure.Core.ResourceIdentifier
billingProfileId
The fully qualified ID that uniquely identifies a billing profile. |
System.Collections.Generic.IReadOnlyDictionary<System.String,System.String>
billingPolicies
Dictionary of billing policies associated with the subscription. |
System.String
billingProfileDisplayName
The name of the billing profile. |
System.String
billingProfileName
The ID that uniquely identifies a billing profile. |
System.String
consumptionCostCenter
The cost center applied to the subscription. This field is only available for consumption subscriptions of Microsoft Customer Agreement or Enterprise Agreement Type billing accounts. |
System.String
subscriptionCustomerId
The fully qualified ID that uniquely identifies a customer. |
System.String
customerDisplayName
The name of the customer. |
System.String
customerName
The ID that uniquely identifies a customer. |
System.String
displayName
The name of the billing subscription. |
System.String
enrollmentAccountId
The enrollment Account ID associated with the subscription. This field is available only for the Enterprise Agreement Type billing accounts. |
System.String
enrollmentAccountDisplayName
The enrollment Account name associated with the subscription. This field is available only for the Enterprise Agreement Type billing accounts. |
Azure.Core.ResourceIdentifier
invoiceSectionId
The fully qualified ID that uniquely identifies an invoice section. |
System.String
invoiceSectionDisplayName
The name of the invoice section. |
System.String
invoiceSectionName
The ID that uniquely identifies an invoice section. |
BillingAmount
lastMonthCharges
The last month's charges. This field is only available for usage based subscriptions of Microsoft Customer Agreement billing accounts. |
BillingAmount
monthToDateCharges
The current month to date charges. This field is only available for usage based subscriptions of Microsoft Customer Agreement billing accounts. |
System.String
nextBillingCycleBillingFrequency
Next billing cycle details of the subscription. |
System.String
offerId
The offer ID for the subscription. This field is only available for the Microsoft Online Services Program billing accounts. |
System.String
productCategory
The category of the product for which the subscription is purchased. Possible values include: AzureSupport, Hardware, ReservationOrder, SaaS, SavingsPlanOrder, Software, UsageBased, Other. |
System.String
productType
Type of the product for which the subscription is purchased. |
System.String
productTypeId
Id of the product for which the subscription is purchased. |
System.Nullable<System.DateTimeOffset>
purchaseOn
Purchase date of the product in UTC time. |
System.Nullable<System.Int64>
quantity
The quantity of licenses or fulfillment units for the subscription. |
CreatedSubscriptionReseller
reseller
Reseller for this subscription. The fields is not available for Microsoft Partner Agreement billing accounts. |
SubscriptionRenewalTermDetails
renewalTermDetails
Details for the next renewal term of a subscription. |
System.String
skuId
The SKU ID of the product for which the subscription is purchased. This field is is only available for Microsoft Customer Agreement billing accounts. |
System.String
skuDescription
The SKU description of the product for which the subscription is purchased. This field is is only available for billing accounts with agreement type Microsoft Customer Agreement and Microsoft Partner Agreement. |
BillingSystemOverrides
systemOverrides
System imposed policies that regulate behavior of the subscription. |
System.Uri
resourceUri
Unique identifier of the linked resource. |
System.Nullable<System.TimeSpan>
termDuration
The duration in ISO8601 format for which you can use the subscription. Example: P1M, P3M, P1Y. |
System.Nullable<System.DateTimeOffset>
termStartOn
Start date of the term in UTC time. |
System.Nullable<System.DateTimeOffset>
termEndOn
End date of the term in UTC time. |
System.Nullable<System.Guid>
provisioningTenantId
The tenant in which the subscription is provisioned. |
System.Nullable<BillingSubscriptionStatus>
status
The status of the subscription. This field is not available for Enterprise Agreement billing accounts. |
System.Nullable<BillingSubscriptionOperationStatus>
operationStatus
The status of an operation on the subscription. When None, there is no ongoing operation. When LockedForUpdate, write operations will be blocked on the Billing Subscription. Other is the default value and you may need to refer to the latest API version for more details. |
System.Nullable<BillingProvisioningState>
provisioningState
The provisioning state of the resource during a long-running operation. |
System.String
subscriptionId
The ID of the subscription. |
System.Collections.Generic.IEnumerable<System.String>
suspensionReasons
The suspension reason for a subscription. This field is not available for Enterprise Agreement billing accounts. |
System.Collections.Generic.IEnumerable<BillingSubscriptionStatusDetails>
suspensionReasonDetails
The suspension details for a subscription. This field is not available for Enterprise Agreement billing accounts. |
System.Nullable<System.DateTimeOffset>
enrollmentAccountStartOn
The enrollment Account and the subscription association start date. This field is available only for the Enterprise Agreement Type. |
System.Nullable<SubscriptionEnrollmentAccountStatus>
subscriptionEnrollmentAccountStatus
The current enrollment account status of the subscription. This field is available only for the Enterprise Agreement Type. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
BillingSubscriptionData
A new BillingSubscriptionData instance for mocking. |
BillingSubscriptionPatch(ResourceIdentifier, String, ResourceType, SystemData, Nullable<BillingSubscriptionAutoRenewState>, Nullable<Guid>, BillingBeneficiary, String, ResourceIdentifier, IReadOnlyDictionary<String,String>, String, String, String, String, String, String, String, String, String, ResourceIdentifier, String, String, BillingAmount, BillingAmount, String, String, String, String, String, Nullable<DateTimeOffset>, Nullable<Int64>, CreatedSubscriptionReseller, SubscriptionRenewalTermDetails, String, String, BillingSystemOverrides, Uri, Nullable<TimeSpan>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<Guid>, Nullable<BillingSubscriptionStatus>, Nullable<BillingSubscriptionOperationStatus>, Nullable<BillingProvisioningState>, String, IEnumerable<String>, IEnumerable<BillingSubscriptionStatusDetails>, Nullable<DateTimeOffset>, Nullable<SubscriptionEnrollmentAccountStatus>, IDictionary<String,String>)
Initializes a new instance of BillingSubscriptionPatch.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingSubscriptionPatch BillingSubscriptionPatch (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Nullable<Azure.ResourceManager.Billing.Models.BillingSubscriptionAutoRenewState> autoRenew = null, Nullable<Guid> beneficiaryTenantId = null, Azure.ResourceManager.Billing.Models.BillingBeneficiary beneficiary = null, string billingFrequency = null, Azure.Core.ResourceIdentifier billingProfileId = null, System.Collections.Generic.IReadOnlyDictionary<string,string> billingPolicies = null, string billingProfileDisplayName = null, string billingProfileName = null, string consumptionCostCenter = null, string customerId = null, string customerDisplayName = null, string customerName = null, string displayName = null, string enrollmentAccountId = null, string enrollmentAccountDisplayName = null, Azure.Core.ResourceIdentifier invoiceSectionId = null, string invoiceSectionDisplayName = null, string invoiceSectionName = null, Azure.ResourceManager.Billing.Models.BillingAmount lastMonthCharges = null, Azure.ResourceManager.Billing.Models.BillingAmount monthToDateCharges = null, string nextBillingCycleBillingFrequency = null, string offerId = null, string productCategory = null, string productType = null, string productTypeId = null, Nullable<DateTimeOffset> purchaseOn = null, Nullable<long> quantity = null, Azure.ResourceManager.Billing.Models.CreatedSubscriptionReseller reseller = null, Azure.ResourceManager.Billing.Models.SubscriptionRenewalTermDetails renewalTermDetails = null, string skuId = null, string skuDescription = null, Azure.ResourceManager.Billing.Models.BillingSystemOverrides systemOverrides = null, Uri resourceUri = null, Nullable<TimeSpan> termDuration = null, Nullable<DateTimeOffset> termStartOn = null, Nullable<DateTimeOffset> termEndOn = null, Nullable<Guid> provisioningTenantId = null, Nullable<Azure.ResourceManager.Billing.Models.BillingSubscriptionStatus> status = null, Nullable<Azure.ResourceManager.Billing.Models.BillingSubscriptionOperationStatus> operationStatus = null, Nullable<Azure.ResourceManager.Billing.Models.BillingProvisioningState> provisioningState = null, string subscriptionId = null, System.Collections.Generic.IEnumerable<string> suspensionReasons = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingSubscriptionStatusDetails> suspensionReasonDetails = null, Nullable<DateTimeOffset> enrollmentAccountStartOn = null, Nullable<Azure.ResourceManager.Billing.Models.SubscriptionEnrollmentAccountStatus> subscriptionEnrollmentAccountStatus = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
System.Nullable<BillingSubscriptionAutoRenewState>
autoRenew
Indicates whether auto renewal is turned on or off for a product. |
System.Nullable<System.Guid>
beneficiaryTenantId
The provisioning tenant of the subscription. |
BillingBeneficiary
beneficiary
The beneficiary of the billing subscription. |
System.String
billingFrequency
The billing frequency in ISO8601 format of product in the subscription. Example: P1M, P3M, P1Y. |
Azure.Core.ResourceIdentifier
billingProfileId
The fully qualified ID that uniquely identifies a billing profile. |
System.Collections.Generic.IReadOnlyDictionary<System.String,System.String>
billingPolicies
Dictionary of billing policies associated with the subscription. |
System.String
billingProfileDisplayName
The name of the billing profile. |
System.String
billingProfileName
The ID that uniquely identifies a billing profile. |
System.String
consumptionCostCenter
The cost center applied to the subscription. This field is only available for consumption subscriptions of Microsoft Customer Agreement or Enterprise Agreement Type billing accounts. |
System.String
customerId
The fully qualified ID that uniquely identifies a customer. |
System.String
customerDisplayName
The name of the customer. |
System.String
customerName
The ID that uniquely identifies a customer. |
System.String
displayName
The name of the billing subscription. |
System.String
enrollmentAccountId
The enrollment Account ID associated with the subscription. This field is available only for the Enterprise Agreement Type billing accounts. |
System.String
enrollmentAccountDisplayName
The enrollment Account name associated with the subscription. This field is available only for the Enterprise Agreement Type billing accounts. |
Azure.Core.ResourceIdentifier
invoiceSectionId
The fully qualified ID that uniquely identifies an invoice section. |
System.String
invoiceSectionDisplayName
The name of the invoice section. |
System.String
invoiceSectionName
The ID that uniquely identifies an invoice section. |
BillingAmount
lastMonthCharges
The last month's charges. This field is only available for usage based subscriptions of Microsoft Customer Agreement billing accounts. |
BillingAmount
monthToDateCharges
The current month to date charges. This field is only available for usage based subscriptions of Microsoft Customer Agreement billing accounts. |
System.String
nextBillingCycleBillingFrequency
Next billing cycle details of the subscription. |
System.String
offerId
The offer ID for the subscription. This field is only available for the Microsoft Online Services Program billing accounts. |
System.String
productCategory
The category of the product for which the subscription is purchased. Possible values include: AzureSupport, Hardware, ReservationOrder, SaaS, SavingsPlanOrder, Software, UsageBased, Other. |
System.String
productType
Type of the product for which the subscription is purchased. |
System.String
productTypeId
Id of the product for which the subscription is purchased. |
System.Nullable<System.DateTimeOffset>
purchaseOn
Purchase date of the product in UTC time. |
System.Nullable<System.Int64>
quantity
The quantity of licenses or fulfillment units for the subscription. |
CreatedSubscriptionReseller
reseller
Reseller for this subscription. The fields is not available for Microsoft Partner Agreement billing accounts. |
SubscriptionRenewalTermDetails
renewalTermDetails
Details for the next renewal term of a subscription. |
System.String
skuId
The SKU ID of the product for which the subscription is purchased. This field is is only available for Microsoft Customer Agreement billing accounts. |
System.String
skuDescription
The SKU description of the product for which the subscription is purchased. This field is is only available for billing accounts with agreement type Microsoft Customer Agreement and Microsoft Partner Agreement. |
BillingSystemOverrides
systemOverrides
System imposed policies that regulate behavior of the subscription. |
System.Uri
resourceUri
Unique identifier of the linked resource. |
System.Nullable<System.TimeSpan>
termDuration
The duration in ISO8601 format for which you can use the subscription. Example: P1M, P3M, P1Y. |
System.Nullable<System.DateTimeOffset>
termStartOn
Start date of the term in UTC time. |
System.Nullable<System.DateTimeOffset>
termEndOn
End date of the term in UTC time. |
System.Nullable<System.Guid>
provisioningTenantId
The tenant in which the subscription is provisioned. |
System.Nullable<BillingSubscriptionStatus>
status
The status of the subscription. This field is not available for Enterprise Agreement billing accounts. |
System.Nullable<BillingSubscriptionOperationStatus>
operationStatus
The status of an operation on the subscription. When None, there is no ongoing operation. When LockedForUpdate, write operations will be blocked on the Billing Subscription. Other is the default value and you may need to refer to the latest API version for more details. |
System.Nullable<BillingProvisioningState>
provisioningState
The provisioning state of the resource during a long-running operation. |
System.String
subscriptionId
The ID of the subscription. |
System.Collections.Generic.IEnumerable<System.String>
suspensionReasons
The suspension reason for a subscription. This field is not available for Enterprise Agreement billing accounts. |
System.Collections.Generic.IEnumerable<BillingSubscriptionStatusDetails>
suspensionReasonDetails
The suspension details for a subscription. This field is not available for Enterprise Agreement billing accounts. |
System.Nullable<System.DateTimeOffset>
enrollmentAccountStartOn
The enrollment Account and the subscription association start date. This field is available only for the Enterprise Agreement Type. |
System.Nullable<SubscriptionEnrollmentAccountStatus>
subscriptionEnrollmentAccountStatus
The current enrollment account status of the subscription. This field is available only for the Enterprise Agreement Type. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
BillingSubscriptionPatch
A new BillingSubscriptionPatch instance for mocking. |
BillingSubscriptionStatusDetails(Nullable<DateTimeOffset>, Nullable<SubscriptionStatusReason>)
Initializes a new instance of BillingSubscriptionStatusDetails.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingSubscriptionStatusDetails BillingSubscriptionStatusDetails (Nullable<DateTimeOffset> effectiveOn = null, Nullable<Azure.ResourceManager.Billing.Models.SubscriptionStatusReason> reason = null);
Parameters
System.Nullable<System.DateTimeOffset>
effectiveOn
The suspension effective date for a subscription. This field is not available for Enterprise Agreement billing accounts. |
System.Nullable<SubscriptionStatusReason>
reason
The suspension reason for a subscription. This field is not available for Enterprise Agreement billing accounts. |
Returns
BillingSubscriptionStatusDetails
A new BillingSubscriptionStatusDetails instance for mocking. |
BillingSubscriptionValidateMoveEligibilityError(Nullable<SubscriptionTransferValidationErrorCode>, String, String)
Initializes a new instance of BillingSubscriptionValidateMoveEligibilityError.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingSubscriptionValidateMoveEligibilityError BillingSubscriptionValidateMoveEligibilityError (Nullable<Azure.ResourceManager.Billing.Models.SubscriptionTransferValidationErrorCode> code = null, string message = null, string details = null);
Parameters
System.Nullable<SubscriptionTransferValidationErrorCode>
code
Error code of the transfer validation response. |
System.String
message
The error message. |
System.String
details
Detailed error message explaining the error. |
Returns
BillingSubscriptionValidateMoveEligibilityError
A new BillingSubscriptionValidateMoveEligibilityError instance for mocking. |
BillingSubscriptionValidateMoveEligibilityResult(Nullable<Boolean>, BillingSubscriptionValidateMoveEligibilityError)
Initializes a new instance of BillingSubscriptionValidateMoveEligibilityResult.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingSubscriptionValidateMoveEligibilityResult BillingSubscriptionValidateMoveEligibilityResult (Nullable<bool> isMoveEligible = null, Azure.ResourceManager.Billing.Models.BillingSubscriptionValidateMoveEligibilityError errorDetails = null);
Parameters
System.Nullable<System.Boolean>
isMoveEligible
Specifies whether the subscription is eligible to be transferred. |
BillingSubscriptionValidateMoveEligibilityError
errorDetails
Error details of the transfer eligibility validation. |
Returns
BillingSubscriptionValidateMoveEligibilityResult
A new BillingSubscriptionValidateMoveEligibilityResult instance for mocking. |
BillingSystemOverrides(Nullable<PolicyOverrideCancellation>, Nullable<DateTimeOffset>)
Initializes a new instance of BillingSystemOverrides.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingSystemOverrides BillingSystemOverrides (Nullable<Azure.ResourceManager.Billing.Models.PolicyOverrideCancellation> cancellation = null, Nullable<DateTimeOffset> cancellationAllowedEndOn = null);
Parameters
System.Nullable<PolicyOverrideCancellation>
cancellation
The policy override for the subscription indicates whether the self-serve cancellation or seat reduction is allowed. |
System.Nullable<System.DateTimeOffset>
cancellationAllowedEndOn
The end date in UTC time by when the self-serve cancellation ends. |
Returns
BillingSystemOverrides
A new BillingSystemOverrides instance for mocking. |
BillingTransactionData(ResourceIdentifier, String, ResourceType, SystemData, BillingTransactionProperties, IDictionary<String,String>)
Initializes a new instance of BillingTransactionData.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingTransactionData BillingTransactionData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.Billing.Models.BillingTransactionProperties properties = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
BillingTransactionProperties
properties
A transaction. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
BillingTransactionData
A new BillingTransactionData instance for mocking. |
BillingTransactionProperties(BillingAmount, String, String, BinaryData, ResourceIdentifier, BillingAmount, String, ResourceIdentifier, Nullable<BillingTransactionCreditType>, Nullable<DateTimeOffset>, Nullable<Single>, BillingAmount, Nullable<Single>, String, ResourceIdentifier, String, ResourceIdentifier, Nullable<Boolean>, Nullable<BillingTransactionKind>, BillingAmount, String, String, String, String, String, String, Nullable<Int32>, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, BillingAmount, BillingAmount, BillingAmount, String, Nullable<Single>, String, String, Nullable<SpecialTaxationType>, RefundTransactionDetails)
Initializes a new instance of BillingTransactionProperties.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingTransactionProperties BillingTransactionProperties (Azure.ResourceManager.Billing.Models.BillingAmount azureCreditApplied = null, string azurePlan = null, string billingCurrency = null, BinaryData billingProfileDisplayName = null, Azure.Core.ResourceIdentifier billingProfileId = null, Azure.ResourceManager.Billing.Models.BillingAmount consumptionCommitmentDecremented = null, string customerDisplayName = null, Azure.Core.ResourceIdentifier customerId = null, Nullable<Azure.ResourceManager.Billing.Models.BillingTransactionCreditType> creditType = null, Nullable<DateTimeOffset> on = null, Nullable<float> discount = null, Azure.ResourceManager.Billing.Models.BillingAmount effectivePrice = null, Nullable<float> exchangeRate = null, string invoice = null, Azure.Core.ResourceIdentifier invoiceId = null, string invoiceSectionDisplayName = null, Azure.Core.ResourceIdentifier invoiceSectionId = null, Nullable<bool> isThirdParty = null, Nullable<Azure.ResourceManager.Billing.Models.BillingTransactionKind> kind = null, Azure.ResourceManager.Billing.Models.BillingAmount marketPrice = null, string partNumber = null, string pricingCurrency = null, string productDescription = null, string productFamily = null, string productTypeId = null, string productType = null, Nullable<int> quantity = null, string reasonCode = null, Nullable<DateTimeOffset> servicePeriodStartOn = null, Nullable<DateTimeOffset> servicePeriodEndOn = null, Azure.ResourceManager.Billing.Models.BillingAmount subTotal = null, Azure.ResourceManager.Billing.Models.BillingAmount tax = null, Azure.ResourceManager.Billing.Models.BillingAmount transactionAmount = null, string transactionType = null, Nullable<float> units = null, string unitOfMeasure = null, string unitType = null, Nullable<Azure.ResourceManager.Billing.Models.SpecialTaxationType> specialTaxationType = null, Azure.ResourceManager.Billing.Models.RefundTransactionDetails refundTransactionDetails = null);
Parameters
BillingAmount
azureCreditApplied
The amount of any Azure credits automatically applied to this transaction. |
System.String
azurePlan
Details of the Azure plan. |
System.String
billingCurrency
The ISO 4217 code for the currency in which this transaction is billed. |
System.BinaryData
billingProfileDisplayName
The name of the billing profile. |
Azure.Core.ResourceIdentifier
billingProfileId
The fully qualified ID that uniquely identifies a billing profile. |
BillingAmount
consumptionCommitmentDecremented
The amount of Microsoft Azure Consumption Commitment(MACC) decrement through the transaction. |
System.String
customerDisplayName
The name of the customer. |
Azure.Core.ResourceIdentifier
customerId
The fully qualified ID that uniquely identifies a customer. |
System.Nullable<BillingTransactionCreditType>
creditType
The credit type of the transaction. Applies only to credited transactions. |
System.Nullable<System.DateTimeOffset>
on
The date of transaction. |
System.Nullable<System.Single>
discount
The percentage discount, if any, applied to this transaction. |
BillingAmount
effectivePrice
The price of the product after applying any discounts. |
System.Nullable<System.Single>
exchangeRate
The exchange rate used to convert charged amount to billing currency, if applicable. |
System.String
invoice
Invoice name on which the transaction was billed or 'Pending' if the transaction is not billed. |
Azure.Core.ResourceIdentifier
invoiceId
The fully qualified ID of the invoice on which the transaction was billed. This field is only applicable for transactions which are billed. |
System.String
invoiceSectionDisplayName
The name of the invoice section. |
Azure.Core.ResourceIdentifier
invoiceSectionId
The fully qualified ID that uniquely identifies an invoice section. |
System.Nullable<System.Boolean>
isThirdParty
Whether or not the transaction is third party. |
System.Nullable<BillingTransactionKind>
kind
Type of the transaction, billed or unbilled. |
BillingAmount
marketPrice
The retail price of the product. |
System.String
partNumber
The part number of the product for which the transaction took place. The field is only applicable for Enterprise Agreement invoices. |
System.String
pricingCurrency
The ISO 4217 code for the currency in which the product is priced. |
System.String
productDescription
The description of the product for which the transaction took place. |
System.String
productFamily
The family of the product for which the transaction took place. |
System.String
productTypeId
The ID of the product type for which the transaction took place. |
System.String
productType
The type of the product for which the transaction took place. |
System.Nullable<System.Int32>
quantity
The quantity purchased in the transaction. |
System.String
reasonCode
There reason code for the transaction. |
System.Nullable<System.DateTimeOffset>
servicePeriodStartOn
The date of the purchase of the product, or the start date of the month in which usage started. |
System.Nullable<System.DateTimeOffset>
servicePeriodEndOn
The end date of the product term, or the end date of the month in which usage ended. |
BillingAmount
subTotal
The pre-tax charged amount for the transaction. |
BillingAmount
tax
The tax amount applied to the transaction. |
BillingAmount
transactionAmount
The charge associated with the transaction. |
System.String
transactionType
The type of transaction. |
System.Nullable<System.Single>
units
The number of units used for a given product. |
System.String
unitOfMeasure
The unit of measure used to bill for the product. For example, compute services are billed per hour. |
System.String
unitType
The description for the unit of measure for a given product. |
System.Nullable<SpecialTaxationType>
specialTaxationType
Identifies the type of tax calculation used for the invoice. The field is applicable only to invoices with special tax calculation logic. |
RefundTransactionDetails
refundTransactionDetails
The refund details of a transaction. |
Returns
BillingTransactionProperties
A new BillingTransactionProperties instance for mocking. |
BillingTransactionSummary(Nullable<Single>, String, Nullable<Single>, Nullable<Single>, Nullable<Single>, Nullable<Single>)
Initializes a new instance of BillingTransactionSummary.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingTransactionSummary BillingTransactionSummary (Nullable<float> azureCreditApplied = null, string billingCurrency = null, Nullable<float> consumptionCommitmentDecremented = null, Nullable<float> subTotal = null, Nullable<float> tax = null, Nullable<float> total = null);
Parameters
System.Nullable<System.Single>
azureCreditApplied
The total amount of any Azure credits applied. |
System.String
billingCurrency
The ISO 4217 code for the currency in which the transactions are billed. |
System.Nullable<System.Single>
consumptionCommitmentDecremented
The total Microsoft Azure Consumption Commitment (MACC) decrement through the invoice. |
System.Nullable<System.Single>
subTotal
The total pre-tax charged amount. |
System.Nullable<System.Single>
tax
The total tax amount applied. |
System.Nullable<System.Single>
total
The total charges. |
Returns
BillingTransactionSummary
A new BillingTransactionSummary instance for mocking. |
BillingTransferDetailData(ResourceIdentifier, String, ResourceType, SystemData, Nullable<DateTimeOffset>, Nullable<PartnerTransferStatus>, String, String, String, IEnumerable<DetailedTransferStatus>, IDictionary<String,String>)
Initializes a new instance of BillingTransferDetailData.
Declaration
public static Azure.ResourceManager.Billing.BillingTransferDetailData BillingTransferDetailData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Nullable<DateTimeOffset> expireOn = null, Nullable<Azure.ResourceManager.Billing.Models.PartnerTransferStatus> transferStatus = null, string recipientEmailId = null, string initiatorEmailId = null, string canceledBy = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.DetailedTransferStatus> detailedTransferStatus = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
System.Nullable<System.DateTimeOffset>
expireOn
The time at which the transfer request expires. |
System.Nullable<PartnerTransferStatus>
transferStatus
Overall transfer status. |
System.String
recipientEmailId
The email ID of the user to whom the transfer request was sent. |
System.String
initiatorEmailId
The email ID of the user who sent the transfer request. |
System.String
canceledBy
The email ID of the user who canceled the transfer request. |
System.Collections.Generic.IEnumerable<DetailedTransferStatus>
detailedTransferStatus
Detailed transfer status. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
BillingTransferDetailData
A new BillingTransferDetailData instance for mocking. |
BillingTransferError(String, String)
Initializes a new instance of BillingTransferError.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingTransferError BillingTransferError (string code = null, string message = null);
Parameters
System.String
code
Error code. |
System.String
message
Error message. |
Returns
BillingTransferError
A new BillingTransferError instance for mocking. |
BillingTransferValidationResult(String, String, IEnumerable<BillingTransferValidationResultProperties>)
Initializes a new instance of BillingTransferValidationResult.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingTransferValidationResult BillingTransferValidationResult (string status = null, string productId = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingTransferValidationResultProperties> results = null);
Parameters
System.String
status
The status of validation. |
System.String
productId
The product id for which this result applies. |
System.Collections.Generic.IEnumerable<BillingTransferValidationResultProperties>
results
The array of validation results. |
Returns
BillingTransferValidationResult
A new BillingTransferValidationResult instance for mocking. |
BillingTransferValidationResultProperties(String, String, String)
Initializes a new instance of BillingTransferValidationResultProperties.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingTransferValidationResultProperties BillingTransferValidationResultProperties (string level = null, string code = null, string message = null);
Parameters
System.String
level
Result Level. |
System.String
code
Result Code. |
System.String
message
The validation message. |
Returns
BillingTransferValidationResultProperties
A new BillingTransferValidationResultProperties instance for mocking. |
BillingTransitionDetails(Nullable<DateTimeOffset>, Nullable<Int32>)
Initializes a new instance of BillingTransitionDetails.
Declaration
public static Azure.ResourceManager.Billing.Models.BillingTransitionDetails BillingTransitionDetails (Nullable<DateTimeOffset> transitionOn = null, Nullable<int> anniversaryDay = null);
Parameters
System.Nullable<System.DateTimeOffset>
transitionOn
The transition completion date. |
System.Nullable<System.Int32>
anniversaryDay
The anniversary day of the pre-transitioned account of type Microsoft Online Services Program. |
Returns
BillingTransitionDetails
A new BillingTransitionDetails instance for mocking. |
CancelSubscriptionContent(CustomerSubscriptionCancellationReason, ResourceIdentifier)
Initializes a new instance of CancelSubscriptionContent.
Declaration
public static Azure.ResourceManager.Billing.Models.CancelSubscriptionContent CancelSubscriptionContent (Azure.ResourceManager.Billing.Models.CustomerSubscriptionCancellationReason cancellationReason = null, Azure.Core.ResourceIdentifier customerId = null);
Parameters
CustomerSubscriptionCancellationReason
cancellationReason
Cancellation reason. |
Azure.Core.ResourceIdentifier
customerId
The fully qualified ID that uniquely identifies a customer. |
Returns
CancelSubscriptionContent
A new CancelSubscriptionContent instance for mocking. |
CreatedSubscriptionReseller(String, String)
Initializes a new instance of CreatedSubscriptionReseller.
Declaration
public static Azure.ResourceManager.Billing.Models.CreatedSubscriptionReseller CreatedSubscriptionReseller (string resellerId = null, string description = null);
Parameters
System.String
resellerId
The MPN ID of the reseller. |
System.String
description
The name of the reseller. |
Returns
CreatedSubscriptionReseller
A new CreatedSubscriptionReseller instance for mocking. |
DeleteBillingProfileEligibilityDetail(Nullable<DeleteBillingProfileEligibilityCode>, String)
Initializes a new instance of DeleteBillingProfileEligibilityDetail.
Declaration
public static Azure.ResourceManager.Billing.Models.DeleteBillingProfileEligibilityDetail DeleteBillingProfileEligibilityDetail (Nullable<Azure.ResourceManager.Billing.Models.DeleteBillingProfileEligibilityCode> code = null, string message = null);
Parameters
System.Nullable<DeleteBillingProfileEligibilityCode>
code
Code of the delete invoice section eligibility response. |
System.String
message
Validation message. |
Returns
DeleteBillingProfileEligibilityDetail
A new DeleteBillingProfileEligibilityDetail instance for mocking. |
DeleteBillingProfileEligibilityResult(Nullable<DeleteBillingProfileEligibilityStatus>, IEnumerable<DeleteBillingProfileEligibilityDetail>)
Initializes a new instance of DeleteBillingProfileEligibilityResult.
Declaration
public static Azure.ResourceManager.Billing.Models.DeleteBillingProfileEligibilityResult DeleteBillingProfileEligibilityResult (Nullable<Azure.ResourceManager.Billing.Models.DeleteBillingProfileEligibilityStatus> eligibilityStatus = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.DeleteBillingProfileEligibilityDetail> eligibilityDetails = null);
Parameters
System.Nullable<DeleteBillingProfileEligibilityStatus>
eligibilityStatus
Status describing if billing profile is eligible to be deleted. |
System.Collections.Generic.IEnumerable<DeleteBillingProfileEligibilityDetail>
eligibilityDetails
Validation details of delete billing profile eligibility. |
Returns
DeleteBillingProfileEligibilityResult
A new DeleteBillingProfileEligibilityResult instance for mocking. |
DeleteInvoiceSectionEligibilityDetail(Nullable<DeleteInvoiceSectionEligibilityCode>, String)
Initializes a new instance of DeleteInvoiceSectionEligibilityDetail.
Declaration
public static Azure.ResourceManager.Billing.Models.DeleteInvoiceSectionEligibilityDetail DeleteInvoiceSectionEligibilityDetail (Nullable<Azure.ResourceManager.Billing.Models.DeleteInvoiceSectionEligibilityCode> code = null, string message = null);
Parameters
System.Nullable<DeleteInvoiceSectionEligibilityCode>
code
Code for the delete invoice section validation. |
System.String
message
Validation message. |
Returns
DeleteInvoiceSectionEligibilityDetail
A new DeleteInvoiceSectionEligibilityDetail instance for mocking. |
DeleteInvoiceSectionEligibilityResult(Nullable<DeleteInvoiceSectionEligibilityStatus>, IEnumerable<DeleteInvoiceSectionEligibilityDetail>)
Initializes a new instance of DeleteInvoiceSectionEligibilityResult.
Declaration
public static Azure.ResourceManager.Billing.Models.DeleteInvoiceSectionEligibilityResult DeleteInvoiceSectionEligibilityResult (Nullable<Azure.ResourceManager.Billing.Models.DeleteInvoiceSectionEligibilityStatus> eligibilityStatus = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.DeleteInvoiceSectionEligibilityDetail> eligibilityDetails = null);
Parameters
System.Nullable<DeleteInvoiceSectionEligibilityStatus>
eligibilityStatus
Status describing if invoice section is eligible to be deleted. |
System.Collections.Generic.IEnumerable<DeleteInvoiceSectionEligibilityDetail>
eligibilityDetails
A list of delete invoice section eligibility result details. |
Returns
DeleteInvoiceSectionEligibilityResult
A new DeleteInvoiceSectionEligibilityResult instance for mocking. |
DetailedTransferStatus(Nullable<BillingProductType>, String, String, String, Nullable<BillingProductTransferStatus>, BillingTransferError)
Initializes a new instance of DetailedTransferStatus.
Declaration
public static Azure.ResourceManager.Billing.Models.DetailedTransferStatus DetailedTransferStatus (Nullable<Azure.ResourceManager.Billing.Models.BillingProductType> productType = null, string productId = null, string productName = null, string skuDescription = null, Nullable<Azure.ResourceManager.Billing.Models.BillingProductTransferStatus> transferStatus = null, Azure.ResourceManager.Billing.Models.BillingTransferError errorDetails = null);
Parameters
System.Nullable<BillingProductType>
productType
Type of product that is transferred. |
System.String
productId
The ID of the product that is transferred. |
System.String
productName
The name of the product that is transferred. |
System.String
skuDescription
The SKU of the product that is transferred. |
System.Nullable<BillingProductTransferStatus>
transferStatus
Transfer status. |
BillingTransferError
errorDetails
Error details for transfer execution. |
Returns
DetailedTransferStatus
A new DetailedTransferStatus instance for mocking. |
ExtendedStatusInfo(String, String, String)
Initializes a new instance of ExtendedStatusInfo.
Declaration
public static Azure.ResourceManager.Billing.Models.ExtendedStatusInfo ExtendedStatusInfo (string statusCode = null, string message = null, string subscriptionId = null);
Parameters
System.String
statusCode
Status code providing additional information. |
System.String
message
The message giving detailed information about the status code. |
System.String
subscriptionId
The subscription that has failed credit line check. |
Returns
ExtendedStatusInfo
A new ExtendedStatusInfo instance for mocking. |
InvoiceDocument(IEnumerable<String>, Uri, Nullable<InvoiceDocumentType>, String, Uri, Nullable<BillingDocumentSource>)
Initializes a new instance of InvoiceDocument.
Declaration
public static Azure.ResourceManager.Billing.Models.InvoiceDocument InvoiceDocument (System.Collections.Generic.IEnumerable<string> documentNumbers = null, Uri externalUri = null, Nullable<Azure.ResourceManager.Billing.Models.InvoiceDocumentType> kind = null, string name = null, Uri uri = null, Nullable<Azure.ResourceManager.Billing.Models.BillingDocumentSource> source = null);
Parameters
System.Collections.Generic.IEnumerable<System.String>
documentNumbers
The document numbers for the invoice document. |
System.Uri
externalUri
The URL to download the invoice document if the source is external to Microsoft.Billing. |
System.Nullable<InvoiceDocumentType>
kind
The type of the document. |
System.String
name
The ID that uniquely identifies an invoice document. This ID may be an identifier for an invoice PDF, a credit note, or a tax receipt. |
System.Uri
uri
The URL to download the invoice document if the source is internal to Microsoft.Billing. |
System.Nullable<BillingDocumentSource>
source
The source of the document. ENF for Brazil and DRS for rest of the world. |
Returns
InvoiceDocument
A new InvoiceDocument instance for mocking. |
InvoiceSectionWithCreateSubPermission(String, ResourceIdentifier, String, Nullable<BillingProfileStatus>, Nullable<BillingProfileStatusReasonCode>, Nullable<BillingSpendingLimit>, IEnumerable<BillingAzurePlan>, String, ResourceIdentifier, String)
Initializes a new instance of InvoiceSectionWithCreateSubPermission.
Declaration
public static Azure.ResourceManager.Billing.Models.InvoiceSectionWithCreateSubPermission InvoiceSectionWithCreateSubPermission (string billingProfileDisplayName = null, Azure.Core.ResourceIdentifier billingProfileId = null, string billingProfileSystemId = null, Nullable<Azure.ResourceManager.Billing.Models.BillingProfileStatus> billingProfileStatus = null, Nullable<Azure.ResourceManager.Billing.Models.BillingProfileStatusReasonCode> billingProfileStatusReasonCode = null, Nullable<Azure.ResourceManager.Billing.Models.BillingSpendingLimit> billingProfileSpendingLimit = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingAzurePlan> enabledAzurePlans = null, string invoiceSectionDisplayName = null, Azure.Core.ResourceIdentifier invoiceSectionId = null, string invoiceSectionSystemId = null);
Parameters
System.String
billingProfileDisplayName
The name of the billing profile. |
Azure.Core.ResourceIdentifier
billingProfileId
The fully qualified ID that uniquely identifies a billing profile. |
System.String
billingProfileSystemId
The system generated unique identifier for a billing profile. |
System.Nullable<BillingProfileStatus>
billingProfileStatus
The status of the billing profile. |
System.Nullable<BillingProfileStatusReasonCode>
billingProfileStatusReasonCode
Reason for the specified billing profile status. |
System.Nullable<BillingSpendingLimit>
billingProfileSpendingLimit
The billing profile spending limit. |
System.Collections.Generic.IEnumerable<BillingAzurePlan>
enabledAzurePlans
Enabled azure plans for the associated billing profile. |
System.String
invoiceSectionDisplayName
The name of the invoice section. |
Azure.Core.ResourceIdentifier
invoiceSectionId
The fully qualified ID that uniquely identifies an invoice section. |
System.String
invoiceSectionSystemId
The system generated unique identifier for an invoice section. |
Returns
InvoiceSectionWithCreateSubPermission
A new InvoiceSectionWithCreateSubPermission instance for mocking. |
MoveProductEligibilityResult(Nullable<Boolean>, MoveProductErrorDetails)
Initializes a new instance of MoveProductEligibilityResult.
Declaration
public static Azure.ResourceManager.Billing.Models.MoveProductEligibilityResult MoveProductEligibilityResult (Nullable<bool> isMoveEligible = null, Azure.ResourceManager.Billing.Models.MoveProductErrorDetails errorDetails = null);
Parameters
System.Nullable<System.Boolean>
isMoveEligible
Specifies whether the subscription is eligible to be transferred. |
MoveProductErrorDetails
errorDetails
Error details of the transfer eligibility validation. |
Returns
MoveProductEligibilityResult
A new MoveProductEligibilityResult instance for mocking. |
MoveProductErrorDetails(Nullable<MoveValidationErrorCode>, String, String)
Initializes a new instance of MoveProductErrorDetails.
Declaration
public static Azure.ResourceManager.Billing.Models.MoveProductErrorDetails MoveProductErrorDetails (Nullable<Azure.ResourceManager.Billing.Models.MoveValidationErrorCode> code = null, string message = null, string details = null);
Parameters
System.Nullable<MoveValidationErrorCode>
code
Error code for the product transfer validation. |
System.String
message
The error message. |
System.String
details
Error details of the transfer eligibility validation. |
Returns
MoveProductErrorDetails
A new MoveProductErrorDetails instance for mocking. |
PartnerTransferDetailData(ResourceIdentifier, String, ResourceType, SystemData, Nullable<DateTimeOffset>, Nullable<PartnerTransferStatus>, String, Nullable<InitiatorCustomerType>, String, String, String, String, IEnumerable<DetailedTransferStatus>, IDictionary<String,String>)
Initializes a new instance of PartnerTransferDetailData.
Declaration
public static Azure.ResourceManager.Billing.PartnerTransferDetailData PartnerTransferDetailData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Nullable<DateTimeOffset> expireOn = null, Nullable<Azure.ResourceManager.Billing.Models.PartnerTransferStatus> transferStatus = null, string recipientEmailId = null, Nullable<Azure.ResourceManager.Billing.Models.InitiatorCustomerType> initiatorCustomerType = null, string initiatorEmailId = null, string resellerId = null, string resellerName = null, string canceledBy = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.DetailedTransferStatus> detailedTransferStatus = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
System.Nullable<System.DateTimeOffset>
expireOn
The time at which the transfer request expires. |
System.Nullable<PartnerTransferStatus>
transferStatus
Overall transfer status. |
System.String
recipientEmailId
The email ID of the user to whom the transfer request was sent. |
System.Nullable<InitiatorCustomerType>
initiatorCustomerType
The type of customer who sent the transfer request. |
System.String
initiatorEmailId
The email ID of the user who sent the transfer request. |
System.String
resellerId
Optional MPN ID of the reseller for transfer requests that are sent from a Microsoft Partner Agreement billing account. |
System.String
resellerName
Optional name of the reseller for transfer requests that are sent from Microsoft Partner Agreement billing account. |
System.String
canceledBy
The email ID of the user who canceled the transfer request. |
System.Collections.Generic.IEnumerable<DetailedTransferStatus>
detailedTransferStatus
Detailed transfer status. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
PartnerTransferDetailData
A new PartnerTransferDetailData instance for mocking. |
PaymentMethodLogo(String, Uri)
Initializes a new instance of PaymentMethodLogo.
Declaration
public static Azure.ResourceManager.Billing.Models.PaymentMethodLogo PaymentMethodLogo (string mimeType = null, Uri uri = null);
Parameters
System.String
mimeType
MIME type of the logo. |
System.Uri
uri
Public URL of image of the logo. |
Returns
PaymentMethodLogo
A new PaymentMethodLogo instance for mocking. |
PaymentMethodProjectionProperties(ResourceIdentifier, Nullable<PaymentMethodFamily>, String, String, String, String, String, IEnumerable<PaymentMethodLogo>, Nullable<PaymentMethodStatus>)
Initializes a new instance of PaymentMethodProjectionProperties.
Declaration
[System.ComponentModel.EditorBrowsable]
public static Azure.ResourceManager.Billing.Models.PaymentMethodProjectionProperties PaymentMethodProjectionProperties (Azure.Core.ResourceIdentifier paymentMethodId, Nullable<Azure.ResourceManager.Billing.Models.PaymentMethodFamily> family, string paymentMethodProjectionPropertiesType, string accountHolderName, string expiration, string lastFourDigits, string displayName, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.PaymentMethodLogo> logos, Nullable<Azure.ResourceManager.Billing.Models.PaymentMethodStatus> status);
Parameters
Azure.Core.ResourceIdentifier
paymentMethodId
Id of payment method. |
System.Nullable<PaymentMethodFamily>
family
The family of payment method. |
System.String
paymentMethodProjectionPropertiesType
The type of payment method. |
System.String
accountHolderName
The account holder name for the payment method. This is only supported for payment methods with family CreditCard. |
System.String
expiration
The expiration month and year of the payment method. This is only supported for payment methods with family CreditCard. |
System.String
lastFourDigits
Last four digits of payment method. |
System.String
displayName
The display name of the payment method. |
System.Collections.Generic.IEnumerable<PaymentMethodLogo>
logos
The list of logos for the payment method. |
System.Nullable<PaymentMethodStatus>
status
Status of the payment method. |
Returns
PaymentMethodProjectionProperties
A new PaymentMethodProjectionProperties instance for mocking. |
PaymentMethodProjectionProperties(ResourceIdentifier, String, String, String, Nullable<PaymentMethodFamily>, String, IEnumerable<PaymentMethodLogo>, String, Nullable<PaymentMethodStatus>)
Initializes a new instance of PaymentMethodProjectionProperties.
Declaration
public static Azure.ResourceManager.Billing.Models.PaymentMethodProjectionProperties PaymentMethodProjectionProperties (Azure.Core.ResourceIdentifier paymentMethodId = null, string accountHolderName = null, string displayName = null, string expiration = null, Nullable<Azure.ResourceManager.Billing.Models.PaymentMethodFamily> family = null, string lastFourDigits = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.PaymentMethodLogo> logos = null, string paymentMethodType = null, Nullable<Azure.ResourceManager.Billing.Models.PaymentMethodStatus> status = null);
Parameters
Azure.Core.ResourceIdentifier
paymentMethodId
Id of payment method. |
System.String
accountHolderName
The account holder name for the payment method. This is only supported for payment methods with family CreditCard. |
System.String
displayName
The display name of the payment method. |
System.String
expiration
The expiration month and year of the payment method. This is only supported for payment methods with family CreditCard. |
System.Nullable<PaymentMethodFamily>
family
The family of payment method. |
System.String
lastFourDigits
Last four digits of payment method. |
System.Collections.Generic.IEnumerable<PaymentMethodLogo>
logos
The list of logos for the payment method. |
System.String
paymentMethodType
The type of payment method. |
System.Nullable<PaymentMethodStatus>
status
Status of the payment method. |
Returns
PaymentMethodProjectionProperties
A new PaymentMethodProjectionProperties instance for mocking. |
PaymentTermsEligibilityDetail(Nullable<PaymentTermsEligibilityCode>, String)
Initializes a new instance of PaymentTermsEligibilityDetail.
Declaration
public static Azure.ResourceManager.Billing.Models.PaymentTermsEligibilityDetail PaymentTermsEligibilityDetail (Nullable<Azure.ResourceManager.Billing.Models.PaymentTermsEligibilityCode> code = null, string message = null);
Parameters
System.Nullable<PaymentTermsEligibilityCode>
code
Indicates the reason for the ineligibility of the payment terms. |
System.String
message
Indicates the message for the ineligibility of the payment terms. |
Returns
PaymentTermsEligibilityDetail
A new PaymentTermsEligibilityDetail instance for mocking. |
PaymentTermsEligibilityResult(Nullable<PaymentTermsEligibilityStatus>, IEnumerable<PaymentTermsEligibilityDetail>)
Initializes a new instance of PaymentTermsEligibilityResult.
Declaration
public static Azure.ResourceManager.Billing.Models.PaymentTermsEligibilityResult PaymentTermsEligibilityResult (Nullable<Azure.ResourceManager.Billing.Models.PaymentTermsEligibilityStatus> eligibilityStatus = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.PaymentTermsEligibilityDetail> eligibilityDetails = null);
Parameters
System.Nullable<PaymentTermsEligibilityStatus>
eligibilityStatus
Indicates the eligibility status of the payment terms. |
System.Collections.Generic.IEnumerable<PaymentTermsEligibilityDetail>
eligibilityDetails
Details of the payment terms eligibility. |
Returns
PaymentTermsEligibilityResult
A new PaymentTermsEligibilityResult instance for mocking. |
RebillDetails(ResourceIdentifier, ResourceIdentifier, RebillDetails)
Initializes a new instance of RebillDetails.
Declaration
public static Azure.ResourceManager.Billing.Models.RebillDetails RebillDetails (Azure.Core.ResourceIdentifier invoiceDocumentId = null, Azure.Core.ResourceIdentifier creditNoteDocumentId = null, Azure.ResourceManager.Billing.Models.RebillDetails rebillDetailsValue = null);
Parameters
Azure.Core.ResourceIdentifier
invoiceDocumentId
The ID of invoice. |
Azure.Core.ResourceIdentifier
creditNoteDocumentId
The ID of credit note. |
RebillDetails
rebillDetailsValue
The rebill details of an invoice. |
Returns
RebillDetails
A new RebillDetails instance for mocking. |
RecipientTransferDetailData(ResourceIdentifier, String, ResourceType, SystemData, Nullable<DateTimeOffset>, IEnumerable<EligibleProductType>, Nullable<PartnerTransferStatus>, String, String, String, String, Nullable<InitiatorCustomerType>, String, IEnumerable<DetailedTransferStatus>, Nullable<Guid>, IEnumerable<BillingSupportedAccountType>, IDictionary<String,String>)
Initializes a new instance of RecipientTransferDetailData.
Declaration
public static Azure.ResourceManager.Billing.RecipientTransferDetailData RecipientTransferDetailData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Nullable<DateTimeOffset> expireOn = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.EligibleProductType> allowedProductType = null, Nullable<Azure.ResourceManager.Billing.Models.PartnerTransferStatus> transferStatus = null, string recipientEmailId = null, string initiatorEmailId = null, string resellerId = null, string resellerName = null, Nullable<Azure.ResourceManager.Billing.Models.InitiatorCustomerType> initiatorCustomerType = null, string canceledBy = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.DetailedTransferStatus> detailedTransferStatus = null, Nullable<Guid> customerTenantId = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingSupportedAccountType> supportedAccounts = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
System.Nullable<System.DateTimeOffset>
expireOn
The time at which the transfer request expires. |
System.Collections.Generic.IEnumerable<EligibleProductType>
allowedProductType
Type of subscriptions that can be transferred. |
System.Nullable<PartnerTransferStatus>
transferStatus
Overall transfer status. |
System.String
recipientEmailId
The email ID of the user to whom the transfer request was sent. |
System.String
initiatorEmailId
The email ID of the user who sent the transfer request. |
System.String
resellerId
Optional MPN ID of the reseller for transfer requests that are sent from a Microsoft Partner Agreement billing account. |
System.String
resellerName
Optional name of the reseller for transfer requests that are sent from Microsoft Partner Agreement billing account. |
System.Nullable<InitiatorCustomerType>
initiatorCustomerType
The type of customer who sent the transfer request. |
System.String
canceledBy
The email ID of the user who canceled the transfer request. |
System.Collections.Generic.IEnumerable<DetailedTransferStatus>
detailedTransferStatus
Detailed transfer status. |
System.Nullable<System.Guid>
customerTenantId
The customer tenant id. |
System.Collections.Generic.IEnumerable<BillingSupportedAccountType>
supportedAccounts
List of supported account types. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
RecipientTransferDetailData
A new RecipientTransferDetailData instance for mocking. |
RefundDetailsSummary(Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, BillingAmount, BillingAmount, ResourceIdentifier, Nullable<Int32>, Nullable<RefundStatus>, String, Nullable<RefundReasonCode>)
Initializes a new instance of RefundDetailsSummary.
Declaration
public static Azure.ResourceManager.Billing.Models.RefundDetailsSummary RefundDetailsSummary (Nullable<DateTimeOffset> requestedOn = null, Nullable<DateTimeOffset> approvedOn = null, Nullable<DateTimeOffset> completedOn = null, Azure.ResourceManager.Billing.Models.BillingAmount amountRequested = null, Azure.ResourceManager.Billing.Models.BillingAmount amountRefunded = null, Azure.Core.ResourceIdentifier rebillInvoiceId = null, Nullable<int> transactionCount = null, Nullable<Azure.ResourceManager.Billing.Models.RefundStatus> refundStatus = null, string refundOperationId = null, Nullable<Azure.ResourceManager.Billing.Models.RefundReasonCode> refundReason = null);
Parameters
System.Nullable<System.DateTimeOffset>
requestedOn
Date when the refund was requested. |
System.Nullable<System.DateTimeOffset>
approvedOn
Date when the refund was approved. |
System.Nullable<System.DateTimeOffset>
completedOn
Date when the refund was completed. |
BillingAmount
amountRequested
The amount of refund requested. |
BillingAmount
amountRefunded
The amount refunded. |
Azure.Core.ResourceIdentifier
rebillInvoiceId
The invoice ID of the rebill invoice for a refund. |
System.Nullable<System.Int32>
transactionCount
The number of transactions refunded. |
System.Nullable<RefundStatus>
refundStatus
The status of refund request. |
System.String
refundOperationId
The ID of refund operation. |
System.Nullable<RefundReasonCode>
refundReason
The reason for refund. |
Returns
RefundDetailsSummary
A new RefundDetailsSummary instance for mocking. |
RefundTransactionDetails(BillingAmount, BillingAmount, String)
Initializes a new instance of RefundTransactionDetails.
Declaration
public static Azure.ResourceManager.Billing.Models.RefundTransactionDetails RefundTransactionDetails (Azure.ResourceManager.Billing.Models.BillingAmount amountRequested = null, Azure.ResourceManager.Billing.Models.BillingAmount amountRefunded = null, string refundOperationId = null);
Parameters
BillingAmount
amountRequested
The amount of refund requested. |
BillingAmount
amountRefunded
The amount refunded. |
System.String
refundOperationId
The ID of refund operation. |
Returns
RefundTransactionDetails
A new RefundTransactionDetails instance for mocking. |
ReservationPurchaseRequest(String, Nullable<AzureLocation>, String, String, String, Nullable<ReservationBillingPlan>, Nullable<Int32>, String, Nullable<BillingAppliedScopeType>, IEnumerable<String>, ReservationAppliedScopeProperties, Nullable<Boolean>, Nullable<InstanceFlexibility>, Nullable<DateTimeOffset>, Nullable<InstanceFlexibility>)
Initializes a new instance of ReservationPurchaseRequest.
Declaration
public static Azure.ResourceManager.Billing.Models.ReservationPurchaseRequest ReservationPurchaseRequest (string skuName = null, Nullable<Azure.Core.AzureLocation> location = null, string reservedResourceType = null, string billingScopeId = null, string term = null, Nullable<Azure.ResourceManager.Billing.Models.ReservationBillingPlan> billingPlan = null, Nullable<int> quantity = null, string displayName = null, Nullable<Azure.ResourceManager.Billing.Models.BillingAppliedScopeType> appliedScopeType = null, System.Collections.Generic.IEnumerable<string> appliedScopes = null, Azure.ResourceManager.Billing.Models.ReservationAppliedScopeProperties appliedScopeProperties = null, Nullable<bool> isRenewed = null, Nullable<Azure.ResourceManager.Billing.Models.InstanceFlexibility> instanceFlexibilityPropertiesInstanceFlexibility = null, Nullable<DateTimeOffset> reviewOn = null, Nullable<Azure.ResourceManager.Billing.Models.InstanceFlexibility> instanceFlexibilityPropertiesReservedResourcePropertiesInstanceFlexibility = null);
Parameters
System.String
skuName
The name of sku. |
System.Nullable<Azure.Core.AzureLocation>
location
The Azure region where the reserved resource lives. |
System.String
reservedResourceType
The reserved source type of the reservation, e.g. virtual machine. |
System.String
billingScopeId
Subscription that will be charged for purchasing reservation or savings plan. |
System.String
term
The term of the reservation, e.g. P1Y. |
System.Nullable<ReservationBillingPlan>
billingPlan
Represent the billing plans. |
System.Nullable<System.Int32>
quantity
Quantity of the skus that are part of the reservation. Must be greater than zero. |
System.String
displayName
Friendly name of the reservation. |
System.Nullable<BillingAppliedScopeType>
appliedScopeType
Type of the Applied Scope. |
System.Collections.Generic.IEnumerable<System.String>
appliedScopes
List of the subscriptions that the benefit will be applied. Do not specify if AppliedScopeType is Shared. |
ReservationAppliedScopeProperties
appliedScopeProperties
Properties specific to applied scope type. Not required if not applicable. Required and need to provide tenantId and managementGroupId if AppliedScopeType is ManagementGroup. |
System.Nullable<System.Boolean>
isRenewed
Setting this to true will automatically purchase a new benefit on the expiration date time. |
System.Nullable<InstanceFlexibility>
instanceFlexibilityPropertiesInstanceFlexibility
Allows reservation discount to be applied across skus within the same auto fit group. Not all skus support instance size flexibility. |
System.Nullable<System.DateTimeOffset>
reviewOn
This is the date-time when the Azure hybrid benefit needs to be reviewed. |
System.Nullable<InstanceFlexibility>
instanceFlexibilityPropertiesReservedResourcePropertiesInstanceFlexibility
Turning this on will apply the reservation discount to other VMs in the same VM size group. Only specify for VirtualMachines reserved resource type. |
Returns
ReservationPurchaseRequest
A new ReservationPurchaseRequest instance for mocking. |
ReservationUtilizationAggregates(Nullable<Single>, String, Nullable<Single>, String)
Initializes a new instance of ReservationUtilizationAggregates.
Declaration
public static Azure.ResourceManager.Billing.Models.ReservationUtilizationAggregates ReservationUtilizationAggregates (Nullable<float> grain = null, string grainUnit = null, Nullable<float> value = null, string valueUnit = null);
Parameters
System.Nullable<System.Single>
grain
The grain of the aggregate. |
System.String
grainUnit
The grain unit of the aggregate. |
System.Nullable<System.Single>
value
The aggregate value. |
System.String
valueUnit
The aggregate value unit. |
Returns
ReservationUtilizationAggregates
A new ReservationUtilizationAggregates instance for mocking. |
SavingsPlanOrderModelData(ResourceIdentifier, String, ResourceType, SystemData, String, String, String, String, ResourceIdentifier, ResourceIdentifier, ResourceIdentifier, Nullable<BillingSavingsPlanTerm>, Nullable<BillingPlan>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, BillingPlanInformation, IEnumerable<String>, ExtendedStatusInfo, String, IDictionary<String,String>)
Initializes a new instance of SavingsPlanOrderModelData.
Declaration
public static Azure.ResourceManager.Billing.SavingsPlanOrderModelData SavingsPlanOrderModelData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, string skuName = null, string displayName = null, string provisioningState = null, string billingScopeId = null, Azure.Core.ResourceIdentifier billingProfileId = null, Azure.Core.ResourceIdentifier customerId = null, Azure.Core.ResourceIdentifier billingAccountId = null, Nullable<Azure.ResourceManager.Billing.Models.BillingSavingsPlanTerm> term = null, Nullable<Azure.ResourceManager.Billing.Models.BillingPlan> billingPlan = null, Nullable<DateTimeOffset> benefitStartOn = null, Nullable<DateTimeOffset> expiryOn = null, Azure.ResourceManager.Billing.Models.BillingPlanInformation planInformation = null, System.Collections.Generic.IEnumerable<string> savingsPlans = null, Azure.ResourceManager.Billing.Models.ExtendedStatusInfo extendedStatusInfo = null, string productCode = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
System.String
skuName
Savings plan SKU. |
System.String
displayName
Display name. |
System.String
provisioningState
The provisioning state of the savings plan, e.g. Succeeded. |
System.String
billingScopeId
Subscription that will be charged for purchasing SavingsPlan. |
Azure.Core.ResourceIdentifier
billingProfileId
Fully-qualified identifier of the billing profile where the savings plan is applied. Present only for Field-led or Customer-led customers. |
Azure.Core.ResourceIdentifier
customerId
Fully-qualified identifier of the customer where the savings plan is applied. Present only for Partner-led customers. |
Azure.Core.ResourceIdentifier
billingAccountId
Fully-qualified identifier of the billing account where the savings plan is applied. |
System.Nullable<BillingSavingsPlanTerm>
term
Represents the Savings plan term in ISO 8601 format. |
System.Nullable<BillingPlan>
billingPlan
Represents the billing plan in ISO 8601 format. Required only for monthly purchases. |
System.Nullable<System.DateTimeOffset>
benefitStartOn
DateTime when the savings plan benefit started. |
System.Nullable<System.DateTimeOffset>
expiryOn
DateTime when the savings plan will expire. |
BillingPlanInformation
planInformation
Information describing the type of billing plan for this savings plan. |
System.Collections.Generic.IEnumerable<System.String>
savingsPlans
|
ExtendedStatusInfo
extendedStatusInfo
Extended status information. |
System.String
productCode
Represents UPN. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
SavingsPlanOrderModelData
A new SavingsPlanOrderModelData instance for mocking. |
SavingsPlanUtilization(String, IEnumerable<SavingsPlanUtilizationAggregates>)
Initializes a new instance of SavingsPlanUtilization.
Declaration
public static Azure.ResourceManager.Billing.Models.SavingsPlanUtilization SavingsPlanUtilization (string trend = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.SavingsPlanUtilizationAggregates> aggregates = null);
Parameters
System.String
trend
The trend for a savings plan's utilization. |
System.Collections.Generic.IEnumerable<SavingsPlanUtilizationAggregates>
aggregates
The array of aggregates of a savings plan's utilization. |
Returns
SavingsPlanUtilization
A new SavingsPlanUtilization instance for mocking. |
SavingsPlanUtilizationAggregates(Nullable<Single>, String, Nullable<Single>, String)
Initializes a new instance of SavingsPlanUtilizationAggregates.
Declaration
public static Azure.ResourceManager.Billing.Models.SavingsPlanUtilizationAggregates SavingsPlanUtilizationAggregates (Nullable<float> grain = null, string grainUnit = null, Nullable<float> value = null, string valueUnit = null);
Parameters
System.Nullable<System.Single>
grain
The grain of the aggregate. |
System.String
grainUnit
The grain unit of the aggregate. |
System.Nullable<System.Single>
value
The aggregate value. |
System.String
valueUnit
The aggregate value unit. |
Returns
SavingsPlanUtilizationAggregates
A new SavingsPlanUtilizationAggregates instance for mocking. |
SavingsPlanValidateResult(IEnumerable<SavingsPlanValidResponseProperty>, String)
Initializes a new instance of SavingsPlanValidateResult.
Declaration
public static Azure.ResourceManager.Billing.Models.SavingsPlanValidateResult SavingsPlanValidateResult (System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.SavingsPlanValidResponseProperty> benefits = null, string nextLink = null);
Parameters
System.Collections.Generic.IEnumerable<SavingsPlanValidResponseProperty>
benefits
|
System.String
nextLink
Url to get the next page. |
Returns
SavingsPlanValidateResult
A new SavingsPlanValidateResult instance for mocking. |
SavingsPlanValidResponseProperty(Nullable<Boolean>, String, String)
Initializes a new instance of SavingsPlanValidResponseProperty.
Declaration
public static Azure.ResourceManager.Billing.Models.SavingsPlanValidResponseProperty SavingsPlanValidResponseProperty (Nullable<bool> isValid = null, string reasonCode = null, string reason = null);
Parameters
System.Nullable<System.Boolean>
isValid
Indicates if the provided input is valid. |
System.String
reasonCode
Failure reason code if the provided input is invalid. |
System.String
reason
Failure reason if the provided input is invalid. |
Returns
SavingsPlanValidResponseProperty
A new SavingsPlanValidResponseProperty instance for mocking. |
SpendingLimitDetails(Nullable<Single>, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<SpendingLimitType>, Nullable<SpendingLimitStatus>)
Initializes a new instance of SpendingLimitDetails.
Declaration
public static Azure.ResourceManager.Billing.Models.SpendingLimitDetails SpendingLimitDetails (Nullable<float> amount = null, string currency = null, Nullable<DateTimeOffset> startOn = null, Nullable<DateTimeOffset> endOn = null, Nullable<Azure.ResourceManager.Billing.Models.SpendingLimitType> limitType = null, Nullable<Azure.ResourceManager.Billing.Models.SpendingLimitStatus> status = null);
Parameters
System.Nullable<System.Single>
amount
The initial amount for the billing profile. |
System.String
currency
The currency in which the charges for the billing profile are billed. |
System.Nullable<System.DateTimeOffset>
startOn
The date when this spending limit goes into effect. |
System.Nullable<System.DateTimeOffset>
endOn
The date when this spending limit is no longer in effect. |
System.Nullable<SpendingLimitType>
limitType
The type of spending limit. |
System.Nullable<SpendingLimitStatus>
status
The status of current spending limit. |
Returns
SpendingLimitDetails
A new SpendingLimitDetails instance for mocking. |
SubscriptionPolicyData(ResourceIdentifier, String, ResourceType, SystemData, SubscriptionPolicyProperties, IDictionary<String,String>)
Initializes a new instance of SubscriptionPolicyData.
Declaration
public static Azure.ResourceManager.Billing.SubscriptionPolicyData SubscriptionPolicyData (Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = null, Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.Billing.Models.SubscriptionPolicyProperties properties = null, System.Collections.Generic.IDictionary<string,string> tags = null);
Parameters
Azure.Core.ResourceIdentifier
id
The id. |
System.String
name
The name. |
Azure.Core.ResourceType
resourceType
The resourceType. |
Azure.ResourceManager.Models.SystemData
systemData
The systemData. |
SubscriptionPolicyProperties
properties
A policy at subscription scope. |
System.Collections.Generic.IDictionary<System.String,System.String>
tags
Dictionary of metadata associated with the resource. It may not be populated for all resource types. Maximum key/value length supported of 256 characters. Keys/value should not empty value nor null. Keys can not contain < > % & \ ? /. |
Returns
SubscriptionPolicyData
A new SubscriptionPolicyData instance for mocking. |
SubscriptionPolicyProperties(Nullable<BillingProvisioningState>, IEnumerable<BillingPolicySummary>)
Initializes a new instance of SubscriptionPolicyProperties.
Declaration
public static Azure.ResourceManager.Billing.Models.SubscriptionPolicyProperties SubscriptionPolicyProperties (Nullable<Azure.ResourceManager.Billing.Models.BillingProvisioningState> provisioningState = null, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Billing.Models.BillingPolicySummary> policies = null);
Parameters
System.Nullable<BillingProvisioningState>
provisioningState
The provisioning state of the resource during a long-running operation. |
System.Collections.Generic.IEnumerable<BillingPolicySummary>
policies
List of all policies defined at the billing scope. |
Returns
SubscriptionPolicyProperties
A new SubscriptionPolicyProperties instance for mocking. |
SubscriptionRenewalTermDetails(String, String, Nullable<Int64>, String, Nullable<TimeSpan>)
Initializes a new instance of SubscriptionRenewalTermDetails.
Declaration
[System.ComponentModel.EditorBrowsable]
public static Azure.ResourceManager.Billing.Models.SubscriptionRenewalTermDetails SubscriptionRenewalTermDetails (string billingFrequency, string productTypeId, Nullable<long> quantity, string skuId, Nullable<TimeSpan> termDuration);
Parameters
System.String
billingFrequency
The billing frequency of the subscription. |
System.String
productTypeId
The ID of the product. |
System.Nullable<System.Int64>
quantity
The number of licenses. |
System.String
skuId
The SKU ID of the product. |
System.Nullable<System.TimeSpan>
termDuration
The term duration of the subscription. Example P1M and P1Y. |
Returns
SubscriptionRenewalTermDetails
A new SubscriptionRenewalTermDetails instance for mocking. |
SubscriptionRenewalTermDetails(String, String, String, String, Nullable<TimeSpan>, Nullable<Int64>, Nullable<DateTimeOffset>)
Initializes a new instance of SubscriptionRenewalTermDetails.
Declaration
public static Azure.ResourceManager.Billing.Models.SubscriptionRenewalTermDetails SubscriptionRenewalTermDetails (string billingFrequency = null, string productId = null, string productTypeId = null, string skuId = null, Nullable<TimeSpan> termDuration = null, Nullable<long> quantity = null, Nullable<DateTimeOffset> termEndOn = null);
Parameters
System.String
billingFrequency
The billing frequency in ISO8601 format of product in the subscription. Example: P1M, P3M, P1Y. |
System.String
productId
Id of the product for which the subscription is purchased. |
System.String
productTypeId
Type Id of the product for which the subscription is purchased. |
System.String
skuId
The SKU ID of the product for which the subscription is purchased. This field is is only available for Microsoft Customer Agreement billing accounts. |
System.Nullable<System.TimeSpan>
termDuration
The duration in ISO8601 format for which you can use the subscription. Example: P1M, P3M, P1Y. |
System.Nullable<System.Int64>
quantity
The quantity of licenses or fulfillment units for the subscription. |
System.Nullable<System.DateTimeOffset>
termEndOn
End date of the term in UTC time. |
Returns
SubscriptionRenewalTermDetails
A new SubscriptionRenewalTermDetails instance for mocking. |