Show / Hide Table of Contents

Namespace Pulumi.AliCloud.CloudConnect

Classes

GetNetworks

GetNetworksArgs

GetNetworksResult

Network

Provides a cloud connect network resource. Cloud Connect Network (CCN) is another important component of Smart Access Gateway. It is a device access matrix composed of Alibaba Cloud distributed access gateways. You can add multiple Smart Access Gateway (SAG) devices to a CCN instance and then attach the CCN instance to a Cloud Enterprise Network (CEN) instance to connect the local branches to the Alibaba Cloud.

For information about cloud connect network and how to use it, see What is Cloud Connect Network.

NOTE: Available in 1.59.0+

NOTE: Only the following regions support create Cloud Connect Network. [cn-shanghai, cn-shanghai-finance-1, cn-hongkong, ap-southeast-1, ap-southeast-2, ap-southeast-3, ap-southeast-5, ap-northeast-1, eu-central-1]

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
public MyStack()
{
    var @default = new AliCloud.CloudConnect.Network("default", new AliCloud.CloudConnect.NetworkArgs
    {
        CidrBlock = "192.168.0.0/24",
        Description = "tf-testAccCloudConnectNetworkDescription",
        IsDefault = true,
    });
}

}

NetworkArgs

NetworkAttachment

Provides a Cloud Connect Network Attachment resource. This topic describes how to associate a Smart Access Gateway (SAG) instance with a network instance. You must associate an SAG instance with a network instance if you want to connect the SAG to Alibaba Cloud. You can connect an SAG to Alibaba Cloud through a leased line, the Internet, or the active and standby links.

For information about Cloud Connect Network Attachment and how to use it, see What is Cloud Connect Network Attachment.

NOTE: Available in 1.64.0+

NOTE: Only the following regions support. [cn-shanghai, cn-shanghai-finance-1, cn-hongkong, ap-southeast-1, ap-southeast-2, ap-southeast-3, ap-southeast-5, ap-northeast-1, eu-central-1]

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
public MyStack()
{
    var ccn = new AliCloud.CloudConnect.Network("ccn", new AliCloud.CloudConnect.NetworkArgs
    {
        IsDefault = "true",
    });
    var @default = new AliCloud.CloudConnect.NetworkAttachment("default", new AliCloud.CloudConnect.NetworkAttachmentArgs
    {
        CcnId = ccn.Id,
        SagId = "sag-xxxxx",
    });
}

}

NetworkAttachmentArgs

NetworkAttachmentState

NetworkGrant

Provides a Cloud Connect Network Grant resource. If the CEN instance to be attached belongs to another account, authorization by the CEN instance is required.

For information about Cloud Connect Network Grant and how to use it, see What is Cloud Connect Network Grant.

NOTE: Available in 1.63.0+

NOTE: Only the following regions support create Cloud Connect Network Grant. [cn-shanghai, cn-shanghai-finance-1, cn-hongkong, ap-southeast-1, ap-southeast-2, ap-southeast-3, ap-southeast-5, ap-northeast-1, eu-central-1]

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
public MyStack()
{
    var ccnAccount = new AliCloud.Provider("ccnAccount", new AliCloud.ProviderArgs
    {
    });
    var cenAccount = new AliCloud.Provider("cenAccount", new AliCloud.ProviderArgs
    {
        AccessKey = "xxxxxx",
        Region = "cn-hangzhou",
        SecretKey = "xxxxxx",
    });
    var cen = new AliCloud.Cen.Instance("cen", new AliCloud.Cen.InstanceArgs
    {
    });
    var ccn = new AliCloud.CloudConnect.Network("ccn", new AliCloud.CloudConnect.NetworkArgs
    {
        IsDefault = "true",
    });
    var @default = new AliCloud.CloudConnect.NetworkGrant("default", new AliCloud.CloudConnect.NetworkGrantArgs
    {
        CcnId = ccn.Id,
        CenId = cen.Id,
        CenUid = "xxxxxx",
    });
}

}

NetworkGrantArgs

NetworkGrantState

NetworkState

Back to top Copyright 2016-2020, Pulumi Corporation.