UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

192 lines (191 loc) 6.91 kB
import * as pulumi from "@pulumi/pulumi"; import * as enums from "../types/enums"; /** * List service SAS credentials of a specific resource. * * Uses Azure REST API version 2024-01-01. * * Other available API versions: 2022-09-01, 2023-01-01, 2023-04-01, 2023-05-01, 2025-01-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native storage [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function listStorageAccountServiceSAS(args: ListStorageAccountServiceSASArgs, opts?: pulumi.InvokeOptions): Promise<ListStorageAccountServiceSASResult>; export interface ListStorageAccountServiceSASArgs { /** * The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. */ accountName: string; /** * The response header override for cache control. */ cacheControl?: string; /** * The canonical path to the signed resource. */ canonicalizedResource: string; /** * The response header override for content disposition. */ contentDisposition?: string; /** * The response header override for content encoding. */ contentEncoding?: string; /** * The response header override for content language. */ contentLanguage?: string; /** * The response header override for content type. */ contentType?: string; /** * An IP address or a range of IP addresses from which to accept requests. */ iPAddressOrRange?: string; /** * A unique value up to 64 characters in length that correlates to an access policy specified for the container, queue, or table. */ identifier?: string; /** * The key to sign the account SAS token with. */ keyToSign?: string; /** * The end of partition key. */ partitionKeyEnd?: string; /** * The start of partition key. */ partitionKeyStart?: string; /** * The signed permissions for the service SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). */ permissions?: string | enums.storage.Permissions; /** * The protocol permitted for a request made with the account SAS. */ protocols?: enums.storage.HttpProtocol; /** * The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s). */ resource?: string | enums.storage.SignedResource; /** * The name of the resource group within the user's subscription. The name is case insensitive. */ resourceGroupName: string; /** * The end of row key. */ rowKeyEnd?: string; /** * The start of row key. */ rowKeyStart?: string; /** * The time at which the shared access signature becomes invalid. */ sharedAccessExpiryTime?: string; /** * The time at which the SAS becomes valid. */ sharedAccessStartTime?: string; } /** * The List service SAS credentials operation response. */ export interface ListStorageAccountServiceSASResult { /** * List service SAS credentials of specific resource. */ readonly serviceSasToken: string; } /** * List service SAS credentials of a specific resource. * * Uses Azure REST API version 2024-01-01. * * Other available API versions: 2022-09-01, 2023-01-01, 2023-04-01, 2023-05-01, 2025-01-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native storage [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function listStorageAccountServiceSASOutput(args: ListStorageAccountServiceSASOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListStorageAccountServiceSASResult>; export interface ListStorageAccountServiceSASOutputArgs { /** * The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. */ accountName: pulumi.Input<string>; /** * The response header override for cache control. */ cacheControl?: pulumi.Input<string>; /** * The canonical path to the signed resource. */ canonicalizedResource: pulumi.Input<string>; /** * The response header override for content disposition. */ contentDisposition?: pulumi.Input<string>; /** * The response header override for content encoding. */ contentEncoding?: pulumi.Input<string>; /** * The response header override for content language. */ contentLanguage?: pulumi.Input<string>; /** * The response header override for content type. */ contentType?: pulumi.Input<string>; /** * An IP address or a range of IP addresses from which to accept requests. */ iPAddressOrRange?: pulumi.Input<string>; /** * A unique value up to 64 characters in length that correlates to an access policy specified for the container, queue, or table. */ identifier?: pulumi.Input<string>; /** * The key to sign the account SAS token with. */ keyToSign?: pulumi.Input<string>; /** * The end of partition key. */ partitionKeyEnd?: pulumi.Input<string>; /** * The start of partition key. */ partitionKeyStart?: pulumi.Input<string>; /** * The signed permissions for the service SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). */ permissions?: pulumi.Input<string | enums.storage.Permissions>; /** * The protocol permitted for a request made with the account SAS. */ protocols?: pulumi.Input<enums.storage.HttpProtocol>; /** * The signed services accessible with the service SAS. Possible values include: Blob (b), Container (c), File (f), Share (s). */ resource?: pulumi.Input<string | enums.storage.SignedResource>; /** * The name of the resource group within the user's subscription. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The end of row key. */ rowKeyEnd?: pulumi.Input<string>; /** * The start of row key. */ rowKeyStart?: pulumi.Input<string>; /** * The time at which the shared access signature becomes invalid. */ sharedAccessExpiryTime?: pulumi.Input<string>; /** * The time at which the SAS becomes valid. */ sharedAccessStartTime?: pulumi.Input<string>; }