Show / Hide Table of Contents

Class Gateway

Inheritance
System.Object
Resource
CustomResource
Gateway
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Vpn
Assembly: Pulumi.AliCloud.dll
Syntax
public class Gateway : CustomResource

Constructors

View Source

Gateway(String, GatewayArgs, CustomResourceOptions)

Create a Gateway resource with the given unique name, arguments, and options.

Declaration
public Gateway(string name, GatewayArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

GatewayArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Bandwidth

Declaration
public Output<int> Bandwidth { get; }
Property Value
Type Description
Output<System.Int32>
View Source

BusinessStatus

The business status of the VPN gateway.

Declaration
public Output<string> BusinessStatus { get; }
Property Value
Type Description
Output<System.String>
View Source

Description

The description of the VPN instance.

Declaration
public Output<string> Description { get; }
Property Value
Type Description
Output<System.String>
View Source

EnableIpsec

Enable or Disable IPSec VPN. At least one type of VPN should be enabled.

Declaration
public Output<bool?> EnableIpsec { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

EnableSsl

Enable or Disable SSL VPN. At least one type of VPN should be enabled.

Declaration
public Output<bool?> EnableSsl { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

InstanceChargeType

The charge type for instance. If it is an international site account, the valid value is PostPaid, otherwise PrePaid. Default to PostPaid.

Declaration
public Output<string> InstanceChargeType { get; }
Property Value
Type Description
Output<System.String>
View Source

InternetIp

The internet ip of the VPN.

Declaration
public Output<string> InternetIp { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

The name of the VPN. Defaults to null.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

Period

The filed is only required while the InstanceChargeType is PrePaid. Valid values: [1-9, 12, 24, 36]. Default to 1.

Declaration
public Output<int?> Period { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

SslConnections

The max connections of SSL VPN. Default to 5. The number of connections supported by each account is different. This field is ignored when enable_ssl is false.

Declaration
public Output<int?> SslConnections { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

Status

The status of the VPN gateway.

Declaration
public Output<string> Status { get; }
Property Value
Type Description
Output<System.String>
View Source

VpcId

The VPN belongs the vpc_id, the field can't be changed.

Declaration
public Output<string> VpcId { get; }
Property Value
Type Description
Output<System.String>
View Source

VswitchId

The VPN belongs the vswitch_id, the field can't be changed.

Declaration
public Output<string> VswitchId { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, GatewayState, CustomResourceOptions)

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

Declaration
public static Gateway Get(string name, Input<string> id, GatewayState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

GatewayState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
Gateway
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.