Skip to content
Merged
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
20 changes: 20 additions & 0 deletions packages/@azure/arm-compute/lib/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5411,6 +5411,12 @@ export interface GalleryImageVersionPublishingProfile extends GalleryArtifactPub
* property is updatable.
*/
endOfLifeDate?: Date;
/**
* @member {StorageAccountType} [storageAccountType] Specifies the storage
* account type to be used to store the image. This property is not
* updatable. Possible values include: 'Standard_LRS', 'Standard_ZRS'
*/
storageAccountType?: StorageAccountType;
}

/**
Expand Down Expand Up @@ -5597,6 +5603,12 @@ export interface TargetRegion {
* Image Version to be created per region. This property is updatable.
*/
regionalReplicaCount?: number;
/**
* @member {StorageAccountType} [storageAccountType] Specifies the storage
* account type to be used to store the image. This property is not
* updatable. Possible values include: 'Standard_LRS', 'Standard_ZRS'
*/
storageAccountType?: StorageAccountType;
}

/**
Expand Down Expand Up @@ -6978,6 +6990,14 @@ export type SnapshotStorageAccountTypes = 'Standard_LRS' | 'Premium_LRS' | 'Stan
*/
export type AccessLevel = 'None' | 'Read' | 'Write';

/**
* Defines values for StorageAccountType.
* Possible values include: 'Standard_LRS', 'Standard_ZRS'
* @readonly
* @enum {string}
*/
export type StorageAccountType = 'Standard_LRS' | 'Standard_ZRS';

/**
* Defines values for AggregatedReplicationState.
* Possible values include: 'Unknown', 'InProgress', 'Completed', 'Failed'
Expand Down
12 changes: 12 additions & 0 deletions packages/@azure/arm-compute/lib/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6683,6 +6683,12 @@ export const GalleryImageVersionPublishingProfile: msRest.CompositeMapper = {
type: {
name: "DateTime"
}
},
storageAccountType: {
serializedName: "storageAccountType",
type: {
name: "String"
}
}
}
}
Expand Down Expand Up @@ -6905,6 +6911,12 @@ export const TargetRegion: msRest.CompositeMapper = {
type: {
name: "Number"
}
},
storageAccountType: {
serializedName: "storageAccountType",
type: {
name: "String"
}
}
}
}
Expand Down
12 changes: 0 additions & 12 deletions packages/@azure/arm-compute/lib/models/parameters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,6 @@ export const apiVersion2: msRest.OperationQueryParameter = {
}
};
export const apiVersion3: msRest.OperationQueryParameter = {
parameterPath: "apiVersion",
mapper: {
required: true,
isConstant: true,
serializedName: "api-version",
defaultValue: '2018-06-01',
type: {
name: "String"
}
}
};
export const apiVersion4: msRest.OperationQueryParameter = {
parameterPath: "apiVersion",
mapper: {
required: true,
Expand Down
10 changes: 5 additions & 5 deletions packages/@azure/arm-compute/lib/operations/containerServices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ const listOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
Parameters.apiVersion4
Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
Expand All @@ -299,7 +299,7 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
Parameters.apiVersion4
Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
Expand All @@ -323,7 +323,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
Parameters.apiVersion4
Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
Expand All @@ -348,7 +348,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
Parameters.apiVersion4
Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
Expand Down Expand Up @@ -386,7 +386,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
Parameters.apiVersion4
Parameters.apiVersion3
],
headerParameters: [
Parameters.acceptLanguage
Expand Down
10 changes: 5 additions & 5 deletions packages/@azure/arm-compute/lib/operations/galleries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.galleryName
],
queryParameters: [
Parameters.apiVersion3
Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
Expand All @@ -268,7 +268,7 @@ const listByResourceGroupOperationSpec: msRest.OperationSpec = {
Parameters.resourceGroupName
],
queryParameters: [
Parameters.apiVersion3
Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
Expand All @@ -291,7 +291,7 @@ const listOperationSpec: msRest.OperationSpec = {
Parameters.subscriptionId
],
queryParameters: [
Parameters.apiVersion3
Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
Expand All @@ -316,7 +316,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryName
],
queryParameters: [
Parameters.apiVersion3
Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
Expand Down Expand Up @@ -354,7 +354,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.galleryName
],
queryParameters: [
Parameters.apiVersion3
Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ const getOperationSpec: msRest.OperationSpec = {
],
queryParameters: [
Parameters.expand0,
Parameters.apiVersion3
Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
Expand All @@ -263,7 +263,7 @@ const listByGalleryImageOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageName
],
queryParameters: [
Parameters.apiVersion3
Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
Expand All @@ -290,7 +290,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageVersionName
],
queryParameters: [
Parameters.apiVersion3
Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
Expand Down Expand Up @@ -330,7 +330,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageVersionName
],
queryParameters: [
Parameters.apiVersion3
Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
Expand Down
8 changes: 4 additions & 4 deletions packages/@azure/arm-compute/lib/operations/galleryImages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ const getOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageName
],
queryParameters: [
Parameters.apiVersion3
Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
Expand All @@ -244,7 +244,7 @@ const listByGalleryOperationSpec: msRest.OperationSpec = {
Parameters.galleryName
],
queryParameters: [
Parameters.apiVersion3
Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
Expand All @@ -270,7 +270,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageName
],
queryParameters: [
Parameters.apiVersion3
Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
Expand Down Expand Up @@ -309,7 +309,7 @@ const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
Parameters.galleryImageName
],
queryParameters: [
Parameters.apiVersion3
Parameters.apiVersion0
],
headerParameters: [
Parameters.acceptLanguage
Expand Down