Skip to content

Commit

Permalink
CodeGen from PR 25219 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge f42f551126705f50dda922eb5732fa3b163f75d9 into a5e7ff51c8af3781e7f6dd3b82a3fc922e2f6f93
  • Loading branch information
SDKAuto committed Aug 9, 2023
1 parent 092094d commit 0abcca0
Show file tree
Hide file tree
Showing 16 changed files with 3,046 additions and 996 deletions.
65 changes: 55 additions & 10 deletions sdk/desktopvirtualization/arm-desktopvirtualization/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,60 @@
# Release History

## 1.1.0-beta.1 (2023-08-09)

**Features**

## 1.0.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added operation group PrivateEndpointConnections
- Added operation group PrivateLinkResources
- Added Interface PrivateEndpoint
- Added Interface PrivateEndpointConnection
- Added Interface PrivateEndpointConnectionListResultWithSystemData
- Added Interface PrivateEndpointConnectionsDeleteByHostPoolOptionalParams
- Added Interface PrivateEndpointConnectionsDeleteByWorkspaceOptionalParams
- Added Interface PrivateEndpointConnectionsGetByHostPoolOptionalParams
- Added Interface PrivateEndpointConnectionsGetByWorkspaceOptionalParams
- Added Interface PrivateEndpointConnectionsListByHostPoolNextOptionalParams
- Added Interface PrivateEndpointConnectionsListByHostPoolOptionalParams
- Added Interface PrivateEndpointConnectionsListByWorkspaceNextOptionalParams
- Added Interface PrivateEndpointConnectionsListByWorkspaceOptionalParams
- Added Interface PrivateEndpointConnectionsUpdateByHostPoolOptionalParams
- Added Interface PrivateEndpointConnectionsUpdateByWorkspaceOptionalParams
- Added Interface PrivateEndpointConnectionWithSystemData
- Added Interface PrivateLinkResource
- Added Interface PrivateLinkResourceListResult
- Added Interface PrivateLinkResourcesListByHostPoolNextOptionalParams
- Added Interface PrivateLinkResourcesListByHostPoolOptionalParams
- Added Interface PrivateLinkResourcesListByWorkspaceNextOptionalParams
- Added Interface PrivateLinkResourcesListByWorkspaceOptionalParams
- Added Interface PrivateLinkServiceConnectionState
- Added Type Alias HostpoolPublicNetworkAccess
- Added Type Alias PrivateEndpointConnectionProvisioningState
- Added Type Alias PrivateEndpointConnectionsGetByHostPoolResponse
- Added Type Alias PrivateEndpointConnectionsGetByWorkspaceResponse
- Added Type Alias PrivateEndpointConnectionsListByHostPoolNextResponse
- Added Type Alias PrivateEndpointConnectionsListByHostPoolResponse
- Added Type Alias PrivateEndpointConnectionsListByWorkspaceNextResponse
- Added Type Alias PrivateEndpointConnectionsListByWorkspaceResponse
- Added Type Alias PrivateEndpointConnectionsUpdateByHostPoolResponse
- Added Type Alias PrivateEndpointConnectionsUpdateByWorkspaceResponse
- Added Type Alias PrivateEndpointServiceConnectionStatus
- Added Type Alias PrivateLinkResourcesListByHostPoolNextResponse
- Added Type Alias PrivateLinkResourcesListByHostPoolResponse
- Added Type Alias PrivateLinkResourcesListByWorkspaceNextResponse
- Added Type Alias PrivateLinkResourcesListByWorkspaceResponse
- Added Type Alias PublicNetworkAccess
- Interface HostPool has a new optional parameter privateEndpointConnections
- Interface HostPool has a new optional parameter publicNetworkAccess
- Interface HostPoolPatch has a new optional parameter publicNetworkAccess
- Interface Workspace has a new optional parameter privateEndpointConnections
- Interface Workspace has a new optional parameter publicNetworkAccess
- Interface WorkspacePatch has a new optional parameter publicNetworkAccess
- Added Enum KnownHostpoolPublicNetworkAccess
- Added Enum KnownPrivateEndpointConnectionProvisioningState
- Added Enum KnownPrivateEndpointServiceConnectionStatus
- Added Enum KnownPublicNetworkAccess


## 1.0.0 (2023-03-09)

The package of @azure/arm-desktopvirtualization is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f

[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/desktopvirtualization/arm-desktopvirtualization) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-desktopvirtualization) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-desktopvirtualization) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-desktopvirtualization?view=azure-node-preview) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)

## Getting started
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "4f4044394791773e6e7e82a9bd90d3935caaca1b",
"commit": "79e9ad350160bb91abdadba3bdbc4d338f18d1c4",
"readme": "specification/desktopvirtualization/resource-manager/readme.md",
"autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\desktopvirtualization\\resource-manager\\readme.md --use=@autorest/[email protected].0-rc.9 --generate-sample=true",
"autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/desktopvirtualization/resource-manager/readme.md --use=@autorest/typescript@^6.0.4",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.6.2",
"use": "@autorest/[email protected].0-rc.9"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.1",
"use": "@autorest/typescript@^6.0.4"
}
14 changes: 3 additions & 11 deletions sdk/desktopvirtualization/arm-desktopvirtualization/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for DesktopVirtualizationAPIClient.",
"version": "1.0.1",
"version": "1.1.0-beta.1",
"engines": {
"node": ">=14.0.0"
},
Expand Down Expand Up @@ -109,13 +109,5 @@
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/desktopvirtualization/arm-desktopvirtualization",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-desktopvirtualization?view=azure-node-preview"
}
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/desktopvirtualization/arm-desktopvirtualization"
}
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,10 @@ export class DesktopVirtualizationAPIClient extends coreClient.ServiceClient {
// (undocumented)
operations: Operations;
// (undocumented)
privateEndpointConnections: PrivateEndpointConnections;
// (undocumented)
privateLinkResources: PrivateLinkResources;
// (undocumented)
scalingPlanPooledSchedules: ScalingPlanPooledSchedules;
// (undocumented)
scalingPlans: ScalingPlans;
Expand Down Expand Up @@ -395,6 +399,8 @@ export interface HostPool extends ResourceModelWithAllowedPropertySet {
readonly objectId?: string;
personalDesktopAssignmentType?: PersonalDesktopAssignmentType;
preferredAppGroupType: PreferredAppGroupType;
readonly privateEndpointConnections?: PrivateEndpointConnection[];
publicNetworkAccess?: HostpoolPublicNetworkAccess;
registrationInfo?: RegistrationInfo;
ring?: number;
ssoadfsAuthority?: string;
Expand Down Expand Up @@ -423,6 +429,7 @@ export interface HostPoolPatch extends Resource {
maxSessionLimit?: number;
personalDesktopAssignmentType?: PersonalDesktopAssignmentType;
preferredAppGroupType?: PreferredAppGroupType;
publicNetworkAccess?: HostpoolPublicNetworkAccess;
registrationInfo?: RegistrationInfoPatch;
ring?: number;
ssoadfsAuthority?: string;
Expand All @@ -437,6 +444,9 @@ export interface HostPoolPatch extends Resource {
vmTemplate?: string;
}

// @public
export type HostpoolPublicNetworkAccess = string;

// @public
export interface HostPools {
createOrUpdate(resourceGroupName: string, hostPoolName: string, hostPool: HostPool, options?: HostPoolsCreateOrUpdateOptionalParams): Promise<HostPoolsCreateOrUpdateResponse>;
Expand Down Expand Up @@ -576,6 +586,14 @@ export enum KnownHealthCheckResult {
Unknown = "Unknown"
}

// @public
export enum KnownHostpoolPublicNetworkAccess {
Disabled = "Disabled",
Enabled = "Enabled",
EnabledForClientsOnly = "EnabledForClientsOnly",
EnabledForSessionHostsOnly = "EnabledForSessionHostsOnly"
}

// @public
export enum KnownHostPoolType {
BYODesktop = "BYODesktop",
Expand Down Expand Up @@ -603,6 +621,27 @@ export enum KnownPreferredAppGroupType {
RailApplications = "RailApplications"
}

// @public
export enum KnownPrivateEndpointConnectionProvisioningState {
Creating = "Creating",
Deleting = "Deleting",
Failed = "Failed",
Succeeded = "Succeeded"
}

// @public
export enum KnownPrivateEndpointServiceConnectionStatus {
Approved = "Approved",
Pending = "Pending",
Rejected = "Rejected"
}

// @public
export enum KnownPublicNetworkAccess {
Disabled = "Disabled",
Enabled = "Enabled"
}

// @public
export enum KnownRegistrationTokenOperation {
Delete = "Delete",
Expand Down Expand Up @@ -877,6 +916,177 @@ export interface Plan {
// @public
export type PreferredAppGroupType = string;

// @public
export interface PrivateEndpoint {
readonly id?: string;
}

// @public
export interface PrivateEndpointConnection extends Resource {
privateEndpoint?: PrivateEndpoint;
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
}

// @public
export interface PrivateEndpointConnectionListResultWithSystemData {
readonly nextLink?: string;
value?: PrivateEndpointConnectionWithSystemData[];
}

// @public
export type PrivateEndpointConnectionProvisioningState = string;

// @public
export interface PrivateEndpointConnections {
deleteByHostPool(resourceGroupName: string, hostPoolName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteByHostPoolOptionalParams): Promise<void>;
deleteByWorkspace(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteByWorkspaceOptionalParams): Promise<void>;
getByHostPool(resourceGroupName: string, hostPoolName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetByHostPoolOptionalParams): Promise<PrivateEndpointConnectionsGetByHostPoolResponse>;
getByWorkspace(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetByWorkspaceOptionalParams): Promise<PrivateEndpointConnectionsGetByWorkspaceResponse>;
listByHostPool(resourceGroupName: string, hostPoolName: string, options?: PrivateEndpointConnectionsListByHostPoolOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnectionWithSystemData>;
listByWorkspace(resourceGroupName: string, workspaceName: string, options?: PrivateEndpointConnectionsListByWorkspaceOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnectionWithSystemData>;
updateByHostPool(resourceGroupName: string, hostPoolName: string, privateEndpointConnectionName: string, connection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsUpdateByHostPoolOptionalParams): Promise<PrivateEndpointConnectionsUpdateByHostPoolResponse>;
updateByWorkspace(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, connection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsUpdateByWorkspaceOptionalParams): Promise<PrivateEndpointConnectionsUpdateByWorkspaceResponse>;
}

// @public
export interface PrivateEndpointConnectionsDeleteByHostPoolOptionalParams extends coreClient.OperationOptions {
}

// @public
export interface PrivateEndpointConnectionsDeleteByWorkspaceOptionalParams extends coreClient.OperationOptions {
}

// @public
export interface PrivateEndpointConnectionsGetByHostPoolOptionalParams extends coreClient.OperationOptions {
}

// @public
export type PrivateEndpointConnectionsGetByHostPoolResponse = PrivateEndpointConnectionWithSystemData;

// @public
export interface PrivateEndpointConnectionsGetByWorkspaceOptionalParams extends coreClient.OperationOptions {
}

// @public
export type PrivateEndpointConnectionsGetByWorkspaceResponse = PrivateEndpointConnectionWithSystemData;

// @public
export interface PrivateEndpointConnectionsListByHostPoolNextOptionalParams extends coreClient.OperationOptions {
}

// @public
export type PrivateEndpointConnectionsListByHostPoolNextResponse = PrivateEndpointConnectionListResultWithSystemData;

// @public
export interface PrivateEndpointConnectionsListByHostPoolOptionalParams extends coreClient.OperationOptions {
initialSkip?: number;
isDescending?: boolean;
pageSize?: number;
}

// @public
export type PrivateEndpointConnectionsListByHostPoolResponse = PrivateEndpointConnectionListResultWithSystemData;

// @public
export interface PrivateEndpointConnectionsListByWorkspaceNextOptionalParams extends coreClient.OperationOptions {
}

// @public
export type PrivateEndpointConnectionsListByWorkspaceNextResponse = PrivateEndpointConnectionListResultWithSystemData;

// @public
export interface PrivateEndpointConnectionsListByWorkspaceOptionalParams extends coreClient.OperationOptions {
}

// @public
export type PrivateEndpointConnectionsListByWorkspaceResponse = PrivateEndpointConnectionListResultWithSystemData;

// @public
export interface PrivateEndpointConnectionsUpdateByHostPoolOptionalParams extends coreClient.OperationOptions {
}

// @public
export type PrivateEndpointConnectionsUpdateByHostPoolResponse = PrivateEndpointConnectionWithSystemData;

// @public
export interface PrivateEndpointConnectionsUpdateByWorkspaceOptionalParams extends coreClient.OperationOptions {
}

// @public
export type PrivateEndpointConnectionsUpdateByWorkspaceResponse = PrivateEndpointConnectionWithSystemData;

// @public
export interface PrivateEndpointConnectionWithSystemData extends PrivateEndpointConnection {
readonly systemData?: SystemData;
}

// @public
export type PrivateEndpointServiceConnectionStatus = string;

// @public
export interface PrivateLinkResource extends Resource {
readonly groupId?: string;
readonly requiredMembers?: string[];
requiredZoneNames?: string[];
}

// @public
export interface PrivateLinkResourceListResult {
readonly nextLink?: string;
value?: PrivateLinkResource[];
}

// @public
export interface PrivateLinkResources {
listByHostPool(resourceGroupName: string, hostPoolName: string, options?: PrivateLinkResourcesListByHostPoolOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
listByWorkspace(resourceGroupName: string, workspaceName: string, options?: PrivateLinkResourcesListByWorkspaceOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
}

// @public
export interface PrivateLinkResourcesListByHostPoolNextOptionalParams extends coreClient.OperationOptions {
}

// @public
export type PrivateLinkResourcesListByHostPoolNextResponse = PrivateLinkResourceListResult;

// @public
export interface PrivateLinkResourcesListByHostPoolOptionalParams extends coreClient.OperationOptions {
initialSkip?: number;
isDescending?: boolean;
pageSize?: number;
}

// @public
export type PrivateLinkResourcesListByHostPoolResponse = PrivateLinkResourceListResult;

// @public
export interface PrivateLinkResourcesListByWorkspaceNextOptionalParams extends coreClient.OperationOptions {
}

// @public
export type PrivateLinkResourcesListByWorkspaceNextResponse = PrivateLinkResourceListResult;

// @public
export interface PrivateLinkResourcesListByWorkspaceOptionalParams extends coreClient.OperationOptions {
initialSkip?: number;
isDescending?: boolean;
pageSize?: number;
}

// @public
export type PrivateLinkResourcesListByWorkspaceResponse = PrivateLinkResourceListResult;

// @public
export interface PrivateLinkServiceConnectionState {
actionsRequired?: string;
description?: string;
status?: PrivateEndpointServiceConnectionStatus;
}

// @public
export type PublicNetworkAccess = string;

// @public
export interface RegistrationInfo {
expirationTime?: Date;
Expand Down Expand Up @@ -1494,6 +1704,8 @@ export interface Workspace extends ResourceModelWithAllowedPropertySet {
description?: string;
friendlyName?: string;
readonly objectId?: string;
readonly privateEndpointConnections?: PrivateEndpointConnection[];
publicNetworkAccess?: PublicNetworkAccess;
readonly systemData?: SystemData;
}

Expand All @@ -1508,6 +1720,7 @@ export interface WorkspacePatch {
applicationGroupReferences?: string[];
description?: string;
friendlyName?: string;
publicNetworkAccess?: PublicNetworkAccess;
tags?: {
[propertyName: string]: string;
};
Expand Down
Loading

0 comments on commit 0abcca0

Please sign in to comment.