UNPKG

@kengachu-pulumi/azure-native-apimanagement

Version:

Pulumi Azure Native package for apimanagement

79 lines (78 loc) 2.37 kB
import * as pulumi from "@pulumi/pulumi"; /** * Get the policy configuration at the API Operation level. */ export declare function getApiOperationPolicy(args: GetApiOperationPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetApiOperationPolicyResult>; export interface GetApiOperationPolicyArgs { /** * API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number. */ apiId: string; /** * Operation identifier within an API. Must be unique in the current API Management service instance. */ operationId: string; /** * 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 GetApiOperationPolicyResult { /** * 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 API Operation level. */ export declare function getApiOperationPolicyOutput(args: GetApiOperationPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetApiOperationPolicyResult>; export interface GetApiOperationPolicyOutputArgs { /** * API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number. */ apiId: pulumi.Input<string>; /** * Operation identifier within an API. Must be unique in the current API Management service instance. */ operationId: pulumi.Input<string>; /** * 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>; }