Skip to main content

infra_roles

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

Overview

Nameinfra_roles
TypeResource
Idazure_stack.fabric_admin.infra_roles

Fields

NameDatatypeDescription
idtextURI of the resource.
nametextName of the resource.
display_nametextfield from the properties object
infraRoletextfield from the properties object
instancestextfield from the properties object
locationtextThe region where the resource is located.
resourceGroupNametextfield from the properties object
restartabletextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextList of key-value pairs.
typetextType of resource.

Methods

NameAccessible byRequired ParamsDescription
getSELECTinfraRole, location, resourceGroupName, subscriptionIdReturns the requested infrastructure role description.
listSELECTlocation, resourceGroupName, subscriptionIdReturns a list of all infrastructure roles at a location.
restartEXECinfraRole, location, resourceGroupName, subscriptionIdRestarts the requested infrastructure role.

SELECT examples

Returns a list of all infrastructure roles at a location.

SELECT
id,
name,
display_name,
infraRole,
instances,
location,
resourceGroupName,
restartable,
subscriptionId,
tags,
type
FROM azure_stack.fabric_admin.vw_infra_roles
WHERE location = '{{ location }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';