Skip to content

Commit

Permalink
CodeGen from PR 19468 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 94b782e04ae83756d6834c08897d9bce211bc4a9 into 93207d1a3cbabfd418273f4a6ace1f4984b138e5
  • Loading branch information
SDKAuto committed Jun 22, 2022
1 parent 78042b9 commit c249719
Show file tree
Hide file tree
Showing 14 changed files with 299 additions and 160 deletions.
21 changes: 11 additions & 10 deletions sdk/compute/arm-compute/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# Release History

## 19.1.0 (2022-06-22)

**Features**

## 19.0.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added Interface SystemData
- Added Type Alias CloudServiceSlotType
- Interface CloudService has a new optional parameter systemData
- Interface CloudServiceNetworkProfile has a new optional parameter slotType
- Added Enum KnownCloudServiceSlotType


## 19.0.0 (2022-06-06)

**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": "7168ecde052e9797d31d74c40ad00ac68c74ec6a",
"commit": "b6b90026b2df0c887da25b9262fba83c1b1ec826",
"readme": "specification/compute/resource-manager/readme.md",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --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.0-beta.20 --generate-sample=true",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --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.0-alpha.19.20220425.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.3.0",
"use": "@autorest/typescript@6.0.0-beta.20"
"release_tool": "@azure-tools/js-sdk-release-tools@2.3.2",
"use": "@autorest/typescript@6.0.0-alpha.19.20220425.1"
}
19 changes: 4 additions & 15 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.0.1",
"version": "19.1.0",
"engines": {
"node": ">=12.0.0"
},
Expand Down Expand Up @@ -43,11 +43,8 @@
"@azure-tools/test-recorder": "^2.0.0",
"@azure-tools/test-credential": "^1.0.0",
"mocha": "^7.1.1",
"@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 @@ -111,13 +108,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
}
87 changes: 44 additions & 43 deletions sdk/compute/arm-compute/review/arm-compute.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,7 @@ export interface CloudService {
location: string;
readonly name?: string;
properties?: CloudServiceProperties;
systemData?: SystemData;
tags?: {
[propertyName: string]: string;
};
Expand All @@ -458,13 +459,12 @@ export interface CloudServiceExtensionProfile {
export interface CloudServiceExtensionProperties {
autoUpgradeMinorVersion?: boolean;
forceUpdateTag?: string;
protectedSettings?: string;
// (undocumented)
protectedSettings?: Record<string, unknown>;
protectedSettingsFromKeyVault?: CloudServiceVaultAndSecretReference;
readonly provisioningState?: string;
publisher?: string;
rolesAppliedTo?: string[];
settings?: string;
settings?: Record<string, unknown>;
type?: string;
typeHandlerVersion?: string;
}
Expand All @@ -477,17 +477,16 @@ export interface CloudServiceInstanceView {
readonly statuses?: ResourceInstanceViewStatus[];
}

// @public (undocumented)
// @public
export interface CloudServiceListResult {
// (undocumented)
nextLink?: string;
// (undocumented)
value: CloudService[];
}

// @public
export interface CloudServiceNetworkProfile {
loadBalancerConfigurations?: LoadBalancerConfiguration[];
slotType?: CloudServiceSlotType;
swappableCloudService?: SubResource;
}

Expand Down Expand Up @@ -567,7 +566,6 @@ export interface CloudServiceRole {
readonly id?: string;
readonly location?: string;
readonly name?: string;
// (undocumented)
properties?: CloudServiceRoleProperties;
sku?: CloudServiceRoleSku;
readonly type?: string;
Expand Down Expand Up @@ -654,11 +652,9 @@ export interface CloudServiceRoleInstancesRestartOptionalParams extends coreClie
updateIntervalInMs?: number;
}

// @public (undocumented)
// @public
export interface CloudServiceRoleListResult {
// (undocumented)
nextLink?: string;
// (undocumented)
value: CloudServiceRole[];
}

Expand All @@ -673,7 +669,7 @@ export interface CloudServiceRoleProfileProperties {
sku?: CloudServiceRoleSku;
}

// @public (undocumented)
// @public
export interface CloudServiceRoleProperties {
readonly uniqueId?: string;
}
Expand Down Expand Up @@ -803,6 +799,9 @@ export interface CloudServicesListOptionalParams extends coreClient.OperationOpt
// @public
export type CloudServicesListResponse = CloudServiceListResult;

// @public
export type CloudServiceSlotType = string;

// @public
export interface CloudServicesPowerOffOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
Expand Down Expand Up @@ -892,11 +891,9 @@ export interface CloudServiceUpdate {
// @public
export type CloudServiceUpgradeMode = string;

// @public (undocumented)
// @public
export interface CloudServiceVaultAndSecretReference {
// (undocumented)
secretUrl?: string;
// (undocumented)
sourceVault?: SubResource;
}

Expand Down Expand Up @@ -924,7 +921,7 @@ export interface CommunityGalleriesGetOptionalParams extends coreClient.Operatio
export type CommunityGalleriesGetResponse = CommunityGallery;

// @public
export type CommunityGallery = PirCommunityGalleryResource;
export type CommunityGallery = PirCommunityGalleryResource & {};

// @public
export type CommunityGalleryImage = PirCommunityGalleryResource & {
Expand Down Expand Up @@ -1685,7 +1682,7 @@ export interface DiskEncryptionSetList {
}

// @public
export type DiskEncryptionSetParameters = SubResource;
export type DiskEncryptionSetParameters = SubResource & {};

// @public
export interface DiskEncryptionSets {
Expand Down Expand Up @@ -2541,7 +2538,7 @@ export interface GalleryImageVersionList {
}

// @public
export type GalleryImageVersionPublishingProfile = GalleryArtifactPublishingProfileBase;
export type GalleryImageVersionPublishingProfile = GalleryArtifactPublishingProfileBase & {};

// @public
export interface GalleryImageVersions {
Expand Down Expand Up @@ -2623,7 +2620,7 @@ export interface GalleryList {
}

// @public
export type GalleryOSDiskImage = GalleryDiskImage;
export type GalleryOSDiskImage = GalleryDiskImage & {};

// @public
export type GalleryProvisioningState = string;
Expand Down Expand Up @@ -2849,7 +2846,7 @@ export interface InnerError {
exceptiontype?: string;
}

// @public (undocumented)
// @public
export interface InstanceSku {
readonly name?: string;
readonly tier?: string;
Expand Down Expand Up @@ -2969,6 +2966,14 @@ export enum KnownCapacityReservationInstanceViewTypes {
InstanceView = "instanceView"
}

// @public
export enum KnownCloudServiceSlotType {
// (undocumented)
Production = "Production",
// (undocumented)
Staging = "Staging"
}

// @public
export enum KnownCloudServiceUpgradeMode {
// (undocumented)
Expand Down Expand Up @@ -4120,12 +4125,12 @@ export interface LoadBalancerConfiguration {
properties: LoadBalancerConfigurationProperties;
}

// @public (undocumented)
// @public
export interface LoadBalancerConfigurationProperties {
frontendIPConfigurations: LoadBalancerFrontendIPConfiguration[];
}

// @public (undocumented)
// @public
export interface LoadBalancerFrontendIPConfiguration {
name: string;
properties: LoadBalancerFrontendIPConfigurationProperties;
Expand Down Expand Up @@ -4317,11 +4322,9 @@ export interface OSFamily {
readonly type?: string;
}

// @public (undocumented)
// @public
export interface OSFamilyListResult {
// (undocumented)
nextLink?: string;
// (undocumented)
value: OSFamily[];
}

Expand Down Expand Up @@ -4354,11 +4357,9 @@ export interface OSVersion {
readonly type?: string;
}

// @public (undocumented)
// @public
export interface OSVersionListResult {
// (undocumented)
nextLink?: string;
// (undocumented)
value: OSVersion[];
}

Expand Down Expand Up @@ -4581,7 +4582,7 @@ export type ProximityPlacementGroupsUpdateResponse = ProximityPlacementGroup;
export type ProximityPlacementGroupType = string;

// @public
export type ProximityPlacementGroupUpdate = UpdateResource;
export type ProximityPlacementGroupUpdate = UpdateResource & {};

// @public
export interface ProxyOnlyResource {
Expand Down Expand Up @@ -5026,26 +5027,22 @@ export interface RetrieveBootDiagnosticsDataResult {
readonly serialConsoleLogBlobUri?: string;
}

// @public (undocumented)
// @public
export interface RoleInstance {
readonly id?: string;
readonly location?: string;
readonly name?: string;
// (undocumented)
properties?: RoleInstanceProperties;
// (undocumented)
sku?: InstanceSku;
readonly tags?: {
[propertyName: string]: string;
};
readonly type?: string;
}

// @public (undocumented)
// @public
export interface RoleInstanceListResult {
// (undocumented)
nextLink?: string;
// (undocumented)
value: RoleInstance[];
}

Expand All @@ -5054,7 +5051,7 @@ export interface RoleInstanceNetworkProfile {
readonly networkInterfaces?: SubResource[];
}

// @public (undocumented)
// @public
export interface RoleInstanceProperties {
instanceView?: RoleInstanceView;
networkProfile?: RoleInstanceNetworkProfile;
Expand Down Expand Up @@ -5227,7 +5224,7 @@ export interface SharedGalleriesListOptionalParams extends coreClient.OperationO
export type SharedGalleriesListResponse = SharedGalleryList;

// @public
export type SharedGallery = PirSharedGalleryResource;
export type SharedGallery = PirSharedGalleryResource & {};

// @public
export type SharedGalleryDataDiskImage = SharedGalleryDiskImage & {
Expand Down Expand Up @@ -5348,7 +5345,7 @@ export interface SharedGalleryList {
}

// @public
export type SharedGalleryOSDiskImage = SharedGalleryDiskImage;
export type SharedGalleryOSDiskImage = SharedGalleryDiskImage & {};

// @public
export type SharedToValues = string;
Expand Down Expand Up @@ -5673,7 +5670,7 @@ export type SshPublicKeyUpdateResource = UpdateResource & {
publicKey?: string;
};

// @public (undocumented)
// @public
export interface StatusCodeCount {
readonly code?: string;
readonly count?: number;
Expand Down Expand Up @@ -5716,6 +5713,12 @@ export interface SupportedCapabilities {
architecture?: Architecture;
}

// @public
export interface SystemData {
readonly createdAt?: Date;
readonly lastModifiedAt?: Date;
}

// @public
export interface TargetRegion {
encryption?: EncryptionImages;
Expand All @@ -5731,7 +5734,7 @@ export interface TerminateNotificationProfile {
}

// @public
export type ThrottledRequestsInput = LogAnalyticsInputBase;
export type ThrottledRequestsInput = LogAnalyticsInputBase & {};

// @public
export interface UefiSettings {
Expand All @@ -5745,11 +5748,9 @@ export interface UpdateDomain {
readonly name?: string;
}

// @public (undocumented)
// @public
export interface UpdateDomainListResult {
// (undocumented)
nextLink?: string;
// (undocumented)
value: UpdateDomain[];
}

Expand Down Expand Up @@ -7449,7 +7450,7 @@ export interface VirtualMachineScaleSetVMProtectionPolicy {
}

// @public
export type VirtualMachineScaleSetVMReimageParameters = VirtualMachineReimageParameters;
export type VirtualMachineScaleSetVMReimageParameters = VirtualMachineReimageParameters & {};

// @public
export interface VirtualMachineScaleSetVMRunCommands {
Expand Down
Loading

0 comments on commit c249719

Please sign in to comment.