Package-level declarations

Types

Link copied to clipboard
class Acl : KotlinCustomResource

Provides a Sag Acl resource. Smart Access Gateway (SAG) provides the access control list (ACL) function in the form of whitelists and blacklists for different SAG instances. For information about Sag Acl and how to use it, see What is access control list (ACL).

Link copied to clipboard
data class AclArgs(val name: Output<String>? = null) : ConvertibleToJava<AclArgs>

Provides a Sag Acl resource. Smart Access Gateway (SAG) provides the access control list (ACL) function in the form of whitelists and blacklists for different SAG instances. For information about Sag Acl and how to use it, see What is access control list (ACL).

Link copied to clipboard

Builder for AclArgs.

Link copied to clipboard
object AclMapper : ResourceMapper<Acl>
Link copied to clipboard

Builder for Acl.

Link copied to clipboard
class AclRule : KotlinCustomResource

Provides a Sag Acl Rule resource. This topic describes how to configure an access control list (ACL) rule for a target Smart Access Gateway instance to permit or deny access to or from specified IP addresses in the ACL rule. For information about Sag Acl Rule and how to use it, see What is access control list (ACL) rule.

Link copied to clipboard
data class AclRuleArgs(val aclId: Output<String>? = null, val description: Output<String>? = null, val destCidr: Output<String>? = null, val destPortRange: Output<String>? = null, val direction: Output<String>? = null, val ipProtocol: Output<String>? = null, val policy: Output<String>? = null, val priority: Output<Int>? = null, val sourceCidr: Output<String>? = null, val sourcePortRange: Output<String>? = null) : ConvertibleToJava<AclRuleArgs>

Provides a Sag Acl Rule resource. This topic describes how to configure an access control list (ACL) rule for a target Smart Access Gateway instance to permit or deny access to or from specified IP addresses in the ACL rule. For information about Sag Acl Rule and how to use it, see What is access control list (ACL) rule.

Link copied to clipboard
Link copied to clipboard
object AclRuleMapper : ResourceMapper<AclRule>
Link copied to clipboard
Link copied to clipboard
class ClientUser : KotlinCustomResource

Provides a Sag ClientUser resource. This topic describes how to manage accounts as an administrator. After you configure the network, you can create multiple accounts and distribute them to end users so that clients can access Alibaba Cloud. For information about Sag ClientUser and how to use it, see What is Sag ClientUser.

Link copied to clipboard
data class ClientUserArgs(val bandwidth: Output<Int>? = null, val clientIp: Output<String>? = null, val kmsEncryptedPassword: Output<String>? = null, val kmsEncryptionContext: Output<Map<String, String>>? = null, val password: Output<String>? = null, val sagId: Output<String>? = null, val userMail: Output<String>? = null, val userName: Output<String>? = null) : ConvertibleToJava<ClientUserArgs>

Provides a Sag ClientUser resource. This topic describes how to manage accounts as an administrator. After you configure the network, you can create multiple accounts and distribute them to end users so that clients can access Alibaba Cloud. For information about Sag ClientUser and how to use it, see What is Sag ClientUser.

Link copied to clipboard
Link copied to clipboard
object ClientUserMapper : ResourceMapper<ClientUser>
Link copied to clipboard
Link copied to clipboard
class DnatEntry : KotlinCustomResource

Provides a Sag DnatEntry resource. This topic describes how to add a DNAT entry to a Smart Access Gateway (SAG) instance to enable the DNAT function. By using the DNAT function, you can forward requests received by public IP addresses to Alibaba Cloud instances according to custom mapping rules. For information about Sag DnatEntry and how to use it, see What is Sag DnatEntry.

Link copied to clipboard
data class DnatEntryArgs(val externalIp: Output<String>? = null, val externalPort: Output<String>? = null, val internalIp: Output<String>? = null, val internalPort: Output<String>? = null, val ipProtocol: Output<String>? = null, val sagId: Output<String>? = null, val type: Output<String>? = null) : ConvertibleToJava<DnatEntryArgs>

Provides a Sag DnatEntry resource. This topic describes how to add a DNAT entry to a Smart Access Gateway (SAG) instance to enable the DNAT function. By using the DNAT function, you can forward requests received by public IP addresses to Alibaba Cloud instances according to custom mapping rules. For information about Sag DnatEntry and how to use it, see What is Sag DnatEntry.

Link copied to clipboard
Link copied to clipboard
object DnatEntryMapper : ResourceMapper<DnatEntry>
Link copied to clipboard
Link copied to clipboard
class Qos : KotlinCustomResource

Provides a Sag Qos resource. Smart Access Gateway (SAG) supports quintuple-based QoS functions to differentiate traffic of different services and ensure high-priority traffic bandwidth. For information about Sag Qos and how to use it, see What is Qos.

Link copied to clipboard
data class QosArgs(val name: Output<String>? = null) : ConvertibleToJava<QosArgs>

Provides a Sag Qos resource. Smart Access Gateway (SAG) supports quintuple-based QoS functions to differentiate traffic of different services and ensure high-priority traffic bandwidth. For information about Sag Qos and how to use it, see What is Qos.

Link copied to clipboard

Builder for QosArgs.

Link copied to clipboard
class QosCar : KotlinCustomResource

Provides a Sag Qos Car resource. For information about Sag Qos Car and how to use it, see What is Qos Car.

Link copied to clipboard
data class QosCarArgs(val description: Output<String>? = null, val limitType: Output<String>? = null, val maxBandwidthAbs: Output<Int>? = null, val maxBandwidthPercent: Output<Int>? = null, val minBandwidthAbs: Output<Int>? = null, val minBandwidthPercent: Output<Int>? = null, val name: Output<String>? = null, val percentSourceType: Output<String>? = null, val priority: Output<Int>? = null, val qosId: Output<String>? = null) : ConvertibleToJava<QosCarArgs>

Provides a Sag Qos Car resource. For information about Sag Qos Car and how to use it, see What is Qos Car.

Link copied to clipboard

Builder for QosCarArgs.

Link copied to clipboard
object QosCarMapper : ResourceMapper<QosCar>
Link copied to clipboard

Builder for QosCar.

Link copied to clipboard
object QosMapper : ResourceMapper<Qos>
Link copied to clipboard
class QosPolicy : KotlinCustomResource

Provides a Sag qos policy resource. You need to create a QoS policy to set priorities, rate limits, and quintuple rules for different messages. For information about Sag Qos Policy and how to use it, see What is Qos Policy.

Link copied to clipboard
data class QosPolicyArgs(val description: Output<String>? = null, val destCidr: Output<String>? = null, val destPortRange: Output<String>? = null, val endTime: Output<String>? = null, val ipProtocol: Output<String>? = null, val name: Output<String>? = null, val priority: Output<Int>? = null, val qosId: Output<String>? = null, val sourceCidr: Output<String>? = null, val sourcePortRange: Output<String>? = null, val startTime: Output<String>? = null) : ConvertibleToJava<QosPolicyArgs>

Provides a Sag qos policy resource. You need to create a QoS policy to set priorities, rate limits, and quintuple rules for different messages. For information about Sag Qos Policy and how to use it, see What is Qos Policy.

Link copied to clipboard
Link copied to clipboard
object QosPolicyMapper : ResourceMapper<QosPolicy>
Link copied to clipboard
Link copied to clipboard

Builder for Qos.

Link copied to clipboard
Link copied to clipboard
class SmartagFlowLog : KotlinCustomResource

Provides a Smartag Flow Log resource. For information about Smartag Flow Log and how to use it, see What is Flow Log.

Link copied to clipboard
data class SmartagFlowLogArgs(val activeAging: Output<Int>? = null, val description: Output<String>? = null, val flowLogName: Output<String>? = null, val inactiveAging: Output<Int>? = null, val logstoreName: Output<String>? = null, val netflowServerIp: Output<String>? = null, val netflowServerPort: Output<Int>? = null, val netflowVersion: Output<String>? = null, val outputType: Output<String>? = null, val projectName: Output<String>? = null, val slsRegionId: Output<String>? = null, val status: Output<String>? = null) : ConvertibleToJava<SmartagFlowLogArgs>

Provides a Smartag Flow Log resource. For information about Smartag Flow Log and how to use it, see What is Flow Log.

Link copied to clipboard
Link copied to clipboard
object SmartagFlowLogMapper : ResourceMapper<SmartagFlowLog>
Link copied to clipboard
class SnatEntry : KotlinCustomResource

Provides a Sag SnatEntry resource. This topic describes how to add a SNAT entry to enable the SNAT function. The SNAT function can hide internal IP addresses and resolve private IP address conflicts. With this function, on-premises sites can access internal IP addresses, but cannot be accessed by internal IP addresses. If you do not add a SNAT entry, on-premises sites can access each other only when all related IP addresses do not conflict. For information about Sag SnatEntry and how to use it, see What is Sag SnatEntry.

Link copied to clipboard
data class SnatEntryArgs(val cidrBlock: Output<String>? = null, val sagId: Output<String>? = null, val snatIp: Output<String>? = null) : ConvertibleToJava<SnatEntryArgs>

Provides a Sag SnatEntry resource. This topic describes how to add a SNAT entry to enable the SNAT function. The SNAT function can hide internal IP addresses and resolve private IP address conflicts. With this function, on-premises sites can access internal IP addresses, but cannot be accessed by internal IP addresses. If you do not add a SNAT entry, on-premises sites can access each other only when all related IP addresses do not conflict. For information about Sag SnatEntry and how to use it, see What is Sag SnatEntry.

Link copied to clipboard
Link copied to clipboard
object SnatEntryMapper : ResourceMapper<SnatEntry>
Link copied to clipboard

Functions

Link copied to clipboard
fun acl(name: String): Acl
suspend fun acl(name: String, block: suspend AclResourceBuilder.() -> Unit): Acl
Link copied to clipboard
fun aclRule(name: String): AclRule
suspend fun aclRule(name: String, block: suspend AclRuleResourceBuilder.() -> Unit): AclRule
Link copied to clipboard
suspend fun clientUser(name: String, block: suspend ClientUserResourceBuilder.() -> Unit): ClientUser
Link copied to clipboard
suspend fun dnatEntry(name: String, block: suspend DnatEntryResourceBuilder.() -> Unit): DnatEntry
Link copied to clipboard
fun qos(name: String): Qos
suspend fun qos(name: String, block: suspend QosResourceBuilder.() -> Unit): Qos
Link copied to clipboard
fun qosCar(name: String): QosCar
suspend fun qosCar(name: String, block: suspend QosCarResourceBuilder.() -> Unit): QosCar
Link copied to clipboard
suspend fun qosPolicy(name: String, block: suspend QosPolicyResourceBuilder.() -> Unit): QosPolicy
Link copied to clipboard
Link copied to clipboard
suspend fun snatEntry(name: String, block: suspend SnatEntryResourceBuilder.() -> Unit): SnatEntry