import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get policy. * * Uses Azure REST API version 2018-09-15. */ export declare function getPolicy(args: GetPolicyArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetPolicyArgs { /** * Specify the $expand query. Example: 'properties($select=description)' */ expand?: string; /** * labs */ labName: string; /** * The name of the Policy */ name: string; /** * policysets */ policySetName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * A Policy. */ export interface GetPolicyResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The creation date of the policy. */ readonly createdDate: string; /** * The description of the policy. */ readonly description?: string; /** * The evaluator type of the policy (i.e. AllowedValuesPolicy, MaxValuePolicy). */ readonly evaluatorType?: string; /** * The fact data of the policy. */ readonly factData?: string; /** * The fact name of the policy (e.g. LabVmCount, LabVmSize, MaxVmsAllowedPerLab, etc. */ readonly factName?: string; /** * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id: string; /** * The location of the resource. */ readonly location?: string; /** * The name of the resource */ readonly name: string; /** * The provisioning status of the resource. */ readonly provisioningState: string; /** * The status of the policy. */ readonly status?: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.devtestlab.SystemDataResponse; /** * The tags of the resource. */ readonly tags?: { [key: string]: string; }; /** * The threshold of the policy (i.e. a number for MaxValuePolicy, and a JSON array of values for AllowedValuesPolicy). */ readonly threshold?: string; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; /** * The unique immutable identifier of a resource (Guid). */ readonly uniqueIdentifier: string; } /** * Get policy. * * Uses Azure REST API version 2018-09-15. */ export declare function getPolicyOutput(args: GetPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface GetPolicyOutputArgs { /** * Specify the $expand query. Example: 'properties($select=description)' */ expand?: pulumi.Input; /** * labs */ labName: pulumi.Input; /** * The name of the Policy */ name: pulumi.Input; /** * policysets */ policySetName: pulumi.Input; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input; } //# sourceMappingURL=getPolicy.d.ts.map