1. Packages
  2. Azure Native
  3. API Docs
  4. avs
  5. getAuthorization
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v1.103.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v1.103.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    ExpressRoute Circuit Authorization API Version: 2020-03-20.

    Using getAuthorization

    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 getAuthorization(args: GetAuthorizationArgs, opts?: InvokeOptions): Promise<GetAuthorizationResult>
    function getAuthorizationOutput(args: GetAuthorizationOutputArgs, opts?: InvokeOptions): Output<GetAuthorizationResult>
    def get_authorization(authorization_name: Optional[str] = None,
                          private_cloud_name: Optional[str] = None,
                          resource_group_name: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetAuthorizationResult
    def get_authorization_output(authorization_name: Optional[pulumi.Input[str]] = None,
                          private_cloud_name: Optional[pulumi.Input[str]] = None,
                          resource_group_name: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetAuthorizationResult]
    func LookupAuthorization(ctx *Context, args *LookupAuthorizationArgs, opts ...InvokeOption) (*LookupAuthorizationResult, error)
    func LookupAuthorizationOutput(ctx *Context, args *LookupAuthorizationOutputArgs, opts ...InvokeOption) LookupAuthorizationResultOutput

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

    public static class GetAuthorization 
    {
        public static Task<GetAuthorizationResult> InvokeAsync(GetAuthorizationArgs args, InvokeOptions? opts = null)
        public static Output<GetAuthorizationResult> Invoke(GetAuthorizationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAuthorizationResult> getAuthorization(GetAuthorizationArgs args, InvokeOptions options)
    public static Output<GetAuthorizationResult> getAuthorization(GetAuthorizationArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure-native:avs:getAuthorization
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AuthorizationName string
    Name of the ExpressRoute Circuit Authorization in the private cloud
    PrivateCloudName string
    Name of the private cloud
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    AuthorizationName string
    Name of the ExpressRoute Circuit Authorization in the private cloud
    PrivateCloudName string
    Name of the private cloud
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    authorizationName String
    Name of the ExpressRoute Circuit Authorization in the private cloud
    privateCloudName String
    Name of the private cloud
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    authorizationName string
    Name of the ExpressRoute Circuit Authorization in the private cloud
    privateCloudName string
    Name of the private cloud
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    authorization_name str
    Name of the ExpressRoute Circuit Authorization in the private cloud
    private_cloud_name str
    Name of the private cloud
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    authorizationName String
    Name of the ExpressRoute Circuit Authorization in the private cloud
    privateCloudName String
    Name of the private cloud
    resourceGroupName String
    The name of the resource group. The name is case insensitive.

    getAuthorization Result

    The following output properties are available:

    ExpressRouteAuthorizationId string
    The ID of the ExpressRoute Circuit Authorization
    ExpressRouteAuthorizationKey string
    The key of the ExpressRoute Circuit Authorization
    Id string
    Resource ID.
    Name string
    Resource name.
    ProvisioningState string
    The state of the ExpressRoute Circuit Authorization provisioning
    Type string
    Resource type.
    ExpressRouteAuthorizationId string
    The ID of the ExpressRoute Circuit Authorization
    ExpressRouteAuthorizationKey string
    The key of the ExpressRoute Circuit Authorization
    Id string
    Resource ID.
    Name string
    Resource name.
    ProvisioningState string
    The state of the ExpressRoute Circuit Authorization provisioning
    Type string
    Resource type.
    expressRouteAuthorizationId String
    The ID of the ExpressRoute Circuit Authorization
    expressRouteAuthorizationKey String
    The key of the ExpressRoute Circuit Authorization
    id String
    Resource ID.
    name String
    Resource name.
    provisioningState String
    The state of the ExpressRoute Circuit Authorization provisioning
    type String
    Resource type.
    expressRouteAuthorizationId string
    The ID of the ExpressRoute Circuit Authorization
    expressRouteAuthorizationKey string
    The key of the ExpressRoute Circuit Authorization
    id string
    Resource ID.
    name string
    Resource name.
    provisioningState string
    The state of the ExpressRoute Circuit Authorization provisioning
    type string
    Resource type.
    express_route_authorization_id str
    The ID of the ExpressRoute Circuit Authorization
    express_route_authorization_key str
    The key of the ExpressRoute Circuit Authorization
    id str
    Resource ID.
    name str
    Resource name.
    provisioning_state str
    The state of the ExpressRoute Circuit Authorization provisioning
    type str
    Resource type.
    expressRouteAuthorizationId String
    The ID of the ExpressRoute Circuit Authorization
    expressRouteAuthorizationKey String
    The key of the ExpressRoute Circuit Authorization
    id String
    Resource ID.
    name String
    Resource name.
    provisioningState String
    The state of the ExpressRoute Circuit Authorization provisioning
    type String
    Resource type.

    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 v2 docs if using the v2 version of this package.
    Viewing docs for Azure Native v1.103.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.