Skip to content

[AutoPR @azure/arm-compute] Correct Schema for Virtual Machine Scaleset diskControllerType field #6544

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
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
35 changes: 27 additions & 8 deletions sdk/compute/arm-compute/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,34 @@
# Release History

## 22.0.0 (2023-09-01)

**Features**

## 21.1.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed
- Added Type Alias DomainNameLabelScopeTypes
- Added Type Alias NetworkInterfaceAuxiliaryMode
- Added Type Alias NetworkInterfaceAuxiliarySku
- Interface CreationData has a new optional parameter elasticSanResourceId
- Interface Disk has a new optional parameter lastOwnershipUpdateTime
- Interface VirtualMachineNetworkInterfaceConfiguration has a new optional parameter auxiliaryMode
- Interface VirtualMachineNetworkInterfaceConfiguration has a new optional parameter auxiliarySku
- Interface VirtualMachinePublicIPAddressDnsSettingsConfiguration has a new optional parameter domainNameLabelScope
- Interface VirtualMachineScaleSetNetworkConfiguration has a new optional parameter auxiliaryMode
- Interface VirtualMachineScaleSetNetworkConfiguration has a new optional parameter auxiliarySku
- Interface VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings has a new optional parameter domainNameLabelScope
- Interface VirtualMachineScaleSetUpdateNetworkConfiguration has a new optional parameter auxiliaryMode
- Interface VirtualMachineScaleSetUpdateNetworkConfiguration has a new optional parameter auxiliarySku
- Interface VirtualMachineScaleSetVM has a new optional parameter timeCreated
- Added Enum KnownDomainNameLabelScopeTypes
- Added Enum KnownNetworkInterfaceAuxiliaryMode
- Added Enum KnownNetworkInterfaceAuxiliarySku
- Enum KnownDiskCreateOption has a new value CopyFromSanSnapshot

### Other Changes
**Breaking Changes**

- Type of parameter diskControllerType of interface VirtualMachineScaleSetStorageProfile is changed from string to DiskControllerTypes
- Type of parameter diskControllerType of interface VirtualMachineScaleSetUpdateStorageProfile is changed from string to DiskControllerTypes


## 21.1.0 (2023-07-07)

**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": "310a0100f5b020c1900c527a6aa70d21992f078a",
"commit": "b6a0d06e9b52847d7786e37f5eaccf789893f0dd",
"readme": "specification/compute/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\\compute\\resource-manager\\readme.md --use=@autorest/[email protected].5 --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.4",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/[email protected].0",
"use": "@autorest/[email protected].5"
"release_tool": "@azure-tools/[email protected].2",
"use": "@autorest/typescript@^6.0.4"
}
23 changes: 7 additions & 16 deletions sdk/compute/arm-compute/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for ComputeManagementClient.",
"version": "21.1.1",
"version": "22.0.0",
"engines": {
"node": ">=14.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.5.3",
"@azure/core-lro": "^2.5.4",
"@azure/abort-controller": "^1.0.0",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.7.0",
"@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.8.0",
"@azure/core-rest-pipeline": "^1.12.0",
"tslib": "^2.2.0"
},
"keywords": [
Expand Down Expand Up @@ -48,9 +48,8 @@
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^14.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/arm-network": "^26.0.0",
"ts-node": "^10.0.0"
"ts-node": "^10.0.0",
"@azure/dev-tool": "^1.0.0"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -113,13 +112,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"
}
51 changes: 47 additions & 4 deletions sdk/compute/arm-compute/review/arm-compute.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1186,6 +1186,7 @@ export type CopyCompletionErrorReason = string;
// @public
export interface CreationData {
createOption: DiskCreateOption;
elasticSanResourceId?: string;
galleryImageReference?: ImageDiskReference;
imageReference?: ImageDiskReference;
logicalSectorSize?: number;
Expand Down Expand Up @@ -1517,6 +1518,7 @@ export interface Disk extends Resource {
encryptionSettingsCollection?: EncryptionSettingsCollection;
extendedLocation?: ExtendedLocation;
hyperVGeneration?: HyperVGeneration;
readonly lastOwnershipUpdateTime?: Date;
readonly managedBy?: string;
readonly managedByExtended?: string[];
maxShares?: number;
Expand Down Expand Up @@ -2080,6 +2082,9 @@ export interface DiskUpdate {
tier?: string;
}

// @public
export type DomainNameLabelScopeTypes = string;

// @public
export type EdgeZoneStorageAccountType = string;

Expand Down Expand Up @@ -3149,6 +3154,7 @@ export enum KnownDiskControllerTypes {
export enum KnownDiskCreateOption {
Attach = "Attach",
Copy = "Copy",
CopyFromSanSnapshot = "CopyFromSanSnapshot",
CopyStart = "CopyStart",
Empty = "Empty",
FromImage = "FromImage",
Expand Down Expand Up @@ -3223,6 +3229,14 @@ export enum KnownDiskStorageAccountTypes {
UltraSSDLRS = "UltraSSD_LRS"
}

// @public
export enum KnownDomainNameLabelScopeTypes {
NoReuse = "NoReuse",
ResourceGroupReuse = "ResourceGroupReuse",
SubscriptionReuse = "SubscriptionReuse",
TenantReuse = "TenantReuse"
}

// @public
export enum KnownEdgeZoneStorageAccountType {
PremiumLRS = "Premium_LRS",
Expand Down Expand Up @@ -3383,6 +3397,22 @@ export enum KnownNetworkApiVersion {
TwoThousandTwenty1101 = "2020-11-01"
}

// @public
export enum KnownNetworkInterfaceAuxiliaryMode {
AcceleratedConnections = "AcceleratedConnections",
Floating = "Floating",
None = "None"
}

// @public
export enum KnownNetworkInterfaceAuxiliarySku {
A1 = "A1",
A2 = "A2",
A4 = "A4",
A8 = "A8",
None = "None"
}

// @public
export enum KnownOperatingSystemType {
Linux = "Linux",
Expand Down Expand Up @@ -4043,6 +4073,12 @@ export type NetworkAccessPolicy = string;
// @public
export type NetworkApiVersion = string;

// @public
export type NetworkInterfaceAuxiliaryMode = string;

// @public
export type NetworkInterfaceAuxiliarySku = string;

// @public
export interface NetworkInterfaceReference extends SubResource {
deleteOption?: DeleteOptions;
Expand Down Expand Up @@ -6197,6 +6233,8 @@ export interface VirtualMachineListResult {

// @public
export interface VirtualMachineNetworkInterfaceConfiguration {
auxiliaryMode?: NetworkInterfaceAuxiliaryMode;
auxiliarySku?: NetworkInterfaceAuxiliarySku;
deleteOption?: DeleteOptions;
disableTcpStateTracking?: boolean;
dnsSettings?: VirtualMachineNetworkInterfaceDnsSettingsConfiguration;
Expand Down Expand Up @@ -6254,6 +6292,7 @@ export interface VirtualMachinePublicIPAddressConfiguration {
// @public
export interface VirtualMachinePublicIPAddressDnsSettingsConfiguration {
domainNameLabel: string;
domainNameLabelScope?: DomainNameLabelScopeTypes;
}

// @public
Expand Down Expand Up @@ -6689,6 +6728,8 @@ export interface VirtualMachineScaleSetManagedDiskParameters {

// @public
export interface VirtualMachineScaleSetNetworkConfiguration {
auxiliaryMode?: NetworkInterfaceAuxiliaryMode;
auxiliarySku?: NetworkInterfaceAuxiliarySku;
deleteOption?: DeleteOptions;
disableTcpStateTracking?: boolean;
dnsSettings?: VirtualMachineScaleSetNetworkConfigurationDnsSettings;
Expand Down Expand Up @@ -6756,6 +6797,7 @@ export interface VirtualMachineScaleSetPublicIPAddressConfiguration {
// @public
export interface VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings {
domainNameLabel: string;
domainNameLabelScope?: DomainNameLabelScopeTypes;
}

// @public
Expand Down Expand Up @@ -7063,8 +7105,7 @@ export interface VirtualMachineScaleSetsStartOptionalParams extends coreClient.O
// @public
export interface VirtualMachineScaleSetStorageProfile {
dataDisks?: VirtualMachineScaleSetDataDisk[];
// (undocumented)
diskControllerType?: string;
diskControllerType?: DiskControllerTypes;
imageReference?: ImageReference;
osDisk?: VirtualMachineScaleSetOSDisk;
}
Expand Down Expand Up @@ -7117,6 +7158,8 @@ export interface VirtualMachineScaleSetUpdateIPConfiguration {

// @public
export interface VirtualMachineScaleSetUpdateNetworkConfiguration {
auxiliaryMode?: NetworkInterfaceAuxiliaryMode;
auxiliarySku?: NetworkInterfaceAuxiliarySku;
deleteOption?: DeleteOptions;
disableTcpStateTracking?: boolean;
dnsSettings?: VirtualMachineScaleSetNetworkConfigurationDnsSettings;
Expand Down Expand Up @@ -7167,8 +7210,7 @@ export interface VirtualMachineScaleSetUpdatePublicIPAddressConfiguration {
// @public
export interface VirtualMachineScaleSetUpdateStorageProfile {
dataDisks?: VirtualMachineScaleSetDataDisk[];
// (undocumented)
diskControllerType?: string;
diskControllerType?: DiskControllerTypes;
imageReference?: ImageReference;
osDisk?: VirtualMachineScaleSetUpdateOSDisk;
}
Expand Down Expand Up @@ -7210,6 +7252,7 @@ export interface VirtualMachineScaleSetVM extends Resource {
securityProfile?: SecurityProfile;
readonly sku?: Sku;
storageProfile?: StorageProfile;
readonly timeCreated?: Date;
userData?: string;
readonly vmId?: string;
readonly zones?: 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.1.1`;
const packageDetails = `azsdk-js-arm-compute/22.0.0`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down
Loading