azure-native.network.getExpressRoutePortAuthorization
Explore with Pulumi AI
Gets the specified authorization from the specified express route port.
Uses Azure REST API version 2024-05-01.
Other available API versions: 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. 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 for details.
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)
public static Output<GetExpressRoutePortAuthorizationResult> getExpressRoutePortAuthorization(GetExpressRoutePortAuthorizationArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:network:getExpressRoutePortAuthorization
  arguments:
    # arguments dictionaryThe following arguments are supported:
- string
 - The name of the authorization.
 - Express
Route stringPort Name  - The name of the express route port.
 - Resource
Group stringName  - The name of the resource group.
 
- string
 - The name of the authorization.
 - Express
Route stringPort Name  - The name of the express route port.
 - Resource
Group stringName  - The name of the resource group.
 
- String
 - The name of the authorization.
 - express
Route StringPort Name  - The name of the express route port.
 - resource
Group StringName  - The name of the resource group.
 
- string
 - The name of the authorization.
 - express
Route stringPort Name  - The name of the express route port.
 - resource
Group stringName  - The name of the resource group.
 
- str
 - The name of the authorization.
 - express_
route_ strport_ name  - The name of the express route port.
 - resource_
group_ strname  - The name of the resource group.
 
- String
 - The name of the authorization.
 - express
Route StringPort Name  - The name of the express route port.
 - resource
Group StringName  - The name of the resource group.
 
getExpressRoutePortAuthorization Result
The following output properties are available:
- string
 - The authorization key.
 - string
 - The authorization use status.
 - Azure
Api stringVersion  - The Azure API version of the resource.
 - Circuit
Resource stringUri  - The reference to the ExpressRoute circuit resource using the authorization.
 - Etag string
 - A unique read-only string that changes whenever the resource is updated.
 - Provisioning
State 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.
 
- string
 - The authorization key.
 - string
 - The authorization use status.
 - Azure
Api stringVersion  - The Azure API version of the resource.
 - Circuit
Resource stringUri  - The reference to the ExpressRoute circuit resource using the authorization.
 - Etag string
 - A unique read-only string that changes whenever the resource is updated.
 - Provisioning
State 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.
 
- String
 - The authorization key.
 - String
 - The authorization use status.
 - azure
Api StringVersion  - The Azure API version of the resource.
 - circuit
Resource StringUri  - The reference to the ExpressRoute circuit resource using the authorization.
 - etag String
 - A unique read-only string that changes whenever the resource is updated.
 - provisioning
State 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.
 
- string
 - The authorization key.
 - string
 - The authorization use status.
 - azure
Api stringVersion  - The Azure API version of the resource.
 - circuit
Resource stringUri  - The reference to the ExpressRoute circuit resource using the authorization.
 - etag string
 - A unique read-only string that changes whenever the resource is updated.
 - provisioning
State 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.
 
- str
 - The authorization key.
 - str
 - The authorization use status.
 - azure_
api_ strversion  - The Azure API version of the resource.
 - circuit_
resource_ struri  - 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.
 
- String
 - The authorization key.
 - String
 - The authorization use status.
 - azure
Api StringVersion  - The Azure API version of the resource.
 - circuit
Resource StringUri  - The reference to the ExpressRoute circuit resource using the authorization.
 - etag String
 - A unique read-only string that changes whenever the resource is updated.
 - provisioning
State 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