StorageFunctions

Functions

Link copied to clipboard

Use this data source to access information about an existing Storage Account.

suspend fun getAccount(argument: suspend GetAccountPlainArgsBuilder.() -> Unit): GetAccountResult
suspend fun getAccount(minTlsVersion: String? = null, name: String, resourceGroupName: String? = null): GetAccountResult
Link copied to clipboard

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.

suspend fun getAccountBlobContainerSAS(cacheControl: String? = null, connectionString: String, containerName: String, contentDisposition: String? = null, contentEncoding: String? = null, contentLanguage: String? = null, contentType: String? = null, expiry: String, httpsOnly: Boolean? = null, ipAddress: String? = null, permissions: GetAccountBlobContainerSASPermissions, start: String): GetAccountBlobContainerSASResult
Link copied to clipboard

Use this data source to obtain a Shared Access Signature (SAS Token) for an existing Storage Account. Shared access signatures allow fine-grained, ephemeral access control to various aspects of an Azure Storage Account. Note that this is an Account SAS and not a Service SAS.

suspend fun getAccountSAS(connectionString: String, expiry: String, httpsOnly: Boolean? = null, ipAddresses: String? = null, permissions: GetAccountSASPermissions, resourceTypes: GetAccountSASResourceTypes, services: GetAccountSASServices, signedVersion: String? = null, start: String): GetAccountSASResult
Link copied to clipboard
suspend fun getBlob(argument: GetBlobPlainArgs): GetBlobResult

Use this data source to access information about an existing Storage Blob.

suspend fun getBlob(argument: suspend GetBlobPlainArgsBuilder.() -> Unit): GetBlobResult
suspend fun getBlob(metadata: Map<String, String>? = null, name: String, storageAccountName: String, storageContainerName: String): GetBlobResult
Link copied to clipboard

Use this data source to access information about the existing Storage Containers within a Storage Account.

suspend fun getContainers(namePrefix: String? = null, storageAccountId: String): GetContainersResult
Link copied to clipboard

Use this data source to access information about an existing Storage Encryption Scope.

suspend fun getEncryptionScope(name: String, storageAccountId: String): GetEncryptionScopeResult
Link copied to clipboard

Use this data source to access information about an existing Storage Management Policy.

suspend fun getPolicy(storageAccountId: String): GetPolicyResult
suspend fun getPolicy(argument: suspend GetPolicyPlainArgsBuilder.() -> Unit): GetPolicyResult
Link copied to clipboard
suspend fun getQueue(argument: GetQueuePlainArgs): GetQueueResult

Use this data source to access information about an existing Storage Queue.

suspend fun getQueue(argument: suspend GetQueuePlainArgsBuilder.() -> Unit): GetQueueResult
suspend fun getQueue(metadata: Map<String, String>? = null, name: String, storageAccountName: String): GetQueueResult
Link copied to clipboard
suspend fun getShare(argument: GetSharePlainArgs): GetShareResult

Use this data source to access information about an existing File Share.

suspend fun getShare(argument: suspend GetSharePlainArgsBuilder.() -> Unit): GetShareResult
suspend fun getShare(acls: List<GetShareAcl>? = null, metadata: Map<String, String>? = null, name: String, storageAccountId: String? = null, storageAccountName: String? = null): GetShareResult
Link copied to clipboard

Use this data source to access information about an existing Storage Container.

suspend fun getStorageContainer(metadata: Map<String, String>? = null, name: String, storageAccountId: String? = null, storageAccountName: String? = null): GetStorageContainerResult
Link copied to clipboard
suspend fun getSync(argument: GetSyncPlainArgs): GetSyncResult

Use this data source to access information about an existing Storage Sync.

suspend fun getSync(argument: suspend GetSyncPlainArgsBuilder.() -> Unit): GetSyncResult
suspend fun getSync(name: String, resourceGroupName: String): GetSyncResult
Link copied to clipboard

Use this data source to access information about an existing Storage Sync Group.

suspend fun getSyncGroup(name: String, storageSyncId: String): GetSyncGroupResult
Link copied to clipboard
suspend fun getTable(argument: GetTablePlainArgs): GetTableResult

Use this data source to access information about an existing Storage Table.

suspend fun getTable(argument: suspend GetTablePlainArgsBuilder.() -> Unit): GetTableResult
suspend fun getTable(name: String, storageAccountName: String): GetTableResult
Link copied to clipboard

Use this data source to access information about an existing Storage Table Entity.

suspend fun getTableEntities(filter: String, selects: List<String>? = null, storageTableId: String): GetTableEntitiesResult
Link copied to clipboard

Use this data source to access information about an existing Storage Table Entity.

suspend fun getTableEntity(partitionKey: String, rowKey: String, storageTableId: String): GetTableEntityResult