Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,26 @@

## 1.0.0-beta.4 (Unreleased)

### Breaking Changes

#### `models.Queries` was modified

* `usage(java.lang.String, com.azure.resourcemanager.costmanagement.models.QueryDefinition)` was removed

* `usageWithResponse(java.lang.String, com.azure.resourcemanager.costmanagement.models.QueryDefinition, com.azure.core.util.Context)` was removed

* `usageByExternalCloudProviderType(com.azure.resourcemanager.costmanagement.models.ExternalCloudProviderType, java.lang.String, com.azure.resourcemanager.costmanagement.models.QueryDefinition)` was removed

* `usageByExternalCloudProviderTypeWithResponse(com.azure.resourcemanager.costmanagement.models.ExternalCloudProviderType, java.lang.String, com.azure.resourcemanager.costmanagement.models.QueryDefinition,com.azure.core.util.Context)` was removed

* `usage(java.lang.String, java.lang.String, com.azure.resourcemanager.costmanagement.models.QueryDefinition)` was added

* `usageWithResponse(java.lang.String, java.lang.String, com.azure.resourcemanager.costmanagement.models.QueryDefinition, com.azure.core.util.Context)` was added

* `usageByExternalCloudProviderType(com.azure.resourcemanager.costmanagement.models.ExternalCloudProviderType, java.lang.String, java.lang.String, com.azure.resourcemanager.costmanagement.models.QueryDefinition)` was added

* `usageByExternalCloudProviderTypeWithResponse(com.azure.resourcemanager.costmanagement.models.ExternalCloudProviderType, java.lang.String, java.lang.String, com.azure.resourcemanager.costmanagement.models.QueryDefinition,com.azure.core.util.Context)` was added


## 1.0.0-beta.3 (2021-07-29)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,17 @@ public interface QueriesClient {
* for invoiceSection scope, and
* '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specific for
* partners.
* @param skiptoken Skiptoken is only used if a previous operation returned a partial result. If a previous response
* contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that
* specifies a starting point to use for subsequent calls.
* @param parameters Parameters supplied to the CreateOrUpdate Query Config operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return result of query.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
QueryResultInner usage(String scope, QueryDefinition parameters);
QueryResultInner usage(String scope, String skiptoken, QueryDefinition parameters);

/**
* Query the usage data for scope defined.
Expand All @@ -59,6 +62,9 @@ public interface QueriesClient {
* for invoiceSection scope, and
* '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/customers/{customerId}' specific for
* partners.
* @param skiptoken Skiptoken is only used if a previous operation returned a partial result. If a previous response
* contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that
* specifies a starting point to use for subsequent calls.
* @param parameters Parameters supplied to the CreateOrUpdate Query Config operation.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand All @@ -67,7 +73,7 @@ public interface QueriesClient {
* @return result of query.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<QueryResultInner> usageWithResponse(String scope, QueryDefinition parameters, Context context);
Response<QueryResultInner> usageWithResponse(String scope, String skiptoken, QueryDefinition parameters, Context context);

/**
* Query the usage data for external cloud provider type defined.
Expand All @@ -77,6 +83,9 @@ public interface QueriesClient {
* account.
* @param externalCloudProviderId This can be '{externalSubscriptionId}' for linked account or
* '{externalBillingAccountId}' for consolidated account used with dimension/query operations.
* @param skiptoken Skiptoken is only used if a previous operation returned a partial result. If a previous response
* contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that
* specifies a starting point to use for subsequent calls.
* @param parameters Parameters supplied to the CreateOrUpdate Query Config operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
Expand All @@ -87,6 +96,7 @@ public interface QueriesClient {
QueryResultInner usageByExternalCloudProviderType(
ExternalCloudProviderType externalCloudProviderType,
String externalCloudProviderId,
String skiptoken,
QueryDefinition parameters);

/**
Expand All @@ -97,6 +107,9 @@ QueryResultInner usageByExternalCloudProviderType(
* account.
* @param externalCloudProviderId This can be '{externalSubscriptionId}' for linked account or
* '{externalBillingAccountId}' for consolidated account used with dimension/query operations.
* @param skiptoken Skiptoken is only used if a previous operation returned a partial result. If a previous response
* contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that
* specifies a starting point to use for subsequent calls.
* @param parameters Parameters supplied to the CreateOrUpdate Query Config operation.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand All @@ -108,6 +121,7 @@ QueryResultInner usageByExternalCloudProviderType(
Response<QueryResultInner> usageByExternalCloudProviderTypeWithResponse(
ExternalCloudProviderType externalCloudProviderType,
String externalCloudProviderId,
String skiptoken,
QueryDefinition parameters,
Context context);
}
Loading