UNPKG

@kengachu-pulumi/azure-native-apimanagement

Version:

Pulumi Azure Native package for apimanagement

63 lines (62 loc) 1.54 kB
import * as pulumi from "@pulumi/pulumi"; /** * Get the Global policy definition of the Api Management service. */ export declare function getPolicy(args: GetPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetPolicyResult>; export interface GetPolicyArgs { /** * The identifier of the Policy. */ policyId: string; /** * The name of the resource group. */ resourceGroupName: string; /** * The name of the API Management service. */ serviceName: string; } /** * Policy Contract details. */ export interface GetPolicyResult { /** * Format of the policyContent. */ readonly contentFormat?: string; /** * Resource ID. */ readonly id: string; /** * Resource name. */ readonly name: string; /** * Json escaped Xml Encoded contents of the Policy. */ readonly policyContent: string; /** * Resource type for API Management resource. */ readonly type: string; } /** * Get the Global policy definition of the Api Management service. */ export declare function getPolicyOutput(args: GetPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPolicyResult>; export interface GetPolicyOutputArgs { /** * The identifier of the Policy. */ policyId: pulumi.Input<string>; /** * The name of the resource group. */ resourceGroupName: pulumi.Input<string>; /** * The name of the API Management service. */ serviceName: pulumi.Input<string>; }