Skip to main content

infra_role_instances

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

Overview

Nameinfra_role_instances
TypeResource
Idazure_stack.fabric_admin.infra_role_instances

Fields

NameDatatypeDescription
idtextURI of the resource.
nametextName of the resource.
infraRoleInstancetextfield from the properties object
locationtextThe region where the resource is located.
resourceGroupNametextfield from the properties object
scale_unittextfield from the properties object
scale_unit_nodetextfield from the properties object
sizetextfield from the properties object
statetextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextList of key-value pairs.
typetextType of resource.

Methods

NameAccessible byRequired ParamsDescription
getSELECTinfraRoleInstance, location, resourceGroupName, subscriptionIdReturn the requested infrastructure role instance.
listSELECTlocation, resourceGroupName, subscriptionIdReturns a list of all infrastructure role instances at a location.
power_offEXECinfraRoleInstance, location, resourceGroupName, subscriptionIdPower off an infrastructure role instance.
power_onEXECinfraRoleInstance, location, resourceGroupName, subscriptionIdPower on an infrastructure role instance.
rebootEXECinfraRoleInstance, location, resourceGroupName, subscriptionIdReboot an infrastructure role instance.
shutdownEXECinfraRoleInstance, location, resourceGroupName, subscriptionIdShut down an infrastructure role instance.

SELECT examples

Returns a list of all infrastructure role instances at a location.

SELECT
id,
name,
infraRoleInstance,
location,
resourceGroupName,
scale_unit,
scale_unit_node,
size,
state,
subscriptionId,
tags,
type
FROM azure_stack.fabric_admin.vw_infra_role_instances
WHERE location = '{{ location }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';