Azure Native v1.102.0, May 2 23
Azure Native v1.102.0, May 2 23
azure-native.network.ExpressRoutePortAuthorization
Explore with Pulumi AI
ExpressRoutePort Authorization resource definition. API Version: 2022-01-01.
Example Usage
Create ExpressRoutePort Authorization
using System.Collections.Generic;
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 (
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 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:
- Express
Route stringPort Name The name of the express route port.
- Resource
Group stringName The name of the resource group.
- 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 stringPort Name The name of the express route port.
- Resource
Group stringName The name of the resource group.
- 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 StringPort Name The name of the express route port.
- resource
Group StringName The name of the resource group.
- 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 stringPort Name The name of the express route port.
- resource
Group stringName The name of the resource group.
- 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_ strport_ name The name of the express route port.
- resource_
group_ strname The name of the resource group.
- 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.
- express
Route StringPort Name The name of the express route port.
- resource
Group StringName The name of the resource group.
- 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:
- string
The authorization key.
- string
The authorization use status.
- Circuit
Resource stringUri 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.
- Provisioning
State string The provisioning state of the authorization resource.
- Type string
Type of the resource.
- string
The authorization key.
- string
The authorization use status.
- Circuit
Resource stringUri 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.
- Provisioning
State string The provisioning state of the authorization resource.
- Type string
Type of the resource.
- String
The authorization key.
- String
The authorization use status.
- circuit
Resource StringUri 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.
- provisioning
State String The provisioning state of the authorization resource.
- type String
Type of the resource.
- string
The authorization key.
- string
The authorization use status.
- circuit
Resource stringUri 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.
- provisioning
State string The provisioning state of the authorization resource.
- type string
Type of the resource.
- str
The authorization key.
- str
The authorization use status.
- circuit_
resource_ struri 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.
- String
The authorization key.
- String
The authorization use status.
- circuit
Resource StringUri 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.
- provisioning
State 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
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0