Example #1
0
 /// <summary>
 /// Use this data source to obtain a Shared Access Signature (SAS Token) for an existing Storage Account Blob Container.
 ///
 /// Shared access signatures allow fine-grained, ephemeral access control to various aspects of an Azure Storage Account Blob Container.
 ///
 /// {{% examples %}}
 /// {{% /examples %}}
 /// </summary>
 public static Task <GetAccountBlobContainerSASResult> InvokeAsync(GetAccountBlobContainerSASArgs args, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <GetAccountBlobContainerSASResult>("azure:storage/getAccountBlobContainerSAS:getAccountBlobContainerSAS", args ?? new GetAccountBlobContainerSASArgs(), options.WithVersion());
Example #2
0
 public static async Task<string> GetAccountBlobContainerSAS(GetAccountBlobContainerSASArgs args)
 {
     var result = await Deployment.Instance.InvokeAsync<GetAccountBlobContainerSASResult>(
         "azure:storage/getAccountBlobContainerSAS:getAccountBlobContainerSAS", args).ConfigureAwait(false);
     return result.Sas.ToString();
 }