Interface Credits
-
public interface Credits
Resource collection API of Credits.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreditSummary
get(String billingAccountId, String billingProfileId)
The credit summary by billingAccountId and billingProfileId.com.azure.core.http.rest.Response<CreditSummary>
getWithResponse(String billingAccountId, String billingProfileId, com.azure.core.util.Context context)
The credit summary by billingAccountId and billingProfileId.
-
-
-
Method Detail
-
get
CreditSummary get(String billingAccountId, String billingProfileId)
The credit summary by billingAccountId and billingProfileId.- Parameters:
billingAccountId
- BillingAccount ID.billingProfileId
- Azure Billing Profile ID.- Returns:
- a credit summary resource.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<CreditSummary> getWithResponse(String billingAccountId, String billingProfileId, com.azure.core.util.Context context)
The credit summary by billingAccountId and billingProfileId.- Parameters:
billingAccountId
- BillingAccount ID.billingProfileId
- Azure Billing Profile ID.context
- The context to associate with this operation.- Returns:
- a credit summary resource.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
-