powerflex.ReplicationConsistencyGroupAction
Explore with Pulumi AI
Create ReplicationConsistencyGroupAction Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ReplicationConsistencyGroupAction(name: string, args: ReplicationConsistencyGroupActionArgs, opts?: CustomResourceOptions);
@overload
def ReplicationConsistencyGroupAction(resource_name: str,
args: ReplicationConsistencyGroupActionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ReplicationConsistencyGroupAction(resource_name: str,
opts: Optional[ResourceOptions] = None,
replication_consistency_group_action_id: Optional[str] = None,
action: Optional[str] = None)
func NewReplicationConsistencyGroupAction(ctx *Context, name string, args ReplicationConsistencyGroupActionArgs, opts ...ResourceOption) (*ReplicationConsistencyGroupAction, error)
public ReplicationConsistencyGroupAction(string name, ReplicationConsistencyGroupActionArgs args, CustomResourceOptions? opts = null)
public ReplicationConsistencyGroupAction(String name, ReplicationConsistencyGroupActionArgs args)
public ReplicationConsistencyGroupAction(String name, ReplicationConsistencyGroupActionArgs args, CustomResourceOptions options)
type: powerflex:ReplicationConsistencyGroupAction
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ReplicationConsistencyGroupActionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ReplicationConsistencyGroupActionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ReplicationConsistencyGroupActionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ReplicationConsistencyGroupActionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ReplicationConsistencyGroupActionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var replicationConsistencyGroupActionResource = new Powerflex.ReplicationConsistencyGroupAction("replicationConsistencyGroupActionResource", new()
{
ReplicationConsistencyGroupActionId = "string",
Action = "string",
});
example, err := powerflex.NewReplicationConsistencyGroupAction(ctx, "replicationConsistencyGroupActionResource", &powerflex.ReplicationConsistencyGroupActionArgs{
ReplicationConsistencyGroupActionId: pulumi.String("string"),
Action: pulumi.String("string"),
})
var replicationConsistencyGroupActionResource = new ReplicationConsistencyGroupAction("replicationConsistencyGroupActionResource", ReplicationConsistencyGroupActionArgs.builder()
.replicationConsistencyGroupActionId("string")
.action("string")
.build());
replication_consistency_group_action_resource = powerflex.ReplicationConsistencyGroupAction("replicationConsistencyGroupActionResource",
replication_consistency_group_action_id="string",
action="string")
const replicationConsistencyGroupActionResource = new powerflex.ReplicationConsistencyGroupAction("replicationConsistencyGroupActionResource", {
replicationConsistencyGroupActionId: "string",
action: "string",
});
type: powerflex:ReplicationConsistencyGroupAction
properties:
action: string
replicationConsistencyGroupActionId: string
ReplicationConsistencyGroupAction Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ReplicationConsistencyGroupAction resource accepts the following input properties:
- Replication
Consistency stringGroup Action Id - Replication Consistency Group ID
- Action string
- Replication Consistency Group Action
- Replication
Consistency stringGroup Action Id - Replication Consistency Group ID
- Action string
- Replication Consistency Group Action
- replication
Consistency StringGroup Action Id - Replication Consistency Group ID
- action String
- Replication Consistency Group Action
- replication
Consistency stringGroup Action Id - Replication Consistency Group ID
- action string
- Replication Consistency Group Action
- replication_
consistency_ strgroup_ action_ id - Replication Consistency Group ID
- action str
- Replication Consistency Group Action
- replication
Consistency StringGroup Action Id - Replication Consistency Group ID
- action String
- Replication Consistency Group Action
Outputs
All input properties are implicitly available as output properties. Additionally, the ReplicationConsistencyGroupAction resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ReplicationConsistencyGroupAction Resource
Get an existing ReplicationConsistencyGroupAction 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?: ReplicationConsistencyGroupActionState, opts?: CustomResourceOptions): ReplicationConsistencyGroupAction
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
action: Optional[str] = None,
replication_consistency_group_action_id: Optional[str] = None) -> ReplicationConsistencyGroupAction
func GetReplicationConsistencyGroupAction(ctx *Context, name string, id IDInput, state *ReplicationConsistencyGroupActionState, opts ...ResourceOption) (*ReplicationConsistencyGroupAction, error)
public static ReplicationConsistencyGroupAction Get(string name, Input<string> id, ReplicationConsistencyGroupActionState? state, CustomResourceOptions? opts = null)
public static ReplicationConsistencyGroupAction get(String name, Output<String> id, ReplicationConsistencyGroupActionState state, CustomResourceOptions options)
resources: _: type: powerflex:ReplicationConsistencyGroupAction get: id: ${id}
- 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.
- 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.
- Action string
- Replication Consistency Group Action
- Replication
Consistency stringGroup Action Id - Replication Consistency Group ID
- Action string
- Replication Consistency Group Action
- Replication
Consistency stringGroup Action Id - Replication Consistency Group ID
- action String
- Replication Consistency Group Action
- replication
Consistency StringGroup Action Id - Replication Consistency Group ID
- action string
- Replication Consistency Group Action
- replication
Consistency stringGroup Action Id - Replication Consistency Group ID
- action str
- Replication Consistency Group Action
- replication_
consistency_ strgroup_ action_ id - Replication Consistency Group ID
- action String
- Replication Consistency Group Action
- replication
Consistency StringGroup Action Id - Replication Consistency Group ID
Package Details
- Repository
- powerflex dell/terraform-provider-powerflex
- License
- Notes
- This Pulumi package is based on the
powerflex
Terraform Provider.