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-webpubsub] Add 2023-06-01-preview for Web PubSub #5298

Closed
wants to merge 1 commit into from
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
51 changes: 43 additions & 8 deletions sdk/web-pubsub/arm-webpubsub/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,50 @@
# Release History

## 2.0.0-beta.1 (2023-06-28)

**Features**

## 1.1.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed
- 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

### Other Changes
**Breaking Changes**

- 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
- Parameter location of interface TrackedResource is now required


## 1.1.0 (2023-03-09)

**Features**
Expand Down
2 changes: 1 addition & 1 deletion sdk/web-pubsub/arm-webpubsub/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ REST API for Azure WebPubSub Service

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

## Getting started
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": "4f4044394791773e6e7e82a9bd90d3935caaca1b",
"commit": "ca5279e5bd89efefc4e531d1ba56e6f153e39f72",
"readme": "specification/webpubsub/resource-manager/readme.md",
"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\\webpubsub\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.9 --generate-sample=true",
"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/webpubsub/resource-manager/readme.md --use=@autorest/typescript@^6.0.4",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.6.2",
"use": "@autorest/typescript@6.0.0-rc.9"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.1",
"use": "@autorest/typescript@^6.0.4"
}
16 changes: 4 additions & 12 deletions sdk/web-pubsub/arm-webpubsub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for WebPubSubManagementClient.",
"version": "1.1.1",
"version": "2.0.0-beta.1",
"engines": {
"node": ">=14.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.5.0",
"@azure/core-lro": "^2.5.3",
"@azure/abort-controller": "^1.0.0",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.7.0",
Expand Down Expand Up @@ -111,13 +111,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"
}
143 changes: 134 additions & 9 deletions sdk/web-pubsub/arm-webpubsub/review/arm-webpubsub.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export interface CustomCertificate extends ProxyResource {
keyVaultSecretName: string;
keyVaultSecretVersion?: string;
readonly provisioningState?: ProvisioningState;
readonly systemData?: SystemData;
}

// @public
Expand All @@ -36,7 +35,6 @@ export interface CustomDomain extends ProxyResource {
customCertificate: ResourceReference;
domainName: string;
readonly provisioningState?: ProvisioningState;
readonly systemData?: SystemData;
}

// @public
Expand Down Expand Up @@ -197,6 +195,12 @@ export enum KnownScaleType {
None = "None"
}

// @public
export enum KnownServiceKind {
SocketIO = "SocketIO",
WebPubSub = "WebPubSub"
}

// @public
export enum KnownSharedPrivateLinkResourceStatus {
Approved = "Approved",
Expand Down Expand Up @@ -358,7 +362,6 @@ export interface PrivateEndpointConnection extends ProxyResource {
privateEndpoint?: PrivateEndpoint;
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
readonly provisioningState?: ProvisioningState;
readonly systemData?: SystemData;
}

// @public
Expand Down Expand Up @@ -403,10 +406,23 @@ export interface RegenerateKeyParameters {
keyType?: KeyType_2;
}

// @public
export interface Replica extends TrackedResource {
readonly provisioningState?: ProvisioningState;
sku?: ResourceSku;
}

// @public (undocumented)
export interface ReplicaList {
nextLink?: string;
value?: Replica[];
}

// @public
export interface Resource {
readonly id?: string;
readonly name?: string;
readonly systemData?: SystemData;
readonly type?: string;
}

Expand Down Expand Up @@ -438,6 +454,9 @@ export interface ResourceSku {
// @public
export type ScaleType = string;

// @public
export type ServiceKind = string;

// @public
export interface ServiceSpecification {
logSpecifications?: LogSpecification[];
Expand All @@ -464,7 +483,6 @@ export interface SharedPrivateLinkResource extends ProxyResource {
readonly provisioningState?: ProvisioningState;
requestMessage?: string;
readonly status?: SharedPrivateLinkResourceStatus;
readonly systemData?: SystemData;
}

// @public
Expand Down Expand Up @@ -531,7 +549,7 @@ export interface SystemData {

// @public
export interface TrackedResource extends Resource {
location?: string;
location: string;
tags?: {
[propertyName: string]: string;
};
Expand Down Expand Up @@ -579,15 +597,16 @@ export interface WebPubSub {
beginDeleteAndWait(resourceGroupName: string, resourceName: string, options?: WebPubSubDeleteOptionalParams): Promise<void>;
beginRegenerateKey(resourceGroupName: string, resourceName: string, parameters: RegenerateKeyParameters, options?: WebPubSubRegenerateKeyOptionalParams): Promise<SimplePollerLike<OperationState<WebPubSubRegenerateKeyResponse>, WebPubSubRegenerateKeyResponse>>;
beginRegenerateKeyAndWait(resourceGroupName: string, resourceName: string, parameters: RegenerateKeyParameters, options?: WebPubSubRegenerateKeyOptionalParams): Promise<WebPubSubRegenerateKeyResponse>;
beginRestart(resourceGroupName: string, resourceName: string, options?: WebPubSubRestartOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginRestartAndWait(resourceGroupName: string, resourceName: string, options?: WebPubSubRestartOptionalParams): Promise<void>;
beginRestart(resourceGroupName: string, resourceName: string, options?: WebPubSubRestartOptionalParams): Promise<SimplePollerLike<OperationState<WebPubSubRestartResponse>, WebPubSubRestartResponse>>;
beginRestartAndWait(resourceGroupName: string, resourceName: string, options?: WebPubSubRestartOptionalParams): Promise<WebPubSubRestartResponse>;
beginUpdate(resourceGroupName: string, resourceName: string, parameters: WebPubSubResource, options?: WebPubSubUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WebPubSubUpdateResponse>, WebPubSubUpdateResponse>>;
beginUpdateAndWait(resourceGroupName: string, resourceName: string, parameters: WebPubSubResource, options?: WebPubSubUpdateOptionalParams): Promise<WebPubSubUpdateResponse>;
checkNameAvailability(location: string, parameters: NameAvailabilityParameters, options?: WebPubSubCheckNameAvailabilityOptionalParams): Promise<WebPubSubCheckNameAvailabilityResponse>;
get(resourceGroupName: string, resourceName: string, options?: WebPubSubGetOptionalParams): Promise<WebPubSubGetResponse>;
listByResourceGroup(resourceGroupName: string, options?: WebPubSubListByResourceGroupOptionalParams): PagedAsyncIterableIterator<WebPubSubResource>;
listBySubscription(options?: WebPubSubListBySubscriptionOptionalParams): PagedAsyncIterableIterator<WebPubSubResource>;
listKeys(resourceGroupName: string, resourceName: string, options?: WebPubSubListKeysOptionalParams): Promise<WebPubSubListKeysResponse>;
listReplicaSkus(resourceGroupName: string, resourceName: string, replicaName: string, options?: WebPubSubListReplicaSkusOptionalParams): Promise<WebPubSubListReplicaSkusResponse>;
listSkus(resourceGroupName: string, resourceName: string, options?: WebPubSubListSkusOptionalParams): Promise<WebPubSubListSkusResponse>;
}

Expand Down Expand Up @@ -712,7 +731,6 @@ export type WebPubSubGetResponse = WebPubSubResource;
// @public
export interface WebPubSubHub extends ProxyResource {
properties: WebPubSubHubProperties;
readonly systemData?: SystemData;
}

// @public
Expand Down Expand Up @@ -817,6 +835,13 @@ export interface WebPubSubListKeysOptionalParams extends coreClient.OperationOpt
// @public
export type WebPubSubListKeysResponse = WebPubSubKeys;

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

// @public
export type WebPubSubListReplicaSkusResponse = SkuList;

// @public
export interface WebPubSubListSkusOptionalParams extends coreClient.OperationOptions {
}
Expand Down Expand Up @@ -850,6 +875,8 @@ export class WebPubSubManagementClient extends coreClient.ServiceClient {
// (undocumented)
webPubSubPrivateLinkResources: WebPubSubPrivateLinkResources;
// (undocumented)
webPubSubReplicas: WebPubSubReplicas;
// (undocumented)
webPubSubSharedPrivateLinkResources: WebPubSubSharedPrivateLinkResources;
}

Expand Down Expand Up @@ -929,6 +956,12 @@ export interface WebPubSubPrivateLinkResourcesListOptionalParams extends coreCli
// @public
export type WebPubSubPrivateLinkResourcesListResponse = PrivateLinkResourceList;

// @public
export interface WebPubSubRegenerateKeyHeaders {
// (undocumented)
location?: string;
}

// @public
export interface WebPubSubRegenerateKeyOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
Expand All @@ -938,6 +971,83 @@ export interface WebPubSubRegenerateKeyOptionalParams extends coreClient.Operati
// @public
export type WebPubSubRegenerateKeyResponse = WebPubSubKeys;

// @public
export interface WebPubSubReplicas {
beginCreateOrUpdate(resourceGroupName: string, resourceName: string, replicaName: string, parameters: Replica, options?: WebPubSubReplicasCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WebPubSubReplicasCreateOrUpdateResponse>, WebPubSubReplicasCreateOrUpdateResponse>>;
beginCreateOrUpdateAndWait(resourceGroupName: string, resourceName: string, replicaName: string, parameters: Replica, options?: WebPubSubReplicasCreateOrUpdateOptionalParams): Promise<WebPubSubReplicasCreateOrUpdateResponse>;
beginRestart(resourceGroupName: string, resourceName: string, replicaName: string, options?: WebPubSubReplicasRestartOptionalParams): Promise<SimplePollerLike<OperationState<WebPubSubReplicasRestartResponse>, WebPubSubReplicasRestartResponse>>;
beginRestartAndWait(resourceGroupName: string, resourceName: string, replicaName: string, options?: WebPubSubReplicasRestartOptionalParams): Promise<WebPubSubReplicasRestartResponse>;
beginUpdate(resourceGroupName: string, resourceName: string, replicaName: string, parameters: Replica, options?: WebPubSubReplicasUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WebPubSubReplicasUpdateResponse>, WebPubSubReplicasUpdateResponse>>;
beginUpdateAndWait(resourceGroupName: string, resourceName: string, replicaName: string, parameters: Replica, options?: WebPubSubReplicasUpdateOptionalParams): Promise<WebPubSubReplicasUpdateResponse>;
delete(resourceGroupName: string, resourceName: string, replicaName: string, options?: WebPubSubReplicasDeleteOptionalParams): Promise<void>;
get(resourceGroupName: string, resourceName: string, replicaName: string, options?: WebPubSubReplicasGetOptionalParams): Promise<WebPubSubReplicasGetResponse>;
list(resourceGroupName: string, resourceName: string, options?: WebPubSubReplicasListOptionalParams): PagedAsyncIterableIterator<Replica>;
}

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

// @public
export type WebPubSubReplicasCreateOrUpdateResponse = Replica;

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

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

// @public
export type WebPubSubReplicasGetResponse = Replica;

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

// @public
export type WebPubSubReplicasListNextResponse = ReplicaList;

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

// @public
export type WebPubSubReplicasListResponse = ReplicaList;

// @public
export interface WebPubSubReplicasRestartHeaders {
// (undocumented)
location?: string;
}

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

// @public
export type WebPubSubReplicasRestartResponse = WebPubSubReplicasRestartHeaders;

// @public
export interface WebPubSubReplicasUpdateHeaders {
// (undocumented)
location?: string;
}

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

// @public
export type WebPubSubReplicasUpdateResponse = Replica;

// @public
export type WebPubSubRequestType = string;

Expand All @@ -949,6 +1059,7 @@ export interface WebPubSubResource extends TrackedResource {
readonly hostName?: string;
readonly hostNamePrefix?: string;
identity?: ManagedIdentity;
kind?: ServiceKind;
liveTraceConfiguration?: LiveTraceConfiguration;
networkACLs?: WebPubSubNetworkACLs;
readonly privateEndpointConnections?: PrivateEndpointConnection[];
Expand All @@ -959,7 +1070,6 @@ export interface WebPubSubResource extends TrackedResource {
readonly serverPort?: number;
readonly sharedPrivateLinkResources?: SharedPrivateLinkResource[];
sku?: ResourceSku;
readonly systemData?: SystemData;
tls?: WebPubSubTlsSettings;
readonly version?: string;
}
Expand All @@ -970,12 +1080,21 @@ export interface WebPubSubResourceList {
value?: WebPubSubResource[];
}

// @public
export interface WebPubSubRestartHeaders {
// (undocumented)
location?: string;
}

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

// @public
export type WebPubSubRestartResponse = WebPubSubRestartHeaders;

// @public
export interface WebPubSubSharedPrivateLinkResources {
beginCreateOrUpdate(sharedPrivateLinkResourceName: string, resourceGroupName: string, resourceName: string, parameters: SharedPrivateLinkResource, options?: WebPubSubSharedPrivateLinkResourcesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<WebPubSubSharedPrivateLinkResourcesCreateOrUpdateResponse>, WebPubSubSharedPrivateLinkResourcesCreateOrUpdateResponse>>;
Expand Down Expand Up @@ -1030,6 +1149,12 @@ export interface WebPubSubTlsSettings {
clientCertEnabled?: boolean;
}

// @public
export interface WebPubSubUpdateHeaders {
// (undocumented)
location?: string;
}

// @public
export interface WebPubSubUpdateOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
Expand Down
Loading