Skip to content

Commit 920d2df

Browse files
author
SDKAuto
committed
CodeGen from PR 24559 in Azure/azure-rest-api-specs
Merge 9135665ce55669872eb9724a066a492febe5c8f6 into 1239132db8b04a0642202da6d47c68e302486c5f
1 parent 8337958 commit 920d2df

File tree

17 files changed

+667
-88
lines changed

17 files changed

+667
-88
lines changed

common/config/rush/pnpm-lock.yaml

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

sdk/resources/arm-resources/CHANGELOG.md

Lines changed: 32 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,39 @@
11
# Release History
2+
3+
## 6.0.0 (2023-07-26)
4+
5+
**Features**
26

3-
## 5.2.1 (Unreleased)
4-
5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
7+
- Added operation TagsOperations.beginCreateOrUpdateAtScope
8+
- Added operation TagsOperations.beginCreateOrUpdateAtScopeAndWait
9+
- Added operation TagsOperations.beginDeleteAtScope
10+
- Added operation TagsOperations.beginDeleteAtScopeAndWait
11+
- Added operation TagsOperations.beginUpdateAtScope
12+
- Added operation TagsOperations.beginUpdateAtScopeAndWait
13+
- Added Interface DeploymentParameter
14+
- Added Interface KeyVaultParameterReference
15+
- Added Interface KeyVaultReference
16+
- Added Interface TagsCreateOrUpdateAtScopeHeaders
17+
- Added Interface TagsDeleteAtScopeHeaders
18+
- Added Interface TagsUpdateAtScopeHeaders
19+
- Interface TagsCreateOrUpdateAtScopeOptionalParams has a new optional parameter resumeFrom
20+
- Interface TagsCreateOrUpdateAtScopeOptionalParams has a new optional parameter updateIntervalInMs
21+
- Interface TagsDeleteAtScopeOptionalParams has a new optional parameter resumeFrom
22+
- Interface TagsDeleteAtScopeOptionalParams has a new optional parameter updateIntervalInMs
23+
- Interface TagsUpdateAtScopeOptionalParams has a new optional parameter resumeFrom
24+
- Interface TagsUpdateAtScopeOptionalParams has a new optional parameter updateIntervalInMs
1025

11-
### Other Changes
26+
**Breaking Changes**
1227

28+
- Removed operation TagsOperations.createOrUpdateAtScope
29+
- Removed operation TagsOperations.deleteAtScope
30+
- Removed operation TagsOperations.updateAtScope
31+
- Class ResourceManagementClient has a new signature
32+
- Type of parameter parameters of interface DeploymentProperties is changed from Record<string, unknown> to {
33+
[propertyName: string]: DeploymentParameter;
34+
}
35+
36+
1337
## 5.2.0 (2023-03-13)
1438

1539
**Features**
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "a42f1b58607091c4f255ead152a8ef323fa0b280",
3-
"readme": "specification\\resources\\resource-manager\\readme.md",
4-
"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\\resources\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.9.20230306.1 --generate-sample=true",
2+
"commit": "5fde98bcf518ad94e577bb2914189f95bb649eb7",
3+
"readme": "specification/resources/resource-manager/readme.md",
4+
"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/resources/resource-manager/readme.md --use=@autorest/typescript@^6.0.4",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"release_tool": "@azure-tools/js-sdk-release-tools@2.6.2",
7-
"use": "@autorest/typescript@6.0.0-rc.9.20230306.1"
6+
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.1",
7+
"use": "@autorest/typescript@^6.0.4"
88
}

sdk/resources/arm-resources/package.json

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for ResourceManagementClient.",
6-
"version": "5.2.1",
6+
"version": "6.0.0",
77
"engines": {
88
"node": ">=14.0.0"
99
},
1010
"dependencies": {
11-
"@azure/core-lro": "^2.5.0",
11+
"@azure/core-lro": "^2.5.4",
1212
"@azure/abort-controller": "^1.0.0",
1313
"@azure/core-paging": "^1.2.0",
1414
"@azure/core-client": "^1.7.0",
@@ -111,13 +111,5 @@
111111
]
112112
},
113113
"autoPublish": true,
114-
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/resources/arm-resources",
115-
"//sampleConfiguration": {
116-
"productName": "",
117-
"productSlugs": [
118-
"azure"
119-
],
120-
"disableDocsMs": true,
121-
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-resources?view=azure-node-preview"
122-
}
123-
}
114+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/resources/arm-resources"
115+
}

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

Lines changed: 50 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -278,13 +278,21 @@ export interface DeploymentOperationsListResult {
278278
value?: DeploymentOperation[];
279279
}
280280

281+
// @public
282+
export interface DeploymentParameter {
283+
reference?: KeyVaultParameterReference;
284+
value?: any;
285+
}
286+
281287
// @public
282288
export interface DeploymentProperties {
283289
debugSetting?: DebugSetting;
284290
expressionEvaluationOptions?: ExpressionEvaluationOptions;
285291
mode: DeploymentMode;
286292
onErrorDeployment?: OnErrorDeployment;
287-
parameters?: Record<string, unknown>;
293+
parameters?: {
294+
[propertyName: string]: DeploymentParameter;
295+
};
288296
parametersLink?: ParametersLink;
289297
template?: Record<string, unknown>;
290298
templateLink?: TemplateLink;
@@ -889,6 +897,18 @@ export interface IdentityUserAssignedIdentitiesValue {
889897
readonly principalId?: string;
890898
}
891899

900+
// @public
901+
export interface KeyVaultParameterReference {
902+
keyVault: KeyVaultReference;
903+
secretName: string;
904+
secretVersion?: string;
905+
}
906+
907+
// @public
908+
export interface KeyVaultReference {
909+
id: string;
910+
}
911+
892912
// @public
893913
export enum KnownAliasPathAttributes {
894914
Modifiable = "Modifiable",
@@ -1354,6 +1374,7 @@ export class ResourceManagementClient extends coreClient.ServiceClient {
13541374
// (undocumented)
13551375
$host: string;
13561376
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ResourceManagementClientOptionalParams);
1377+
constructor(credentials: coreAuth.TokenCredential, options?: ResourceManagementClientOptionalParams);
13571378
// (undocumented)
13581379
apiVersion: string;
13591380
// (undocumented)
@@ -1371,7 +1392,7 @@ export class ResourceManagementClient extends coreClient.ServiceClient {
13711392
// (undocumented)
13721393
resources: Resources;
13731394
// (undocumented)
1374-
subscriptionId: string;
1395+
subscriptionId?: string;
13751396
// (undocumented)
13761397
tagsOperations: TagsOperations;
13771398
}
@@ -1621,8 +1642,15 @@ export interface Tags {
16211642
};
16221643
}
16231644

1645+
// @public
1646+
export interface TagsCreateOrUpdateAtScopeHeaders {
1647+
location?: string;
1648+
}
1649+
16241650
// @public
16251651
export interface TagsCreateOrUpdateAtScopeOptionalParams extends coreClient.OperationOptions {
1652+
resumeFrom?: string;
1653+
updateIntervalInMs?: number;
16261654
}
16271655

16281656
// @public
@@ -1642,8 +1670,15 @@ export interface TagsCreateOrUpdateValueOptionalParams extends coreClient.Operat
16421670
// @public
16431671
export type TagsCreateOrUpdateValueResponse = TagValue;
16441672

1673+
// @public
1674+
export interface TagsDeleteAtScopeHeaders {
1675+
location?: string;
1676+
}
1677+
16451678
// @public
16461679
export interface TagsDeleteAtScopeOptionalParams extends coreClient.OperationOptions {
1680+
resumeFrom?: string;
1681+
updateIntervalInMs?: number;
16471682
}
16481683

16491684
// @public
@@ -1683,15 +1718,18 @@ export interface TagsListResult {
16831718

16841719
// @public
16851720
export interface TagsOperations {
1721+
beginCreateOrUpdateAtScope(scope: string, parameters: TagsResource, options?: TagsCreateOrUpdateAtScopeOptionalParams): Promise<SimplePollerLike<OperationState<TagsCreateOrUpdateAtScopeResponse>, TagsCreateOrUpdateAtScopeResponse>>;
1722+
beginCreateOrUpdateAtScopeAndWait(scope: string, parameters: TagsResource, options?: TagsCreateOrUpdateAtScopeOptionalParams): Promise<TagsCreateOrUpdateAtScopeResponse>;
1723+
beginDeleteAtScope(scope: string, options?: TagsDeleteAtScopeOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
1724+
beginDeleteAtScopeAndWait(scope: string, options?: TagsDeleteAtScopeOptionalParams): Promise<void>;
1725+
beginUpdateAtScope(scope: string, parameters: TagsPatchResource, options?: TagsUpdateAtScopeOptionalParams): Promise<SimplePollerLike<OperationState<TagsUpdateAtScopeResponse>, TagsUpdateAtScopeResponse>>;
1726+
beginUpdateAtScopeAndWait(scope: string, parameters: TagsPatchResource, options?: TagsUpdateAtScopeOptionalParams): Promise<TagsUpdateAtScopeResponse>;
16861727
createOrUpdate(tagName: string, options?: TagsCreateOrUpdateOptionalParams): Promise<TagsCreateOrUpdateResponse>;
1687-
createOrUpdateAtScope(scope: string, parameters: TagsResource, options?: TagsCreateOrUpdateAtScopeOptionalParams): Promise<TagsCreateOrUpdateAtScopeResponse>;
16881728
createOrUpdateValue(tagName: string, tagValue: string, options?: TagsCreateOrUpdateValueOptionalParams): Promise<TagsCreateOrUpdateValueResponse>;
16891729
delete(tagName: string, options?: TagsDeleteOptionalParams): Promise<void>;
1690-
deleteAtScope(scope: string, options?: TagsDeleteAtScopeOptionalParams): Promise<void>;
16911730
deleteValue(tagName: string, tagValue: string, options?: TagsDeleteValueOptionalParams): Promise<void>;
16921731
getAtScope(scope: string, options?: TagsGetAtScopeOptionalParams): Promise<TagsGetAtScopeResponse>;
16931732
list(options?: TagsListOptionalParams): PagedAsyncIterableIterator<TagDetails>;
1694-
updateAtScope(scope: string, parameters: TagsPatchResource, options?: TagsUpdateAtScopeOptionalParams): Promise<TagsUpdateAtScopeResponse>;
16951733
}
16961734

16971735
// @public
@@ -1711,8 +1749,15 @@ export interface TagsResource {
17111749
readonly type?: string;
17121750
}
17131751

1752+
// @public
1753+
export interface TagsUpdateAtScopeHeaders {
1754+
location?: string;
1755+
}
1756+
17141757
// @public
17151758
export interface TagsUpdateAtScopeOptionalParams extends coreClient.OperationOptions {
1759+
resumeFrom?: string;
1760+
updateIntervalInMs?: number;
17161761
}
17171762

17181763
// @public

0 commit comments

Comments
 (0)