Skip to content

Commit 7bde1e1

Browse files
author
SDKAuto
committed
CodeGen from PR 25219 in Azure/azure-rest-api-specs
Merge 0a6d8fa2d06e786f86d8e138f0f3413fe522ec99 into 2735b620aeb695c106fecd9bf28d719aa0b75b43
1 parent 092094d commit 7bde1e1

File tree

16 files changed

+3046
-996
lines changed

16 files changed

+3046
-996
lines changed
Lines changed: 55 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,60 @@
11
# Release History
2+
3+
## 1.1.0-beta.1 (2023-08-09)
4+
5+
**Features**
26

3-
## 1.0.1 (Unreleased)
4-
5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
12-
7+
- Added operation group PrivateEndpointConnections
8+
- Added operation group PrivateLinkResources
9+
- Added Interface PrivateEndpoint
10+
- Added Interface PrivateEndpointConnection
11+
- Added Interface PrivateEndpointConnectionListResultWithSystemData
12+
- Added Interface PrivateEndpointConnectionsDeleteByHostPoolOptionalParams
13+
- Added Interface PrivateEndpointConnectionsDeleteByWorkspaceOptionalParams
14+
- Added Interface PrivateEndpointConnectionsGetByHostPoolOptionalParams
15+
- Added Interface PrivateEndpointConnectionsGetByWorkspaceOptionalParams
16+
- Added Interface PrivateEndpointConnectionsListByHostPoolNextOptionalParams
17+
- Added Interface PrivateEndpointConnectionsListByHostPoolOptionalParams
18+
- Added Interface PrivateEndpointConnectionsListByWorkspaceNextOptionalParams
19+
- Added Interface PrivateEndpointConnectionsListByWorkspaceOptionalParams
20+
- Added Interface PrivateEndpointConnectionsUpdateByHostPoolOptionalParams
21+
- Added Interface PrivateEndpointConnectionsUpdateByWorkspaceOptionalParams
22+
- Added Interface PrivateEndpointConnectionWithSystemData
23+
- Added Interface PrivateLinkResource
24+
- Added Interface PrivateLinkResourceListResult
25+
- Added Interface PrivateLinkResourcesListByHostPoolNextOptionalParams
26+
- Added Interface PrivateLinkResourcesListByHostPoolOptionalParams
27+
- Added Interface PrivateLinkResourcesListByWorkspaceNextOptionalParams
28+
- Added Interface PrivateLinkResourcesListByWorkspaceOptionalParams
29+
- Added Interface PrivateLinkServiceConnectionState
30+
- Added Type Alias HostpoolPublicNetworkAccess
31+
- Added Type Alias PrivateEndpointConnectionProvisioningState
32+
- Added Type Alias PrivateEndpointConnectionsGetByHostPoolResponse
33+
- Added Type Alias PrivateEndpointConnectionsGetByWorkspaceResponse
34+
- Added Type Alias PrivateEndpointConnectionsListByHostPoolNextResponse
35+
- Added Type Alias PrivateEndpointConnectionsListByHostPoolResponse
36+
- Added Type Alias PrivateEndpointConnectionsListByWorkspaceNextResponse
37+
- Added Type Alias PrivateEndpointConnectionsListByWorkspaceResponse
38+
- Added Type Alias PrivateEndpointConnectionsUpdateByHostPoolResponse
39+
- Added Type Alias PrivateEndpointConnectionsUpdateByWorkspaceResponse
40+
- Added Type Alias PrivateEndpointServiceConnectionStatus
41+
- Added Type Alias PrivateLinkResourcesListByHostPoolNextResponse
42+
- Added Type Alias PrivateLinkResourcesListByHostPoolResponse
43+
- Added Type Alias PrivateLinkResourcesListByWorkspaceNextResponse
44+
- Added Type Alias PrivateLinkResourcesListByWorkspaceResponse
45+
- Added Type Alias PublicNetworkAccess
46+
- Interface HostPool has a new optional parameter privateEndpointConnections
47+
- Interface HostPool has a new optional parameter publicNetworkAccess
48+
- Interface HostPoolPatch has a new optional parameter publicNetworkAccess
49+
- Interface Workspace has a new optional parameter privateEndpointConnections
50+
- Interface Workspace has a new optional parameter publicNetworkAccess
51+
- Interface WorkspacePatch has a new optional parameter publicNetworkAccess
52+
- Added Enum KnownHostpoolPublicNetworkAccess
53+
- Added Enum KnownPrivateEndpointConnectionProvisioningState
54+
- Added Enum KnownPrivateEndpointServiceConnectionStatus
55+
- Added Enum KnownPublicNetworkAccess
56+
57+
1358
## 1.0.0 (2023-03-09)
1459

1560
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).

sdk/desktopvirtualization/arm-desktopvirtualization/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f
66

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

1212
## Getting started
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "4f4044394791773e6e7e82a9bd90d3935caaca1b",
2+
"commit": "4d0de992bd7359a53502aff4fddf297e26f86916",
33
"readme": "specification/desktopvirtualization/resource-manager/readme.md",
4-
"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",
4+
"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",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"release_tool": "@azure-tools/js-sdk-release-tools@2.6.2",
7-
"use": "@autorest/[email protected].0-rc.9"
6+
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.1",
7+
"use": "@autorest/typescript@^6.0.4"
88
}

sdk/desktopvirtualization/arm-desktopvirtualization/package.json

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for DesktopVirtualizationAPIClient.",
6-
"version": "1.0.1",
6+
"version": "1.1.0-beta.1",
77
"engines": {
88
"node": ">=14.0.0"
99
},
@@ -109,13 +109,5 @@
109109
]
110110
},
111111
"autoPublish": true,
112-
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/desktopvirtualization/arm-desktopvirtualization",
113-
"//sampleConfiguration": {
114-
"productName": "",
115-
"productSlugs": [
116-
"azure"
117-
],
118-
"disableDocsMs": true,
119-
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-desktopvirtualization?view=azure-node-preview"
120-
}
121-
}
112+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/desktopvirtualization/arm-desktopvirtualization"
113+
}

sdk/desktopvirtualization/arm-desktopvirtualization/review/arm-desktopvirtualization.api.md

Lines changed: 213 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,10 @@ export class DesktopVirtualizationAPIClient extends coreClient.ServiceClient {
327327
// (undocumented)
328328
operations: Operations;
329329
// (undocumented)
330+
privateEndpointConnections: PrivateEndpointConnections;
331+
// (undocumented)
332+
privateLinkResources: PrivateLinkResources;
333+
// (undocumented)
330334
scalingPlanPooledSchedules: ScalingPlanPooledSchedules;
331335
// (undocumented)
332336
scalingPlans: ScalingPlans;
@@ -395,6 +399,8 @@ export interface HostPool extends ResourceModelWithAllowedPropertySet {
395399
readonly objectId?: string;
396400
personalDesktopAssignmentType?: PersonalDesktopAssignmentType;
397401
preferredAppGroupType: PreferredAppGroupType;
402+
readonly privateEndpointConnections?: PrivateEndpointConnection[];
403+
publicNetworkAccess?: HostpoolPublicNetworkAccess;
398404
registrationInfo?: RegistrationInfo;
399405
ring?: number;
400406
ssoadfsAuthority?: string;
@@ -423,6 +429,7 @@ export interface HostPoolPatch extends Resource {
423429
maxSessionLimit?: number;
424430
personalDesktopAssignmentType?: PersonalDesktopAssignmentType;
425431
preferredAppGroupType?: PreferredAppGroupType;
432+
publicNetworkAccess?: HostpoolPublicNetworkAccess;
426433
registrationInfo?: RegistrationInfoPatch;
427434
ring?: number;
428435
ssoadfsAuthority?: string;
@@ -437,6 +444,9 @@ export interface HostPoolPatch extends Resource {
437444
vmTemplate?: string;
438445
}
439446

447+
// @public
448+
export type HostpoolPublicNetworkAccess = string;
449+
440450
// @public
441451
export interface HostPools {
442452
createOrUpdate(resourceGroupName: string, hostPoolName: string, hostPool: HostPool, options?: HostPoolsCreateOrUpdateOptionalParams): Promise<HostPoolsCreateOrUpdateResponse>;
@@ -576,6 +586,14 @@ export enum KnownHealthCheckResult {
576586
Unknown = "Unknown"
577587
}
578588

589+
// @public
590+
export enum KnownHostpoolPublicNetworkAccess {
591+
Disabled = "Disabled",
592+
Enabled = "Enabled",
593+
EnabledForClientsOnly = "EnabledForClientsOnly",
594+
EnabledForSessionHostsOnly = "EnabledForSessionHostsOnly"
595+
}
596+
579597
// @public
580598
export enum KnownHostPoolType {
581599
BYODesktop = "BYODesktop",
@@ -603,6 +621,27 @@ export enum KnownPreferredAppGroupType {
603621
RailApplications = "RailApplications"
604622
}
605623

624+
// @public
625+
export enum KnownPrivateEndpointConnectionProvisioningState {
626+
Creating = "Creating",
627+
Deleting = "Deleting",
628+
Failed = "Failed",
629+
Succeeded = "Succeeded"
630+
}
631+
632+
// @public
633+
export enum KnownPrivateEndpointServiceConnectionStatus {
634+
Approved = "Approved",
635+
Pending = "Pending",
636+
Rejected = "Rejected"
637+
}
638+
639+
// @public
640+
export enum KnownPublicNetworkAccess {
641+
Disabled = "Disabled",
642+
Enabled = "Enabled"
643+
}
644+
606645
// @public
607646
export enum KnownRegistrationTokenOperation {
608647
Delete = "Delete",
@@ -877,6 +916,177 @@ export interface Plan {
877916
// @public
878917
export type PreferredAppGroupType = string;
879918

919+
// @public
920+
export interface PrivateEndpoint {
921+
readonly id?: string;
922+
}
923+
924+
// @public
925+
export interface PrivateEndpointConnection extends Resource {
926+
privateEndpoint?: PrivateEndpoint;
927+
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
928+
readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
929+
}
930+
931+
// @public
932+
export interface PrivateEndpointConnectionListResultWithSystemData {
933+
readonly nextLink?: string;
934+
value?: PrivateEndpointConnectionWithSystemData[];
935+
}
936+
937+
// @public
938+
export type PrivateEndpointConnectionProvisioningState = string;
939+
940+
// @public
941+
export interface PrivateEndpointConnections {
942+
deleteByHostPool(resourceGroupName: string, hostPoolName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteByHostPoolOptionalParams): Promise<void>;
943+
deleteByWorkspace(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteByWorkspaceOptionalParams): Promise<void>;
944+
getByHostPool(resourceGroupName: string, hostPoolName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetByHostPoolOptionalParams): Promise<PrivateEndpointConnectionsGetByHostPoolResponse>;
945+
getByWorkspace(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetByWorkspaceOptionalParams): Promise<PrivateEndpointConnectionsGetByWorkspaceResponse>;
946+
listByHostPool(resourceGroupName: string, hostPoolName: string, options?: PrivateEndpointConnectionsListByHostPoolOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnectionWithSystemData>;
947+
listByWorkspace(resourceGroupName: string, workspaceName: string, options?: PrivateEndpointConnectionsListByWorkspaceOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnectionWithSystemData>;
948+
updateByHostPool(resourceGroupName: string, hostPoolName: string, privateEndpointConnectionName: string, connection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsUpdateByHostPoolOptionalParams): Promise<PrivateEndpointConnectionsUpdateByHostPoolResponse>;
949+
updateByWorkspace(resourceGroupName: string, workspaceName: string, privateEndpointConnectionName: string, connection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsUpdateByWorkspaceOptionalParams): Promise<PrivateEndpointConnectionsUpdateByWorkspaceResponse>;
950+
}
951+
952+
// @public
953+
export interface PrivateEndpointConnectionsDeleteByHostPoolOptionalParams extends coreClient.OperationOptions {
954+
}
955+
956+
// @public
957+
export interface PrivateEndpointConnectionsDeleteByWorkspaceOptionalParams extends coreClient.OperationOptions {
958+
}
959+
960+
// @public
961+
export interface PrivateEndpointConnectionsGetByHostPoolOptionalParams extends coreClient.OperationOptions {
962+
}
963+
964+
// @public
965+
export type PrivateEndpointConnectionsGetByHostPoolResponse = PrivateEndpointConnectionWithSystemData;
966+
967+
// @public
968+
export interface PrivateEndpointConnectionsGetByWorkspaceOptionalParams extends coreClient.OperationOptions {
969+
}
970+
971+
// @public
972+
export type PrivateEndpointConnectionsGetByWorkspaceResponse = PrivateEndpointConnectionWithSystemData;
973+
974+
// @public
975+
export interface PrivateEndpointConnectionsListByHostPoolNextOptionalParams extends coreClient.OperationOptions {
976+
}
977+
978+
// @public
979+
export type PrivateEndpointConnectionsListByHostPoolNextResponse = PrivateEndpointConnectionListResultWithSystemData;
980+
981+
// @public
982+
export interface PrivateEndpointConnectionsListByHostPoolOptionalParams extends coreClient.OperationOptions {
983+
initialSkip?: number;
984+
isDescending?: boolean;
985+
pageSize?: number;
986+
}
987+
988+
// @public
989+
export type PrivateEndpointConnectionsListByHostPoolResponse = PrivateEndpointConnectionListResultWithSystemData;
990+
991+
// @public
992+
export interface PrivateEndpointConnectionsListByWorkspaceNextOptionalParams extends coreClient.OperationOptions {
993+
}
994+
995+
// @public
996+
export type PrivateEndpointConnectionsListByWorkspaceNextResponse = PrivateEndpointConnectionListResultWithSystemData;
997+
998+
// @public
999+
export interface PrivateEndpointConnectionsListByWorkspaceOptionalParams extends coreClient.OperationOptions {
1000+
}
1001+
1002+
// @public
1003+
export type PrivateEndpointConnectionsListByWorkspaceResponse = PrivateEndpointConnectionListResultWithSystemData;
1004+
1005+
// @public
1006+
export interface PrivateEndpointConnectionsUpdateByHostPoolOptionalParams extends coreClient.OperationOptions {
1007+
}
1008+
1009+
// @public
1010+
export type PrivateEndpointConnectionsUpdateByHostPoolResponse = PrivateEndpointConnectionWithSystemData;
1011+
1012+
// @public
1013+
export interface PrivateEndpointConnectionsUpdateByWorkspaceOptionalParams extends coreClient.OperationOptions {
1014+
}
1015+
1016+
// @public
1017+
export type PrivateEndpointConnectionsUpdateByWorkspaceResponse = PrivateEndpointConnectionWithSystemData;
1018+
1019+
// @public
1020+
export interface PrivateEndpointConnectionWithSystemData extends PrivateEndpointConnection {
1021+
readonly systemData?: SystemData;
1022+
}
1023+
1024+
// @public
1025+
export type PrivateEndpointServiceConnectionStatus = string;
1026+
1027+
// @public
1028+
export interface PrivateLinkResource extends Resource {
1029+
readonly groupId?: string;
1030+
readonly requiredMembers?: string[];
1031+
requiredZoneNames?: string[];
1032+
}
1033+
1034+
// @public
1035+
export interface PrivateLinkResourceListResult {
1036+
readonly nextLink?: string;
1037+
value?: PrivateLinkResource[];
1038+
}
1039+
1040+
// @public
1041+
export interface PrivateLinkResources {
1042+
listByHostPool(resourceGroupName: string, hostPoolName: string, options?: PrivateLinkResourcesListByHostPoolOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
1043+
listByWorkspace(resourceGroupName: string, workspaceName: string, options?: PrivateLinkResourcesListByWorkspaceOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
1044+
}
1045+
1046+
// @public
1047+
export interface PrivateLinkResourcesListByHostPoolNextOptionalParams extends coreClient.OperationOptions {
1048+
}
1049+
1050+
// @public
1051+
export type PrivateLinkResourcesListByHostPoolNextResponse = PrivateLinkResourceListResult;
1052+
1053+
// @public
1054+
export interface PrivateLinkResourcesListByHostPoolOptionalParams extends coreClient.OperationOptions {
1055+
initialSkip?: number;
1056+
isDescending?: boolean;
1057+
pageSize?: number;
1058+
}
1059+
1060+
// @public
1061+
export type PrivateLinkResourcesListByHostPoolResponse = PrivateLinkResourceListResult;
1062+
1063+
// @public
1064+
export interface PrivateLinkResourcesListByWorkspaceNextOptionalParams extends coreClient.OperationOptions {
1065+
}
1066+
1067+
// @public
1068+
export type PrivateLinkResourcesListByWorkspaceNextResponse = PrivateLinkResourceListResult;
1069+
1070+
// @public
1071+
export interface PrivateLinkResourcesListByWorkspaceOptionalParams extends coreClient.OperationOptions {
1072+
initialSkip?: number;
1073+
isDescending?: boolean;
1074+
pageSize?: number;
1075+
}
1076+
1077+
// @public
1078+
export type PrivateLinkResourcesListByWorkspaceResponse = PrivateLinkResourceListResult;
1079+
1080+
// @public
1081+
export interface PrivateLinkServiceConnectionState {
1082+
actionsRequired?: string;
1083+
description?: string;
1084+
status?: PrivateEndpointServiceConnectionStatus;
1085+
}
1086+
1087+
// @public
1088+
export type PublicNetworkAccess = string;
1089+
8801090
// @public
8811091
export interface RegistrationInfo {
8821092
expirationTime?: Date;
@@ -1494,6 +1704,8 @@ export interface Workspace extends ResourceModelWithAllowedPropertySet {
14941704
description?: string;
14951705
friendlyName?: string;
14961706
readonly objectId?: string;
1707+
readonly privateEndpointConnections?: PrivateEndpointConnection[];
1708+
publicNetworkAccess?: PublicNetworkAccess;
14971709
readonly systemData?: SystemData;
14981710
}
14991711

@@ -1508,6 +1720,7 @@ export interface WorkspacePatch {
15081720
applicationGroupReferences?: string[];
15091721
description?: string;
15101722
friendlyName?: string;
1723+
publicNetworkAccess?: PublicNetworkAccess;
15111724
tags?: {
15121725
[propertyName: string]: string;
15131726
};

0 commit comments

Comments
 (0)