alicloud.cen.InterRegionTrafficQosPolicy

Provides a Cloud Enterprise Network (CEN) Inter Region Traffic Qos Policy resource.

For information about Cloud Enterprise Network (CEN) Inter Region Traffic Qos Policy and how to use it, see What is Inter Region Traffic Qos Policy.

NOTE: Available in v1.195.0+.

Example Usage

Basic Usage

using System.Collections.Generic;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var bj = new AliCloud.Provider("bj", new()
    {
        Region = "cn-beijing",
    });

    var hz = new AliCloud.Provider("hz", new()
    {
        Region = "cn-hangzhou",
    });

    var defaultInstance = new AliCloud.Cen.Instance("defaultInstance", new()
    {
        CenInstanceName = "tf-example",
    }, new CustomResourceOptions
    {
        Provider = alicloud.Hz,
    });

    var defaultBandwidthPackage = new AliCloud.Cen.BandwidthPackage("defaultBandwidthPackage", new()
    {
        Bandwidth = 5,
        GeographicRegionAId = "China",
        GeographicRegionBId = "China",
    }, new CustomResourceOptions
    {
        Provider = alicloud.Hz,
    });

    var defaultBandwidthPackageAttachment = new AliCloud.Cen.BandwidthPackageAttachment("defaultBandwidthPackageAttachment", new()
    {
        InstanceId = defaultInstance.Id,
        BandwidthPackageId = defaultBandwidthPackage.Id,
    }, new CustomResourceOptions
    {
        Provider = alicloud.Hz,
    });

    var hzTransitRouter = new AliCloud.Cen.TransitRouter("hzTransitRouter", new()
    {
        CenId = defaultBandwidthPackageAttachment.InstanceId,
    }, new CustomResourceOptions
    {
        Provider = alicloud.Hz,
    });

    var bjTransitRouter = new AliCloud.Cen.TransitRouter("bjTransitRouter", new()
    {
        CenId = hzTransitRouter.CenId,
    }, new CustomResourceOptions
    {
        Provider = alicloud.Bj,
    });

    var defaultTransitRouterPeerAttachment = new AliCloud.Cen.TransitRouterPeerAttachment("defaultTransitRouterPeerAttachment", new()
    {
        CenId = defaultInstance.Id,
        TransitRouterId = hzTransitRouter.TransitRouterId,
        PeerTransitRouterRegionId = "cn-beijing",
        PeerTransitRouterId = bjTransitRouter.TransitRouterId,
        CenBandwidthPackageId = defaultBandwidthPackageAttachment.BandwidthPackageId,
        Bandwidth = 5,
    }, new CustomResourceOptions
    {
        Provider = alicloud.Hz,
    });

    var defaultInterRegionTrafficQosPolicy = new AliCloud.Cen.InterRegionTrafficQosPolicy("defaultInterRegionTrafficQosPolicy", new()
    {
        TransitRouterId = hzTransitRouter.TransitRouterId,
        TransitRouterAttachmentId = defaultTransitRouterPeerAttachment.TransitRouterAttachmentId,
        InterRegionTrafficQosPolicyName = "tf-example-name",
        InterRegionTrafficQosPolicyDescription = "tf-example-description",
    }, new CustomResourceOptions
    {
        Provider = alicloud.Hz,
    });

});
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := alicloud.NewProvider(ctx, "bj", &alicloud.ProviderArgs{
			Region: pulumi.String("cn-beijing"),
		})
		if err != nil {
			return err
		}
		_, err = alicloud.NewProvider(ctx, "hz", &alicloud.ProviderArgs{
			Region: pulumi.String("cn-hangzhou"),
		})
		if err != nil {
			return err
		}
		defaultInstance, err := cen.NewInstance(ctx, "defaultInstance", &cen.InstanceArgs{
			CenInstanceName: pulumi.String("tf-example"),
		}, pulumi.Provider(alicloud.Hz))
		if err != nil {
			return err
		}
		defaultBandwidthPackage, err := cen.NewBandwidthPackage(ctx, "defaultBandwidthPackage", &cen.BandwidthPackageArgs{
			Bandwidth:           pulumi.Int(5),
			GeographicRegionAId: pulumi.String("China"),
			GeographicRegionBId: pulumi.String("China"),
		}, pulumi.Provider(alicloud.Hz))
		if err != nil {
			return err
		}
		defaultBandwidthPackageAttachment, err := cen.NewBandwidthPackageAttachment(ctx, "defaultBandwidthPackageAttachment", &cen.BandwidthPackageAttachmentArgs{
			InstanceId:         defaultInstance.ID(),
			BandwidthPackageId: defaultBandwidthPackage.ID(),
		}, pulumi.Provider(alicloud.Hz))
		if err != nil {
			return err
		}
		hzTransitRouter, err := cen.NewTransitRouter(ctx, "hzTransitRouter", &cen.TransitRouterArgs{
			CenId: defaultBandwidthPackageAttachment.InstanceId,
		}, pulumi.Provider(alicloud.Hz))
		if err != nil {
			return err
		}
		bjTransitRouter, err := cen.NewTransitRouter(ctx, "bjTransitRouter", &cen.TransitRouterArgs{
			CenId: hzTransitRouter.CenId,
		}, pulumi.Provider(alicloud.Bj))
		if err != nil {
			return err
		}
		defaultTransitRouterPeerAttachment, err := cen.NewTransitRouterPeerAttachment(ctx, "defaultTransitRouterPeerAttachment", &cen.TransitRouterPeerAttachmentArgs{
			CenId:                     defaultInstance.ID(),
			TransitRouterId:           hzTransitRouter.TransitRouterId,
			PeerTransitRouterRegionId: pulumi.String("cn-beijing"),
			PeerTransitRouterId:       bjTransitRouter.TransitRouterId,
			CenBandwidthPackageId:     defaultBandwidthPackageAttachment.BandwidthPackageId,
			Bandwidth:                 pulumi.Int(5),
		}, pulumi.Provider(alicloud.Hz))
		if err != nil {
			return err
		}
		_, err = cen.NewInterRegionTrafficQosPolicy(ctx, "defaultInterRegionTrafficQosPolicy", &cen.InterRegionTrafficQosPolicyArgs{
			TransitRouterId:                        hzTransitRouter.TransitRouterId,
			TransitRouterAttachmentId:              defaultTransitRouterPeerAttachment.TransitRouterAttachmentId,
			InterRegionTrafficQosPolicyName:        pulumi.String("tf-example-name"),
			InterRegionTrafficQosPolicyDescription: pulumi.String("tf-example-description"),
		}, pulumi.Provider(alicloud.Hz))
		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.alicloud.Provider;
import com.pulumi.alicloud.ProviderArgs;
import com.pulumi.alicloud.cen.Instance;
import com.pulumi.alicloud.cen.InstanceArgs;
import com.pulumi.alicloud.cen.BandwidthPackage;
import com.pulumi.alicloud.cen.BandwidthPackageArgs;
import com.pulumi.alicloud.cen.BandwidthPackageAttachment;
import com.pulumi.alicloud.cen.BandwidthPackageAttachmentArgs;
import com.pulumi.alicloud.cen.TransitRouter;
import com.pulumi.alicloud.cen.TransitRouterArgs;
import com.pulumi.alicloud.cen.TransitRouterPeerAttachment;
import com.pulumi.alicloud.cen.TransitRouterPeerAttachmentArgs;
import com.pulumi.alicloud.cen.InterRegionTrafficQosPolicy;
import com.pulumi.alicloud.cen.InterRegionTrafficQosPolicyArgs;
import com.pulumi.resources.CustomResourceOptions;
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 bj = new Provider("bj", ProviderArgs.builder()        
            .region("cn-beijing")
            .build());

        var hz = new Provider("hz", ProviderArgs.builder()        
            .region("cn-hangzhou")
            .build());

        var defaultInstance = new Instance("defaultInstance", InstanceArgs.builder()        
            .cenInstanceName("tf-example")
            .build(), CustomResourceOptions.builder()
                .provider(alicloud.hz())
                .build());

        var defaultBandwidthPackage = new BandwidthPackage("defaultBandwidthPackage", BandwidthPackageArgs.builder()        
            .bandwidth(5)
            .geographicRegionAId("China")
            .geographicRegionBId("China")
            .build(), CustomResourceOptions.builder()
                .provider(alicloud.hz())
                .build());

        var defaultBandwidthPackageAttachment = new BandwidthPackageAttachment("defaultBandwidthPackageAttachment", BandwidthPackageAttachmentArgs.builder()        
            .instanceId(defaultInstance.id())
            .bandwidthPackageId(defaultBandwidthPackage.id())
            .build(), CustomResourceOptions.builder()
                .provider(alicloud.hz())
                .build());

        var hzTransitRouter = new TransitRouter("hzTransitRouter", TransitRouterArgs.builder()        
            .cenId(defaultBandwidthPackageAttachment.instanceId())
            .build(), CustomResourceOptions.builder()
                .provider(alicloud.hz())
                .build());

        var bjTransitRouter = new TransitRouter("bjTransitRouter", TransitRouterArgs.builder()        
            .cenId(hzTransitRouter.cenId())
            .build(), CustomResourceOptions.builder()
                .provider(alicloud.bj())
                .build());

        var defaultTransitRouterPeerAttachment = new TransitRouterPeerAttachment("defaultTransitRouterPeerAttachment", TransitRouterPeerAttachmentArgs.builder()        
            .cenId(defaultInstance.id())
            .transitRouterId(hzTransitRouter.transitRouterId())
            .peerTransitRouterRegionId("cn-beijing")
            .peerTransitRouterId(bjTransitRouter.transitRouterId())
            .cenBandwidthPackageId(defaultBandwidthPackageAttachment.bandwidthPackageId())
            .bandwidth(5)
            .build(), CustomResourceOptions.builder()
                .provider(alicloud.hz())
                .build());

        var defaultInterRegionTrafficQosPolicy = new InterRegionTrafficQosPolicy("defaultInterRegionTrafficQosPolicy", InterRegionTrafficQosPolicyArgs.builder()        
            .transitRouterId(hzTransitRouter.transitRouterId())
            .transitRouterAttachmentId(defaultTransitRouterPeerAttachment.transitRouterAttachmentId())
            .interRegionTrafficQosPolicyName("tf-example-name")
            .interRegionTrafficQosPolicyDescription("tf-example-description")
            .build(), CustomResourceOptions.builder()
                .provider(alicloud.hz())
                .build());

    }
}
import pulumi
import pulumi_alicloud as alicloud

bj = alicloud.Provider("bj", region="cn-beijing")
hz = alicloud.Provider("hz", region="cn-hangzhou")
default_instance = alicloud.cen.Instance("defaultInstance", cen_instance_name="tf-example",
opts=pulumi.ResourceOptions(provider=alicloud["hz"]))
default_bandwidth_package = alicloud.cen.BandwidthPackage("defaultBandwidthPackage",
    bandwidth=5,
    geographic_region_a_id="China",
    geographic_region_b_id="China",
    opts=pulumi.ResourceOptions(provider=alicloud["hz"]))
default_bandwidth_package_attachment = alicloud.cen.BandwidthPackageAttachment("defaultBandwidthPackageAttachment",
    instance_id=default_instance.id,
    bandwidth_package_id=default_bandwidth_package.id,
    opts=pulumi.ResourceOptions(provider=alicloud["hz"]))
hz_transit_router = alicloud.cen.TransitRouter("hzTransitRouter", cen_id=default_bandwidth_package_attachment.instance_id,
opts=pulumi.ResourceOptions(provider=alicloud["hz"]))
bj_transit_router = alicloud.cen.TransitRouter("bjTransitRouter", cen_id=hz_transit_router.cen_id,
opts=pulumi.ResourceOptions(provider=alicloud["bj"]))
default_transit_router_peer_attachment = alicloud.cen.TransitRouterPeerAttachment("defaultTransitRouterPeerAttachment",
    cen_id=default_instance.id,
    transit_router_id=hz_transit_router.transit_router_id,
    peer_transit_router_region_id="cn-beijing",
    peer_transit_router_id=bj_transit_router.transit_router_id,
    cen_bandwidth_package_id=default_bandwidth_package_attachment.bandwidth_package_id,
    bandwidth=5,
    opts=pulumi.ResourceOptions(provider=alicloud["hz"]))
default_inter_region_traffic_qos_policy = alicloud.cen.InterRegionTrafficQosPolicy("defaultInterRegionTrafficQosPolicy",
    transit_router_id=hz_transit_router.transit_router_id,
    transit_router_attachment_id=default_transit_router_peer_attachment.transit_router_attachment_id,
    inter_region_traffic_qos_policy_name="tf-example-name",
    inter_region_traffic_qos_policy_description="tf-example-description",
    opts=pulumi.ResourceOptions(provider=alicloud["hz"]))
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const bj = new alicloud.Provider("bj", {region: "cn-beijing"});
const hz = new alicloud.Provider("hz", {region: "cn-hangzhou"});
const defaultInstance = new alicloud.cen.Instance("defaultInstance", {cenInstanceName: "tf-example"}, {
    provider: alicloud.hz,
});
const defaultBandwidthPackage = new alicloud.cen.BandwidthPackage("defaultBandwidthPackage", {
    bandwidth: 5,
    geographicRegionAId: "China",
    geographicRegionBId: "China",
}, {
    provider: alicloud.hz,
});
const defaultBandwidthPackageAttachment = new alicloud.cen.BandwidthPackageAttachment("defaultBandwidthPackageAttachment", {
    instanceId: defaultInstance.id,
    bandwidthPackageId: defaultBandwidthPackage.id,
}, {
    provider: alicloud.hz,
});
const hzTransitRouter = new alicloud.cen.TransitRouter("hzTransitRouter", {cenId: defaultBandwidthPackageAttachment.instanceId}, {
    provider: alicloud.hz,
});
const bjTransitRouter = new alicloud.cen.TransitRouter("bjTransitRouter", {cenId: hzTransitRouter.cenId}, {
    provider: alicloud.bj,
});
const defaultTransitRouterPeerAttachment = new alicloud.cen.TransitRouterPeerAttachment("defaultTransitRouterPeerAttachment", {
    cenId: defaultInstance.id,
    transitRouterId: hzTransitRouter.transitRouterId,
    peerTransitRouterRegionId: "cn-beijing",
    peerTransitRouterId: bjTransitRouter.transitRouterId,
    cenBandwidthPackageId: defaultBandwidthPackageAttachment.bandwidthPackageId,
    bandwidth: 5,
}, {
    provider: alicloud.hz,
});
const defaultInterRegionTrafficQosPolicy = new alicloud.cen.InterRegionTrafficQosPolicy("defaultInterRegionTrafficQosPolicy", {
    transitRouterId: hzTransitRouter.transitRouterId,
    transitRouterAttachmentId: defaultTransitRouterPeerAttachment.transitRouterAttachmentId,
    interRegionTrafficQosPolicyName: "tf-example-name",
    interRegionTrafficQosPolicyDescription: "tf-example-description",
}, {
    provider: alicloud.hz,
});
resources:
  bj:
    type: pulumi:providers:alicloud
    properties:
      region: cn-beijing
  hz:
    type: pulumi:providers:alicloud
    properties:
      region: cn-hangzhou
  defaultInstance:
    type: alicloud:cen:Instance
    properties:
      cenInstanceName: tf-example
    options:
      provider: ${alicloud.hz}
  defaultBandwidthPackage:
    type: alicloud:cen:BandwidthPackage
    properties:
      bandwidth: 5
      geographicRegionAId: China
      geographicRegionBId: China
    options:
      provider: ${alicloud.hz}
  defaultBandwidthPackageAttachment:
    type: alicloud:cen:BandwidthPackageAttachment
    properties:
      instanceId: ${defaultInstance.id}
      bandwidthPackageId: ${defaultBandwidthPackage.id}
    options:
      provider: ${alicloud.hz}
  hzTransitRouter:
    type: alicloud:cen:TransitRouter
    properties:
      cenId: ${defaultBandwidthPackageAttachment.instanceId}
    options:
      provider: ${alicloud.hz}
  bjTransitRouter:
    type: alicloud:cen:TransitRouter
    properties:
      cenId: ${hzTransitRouter.cenId}
    options:
      provider: ${alicloud.bj}
  defaultTransitRouterPeerAttachment:
    type: alicloud:cen:TransitRouterPeerAttachment
    properties:
      cenId: ${defaultInstance.id}
      transitRouterId: ${hzTransitRouter.transitRouterId}
      peerTransitRouterRegionId: cn-beijing
      peerTransitRouterId: ${bjTransitRouter.transitRouterId}
      cenBandwidthPackageId: ${defaultBandwidthPackageAttachment.bandwidthPackageId}
      bandwidth: 5
    options:
      provider: ${alicloud.hz}
  defaultInterRegionTrafficQosPolicy:
    type: alicloud:cen:InterRegionTrafficQosPolicy
    properties:
      transitRouterId: ${hzTransitRouter.transitRouterId}
      transitRouterAttachmentId: ${defaultTransitRouterPeerAttachment.transitRouterAttachmentId}
      interRegionTrafficQosPolicyName: tf-example-name
      interRegionTrafficQosPolicyDescription: tf-example-description
    options:
      provider: ${alicloud.hz}

Create InterRegionTrafficQosPolicy Resource

new InterRegionTrafficQosPolicy(name: string, args: InterRegionTrafficQosPolicyArgs, opts?: CustomResourceOptions);
@overload
def InterRegionTrafficQosPolicy(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                inter_region_traffic_qos_policy_description: Optional[str] = None,
                                inter_region_traffic_qos_policy_name: Optional[str] = None,
                                transit_router_attachment_id: Optional[str] = None,
                                transit_router_id: Optional[str] = None)
@overload
def InterRegionTrafficQosPolicy(resource_name: str,
                                args: InterRegionTrafficQosPolicyArgs,
                                opts: Optional[ResourceOptions] = None)
func NewInterRegionTrafficQosPolicy(ctx *Context, name string, args InterRegionTrafficQosPolicyArgs, opts ...ResourceOption) (*InterRegionTrafficQosPolicy, error)
public InterRegionTrafficQosPolicy(string name, InterRegionTrafficQosPolicyArgs args, CustomResourceOptions? opts = null)
public InterRegionTrafficQosPolicy(String name, InterRegionTrafficQosPolicyArgs args)
public InterRegionTrafficQosPolicy(String name, InterRegionTrafficQosPolicyArgs args, CustomResourceOptions options)
type: alicloud:cen:InterRegionTrafficQosPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

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

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

TransitRouterAttachmentId string

The ID of the inter-region connection.

TransitRouterId string

The ID of the transit router.

InterRegionTrafficQosPolicyDescription string

The description of the QoS policy. The description must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The description must start with a letter.

InterRegionTrafficQosPolicyName string

The name of the QoS policy. The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.

TransitRouterAttachmentId string

The ID of the inter-region connection.

TransitRouterId string

The ID of the transit router.

InterRegionTrafficQosPolicyDescription string

The description of the QoS policy. The description must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The description must start with a letter.

InterRegionTrafficQosPolicyName string

The name of the QoS policy. The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.

transitRouterAttachmentId String

The ID of the inter-region connection.

transitRouterId String

The ID of the transit router.

interRegionTrafficQosPolicyDescription String

The description of the QoS policy. The description must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The description must start with a letter.

interRegionTrafficQosPolicyName String

The name of the QoS policy. The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.

transitRouterAttachmentId string

The ID of the inter-region connection.

transitRouterId string

The ID of the transit router.

interRegionTrafficQosPolicyDescription string

The description of the QoS policy. The description must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The description must start with a letter.

interRegionTrafficQosPolicyName string

The name of the QoS policy. The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.

transit_router_attachment_id str

The ID of the inter-region connection.

transit_router_id str

The ID of the transit router.

inter_region_traffic_qos_policy_description str

The description of the QoS policy. The description must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The description must start with a letter.

inter_region_traffic_qos_policy_name str

The name of the QoS policy. The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.

transitRouterAttachmentId String

The ID of the inter-region connection.

transitRouterId String

The ID of the transit router.

interRegionTrafficQosPolicyDescription String

The description of the QoS policy. The description must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The description must start with a letter.

interRegionTrafficQosPolicyName String

The name of the QoS policy. The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Status string

The status of the Inter Region Traffic Qos Policy.

Id string

The provider-assigned unique ID for this managed resource.

Status string

The status of the Inter Region Traffic Qos Policy.

id String

The provider-assigned unique ID for this managed resource.

status String

The status of the Inter Region Traffic Qos Policy.

id string

The provider-assigned unique ID for this managed resource.

status string

The status of the Inter Region Traffic Qos Policy.

id str

The provider-assigned unique ID for this managed resource.

status str

The status of the Inter Region Traffic Qos Policy.

id String

The provider-assigned unique ID for this managed resource.

status String

The status of the Inter Region Traffic Qos Policy.

Look up Existing InterRegionTrafficQosPolicy Resource

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

public static get(name: string, id: Input<ID>, state?: InterRegionTrafficQosPolicyState, opts?: CustomResourceOptions): InterRegionTrafficQosPolicy
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        inter_region_traffic_qos_policy_description: Optional[str] = None,
        inter_region_traffic_qos_policy_name: Optional[str] = None,
        status: Optional[str] = None,
        transit_router_attachment_id: Optional[str] = None,
        transit_router_id: Optional[str] = None) -> InterRegionTrafficQosPolicy
func GetInterRegionTrafficQosPolicy(ctx *Context, name string, id IDInput, state *InterRegionTrafficQosPolicyState, opts ...ResourceOption) (*InterRegionTrafficQosPolicy, error)
public static InterRegionTrafficQosPolicy Get(string name, Input<string> id, InterRegionTrafficQosPolicyState? state, CustomResourceOptions? opts = null)
public static InterRegionTrafficQosPolicy get(String name, Output<String> id, InterRegionTrafficQosPolicyState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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.
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:
InterRegionTrafficQosPolicyDescription string

The description of the QoS policy. The description must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The description must start with a letter.

InterRegionTrafficQosPolicyName string

The name of the QoS policy. The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.

Status string

The status of the Inter Region Traffic Qos Policy.

TransitRouterAttachmentId string

The ID of the inter-region connection.

TransitRouterId string

The ID of the transit router.

InterRegionTrafficQosPolicyDescription string

The description of the QoS policy. The description must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The description must start with a letter.

InterRegionTrafficQosPolicyName string

The name of the QoS policy. The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.

Status string

The status of the Inter Region Traffic Qos Policy.

TransitRouterAttachmentId string

The ID of the inter-region connection.

TransitRouterId string

The ID of the transit router.

interRegionTrafficQosPolicyDescription String

The description of the QoS policy. The description must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The description must start with a letter.

interRegionTrafficQosPolicyName String

The name of the QoS policy. The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.

status String

The status of the Inter Region Traffic Qos Policy.

transitRouterAttachmentId String

The ID of the inter-region connection.

transitRouterId String

The ID of the transit router.

interRegionTrafficQosPolicyDescription string

The description of the QoS policy. The description must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The description must start with a letter.

interRegionTrafficQosPolicyName string

The name of the QoS policy. The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.

status string

The status of the Inter Region Traffic Qos Policy.

transitRouterAttachmentId string

The ID of the inter-region connection.

transitRouterId string

The ID of the transit router.

inter_region_traffic_qos_policy_description str

The description of the QoS policy. The description must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The description must start with a letter.

inter_region_traffic_qos_policy_name str

The name of the QoS policy. The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.

status str

The status of the Inter Region Traffic Qos Policy.

transit_router_attachment_id str

The ID of the inter-region connection.

transit_router_id str

The ID of the transit router.

interRegionTrafficQosPolicyDescription String

The description of the QoS policy. The description must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The description must start with a letter.

interRegionTrafficQosPolicyName String

The name of the QoS policy. The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.

status String

The status of the Inter Region Traffic Qos Policy.

transitRouterAttachmentId String

The ID of the inter-region connection.

transitRouterId String

The ID of the transit router.

Import

Cloud Enterprise Network (CEN) Inter Region Traffic Qos Policy can be imported using the id, e.g.

 $ pulumi import alicloud:cen/interRegionTrafficQosPolicy:InterRegionTrafficQosPolicy example <id>

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.