diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts
index 0e28e914df7e..1a6d0c933f36 100644
--- a/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/dedicatedHostGroupsMappers.ts
@@ -53,6 +53,9 @@ export {
EncryptionSettingsCollection,
EncryptionSettingsElement,
Gallery,
+ GalleryApplication,
+ GalleryApplicationVersion,
+ GalleryApplicationVersionPublishingProfile,
GalleryArtifactPublishingProfileBase,
GalleryArtifactVersionSource,
GalleryDataDiskImage,
@@ -114,6 +117,7 @@ export {
TerminateNotificationProfile,
UpdateResource,
UpgradePolicy,
+ UserArtifactSource,
VaultCertificate,
VaultSecretGroup,
VirtualHardDisk,
diff --git a/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts
index f78b7b1889ae..d9c16ee9b4c8 100644
--- a/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/dedicatedHostsMappers.ts
@@ -53,6 +53,9 @@ export {
EncryptionSettingsCollection,
EncryptionSettingsElement,
Gallery,
+ GalleryApplication,
+ GalleryApplicationVersion,
+ GalleryApplicationVersionPublishingProfile,
GalleryArtifactPublishingProfileBase,
GalleryArtifactVersionSource,
GalleryDataDiskImage,
@@ -114,6 +117,7 @@ export {
TerminateNotificationProfile,
UpdateResource,
UpgradePolicy,
+ UserArtifactSource,
VaultCertificate,
VaultSecretGroup,
VirtualHardDisk,
diff --git a/sdk/compute/arm-compute/src/models/index.ts b/sdk/compute/arm-compute/src/models/index.ts
index d561f9fb0152..4f8f93fe02c7 100644
--- a/sdk/compute/arm-compute/src/models/index.ts
+++ b/sdk/compute/arm-compute/src/models/index.ts
@@ -1755,6 +1755,15 @@ export interface VirtualMachine extends Resource {
* non-null properties.virtualMachineScaleSet reference.
*/
availabilitySet?: SubResource;
+ /**
+ * Specifies information about the virtual machine scale set that the virtual machine should be
+ * assigned to. Virtual machines specified in the same virtual machine scale set are allocated to
+ * different nodes to maximize availability. Currently, a VM can only be added to virtual machine
+ * scale set at creation time. An existing VM cannot be added to a virtual machine scale set.
+ *
This property cannot exist along with a non-null properties.availabilitySet reference.
+ *
Minimum api‐version: 2019‐03‐01
+ */
+ virtualMachineScaleSet?: SubResource;
/**
* Specifies information about the proximity placement group that the virtual machine should be
* assigned to.
Minimum api-version: 2018-04-01.
@@ -1856,6 +1865,15 @@ export interface VirtualMachineUpdate extends UpdateResource {
* non-null properties.virtualMachineScaleSet reference.
*/
availabilitySet?: SubResource;
+ /**
+ * Specifies information about the virtual machine scale set that the virtual machine should be
+ * assigned to. Virtual machines specified in the same virtual machine scale set are allocated to
+ * different nodes to maximize availability. Currently, a VM can only be added to virtual machine
+ * scale set at creation time. An existing VM cannot be added to a virtual machine scale set.
+ *
This property cannot exist along with a non-null properties.availabilitySet reference.
+ *
Minimum api‐version: 2019‐03‐01
+ */
+ virtualMachineScaleSet?: SubResource;
/**
* Specifies information about the proximity placement group that the virtual machine should be
* assigned to.
Minimum api-version: 2018-04-01.
@@ -4756,23 +4774,7 @@ export interface GalleryImage extends Resource {
/**
* The publishing profile of a gallery Image Version.
*/
-export interface GalleryArtifactPublishingProfileBase {
- /**
- * The target regions where the Image Version is going to be replicated to. This property is
- * updatable.
- */
- targetRegions?: TargetRegion[];
-}
-
-/**
- * The gallery artifact version source.
- */
-export interface GalleryArtifactVersionSource {
- /**
- * The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, or user
- * image.
- */
- id: string;
+export interface GalleryImageVersionPublishingProfile extends GalleryArtifactPublishingProfileBase {
}
/**
@@ -4844,50 +4846,6 @@ export interface GalleryImageVersionStorageProfile {
dataDiskImages?: GalleryDataDiskImage[];
}
-/**
- * This is the regional replication status.
- */
-export interface RegionalReplicationStatus {
- /**
- * The region to which the gallery Image Version is being replicated to.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly region?: string;
- /**
- * This is the regional replication state. Possible values include: 'Unknown', 'Replicating',
- * 'Completed', 'Failed'
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly state?: ReplicationState;
- /**
- * The details of the replication status.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly details?: string;
- /**
- * It indicates progress of the replication job.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly progress?: number;
-}
-
-/**
- * This is the replication status of the gallery Image Version.
- */
-export interface ReplicationStatus {
- /**
- * This is the aggregated replication status based on all the regional replication status flags.
- * Possible values include: 'Unknown', 'InProgress', 'Completed', 'Failed'
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- readonly aggregatedState?: AggregatedReplicationState;
- /**
- * This is a summary of replication status for each region.
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
- */
- dataDiskImages?: GalleryDataDiskImage[];
-}
-
/**
* Specifies information about the gallery Image Version that you want to create or update.
*/
@@ -4899,7 +4857,7 @@ export interface GalleryImageVersion extends Resource {
* 'Deleting', 'Migrating'
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
- readonly provisioningState?: ProvisioningState2;
+ readonly provisioningState?: ProvisioningState3;
storageProfile: GalleryImageVersionStorageProfile;
/**
* **NOTE: This property will not be serialized. It can only be populated by the server.**
@@ -5147,6 +5105,16 @@ export interface DedicatedHostsGetOptionalParams extends msRest.RequestOptionsBa
expand?: InstanceViewTypes;
}
+/**
+ * Optional Parameters.
+ */
+export interface VirtualMachineExtensionImagesListVersionsOptionalParams extends msRest.RequestOptionsBase {
+ /**
+ * The expand expression to apply on the operation. Possible values include: 'instanceView'
+ */
+ expand?: InstanceViewTypes;
+}
+
/**
* Optional Parameters.
*/
@@ -7340,426 +7308,6 @@ export type DedicatedHostsListByHostGroupNextResponse = DedicatedHostListResult
};
};
-/**
- * Contains response data for the createOrUpdate operation.
- */
-export type ProximityPlacementGroupsCreateOrUpdateResponse = ProximityPlacementGroup & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ProximityPlacementGroup;
- };
-};
-
-/**
- * Contains response data for the update operation.
- */
-export type ProximityPlacementGroupsUpdateResponse = ProximityPlacementGroup & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ProximityPlacementGroup;
- };
-};
-
-/**
- * Contains response data for the get operation.
- */
-export type ProximityPlacementGroupsGetResponse = ProximityPlacementGroup & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ProximityPlacementGroup;
- };
-};
-
-/**
- * Contains response data for the listBySubscription operation.
- */
-export type ProximityPlacementGroupsListBySubscriptionResponse = ProximityPlacementGroupListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ProximityPlacementGroupListResult;
- };
-};
-
-/**
- * Contains response data for the listByResourceGroup operation.
- */
-export type ProximityPlacementGroupsListByResourceGroupResponse = ProximityPlacementGroupListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ProximityPlacementGroupListResult;
- };
-};
-
-/**
- * Contains response data for the listBySubscriptionNext operation.
- */
-export type ProximityPlacementGroupsListBySubscriptionNextResponse = ProximityPlacementGroupListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ProximityPlacementGroupListResult;
- };
-};
-
-/**
- * Contains response data for the listByResourceGroupNext operation.
- */
-export type ProximityPlacementGroupsListByResourceGroupNextResponse = ProximityPlacementGroupListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: ProximityPlacementGroupListResult;
- };
-};
-
-/**
- * Contains response data for the createOrUpdate operation.
- */
-export type DedicatedHostGroupsCreateOrUpdateResponse = DedicatedHostGroup & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DedicatedHostGroup;
- };
-};
-
-/**
- * Contains response data for the update operation.
- */
-export type DedicatedHostGroupsUpdateResponse = DedicatedHostGroup & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DedicatedHostGroup;
- };
-};
-
-/**
- * Contains response data for the get operation.
- */
-export type DedicatedHostGroupsGetResponse = DedicatedHostGroup & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DedicatedHostGroup;
- };
-};
-
-/**
- * Contains response data for the listByResourceGroup operation.
- */
-export type DedicatedHostGroupsListByResourceGroupResponse = DedicatedHostGroupListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DedicatedHostGroupListResult;
- };
-};
-
-/**
- * Contains response data for the listBySubscription operation.
- */
-export type DedicatedHostGroupsListBySubscriptionResponse = DedicatedHostGroupListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DedicatedHostGroupListResult;
- };
-};
-
-/**
- * Contains response data for the listByResourceGroupNext operation.
- */
-export type DedicatedHostGroupsListByResourceGroupNextResponse = DedicatedHostGroupListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DedicatedHostGroupListResult;
- };
-};
-
-/**
- * Contains response data for the listBySubscriptionNext operation.
- */
-export type DedicatedHostGroupsListBySubscriptionNextResponse = DedicatedHostGroupListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DedicatedHostGroupListResult;
- };
-};
-
-/**
- * Contains response data for the createOrUpdate operation.
- */
-export type DedicatedHostsCreateOrUpdateResponse = DedicatedHost & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DedicatedHost;
- };
-};
-
-/**
- * Contains response data for the update operation.
- */
-export type DedicatedHostsUpdateResponse = DedicatedHost & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DedicatedHost;
- };
-};
-
-/**
- * Contains response data for the get operation.
- */
-export type DedicatedHostsGetResponse = DedicatedHost & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DedicatedHost;
- };
-};
-
-/**
- * Contains response data for the listByHostGroup operation.
- */
-export type DedicatedHostsListByHostGroupResponse = DedicatedHostListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DedicatedHostListResult;
- };
-};
-
-/**
- * Contains response data for the beginCreateOrUpdate operation.
- */
-export type DedicatedHostsBeginCreateOrUpdateResponse = DedicatedHost & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DedicatedHost;
- };
-};
-
-/**
- * Contains response data for the beginUpdate operation.
- */
-export type DedicatedHostsBeginUpdateResponse = DedicatedHost & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DedicatedHost;
- };
-};
-
-/**
- * Contains response data for the listByHostGroupNext operation.
- */
-export type DedicatedHostsListByHostGroupNextResponse = DedicatedHostListResult & {
- /**
- * The underlying HTTP response.
- */
- _response: msRest.HttpResponse & {
- /**
- * The response body as text (string format)
- */
- bodyAsText: string;
-
- /**
- * The response body as parsed JSON or XML
- */
- parsedBody: DedicatedHostListResult;
- };
-};
-
/**
* Contains response data for the get operation.
*/
diff --git a/sdk/compute/arm-compute/src/models/mappers.ts b/sdk/compute/arm-compute/src/models/mappers.ts
index 6cab1be63fa0..5cf2b153b5b8 100644
--- a/sdk/compute/arm-compute/src/models/mappers.ts
+++ b/sdk/compute/arm-compute/src/models/mappers.ts
@@ -771,6 +771,430 @@ export const DedicatedHostUpdate: msRest.CompositeMapper = {
}
};
+export const ProximityPlacementGroup: msRest.CompositeMapper = {
+ serializedName: "ProximityPlacementGroup",
+ type: {
+ name: "Composite",
+ className: "ProximityPlacementGroup",
+ modelProperties: {
+ ...Resource.type.modelProperties,
+ proximityPlacementGroupType: {
+ serializedName: "properties.proximityPlacementGroupType",
+ type: {
+ name: "String"
+ }
+ },
+ virtualMachines: {
+ readOnly: true,
+ serializedName: "properties.virtualMachines",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "SubResource"
+ }
+ }
+ }
+ },
+ virtualMachineScaleSets: {
+ readOnly: true,
+ serializedName: "properties.virtualMachineScaleSets",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "SubResource"
+ }
+ }
+ }
+ },
+ availabilitySets: {
+ readOnly: true,
+ serializedName: "properties.availabilitySets",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "SubResource"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const ProximityPlacementGroupUpdate: msRest.CompositeMapper = {
+ serializedName: "ProximityPlacementGroupUpdate",
+ type: {
+ name: "Composite",
+ className: "ProximityPlacementGroupUpdate",
+ modelProperties: {
+ ...UpdateResource.type.modelProperties
+ }
+ }
+};
+
+export const SubResourceReadOnly: msRest.CompositeMapper = {
+ serializedName: "SubResourceReadOnly",
+ type: {
+ name: "Composite",
+ className: "SubResourceReadOnly",
+ modelProperties: {
+ id: {
+ readOnly: true,
+ serializedName: "id",
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+};
+
+export const DedicatedHostGroup: msRest.CompositeMapper = {
+ serializedName: "DedicatedHostGroup",
+ type: {
+ name: "Composite",
+ className: "DedicatedHostGroup",
+ modelProperties: {
+ ...Resource.type.modelProperties,
+ platformFaultDomainCount: {
+ required: true,
+ serializedName: "properties.platformFaultDomainCount",
+ constraints: {
+ InclusiveMaximum: 3,
+ InclusiveMinimum: 1
+ },
+ type: {
+ name: "Number"
+ }
+ },
+ hosts: {
+ readOnly: true,
+ serializedName: "properties.hosts",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "SubResourceReadOnly"
+ }
+ }
+ }
+ },
+ zones: {
+ serializedName: "zones",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const DedicatedHostGroupUpdate: msRest.CompositeMapper = {
+ serializedName: "DedicatedHostGroupUpdate",
+ type: {
+ name: "Composite",
+ className: "DedicatedHostGroupUpdate",
+ modelProperties: {
+ ...UpdateResource.type.modelProperties,
+ platformFaultDomainCount: {
+ required: true,
+ serializedName: "properties.platformFaultDomainCount",
+ constraints: {
+ InclusiveMaximum: 3,
+ InclusiveMinimum: 1
+ },
+ type: {
+ name: "Number"
+ }
+ },
+ hosts: {
+ readOnly: true,
+ serializedName: "properties.hosts",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "SubResourceReadOnly"
+ }
+ }
+ }
+ },
+ zones: {
+ serializedName: "zones",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "String"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const DedicatedHostAllocatableVM: msRest.CompositeMapper = {
+ serializedName: "DedicatedHostAllocatableVM",
+ type: {
+ name: "Composite",
+ className: "DedicatedHostAllocatableVM",
+ modelProperties: {
+ vmSize: {
+ serializedName: "vmSize",
+ type: {
+ name: "String"
+ }
+ },
+ count: {
+ serializedName: "count",
+ type: {
+ name: "Number"
+ }
+ }
+ }
+ }
+};
+
+export const DedicatedHostAvailableCapacity: msRest.CompositeMapper = {
+ serializedName: "DedicatedHostAvailableCapacity",
+ type: {
+ name: "Composite",
+ className: "DedicatedHostAvailableCapacity",
+ modelProperties: {
+ allocatableVMs: {
+ serializedName: "allocatableVMs",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "DedicatedHostAllocatableVM"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const DedicatedHostInstanceView: msRest.CompositeMapper = {
+ serializedName: "DedicatedHostInstanceView",
+ type: {
+ name: "Composite",
+ className: "DedicatedHostInstanceView",
+ modelProperties: {
+ assetId: {
+ readOnly: true,
+ serializedName: "assetId",
+ type: {
+ name: "String"
+ }
+ },
+ availableCapacity: {
+ serializedName: "availableCapacity",
+ type: {
+ name: "Composite",
+ className: "DedicatedHostAvailableCapacity"
+ }
+ },
+ statuses: {
+ serializedName: "statuses",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "InstanceViewStatus"
+ }
+ }
+ }
+ }
+ }
+ }
+};
+
+export const DedicatedHost: msRest.CompositeMapper = {
+ serializedName: "DedicatedHost",
+ type: {
+ name: "Composite",
+ className: "DedicatedHost",
+ modelProperties: {
+ ...Resource.type.modelProperties,
+ platformFaultDomain: {
+ serializedName: "properties.platformFaultDomain",
+ constraints: {
+ InclusiveMaximum: 2,
+ InclusiveMinimum: 0
+ },
+ type: {
+ name: "Number"
+ }
+ },
+ autoReplaceOnFailure: {
+ serializedName: "properties.autoReplaceOnFailure",
+ type: {
+ name: "Boolean"
+ }
+ },
+ hostId: {
+ readOnly: true,
+ serializedName: "properties.hostId",
+ type: {
+ name: "String"
+ }
+ },
+ virtualMachines: {
+ readOnly: true,
+ serializedName: "properties.virtualMachines",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "SubResourceReadOnly"
+ }
+ }
+ }
+ },
+ licenseType: {
+ serializedName: "properties.licenseType",
+ type: {
+ name: "Enum",
+ allowedValues: [
+ "None",
+ "Windows_Server_Hybrid",
+ "Windows_Server_Perpetual"
+ ]
+ }
+ },
+ provisioningTime: {
+ readOnly: true,
+ serializedName: "properties.provisioningTime",
+ type: {
+ name: "DateTime"
+ }
+ },
+ provisioningState: {
+ readOnly: true,
+ serializedName: "properties.provisioningState",
+ type: {
+ name: "String"
+ }
+ },
+ instanceView: {
+ readOnly: true,
+ serializedName: "properties.instanceView",
+ type: {
+ name: "Composite",
+ className: "DedicatedHostInstanceView"
+ }
+ },
+ sku: {
+ required: true,
+ serializedName: "sku",
+ type: {
+ name: "Composite",
+ className: "Sku"
+ }
+ }
+ }
+ }
+};
+
+export const DedicatedHostUpdate: msRest.CompositeMapper = {
+ serializedName: "DedicatedHostUpdate",
+ type: {
+ name: "Composite",
+ className: "DedicatedHostUpdate",
+ modelProperties: {
+ ...UpdateResource.type.modelProperties,
+ platformFaultDomain: {
+ serializedName: "properties.platformFaultDomain",
+ constraints: {
+ InclusiveMaximum: 2,
+ InclusiveMinimum: 0
+ },
+ type: {
+ name: "Number"
+ }
+ },
+ autoReplaceOnFailure: {
+ serializedName: "properties.autoReplaceOnFailure",
+ type: {
+ name: "Boolean"
+ }
+ },
+ hostId: {
+ readOnly: true,
+ serializedName: "properties.hostId",
+ type: {
+ name: "String"
+ }
+ },
+ virtualMachines: {
+ readOnly: true,
+ serializedName: "properties.virtualMachines",
+ type: {
+ name: "Sequence",
+ element: {
+ type: {
+ name: "Composite",
+ className: "SubResourceReadOnly"
+ }
+ }
+ }
+ },
+ licenseType: {
+ serializedName: "properties.licenseType",
+ type: {
+ name: "Enum",
+ allowedValues: [
+ "None",
+ "Windows_Server_Hybrid",
+ "Windows_Server_Perpetual"
+ ]
+ }
+ },
+ provisioningTime: {
+ readOnly: true,
+ serializedName: "properties.provisioningTime",
+ type: {
+ name: "DateTime"
+ }
+ },
+ provisioningState: {
+ readOnly: true,
+ serializedName: "properties.provisioningState",
+ type: {
+ name: "String"
+ }
+ },
+ instanceView: {
+ readOnly: true,
+ serializedName: "properties.instanceView",
+ type: {
+ name: "Composite",
+ className: "DedicatedHostInstanceView"
+ }
+ }
+ }
+ }
+};
+
export const VirtualMachineSize: msRest.CompositeMapper = {
serializedName: "VirtualMachineSize",
type: {
@@ -7052,6 +7476,13 @@ export const VirtualMachine: msRest.CompositeMapper = {
className: "SubResource"
}
},
+ virtualMachineScaleSet: {
+ serializedName: "properties.virtualMachineScaleSet",
+ type: {
+ name: "Composite",
+ className: "SubResource"
+ }
+ },
proximityPlacementGroup: {
serializedName: "properties.proximityPlacementGroup",
type: {
@@ -12479,35 +12910,7 @@ export const GalleryImageVersionPublishingProfile: msRest.CompositeMapper = {
name: "Composite",
className: "GalleryImageVersionPublishingProfile",
modelProperties: {
- targetRegions: {
- serializedName: "targetRegions",
- type: {
- name: "Sequence",
- element: {
- type: {
- name: "Composite",
- className: "TargetRegion"
- }
- }
- }
- }
- }
- }
-};
-
-export const GalleryArtifactVersionSource: msRest.CompositeMapper = {
- serializedName: "GalleryArtifactVersionSource",
- type: {
- name: "Composite",
- className: "GalleryArtifactVersionSource",
- modelProperties: {
- id: {
- required: true,
- serializedName: "id",
- type: {
- name: "String"
- }
- }
+ ...GalleryArtifactPublishingProfileBase.type.modelProperties
}
}
};
diff --git a/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts
index 45468164fc11..8a059db2008c 100644
--- a/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts
+++ b/sdk/compute/arm-compute/src/models/proximityPlacementGroupsMappers.ts
@@ -52,6 +52,9 @@ export {
EncryptionSettingsCollection,
EncryptionSettingsElement,
Gallery,
+ GalleryApplication,
+ GalleryApplicationVersion,
+ GalleryApplicationVersionPublishingProfile,
GalleryArtifactPublishingProfileBase,
GalleryArtifactVersionSource,
GalleryDataDiskImage,
@@ -114,6 +117,7 @@ export {
TerminateNotificationProfile,
UpdateResource,
UpgradePolicy,
+ UserArtifactSource,
VaultCertificate,
VaultSecretGroup,
VirtualHardDisk,