1. Packages
  2. Volcengine
  3. API Docs
  4. cen
  5. InterRegionBandwidth
Volcengine v0.0.23 published on Wednesday, Jan 3, 2024 by Volcengine

volcengine.cen.InterRegionBandwidth

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.23 published on Wednesday, Jan 3, 2024 by Volcengine

    Provides a resource to manage cen inter region bandwidth

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Volcengine.Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = new Volcengine.Cen.InterRegionBandwidth("foo", new()
        {
            Bandwidth = 1,
            CenId = "cen-274vsbhwvvb407fap8sp611w7",
            LocalRegionId = "cn-north-3",
            PeerRegionId = "cn-zhangjiakou",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cen"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cen.NewInterRegionBandwidth(ctx, "foo", &cen.InterRegionBandwidthArgs{
    			Bandwidth:     pulumi.Int(1),
    			CenId:         pulumi.String("cen-274vsbhwvvb407fap8sp611w7"),
    			LocalRegionId: pulumi.String("cn-north-3"),
    			PeerRegionId:  pulumi.String("cn-zhangjiakou"),
    		})
    		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.volcengine.cen.InterRegionBandwidth;
    import com.pulumi.volcengine.cen.InterRegionBandwidthArgs;
    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 foo = new InterRegionBandwidth("foo", InterRegionBandwidthArgs.builder()        
                .bandwidth(1)
                .cenId("cen-274vsbhwvvb407fap8sp611w7")
                .localRegionId("cn-north-3")
                .peerRegionId("cn-zhangjiakou")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    foo = volcengine.cen.InterRegionBandwidth("foo",
        bandwidth=1,
        cen_id="cen-274vsbhwvvb407fap8sp611w7",
        local_region_id="cn-north-3",
        peer_region_id="cn-zhangjiakou")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@volcengine/pulumi";
    
    const foo = new volcengine.cen.InterRegionBandwidth("foo", {
        bandwidth: 1,
        cenId: "cen-274vsbhwvvb407fap8sp611w7",
        localRegionId: "cn-north-3",
        peerRegionId: "cn-zhangjiakou",
    });
    
    resources:
      foo:
        type: volcengine:cen:InterRegionBandwidth
        properties:
          bandwidth: 1
          cenId: cen-274vsbhwvvb407fap8sp611w7
          localRegionId: cn-north-3
          peerRegionId: cn-zhangjiakou
    

    Create InterRegionBandwidth Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new InterRegionBandwidth(name: string, args: InterRegionBandwidthArgs, opts?: CustomResourceOptions);
    @overload
    def InterRegionBandwidth(resource_name: str,
                             args: InterRegionBandwidthArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def InterRegionBandwidth(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             bandwidth: Optional[int] = None,
                             cen_id: Optional[str] = None,
                             local_region_id: Optional[str] = None,
                             peer_region_id: Optional[str] = None)
    func NewInterRegionBandwidth(ctx *Context, name string, args InterRegionBandwidthArgs, opts ...ResourceOption) (*InterRegionBandwidth, error)
    public InterRegionBandwidth(string name, InterRegionBandwidthArgs args, CustomResourceOptions? opts = null)
    public InterRegionBandwidth(String name, InterRegionBandwidthArgs args)
    public InterRegionBandwidth(String name, InterRegionBandwidthArgs args, CustomResourceOptions options)
    
    type: volcengine:cen:InterRegionBandwidth
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

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

    Example

    The following reference example uses placeholder values for all input properties.

    var interRegionBandwidthResource = new Volcengine.Cen.InterRegionBandwidth("interRegionBandwidthResource", new()
    {
        Bandwidth = 0,
        CenId = "string",
        LocalRegionId = "string",
        PeerRegionId = "string",
    });
    
    example, err := cen.NewInterRegionBandwidth(ctx, "interRegionBandwidthResource", &cen.InterRegionBandwidthArgs{
    	Bandwidth:     pulumi.Int(0),
    	CenId:         pulumi.String("string"),
    	LocalRegionId: pulumi.String("string"),
    	PeerRegionId:  pulumi.String("string"),
    })
    
    var interRegionBandwidthResource = new InterRegionBandwidth("interRegionBandwidthResource", InterRegionBandwidthArgs.builder()        
        .bandwidth(0)
        .cenId("string")
        .localRegionId("string")
        .peerRegionId("string")
        .build());
    
    inter_region_bandwidth_resource = volcengine.cen.InterRegionBandwidth("interRegionBandwidthResource",
        bandwidth=0,
        cen_id="string",
        local_region_id="string",
        peer_region_id="string")
    
    const interRegionBandwidthResource = new volcengine.cen.InterRegionBandwidth("interRegionBandwidthResource", {
        bandwidth: 0,
        cenId: "string",
        localRegionId: "string",
        peerRegionId: "string",
    });
    
    type: volcengine:cen:InterRegionBandwidth
    properties:
        bandwidth: 0
        cenId: string
        localRegionId: string
        peerRegionId: string
    

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

    Bandwidth int
    The bandwidth of the cen inter region bandwidth.
    CenId string
    The cen ID of the cen inter region bandwidth.
    LocalRegionId string
    The local region id of the cen inter region bandwidth.
    PeerRegionId string
    The peer region id of the cen inter region bandwidth.
    Bandwidth int
    The bandwidth of the cen inter region bandwidth.
    CenId string
    The cen ID of the cen inter region bandwidth.
    LocalRegionId string
    The local region id of the cen inter region bandwidth.
    PeerRegionId string
    The peer region id of the cen inter region bandwidth.
    bandwidth Integer
    The bandwidth of the cen inter region bandwidth.
    cenId String
    The cen ID of the cen inter region bandwidth.
    localRegionId String
    The local region id of the cen inter region bandwidth.
    peerRegionId String
    The peer region id of the cen inter region bandwidth.
    bandwidth number
    The bandwidth of the cen inter region bandwidth.
    cenId string
    The cen ID of the cen inter region bandwidth.
    localRegionId string
    The local region id of the cen inter region bandwidth.
    peerRegionId string
    The peer region id of the cen inter region bandwidth.
    bandwidth int
    The bandwidth of the cen inter region bandwidth.
    cen_id str
    The cen ID of the cen inter region bandwidth.
    local_region_id str
    The local region id of the cen inter region bandwidth.
    peer_region_id str
    The peer region id of the cen inter region bandwidth.
    bandwidth Number
    The bandwidth of the cen inter region bandwidth.
    cenId String
    The cen ID of the cen inter region bandwidth.
    localRegionId String
    The local region id of the cen inter region bandwidth.
    peerRegionId String
    The peer region id of the cen inter region bandwidth.

    Outputs

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

    CreationTime string
    The create time of the cen inter region bandwidth.
    Id string
    The provider-assigned unique ID for this managed resource.
    InterRegionBandwidthId string
    The ID of the cen inter region bandwidth.
    Status string
    The status of the cen inter region bandwidth.
    UpdateTime string
    The update time of the cen inter region bandwidth.
    CreationTime string
    The create time of the cen inter region bandwidth.
    Id string
    The provider-assigned unique ID for this managed resource.
    InterRegionBandwidthId string
    The ID of the cen inter region bandwidth.
    Status string
    The status of the cen inter region bandwidth.
    UpdateTime string
    The update time of the cen inter region bandwidth.
    creationTime String
    The create time of the cen inter region bandwidth.
    id String
    The provider-assigned unique ID for this managed resource.
    interRegionBandwidthId String
    The ID of the cen inter region bandwidth.
    status String
    The status of the cen inter region bandwidth.
    updateTime String
    The update time of the cen inter region bandwidth.
    creationTime string
    The create time of the cen inter region bandwidth.
    id string
    The provider-assigned unique ID for this managed resource.
    interRegionBandwidthId string
    The ID of the cen inter region bandwidth.
    status string
    The status of the cen inter region bandwidth.
    updateTime string
    The update time of the cen inter region bandwidth.
    creation_time str
    The create time of the cen inter region bandwidth.
    id str
    The provider-assigned unique ID for this managed resource.
    inter_region_bandwidth_id str
    The ID of the cen inter region bandwidth.
    status str
    The status of the cen inter region bandwidth.
    update_time str
    The update time of the cen inter region bandwidth.
    creationTime String
    The create time of the cen inter region bandwidth.
    id String
    The provider-assigned unique ID for this managed resource.
    interRegionBandwidthId String
    The ID of the cen inter region bandwidth.
    status String
    The status of the cen inter region bandwidth.
    updateTime String
    The update time of the cen inter region bandwidth.

    Look up Existing InterRegionBandwidth Resource

    Get an existing InterRegionBandwidth 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?: InterRegionBandwidthState, opts?: CustomResourceOptions): InterRegionBandwidth
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            bandwidth: Optional[int] = None,
            cen_id: Optional[str] = None,
            creation_time: Optional[str] = None,
            inter_region_bandwidth_id: Optional[str] = None,
            local_region_id: Optional[str] = None,
            peer_region_id: Optional[str] = None,
            status: Optional[str] = None,
            update_time: Optional[str] = None) -> InterRegionBandwidth
    func GetInterRegionBandwidth(ctx *Context, name string, id IDInput, state *InterRegionBandwidthState, opts ...ResourceOption) (*InterRegionBandwidth, error)
    public static InterRegionBandwidth Get(string name, Input<string> id, InterRegionBandwidthState? state, CustomResourceOptions? opts = null)
    public static InterRegionBandwidth get(String name, Output<String> id, InterRegionBandwidthState 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:
    Bandwidth int
    The bandwidth of the cen inter region bandwidth.
    CenId string
    The cen ID of the cen inter region bandwidth.
    CreationTime string
    The create time of the cen inter region bandwidth.
    InterRegionBandwidthId string
    The ID of the cen inter region bandwidth.
    LocalRegionId string
    The local region id of the cen inter region bandwidth.
    PeerRegionId string
    The peer region id of the cen inter region bandwidth.
    Status string
    The status of the cen inter region bandwidth.
    UpdateTime string
    The update time of the cen inter region bandwidth.
    Bandwidth int
    The bandwidth of the cen inter region bandwidth.
    CenId string
    The cen ID of the cen inter region bandwidth.
    CreationTime string
    The create time of the cen inter region bandwidth.
    InterRegionBandwidthId string
    The ID of the cen inter region bandwidth.
    LocalRegionId string
    The local region id of the cen inter region bandwidth.
    PeerRegionId string
    The peer region id of the cen inter region bandwidth.
    Status string
    The status of the cen inter region bandwidth.
    UpdateTime string
    The update time of the cen inter region bandwidth.
    bandwidth Integer
    The bandwidth of the cen inter region bandwidth.
    cenId String
    The cen ID of the cen inter region bandwidth.
    creationTime String
    The create time of the cen inter region bandwidth.
    interRegionBandwidthId String
    The ID of the cen inter region bandwidth.
    localRegionId String
    The local region id of the cen inter region bandwidth.
    peerRegionId String
    The peer region id of the cen inter region bandwidth.
    status String
    The status of the cen inter region bandwidth.
    updateTime String
    The update time of the cen inter region bandwidth.
    bandwidth number
    The bandwidth of the cen inter region bandwidth.
    cenId string
    The cen ID of the cen inter region bandwidth.
    creationTime string
    The create time of the cen inter region bandwidth.
    interRegionBandwidthId string
    The ID of the cen inter region bandwidth.
    localRegionId string
    The local region id of the cen inter region bandwidth.
    peerRegionId string
    The peer region id of the cen inter region bandwidth.
    status string
    The status of the cen inter region bandwidth.
    updateTime string
    The update time of the cen inter region bandwidth.
    bandwidth int
    The bandwidth of the cen inter region bandwidth.
    cen_id str
    The cen ID of the cen inter region bandwidth.
    creation_time str
    The create time of the cen inter region bandwidth.
    inter_region_bandwidth_id str
    The ID of the cen inter region bandwidth.
    local_region_id str
    The local region id of the cen inter region bandwidth.
    peer_region_id str
    The peer region id of the cen inter region bandwidth.
    status str
    The status of the cen inter region bandwidth.
    update_time str
    The update time of the cen inter region bandwidth.
    bandwidth Number
    The bandwidth of the cen inter region bandwidth.
    cenId String
    The cen ID of the cen inter region bandwidth.
    creationTime String
    The create time of the cen inter region bandwidth.
    interRegionBandwidthId String
    The ID of the cen inter region bandwidth.
    localRegionId String
    The local region id of the cen inter region bandwidth.
    peerRegionId String
    The peer region id of the cen inter region bandwidth.
    status String
    The status of the cen inter region bandwidth.
    updateTime String
    The update time of the cen inter region bandwidth.

    Import

    CenInterRegionBandwidth can be imported using the id, e.g.

     $ pulumi import volcengine:cen/interRegionBandwidth:InterRegionBandwidth default cirb-3tex2x1cwd4c6c0v****
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.23 published on Wednesday, Jan 3, 2024 by Volcengine