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] Adding zones, example and renaming IP to Ip in cloudservices swagger #2579

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
43 changes: 35 additions & 8 deletions sdk/compute/arm-compute/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,42 @@
# Release History

## 20.0.0 (2022-11-10)

**Features**

## 19.2.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed
- Added Interface GalleryApplicationCustomAction
- Added Interface GalleryApplicationCustomActionParameter
- Added Interface GalleryApplicationVersionSafetyProfile
- Added Interface GalleryArtifactSafetyProfileBase
- Added Interface GalleryArtifactVersionFullSource
- Added Interface GalleryDiskImageSource
- Added Interface GalleryImageVersionSafetyProfile
- Added Interface LatestGalleryImageVersion
- Added Interface LoadBalancerFrontendIpConfiguration
- Added Interface LoadBalancerFrontendIpConfigurationProperties
- Added Interface PolicyViolation
- Added Type Alias GalleryApplicationCustomActionParameterType
- Added Type Alias PolicyViolationCategory
- Interface CloudService has a new optional parameter zones
- Interface GalleryApplication has a new optional parameter customActions
- Interface GalleryApplicationUpdate has a new optional parameter customActions
- Interface GalleryApplicationVersion has a new optional parameter safetyProfile
- Interface GalleryApplicationVersionPublishingProfile has a new optional parameter customActions
- Interface GalleryApplicationVersionUpdate has a new optional parameter safetyProfile
- Interface GalleryImageVersion has a new optional parameter safetyProfile
- Interface GalleryImageVersionUpdate has a new optional parameter safetyProfile
- Interface SharedGalleryImage has a new optional parameter eula
- Interface SharedGalleryImage has a new optional parameter privacyStatementUri
- Interface TargetRegion has a new optional parameter excludeFromLatest
- Added Enum KnownPolicyViolationCategory

### Other Changes
**Breaking Changes**

- Interface GalleryArtifactVersionSource no longer has parameter uri
- Interface LoadBalancerConfigurationProperties no longer has parameter frontendIPConfigurations
- Interface LoadBalancerConfigurationProperties has a new required parameter frontendIpConfigurations


## 19.2.0 (2022-09-21)

**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": "8ff0e3b8dc12cd793f4f2208d76f9f3a7f51176c",
"commit": "e14148be968813879b77ed3049cf623e70d62712",
"readme": "specification/compute/resource-manager/readme.md",
"autorest_command": "autorest --version=3.8.4 --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].1.20220727.1 --generate-sample=true",
"autorest_command": "autorest --version=3.8.4 --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/[email protected].2",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.4.2",
"use": "@autorest/[email protected].1.20220727.1"
"release_tool": "@azure-tools/js-sdk-release-tools@2.5.1",
"use": "@autorest/[email protected].2"
}
17 changes: 4 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": "19.2.1",
"version": "20.0.0",
"engines": {
"node": ">=14.0.0"
},
Expand Down Expand Up @@ -46,8 +46,7 @@
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@azure/dev-tool": "^1.0.0",
"@azure/arm-network": "^26.0.0"
"@azure/dev-tool": "^1.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/compute/arm-compute",
"repository": {
Expand Down Expand Up @@ -110,13 +109,5 @@
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-compute?view=azure-node-preview"
}
}
"autoPublish": true
}
93 changes: 86 additions & 7 deletions sdk/compute/arm-compute/review/arm-compute.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ export interface CloudService {
[propertyName: string]: string;
};
readonly type?: string;
zones?: string[];
}

// @public
Expand Down Expand Up @@ -2198,6 +2199,7 @@ export interface Gallery extends Resource {

// @public
export interface GalleryApplication extends Resource {
customActions?: GalleryApplicationCustomAction[];
description?: string;
endOfLifeDate?: Date;
eula?: string;
Expand All @@ -2206,6 +2208,26 @@ export interface GalleryApplication extends Resource {
supportedOSType?: OperatingSystemTypes;
}

// @public
export interface GalleryApplicationCustomAction {
description?: string;
name: string;
parameters?: GalleryApplicationCustomActionParameter[];
script: string;
}

// @public
export interface GalleryApplicationCustomActionParameter {
defaultValue?: string;
description?: string;
name: string;
required?: boolean;
type?: GalleryApplicationCustomActionParameterType;
}

// @public
export type GalleryApplicationCustomActionParameterType = "String" | "ConfigurationDataBlob" | "LogOutputBlob";

// @public
export interface GalleryApplicationList {
nextLink?: string;
Expand Down Expand Up @@ -2271,6 +2293,7 @@ export type GalleryApplicationsUpdateResponse = GalleryApplication;

// @public
export interface GalleryApplicationUpdate extends UpdateResourceDefinition {
customActions?: GalleryApplicationCustomAction[];
description?: string;
endOfLifeDate?: Date;
eula?: string;
Expand All @@ -2284,6 +2307,7 @@ export interface GalleryApplicationVersion extends Resource {
readonly provisioningState?: GalleryProvisioningState;
publishingProfile?: GalleryApplicationVersionPublishingProfile;
readonly replicationStatus?: ReplicationStatus;
safetyProfile?: GalleryApplicationVersionSafetyProfile;
}

// @public
Expand All @@ -2297,6 +2321,7 @@ export interface GalleryApplicationVersionPublishingProfile extends GalleryArtif
advancedSettings?: {
[propertyName: string]: string;
};
customActions?: GalleryApplicationCustomAction[];
enableHealthCheck?: boolean;
// (undocumented)
manageActions?: UserArtifactManage;
Expand All @@ -2316,6 +2341,10 @@ export interface GalleryApplicationVersions {
listByGalleryApplication(resourceGroupName: string, galleryName: string, galleryApplicationName: string, options?: GalleryApplicationVersionsListByGalleryApplicationOptionalParams): PagedAsyncIterableIterator<GalleryApplicationVersion>;
}

// @public
export interface GalleryApplicationVersionSafetyProfile extends GalleryArtifactSafetyProfileBase {
}

// @public
export interface GalleryApplicationVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
Expand Down Expand Up @@ -2367,6 +2396,7 @@ export interface GalleryApplicationVersionUpdate extends UpdateResourceDefinitio
readonly provisioningState?: GalleryProvisioningState;
publishingProfile?: GalleryApplicationVersionPublishingProfile;
readonly replicationStatus?: ReplicationStatus;
safetyProfile?: GalleryApplicationVersionSafetyProfile;
}

// @public
Expand All @@ -2381,15 +2411,24 @@ export interface GalleryArtifactPublishingProfileBase {
targetRegions?: TargetRegion[];
}

// @public
export interface GalleryArtifactSafetyProfileBase {
allowDeletionOfReplicatedLocations?: boolean;
}

// @public
export interface GalleryArtifactSource {
managedImage: ManagedArtifact;
}

// @public
export interface GalleryArtifactVersionFullSource extends GalleryArtifactVersionSource {
communityGalleryImageId?: string;
}

// @public
export interface GalleryArtifactVersionSource {
id?: string;
uri?: string;
}

// @public
Expand All @@ -2401,7 +2440,13 @@ export interface GalleryDataDiskImage extends GalleryDiskImage {
export interface GalleryDiskImage {
hostCaching?: HostCaching;
readonly sizeInGB?: number;
source?: GalleryArtifactVersionSource;
source?: GalleryDiskImageSource;
}

// @public
export interface GalleryDiskImageSource extends GalleryArtifactVersionSource {
storageAccountId?: string;
uri?: string;
}

// @public
Expand Down Expand Up @@ -2541,6 +2586,7 @@ export interface GalleryImageVersion extends Resource {
readonly provisioningState?: GalleryProvisioningState;
publishingProfile?: GalleryImageVersionPublishingProfile;
readonly replicationStatus?: ReplicationStatus;
safetyProfile?: GalleryImageVersionSafetyProfile;
storageProfile?: GalleryImageVersionStorageProfile;
}

Expand All @@ -2566,6 +2612,12 @@ export interface GalleryImageVersions {
listByGalleryImage(resourceGroupName: string, galleryName: string, galleryImageName: string, options?: GalleryImageVersionsListByGalleryImageOptionalParams): PagedAsyncIterableIterator<GalleryImageVersion>;
}

// @public
export interface GalleryImageVersionSafetyProfile extends GalleryArtifactSafetyProfileBase {
readonly policyViolations?: PolicyViolation[];
readonly reportedForPolicyViolation?: boolean;
}

// @public
export interface GalleryImageVersionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
Expand Down Expand Up @@ -2607,7 +2659,7 @@ export type GalleryImageVersionsListByGalleryImageResponse = GalleryImageVersion
export interface GalleryImageVersionStorageProfile {
dataDiskImages?: GalleryDataDiskImage[];
osDiskImage?: GalleryOSDiskImage;
source?: GalleryArtifactVersionSource;
source?: GalleryArtifactVersionFullSource;
}

// @public
Expand All @@ -2624,6 +2676,7 @@ export interface GalleryImageVersionUpdate extends UpdateResourceDefinition {
readonly provisioningState?: GalleryProvisioningState;
publishingProfile?: GalleryImageVersionPublishingProfile;
readonly replicationStatus?: ReplicationStatus;
safetyProfile?: GalleryImageVersionSafetyProfile;
storageProfile?: GalleryImageVersionStorageProfile;
}

Expand Down Expand Up @@ -3290,6 +3343,14 @@ export enum KnownPatchOperationStatus {
Unknown = "Unknown"
}

// @public
export enum KnownPolicyViolationCategory {
CopyrightValidation = "CopyrightValidation",
ImageFlaggedUnsafe = "ImageFlaggedUnsafe",
IpTheft = "IpTheft",
Other = "Other"
}

// @public
export enum KnownPrivateEndpointConnectionProvisioningState {
Creating = "Creating",
Expand Down Expand Up @@ -3723,6 +3784,12 @@ export interface LastPatchInstallationSummary {
readonly status?: PatchOperationStatus;
}

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

// @public
export interface LinuxConfiguration {
disablePasswordAuthentication?: boolean;
Expand Down Expand Up @@ -3776,17 +3843,17 @@ export interface LoadBalancerConfiguration {

// @public
export interface LoadBalancerConfigurationProperties {
frontendIPConfigurations: LoadBalancerFrontendIPConfiguration[];
frontendIpConfigurations: LoadBalancerFrontendIpConfiguration[];
}

// @public
export interface LoadBalancerFrontendIPConfiguration {
export interface LoadBalancerFrontendIpConfiguration {
name: string;
properties: LoadBalancerFrontendIPConfigurationProperties;
properties: LoadBalancerFrontendIpConfigurationProperties;
}

// @public
export interface LoadBalancerFrontendIPConfigurationProperties {
export interface LoadBalancerFrontendIpConfigurationProperties {
privateIPAddress?: string;
publicIPAddress?: SubResource;
subnet?: SubResource;
Expand Down Expand Up @@ -4084,6 +4151,15 @@ export interface Plan {
publisher?: string;
}

// @public
export interface PolicyViolation {
category?: PolicyViolationCategory;
details?: string;
}

// @public
export type PolicyViolationCategory = string;

// @public
export interface PriorityMixPolicy {
baseRegularPriorityCount?: number;
Expand Down Expand Up @@ -4902,11 +4978,13 @@ export interface SharedGalleryImage extends PirSharedGalleryResource {
architecture?: Architecture;
disallowed?: Disallowed;
endOfLifeDate?: Date;
eula?: string;
features?: GalleryImageFeature[];
hyperVGeneration?: HyperVGeneration;
identifier?: GalleryImageIdentifier;
osState?: OperatingSystemStateTypes;
osType?: OperatingSystemTypes;
privacyStatementUri?: string;
purchasePlan?: ImagePurchasePlan;
recommended?: RecommendedMachineConfiguration;
}
Expand Down Expand Up @@ -5383,6 +5461,7 @@ export interface SystemData {
// @public
export interface TargetRegion {
encryption?: EncryptionImages;
excludeFromLatest?: boolean;
name: string;
regionalReplicaCount?: number;
storageAccountType?: StorageAccountType;
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/19.2.1`;
const packageDetails = `azsdk-js-arm-compute/20.0.0`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down
Loading