Skip to content

Commit 0ae000c

Browse files
author
SDKAuto
committed
CodeGen from PR 19133 in Azure/azure-rest-api-specs
Merge af0952425f0a9addae574dcc3103df7e50e152f5 into a8a52b9e6c305f03c3a4c5411d59fc4454b5b372
1 parent 2b9b3de commit 0ae000c

File tree

58 files changed

+1970
-1821
lines changed

Some content is hidden

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

58 files changed

+1970
-1821
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.3 (Unreleased)
3+
## 1.0.0-beta.1 (2022-05-20)
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.2</version>
35+
<version>1.0.0-beta.3</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})

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

Lines changed: 8 additions & 8 deletions
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.2");
246+
.append("1.0.0-beta.1");
247247
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
248248
userAgentBuilder
249249
.append(" (")
@@ -301,7 +301,7 @@ public ContainerAppsApiManager authenticate(TokenCredential credential, AzurePro
301301
}
302302

303303
/**
304-
* Gets the resource collection API of ContainerAppsAuthConfigs.
304+
* Gets the resource collection API of ContainerAppsAuthConfigs. It manages AuthConfig.
305305
*
306306
* @return Resource collection API of ContainerAppsAuthConfigs.
307307
*/
@@ -314,7 +314,7 @@ public ContainerAppsAuthConfigs containerAppsAuthConfigs() {
314314
}
315315

316316
/**
317-
* Gets the resource collection API of ContainerApps.
317+
* Gets the resource collection API of ContainerApps. It manages ContainerApp.
318318
*
319319
* @return Resource collection API of ContainerApps.
320320
*/
@@ -352,7 +352,7 @@ public ContainerAppsRevisionReplicas containerAppsRevisionReplicas() {
352352
}
353353

354354
/**
355-
* Gets the resource collection API of DaprComponents.
355+
* Gets the resource collection API of DaprComponents. It manages DaprComponent.
356356
*
357357
* @return Resource collection API of DaprComponents.
358358
*/
@@ -376,7 +376,7 @@ public Operations operations() {
376376
}
377377

378378
/**
379-
* Gets the resource collection API of ManagedEnvironments.
379+
* Gets the resource collection API of ManagedEnvironments. It manages ManagedEnvironment.
380380
*
381381
* @return Resource collection API of ManagedEnvironments.
382382
*/
@@ -388,7 +388,7 @@ public ManagedEnvironments managedEnvironments() {
388388
}
389389

390390
/**
391-
* Gets the resource collection API of Certificates.
391+
* Gets the resource collection API of Certificates. It manages Certificate.
392392
*
393393
* @return Resource collection API of Certificates.
394394
*/
@@ -412,7 +412,7 @@ public Namespaces namespaces() {
412412
}
413413

414414
/**
415-
* Gets the resource collection API of ManagedEnvironmentsStorages.
415+
* Gets the resource collection API of ManagedEnvironmentsStorages. It manages ManagedEnvironmentStorage.
416416
*
417417
* @return Resource collection API of ManagedEnvironmentsStorages.
418418
*/
@@ -425,7 +425,7 @@ public ManagedEnvironmentsStorages managedEnvironmentsStorages() {
425425
}
426426

427427
/**
428-
* Gets the resource collection API of ContainerAppsSourceControls.
428+
* Gets the resource collection API of ContainerAppsSourceControls. It manages SourceControl.
429429
*
430430
* @return Resource collection API of ContainerAppsSourceControls.
431431
*/

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

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,21 @@ public interface CertificatesClient {
1818
* Get the Certificates in a given managed environment.
1919
*
2020
* @param resourceGroupName The name of the resource group. The name is case insensitive.
21-
* @param managedEnvironmentName Name of the Managed Environment.
21+
* @param environmentName Name of the Managed Environment.
2222
* @throws IllegalArgumentException thrown if parameters fail the validation.
2323
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
2424
* is rejected by server.
2525
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
2626
* @return the Certificates in a given managed environment as paginated response with {@link PagedIterable}.
2727
*/
2828
@ServiceMethod(returns = ReturnType.COLLECTION)
29-
PagedIterable<CertificateInner> list(String resourceGroupName, String managedEnvironmentName);
29+
PagedIterable<CertificateInner> list(String resourceGroupName, String environmentName);
3030

3131
/**
3232
* Get the Certificates in a given managed environment.
3333
*
3434
* @param resourceGroupName The name of the resource group. The name is case insensitive.
35-
* @param managedEnvironmentName Name of the Managed Environment.
35+
* @param environmentName Name of the Managed Environment.
3636
* @param context The context to associate with this operation.
3737
* @throws IllegalArgumentException thrown if parameters fail the validation.
3838
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -41,29 +41,29 @@ public interface CertificatesClient {
4141
* @return the Certificates in a given managed environment as paginated response with {@link PagedIterable}.
4242
*/
4343
@ServiceMethod(returns = ReturnType.COLLECTION)
44-
PagedIterable<CertificateInner> list(String resourceGroupName, String managedEnvironmentName, Context context);
44+
PagedIterable<CertificateInner> list(String resourceGroupName, String environmentName, Context context);
4545

4646
/**
4747
* Get the specified Certificate.
4848
*
4949
* @param resourceGroupName The name of the resource group. The name is case insensitive.
50-
* @param managedEnvironmentName Name of the Managed Environment.
51-
* @param name Name of the Certificate.
50+
* @param environmentName Name of the Managed Environment.
51+
* @param certificateName Name of the Certificate.
5252
* @throws IllegalArgumentException thrown if parameters fail the validation.
5353
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
5454
* is rejected by server.
5555
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
5656
* @return the specified Certificate.
5757
*/
5858
@ServiceMethod(returns = ReturnType.SINGLE)
59-
CertificateInner get(String resourceGroupName, String managedEnvironmentName, String name);
59+
CertificateInner get(String resourceGroupName, String environmentName, String certificateName);
6060

6161
/**
6262
* Get the specified Certificate.
6363
*
6464
* @param resourceGroupName The name of the resource group. The name is case insensitive.
65-
* @param managedEnvironmentName Name of the Managed Environment.
66-
* @param name Name of the Certificate.
65+
* @param environmentName Name of the Managed Environment.
66+
* @param certificateName Name of the Certificate.
6767
* @param context The context to associate with this operation.
6868
* @throws IllegalArgumentException thrown if parameters fail the validation.
6969
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -73,29 +73,29 @@ public interface CertificatesClient {
7373
*/
7474
@ServiceMethod(returns = ReturnType.SINGLE)
7575
Response<CertificateInner> getWithResponse(
76-
String resourceGroupName, String managedEnvironmentName, String name, Context context);
76+
String resourceGroupName, String environmentName, String certificateName, Context context);
7777

7878
/**
7979
* Create or Update a Certificate.
8080
*
8181
* @param resourceGroupName The name of the resource group. The name is case insensitive.
82-
* @param managedEnvironmentName Name of the Managed Environment.
83-
* @param name Name of the Certificate.
82+
* @param environmentName Name of the Managed Environment.
83+
* @param certificateName Name of the Certificate.
8484
* @throws IllegalArgumentException thrown if parameters fail the validation.
8585
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
8686
* is rejected by server.
8787
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
8888
* @return certificate used for Custom Domain bindings of Container Apps in a Managed Environment.
8989
*/
9090
@ServiceMethod(returns = ReturnType.SINGLE)
91-
CertificateInner createOrUpdate(String resourceGroupName, String managedEnvironmentName, String name);
91+
CertificateInner createOrUpdate(String resourceGroupName, String environmentName, String certificateName);
9292

9393
/**
9494
* Create or Update a Certificate.
9595
*
9696
* @param resourceGroupName The name of the resource group. The name is case insensitive.
97-
* @param managedEnvironmentName Name of the Managed Environment.
98-
* @param name Name of the Certificate.
97+
* @param environmentName Name of the Managed Environment.
98+
* @param certificateName Name of the Certificate.
9999
* @param certificateEnvelope Certificate to be created or updated.
100100
* @param context The context to associate with this operation.
101101
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -108,31 +108,31 @@ Response<CertificateInner> getWithResponse(
108108
@ServiceMethod(returns = ReturnType.SINGLE)
109109
Response<CertificateInner> createOrUpdateWithResponse(
110110
String resourceGroupName,
111-
String managedEnvironmentName,
112-
String name,
111+
String environmentName,
112+
String certificateName,
113113
CertificateInner certificateEnvelope,
114114
Context context);
115115

116116
/**
117117
* Deletes the specified Certificate.
118118
*
119119
* @param resourceGroupName The name of the resource group. The name is case insensitive.
120-
* @param managedEnvironmentName Name of the Managed Environment.
121-
* @param name Name of the Certificate.
120+
* @param environmentName Name of the Managed Environment.
121+
* @param certificateName Name of the Certificate.
122122
* @throws IllegalArgumentException thrown if parameters fail the validation.
123123
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
124124
* is rejected by server.
125125
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
126126
*/
127127
@ServiceMethod(returns = ReturnType.SINGLE)
128-
void delete(String resourceGroupName, String managedEnvironmentName, String name);
128+
void delete(String resourceGroupName, String environmentName, String certificateName);
129129

130130
/**
131131
* Deletes the specified Certificate.
132132
*
133133
* @param resourceGroupName The name of the resource group. The name is case insensitive.
134-
* @param managedEnvironmentName Name of the Managed Environment.
135-
* @param name Name of the Certificate.
134+
* @param environmentName Name of the Managed Environment.
135+
* @param certificateName Name of the Certificate.
136136
* @param context The context to associate with this operation.
137137
* @throws IllegalArgumentException thrown if parameters fail the validation.
138138
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -142,14 +142,14 @@ Response<CertificateInner> createOrUpdateWithResponse(
142142
*/
143143
@ServiceMethod(returns = ReturnType.SINGLE)
144144
Response<Void> deleteWithResponse(
145-
String resourceGroupName, String managedEnvironmentName, String name, Context context);
145+
String resourceGroupName, String environmentName, String certificateName, Context context);
146146

147147
/**
148148
* Patches a certificate. Currently only patching of tags is supported.
149149
*
150150
* @param resourceGroupName The name of the resource group. The name is case insensitive.
151-
* @param managedEnvironmentName Name of the Managed Environment.
152-
* @param name Name of the Certificate.
151+
* @param environmentName Name of the Managed Environment.
152+
* @param certificateName Name of the Certificate.
153153
* @param certificateEnvelope Properties of a certificate that need to be updated.
154154
* @throws IllegalArgumentException thrown if parameters fail the validation.
155155
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -159,14 +159,14 @@ Response<Void> deleteWithResponse(
159159
*/
160160
@ServiceMethod(returns = ReturnType.SINGLE)
161161
CertificateInner update(
162-
String resourceGroupName, String managedEnvironmentName, String name, CertificatePatch certificateEnvelope);
162+
String resourceGroupName, String environmentName, String certificateName, CertificatePatch certificateEnvelope);
163163

164164
/**
165165
* Patches a certificate. Currently only patching of tags is supported.
166166
*
167167
* @param resourceGroupName The name of the resource group. The name is case insensitive.
168-
* @param managedEnvironmentName Name of the Managed Environment.
169-
* @param name Name of the Certificate.
168+
* @param environmentName Name of the Managed Environment.
169+
* @param certificateName Name of the Certificate.
170170
* @param certificateEnvelope Properties of a certificate that need to be updated.
171171
* @param context The context to associate with this operation.
172172
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -179,8 +179,8 @@ CertificateInner update(
179179
@ServiceMethod(returns = ReturnType.SINGLE)
180180
Response<CertificateInner> updateWithResponse(
181181
String resourceGroupName,
182-
String managedEnvironmentName,
183-
String name,
182+
String environmentName,
183+
String certificateName,
184184
CertificatePatch certificateEnvelope,
185185
Context context);
186186
}

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

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -48,22 +48,22 @@ PagedIterable<AuthConfigInner> listByContainerApp(
4848
*
4949
* @param resourceGroupName The name of the resource group. The name is case insensitive.
5050
* @param containerAppName Name of the Container App.
51-
* @param name Name of the Container App AuthConfig.
51+
* @param authConfigName Name of the Container App AuthConfig.
5252
* @throws IllegalArgumentException thrown if parameters fail the validation.
5353
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
5454
* is rejected by server.
5555
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
5656
* @return a AuthConfig of a Container App.
5757
*/
5858
@ServiceMethod(returns = ReturnType.SINGLE)
59-
AuthConfigInner get(String resourceGroupName, String containerAppName, String name);
59+
AuthConfigInner get(String resourceGroupName, String containerAppName, String authConfigName);
6060

6161
/**
6262
* Get a AuthConfig of a Container App.
6363
*
6464
* @param resourceGroupName The name of the resource group. The name is case insensitive.
6565
* @param containerAppName Name of the Container App.
66-
* @param name Name of the Container App AuthConfig.
66+
* @param authConfigName Name of the Container App AuthConfig.
6767
* @param context The context to associate with this operation.
6868
* @throws IllegalArgumentException thrown if parameters fail the validation.
6969
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -73,14 +73,14 @@ PagedIterable<AuthConfigInner> listByContainerApp(
7373
*/
7474
@ServiceMethod(returns = ReturnType.SINGLE)
7575
Response<AuthConfigInner> getWithResponse(
76-
String resourceGroupName, String containerAppName, String name, Context context);
76+
String resourceGroupName, String containerAppName, String authConfigName, Context context);
7777

7878
/**
79-
* Description for Create or update the AuthConfig for a Container App.
79+
* Create or update the AuthConfig for a Container App.
8080
*
8181
* @param resourceGroupName The name of the resource group. The name is case insensitive.
8282
* @param containerAppName Name of the Container App.
83-
* @param name Name of the Container App AuthConfig.
83+
* @param authConfigName Name of the Container App AuthConfig.
8484
* @param authConfigEnvelope Properties used to create a Container App AuthConfig.
8585
* @throws IllegalArgumentException thrown if parameters fail the validation.
8686
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -90,14 +90,14 @@ Response<AuthConfigInner> getWithResponse(
9090
*/
9191
@ServiceMethod(returns = ReturnType.SINGLE)
9292
AuthConfigInner createOrUpdate(
93-
String resourceGroupName, String containerAppName, String name, AuthConfigInner authConfigEnvelope);
93+
String resourceGroupName, String containerAppName, String authConfigName, AuthConfigInner authConfigEnvelope);
9494

9595
/**
96-
* Description for Create or update the AuthConfig for a Container App.
96+
* Create or update the AuthConfig for a Container App.
9797
*
9898
* @param resourceGroupName The name of the resource group. The name is case insensitive.
9999
* @param containerAppName Name of the Container App.
100-
* @param name Name of the Container App AuthConfig.
100+
* @param authConfigName Name of the Container App AuthConfig.
101101
* @param authConfigEnvelope Properties used to create a Container App AuthConfig.
102102
* @param context The context to associate with this operation.
103103
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -111,30 +111,30 @@ AuthConfigInner createOrUpdate(
111111
Response<AuthConfigInner> createOrUpdateWithResponse(
112112
String resourceGroupName,
113113
String containerAppName,
114-
String name,
114+
String authConfigName,
115115
AuthConfigInner authConfigEnvelope,
116116
Context context);
117117

118118
/**
119-
* Description for Delete a Container App AuthConfig.
119+
* Delete a Container App AuthConfig.
120120
*
121121
* @param resourceGroupName The name of the resource group. The name is case insensitive.
122122
* @param containerAppName Name of the Container App.
123-
* @param name Name of the Container App AuthConfig.
123+
* @param authConfigName Name of the Container App AuthConfig.
124124
* @throws IllegalArgumentException thrown if parameters fail the validation.
125125
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
126126
* is rejected by server.
127127
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
128128
*/
129129
@ServiceMethod(returns = ReturnType.SINGLE)
130-
void delete(String resourceGroupName, String containerAppName, String name);
130+
void delete(String resourceGroupName, String containerAppName, String authConfigName);
131131

132132
/**
133-
* Description for Delete a Container App AuthConfig.
133+
* Delete a Container App AuthConfig.
134134
*
135135
* @param resourceGroupName The name of the resource group. The name is case insensitive.
136136
* @param containerAppName Name of the Container App.
137-
* @param name Name of the Container App AuthConfig.
137+
* @param authConfigName Name of the Container App AuthConfig.
138138
* @param context The context to associate with this operation.
139139
* @throws IllegalArgumentException thrown if parameters fail the validation.
140140
* @throws com.azure.resourcemanager.appcontainers.models.DefaultErrorResponseErrorException thrown if the request
@@ -143,5 +143,6 @@ Response<AuthConfigInner> createOrUpdateWithResponse(
143143
* @return the {@link Response}.
144144
*/
145145
@ServiceMethod(returns = ReturnType.SINGLE)
146-
Response<Void> deleteWithResponse(String resourceGroupName, String containerAppName, String name, Context context);
146+
Response<Void> deleteWithResponse(
147+
String resourceGroupName, String containerAppName, String authConfigName, Context context);
147148
}

0 commit comments

Comments
 (0)