published on Tuesday, Oct 6, 2026 by Kurrent
published on Tuesday, Oct 6, 2026 by Kurrent
Create ManagedClusterReplicaset Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagedClusterReplicaset(name: string, args: ManagedClusterReplicasetArgs, opts?: CustomResourceOptions);@overload
def ManagedClusterReplicaset(resource_name: str,
args: ManagedClusterReplicasetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ManagedClusterReplicaset(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
project_id: Optional[str] = None,
replica_count: Optional[int] = None,
protected: Optional[bool] = None)func NewManagedClusterReplicaset(ctx *Context, name string, args ManagedClusterReplicasetArgs, opts ...ResourceOption) (*ManagedClusterReplicaset, error)public ManagedClusterReplicaset(string name, ManagedClusterReplicasetArgs args, CustomResourceOptions? opts = null)
public ManagedClusterReplicaset(String name, ManagedClusterReplicasetArgs args)
public ManagedClusterReplicaset(String name, ManagedClusterReplicasetArgs args, CustomResourceOptions options)
type: kurrentcloud:ManagedClusterReplicaset
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "kurrentcloud_managed_cluster_replicaset" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ManagedClusterReplicasetArgs
- 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 ManagedClusterReplicasetArgs
- 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 ManagedClusterReplicasetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagedClusterReplicasetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagedClusterReplicasetArgs
- 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 managedClusterReplicasetResource = new KurrentCloud.ManagedClusterReplicaset("managedClusterReplicasetResource", new()
{
ClusterId = "string",
ProjectId = "string",
ReplicaCount = 0,
Protected = false,
});
example, err := kurrentcloud.NewManagedClusterReplicaset(ctx, "managedClusterReplicasetResource", &kurrentcloud.ManagedClusterReplicasetArgs{
ClusterId: pulumi.String("string"),
ProjectId: pulumi.String("string"),
ReplicaCount: pulumi.Int(0),
Protected: pulumi.Bool(false),
})
resource "kurrentcloud_managed_cluster_replicaset" "managedClusterReplicasetResource" {
lifecycle {
create_before_destroy = true
}
cluster_id = "string"
project_id = "string"
replica_count = 0
protected = false
}
var managedClusterReplicasetResource = new ManagedClusterReplicaset("managedClusterReplicasetResource", ManagedClusterReplicasetArgs.builder()
.clusterId("string")
.projectId("string")
.replicaCount(0)
.protected_(false)
.build());
managed_cluster_replicaset_resource = kurrentcloud.ManagedClusterReplicaset("managedClusterReplicasetResource",
cluster_id="string",
project_id="string",
replica_count=0,
protected=False)
const managedClusterReplicasetResource = new kurrentcloud.ManagedClusterReplicaset("managedClusterReplicasetResource", {
clusterId: "string",
projectId: "string",
replicaCount: 0,
"protected": false,
});
type: kurrentcloud:ManagedClusterReplicaset
properties:
clusterId: string
projectId: string
protected: false
replicaCount: 0
ManagedClusterReplicaset 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 ManagedClusterReplicaset resource accepts the following input properties:
- Cluster
Id string - ID of the parent managed cluster. Used as the resource ID since each cluster has at most one read-only replica set.
- Project
Id string - ID of the project that owns the parent managed cluster
- Replica
Count int - Number of read-only replicas in the set (1 or 2)
- Protected bool
- Protection from accidental deletion. Delete is rejected by the API while this is true.
- Cluster
Id string - ID of the parent managed cluster. Used as the resource ID since each cluster has at most one read-only replica set.
- Project
Id string - ID of the project that owns the parent managed cluster
- Replica
Count int - Number of read-only replicas in the set (1 or 2)
- Protected bool
- Protection from accidental deletion. Delete is rejected by the API while this is true.
- cluster_
id string - ID of the parent managed cluster. Used as the resource ID since each cluster has at most one read-only replica set.
- project_
id string - ID of the project that owns the parent managed cluster
- replica_
count number - Number of read-only replicas in the set (1 or 2)
- protected bool
- Protection from accidental deletion. Delete is rejected by the API while this is true.
- cluster
Id String - ID of the parent managed cluster. Used as the resource ID since each cluster has at most one read-only replica set.
- project
Id String - ID of the project that owns the parent managed cluster
- replica
Count Integer - Number of read-only replicas in the set (1 or 2)
- protected_ Boolean
- Protection from accidental deletion. Delete is rejected by the API while this is true.
- cluster
Id string - ID of the parent managed cluster. Used as the resource ID since each cluster has at most one read-only replica set.
- project
Id string - ID of the project that owns the parent managed cluster
- replica
Count number - Number of read-only replicas in the set (1 or 2)
- protected boolean
- Protection from accidental deletion. Delete is rejected by the API while this is true.
- cluster_
id str - ID of the parent managed cluster. Used as the resource ID since each cluster has at most one read-only replica set.
- project_
id str - ID of the project that owns the parent managed cluster
- replica_
count int - Number of read-only replicas in the set (1 or 2)
- protected bool
- Protection from accidental deletion. Delete is rejected by the API while this is true.
- cluster
Id String - ID of the parent managed cluster. Used as the resource ID since each cluster has at most one read-only replica set.
- project
Id String - ID of the project that owns the parent managed cluster
- replica
Count Number - Number of read-only replicas in the set (1 or 2)
- protected Boolean
- Protection from accidental deletion. Delete is rejected by the API while this is true.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagedClusterReplicaset resource produces the following output properties:
- created_
at string - Creation timestamp
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- Current status of the read-only replica set
- updated_
at string - Last modification timestamp
- created_
at str - Creation timestamp
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- Current status of the read-only replica set
- updated_
at str - Last modification timestamp
Look up Existing ManagedClusterReplicaset Resource
Get an existing ManagedClusterReplicaset 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?: ManagedClusterReplicasetState, opts?: CustomResourceOptions): ManagedClusterReplicaset@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
created_at: Optional[str] = None,
project_id: Optional[str] = None,
protected: Optional[bool] = None,
replica_count: Optional[int] = None,
status: Optional[str] = None,
updated_at: Optional[str] = None) -> ManagedClusterReplicasetfunc GetManagedClusterReplicaset(ctx *Context, name string, id IDInput, state *ManagedClusterReplicasetState, opts ...ResourceOption) (*ManagedClusterReplicaset, error)public static ManagedClusterReplicaset Get(string name, Input<string> id, ManagedClusterReplicasetState? state, CustomResourceOptions? opts = null)public static ManagedClusterReplicaset get(String name, Output<String> id, ManagedClusterReplicasetState state, CustomResourceOptions options)resources: _: type: kurrentcloud:ManagedClusterReplicaset get: id: ${id}import {
to = kurrentcloud_managed_cluster_replicaset.example
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.
- Cluster
Id string - ID of the parent managed cluster. Used as the resource ID since each cluster has at most one read-only replica set.
- Created
At string - Creation timestamp
- Project
Id string - ID of the project that owns the parent managed cluster
- Protected bool
- Protection from accidental deletion. Delete is rejected by the API while this is true.
- Replica
Count int - Number of read-only replicas in the set (1 or 2)
- Status string
- Current status of the read-only replica set
- Updated
At string - Last modification timestamp
- Cluster
Id string - ID of the parent managed cluster. Used as the resource ID since each cluster has at most one read-only replica set.
- Created
At string - Creation timestamp
- Project
Id string - ID of the project that owns the parent managed cluster
- Protected bool
- Protection from accidental deletion. Delete is rejected by the API while this is true.
- Replica
Count int - Number of read-only replicas in the set (1 or 2)
- Status string
- Current status of the read-only replica set
- Updated
At string - Last modification timestamp
- cluster_
id string - ID of the parent managed cluster. Used as the resource ID since each cluster has at most one read-only replica set.
- created_
at string - Creation timestamp
- project_
id string - ID of the project that owns the parent managed cluster
- protected bool
- Protection from accidental deletion. Delete is rejected by the API while this is true.
- replica_
count number - Number of read-only replicas in the set (1 or 2)
- status string
- Current status of the read-only replica set
- updated_
at string - Last modification timestamp
- cluster
Id String - ID of the parent managed cluster. Used as the resource ID since each cluster has at most one read-only replica set.
- created
At String - Creation timestamp
- project
Id String - ID of the project that owns the parent managed cluster
- protected_ Boolean
- Protection from accidental deletion. Delete is rejected by the API while this is true.
- replica
Count Integer - Number of read-only replicas in the set (1 or 2)
- status String
- Current status of the read-only replica set
- updated
At String - Last modification timestamp
- cluster
Id string - ID of the parent managed cluster. Used as the resource ID since each cluster has at most one read-only replica set.
- created
At string - Creation timestamp
- project
Id string - ID of the project that owns the parent managed cluster
- protected boolean
- Protection from accidental deletion. Delete is rejected by the API while this is true.
- replica
Count number - Number of read-only replicas in the set (1 or 2)
- status string
- Current status of the read-only replica set
- updated
At string - Last modification timestamp
- cluster_
id str - ID of the parent managed cluster. Used as the resource ID since each cluster has at most one read-only replica set.
- created_
at str - Creation timestamp
- project_
id str - ID of the project that owns the parent managed cluster
- protected bool
- Protection from accidental deletion. Delete is rejected by the API while this is true.
- replica_
count int - Number of read-only replicas in the set (1 or 2)
- status str
- Current status of the read-only replica set
- updated_
at str - Last modification timestamp
- cluster
Id String - ID of the parent managed cluster. Used as the resource ID since each cluster has at most one read-only replica set.
- created
At String - Creation timestamp
- project
Id String - ID of the project that owns the parent managed cluster
- protected Boolean
- Protection from accidental deletion. Delete is rejected by the API while this is true.
- replica
Count Number - Number of read-only replicas in the set (1 or 2)
- status String
- Current status of the read-only replica set
- updated
At String - Last modification timestamp
Package Details
- Repository
- kurrentcloud kurrent-io/pulumi-kurrentcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
kurrentcloudTerraform Provider.
published on Tuesday, Oct 6, 2026 by Kurrent