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,
});
}
}
Coming soon!
import pulumi
import pulumi_alicloud as alicloud
default = alicloud.edas.DeployGroup("default",
app_id=var["app_id"],
group_name=var["group_name"])import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const _default = new alicloud.edas.DeployGroup("default", {
appId: _var.app_id,
groupName: _var.group_name,
});Create a DeployGroup Resource
new DeployGroup(name: string, args: DeployGroupArgs, opts?: CustomResourceOptions);def DeployGroup(resource_name, opts=None, app_id=None, group_name=None, __props__=None);func NewDeployGroup(ctx *Context, name string, args DeployGroupArgs, opts ...ResourceOption) (*DeployGroup, error)public DeployGroup(string name, DeployGroupArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args DeployGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DeployGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DeployGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
DeployGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The DeployGroup resource accepts the following input properties:
- app_
id str The ID of the application that you want to deploy.
- group_
name str The name of the instance group that you want to create.
Outputs
All input properties are implicitly available as output properties. Additionally, the DeployGroup resource produces the following output properties:
- group_
type float 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.
- id str
- The provider-assigned unique ID for this managed resource.
Look up an Existing DeployGroup Resource
Get an existing DeployGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DeployGroupState, opts?: CustomResourceOptions): DeployGroupstatic get(resource_name, id, opts=None, app_id=None, group_name=None, group_type=None, __props__=None);func GetDeployGroup(ctx *Context, name string, id IDInput, state *DeployGroupState, opts ...ResourceOption) (*DeployGroup, error)public static DeployGroup Get(string name, Input<string> id, DeployGroupState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- App
Id string The ID of the application that you want to deploy.
- Group
Name string The name of the instance group that you want to create.
- Group
Type int 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.
- App
Id string The ID of the application that you want to deploy.
- Group
Name string The name of the instance group that you want to create.
- Group
Type int 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.
- app
Id string The ID of the application that you want to deploy.
- group
Name string The name of the instance group that you want to create.
- group
Type number 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.
- app_
id str The ID of the application that you want to deploy.
- group_
name str The name of the instance group that you want to create.
- group_
type float 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.
Package Details
- Repository
- https://github.com/pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.