@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.01 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get information about an EnterprisePolicy
*
* Uses Azure REST API version 2020-10-30-preview.
*/
export declare function getEnterprisePolicy(args: GetEnterprisePolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetEnterprisePolicyResult>;
export interface GetEnterprisePolicyArgs {
/**
* The EnterprisePolicy name.
*/
enterprisePolicyName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* Definition of the EnterprisePolicy.
*/
export interface GetEnterprisePolicyResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The encryption settings for a configuration store.
*/
readonly encryption?: outputs.powerplatform.PropertiesResponseEncryption;
/**
* The health status of the resource.
*/
readonly healthStatus?: string;
/**
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*/
readonly id: string;
/**
* The identity of the EnterprisePolicy.
*/
readonly identity?: outputs.powerplatform.EnterprisePolicyIdentityResponse;
/**
* The kind (type) of Enterprise Policy.
*/
readonly kind: string;
/**
* The geo-location where the resource lives
*/
readonly location: string;
/**
* Settings concerning lockbox.
*/
readonly lockbox?: outputs.powerplatform.PropertiesResponseLockbox;
/**
* The name of the resource
*/
readonly name: string;
/**
* Settings concerning network injection.
*/
readonly networkInjection?: outputs.powerplatform.PropertiesResponseNetworkInjection;
/**
* Metadata pertaining to creation and last modification of the resource.
*/
readonly systemData: outputs.powerplatform.SystemDataResponse;
/**
* The internally assigned unique identifier of the resource.
*/
readonly systemId: string;
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Get information about an EnterprisePolicy
*
* Uses Azure REST API version 2020-10-30-preview.
*/
export declare function getEnterprisePolicyOutput(args: GetEnterprisePolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEnterprisePolicyResult>;
export interface GetEnterprisePolicyOutputArgs {
/**
* The EnterprisePolicy name.
*/
enterprisePolicyName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}