Interface GrantsClient
public interface GrantsClient
An instance of this class provides access to all the operations defined in GrantsClient.
-
Method Summary
Modifier and TypeMethodDescriptionGet details for a specific grant linked to the provided billing account and billing profile.com.azure.core.http.rest.Response<GrantDetailsInner>
getWithResponse
(String billingAccountName, String billingProfileName, Boolean includeAllocatedBudget, com.azure.core.util.Context context) Get details for a specific grant linked to the provided billing account and billing profile.com.azure.core.http.rest.PagedIterable<GrantDetailsInner>
Get details for a specific grant linked to the provided billing account and billing profile.com.azure.core.http.rest.PagedIterable<GrantDetailsInner>
list
(String billingAccountName, String billingProfileName, Boolean includeAllocatedBudget, com.azure.core.util.Context context) Get details for a specific grant linked to the provided billing account and billing profile.com.azure.core.http.rest.PagedIterable<GrantDetailsInner>
listAll()
Get a list of grants that Microsoft has provided.com.azure.core.http.rest.PagedIterable<GrantDetailsInner>
Get a list of grants that Microsoft has provided.
-
Method Details
-
listAll
com.azure.core.http.rest.PagedIterable<GrantDetailsInner> listAll()Get a list of grants that Microsoft has provided.- Returns:
- a list of grants that Microsoft has provided as paginated response with
PagedIterable
. - Throws:
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.
-
listAll
com.azure.core.http.rest.PagedIterable<GrantDetailsInner> listAll(Boolean includeAllocatedBudget, com.azure.core.util.Context context) Get a list of grants that Microsoft has provided.- Parameters:
includeAllocatedBudget
- May be used to include information about budget that has been allocated.context
- The context to associate with this operation.- Returns:
- a list of grants that Microsoft has provided as paginated response with
PagedIterable
. - 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.
-
list
com.azure.core.http.rest.PagedIterable<GrantDetailsInner> list(String billingAccountName, String billingProfileName) Get details for a specific grant linked to the provided billing account and billing profile.- Parameters:
billingAccountName
- Billing account name.billingProfileName
- Billing profile name.- Returns:
- details for a specific grant linked to the provided billing account and billing profile as paginated
response with
PagedIterable
. - 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.
-
list
com.azure.core.http.rest.PagedIterable<GrantDetailsInner> list(String billingAccountName, String billingProfileName, Boolean includeAllocatedBudget, com.azure.core.util.Context context) Get details for a specific grant linked to the provided billing account and billing profile.- Parameters:
billingAccountName
- Billing account name.billingProfileName
- Billing profile name.includeAllocatedBudget
- May be used to include information about budget that has been allocated.context
- The context to associate with this operation.- Returns:
- details for a specific grant linked to the provided billing account and billing profile as paginated
response with
PagedIterable
. - 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.
-
get
Get details for a specific grant linked to the provided billing account and billing profile.- Parameters:
billingAccountName
- Billing account name.billingProfileName
- Billing profile name.- Returns:
- details for a specific grant linked to the provided billing account and billing profile.
- 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<GrantDetailsInner> getWithResponse(String billingAccountName, String billingProfileName, Boolean includeAllocatedBudget, com.azure.core.util.Context context) Get details for a specific grant linked to the provided billing account and billing profile.- Parameters:
billingAccountName
- Billing account name.billingProfileName
- Billing profile name.includeAllocatedBudget
- May be used to include information about budget that has been allocated.context
- The context to associate with this operation.- Returns:
- details for a specific grant linked to the provided billing account and billing profile along with
Response
. - 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.
-