Skip to content

GatewayProps

Properties for defining a Gateway.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apig-gateway

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkapig"
&alicloudroscdkapig.GatewayProps {
    GatewayName: interface{},
    NetworkAccessConfig: interface{},
    PaymentType: interface{},
    Spec: interface{},
    ZoneConfig: interface{},
    GatewayType: interface{},
    LogConfig: interface{},
    Period: interface{},
    PeriodUnit: interface{},
    ResourceGroupId: interface{},
    Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkapig.RosGateway.TagsProperty,
    Vpc: interface{},
    VSwitch: interface{},
}

Properties

Name Type Description
GatewayName interface{} Property gatewayName: The name of the Gateway.
NetworkAccessConfig interface{} Property networkAccessConfig: Network Access Configuration.
PaymentType interface{} Property paymentType: The payment type of the gateway.
Spec interface{} Property spec: Gateway instance specifications.
ZoneConfig interface{} Property zoneConfig: Availability Zone Configuration.
GatewayType interface{} Property gatewayType: Describes the gateway type, which is categorized into the following two types: * API: indicates an API gateway * AI: Indicates an AI gateway.
LogConfig interface{} Property logConfig: Log Configuration.
Period interface{} Property period: The purchase time of the gateway.
PeriodUnit interface{} Property periodUnit: The unit of the purchase time of the gateway.
ResourceGroupId interface{} Property resourceGroupId: The ID of the resource group.
Tags *[]TagsProperty Property tags: Tags of The tags of the Gateway..
Vpc interface{} Property vpc: The VPC associated with the Gateway.
VSwitch interface{} Property vSwitch: The virtual switch associated with the Gateway.

GatewayNameRequired

GatewayName interface{}
  • Type: interface{}

Property gatewayName: The name of the Gateway.


NetworkAccessConfigRequired

NetworkAccessConfig interface{}
  • Type: interface{}

Property networkAccessConfig: Network Access Configuration.


PaymentTypeRequired

PaymentType interface{}
  • Type: interface{}

Property paymentType: The payment type of the gateway.

Valid values:

  • PayAsYouGo
  • Subscription

SpecRequired

Spec interface{}
  • Type: interface{}

Property spec: Gateway instance specifications.


ZoneConfigRequired

ZoneConfig interface{}
  • Type: interface{}

Property zoneConfig: Availability Zone Configuration.


GatewayTypeOptional

GatewayType interface{}
  • Type: interface{}

Property gatewayType: Describes the gateway type, which is categorized into the following two types: * API: indicates an API gateway * AI: Indicates an AI gateway.

Default value: API.


LogConfigOptional

LogConfig interface{}
  • Type: interface{}

Property logConfig: Log Configuration.


PeriodOptional

Period interface{}
  • Type: interface{}

Property period: The purchase time of the gateway.

This parameter is only valid when updating PaymentType from PayAsYouGo to Subscription.


PeriodUnitOptional

PeriodUnit interface{}
  • Type: interface{}

Property periodUnit: The unit of the purchase time of the gateway.

This parameter is only valid when updating PaymentType from PayAsYouGo to Subscription.


ResourceGroupIdOptional

ResourceGroupId interface{}
  • Type: interface{}

Property resourceGroupId: The ID of the resource group.


TagsOptional

Tags *[]TagsProperty

Property tags: Tags of The tags of the Gateway..


VpcOptional

Vpc interface{}
  • Type: interface{}

Property vpc: The VPC associated with the Gateway.


VSwitchOptional

VSwitch interface{}
  • Type: interface{}

Property vSwitch: The virtual switch associated with the Gateway.