Documentation ¶
Index ¶
- func PkgVersion() (semver.Version, error)
- type Connection
- type ConnectionArgs
- type ConnectionArray
- type ConnectionArrayInput
- type ConnectionArrayOutput
- func (ConnectionArrayOutput) ElementType() reflect.Type
- func (o ConnectionArrayOutput) Index(i pulumi.IntInput) ConnectionOutput
- func (o ConnectionArrayOutput) ToConnectionArrayOutput() ConnectionArrayOutput
- func (o ConnectionArrayOutput) ToConnectionArrayOutputWithContext(ctx context.Context) ConnectionArrayOutput
- type ConnectionInput
- type ConnectionMap
- type ConnectionMapInput
- type ConnectionMapOutput
- func (ConnectionMapOutput) ElementType() reflect.Type
- func (o ConnectionMapOutput) MapIndex(k pulumi.StringInput) ConnectionOutput
- func (o ConnectionMapOutput) ToConnectionMapOutput() ConnectionMapOutput
- func (o ConnectionMapOutput) ToConnectionMapOutputWithContext(ctx context.Context) ConnectionMapOutput
- type ConnectionOutput
- func (o ConnectionOutput) BandwidthPackageNumber() pulumi.IntOutput
- func (o ConnectionOutput) Description() pulumi.StringOutput
- func (o ConnectionOutput) DomainId() pulumi.StringOutput
- func (ConnectionOutput) ElementType() reflect.Type
- func (o ConnectionOutput) EnterpriseProjectId() pulumi.StringOutput
- func (o ConnectionOutput) InterRegionBandwidthNumber() pulumi.IntOutput
- func (o ConnectionOutput) Name() pulumi.StringOutput
- func (o ConnectionOutput) NetworkInstanceNumber() pulumi.IntOutput
- func (o ConnectionOutput) Region() pulumi.StringOutput
- func (o ConnectionOutput) Status() pulumi.StringOutput
- func (o ConnectionOutput) ToConnectionOutput() ConnectionOutput
- func (o ConnectionOutput) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput
- func (o ConnectionOutput) UsedScene() pulumi.StringOutput
- type ConnectionState
- type NetworkInstance
- type NetworkInstanceArgs
- type NetworkInstanceArray
- type NetworkInstanceArrayInput
- type NetworkInstanceArrayOutput
- func (NetworkInstanceArrayOutput) ElementType() reflect.Type
- func (o NetworkInstanceArrayOutput) Index(i pulumi.IntInput) NetworkInstanceOutput
- func (o NetworkInstanceArrayOutput) ToNetworkInstanceArrayOutput() NetworkInstanceArrayOutput
- func (o NetworkInstanceArrayOutput) ToNetworkInstanceArrayOutputWithContext(ctx context.Context) NetworkInstanceArrayOutput
- type NetworkInstanceInput
- type NetworkInstanceMap
- type NetworkInstanceMapInput
- type NetworkInstanceMapOutput
- func (NetworkInstanceMapOutput) ElementType() reflect.Type
- func (o NetworkInstanceMapOutput) MapIndex(k pulumi.StringInput) NetworkInstanceOutput
- func (o NetworkInstanceMapOutput) ToNetworkInstanceMapOutput() NetworkInstanceMapOutput
- func (o NetworkInstanceMapOutput) ToNetworkInstanceMapOutputWithContext(ctx context.Context) NetworkInstanceMapOutput
- type NetworkInstanceOutput
- func (o NetworkInstanceOutput) Cidrs() pulumi.StringArrayOutput
- func (o NetworkInstanceOutput) CloudConnectionId() pulumi.StringOutput
- func (o NetworkInstanceOutput) Description() pulumi.StringPtrOutput
- func (o NetworkInstanceOutput) DomainId() pulumi.StringOutput
- func (NetworkInstanceOutput) ElementType() reflect.Type
- func (o NetworkInstanceOutput) InstanceDomainId() pulumi.StringOutput
- func (o NetworkInstanceOutput) InstanceId() pulumi.StringOutput
- func (o NetworkInstanceOutput) Name() pulumi.StringOutput
- func (o NetworkInstanceOutput) ProjectId() pulumi.StringOutput
- func (o NetworkInstanceOutput) Region() pulumi.StringOutput
- func (o NetworkInstanceOutput) RegionId() pulumi.StringOutput
- func (o NetworkInstanceOutput) Status() pulumi.StringOutput
- func (o NetworkInstanceOutput) ToNetworkInstanceOutput() NetworkInstanceOutput
- func (o NetworkInstanceOutput) ToNetworkInstanceOutputWithContext(ctx context.Context) NetworkInstanceOutput
- func (o NetworkInstanceOutput) Type() pulumi.StringOutput
- type NetworkInstanceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶ added in v0.0.2
PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.
Types ¶
type Connection ¶
type Connection struct { pulumi.CustomResourceState // The number of bandwidth packages associated with the cloud connection instance. BandwidthPackageNumber pulumi.IntOutput `pulumi:"bandwidthPackageNumber"` // The Description about the cloud connection.\ // The description can contain a maximum of 255 characters. Description pulumi.StringOutput `pulumi:"description"` // The Domain ID. DomainId pulumi.StringOutput `pulumi:"domainId"` // The enterprise project id of the cloud connection.\ // Value 0 indicates the default enterprise project. EnterpriseProjectId pulumi.StringOutput `pulumi:"enterpriseProjectId"` // The number of inter-domain bandwidths associated with the cloud connection instance. InterRegionBandwidthNumber pulumi.IntOutput `pulumi:"interRegionBandwidthNumber"` // The cloud connection name.\ // The name can contain 1 to 64 characters, only letters, Chinese characters, digits, hyphens (-), // underscores (_) and dots (.). Name pulumi.StringOutput `pulumi:"name"` // The number of network instances associated with the cloud connection instance. NetworkInstanceNumber pulumi.IntOutput `pulumi:"networkInstanceNumber"` // Specifies the region in which to create the resource. // If omitted, the provider-level region will be used. Changing this parameter will create a new resource. Region pulumi.StringOutput `pulumi:"region"` // The status of the cloud connection.\ // The options are as follows: // + **ACTIVE**: Device deleted. Status pulumi.StringOutput `pulumi:"status"` // The Scenario.\ // The options are as follows: // + **vpc**: VPCs or virtual gateways can use this cloud connection. UsedScene pulumi.StringOutput `pulumi:"usedScene"` }
Manages a Cloud Connection resource within HuaweiCloud.
Cloud Connect (CC) is a service that enables you to quickly build ultra-fast, high-quality, and stable networks between VPCs across regions and between VPCs and on-premises data centers.
## Example Usage
```go package main
import (
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Cc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Cc.NewConnection(ctx, "test", nil) if err != nil { return err } return nil }) }
```
## Import
The cloud connection can be imported using the `id`, e.g.
```sh
$ pulumi import huaweicloud:Cc/connection:Connection test 0ce123456a00f2591fabc00385ff1234
```
func GetConnection ¶
func GetConnection(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ConnectionState, opts ...pulumi.ResourceOption) (*Connection, error)
GetConnection gets an existing Connection resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewConnection ¶
func NewConnection(ctx *pulumi.Context, name string, args *ConnectionArgs, opts ...pulumi.ResourceOption) (*Connection, error)
NewConnection registers a new resource with the given unique name, arguments, and options.
func (*Connection) ElementType ¶
func (*Connection) ElementType() reflect.Type
func (*Connection) ToConnectionOutput ¶
func (i *Connection) ToConnectionOutput() ConnectionOutput
func (*Connection) ToConnectionOutputWithContext ¶
func (i *Connection) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput
type ConnectionArgs ¶
type ConnectionArgs struct { // The Description about the cloud connection.\ // The description can contain a maximum of 255 characters. Description pulumi.StringPtrInput // The enterprise project id of the cloud connection.\ // Value 0 indicates the default enterprise project. EnterpriseProjectId pulumi.StringPtrInput // The cloud connection name.\ // The name can contain 1 to 64 characters, only letters, Chinese characters, digits, hyphens (-), // underscores (_) and dots (.). Name pulumi.StringPtrInput // Specifies the region in which to create the resource. // If omitted, the provider-level region will be used. Changing this parameter will create a new resource. Region pulumi.StringPtrInput }
The set of arguments for constructing a Connection resource.
func (ConnectionArgs) ElementType ¶
func (ConnectionArgs) ElementType() reflect.Type
type ConnectionArray ¶
type ConnectionArray []ConnectionInput
func (ConnectionArray) ElementType ¶
func (ConnectionArray) ElementType() reflect.Type
func (ConnectionArray) ToConnectionArrayOutput ¶
func (i ConnectionArray) ToConnectionArrayOutput() ConnectionArrayOutput
func (ConnectionArray) ToConnectionArrayOutputWithContext ¶
func (i ConnectionArray) ToConnectionArrayOutputWithContext(ctx context.Context) ConnectionArrayOutput
type ConnectionArrayInput ¶
type ConnectionArrayInput interface { pulumi.Input ToConnectionArrayOutput() ConnectionArrayOutput ToConnectionArrayOutputWithContext(context.Context) ConnectionArrayOutput }
ConnectionArrayInput is an input type that accepts ConnectionArray and ConnectionArrayOutput values. You can construct a concrete instance of `ConnectionArrayInput` via:
ConnectionArray{ ConnectionArgs{...} }
type ConnectionArrayOutput ¶
type ConnectionArrayOutput struct{ *pulumi.OutputState }
func (ConnectionArrayOutput) ElementType ¶
func (ConnectionArrayOutput) ElementType() reflect.Type
func (ConnectionArrayOutput) Index ¶
func (o ConnectionArrayOutput) Index(i pulumi.IntInput) ConnectionOutput
func (ConnectionArrayOutput) ToConnectionArrayOutput ¶
func (o ConnectionArrayOutput) ToConnectionArrayOutput() ConnectionArrayOutput
func (ConnectionArrayOutput) ToConnectionArrayOutputWithContext ¶
func (o ConnectionArrayOutput) ToConnectionArrayOutputWithContext(ctx context.Context) ConnectionArrayOutput
type ConnectionInput ¶
type ConnectionInput interface { pulumi.Input ToConnectionOutput() ConnectionOutput ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput }
type ConnectionMap ¶
type ConnectionMap map[string]ConnectionInput
func (ConnectionMap) ElementType ¶
func (ConnectionMap) ElementType() reflect.Type
func (ConnectionMap) ToConnectionMapOutput ¶
func (i ConnectionMap) ToConnectionMapOutput() ConnectionMapOutput
func (ConnectionMap) ToConnectionMapOutputWithContext ¶
func (i ConnectionMap) ToConnectionMapOutputWithContext(ctx context.Context) ConnectionMapOutput
type ConnectionMapInput ¶
type ConnectionMapInput interface { pulumi.Input ToConnectionMapOutput() ConnectionMapOutput ToConnectionMapOutputWithContext(context.Context) ConnectionMapOutput }
ConnectionMapInput is an input type that accepts ConnectionMap and ConnectionMapOutput values. You can construct a concrete instance of `ConnectionMapInput` via:
ConnectionMap{ "key": ConnectionArgs{...} }
type ConnectionMapOutput ¶
type ConnectionMapOutput struct{ *pulumi.OutputState }
func (ConnectionMapOutput) ElementType ¶
func (ConnectionMapOutput) ElementType() reflect.Type
func (ConnectionMapOutput) MapIndex ¶
func (o ConnectionMapOutput) MapIndex(k pulumi.StringInput) ConnectionOutput
func (ConnectionMapOutput) ToConnectionMapOutput ¶
func (o ConnectionMapOutput) ToConnectionMapOutput() ConnectionMapOutput
func (ConnectionMapOutput) ToConnectionMapOutputWithContext ¶
func (o ConnectionMapOutput) ToConnectionMapOutputWithContext(ctx context.Context) ConnectionMapOutput
type ConnectionOutput ¶
type ConnectionOutput struct{ *pulumi.OutputState }
func (ConnectionOutput) BandwidthPackageNumber ¶
func (o ConnectionOutput) BandwidthPackageNumber() pulumi.IntOutput
The number of bandwidth packages associated with the cloud connection instance.
func (ConnectionOutput) Description ¶
func (o ConnectionOutput) Description() pulumi.StringOutput
The Description about the cloud connection.\ The description can contain a maximum of 255 characters.
func (ConnectionOutput) DomainId ¶
func (o ConnectionOutput) DomainId() pulumi.StringOutput
The Domain ID.
func (ConnectionOutput) ElementType ¶
func (ConnectionOutput) ElementType() reflect.Type
func (ConnectionOutput) EnterpriseProjectId ¶
func (o ConnectionOutput) EnterpriseProjectId() pulumi.StringOutput
The enterprise project id of the cloud connection.\ Value 0 indicates the default enterprise project.
func (ConnectionOutput) InterRegionBandwidthNumber ¶
func (o ConnectionOutput) InterRegionBandwidthNumber() pulumi.IntOutput
The number of inter-domain bandwidths associated with the cloud connection instance.
func (ConnectionOutput) Name ¶
func (o ConnectionOutput) Name() pulumi.StringOutput
The cloud connection name.\ The name can contain 1 to 64 characters, only letters, Chinese characters, digits, hyphens (-), underscores (_) and dots (.).
func (ConnectionOutput) NetworkInstanceNumber ¶
func (o ConnectionOutput) NetworkInstanceNumber() pulumi.IntOutput
The number of network instances associated with the cloud connection instance.
func (ConnectionOutput) Region ¶
func (o ConnectionOutput) Region() pulumi.StringOutput
Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
func (ConnectionOutput) Status ¶
func (o ConnectionOutput) Status() pulumi.StringOutput
The status of the cloud connection.\ The options are as follows: + **ACTIVE**: Device deleted.
func (ConnectionOutput) ToConnectionOutput ¶
func (o ConnectionOutput) ToConnectionOutput() ConnectionOutput
func (ConnectionOutput) ToConnectionOutputWithContext ¶
func (o ConnectionOutput) ToConnectionOutputWithContext(ctx context.Context) ConnectionOutput
func (ConnectionOutput) UsedScene ¶
func (o ConnectionOutput) UsedScene() pulumi.StringOutput
The Scenario.\ The options are as follows: + **vpc**: VPCs or virtual gateways can use this cloud connection.
type ConnectionState ¶
type ConnectionState struct { // The number of bandwidth packages associated with the cloud connection instance. BandwidthPackageNumber pulumi.IntPtrInput // The Description about the cloud connection.\ // The description can contain a maximum of 255 characters. Description pulumi.StringPtrInput // The Domain ID. DomainId pulumi.StringPtrInput // The enterprise project id of the cloud connection.\ // Value 0 indicates the default enterprise project. EnterpriseProjectId pulumi.StringPtrInput // The number of inter-domain bandwidths associated with the cloud connection instance. InterRegionBandwidthNumber pulumi.IntPtrInput // The cloud connection name.\ // The name can contain 1 to 64 characters, only letters, Chinese characters, digits, hyphens (-), // underscores (_) and dots (.). Name pulumi.StringPtrInput // The number of network instances associated with the cloud connection instance. NetworkInstanceNumber pulumi.IntPtrInput // Specifies the region in which to create the resource. // If omitted, the provider-level region will be used. Changing this parameter will create a new resource. Region pulumi.StringPtrInput // The status of the cloud connection.\ // The options are as follows: // + **ACTIVE**: Device deleted. Status pulumi.StringPtrInput // The Scenario.\ // The options are as follows: // + **vpc**: VPCs or virtual gateways can use this cloud connection. UsedScene pulumi.StringPtrInput }
func (ConnectionState) ElementType ¶
func (ConnectionState) ElementType() reflect.Type
type NetworkInstance ¶
type NetworkInstance struct { pulumi.CustomResourceState // List of routes advertised by the VPC or virtual gateway. Cidrs pulumi.StringArrayOutput `pulumi:"cidrs"` // Cloud connection ID. CloudConnectionId pulumi.StringOutput `pulumi:"cloudConnectionId"` // The description about the network instance.\ // The description can contain a maximum of 255 characters. Description pulumi.StringPtrOutput `pulumi:"description"` // Account ID. DomainId pulumi.StringOutput `pulumi:"domainId"` // Account ID of the VPC or virtual gateway. InstanceDomainId pulumi.StringOutput `pulumi:"instanceDomainId"` // ID of the VPC or virtual gateway to be loaded to the cloud connection. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // The network instance name.\ // The name can contain 1 to 64 characters, only letters, Chinese characters, digits, hyphens (-), // underscores (_) and dots (.). Name pulumi.StringOutput `pulumi:"name"` // Project ID of the VPC or virtual gateway. ProjectId pulumi.StringOutput `pulumi:"projectId"` // Specifies the region in which to create the resource. // If omitted, the provider-level region will be used. Changing this parameter will create a new resource. Region pulumi.StringOutput `pulumi:"region"` // Region ID of the VPC or virtual gateway. RegionId pulumi.StringOutput `pulumi:"regionId"` // Network instance status.\ // The options are as follows: // + **ACTIVE**: The network instance is available. Status pulumi.StringOutput `pulumi:"status"` // Type of the network instance to be loaded to the cloud connection.\ // The options are as follows: // + **vpc**: Virtual Private Cloud. // + **vgw**: virtual gateway. Type pulumi.StringOutput `pulumi:"type"` }
Manages a network instance resource within HuaweiCloud.
Load VPCs or virtual gateways to the cloud connection. If you load virtual gateways, your on-premises data center can access multiple VPCs to build a hybrid cloud.
Each network instance can be loaded onto only one cloud connection.
## Import
The network instance can be imported using the `id`, e.g.
```sh
$ pulumi import huaweicloud:Cc/networkInstance:NetworkInstance test 0ce123456a00f2591fabc00385ff1234
```
func GetNetworkInstance ¶
func GetNetworkInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NetworkInstanceState, opts ...pulumi.ResourceOption) (*NetworkInstance, error)
GetNetworkInstance gets an existing NetworkInstance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewNetworkInstance ¶
func NewNetworkInstance(ctx *pulumi.Context, name string, args *NetworkInstanceArgs, opts ...pulumi.ResourceOption) (*NetworkInstance, error)
NewNetworkInstance registers a new resource with the given unique name, arguments, and options.
func (*NetworkInstance) ElementType ¶
func (*NetworkInstance) ElementType() reflect.Type
func (*NetworkInstance) ToNetworkInstanceOutput ¶
func (i *NetworkInstance) ToNetworkInstanceOutput() NetworkInstanceOutput
func (*NetworkInstance) ToNetworkInstanceOutputWithContext ¶
func (i *NetworkInstance) ToNetworkInstanceOutputWithContext(ctx context.Context) NetworkInstanceOutput
type NetworkInstanceArgs ¶
type NetworkInstanceArgs struct { // List of routes advertised by the VPC or virtual gateway. Cidrs pulumi.StringArrayInput // Cloud connection ID. CloudConnectionId pulumi.StringInput // The description about the network instance.\ // The description can contain a maximum of 255 characters. Description pulumi.StringPtrInput // Account ID of the VPC or virtual gateway. InstanceDomainId pulumi.StringPtrInput // ID of the VPC or virtual gateway to be loaded to the cloud connection. InstanceId pulumi.StringInput // The network instance name.\ // The name can contain 1 to 64 characters, only letters, Chinese characters, digits, hyphens (-), // underscores (_) and dots (.). Name pulumi.StringPtrInput // Project ID of the VPC or virtual gateway. ProjectId pulumi.StringInput // Specifies the region in which to create the resource. // If omitted, the provider-level region will be used. Changing this parameter will create a new resource. Region pulumi.StringPtrInput // Region ID of the VPC or virtual gateway. RegionId pulumi.StringInput // Type of the network instance to be loaded to the cloud connection.\ // The options are as follows: // + **vpc**: Virtual Private Cloud. // + **vgw**: virtual gateway. Type pulumi.StringInput }
The set of arguments for constructing a NetworkInstance resource.
func (NetworkInstanceArgs) ElementType ¶
func (NetworkInstanceArgs) ElementType() reflect.Type
type NetworkInstanceArray ¶
type NetworkInstanceArray []NetworkInstanceInput
func (NetworkInstanceArray) ElementType ¶
func (NetworkInstanceArray) ElementType() reflect.Type
func (NetworkInstanceArray) ToNetworkInstanceArrayOutput ¶
func (i NetworkInstanceArray) ToNetworkInstanceArrayOutput() NetworkInstanceArrayOutput
func (NetworkInstanceArray) ToNetworkInstanceArrayOutputWithContext ¶
func (i NetworkInstanceArray) ToNetworkInstanceArrayOutputWithContext(ctx context.Context) NetworkInstanceArrayOutput
type NetworkInstanceArrayInput ¶
type NetworkInstanceArrayInput interface { pulumi.Input ToNetworkInstanceArrayOutput() NetworkInstanceArrayOutput ToNetworkInstanceArrayOutputWithContext(context.Context) NetworkInstanceArrayOutput }
NetworkInstanceArrayInput is an input type that accepts NetworkInstanceArray and NetworkInstanceArrayOutput values. You can construct a concrete instance of `NetworkInstanceArrayInput` via:
NetworkInstanceArray{ NetworkInstanceArgs{...} }
type NetworkInstanceArrayOutput ¶
type NetworkInstanceArrayOutput struct{ *pulumi.OutputState }
func (NetworkInstanceArrayOutput) ElementType ¶
func (NetworkInstanceArrayOutput) ElementType() reflect.Type
func (NetworkInstanceArrayOutput) Index ¶
func (o NetworkInstanceArrayOutput) Index(i pulumi.IntInput) NetworkInstanceOutput
func (NetworkInstanceArrayOutput) ToNetworkInstanceArrayOutput ¶
func (o NetworkInstanceArrayOutput) ToNetworkInstanceArrayOutput() NetworkInstanceArrayOutput
func (NetworkInstanceArrayOutput) ToNetworkInstanceArrayOutputWithContext ¶
func (o NetworkInstanceArrayOutput) ToNetworkInstanceArrayOutputWithContext(ctx context.Context) NetworkInstanceArrayOutput
type NetworkInstanceInput ¶
type NetworkInstanceInput interface { pulumi.Input ToNetworkInstanceOutput() NetworkInstanceOutput ToNetworkInstanceOutputWithContext(ctx context.Context) NetworkInstanceOutput }
type NetworkInstanceMap ¶
type NetworkInstanceMap map[string]NetworkInstanceInput
func (NetworkInstanceMap) ElementType ¶
func (NetworkInstanceMap) ElementType() reflect.Type
func (NetworkInstanceMap) ToNetworkInstanceMapOutput ¶
func (i NetworkInstanceMap) ToNetworkInstanceMapOutput() NetworkInstanceMapOutput
func (NetworkInstanceMap) ToNetworkInstanceMapOutputWithContext ¶
func (i NetworkInstanceMap) ToNetworkInstanceMapOutputWithContext(ctx context.Context) NetworkInstanceMapOutput
type NetworkInstanceMapInput ¶
type NetworkInstanceMapInput interface { pulumi.Input ToNetworkInstanceMapOutput() NetworkInstanceMapOutput ToNetworkInstanceMapOutputWithContext(context.Context) NetworkInstanceMapOutput }
NetworkInstanceMapInput is an input type that accepts NetworkInstanceMap and NetworkInstanceMapOutput values. You can construct a concrete instance of `NetworkInstanceMapInput` via:
NetworkInstanceMap{ "key": NetworkInstanceArgs{...} }
type NetworkInstanceMapOutput ¶
type NetworkInstanceMapOutput struct{ *pulumi.OutputState }
func (NetworkInstanceMapOutput) ElementType ¶
func (NetworkInstanceMapOutput) ElementType() reflect.Type
func (NetworkInstanceMapOutput) MapIndex ¶
func (o NetworkInstanceMapOutput) MapIndex(k pulumi.StringInput) NetworkInstanceOutput
func (NetworkInstanceMapOutput) ToNetworkInstanceMapOutput ¶
func (o NetworkInstanceMapOutput) ToNetworkInstanceMapOutput() NetworkInstanceMapOutput
func (NetworkInstanceMapOutput) ToNetworkInstanceMapOutputWithContext ¶
func (o NetworkInstanceMapOutput) ToNetworkInstanceMapOutputWithContext(ctx context.Context) NetworkInstanceMapOutput
type NetworkInstanceOutput ¶
type NetworkInstanceOutput struct{ *pulumi.OutputState }
func (NetworkInstanceOutput) Cidrs ¶
func (o NetworkInstanceOutput) Cidrs() pulumi.StringArrayOutput
List of routes advertised by the VPC or virtual gateway.
func (NetworkInstanceOutput) CloudConnectionId ¶
func (o NetworkInstanceOutput) CloudConnectionId() pulumi.StringOutput
Cloud connection ID.
func (NetworkInstanceOutput) Description ¶
func (o NetworkInstanceOutput) Description() pulumi.StringPtrOutput
The description about the network instance.\ The description can contain a maximum of 255 characters.
func (NetworkInstanceOutput) DomainId ¶
func (o NetworkInstanceOutput) DomainId() pulumi.StringOutput
Account ID.
func (NetworkInstanceOutput) ElementType ¶
func (NetworkInstanceOutput) ElementType() reflect.Type
func (NetworkInstanceOutput) InstanceDomainId ¶
func (o NetworkInstanceOutput) InstanceDomainId() pulumi.StringOutput
Account ID of the VPC or virtual gateway.
func (NetworkInstanceOutput) InstanceId ¶
func (o NetworkInstanceOutput) InstanceId() pulumi.StringOutput
ID of the VPC or virtual gateway to be loaded to the cloud connection.
func (NetworkInstanceOutput) Name ¶
func (o NetworkInstanceOutput) Name() pulumi.StringOutput
The network instance name.\ The name can contain 1 to 64 characters, only letters, Chinese characters, digits, hyphens (-), underscores (_) and dots (.).
func (NetworkInstanceOutput) ProjectId ¶
func (o NetworkInstanceOutput) ProjectId() pulumi.StringOutput
Project ID of the VPC or virtual gateway.
func (NetworkInstanceOutput) Region ¶
func (o NetworkInstanceOutput) Region() pulumi.StringOutput
Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
func (NetworkInstanceOutput) RegionId ¶
func (o NetworkInstanceOutput) RegionId() pulumi.StringOutput
Region ID of the VPC or virtual gateway.
func (NetworkInstanceOutput) Status ¶
func (o NetworkInstanceOutput) Status() pulumi.StringOutput
Network instance status.\ The options are as follows: + **ACTIVE**: The network instance is available.
func (NetworkInstanceOutput) ToNetworkInstanceOutput ¶
func (o NetworkInstanceOutput) ToNetworkInstanceOutput() NetworkInstanceOutput
func (NetworkInstanceOutput) ToNetworkInstanceOutputWithContext ¶
func (o NetworkInstanceOutput) ToNetworkInstanceOutputWithContext(ctx context.Context) NetworkInstanceOutput
func (NetworkInstanceOutput) Type ¶
func (o NetworkInstanceOutput) Type() pulumi.StringOutput
Type of the network instance to be loaded to the cloud connection.\ The options are as follows: + **vpc**: Virtual Private Cloud. + **vgw**: virtual gateway.
type NetworkInstanceState ¶
type NetworkInstanceState struct { // List of routes advertised by the VPC or virtual gateway. Cidrs pulumi.StringArrayInput // Cloud connection ID. CloudConnectionId pulumi.StringPtrInput // The description about the network instance.\ // The description can contain a maximum of 255 characters. Description pulumi.StringPtrInput // Account ID. DomainId pulumi.StringPtrInput // Account ID of the VPC or virtual gateway. InstanceDomainId pulumi.StringPtrInput // ID of the VPC or virtual gateway to be loaded to the cloud connection. InstanceId pulumi.StringPtrInput // The network instance name.\ // The name can contain 1 to 64 characters, only letters, Chinese characters, digits, hyphens (-), // underscores (_) and dots (.). Name pulumi.StringPtrInput // Project ID of the VPC or virtual gateway. ProjectId pulumi.StringPtrInput // Specifies the region in which to create the resource. // If omitted, the provider-level region will be used. Changing this parameter will create a new resource. Region pulumi.StringPtrInput // Region ID of the VPC or virtual gateway. RegionId pulumi.StringPtrInput // Network instance status.\ // The options are as follows: // + **ACTIVE**: The network instance is available. Status pulumi.StringPtrInput // Type of the network instance to be loaded to the cloud connection.\ // The options are as follows: // + **vpc**: Virtual Private Cloud. // + **vgw**: virtual gateway. Type pulumi.StringPtrInput }
func (NetworkInstanceState) ElementType ¶
func (NetworkInstanceState) ElementType() reflect.Type