Skip to content

Commit

Permalink
CodeGen from PR 19125 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Adding status code 202 to Private endpoints PUT (Azure#19125)
  • Loading branch information
SDKAuto committed Jul 13, 2022
1 parent 822cb09 commit a3cdb94
Show file tree
Hide file tree
Showing 12 changed files with 483 additions and 240 deletions.
33 changes: 23 additions & 10 deletions sdk/servicebus/arm-servicebus/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,28 @@
# Release History

## 6.1.0-beta.1 (2022-07-13)

**Features**

## 6.0.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added Type Alias KeySource
- Added Type Alias PublicNetworkAccess
- Added Type Alias TlsVersion
- Type Alias SBNamespace has a new parameter minimumTlsVersion
- Type Alias SBNamespace has a new parameter publicNetworkAccess
- Added Enum KnownAccessRights
- Added Enum KnownFilterType
- Added Enum KnownKeySource
- Added Enum KnownKeyType
- Added Enum KnownManagedServiceIdentityType
- Added Enum KnownProvisioningStateDR
- Added Enum KnownPublicNetworkAccess
- Added Enum KnownRoleDisasterRecovery
- Added Enum KnownSkuName
- Added Enum KnownSkuTier
- Added Enum KnownTlsVersion
- Added Enum KnownUnavailableReason


## 6.0.0 (2022-05-01)

**Features**
Expand Down
2 changes: 1 addition & 1 deletion sdk/servicebus/arm-servicebus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Azure Service Bus client for managing Namespace

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

## Getting started
Expand Down
12 changes: 6 additions & 6 deletions sdk/servicebus/arm-servicebus/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "f9a6cb686bcc0f1b23761db19f2491c5c4df95cb",
"readme": "specification\\servicebus\\resource-manager\\readme.md",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\servicebus\\resource-manager\\readme.md --use=@autorest/[email protected].20220408.1 --generate-sample=true",
"commit": "5e7603d4591ae39f9c2cedea75c8d97185e0aab2",
"readme": "specification/servicebus/resource-manager/readme.md",
"autorest_command": "autorest --version=3.7.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/servicebus/resource-manager/readme.md --use=@autorest/[email protected].20220425.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.3.0",
"use": "@autorest/[email protected].20220408.1"
}
"release_tool": "@azure-tools/js-sdk-release-tools@2.4.0",
"use": "@autorest/[email protected].20220425.1"
}
22 changes: 8 additions & 14 deletions sdk/servicebus/arm-servicebus/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 ServiceBusManagementClient.",
"version": "6.0.1",
"version": "6.1.0-beta.1",
"engines": {
"node": ">=12.0.0"
},
Expand Down Expand Up @@ -40,9 +40,11 @@
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"@azure/identity": "^2.0.1",
"@azure-tools/test-recorder": "^1.0.0",
"@azure-tools/test-recorder": "^2.0.0",
"@azure-tools/test-credential": "^1.0.0",
"mocha": "^7.1.1",
"cross-env": "^7.0.2"
"cross-env": "^7.0.2",
"@azure/dev-tool": "^1.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/servicebus/arm-servicebus",
"repository": {
Expand Down Expand Up @@ -93,7 +95,7 @@
"unit-test:node": "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": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"integration-test:browser": "echo skipped",
"docs": "echo skipped"
},
Expand All @@ -106,13 +108,5 @@
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-servicebus?view=azure-node-preview"
}
}
"autoPublish": true
}
151 changes: 141 additions & 10 deletions sdk/servicebus/arm-servicebus/review/arm-servicebus.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export interface AccessKeys {
}

// @public
export type AccessRights = "Manage" | "Send" | "Listen";
export type AccessRights = string;

// @public
export interface Action {
Expand Down Expand Up @@ -179,7 +179,7 @@ export type DisasterRecoveryConfigsListResponse = ArmDisasterRecoveryListResult;

// @public
export interface Encryption {
keySource?: "Microsoft.KeyVault";
keySource?: KeySource;
keyVaultProperties?: KeyVaultProperties[];
requireInfrastructureEncryption?: boolean;
}
Expand Down Expand Up @@ -216,7 +216,7 @@ export interface FailoverProperties {
}

// @public
export type FilterType = "SqlFilter" | "CorrelationFilter";
export type FilterType = string;

// @public
export interface Identity {
Expand All @@ -229,7 +229,10 @@ export interface Identity {
}

// @public
type KeyType_2 = "PrimaryKey" | "SecondaryKey";
export type KeySource = string;

// @public
type KeyType_2 = string;
export { KeyType_2 as KeyType }

// @public
Expand All @@ -241,6 +244,16 @@ export interface KeyVaultProperties {
keyVersion?: string;
}

// @public
export enum KnownAccessRights {
// (undocumented)
Listen = "Listen",
// (undocumented)
Manage = "Manage",
// (undocumented)
Send = "Send"
}

// @public
export enum KnownCreatedByType {
// (undocumented)
Expand Down Expand Up @@ -277,6 +290,40 @@ export enum KnownEndPointProvisioningState {
Updating = "Updating"
}

// @public
export enum KnownFilterType {
// (undocumented)
CorrelationFilter = "CorrelationFilter",
// (undocumented)
SqlFilter = "SqlFilter"
}

// @public
export enum KnownKeySource {
// (undocumented)
MicrosoftKeyVault = "Microsoft.KeyVault"
}

// @public
export enum KnownKeyType {
// (undocumented)
PrimaryKey = "PrimaryKey",
// (undocumented)
SecondaryKey = "SecondaryKey"
}

// @public
export enum KnownManagedServiceIdentityType {
// (undocumented)
None = "None",
// (undocumented)
SystemAssigned = "SystemAssigned",
// (undocumented)
SystemAssignedUserAssigned = "SystemAssigned, UserAssigned",
// (undocumented)
UserAssigned = "UserAssigned"
}

// @public
export enum KnownMigrationConfigurationName {
// (undocumented)
Expand All @@ -301,6 +348,26 @@ export enum KnownPrivateLinkConnectionStatus {
Rejected = "Rejected"
}

// @public
export enum KnownProvisioningStateDR {
// (undocumented)
Accepted = "Accepted",
// (undocumented)
Failed = "Failed",
// (undocumented)
Succeeded = "Succeeded"
}

// @public
export enum KnownPublicNetworkAccess {
// (undocumented)
Disabled = "Disabled",
// (undocumented)
Enabled = "Enabled",
// (undocumented)
SecuredByPerimeter = "SecuredByPerimeter"
}

// @public
export enum KnownPublicNetworkAccessFlag {
// (undocumented)
Expand All @@ -310,7 +377,63 @@ export enum KnownPublicNetworkAccessFlag {
}

// @public
export type ManagedServiceIdentityType = "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None";
export enum KnownRoleDisasterRecovery {
// (undocumented)
Primary = "Primary",
// (undocumented)
PrimaryNotReplicating = "PrimaryNotReplicating",
// (undocumented)
Secondary = "Secondary"
}

// @public
export enum KnownSkuName {
// (undocumented)
Basic = "Basic",
// (undocumented)
Premium = "Premium",
// (undocumented)
Standard = "Standard"
}

// @public
export enum KnownSkuTier {
// (undocumented)
Basic = "Basic",
// (undocumented)
Premium = "Premium",
// (undocumented)
Standard = "Standard"
}

// @public
export enum KnownTlsVersion {
// (undocumented)
One0 = "1.0",
// (undocumented)
One1 = "1.1",
// (undocumented)
One2 = "1.2"
}

// @public
export enum KnownUnavailableReason {
// (undocumented)
InvalidName = "InvalidName",
// (undocumented)
NameInLockdown = "NameInLockdown",
// (undocumented)
NameInUse = "NameInUse",
// (undocumented)
None = "None",
// (undocumented)
SubscriptionIsDisabled = "SubscriptionIsDisabled",
// (undocumented)
TooManyNamespaceInCurrentSubscription = "TooManyNamespaceInCurrentSubscription"
}

// @public
export type ManagedServiceIdentityType = string;

// @public
export interface MessageCountDetails {
Expand Down Expand Up @@ -721,7 +844,7 @@ export interface PrivateLinkResourcesListResult {
}

// @public
export type ProvisioningStateDR = "Accepted" | "Succeeded" | "Failed";
export type ProvisioningStateDR = string;

// @public
export interface ProxyResource {
Expand All @@ -731,6 +854,9 @@ export interface ProxyResource {
readonly type?: string;
}

// @public
export type PublicNetworkAccess = string;

// @public
export type PublicNetworkAccessFlag = string;

Expand Down Expand Up @@ -852,7 +978,7 @@ export type ResourceNamespacePatch = Resource & {
};

// @public
export type RoleDisasterRecovery = "Primary" | "PrimaryNotReplicating" | "Secondary";
export type RoleDisasterRecovery = string;

// @public
export type Rule = ProxyResource & {
Expand Down Expand Up @@ -937,6 +1063,7 @@ export type SBNamespace = TrackedResource & {
sku?: SBSku;
identity?: Identity;
readonly systemData?: SystemData;
minimumTlsVersion?: TlsVersion;
readonly provisioningState?: string;
readonly status?: string;
readonly createdAt?: Date;
Expand All @@ -948,6 +1075,7 @@ export type SBNamespace = TrackedResource & {
privateEndpointConnections?: PrivateEndpointConnection[];
disableLocalAuth?: boolean;
alternateName?: string;
publicNetworkAccess?: PublicNetworkAccess;
};

// @public
Expand Down Expand Up @@ -1109,10 +1237,10 @@ export interface ServiceBusManagementClientOptionalParams extends coreClient.Ser
}

// @public
export type SkuName = "Basic" | "Standard" | "Premium";
export type SkuName = string;

// @public
export type SkuTier = "Basic" | "Standard" | "Premium";
export type SkuTier = string;

// @public
export interface SqlFilter {
Expand Down Expand Up @@ -1183,6 +1311,9 @@ export interface SystemData {
lastModifiedByType?: CreatedByType;
}

// @public
export type TlsVersion = string;

// @public
export interface Topics {
createOrUpdate(resourceGroupName: string, namespaceName: string, topicName: string, parameters: SBTopic, options?: TopicsCreateOrUpdateOptionalParams): Promise<TopicsCreateOrUpdateResponse>;
Expand Down Expand Up @@ -1288,7 +1419,7 @@ export type TrackedResource = Resource & {
};

// @public
export type UnavailableReason = "None" | "InvalidName" | "SubscriptionIsDisabled" | "NameInUse" | "NameInLockdown" | "TooManyNamespaceInCurrentSubscription";
export type UnavailableReason = string;

// @public
export interface UserAssignedIdentity {
Expand Down
Loading

0 comments on commit a3cdb94

Please sign in to comment.