Skip to content

DeployRevisionProps

Properties for defining a DeployRevision.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-deployrevision

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkoos"
&alicloudroscdkoos.DeployRevisionProps {
    ApplicationName: interface{},
    DeployResourceType: interface{},
    Description: interface{},
    Hooks: interface{},
    Location: interface{},
    RevisionType: interface{},
}

Properties

Name Type Description
ApplicationName interface{} Property applicationName: The name of the application.
DeployResourceType interface{} Property deployResourceType: The type of the deployment resource.
Description interface{} Property description: The description of the revision.
Hooks interface{} Property hooks: The hook of the code to be deployed.
Location interface{} Property location: The location of the code to be deployed.
RevisionType interface{} Property revisionType: The type of the deployment revision.

ApplicationNameRequired

ApplicationName interface{}
  • Type: interface{}

Property applicationName: The name of the application.


DeployResourceTypeOptional

DeployResourceType interface{}
  • Type: interface{}

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

Description interface{}
  • Type: interface{}

Property description: The description of the revision.


HooksOptional

Hooks interface{}
  • Type: interface{}

Property hooks: The hook of the code to be deployed.


LocationOptional

Location interface{}
  • Type: interface{}

Property location: The location of the code to be deployed.


RevisionTypeOptional

RevisionType interface{}
  • Type: interface{}

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.