UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

72 lines (71 loc) 2.63 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * The Get ManagedNetworkPeeringPolicies operation gets a Managed Network Peering Policy resource, specified by the resource group, Managed Network name, and peering policy name * * Uses Azure REST API version 2019-06-01-preview. */ export declare function getManagedNetworkPeeringPolicy(args: GetManagedNetworkPeeringPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetManagedNetworkPeeringPolicyResult>; export interface GetManagedNetworkPeeringPolicyArgs { /** * The name of the Managed Network. */ managedNetworkName: string; /** * The name of the Managed Network Peering Policy. */ managedNetworkPeeringPolicyName: string; /** * The name of the resource group. */ resourceGroupName: string; } /** * The Managed Network Peering Policy resource */ export interface GetManagedNetworkPeeringPolicyResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id: string; /** * The geo-location where the resource lives */ readonly location?: string; /** * The name of the resource */ readonly name: string; /** * Gets or sets the properties of a Managed Network Policy */ readonly properties: outputs.managednetwork.ManagedNetworkPeeringPolicyPropertiesResponse; /** * The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. */ readonly type: string; } /** * The Get ManagedNetworkPeeringPolicies operation gets a Managed Network Peering Policy resource, specified by the resource group, Managed Network name, and peering policy name * * Uses Azure REST API version 2019-06-01-preview. */ export declare function getManagedNetworkPeeringPolicyOutput(args: GetManagedNetworkPeeringPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetManagedNetworkPeeringPolicyResult>; export interface GetManagedNetworkPeeringPolicyOutputArgs { /** * The name of the Managed Network. */ managedNetworkName: pulumi.Input<string>; /** * The name of the Managed Network Peering Policy. */ managedNetworkPeeringPolicyName: pulumi.Input<string>; /** * The name of the resource group. */ resourceGroupName: pulumi.Input<string>; }