@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 4.82 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Retrieves the requested ExpressRoutePort resource.
*
* Uses Azure REST API version 2024-05-01.
*
* Other available API versions: 2018-08-01, 2018-10-01, 2018-11-01, 2018-12-01, 2019-02-01, 2019-04-01, 2019-06-01, 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-02-01, 2021-03-01, 2021-05-01, 2021-08-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-07-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native network [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getExpressRoutePort(args: GetExpressRoutePortArgs, opts?: pulumi.InvokeOptions): Promise<GetExpressRoutePortResult>;
export interface GetExpressRoutePortArgs {
/**
* The name of ExpressRoutePort.
*/
expressRoutePortName: string;
/**
* The name of the resource group.
*/
resourceGroupName: string;
}
/**
* ExpressRoutePort resource definition.
*/
export interface GetExpressRoutePortResult {
/**
* Date of the physical port allocation to be used in Letter of Authorization.
*/
readonly allocationDate: string;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Bandwidth of procured ports in Gbps.
*/
readonly bandwidthInGbps?: number;
/**
* The billing type of the ExpressRoutePort resource.
*/
readonly billingType?: string;
/**
* Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource.
*/
readonly circuits: outputs.network.SubResourceResponse[];
/**
* Encapsulation method on physical ports.
*/
readonly encapsulation?: string;
/**
* A unique read-only string that changes whenever the resource is updated.
*/
readonly etag: string;
/**
* Ether type of the physical port.
*/
readonly etherType: string;
/**
* Resource ID.
*/
readonly id?: string;
/**
* The identity of ExpressRoutePort, if configured.
*/
readonly identity?: outputs.network.ManagedServiceIdentityResponse;
/**
* The set of physical links of the ExpressRoutePort resource.
*/
readonly links?: outputs.network.ExpressRouteLinkResponse[];
/**
* Resource location.
*/
readonly location?: string;
/**
* Maximum transmission unit of the physical port pair(s).
*/
readonly mtu: string;
/**
* Resource name.
*/
readonly name: string;
/**
* The name of the peering location that the ExpressRoutePort is mapped to physically.
*/
readonly peeringLocation?: string;
/**
* Aggregate Gbps of associated circuit bandwidths.
*/
readonly provisionedBandwidthInGbps: number;
/**
* The provisioning state of the express route port resource.
*/
readonly provisioningState: string;
/**
* The resource GUID property of the express route port resource.
*/
readonly resourceGuid: string;
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* Resource type.
*/
readonly type: string;
}
/**
* Retrieves the requested ExpressRoutePort resource.
*
* Uses Azure REST API version 2024-05-01.
*
* Other available API versions: 2018-08-01, 2018-10-01, 2018-11-01, 2018-12-01, 2019-02-01, 2019-04-01, 2019-06-01, 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-02-01, 2021-03-01, 2021-05-01, 2021-08-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-07-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native network [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getExpressRoutePortOutput(args: GetExpressRoutePortOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetExpressRoutePortResult>;
export interface GetExpressRoutePortOutputArgs {
/**
* The name of ExpressRoutePort.
*/
expressRoutePortName: pulumi.Input<string>;
/**
* The name of the resource group.
*/
resourceGroupName: pulumi.Input<string>;
}