@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.51 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get a PureStoragePolicy
*
* Uses Azure REST API version 2024-09-01.
*/
export declare function getPureStoragePolicy(args: GetPureStoragePolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetPureStoragePolicyResult>;
export interface GetPureStoragePolicyArgs {
/**
* Name of the private cloud
*/
privateCloudName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* Name of the storage policy.
*/
storagePolicyName: string;
}
/**
* An instance describing a Pure Storage Policy Based Management policy
*/
export interface GetPureStoragePolicyResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*/
readonly id: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* The state of the Pure Storage Policy Based Management policy provisioning
*/
readonly provisioningState: string;
/**
* Definition of a Pure Storage Policy Based Management policy
*/
readonly storagePolicyDefinition: string;
/**
* Azure resource ID of the Pure Storage Pool associated with the storage policy
*/
readonly storagePoolId: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.avs.SystemDataResponse;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Get a PureStoragePolicy
*
* Uses Azure REST API version 2024-09-01.
*/
export declare function getPureStoragePolicyOutput(args: GetPureStoragePolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPureStoragePolicyResult>;
export interface GetPureStoragePolicyOutputArgs {
/**
* Name of the private cloud
*/
privateCloudName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Name of the storage policy.
*/
storagePolicyName: pulumi.Input<string>;
}