Azure Native

v1.78.0 published on Wednesday, Sep 14, 2022 by Pulumi

ExpressRouteCircuitAuthorization

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

Example Usage

Create ExpressRouteCircuit Authorization

using System.Collections.Generic;
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/go/azure/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 a ExpressRouteCircuitAuthorization Resource

new ExpressRouteCircuitAuthorization(name: string, args: ExpressRouteCircuitAuthorizationArgs, opts?: CustomResourceOptions);
@overload
def ExpressRouteCircuitAuthorization(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     authorization_key: Optional[str] = None,
                                     authorization_name: Optional[str] = None,
                                     authorization_use_status: Optional[Union[str, AuthorizationUseStatus]] = None,
                                     circuit_name: Optional[str] = None,
                                     id: Optional[str] = None,
                                     name: Optional[str] = None,
                                     resource_group_name: Optional[str] = None)
@overload
def ExpressRouteCircuitAuthorization(resource_name: str,
                                     args: ExpressRouteCircuitAuthorizationInitArgs,
                                     opts: Optional[ResourceOptions] = 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.

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.

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

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 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0