Skip to content

GatewayProps

Properties for defining a Gateway.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Apig;
new GatewayProps {
    object GatewayName,
    object NetworkAccessConfig,
    object PaymentType,
    object Spec,
    object ZoneConfig,
    object GatewayType = null,
    object LogConfig = null,
    object Period = null,
    object PeriodUnit = null,
    object ResourceGroupId = null,
    TagsProperty[] Tags = null,
    object Vpc = null,
    object VSwitch = null
};

Properties

Name Type Description
GatewayName object Property gatewayName: The name of the Gateway.
NetworkAccessConfig object Property networkAccessConfig: Network Access Configuration.
PaymentType object Property paymentType: The payment type of the gateway.
Spec object Property spec: Gateway instance specifications.
ZoneConfig object Property zoneConfig: Availability Zone Configuration.
GatewayType object 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 object Property logConfig: Log Configuration.
Period object Property period: The purchase time of the gateway.
PeriodUnit object Property periodUnit: The unit of the purchase time of the gateway.
ResourceGroupId object Property resourceGroupId: The ID of the resource group.
Tags TagsProperty[] Property tags: Tags of The tags of the Gateway..
Vpc object Property vpc: The VPC associated with the Gateway.
VSwitch object Property vSwitch: The virtual switch associated with the Gateway.

GatewayNameRequired

public object GatewayName { get; set; }
  • Type: object

Property gatewayName: The name of the Gateway.


NetworkAccessConfigRequired

public object NetworkAccessConfig { get; set; }
  • Type: object

Property networkAccessConfig: Network Access Configuration.


PaymentTypeRequired

public object PaymentType { get; set; }
  • Type: object

Property paymentType: The payment type of the gateway.

Valid values:

  • PayAsYouGo
  • Subscription

SpecRequired

public object Spec { get; set; }
  • Type: object

Property spec: Gateway instance specifications.


ZoneConfigRequired

public object ZoneConfig { get; set; }
  • Type: object

Property zoneConfig: Availability Zone Configuration.


GatewayTypeOptional

public object GatewayType { get; set; }
  • Type: object

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

public object LogConfig { get; set; }
  • Type: object

Property logConfig: Log Configuration.


PeriodOptional

public object Period { get; set; }
  • Type: object

Property period: The purchase time of the gateway.

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


PeriodUnitOptional

public object PeriodUnit { get; set; }
  • Type: object

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

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


ResourceGroupIdOptional

public object ResourceGroupId { get; set; }
  • Type: object

Property resourceGroupId: The ID of the resource group.


TagsOptional

public TagsProperty[] Tags { get; set; }

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


VpcOptional

public object Vpc { get; set; }
  • Type: object

Property vpc: The VPC associated with the Gateway.


VSwitchOptional

public object VSwitch { get; set; }
  • Type: object

Property vSwitch: The virtual switch associated with the Gateway.