Skip to content

Commit 379865c

Browse files
author
SDKAuto
committed
CodeGen from PR 19354 in Azure/azure-rest-api-specs
Merge 9620dccec6db8bf7b641d72527ce39d540dd44a0 into 2139e4c0f3a5df27ed4b08008c20d76410a58f91
1 parent a753dec commit 379865c

File tree

14 files changed

+302
-160
lines changed

14 files changed

+302
-160
lines changed

sdk/compute/arm-compute/CHANGELOG.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
# Release History
2+
3+
## 19.1.0 (2022-06-15)
4+
5+
**Features**
26

3-
## 19.0.1 (Unreleased)
4-
5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
12-
7+
- Added Interface SystemData
8+
- Added Type Alias CloudServiceSlotType
9+
- Interface CloudService has a new optional parameter systemData
10+
- Interface CloudServiceNetworkProfile has a new optional parameter slotType
11+
- Added Enum KnownCloudServiceSlotType
12+
13+
1314
## 19.0.0 (2022-06-06)
1415

1516
**Features**

sdk/compute/arm-compute/_meta.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "7168ecde052e9797d31d74c40ad00ac68c74ec6a",
2+
"commit": "2e44e64f94baa60b8afc11b50878bcde3e811985",
33
"readme": "specification/compute/resource-manager/readme.md",
4-
"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",
4+
"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",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"release_tool": "@azure-tools/js-sdk-release-tools@2.3.0",
7-
"use": "@autorest/typescript@6.0.0-beta.20"
6+
"release_tool": "@azure-tools/js-sdk-release-tools@2.3.2",
7+
"use": "@autorest/typescript@6.0.0-alpha.19.20220425.1"
88
}

sdk/compute/arm-compute/package.json

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for ComputeManagementClient.",
6-
"version": "19.0.1",
6+
"version": "19.1.0",
77
"engines": {
88
"node": ">=12.0.0"
99
},
@@ -43,11 +43,8 @@
4343
"@azure-tools/test-recorder": "^2.0.0",
4444
"@azure-tools/test-credential": "^1.0.0",
4545
"mocha": "^7.1.1",
46-
"@types/chai": "^4.2.8",
47-
"chai": "^4.2.0",
4846
"cross-env": "^7.0.2",
49-
"@azure/dev-tool": "^1.0.0",
50-
"@azure/arm-network": "^26.0.0"
47+
"@azure/dev-tool": "^1.0.0"
5148
},
5249
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/compute/arm-compute",
5350
"repository": {
@@ -111,13 +108,5 @@
111108
}
112109
]
113110
},
114-
"autoPublish": true,
115-
"//sampleConfiguration": {
116-
"productName": "",
117-
"productSlugs": [
118-
"azure"
119-
],
120-
"disableDocsMs": true,
121-
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-compute?view=azure-node-preview"
122-
}
123-
}
111+
"autoPublish": true
112+
}

sdk/compute/arm-compute/review/arm-compute.api.md

Lines changed: 44 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,7 @@ export interface CloudService {
443443
location: string;
444444
readonly name?: string;
445445
properties?: CloudServiceProperties;
446+
readonly systemData?: SystemData;
446447
tags?: {
447448
[propertyName: string]: string;
448449
};
@@ -458,13 +459,12 @@ export interface CloudServiceExtensionProfile {
458459
export interface CloudServiceExtensionProperties {
459460
autoUpgradeMinorVersion?: boolean;
460461
forceUpdateTag?: string;
461-
protectedSettings?: string;
462-
// (undocumented)
462+
protectedSettings?: Record<string, unknown>;
463463
protectedSettingsFromKeyVault?: CloudServiceVaultAndSecretReference;
464464
readonly provisioningState?: string;
465465
publisher?: string;
466466
rolesAppliedTo?: string[];
467-
settings?: string;
467+
settings?: Record<string, unknown>;
468468
type?: string;
469469
typeHandlerVersion?: string;
470470
}
@@ -477,17 +477,16 @@ export interface CloudServiceInstanceView {
477477
readonly statuses?: ResourceInstanceViewStatus[];
478478
}
479479

480-
// @public (undocumented)
480+
// @public
481481
export interface CloudServiceListResult {
482-
// (undocumented)
483482
nextLink?: string;
484-
// (undocumented)
485483
value: CloudService[];
486484
}
487485

488486
// @public
489487
export interface CloudServiceNetworkProfile {
490488
loadBalancerConfigurations?: LoadBalancerConfiguration[];
489+
slotType?: CloudServiceSlotType;
491490
swappableCloudService?: SubResource;
492491
}
493492

@@ -567,7 +566,6 @@ export interface CloudServiceRole {
567566
readonly id?: string;
568567
readonly location?: string;
569568
readonly name?: string;
570-
// (undocumented)
571569
properties?: CloudServiceRoleProperties;
572570
sku?: CloudServiceRoleSku;
573571
readonly type?: string;
@@ -654,11 +652,9 @@ export interface CloudServiceRoleInstancesRestartOptionalParams extends coreClie
654652
updateIntervalInMs?: number;
655653
}
656654

657-
// @public (undocumented)
655+
// @public
658656
export interface CloudServiceRoleListResult {
659-
// (undocumented)
660657
nextLink?: string;
661-
// (undocumented)
662658
value: CloudServiceRole[];
663659
}
664660

@@ -673,7 +669,7 @@ export interface CloudServiceRoleProfileProperties {
673669
sku?: CloudServiceRoleSku;
674670
}
675671

676-
// @public (undocumented)
672+
// @public
677673
export interface CloudServiceRoleProperties {
678674
readonly uniqueId?: string;
679675
}
@@ -803,6 +799,9 @@ export interface CloudServicesListOptionalParams extends coreClient.OperationOpt
803799
// @public
804800
export type CloudServicesListResponse = CloudServiceListResult;
805801

802+
// @public
803+
export type CloudServiceSlotType = string;
804+
806805
// @public
807806
export interface CloudServicesPowerOffOptionalParams extends coreClient.OperationOptions {
808807
resumeFrom?: string;
@@ -892,11 +891,9 @@ export interface CloudServiceUpdate {
892891
// @public
893892
export type CloudServiceUpgradeMode = string;
894893

895-
// @public (undocumented)
894+
// @public
896895
export interface CloudServiceVaultAndSecretReference {
897-
// (undocumented)
898896
secretUrl?: string;
899-
// (undocumented)
900897
sourceVault?: SubResource;
901898
}
902899

@@ -924,7 +921,7 @@ export interface CommunityGalleriesGetOptionalParams extends coreClient.Operatio
924921
export type CommunityGalleriesGetResponse = CommunityGallery;
925922

926923
// @public
927-
export type CommunityGallery = PirCommunityGalleryResource;
924+
export type CommunityGallery = PirCommunityGalleryResource & {};
928925

929926
// @public
930927
export type CommunityGalleryImage = PirCommunityGalleryResource & {
@@ -1685,7 +1682,7 @@ export interface DiskEncryptionSetList {
16851682
}
16861683

16871684
// @public
1688-
export type DiskEncryptionSetParameters = SubResource;
1685+
export type DiskEncryptionSetParameters = SubResource & {};
16891686

16901687
// @public
16911688
export interface DiskEncryptionSets {
@@ -2541,7 +2538,7 @@ export interface GalleryImageVersionList {
25412538
}
25422539

25432540
// @public
2544-
export type GalleryImageVersionPublishingProfile = GalleryArtifactPublishingProfileBase;
2541+
export type GalleryImageVersionPublishingProfile = GalleryArtifactPublishingProfileBase & {};
25452542

25462543
// @public
25472544
export interface GalleryImageVersions {
@@ -2623,7 +2620,7 @@ export interface GalleryList {
26232620
}
26242621

26252622
// @public
2626-
export type GalleryOSDiskImage = GalleryDiskImage;
2623+
export type GalleryOSDiskImage = GalleryDiskImage & {};
26272624

26282625
// @public
26292626
export type GalleryProvisioningState = string;
@@ -2849,7 +2846,7 @@ export interface InnerError {
28492846
exceptiontype?: string;
28502847
}
28512848

2852-
// @public (undocumented)
2849+
// @public
28532850
export interface InstanceSku {
28542851
readonly name?: string;
28552852
readonly tier?: string;
@@ -2969,6 +2966,14 @@ export enum KnownCapacityReservationInstanceViewTypes {
29692966
InstanceView = "instanceView"
29702967
}
29712968

2969+
// @public
2970+
export enum KnownCloudServiceSlotType {
2971+
// (undocumented)
2972+
Production = "Production",
2973+
// (undocumented)
2974+
Staging = "Staging"
2975+
}
2976+
29722977
// @public
29732978
export enum KnownCloudServiceUpgradeMode {
29742979
// (undocumented)
@@ -4120,12 +4125,12 @@ export interface LoadBalancerConfiguration {
41204125
properties: LoadBalancerConfigurationProperties;
41214126
}
41224127

4123-
// @public (undocumented)
4128+
// @public
41244129
export interface LoadBalancerConfigurationProperties {
41254130
frontendIPConfigurations: LoadBalancerFrontendIPConfiguration[];
41264131
}
41274132

4128-
// @public (undocumented)
4133+
// @public
41294134
export interface LoadBalancerFrontendIPConfiguration {
41304135
name: string;
41314136
properties: LoadBalancerFrontendIPConfigurationProperties;
@@ -4317,11 +4322,9 @@ export interface OSFamily {
43174322
readonly type?: string;
43184323
}
43194324

4320-
// @public (undocumented)
4325+
// @public
43214326
export interface OSFamilyListResult {
4322-
// (undocumented)
43234327
nextLink?: string;
4324-
// (undocumented)
43254328
value: OSFamily[];
43264329
}
43274330

@@ -4354,11 +4357,9 @@ export interface OSVersion {
43544357
readonly type?: string;
43554358
}
43564359

4357-
// @public (undocumented)
4360+
// @public
43584361
export interface OSVersionListResult {
4359-
// (undocumented)
43604362
nextLink?: string;
4361-
// (undocumented)
43624363
value: OSVersion[];
43634364
}
43644365

@@ -4581,7 +4582,7 @@ export type ProximityPlacementGroupsUpdateResponse = ProximityPlacementGroup;
45814582
export type ProximityPlacementGroupType = string;
45824583

45834584
// @public
4584-
export type ProximityPlacementGroupUpdate = UpdateResource;
4585+
export type ProximityPlacementGroupUpdate = UpdateResource & {};
45854586

45864587
// @public
45874588
export interface ProxyOnlyResource {
@@ -5026,26 +5027,22 @@ export interface RetrieveBootDiagnosticsDataResult {
50265027
readonly serialConsoleLogBlobUri?: string;
50275028
}
50285029

5029-
// @public (undocumented)
5030+
// @public
50305031
export interface RoleInstance {
50315032
readonly id?: string;
50325033
readonly location?: string;
50335034
readonly name?: string;
5034-
// (undocumented)
50355035
properties?: RoleInstanceProperties;
5036-
// (undocumented)
50375036
sku?: InstanceSku;
50385037
readonly tags?: {
50395038
[propertyName: string]: string;
50405039
};
50415040
readonly type?: string;
50425041
}
50435042

5044-
// @public (undocumented)
5043+
// @public
50455044
export interface RoleInstanceListResult {
5046-
// (undocumented)
50475045
nextLink?: string;
5048-
// (undocumented)
50495046
value: RoleInstance[];
50505047
}
50515048

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

5057-
// @public (undocumented)
5054+
// @public
50585055
export interface RoleInstanceProperties {
50595056
instanceView?: RoleInstanceView;
50605057
networkProfile?: RoleInstanceNetworkProfile;
@@ -5227,7 +5224,7 @@ export interface SharedGalleriesListOptionalParams extends coreClient.OperationO
52275224
export type SharedGalleriesListResponse = SharedGalleryList;
52285225

52295226
// @public
5230-
export type SharedGallery = PirSharedGalleryResource;
5227+
export type SharedGallery = PirSharedGalleryResource & {};
52315228

52325229
// @public
52335230
export type SharedGalleryDataDiskImage = SharedGalleryDiskImage & {
@@ -5348,7 +5345,7 @@ export interface SharedGalleryList {
53485345
}
53495346

53505347
// @public
5351-
export type SharedGalleryOSDiskImage = SharedGalleryDiskImage;
5348+
export type SharedGalleryOSDiskImage = SharedGalleryDiskImage & {};
53525349

53535350
// @public
53545351
export type SharedToValues = string;
@@ -5673,7 +5670,7 @@ export type SshPublicKeyUpdateResource = UpdateResource & {
56735670
publicKey?: string;
56745671
};
56755672

5676-
// @public (undocumented)
5673+
// @public
56775674
export interface StatusCodeCount {
56785675
readonly code?: string;
56795676
readonly count?: number;
@@ -5716,6 +5713,12 @@ export interface SupportedCapabilities {
57165713
architecture?: Architecture;
57175714
}
57185715

5716+
// @public
5717+
export interface SystemData {
5718+
readonly createdAt?: Date;
5719+
readonly lastModifiedAt?: Date;
5720+
}
5721+
57195722
// @public
57205723
export interface TargetRegion {
57215724
encryption?: EncryptionImages;
@@ -5731,7 +5734,7 @@ export interface TerminateNotificationProfile {
57315734
}
57325735

57335736
// @public
5734-
export type ThrottledRequestsInput = LogAnalyticsInputBase;
5737+
export type ThrottledRequestsInput = LogAnalyticsInputBase & {};
57355738

57365739
// @public
57375740
export interface UefiSettings {
@@ -5745,11 +5748,9 @@ export interface UpdateDomain {
57455748
readonly name?: string;
57465749
}
57475750

5748-
// @public (undocumented)
5751+
// @public
57495752
export interface UpdateDomainListResult {
5750-
// (undocumented)
57515753
nextLink?: string;
5752-
// (undocumented)
57535754
value: UpdateDomain[];
57545755
}
57555756

@@ -7449,7 +7450,7 @@ export interface VirtualMachineScaleSetVMProtectionPolicy {
74497450
}
74507451

74517452
// @public
7452-
export type VirtualMachineScaleSetVMReimageParameters = VirtualMachineReimageParameters;
7453+
export type VirtualMachineScaleSetVMReimageParameters = VirtualMachineReimageParameters & {};
74537454

74547455
// @public
74557456
export interface VirtualMachineScaleSetVMRunCommands {

0 commit comments

Comments
 (0)