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

94 lines (93 loc) 3.61 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets the specified L2 connection in a specified resource group. * * Uses Azure REST API version 2024-03-01-preview. * * Other available API versions: 2024-03-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native orbital [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getL2Connection(args: GetL2ConnectionArgs, opts?: pulumi.InvokeOptions): Promise<GetL2ConnectionResult>; export interface GetL2ConnectionArgs { /** * L2 Connection name. */ l2ConnectionName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * Connects an edge site to an orbital gateway and describes what layer 2 traffic to forward between them. */ export interface GetL2ConnectionResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Globally-unique identifier for this connection that is to be used as a circuit ID. */ readonly circuitId: string; /** * A reference to an Microsoft.Orbital/edgeSites resource to route traffic for. */ readonly edgeSite: outputs.orbital.L2ConnectionsPropertiesResponseEdgeSite; /** * A reference to an Microsoft.Orbital/groundStations resource to route traffic for. */ readonly groundStation: outputs.orbital.L2ConnectionsPropertiesResponseGroundStation; /** * The name of the partner router to establish a connection to within the ground station. */ readonly groundStationPartnerRouter: outputs.orbital.L2ConnectionsPropertiesResponseGroundStationPartnerRouter; /** * Fully qualified resource ID for the resource. E.g. "/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; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.orbital.SystemDataResponse; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; /** * The VLAN ID for the L2 connection. */ readonly vlanId: number; } /** * Gets the specified L2 connection in a specified resource group. * * Uses Azure REST API version 2024-03-01-preview. * * Other available API versions: 2024-03-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native orbital [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getL2ConnectionOutput(args: GetL2ConnectionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetL2ConnectionResult>; export interface GetL2ConnectionOutputArgs { /** * L2 Connection name. */ l2ConnectionName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }