1. Packages
  2. Azure Native
  3. API Docs
  4. network
  5. getExpressRoutePortAuthorization
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native.network.getExpressRoutePortAuthorization

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Gets the specified authorization from the specified express route port.

Uses Azure REST API version 2023-02-01.

Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01.

Using getExpressRoutePortAuthorization

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getExpressRoutePortAuthorization(args: GetExpressRoutePortAuthorizationArgs, opts?: InvokeOptions): Promise<GetExpressRoutePortAuthorizationResult>
function getExpressRoutePortAuthorizationOutput(args: GetExpressRoutePortAuthorizationOutputArgs, opts?: InvokeOptions): Output<GetExpressRoutePortAuthorizationResult>
Copy
def get_express_route_port_authorization(authorization_name: Optional[str] = None,
                                         express_route_port_name: Optional[str] = None,
                                         resource_group_name: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetExpressRoutePortAuthorizationResult
def get_express_route_port_authorization_output(authorization_name: Optional[pulumi.Input[str]] = None,
                                         express_route_port_name: Optional[pulumi.Input[str]] = None,
                                         resource_group_name: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetExpressRoutePortAuthorizationResult]
Copy
func LookupExpressRoutePortAuthorization(ctx *Context, args *LookupExpressRoutePortAuthorizationArgs, opts ...InvokeOption) (*LookupExpressRoutePortAuthorizationResult, error)
func LookupExpressRoutePortAuthorizationOutput(ctx *Context, args *LookupExpressRoutePortAuthorizationOutputArgs, opts ...InvokeOption) LookupExpressRoutePortAuthorizationResultOutput
Copy

> Note: This function is named LookupExpressRoutePortAuthorization in the Go SDK.

public static class GetExpressRoutePortAuthorization 
{
    public static Task<GetExpressRoutePortAuthorizationResult> InvokeAsync(GetExpressRoutePortAuthorizationArgs args, InvokeOptions? opts = null)
    public static Output<GetExpressRoutePortAuthorizationResult> Invoke(GetExpressRoutePortAuthorizationInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetExpressRoutePortAuthorizationResult> getExpressRoutePortAuthorization(GetExpressRoutePortAuthorizationArgs args, InvokeOptions options)
public static Output<GetExpressRoutePortAuthorizationResult> getExpressRoutePortAuthorization(GetExpressRoutePortAuthorizationArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:network:getExpressRoutePortAuthorization
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AuthorizationName
This property is required.
Changes to this property will trigger replacement.
string
The name of the authorization.
ExpressRoutePortName
This property is required.
Changes to this property will trigger replacement.
string
The name of the express route port.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
AuthorizationName
This property is required.
Changes to this property will trigger replacement.
string
The name of the authorization.
ExpressRoutePortName
This property is required.
Changes to this property will trigger replacement.
string
The name of the express route port.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
authorizationName
This property is required.
Changes to this property will trigger replacement.
String
The name of the authorization.
expressRoutePortName
This property is required.
Changes to this property will trigger replacement.
String
The name of the express route port.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
authorizationName
This property is required.
Changes to this property will trigger replacement.
string
The name of the authorization.
expressRoutePortName
This property is required.
Changes to this property will trigger replacement.
string
The name of the express route port.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
authorization_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the authorization.
express_route_port_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the express route port.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group.
authorizationName
This property is required.
Changes to this property will trigger replacement.
String
The name of the authorization.
expressRoutePortName
This property is required.
Changes to this property will trigger replacement.
String
The name of the express route port.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.

getExpressRoutePortAuthorization Result

The following output properties are available:

AuthorizationKey string
The authorization key.
AuthorizationUseStatus string
The authorization use status.
CircuitResourceUri string
The reference to the ExpressRoute circuit resource using the authorization.
Etag string
A unique read-only string that changes whenever the resource is updated.
ProvisioningState string
The provisioning state of the authorization resource.
Type string
Type of the resource.
Id string
Resource ID.
Name string
The name of the resource that is unique within a resource group. This name can be used to access the resource.
AuthorizationKey string
The authorization key.
AuthorizationUseStatus string
The authorization use status.
CircuitResourceUri string
The reference to the ExpressRoute circuit resource using the authorization.
Etag string
A unique read-only string that changes whenever the resource is updated.
ProvisioningState string
The provisioning state of the authorization resource.
Type string
Type of the resource.
Id string
Resource ID.
Name string
The name of the resource that is unique within a resource group. This name can be used to access the resource.
authorizationKey String
The authorization key.
authorizationUseStatus String
The authorization use status.
circuitResourceUri String
The reference to the ExpressRoute circuit resource using the authorization.
etag String
A unique read-only string that changes whenever the resource is updated.
provisioningState String
The provisioning state of the authorization resource.
type String
Type of the resource.
id String
Resource ID.
name String
The name of the resource that is unique within a resource group. This name can be used to access the resource.
authorizationKey string
The authorization key.
authorizationUseStatus string
The authorization use status.
circuitResourceUri string
The reference to the ExpressRoute circuit resource using the authorization.
etag string
A unique read-only string that changes whenever the resource is updated.
provisioningState string
The provisioning state of the authorization resource.
type string
Type of the resource.
id string
Resource ID.
name string
The name of the resource that is unique within a resource group. This name can be used to access the resource.
authorization_key str
The authorization key.
authorization_use_status str
The authorization use status.
circuit_resource_uri str
The reference to the ExpressRoute circuit resource using the authorization.
etag str
A unique read-only string that changes whenever the resource is updated.
provisioning_state str
The provisioning state of the authorization resource.
type str
Type of the resource.
id str
Resource ID.
name str
The name of the resource that is unique within a resource group. This name can be used to access the resource.
authorizationKey String
The authorization key.
authorizationUseStatus String
The authorization use status.
circuitResourceUri String
The reference to the ExpressRoute circuit resource using the authorization.
etag String
A unique read-only string that changes whenever the resource is updated.
provisioningState String
The provisioning state of the authorization resource.
type String
Type of the resource.
id String
Resource ID.
name String
The name of the resource that is unique within a resource group. This name can be used to access the resource.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi