fleets
Creates, updates, deletes, gets or lists a fleets resource.
Overview
| Name | fleets |
| Type | Resource |
| Id | azure.compute_fleet.fleets |
Fields
The following fields are returned by SELECT queries:
- get
- list_virtual_machine_scale_sets
- list_by_resource_group
- list_by_subscription
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
additionalLocationsProfile | object | Represents the configuration for additional locations where Fleet resources may be deployed. |
capacityType | string | Specifies capacity type for Fleet Regular and Spot priority profiles. capacityType is an immutable property. Once set during Fleet creation, it cannot be updated. Specifying different capacity type for Fleet Regular and Spot priority profiles is not allowed. Known values are: "VM" and "VCpu". (VM, VCpu) |
computeProfile | object | Compute Profile to use for running user's workloads. Required. |
identity | object | The managed service identities assigned to this resource. |
location | string | The geo-location where the resource lives. Required. |
mode | string | Mode of the Fleet. Known values are: "Managed" and "Launch". (Managed, Launch) |
plan | object | Details of the resource plan. |
provisioningState | string | The status of the last operation. Known values are: "Succeeded", "Failed", "Canceled", "Creating", "Updating", "Deleting", and "Migrating". (Succeeded, Failed, Canceled, Creating, Updating, Deleting, Migrating) |
regularPriorityProfile | object | Configuration Options for Regular instances in Compute Fleet. |
spotPriorityProfile | object | Configuration Options for Spot instances in Compute Fleet. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Resource tags. |
timeCreated | string (date-time) | Specifies the time at which the Compute Fleet is created. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
uniqueId | string | Specifies the ID which uniquely identifies a Compute Fleet. |
vmAttributes | object | Attribute based Fleet. |
vmNamePrefix | string | VirtualMachine prefix to be used for the virtual machines launched by Fleet. Can be used only with Launch mode. |
vmSizesProfile | array | List of VM sizes supported for Compute Fleet. Required. |
zoneAllocationPolicy | object | Zone Allocation Policy for Fleet. |
zones | array | Zones in which the Compute Fleet is available. |
| Name | Datatype | Description |
|---|---|---|
id | string | The compute RP resource id of the virtualMachineScaleSet "subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}". Required. |
name | string | The name of the virtualMachineScaleSet. Required. |
error | object | Error Information when operationStatus is Failed. |
operationStatus | string | This represents the operationStatus of the VMSS in response to the last operation that was performed on it by Azure Fleet resource. Required. Known values are: "Succeeded", "Failed", "Canceled", "Creating", "Updating", "Deleting", and "Migrating". (Succeeded, Failed, Canceled, Creating, Updating, Deleting, Migrating) |
type | string | Type of the virtualMachineScaleSet. |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
additionalLocationsProfile | object | Represents the configuration for additional locations where Fleet resources may be deployed. |
capacityType | string | Specifies capacity type for Fleet Regular and Spot priority profiles. capacityType is an immutable property. Once set during Fleet creation, it cannot be updated. Specifying different capacity type for Fleet Regular and Spot priority profiles is not allowed. Known values are: "VM" and "VCpu". (VM, VCpu) |
computeProfile | object | Compute Profile to use for running user's workloads. Required. |
identity | object | The managed service identities assigned to this resource. |
location | string | The geo-location where the resource lives. Required. |
mode | string | Mode of the Fleet. Known values are: "Managed" and "Launch". (Managed, Launch) |
plan | object | Details of the resource plan. |
provisioningState | string | The status of the last operation. Known values are: "Succeeded", "Failed", "Canceled", "Creating", "Updating", "Deleting", and "Migrating". (Succeeded, Failed, Canceled, Creating, Updating, Deleting, Migrating) |
regularPriorityProfile | object | Configuration Options for Regular instances in Compute Fleet. |
spotPriorityProfile | object | Configuration Options for Spot instances in Compute Fleet. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Resource tags. |
timeCreated | string (date-time) | Specifies the time at which the Compute Fleet is created. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
uniqueId | string | Specifies the ID which uniquely identifies a Compute Fleet. |
vmAttributes | object | Attribute based Fleet. |
vmNamePrefix | string | VirtualMachine prefix to be used for the virtual machines launched by Fleet. Can be used only with Launch mode. |
vmSizesProfile | array | List of VM sizes supported for Compute Fleet. Required. |
zoneAllocationPolicy | object | Zone Allocation Policy for Fleet. |
zones | array | Zones in which the Compute Fleet is available. |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
additionalLocationsProfile | object | Represents the configuration for additional locations where Fleet resources may be deployed. |
capacityType | string | Specifies capacity type for Fleet Regular and Spot priority profiles. capacityType is an immutable property. Once set during Fleet creation, it cannot be updated. Specifying different capacity type for Fleet Regular and Spot priority profiles is not allowed. Known values are: "VM" and "VCpu". (VM, VCpu) |
computeProfile | object | Compute Profile to use for running user's workloads. Required. |
identity | object | The managed service identities assigned to this resource. |
location | string | The geo-location where the resource lives. Required. |
mode | string | Mode of the Fleet. Known values are: "Managed" and "Launch". (Managed, Launch) |
plan | object | Details of the resource plan. |
provisioningState | string | The status of the last operation. Known values are: "Succeeded", "Failed", "Canceled", "Creating", "Updating", "Deleting", and "Migrating". (Succeeded, Failed, Canceled, Creating, Updating, Deleting, Migrating) |
regularPriorityProfile | object | Configuration Options for Regular instances in Compute Fleet. |
spotPriorityProfile | object | Configuration Options for Spot instances in Compute Fleet. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Resource tags. |
timeCreated | string (date-time) | Specifies the time at which the Compute Fleet is created. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
uniqueId | string | Specifies the ID which uniquely identifies a Compute Fleet. |
vmAttributes | object | Attribute based Fleet. |
vmNamePrefix | string | VirtualMachine prefix to be used for the virtual machines launched by Fleet. Can be used only with Launch mode. |
vmSizesProfile | array | List of VM sizes supported for Compute Fleet. Required. |
zoneAllocationPolicy | object | Zone Allocation Policy for Fleet. |
zones | array | Zones in which the Compute Fleet is available. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resource_group_name, fleet_name, subscription_id | Get a Fleet. | |
list_virtual_machine_scale_sets | select | resource_group_name, name, subscription_id | List VirtualMachineScaleSet resources by Fleet. | |
list_by_resource_group | select | resource_group_name, subscription_id | List Fleet resources by resource group. | |
list_by_subscription | select | subscription_id | List Fleet resources by subscription ID. | |
create_or_update | insert | resource_group_name, fleet_name, subscription_id, location | Create a Fleet. | |
update | update | resource_group_name, fleet_name, subscription_id | Update a Fleet. | |
create_or_update | replace | resource_group_name, fleet_name, subscription_id, location | Create a Fleet. | |
delete | delete | resource_group_name, fleet_name, subscription_id | Delete a Fleet. | |
list_virtual_machines | exec | resource_group_name, name, subscription_id | $filter, $skiptoken | List VirtualMachine resources of a Launch mode Fleet. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
fleet_name | string | The name of the Compute Fleet. Required. |
name | string | The name of the Fleet. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string | |
$filter | string | Filter expression to filter the virtual machines. Default value is None. |
$skiptoken | string | Skip token for pagination. Uses the token from a previous response to fetch the next page of results. Default value is None. |
SELECT examples
- get
- list_virtual_machine_scale_sets
- list_by_resource_group
- list_by_subscription
Get a Fleet.
SELECT
id,
name,
additionalLocationsProfile,
capacityType,
computeProfile,
identity,
location,
mode,
plan,
provisioningState,
regularPriorityProfile,
spotPriorityProfile,
systemData,
tags,
timeCreated,
type,
uniqueId,
vmAttributes,
vmNamePrefix,
vmSizesProfile,
zoneAllocationPolicy,
zones
FROM azure.compute_fleet.fleets
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND fleet_name = '{{ fleet_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
List VirtualMachineScaleSet resources by Fleet.
SELECT
id,
name,
error,
operationStatus,
type
FROM azure.compute_fleet.fleets
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND name = '{{ name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
List Fleet resources by resource group.
SELECT
id,
name,
additionalLocationsProfile,
capacityType,
computeProfile,
identity,
location,
mode,
plan,
provisioningState,
regularPriorityProfile,
spotPriorityProfile,
systemData,
tags,
timeCreated,
type,
uniqueId,
vmAttributes,
vmNamePrefix,
vmSizesProfile,
zoneAllocationPolicy,
zones
FROM azure.compute_fleet.fleets
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
List Fleet resources by subscription ID.
SELECT
id,
name,
additionalLocationsProfile,
capacityType,
computeProfile,
identity,
location,
mode,
plan,
provisioningState,
regularPriorityProfile,
spotPriorityProfile,
systemData,
tags,
timeCreated,
type,
uniqueId,
vmAttributes,
vmNamePrefix,
vmSizesProfile,
zoneAllocationPolicy,
zones
FROM azure.compute_fleet.fleets
WHERE subscription_id = '{{ subscription_id }}' -- required
;
INSERT examples
- create_or_update
- Manifest
Create a Fleet.
INSERT INTO azure.compute_fleet.fleets (
tags,
location,
properties,
zones,
identity,
plan,
resource_group_name,
fleet_name,
subscription_id
)
SELECT
'{{ tags }}',
'{{ location }}' /* required */,
'{{ properties }}',
'{{ zones }}',
'{{ identity }}',
'{{ plan }}',
'{{ resource_group_name }}',
'{{ fleet_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
identity,
location,
plan,
properties,
systemData,
tags,
type,
zones
;
# Description fields are for documentation purposes
- name: fleets
props:
- name: resource_group_name
value: "{{ resource_group_name }}"
description: Required parameter for the fleets resource.
- name: fleet_name
value: "{{ fleet_name }}"
description: Required parameter for the fleets resource.
- name: subscription_id
value: "{{ subscription_id }}"
description: Required parameter for the fleets resource.
- name: tags
value: "{{ tags }}"
description: |
Resource tags.
- name: location
value: "{{ location }}"
description: |
The geo-location where the resource lives. Required.
- name: properties
description: |
The resource-specific properties for this resource.
value:
provisioningState: "{{ provisioningState }}"
spotPriorityProfile:
capacity: {{ capacity }}
minCapacity: {{ minCapacity }}
maxPricePerVM: {{ maxPricePerVM }}
evictionPolicy: "{{ evictionPolicy }}"
allocationStrategy: "{{ allocationStrategy }}"
maintain: {{ maintain }}
regularPriorityProfile:
capacity: {{ capacity }}
minCapacity: {{ minCapacity }}
allocationStrategy: "{{ allocationStrategy }}"
vmSizesProfile:
- name: "{{ name }}"
rank: {{ rank }}
vmAttributes:
vCpuCount:
min: {{ min }}
max: {{ max }}
memoryInGiB:
min: {{ min }}
max: {{ max }}
memoryInGiBPerVCpu:
min: {{ min }}
max: {{ max }}
localStorageSupport: "{{ localStorageSupport }}"
localStorageInGiB:
min: {{ min }}
max: {{ max }}
localStorageDiskTypes:
- "{{ localStorageDiskTypes }}"
dataDiskCount:
min: {{ min }}
max: {{ max }}
networkInterfaceCount:
min: {{ min }}
max: {{ max }}
networkBandwidthInMbps:
min: {{ min }}
max: {{ max }}
rdmaSupport: "{{ rdmaSupport }}"
rdmaNetworkInterfaceCount:
min: {{ min }}
max: {{ max }}
acceleratorSupport: "{{ acceleratorSupport }}"
acceleratorManufacturers:
- "{{ acceleratorManufacturers }}"
acceleratorTypes:
- "{{ acceleratorTypes }}"
acceleratorCount:
min: {{ min }}
max: {{ max }}
vmCategories:
- "{{ vmCategories }}"
architectureTypes:
- "{{ architectureTypes }}"
cpuManufacturers:
- "{{ cpuManufacturers }}"
burstableSupport: "{{ burstableSupport }}"
excludedVMSizes:
- "{{ excludedVMSizes }}"
additionalLocationsProfile:
locationProfiles:
- location: "{{ location }}"
virtualMachineProfileOverride:
osProfile:
computerNamePrefix: "{{ computerNamePrefix }}"
adminUsername: "{{ adminUsername }}"
adminPassword: "{{ adminPassword }}"
customData: "{{ customData }}"
windowsConfiguration: "{{ windowsConfiguration }}"
linuxConfiguration: "{{ linuxConfiguration }}"
secrets: "{{ secrets }}"
allowExtensionOperations: {{ allowExtensionOperations }}
requireGuestProvisionSignal: {{ requireGuestProvisionSignal }}
storageProfile:
imageReference: "{{ imageReference }}"
osDisk: "{{ osDisk }}"
dataDisks: "{{ dataDisks }}"
diskControllerType: "{{ diskControllerType }}"
networkProfile:
healthProbe: "{{ healthProbe }}"
networkInterfaceConfigurations: "{{ networkInterfaceConfigurations }}"
networkApiVersion: "{{ networkApiVersion }}"
securityProfile:
uefiSettings: "{{ uefiSettings }}"
encryptionAtHost: {{ encryptionAtHost }}
securityType: "{{ securityType }}"
encryptionIdentity: "{{ encryptionIdentity }}"
proxyAgentSettings: "{{ proxyAgentSettings }}"
diagnosticsProfile:
bootDiagnostics: "{{ bootDiagnostics }}"
extensionProfile:
extensions: "{{ extensions }}"
extensionsTimeBudget: "{{ extensionsTimeBudget }}"
licenseType: "{{ licenseType }}"
scheduledEventsProfile:
terminateNotificationProfile: "{{ terminateNotificationProfile }}"
osImageNotificationProfile: "{{ osImageNotificationProfile }}"
userData: "{{ userData }}"
capacityReservation:
capacityReservationGroup: "{{ capacityReservationGroup }}"
applicationProfile:
galleryApplications: "{{ galleryApplications }}"
hardwareProfile:
vmSizeProperties: "{{ vmSizeProperties }}"
serviceArtifactReference:
id: "{{ id }}"
securityPostureReference:
id: "{{ id }}"
excludeExtensions: "{{ excludeExtensions }}"
isOverridable: {{ isOverridable }}
timeCreated: "{{ timeCreated }}"
computeProfile:
baseVirtualMachineProfile:
osProfile:
computerNamePrefix: "{{ computerNamePrefix }}"
adminUsername: "{{ adminUsername }}"
adminPassword: "{{ adminPassword }}"
customData: "{{ customData }}"
windowsConfiguration:
provisionVMAgent: {{ provisionVMAgent }}
enableAutomaticUpdates: {{ enableAutomaticUpdates }}
timeZone: "{{ timeZone }}"
additionalUnattendContent: "{{ additionalUnattendContent }}"
patchSettings: "{{ patchSettings }}"
winRM: "{{ winRM }}"
enableVMAgentPlatformUpdates: {{ enableVMAgentPlatformUpdates }}
linuxConfiguration:
disablePasswordAuthentication: {{ disablePasswordAuthentication }}
ssh: "{{ ssh }}"
provisionVMAgent: {{ provisionVMAgent }}
patchSettings: "{{ patchSettings }}"
enableVMAgentPlatformUpdates: {{ enableVMAgentPlatformUpdates }}
secrets:
- sourceVault:
id: "{{ id }}"
vaultCertificates: "{{ vaultCertificates }}"
allowExtensionOperations: {{ allowExtensionOperations }}
requireGuestProvisionSignal: {{ requireGuestProvisionSignal }}
storageProfile:
imageReference:
id: "{{ id }}"
publisher: "{{ publisher }}"
offer: "{{ offer }}"
sku: "{{ sku }}"
version: "{{ version }}"
exactVersion: "{{ exactVersion }}"
sharedGalleryImageId: "{{ sharedGalleryImageId }}"
communityGalleryImageId: "{{ communityGalleryImageId }}"
osDisk:
name: "{{ name }}"
caching: "{{ caching }}"
writeAcceleratorEnabled: {{ writeAcceleratorEnabled }}
createOption: "{{ createOption }}"
diffDiskSettings: "{{ diffDiskSettings }}"
diskSizeGB: {{ diskSizeGB }}
osType: "{{ osType }}"
image: "{{ image }}"
vhdContainers: "{{ vhdContainers }}"
managedDisk: "{{ managedDisk }}"
deleteOption: "{{ deleteOption }}"
dataDisks:
- name: "{{ name }}"
lun: {{ lun }}
caching: "{{ caching }}"
writeAcceleratorEnabled: {{ writeAcceleratorEnabled }}
createOption: "{{ createOption }}"
diskSizeGB: {{ diskSizeGB }}
managedDisk:
storageAccountType: "{{ storageAccountType }}"
diskEncryptionSet: "{{ diskEncryptionSet }}"
securityProfile: "{{ securityProfile }}"
diskIOPSReadWrite: {{ diskIOPSReadWrite }}
diskMBpsReadWrite: {{ diskMBpsReadWrite }}
deleteOption: "{{ deleteOption }}"
diskControllerType: "{{ diskControllerType }}"
networkProfile:
healthProbe:
id: "{{ id }}"
networkInterfaceConfigurations:
- name: "{{ name }}"
properties:
primary: {{ primary }}
enableAcceleratedNetworking: {{ enableAcceleratedNetworking }}
disableTcpStateTracking: {{ disableTcpStateTracking }}
enableFpga: {{ enableFpga }}
networkSecurityGroup: "{{ networkSecurityGroup }}"
dnsSettings: "{{ dnsSettings }}"
ipConfigurations: "{{ ipConfigurations }}"
enableIPForwarding: {{ enableIPForwarding }}
deleteOption: "{{ deleteOption }}"
auxiliaryMode: "{{ auxiliaryMode }}"
auxiliarySku: "{{ auxiliarySku }}"
networkApiVersion: "{{ networkApiVersion }}"
securityProfile:
uefiSettings:
secureBootEnabled: {{ secureBootEnabled }}
vTpmEnabled: {{ vTpmEnabled }}
encryptionAtHost: {{ encryptionAtHost }}
securityType: "{{ securityType }}"
encryptionIdentity:
userAssignedIdentityResourceId: "{{ userAssignedIdentityResourceId }}"
proxyAgentSettings:
enabled: {{ enabled }}
mode: "{{ mode }}"
keyIncarnationId: {{ keyIncarnationId }}
diagnosticsProfile:
bootDiagnostics:
enabled: {{ enabled }}
storageUri: "{{ storageUri }}"
extensionProfile:
extensions:
- id: "{{ id }}"
name: "{{ name }}"
type: "{{ type }}"
properties:
forceUpdateTag: "{{ forceUpdateTag }}"
publisher: "{{ publisher }}"
type: "{{ type }}"
typeHandlerVersion: "{{ typeHandlerVersion }}"
autoUpgradeMinorVersion: {{ autoUpgradeMinorVersion }}
enableAutomaticUpgrade: {{ enableAutomaticUpgrade }}
settings: "{{ settings }}"
protectedSettings: "{{ protectedSettings }}"
provisioningState: "{{ provisioningState }}"
provisionAfterExtensions: "{{ provisionAfterExtensions }}"
suppressFailures: {{ suppressFailures }}
protectedSettingsFromKeyVault: "{{ protectedSettingsFromKeyVault }}"
extensionsTimeBudget: "{{ extensionsTimeBudget }}"
licenseType: "{{ licenseType }}"
scheduledEventsProfile:
terminateNotificationProfile:
notBeforeTimeout: "{{ notBeforeTimeout }}"
enable: {{ enable }}
osImageNotificationProfile:
notBeforeTimeout: "{{ notBeforeTimeout }}"
enable: {{ enable }}
userData: "{{ userData }}"
capacityReservation:
capacityReservationGroup:
id: "{{ id }}"
applicationProfile:
galleryApplications:
- tags: "{{ tags }}"
order: {{ order }}
packageReferenceId: "{{ packageReferenceId }}"
configurationReference: "{{ configurationReference }}"
treatFailureAsDeploymentFailure: {{ treatFailureAsDeploymentFailure }}
enableAutomaticUpgrade: {{ enableAutomaticUpgrade }}
hardwareProfile:
vmSizeProperties:
vCPUsAvailable: {{ vCPUsAvailable }}
vCPUsPerCore: {{ vCPUsPerCore }}
serviceArtifactReference:
id: "{{ id }}"
securityPostureReference:
id: "{{ id }}"
excludeExtensions:
- "{{ excludeExtensions }}"
isOverridable: {{ isOverridable }}
timeCreated: "{{ timeCreated }}"
computeApiVersion: "{{ computeApiVersion }}"
platformFaultDomainCount: {{ platformFaultDomainCount }}
additionalVirtualMachineCapabilities:
ultraSSDEnabled: {{ ultraSSDEnabled }}
hibernationEnabled: {{ hibernationEnabled }}
timeCreated: "{{ timeCreated }}"
uniqueId: "{{ uniqueId }}"
mode: "{{ mode }}"
vmNamePrefix: "{{ vmNamePrefix }}"
capacityType: "{{ capacityType }}"
zoneAllocationPolicy:
distributionStrategy: "{{ distributionStrategy }}"
zonePreferences:
- zone: "{{ zone }}"
rank: {{ rank }}
- name: zones
value:
- "{{ zones }}"
description: |
Zones in which the Compute Fleet is available.
- name: identity
description: |
The managed service identities assigned to this resource.
value:
principalId: "{{ principalId }}"
tenantId: "{{ tenantId }}"
type: "{{ type }}"
userAssignedIdentities: "{{ userAssignedIdentities }}"
- name: plan
description: |
Details of the resource plan.
value:
name: "{{ name }}"
publisher: "{{ publisher }}"
product: "{{ product }}"
promotionCode: "{{ promotionCode }}"
version: "{{ version }}"
UPDATE examples
- update
Update a Fleet.
UPDATE azure.compute_fleet.fleets
SET
tags = '{{ tags }}',
identity = '{{ identity }}',
plan = '{{ plan }}',
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND fleet_name = '{{ fleet_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
identity,
location,
plan,
properties,
systemData,
tags,
type,
zones;
REPLACE examples
- create_or_update
Create a Fleet.
REPLACE azure.compute_fleet.fleets
SET
tags = '{{ tags }}',
location = '{{ location }}',
properties = '{{ properties }}',
zones = '{{ zones }}',
identity = '{{ identity }}',
plan = '{{ plan }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND fleet_name = '{{ fleet_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
AND location = '{{ location }}' --required
RETURNING
id,
name,
identity,
location,
plan,
properties,
systemData,
tags,
type,
zones;
DELETE examples
- delete
Delete a Fleet.
DELETE FROM azure.compute_fleet.fleets
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND fleet_name = '{{ fleet_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;
Lifecycle Methods
- list_virtual_machines
List VirtualMachine resources of a Launch mode Fleet.
EXEC azure.compute_fleet.fleets.list_virtual_machines
@resource_group_name='{{ resource_group_name }}' --required,
@name='{{ name }}' --required,
@subscription_id='{{ subscription_id }}' --required,
@$filter='{{ $filter }}',
@$skiptoken='{{ $skiptoken }}'
;