storage_services
Creates, updates, deletes, gets or lists a storage_services
resource.
Overview
Name | storage_services |
Type | Resource |
Id | azure_stack.storage_admin.storage_services |
Fields
- vw_storage_services
- storage_services
Name | Datatype | Description |
---|---|---|
id | text | Resource ID. |
name | text | Resource Name. |
location | text | Resource Location. |
resourceGroup | text | field from the properties object |
serviceName | text | field from the properties object |
service_name | text | field from the properties object |
subscriptionId | text | field from the properties object |
type | text | Resource Type. |
Name | Datatype | Description |
---|---|---|
id | string | Resource ID. |
name | string | Resource Name. |
location | string | Resource Location. |
properties | object | The properties for service name. |
type | string | Resource Type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroup, serviceName, subscriptionId | Returns the specified storage service. |
create | INSERT | resourceGroup, serviceName, subscriptionId | Create the specified storage resource. |
SELECT
examples
Returns the specified storage service.
- vw_storage_services
- storage_services
SELECT
id,
name,
location,
resourceGroup,
serviceName,
service_name,
subscriptionId,
type
FROM azure_stack.storage_admin.vw_storage_services
WHERE resourceGroup = '{{ resourceGroup }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
location,
properties,
type
FROM azure_stack.storage_admin.storage_services
WHERE resourceGroup = '{{ resourceGroup }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new storage_services
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_stack.storage_admin.storage_services (
resourceGroup,
serviceName,
subscriptionId
)
SELECT
'{{ resourceGroup }}',
'{{ serviceName }}',
'{{ subscriptionId }}'
;
- name: your_resource_model_name
props: []