@azure/arm-compute
Version:
A generated SDK for ComputeManagementClient.
1,796 lines (1,795 loc) • 627 kB
JavaScript
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
export const OperationListResult = {
type: {
name: "Composite",
className: "OperationListResult",
modelProperties: {
value: {
serializedName: "value",
readOnly: true,
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "Operation",
},
},
},
},
nextLink: {
serializedName: "nextLink",
readOnly: true,
type: {
name: "String",
},
},
},
},
};
export const Operation = {
type: {
name: "Composite",
className: "Operation",
modelProperties: {
name: {
serializedName: "name",
readOnly: true,
type: {
name: "String",
},
},
isDataAction: {
serializedName: "isDataAction",
readOnly: true,
type: {
name: "Boolean",
},
},
display: {
serializedName: "display",
type: {
name: "Composite",
className: "OperationDisplay",
},
},
origin: {
serializedName: "origin",
readOnly: true,
type: {
name: "String",
},
},
actionType: {
serializedName: "actionType",
readOnly: true,
type: {
name: "String",
},
},
},
},
};
export const OperationDisplay = {
type: {
name: "Composite",
className: "OperationDisplay",
modelProperties: {
provider: {
serializedName: "provider",
readOnly: true,
type: {
name: "String",
},
},
resource: {
serializedName: "resource",
readOnly: true,
type: {
name: "String",
},
},
operation: {
serializedName: "operation",
readOnly: true,
type: {
name: "String",
},
},
description: {
serializedName: "description",
readOnly: true,
type: {
name: "String",
},
},
},
},
};
export const CloudError = {
type: {
name: "Composite",
className: "CloudError",
modelProperties: {
error: {
serializedName: "error",
type: {
name: "Composite",
className: "ApiError",
},
},
},
},
};
export const ApiError = {
type: {
name: "Composite",
className: "ApiError",
modelProperties: {
details: {
serializedName: "details",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "ApiErrorBase",
},
},
},
},
innererror: {
serializedName: "innererror",
type: {
name: "Composite",
className: "InnerError",
},
},
code: {
serializedName: "code",
type: {
name: "String",
},
},
target: {
serializedName: "target",
type: {
name: "String",
},
},
message: {
serializedName: "message",
type: {
name: "String",
},
},
},
},
};
export const ApiErrorBase = {
type: {
name: "Composite",
className: "ApiErrorBase",
modelProperties: {
code: {
serializedName: "code",
type: {
name: "String",
},
},
target: {
serializedName: "target",
type: {
name: "String",
},
},
message: {
serializedName: "message",
type: {
name: "String",
},
},
},
},
};
export const InnerError = {
type: {
name: "Composite",
className: "InnerError",
modelProperties: {
exceptiontype: {
serializedName: "exceptiontype",
type: {
name: "String",
},
},
errordetail: {
serializedName: "errordetail",
type: {
name: "String",
},
},
},
},
};
export const AvailabilitySetListResult = {
type: {
name: "Composite",
className: "AvailabilitySetListResult",
modelProperties: {
value: {
serializedName: "value",
required: true,
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "AvailabilitySet",
},
},
},
},
nextLink: {
serializedName: "nextLink",
type: {
name: "String",
},
},
},
},
};
export const SubResource = {
type: {
name: "Composite",
className: "SubResource",
modelProperties: {
id: {
serializedName: "id",
type: {
name: "String",
},
},
},
},
};
export const InstanceViewStatus = {
type: {
name: "Composite",
className: "InstanceViewStatus",
modelProperties: {
code: {
serializedName: "code",
type: {
name: "String",
},
},
level: {
serializedName: "level",
type: {
name: "Enum",
allowedValues: ["Info", "Warning", "Error"],
},
},
displayStatus: {
serializedName: "displayStatus",
type: {
name: "String",
},
},
message: {
serializedName: "message",
type: {
name: "String",
},
},
time: {
serializedName: "time",
type: {
name: "DateTime",
},
},
},
},
};
export const ScheduledEventsPolicy = {
type: {
name: "Composite",
className: "ScheduledEventsPolicy",
modelProperties: {
userInitiatedRedeploy: {
serializedName: "userInitiatedRedeploy",
type: {
name: "Composite",
className: "UserInitiatedRedeploy",
},
},
userInitiatedReboot: {
serializedName: "userInitiatedReboot",
type: {
name: "Composite",
className: "UserInitiatedReboot",
},
},
scheduledEventsAdditionalPublishingTargets: {
serializedName: "scheduledEventsAdditionalPublishingTargets",
type: {
name: "Composite",
className: "ScheduledEventsAdditionalPublishingTargets",
},
},
allInstancesDown: {
serializedName: "allInstancesDown",
type: {
name: "Composite",
className: "AllInstancesDown",
},
},
},
},
};
export const UserInitiatedRedeploy = {
type: {
name: "Composite",
className: "UserInitiatedRedeploy",
modelProperties: {
automaticallyApprove: {
serializedName: "automaticallyApprove",
type: {
name: "Boolean",
},
},
},
},
};
export const UserInitiatedReboot = {
type: {
name: "Composite",
className: "UserInitiatedReboot",
modelProperties: {
automaticallyApprove: {
serializedName: "automaticallyApprove",
type: {
name: "Boolean",
},
},
},
},
};
export const ScheduledEventsAdditionalPublishingTargets = {
type: {
name: "Composite",
className: "ScheduledEventsAdditionalPublishingTargets",
modelProperties: {
eventGridAndResourceGraph: {
serializedName: "eventGridAndResourceGraph",
type: {
name: "Composite",
className: "EventGridAndResourceGraph",
},
},
},
},
};
export const EventGridAndResourceGraph = {
type: {
name: "Composite",
className: "EventGridAndResourceGraph",
modelProperties: {
enable: {
serializedName: "enable",
type: {
name: "Boolean",
},
},
scheduledEventsApiVersion: {
serializedName: "scheduledEventsApiVersion",
type: {
name: "String",
},
},
},
},
};
export const AllInstancesDown = {
type: {
name: "Composite",
className: "AllInstancesDown",
modelProperties: {
automaticallyApprove: {
serializedName: "automaticallyApprove",
type: {
name: "Boolean",
},
},
},
},
};
export const VirtualMachineScaleSetMigrationInfo = {
type: {
name: "Composite",
className: "VirtualMachineScaleSetMigrationInfo",
modelProperties: {
defaultVirtualMachineScaleSetInfo: {
serializedName: "defaultVirtualMachineScaleSetInfo",
type: {
name: "Composite",
className: "DefaultVirtualMachineScaleSetInfo",
},
},
migrateToVirtualMachineScaleSet: {
serializedName: "migrateToVirtualMachineScaleSet",
type: {
name: "Composite",
className: "SubResource",
},
},
},
},
};
export const DefaultVirtualMachineScaleSetInfo = {
type: {
name: "Composite",
className: "DefaultVirtualMachineScaleSetInfo",
modelProperties: {
constrainedMaximumCapacity: {
serializedName: "constrainedMaximumCapacity",
readOnly: true,
type: {
name: "Boolean",
},
},
defaultVirtualMachineScaleSet: {
serializedName: "defaultVirtualMachineScaleSet",
type: {
name: "Composite",
className: "SubResource",
},
},
},
},
};
export const Sku = {
type: {
name: "Composite",
className: "Sku",
modelProperties: {
name: {
serializedName: "name",
type: {
name: "String",
},
},
tier: {
serializedName: "tier",
type: {
name: "String",
},
},
capacity: {
serializedName: "capacity",
type: {
name: "Number",
},
},
},
},
};
export const Resource = {
type: {
name: "Composite",
className: "Resource",
modelProperties: {
id: {
serializedName: "id",
readOnly: true,
type: {
name: "String",
},
},
name: {
serializedName: "name",
readOnly: true,
type: {
name: "String",
},
},
type: {
serializedName: "type",
readOnly: true,
type: {
name: "String",
},
},
systemData: {
serializedName: "systemData",
type: {
name: "Composite",
className: "SystemData",
},
},
},
},
};
export const SystemData = {
type: {
name: "Composite",
className: "SystemData",
modelProperties: {
createdBy: {
serializedName: "createdBy",
type: {
name: "String",
},
},
createdByType: {
serializedName: "createdByType",
type: {
name: "String",
},
},
createdAt: {
serializedName: "createdAt",
type: {
name: "DateTime",
},
},
lastModifiedBy: {
serializedName: "lastModifiedBy",
type: {
name: "String",
},
},
lastModifiedByType: {
serializedName: "lastModifiedByType",
type: {
name: "String",
},
},
lastModifiedAt: {
serializedName: "lastModifiedAt",
type: {
name: "DateTime",
},
},
},
},
};
export const CapacityReservationGroupListResult = {
type: {
name: "Composite",
className: "CapacityReservationGroupListResult",
modelProperties: {
value: {
serializedName: "value",
required: true,
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "CapacityReservationGroup",
},
},
},
},
nextLink: {
serializedName: "nextLink",
type: {
name: "String",
},
},
},
},
};
export const SubResourceReadOnly = {
type: {
name: "Composite",
className: "SubResourceReadOnly",
modelProperties: {
id: {
serializedName: "id",
readOnly: true,
type: {
name: "String",
},
},
},
},
};
export const CapacityReservationGroupInstanceView = {
type: {
name: "Composite",
className: "CapacityReservationGroupInstanceView",
modelProperties: {
capacityReservations: {
serializedName: "capacityReservations",
readOnly: true,
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "CapacityReservationInstanceViewWithName",
},
},
},
},
sharedSubscriptionIds: {
serializedName: "sharedSubscriptionIds",
readOnly: true,
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "SubResourceReadOnly",
},
},
},
},
},
},
};
export const CapacityReservationInstanceView = {
type: {
name: "Composite",
className: "CapacityReservationInstanceView",
modelProperties: {
utilizationInfo: {
serializedName: "utilizationInfo",
type: {
name: "Composite",
className: "CapacityReservationUtilization",
},
},
statuses: {
serializedName: "statuses",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "InstanceViewStatus",
},
},
},
},
},
},
};
export const CapacityReservationUtilization = {
type: {
name: "Composite",
className: "CapacityReservationUtilization",
modelProperties: {
currentCapacity: {
serializedName: "currentCapacity",
readOnly: true,
type: {
name: "Number",
},
},
virtualMachinesAllocated: {
serializedName: "virtualMachinesAllocated",
readOnly: true,
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "SubResourceReadOnly",
},
},
},
},
},
},
};
export const ResourceSharingProfile = {
type: {
name: "Composite",
className: "ResourceSharingProfile",
modelProperties: {
subscriptionIds: {
serializedName: "subscriptionIds",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "SubResource",
},
},
},
},
},
},
};
export const DedicatedHostGroupListResult = {
type: {
name: "Composite",
className: "DedicatedHostGroupListResult",
modelProperties: {
value: {
serializedName: "value",
required: true,
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "DedicatedHostGroup",
},
},
},
},
nextLink: {
serializedName: "nextLink",
type: {
name: "String",
},
},
},
},
};
export const DedicatedHostGroupInstanceView = {
type: {
name: "Composite",
className: "DedicatedHostGroupInstanceView",
modelProperties: {
hosts: {
serializedName: "hosts",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "DedicatedHostInstanceViewWithName",
},
},
},
},
},
},
};
export const DedicatedHostInstanceView = {
type: {
name: "Composite",
className: "DedicatedHostInstanceView",
modelProperties: {
assetId: {
serializedName: "assetId",
readOnly: true,
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 DedicatedHostAvailableCapacity = {
type: {
name: "Composite",
className: "DedicatedHostAvailableCapacity",
modelProperties: {
allocatableVMs: {
serializedName: "allocatableVMs",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "DedicatedHostAllocatableVM",
},
},
},
},
},
},
};
export const DedicatedHostAllocatableVM = {
type: {
name: "Composite",
className: "DedicatedHostAllocatableVM",
modelProperties: {
vmSize: {
serializedName: "vmSize",
type: {
name: "String",
},
},
count: {
serializedName: "count",
type: {
name: "Number",
},
},
},
},
};
export const DedicatedHostGroupPropertiesAdditionalCapabilities = {
type: {
name: "Composite",
className: "DedicatedHostGroupPropertiesAdditionalCapabilities",
modelProperties: {
ultraSSDEnabled: {
serializedName: "ultraSSDEnabled",
type: {
name: "Boolean",
},
},
},
},
};
export const ImageListResult = {
type: {
name: "Composite",
className: "ImageListResult",
modelProperties: {
value: {
serializedName: "value",
required: true,
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "Image",
},
},
},
},
nextLink: {
serializedName: "nextLink",
type: {
name: "String",
},
},
},
},
};
export const ImageStorageProfile = {
type: {
name: "Composite",
className: "ImageStorageProfile",
modelProperties: {
osDisk: {
serializedName: "osDisk",
type: {
name: "Composite",
className: "ImageOSDisk",
},
},
dataDisks: {
serializedName: "dataDisks",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "ImageDataDisk",
},
},
},
},
zoneResilient: {
serializedName: "zoneResilient",
type: {
name: "Boolean",
},
},
},
},
};
export const ImageDisk = {
type: {
name: "Composite",
className: "ImageDisk",
modelProperties: {
snapshot: {
serializedName: "snapshot",
type: {
name: "Composite",
className: "SubResource",
},
},
managedDisk: {
serializedName: "managedDisk",
type: {
name: "Composite",
className: "SubResource",
},
},
blobUri: {
serializedName: "blobUri",
type: {
name: "String",
},
},
caching: {
serializedName: "caching",
type: {
name: "Enum",
allowedValues: ["None", "ReadOnly", "ReadWrite"],
},
},
diskSizeGB: {
serializedName: "diskSizeGB",
type: {
name: "Number",
},
},
storageAccountType: {
serializedName: "storageAccountType",
type: {
name: "String",
},
},
diskEncryptionSet: {
serializedName: "diskEncryptionSet",
type: {
name: "Composite",
className: "DiskEncryptionSetParameters",
},
},
},
},
};
export const ExtendedLocation = {
type: {
name: "Composite",
className: "ExtendedLocation",
modelProperties: {
name: {
serializedName: "name",
type: {
name: "String",
},
},
type: {
serializedName: "type",
type: {
name: "String",
},
},
},
},
};
export const PurchasePlan = {
type: {
name: "Composite",
className: "PurchasePlan",
modelProperties: {
publisher: {
serializedName: "publisher",
required: true,
type: {
name: "String",
},
},
name: {
serializedName: "name",
required: true,
type: {
name: "String",
},
},
product: {
serializedName: "product",
required: true,
type: {
name: "String",
},
},
},
},
};
export const OSDiskImage = {
type: {
name: "Composite",
className: "OSDiskImage",
modelProperties: {
operatingSystem: {
serializedName: "operatingSystem",
required: true,
type: {
name: "Enum",
allowedValues: ["Windows", "Linux"],
},
},
},
},
};
export const DataDiskImage = {
type: {
name: "Composite",
className: "DataDiskImage",
modelProperties: {
lun: {
serializedName: "lun",
readOnly: true,
type: {
name: "Number",
},
},
},
},
};
export const AutomaticOSUpgradeProperties = {
type: {
name: "Composite",
className: "AutomaticOSUpgradeProperties",
modelProperties: {
automaticOSUpgradeSupported: {
serializedName: "automaticOSUpgradeSupported",
required: true,
type: {
name: "Boolean",
},
},
},
},
};
export const DisallowedConfiguration = {
type: {
name: "Composite",
className: "DisallowedConfiguration",
modelProperties: {
vmDiskType: {
serializedName: "vmDiskType",
type: {
name: "String",
},
},
},
},
};
export const VirtualMachineImageFeature = {
type: {
name: "Composite",
className: "VirtualMachineImageFeature",
modelProperties: {
name: {
serializedName: "name",
type: {
name: "String",
},
},
value: {
serializedName: "value",
type: {
name: "String",
},
},
},
},
};
export const ImageDeprecationStatus = {
type: {
name: "Composite",
className: "ImageDeprecationStatus",
modelProperties: {
imageState: {
serializedName: "imageState",
type: {
name: "String",
},
},
scheduledDeprecationTime: {
serializedName: "scheduledDeprecationTime",
type: {
name: "DateTime",
},
},
alternativeOption: {
serializedName: "alternativeOption",
type: {
name: "Composite",
className: "AlternativeOption",
},
},
},
},
};
export const AlternativeOption = {
type: {
name: "Composite",
className: "AlternativeOption",
modelProperties: {
type: {
serializedName: "type",
type: {
name: "String",
},
},
value: {
serializedName: "value",
type: {
name: "String",
},
},
},
},
};
export const VmImagesInEdgeZoneListResult = {
type: {
name: "Composite",
className: "VmImagesInEdgeZoneListResult",
modelProperties: {
value: {
serializedName: "value",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "VirtualMachineImageResource",
},
},
},
},
nextLink: {
serializedName: "nextLink",
type: {
name: "String",
},
},
},
},
};
export const LogAnalyticsInputBase = {
type: {
name: "Composite",
className: "LogAnalyticsInputBase",
modelProperties: {
blobContainerSasUri: {
serializedName: "blobContainerSasUri",
required: true,
type: {
name: "String",
},
},
fromTime: {
serializedName: "fromTime",
required: true,
type: {
name: "DateTime",
},
},
toTime: {
serializedName: "toTime",
required: true,
type: {
name: "DateTime",
},
},
groupByThrottlePolicy: {
serializedName: "groupByThrottlePolicy",
type: {
name: "Boolean",
},
},
groupByOperationName: {
serializedName: "groupByOperationName",
type: {
name: "Boolean",
},
},
groupByResourceName: {
serializedName: "groupByResourceName",
type: {
name: "Boolean",
},
},
groupByClientApplicationId: {
serializedName: "groupByClientApplicationId",
type: {
name: "Boolean",
},
},
groupByUserAgent: {
serializedName: "groupByUserAgent",
type: {
name: "Boolean",
},
},
},
},
};
export const LogAnalyticsOperationResult = {
type: {
name: "Composite",
className: "LogAnalyticsOperationResult",
modelProperties: {
properties: {
serializedName: "properties",
type: {
name: "Composite",
className: "LogAnalyticsOutput",
},
},
},
},
};
export const LogAnalyticsOutput = {
type: {
name: "Composite",
className: "LogAnalyticsOutput",
modelProperties: {
output: {
serializedName: "output",
readOnly: true,
type: {
name: "String",
},
},
},
},
};
export const RunCommandListResult = {
type: {
name: "Composite",
className: "RunCommandListResult",
modelProperties: {
value: {
serializedName: "value",
required: true,
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "RunCommandDocumentBase",
},
},
},
},
nextLink: {
serializedName: "nextLink",
type: {
name: "String",
},
},
},
},
};
export const RunCommandDocumentBase = {
type: {
name: "Composite",
className: "RunCommandDocumentBase",
modelProperties: {
schema: {
serializedName: "$schema",
required: true,
type: {
name: "String",
},
},
id: {
serializedName: "id",
required: true,
type: {
name: "String",
},
},
osType: {
serializedName: "osType",
required: true,
type: {
name: "Enum",
allowedValues: ["Windows", "Linux"],
},
},
label: {
serializedName: "label",
required: true,
type: {
name: "String",
},
},
description: {
serializedName: "description",
required: true,
type: {
name: "String",
},
},
},
},
};
export const RunCommandParameterDefinition = {
type: {
name: "Composite",
className: "RunCommandParameterDefinition",
modelProperties: {
name: {
serializedName: "name",
required: true,
type: {
name: "String",
},
},
type: {
serializedName: "type",
required: true,
type: {
name: "String",
},
},
defaultValue: {
serializedName: "defaultValue",
type: {
name: "String",
},
},
required: {
serializedName: "required",
type: {
name: "Boolean",
},
},
},
},
};
export const ListUsagesResult = {
type: {
name: "Composite",
className: "ListUsagesResult",
modelProperties: {
value: {
serializedName: "value",
required: true,
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "Usage",
},
},
},
},
nextLink: {
serializedName: "nextLink",
type: {
name: "String",
},
},
},
},
};
export const Usage = {
type: {
name: "Composite",
className: "Usage",
modelProperties: {
unit: {
defaultValue: "Count",
isConstant: true,
serializedName: "unit",
type: {
name: "String",
},
},
currentValue: {
serializedName: "currentValue",
required: true,
type: {
name: "Number",
},
},
limit: {
serializedName: "limit",
required: true,
type: {
name: "Number",
},
},
name: {
serializedName: "name",
type: {
name: "Composite",
className: "UsageName",
},
},
},
},
};
export const UsageName = {
type: {
name: "Composite",
className: "UsageName",
modelProperties: {
value: {
serializedName: "value",
type: {
name: "String",
},
},
localizedValue: {
serializedName: "localizedValue",
type: {
name: "String",
},
},
},
},
};
export const VirtualMachineScaleSetListResult = {
type: {
name: "Composite",
className: "VirtualMachineScaleSetListResult",
modelProperties: {
value: {
serializedName: "value",
required: true,
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "VirtualMachineScaleSet",
},
},
},
},
nextLink: {
serializedName: "nextLink",
type: {
name: "String",
},
},
},
},
};
export const Plan = {
type: {
name: "Composite",
className: "Plan",
modelProperties: {
name: {
serializedName: "name",
type: {
name: "String",
},
},
publisher: {
serializedName: "publisher",
type: {
name: "String",
},
},
product: {
serializedName: "product",
type: {
name: "String",
},
},
promotionCode: {
serializedName: "promotionCode",
type: {
name: "String",
},
},
},
},
};
export const UpgradePolicy = {
type: {
name: "Composite",
className: "UpgradePolicy",
modelProperties: {
mode: {
serializedName: "mode",
type: {
name: "Enum",
allowedValues: ["Automatic", "Manual", "Rolling"],
},
},
rollingUpgradePolicy: {
serializedName: "rollingUpgradePolicy",
type: {
name: "Composite",
className: "RollingUpgradePolicy",
},
},
automaticOSUpgradePolicy: {
serializedName: "automaticOSUpgradePolicy",
type: {
name: "Composite",
className: "AutomaticOSUpgradePolicy",
},
},
},
},
};
export const RollingUpgradePolicy = {
type: {
name: "Composite",
className: "RollingUpgradePolicy",
modelProperties: {
maxBatchInstancePercent: {
constraints: {
InclusiveMaximum: 100,
InclusiveMinimum: 5,
},
serializedName: "maxBatchInstancePercent",
type: {
name: "Number",
},
},
maxUnhealthyInstancePercent: {
constraints: {
InclusiveMaximum: 100,
InclusiveMinimum: 5,
},
serializedName: "maxUnhealthyInstancePercent",
type: {
name: "Number",
},
},
maxUnhealthyUpgradedInstancePercent: {
constraints: {
InclusiveMaximum: 100,
},
serializedName: "maxUnhealthyUpgradedInstancePercent",
type: {
name: "Number",
},
},
pauseTimeBetweenBatches: {
serializedName: "pauseTimeBetweenBatches",
type: {
name: "String",
},
},
enableCrossZoneUpgrade: {
serializedName: "enableCrossZoneUpgrade",
type: {
name: "Boolean",
},
},
prioritizeUnhealthyInstances: {
serializedName: "prioritizeUnhealthyInstances",
type: {
name: "Boolean",
},
},
rollbackFailedInstancesOnPolicyBreach: {
serializedName: "rollbackFailedInstancesOnPolicyBreach",
type: {
name: "Boolean",
},
},
maxSurge: {
serializedName: "maxSurge",
type: {
name: "Boolean",
},
},
},
},
};
export const AutomaticOSUpgradePolicy = {
type: {
name: "Composite",
className: "AutomaticOSUpgradePolicy",
modelProperties: {
enableAutomaticOSUpgrade: {
serializedName: "enableAutomaticOSUpgrade",
type: {
name: "Boolean",
},
},
disableAutomaticRollback: {
serializedName: "disableAutomaticRollback",
type: {
name: "Boolean",
},
},
useRollingUpgradePolicy: {
serializedName: "useRollingUpgradePolicy",
type: {
name: "Boolean",
},
},
osRollingUpgradeDeferral: {
serializedName: "osRollingUpgradeDeferral",
type: {
name: "Boolean",
},
},
},
},
};
export const AutomaticRepairsPolicy = {
type: {
name: "Composite",
className: "AutomaticRepairsPolicy",
modelProperties: {
enabled: {
serializedName: "enabled",
type: {
name: "Boolean",
},
},
gracePeriod: {
serializedName: "gracePeriod",
type: {
name: "String",
},
},
repairAction: {
serializedName: "repairAction",
type: {
name: "String",
},
},
},
},
};
export const VirtualMachineScaleSetVMProfile = {
type: {
name: "Composite",
className: "VirtualMachineScaleSetVMProfile",
modelProperties: {
osProfile: {
serializedName: "osProfile",
type: {
name: "Composite",
className: "VirtualMachineScaleSetOSProfile",
},
},
storageProfile: {
serializedName: "storageProfile",
type: {
name: "Composite",
className: "VirtualMachineScaleSetStorageProfile",
},
},
networkProfile: {
serializedName: "networkProfile",
type: {
name: "Composite",
className: "VirtualMachineScaleSetNetworkProfile",
},
},
securityProfile: {
serializedName: "securityProfile",
type: {
name: "Composite",
className: "SecurityProfile",
},
},
diagnosticsProfile: {
serializedName: "diagnosticsProfile",
type: {
name: "Composite",
className: "DiagnosticsProfile",
},
},
extensionProfile: {
serializedName: "extensionProfile",
type: {
name: "Composite",
className: "VirtualMachineScaleSetExtensionProfile",
},
},
licenseType: {
serializedName: "licenseType",
type: {
name: "String",
},
},
priority: {
serializedName: "priority",
type: {
name: "String",
},
},
evictionPolicy: {
serializedName: "evictionPolicy",
type: {
name: "String",
},
},
billingProfile: {
serializedName: "billingProfile",
type: {
name: "Composite",
className: "BillingProfile",
},
},
scheduledEventsProfile: {
serializedName: "scheduledEventsProfile",
type: {
name: "Composite",
className: "ScheduledEventsProfile",
},
},
userData: {
serializedName: "userData",
type: {
name: "String",
},
},
capacityReservation: {
serializedName: "capacityReservation",
type: {
name: "Composite",
className: "CapacityReservationProfile",
},
},
applicationProfile: {
serializedName: "applicationProfile",
type: {
name: "Composite",
className: "ApplicationProfile",
},
},
hardwareProfile: {
serializedName: "hardwareProfile",
type: {
name: "Composite",
className: "VirtualMachineScaleSetHardwareProfile",
},
},
serviceArtifactReference: {
serializedName: "serviceArtifactReference",
type: {
name: "Composite",
className: "ServiceArtifactReference",
},
},
securityPostureReference: {
serializedName: "securityPostureReference",
type: {
name: "Composite",
className: "SecurityPostureReference",
},
},
timeCreated: {
serializedName: "timeCreated",
readOnly: true,
type: {
name: "DateTime",
},
},
},
},
};
export const VirtualMachineScaleSetOSProfile = {
type: {
name: "Composite",
className: "VirtualMachineScaleSetOSProfile",
modelProperties: {
computerNamePrefix: {
serializedName: "computerNamePrefix",
type: {
name: "String",
},
},
adminUsername: {
serializedName: "adminUsername",
type: {