UNPKG

@kengachu-pulumi/azure-native-apimanagement

Version:

Pulumi Azure Native package for apimanagement

71 lines (70 loc) 1.85 kB
import * as pulumi from "@pulumi/pulumi"; /** * Get the policy configuration at the Product level. */ export declare function getProductPolicy(args: GetProductPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetProductPolicyResult>; export interface GetProductPolicyArgs { /** * The identifier of the Policy. */ policyId: string; /** * Product identifier. Must be unique in the current API Management service instance. */ productId: string; /** * The name of the resource group. */ resourceGroupName: string; /** * The name of the API Management service. */ serviceName: string; } /** * Policy Contract details. */ export interface GetProductPolicyResult { /** * 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 policy configuration at the Product level. */ export declare function getProductPolicyOutput(args: GetProductPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProductPolicyResult>; export interface GetProductPolicyOutputArgs { /** * The identifier of the Policy. */ policyId: pulumi.Input<string>; /** * Product identifier. Must be unique in the current API Management service instance. */ productId: pulumi.Input<string>; /** * The name of the resource group. */ resourceGroupName: pulumi.Input<string>; /** * The name of the API Management service. */ serviceName: pulumi.Input<string>; }