1. Packages
  2. Azure Native v1
  3. API Docs
  4. network
  5. ExpressRouteCircuitAuthorization
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.network.ExpressRouteCircuitAuthorization

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Authorization in an ExpressRouteCircuit resource. API Version: 2020-11-01.

    Example Usage

    Create ExpressRouteCircuit Authorization

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var expressRouteCircuitAuthorization = new AzureNative.Network.ExpressRouteCircuitAuthorization("expressRouteCircuitAuthorization", new()
        {
            AuthorizationName = "authorizatinName",
            CircuitName = "circuitName",
            ResourceGroupName = "rg1",
        });
    
    });
    
    package main
    
    import (
    	network "github.com/pulumi/pulumi-azure-native-sdk/network"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := network.NewExpressRouteCircuitAuthorization(ctx, "expressRouteCircuitAuthorization", &network.ExpressRouteCircuitAuthorizationArgs{
    			AuthorizationName: pulumi.String("authorizatinName"),
    			CircuitName:       pulumi.String("circuitName"),
    			ResourceGroupName: pulumi.String("rg1"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.network.ExpressRouteCircuitAuthorization;
    import com.pulumi.azurenative.network.ExpressRouteCircuitAuthorizationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var expressRouteCircuitAuthorization = new ExpressRouteCircuitAuthorization("expressRouteCircuitAuthorization", ExpressRouteCircuitAuthorizationArgs.builder()        
                .authorizationName("authorizatinName")
                .circuitName("circuitName")
                .resourceGroupName("rg1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    express_route_circuit_authorization = azure_native.network.ExpressRouteCircuitAuthorization("expressRouteCircuitAuthorization",
        authorization_name="authorizatinName",
        circuit_name="circuitName",
        resource_group_name="rg1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const expressRouteCircuitAuthorization = new azure_native.network.ExpressRouteCircuitAuthorization("expressRouteCircuitAuthorization", {
        authorizationName: "authorizatinName",
        circuitName: "circuitName",
        resourceGroupName: "rg1",
    });
    
    resources:
      expressRouteCircuitAuthorization:
        type: azure-native:network:ExpressRouteCircuitAuthorization
        properties:
          authorizationName: authorizatinName
          circuitName: circuitName
          resourceGroupName: rg1
    

    Create ExpressRouteCircuitAuthorization Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ExpressRouteCircuitAuthorization(name: string, args: ExpressRouteCircuitAuthorizationArgs, opts?: CustomResourceOptions);
    @overload
    def ExpressRouteCircuitAuthorization(resource_name: str,
                                         args: ExpressRouteCircuitAuthorizationInitArgs,
                                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def ExpressRouteCircuitAuthorization(resource_name: str,
                                         opts: Optional[ResourceOptions] = None,
                                         circuit_name: Optional[str] = None,
                                         resource_group_name: Optional[str] = None,
                                         authorization_key: Optional[str] = None,
                                         authorization_name: Optional[str] = None,
                                         authorization_use_status: Optional[Union[str, AuthorizationUseStatus]] = None,
                                         id: Optional[str] = None,
                                         name: Optional[str] = None)
    func NewExpressRouteCircuitAuthorization(ctx *Context, name string, args ExpressRouteCircuitAuthorizationArgs, opts ...ResourceOption) (*ExpressRouteCircuitAuthorization, error)
    public ExpressRouteCircuitAuthorization(string name, ExpressRouteCircuitAuthorizationArgs args, CustomResourceOptions? opts = null)
    public ExpressRouteCircuitAuthorization(String name, ExpressRouteCircuitAuthorizationArgs args)
    public ExpressRouteCircuitAuthorization(String name, ExpressRouteCircuitAuthorizationArgs args, CustomResourceOptions options)
    
    type: azure-native:network:ExpressRouteCircuitAuthorization
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ExpressRouteCircuitAuthorizationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ExpressRouteCircuitAuthorizationInitArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ExpressRouteCircuitAuthorizationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ExpressRouteCircuitAuthorizationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ExpressRouteCircuitAuthorizationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var expressRouteCircuitAuthorizationResource = new AzureNative.Network.ExpressRouteCircuitAuthorization("expressRouteCircuitAuthorizationResource", new()
    {
        CircuitName = "string",
        ResourceGroupName = "string",
        AuthorizationKey = "string",
        AuthorizationName = "string",
        AuthorizationUseStatus = "string",
        Id = "string",
        Name = "string",
    });
    
    example, err := network.NewExpressRouteCircuitAuthorization(ctx, "expressRouteCircuitAuthorizationResource", &network.ExpressRouteCircuitAuthorizationArgs{
    	CircuitName:            "string",
    	ResourceGroupName:      "string",
    	AuthorizationKey:       "string",
    	AuthorizationName:      "string",
    	AuthorizationUseStatus: "string",
    	Id:                     "string",
    	Name:                   "string",
    })
    
    var expressRouteCircuitAuthorizationResource = new ExpressRouteCircuitAuthorization("expressRouteCircuitAuthorizationResource", ExpressRouteCircuitAuthorizationArgs.builder()
        .circuitName("string")
        .resourceGroupName("string")
        .authorizationKey("string")
        .authorizationName("string")
        .authorizationUseStatus("string")
        .id("string")
        .name("string")
        .build());
    
    express_route_circuit_authorization_resource = azure_native.network.ExpressRouteCircuitAuthorization("expressRouteCircuitAuthorizationResource",
        circuit_name=string,
        resource_group_name=string,
        authorization_key=string,
        authorization_name=string,
        authorization_use_status=string,
        id=string,
        name=string)
    
    const expressRouteCircuitAuthorizationResource = new azure_native.network.ExpressRouteCircuitAuthorization("expressRouteCircuitAuthorizationResource", {
        circuitName: "string",
        resourceGroupName: "string",
        authorizationKey: "string",
        authorizationName: "string",
        authorizationUseStatus: "string",
        id: "string",
        name: "string",
    });
    
    type: azure-native:network:ExpressRouteCircuitAuthorization
    properties:
        authorizationKey: string
        authorizationName: string
        authorizationUseStatus: string
        circuitName: string
        id: string
        name: string
        resourceGroupName: string
    

    ExpressRouteCircuitAuthorization Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The ExpressRouteCircuitAuthorization resource accepts the following input properties:

    CircuitName string
    The name of the express route circuit.
    ResourceGroupName string
    The name of the resource group.
    AuthorizationKey string
    The authorization key.
    AuthorizationName string
    The name of the authorization.
    AuthorizationUseStatus string | Pulumi.AzureNative.Network.AuthorizationUseStatus
    The authorization use status.
    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.
    CircuitName string
    The name of the express route circuit.
    ResourceGroupName string
    The name of the resource group.
    AuthorizationKey string
    The authorization key.
    AuthorizationName string
    The name of the authorization.
    AuthorizationUseStatus string | AuthorizationUseStatus
    The authorization use status.
    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.
    circuitName String
    The name of the express route circuit.
    resourceGroupName String
    The name of the resource group.
    authorizationKey String
    The authorization key.
    authorizationName String
    The name of the authorization.
    authorizationUseStatus String | AuthorizationUseStatus
    The authorization use status.
    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.
    circuitName string
    The name of the express route circuit.
    resourceGroupName string
    The name of the resource group.
    authorizationKey string
    The authorization key.
    authorizationName string
    The name of the authorization.
    authorizationUseStatus string | AuthorizationUseStatus
    The authorization use status.
    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.
    circuit_name str
    The name of the express route circuit.
    resource_group_name str
    The name of the resource group.
    authorization_key str
    The authorization key.
    authorization_name str
    The name of the authorization.
    authorization_use_status str | AuthorizationUseStatus
    The authorization use status.
    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.
    circuitName String
    The name of the express route circuit.
    resourceGroupName String
    The name of the resource group.
    authorizationKey String
    The authorization key.
    authorizationName String
    The name of the authorization.
    authorizationUseStatus String | "Available" | "InUse"
    The authorization use status.
    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.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ExpressRouteCircuitAuthorization resource produces the following output properties:

    Etag string
    A unique read-only string that changes whenever the resource is updated.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProvisioningState string
    The provisioning state of the authorization resource.
    Type string
    Type of the resource.
    Etag string
    A unique read-only string that changes whenever the resource is updated.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProvisioningState string
    The provisioning state of the authorization resource.
    Type string
    Type of the resource.
    etag String
    A unique read-only string that changes whenever the resource is updated.
    id String
    The provider-assigned unique ID for this managed resource.
    provisioningState String
    The provisioning state of the authorization resource.
    type String
    Type of the resource.
    etag string
    A unique read-only string that changes whenever the resource is updated.
    id string
    The provider-assigned unique ID for this managed resource.
    provisioningState string
    The provisioning state of the authorization resource.
    type string
    Type of the resource.
    etag str
    A unique read-only string that changes whenever the resource is updated.
    id str
    The provider-assigned unique ID for this managed resource.
    provisioning_state str
    The provisioning state of the authorization resource.
    type str
    Type of the resource.
    etag String
    A unique read-only string that changes whenever the resource is updated.
    id String
    The provider-assigned unique ID for this managed resource.
    provisioningState String
    The provisioning state of the authorization resource.
    type String
    Type of the resource.

    Supporting Types

    AuthorizationUseStatus, AuthorizationUseStatusArgs

    Available
    Available
    InUse
    InUse
    AuthorizationUseStatusAvailable
    Available
    AuthorizationUseStatusInUse
    InUse
    Available
    Available
    InUse
    InUse
    Available
    Available
    InUse
    InUse
    AVAILABLE
    Available
    IN_USE
    InUse
    "Available"
    Available
    "InUse"
    InUse

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:network:ExpressRouteCircuitAuthorization authorizationName /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/authorizationName 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi