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 traffic info to revisions api #462

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.4 (Unreleased)
## 1.0.0-beta.1 (2022-06-03)

- 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).

### 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-2022-03. 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-05. 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.3</version>
<version>1.0.0-beta.4</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
295 changes: 249 additions & 46 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-2022-03.</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-05.</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 @@ -27,23 +27,29 @@
import com.azure.resourcemanager.appcontainers.implementation.CertificatesImpl;
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsApiClientBuilder;
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsAuthConfigsImpl;
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsDiagnosticsImpl;
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsImpl;
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsRevisionReplicasImpl;
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsRevisionsImpl;
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsSourceControlsImpl;
import com.azure.resourcemanager.appcontainers.implementation.DaprComponentsImpl;
import com.azure.resourcemanager.appcontainers.implementation.ManagedEnvironmentDiagnosticsImpl;
import com.azure.resourcemanager.appcontainers.implementation.ManagedEnvironmentsDiagnosticsImpl;
import com.azure.resourcemanager.appcontainers.implementation.ManagedEnvironmentsImpl;
import com.azure.resourcemanager.appcontainers.implementation.ManagedEnvironmentsStoragesImpl;
import com.azure.resourcemanager.appcontainers.implementation.NamespacesImpl;
import com.azure.resourcemanager.appcontainers.implementation.OperationsImpl;
import com.azure.resourcemanager.appcontainers.models.Certificates;
import com.azure.resourcemanager.appcontainers.models.ContainerApps;
import com.azure.resourcemanager.appcontainers.models.ContainerAppsAuthConfigs;
import com.azure.resourcemanager.appcontainers.models.ContainerAppsDiagnostics;
import com.azure.resourcemanager.appcontainers.models.ContainerAppsRevisionReplicas;
import com.azure.resourcemanager.appcontainers.models.ContainerAppsRevisions;
import com.azure.resourcemanager.appcontainers.models.ContainerAppsSourceControls;
import com.azure.resourcemanager.appcontainers.models.DaprComponents;
import com.azure.resourcemanager.appcontainers.models.ManagedEnvironmentDiagnostics;
import com.azure.resourcemanager.appcontainers.models.ManagedEnvironments;
import com.azure.resourcemanager.appcontainers.models.ManagedEnvironmentsDiagnostics;
import com.azure.resourcemanager.appcontainers.models.ManagedEnvironmentsStorages;
import com.azure.resourcemanager.appcontainers.models.Namespaces;
import com.azure.resourcemanager.appcontainers.models.Operations;
Expand All @@ -66,6 +72,12 @@ public final class ContainerAppsApiManager {

private DaprComponents daprComponents;

private ContainerAppsDiagnostics containerAppsDiagnostics;

private ManagedEnvironmentDiagnostics managedEnvironmentDiagnostics;

private ManagedEnvironmentsDiagnostics managedEnvironmentsDiagnostics;

private Operations operations;

private ManagedEnvironments managedEnvironments;
Expand Down Expand Up @@ -243,7 +255,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 Expand Up @@ -363,6 +375,45 @@ public DaprComponents daprComponents() {
return daprComponents;
}

/**
* Gets the resource collection API of ContainerAppsDiagnostics.
*
* @return Resource collection API of ContainerAppsDiagnostics.
*/
public ContainerAppsDiagnostics containerAppsDiagnostics() {
if (this.containerAppsDiagnostics == null) {
this.containerAppsDiagnostics =
new ContainerAppsDiagnosticsImpl(clientObject.getContainerAppsDiagnostics(), this);
}
return containerAppsDiagnostics;
}

/**
* Gets the resource collection API of ManagedEnvironmentDiagnostics.
*
* @return Resource collection API of ManagedEnvironmentDiagnostics.
*/
public ManagedEnvironmentDiagnostics managedEnvironmentDiagnostics() {
if (this.managedEnvironmentDiagnostics == null) {
this.managedEnvironmentDiagnostics =
new ManagedEnvironmentDiagnosticsImpl(clientObject.getManagedEnvironmentDiagnostics(), this);
}
return managedEnvironmentDiagnostics;
}

/**
* Gets the resource collection API of ManagedEnvironmentsDiagnostics.
*
* @return Resource collection API of ManagedEnvironmentsDiagnostics.
*/
public ManagedEnvironmentsDiagnostics managedEnvironmentsDiagnostics() {
if (this.managedEnvironmentsDiagnostics == null) {
this.managedEnvironmentsDiagnostics =
new ManagedEnvironmentsDiagnosticsImpl(clientObject.getManagedEnvironmentsDiagnostics(), this);
}
return managedEnvironmentsDiagnostics;
}

/**
* Gets the resource collection API of Operations.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,27 @@ public interface ContainerAppsApiClient {
*/
DaprComponentsClient getDaprComponents();

/**
* Gets the ContainerAppsDiagnosticsClient object to access its operations.
*
* @return the ContainerAppsDiagnosticsClient object.
*/
ContainerAppsDiagnosticsClient getContainerAppsDiagnostics();

/**
* Gets the ManagedEnvironmentDiagnosticsClient object to access its operations.
*
* @return the ManagedEnvironmentDiagnosticsClient object.
*/
ManagedEnvironmentDiagnosticsClient getManagedEnvironmentDiagnostics();

/**
* Gets the ManagedEnvironmentsDiagnosticsClient object to access its operations.
*
* @return the ManagedEnvironmentsDiagnosticsClient object.
*/
ManagedEnvironmentsDiagnosticsClient getManagedEnvironmentsDiagnostics();

/**
* Gets the OperationsClient object to access its operations.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Response<AuthConfigInner> getWithResponse(
String resourceGroupName, String containerAppName, String authConfigName, Context context);

/**
* Create or update the AuthConfig for a Container App.
* Description for Create or update the AuthConfig for a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
Expand All @@ -93,7 +93,7 @@ AuthConfigInner createOrUpdate(
String resourceGroupName, String containerAppName, String authConfigName, AuthConfigInner authConfigEnvelope);

/**
* Create or update the AuthConfig for a Container App.
* Description for Create or update the AuthConfig for a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
Expand All @@ -116,7 +116,7 @@ Response<AuthConfigInner> createOrUpdateWithResponse(
Context context);

/**
* Delete a Container App AuthConfig.
* Description for Delete a Container App AuthConfig.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
Expand All @@ -130,7 +130,7 @@ Response<AuthConfigInner> createOrUpdateWithResponse(
void delete(String resourceGroupName, String containerAppName, String authConfigName);

/**
* Delete a Container App AuthConfig.
* Description for Delete a Container App AuthConfig.
*
* @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 @@ -97,7 +97,7 @@ Response<ContainerAppInner> getByResourceGroupWithResponse(
String resourceGroupName, String containerAppName, Context context);

/**
* Create or update a Container App.
* Description for Create or update a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
Expand All @@ -113,7 +113,7 @@ SyncPoller<PollResult<ContainerAppInner>, ContainerAppInner> beginCreateOrUpdate
String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope);

/**
* Create or update a Container App.
* Description for Create or update a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
Expand All @@ -130,7 +130,7 @@ SyncPoller<PollResult<ContainerAppInner>, ContainerAppInner> beginCreateOrUpdate
String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope, Context context);

/**
* Create or update a Container App.
* Description for Create or update a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
Expand All @@ -146,7 +146,7 @@ ContainerAppInner createOrUpdate(
String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope);

/**
* Create or update a Container App.
* Description for Create or update a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
Expand All @@ -163,7 +163,7 @@ ContainerAppInner createOrUpdate(
String resourceGroupName, String containerAppName, ContainerAppInner containerAppEnvelope, Context context);

/**
* Delete a Container App.
* Description for Delete a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
Expand All @@ -177,7 +177,7 @@ ContainerAppInner createOrUpdate(
SyncPoller<PollResult<Void>, Void> beginDelete(String resourceGroupName, String containerAppName);

/**
* Delete a Container App.
* Description for Delete a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
Expand All @@ -192,7 +192,7 @@ ContainerAppInner createOrUpdate(
SyncPoller<PollResult<Void>, Void> beginDelete(String resourceGroupName, String containerAppName, Context context);

/**
* Delete a Container App.
* Description for Delete a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
Expand All @@ -205,7 +205,7 @@ ContainerAppInner createOrUpdate(
void delete(String resourceGroupName, String containerAppName);

/**
* Delete a Container App.
* Description for Delete a Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App.
Expand Down
Loading