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

96 lines (95 loc) 3.2 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Represents a Storage Account on the Data Box Edge/Gateway device. * * 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 getStorageAccount(args: GetStorageAccountArgs, opts?: pulumi.InvokeOptions): Promise<GetStorageAccountResult>; export interface GetStorageAccountArgs { /** * The device name. */ deviceName: string; /** * The resource group name. */ resourceGroupName: string; /** * The storage account name. */ storageAccountName: string; } /** * Represents a Storage Account on the Data Box Edge/Gateway device. */ export interface GetStorageAccountResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * BlobEndpoint of Storage Account */ readonly blobEndpoint: string; /** * The Container Count. Present only for Storage Accounts with DataPolicy set to Cloud. */ readonly containerCount: number; /** * Data policy of the storage Account. */ readonly dataPolicy: string; /** * Description for the storage Account. */ readonly description?: string; /** * The path ID that uniquely identifies the object. */ readonly id: string; /** * The object name. */ readonly name: string; /** * Storage Account Credential Id */ readonly storageAccountCredentialId?: string; /** * Current status of the storage account */ readonly storageAccountStatus?: string; /** * Metadata pertaining to creation and last modification of StorageAccount */ readonly systemData: outputs.databoxedge.SystemDataResponse; /** * The hierarchical type of the object. */ readonly type: string; } /** * Represents a Storage Account on the Data Box Edge/Gateway device. * * 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 getStorageAccountOutput(args: GetStorageAccountOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetStorageAccountResult>; export interface GetStorageAccountOutputArgs { /** * The device name. */ deviceName: pulumi.Input<string>; /** * The resource group name. */ resourceGroupName: pulumi.Input<string>; /** * The storage account name. */ storageAccountName: pulumi.Input<string>; }