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. |
HttpApiName
Required
public object HttpApiName { get; set; }
- Type: object
Property httpApiName: The name of the API.
Protocols
Required
public object Protocols { get; set; }
- Type: object
Property protocols: List of API Access Protocols.
BasePath
Optional
public object BasePath { get; set; }
- Type: object
Property basePath: The base path of the API should start with a \/.
Description
Optional
public object Description { get; set; }
- Type: object
Property description: Description of API.
Type
Optional
public object Type { get; set; }
- Type: object
Property type: The type of HTTP API, Valid values: * Http * Rest * WebSocket * HttpIngress.