MachineGroup
Create a MachineGroup Resource
new MachineGroup(name: string, args: MachineGroupArgs, opts?: CustomResourceOptions);def MachineGroup(resource_name, opts=None, identify_lists=None, identify_type=None, name=None, project=None, topic=None, __props__=None);func NewMachineGroup(ctx *Context, name string, args MachineGroupArgs, opts ...ResourceOption) (*MachineGroup, error)public MachineGroup(string name, MachineGroupArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args MachineGroupArgs
- 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 MachineGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MachineGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
MachineGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The MachineGroup resource accepts the following input properties:
- Identify
Lists List<string> The specific machine identification, which can be an IP address or user-defined identity.
- Project string
The project name to the machine group belongs.
- Identify
Type string The machine identification type, including IP and user-defined identity. Valid values are “ip” and “userdefined”. Default to “ip”.
- Name string
The machine group name, which is unique in the same project.
- Topic string
The topic of a machine group.
- Identify
Lists []string The specific machine identification, which can be an IP address or user-defined identity.
- Project string
The project name to the machine group belongs.
- Identify
Type string The machine identification type, including IP and user-defined identity. Valid values are “ip” and “userdefined”. Default to “ip”.
- Name string
The machine group name, which is unique in the same project.
- Topic string
The topic of a machine group.
- identify
Lists string[] The specific machine identification, which can be an IP address or user-defined identity.
- project string
The project name to the machine group belongs.
- identify
Type string The machine identification type, including IP and user-defined identity. Valid values are “ip” and “userdefined”. Default to “ip”.
- name string
The machine group name, which is unique in the same project.
- topic string
The topic of a machine group.
- identify_
lists List[str] The specific machine identification, which can be an IP address or user-defined identity.
- project str
The project name to the machine group belongs.
- identify_
type str The machine identification type, including IP and user-defined identity. Valid values are “ip” and “userdefined”. Default to “ip”.
- name str
The machine group name, which is unique in the same project.
- topic str
The topic of a machine group.
Outputs
All input properties are implicitly available as output properties. Additionally, the MachineGroup resource produces the following output properties:
Look up an Existing MachineGroup Resource
Get an existing MachineGroup 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?: MachineGroupState, opts?: CustomResourceOptions): MachineGroupstatic get(resource_name, id, opts=None, identify_lists=None, identify_type=None, name=None, project=None, topic=None, __props__=None);func GetMachineGroup(ctx *Context, name string, id IDInput, state *MachineGroupState, opts ...ResourceOption) (*MachineGroup, error)public static MachineGroup Get(string name, Input<string> id, MachineGroupState? 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:
- Identify
Lists List<string> The specific machine identification, which can be an IP address or user-defined identity.
- Identify
Type string The machine identification type, including IP and user-defined identity. Valid values are “ip” and “userdefined”. Default to “ip”.
- Name string
The machine group name, which is unique in the same project.
- Project string
The project name to the machine group belongs.
- Topic string
The topic of a machine group.
- Identify
Lists []string The specific machine identification, which can be an IP address or user-defined identity.
- Identify
Type string The machine identification type, including IP and user-defined identity. Valid values are “ip” and “userdefined”. Default to “ip”.
- Name string
The machine group name, which is unique in the same project.
- Project string
The project name to the machine group belongs.
- Topic string
The topic of a machine group.
- identify
Lists string[] The specific machine identification, which can be an IP address or user-defined identity.
- identify
Type string The machine identification type, including IP and user-defined identity. Valid values are “ip” and “userdefined”. Default to “ip”.
- name string
The machine group name, which is unique in the same project.
- project string
The project name to the machine group belongs.
- topic string
The topic of a machine group.
- identify_
lists List[str] The specific machine identification, which can be an IP address or user-defined identity.
- identify_
type str The machine identification type, including IP and user-defined identity. Valid values are “ip” and “userdefined”. Default to “ip”.
- name str
The machine group name, which is unique in the same project.
- project str
The project name to the machine group belongs.
- topic str
The topic of a machine group.
Package Details
- Repository
- https://github.com/pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.