forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CodeGen from PR 21034 in Azure/azure-rest-api-specs
Merge a909c39e219cfeae97ae2ccf15271af20c293171 into ec20514fc0cbc9b13b20fccba64de8e30b7e53be
- Loading branch information
SDKAuto
committed
Oct 11, 2022
1 parent
145ce2f
commit 5b42b31
Showing
379 changed files
with
24,196 additions
and
2,296 deletions.
There are no files selected for viewing
4 changes: 3 additions & 1 deletion
4
sdk/appcontainers/azure-resourcemanager-appcontainers/CHANGELOG.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1,454 changes: 1,298 additions & 156 deletions
1,454
sdk/appcontainers/azure-resourcemanager-appcontainers/SAMPLE.md
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
.../java/com/azure/resourcemanager/appcontainers/fluent/AvailableWorkloadProfilesClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.resourcemanager.appcontainers.fluent; | ||
|
||
import com.azure.core.annotation.ReturnType; | ||
import com.azure.core.annotation.ServiceMethod; | ||
import com.azure.core.http.rest.PagedIterable; | ||
import com.azure.core.util.Context; | ||
import com.azure.resourcemanager.appcontainers.fluent.models.AvailableWorkloadProfileInner; | ||
|
||
/** An instance of this class provides access to all the operations defined in AvailableWorkloadProfilesClient. */ | ||
public interface AvailableWorkloadProfilesClient { | ||
/** | ||
* Get available workload profiles by location. | ||
* | ||
* <p>Get all available workload profiles for a location. | ||
* | ||
* @param location The name of Azure region. | ||
* @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 all available workload profiles for a location as paginated response with {@link PagedIterable}. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.COLLECTION) | ||
PagedIterable<AvailableWorkloadProfileInner> get(String location); | ||
|
||
/** | ||
* Get available workload profiles by location. | ||
* | ||
* <p>Get all available workload profiles for a location. | ||
* | ||
* @param location The name of Azure region. | ||
* @param context The context to associate with this 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 all available workload profiles for a location as paginated response with {@link PagedIterable}. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.COLLECTION) | ||
PagedIterable<AvailableWorkloadProfileInner> get(String location, Context context); | ||
} |
45 changes: 45 additions & 0 deletions
45
...ers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/BillingMetersClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.resourcemanager.appcontainers.fluent; | ||
|
||
import com.azure.core.annotation.ReturnType; | ||
import com.azure.core.annotation.ServiceMethod; | ||
import com.azure.core.http.rest.Response; | ||
import com.azure.core.util.Context; | ||
import com.azure.resourcemanager.appcontainers.fluent.models.BillingMeterCollectionInner; | ||
|
||
/** An instance of this class provides access to all the operations defined in BillingMetersClient. */ | ||
public interface BillingMetersClient { | ||
/** | ||
* Get billing meters by location. | ||
* | ||
* <p>Get all billingMeters for a location. | ||
* | ||
* @param location The name of Azure region. | ||
* @param context The context to associate with this operation. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation. | ||
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request | ||
* is rejected by server. | ||
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
* @return all billingMeters for a location along with {@link Response}. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
Response<BillingMeterCollectionInner> getWithResponse(String location, Context context); | ||
|
||
/** | ||
* Get billing meters by location. | ||
* | ||
* <p>Get all billingMeters for a location. | ||
* | ||
* @param location The name of Azure region. | ||
* @throws IllegalArgumentException thrown if parameters fail the validation. | ||
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request | ||
* is rejected by server. | ||
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. | ||
* @return all billingMeters for a location. | ||
*/ | ||
@ServiceMethod(returns = ReturnType.SINGLE) | ||
BillingMeterCollectionInner get(String location); | ||
} |
Oops, something went wrong.