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
40 changes: 23 additions & 17 deletions common/config/rush/pnpm-lock.yaml

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

40 changes: 32 additions & 8 deletions sdk/resources/arm-resources/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,39 @@
# Release History

## 6.0.0 (2023-07-26)

**Features**

## 5.2.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed
- Added operation TagsOperations.beginCreateOrUpdateAtScope
- Added operation TagsOperations.beginCreateOrUpdateAtScopeAndWait
- Added operation TagsOperations.beginDeleteAtScope
- Added operation TagsOperations.beginDeleteAtScopeAndWait
- Added operation TagsOperations.beginUpdateAtScope
- Added operation TagsOperations.beginUpdateAtScopeAndWait
- Added Interface DeploymentParameter
- Added Interface KeyVaultParameterReference
- Added Interface KeyVaultReference
- Added Interface TagsCreateOrUpdateAtScopeHeaders
- Added Interface TagsDeleteAtScopeHeaders
- Added Interface TagsUpdateAtScopeHeaders
- Interface TagsCreateOrUpdateAtScopeOptionalParams has a new optional parameter resumeFrom
- Interface TagsCreateOrUpdateAtScopeOptionalParams has a new optional parameter updateIntervalInMs
- Interface TagsDeleteAtScopeOptionalParams has a new optional parameter resumeFrom
- Interface TagsDeleteAtScopeOptionalParams has a new optional parameter updateIntervalInMs
- Interface TagsUpdateAtScopeOptionalParams has a new optional parameter resumeFrom
- Interface TagsUpdateAtScopeOptionalParams has a new optional parameter updateIntervalInMs

### Other Changes
**Breaking Changes**

- Removed operation TagsOperations.createOrUpdateAtScope
- Removed operation TagsOperations.deleteAtScope
- Removed operation TagsOperations.updateAtScope
- Class ResourceManagementClient has a new signature
- Type of parameter parameters of interface DeploymentProperties is changed from Record<string, unknown> to {
[propertyName: string]: DeploymentParameter;
}


## 5.2.0 (2023-03-13)

**Features**
Expand Down
10 changes: 5 additions & 5 deletions sdk/resources/arm-resources/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "a42f1b58607091c4f255ead152a8ef323fa0b280",
"readme": "specification\\resources\\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\\resources\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.9.20230306.1 --generate-sample=true",
"commit": "5fde98bcf518ad94e577bb2914189f95bb649eb7",
"readme": "specification/resources/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=/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",
"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.20230306.1"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.1",
"use": "@autorest/typescript@^6.0.4"
}
16 changes: 4 additions & 12 deletions sdk/resources/arm-resources/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 ResourceManagementClient.",
"version": "5.2.1",
"version": "6.0.0",
"engines": {
"node": ">=14.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.5.0",
"@azure/core-lro": "^2.5.4",
"@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/resources/arm-resources",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-resources?view=azure-node-preview"
}
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/resources/arm-resources"
}
55 changes: 50 additions & 5 deletions sdk/resources/arm-resources/review/arm-resources.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,13 +278,21 @@ export interface DeploymentOperationsListResult {
value?: DeploymentOperation[];
}

// @public
export interface DeploymentParameter {
reference?: KeyVaultParameterReference;
value?: any;
}

// @public
export interface DeploymentProperties {
debugSetting?: DebugSetting;
expressionEvaluationOptions?: ExpressionEvaluationOptions;
mode: DeploymentMode;
onErrorDeployment?: OnErrorDeployment;
parameters?: Record<string, unknown>;
parameters?: {
[propertyName: string]: DeploymentParameter;
};
parametersLink?: ParametersLink;
template?: Record<string, unknown>;
templateLink?: TemplateLink;
Expand Down Expand Up @@ -889,6 +897,18 @@ export interface IdentityUserAssignedIdentitiesValue {
readonly principalId?: string;
}

// @public
export interface KeyVaultParameterReference {
keyVault: KeyVaultReference;
secretName: string;
secretVersion?: string;
}

// @public
export interface KeyVaultReference {
id: string;
}

// @public
export enum KnownAliasPathAttributes {
Modifiable = "Modifiable",
Expand Down Expand Up @@ -1354,6 +1374,7 @@ export class ResourceManagementClient extends coreClient.ServiceClient {
// (undocumented)
$host: string;
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ResourceManagementClientOptionalParams);
constructor(credentials: coreAuth.TokenCredential, options?: ResourceManagementClientOptionalParams);
// (undocumented)
apiVersion: string;
// (undocumented)
Expand All @@ -1371,7 +1392,7 @@ export class ResourceManagementClient extends coreClient.ServiceClient {
// (undocumented)
resources: Resources;
// (undocumented)
subscriptionId: string;
subscriptionId?: string;
// (undocumented)
tagsOperations: TagsOperations;
}
Expand Down Expand Up @@ -1621,8 +1642,15 @@ export interface Tags {
};
}

// @public
export interface TagsCreateOrUpdateAtScopeHeaders {
location?: string;
}

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

// @public
Expand All @@ -1642,8 +1670,15 @@ export interface TagsCreateOrUpdateValueOptionalParams extends coreClient.Operat
// @public
export type TagsCreateOrUpdateValueResponse = TagValue;

// @public
export interface TagsDeleteAtScopeHeaders {
location?: string;
}

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

// @public
Expand Down Expand Up @@ -1683,15 +1718,18 @@ export interface TagsListResult {

// @public
export interface TagsOperations {
beginCreateOrUpdateAtScope(scope: string, parameters: TagsResource, options?: TagsCreateOrUpdateAtScopeOptionalParams): Promise<SimplePollerLike<OperationState<TagsCreateOrUpdateAtScopeResponse>, TagsCreateOrUpdateAtScopeResponse>>;
beginCreateOrUpdateAtScopeAndWait(scope: string, parameters: TagsResource, options?: TagsCreateOrUpdateAtScopeOptionalParams): Promise<TagsCreateOrUpdateAtScopeResponse>;
beginDeleteAtScope(scope: string, options?: TagsDeleteAtScopeOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginDeleteAtScopeAndWait(scope: string, options?: TagsDeleteAtScopeOptionalParams): Promise<void>;
beginUpdateAtScope(scope: string, parameters: TagsPatchResource, options?: TagsUpdateAtScopeOptionalParams): Promise<SimplePollerLike<OperationState<TagsUpdateAtScopeResponse>, TagsUpdateAtScopeResponse>>;
beginUpdateAtScopeAndWait(scope: string, parameters: TagsPatchResource, options?: TagsUpdateAtScopeOptionalParams): Promise<TagsUpdateAtScopeResponse>;
createOrUpdate(tagName: string, options?: TagsCreateOrUpdateOptionalParams): Promise<TagsCreateOrUpdateResponse>;
createOrUpdateAtScope(scope: string, parameters: TagsResource, options?: TagsCreateOrUpdateAtScopeOptionalParams): Promise<TagsCreateOrUpdateAtScopeResponse>;
createOrUpdateValue(tagName: string, tagValue: string, options?: TagsCreateOrUpdateValueOptionalParams): Promise<TagsCreateOrUpdateValueResponse>;
delete(tagName: string, options?: TagsDeleteOptionalParams): Promise<void>;
deleteAtScope(scope: string, options?: TagsDeleteAtScopeOptionalParams): Promise<void>;
deleteValue(tagName: string, tagValue: string, options?: TagsDeleteValueOptionalParams): Promise<void>;
getAtScope(scope: string, options?: TagsGetAtScopeOptionalParams): Promise<TagsGetAtScopeResponse>;
list(options?: TagsListOptionalParams): PagedAsyncIterableIterator<TagDetails>;
updateAtScope(scope: string, parameters: TagsPatchResource, options?: TagsUpdateAtScopeOptionalParams): Promise<TagsUpdateAtScopeResponse>;
}

// @public
Expand All @@ -1711,8 +1749,15 @@ export interface TagsResource {
readonly type?: string;
}

// @public
export interface TagsUpdateAtScopeHeaders {
location?: string;
}

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

// @public
Expand Down
Loading