HttpApiProps
Properties for defining a HttpApi.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apig-httpapi
Initializer
using AlibabaCloud.SDK.ROS.CDK.Apig;
new HttpApiProps {
object HttpApiName,
object Protocols,
object BasePath = null,
object Description = null,
object Type = null
};
Properties
| Name | Type | Description |
|---|---|---|
HttpApiName |
object |
Property httpApiName: The name of the API. |
Protocols |
object |
Property protocols: List of API Access Protocols. |
BasePath |
object |
Property basePath: The base path of the API should start with a \/. |
Description |
object |
Property description: Description of API. |
Type |
object |
Property type: The type of HTTP API, Valid values: * Http * Rest * WebSocket * HttpIngress. |
HttpApiNameRequired
public object HttpApiName { get; set; }
- Type: object
Property httpApiName: The name of the API.
ProtocolsRequired
public object Protocols { get; set; }
- Type: object
Property protocols: List of API Access Protocols.
BasePathOptional
public object BasePath { get; set; }
- Type: object
Property basePath: The base path of the API should start with a \/.
DescriptionOptional
public object Description { get; set; }
- Type: object
Property description: Description of API.
TypeOptional
public object Type { get; set; }
- Type: object
Property type: The type of HTTP API, Valid values: * Http * Rest * WebSocket * HttpIngress.