Skip to content

Commit

Permalink
CodeGen from PR 29513 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 65970c4d2e5468e0237db759c2f920cdf79833c3 into b48d5d72073a296514d3d4db77887d8711526ccc
  • Loading branch information
SDKAuto committed Jun 19, 2024
1 parent 9ba4483 commit 8ba7e7b
Show file tree
Hide file tree
Showing 10 changed files with 868 additions and 784 deletions.
799 changes: 408 additions & 391 deletions common/config/rush/pnpm-lock.yaml

Large diffs are not rendered by default.

22 changes: 14 additions & 8 deletions sdk/compute/arm-compute/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
# Release History

## 22.0.0 (2024-06-19)

**Features**

## 21.6.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed
- Added Interface SecurityPostureReferenceUpdate
- Interface SecurityPostureReference has a new optional parameter isOverridable
- Interface VirtualMachineScaleSetUpdateVMProfile has a new optional parameter securityPostureReference

### Other Changes
**Breaking Changes**

- Interface ProxyAgentSettings no longer has parameter mode
- Parameter id of interface SecurityPostureReference is now required
- Type of parameter excludeExtensions of interface SecurityPostureReference is changed from VirtualMachineExtension[] to string[]
- Removed Enum KnownMode


## 21.6.0 (2024-04-26)

**Features**
Expand Down
8 changes: 4 additions & 4 deletions sdk/compute/arm-compute/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "c77bbf822be2deaac1b690270c6cd03a52df0e37",
"commit": "2f1c8eebf0d7af8b914c702528388d7dc066645a",
"readme": "specification/compute/resource-manager/readme.md",
"autorest_command": "autorest --version=3.9.7 --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\\compute\\resource-manager\\readme.md --use=@autorest/typescript@6.0.20 --generate-sample=true",
"autorest_command": "autorest --version=3.9.7 --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/compute/resource-manager/readme.md --use=@autorest/typescript@^6.0.12",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.5",
"use": "@autorest/typescript@6.0.20"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.10",
"use": "@autorest/typescript@^6.0.12"
}
18 changes: 5 additions & 13 deletions sdk/compute/arm-compute/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 ComputeManagementClient.",
"version": "21.6.1",
"version": "22.0.0",
"engines": {
"node": ">=18.0.0"
},
Expand Down Expand Up @@ -37,14 +37,14 @@
"@azure/dev-tool": "^1.0.0",
"@azure/identity": "^4.0.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.0.0",
"@azure-tools/test-credential": "^1.1.0",
"mocha": "^10.0.0",
"@types/mocha": "^10.0.0",
"tsx": "^4.7.1",
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^18.0.0",
"@azure/arm-network": "^32.2.0",
"ts-node": "^10.0.0"
},
"repository": {
Expand Down Expand Up @@ -106,13 +106,5 @@
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/compute/arm-compute",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-compute?view=azure-node-preview"
}
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/compute/arm-compute"
}
21 changes: 10 additions & 11 deletions sdk/compute/arm-compute/review/arm-compute.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -3482,12 +3482,6 @@ export enum KnownLinuxVMGuestPatchMode {
ImageDefault = "ImageDefault"
}

// @public
export enum KnownMode {
Audit = "Audit",
Enforce = "Enforce"
}

// @public
export enum KnownNetworkAccessPolicy {
AllowAll = "AllowAll",
Expand Down Expand Up @@ -4204,9 +4198,6 @@ export interface ManagedDiskParameters extends SubResource {
storageAccountType?: StorageAccountTypes;
}

// @public
export type Mode = string;

// @public
export type NetworkAccessPolicy = string;

Expand Down Expand Up @@ -4615,7 +4606,6 @@ export interface ProximityPlacementGroupUpdate extends UpdateResource {
export interface ProxyAgentSettings {
enabled?: boolean;
keyIncarnationId?: number;
mode?: Mode;
}

// @public
Expand Down Expand Up @@ -5271,8 +5261,16 @@ export type SecurityEncryptionTypes = string;

// @public
export interface SecurityPostureReference {
excludeExtensions?: VirtualMachineExtension[];
excludeExtensions?: string[];
id: string;
isOverridable?: boolean;
}

// @public
export interface SecurityPostureReferenceUpdate {
excludeExtensions?: string[];
id?: string;
isOverridable?: boolean;
}

// @public
Expand Down Expand Up @@ -7512,6 +7510,7 @@ export interface VirtualMachineScaleSetUpdateVMProfile {
networkProfile?: VirtualMachineScaleSetUpdateNetworkProfile;
osProfile?: VirtualMachineScaleSetUpdateOSProfile;
scheduledEventsProfile?: ScheduledEventsProfile;
securityPostureReference?: SecurityPostureReferenceUpdate;
securityProfile?: SecurityProfile;
storageProfile?: VirtualMachineScaleSetUpdateStorageProfile;
userData?: string;
Expand Down
2 changes: 1 addition & 1 deletion sdk/compute/arm-compute/src/computeManagementClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export class ComputeManagementClient extends coreClient.ServiceClient {
credential: credentials,
};

const packageDetails = `azsdk-js-arm-compute/21.6.1`;
const packageDetails = `azsdk-js-arm-compute/22.0.0`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down
Loading

0 comments on commit 8ba7e7b

Please sign in to comment.