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

124 lines (123 loc) 4.71 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Implements NetworkToNetworkInterconnects GET method. * * Uses Azure REST API version 2023-06-15. * * Other available API versions: 2023-02-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native managednetworkfabric [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getNetworkToNetworkInterconnect(args: GetNetworkToNetworkInterconnectArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkToNetworkInterconnectResult>; export interface GetNetworkToNetworkInterconnectArgs { /** * Name of the Network Fabric. */ networkFabricName: string; /** * Name of the Network to Network Interconnect. */ networkToNetworkInterconnectName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * The Network To Network Interconnect resource definition. */ export interface GetNetworkToNetworkInterconnectResult { /** * Administrative state of the resource. */ readonly administrativeState: string; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Configuration state of the resource. */ readonly configurationState: string; /** * Egress Acl. ARM resource ID of Access Control Lists. */ readonly egressAclId?: string; /** * Export Route Policy configuration. */ readonly exportRoutePolicy?: outputs.managednetworkfabric.ExportRoutePolicyInformationResponse; /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" */ readonly id: string; /** * Import Route Policy configuration. */ readonly importRoutePolicy?: outputs.managednetworkfabric.ImportRoutePolicyInformationResponse; /** * Ingress Acl. ARM resource ID of Access Control Lists. */ readonly ingressAclId?: string; /** * Configuration to use NNI for Infrastructure Management. Example: True/False. */ readonly isManagementType?: string; /** * Common properties for Layer2 Configuration. */ readonly layer2Configuration?: outputs.managednetworkfabric.Layer2ConfigurationResponse; /** * The name of the resource */ readonly name: string; /** * Type of NNI used. Example: CE | NPB */ readonly nniType?: string; /** * NPB Static Route Configuration properties. */ readonly npbStaticRouteConfiguration?: outputs.managednetworkfabric.NpbStaticRouteConfigurationResponse; /** * Common properties for Layer3Configuration. */ readonly optionBLayer3Configuration?: outputs.managednetworkfabric.NetworkToNetworkInterconnectPropertiesResponseOptionBLayer3Configuration; /** * Provisioning state of the resource. */ readonly provisioningState: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.managednetworkfabric.SystemDataResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; /** * Based on this option layer3 parameters are mandatory. Example: True/False */ readonly useOptionB: string; } /** * Implements NetworkToNetworkInterconnects GET method. * * Uses Azure REST API version 2023-06-15. * * Other available API versions: 2023-02-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native managednetworkfabric [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getNetworkToNetworkInterconnectOutput(args: GetNetworkToNetworkInterconnectOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNetworkToNetworkInterconnectResult>; export interface GetNetworkToNetworkInterconnectOutputArgs { /** * Name of the Network Fabric. */ networkFabricName: pulumi.Input<string>; /** * Name of the Network to Network Interconnect. */ networkToNetworkInterconnectName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }