Class DeployGroup
Provides an EDAS deploy group resource.
NOTE: Available in 1.82.0+
Example Usage
using Pulumi;
using AliCloud = Pulumi.AliCloud;
class MyStack : Stack
{
public MyStack()
{
var @default = new AliCloud.Edas.DeployGroup("default", new AliCloud.Edas.DeployGroupArgs
{
AppId = @var.App_id,
GroupName = @var.Group_name,
});
}
}
Inherited Members
Namespace: Pulumi.AliCloud.Edas
Assembly: Pulumi.AliCloud.dll
Syntax
public class DeployGroup : CustomResource
Constructors
View SourceDeployGroup(String, DeployGroupArgs, CustomResourceOptions)
Create a DeployGroup resource with the given unique name, arguments, and options.
Declaration
public DeployGroup(string name, DeployGroupArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| DeployGroupArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAppId
The ID of the application that you want to deploy.
Declaration
public Output<string> AppId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
GroupName
The name of the instance group that you want to create.
Declaration
public Output<string> GroupName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
GroupType
The type of the instance group that you want to create. Valid values: 0: Default group. 1: Phased release is disabled for traffic management. 2: Phased release is enabled for traffic management.
Declaration
public Output<int> GroupType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
Methods
View SourceGet(String, Input<String>, DeployGroupState, CustomResourceOptions)
Get an existing DeployGroup resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static DeployGroup Get(string name, Input<string> id, DeployGroupState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| DeployGroupState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| DeployGroup |