DeployRevisionProps
Properties for defining a DeployRevision.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-deployrevision
Initializer
using AlibabaCloud.SDK.ROS.CDK.Oos;
new DeployRevisionProps {
object ApplicationName,
object DeployResourceType = null,
object Description = null,
object Hooks = null,
object Location = null,
object RevisionType = null
};
Properties
| Name | Type | Description |
|---|---|---|
ApplicationName | object | Property applicationName: The name of the application. |
DeployResourceType | object | Property deployResourceType: The type of the deployment resource. |
Description | object | Property description: The description of the revision. |
Hooks | object | Property hooks: The hook of the code to be deployed. |
Location | object | Property location: The location of the code to be deployed. |
RevisionType | object | Property revisionType: The type of the deployment revision. |
ApplicationNameRequired
public object ApplicationName { get; set; }
- Type: object
Property applicationName: The name of the application.
DeployResourceTypeOptional
public object DeployResourceType { get; set; }
- Type: object
Property deployResourceType: The type of the deployment resource.
Valid values:
Kubernetes: A Kubernetes cluster.Ecs: An ECS instance.FC: A Function Compute service.SWAS: A Simple Application Server instance.
DescriptionOptional
public object Description { get; set; }
- Type: object
Property description: The description of the revision.
HooksOptional
public object Hooks { get; set; }
- Type: object
Property hooks: The hook of the code to be deployed.
LocationOptional
public object Location { get; set; }
- Type: object
Property location: The location of the code to be deployed.
RevisionTypeOptional
public object RevisionType { get; set; }
- Type: object
Property revisionType: The type of the deployment revision.
Valid values:
Command: A command.GitRepo: A Git repository.HelmChart: A Helm chart.Oss: An object in Object Storage Service (OSS).EcsImage: An ECS image.DockerImage: A Docker image.Yaml: A YAML file.