BillingProfilesOperations interface
Interface representing a BillingProfiles operations.
Properties
| begin |
|
| begin |
|
| begin |
|
| begin |
|
| create |
Creates or updates a billing profile. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement and Microsoft Partner Agreement. If you are a MCA Individual (Pay-as-you-go) customer, then please use the Azure portal experience to create the billing profile. |
| delete | Deletes a billing profile. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement and Microsoft Partner Agreement. |
| get | Gets a billing profile by its ID. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement and Microsoft Partner Agreement. |
| list |
Lists the billing profiles that a user has access to. The operation is supported for billing accounts with agreement of type Microsoft Customer Agreement and Microsoft Partner Agreement. |
| validate |
Validates if the billing profile can be deleted. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement and Microsoft Partner Agreement. |
Property Details
beginCreateOrUpdate
Warning
This API is now deprecated.
use createOrUpdate instead
beginCreateOrUpdate: (billingAccountName: string, billingProfileName: string, parameters: BillingProfile, options?: BillingProfilesCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<BillingProfile>, BillingProfile>>
Property Value
(billingAccountName: string, billingProfileName: string, parameters: BillingProfile, options?: BillingProfilesCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<BillingProfile>, BillingProfile>>
beginCreateOrUpdateAndWait
Warning
This API is now deprecated.
use createOrUpdate instead
beginCreateOrUpdateAndWait: (billingAccountName: string, billingProfileName: string, parameters: BillingProfile, options?: BillingProfilesCreateOrUpdateOptionalParams) => Promise<BillingProfile>
Property Value
(billingAccountName: string, billingProfileName: string, parameters: BillingProfile, options?: BillingProfilesCreateOrUpdateOptionalParams) => Promise<BillingProfile>
beginDelete
Warning
This API is now deprecated.
use delete instead
beginDelete: (billingAccountName: string, billingProfileName: string, options?: BillingProfilesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>
Property Value
(billingAccountName: string, billingProfileName: string, options?: BillingProfilesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait
Warning
This API is now deprecated.
use delete instead
beginDeleteAndWait: (billingAccountName: string, billingProfileName: string, options?: BillingProfilesDeleteOptionalParams) => Promise<void>
Property Value
(billingAccountName: string, billingProfileName: string, options?: BillingProfilesDeleteOptionalParams) => Promise<void>
createOrUpdate
Creates or updates a billing profile. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement and Microsoft Partner Agreement. If you are a MCA Individual (Pay-as-you-go) customer, then please use the Azure portal experience to create the billing profile.
createOrUpdate: (billingAccountName: string, billingProfileName: string, parameters: BillingProfile, options?: BillingProfilesCreateOrUpdateOptionalParams) => PollerLike<OperationState<BillingProfile>, BillingProfile>
Property Value
(billingAccountName: string, billingProfileName: string, parameters: BillingProfile, options?: BillingProfilesCreateOrUpdateOptionalParams) => PollerLike<OperationState<BillingProfile>, BillingProfile>
delete
Deletes a billing profile. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement and Microsoft Partner Agreement.
delete: (billingAccountName: string, billingProfileName: string, options?: BillingProfilesDeleteOptionalParams) => PollerLike<OperationState<void>, void>
Property Value
(billingAccountName: string, billingProfileName: string, options?: BillingProfilesDeleteOptionalParams) => PollerLike<OperationState<void>, void>
get
Gets a billing profile by its ID. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement and Microsoft Partner Agreement.
get: (billingAccountName: string, billingProfileName: string, options?: BillingProfilesGetOptionalParams) => Promise<BillingProfile>
Property Value
(billingAccountName: string, billingProfileName: string, options?: BillingProfilesGetOptionalParams) => Promise<BillingProfile>
listByBillingAccount
Lists the billing profiles that a user has access to. The operation is supported for billing accounts with agreement of type Microsoft Customer Agreement and Microsoft Partner Agreement.
listByBillingAccount: (billingAccountName: string, options?: BillingProfilesListByBillingAccountOptionalParams) => PagedAsyncIterableIterator<BillingProfile, BillingProfile[], PageSettings>
Property Value
(billingAccountName: string, options?: BillingProfilesListByBillingAccountOptionalParams) => PagedAsyncIterableIterator<BillingProfile, BillingProfile[], PageSettings>
validateDeleteEligibility
Validates if the billing profile can be deleted. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement and Microsoft Partner Agreement.
validateDeleteEligibility: (billingAccountName: string, billingProfileName: string, options?: BillingProfilesValidateDeleteEligibilityOptionalParams) => Promise<DeleteBillingProfileEligibilityResult>
Property Value
(billingAccountName: string, billingProfileName: string, options?: BillingProfilesValidateDeleteEligibilityOptionalParams) => Promise<DeleteBillingProfileEligibilityResult>