ExpressRouteCircuitAuthorization

Manages an ExpressRoute Circuit Authorization.

Example Usage

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
    public MyStack()
    {
        var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
        {
            Location = "West US",
        });
        var exampleExpressRouteCircuit = new Azure.Network.ExpressRouteCircuit("exampleExpressRouteCircuit", new Azure.Network.ExpressRouteCircuitArgs
        {
            ResourceGroupName = exampleResourceGroup.Name,
            Location = exampleResourceGroup.Location,
            ServiceProviderName = "Equinix",
            PeeringLocation = "Silicon Valley",
            BandwidthInMbps = 50,
            Sku = new Azure.Network.Inputs.ExpressRouteCircuitSkuArgs
            {
                Tier = "Standard",
                Family = "MeteredData",
            },
            AllowClassicOperations = false,
            Tags = 
            {
                { "environment", "Production" },
            },
        });
        var exampleExpressRouteCircuitAuthorization = new Azure.Network.ExpressRouteCircuitAuthorization("exampleExpressRouteCircuitAuthorization", new Azure.Network.ExpressRouteCircuitAuthorizationArgs
        {
            ExpressRouteCircuitName = exampleExpressRouteCircuit.Name,
            ResourceGroupName = exampleResourceGroup.Name,
        });
    }

}
package main

import (
    "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/core"
    "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/network"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
            Location: pulumi.String("West US"),
        })
        if err != nil {
            return err
        }
        exampleExpressRouteCircuit, err := network.NewExpressRouteCircuit(ctx, "exampleExpressRouteCircuit", &network.ExpressRouteCircuitArgs{
            ResourceGroupName:   exampleResourceGroup.Name,
            Location:            exampleResourceGroup.Location,
            ServiceProviderName: pulumi.String("Equinix"),
            PeeringLocation:     pulumi.String("Silicon Valley"),
            BandwidthInMbps:     pulumi.Int(50),
            Sku: &network.ExpressRouteCircuitSkuArgs{
                Tier:   pulumi.String("Standard"),
                Family: pulumi.String("MeteredData"),
            },
            AllowClassicOperations: pulumi.Bool(false),
            Tags: pulumi.Map{
                "environment": pulumi.String("Production"),
            },
        })
        if err != nil {
            return err
        }
        _, err = network.NewExpressRouteCircuitAuthorization(ctx, "exampleExpressRouteCircuitAuthorization", &network.ExpressRouteCircuitAuthorizationArgs{
            ExpressRouteCircuitName: exampleExpressRouteCircuit.Name,
            ResourceGroupName:       exampleResourceGroup.Name,
        })
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_azure as azure

example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West US")
example_express_route_circuit = azure.network.ExpressRouteCircuit("exampleExpressRouteCircuit",
    resource_group_name=example_resource_group.name,
    location=example_resource_group.location,
    service_provider_name="Equinix",
    peering_location="Silicon Valley",
    bandwidth_in_mbps=50,
    sku={
        "tier": "Standard",
        "family": "MeteredData",
    },
    allow_classic_operations=False,
    tags={
        "environment": "Production",
    })
example_express_route_circuit_authorization = azure.network.ExpressRouteCircuitAuthorization("exampleExpressRouteCircuitAuthorization",
    express_route_circuit_name=example_express_route_circuit.name,
    resource_group_name=example_resource_group.name)
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West US"});
const exampleExpressRouteCircuit = new azure.network.ExpressRouteCircuit("exampleExpressRouteCircuit", {
    resourceGroupName: exampleResourceGroup.name,
    location: exampleResourceGroup.location,
    serviceProviderName: "Equinix",
    peeringLocation: "Silicon Valley",
    bandwidthInMbps: 50,
    sku: {
        tier: "Standard",
        family: "MeteredData",
    },
    allowClassicOperations: false,
    tags: {
        environment: "Production",
    },
});
const exampleExpressRouteCircuitAuthorization = new azure.network.ExpressRouteCircuitAuthorization("exampleExpressRouteCircuitAuthorization", {
    expressRouteCircuitName: exampleExpressRouteCircuit.name,
    resourceGroupName: exampleResourceGroup.name,
});

Create a ExpressRouteCircuitAuthorization Resource

def ExpressRouteCircuitAuthorization(resource_name, opts=None, express_route_circuit_name=None, name=None, resource_group_name=None, __props__=None);
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.
opts ResourceOptions
A bag of options that control this 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.

ExpressRouteCircuitAuthorization Resource Properties

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

Inputs

The ExpressRouteCircuitAuthorization resource accepts the following input properties:

ExpressRouteCircuitName string

The name of the Express Route Circuit in which to create the Authorization.

ResourceGroupName string

The name of the resource group in which to create the ExpressRoute circuit. Changing this forces a new resource to be created.

Name string

The name of the ExpressRoute circuit. Changing this forces a new resource to be created.

ExpressRouteCircuitName string

The name of the Express Route Circuit in which to create the Authorization.

ResourceGroupName string

The name of the resource group in which to create the ExpressRoute circuit. Changing this forces a new resource to be created.

Name string

The name of the ExpressRoute circuit. Changing this forces a new resource to be created.

expressRouteCircuitName string

The name of the Express Route Circuit in which to create the Authorization.

resourceGroupName string

The name of the resource group in which to create the ExpressRoute circuit. Changing this forces a new resource to be created.

name string

The name of the ExpressRoute circuit. Changing this forces a new resource to be created.

express_route_circuit_name str

The name of the Express Route Circuit in which to create the Authorization.

resource_group_name str

The name of the resource group in which to create the ExpressRoute circuit. Changing this forces a new resource to be created.

name str

The name of the ExpressRoute circuit. Changing this forces a new resource to be created.

Outputs

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

AuthorizationKey string

The Authorization Key.

AuthorizationUseStatus string

The authorization use status.

Id string
The provider-assigned unique ID for this managed resource.
AuthorizationKey string

The Authorization Key.

AuthorizationUseStatus string

The authorization use status.

Id string
The provider-assigned unique ID for this managed resource.
authorizationKey string

The Authorization Key.

authorizationUseStatus string

The authorization use status.

id string
The provider-assigned unique ID for this managed resource.
authorization_key str

The Authorization Key.

authorization_use_status str

The authorization use status.

id str
The provider-assigned unique ID for this managed resource.

Look up an Existing ExpressRouteCircuitAuthorization Resource

Get an existing ExpressRouteCircuitAuthorization resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

static get(resource_name, id, opts=None, authorization_key=None, authorization_use_status=None, express_route_circuit_name=None, name=None, resource_group_name=None, __props__=None);
func GetExpressRouteCircuitAuthorization(ctx *Context, name string, id IDInput, state *ExpressRouteCircuitAuthorizationState, opts ...ResourceOption) (*ExpressRouteCircuitAuthorization, error)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

AuthorizationKey string

The Authorization Key.

AuthorizationUseStatus string

The authorization use status.

ExpressRouteCircuitName string

The name of the Express Route Circuit in which to create the Authorization.

Name string

The name of the ExpressRoute circuit. Changing this forces a new resource to be created.

ResourceGroupName string

The name of the resource group in which to create the ExpressRoute circuit. Changing this forces a new resource to be created.

AuthorizationKey string

The Authorization Key.

AuthorizationUseStatus string

The authorization use status.

ExpressRouteCircuitName string

The name of the Express Route Circuit in which to create the Authorization.

Name string

The name of the ExpressRoute circuit. Changing this forces a new resource to be created.

ResourceGroupName string

The name of the resource group in which to create the ExpressRoute circuit. Changing this forces a new resource to be created.

authorizationKey string

The Authorization Key.

authorizationUseStatus string

The authorization use status.

expressRouteCircuitName string

The name of the Express Route Circuit in which to create the Authorization.

name string

The name of the ExpressRoute circuit. Changing this forces a new resource to be created.

resourceGroupName string

The name of the resource group in which to create the ExpressRoute circuit. Changing this forces a new resource to be created.

authorization_key str

The Authorization Key.

authorization_use_status str

The authorization use status.

express_route_circuit_name str

The name of the Express Route Circuit in which to create the Authorization.

name str

The name of the ExpressRoute circuit. Changing this forces a new resource to be created.

resource_group_name str

The name of the resource group in which to create the ExpressRoute circuit. Changing this forces a new resource to be created.

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.