Skip to content

Commit b80e508

Browse files
author
SDK Automation
committed
Generated from c921cf7ddc81cdc67b358506836f9e328623d568
Merge remote-tracking branch 'upstream/master'
1 parent 030c957 commit b80e508

File tree

5 files changed

+255
-8
lines changed

5 files changed

+255
-8
lines changed

sdk/compute/arm-compute/src/models/diskEncryptionSetsMappers.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ export {
121121
ReplicationStatus,
122122
Resource,
123123
ResourceRange,
124+
ResourceUriList,
124125
RollingUpgradePolicy,
125126
RollingUpgradeProgressInfo,
126127
RollingUpgradeRunningStatus,

sdk/compute/arm-compute/src/models/index.ts

Lines changed: 89 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4972,6 +4972,11 @@ export interface CreationData {
49724972
* 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).
49734973
*/
49744974
uploadSizeBytes?: number;
4975+
/**
4976+
* Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the
4977+
* default.
4978+
*/
4979+
logicalSectorSize?: number;
49754980
}
49764981

49774982
/**
@@ -5168,9 +5173,8 @@ export interface Disk extends Resource {
51685173
/**
51695174
* The state of the disk. Possible values include: 'Unattached', 'Attached', 'Reserved',
51705175
* 'ActiveSAS', 'ReadyToUpload', 'ActiveUpload'
5171-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
51725176
*/
5173-
readonly diskState?: DiskState;
5177+
diskState?: DiskState;
51745178
/**
51755179
* Encryption property can be used to encrypt data at rest with customer managed keys or platform
51765180
* managed keys.
@@ -5195,6 +5199,12 @@ export interface Disk extends Resource {
51955199
* ARM id of the DiskAccess resource for using private endpoints on disks.
51965200
*/
51975201
diskAccessId?: string;
5202+
/**
5203+
* Performance tier of the disk (e.g, P4, S10) as described here:
5204+
* https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra
5205+
* disks.
5206+
*/
5207+
tier?: string;
51985208
}
51995209

52005210
/**
@@ -5256,6 +5266,12 @@ export interface DiskUpdate {
52565266
* ARM id of the DiskAccess resource for using private endpoints on disks.
52575267
*/
52585268
diskAccessId?: string;
5269+
/**
5270+
* Performance tier of the disk (e.g, P4, S10) as described here:
5271+
* https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra
5272+
* disks.
5273+
*/
5274+
tier?: string;
52595275
/**
52605276
* Resource tags
52615277
*/
@@ -5344,6 +5360,11 @@ export interface Snapshot extends Resource {
53445360
* **NOTE: This property will not be serialized. It can only be populated by the server.**
53455361
*/
53465362
readonly diskSizeBytes?: number;
5363+
/**
5364+
* The state of the snapshot. Possible values include: 'Unattached', 'Attached', 'Reserved',
5365+
* 'ActiveSAS', 'ReadyToUpload', 'ActiveUpload'
5366+
*/
5367+
diskState?: DiskState;
53475368
/**
53485369
* Unique Guid identifying the resource.
53495370
* **NOTE: This property will not be serialized. It can only be populated by the server.**
@@ -5451,10 +5472,10 @@ export interface EncryptionSetIdentity {
54515472
export interface DiskEncryptionSet extends Resource {
54525473
identity?: EncryptionSetIdentity;
54535474
/**
5454-
* Possible values include: 'EncryptionAtRestWithPlatformKey', 'EncryptionAtRestWithCustomerKey',
5475+
* Possible values include: 'EncryptionAtRestWithCustomerKey',
54555476
* 'EncryptionAtRestWithPlatformAndCustomerKeys'
54565477
*/
5457-
encryptionType?: EncryptionType;
5478+
encryptionType?: DiskEncryptionSetType;
54585479
/**
54595480
* The key vault key which is currently used by this disk encryption set.
54605481
*/
@@ -5477,10 +5498,10 @@ export interface DiskEncryptionSet extends Resource {
54775498
*/
54785499
export interface DiskEncryptionSetUpdate {
54795500
/**
5480-
* Possible values include: 'EncryptionAtRestWithPlatformKey', 'EncryptionAtRestWithCustomerKey',
5501+
* Possible values include: 'EncryptionAtRestWithCustomerKey',
54815502
* 'EncryptionAtRestWithPlatformAndCustomerKeys'
54825503
*/
5483-
encryptionType?: EncryptionType;
5504+
encryptionType?: DiskEncryptionSetType;
54845505
activeKey?: KeyVaultAndKeyReference;
54855506
/**
54865507
* Resource tags
@@ -7242,6 +7263,19 @@ export interface DiskEncryptionSetList extends Array<DiskEncryptionSet> {
72427263
nextLink?: string;
72437264
}
72447265

7266+
/**
7267+
* @interface
7268+
* The List resources which are encrypted with the disk encryption set.
7269+
* @extends Array<string>
7270+
*/
7271+
export interface ResourceUriList extends Array<string> {
7272+
/**
7273+
* The uri to fetch the next page of encrypted resources. Call ListNext() with this to fetch the
7274+
* next page of encrypted resources.
7275+
*/
7276+
nextLink?: string;
7277+
}
7278+
72457279
/**
72467280
* @interface
72477281
* The List disk access operation response.
@@ -7769,6 +7803,15 @@ export type NetworkAccessPolicy = 'AllowAll' | 'AllowPrivate' | 'DenyAll';
77697803
*/
77707804
export type SnapshotStorageAccountTypes = 'Standard_LRS' | 'Premium_LRS' | 'Standard_ZRS';
77717805

7806+
/**
7807+
* Defines values for DiskEncryptionSetType.
7808+
* Possible values include: 'EncryptionAtRestWithCustomerKey',
7809+
* 'EncryptionAtRestWithPlatformAndCustomerKeys'
7810+
* @readonly
7811+
* @enum {string}
7812+
*/
7813+
export type DiskEncryptionSetType = 'EncryptionAtRestWithCustomerKey' | 'EncryptionAtRestWithPlatformAndCustomerKeys';
7814+
77727815
/**
77737816
* Defines values for AccessLevel.
77747817
* Possible values include: 'None', 'Read', 'Write'
@@ -11065,6 +11108,26 @@ export type DiskEncryptionSetsListResponse = DiskEncryptionSetList & {
1106511108
};
1106611109
};
1106711110

11111+
/**
11112+
* Contains response data for the listAssociatedResources operation.
11113+
*/
11114+
export type DiskEncryptionSetsListAssociatedResourcesResponse = ResourceUriList & {
11115+
/**
11116+
* The underlying HTTP response.
11117+
*/
11118+
_response: msRest.HttpResponse & {
11119+
/**
11120+
* The response body as text (string format)
11121+
*/
11122+
bodyAsText: string;
11123+
11124+
/**
11125+
* The response body as parsed JSON or XML
11126+
*/
11127+
parsedBody: ResourceUriList;
11128+
};
11129+
};
11130+
1106811131
/**
1106911132
* Contains response data for the beginCreateOrUpdate operation.
1107011133
*/
@@ -11145,6 +11208,26 @@ export type DiskEncryptionSetsListNextResponse = DiskEncryptionSetList & {
1114511208
};
1114611209
};
1114711210

11211+
/**
11212+
* Contains response data for the listAssociatedResourcesNext operation.
11213+
*/
11214+
export type DiskEncryptionSetsListAssociatedResourcesNextResponse = ResourceUriList & {
11215+
/**
11216+
* The underlying HTTP response.
11217+
*/
11218+
_response: msRest.HttpResponse & {
11219+
/**
11220+
* The response body as text (string format)
11221+
*/
11222+
bodyAsText: string;
11223+
11224+
/**
11225+
* The response body as parsed JSON or XML
11226+
*/
11227+
parsedBody: ResourceUriList;
11228+
};
11229+
};
11230+
1114811231
/**
1114911232
* Contains response data for the createOrUpdate operation.
1115011233
*/

sdk/compute/arm-compute/src/models/mappers.ts

Lines changed: 52 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7597,6 +7597,12 @@ export const CreationData: msRest.CompositeMapper = {
75977597
type: {
75987598
name: "Number"
75997599
}
7600+
},
7601+
logicalSectorSize: {
7602+
serializedName: "logicalSectorSize",
7603+
type: {
7604+
name: "Number"
7605+
}
76007606
}
76017607
}
76027608
}
@@ -7900,7 +7906,6 @@ export const Disk: msRest.CompositeMapper = {
79007906
}
79017907
},
79027908
diskState: {
7903-
readOnly: true,
79047909
serializedName: "properties.diskState",
79057910
type: {
79067911
name: "String"
@@ -7943,6 +7948,12 @@ export const Disk: msRest.CompositeMapper = {
79437948
type: {
79447949
name: "String"
79457950
}
7951+
},
7952+
tier: {
7953+
serializedName: "properties.tier",
7954+
type: {
7955+
name: "String"
7956+
}
79467957
}
79477958
}
79487959
}
@@ -8026,6 +8037,12 @@ export const DiskUpdate: msRest.CompositeMapper = {
80268037
name: "String"
80278038
}
80288039
},
8040+
tier: {
8041+
serializedName: "properties.tier",
8042+
type: {
8043+
name: "String"
8044+
}
8045+
},
80298046
tags: {
80308047
serializedName: "tags",
80318048
type: {
@@ -8177,6 +8194,12 @@ export const Snapshot: msRest.CompositeMapper = {
81778194
name: "Number"
81788195
}
81798196
},
8197+
diskState: {
8198+
serializedName: "properties.diskState",
8199+
type: {
8200+
name: "String"
8201+
}
8202+
},
81808203
uniqueId: {
81818204
readOnly: true,
81828205
serializedName: "properties.uniqueId",
@@ -10773,6 +10796,34 @@ export const DiskEncryptionSetList: msRest.CompositeMapper = {
1077310796
}
1077410797
};
1077510798

10799+
export const ResourceUriList: msRest.CompositeMapper = {
10800+
serializedName: "ResourceUriList",
10801+
type: {
10802+
name: "Composite",
10803+
className: "ResourceUriList",
10804+
modelProperties: {
10805+
value: {
10806+
required: true,
10807+
serializedName: "",
10808+
type: {
10809+
name: "Sequence",
10810+
element: {
10811+
type: {
10812+
name: "String"
10813+
}
10814+
}
10815+
}
10816+
},
10817+
nextLink: {
10818+
serializedName: "nextLink",
10819+
type: {
10820+
name: "String"
10821+
}
10822+
}
10823+
}
10824+
}
10825+
};
10826+
1077610827
export const DiskAccessList: msRest.CompositeMapper = {
1077710828
serializedName: "DiskAccessList",
1077810829
type: {

sdk/compute/arm-compute/src/models/parameters.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export const apiVersion2: msRest.OperationQueryParameter = {
5050
required: true,
5151
isConstant: true,
5252
serializedName: "api-version",
53-
defaultValue: '2020-05-01',
53+
defaultValue: '2020-06-30',
5454
type: {
5555
name: "String"
5656
}

0 commit comments

Comments
 (0)