informational_operations
Creates, updates, deletes, gets or lists an informational_operations resource.
Overview
| Name | informational_operations |
| Type | Resource |
| Id | azure.file_shares.informational_operations |
Fields
The following fields are returned by SELECT queries:
- get_provisioning_recommendation
- get_usage_data
| Name | Datatype | Description |
|---|---|---|
availableRedundancyOptions | array | Redundancy options for the share. Required. |
provisionedIOPerSec | integer | The recommended value of provisioned IO / sec of the share. Required. |
provisionedThroughputMiBPerSec | integer | The recommended value of provisioned throughput / sec of the share. Required. |
| Name | Datatype | Description |
|---|---|---|
liveShares | object | File share usage data for active file shares. Required. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_provisioning_recommendation | select | location, subscription_id | Get file shares provisioning parameters recommendation. | |
get_usage_data | select | location, subscription_id | Get file shares usage data. | |
get_limits | exec | location, subscription_id | Get file shares limits. |
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.
| Name | Datatype | Description |
|---|---|---|
location | string | The name of the Azure region. Required. |
subscription_id | string |
SELECT examples
- get_provisioning_recommendation
- get_usage_data
Get file shares provisioning parameters recommendation.
SELECT
availableRedundancyOptions,
provisionedIOPerSec,
provisionedThroughputMiBPerSec
FROM azure.file_shares.informational_operations
WHERE location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Get file shares usage data.
SELECT
liveShares
FROM azure.file_shares.informational_operations
WHERE location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Lifecycle Methods
- get_limits
Get file shares limits.
EXEC azure.file_shares.informational_operations.get_limits
@location='{{ location }}' --required,
@subscription_id='{{ subscription_id }}' --required
;