Skip to content

Commit

Permalink
CodeGen from PR 31818 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 90d991e909d426310bfda0b14ac828c3d8bde290 into fd102c4a14bf65096a17688fd5a283e511db3c14
  • Loading branch information
SDKAuto committed Dec 10, 2024
1 parent 1d3c61b commit 9a819e7
Show file tree
Hide file tree
Showing 35 changed files with 6,140 additions and 971 deletions.
8 changes: 5 additions & 3 deletions common/config/rush/pnpm-lock.yaml

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

162 changes: 155 additions & 7 deletions sdk/desktopvirtualization/arm-desktopvirtualization/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,163 @@
# Release History

## 1.2.1 (Unreleased)


## 2.0.0-beta.1 (2024-12-10)
Compared with version 1.2.0

### Features Added

### Breaking Changes
- Added operation group ActiveSessionHostConfigurations
- Added operation group ControlSessionHostUpdate
- Added operation group InitiateSessionHostUpdate
- Added operation group SessionHostConfigurations
- Added operation group SessionHostManagements
- Added operation group SessionHostManagementsUpdateStatus
- Added operation group SessionHostOperations
- Added Interface ActiveDirectoryInfoPatchProperties
- Added Interface ActiveDirectoryInfoProperties
- Added Interface ActiveSessionHostConfiguration
- Added Interface ActiveSessionHostConfigurationList
- Added Interface ActiveSessionHostConfigurationsGetOptionalParams
- Added Interface ActiveSessionHostConfigurationsListByHostPoolNextOptionalParams
- Added Interface ActiveSessionHostConfigurationsListByHostPoolOptionalParams
- Added Interface AzureActiveDirectoryInfoProperties
- Added Interface BootDiagnosticsInfoPatchProperties
- Added Interface BootDiagnosticsInfoProperties
- Added Interface ControlSessionHostUpdatePostHeaders
- Added Interface ControlSessionHostUpdatePostOptionalParams
- Added Interface CustomInfoPatchProperties
- Added Interface CustomInfoProperties
- Added Interface DiskInfoPatchProperties
- Added Interface DiskInfoProperties
- Added Interface DomainInfoPatchProperties
- Added Interface DomainInfoProperties
- Added Interface HostPoolUpdateConfigurationPatchProperties
- Added Interface HostPoolUpdateConfigurationProperties
- Added Interface HostPoolUpdateControlParameter
- Added Interface HostPoolUpdateFault
- Added Interface ImageInfoPatchProperties
- Added Interface ImageInfoProperties
- Added Interface InitiateSessionHostUpdatePostOptionalParams
- Added Interface KeyVaultCredentialsPatchProperties
- Added Interface KeyVaultCredentialsProperties
- Added Interface ManagedServiceIdentity
- Added Interface MarketplaceInfoPatchProperties
- Added Interface MarketplaceInfoProperties
- Added Interface NetworkInfoPatchProperties
- Added Interface NetworkInfoProperties
- Added Interface SecurityInfoPatchProperties
- Added Interface SecurityInfoProperties
- Added Interface SessionHostConfiguration
- Added Interface SessionHostConfigurationList
- Added Interface SessionHostConfigurationPatch
- Added Interface SessionHostConfigurationsCreateOrUpdateHeaders
- Added Interface SessionHostConfigurationsCreateOrUpdateOptionalParams
- Added Interface SessionHostConfigurationsGetOptionalParams
- Added Interface SessionHostConfigurationsListByHostPoolNextOptionalParams
- Added Interface SessionHostConfigurationsListByHostPoolOptionalParams
- Added Interface SessionHostConfigurationsUpdateHeaders
- Added Interface SessionHostConfigurationsUpdateOptionalParams
- Added Interface SessionHostManagement
- Added Interface SessionHostManagementList
- Added Interface SessionHostManagementOperationProgress
- Added Interface SessionHostManagementPatch
- Added Interface SessionHostManagementsCreateOrUpdateOptionalParams
- Added Interface SessionHostManagementsGetOptionalParams
- Added Interface SessionHostManagementsListByHostPoolNextOptionalParams
- Added Interface SessionHostManagementsListByHostPoolOptionalParams
- Added Interface SessionHostManagementsUpdateOptionalParams
- Added Interface SessionHostManagementsUpdateStatusGetOptionalParams
- Added Interface SessionHostManagementUpdateStatus
- Added Interface SessionHostRetryProvisioningOptionalParams
- Added Interface UpdateSessionHostsRequestBody
- Added Interface UserAssignedIdentity
- Added Type Alias ActiveSessionHostConfigurationsGetResponse
- Added Type Alias ActiveSessionHostConfigurationsListByHostPoolNextResponse
- Added Type Alias ActiveSessionHostConfigurationsListByHostPoolResponse
- Added Type Alias ControlSessionHostUpdatePostResponse
- Added Type Alias DirectUDP
- Added Type Alias DomainJoinType
- Added Type Alias FaultType
- Added Type Alias HostPoolUpdateAction
- Added Type Alias ManagedPrivateUDP
- Added Type Alias ManagedServiceIdentityType
- Added Type Alias ManagementType
- Added Type Alias OperationTypeSHM
- Added Type Alias ProvisioningStateSHC
- Added Type Alias PublicUDP
- Added Type Alias RelayUDP
- Added Type Alias SessionHostConfigurationsCreateOrUpdateResponse
- Added Type Alias SessionHostConfigurationsGetResponse
- Added Type Alias SessionHostConfigurationsListByHostPoolNextResponse
- Added Type Alias SessionHostConfigurationsListByHostPoolResponse
- Added Type Alias SessionHostConfigurationsUpdateResponse
- Added Type Alias SessionHostManagementsCreateOrUpdateResponse
- Added Type Alias SessionHostManagementsGetResponse
- Added Type Alias SessionHostManagementsListByHostPoolNextResponse
- Added Type Alias SessionHostManagementsListByHostPoolResponse
- Added Type Alias SessionHostManagementsUpdateResponse
- Added Type Alias SessionHostManagementsUpdateStatusGetResponse
- Added Type Alias Type
- Added Type Alias VirtualMachineDiskType
- Added Type Alias VirtualMachineSecurityType
- Interface AppAttachPackageDeleteOptionalParams has a new optional parameter force
- Interface AppAttachPackagePatch has a new optional parameter tags
- Interface AppAttachPackagePatchProperties has a new optional parameter customData
- Interface AppAttachPackagePatchProperties has a new optional parameter packageLookbackUrl
- Interface AppAttachPackageProperties has a new optional parameter customData
- Interface AppAttachPackageProperties has a new optional parameter packageLookbackUrl
- Interface AppAttachPackageProperties has a new optional parameter packageOwnerName
- Interface HostPool has a new optional parameter directUDP
- Interface HostPool has a new optional parameter managedPrivateUDP
- Interface HostPool has a new optional parameter managementType
- 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
- Interface ScalingPlanPooledSchedule has a new optional parameter namePropertiesName
- Interface ScalingPlanPooledSchedulePatch has a new optional parameter namePropertiesName
- Interface SessionHost has a new optional parameter lastSessionHostUpdateTime
- Interface SessionHost has a new optional parameter sessionHostConfiguration
- Interface SessionHostsListOptionalParams has a new optional parameter vmPath
- Added Enum KnownDirectUDP
- Added Enum KnownDomainJoinType
- Added Enum KnownFaultType
- Added Enum KnownHostPoolUpdateAction
- Added Enum KnownManagedPrivateUDP
- Added Enum KnownManagedServiceIdentityType
- Added Enum KnownManagementType
- Added Enum KnownOperationTypeSHM
- Added Enum KnownProvisioningStateSHC
- Added Enum KnownPublicUDP
- Added Enum KnownRelayUDP
- Added Enum KnownType
- Added Enum KnownVirtualMachineDiskType
- Added Enum KnownVirtualMachineSecurityType
- Enum KnownLoadBalancerType has a new value MultiplePersistent
- Enum KnownScalingHostPoolType has a new value Personal

### Bugs Fixed

### Other Changes
### Breaking Changes

- Parameter daysOfWeek of interface ScalingPlanPersonalSchedule is now required
- Parameter offPeakStartTime of interface ScalingPlanPersonalSchedule is now required
- Parameter peakStartTime of interface ScalingPlanPersonalSchedule is now required
- Parameter rampDownStartTime of interface ScalingPlanPersonalSchedule is now required
- Parameter rampUpStartTime of interface ScalingPlanPersonalSchedule is now required
- Parameter daysOfWeek of interface ScalingPlanPooledSchedule is now required
- Parameter offPeakStartTime of interface ScalingPlanPooledSchedule is now required
- Parameter peakStartTime of interface ScalingPlanPooledSchedule is now required
- Parameter rampDownCapacityThresholdPct of interface ScalingPlanPooledSchedule is now required
- Parameter rampDownStartTime of interface ScalingPlanPooledSchedule is now required
- Parameter rampUpCapacityThresholdPct of interface ScalingPlanPooledSchedule is now required
- Parameter rampUpStartTime of interface ScalingPlanPooledSchedule is now required
- Type of parameter identity of interface ResourceModelWithAllowedPropertySet is changed from ResourceModelWithAllowedPropertySetIdentity to ManagedServiceIdentity
- Type of parameter plan of interface ResourceModelWithAllowedPropertySet is changed from ResourceModelWithAllowedPropertySetPlan to Plan
- Type of parameter sku of interface ResourceModelWithAllowedPropertySet is changed from ResourceModelWithAllowedPropertySetSku to Sku
- Type of parameter daysOfWeek of interface ScalingSchedule is changed from ScalingScheduleDaysOfWeekItem[] to DayOfWeek[]
- Removed Enum KnownScalingScheduleDaysOfWeekItem


## 1.2.0 (2024-09-11)

### Features Added
Expand Down
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 Expand Up @@ -44,7 +44,6 @@ npm install @azure/identity
```

You will also need to **register a new AAD application and grant access to Azure Desktop Virtualization API** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.

For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "3519c80fe510a268f6e59a29ccac8a53fdec15b6",
"commit": "acad81755623908e6d049a78cfd91a94bbfa7c40",
"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/[email protected].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/[email protected].13",
"use": "@autorest/[email protected].27"
"release_tool": "@azure-tools/[email protected].16",
"use": "@autorest/typescript@^6.0.12"
}
67 changes: 31 additions & 36 deletions sdk/desktopvirtualization/arm-desktopvirtualization/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for DesktopVirtualizationAPIClient.",
"version": "1.2.1",
"version": "2.0.0-beta.1",
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@azure/core-auth": "^1.3.0",
"@azure/core-client": "^1.7.0",
"@azure/core-lro": "^2.5.4",
"@azure/abort-controller": "^2.1.2",
"@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,18 +28,19 @@
"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",
"typescript": "~5.6.2",
"dotenv": "^16.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/identity": "^4.0.1",
"@types/chai": "^4.2.8",
"@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",
"dotenv": "^16.0.0",
"mocha": "^11.0.2",
"ts-node": "^10.0.0",
"typescript": "~5.6.2"
"@types/node": "^18.0.0",
"ts-node": "^10.0.0"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -65,28 +68,28 @@
],
"scripts": {
"build": "npm run clean && tsc && dev-tool run bundle && npm run minify && dev-tool run vendored mkdirp ./review && npm run extract-api",
"build:browser": "echo skipped",
"minify": "dev-tool run vendored 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": "dev-tool run vendored 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": "dev-tool run vendored 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": "dev-tool run vendored 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": "dev-tool run vendored cross-env TEST_MODE=playback npm run integration-test:node",
"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",
"update-snippets": "echo skipped"
},
"sideEffects": false,
Expand All @@ -99,13 +102,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"
}
Loading

0 comments on commit 9a819e7

Please sign in to comment.