Skip to content

Commit 5aebaf1

Browse files
author
SDKAuto
committed
CodeGen from PR 20406 in Azure/azure-rest-api-specs
Merge a08b78f9c5e28c6ae418f2718bb894c31e2424eb into eca8060c5746b3b092c50580b59de31fe749d669
1 parent bf9ff9b commit 5aebaf1

File tree

101 files changed

+925
-783
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+925
-783
lines changed

sdk/appcontainers/azure-resourcemanager-appcontainers/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Release History
22

3-
## 1.0.0-beta.4 (Unreleased)
3+
## 1.0.0-beta.1 (2022-08-26)
4+
5+
- 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).
46

57
### Features Added
68

sdk/appcontainers/azure-resourcemanager-appcontainers/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
3232
<dependency>
3333
<groupId>com.azure.resourcemanager</groupId>
3434
<artifactId>azure-resourcemanager-appcontainers</artifactId>
35-
<version>1.0.0-beta.3</version>
35+
<version>1.0.0-beta.4</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})

sdk/appcontainers/azure-resourcemanager-appcontainers/SAMPLE.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,21 @@ import com.azure.core.util.Context;
433433

434434
/** Samples for ContainerApps ListCustomHostnameAnalysis. */
435435
public final class ContainerAppsListCustomHostnameAnalysisSamples {
436+
/*
437+
* x-ms-original-file: specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_ListCustomHostNameAnalysisErrorResponse.json
438+
*/
439+
/**
440+
* Sample code: Analyse Custom Hostname Error Response.
441+
*
442+
* @param manager Entry point to ContainerAppsApiManager.
443+
*/
444+
public static void analyseCustomHostnameErrorResponse(
445+
com.azure.resourcemanager.appcontainers.ContainerAppsApiManager manager) {
446+
manager
447+
.containerApps()
448+
.listCustomHostnameAnalysisWithResponse("rg", "testcontainerApp0", "my.name.corp", Context.NONE);
449+
}
450+
436451
/*
437452
* x-ms-original-file: specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/ContainerApps_ListCustomHostNameAnalysis.json
438453
*/

sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/ContainerAppsApiManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ public ContainerAppsApiManager authenticate(TokenCredential credential, AzurePro
243243
.append("-")
244244
.append("com.azure.resourcemanager.appcontainers")
245245
.append("/")
246-
.append("1.0.0-beta.3");
246+
.append("1.0.0-beta.1");
247247
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
248248
userAgentBuilder
249249
.append(" (")

sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/CertificatesClient.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,9 @@ Response<Void> deleteWithResponse(
145145
String resourceGroupName, String environmentName, String certificateName, Context context);
146146

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

164166
/**
165-
* Patches a certificate. Currently only patching of tags is supported.
167+
* Update properties of a certificate
168+
*
169+
* <p>Patches a certificate. Currently only patching of tags is supported.
166170
*
167171
* @param resourceGroupName The name of the resource group. The name is case insensitive.
168172
* @param environmentName Name of the Managed Environment.

sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ContainerAppsClient.java

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,9 @@ ContainerAppInner createOrUpdate(
219219
void delete(String resourceGroupName, String containerAppName, Context context);
220220

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

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

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

268274
/**
269-
* Patches a Container App using JSON Merge Patch.
275+
* Update properties of a Container App
276+
*
277+
* <p>Patches a Container App using JSON Merge Patch.
270278
*
271279
* @param resourceGroupName The name of the resource group. The name is case insensitive.
272280
* @param containerAppName Name of the Container App.

sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/DaprComponentsClient.java

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ Response<DaprComponentInner> getWithResponse(
7676
String resourceGroupName, String environmentName, String componentName, Context context);
7777

7878
/**
79-
* Creates or updates a Dapr Component in a Managed Environment.
79+
* Creates or updates a Dapr Component.
80+
*
81+
* <p>Creates or updates a Dapr Component in a Managed Environment.
8082
*
8183
* @param resourceGroupName The name of the resource group. The name is case insensitive.
8284
* @param environmentName Name of the Managed Environment.
@@ -96,7 +98,9 @@ DaprComponentInner createOrUpdate(
9698
DaprComponentInner daprComponentEnvelope);
9799

98100
/**
99-
* Creates or updates a Dapr Component in a Managed Environment.
101+
* Creates or updates a Dapr Component.
102+
*
103+
* <p>Creates or updates a Dapr Component in a Managed Environment.
100104
*
101105
* @param resourceGroupName The name of the resource group. The name is case insensitive.
102106
* @param environmentName Name of the Managed Environment.
@@ -118,7 +122,9 @@ Response<DaprComponentInner> createOrUpdateWithResponse(
118122
Context context);
119123

120124
/**
121-
* Delete a Dapr Component from a Managed Environment.
125+
* Delete a Dapr Component.
126+
*
127+
* <p>Delete a Dapr Component from a Managed Environment.
122128
*
123129
* @param resourceGroupName The name of the resource group. The name is case insensitive.
124130
* @param environmentName Name of the Managed Environment.
@@ -132,7 +138,9 @@ Response<DaprComponentInner> createOrUpdateWithResponse(
132138
void delete(String resourceGroupName, String environmentName, String componentName);
133139

134140
/**
135-
* Delete a Dapr Component from a Managed Environment.
141+
* Delete a Dapr Component.
142+
*
143+
* <p>Delete a Dapr Component from a Managed Environment.
136144
*
137145
* @param resourceGroupName The name of the resource group. The name is case insensitive.
138146
* @param environmentName Name of the Managed Environment.

sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/ManagedEnvironmentsClient.java

Lines changed: 54 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
/** An instance of this class provides access to all the operations defined in ManagedEnvironmentsClient. */
1717
public interface ManagedEnvironmentsClient {
1818
/**
19-
* Get all Managed Environments for a subscription.
19+
* Get all Environments for a subscription.
20+
*
21+
* <p>Get all Managed Environments for a subscription.
2022
*
2123
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
2224
* is rejected by server.
@@ -27,7 +29,9 @@ public interface ManagedEnvironmentsClient {
2729
PagedIterable<ManagedEnvironmentInner> list();
2830

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

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

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

6977
/**
70-
* Get the properties of a Managed Environment used to host container apps.
78+
* Get the properties of a Managed Environment.
79+
*
80+
* <p>Get the properties of a Managed Environment used to host container apps.
7181
*
7282
* @param resourceGroupName The name of the resource group. The name is case insensitive.
7383
* @param environmentName Name of the Environment.
@@ -81,7 +91,9 @@ public interface ManagedEnvironmentsClient {
8191
ManagedEnvironmentInner getByResourceGroup(String resourceGroupName, String environmentName);
8292

8393
/**
84-
* Get the properties of a Managed Environment used to host container apps.
94+
* Get the properties of a Managed Environment.
95+
*
96+
* <p>Get the properties of a Managed Environment used to host container apps.
8597
*
8698
* @param resourceGroupName The name of the resource group. The name is case insensitive.
8799
* @param environmentName Name of the Environment.
@@ -97,7 +109,9 @@ Response<ManagedEnvironmentInner> getByResourceGroupWithResponse(
97109
String resourceGroupName, String environmentName, Context context);
98110

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

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

132148
/**
133-
* Creates or updates a Managed Environment used to host container apps.
149+
* Creates or updates a Managed Environment.
150+
*
151+
* <p>Creates or updates a Managed Environment used to host container apps.
134152
*
135153
* @param resourceGroupName The name of the resource group. The name is case insensitive.
136154
* @param environmentName Name of the Environment.
@@ -146,7 +164,9 @@ ManagedEnvironmentInner createOrUpdate(
146164
String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope);
147165

148166
/**
149-
* Creates or updates a Managed Environment used to host container apps.
167+
* Creates or updates a Managed Environment.
168+
*
169+
* <p>Creates or updates a Managed Environment used to host container apps.
150170
*
151171
* @param resourceGroupName The name of the resource group. The name is case insensitive.
152172
* @param environmentName Name of the Environment.
@@ -163,7 +183,9 @@ ManagedEnvironmentInner createOrUpdate(
163183
String resourceGroupName, String environmentName, ManagedEnvironmentInner environmentEnvelope, Context context);
164184

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

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

194218
/**
195-
* Delete a Managed Environment if it does not have any container apps.
219+
* Delete a Managed Environment.
220+
*
221+
* <p>Delete a Managed Environment if it does not have any container apps.
196222
*
197223
* @param resourceGroupName The name of the resource group. The name is case insensitive.
198224
* @param environmentName Name of the Environment.
@@ -205,7 +231,9 @@ ManagedEnvironmentInner createOrUpdate(
205231
void delete(String resourceGroupName, String environmentName);
206232

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

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

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

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

268302
/**
269-
* Patches a Managed Environment using JSON Merge Patch.
303+
* Update Managed Environment's properties.
304+
*
305+
* <p>Patches a Managed Environment using JSON Merge Patch.
270306
*
271307
* @param resourceGroupName The name of the resource group. The name is case insensitive.
272308
* @param environmentName Name of the Environment.

sdk/appcontainers/azure-resourcemanager-appcontainers/src/main/java/com/azure/resourcemanager/appcontainers/fluent/NamespacesClient.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
/** An instance of this class provides access to all the operations defined in NamespacesClient. */
1515
public interface NamespacesClient {
1616
/**
17-
* Checks if resource name is available.
17+
* Checks the resource name availability.
18+
*
19+
* <p>Checks if resource name is available.
1820
*
1921
* @param resourceGroupName The name of the resource group. The name is case insensitive.
2022
* @param environmentName Name of the Managed Environment.
@@ -30,7 +32,9 @@ CheckNameAvailabilityResponseInner checkNameAvailability(
3032
String resourceGroupName, String environmentName, CheckNameAvailabilityRequest checkNameAvailabilityRequest);
3133

3234
/**
33-
* Checks if resource name is available.
35+
* Checks the resource name availability.
36+
*
37+
* <p>Checks if resource name is available.
3438
*
3539
* @param resourceGroupName The name of the resource group. The name is case insensitive.
3640
* @param environmentName Name of the Managed Environment.

0 commit comments

Comments
 (0)