Azure Native

Pulumi Official
Package maintained by Pulumi
v1.67.0 published on Tuesday, Jul 12, 2022 by Pulumi

ExpressRoutePortAuthorization

ExpressRoutePort Authorization resource definition. API Version: 2022-01-01.

Example Usage

Create ExpressRoutePort Authorization

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var expressRoutePortAuthorization = new AzureNative.Network.ExpressRoutePortAuthorization("expressRoutePortAuthorization", new AzureNative.Network.ExpressRoutePortAuthorizationArgs
        {
            AuthorizationName = "authorizatinName",
            ExpressRoutePortName = "expressRoutePortName",
            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.NewExpressRoutePortAuthorization(ctx, "expressRoutePortAuthorization", &network.ExpressRoutePortAuthorizationArgs{
			AuthorizationName:    pulumi.String("authorizatinName"),
			ExpressRoutePortName: pulumi.String("expressRoutePortName"),
			ResourceGroupName:    pulumi.String("rg1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var expressRoutePortAuthorization = new ExpressRoutePortAuthorization("expressRoutePortAuthorization", ExpressRoutePortAuthorizationArgs.builder()        
            .authorizationName("authorizatinName")
            .expressRoutePortName("expressRoutePortName")
            .resourceGroupName("rg1")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

express_route_port_authorization = azure_native.network.ExpressRoutePortAuthorization("expressRoutePortAuthorization",
    authorization_name="authorizatinName",
    express_route_port_name="expressRoutePortName",
    resource_group_name="rg1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const expressRoutePortAuthorization = new azure_native.network.ExpressRoutePortAuthorization("expressRoutePortAuthorization", {
    authorizationName: "authorizatinName",
    expressRoutePortName: "expressRoutePortName",
    resourceGroupName: "rg1",
});
resources:
  expressRoutePortAuthorization:
    type: azure-native:network:ExpressRoutePortAuthorization
    properties:
      authorizationName: authorizatinName
      expressRoutePortName: expressRoutePortName
      resourceGroupName: rg1

Create a ExpressRoutePortAuthorization Resource

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

name string
The unique name of the resource.
args ExpressRoutePortAuthorizationArgs
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 ExpressRoutePortAuthorizationArgs
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 ExpressRoutePortAuthorizationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ExpressRoutePortAuthorizationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ExpressRoutePortAuthorizationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ExpressRoutePortAuthorization 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 ExpressRoutePortAuthorization resource accepts the following input properties:

ExpressRoutePortName string

The name of the express route port.

ResourceGroupName string

The name of the resource group.

AuthorizationName string

The name of the authorization.

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.

ExpressRoutePortName string

The name of the express route port.

ResourceGroupName string

The name of the resource group.

AuthorizationName string

The name of the authorization.

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.

expressRoutePortName String

The name of the express route port.

resourceGroupName String

The name of the resource group.

authorizationName String

The name of the authorization.

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.

expressRoutePortName string

The name of the express route port.

resourceGroupName string

The name of the resource group.

authorizationName string

The name of the authorization.

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.

express_route_port_name str

The name of the express route port.

resource_group_name str

The name of the resource group.

authorization_name str

The name of the authorization.

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.

expressRoutePortName String

The name of the express route port.

resourceGroupName String

The name of the resource group.

authorizationName String

The name of the authorization.

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 ExpressRoutePortAuthorization resource produces the following output properties:

AuthorizationKey string

The authorization key.

AuthorizationUseStatus string

The authorization use status.

CircuitResourceUri string

The reference to the ExpressRoute circuit resource using the authorization.

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.

AuthorizationKey string

The authorization key.

AuthorizationUseStatus string

The authorization use status.

CircuitResourceUri string

The reference to the ExpressRoute circuit resource using the authorization.

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.

authorizationKey String

The authorization key.

authorizationUseStatus String

The authorization use status.

circuitResourceUri String

The reference to the ExpressRoute circuit resource using the authorization.

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.

authorizationKey string

The authorization key.

authorizationUseStatus string

The authorization use status.

circuitResourceUri string

The reference to the ExpressRoute circuit resource using the authorization.

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.

authorization_key str

The authorization key.

authorization_use_status str

The authorization use status.

circuit_resource_uri str

The reference to the ExpressRoute circuit resource using the authorization.

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.

authorizationKey String

The authorization key.

authorizationUseStatus String

The authorization use status.

circuitResourceUri String

The reference to the ExpressRoute circuit resource using the authorization.

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.

Import

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

$ pulumi import azure-native:network:ExpressRoutePortAuthorization authorizationName /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/ExpressRoutePorts/expressRoutePortName/authorizations/authorizationName 

Package Details

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