Skip to content

Commit

Permalink
CodeGen from PR 20406 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge a08b78f9c5e28c6ae418f2718bb894c31e2424eb into eca8060c5746b3b092c50580b59de31fe749d669
  • Loading branch information
SDKAuto committed Aug 26, 2022
1 parent bf9ff9b commit 5aebaf1
Show file tree
Hide file tree
Showing 101 changed files with 925 additions and 783 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.4 (Unreleased)
## 1.0.0-beta.1 (2022-08-26)

- Azure Resource Manager ContainerAppsApi client library for Java. This package contains Microsoft Azure SDK for ContainerAppsApi Management SDK. Package tag package-2022-03. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

### Features Added

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-appcontainers</artifactId>
<version>1.0.0-beta.3</version>
<version>1.0.0-beta.4</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
15 changes: 15 additions & 0 deletions sdk/appcontainers/azure-resourcemanager-appcontainers/SAMPLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,21 @@ import com.azure.core.util.Context;

/** Samples for ContainerApps ListCustomHostnameAnalysis. */
public final class ContainerAppsListCustomHostnameAnalysisSamples {
/*
* x-ms-original-file: specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_ListCustomHostNameAnalysisErrorResponse.json
*/
/**
* Sample code: Analyse Custom Hostname Error Response.
*
* @param manager Entry point to ContainerAppsApiManager.
*/
public static void analyseCustomHostnameErrorResponse(
com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
manager
.containerApps()
.listCustomHostnameAnalysisWithResponse("rg", "testcontainerApp0", "my.name.corp", Context.NONE);
}

/*
* x-ms-original-file: specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_ListCustomHostNameAnalysis.json
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ public ContainerAppsApiManager authenticate(TokenCredential credential, AzurePro
.append("-")
.append("com.azure.resourcemanager.appcontainers")
.append("/")
.append("1.0.0-beta.3");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,9 @@ Response<Void> deleteWithResponse(
String resourceGroupName, String environmentName, String certificateName, Context context);

/**
* Patches a certificate. Currently only patching of tags is supported.
* Update properties of a certificate
*
* <p>Patches a certificate. Currently only patching of tags is supported.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
Expand All @@ -162,7 +164,9 @@ CertificateInner update(
String resourceGroupName, String environmentName, String certificateName, CertificatePatch certificateEnvelope);

/**
* Patches a certificate. Currently only patching of tags is supported.
* Update properties of a certificate
*
* <p>Patches a certificate. Currently only patching of tags is supported.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,9 @@ ContainerAppInner createOrUpdate(
void delete(String resourceGroupName, String containerAppName, Context context);

/**
* Patches a Container App using JSON Merge Patch.
* Update properties of a Container App
*
* <p>Patches a Container App using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
Expand All @@ -235,7 +237,9 @@ SyncPoller<PollResult<Void>, Void> beginUpdate(
String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope);

/**
* Patches a Container App using JSON Merge Patch.
* Update properties of a Container App
*
* <p>Patches a Container App using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
Expand All @@ -252,7 +256,9 @@ SyncPoller<PollResult<Void>, Void> beginUpdate(
String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope, Context context);

/**
* Patches a Container App using JSON Merge Patch.
* Update properties of a Container App
*
* <p>Patches a Container App using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
Expand All @@ -266,7 +272,9 @@ SyncPoller<PollResult<Void>, Void> beginUpdate(
void update(String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope);

/**
* Patches a Container App using JSON Merge Patch.
* Update properties of a Container App
*
* <p>Patches a Container App using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ Response<DaprComponentInner> getWithResponse(
String resourceGroupName, String environmentName, String componentName, Context context);

/**
* Creates or updates a Dapr Component in a Managed Environment.
* Creates or updates a Dapr Component.
*
* <p>Creates or updates a Dapr Component in a Managed Environment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
Expand All @@ -96,7 +98,9 @@ DaprComponentInner createOrUpdate(
DaprComponentInner daprComponentEnvelope);

/**
* Creates or updates a Dapr Component in a Managed Environment.
* Creates or updates a Dapr Component.
*
* <p>Creates or updates a Dapr Component in a Managed Environment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
Expand All @@ -118,7 +122,9 @@ Response<DaprComponentInner> createOrUpdateWithResponse(
Context context);

/**
* Delete a Dapr Component from a Managed Environment.
* Delete a Dapr Component.
*
* <p>Delete a Dapr Component from a Managed Environment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
Expand All @@ -132,7 +138,9 @@ Response<DaprComponentInner> createOrUpdateWithResponse(
void delete(String resourceGroupName, String environmentName, String componentName);

/**
* Delete a Dapr Component from a Managed Environment.
* Delete a Dapr Component.
*
* <p>Delete a Dapr Component from a Managed Environment.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
/** An instance of this class provides access to all the operations defined in ManagedEnvironmentsClient. */
public interface ManagedEnvironmentsClient {
/**
* Get all Managed Environments for a subscription.
* Get all Environments for a subscription.
*
* <p>Get all Managed Environments for a subscription.
*
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
* is rejected by server.
Expand All @@ -27,7 +29,9 @@ public interface ManagedEnvironmentsClient {
PagedIterable<ManagedEnvironmentInner> list();

/**
* Get all Managed Environments for a subscription.
* Get all Environments for a subscription.
*
* <p>Get all Managed Environments for a subscription.
*
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand All @@ -40,7 +44,9 @@ public interface ManagedEnvironmentsClient {
PagedIterable<ManagedEnvironmentInner> list(Context context);

/**
* Get all the Managed Environments in a resource group.
* Get all the Environments in a resource group.
*
* <p>Get all the Managed Environments in a resource group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
Expand All @@ -53,7 +59,9 @@ public interface ManagedEnvironmentsClient {
PagedIterable<ManagedEnvironmentInner> listByResourceGroup(String resourceGroupName);

/**
* Get all the Managed Environments in a resource group.
* Get all the Environments in a resource group.
*
* <p>Get all the Managed Environments in a resource group.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param context The context to associate with this operation.
Expand All @@ -67,7 +75,9 @@ public interface ManagedEnvironmentsClient {
PagedIterable<ManagedEnvironmentInner> listByResourceGroup(String resourceGroupName, Context context);

/**
* Get the properties of a Managed Environment used to host container apps.
* Get the properties of a Managed Environment.
*
* <p>Get the properties of a Managed Environment used to host container apps.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
Expand All @@ -81,7 +91,9 @@ public interface ManagedEnvironmentsClient {
ManagedEnvironmentInner getByResourceGroup(String resourceGroupName, String environmentName);

/**
* Get the properties of a Managed Environment used to host container apps.
* Get the properties of a Managed Environment.
*
* <p>Get the properties of a Managed Environment used to host container apps.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
Expand All @@ -97,7 +109,9 @@ Response<ManagedEnvironmentInner> getByResourceGroupWithResponse(
String resourceGroupName, String environmentName, Context context);

/**
* Creates or updates a Managed Environment used to host container apps.
* Creates or updates a Managed Environment.
*
* <p>Creates or updates a Managed Environment used to host container apps.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
Expand All @@ -113,7 +127,9 @@ SyncPoller<PollResult<ManagedEnvironmentInner>, ManagedEnvironmentInner> beginCr
String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope);

/**
* Creates or updates a Managed Environment used to host container apps.
* Creates or updates a Managed Environment.
*
* <p>Creates or updates a Managed Environment used to host container apps.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
Expand All @@ -130,7 +146,9 @@ SyncPoller<PollResult<ManagedEnvironmentInner>, ManagedEnvironmentInner> beginCr
String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope, Context context);

/**
* Creates or updates a Managed Environment used to host container apps.
* Creates or updates a Managed Environment.
*
* <p>Creates or updates a Managed Environment used to host container apps.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
Expand All @@ -146,7 +164,9 @@ ManagedEnvironmentInner createOrUpdate(
String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope);

/**
* Creates or updates a Managed Environment used to host container apps.
* Creates or updates a Managed Environment.
*
* <p>Creates or updates a Managed Environment used to host container apps.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
Expand All @@ -163,7 +183,9 @@ ManagedEnvironmentInner createOrUpdate(
String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope, Context context);

/**
* Delete a Managed Environment if it does not have any container apps.
* Delete a Managed Environment.
*
* <p>Delete a Managed Environment if it does not have any container apps.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
Expand All @@ -177,7 +199,9 @@ ManagedEnvironmentInner createOrUpdate(
SyncPoller<PollResult<Void>, Void> beginDelete(String resourceGroupName, String environmentName);

/**
* Delete a Managed Environment if it does not have any container apps.
* Delete a Managed Environment.
*
* <p>Delete a Managed Environment if it does not have any container apps.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
Expand All @@ -192,7 +216,9 @@ ManagedEnvironmentInner createOrUpdate(
SyncPoller<PollResult<Void>, Void> beginDelete(String resourceGroupName, String environmentName, Context context);

/**
* Delete a Managed Environment if it does not have any container apps.
* Delete a Managed Environment.
*
* <p>Delete a Managed Environment if it does not have any container apps.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
Expand All @@ -205,7 +231,9 @@ ManagedEnvironmentInner createOrUpdate(
void delete(String resourceGroupName, String environmentName);

/**
* Delete a Managed Environment if it does not have any container apps.
* Delete a Managed Environment.
*
* <p>Delete a Managed Environment if it does not have any container apps.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
Expand All @@ -219,7 +247,9 @@ ManagedEnvironmentInner createOrUpdate(
void delete(String resourceGroupName, String environmentName, Context context);

/**
* Patches a Managed Environment using JSON Merge Patch.
* Update Managed Environment's properties.
*
* <p>Patches a Managed Environment using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
Expand All @@ -235,7 +265,9 @@ SyncPoller<PollResult<Void>, Void> beginUpdate(
String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope);

/**
* Patches a Managed Environment using JSON Merge Patch.
* Update Managed Environment's properties.
*
* <p>Patches a Managed Environment using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
Expand All @@ -252,7 +284,9 @@ SyncPoller<PollResult<Void>, Void> beginUpdate(
String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope, Context context);

/**
* Patches a Managed Environment using JSON Merge Patch.
* Update Managed Environment's properties.
*
* <p>Patches a Managed Environment using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
Expand All @@ -266,7 +300,9 @@ SyncPoller<PollResult<Void>, Void> beginUpdate(
void update(String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope);

/**
* Patches a Managed Environment using JSON Merge Patch.
* Update Managed Environment's properties.
*
* <p>Patches a Managed Environment using JSON Merge Patch.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Environment.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
/** An instance of this class provides access to all the operations defined in NamespacesClient. */
public interface NamespacesClient {
/**
* Checks if resource name is available.
* Checks the resource name availability.
*
* <p>Checks if resource name is available.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
Expand All @@ -30,7 +32,9 @@ CheckNameAvailabilityResponseInner checkNameAvailability(
String resourceGroupName, String environmentName, CheckNameAvailabilityRequest checkNameAvailabilityRequest);

/**
* Checks if resource name is available.
* Checks the resource name availability.
*
* <p>Checks if resource name is available.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param environmentName Name of the Managed Environment.
Expand Down
Loading

0 comments on commit 5aebaf1

Please sign in to comment.