infra_roles
Creates, updates, deletes, gets or lists a infra_roles
resource.
Overview
Name | infra_roles |
Type | Resource |
Id | azure_stack.fabric_admin.infra_roles |
Fields
- vw_infra_roles
- infra_roles
Name | Datatype | Description |
---|---|---|
id | text | URI of the resource. |
name | text | Name of the resource. |
display_name | text | field from the properties object |
infraRole | text | field from the properties object |
instances | text | field from the properties object |
location | text | The region where the resource is located. |
resourceGroupName | text | field from the properties object |
restartable | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | List of key-value pairs. |
type | text | Type of resource. |
Name | Datatype | Description |
---|---|---|
id | string | URI of the resource. |
name | string | Name of the resource. |
location | string | The region where the resource is located. |
properties | object | Infrastructure role properties. |
tags | object | List of key-value pairs. |
type | string | Type of resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | infraRole, location, resourceGroupName, subscriptionId | Returns the requested infrastructure role description. |
list | SELECT | location, resourceGroupName, subscriptionId | Returns a list of all infrastructure roles at a location. |
restart | EXEC | infraRole, location, resourceGroupName, subscriptionId | Restarts the requested infrastructure role. |
SELECT
examples
Returns a list of all infrastructure roles at a location.
- vw_infra_roles
- infra_roles
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 }}';
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure_stack.fabric_admin.infra_roles
WHERE location = '{{ location }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';