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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.network.getExpressRoutePortAuthorization

Explore with Pulumi AI

azure-native logo
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

    Gets the specified authorization from the specified express route port. 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.

    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>
    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]
    func LookupExpressRoutePortAuthorization(ctx *Context, args *LookupExpressRoutePortAuthorizationArgs, opts ...InvokeOption) (*LookupExpressRoutePortAuthorizationResult, error)
    func LookupExpressRoutePortAuthorizationOutput(ctx *Context, args *LookupExpressRoutePortAuthorizationOutputArgs, opts ...InvokeOption) LookupExpressRoutePortAuthorizationResultOutput

    > 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)
    }
    public static CompletableFuture<GetExpressRoutePortAuthorizationResult> getExpressRoutePortAuthorization(GetExpressRoutePortAuthorizationArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:network:getExpressRoutePortAuthorization
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AuthorizationName string
    The name of the authorization.
    ExpressRoutePortName string
    The name of the express route port.
    ResourceGroupName string
    The name of the resource group.
    AuthorizationName string
    The name of the authorization.
    ExpressRoutePortName string
    The name of the express route port.
    ResourceGroupName string
    The name of the resource group.
    authorizationName String
    The name of the authorization.
    expressRoutePortName String
    The name of the express route port.
    resourceGroupName String
    The name of the resource group.
    authorizationName string
    The name of the authorization.
    expressRoutePortName string
    The name of the express route port.
    resourceGroupName string
    The name of the resource group.
    authorization_name str
    The name of the authorization.
    express_route_port_name str
    The name of the express route port.
    resource_group_name str
    The name of the resource group.
    authorizationName String
    The name of the authorization.
    expressRoutePortName String
    The name of the express route port.
    resourceGroupName 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
    azure-native logo
    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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi