Skip to content
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

[AutoPR @azure/arm-compute] Swagger changes for provisioned bandwidth copy speed feature #7906

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
24 changes: 21 additions & 3 deletions common/config/rush/pnpm-lock.yaml

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

31 changes: 30 additions & 1 deletion sdk/compute/arm-compute/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# Release History

## 21.3.0 (2023-12-06)

**Features**

- Added Interface CommunityGalleryMetadata
- Added Interface GalleryImageVersionUefiSettings
- Added Interface ImageVersionSecurityProfile
- Added Interface UefiKey
- Added Interface UefiKeySignatures
- Added Type Alias UefiKeyType
- Added Type Alias UefiSignatureTemplateName
- Interface CommunityGallery has a new optional parameter artifactTags
- Interface CommunityGallery has a new optional parameter communityMetadata
- Interface CommunityGallery has a new optional parameter disclaimer
- Interface CommunityGalleryImage has a new optional parameter artifactTags
- Interface CommunityGalleryImage has a new optional parameter disclaimer
- Interface CommunityGalleryImageVersion has a new optional parameter artifactTags
- Interface CommunityGalleryImageVersion has a new optional parameter disclaimer
- Interface GalleryImageVersion has a new optional parameter securityProfile
- Interface GalleryImageVersionUpdate has a new optional parameter securityProfile
- Interface SharedGallery has a new optional parameter artifactTags
- Interface SharedGalleryImage has a new optional parameter artifactTags
- Interface SharedGalleryImageVersion has a new optional parameter artifactTags
- Added Enum KnownUefiKeyType
- Added Enum KnownUefiSignatureTemplateName
- Enum KnownConfidentialVMEncryptionType has a new value NonPersistedTPM
- Enum KnownReplicationStatusTypes has a new value UefiSettings


## 21.2.0 (2023-08-14)

**Features**
Expand Down Expand Up @@ -515,4 +544,4 @@ To understand the detail of the change, please refer to [Changelog](https://aka.

To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide).

To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).
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": "baac183ffa684d94f697f0fc6f480e02cfb00f3d",
"commit": "58ba6ca941e7012757a79845e559ad30f69e87ca",
"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=F:\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\compute\\resource-manager\\readme.md --use=@autorest/typescript@6.0.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.12",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.0",
"use": "@autorest/typescript@6.0.5"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.4",
"use": "@autorest/typescript@^6.0.12"
}
27 changes: 10 additions & 17 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.2.0",
"version": "21.3.0",
"engines": {
"node": ">=18.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 All @@ -32,18 +32,19 @@
"mkdirp": "^2.1.2",
"typescript": "~5.2.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"rimraf": "^5.0.0",
"dotenv": "^16.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/identity": "^3.3.0",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.0.0",
"mocha": "^10.0.0",
"@types/mocha": "^10.0.0",
"esm": "^3.2.18",
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^18.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/arm-network": "^32.2.0",
"ts-node": "^10.0.0"
},
"repository": {
Expand Down Expand Up @@ -78,7 +79,7 @@
"extract-api": "api-extractor run --local",
"lint": "echo skipped",
"audit": "echo skipped",
"clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log",
"clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
"build:node": "echo skipped",
"build:browser": "echo skipped",
"build:test": "echo skipped",
Expand Down Expand Up @@ -106,13 +107,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"
}
83 changes: 81 additions & 2 deletions sdk/compute/arm-compute/review/arm-compute.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -931,12 +931,21 @@ export type CommunityGalleriesGetResponse = CommunityGallery;

// @public
export interface CommunityGallery extends PirCommunityGalleryResource {
artifactTags?: {
[propertyName: string]: string;
};
communityMetadata?: CommunityGalleryMetadata;
disclaimer?: string;
}

// @public
export interface CommunityGalleryImage extends PirCommunityGalleryResource {
architecture?: Architecture;
artifactTags?: {
[propertyName: string]: string;
};
disallowed?: Disallowed;
disclaimer?: string;
endOfLifeDate?: Date;
eula?: string;
features?: GalleryImageFeature[];
Expand Down Expand Up @@ -991,6 +1000,10 @@ export type CommunityGalleryImagesListResponse = CommunityGalleryImageList;

// @public
export interface CommunityGalleryImageVersion extends PirCommunityGalleryResource {
artifactTags?: {
[propertyName: string]: string;
};
disclaimer?: string;
endOfLifeDate?: Date;
excludeFromLatest?: boolean;
publishedDate?: Date;
Expand Down Expand Up @@ -1040,6 +1053,15 @@ export interface CommunityGalleryInfo {
publisherUri?: string;
}

// @public
export interface CommunityGalleryMetadata {
eula?: string;
privacyStatementUri?: string;
publicNames: string[];
publisherContact: string;
publisherUri?: string;
}

// @public (undocumented)
export class ComputeManagementClient extends coreClient.ServiceClient {
// (undocumented)
Expand Down Expand Up @@ -2636,6 +2658,7 @@ export interface GalleryImageVersion extends Resource {
publishingProfile?: GalleryImageVersionPublishingProfile;
readonly replicationStatus?: ReplicationStatus;
safetyProfile?: GalleryImageVersionSafetyProfile;
securityProfile?: ImageVersionSecurityProfile;
storageProfile?: GalleryImageVersionStorageProfile;
}

Expand Down Expand Up @@ -2720,12 +2743,19 @@ export interface GalleryImageVersionsUpdateOptionalParams extends coreClient.Ope
// @public
export type GalleryImageVersionsUpdateResponse = GalleryImageVersion;

// @public
export interface GalleryImageVersionUefiSettings {
additionalSignatures?: UefiKeySignatures;
signatureTemplateNames?: UefiSignatureTemplateName[];
}

// @public
export interface GalleryImageVersionUpdate extends UpdateResourceDefinition {
readonly provisioningState?: GalleryProvisioningState;
publishingProfile?: GalleryImageVersionPublishingProfile;
readonly replicationStatus?: ReplicationStatus;
safetyProfile?: GalleryImageVersionSafetyProfile;
securityProfile?: ImageVersionSecurityProfile;
storageProfile?: GalleryImageVersionStorageProfile;
}

Expand Down Expand Up @@ -2971,6 +3001,11 @@ export interface ImageUpdate extends UpdateResource {
storageProfile?: ImageStorageProfile;
}

// @public
export interface ImageVersionSecurityProfile {
uefiSettings?: GalleryImageVersionUefiSettings;
}

// @public
export interface InnerError {
errordetail?: string;
Expand Down Expand Up @@ -3106,7 +3141,8 @@ export enum KnownCloudServiceUpgradeMode {
export enum KnownConfidentialVMEncryptionType {
EncryptedVMGuestStateOnlyWithPmk = "EncryptedVMGuestStateOnlyWithPmk",
EncryptedWithCmk = "EncryptedWithCmk",
EncryptedWithPmk = "EncryptedWithPmk"
EncryptedWithPmk = "EncryptedWithPmk",
NonPersistedTPM = "NonPersistedTPM"
}

// @public
Expand Down Expand Up @@ -3545,7 +3581,8 @@ export enum KnownReplicationState {

// @public
export enum KnownReplicationStatusTypes {
ReplicationStatus = "ReplicationStatus"
ReplicationStatus = "ReplicationStatus",
UefiSettings = "UefiSettings"
}

// @public
Expand Down Expand Up @@ -3641,6 +3678,19 @@ export enum KnownStorageAccountTypes {
UltraSSDLRS = "UltraSSD_LRS"
}

// @public
export enum KnownUefiKeyType {
Sha256 = "sha256",
X509 = "x509"
}

// @public
export enum KnownUefiSignatureTemplateName {
MicrosoftUefiCertificateAuthorityTemplate = "MicrosoftUefiCertificateAuthorityTemplate",
MicrosoftWindowsTemplate = "MicrosoftWindowsTemplate",
NoSignatureTemplate = "NoSignatureTemplate"
}

// @public
export enum KnownVirtualMachineEvictionPolicyTypes {
Deallocate = "Deallocate",
Expand Down Expand Up @@ -5139,6 +5189,9 @@ export type SharedGalleriesListResponse = SharedGalleryList;

// @public
export interface SharedGallery extends PirSharedGalleryResource {
readonly artifactTags?: {
[propertyName: string]: string;
};
}

// @public
Expand All @@ -5158,6 +5211,9 @@ export type SharedGalleryHostCaching = string;
// @public
export interface SharedGalleryImage extends PirSharedGalleryResource {
architecture?: Architecture;
artifactTags?: {
[propertyName: string]: string;
};
disallowed?: Disallowed;
endOfLifeDate?: Date;
eula?: string;
Expand Down Expand Up @@ -5207,6 +5263,9 @@ export type SharedGalleryImagesListResponse = SharedGalleryImageList;

// @public
export interface SharedGalleryImageVersion extends PirSharedGalleryResource {
artifactTags?: {
[propertyName: string]: string;
};
endOfLifeDate?: Date;
excludeFromLatest?: boolean;
publishedDate?: Date;
Expand Down Expand Up @@ -5657,12 +5716,32 @@ export interface TerminateNotificationProfile {
export interface ThrottledRequestsInput extends LogAnalyticsInputBase {
}

// @public
export interface UefiKey {
type?: UefiKeyType;
value?: string[];
}

// @public
export interface UefiKeySignatures {
db?: UefiKey[];
dbx?: UefiKey[];
kek?: UefiKey[];
pk?: UefiKey;
}

// @public
export type UefiKeyType = string;

// @public
export interface UefiSettings {
secureBootEnabled?: boolean;
vTpmEnabled?: boolean;
}

// @public
export type UefiSignatureTemplateName = string;

// @public
export interface UpdateDomain {
readonly id?: 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.2.0`;
const packageDetails = `azsdk-js-arm-compute/21.3.0`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down
Loading