@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.49 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets the properties of the specified storage account credential.
*
* Uses Azure REST API version 2023-07-01.
*
* Other available API versions: 2022-03-01, 2022-04-01-preview, 2022-12-01-preview, 2023-01-01-preview, 2023-12-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native databoxedge [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getStorageAccountCredential(args: GetStorageAccountCredentialArgs, opts?: pulumi.InvokeOptions): Promise<GetStorageAccountCredentialResult>;
export interface GetStorageAccountCredentialArgs {
/**
* The device name.
*/
deviceName: string;
/**
* The storage account credential name.
*/
name: string;
/**
* The resource group name.
*/
resourceGroupName: string;
}
/**
* The storage account credential.
*/
export interface GetStorageAccountCredentialResult {
/**
* Encrypted storage key.
*/
readonly accountKey?: outputs.databoxedge.AsymmetricEncryptedSecretResponse;
/**
* Type of storage accessed on the storage account.
*/
readonly accountType: string;
/**
* Alias for the storage account.
*/
readonly alias: string;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Blob end point for private clouds.
*/
readonly blobDomainName?: string;
/**
* Connection string for the storage account. Use this string if username and account key are not specified.
*/
readonly connectionString?: string;
/**
* The path ID that uniquely identifies the object.
*/
readonly id: string;
/**
* The object name.
*/
readonly name: string;
/**
* Signifies whether SSL needs to be enabled or not.
*/
readonly sslStatus: string;
/**
* Id of the storage account.
*/
readonly storageAccountId?: string;
/**
* Metadata pertaining to creation and last modification of StorageAccountCredential
*/
readonly systemData: outputs.databoxedge.SystemDataResponse;
/**
* The hierarchical type of the object.
*/
readonly type: string;
/**
* Username for the storage account.
*/
readonly userName?: string;
}
/**
* Gets the properties of the specified storage account credential.
*
* Uses Azure REST API version 2023-07-01.
*
* Other available API versions: 2022-03-01, 2022-04-01-preview, 2022-12-01-preview, 2023-01-01-preview, 2023-12-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native databoxedge [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getStorageAccountCredentialOutput(args: GetStorageAccountCredentialOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetStorageAccountCredentialResult>;
export interface GetStorageAccountCredentialOutputArgs {
/**
* The device name.
*/
deviceName: pulumi.Input<string>;
/**
* The storage account credential name.
*/
name: pulumi.Input<string>;
/**
* The resource group name.
*/
resourceGroupName: pulumi.Input<string>;
}