Skip to content
Closed
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
763 changes: 382 additions & 381 deletions common/config/rush/pnpm-lock.yaml

Large diffs are not rendered by default.

57 changes: 15 additions & 42 deletions sdk/web-pubsub/arm-webpubsub/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Release History

## 2.0.0-beta.2 (2023-10-10)
## 2.0.0-beta.3 (2024-03-20)

**Features**

- Added operation group WebPubSubReplicas
- Added operation group WebPubSubReplicaSharedPrivateLinkResources
- Added operation WebPubSub.listReplicaSkus
- Added Interface IPRule
- Added Interface Replica
Expand All @@ -14,80 +15,52 @@
- Added Interface WebPubSubReplicasCreateOrUpdateOptionalParams
- Added Interface WebPubSubReplicasDeleteOptionalParams
- Added Interface WebPubSubReplicasGetOptionalParams
- Added Interface WebPubSubReplicaSharedPrivateLinkResourcesCreateOrUpdateOptionalParams
- Added Interface WebPubSubReplicaSharedPrivateLinkResourcesGetOptionalParams
- Added Interface WebPubSubReplicaSharedPrivateLinkResourcesListNextOptionalParams
- Added Interface WebPubSubReplicaSharedPrivateLinkResourcesListOptionalParams
- Added Interface WebPubSubReplicasListNextOptionalParams
- Added Interface WebPubSubReplicasListOptionalParams
- Added Interface WebPubSubReplicasRestartHeaders
- Added Interface WebPubSubReplicasRestartOptionalParams
- Added Interface WebPubSubReplicasUpdateHeaders
- Added Interface WebPubSubReplicasUpdateOptionalParams
- Added Interface WebPubSubRestartHeaders
- Added Interface WebPubSubSocketIOSettings
- Added Interface WebPubSubUpdateHeaders
- Added Type Alias ServiceKind
- Added Type Alias WebPubSubListReplicaSkusResponse
- Added Type Alias WebPubSubReplicasCreateOrUpdateResponse
- Added Type Alias WebPubSubReplicasGetResponse
- Added Type Alias WebPubSubReplicaSharedPrivateLinkResourcesCreateOrUpdateResponse
- Added Type Alias WebPubSubReplicaSharedPrivateLinkResourcesGetResponse
- Added Type Alias WebPubSubReplicaSharedPrivateLinkResourcesListNextResponse
- Added Type Alias WebPubSubReplicaSharedPrivateLinkResourcesListResponse
- Added Type Alias WebPubSubReplicasListNextResponse
- Added Type Alias WebPubSubReplicasListResponse
- Added Type Alias WebPubSubReplicasRestartResponse
- Added Type Alias WebPubSubReplicasUpdateResponse
- Added Type Alias WebPubSubRestartResponse
- Interface Resource has a new optional parameter systemData
- Interface WebPubSubHubProperties has a new optional parameter webSocketKeepAliveIntervalInSeconds
- Interface WebPubSubNetworkACLs has a new optional parameter ipRules
- Interface WebPubSubResource has a new optional parameter kind
- Interface WebPubSubResource has a new optional parameter regionEndpointEnabled
- Interface WebPubSubResource has a new optional parameter resourceStopped
- Interface WebPubSubResource has a new optional parameter socketIO
- Added Enum KnownServiceKind

**Breaking Changes**

- Parameter location of interface TrackedResource is now required


## 2.0.0-beta.1 (2023-07-11)

**Features**

- Added operation group WebPubSubReplicas
- Added operation WebPubSub.listReplicaSkus
- Added Interface Replica
- Added Interface ReplicaList
- Added Interface WebPubSubListReplicaSkusOptionalParams
- Added Interface WebPubSubRegenerateKeyHeaders
- Added Interface WebPubSubReplicasCreateOrUpdateOptionalParams
- Added Interface WebPubSubReplicasDeleteOptionalParams
- Added Interface WebPubSubReplicasGetOptionalParams
- Added Interface WebPubSubReplicasListNextOptionalParams
- Added Interface WebPubSubReplicasListOptionalParams
- Added Interface WebPubSubReplicasRestartHeaders
- Added Interface WebPubSubReplicasRestartOptionalParams
- Added Interface WebPubSubReplicasUpdateHeaders
- Added Interface WebPubSubReplicasUpdateOptionalParams
- Added Interface WebPubSubRestartHeaders
- Added Interface WebPubSubUpdateHeaders
- Added Type Alias ServiceKind
- Added Type Alias WebPubSubListReplicaSkusResponse
- Added Type Alias WebPubSubReplicasCreateOrUpdateResponse
- Added Type Alias WebPubSubReplicasGetResponse
- Added Type Alias WebPubSubReplicasListNextResponse
- Added Type Alias WebPubSubReplicasListResponse
- Added Type Alias WebPubSubReplicasRestartResponse
- Added Type Alias WebPubSubReplicasUpdateResponse
- Added Type Alias WebPubSubRestartResponse
- Interface Resource has a new optional parameter systemData
- Interface WebPubSubResource has a new optional parameter kind
- Added Enum KnownServiceKind
- Interface CustomCertificate no longer has parameter systemData
- Interface CustomDomain no longer has parameter systemData
- Interface PrivateEndpointConnection no longer has parameter systemData
- Interface SharedPrivateLinkResource no longer has parameter systemData
- Interface WebPubSubHub no longer has parameter systemData
- Interface WebPubSubResource no longer has parameter systemData

**Breaking Changes**

- Parameter location of interface TrackedResource is now required


## 1.1.0 (2023-03-09)

**Features**
Expand Down Expand Up @@ -142,4 +115,4 @@

## 1.0.0 (2021-12-16)

- The package of @azure/arm-webpubsub is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
- The package of @azure/arm-webpubsub is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).
2 changes: 1 addition & 1 deletion sdk/web-pubsub/arm-webpubsub/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2023 Microsoft
Copyright (c) 2024 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 4 additions & 4 deletions sdk/web-pubsub/arm-webpubsub/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "e1017d9ab49f41296177b4f4c9ac741fb7de044d",
"commit": "c3985feb70215da9f7fcac44b2a2b6bb5b8d0171",
"readme": "specification/webpubsub/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\\webpubsub\\resource-manager\\readme.md --use=@autorest/[email protected].9 --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/webpubsub/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].2",
"use": "@autorest/[email protected].9"
"release_tool": "@azure-tools/[email protected].4",
"use": "@autorest/typescript@^6.0.12"
}
26 changes: 9 additions & 17 deletions sdk/web-pubsub/arm-webpubsub/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 WebPubSubManagementClient.",
"version": "2.0.0-beta.2",
"version": "2.0.0-beta.3",
"engines": {
"node": ">=18.0.0"
},
Expand All @@ -12,8 +12,8 @@
"@azure/abort-controller": "^1.0.0",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.7.0",
"@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.12.0",
"@azure/core-auth": "^1.6.0",
"@azure/core-rest-pipeline": "^1.14.0",
"tslib": "^2.2.0"
},
"keywords": [
Expand All @@ -34,17 +34,18 @@
"uglify-js": "^3.4.9",
"rimraf": "^5.0.0",
"dotenv": "^16.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/identity": "^4.0.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.0.0",
"mocha": "^10.0.0",
"@types/mocha": "^10.0.0",
"esm": "^3.2.18",
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^18.0.0",
"ts-node": "^10.0.0",
"@azure/dev-tool": "^1.0.0",
"@types/mocha": "^10.0.0"
"ts-node": "^10.0.0"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -77,7 +78,6 @@
"pack": "npm pack 2>&1",
"extract-api": "api-extractor run --local",
"lint": "echo skipped",
"audit": "echo skipped",
"clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
"build:node": "echo skipped",
"build:browser": "echo skipped",
Expand Down Expand Up @@ -106,13 +106,5 @@
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/web-pubsub/arm-webpubsub",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-webpubsub?view=azure-node-preview"
}
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/web-pubsub/arm-webpubsub"
}
47 changes: 47 additions & 0 deletions sdk/web-pubsub/arm-webpubsub/review/arm-webpubsub.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -752,6 +752,7 @@ export interface WebPubSubHubProperties {
anonymousConnectPolicy?: string;
eventHandlers?: EventHandler[];
eventListeners?: EventListener_2[];
webSocketKeepAliveIntervalInSeconds?: number;
}

// @public
Expand Down Expand Up @@ -885,6 +886,8 @@ export class WebPubSubManagementClient extends coreClient.ServiceClient {
// (undocumented)
webPubSubReplicas: WebPubSubReplicas;
// (undocumented)
webPubSubReplicaSharedPrivateLinkResources: WebPubSubReplicaSharedPrivateLinkResources;
// (undocumented)
webPubSubSharedPrivateLinkResources: WebPubSubSharedPrivateLinkResources;
}

Expand Down Expand Up @@ -1013,6 +1016,44 @@ export interface WebPubSubReplicasGetOptionalParams extends coreClient.Operation
// @public
export type WebPubSubReplicasGetResponse = Replica;

// @public
export interface WebPubSubReplicaSharedPrivateLinkResources {
beginCreateOrUpdate(resourceGroupName: string, resourceName: string, replicaName: string, sharedPrivateLinkResourceName: string, parameters: SharedPrivateLinkResource, options?: WebPubSubReplicaSharedPrivateLinkResourcesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WebPubSubReplicaSharedPrivateLinkResourcesCreateOrUpdateResponse>, WebPubSubReplicaSharedPrivateLinkResourcesCreateOrUpdateResponse>>;
beginCreateOrUpdateAndWait(resourceGroupName: string, resourceName: string, replicaName: string, sharedPrivateLinkResourceName: string, parameters: SharedPrivateLinkResource, options?: WebPubSubReplicaSharedPrivateLinkResourcesCreateOrUpdateOptionalParams): Promise<WebPubSubReplicaSharedPrivateLinkResourcesCreateOrUpdateResponse>;
get(resourceGroupName: string, resourceName: string, replicaName: string, sharedPrivateLinkResourceName: string, options?: WebPubSubReplicaSharedPrivateLinkResourcesGetOptionalParams): Promise<WebPubSubReplicaSharedPrivateLinkResourcesGetResponse>;
list(resourceGroupName: string, resourceName: string, replicaName: string, options?: WebPubSubReplicaSharedPrivateLinkResourcesListOptionalParams): PagedAsyncIterableIterator<SharedPrivateLinkResource>;
}

// @public
export interface WebPubSubReplicaSharedPrivateLinkResourcesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}

// @public
export type WebPubSubReplicaSharedPrivateLinkResourcesCreateOrUpdateResponse = SharedPrivateLinkResource;

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

// @public
export type WebPubSubReplicaSharedPrivateLinkResourcesGetResponse = SharedPrivateLinkResource;

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

// @public
export type WebPubSubReplicaSharedPrivateLinkResourcesListNextResponse = SharedPrivateLinkResourceList;

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

// @public
export type WebPubSubReplicaSharedPrivateLinkResourcesListResponse = SharedPrivateLinkResourceList;

// @public
export interface WebPubSubReplicasListNextOptionalParams extends coreClient.OperationOptions {
}
Expand Down Expand Up @@ -1081,6 +1122,7 @@ export interface WebPubSubResource extends TrackedResource {
readonly serverPort?: number;
readonly sharedPrivateLinkResources?: SharedPrivateLinkResource[];
sku?: ResourceSku;
socketIO?: WebPubSubSocketIOSettings;
tls?: WebPubSubTlsSettings;
readonly version?: string;
}
Expand Down Expand Up @@ -1155,6 +1197,11 @@ export type WebPubSubSharedPrivateLinkResourcesListResponse = SharedPrivateLinkR
// @public
export type WebPubSubSkuTier = string;

// @public
export interface WebPubSubSocketIOSettings {
serviceMode?: string;
}

// @public
export interface WebPubSubTlsSettings {
clientCertEnabled?: boolean;
Expand Down
6 changes: 3 additions & 3 deletions sdk/web-pubsub/arm-webpubsub/src/lroImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ export function createLroSpec<T>(inputs: {
sendInitialRequest: () => sendOperationFn(args, spec),
sendPollRequest: (
path: string,
options?: { abortSignal?: AbortSignalLike }
options?: { abortSignal?: AbortSignalLike },
) => {
const { requestBody, ...restSpec } = spec;
return sendOperationFn(args, {
...restSpec,
httpMethod: "GET",
path,
abortSignal: options?.abortSignal
abortSignal: options?.abortSignal,
});
}
},
};
}
Loading