Skip to content

PolicyProps

Properties for defining a Policy.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Apig;
new PolicyProps {
    object AttachResourceIds,
    object AttachResourceType,
    object EnvironmentId,
    object GatewayId,
    object PolicyClassName,
    object PolicyConfig,
    object PolicyName = null
};

Properties

Name Type Description
AttachResourceIds object Property attachResourceIds: The Mount point id list.
AttachResourceType object Property attachResourceType: Policies support mount point types.
EnvironmentId object Property environmentId: The id of the environment.
GatewayId object Property gatewayId: The ID of the Gateway.
PolicyClassName object Property policyClassName: The name of the policy class.
PolicyConfig object Property policyConfig: Policy Configuration.
PolicyName object Property policyName: The name of the policy.

AttachResourceIdsRequired

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

Property attachResourceIds: The Mount point id list.


AttachResourceTypeRequired

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

Property attachResourceType: Policies support mount point types.

HttpApi:HttpApi. Operation: the Operation of the HttpApi. GatewayRoute: Gateway route. GatewayService: Gateway service. GatewayServicePort: The Gateway service port. Domain: The Gateway Domain name. Gateway: Gateway.


EnvironmentIdRequired

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

Property environmentId: The id of the environment.


GatewayIdRequired

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

Property gatewayId: The ID of the Gateway.


PolicyClassNameRequired

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

Property policyClassName: The name of the policy class.


PolicyConfigRequired

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

Property policyConfig: Policy Configuration.


PolicyNameOptional

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

Property policyName: The name of the policy.