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

76 lines (75 loc) 2.13 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get a BgpPeer * * Uses Azure REST API version 2024-03-01. */ export declare function getBgpPeer(args: GetBgpPeerArgs, opts?: pulumi.InvokeOptions): Promise<GetBgpPeerResult>; export interface GetBgpPeerArgs { /** * The name of the BgpPeer */ bgpPeerName: string; /** * The fully qualified Azure Resource manager identifier of the resource. */ resourceUri: string; } /** * A BgpPeer resource for an Arc connected cluster (Microsoft.Kubernetes/connectedClusters) */ export interface GetBgpPeerResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * My ASN */ readonly myAsn: number; /** * The name of the resource */ readonly name: string; /** * Peer Address */ readonly peerAddress: string; /** * Peer ASN */ readonly peerAsn: number; /** * Resource provision state */ readonly provisioningState: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.kubernetesruntime.SystemDataResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Get a BgpPeer * * Uses Azure REST API version 2024-03-01. */ export declare function getBgpPeerOutput(args: GetBgpPeerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBgpPeerResult>; export interface GetBgpPeerOutputArgs { /** * The name of the BgpPeer */ bgpPeerName: pulumi.Input<string>; /** * The fully qualified Azure Resource manager identifier of the resource. */ resourceUri: pulumi.Input<string>; }