1. Packages
  2. Azure Native
  3. API Docs
  4. network
  5. ExpressRoutePortAuthorization
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.33.0 published on Friday, Mar 22, 2024 by Pulumi

azure-native.network.ExpressRoutePortAuthorization

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.33.0 published on Friday, Mar 22, 2024 by Pulumi

    ExpressRoutePort Authorization resource definition. Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2022-01-01.

    Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01.

    Example Usage

    Create ExpressRoutePort Authorization

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var expressRoutePortAuthorization = new AzureNative.Network.ExpressRoutePortAuthorization("expressRoutePortAuthorization", new()
        {
            AuthorizationName = "authorizatinName",
            ExpressRoutePortName = "expressRoutePortName",
            ResourceGroupName = "rg1",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/network/v2"
    	"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 com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.network.ExpressRoutePortAuthorization;
    import com.pulumi.azurenative.network.ExpressRoutePortAuthorizationArgs;
    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 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 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/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations/{authorizationName} 
    

    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 v1 docs if using the v1 version of this package.
    Azure Native v2.33.0 published on Friday, Mar 22, 2024 by Pulumi