Skip to content
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.8 (Unreleased)
## 1.0.0-beta.1 (2024-04-04)

- Azure Resource Manager ContainerAppsApi client library for Java. This package contains Microsoft Azure SDK for ContainerAppsApi Management SDK. Functions is an extension resource to revisions and the api listed is used to proxy the call from Web RP to the function app's host process, this api is not exposed to users and only Web RP is allowed to invoke functions extension resource. Package tag package-preview-2024-02. 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-2023-11. 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. Functions is an extension resource to revisions and the api listed is used to proxy the call from Web RP to the function app's host process, this api is not exposed to users and only Web RP is allowed to invoke functions extension resource. Package tag package-preview-2024-02. 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.7</version>
<version>1.0.0-beta.8</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
829 changes: 621 additions & 208 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 @@ -18,7 +18,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-2023-11.</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. Functions is an extension resource to revisions and the api listed is used to proxy the call from Web RP to the function app's host process, this api is not exposed to users and only Web RP is allowed to invoke functions extension resource. Package tag package-preview-2024-02.</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 @@ -38,15 +38,19 @@
import com.azure.resourcemanager.appcontainers.implementation.ConnectedEnvironmentsStoragesImpl;
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsApiClientBuilder;
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsAuthConfigsImpl;
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsBuildsByContainerAppsImpl;
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsBuildsImpl;
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsDiagnosticsImpl;
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsImpl;
import com.azure.resourcemanager.appcontainers.implementation.ContainerAppsPatchesImpl;
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.DaprComponentResiliencyPoliciesImpl;
import com.azure.resourcemanager.appcontainers.implementation.DaprComponentsImpl;
import com.azure.resourcemanager.appcontainers.implementation.DaprSubscriptionsImpl;
import com.azure.resourcemanager.appcontainers.implementation.DotNetComponentsImpl;
import com.azure.resourcemanager.appcontainers.implementation.FunctionsExtensionsImpl;
import com.azure.resourcemanager.appcontainers.implementation.JavaComponentsImpl;
import com.azure.resourcemanager.appcontainers.implementation.JobsExecutionsImpl;
import com.azure.resourcemanager.appcontainers.implementation.JobsImpl;
Expand Down Expand Up @@ -74,14 +78,18 @@
import com.azure.resourcemanager.appcontainers.models.ConnectedEnvironmentsStorages;
import com.azure.resourcemanager.appcontainers.models.ContainerApps;
import com.azure.resourcemanager.appcontainers.models.ContainerAppsAuthConfigs;
import com.azure.resourcemanager.appcontainers.models.ContainerAppsBuilds;
import com.azure.resourcemanager.appcontainers.models.ContainerAppsBuildsByContainerApps;
import com.azure.resourcemanager.appcontainers.models.ContainerAppsDiagnostics;
import com.azure.resourcemanager.appcontainers.models.ContainerAppsPatches;
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.DaprComponentResiliencyPolicies;
import com.azure.resourcemanager.appcontainers.models.DaprComponents;
import com.azure.resourcemanager.appcontainers.models.DaprSubscriptions;
import com.azure.resourcemanager.appcontainers.models.DotNetComponents;
import com.azure.resourcemanager.appcontainers.models.FunctionsExtensions;
import com.azure.resourcemanager.appcontainers.models.JavaComponents;
import com.azure.resourcemanager.appcontainers.models.Jobs;
import com.azure.resourcemanager.appcontainers.models.JobsExecutions;
Expand All @@ -104,6 +112,9 @@

/**
* Entry point to ContainerAppsApiManager.
* Functions is an extension resource to revisions and the api listed is used to proxy the call from Web RP to the
* function app's host process, this api is not exposed to users and only Web RP is allowed to invoke functions
* extension resource.
*/
public final class ContainerAppsApiManager {
private AppResiliencies appResiliencies;
Expand Down Expand Up @@ -136,6 +147,12 @@ public final class ContainerAppsApiManager {

private ContainerAppsRevisionReplicas containerAppsRevisionReplicas;

private ContainerAppsBuildsByContainerApps containerAppsBuildsByContainerApps;

private ContainerAppsBuilds containerAppsBuilds;

private ContainerAppsPatches containerAppsPatches;

private ContainerAppsDiagnostics containerAppsDiagnostics;

private ManagedEnvironmentDiagnostics managedEnvironmentDiagnostics;
Expand All @@ -144,8 +161,12 @@ public final class ContainerAppsApiManager {

private Jobs jobs;

private DotNetComponents dotNetComponents;

private Operations operations;

private JavaComponents javaComponents;

private JobsExecutions jobsExecutions;

private ResourceProviders resourceProviders;
Expand All @@ -172,9 +193,7 @@ public final class ContainerAppsApiManager {

private ManagedEnvironmentUsages managedEnvironmentUsages;

private JavaComponents javaComponents;

private DotNetComponents dotNetComponents;
private FunctionsExtensions functionsExtensions;

private final ContainerAppsApiClient clientObject;

Expand Down Expand Up @@ -335,7 +354,7 @@ public ContainerAppsApiManager authenticate(TokenCredential credential, AzurePro

StringBuilder userAgentBuilder = new StringBuilder();
userAgentBuilder.append("azsdk-java").append("-").append("com.azure.resourcemanager.appcontainers")
.append("/").append("1.0.0-beta.7");
.append("/").append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder.append(" (").append(Configuration.getGlobalConfiguration().get("java.version"))
.append("; ").append(Configuration.getGlobalConfiguration().get("os.name")).append("; ")
Expand Down Expand Up @@ -562,6 +581,43 @@ public ContainerAppsRevisionReplicas containerAppsRevisionReplicas() {
return containerAppsRevisionReplicas;
}

/**
* Gets the resource collection API of ContainerAppsBuildsByContainerApps.
*
* @return Resource collection API of ContainerAppsBuildsByContainerApps.
*/
public ContainerAppsBuildsByContainerApps containerAppsBuildsByContainerApps() {
if (this.containerAppsBuildsByContainerApps == null) {
this.containerAppsBuildsByContainerApps = new ContainerAppsBuildsByContainerAppsImpl(
clientObject.getContainerAppsBuildsByContainerApps(), this);
}
return containerAppsBuildsByContainerApps;
}

/**
* Gets the resource collection API of ContainerAppsBuilds.
*
* @return Resource collection API of ContainerAppsBuilds.
*/
public ContainerAppsBuilds containerAppsBuilds() {
if (this.containerAppsBuilds == null) {
this.containerAppsBuilds = new ContainerAppsBuildsImpl(clientObject.getContainerAppsBuilds(), this);
}
return containerAppsBuilds;
}

/**
* Gets the resource collection API of ContainerAppsPatches.
*
* @return Resource collection API of ContainerAppsPatches.
*/
public ContainerAppsPatches containerAppsPatches() {
if (this.containerAppsPatches == null) {
this.containerAppsPatches = new ContainerAppsPatchesImpl(clientObject.getContainerAppsPatches(), this);
}
return containerAppsPatches;
}

/**
* Gets the resource collection API of ContainerAppsDiagnostics.
*
Expand Down Expand Up @@ -613,6 +669,18 @@ public Jobs jobs() {
return jobs;
}

/**
* Gets the resource collection API of DotNetComponents. It manages DotNetComponent.
*
* @return Resource collection API of DotNetComponents.
*/
public DotNetComponents dotNetComponents() {
if (this.dotNetComponents == null) {
this.dotNetComponents = new DotNetComponentsImpl(clientObject.getDotNetComponents(), this);
}
return dotNetComponents;
}

/**
* Gets the resource collection API of Operations.
*
Expand All @@ -625,6 +693,18 @@ public Operations operations() {
return operations;
}

/**
* Gets the resource collection API of JavaComponents. It manages JavaComponent.
*
* @return Resource collection API of JavaComponents.
*/
public JavaComponents javaComponents() {
if (this.javaComponents == null) {
this.javaComponents = new JavaComponentsImpl(clientObject.getJavaComponents(), this);
}
return javaComponents;
}

/**
* Gets the resource collection API of JobsExecutions.
*
Expand Down Expand Up @@ -786,27 +866,15 @@ public ManagedEnvironmentUsages managedEnvironmentUsages() {
}

/**
* Gets the resource collection API of JavaComponents. It manages JavaComponent.
* Gets the resource collection API of FunctionsExtensions.
*
* @return Resource collection API of JavaComponents.
* @return Resource collection API of FunctionsExtensions.
*/
public JavaComponents javaComponents() {
if (this.javaComponents == null) {
this.javaComponents = new JavaComponentsImpl(clientObject.getJavaComponents(), this);
public FunctionsExtensions functionsExtensions() {
if (this.functionsExtensions == null) {
this.functionsExtensions = new FunctionsExtensionsImpl(clientObject.getFunctionsExtensions(), this);
}
return javaComponents;
}

/**
* Gets the resource collection API of DotNetComponents. It manages DotNetComponent.
*
* @return Resource collection API of DotNetComponents.
*/
public DotNetComponents dotNetComponents() {
if (this.dotNetComponents == null) {
this.dotNetComponents = new DotNetComponentsImpl(clientObject.getDotNetComponents(), this);
}
return dotNetComponents;
return functionsExtensions;
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,27 @@ public interface ContainerAppsApiClient {
*/
ContainerAppsRevisionReplicasClient getContainerAppsRevisionReplicas();

/**
* Gets the ContainerAppsBuildsByContainerAppsClient object to access its operations.
*
* @return the ContainerAppsBuildsByContainerAppsClient object.
*/
ContainerAppsBuildsByContainerAppsClient getContainerAppsBuildsByContainerApps();

/**
* Gets the ContainerAppsBuildsClient object to access its operations.
*
* @return the ContainerAppsBuildsClient object.
*/
ContainerAppsBuildsClient getContainerAppsBuilds();

/**
* Gets the ContainerAppsPatchesClient object to access its operations.
*
* @return the ContainerAppsPatchesClient object.
*/
ContainerAppsPatchesClient getContainerAppsPatches();

/**
* Gets the ContainerAppsDiagnosticsClient object to access its operations.
*
Expand Down Expand Up @@ -179,13 +200,27 @@ public interface ContainerAppsApiClient {
*/
JobsClient getJobs();

/**
* Gets the DotNetComponentsClient object to access its operations.
*
* @return the DotNetComponentsClient object.
*/
DotNetComponentsClient getDotNetComponents();

/**
* Gets the OperationsClient object to access its operations.
*
* @return the OperationsClient object.
*/
OperationsClient getOperations();

/**
* Gets the JavaComponentsClient object to access its operations.
*
* @return the JavaComponentsClient object.
*/
JavaComponentsClient getJavaComponents();

/**
* Gets the JobsExecutionsClient object to access its operations.
*
Expand Down Expand Up @@ -278,16 +313,9 @@ public interface ContainerAppsApiClient {
ManagedEnvironmentUsagesClient getManagedEnvironmentUsages();

/**
* Gets the JavaComponentsClient object to access its operations.
*
* @return the JavaComponentsClient object.
*/
JavaComponentsClient getJavaComponents();

/**
* Gets the DotNetComponentsClient object to access its operations.
* Gets the FunctionsExtensionsClient object to access its operations.
*
* @return the DotNetComponentsClient object.
* @return the FunctionsExtensionsClient object.
*/
DotNetComponentsClient getDotNetComponents();
FunctionsExtensionsClient getFunctionsExtensions();
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.appcontainers.fluent;

import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.http.rest.PagedIterable;
import com.azure.core.util.Context;
import com.azure.resourcemanager.appcontainers.fluent.models.ContainerAppsBuildResourceInner;

/**
* An instance of this class provides access to all the operations defined in ContainerAppsBuildsByContainerAppsClient.
*/
public interface ContainerAppsBuildsByContainerAppsClient {
/**
* List Container Apps Build resources by Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App the Build is associated.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response of a Container Apps Build Resource list operation as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<ContainerAppsBuildResourceInner> list(String resourceGroupName, String containerAppName);

/**
* List Container Apps Build resources by Container App.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param containerAppName Name of the Container App the Build is associated.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response of a Container Apps Build Resource list operation as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<ContainerAppsBuildResourceInner> list(String resourceGroupName, String containerAppName,
Context context);
}
Loading