Skip to main content

machines

Creates, updates, deletes, gets or lists a machines resource.

Overview

Namemachines
TypeResource
Idazure.aks.machines

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource ID.
namestringThe name of the resource that is unique within a resource group. This name can be used to access the resource.
propertiesobjectThe properties of the machine
typestringResource type

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, resourceName, agentPoolName, machineName
listselectsubscriptionId, resourceGroupName, resourceName, agentPoolName

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.

NameDatatypeDescription
agentPoolNamestringThe name of the agent pool.
machineNamestringhost name of the machine
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
resourceNamestringThe name of the managed cluster resource.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

OK

SELECT
id,
name,
properties,
type
FROM azure.aks.machines
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND resourceName = '{{ resourceName }}' -- required
AND agentPoolName = '{{ agentPoolName }}' -- required
AND machineName = '{{ machineName }}' -- required
;