ProjectProps
Properties for defining a Project.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sls-project
Initializer
using AlibabaCloud.SDK.ROS.CDK.Sls;
new ProjectProps {
object Name,
object DataRedundancyType = null,
object Description = null,
object ResourceGroupId = null,
TagsProperty[] Tags = null
};
Properties
| Name | Type | Description |
|---|---|---|
Name |
object |
Property name: Project name: 1. |
DataRedundancyType |
object |
Property dataRedundancyType: Disaster recovery type.LRS: Local redundant storage.ZRS: Local redundant storage. |
Description |
object |
Property description: Project description: <>'"\ is not supported, up to 64 characters. |
ResourceGroupId |
object |
Property resourceGroupId: The ID of the resource group to which the sls project belongs. |
Tags |
TagsProperty[] |
Property tags: Tags to attach to project. |
NameRequired
public object Name { get; set; }
- Type: object
Property name: Project name: 1.
Only supports lowercase letters, numbers, hyphens (-) and underscores (_). 2. Must start and end with lowercase letters and numbers. 3. The name length is 3-63 characters.
DataRedundancyTypeOptional
public object DataRedundancyType { get; set; }
- Type: object
Property dataRedundancyType: Disaster recovery type.LRS: Local redundant storage.ZRS: Local redundant storage.
DescriptionOptional
public object Description { get; set; }
- Type: object
Property description: Project description: <>'"\ is not supported, up to 64 characters.
ResourceGroupIdOptional
public object ResourceGroupId { get; set; }
- Type: object
Property resourceGroupId: The ID of the resource group to which the sls project belongs.
If not provided, the project belongs to the default resource group.
TagsOptional
public TagsProperty[] Tags { get; set; }
- Type: TagsProperty[]
Property tags: Tags to attach to project.
Max support 20 tags to add during create project. Each tag with two properties Key and Value, and Key is required.