spectrocloud.ClusterVsphere
Explore with Pulumi AI
A resource to manage a vSphere cluster in Palette.
Create ClusterVsphere Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ClusterVsphere(name: string, args: ClusterVsphereArgs, opts?: CustomResourceOptions);
@overload
def ClusterVsphere(resource_name: str,
args: ClusterVsphereArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ClusterVsphere(resource_name: str,
opts: Optional[ResourceOptions] = None,
cloud_config: Optional[ClusterVsphereCloudConfigArgs] = None,
machine_pools: Optional[Sequence[ClusterVsphereMachinePoolArgs]] = None,
cloud_account_id: Optional[str] = None,
host_configs: Optional[Sequence[ClusterVsphereHostConfigArgs]] = None,
backup_policy: Optional[ClusterVsphereBackupPolicyArgs] = None,
cluster_profiles: Optional[Sequence[ClusterVsphereClusterProfileArgs]] = None,
cluster_rbac_bindings: Optional[Sequence[ClusterVsphereClusterRbacBindingArgs]] = None,
cluster_vsphere_id: Optional[str] = None,
context: Optional[str] = None,
description: Optional[str] = None,
force_delete: Optional[bool] = None,
force_delete_delay: Optional[float] = None,
apply_setting: Optional[str] = None,
location_configs: Optional[Sequence[ClusterVsphereLocationConfigArgs]] = None,
cluster_meta_attribute: Optional[str] = None,
name: Optional[str] = None,
namespaces: Optional[Sequence[ClusterVsphereNamespaceArgs]] = None,
os_patch_after: Optional[str] = None,
os_patch_on_boot: Optional[bool] = None,
os_patch_schedule: Optional[str] = None,
pause_agent_upgrades: Optional[str] = None,
review_repave_state: Optional[str] = None,
scan_policy: Optional[ClusterVsphereScanPolicyArgs] = None,
skip_completion: Optional[bool] = None,
tags: Optional[Sequence[str]] = None,
timeouts: Optional[ClusterVsphereTimeoutsArgs] = None)
func NewClusterVsphere(ctx *Context, name string, args ClusterVsphereArgs, opts ...ResourceOption) (*ClusterVsphere, error)
public ClusterVsphere(string name, ClusterVsphereArgs args, CustomResourceOptions? opts = null)
public ClusterVsphere(String name, ClusterVsphereArgs args)
public ClusterVsphere(String name, ClusterVsphereArgs args, CustomResourceOptions options)
type: spectrocloud:ClusterVsphere
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 ClusterVsphereArgs
- 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 ClusterVsphereArgs
- 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 ClusterVsphereArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClusterVsphereArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClusterVsphereArgs
- 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 clusterVsphereResource = new Spectrocloud.ClusterVsphere("clusterVsphereResource", new()
{
CloudConfig = new Spectrocloud.Inputs.ClusterVsphereCloudConfigArgs
{
Datacenter = "string",
Folder = "string",
HostEndpoint = "string",
ImageTemplateFolder = "string",
NetworkSearchDomain = "string",
NetworkType = "string",
NtpServers = new[]
{
"string",
},
SshKeys = new[]
{
"string",
},
StaticIp = false,
},
MachinePools = new[]
{
new Spectrocloud.Inputs.ClusterVsphereMachinePoolArgs
{
InstanceType = new Spectrocloud.Inputs.ClusterVsphereMachinePoolInstanceTypeArgs
{
Cpu = 0,
DiskSizeGb = 0,
MemoryMb = 0,
},
Placements = new[]
{
new Spectrocloud.Inputs.ClusterVsphereMachinePoolPlacementArgs
{
Cluster = "string",
Datastore = "string",
Network = "string",
ResourcePool = "string",
Id = "string",
StaticIpPoolId = "string",
},
},
Name = "string",
Count = 0,
Min = 0,
Max = 0,
AdditionalLabels =
{
{ "string", "string" },
},
ControlPlaneAsWorker = false,
NodeRepaveInterval = 0,
Nodes = new[]
{
new Spectrocloud.Inputs.ClusterVsphereMachinePoolNodeArgs
{
Action = "string",
NodeId = "string",
},
},
ControlPlane = false,
Taints = new[]
{
new Spectrocloud.Inputs.ClusterVsphereMachinePoolTaintArgs
{
Effect = "string",
Key = "string",
Value = "string",
},
},
UpdateStrategy = "string",
},
},
CloudAccountId = "string",
HostConfigs = new[]
{
new Spectrocloud.Inputs.ClusterVsphereHostConfigArgs
{
ExternalTrafficPolicy = "string",
HostEndpointType = "string",
IngressHost = "string",
LoadBalancerSourceRanges = "string",
},
},
BackupPolicy = new Spectrocloud.Inputs.ClusterVsphereBackupPolicyArgs
{
BackupLocationId = "string",
ExpiryInHour = 0,
Prefix = "string",
Schedule = "string",
ClusterUids = new[]
{
"string",
},
IncludeAllClusters = false,
IncludeClusterResources = false,
IncludeClusterResourcesMode = "string",
IncludeDisks = false,
Namespaces = new[]
{
"string",
},
},
ClusterProfiles = new[]
{
new Spectrocloud.Inputs.ClusterVsphereClusterProfileArgs
{
Id = "string",
Packs = new[]
{
new Spectrocloud.Inputs.ClusterVsphereClusterProfilePackArgs
{
Name = "string",
Manifests = new[]
{
new Spectrocloud.Inputs.ClusterVsphereClusterProfilePackManifestArgs
{
Content = "string",
Name = "string",
Uid = "string",
},
},
RegistryUid = "string",
Tag = "string",
Type = "string",
Uid = "string",
Values = "string",
},
},
Variables =
{
{ "string", "string" },
},
},
},
ClusterRbacBindings = new[]
{
new Spectrocloud.Inputs.ClusterVsphereClusterRbacBindingArgs
{
Type = "string",
Namespace = "string",
Role =
{
{ "string", "string" },
},
Subjects = new[]
{
new Spectrocloud.Inputs.ClusterVsphereClusterRbacBindingSubjectArgs
{
Name = "string",
Type = "string",
Namespace = "string",
},
},
},
},
ClusterVsphereId = "string",
Context = "string",
Description = "string",
ForceDelete = false,
ForceDeleteDelay = 0,
ApplySetting = "string",
LocationConfigs = new[]
{
new Spectrocloud.Inputs.ClusterVsphereLocationConfigArgs
{
Latitude = 0,
Longitude = 0,
CountryCode = "string",
CountryName = "string",
RegionCode = "string",
RegionName = "string",
},
},
ClusterMetaAttribute = "string",
Name = "string",
Namespaces = new[]
{
new Spectrocloud.Inputs.ClusterVsphereNamespaceArgs
{
Name = "string",
ResourceAllocation =
{
{ "string", "string" },
},
ImagesBlacklists = new[]
{
"string",
},
},
},
OsPatchAfter = "string",
OsPatchOnBoot = false,
OsPatchSchedule = "string",
PauseAgentUpgrades = "string",
ReviewRepaveState = "string",
ScanPolicy = new Spectrocloud.Inputs.ClusterVsphereScanPolicyArgs
{
ConfigurationScanSchedule = "string",
ConformanceScanSchedule = "string",
PenetrationScanSchedule = "string",
},
SkipCompletion = false,
Tags = new[]
{
"string",
},
Timeouts = new Spectrocloud.Inputs.ClusterVsphereTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := spectrocloud.NewClusterVsphere(ctx, "clusterVsphereResource", &spectrocloud.ClusterVsphereArgs{
CloudConfig: &spectrocloud.ClusterVsphereCloudConfigArgs{
Datacenter: pulumi.String("string"),
Folder: pulumi.String("string"),
HostEndpoint: pulumi.String("string"),
ImageTemplateFolder: pulumi.String("string"),
NetworkSearchDomain: pulumi.String("string"),
NetworkType: pulumi.String("string"),
NtpServers: pulumi.StringArray{
pulumi.String("string"),
},
SshKeys: pulumi.StringArray{
pulumi.String("string"),
},
StaticIp: pulumi.Bool(false),
},
MachinePools: spectrocloud.ClusterVsphereMachinePoolArray{
&spectrocloud.ClusterVsphereMachinePoolArgs{
InstanceType: &spectrocloud.ClusterVsphereMachinePoolInstanceTypeArgs{
Cpu: pulumi.Float64(0),
DiskSizeGb: pulumi.Float64(0),
MemoryMb: pulumi.Float64(0),
},
Placements: spectrocloud.ClusterVsphereMachinePoolPlacementArray{
&spectrocloud.ClusterVsphereMachinePoolPlacementArgs{
Cluster: pulumi.String("string"),
Datastore: pulumi.String("string"),
Network: pulumi.String("string"),
ResourcePool: pulumi.String("string"),
Id: pulumi.String("string"),
StaticIpPoolId: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
Count: pulumi.Float64(0),
Min: pulumi.Float64(0),
Max: pulumi.Float64(0),
AdditionalLabels: pulumi.StringMap{
"string": pulumi.String("string"),
},
ControlPlaneAsWorker: pulumi.Bool(false),
NodeRepaveInterval: pulumi.Float64(0),
Nodes: spectrocloud.ClusterVsphereMachinePoolNodeArray{
&spectrocloud.ClusterVsphereMachinePoolNodeArgs{
Action: pulumi.String("string"),
NodeId: pulumi.String("string"),
},
},
ControlPlane: pulumi.Bool(false),
Taints: spectrocloud.ClusterVsphereMachinePoolTaintArray{
&spectrocloud.ClusterVsphereMachinePoolTaintArgs{
Effect: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
UpdateStrategy: pulumi.String("string"),
},
},
CloudAccountId: pulumi.String("string"),
HostConfigs: spectrocloud.ClusterVsphereHostConfigArray{
&spectrocloud.ClusterVsphereHostConfigArgs{
ExternalTrafficPolicy: pulumi.String("string"),
HostEndpointType: pulumi.String("string"),
IngressHost: pulumi.String("string"),
LoadBalancerSourceRanges: pulumi.String("string"),
},
},
BackupPolicy: &spectrocloud.ClusterVsphereBackupPolicyArgs{
BackupLocationId: pulumi.String("string"),
ExpiryInHour: pulumi.Float64(0),
Prefix: pulumi.String("string"),
Schedule: pulumi.String("string"),
ClusterUids: pulumi.StringArray{
pulumi.String("string"),
},
IncludeAllClusters: pulumi.Bool(false),
IncludeClusterResources: pulumi.Bool(false),
IncludeClusterResourcesMode: pulumi.String("string"),
IncludeDisks: pulumi.Bool(false),
Namespaces: pulumi.StringArray{
pulumi.String("string"),
},
},
ClusterProfiles: spectrocloud.ClusterVsphereClusterProfileArray{
&spectrocloud.ClusterVsphereClusterProfileArgs{
Id: pulumi.String("string"),
Packs: spectrocloud.ClusterVsphereClusterProfilePackArray{
&spectrocloud.ClusterVsphereClusterProfilePackArgs{
Name: pulumi.String("string"),
Manifests: spectrocloud.ClusterVsphereClusterProfilePackManifestArray{
&spectrocloud.ClusterVsphereClusterProfilePackManifestArgs{
Content: pulumi.String("string"),
Name: pulumi.String("string"),
Uid: pulumi.String("string"),
},
},
RegistryUid: pulumi.String("string"),
Tag: pulumi.String("string"),
Type: pulumi.String("string"),
Uid: pulumi.String("string"),
Values: pulumi.String("string"),
},
},
Variables: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
ClusterRbacBindings: spectrocloud.ClusterVsphereClusterRbacBindingArray{
&spectrocloud.ClusterVsphereClusterRbacBindingArgs{
Type: pulumi.String("string"),
Namespace: pulumi.String("string"),
Role: pulumi.StringMap{
"string": pulumi.String("string"),
},
Subjects: spectrocloud.ClusterVsphereClusterRbacBindingSubjectArray{
&spectrocloud.ClusterVsphereClusterRbacBindingSubjectArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
Namespace: pulumi.String("string"),
},
},
},
},
ClusterVsphereId: pulumi.String("string"),
Context: pulumi.String("string"),
Description: pulumi.String("string"),
ForceDelete: pulumi.Bool(false),
ForceDeleteDelay: pulumi.Float64(0),
ApplySetting: pulumi.String("string"),
LocationConfigs: spectrocloud.ClusterVsphereLocationConfigArray{
&spectrocloud.ClusterVsphereLocationConfigArgs{
Latitude: pulumi.Float64(0),
Longitude: pulumi.Float64(0),
CountryCode: pulumi.String("string"),
CountryName: pulumi.String("string"),
RegionCode: pulumi.String("string"),
RegionName: pulumi.String("string"),
},
},
ClusterMetaAttribute: pulumi.String("string"),
Name: pulumi.String("string"),
Namespaces: spectrocloud.ClusterVsphereNamespaceArray{
&spectrocloud.ClusterVsphereNamespaceArgs{
Name: pulumi.String("string"),
ResourceAllocation: pulumi.StringMap{
"string": pulumi.String("string"),
},
ImagesBlacklists: pulumi.StringArray{
pulumi.String("string"),
},
},
},
OsPatchAfter: pulumi.String("string"),
OsPatchOnBoot: pulumi.Bool(false),
OsPatchSchedule: pulumi.String("string"),
PauseAgentUpgrades: pulumi.String("string"),
ReviewRepaveState: pulumi.String("string"),
ScanPolicy: &spectrocloud.ClusterVsphereScanPolicyArgs{
ConfigurationScanSchedule: pulumi.String("string"),
ConformanceScanSchedule: pulumi.String("string"),
PenetrationScanSchedule: pulumi.String("string"),
},
SkipCompletion: pulumi.Bool(false),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
Timeouts: &spectrocloud.ClusterVsphereTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var clusterVsphereResource = new ClusterVsphere("clusterVsphereResource", ClusterVsphereArgs.builder()
.cloudConfig(ClusterVsphereCloudConfigArgs.builder()
.datacenter("string")
.folder("string")
.hostEndpoint("string")
.imageTemplateFolder("string")
.networkSearchDomain("string")
.networkType("string")
.ntpServers("string")
.sshKeys("string")
.staticIp(false)
.build())
.machinePools(ClusterVsphereMachinePoolArgs.builder()
.instanceType(ClusterVsphereMachinePoolInstanceTypeArgs.builder()
.cpu(0)
.diskSizeGb(0)
.memoryMb(0)
.build())
.placements(ClusterVsphereMachinePoolPlacementArgs.builder()
.cluster("string")
.datastore("string")
.network("string")
.resourcePool("string")
.id("string")
.staticIpPoolId("string")
.build())
.name("string")
.count(0)
.min(0)
.max(0)
.additionalLabels(Map.of("string", "string"))
.controlPlaneAsWorker(false)
.nodeRepaveInterval(0)
.nodes(ClusterVsphereMachinePoolNodeArgs.builder()
.action("string")
.nodeId("string")
.build())
.controlPlane(false)
.taints(ClusterVsphereMachinePoolTaintArgs.builder()
.effect("string")
.key("string")
.value("string")
.build())
.updateStrategy("string")
.build())
.cloudAccountId("string")
.hostConfigs(ClusterVsphereHostConfigArgs.builder()
.externalTrafficPolicy("string")
.hostEndpointType("string")
.ingressHost("string")
.loadBalancerSourceRanges("string")
.build())
.backupPolicy(ClusterVsphereBackupPolicyArgs.builder()
.backupLocationId("string")
.expiryInHour(0)
.prefix("string")
.schedule("string")
.clusterUids("string")
.includeAllClusters(false)
.includeClusterResources(false)
.includeClusterResourcesMode("string")
.includeDisks(false)
.namespaces("string")
.build())
.clusterProfiles(ClusterVsphereClusterProfileArgs.builder()
.id("string")
.packs(ClusterVsphereClusterProfilePackArgs.builder()
.name("string")
.manifests(ClusterVsphereClusterProfilePackManifestArgs.builder()
.content("string")
.name("string")
.uid("string")
.build())
.registryUid("string")
.tag("string")
.type("string")
.uid("string")
.values("string")
.build())
.variables(Map.of("string", "string"))
.build())
.clusterRbacBindings(ClusterVsphereClusterRbacBindingArgs.builder()
.type("string")
.namespace("string")
.role(Map.of("string", "string"))
.subjects(ClusterVsphereClusterRbacBindingSubjectArgs.builder()
.name("string")
.type("string")
.namespace("string")
.build())
.build())
.clusterVsphereId("string")
.context("string")
.description("string")
.forceDelete(false)
.forceDeleteDelay(0)
.applySetting("string")
.locationConfigs(ClusterVsphereLocationConfigArgs.builder()
.latitude(0)
.longitude(0)
.countryCode("string")
.countryName("string")
.regionCode("string")
.regionName("string")
.build())
.clusterMetaAttribute("string")
.name("string")
.namespaces(ClusterVsphereNamespaceArgs.builder()
.name("string")
.resourceAllocation(Map.of("string", "string"))
.imagesBlacklists("string")
.build())
.osPatchAfter("string")
.osPatchOnBoot(false)
.osPatchSchedule("string")
.pauseAgentUpgrades("string")
.reviewRepaveState("string")
.scanPolicy(ClusterVsphereScanPolicyArgs.builder()
.configurationScanSchedule("string")
.conformanceScanSchedule("string")
.penetrationScanSchedule("string")
.build())
.skipCompletion(false)
.tags("string")
.timeouts(ClusterVsphereTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
cluster_vsphere_resource = spectrocloud.ClusterVsphere("clusterVsphereResource",
cloud_config={
"datacenter": "string",
"folder": "string",
"host_endpoint": "string",
"image_template_folder": "string",
"network_search_domain": "string",
"network_type": "string",
"ntp_servers": ["string"],
"ssh_keys": ["string"],
"static_ip": False,
},
machine_pools=[{
"instance_type": {
"cpu": 0,
"disk_size_gb": 0,
"memory_mb": 0,
},
"placements": [{
"cluster": "string",
"datastore": "string",
"network": "string",
"resource_pool": "string",
"id": "string",
"static_ip_pool_id": "string",
}],
"name": "string",
"count": 0,
"min": 0,
"max": 0,
"additional_labels": {
"string": "string",
},
"control_plane_as_worker": False,
"node_repave_interval": 0,
"nodes": [{
"action": "string",
"node_id": "string",
}],
"control_plane": False,
"taints": [{
"effect": "string",
"key": "string",
"value": "string",
}],
"update_strategy": "string",
}],
cloud_account_id="string",
host_configs=[{
"external_traffic_policy": "string",
"host_endpoint_type": "string",
"ingress_host": "string",
"load_balancer_source_ranges": "string",
}],
backup_policy={
"backup_location_id": "string",
"expiry_in_hour": 0,
"prefix": "string",
"schedule": "string",
"cluster_uids": ["string"],
"include_all_clusters": False,
"include_cluster_resources": False,
"include_cluster_resources_mode": "string",
"include_disks": False,
"namespaces": ["string"],
},
cluster_profiles=[{
"id": "string",
"packs": [{
"name": "string",
"manifests": [{
"content": "string",
"name": "string",
"uid": "string",
}],
"registry_uid": "string",
"tag": "string",
"type": "string",
"uid": "string",
"values": "string",
}],
"variables": {
"string": "string",
},
}],
cluster_rbac_bindings=[{
"type": "string",
"namespace": "string",
"role": {
"string": "string",
},
"subjects": [{
"name": "string",
"type": "string",
"namespace": "string",
}],
}],
cluster_vsphere_id="string",
context="string",
description="string",
force_delete=False,
force_delete_delay=0,
apply_setting="string",
location_configs=[{
"latitude": 0,
"longitude": 0,
"country_code": "string",
"country_name": "string",
"region_code": "string",
"region_name": "string",
}],
cluster_meta_attribute="string",
name="string",
namespaces=[{
"name": "string",
"resource_allocation": {
"string": "string",
},
"images_blacklists": ["string"],
}],
os_patch_after="string",
os_patch_on_boot=False,
os_patch_schedule="string",
pause_agent_upgrades="string",
review_repave_state="string",
scan_policy={
"configuration_scan_schedule": "string",
"conformance_scan_schedule": "string",
"penetration_scan_schedule": "string",
},
skip_completion=False,
tags=["string"],
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const clusterVsphereResource = new spectrocloud.ClusterVsphere("clusterVsphereResource", {
cloudConfig: {
datacenter: "string",
folder: "string",
hostEndpoint: "string",
imageTemplateFolder: "string",
networkSearchDomain: "string",
networkType: "string",
ntpServers: ["string"],
sshKeys: ["string"],
staticIp: false,
},
machinePools: [{
instanceType: {
cpu: 0,
diskSizeGb: 0,
memoryMb: 0,
},
placements: [{
cluster: "string",
datastore: "string",
network: "string",
resourcePool: "string",
id: "string",
staticIpPoolId: "string",
}],
name: "string",
count: 0,
min: 0,
max: 0,
additionalLabels: {
string: "string",
},
controlPlaneAsWorker: false,
nodeRepaveInterval: 0,
nodes: [{
action: "string",
nodeId: "string",
}],
controlPlane: false,
taints: [{
effect: "string",
key: "string",
value: "string",
}],
updateStrategy: "string",
}],
cloudAccountId: "string",
hostConfigs: [{
externalTrafficPolicy: "string",
hostEndpointType: "string",
ingressHost: "string",
loadBalancerSourceRanges: "string",
}],
backupPolicy: {
backupLocationId: "string",
expiryInHour: 0,
prefix: "string",
schedule: "string",
clusterUids: ["string"],
includeAllClusters: false,
includeClusterResources: false,
includeClusterResourcesMode: "string",
includeDisks: false,
namespaces: ["string"],
},
clusterProfiles: [{
id: "string",
packs: [{
name: "string",
manifests: [{
content: "string",
name: "string",
uid: "string",
}],
registryUid: "string",
tag: "string",
type: "string",
uid: "string",
values: "string",
}],
variables: {
string: "string",
},
}],
clusterRbacBindings: [{
type: "string",
namespace: "string",
role: {
string: "string",
},
subjects: [{
name: "string",
type: "string",
namespace: "string",
}],
}],
clusterVsphereId: "string",
context: "string",
description: "string",
forceDelete: false,
forceDeleteDelay: 0,
applySetting: "string",
locationConfigs: [{
latitude: 0,
longitude: 0,
countryCode: "string",
countryName: "string",
regionCode: "string",
regionName: "string",
}],
clusterMetaAttribute: "string",
name: "string",
namespaces: [{
name: "string",
resourceAllocation: {
string: "string",
},
imagesBlacklists: ["string"],
}],
osPatchAfter: "string",
osPatchOnBoot: false,
osPatchSchedule: "string",
pauseAgentUpgrades: "string",
reviewRepaveState: "string",
scanPolicy: {
configurationScanSchedule: "string",
conformanceScanSchedule: "string",
penetrationScanSchedule: "string",
},
skipCompletion: false,
tags: ["string"],
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: spectrocloud:ClusterVsphere
properties:
applySetting: string
backupPolicy:
backupLocationId: string
clusterUids:
- string
expiryInHour: 0
includeAllClusters: false
includeClusterResources: false
includeClusterResourcesMode: string
includeDisks: false
namespaces:
- string
prefix: string
schedule: string
cloudAccountId: string
cloudConfig:
datacenter: string
folder: string
hostEndpoint: string
imageTemplateFolder: string
networkSearchDomain: string
networkType: string
ntpServers:
- string
sshKeys:
- string
staticIp: false
clusterMetaAttribute: string
clusterProfiles:
- id: string
packs:
- manifests:
- content: string
name: string
uid: string
name: string
registryUid: string
tag: string
type: string
uid: string
values: string
variables:
string: string
clusterRbacBindings:
- namespace: string
role:
string: string
subjects:
- name: string
namespace: string
type: string
type: string
clusterVsphereId: string
context: string
description: string
forceDelete: false
forceDeleteDelay: 0
hostConfigs:
- externalTrafficPolicy: string
hostEndpointType: string
ingressHost: string
loadBalancerSourceRanges: string
locationConfigs:
- countryCode: string
countryName: string
latitude: 0
longitude: 0
regionCode: string
regionName: string
machinePools:
- additionalLabels:
string: string
controlPlane: false
controlPlaneAsWorker: false
count: 0
instanceType:
cpu: 0
diskSizeGb: 0
memoryMb: 0
max: 0
min: 0
name: string
nodeRepaveInterval: 0
nodes:
- action: string
nodeId: string
placements:
- cluster: string
datastore: string
id: string
network: string
resourcePool: string
staticIpPoolId: string
taints:
- effect: string
key: string
value: string
updateStrategy: string
name: string
namespaces:
- imagesBlacklists:
- string
name: string
resourceAllocation:
string: string
osPatchAfter: string
osPatchOnBoot: false
osPatchSchedule: string
pauseAgentUpgrades: string
reviewRepaveState: string
scanPolicy:
configurationScanSchedule: string
conformanceScanSchedule: string
penetrationScanSchedule: string
skipCompletion: false
tags:
- string
timeouts:
create: string
delete: string
update: string
ClusterVsphere 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 ClusterVsphere resource accepts the following input properties:
- Cloud
Account stringId - ID of the cloud account to be used for the cluster. This cloud account must be of type
vsphere
. - Cloud
Config ClusterVsphere Cloud Config - Machine
Pools List<ClusterVsphere Machine Pool> - Apply
Setting string - The setting to apply the cluster profile.
DownloadAndInstall
will download and install packs in one action.DownloadAndInstallLater
will only download artifact and postpone install for later. Default value isDownloadAndInstall
. - Backup
Policy ClusterVsphere Backup Policy - The backup policy for the cluster. If not specified, no backups will be taken.
- Cluster
Meta stringAttribute cluster_meta_attribute
can be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}
- Cluster
Profiles List<ClusterVsphere Cluster Profile> - Cluster
Rbac List<ClusterBindings Vsphere Cluster Rbac Binding> - The RBAC binding for the cluster.
- Cluster
Vsphere stringId - The ID of this resource.
- Context string
- The context of the VMware cluster. Allowed values are
project
ortenant
. Default isproject
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - Description string
- The description of the cluster. Default value is empty string.
- Force
Delete bool - If set to
true
, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources. - Force
Delete doubleDelay - Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
- Host
Configs List<ClusterVsphere Host Config> - The host configuration for the cluster.
- Location
Configs List<ClusterVsphere Location Config> - Name string
- The name of the cluster.
- Namespaces
List<Cluster
Vsphere Namespace> - The namespaces for the cluster.
- Os
Patch stringAfter - The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex:
RFC3339: 2006-01-02T15:04:05Z07:00
- Os
Patch boolOn Boot - Whether to apply OS patch on boot. Default is
false
. - Os
Patch stringSchedule - The cron schedule for OS patching. This must be in the form of cron syntax. Ex:
0 0 * * *
. - Pause
Agent stringUpgrades - The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is
unlock
, meaning upgrades occur automatically. Setting it tolock
pauses automatic agent upgrades for the cluster. - Review
Repave stringState - To authorize the cluster repave, set the value to
Approved
for approval and""
to decline. Default value is""
. - Scan
Policy ClusterVsphere Scan Policy - The scan policy for the cluster.
- Skip
Completion bool - If
true
, the cluster will be created asynchronously. Default value isfalse
. - List<string>
- A list of tags to be applied to the cluster. Tags must be in the form of
key:value
. - Timeouts
Cluster
Vsphere Timeouts
- Cloud
Account stringId - ID of the cloud account to be used for the cluster. This cloud account must be of type
vsphere
. - Cloud
Config ClusterVsphere Cloud Config Args - Machine
Pools []ClusterVsphere Machine Pool Args - Apply
Setting string - The setting to apply the cluster profile.
DownloadAndInstall
will download and install packs in one action.DownloadAndInstallLater
will only download artifact and postpone install for later. Default value isDownloadAndInstall
. - Backup
Policy ClusterVsphere Backup Policy Args - The backup policy for the cluster. If not specified, no backups will be taken.
- Cluster
Meta stringAttribute cluster_meta_attribute
can be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}
- Cluster
Profiles []ClusterVsphere Cluster Profile Args - Cluster
Rbac []ClusterBindings Vsphere Cluster Rbac Binding Args - The RBAC binding for the cluster.
- Cluster
Vsphere stringId - The ID of this resource.
- Context string
- The context of the VMware cluster. Allowed values are
project
ortenant
. Default isproject
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - Description string
- The description of the cluster. Default value is empty string.
- Force
Delete bool - If set to
true
, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources. - Force
Delete float64Delay - Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
- Host
Configs []ClusterVsphere Host Config Args - The host configuration for the cluster.
- Location
Configs []ClusterVsphere Location Config Args - Name string
- The name of the cluster.
- Namespaces
[]Cluster
Vsphere Namespace Args - The namespaces for the cluster.
- Os
Patch stringAfter - The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex:
RFC3339: 2006-01-02T15:04:05Z07:00
- Os
Patch boolOn Boot - Whether to apply OS patch on boot. Default is
false
. - Os
Patch stringSchedule - The cron schedule for OS patching. This must be in the form of cron syntax. Ex:
0 0 * * *
. - Pause
Agent stringUpgrades - The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is
unlock
, meaning upgrades occur automatically. Setting it tolock
pauses automatic agent upgrades for the cluster. - Review
Repave stringState - To authorize the cluster repave, set the value to
Approved
for approval and""
to decline. Default value is""
. - Scan
Policy ClusterVsphere Scan Policy Args - The scan policy for the cluster.
- Skip
Completion bool - If
true
, the cluster will be created asynchronously. Default value isfalse
. - []string
- A list of tags to be applied to the cluster. Tags must be in the form of
key:value
. - Timeouts
Cluster
Vsphere Timeouts Args
- cloud
Account StringId - ID of the cloud account to be used for the cluster. This cloud account must be of type
vsphere
. - cloud
Config ClusterVsphere Cloud Config - machine
Pools List<ClusterVsphere Machine Pool> - apply
Setting String - The setting to apply the cluster profile.
DownloadAndInstall
will download and install packs in one action.DownloadAndInstallLater
will only download artifact and postpone install for later. Default value isDownloadAndInstall
. - backup
Policy ClusterVsphere Backup Policy - The backup policy for the cluster. If not specified, no backups will be taken.
- cluster
Meta StringAttribute cluster_meta_attribute
can be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}
- cluster
Profiles List<ClusterVsphere Cluster Profile> - cluster
Rbac List<ClusterBindings Vsphere Cluster Rbac Binding> - The RBAC binding for the cluster.
- cluster
Vsphere StringId - The ID of this resource.
- context String
- The context of the VMware cluster. Allowed values are
project
ortenant
. Default isproject
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - description String
- The description of the cluster. Default value is empty string.
- force
Delete Boolean - If set to
true
, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources. - force
Delete DoubleDelay - Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
- host
Configs List<ClusterVsphere Host Config> - The host configuration for the cluster.
- location
Configs List<ClusterVsphere Location Config> - name String
- The name of the cluster.
- namespaces
List<Cluster
Vsphere Namespace> - The namespaces for the cluster.
- os
Patch StringAfter - The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex:
RFC3339: 2006-01-02T15:04:05Z07:00
- os
Patch BooleanOn Boot - Whether to apply OS patch on boot. Default is
false
. - os
Patch StringSchedule - The cron schedule for OS patching. This must be in the form of cron syntax. Ex:
0 0 * * *
. - pause
Agent StringUpgrades - The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is
unlock
, meaning upgrades occur automatically. Setting it tolock
pauses automatic agent upgrades for the cluster. - review
Repave StringState - To authorize the cluster repave, set the value to
Approved
for approval and""
to decline. Default value is""
. - scan
Policy ClusterVsphere Scan Policy - The scan policy for the cluster.
- skip
Completion Boolean - If
true
, the cluster will be created asynchronously. Default value isfalse
. - List<String>
- A list of tags to be applied to the cluster. Tags must be in the form of
key:value
. - timeouts
Cluster
Vsphere Timeouts
- cloud
Account stringId - ID of the cloud account to be used for the cluster. This cloud account must be of type
vsphere
. - cloud
Config ClusterVsphere Cloud Config - machine
Pools ClusterVsphere Machine Pool[] - apply
Setting string - The setting to apply the cluster profile.
DownloadAndInstall
will download and install packs in one action.DownloadAndInstallLater
will only download artifact and postpone install for later. Default value isDownloadAndInstall
. - backup
Policy ClusterVsphere Backup Policy - The backup policy for the cluster. If not specified, no backups will be taken.
- cluster
Meta stringAttribute cluster_meta_attribute
can be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}
- cluster
Profiles ClusterVsphere Cluster Profile[] - cluster
Rbac ClusterBindings Vsphere Cluster Rbac Binding[] - The RBAC binding for the cluster.
- cluster
Vsphere stringId - The ID of this resource.
- context string
- The context of the VMware cluster. Allowed values are
project
ortenant
. Default isproject
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - description string
- The description of the cluster. Default value is empty string.
- force
Delete boolean - If set to
true
, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources. - force
Delete numberDelay - Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
- host
Configs ClusterVsphere Host Config[] - The host configuration for the cluster.
- location
Configs ClusterVsphere Location Config[] - name string
- The name of the cluster.
- namespaces
Cluster
Vsphere Namespace[] - The namespaces for the cluster.
- os
Patch stringAfter - The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex:
RFC3339: 2006-01-02T15:04:05Z07:00
- os
Patch booleanOn Boot - Whether to apply OS patch on boot. Default is
false
. - os
Patch stringSchedule - The cron schedule for OS patching. This must be in the form of cron syntax. Ex:
0 0 * * *
. - pause
Agent stringUpgrades - The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is
unlock
, meaning upgrades occur automatically. Setting it tolock
pauses automatic agent upgrades for the cluster. - review
Repave stringState - To authorize the cluster repave, set the value to
Approved
for approval and""
to decline. Default value is""
. - scan
Policy ClusterVsphere Scan Policy - The scan policy for the cluster.
- skip
Completion boolean - If
true
, the cluster will be created asynchronously. Default value isfalse
. - string[]
- A list of tags to be applied to the cluster. Tags must be in the form of
key:value
. - timeouts
Cluster
Vsphere Timeouts
- cloud_
account_ strid - ID of the cloud account to be used for the cluster. This cloud account must be of type
vsphere
. - cloud_
config ClusterVsphere Cloud Config Args - machine_
pools Sequence[ClusterVsphere Machine Pool Args] - apply_
setting str - The setting to apply the cluster profile.
DownloadAndInstall
will download and install packs in one action.DownloadAndInstallLater
will only download artifact and postpone install for later. Default value isDownloadAndInstall
. - backup_
policy ClusterVsphere Backup Policy Args - The backup policy for the cluster. If not specified, no backups will be taken.
- cluster_
meta_ strattribute cluster_meta_attribute
can be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}
- cluster_
profiles Sequence[ClusterVsphere Cluster Profile Args] - cluster_
rbac_ Sequence[Clusterbindings Vsphere Cluster Rbac Binding Args] - The RBAC binding for the cluster.
- cluster_
vsphere_ strid - The ID of this resource.
- context str
- The context of the VMware cluster. Allowed values are
project
ortenant
. Default isproject
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - description str
- The description of the cluster. Default value is empty string.
- force_
delete bool - If set to
true
, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources. - force_
delete_ floatdelay - Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
- host_
configs Sequence[ClusterVsphere Host Config Args] - The host configuration for the cluster.
- location_
configs Sequence[ClusterVsphere Location Config Args] - name str
- The name of the cluster.
- namespaces
Sequence[Cluster
Vsphere Namespace Args] - The namespaces for the cluster.
- os_
patch_ strafter - The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex:
RFC3339: 2006-01-02T15:04:05Z07:00
- os_
patch_ boolon_ boot - Whether to apply OS patch on boot. Default is
false
. - os_
patch_ strschedule - The cron schedule for OS patching. This must be in the form of cron syntax. Ex:
0 0 * * *
. - pause_
agent_ strupgrades - The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is
unlock
, meaning upgrades occur automatically. Setting it tolock
pauses automatic agent upgrades for the cluster. - review_
repave_ strstate - To authorize the cluster repave, set the value to
Approved
for approval and""
to decline. Default value is""
. - scan_
policy ClusterVsphere Scan Policy Args - The scan policy for the cluster.
- skip_
completion bool - If
true
, the cluster will be created asynchronously. Default value isfalse
. - Sequence[str]
- A list of tags to be applied to the cluster. Tags must be in the form of
key:value
. - timeouts
Cluster
Vsphere Timeouts Args
- cloud
Account StringId - ID of the cloud account to be used for the cluster. This cloud account must be of type
vsphere
. - cloud
Config Property Map - machine
Pools List<Property Map> - apply
Setting String - The setting to apply the cluster profile.
DownloadAndInstall
will download and install packs in one action.DownloadAndInstallLater
will only download artifact and postpone install for later. Default value isDownloadAndInstall
. - backup
Policy Property Map - The backup policy for the cluster. If not specified, no backups will be taken.
- cluster
Meta StringAttribute cluster_meta_attribute
can be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}
- cluster
Profiles List<Property Map> - cluster
Rbac List<Property Map>Bindings - The RBAC binding for the cluster.
- cluster
Vsphere StringId - The ID of this resource.
- context String
- The context of the VMware cluster. Allowed values are
project
ortenant
. Default isproject
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - description String
- The description of the cluster. Default value is empty string.
- force
Delete Boolean - If set to
true
, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources. - force
Delete NumberDelay - Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
- host
Configs List<Property Map> - The host configuration for the cluster.
- location
Configs List<Property Map> - name String
- The name of the cluster.
- namespaces List<Property Map>
- The namespaces for the cluster.
- os
Patch StringAfter - The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex:
RFC3339: 2006-01-02T15:04:05Z07:00
- os
Patch BooleanOn Boot - Whether to apply OS patch on boot. Default is
false
. - os
Patch StringSchedule - The cron schedule for OS patching. This must be in the form of cron syntax. Ex:
0 0 * * *
. - pause
Agent StringUpgrades - The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is
unlock
, meaning upgrades occur automatically. Setting it tolock
pauses automatic agent upgrades for the cluster. - review
Repave StringState - To authorize the cluster repave, set the value to
Approved
for approval and""
to decline. Default value is""
. - scan
Policy Property Map - The scan policy for the cluster.
- skip
Completion Boolean - If
true
, the cluster will be created asynchronously. Default value isfalse
. - List<String>
- A list of tags to be applied to the cluster. Tags must be in the form of
key:value
. - timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the ClusterVsphere resource produces the following output properties:
- Admin
Kube stringConfig - Admin Kube-config for the cluster. This can be used to connect to the cluster using
kubectl
, With admin privilege. - Cloud
Config stringId - ID of the cloud config used for the cluster. This cloud config must be of type
azure
. - Id string
- The provider-assigned unique ID for this managed resource.
- Kubeconfig string
- Kubeconfig for the cluster. This can be used to connect to the cluster using
kubectl
.
- Admin
Kube stringConfig - Admin Kube-config for the cluster. This can be used to connect to the cluster using
kubectl
, With admin privilege. - Cloud
Config stringId - ID of the cloud config used for the cluster. This cloud config must be of type
azure
. - Id string
- The provider-assigned unique ID for this managed resource.
- Kubeconfig string
- Kubeconfig for the cluster. This can be used to connect to the cluster using
kubectl
.
- admin
Kube StringConfig - Admin Kube-config for the cluster. This can be used to connect to the cluster using
kubectl
, With admin privilege. - cloud
Config StringId - ID of the cloud config used for the cluster. This cloud config must be of type
azure
. - id String
- The provider-assigned unique ID for this managed resource.
- kubeconfig String
- Kubeconfig for the cluster. This can be used to connect to the cluster using
kubectl
.
- admin
Kube stringConfig - Admin Kube-config for the cluster. This can be used to connect to the cluster using
kubectl
, With admin privilege. - cloud
Config stringId - ID of the cloud config used for the cluster. This cloud config must be of type
azure
. - id string
- The provider-assigned unique ID for this managed resource.
- kubeconfig string
- Kubeconfig for the cluster. This can be used to connect to the cluster using
kubectl
.
- admin_
kube_ strconfig - Admin Kube-config for the cluster. This can be used to connect to the cluster using
kubectl
, With admin privilege. - cloud_
config_ strid - ID of the cloud config used for the cluster. This cloud config must be of type
azure
. - id str
- The provider-assigned unique ID for this managed resource.
- kubeconfig str
- Kubeconfig for the cluster. This can be used to connect to the cluster using
kubectl
.
- admin
Kube StringConfig - Admin Kube-config for the cluster. This can be used to connect to the cluster using
kubectl
, With admin privilege. - cloud
Config StringId - ID of the cloud config used for the cluster. This cloud config must be of type
azure
. - id String
- The provider-assigned unique ID for this managed resource.
- kubeconfig String
- Kubeconfig for the cluster. This can be used to connect to the cluster using
kubectl
.
Look up Existing ClusterVsphere Resource
Get an existing ClusterVsphere 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?: ClusterVsphereState, opts?: CustomResourceOptions): ClusterVsphere
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
admin_kube_config: Optional[str] = None,
apply_setting: Optional[str] = None,
backup_policy: Optional[ClusterVsphereBackupPolicyArgs] = None,
cloud_account_id: Optional[str] = None,
cloud_config: Optional[ClusterVsphereCloudConfigArgs] = None,
cloud_config_id: Optional[str] = None,
cluster_meta_attribute: Optional[str] = None,
cluster_profiles: Optional[Sequence[ClusterVsphereClusterProfileArgs]] = None,
cluster_rbac_bindings: Optional[Sequence[ClusterVsphereClusterRbacBindingArgs]] = None,
cluster_vsphere_id: Optional[str] = None,
context: Optional[str] = None,
description: Optional[str] = None,
force_delete: Optional[bool] = None,
force_delete_delay: Optional[float] = None,
host_configs: Optional[Sequence[ClusterVsphereHostConfigArgs]] = None,
kubeconfig: Optional[str] = None,
location_configs: Optional[Sequence[ClusterVsphereLocationConfigArgs]] = None,
machine_pools: Optional[Sequence[ClusterVsphereMachinePoolArgs]] = None,
name: Optional[str] = None,
namespaces: Optional[Sequence[ClusterVsphereNamespaceArgs]] = None,
os_patch_after: Optional[str] = None,
os_patch_on_boot: Optional[bool] = None,
os_patch_schedule: Optional[str] = None,
pause_agent_upgrades: Optional[str] = None,
review_repave_state: Optional[str] = None,
scan_policy: Optional[ClusterVsphereScanPolicyArgs] = None,
skip_completion: Optional[bool] = None,
tags: Optional[Sequence[str]] = None,
timeouts: Optional[ClusterVsphereTimeoutsArgs] = None) -> ClusterVsphere
func GetClusterVsphere(ctx *Context, name string, id IDInput, state *ClusterVsphereState, opts ...ResourceOption) (*ClusterVsphere, error)
public static ClusterVsphere Get(string name, Input<string> id, ClusterVsphereState? state, CustomResourceOptions? opts = null)
public static ClusterVsphere get(String name, Output<String> id, ClusterVsphereState state, CustomResourceOptions options)
resources: _: type: spectrocloud:ClusterVsphere 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.
- Admin
Kube stringConfig - Admin Kube-config for the cluster. This can be used to connect to the cluster using
kubectl
, With admin privilege. - Apply
Setting string - The setting to apply the cluster profile.
DownloadAndInstall
will download and install packs in one action.DownloadAndInstallLater
will only download artifact and postpone install for later. Default value isDownloadAndInstall
. - Backup
Policy ClusterVsphere Backup Policy - The backup policy for the cluster. If not specified, no backups will be taken.
- Cloud
Account stringId - ID of the cloud account to be used for the cluster. This cloud account must be of type
vsphere
. - Cloud
Config ClusterVsphere Cloud Config - Cloud
Config stringId - ID of the cloud config used for the cluster. This cloud config must be of type
azure
. - Cluster
Meta stringAttribute cluster_meta_attribute
can be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}
- Cluster
Profiles List<ClusterVsphere Cluster Profile> - Cluster
Rbac List<ClusterBindings Vsphere Cluster Rbac Binding> - The RBAC binding for the cluster.
- Cluster
Vsphere stringId - The ID of this resource.
- Context string
- The context of the VMware cluster. Allowed values are
project
ortenant
. Default isproject
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - Description string
- The description of the cluster. Default value is empty string.
- Force
Delete bool - If set to
true
, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources. - Force
Delete doubleDelay - Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
- Host
Configs List<ClusterVsphere Host Config> - The host configuration for the cluster.
- Kubeconfig string
- Kubeconfig for the cluster. This can be used to connect to the cluster using
kubectl
. - Location
Configs List<ClusterVsphere Location Config> - Machine
Pools List<ClusterVsphere Machine Pool> - Name string
- The name of the cluster.
- Namespaces
List<Cluster
Vsphere Namespace> - The namespaces for the cluster.
- Os
Patch stringAfter - The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex:
RFC3339: 2006-01-02T15:04:05Z07:00
- Os
Patch boolOn Boot - Whether to apply OS patch on boot. Default is
false
. - Os
Patch stringSchedule - The cron schedule for OS patching. This must be in the form of cron syntax. Ex:
0 0 * * *
. - Pause
Agent stringUpgrades - The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is
unlock
, meaning upgrades occur automatically. Setting it tolock
pauses automatic agent upgrades for the cluster. - Review
Repave stringState - To authorize the cluster repave, set the value to
Approved
for approval and""
to decline. Default value is""
. - Scan
Policy ClusterVsphere Scan Policy - The scan policy for the cluster.
- Skip
Completion bool - If
true
, the cluster will be created asynchronously. Default value isfalse
. - List<string>
- A list of tags to be applied to the cluster. Tags must be in the form of
key:value
. - Timeouts
Cluster
Vsphere Timeouts
- Admin
Kube stringConfig - Admin Kube-config for the cluster. This can be used to connect to the cluster using
kubectl
, With admin privilege. - Apply
Setting string - The setting to apply the cluster profile.
DownloadAndInstall
will download and install packs in one action.DownloadAndInstallLater
will only download artifact and postpone install for later. Default value isDownloadAndInstall
. - Backup
Policy ClusterVsphere Backup Policy Args - The backup policy for the cluster. If not specified, no backups will be taken.
- Cloud
Account stringId - ID of the cloud account to be used for the cluster. This cloud account must be of type
vsphere
. - Cloud
Config ClusterVsphere Cloud Config Args - Cloud
Config stringId - ID of the cloud config used for the cluster. This cloud config must be of type
azure
. - Cluster
Meta stringAttribute cluster_meta_attribute
can be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}
- Cluster
Profiles []ClusterVsphere Cluster Profile Args - Cluster
Rbac []ClusterBindings Vsphere Cluster Rbac Binding Args - The RBAC binding for the cluster.
- Cluster
Vsphere stringId - The ID of this resource.
- Context string
- The context of the VMware cluster. Allowed values are
project
ortenant
. Default isproject
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - Description string
- The description of the cluster. Default value is empty string.
- Force
Delete bool - If set to
true
, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources. - Force
Delete float64Delay - Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
- Host
Configs []ClusterVsphere Host Config Args - The host configuration for the cluster.
- Kubeconfig string
- Kubeconfig for the cluster. This can be used to connect to the cluster using
kubectl
. - Location
Configs []ClusterVsphere Location Config Args - Machine
Pools []ClusterVsphere Machine Pool Args - Name string
- The name of the cluster.
- Namespaces
[]Cluster
Vsphere Namespace Args - The namespaces for the cluster.
- Os
Patch stringAfter - The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex:
RFC3339: 2006-01-02T15:04:05Z07:00
- Os
Patch boolOn Boot - Whether to apply OS patch on boot. Default is
false
. - Os
Patch stringSchedule - The cron schedule for OS patching. This must be in the form of cron syntax. Ex:
0 0 * * *
. - Pause
Agent stringUpgrades - The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is
unlock
, meaning upgrades occur automatically. Setting it tolock
pauses automatic agent upgrades for the cluster. - Review
Repave stringState - To authorize the cluster repave, set the value to
Approved
for approval and""
to decline. Default value is""
. - Scan
Policy ClusterVsphere Scan Policy Args - The scan policy for the cluster.
- Skip
Completion bool - If
true
, the cluster will be created asynchronously. Default value isfalse
. - []string
- A list of tags to be applied to the cluster. Tags must be in the form of
key:value
. - Timeouts
Cluster
Vsphere Timeouts Args
- admin
Kube StringConfig - Admin Kube-config for the cluster. This can be used to connect to the cluster using
kubectl
, With admin privilege. - apply
Setting String - The setting to apply the cluster profile.
DownloadAndInstall
will download and install packs in one action.DownloadAndInstallLater
will only download artifact and postpone install for later. Default value isDownloadAndInstall
. - backup
Policy ClusterVsphere Backup Policy - The backup policy for the cluster. If not specified, no backups will be taken.
- cloud
Account StringId - ID of the cloud account to be used for the cluster. This cloud account must be of type
vsphere
. - cloud
Config ClusterVsphere Cloud Config - cloud
Config StringId - ID of the cloud config used for the cluster. This cloud config must be of type
azure
. - cluster
Meta StringAttribute cluster_meta_attribute
can be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}
- cluster
Profiles List<ClusterVsphere Cluster Profile> - cluster
Rbac List<ClusterBindings Vsphere Cluster Rbac Binding> - The RBAC binding for the cluster.
- cluster
Vsphere StringId - The ID of this resource.
- context String
- The context of the VMware cluster. Allowed values are
project
ortenant
. Default isproject
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - description String
- The description of the cluster. Default value is empty string.
- force
Delete Boolean - If set to
true
, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources. - force
Delete DoubleDelay - Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
- host
Configs List<ClusterVsphere Host Config> - The host configuration for the cluster.
- kubeconfig String
- Kubeconfig for the cluster. This can be used to connect to the cluster using
kubectl
. - location
Configs List<ClusterVsphere Location Config> - machine
Pools List<ClusterVsphere Machine Pool> - name String
- The name of the cluster.
- namespaces
List<Cluster
Vsphere Namespace> - The namespaces for the cluster.
- os
Patch StringAfter - The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex:
RFC3339: 2006-01-02T15:04:05Z07:00
- os
Patch BooleanOn Boot - Whether to apply OS patch on boot. Default is
false
. - os
Patch StringSchedule - The cron schedule for OS patching. This must be in the form of cron syntax. Ex:
0 0 * * *
. - pause
Agent StringUpgrades - The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is
unlock
, meaning upgrades occur automatically. Setting it tolock
pauses automatic agent upgrades for the cluster. - review
Repave StringState - To authorize the cluster repave, set the value to
Approved
for approval and""
to decline. Default value is""
. - scan
Policy ClusterVsphere Scan Policy - The scan policy for the cluster.
- skip
Completion Boolean - If
true
, the cluster will be created asynchronously. Default value isfalse
. - List<String>
- A list of tags to be applied to the cluster. Tags must be in the form of
key:value
. - timeouts
Cluster
Vsphere Timeouts
- admin
Kube stringConfig - Admin Kube-config for the cluster. This can be used to connect to the cluster using
kubectl
, With admin privilege. - apply
Setting string - The setting to apply the cluster profile.
DownloadAndInstall
will download and install packs in one action.DownloadAndInstallLater
will only download artifact and postpone install for later. Default value isDownloadAndInstall
. - backup
Policy ClusterVsphere Backup Policy - The backup policy for the cluster. If not specified, no backups will be taken.
- cloud
Account stringId - ID of the cloud account to be used for the cluster. This cloud account must be of type
vsphere
. - cloud
Config ClusterVsphere Cloud Config - cloud
Config stringId - ID of the cloud config used for the cluster. This cloud config must be of type
azure
. - cluster
Meta stringAttribute cluster_meta_attribute
can be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}
- cluster
Profiles ClusterVsphere Cluster Profile[] - cluster
Rbac ClusterBindings Vsphere Cluster Rbac Binding[] - The RBAC binding for the cluster.
- cluster
Vsphere stringId - The ID of this resource.
- context string
- The context of the VMware cluster. Allowed values are
project
ortenant
. Default isproject
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - description string
- The description of the cluster. Default value is empty string.
- force
Delete boolean - If set to
true
, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources. - force
Delete numberDelay - Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
- host
Configs ClusterVsphere Host Config[] - The host configuration for the cluster.
- kubeconfig string
- Kubeconfig for the cluster. This can be used to connect to the cluster using
kubectl
. - location
Configs ClusterVsphere Location Config[] - machine
Pools ClusterVsphere Machine Pool[] - name string
- The name of the cluster.
- namespaces
Cluster
Vsphere Namespace[] - The namespaces for the cluster.
- os
Patch stringAfter - The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex:
RFC3339: 2006-01-02T15:04:05Z07:00
- os
Patch booleanOn Boot - Whether to apply OS patch on boot. Default is
false
. - os
Patch stringSchedule - The cron schedule for OS patching. This must be in the form of cron syntax. Ex:
0 0 * * *
. - pause
Agent stringUpgrades - The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is
unlock
, meaning upgrades occur automatically. Setting it tolock
pauses automatic agent upgrades for the cluster. - review
Repave stringState - To authorize the cluster repave, set the value to
Approved
for approval and""
to decline. Default value is""
. - scan
Policy ClusterVsphere Scan Policy - The scan policy for the cluster.
- skip
Completion boolean - If
true
, the cluster will be created asynchronously. Default value isfalse
. - string[]
- A list of tags to be applied to the cluster. Tags must be in the form of
key:value
. - timeouts
Cluster
Vsphere Timeouts
- admin_
kube_ strconfig - Admin Kube-config for the cluster. This can be used to connect to the cluster using
kubectl
, With admin privilege. - apply_
setting str - The setting to apply the cluster profile.
DownloadAndInstall
will download and install packs in one action.DownloadAndInstallLater
will only download artifact and postpone install for later. Default value isDownloadAndInstall
. - backup_
policy ClusterVsphere Backup Policy Args - The backup policy for the cluster. If not specified, no backups will be taken.
- cloud_
account_ strid - ID of the cloud account to be used for the cluster. This cloud account must be of type
vsphere
. - cloud_
config ClusterVsphere Cloud Config Args - cloud_
config_ strid - ID of the cloud config used for the cluster. This cloud config must be of type
azure
. - cluster_
meta_ strattribute cluster_meta_attribute
can be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}
- cluster_
profiles Sequence[ClusterVsphere Cluster Profile Args] - cluster_
rbac_ Sequence[Clusterbindings Vsphere Cluster Rbac Binding Args] - The RBAC binding for the cluster.
- cluster_
vsphere_ strid - The ID of this resource.
- context str
- The context of the VMware cluster. Allowed values are
project
ortenant
. Default isproject
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - description str
- The description of the cluster. Default value is empty string.
- force_
delete bool - If set to
true
, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources. - force_
delete_ floatdelay - Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
- host_
configs Sequence[ClusterVsphere Host Config Args] - The host configuration for the cluster.
- kubeconfig str
- Kubeconfig for the cluster. This can be used to connect to the cluster using
kubectl
. - location_
configs Sequence[ClusterVsphere Location Config Args] - machine_
pools Sequence[ClusterVsphere Machine Pool Args] - name str
- The name of the cluster.
- namespaces
Sequence[Cluster
Vsphere Namespace Args] - The namespaces for the cluster.
- os_
patch_ strafter - The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex:
RFC3339: 2006-01-02T15:04:05Z07:00
- os_
patch_ boolon_ boot - Whether to apply OS patch on boot. Default is
false
. - os_
patch_ strschedule - The cron schedule for OS patching. This must be in the form of cron syntax. Ex:
0 0 * * *
. - pause_
agent_ strupgrades - The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is
unlock
, meaning upgrades occur automatically. Setting it tolock
pauses automatic agent upgrades for the cluster. - review_
repave_ strstate - To authorize the cluster repave, set the value to
Approved
for approval and""
to decline. Default value is""
. - scan_
policy ClusterVsphere Scan Policy Args - The scan policy for the cluster.
- skip_
completion bool - If
true
, the cluster will be created asynchronously. Default value isfalse
. - Sequence[str]
- A list of tags to be applied to the cluster. Tags must be in the form of
key:value
. - timeouts
Cluster
Vsphere Timeouts Args
- admin
Kube StringConfig - Admin Kube-config for the cluster. This can be used to connect to the cluster using
kubectl
, With admin privilege. - apply
Setting String - The setting to apply the cluster profile.
DownloadAndInstall
will download and install packs in one action.DownloadAndInstallLater
will only download artifact and postpone install for later. Default value isDownloadAndInstall
. - backup
Policy Property Map - The backup policy for the cluster. If not specified, no backups will be taken.
- cloud
Account StringId - ID of the cloud account to be used for the cluster. This cloud account must be of type
vsphere
. - cloud
Config Property Map - cloud
Config StringId - ID of the cloud config used for the cluster. This cloud config must be of type
azure
. - cluster
Meta StringAttribute cluster_meta_attribute
can be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}
- cluster
Profiles List<Property Map> - cluster
Rbac List<Property Map>Bindings - The RBAC binding for the cluster.
- cluster
Vsphere StringId - The ID of this resource.
- context String
- The context of the VMware cluster. Allowed values are
project
ortenant
. Default isproject
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - description String
- The description of the cluster. Default value is empty string.
- force
Delete Boolean - If set to
true
, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources. - force
Delete NumberDelay - Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
- host
Configs List<Property Map> - The host configuration for the cluster.
- kubeconfig String
- Kubeconfig for the cluster. This can be used to connect to the cluster using
kubectl
. - location
Configs List<Property Map> - machine
Pools List<Property Map> - name String
- The name of the cluster.
- namespaces List<Property Map>
- The namespaces for the cluster.
- os
Patch StringAfter - The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex:
RFC3339: 2006-01-02T15:04:05Z07:00
- os
Patch BooleanOn Boot - Whether to apply OS patch on boot. Default is
false
. - os
Patch StringSchedule - The cron schedule for OS patching. This must be in the form of cron syntax. Ex:
0 0 * * *
. - pause
Agent StringUpgrades - The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is
unlock
, meaning upgrades occur automatically. Setting it tolock
pauses automatic agent upgrades for the cluster. - review
Repave StringState - To authorize the cluster repave, set the value to
Approved
for approval and""
to decline. Default value is""
. - scan
Policy Property Map - The scan policy for the cluster.
- skip
Completion Boolean - If
true
, the cluster will be created asynchronously. Default value isfalse
. - List<String>
- A list of tags to be applied to the cluster. Tags must be in the form of
key:value
. - timeouts Property Map
Supporting Types
ClusterVsphereBackupPolicy, ClusterVsphereBackupPolicyArgs
- Backup
Location stringId - The ID of the backup location to use for the backup.
- Expiry
In doubleHour - The number of hours after which the backup will be deleted. For example, if the expiry is set to 24, the backup will be deleted after 24 hours.
- Prefix string
- Prefix for the backup name. The backup name will be of the format \n\n-\n\n-\n\n.
- Schedule string
- The schedule for the backup. The schedule is specified in cron format. For example, to run the backup every day at 1:00 AM, the schedule should be set to
0 1 * * *
. - Cluster
Uids List<string> - The list of cluster UIDs to include in the backup. If
include_all_clusters
is set totrue
, then all clusters will be included. - Include
All boolClusters - Whether to include all clusters in the backup. If set to false, only the clusters specified in
cluster_uids
will be included. - Include
Cluster boolResources - Indicates whether to include cluster resources in the backup. If set to false, only the cluster configuration and disks will be backed up. (Note: Starting with Palette version 4.6, the includeclusterresources attribute will be deprecated, and a new attribute, includeclusterresources_mode, will be introduced.)
- Include
Cluster stringResources Mode - Specifies whether to include the cluster resources in the backup. Supported values are
always
,never
, andauto
. - Include
Disks bool - Whether to include the disks in the backup. If set to false, only the cluster configuration will be backed up.
- Namespaces List<string>
- The list of Kubernetes namespaces to include in the backup. If not specified, all namespaces will be included.
- Backup
Location stringId - The ID of the backup location to use for the backup.
- Expiry
In float64Hour - The number of hours after which the backup will be deleted. For example, if the expiry is set to 24, the backup will be deleted after 24 hours.
- Prefix string
- Prefix for the backup name. The backup name will be of the format \n\n-\n\n-\n\n.
- Schedule string
- The schedule for the backup. The schedule is specified in cron format. For example, to run the backup every day at 1:00 AM, the schedule should be set to
0 1 * * *
. - Cluster
Uids []string - The list of cluster UIDs to include in the backup. If
include_all_clusters
is set totrue
, then all clusters will be included. - Include
All boolClusters - Whether to include all clusters in the backup. If set to false, only the clusters specified in
cluster_uids
will be included. - Include
Cluster boolResources - Indicates whether to include cluster resources in the backup. If set to false, only the cluster configuration and disks will be backed up. (Note: Starting with Palette version 4.6, the includeclusterresources attribute will be deprecated, and a new attribute, includeclusterresources_mode, will be introduced.)
- Include
Cluster stringResources Mode - Specifies whether to include the cluster resources in the backup. Supported values are
always
,never
, andauto
. - Include
Disks bool - Whether to include the disks in the backup. If set to false, only the cluster configuration will be backed up.
- Namespaces []string
- The list of Kubernetes namespaces to include in the backup. If not specified, all namespaces will be included.
- backup
Location StringId - The ID of the backup location to use for the backup.
- expiry
In DoubleHour - The number of hours after which the backup will be deleted. For example, if the expiry is set to 24, the backup will be deleted after 24 hours.
- prefix String
- Prefix for the backup name. The backup name will be of the format \n\n-\n\n-\n\n.
- schedule String
- The schedule for the backup. The schedule is specified in cron format. For example, to run the backup every day at 1:00 AM, the schedule should be set to
0 1 * * *
. - cluster
Uids List<String> - The list of cluster UIDs to include in the backup. If
include_all_clusters
is set totrue
, then all clusters will be included. - include
All BooleanClusters - Whether to include all clusters in the backup. If set to false, only the clusters specified in
cluster_uids
will be included. - include
Cluster BooleanResources - Indicates whether to include cluster resources in the backup. If set to false, only the cluster configuration and disks will be backed up. (Note: Starting with Palette version 4.6, the includeclusterresources attribute will be deprecated, and a new attribute, includeclusterresources_mode, will be introduced.)
- include
Cluster StringResources Mode - Specifies whether to include the cluster resources in the backup. Supported values are
always
,never
, andauto
. - include
Disks Boolean - Whether to include the disks in the backup. If set to false, only the cluster configuration will be backed up.
- namespaces List<String>
- The list of Kubernetes namespaces to include in the backup. If not specified, all namespaces will be included.
- backup
Location stringId - The ID of the backup location to use for the backup.
- expiry
In numberHour - The number of hours after which the backup will be deleted. For example, if the expiry is set to 24, the backup will be deleted after 24 hours.
- prefix string
- Prefix for the backup name. The backup name will be of the format \n\n-\n\n-\n\n.
- schedule string
- The schedule for the backup. The schedule is specified in cron format. For example, to run the backup every day at 1:00 AM, the schedule should be set to
0 1 * * *
. - cluster
Uids string[] - The list of cluster UIDs to include in the backup. If
include_all_clusters
is set totrue
, then all clusters will be included. - include
All booleanClusters - Whether to include all clusters in the backup. If set to false, only the clusters specified in
cluster_uids
will be included. - include
Cluster booleanResources - Indicates whether to include cluster resources in the backup. If set to false, only the cluster configuration and disks will be backed up. (Note: Starting with Palette version 4.6, the includeclusterresources attribute will be deprecated, and a new attribute, includeclusterresources_mode, will be introduced.)
- include
Cluster stringResources Mode - Specifies whether to include the cluster resources in the backup. Supported values are
always
,never
, andauto
. - include
Disks boolean - Whether to include the disks in the backup. If set to false, only the cluster configuration will be backed up.
- namespaces string[]
- The list of Kubernetes namespaces to include in the backup. If not specified, all namespaces will be included.
- backup_
location_ strid - The ID of the backup location to use for the backup.
- expiry_
in_ floathour - The number of hours after which the backup will be deleted. For example, if the expiry is set to 24, the backup will be deleted after 24 hours.
- prefix str
- Prefix for the backup name. The backup name will be of the format \n\n-\n\n-\n\n.
- schedule str
- The schedule for the backup. The schedule is specified in cron format. For example, to run the backup every day at 1:00 AM, the schedule should be set to
0 1 * * *
. - cluster_
uids Sequence[str] - The list of cluster UIDs to include in the backup. If
include_all_clusters
is set totrue
, then all clusters will be included. - include_
all_ boolclusters - Whether to include all clusters in the backup. If set to false, only the clusters specified in
cluster_uids
will be included. - include_
cluster_ boolresources - Indicates whether to include cluster resources in the backup. If set to false, only the cluster configuration and disks will be backed up. (Note: Starting with Palette version 4.6, the includeclusterresources attribute will be deprecated, and a new attribute, includeclusterresources_mode, will be introduced.)
- include_
cluster_ strresources_ mode - Specifies whether to include the cluster resources in the backup. Supported values are
always
,never
, andauto
. - include_
disks bool - Whether to include the disks in the backup. If set to false, only the cluster configuration will be backed up.
- namespaces Sequence[str]
- The list of Kubernetes namespaces to include in the backup. If not specified, all namespaces will be included.
- backup
Location StringId - The ID of the backup location to use for the backup.
- expiry
In NumberHour - The number of hours after which the backup will be deleted. For example, if the expiry is set to 24, the backup will be deleted after 24 hours.
- prefix String
- Prefix for the backup name. The backup name will be of the format \n\n-\n\n-\n\n.
- schedule String
- The schedule for the backup. The schedule is specified in cron format. For example, to run the backup every day at 1:00 AM, the schedule should be set to
0 1 * * *
. - cluster
Uids List<String> - The list of cluster UIDs to include in the backup. If
include_all_clusters
is set totrue
, then all clusters will be included. - include
All BooleanClusters - Whether to include all clusters in the backup. If set to false, only the clusters specified in
cluster_uids
will be included. - include
Cluster BooleanResources - Indicates whether to include cluster resources in the backup. If set to false, only the cluster configuration and disks will be backed up. (Note: Starting with Palette version 4.6, the includeclusterresources attribute will be deprecated, and a new attribute, includeclusterresources_mode, will be introduced.)
- include
Cluster StringResources Mode - Specifies whether to include the cluster resources in the backup. Supported values are
always
,never
, andauto
. - include
Disks Boolean - Whether to include the disks in the backup. If set to false, only the cluster configuration will be backed up.
- namespaces List<String>
- The list of Kubernetes namespaces to include in the backup. If not specified, all namespaces will be included.
ClusterVsphereCloudConfig, ClusterVsphereCloudConfigArgs
- Datacenter string
- The name of the datacenter in vSphere. This is the name of the datacenter as it appears in vSphere.
- Folder string
- The name of the folder in vSphere. This is the name of the folder as it appears in vSphere.
- Host
Endpoint string - The host endpoint to use for the cluster. This can be
IP
orFQDN(External/DDNS)
. - Image
Template stringFolder - The name of the image template folder in vSphere. This is the name of the folder as it appears in vSphere.
- Network
Search stringDomain - The search domain to use for the cluster in case of DHCP.
- Network
Type string - The type of network to use for the cluster. This can be
VIP
orDDNS
. - Ntp
Servers List<string> - A list of NTP servers to be used by the cluster.
- Ssh
Key string - The SSH key to be used for the cluster. This is the public key that will be used to access the cluster nodes.
ssh_key & ssh_keys
are mutually exclusive. - Ssh
Keys List<string> - List of public SSH (Secure Shell) keys to establish, administer, and communicate with remote clusters,
ssh_key & ssh_keys
are mutually exclusive. - Static
Ip bool - Whether to use static IP addresses for the cluster. If
true
, the cluster will use static IP addresses. Iffalse
, the cluster will use DDNS. Default isfalse
.
- Datacenter string
- The name of the datacenter in vSphere. This is the name of the datacenter as it appears in vSphere.
- Folder string
- The name of the folder in vSphere. This is the name of the folder as it appears in vSphere.
- Host
Endpoint string - The host endpoint to use for the cluster. This can be
IP
orFQDN(External/DDNS)
. - Image
Template stringFolder - The name of the image template folder in vSphere. This is the name of the folder as it appears in vSphere.
- Network
Search stringDomain - The search domain to use for the cluster in case of DHCP.
- Network
Type string - The type of network to use for the cluster. This can be
VIP
orDDNS
. - Ntp
Servers []string - A list of NTP servers to be used by the cluster.
- Ssh
Key string - The SSH key to be used for the cluster. This is the public key that will be used to access the cluster nodes.
ssh_key & ssh_keys
are mutually exclusive. - Ssh
Keys []string - List of public SSH (Secure Shell) keys to establish, administer, and communicate with remote clusters,
ssh_key & ssh_keys
are mutually exclusive. - Static
Ip bool - Whether to use static IP addresses for the cluster. If
true
, the cluster will use static IP addresses. Iffalse
, the cluster will use DDNS. Default isfalse
.
- datacenter String
- The name of the datacenter in vSphere. This is the name of the datacenter as it appears in vSphere.
- folder String
- The name of the folder in vSphere. This is the name of the folder as it appears in vSphere.
- host
Endpoint String - The host endpoint to use for the cluster. This can be
IP
orFQDN(External/DDNS)
. - image
Template StringFolder - The name of the image template folder in vSphere. This is the name of the folder as it appears in vSphere.
- network
Search StringDomain - The search domain to use for the cluster in case of DHCP.
- network
Type String - The type of network to use for the cluster. This can be
VIP
orDDNS
. - ntp
Servers List<String> - A list of NTP servers to be used by the cluster.
- ssh
Key String - The SSH key to be used for the cluster. This is the public key that will be used to access the cluster nodes.
ssh_key & ssh_keys
are mutually exclusive. - ssh
Keys List<String> - List of public SSH (Secure Shell) keys to establish, administer, and communicate with remote clusters,
ssh_key & ssh_keys
are mutually exclusive. - static
Ip Boolean - Whether to use static IP addresses for the cluster. If
true
, the cluster will use static IP addresses. Iffalse
, the cluster will use DDNS. Default isfalse
.
- datacenter string
- The name of the datacenter in vSphere. This is the name of the datacenter as it appears in vSphere.
- folder string
- The name of the folder in vSphere. This is the name of the folder as it appears in vSphere.
- host
Endpoint string - The host endpoint to use for the cluster. This can be
IP
orFQDN(External/DDNS)
. - image
Template stringFolder - The name of the image template folder in vSphere. This is the name of the folder as it appears in vSphere.
- network
Search stringDomain - The search domain to use for the cluster in case of DHCP.
- network
Type string - The type of network to use for the cluster. This can be
VIP
orDDNS
. - ntp
Servers string[] - A list of NTP servers to be used by the cluster.
- ssh
Key string - The SSH key to be used for the cluster. This is the public key that will be used to access the cluster nodes.
ssh_key & ssh_keys
are mutually exclusive. - ssh
Keys string[] - List of public SSH (Secure Shell) keys to establish, administer, and communicate with remote clusters,
ssh_key & ssh_keys
are mutually exclusive. - static
Ip boolean - Whether to use static IP addresses for the cluster. If
true
, the cluster will use static IP addresses. Iffalse
, the cluster will use DDNS. Default isfalse
.
- datacenter str
- The name of the datacenter in vSphere. This is the name of the datacenter as it appears in vSphere.
- folder str
- The name of the folder in vSphere. This is the name of the folder as it appears in vSphere.
- host_
endpoint str - The host endpoint to use for the cluster. This can be
IP
orFQDN(External/DDNS)
. - image_
template_ strfolder - The name of the image template folder in vSphere. This is the name of the folder as it appears in vSphere.
- network_
search_ strdomain - The search domain to use for the cluster in case of DHCP.
- network_
type str - The type of network to use for the cluster. This can be
VIP
orDDNS
. - ntp_
servers Sequence[str] - A list of NTP servers to be used by the cluster.
- ssh_
key str - The SSH key to be used for the cluster. This is the public key that will be used to access the cluster nodes.
ssh_key & ssh_keys
are mutually exclusive. - ssh_
keys Sequence[str] - List of public SSH (Secure Shell) keys to establish, administer, and communicate with remote clusters,
ssh_key & ssh_keys
are mutually exclusive. - static_
ip bool - Whether to use static IP addresses for the cluster. If
true
, the cluster will use static IP addresses. Iffalse
, the cluster will use DDNS. Default isfalse
.
- datacenter String
- The name of the datacenter in vSphere. This is the name of the datacenter as it appears in vSphere.
- folder String
- The name of the folder in vSphere. This is the name of the folder as it appears in vSphere.
- host
Endpoint String - The host endpoint to use for the cluster. This can be
IP
orFQDN(External/DDNS)
. - image
Template StringFolder - The name of the image template folder in vSphere. This is the name of the folder as it appears in vSphere.
- network
Search StringDomain - The search domain to use for the cluster in case of DHCP.
- network
Type String - The type of network to use for the cluster. This can be
VIP
orDDNS
. - ntp
Servers List<String> - A list of NTP servers to be used by the cluster.
- ssh
Key String - The SSH key to be used for the cluster. This is the public key that will be used to access the cluster nodes.
ssh_key & ssh_keys
are mutually exclusive. - ssh
Keys List<String> - List of public SSH (Secure Shell) keys to establish, administer, and communicate with remote clusters,
ssh_key & ssh_keys
are mutually exclusive. - static
Ip Boolean - Whether to use static IP addresses for the cluster. If
true
, the cluster will use static IP addresses. Iffalse
, the cluster will use DDNS. Default isfalse
.
ClusterVsphereClusterProfile, ClusterVsphereClusterProfileArgs
- Id string
- The ID of the cluster profile.
- Packs
List<Cluster
Vsphere Cluster Profile Pack> - For packs of type
spectro
,helm
, andmanifest
, at least one pack must be specified. - Variables Dictionary<string, string>
- A map of cluster profile variables, specified as key-value pairs. For example:
priority = "5"
.
- Id string
- The ID of the cluster profile.
- Packs
[]Cluster
Vsphere Cluster Profile Pack - For packs of type
spectro
,helm
, andmanifest
, at least one pack must be specified. - Variables map[string]string
- A map of cluster profile variables, specified as key-value pairs. For example:
priority = "5"
.
- id String
- The ID of the cluster profile.
- packs
List<Cluster
Vsphere Cluster Profile Pack> - For packs of type
spectro
,helm
, andmanifest
, at least one pack must be specified. - variables Map<String,String>
- A map of cluster profile variables, specified as key-value pairs. For example:
priority = "5"
.
- id string
- The ID of the cluster profile.
- packs
Cluster
Vsphere Cluster Profile Pack[] - For packs of type
spectro
,helm
, andmanifest
, at least one pack must be specified. - variables {[key: string]: string}
- A map of cluster profile variables, specified as key-value pairs. For example:
priority = "5"
.
- id str
- The ID of the cluster profile.
- packs
Sequence[Cluster
Vsphere Cluster Profile Pack] - For packs of type
spectro
,helm
, andmanifest
, at least one pack must be specified. - variables Mapping[str, str]
- A map of cluster profile variables, specified as key-value pairs. For example:
priority = "5"
.
- id String
- The ID of the cluster profile.
- packs List<Property Map>
- For packs of type
spectro
,helm
, andmanifest
, at least one pack must be specified. - variables Map<String>
- A map of cluster profile variables, specified as key-value pairs. For example:
priority = "5"
.
ClusterVsphereClusterProfilePack, ClusterVsphereClusterProfilePackArgs
- Name string
- The name of the pack. The name must be unique within the cluster profile.
- Manifests
List<Cluster
Vsphere Cluster Profile Pack Manifest> - Registry
Uid string - The registry UID of the pack. The registry UID is the unique identifier of the registry. This attribute is required if there is more than one registry that contains a pack with the same name.
- Tag string
- The tag of the pack. The tag is the version of the pack. This attribute is required if the pack type is
spectro
orhelm
. - Type string
- The type of the pack. Allowed values are
spectro
,manifest
,helm
, oroci
. The default value is spectro. If using an OCI registry for pack, set the type tooci
. - Uid string
- The unique identifier of the pack. The value can be looked up using the
spectrocloud.getPack
data source. This value is required if the pack type isspectro
and forhelm
if the chart is from a public helm registry. - Values string
- The values of the pack. The values are the configuration values of the pack. The values are specified in YAML format.
- Name string
- The name of the pack. The name must be unique within the cluster profile.
- Manifests
[]Cluster
Vsphere Cluster Profile Pack Manifest - Registry
Uid string - The registry UID of the pack. The registry UID is the unique identifier of the registry. This attribute is required if there is more than one registry that contains a pack with the same name.
- Tag string
- The tag of the pack. The tag is the version of the pack. This attribute is required if the pack type is
spectro
orhelm
. - Type string
- The type of the pack. Allowed values are
spectro
,manifest
,helm
, oroci
. The default value is spectro. If using an OCI registry for pack, set the type tooci
. - Uid string
- The unique identifier of the pack. The value can be looked up using the
spectrocloud.getPack
data source. This value is required if the pack type isspectro
and forhelm
if the chart is from a public helm registry. - Values string
- The values of the pack. The values are the configuration values of the pack. The values are specified in YAML format.
- name String
- The name of the pack. The name must be unique within the cluster profile.
- manifests
List<Cluster
Vsphere Cluster Profile Pack Manifest> - registry
Uid String - The registry UID of the pack. The registry UID is the unique identifier of the registry. This attribute is required if there is more than one registry that contains a pack with the same name.
- tag String
- The tag of the pack. The tag is the version of the pack. This attribute is required if the pack type is
spectro
orhelm
. - type String
- The type of the pack. Allowed values are
spectro
,manifest
,helm
, oroci
. The default value is spectro. If using an OCI registry for pack, set the type tooci
. - uid String
- The unique identifier of the pack. The value can be looked up using the
spectrocloud.getPack
data source. This value is required if the pack type isspectro
and forhelm
if the chart is from a public helm registry. - values String
- The values of the pack. The values are the configuration values of the pack. The values are specified in YAML format.
- name string
- The name of the pack. The name must be unique within the cluster profile.
- manifests
Cluster
Vsphere Cluster Profile Pack Manifest[] - registry
Uid string - The registry UID of the pack. The registry UID is the unique identifier of the registry. This attribute is required if there is more than one registry that contains a pack with the same name.
- tag string
- The tag of the pack. The tag is the version of the pack. This attribute is required if the pack type is
spectro
orhelm
. - type string
- The type of the pack. Allowed values are
spectro
,manifest
,helm
, oroci
. The default value is spectro. If using an OCI registry for pack, set the type tooci
. - uid string
- The unique identifier of the pack. The value can be looked up using the
spectrocloud.getPack
data source. This value is required if the pack type isspectro
and forhelm
if the chart is from a public helm registry. - values string
- The values of the pack. The values are the configuration values of the pack. The values are specified in YAML format.
- name str
- The name of the pack. The name must be unique within the cluster profile.
- manifests
Sequence[Cluster
Vsphere Cluster Profile Pack Manifest] - registry_
uid str - The registry UID of the pack. The registry UID is the unique identifier of the registry. This attribute is required if there is more than one registry that contains a pack with the same name.
- tag str
- The tag of the pack. The tag is the version of the pack. This attribute is required if the pack type is
spectro
orhelm
. - type str
- The type of the pack. Allowed values are
spectro
,manifest
,helm
, oroci
. The default value is spectro. If using an OCI registry for pack, set the type tooci
. - uid str
- The unique identifier of the pack. The value can be looked up using the
spectrocloud.getPack
data source. This value is required if the pack type isspectro
and forhelm
if the chart is from a public helm registry. - values str
- The values of the pack. The values are the configuration values of the pack. The values are specified in YAML format.
- name String
- The name of the pack. The name must be unique within the cluster profile.
- manifests List<Property Map>
- registry
Uid String - The registry UID of the pack. The registry UID is the unique identifier of the registry. This attribute is required if there is more than one registry that contains a pack with the same name.
- tag String
- The tag of the pack. The tag is the version of the pack. This attribute is required if the pack type is
spectro
orhelm
. - type String
- The type of the pack. Allowed values are
spectro
,manifest
,helm
, oroci
. The default value is spectro. If using an OCI registry for pack, set the type tooci
. - uid String
- The unique identifier of the pack. The value can be looked up using the
spectrocloud.getPack
data source. This value is required if the pack type isspectro
and forhelm
if the chart is from a public helm registry. - values String
- The values of the pack. The values are the configuration values of the pack. The values are specified in YAML format.
ClusterVsphereClusterProfilePackManifest, ClusterVsphereClusterProfilePackManifestArgs
ClusterVsphereClusterRbacBinding, ClusterVsphereClusterRbacBindingArgs
- Type string
- The type of the RBAC binding. Can be one of the following values:
RoleBinding
, orClusterRoleBinding
. - Namespace string
- The Kubernetes namespace of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
- Role Dictionary<string, string>
- The role of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
- Subjects
List<Cluster
Vsphere Cluster Rbac Binding Subject>
- Type string
- The type of the RBAC binding. Can be one of the following values:
RoleBinding
, orClusterRoleBinding
. - Namespace string
- The Kubernetes namespace of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
- Role map[string]string
- The role of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
- Subjects
[]Cluster
Vsphere Cluster Rbac Binding Subject
- type String
- The type of the RBAC binding. Can be one of the following values:
RoleBinding
, orClusterRoleBinding
. - namespace String
- The Kubernetes namespace of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
- role Map<String,String>
- The role of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
- subjects
List<Cluster
Vsphere Cluster Rbac Binding Subject>
- type string
- The type of the RBAC binding. Can be one of the following values:
RoleBinding
, orClusterRoleBinding
. - namespace string
- The Kubernetes namespace of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
- role {[key: string]: string}
- The role of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
- subjects
Cluster
Vsphere Cluster Rbac Binding Subject[]
- type str
- The type of the RBAC binding. Can be one of the following values:
RoleBinding
, orClusterRoleBinding
. - namespace str
- The Kubernetes namespace of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
- role Mapping[str, str]
- The role of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
- subjects
Sequence[Cluster
Vsphere Cluster Rbac Binding Subject]
- type String
- The type of the RBAC binding. Can be one of the following values:
RoleBinding
, orClusterRoleBinding
. - namespace String
- The Kubernetes namespace of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
- role Map<String>
- The role of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
- subjects List<Property Map>
ClusterVsphereClusterRbacBindingSubject, ClusterVsphereClusterRbacBindingSubjectArgs
ClusterVsphereHostConfig, ClusterVsphereHostConfigArgs
- External
Traffic stringPolicy - The external traffic policy for the cluster.
- Host
Endpoint stringType - The type of endpoint for the cluster. Can be either 'Ingress' or 'LoadBalancer'. The default is 'Ingress'.
- Ingress
Host string - The host for the Ingress endpoint. Required if 'hostendpointtype' is set to 'Ingress'.
- Load
Balancer stringSource Ranges - The source ranges for the load balancer. Required if 'hostendpointtype' is set to 'LoadBalancer'.
- External
Traffic stringPolicy - The external traffic policy for the cluster.
- Host
Endpoint stringType - The type of endpoint for the cluster. Can be either 'Ingress' or 'LoadBalancer'. The default is 'Ingress'.
- Ingress
Host string - The host for the Ingress endpoint. Required if 'hostendpointtype' is set to 'Ingress'.
- Load
Balancer stringSource Ranges - The source ranges for the load balancer. Required if 'hostendpointtype' is set to 'LoadBalancer'.
- external
Traffic StringPolicy - The external traffic policy for the cluster.
- host
Endpoint StringType - The type of endpoint for the cluster. Can be either 'Ingress' or 'LoadBalancer'. The default is 'Ingress'.
- ingress
Host String - The host for the Ingress endpoint. Required if 'hostendpointtype' is set to 'Ingress'.
- load
Balancer StringSource Ranges - The source ranges for the load balancer. Required if 'hostendpointtype' is set to 'LoadBalancer'.
- external
Traffic stringPolicy - The external traffic policy for the cluster.
- host
Endpoint stringType - The type of endpoint for the cluster. Can be either 'Ingress' or 'LoadBalancer'. The default is 'Ingress'.
- ingress
Host string - The host for the Ingress endpoint. Required if 'hostendpointtype' is set to 'Ingress'.
- load
Balancer stringSource Ranges - The source ranges for the load balancer. Required if 'hostendpointtype' is set to 'LoadBalancer'.
- external_
traffic_ strpolicy - The external traffic policy for the cluster.
- host_
endpoint_ strtype - The type of endpoint for the cluster. Can be either 'Ingress' or 'LoadBalancer'. The default is 'Ingress'.
- ingress_
host str - The host for the Ingress endpoint. Required if 'hostendpointtype' is set to 'Ingress'.
- load_
balancer_ strsource_ ranges - The source ranges for the load balancer. Required if 'hostendpointtype' is set to 'LoadBalancer'.
- external
Traffic StringPolicy - The external traffic policy for the cluster.
- host
Endpoint StringType - The type of endpoint for the cluster. Can be either 'Ingress' or 'LoadBalancer'. The default is 'Ingress'.
- ingress
Host String - The host for the Ingress endpoint. Required if 'hostendpointtype' is set to 'Ingress'.
- load
Balancer StringSource Ranges - The source ranges for the load balancer. Required if 'hostendpointtype' is set to 'LoadBalancer'.
ClusterVsphereLocationConfig, ClusterVsphereLocationConfigArgs
- Latitude double
- The latitude coordinates value.
- Longitude double
- The longitude coordinates value.
- Country
Code string - The country code of the country the cluster is located in.
- Country
Name string - The name of the country.
- Region
Code string - The region code of where the cluster is located in.
- Region
Name string - The name of the region.
- Latitude float64
- The latitude coordinates value.
- Longitude float64
- The longitude coordinates value.
- Country
Code string - The country code of the country the cluster is located in.
- Country
Name string - The name of the country.
- Region
Code string - The region code of where the cluster is located in.
- Region
Name string - The name of the region.
- latitude Double
- The latitude coordinates value.
- longitude Double
- The longitude coordinates value.
- country
Code String - The country code of the country the cluster is located in.
- country
Name String - The name of the country.
- region
Code String - The region code of where the cluster is located in.
- region
Name String - The name of the region.
- latitude number
- The latitude coordinates value.
- longitude number
- The longitude coordinates value.
- country
Code string - The country code of the country the cluster is located in.
- country
Name string - The name of the country.
- region
Code string - The region code of where the cluster is located in.
- region
Name string - The name of the region.
- latitude float
- The latitude coordinates value.
- longitude float
- The longitude coordinates value.
- country_
code str - The country code of the country the cluster is located in.
- country_
name str - The name of the country.
- region_
code str - The region code of where the cluster is located in.
- region_
name str - The name of the region.
- latitude Number
- The latitude coordinates value.
- longitude Number
- The longitude coordinates value.
- country
Code String - The country code of the country the cluster is located in.
- country
Name String - The name of the country.
- region
Code String - The region code of where the cluster is located in.
- region
Name String - The name of the region.
ClusterVsphereMachinePool, ClusterVsphereMachinePoolArgs
- Count double
- Number of nodes in the machine pool.
- Instance
Type ClusterVsphere Machine Pool Instance Type - Name string
- The name of the machine pool. This is used to identify the machine pool in the cluster.
- Placements
List<Cluster
Vsphere Machine Pool Placement> - Additional
Labels Dictionary<string, string> - Control
Plane bool - Whether this machine pool is a control plane. Defaults to
false
. - Control
Plane boolAs Worker - Whether this machine pool is a control plane and a worker. Defaults to
false
. - Max double
- Maximum number of nodes in the machine pool. This is used for autoscaling the machine pool.
- Min double
- Minimum number of nodes in the machine pool. This is used for autoscaling the machine pool.
- Node
Repave doubleInterval - Minimum number of seconds node should be Ready, before the next node is selected for repave. Default value is
0
, Applicable only for worker pools. - Nodes
List<Cluster
Vsphere Machine Pool Node> - Taints
List<Cluster
Vsphere Machine Pool Taint> - Update
Strategy string - Update strategy for the machine pool. Valid values are
RollingUpdateScaleOut
andRollingUpdateScaleIn
.
- Count float64
- Number of nodes in the machine pool.
- Instance
Type ClusterVsphere Machine Pool Instance Type - Name string
- The name of the machine pool. This is used to identify the machine pool in the cluster.
- Placements
[]Cluster
Vsphere Machine Pool Placement - Additional
Labels map[string]string - Control
Plane bool - Whether this machine pool is a control plane. Defaults to
false
. - Control
Plane boolAs Worker - Whether this machine pool is a control plane and a worker. Defaults to
false
. - Max float64
- Maximum number of nodes in the machine pool. This is used for autoscaling the machine pool.
- Min float64
- Minimum number of nodes in the machine pool. This is used for autoscaling the machine pool.
- Node
Repave float64Interval - Minimum number of seconds node should be Ready, before the next node is selected for repave. Default value is
0
, Applicable only for worker pools. - Nodes
[]Cluster
Vsphere Machine Pool Node - Taints
[]Cluster
Vsphere Machine Pool Taint - Update
Strategy string - Update strategy for the machine pool. Valid values are
RollingUpdateScaleOut
andRollingUpdateScaleIn
.
- count Double
- Number of nodes in the machine pool.
- instance
Type ClusterVsphere Machine Pool Instance Type - name String
- The name of the machine pool. This is used to identify the machine pool in the cluster.
- placements
List<Cluster
Vsphere Machine Pool Placement> - additional
Labels Map<String,String> - control
Plane Boolean - Whether this machine pool is a control plane. Defaults to
false
. - control
Plane BooleanAs Worker - Whether this machine pool is a control plane and a worker. Defaults to
false
. - max Double
- Maximum number of nodes in the machine pool. This is used for autoscaling the machine pool.
- min Double
- Minimum number of nodes in the machine pool. This is used for autoscaling the machine pool.
- node
Repave DoubleInterval - Minimum number of seconds node should be Ready, before the next node is selected for repave. Default value is
0
, Applicable only for worker pools. - nodes
List<Cluster
Vsphere Machine Pool Node> - taints
List<Cluster
Vsphere Machine Pool Taint> - update
Strategy String - Update strategy for the machine pool. Valid values are
RollingUpdateScaleOut
andRollingUpdateScaleIn
.
- count number
- Number of nodes in the machine pool.
- instance
Type ClusterVsphere Machine Pool Instance Type - name string
- The name of the machine pool. This is used to identify the machine pool in the cluster.
- placements
Cluster
Vsphere Machine Pool Placement[] - additional
Labels {[key: string]: string} - control
Plane boolean - Whether this machine pool is a control plane. Defaults to
false
. - control
Plane booleanAs Worker - Whether this machine pool is a control plane and a worker. Defaults to
false
. - max number
- Maximum number of nodes in the machine pool. This is used for autoscaling the machine pool.
- min number
- Minimum number of nodes in the machine pool. This is used for autoscaling the machine pool.
- node
Repave numberInterval - Minimum number of seconds node should be Ready, before the next node is selected for repave. Default value is
0
, Applicable only for worker pools. - nodes
Cluster
Vsphere Machine Pool Node[] - taints
Cluster
Vsphere Machine Pool Taint[] - update
Strategy string - Update strategy for the machine pool. Valid values are
RollingUpdateScaleOut
andRollingUpdateScaleIn
.
- count float
- Number of nodes in the machine pool.
- instance_
type ClusterVsphere Machine Pool Instance Type - name str
- The name of the machine pool. This is used to identify the machine pool in the cluster.
- placements
Sequence[Cluster
Vsphere Machine Pool Placement] - additional_
labels Mapping[str, str] - control_
plane bool - Whether this machine pool is a control plane. Defaults to
false
. - control_
plane_ boolas_ worker - Whether this machine pool is a control plane and a worker. Defaults to
false
. - max float
- Maximum number of nodes in the machine pool. This is used for autoscaling the machine pool.
- min float
- Minimum number of nodes in the machine pool. This is used for autoscaling the machine pool.
- node_
repave_ floatinterval - Minimum number of seconds node should be Ready, before the next node is selected for repave. Default value is
0
, Applicable only for worker pools. - nodes
Sequence[Cluster
Vsphere Machine Pool Node] - taints
Sequence[Cluster
Vsphere Machine Pool Taint] - update_
strategy str - Update strategy for the machine pool. Valid values are
RollingUpdateScaleOut
andRollingUpdateScaleIn
.
- count Number
- Number of nodes in the machine pool.
- instance
Type Property Map - name String
- The name of the machine pool. This is used to identify the machine pool in the cluster.
- placements List<Property Map>
- additional
Labels Map<String> - control
Plane Boolean - Whether this machine pool is a control plane. Defaults to
false
. - control
Plane BooleanAs Worker - Whether this machine pool is a control plane and a worker. Defaults to
false
. - max Number
- Maximum number of nodes in the machine pool. This is used for autoscaling the machine pool.
- min Number
- Minimum number of nodes in the machine pool. This is used for autoscaling the machine pool.
- node
Repave NumberInterval - Minimum number of seconds node should be Ready, before the next node is selected for repave. Default value is
0
, Applicable only for worker pools. - nodes List<Property Map>
- taints List<Property Map>
- update
Strategy String - Update strategy for the machine pool. Valid values are
RollingUpdateScaleOut
andRollingUpdateScaleIn
.
ClusterVsphereMachinePoolInstanceType, ClusterVsphereMachinePoolInstanceTypeArgs
- Cpu double
- The number of CPUs.
- Disk
Size doubleGb - The size of the disk in GB.
- Memory
Mb double - The amount of memory in MB.
- Cpu float64
- The number of CPUs.
- Disk
Size float64Gb - The size of the disk in GB.
- Memory
Mb float64 - The amount of memory in MB.
- cpu Double
- The number of CPUs.
- disk
Size DoubleGb - The size of the disk in GB.
- memory
Mb Double - The amount of memory in MB.
- cpu number
- The number of CPUs.
- disk
Size numberGb - The size of the disk in GB.
- memory
Mb number - The amount of memory in MB.
- cpu float
- The number of CPUs.
- disk_
size_ floatgb - The size of the disk in GB.
- memory_
mb float - The amount of memory in MB.
- cpu Number
- The number of CPUs.
- disk
Size NumberGb - The size of the disk in GB.
- memory
Mb Number - The amount of memory in MB.
ClusterVsphereMachinePoolNode, ClusterVsphereMachinePoolNodeArgs
ClusterVsphereMachinePoolPlacement, ClusterVsphereMachinePoolPlacementArgs
- Cluster string
- The name of the cluster to use for the machine pool. As it appears in the vSphere.
- Datastore string
- The name of the datastore to use for the machine pool. As it appears in the vSphere.
- Network string
- The name of the network to use for the machine pool. As it appears in the vSphere.
- Resource
Pool string - The name of the resource pool to use for the machine pool. As it appears in the vSphere.
- Id string
- The ID of this resource.
- Static
Ip stringPool Id - The ID of the static IP pool to use for the machine pool in case of static cluster placement.
- Cluster string
- The name of the cluster to use for the machine pool. As it appears in the vSphere.
- Datastore string
- The name of the datastore to use for the machine pool. As it appears in the vSphere.
- Network string
- The name of the network to use for the machine pool. As it appears in the vSphere.
- Resource
Pool string - The name of the resource pool to use for the machine pool. As it appears in the vSphere.
- Id string
- The ID of this resource.
- Static
Ip stringPool Id - The ID of the static IP pool to use for the machine pool in case of static cluster placement.
- cluster String
- The name of the cluster to use for the machine pool. As it appears in the vSphere.
- datastore String
- The name of the datastore to use for the machine pool. As it appears in the vSphere.
- network String
- The name of the network to use for the machine pool. As it appears in the vSphere.
- resource
Pool String - The name of the resource pool to use for the machine pool. As it appears in the vSphere.
- id String
- The ID of this resource.
- static
Ip StringPool Id - The ID of the static IP pool to use for the machine pool in case of static cluster placement.
- cluster string
- The name of the cluster to use for the machine pool. As it appears in the vSphere.
- datastore string
- The name of the datastore to use for the machine pool. As it appears in the vSphere.
- network string
- The name of the network to use for the machine pool. As it appears in the vSphere.
- resource
Pool string - The name of the resource pool to use for the machine pool. As it appears in the vSphere.
- id string
- The ID of this resource.
- static
Ip stringPool Id - The ID of the static IP pool to use for the machine pool in case of static cluster placement.
- cluster str
- The name of the cluster to use for the machine pool. As it appears in the vSphere.
- datastore str
- The name of the datastore to use for the machine pool. As it appears in the vSphere.
- network str
- The name of the network to use for the machine pool. As it appears in the vSphere.
- resource_
pool str - The name of the resource pool to use for the machine pool. As it appears in the vSphere.
- id str
- The ID of this resource.
- static_
ip_ strpool_ id - The ID of the static IP pool to use for the machine pool in case of static cluster placement.
- cluster String
- The name of the cluster to use for the machine pool. As it appears in the vSphere.
- datastore String
- The name of the datastore to use for the machine pool. As it appears in the vSphere.
- network String
- The name of the network to use for the machine pool. As it appears in the vSphere.
- resource
Pool String - The name of the resource pool to use for the machine pool. As it appears in the vSphere.
- id String
- The ID of this resource.
- static
Ip StringPool Id - The ID of the static IP pool to use for the machine pool in case of static cluster placement.
ClusterVsphereMachinePoolTaint, ClusterVsphereMachinePoolTaintArgs
ClusterVsphereNamespace, ClusterVsphereNamespaceArgs
- Name string
- Name of the namespace. This is the name of the Kubernetes namespace in the cluster.
- Resource
Allocation Dictionary<string, string> - Resource allocation for the namespace. This is a map containing the resource type and the resource value. For example,
{cpu_cores: '2', memory_MiB: '2048'}
- Images
Blacklists List<string> - List of images to disallow for the namespace. For example,
['nginx:latest', 'redis:latest']
- Name string
- Name of the namespace. This is the name of the Kubernetes namespace in the cluster.
- Resource
Allocation map[string]string - Resource allocation for the namespace. This is a map containing the resource type and the resource value. For example,
{cpu_cores: '2', memory_MiB: '2048'}
- Images
Blacklists []string - List of images to disallow for the namespace. For example,
['nginx:latest', 'redis:latest']
- name String
- Name of the namespace. This is the name of the Kubernetes namespace in the cluster.
- resource
Allocation Map<String,String> - Resource allocation for the namespace. This is a map containing the resource type and the resource value. For example,
{cpu_cores: '2', memory_MiB: '2048'}
- images
Blacklists List<String> - List of images to disallow for the namespace. For example,
['nginx:latest', 'redis:latest']
- name string
- Name of the namespace. This is the name of the Kubernetes namespace in the cluster.
- resource
Allocation {[key: string]: string} - Resource allocation for the namespace. This is a map containing the resource type and the resource value. For example,
{cpu_cores: '2', memory_MiB: '2048'}
- images
Blacklists string[] - List of images to disallow for the namespace. For example,
['nginx:latest', 'redis:latest']
- name str
- Name of the namespace. This is the name of the Kubernetes namespace in the cluster.
- resource_
allocation Mapping[str, str] - Resource allocation for the namespace. This is a map containing the resource type and the resource value. For example,
{cpu_cores: '2', memory_MiB: '2048'}
- images_
blacklists Sequence[str] - List of images to disallow for the namespace. For example,
['nginx:latest', 'redis:latest']
- name String
- Name of the namespace. This is the name of the Kubernetes namespace in the cluster.
- resource
Allocation Map<String> - Resource allocation for the namespace. This is a map containing the resource type and the resource value. For example,
{cpu_cores: '2', memory_MiB: '2048'}
- images
Blacklists List<String> - List of images to disallow for the namespace. For example,
['nginx:latest', 'redis:latest']
ClusterVsphereScanPolicy, ClusterVsphereScanPolicyArgs
- Configuration
Scan stringSchedule - The schedule for configuration scan.
- Conformance
Scan stringSchedule - The schedule for conformance scan.
- Penetration
Scan stringSchedule - The schedule for penetration scan.
- Configuration
Scan stringSchedule - The schedule for configuration scan.
- Conformance
Scan stringSchedule - The schedule for conformance scan.
- Penetration
Scan stringSchedule - The schedule for penetration scan.
- configuration
Scan StringSchedule - The schedule for configuration scan.
- conformance
Scan StringSchedule - The schedule for conformance scan.
- penetration
Scan StringSchedule - The schedule for penetration scan.
- configuration
Scan stringSchedule - The schedule for configuration scan.
- conformance
Scan stringSchedule - The schedule for conformance scan.
- penetration
Scan stringSchedule - The schedule for penetration scan.
- configuration_
scan_ strschedule - The schedule for configuration scan.
- conformance_
scan_ strschedule - The schedule for conformance scan.
- penetration_
scan_ strschedule - The schedule for penetration scan.
- configuration
Scan StringSchedule - The schedule for configuration scan.
- conformance
Scan StringSchedule - The schedule for conformance scan.
- penetration
Scan StringSchedule - The schedule for penetration scan.
ClusterVsphereTimeouts, ClusterVsphereTimeoutsArgs
Package Details
- Repository
- spectrocloud spectrocloud/terraform-provider-spectrocloud
- License
- Notes
- This Pulumi package is based on the
spectrocloud
Terraform Provider.