Skip to content

SmartAccessGatewayProps

Properties for defining a SmartAccessGateway.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sag-smartaccessgateway

Initializer

import { SmartAccessGatewayProps } from '@alicloud/ros-cdk-sag'
const smartAccessGatewayProps: SmartAccessGatewayProps = { ... }

Properties

Name Type Description
buyerMessage string | @alicloud/ros-cdk-core.IResolvable Property buyerMessage: The remarks left by the buyer.
chargeType string | @alicloud/ros-cdk-core.IResolvable Property chargeType: The billing method of the SAG instance.
hardWareSpec string | @alicloud/ros-cdk-core.IResolvable Property hardWareSpec: The type of the SAG instance.
haType string | @alicloud/ros-cdk-core.IResolvable Property haType: The deployment mode.
maxBandWidth number | @alicloud/ros-cdk-core.IResolvable Property maxBandWidth: The bandwidth of the SAG instance.
period number | @alicloud/ros-cdk-core.IResolvable Property period: The subscription period of the SAG instance.
receiverAddress string | @alicloud/ros-cdk-core.IResolvable Property receiverAddress: The detailed address of the recipient.
receiverCity string | @alicloud/ros-cdk-core.IResolvable Property receiverCity: The city of the recipient address.
receiverCountry string | @alicloud/ros-cdk-core.IResolvable Property receiverCountry: The country of the recipient address.
receiverDistrict string | @alicloud/ros-cdk-core.IResolvable Property receiverDistrict: The district of the recipient address.
receiverEmail string | @alicloud/ros-cdk-core.IResolvable Property receiverEmail: The email address of the recipient.
receiverMobile string | @alicloud/ros-cdk-core.IResolvable Property receiverMobile: The mobile phone number of the recipient.
receiverName string | @alicloud/ros-cdk-core.IResolvable Property receiverName: The name of the recipient.
receiverState string | @alicloud/ros-cdk-core.IResolvable Property receiverState: The province of the recipient address.
receiverTown string | @alicloud/ros-cdk-core.IResolvable Property receiverTown: The town of the recipient address.
receiverZip string | @alicloud/ros-cdk-core.IResolvable Property receiverZip: The postcode of the recipient address.
activate boolean | @alicloud/ros-cdk-core.IResolvable Property activate: Activate SAG or not.
alreadyHaveSag boolean | @alicloud/ros-cdk-core.IResolvable Property alreadyHaveSag: Specifies whether you already have an SAG device.
autoPay boolean | @alicloud/ros-cdk-core.IResolvable Property autoPay: Specifies whether to enable auto-payment for the instance.
cidrBlock string | @alicloud/ros-cdk-core.IResolvable Property cidrBlock: The CIDR blocks of terminals in the private network.
description string | @alicloud/ros-cdk-core.IResolvable Property description: The description of the SAG instance.
name string | @alicloud/ros-cdk-core.IResolvable Property name: The name of the SAG instance.
receiverPhone string | @alicloud/ros-cdk-core.IResolvable Property receiverPhone: The landline phone number of the recipient.
routingStrategy string | @alicloud/ros-cdk-core.IResolvable Property routingStrategy: The policy to advertise routes from the private network to Alibaba Cloud.
securityLockThreshold number | @alicloud/ros-cdk-core.IResolvable Property securityLockThreshold: The time that a disconnected SAG device remain locked.

buyerMessageRequired

public readonly buyerMessage: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property buyerMessage: The remarks left by the buyer.


chargeTypeRequired

public readonly chargeType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property chargeType: The billing method of the SAG instance.

Set the value to PREPAY, which specifies the subscription billing method.


hardWareSpecRequired

public readonly hardWareSpec: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property hardWareSpec: The type of the SAG instance.

Valid values: sag-100wm sag-1000 sag-vcpe


haTypeRequired

public readonly haType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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.


maxBandWidthRequired

public readonly maxBandWidth: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

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.


periodRequired

public readonly period: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property period: The subscription period of the SAG instance.

Unit: months. Valid values: 1 to 9, 12, 24, and 36.


receiverAddressRequired

public readonly receiverAddress: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property receiverAddress: The detailed address of the recipient.


receiverCityRequired

public readonly receiverCity: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property receiverCity: The city of the recipient address.


receiverCountryRequired

public readonly receiverCountry: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property receiverCountry: The country of the recipient address.


receiverDistrictRequired

public readonly receiverDistrict: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property receiverDistrict: The district of the recipient address.


receiverEmailRequired

public readonly receiverEmail: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property receiverEmail: The email address of the recipient.


receiverMobileRequired

public readonly receiverMobile: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property receiverMobile: The mobile phone number of the recipient.


receiverNameRequired

public readonly receiverName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property receiverName: The name of the recipient.


receiverStateRequired

public readonly receiverState: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property receiverState: The province of the recipient address.


receiverTownRequired

public readonly receiverTown: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property receiverTown: The town of the recipient address.


receiverZipRequired

public readonly receiverZip: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property receiverZip: The postcode of the recipient address.


activateOptional

public readonly activate: boolean | IResolvable;
  • Type: boolean | @alicloud/ros-cdk-core.IResolvable

Property activate: Activate SAG or not.

Default is False


alreadyHaveSagOptional

public readonly alreadyHaveSag: boolean | IResolvable;
  • Type: boolean | @alicloud/ros-cdk-core.IResolvable

Property alreadyHaveSag: Specifies whether you already have an SAG device.

Valid values: true: yes false (default): no


autoPayOptional

public readonly autoPay: boolean | IResolvable;
  • Type: boolean | @alicloud/ros-cdk-core.IResolvable

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.


cidrBlockOptional

public readonly cidrBlock: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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.


descriptionOptional

public readonly description: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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.


nameOptional

public readonly name: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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.


receiverPhoneOptional

public readonly receiverPhone: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property receiverPhone: The landline phone number of the recipient.


routingStrategyOptional

public readonly routingStrategy: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property routingStrategy: The policy to advertise routes from the private network to Alibaba Cloud.

static: static routing. dynamic: dynamic routing.


securityLockThresholdOptional

public readonly securityLockThreshold: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property securityLockThreshold: The time that a disconnected SAG device remain locked.

The time must be no shorter than zero second. Unit: second.