SmartAccessGatewayProps
Properties for defining a SmartAccessGateway
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sag-smartaccessgateway
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdksag"
&alicloudroscdksag.SmartAccessGatewayProps {
BuyerMessage: interface{},
ChargeType: interface{},
HardWareSpec: interface{},
HaType: interface{},
MaxBandWidth: interface{},
Period: interface{},
ReceiverAddress: interface{},
ReceiverCity: interface{},
ReceiverCountry: interface{},
ReceiverDistrict: interface{},
ReceiverEmail: interface{},
ReceiverMobile: interface{},
ReceiverName: interface{},
ReceiverState: interface{},
ReceiverTown: interface{},
ReceiverZip: interface{},
Activate: interface{},
AlreadyHaveSag: interface{},
AutoPay: interface{},
CidrBlock: interface{},
Description: interface{},
Name: interface{},
ReceiverPhone: interface{},
RoutingStrategy: interface{},
SecurityLockThreshold: interface{},
}
Properties
Name | Type | Description |
---|---|---|
BuyerMessage |
interface{} |
Property buyerMessage: The remarks left by the buyer. |
ChargeType |
interface{} |
Property chargeType: The billing method of the SAG instance. |
HardWareSpec |
interface{} |
Property hardWareSpec: The type of the SAG instance. |
HaType |
interface{} |
Property haType: The deployment mode. |
MaxBandWidth |
interface{} |
Property maxBandWidth: The bandwidth of the SAG instance. |
Period |
interface{} |
Property period: The subscription period of the SAG instance. |
ReceiverAddress |
interface{} |
Property receiverAddress: The detailed address of the recipient. |
ReceiverCity |
interface{} |
Property receiverCity: The city of the recipient address. |
ReceiverCountry |
interface{} |
Property receiverCountry: The country of the recipient address. |
ReceiverDistrict |
interface{} |
Property receiverDistrict: The district of the recipient address. |
ReceiverEmail |
interface{} |
Property receiverEmail: The email address of the recipient. |
ReceiverMobile |
interface{} |
Property receiverMobile: The mobile phone number of the recipient. |
ReceiverName |
interface{} |
Property receiverName: The name of the recipient. |
ReceiverState |
interface{} |
Property receiverState: The province of the recipient address. |
ReceiverTown |
interface{} |
Property receiverTown: The town of the recipient address. |
ReceiverZip |
interface{} |
Property receiverZip: The postcode of the recipient address. |
Activate |
interface{} |
Property activate: Activate SAG or not. |
AlreadyHaveSag |
interface{} |
Property alreadyHaveSag: Specifies whether you already have an SAG device. |
AutoPay |
interface{} |
Property autoPay: Specifies whether to enable auto-payment for the instance. |
CidrBlock |
interface{} |
Property cidrBlock: The CIDR blocks of terminals in the private network. |
Description |
interface{} |
Property description: The description of the SAG instance. |
Name |
interface{} |
Property name: The name of the SAG instance. |
ReceiverPhone |
interface{} |
Property receiverPhone: The landline phone number of the recipient. |
RoutingStrategy |
interface{} |
Property routingStrategy: The policy to advertise routes from the private network to Alibaba Cloud. |
SecurityLockThreshold |
interface{} |
Property securityLockThreshold: The time that a disconnected SAG device remain locked. |
BuyerMessage
Required
BuyerMessage interface{}
- Type: interface{}
Property buyerMessage: The remarks left by the buyer.
ChargeType
Required
ChargeType interface{}
- Type: interface{}
Property chargeType: The billing method of the SAG instance.
Set the value to PREPAY, which specifies the subscription billing method.
HardWareSpec
Required
HardWareSpec interface{}
- Type: interface{}
Property hardWareSpec: The type of the SAG instance.
Valid values: sag-100wm sag-1000 sag-vcpe
HaType
Required
HaType interface{}
- Type: interface{}
Property haType: The deployment mode.
Valid values: no_backup: You buy only one SAG device to connect private networks to Alibaba Cloud. cold_backup: You buy two SAG devices in active-standby mode. One SAG device serves as an active device and the other serves as a standby device. Only the active device is connected to Alibaba Cloud. If the active device is not working as expected, you must manually perform a switchover. warm_backup: You buy two SAG devices in active-active mode. Both SAG devices are connected to Alibaba Cloud. If an active device is not working as expected, a failover is automatically performed. Note If you want to create an SAG vCPE instance, set the value to warm_backup.
MaxBandWidth
Required
MaxBandWidth interface{}
- Type: interface{}
Property maxBandWidth: The bandwidth of the SAG instance.
If you want to create an SAG CPE instance and the model is sag-100wm, valid values of this parameter are 2 to 50. Unit: Mbit/s. If you want to create an SAG CPE instance and the model is sag-1000, valid values of this parameter are 10 to 500. Unit: Mbit/s. If you want to create an SAG vCPE instance, valid values of this parameter are 10 to 1000. Unit: Mbit/s.
Period
Required
Period interface{}
- Type: interface{}
Property period: The subscription period of the SAG instance.
Unit: months. Valid values: 1 to 9, 12, 24, and 36.
ReceiverAddress
Required
ReceiverAddress interface{}
- Type: interface{}
Property receiverAddress: The detailed address of the recipient.
ReceiverCity
Required
ReceiverCity interface{}
- Type: interface{}
Property receiverCity: The city of the recipient address.
ReceiverCountry
Required
ReceiverCountry interface{}
- Type: interface{}
Property receiverCountry: The country of the recipient address.
ReceiverDistrict
Required
ReceiverDistrict interface{}
- Type: interface{}
Property receiverDistrict: The district of the recipient address.
ReceiverEmail
Required
ReceiverEmail interface{}
- Type: interface{}
Property receiverEmail: The email address of the recipient.
ReceiverMobile
Required
ReceiverMobile interface{}
- Type: interface{}
Property receiverMobile: The mobile phone number of the recipient.
ReceiverName
Required
ReceiverName interface{}
- Type: interface{}
Property receiverName: The name of the recipient.
ReceiverState
Required
ReceiverState interface{}
- Type: interface{}
Property receiverState: The province of the recipient address.
ReceiverTown
Required
ReceiverTown interface{}
- Type: interface{}
Property receiverTown: The town of the recipient address.
ReceiverZip
Required
ReceiverZip interface{}
- Type: interface{}
Property receiverZip: The postcode of the recipient address.
Activate
Optional
Activate interface{}
- Type: interface{}
Property activate: Activate SAG or not.
Default is False
AlreadyHaveSag
Optional
AlreadyHaveSag interface{}
- Type: interface{}
Property alreadyHaveSag: Specifies whether you already have an SAG device.
Valid values: true: yes false (default): no
AutoPay
Optional
AutoPay interface{}
- Type: interface{}
Property autoPay: Specifies whether to enable auto-payment for the instance.
Valid values: true: yes false: no If you set the parameter to false, go to Billing Management to complete the payment after you call this operation. After you complete the payment, the instance can be created.
CidrBlock
Optional
CidrBlock interface{}
- Type: interface{}
Property cidrBlock: The CIDR blocks of terminals in the private network.
Make sure that the CIDR blocks do not overlap with each other. If the LAN port of the SAG device dynamically assigns IP addresses, IP addresses within the first CIDR block are assigned to terminals that have the Dynamic Host Configuration Protocol (DHCP) enabled.
Description
Optional
Description interface{}
- Type: interface{}
Property description: The description of the SAG instance.
The description must be 2 to 256 characters in length, and can contain digits, periods (.), underscores (_), and hyphens (-). It must start with a letter.
Name
Optional
Name interface{}
- Type: interface{}
Property name: The name of the SAG instance.
The name must be 2 to 128 characters in length and can contain digits, periods (.), underscores (_), and hyphens (-). It must start with a letter.
ReceiverPhone
Optional
ReceiverPhone interface{}
- Type: interface{}
Property receiverPhone: The landline phone number of the recipient.
RoutingStrategy
Optional
RoutingStrategy interface{}
- Type: interface{}
Property routingStrategy: The policy to advertise routes from the private network to Alibaba Cloud.
static: static routing. dynamic: dynamic routing.
SecurityLockThreshold
Optional
SecurityLockThreshold interface{}
- Type: interface{}
Property securityLockThreshold: The time that a disconnected SAG device remain locked.
The time must be no shorter than zero second. Unit: second.