volume_initiators
Creates, updates, deletes, gets or lists a volume_initiators resource.
Overview
| Name | volume_initiators |
| Type | Resource |
| Id | aws.storagegateway.volume_initiators |
Fields
The following fields are returned by SELECT queries:
- list_volume_initiators
| Name | Datatype | Description |
|---|---|---|
initiator | string | The host names and port numbers of all iSCSI initiators that are connected to the gateway. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_volume_initiators | select | region | Lists iSCSI initiators that are connected to a volume. You can use this operation to determine whether a volume is being used or not. This operation is only supported in the cached volume and stored volume gateway types. |
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 |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_volume_initiators
Lists iSCSI initiators that are connected to a volume. You can use this operation to determine whether a volume is being used or not. This operation is only supported in the cached volume and stored volume gateway types.
SELECT
initiator
FROM aws.storagegateway.volume_initiators
WHERE region = '{{ region }}' -- required
;