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

98 lines (97 loc) 3.02 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get a Pool * * Uses Azure REST API version 2023-07-01-preview. */ export declare function getPool(args: GetPoolArgs, opts?: pulumi.InvokeOptions): Promise<GetPoolResult>; export interface GetPoolArgs { /** * Pool Object */ poolName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * Pool resource */ export interface GetPoolResult { /** * List of resources that should have access to the pool. Typically ARM references to AKS clusters or ACI Container Groups. For local and standard this must be a single reference. For ElasticSAN there can be many. */ readonly assignments?: outputs.containerstorage.AssignmentResponse[]; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id: string; /** * The geo-location where the resource lives */ readonly location: string; /** * The name of the resource */ readonly name: string; /** * Type of the Pool: ephemeralDisk, azureDisk, or elasticsan. */ readonly poolType: outputs.containerstorage.PoolTypeResponse; /** * The status of the last operation. */ readonly provisioningState: string; /** * ReclaimPolicy defines what happens to the backend storage when StoragePool is deleted */ readonly reclaimPolicy?: string; /** * Resources represent the resources the pool should have. */ readonly resources?: outputs.containerstorage.ResourcesResponse; /** * The operational status of the resource */ readonly status: outputs.containerstorage.ResourceOperationalStatusResponse; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.containerstorage.SystemDataResponse; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; /** * List of availability zones that resources can be created in. */ readonly zones?: string[]; } /** * Get a Pool * * Uses Azure REST API version 2023-07-01-preview. */ export declare function getPoolOutput(args: GetPoolOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPoolResult>; export interface GetPoolOutputArgs { /** * Pool Object */ poolName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }