Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR azure-resourcemanager-appcontainers] Add swagger for client cert & CORS policy #2374

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.5 (Unreleased)
## 1.0.0-beta.1 (2022-10-14)

- Azure Resource Manager ContainerAppsApi client library for Java. This package contains Microsoft Azure SDK for ContainerAppsApi Management SDK. Package tag package-2022-10. 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 @@ -2,7 +2,7 @@

Azure Resource Manager ContainerAppsApi client library for Java.

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

## We'd love to hear your feedback

Expand Down 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.4</version>
<version>1.0.0-beta.5</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
366 changes: 192 additions & 174 deletions sdk/appcontainers/azure-resourcemanager-appcontainers/SAMPLE.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<packaging>jar</packaging>

<name>Microsoft Azure SDK for ContainerAppsApi Management</name>
<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-preview-2022-06.</description>
<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-10.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,24 @@
public final class ContainerAppsApiManager {
private ContainerAppsAuthConfigs containerAppsAuthConfigs;

private AvailableWorkloadProfiles availableWorkloadProfiles;

private BillingMeters billingMeters;

private ConnectedEnvironments connectedEnvironments;

private ConnectedEnvironmentsCertificates connectedEnvironmentsCertificates;

private ConnectedEnvironmentsDaprComponents connectedEnvironmentsDaprComponents;

private ConnectedEnvironmentsStorages connectedEnvironmentsStorages;

private ContainerApps containerApps;

private ContainerAppsRevisions containerAppsRevisions;

private ContainerAppsRevisionReplicas containerAppsRevisionReplicas;

private DaprComponents daprComponents;

private ContainerAppsDiagnostics containerAppsDiagnostics;

private ManagedEnvironmentDiagnostics managedEnvironmentDiagnostics;
Expand All @@ -98,22 +108,12 @@ public final class ContainerAppsApiManager {

private Namespaces namespaces;

private DaprComponents daprComponents;

private ManagedEnvironmentsStorages managedEnvironmentsStorages;

private ContainerAppsSourceControls containerAppsSourceControls;

private ConnectedEnvironments connectedEnvironments;

private ConnectedEnvironmentsCertificates connectedEnvironmentsCertificates;

private ConnectedEnvironmentsDaprComponents connectedEnvironmentsDaprComponents;

private ConnectedEnvironmentsStorages connectedEnvironmentsStorages;

private AvailableWorkloadProfiles availableWorkloadProfiles;

private BillingMeters billingMeters;

private final ContainerAppsApiClient clientObject;

private ContainerAppsApiManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
Expand Down Expand Up @@ -279,7 +279,7 @@ public ContainerAppsApiManager authenticate(TokenCredential credential, AzurePro
.append("-")
.append("com.azure.resourcemanager.appcontainers")
.append("/")
.append("1.0.0-beta.4");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down Expand Up @@ -349,6 +349,83 @@ public ContainerAppsAuthConfigs containerAppsAuthConfigs() {
return containerAppsAuthConfigs;
}

/**
* Gets the resource collection API of AvailableWorkloadProfiles.
*
* @return Resource collection API of AvailableWorkloadProfiles.
*/
public AvailableWorkloadProfiles availableWorkloadProfiles() {
if (this.availableWorkloadProfiles == null) {
this.availableWorkloadProfiles =
new AvailableWorkloadProfilesImpl(clientObject.getAvailableWorkloadProfiles(), this);
}
return availableWorkloadProfiles;
}

/**
* Gets the resource collection API of BillingMeters.
*
* @return Resource collection API of BillingMeters.
*/
public BillingMeters billingMeters() {
if (this.billingMeters == null) {
this.billingMeters = new BillingMetersImpl(clientObject.getBillingMeters(), this);
}
return billingMeters;
}

/**
* Gets the resource collection API of ConnectedEnvironments. It manages ConnectedEnvironment.
*
* @return Resource collection API of ConnectedEnvironments.
*/
public ConnectedEnvironments connectedEnvironments() {
if (this.connectedEnvironments == null) {
this.connectedEnvironments = new ConnectedEnvironmentsImpl(clientObject.getConnectedEnvironments(), this);
}
return connectedEnvironments;
}

/**
* Gets the resource collection API of ConnectedEnvironmentsCertificates. It manages Certificate.
*
* @return Resource collection API of ConnectedEnvironmentsCertificates.
*/
public ConnectedEnvironmentsCertificates connectedEnvironmentsCertificates() {
if (this.connectedEnvironmentsCertificates == null) {
this.connectedEnvironmentsCertificates =
new ConnectedEnvironmentsCertificatesImpl(clientObject.getConnectedEnvironmentsCertificates(), this);
}
return connectedEnvironmentsCertificates;
}

/**
* Gets the resource collection API of ConnectedEnvironmentsDaprComponents. It manages DaprComponent.
*
* @return Resource collection API of ConnectedEnvironmentsDaprComponents.
*/
public ConnectedEnvironmentsDaprComponents connectedEnvironmentsDaprComponents() {
if (this.connectedEnvironmentsDaprComponents == null) {
this.connectedEnvironmentsDaprComponents =
new ConnectedEnvironmentsDaprComponentsImpl(
clientObject.getConnectedEnvironmentsDaprComponents(), this);
}
return connectedEnvironmentsDaprComponents;
}

/**
* Gets the resource collection API of ConnectedEnvironmentsStorages. It manages ConnectedEnvironmentStorage.
*
* @return Resource collection API of ConnectedEnvironmentsStorages.
*/
public ConnectedEnvironmentsStorages connectedEnvironmentsStorages() {
if (this.connectedEnvironmentsStorages == null) {
this.connectedEnvironmentsStorages =
new ConnectedEnvironmentsStoragesImpl(clientObject.getConnectedEnvironmentsStorages(), this);
}
return connectedEnvironmentsStorages;
}

/**
* Gets the resource collection API of ContainerApps. It manages ContainerApp.
*
Expand Down Expand Up @@ -387,18 +464,6 @@ public ContainerAppsRevisionReplicas containerAppsRevisionReplicas() {
return containerAppsRevisionReplicas;
}

/**
* Gets the resource collection API of DaprComponents. It manages DaprComponent.
*
* @return Resource collection API of DaprComponents.
*/
public DaprComponents daprComponents() {
if (this.daprComponents == null) {
this.daprComponents = new DaprComponentsImpl(clientObject.getDaprComponents(), this);
}
return daprComponents;
}

/**
* Gets the resource collection API of ContainerAppsDiagnostics.
*
Expand Down Expand Up @@ -463,7 +528,7 @@ public ManagedEnvironments managedEnvironments() {
}

/**
* Gets the resource collection API of Certificates. It manages Certificate.
* Gets the resource collection API of Certificates.
*
* @return Resource collection API of Certificates.
*/
Expand All @@ -486,6 +551,18 @@ public Namespaces namespaces() {
return namespaces;
}

/**
* Gets the resource collection API of DaprComponents.
*
* @return Resource collection API of DaprComponents.
*/
public DaprComponents daprComponents() {
if (this.daprComponents == null) {
this.daprComponents = new DaprComponentsImpl(clientObject.getDaprComponents(), this);
}
return daprComponents;
}

/**
* Gets the resource collection API of ManagedEnvironmentsStorages. It manages ManagedEnvironmentStorage.
*
Expand All @@ -512,83 +589,6 @@ public ContainerAppsSourceControls containerAppsSourceControls() {
return containerAppsSourceControls;
}

/**
* Gets the resource collection API of ConnectedEnvironments. It manages ConnectedEnvironment.
*
* @return Resource collection API of ConnectedEnvironments.
*/
public ConnectedEnvironments connectedEnvironments() {
if (this.connectedEnvironments == null) {
this.connectedEnvironments = new ConnectedEnvironmentsImpl(clientObject.getConnectedEnvironments(), this);
}
return connectedEnvironments;
}

/**
* Gets the resource collection API of ConnectedEnvironmentsCertificates.
*
* @return Resource collection API of ConnectedEnvironmentsCertificates.
*/
public ConnectedEnvironmentsCertificates connectedEnvironmentsCertificates() {
if (this.connectedEnvironmentsCertificates == null) {
this.connectedEnvironmentsCertificates =
new ConnectedEnvironmentsCertificatesImpl(clientObject.getConnectedEnvironmentsCertificates(), this);
}
return connectedEnvironmentsCertificates;
}

/**
* Gets the resource collection API of ConnectedEnvironmentsDaprComponents.
*
* @return Resource collection API of ConnectedEnvironmentsDaprComponents.
*/
public ConnectedEnvironmentsDaprComponents connectedEnvironmentsDaprComponents() {
if (this.connectedEnvironmentsDaprComponents == null) {
this.connectedEnvironmentsDaprComponents =
new ConnectedEnvironmentsDaprComponentsImpl(
clientObject.getConnectedEnvironmentsDaprComponents(), this);
}
return connectedEnvironmentsDaprComponents;
}

/**
* Gets the resource collection API of ConnectedEnvironmentsStorages. It manages ConnectedEnvironmentStorage.
*
* @return Resource collection API of ConnectedEnvironmentsStorages.
*/
public ConnectedEnvironmentsStorages connectedEnvironmentsStorages() {
if (this.connectedEnvironmentsStorages == null) {
this.connectedEnvironmentsStorages =
new ConnectedEnvironmentsStoragesImpl(clientObject.getConnectedEnvironmentsStorages(), this);
}
return connectedEnvironmentsStorages;
}

/**
* Gets the resource collection API of AvailableWorkloadProfiles.
*
* @return Resource collection API of AvailableWorkloadProfiles.
*/
public AvailableWorkloadProfiles availableWorkloadProfiles() {
if (this.availableWorkloadProfiles == null) {
this.availableWorkloadProfiles =
new AvailableWorkloadProfilesImpl(clientObject.getAvailableWorkloadProfiles(), this);
}
return availableWorkloadProfiles;
}

/**
* Gets the resource collection API of BillingMeters.
*
* @return Resource collection API of BillingMeters.
*/
public BillingMeters billingMeters() {
if (this.billingMeters == null) {
this.billingMeters = new BillingMetersImpl(clientObject.getBillingMeters(), this);
}
return billingMeters;
}

/**
* @return Wrapped service client ContainerAppsApiClient providing direct access to the underlying auto-generated
* API implementation, based on Azure REST API.
Expand Down
Loading