BillingProfilesClient Interface
public interface BillingProfilesClient
An instance of this class provides access to all the operations defined in BillingProfilesClient.
Method Summary
Method Details
beginCreateOrUpdate
public abstract SyncPoller<PollResult<BillingProfileInner>,BillingProfileInner> beginCreateOrUpdate(String billingAccountName, String billingProfileName, BillingProfileInner parameters)
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.
Parameters:
Returns:
beginCreateOrUpdate
public abstract SyncPoller<PollResult<BillingProfileInner>,BillingProfileInner> beginCreateOrUpdate(String billingAccountName, String billingProfileName, BillingProfileInner parameters, Context context)
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.
Parameters:
Returns:
beginDelete
public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String billingAccountName, String billingProfileName)
Deletes a billing profile. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement and Microsoft Partner Agreement.
Parameters:
Returns:
beginDelete
public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String billingAccountName, String billingProfileName, Context context)
Deletes a billing profile. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement and Microsoft Partner Agreement.
Parameters:
Returns:
createOrUpdate
public abstract BillingProfileInner createOrUpdate(String billingAccountName, String billingProfileName, BillingProfileInner parameters)
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.
Parameters:
Returns:
createOrUpdate
public abstract BillingProfileInner createOrUpdate(String billingAccountName, String billingProfileName, BillingProfileInner parameters, Context context)
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.
Parameters:
Returns:
delete
public abstract void delete(String billingAccountName, String billingProfileName)
Deletes a billing profile. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement and Microsoft Partner Agreement.
Parameters:
delete
public abstract void delete(String billingAccountName, String billingProfileName, Context context)
Deletes a billing profile. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement and Microsoft Partner Agreement.
Parameters:
get
public abstract BillingProfileInner get(String billingAccountName, String billingProfileName)
Gets a billing profile by its ID. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement and Microsoft Partner Agreement.
Parameters:
Returns:
getWithResponse
public abstract Response<BillingProfileInner> getWithResponse(String billingAccountName, String billingProfileName, Context context)
Gets a billing profile by its ID. The operation is supported for billing accounts with agreement type Microsoft Customer Agreement and Microsoft Partner Agreement.
Parameters:
Returns:
listByBillingAccount
public abstract PagedIterable<BillingProfileInner> listByBillingAccount(String billingAccountName)
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.
Parameters:
Returns:
listByBillingAccount
public abstract PagedIterable<BillingProfileInner> listByBillingAccount(String billingAccountName, Boolean includeDeleted, String filter, String orderBy, Long top, Long skip, Boolean count, String search, Context context)
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.
Parameters:
Returns:
validateDeleteEligibility
public abstract DeleteBillingProfileEligibilityResultInner validateDeleteEligibility(String billingAccountName, String billingProfileName)
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.
Parameters:
Returns:
validateDeleteEligibilityWithResponse
public abstract Response<DeleteBillingProfileEligibilityResultInner> validateDeleteEligibilityWithResponse(String billingAccountName, String billingProfileName, Context context)
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.
Parameters:
Returns: