import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Elastic SAN Volume Group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.elasticsan.get({ * name: "existing", * resourceGroupName: "existing", * }); * const exampleGetVolumeGroup = example.then(example => azure.elasticsan.getVolumeGroup({ * name: "existing", * elasticSanId: example.id, * })); * export const id = exampleGetVolumeGroup.then(exampleGetVolumeGroup => exampleGetVolumeGroup.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.ElasticSan` - 2023-01-01 */ export declare function getVolumeGroup(args: GetVolumeGroupArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getVolumeGroup. */ export interface GetVolumeGroupArgs { /** * The Elastic SAN ID within which the Elastic SAN Volume Group exists. */ elasticSanId: string; /** * The name of the Elastic SAN Volume Group. */ name: string; } /** * A collection of values returned by getVolumeGroup. */ export interface GetVolumeGroupResult { readonly elasticSanId: string; /** * The type of the key used to encrypt the data of the disk. */ readonly encryptionType: string; /** * An `encryption` block as defined below. */ readonly encryptions: outputs.elasticsan.GetVolumeGroupEncryption[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * An `identity` block as defined below. */ readonly identities: outputs.elasticsan.GetVolumeGroupIdentity[]; readonly name: string; /** * One or more `networkRule` blocks as defined below. */ readonly networkRules: outputs.elasticsan.GetVolumeGroupNetworkRule[]; /** * The type of the storage target. */ readonly protocolType: string; } /** * Use this data source to access information about an existing Elastic SAN Volume Group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.elasticsan.get({ * name: "existing", * resourceGroupName: "existing", * }); * const exampleGetVolumeGroup = example.then(example => azure.elasticsan.getVolumeGroup({ * name: "existing", * elasticSanId: example.id, * })); * export const id = exampleGetVolumeGroup.then(exampleGetVolumeGroup => exampleGetVolumeGroup.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.ElasticSan` - 2023-01-01 */ export declare function getVolumeGroupOutput(args: GetVolumeGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getVolumeGroup. */ export interface GetVolumeGroupOutputArgs { /** * The Elastic SAN ID within which the Elastic SAN Volume Group exists. */ elasticSanId: pulumi.Input; /** * The name of the Elastic SAN Volume Group. */ name: pulumi.Input; }