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
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.2.0-beta.1 (Unreleased)
## 1.0.0-beta.1 (2023-10-31)

- Azure Resource Manager DesktopVirtualization client library for Java. This package contains Microsoft Azure SDK for DesktopVirtualization Management SDK. Package tag package-preview-2023-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 DesktopVirtualization client library for Java.

This package contains Microsoft Azure SDK for DesktopVirtualization Management SDK. Package tag package-2023-09. 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 DesktopVirtualization Management SDK. Package tag package-preview-2023-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-desktopvirtualization</artifactId>
<version>1.1.0</version>
<version>1.2.0-beta.1</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand All @@ -45,7 +45,7 @@ Azure Management Libraries require a `TokenCredential` implementation for authen

### Authentication

By default, Azure Active Directory token authentication depends on correct configuration of the following environment variables.
By default, Microsoft Entra ID token authentication depends on correct configuration of the following environment variables.

- `AZURE_CLIENT_ID` for Azure client ID.
- `AZURE_TENANT_ID` for Azure tenant ID.
Expand Down Expand Up @@ -94,7 +94,7 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
<!-- LINKS -->
[survey]: https://microsoft.qualtrics.com/jfe/form/SV_ehN0lIk2FKEBkwd?Q_CHL=DOCS
[docs]: https://azure.github.io/azure-sdk-for-java/
[jdk]: https://docs.microsoft.com/java/azure/jdk/
[jdk]: https://learn.microsoft.com/azure/developer/java/fundamentals/
[azure_subscription]: https://azure.microsoft.com/free/
[azure_identity]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/identity/azure-identity
[azure_core_http_netty]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/core/azure-core-http-netty
Expand Down

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 DesktopVirtualization Management</name>
<description>This package contains Microsoft Azure SDK for DesktopVirtualization Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Package tag package-2023-09.</description>
<description>This package contains Microsoft Azure SDK for DesktopVirtualization Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Package tag package-preview-2023-10.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand All @@ -45,6 +45,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
<revapi.skip>true</revapi.skip>
</properties>
<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
import com.azure.core.util.Configuration;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.desktopvirtualization.fluent.DesktopVirtualizationApiClient;
import com.azure.resourcemanager.desktopvirtualization.implementation.AppAttachPackageInfoesImpl;
import com.azure.resourcemanager.desktopvirtualization.implementation.AppAttachPackagesImpl;
import com.azure.resourcemanager.desktopvirtualization.implementation.ApplicationGroupsImpl;
import com.azure.resourcemanager.desktopvirtualization.implementation.ApplicationsImpl;
import com.azure.resourcemanager.desktopvirtualization.implementation.DesktopVirtualizationApiClientBuilder;
Expand All @@ -41,6 +43,8 @@
import com.azure.resourcemanager.desktopvirtualization.implementation.StartMenuItemsImpl;
import com.azure.resourcemanager.desktopvirtualization.implementation.UserSessionsImpl;
import com.azure.resourcemanager.desktopvirtualization.implementation.WorkspacesImpl;
import com.azure.resourcemanager.desktopvirtualization.models.AppAttachPackageInfoes;
import com.azure.resourcemanager.desktopvirtualization.models.AppAttachPackages;
import com.azure.resourcemanager.desktopvirtualization.models.ApplicationGroups;
import com.azure.resourcemanager.desktopvirtualization.models.Applications;
import com.azure.resourcemanager.desktopvirtualization.models.Desktops;
Expand Down Expand Up @@ -96,8 +100,12 @@ public final class DesktopVirtualizationManager {

private MsixPackages msixPackages;

private AppAttachPackageInfoes appAttachPackageInfoes;

private MsixImages msixImages;

private AppAttachPackages appAttachPackages;

private final DesktopVirtualizationApiClient clientObject;

private DesktopVirtualizationManager(
Expand Down Expand Up @@ -264,7 +272,7 @@ public DesktopVirtualizationManager authenticate(TokenCredential credential, Azu
.append("-")
.append("com.azure.resourcemanager.desktopvirtualization")
.append("/")
.append("1.1.0");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down Expand Up @@ -504,6 +512,19 @@ public MsixPackages msixPackages() {
return msixPackages;
}

/**
* Gets the resource collection API of AppAttachPackageInfoes.
*
* @return Resource collection API of AppAttachPackageInfoes.
*/
public AppAttachPackageInfoes appAttachPackageInfoes() {
if (this.appAttachPackageInfoes == null) {
this.appAttachPackageInfoes =
new AppAttachPackageInfoesImpl(clientObject.getAppAttachPackageInfoes(), this);
}
return appAttachPackageInfoes;
}

/**
* Gets the resource collection API of MsixImages.
*
Expand All @@ -516,6 +537,18 @@ public MsixImages msixImages() {
return msixImages;
}

/**
* Gets the resource collection API of AppAttachPackages. It manages AppAttachPackage.
*
* @return Resource collection API of AppAttachPackages.
*/
public AppAttachPackages appAttachPackages() {
if (this.appAttachPackages == null) {
this.appAttachPackages = new AppAttachPackagesImpl(clientObject.getAppAttachPackages(), this);
}
return appAttachPackages;
}

/**
* Gets wrapped service client DesktopVirtualizationApiClient providing direct access to the underlying
* auto-generated API implementation, based on Azure REST API.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.desktopvirtualization.fluent;

import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.http.rest.PagedFlux;
import com.azure.core.http.rest.PagedIterable;
import com.azure.core.util.Context;
import com.azure.resourcemanager.desktopvirtualization.fluent.models.AppAttachPackageInner;
import com.azure.resourcemanager.desktopvirtualization.models.ImportPackageInfoRequest;

/** An instance of this class provides access to all the operations defined in AppAttachPackageInfoesClient. */
public interface AppAttachPackageInfoesClient {
/**
* Gets information from a package given the path to the package.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param hostPoolName The name of the host pool within the specified resource group.
* @param importPackageInfoRequest Object containing URI to package image and other optional properties.
* @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 information from a package given the path to the package as paginated response with {@link PagedFlux}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedFlux<AppAttachPackageInner> importMethodAsync(
String resourceGroupName, String hostPoolName, ImportPackageInfoRequest importPackageInfoRequest);

/**
* Gets information from a package given the path to the package.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param hostPoolName The name of the host pool within the specified resource group.
* @param importPackageInfoRequest Object containing URI to package image and other optional properties.
* @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 information from a package given the path to the package as paginated response with {@link
* PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<AppAttachPackageInner> importMethod(
String resourceGroupName, String hostPoolName, ImportPackageInfoRequest importPackageInfoRequest);

/**
* Gets information from a package given the path to the package.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param hostPoolName The name of the host pool within the specified resource group.
* @param importPackageInfoRequest Object containing URI to package image and other optional properties.
* @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 information from a package given the path to the package as paginated response with {@link
* PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable<AppAttachPackageInner> importMethod(
String resourceGroupName,
String hostPoolName,
ImportPackageInfoRequest importPackageInfoRequest,
Context context);
}
Loading