Skip to main content

service

Creates, updates, deletes, gets or lists a service resource.

Overview

Nameservice
TypeResource
Idazure.storage_file_share.service

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
SignedDelegatedUserTidstringThe delegated user tenant id in Azure AD. Return if DelegatedUserTid is specified.
SignedExpirystring (date-time)The date-time the key expires. Required.
SignedOidstringThe Azure Active Directory object ID in GUID format. Required.
SignedServicestringAbbreviation of the Azure Storage service that accepts the key. Required.
SignedStartstring (date-time)The date-time the key is active. Required.
SignedTidstringThe Azure Active Directory tenant ID in GUID format. Required.
SignedVersionstringThe service version that created the key. Required.
ValuestringThe key as a base64 string. Required.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_user_delegation_keyselectx-ms-version, accounttimeout, x-ms-client-request-idRetrieves 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.

NameDatatypeDescription
accountstringStorage account name. (default: )
x-ms-versionstring
timeoutintegerThe timeout parameter is expressed in seconds. For more information, see
x-ms-client-request-idstringProvides 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

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 }}'
;