Skip to content

Commit 2721fd6

Browse files
author
SDKAuto
committed
CodeGen from PR 28072 in Azure/azure-rest-api-specs
Merge 68aea0f474dc2fc15b27fca5d95b00197f303733 into 98df3588284c0b77389e981ef04aa93fed89037e
1 parent 00504e6 commit 2721fd6

36 files changed

+2587
-2018
lines changed

common/config/rush/pnpm-lock.yaml

Lines changed: 382 additions & 384 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/signalr/arm-signalr/CHANGELOG.md

Lines changed: 16 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# Release History
22

3-
## 6.0.0-beta.2 (2023-10-09)
3+
## 6.0.0-beta.3 (2024-03-13)
44

55
**Features**
66

7+
- Added operation group SignalRReplica
78
- Added operation group SignalRReplicas
89
- Added operation SignalR.listReplicaSkus
910
- Added Interface IPRule
@@ -14,6 +15,10 @@
1415
- Added Interface SignalRReplicasCreateOrUpdateOptionalParams
1516
- Added Interface SignalRReplicasDeleteOptionalParams
1617
- Added Interface SignalRReplicasGetOptionalParams
18+
- Added Interface SignalRReplicaSharedPrivateLinkResourcesCreateOrUpdateOptionalParams
19+
- Added Interface SignalRReplicaSharedPrivateLinkResourcesGetOptionalParams
20+
- Added Interface SignalRReplicaSharedPrivateLinkResourcesListNextOptionalParams
21+
- Added Interface SignalRReplicaSharedPrivateLinkResourcesListOptionalParams
1722
- Added Interface SignalRReplicasListNextOptionalParams
1823
- Added Interface SignalRReplicasListOptionalParams
1924
- Added Interface SignalRReplicasRestartHeaders
@@ -25,6 +30,10 @@
2530
- Added Type Alias SignalRListReplicaSkusResponse
2631
- Added Type Alias SignalRReplicasCreateOrUpdateResponse
2732
- Added Type Alias SignalRReplicasGetResponse
33+
- Added Type Alias SignalRReplicaSharedPrivateLinkResourcesCreateOrUpdateResponse
34+
- Added Type Alias SignalRReplicaSharedPrivateLinkResourcesGetResponse
35+
- Added Type Alias SignalRReplicaSharedPrivateLinkResourcesListNextResponse
36+
- Added Type Alias SignalRReplicaSharedPrivateLinkResourcesListResponse
2837
- Added Type Alias SignalRReplicasListNextResponse
2938
- Added Type Alias SignalRReplicasListResponse
3039
- Added Type Alias SignalRReplicasRestartResponse
@@ -37,44 +46,14 @@
3746

3847
**Breaking Changes**
3948

49+
- Interface CustomCertificate no longer has parameter systemData
50+
- Interface CustomDomain no longer has parameter systemData
51+
- Interface PrivateEndpointConnection no longer has parameter systemData
52+
- Interface SharedPrivateLinkResource no longer has parameter systemData
53+
- Interface SignalRResource no longer has parameter systemData
4054
- Parameter location of interface TrackedResource is now required
4155

4256

43-
## 6.0.0-beta.1 (2023-08-31)
44-
45-
**Features**
46-
47-
- Added operation group SignalRReplicas
48-
- Added operation SignalR.listReplicaSkus
49-
- Added Interface Replica
50-
- Added Interface ReplicaList
51-
- Added Interface SignalRListReplicaSkusOptionalParams
52-
- Added Interface SignalRRegenerateKeyHeaders
53-
- Added Interface SignalRReplicasCreateOrUpdateOptionalParams
54-
- Added Interface SignalRReplicasDeleteOptionalParams
55-
- Added Interface SignalRReplicasGetOptionalParams
56-
- Added Interface SignalRReplicasListNextOptionalParams
57-
- Added Interface SignalRReplicasListOptionalParams
58-
- Added Interface SignalRReplicasRestartHeaders
59-
- Added Interface SignalRReplicasRestartOptionalParams
60-
- Added Interface SignalRReplicasUpdateHeaders
61-
- Added Interface SignalRReplicasUpdateOptionalParams
62-
- Added Interface SignalRRestartHeaders
63-
- Added Interface SignalRUpdateHeaders
64-
- Added Type Alias SignalRListReplicaSkusResponse
65-
- Added Type Alias SignalRReplicasCreateOrUpdateResponse
66-
- Added Type Alias SignalRReplicasGetResponse
67-
- Added Type Alias SignalRReplicasListNextResponse
68-
- Added Type Alias SignalRReplicasListResponse
69-
- Added Type Alias SignalRReplicasRestartResponse
70-
- Added Type Alias SignalRReplicasUpdateResponse
71-
- Added Type Alias SignalRRestartResponse
72-
73-
**Breaking Changes**
74-
75-
- Parameter location of interface TrackedResource is now required
76-
77-
7857
## 5.2.0 (2023-03-08)
7958

8059
**Features**
@@ -136,4 +115,4 @@ To understand the detail of the change, please refer to [Changelog](https://aka.
136115

137116
To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide).
138117

139-
To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
118+
To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).

sdk/signalr/arm-signalr/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2023 Microsoft
3+
Copyright (c) 2024 Microsoft
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

sdk/signalr/arm-signalr/_meta.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "663ea6835c33bca216b63f777227db6a459a06b3",
2+
"commit": "1c97625c82c459225dc00b8ef7811eb8675f616f",
33
"readme": "specification/signalr/resource-manager/readme.md",
4-
"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\\signalr\\resource-manager\\readme.md --use=@autorest/[email protected].9 --generate-sample=true",
4+
"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/signalr/resource-manager/readme.md --use=@autorest/typescript@^6.0.12",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"release_tool": "@azure-tools/[email protected].2",
7-
"use": "@autorest/[email protected].9"
6+
"release_tool": "@azure-tools/[email protected].4",
7+
"use": "@autorest/typescript@^6.0.12"
88
}

sdk/signalr/arm-signalr/package.json

Lines changed: 9 additions & 17 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 SignalRManagementClient.",
6-
"version": "6.0.0-beta.2",
6+
"version": "6.0.0-beta.3",
77
"engines": {
88
"node": ">=18.0.0"
99
},
@@ -12,8 +12,8 @@
1212
"@azure/abort-controller": "^1.0.0",
1313
"@azure/core-paging": "^1.2.0",
1414
"@azure/core-client": "^1.7.0",
15-
"@azure/core-auth": "^1.3.0",
16-
"@azure/core-rest-pipeline": "^1.12.0",
15+
"@azure/core-auth": "^1.6.0",
16+
"@azure/core-rest-pipeline": "^1.14.0",
1717
"tslib": "^2.2.0"
1818
},
1919
"keywords": [
@@ -34,17 +34,18 @@
3434
"uglify-js": "^3.4.9",
3535
"rimraf": "^5.0.0",
3636
"dotenv": "^16.0.0",
37+
"@azure/dev-tool": "^1.0.0",
3738
"@azure/identity": "^4.0.1",
3839
"@azure-tools/test-recorder": "^3.0.0",
3940
"@azure-tools/test-credential": "^1.0.0",
4041
"mocha": "^10.0.0",
42+
"@types/mocha": "^10.0.0",
43+
"esm": "^3.2.18",
4144
"@types/chai": "^4.2.8",
4245
"chai": "^4.2.0",
4346
"cross-env": "^7.0.2",
4447
"@types/node": "^18.0.0",
45-
"ts-node": "^10.0.0",
46-
"@azure/dev-tool": "^1.0.0",
47-
"@types/mocha": "^10.0.0"
48+
"ts-node": "^10.0.0"
4849
},
4950
"repository": {
5051
"type": "git",
@@ -77,7 +78,6 @@
7778
"pack": "npm pack 2>&1",
7879
"extract-api": "api-extractor run --local",
7980
"lint": "echo skipped",
80-
"audit": "echo skipped",
8181
"clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
8282
"build:node": "echo skipped",
8383
"build:browser": "echo skipped",
@@ -106,13 +106,5 @@
106106
]
107107
},
108108
"autoPublish": true,
109-
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/signalr/arm-signalr",
110-
"//sampleConfiguration": {
111-
"productName": "",
112-
"productSlugs": [
113-
"azure"
114-
],
115-
"disableDocsMs": true,
116-
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-signalr?view=azure-node-preview"
117-
}
118-
}
109+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/signalr/arm-signalr"
110+
}

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

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -692,6 +692,8 @@ export class SignalRManagementClient extends coreClient.ServiceClient {
692692
// (undocumented)
693693
signalRPrivateLinkResources: SignalRPrivateLinkResources;
694694
// (undocumented)
695+
signalRReplica: SignalRReplica;
696+
// (undocumented)
695697
signalRReplicas: SignalRReplicas;
696698
// (undocumented)
697699
signalRSharedPrivateLinkResources: SignalRSharedPrivateLinkResources;
@@ -793,6 +795,14 @@ export interface SignalRRegenerateKeyOptionalParams extends coreClient.Operation
793795
// @public
794796
export type SignalRRegenerateKeyResponse = SignalRKeys;
795797

798+
// @public
799+
export interface SignalRReplica {
800+
beginSharedPrivateLinkResourcesCreateOrUpdate(resourceGroupName: string, resourceName: string, replicaName: string, sharedPrivateLinkResourceName: string, parameters: SharedPrivateLinkResource, options?: SignalRReplicaSharedPrivateLinkResourcesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SignalRReplicaSharedPrivateLinkResourcesCreateOrUpdateResponse>, SignalRReplicaSharedPrivateLinkResourcesCreateOrUpdateResponse>>;
801+
beginSharedPrivateLinkResourcesCreateOrUpdateAndWait(resourceGroupName: string, resourceName: string, replicaName: string, sharedPrivateLinkResourceName: string, parameters: SharedPrivateLinkResource, options?: SignalRReplicaSharedPrivateLinkResourcesCreateOrUpdateOptionalParams): Promise<SignalRReplicaSharedPrivateLinkResourcesCreateOrUpdateResponse>;
802+
listSharedPrivateLinkResourcesList(resourceGroupName: string, resourceName: string, replicaName: string, options?: SignalRReplicaSharedPrivateLinkResourcesListOptionalParams): PagedAsyncIterableIterator<SharedPrivateLinkResource>;
803+
sharedPrivateLinkResourcesGet(resourceGroupName: string, resourceName: string, replicaName: string, sharedPrivateLinkResourceName: string, options?: SignalRReplicaSharedPrivateLinkResourcesGetOptionalParams): Promise<SignalRReplicaSharedPrivateLinkResourcesGetResponse>;
804+
}
805+
796806
// @public
797807
export interface SignalRReplicas {
798808
beginCreateOrUpdate(resourceGroupName: string, resourceName: string, replicaName: string, parameters: Replica, options?: SignalRReplicasCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SignalRReplicasCreateOrUpdateResponse>, SignalRReplicasCreateOrUpdateResponse>>;
@@ -826,6 +836,36 @@ export interface SignalRReplicasGetOptionalParams extends coreClient.OperationOp
826836
// @public
827837
export type SignalRReplicasGetResponse = Replica;
828838

839+
// @public
840+
export interface SignalRReplicaSharedPrivateLinkResourcesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
841+
resumeFrom?: string;
842+
updateIntervalInMs?: number;
843+
}
844+
845+
// @public
846+
export type SignalRReplicaSharedPrivateLinkResourcesCreateOrUpdateResponse = SharedPrivateLinkResource;
847+
848+
// @public
849+
export interface SignalRReplicaSharedPrivateLinkResourcesGetOptionalParams extends coreClient.OperationOptions {
850+
}
851+
852+
// @public
853+
export type SignalRReplicaSharedPrivateLinkResourcesGetResponse = SharedPrivateLinkResource;
854+
855+
// @public
856+
export interface SignalRReplicaSharedPrivateLinkResourcesListNextOptionalParams extends coreClient.OperationOptions {
857+
}
858+
859+
// @public
860+
export type SignalRReplicaSharedPrivateLinkResourcesListNextResponse = SharedPrivateLinkResourceList;
861+
862+
// @public
863+
export interface SignalRReplicaSharedPrivateLinkResourcesListOptionalParams extends coreClient.OperationOptions {
864+
}
865+
866+
// @public
867+
export type SignalRReplicaSharedPrivateLinkResourcesListResponse = SharedPrivateLinkResourceList;
868+
829869
// @public
830870
export interface SignalRReplicasListNextOptionalParams extends coreClient.OperationOptions {
831871
}

sdk/signalr/arm-signalr/src/lroImpl.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ export function createLroSpec<T>(inputs: {
2828
sendInitialRequest: () => sendOperationFn(args, spec),
2929
sendPollRequest: (
3030
path: string,
31-
options?: { abortSignal?: AbortSignalLike }
31+
options?: { abortSignal?: AbortSignalLike },
3232
) => {
3333
const { requestBody, ...restSpec } = spec;
3434
return sendOperationFn(args, {
3535
...restSpec,
3636
httpMethod: "GET",
3737
path,
38-
abortSignal: options?.abortSignal
38+
abortSignal: options?.abortSignal,
3939
});
40-
}
40+
},
4141
};
4242
}

0 commit comments

Comments
 (0)