service
Creates, updates, deletes, gets or lists a service resource.
Overview
| Name | service |
| Type | Resource |
| Id | azure.storage_file_share.service |
Fields
The following fields are returned by SELECT queries:
- get_user_delegation_key
| Name | Datatype | Description |
|---|---|---|
SignedDelegatedUserTid | string | The delegated user tenant id in Azure AD. Return if DelegatedUserTid is specified. |
SignedExpiry | string (date-time) | The date-time the key expires. Required. |
SignedOid | string | The Azure Active Directory object ID in GUID format. Required. |
SignedService | string | Abbreviation of the Azure Storage service that accepts the key. Required. |
SignedStart | string (date-time) | The date-time the key is active. Required. |
SignedTid | string | The Azure Active Directory tenant ID in GUID format. Required. |
SignedVersion | string | The service version that created the key. Required. |
Value | string | The key as a base64 string. Required. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_user_delegation_key | select | x-ms-version, account | timeout, x-ms-client-request-id | Retrieves a user delegation key for the File service. This is only a valid operation when using bearer token authentication. |
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 |
|---|---|---|
account | string | Storage account name. (default: ) |
x-ms-version | string | |
timeout | integer | The timeout parameter is expressed in seconds. For more information, see |
x-ms-client-request-id | string | Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. Default value is None. |
SELECT examples
- get_user_delegation_key
Retrieves a user delegation key for the File service. This is only a valid operation when using bearer token authentication.
SELECT
SignedDelegatedUserTid,
SignedExpiry,
SignedOid,
SignedService,
SignedStart,
SignedTid,
SignedVersion,
Value
FROM azure.storage_file_share.service
WHERE x-ms-version = '{{ x-ms-version }}' -- required
AND account = '{{ account }}' -- required
AND timeout = '{{ timeout }}'
AND x-ms-client-request-id = '{{ x-ms-client-request-id }}'
;