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

100 lines (99 loc) 3.68 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get a GlobalReachConnection * * Uses Azure REST API version 2023-09-01. * * Other available API versions: 2022-05-01, 2023-03-01, 2024-09-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native avs [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getGlobalReachConnection(args: GetGlobalReachConnectionArgs, opts?: pulumi.InvokeOptions): Promise<GetGlobalReachConnectionResult>; export interface GetGlobalReachConnectionArgs { /** * Name of the global reach connection */ globalReachConnectionName: string; /** * Name of the private cloud */ privateCloudName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * A global reach connection resource */ export interface GetGlobalReachConnectionResult { /** * The network used for global reach carved out from the original network block * provided for the private cloud */ readonly addressPrefix: string; /** * Authorization key from the peer express route used for the global reach * connection */ readonly authorizationKey?: string; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The connection status of the global reach connection */ readonly circuitConnectionStatus: string; /** * The ID of the Private Cloud's ExpressRoute Circuit that is participating in the * global reach connection */ readonly expressRouteId?: string; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * The name of the resource */ readonly name: string; /** * Identifier of the ExpressRoute Circuit to peer with in the global reach * connection */ readonly peerExpressRouteCircuit?: string; /** * The state of the ExpressRoute Circuit Authorization provisioning */ readonly provisioningState: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.avs.SystemDataResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; } /** * Get a GlobalReachConnection * * Uses Azure REST API version 2023-09-01. * * Other available API versions: 2022-05-01, 2023-03-01, 2024-09-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native avs [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getGlobalReachConnectionOutput(args: GetGlobalReachConnectionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGlobalReachConnectionResult>; export interface GetGlobalReachConnectionOutputArgs { /** * Name of the global reach connection */ globalReachConnectionName: pulumi.Input<string>; /** * Name of the private cloud */ privateCloudName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }