Skip to content

Commit 286f538

Browse files
author
SDKAuto
committed
CodeGen from PR 19048 in Azure/azure-rest-api-specs
Merge 06a544893c91436345af75fc85f92766dfcd8d61 into 707713445e1cf19b7e7abfbe7b810a91d8b3bee8
1 parent 1043c6b commit 286f538

File tree

144 files changed

+6606
-2000
lines changed

Some content is hidden

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

144 files changed

+6606
-2000
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-12)
4+
5+
- Azure Resource Manager ContainerAppsApi client library for Java. This package contains Microsoft Azure SDK for ContainerAppsApi Management SDK. Package tag package-2022-05. 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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Azure Resource Manager ContainerAppsApi client library for Java.
44

5-
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).
5+
This package contains Microsoft Azure SDK for ContainerAppsApi Management SDK. Package tag package-2022-05. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
66

77
## We'd love to hear your feedback
88

@@ -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/SAMPLE.md

Lines changed: 249 additions & 46 deletions
Large diffs are not rendered by default.

sdk/appcontainers/azure-resourcemanager-appcontainers/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<packaging>jar</packaging>
1414

1515
<name>Microsoft Azure SDK for ContainerAppsApi Management</name>
16-
<description>This package contains Microsoft Azure SDK for ContainerAppsApi Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Package tag package-2022-03.</description>
16+
<description>This package contains Microsoft Azure SDK for ContainerAppsApi Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Package tag package-2022-05.</description>
1717
<url>https://github.com/Azure/azure-sdk-for-java</url>
1818

1919
<licenses>

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

Lines changed: 52 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,29 @@
2727
import com.azure.resourcemanager.appcontainers.implementation.CertificatesImpl;
2828
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsApiClientBuilder;
2929
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsAuthConfigsImpl;
30+
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsDiagnosticsImpl;
3031
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsImpl;
3132
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsRevisionReplicasImpl;
3233
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsRevisionsImpl;
3334
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsSourceControlsImpl;
3435
import com.azure.resourcemanager.appcontainers.implementation.DaprComponentsImpl;
36+
import com.azure.resourcemanager.appcontainers.implementation.ManagedEnvironmentDiagnosticsImpl;
37+
import com.azure.resourcemanager.appcontainers.implementation.ManagedEnvironmentsDiagnosticsImpl;
3538
import com.azure.resourcemanager.appcontainers.implementation.ManagedEnvironmentsImpl;
3639
import com.azure.resourcemanager.appcontainers.implementation.ManagedEnvironmentsStoragesImpl;
3740
import com.azure.resourcemanager.appcontainers.implementation.NamespacesImpl;
3841
import com.azure.resourcemanager.appcontainers.implementation.OperationsImpl;
3942
import com.azure.resourcemanager.appcontainers.models.Certificates;
4043
import com.azure.resourcemanager.appcontainers.models.ContainerApps;
4144
import com.azure.resourcemanager.appcontainers.models.ContainerAppsAuthConfigs;
45+
import com.azure.resourcemanager.appcontainers.models.ContainerAppsDiagnostics;
4246
import com.azure.resourcemanager.appcontainers.models.ContainerAppsRevisionReplicas;
4347
import com.azure.resourcemanager.appcontainers.models.ContainerAppsRevisions;
4448
import com.azure.resourcemanager.appcontainers.models.ContainerAppsSourceControls;
4549
import com.azure.resourcemanager.appcontainers.models.DaprComponents;
50+
import com.azure.resourcemanager.appcontainers.models.ManagedEnvironmentDiagnostics;
4651
import com.azure.resourcemanager.appcontainers.models.ManagedEnvironments;
52+
import com.azure.resourcemanager.appcontainers.models.ManagedEnvironmentsDiagnostics;
4753
import com.azure.resourcemanager.appcontainers.models.ManagedEnvironmentsStorages;
4854
import com.azure.resourcemanager.appcontainers.models.Namespaces;
4955
import com.azure.resourcemanager.appcontainers.models.Operations;
@@ -66,6 +72,12 @@ public final class ContainerAppsApiManager {
6672

6773
private DaprComponents daprComponents;
6874

75+
private ContainerAppsDiagnostics containerAppsDiagnostics;
76+
77+
private ManagedEnvironmentDiagnostics managedEnvironmentDiagnostics;
78+
79+
private ManagedEnvironmentsDiagnostics managedEnvironmentsDiagnostics;
80+
6981
private Operations operations;
7082

7183
private ManagedEnvironments managedEnvironments;
@@ -243,7 +255,7 @@ public ContainerAppsApiManager authenticate(TokenCredential credential, AzurePro
243255
.append("-")
244256
.append("com.azure.resourcemanager.appcontainers")
245257
.append("/")
246-
.append("1.0.0-beta.2");
258+
.append("1.0.0-beta.1");
247259
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
248260
userAgentBuilder
249261
.append(" (")
@@ -363,6 +375,45 @@ public DaprComponents daprComponents() {
363375
return daprComponents;
364376
}
365377

378+
/**
379+
* Gets the resource collection API of ContainerAppsDiagnostics.
380+
*
381+
* @return Resource collection API of ContainerAppsDiagnostics.
382+
*/
383+
public ContainerAppsDiagnostics containerAppsDiagnostics() {
384+
if (this.containerAppsDiagnostics == null) {
385+
this.containerAppsDiagnostics =
386+
new ContainerAppsDiagnosticsImpl(clientObject.getContainerAppsDiagnostics(), this);
387+
}
388+
return containerAppsDiagnostics;
389+
}
390+
391+
/**
392+
* Gets the resource collection API of ManagedEnvironmentDiagnostics.
393+
*
394+
* @return Resource collection API of ManagedEnvironmentDiagnostics.
395+
*/
396+
public ManagedEnvironmentDiagnostics managedEnvironmentDiagnostics() {
397+
if (this.managedEnvironmentDiagnostics == null) {
398+
this.managedEnvironmentDiagnostics =
399+
new ManagedEnvironmentDiagnosticsImpl(clientObject.getManagedEnvironmentDiagnostics(), this);
400+
}
401+
return managedEnvironmentDiagnostics;
402+
}
403+
404+
/**
405+
* Gets the resource collection API of ManagedEnvironmentsDiagnostics.
406+
*
407+
* @return Resource collection API of ManagedEnvironmentsDiagnostics.
408+
*/
409+
public ManagedEnvironmentsDiagnostics managedEnvironmentsDiagnostics() {
410+
if (this.managedEnvironmentsDiagnostics == null) {
411+
this.managedEnvironmentsDiagnostics =
412+
new ManagedEnvironmentsDiagnosticsImpl(clientObject.getManagedEnvironmentsDiagnostics(), this);
413+
}
414+
return managedEnvironmentsDiagnostics;
415+
}
416+
366417
/**
367418
* Gets the resource collection API of Operations.
368419
*

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/ContainerAppsApiClient.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,27 @@ public interface ContainerAppsApiClient {
7979
*/
8080
DaprComponentsClient getDaprComponents();
8181

82+
/**
83+
* Gets the ContainerAppsDiagnosticsClient object to access its operations.
84+
*
85+
* @return the ContainerAppsDiagnosticsClient object.
86+
*/
87+
ContainerAppsDiagnosticsClient getContainerAppsDiagnostics();
88+
89+
/**
90+
* Gets the ManagedEnvironmentDiagnosticsClient object to access its operations.
91+
*
92+
* @return the ManagedEnvironmentDiagnosticsClient object.
93+
*/
94+
ManagedEnvironmentDiagnosticsClient getManagedEnvironmentDiagnostics();
95+
96+
/**
97+
* Gets the ManagedEnvironmentsDiagnosticsClient object to access its operations.
98+
*
99+
* @return the ManagedEnvironmentsDiagnosticsClient object.
100+
*/
101+
ManagedEnvironmentsDiagnosticsClient getManagedEnvironmentsDiagnostics();
102+
82103
/**
83104
* Gets the OperationsClient object to access its operations.
84105
*

0 commit comments

Comments
 (0)