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/arm-desktopvirtualization] Alecb stable20240910 desktopvirtualization #11870

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
13 changes: 7 additions & 6 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 21 additions & 9 deletions sdk/desktopvirtualization/arm-desktopvirtualization/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,27 @@
# Release History

## 1.2.1 (Unreleased)

## 1.3.0 (2024-10-16)
### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added Type Alias DirectUDP
- Added Type Alias ManagedPrivateUDP
- Added Type Alias PublicUDP
- Added Type Alias RelayUDP
- Interface HostPool has a new optional parameter directUDP
- Interface HostPool has a new optional parameter managedPrivateUDP
- Interface HostPool has a new optional parameter publicUDP
- Interface HostPool has a new optional parameter relayUDP
- Interface HostPoolPatch has a new optional parameter directUDP
- Interface HostPoolPatch has a new optional parameter managedPrivateUDP
- Interface HostPoolPatch has a new optional parameter publicUDP
- Interface HostPoolPatch has a new optional parameter relayUDP
- Added Enum KnownDirectUDP
- Added Enum KnownManagedPrivateUDP
- Added Enum KnownPublicUDP
- Added Enum KnownRelayUDP


## 1.2.0 (2024-09-11)

### Features Added
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "3519c80fe510a268f6e59a29ccac8a53fdec15b6",
"commit": "02cea7d9e9f3d0f7e4294ac0c61b5f121dfd56f2",
"readme": "specification/desktopvirtualization/resource-manager/readme.md",
"autorest_command": "autorest --version=3.9.7 --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/typescript@6.0.27 --generate-sample=true",
"autorest_command": "autorest --version=3.9.7 --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.12",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.13",
"use": "@autorest/typescript@6.0.27"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.14",
"use": "@autorest/typescript@^6.0.12"
}
75 changes: 33 additions & 42 deletions sdk/desktopvirtualization/arm-desktopvirtualization/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for DesktopVirtualizationAPIClient.",
"version": "1.2.1",
"version": "1.3.0",
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@azure/core-auth": "^1.3.0",
"@azure/core-client": "^1.7.0",
"@azure/core-paging": "^1.2.0",
"@azure/core-rest-pipeline": "^1.12.0",
"@azure/core-client": "^1.7.0",
"@azure/core-auth": "^1.6.0",
"@azure/core-rest-pipeline": "^1.14.0",
"tslib": "^2.2.0"
},
"keywords": [
Expand All @@ -26,23 +26,24 @@
"module": "./dist-esm/src/index.js",
"types": "./types/arm-desktopvirtualization.d.ts",
"devDependencies": {
"@azure-tools/test-credential": "^1.0.0",
"@azure-tools/test-recorder": "^3.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/identity": "^4.0.1",
"@microsoft/api-extractor": "^7.31.1",
"@types/chai": "^4.2.8",
"mkdirp": "^3.0.1",
"typescript": "~5.5.3",
"uglify-js": "^3.4.9",
"rimraf": "^5.0.0",
"dotenv": "^16.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/identity": "^4.2.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.1.0",
"mocha": "^10.0.0",
"@types/mocha": "^10.0.0",
"@types/node": "^18.0.0",
"tsx": "^4.7.1",
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"dotenv": "^16.0.0",
"mkdirp": "^3.0.1",
"mocha": "^10.0.0",
"rimraf": "^5.0.0",
"ts-node": "^10.0.0",
"typescript": "~5.6.2",
"uglify-js": "^3.4.9"
"@types/node": "^18.0.0",
"ts-node": "^10.0.0"
},
"repository": {
"type": "git",
Expand All @@ -69,31 +70,29 @@
"types/*"
],
"scripts": {
"audit": "echo skipped",
"build": "npm run clean && tsc && dev-tool run bundle && npm run minify && mkdirp ./review && npm run extract-api",
"build:browser": "echo skipped",
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
"prepack": "npm run build",
"pack": "npm pack 2>&1",
"extract-api": "dev-tool run extract-api",
"lint": "echo skipped",
"clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
"build:node": "echo skipped",
"build:samples": "echo skipped.",
"build:browser": "echo skipped",
"build:test": "echo skipped",
"build:samples": "echo skipped.",
"check-format": "echo skipped",
"clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
"execute:samples": "echo skipped",
"extract-api": "dev-tool run extract-api",
"format": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:browser": "echo skipped",
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"lint": "echo skipped",
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
"pack": "npm pack 2>&1",
"prepack": "npm run build",
"test": "npm run integration-test",
"test:browser": "echo skipped",
"test:node": "echo skipped",
"test:browser": "echo skipped",
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
"unit-test:browser": "echo skipped",
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
"update-snippets": "echo skipped"
"unit-test:browser": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"integration-test:browser": "echo skipped"
},
"sideEffects": false,
"//metadata": {
Expand All @@ -105,13 +104,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 @@ -499,6 +499,9 @@ export interface DesktopVirtualizationAPIClientOptionalParams extends coreClient
endpoint?: string;
}

// @public
export type DirectUDP = string;

// @public
export interface ErrorAdditionalInfo {
readonly info?: Record<string, unknown>;
Expand Down Expand Up @@ -564,16 +567,20 @@ export interface HostPool extends ResourceModelWithAllowedPropertySet {
readonly cloudPcResource?: boolean;
customRdpProperty?: string;
description?: string;
directUDP?: DirectUDP;
friendlyName?: string;
hostPoolType: HostPoolType;
loadBalancerType: LoadBalancerType;
managedPrivateUDP?: ManagedPrivateUDP;
maxSessionLimit?: number;
readonly objectId?: string;
personalDesktopAssignmentType?: PersonalDesktopAssignmentType;
preferredAppGroupType: PreferredAppGroupType;
readonly privateEndpointConnections?: PrivateEndpointConnection[];
publicNetworkAccess?: HostpoolPublicNetworkAccess;
publicUDP?: PublicUDP;
registrationInfo?: RegistrationInfo;
relayUDP?: RelayUDP;
ring?: number;
ssoadfsAuthority?: string;
ssoClientId?: string;
Expand All @@ -595,13 +602,17 @@ export interface HostPoolPatch extends Resource {
agentUpdate?: AgentUpdatePatchProperties;
customRdpProperty?: string;
description?: string;
directUDP?: DirectUDP;
friendlyName?: string;
loadBalancerType?: LoadBalancerType;
managedPrivateUDP?: ManagedPrivateUDP;
maxSessionLimit?: number;
personalDesktopAssignmentType?: PersonalDesktopAssignmentType;
preferredAppGroupType?: PreferredAppGroupType;
publicNetworkAccess?: HostpoolPublicNetworkAccess;
publicUDP?: PublicUDP;
registrationInfo?: RegistrationInfoPatch;
relayUDP?: RelayUDP;
ring?: number;
ssoadfsAuthority?: string;
ssoClientId?: string;
Expand Down Expand Up @@ -759,6 +770,13 @@ export enum KnownCreatedByType {
User = "User"
}

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

// @public
export enum KnownFailHealthCheckOnStagingFailure {
DoNotFail = "DoNotFail",
Expand Down Expand Up @@ -811,6 +829,13 @@ export enum KnownLoadBalancerType {
Persistent = "Persistent"
}

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

// @public
export enum KnownPackageTimestamped {
NotTimestamped = "NotTimestamped",
Expand Down Expand Up @@ -859,13 +884,27 @@ export enum KnownPublicNetworkAccess {
Enabled = "Enabled"
}

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

// @public
export enum KnownRegistrationTokenOperation {
Delete = "Delete",
None = "None",
Update = "Update"
}

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

// @public
export enum KnownRemoteApplicationType {
InBuilt = "InBuilt",
Expand Down Expand Up @@ -991,6 +1030,9 @@ export interface MaintenanceWindowProperties {
hour?: number;
}

// @public
export type ManagedPrivateUDP = string;

// @public
export interface MsixImages {
listExpand(resourceGroupName: string, hostPoolName: string, msixImageURI: MsixImageURI, options?: MsixImagesExpandOptionalParams): PagedAsyncIterableIterator<ExpandMsixImage>;
Expand Down Expand Up @@ -1333,6 +1375,9 @@ export interface ProxyResource extends Resource {
// @public
export type PublicNetworkAccess = string;

// @public
export type PublicUDP = string;

// @public
export interface RegistrationInfo {
expirationTime?: Date;
Expand Down Expand Up @@ -1361,6 +1406,9 @@ export interface RegistrationTokenMinimal {
// @public
export type RegistrationTokenOperation = string;

// @public
export type RelayUDP = string;

// @public
export type RemoteApplicationType = string;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export class DesktopVirtualizationAPIClient extends coreClient.ServiceClient {
credential: credentials,
};

const packageDetails = `azsdk-js-arm-desktopvirtualization/1.2.1`;
const packageDetails = `azsdk-js-arm-desktopvirtualization/1.3.0`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down Expand Up @@ -142,7 +142,7 @@ export class DesktopVirtualizationAPIClient extends coreClient.ServiceClient {

// Assigning values to Constant parameters
this.$host = options.$host || "https://management.azure.com";
this.apiVersion = options.apiVersion || "2024-04-03";
this.apiVersion = options.apiVersion || "2024-09-10";
this.operations = new OperationsImpl(this);
this.workspaces = new WorkspacesImpl(this);
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
Expand Down
Loading