Skip to content

Commit

Permalink
CodeGen from PR 17738 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge ca0344640ab0e4f66797a34fcbc3c354013ac0db into f75c8508441d7c300a9a39abf433116ba9f6e232
  • Loading branch information
SDKAuto committed Feb 11, 2022
1 parent 118feb8 commit f17c232
Show file tree
Hide file tree
Showing 15 changed files with 618 additions and 553 deletions.
14 changes: 7 additions & 7 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 36 additions & 11 deletions sdk/servicebus/arm-servicebus/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,40 @@
# Release History

## 5.0.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes


## 6.0.0 (2022-02-11)

**Features**

- Added Interface ProxyResource
- Interface Operation has a new optional parameter isDataAction
- Interface Operation has a new optional parameter origin
- Interface Operation has a new optional parameter properties
- Interface OperationDisplay has a new optional parameter description
- Add parameters of ProxyResource to TypeAlias ArmDisasterRecovery
- Add parameters of ProxyResource to TypeAlias MigrationConfigProperties
- Add parameters of ProxyResource to TypeAlias NetworkRuleSet
- Add parameters of ProxyResource to TypeAlias PrivateEndpointConnection
- Add parameters of ProxyResource to TypeAlias Rule
- Add parameters of ProxyResource to TypeAlias SBAuthorizationRule
- Add parameters of ProxyResource to TypeAlias SBQueue
- Add parameters of ProxyResource to TypeAlias SBSubscription
- Add parameters of ProxyResource to TypeAlias SBTopic
- Type Alias SBNamespace has a new parameter alternateName
- Type Alias SBNamespaceUpdateParameters has a new parameter alternateName

**Breaking Changes**

- Delete parameters of Resource in TypeAlias ArmDisasterRecovery
- Delete parameters of Resource in TypeAlias MigrationConfigProperties
- Delete parameters of Resource in TypeAlias NetworkRuleSet
- Delete parameters of Resource in TypeAlias PrivateEndpointConnection
- Delete parameters of Resource in TypeAlias Rule
- Delete parameters of Resource in TypeAlias SBAuthorizationRule
- Delete parameters of Resource in TypeAlias SBQueue
- Delete parameters of Resource in TypeAlias SBSubscription
- Delete parameters of Resource in TypeAlias SBTopic
- Type Alias SBNamespaceUpdateParameters no longer has parameter zoneRedundant


## 5.0.0 (2021-12-14)

The package of @azure/arm-servicebus is using our next generation design principles since version 5.0.0-beta.2, which contains breaking changes.
Expand Down
2 changes: 1 addition & 1 deletion sdk/servicebus/arm-servicebus/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2021 Microsoft
Copyright (c) 2022 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
6 changes: 3 additions & 3 deletions sdk/servicebus/arm-servicebus/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commit": "6654157972dbf54b187150e389237494f35145f4",
"commit": "82e061324dbc8baa6930c60735292551c789f1d0",
"readme": "specification/servicebus/resource-manager/readme.md",
"autorest_command": "autorest --version=3.1.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/servicebus/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20211207.1",
"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=/home/vsts/work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/servicebus/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.16.20220105.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"use": "@autorest/typescript@6.0.0-alpha.16.20211207.1"
"use": "@autorest/typescript@6.0.0-alpha.16.20220105.1"
}
25 changes: 19 additions & 6 deletions sdk/servicebus/arm-servicebus/api-extractor.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,31 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
"docModel": { "enabled": true },
"apiReport": { "enabled": true, "reportFolder": "./review" },
"docModel": {
"enabled": true
},
"apiReport": {
"enabled": true,
"reportFolder": "./review"
},
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "",
"publicTrimmedFilePath": "./types/arm-servicebus.d.ts"
},
"messages": {
"tsdocMessageReporting": { "default": { "logLevel": "none" } },
"tsdocMessageReporting": {
"default": {
"logLevel": "none"
}
},
"extractorMessageReporting": {
"ae-missing-release-tag": { "logLevel": "none" },
"ae-unresolved-link": { "logLevel": "none" }
"ae-missing-release-tag": {
"logLevel": "none"
},
"ae-unresolved-link": {
"logLevel": "none"
}
}
}
}
}
8 changes: 4 additions & 4 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": "5.0.1",
"version": "6.0.0",
"engines": {
"node": ">=12.0.0"
},
Expand All @@ -29,12 +29,12 @@
"types": "./types/arm-servicebus.d.ts",
"devDependencies": {
"@microsoft/api-extractor": "^7.18.11",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-commonjs": "11.0.2",
"@rollup/plugin-json": "^4.0.0",
"@rollup/plugin-multi-entry": "^3.0.0",
"@rollup/plugin-node-resolve": "^8.0.0",
"mkdirp": "^1.0.4",
"rollup": "^2.0.0",
"rollup": "^1.16.3",
"rollup-plugin-sourcemaps": "^0.4.2",
"typescript": "~4.2.0",
"uglify-js": "^3.4.9",
Expand Down Expand Up @@ -99,4 +99,4 @@
},
"sideEffects": false,
"autoPublish": true
}
}
33 changes: 23 additions & 10 deletions sdk/servicebus/arm-servicebus/review/arm-servicebus.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export interface Action {
}

// @public
export type ArmDisasterRecovery = Resource & {
export type ArmDisasterRecovery = ProxyResource & {
readonly systemData?: SystemData;
readonly provisioningState?: ProvisioningStateDR;
readonly pendingReplicationOperationsCount?: number;
Expand Down Expand Up @@ -328,7 +328,7 @@ export interface MigrationConfigListResult {
}

// @public
export type MigrationConfigProperties = Resource & {
export type MigrationConfigProperties = ProxyResource & {
readonly systemData?: SystemData;
readonly provisioningState?: string;
readonly pendingReplicationOperationsCount?: number;
Expand Down Expand Up @@ -557,7 +557,7 @@ export type NamespacesUpdateResponse = SBNamespace;
export type NetworkRuleIPAction = string;

// @public
export type NetworkRuleSet = Resource & {
export type NetworkRuleSet = ProxyResource & {
readonly systemData?: SystemData;
trustedServiceAccessEnabled?: boolean;
defaultAction?: DefaultAction;
Expand Down Expand Up @@ -587,11 +587,15 @@ export interface NWRuleSetVirtualNetworkRules {
// @public
export interface Operation {
display?: OperationDisplay;
isDataAction?: boolean;
readonly name?: string;
origin?: string;
properties?: Record<string, unknown>;
}

// @public
export interface OperationDisplay {
readonly description?: string;
readonly operation?: string;
readonly provider?: string;
readonly resource?: string;
Expand Down Expand Up @@ -628,7 +632,7 @@ export interface PrivateEndpoint {
}

// @public
export type PrivateEndpointConnection = Resource & {
export type PrivateEndpointConnection = ProxyResource & {
readonly systemData?: SystemData;
privateEndpoint?: PrivateEndpoint;
privateLinkServiceConnectionState?: ConnectionState;
Expand Down Expand Up @@ -719,6 +723,14 @@ export interface PrivateLinkResourcesListResult {
// @public
export type ProvisioningStateDR = "Accepted" | "Succeeded" | "Failed";

// @public
export interface ProxyResource {
readonly id?: string;
readonly location?: string;
readonly name?: string;
readonly type?: string;
}

// @public
export type PublicNetworkAccessFlag = string;

Expand Down Expand Up @@ -843,7 +855,7 @@ export type ResourceNamespacePatch = Resource & {
export type RoleDisasterRecovery = "Primary" | "PrimaryNotReplicating" | "Secondary";

// @public
export type Rule = Resource & {
export type Rule = ProxyResource & {
readonly systemData?: SystemData;
action?: Action;
filterType?: FilterType;
Expand Down Expand Up @@ -902,7 +914,7 @@ export interface RulesListBySubscriptionsOptionalParams extends coreClient.Opera
export type RulesListBySubscriptionsResponse = RuleListResult;

// @public
export type SBAuthorizationRule = Resource & {
export type SBAuthorizationRule = ProxyResource & {
readonly systemData?: SystemData;
rights?: AccessRights[];
};
Expand Down Expand Up @@ -935,6 +947,7 @@ export type SBNamespace = TrackedResource & {
encryption?: Encryption;
privateEndpointConnections?: PrivateEndpointConnection[];
disableLocalAuth?: boolean;
alternateName?: string;
};

// @public
Expand All @@ -953,14 +966,14 @@ export type SBNamespaceUpdateParameters = ResourceNamespacePatch & {
readonly updatedAt?: Date;
readonly serviceBusEndpoint?: string;
readonly metricId?: string;
zoneRedundant?: boolean;
encryption?: Encryption;
privateEndpointConnections?: PrivateEndpointConnection[];
disableLocalAuth?: boolean;
alternateName?: string;
};

// @public
export type SBQueue = Resource & {
export type SBQueue = ProxyResource & {
readonly systemData?: SystemData;
readonly countDetails?: MessageCountDetails;
readonly createdAt?: Date;
Expand Down Expand Up @@ -1000,7 +1013,7 @@ export interface SBSku {
}

// @public
export type SBSubscription = Resource & {
export type SBSubscription = ProxyResource & {
readonly systemData?: SystemData;
readonly messageCount?: number;
readonly createdAt?: Date;
Expand Down Expand Up @@ -1030,7 +1043,7 @@ export interface SBSubscriptionListResult {
}

// @public
export type SBTopic = Resource & {
export type SBTopic = ProxyResource & {
readonly systemData?: SystemData;
readonly sizeInBytes?: number;
readonly createdAt?: Date;
Expand Down
Loading

0 comments on commit f17c232

Please sign in to comment.