import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets the details of the policy. * * Uses Azure REST API version 2021-02-16-preview. * * Other available API versions: 2024-09-01, 2026-05-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native datareplication [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getPolicy(args: GetPolicyArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetPolicyArgs { /** * The policy name. */ policyName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The vault name. */ vaultName: string; } /** * Policy model. */ export interface GetPolicyResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Gets or sets the Id of the resource. */ readonly id: string; /** * Gets or sets the name of the resource. */ readonly name: string; /** * Policy model properties. */ readonly properties: outputs.datareplication.PolicyModelPropertiesResponse; readonly systemData: outputs.datareplication.PolicyModelResponseSystemData; /** * Gets or sets the type of the resource. */ readonly type: string; } /** * Gets the details of the policy. * * Uses Azure REST API version 2021-02-16-preview. * * Other available API versions: 2024-09-01, 2026-05-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native datareplication [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getPolicyOutput(args: GetPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface GetPolicyOutputArgs { /** * The policy name. */ policyName: pulumi.Input; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input; /** * The vault name. */ vaultName: pulumi.Input; } //# sourceMappingURL=getPolicy.d.ts.map