Skip to main content

azure_large_instances

Creates, updates, deletes, gets or lists an azure_large_instances resource.

Overview

Nameazure_large_instances
TypeResource
Idazure.large_instances.azure_large_instances

Fields

The following fields are returned by SELECT queries:

Azure operation completed successfully.

NameDatatypeDescription
locationstringThe geo-location where the resource lives
propertiesobjectThe resource-specific properties for this resource.
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, azureLargeInstanceNameGets an Azure Large Instance for the specified subscription, resource group,
and instance name.
list_by_resource_groupselectsubscriptionId, resourceGroupNameGets a list of Azure Large Instances in the specified subscription and resource
group. The operations returns various properties of each Azure Large Instance.
list_by_subscriptionselectsubscriptionIdGets a list of Azure Large Instances in the specified subscription. The
operations returns various properties of each Azure Large Instance.
updateupdatesubscriptionId, resourceGroupName, azureLargeInstanceNamePatches the Tags field of an Azure Large Instance for the specified
subscription, resource group, and instance name.
restartexecsubscriptionId, resourceGroupName, azureLargeInstanceNameThe operation to restart an Azure Large Instance (only for compute instances)
shutdownexecsubscriptionId, resourceGroupName, azureLargeInstanceNameThe operation to shutdown an Azure Large Instance (only for compute instances)
startexecsubscriptionId, resourceGroupName, azureLargeInstanceNameThe operation to start an Azure Large Instance (only for compute instances)

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
azureLargeInstanceNamestringName of the AzureLargeInstance.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Gets an Azure Large Instance for the specified subscription, resource group,
and instance name.

SELECT
location,
properties,
tags
FROM azure.large_instances.azure_large_instances
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND azureLargeInstanceName = '{{ azureLargeInstanceName }}' -- required
;

UPDATE examples

Patches the Tags field of an Azure Large Instance for the specified
subscription, resource group, and instance name.

UPDATE azure.large_instances.azure_large_instances
SET
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND azureLargeInstanceName = '{{ azureLargeInstanceName }}' --required
RETURNING
location,
properties,
tags;

Lifecycle Methods

The operation to restart an Azure Large Instance (only for compute instances)

EXEC azure.large_instances.azure_large_instances.restart 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@azureLargeInstanceName='{{ azureLargeInstanceName }}' --required
@@json=
'{
"forceState": "{{ forceState }}"
}'
;