spectrocloud.VirtualCluster
Explore with Pulumi AI
A resource to manage a Palette Virtual Cluster.
Example Usage
Virtual Cluster Deployment
An example of a Palette Virtual Cluster with a host and optional cluster group.
import * as pulumi from "@pulumi/pulumi";
import * as spectrocloud from "@pulumi/spectrocloud";
const cluster = new spectrocloud.VirtualCluster("cluster", {
hostClusterUid: _var.host_cluster_uid,
resources: [{
maxCpu: 6,
maxMemInMb: 6000,
minCpu: 0,
minMemInMb: 0,
}],
});
import pulumi
import pulumi_spectrocloud as spectrocloud
cluster = spectrocloud.VirtualCluster("cluster",
host_cluster_uid=var["host_cluster_uid"],
resources=[{
"max_cpu": 6,
"max_mem_in_mb": 6000,
"min_cpu": 0,
"min_mem_in_mb": 0,
}])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/spectrocloud/spectrocloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := spectrocloud.NewVirtualCluster(ctx, "cluster", &spectrocloud.VirtualClusterArgs{
HostClusterUid: pulumi.Any(_var.Host_cluster_uid),
Resources: spectrocloud.VirtualClusterResourceArray{
&spectrocloud.VirtualClusterResourceArgs{
MaxCpu: pulumi.Float64(6),
MaxMemInMb: pulumi.Float64(6000),
MinCpu: pulumi.Float64(0),
MinMemInMb: pulumi.Float64(0),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Spectrocloud = Pulumi.Spectrocloud;
return await Deployment.RunAsync(() =>
{
var cluster = new Spectrocloud.VirtualCluster("cluster", new()
{
HostClusterUid = @var.Host_cluster_uid,
Resources = new[]
{
new Spectrocloud.Inputs.VirtualClusterResourceArgs
{
MaxCpu = 6,
MaxMemInMb = 6000,
MinCpu = 0,
MinMemInMb = 0,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.spectrocloud.VirtualCluster;
import com.pulumi.spectrocloud.VirtualClusterArgs;
import com.pulumi.spectrocloud.inputs.VirtualClusterResourceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var cluster = new VirtualCluster("cluster", VirtualClusterArgs.builder()
.hostClusterUid(var_.host_cluster_uid())
.resources(VirtualClusterResourceArgs.builder()
.maxCpu(6)
.maxMemInMb(6000)
.minCpu(0)
.minMemInMb(0)
.build())
.build());
}
}
resources:
cluster:
type: spectrocloud:VirtualCluster
properties:
hostClusterUid: ${var.host_cluster_uid} # cluster_group_uid = var.cluster_group_uid
resources: # optional virtual cluster config
# # cloud_config {
# # chart_name = var.chart_name
# # chart_repo = var.chart_repo
# # chart_version = var.chart_version
# # chart_values = var.chart_values
# # k8s_version = var.k8s_version
# # }
- maxCpu: 6
maxMemInMb: 6000
minCpu: 0
minMemInMb: 0
Create VirtualCluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VirtualCluster(name: string, args?: VirtualClusterArgs, opts?: CustomResourceOptions);
@overload
def VirtualCluster(resource_name: str,
args: Optional[VirtualClusterArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def VirtualCluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
apply_setting: Optional[str] = None,
backup_policy: Optional[VirtualClusterBackupPolicyArgs] = None,
cloud_config: Optional[VirtualClusterCloudConfigArgs] = None,
cluster_group_uid: Optional[str] = None,
cluster_profiles: Optional[Sequence[VirtualClusterClusterProfileArgs]] = None,
cluster_rbac_bindings: Optional[Sequence[VirtualClusterClusterRbacBindingArgs]] = None,
context: Optional[str] = None,
description: Optional[str] = None,
force_delete: Optional[bool] = None,
force_delete_delay: Optional[float] = None,
host_cluster_uid: Optional[str] = None,
name: Optional[str] = None,
namespaces: Optional[Sequence[VirtualClusterNamespaceArgs]] = None,
os_patch_after: Optional[str] = None,
os_patch_on_boot: Optional[bool] = None,
os_patch_schedule: Optional[str] = None,
pause_cluster: Optional[bool] = None,
resources: Optional[Sequence[VirtualClusterResourceArgs]] = None,
scan_policy: Optional[VirtualClusterScanPolicyArgs] = None,
skip_completion: Optional[bool] = None,
tags: Optional[Sequence[str]] = None,
timeouts: Optional[VirtualClusterTimeoutsArgs] = None,
virtual_cluster_id: Optional[str] = None)
func NewVirtualCluster(ctx *Context, name string, args *VirtualClusterArgs, opts ...ResourceOption) (*VirtualCluster, error)
public VirtualCluster(string name, VirtualClusterArgs? args = null, CustomResourceOptions? opts = null)
public VirtualCluster(String name, VirtualClusterArgs args)
public VirtualCluster(String name, VirtualClusterArgs args, CustomResourceOptions options)
type: spectrocloud:VirtualCluster
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 VirtualClusterArgs
- 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 VirtualClusterArgs
- 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 VirtualClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VirtualClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VirtualClusterArgs
- 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 virtualClusterResource = new Spectrocloud.VirtualCluster("virtualClusterResource", new()
{
ApplySetting = "string",
BackupPolicy = new Spectrocloud.Inputs.VirtualClusterBackupPolicyArgs
{
BackupLocationId = "string",
ExpiryInHour = 0,
Prefix = "string",
Schedule = "string",
ClusterUids = new[]
{
"string",
},
IncludeAllClusters = false,
IncludeClusterResources = false,
IncludeClusterResourcesMode = "string",
IncludeDisks = false,
Namespaces = new[]
{
"string",
},
},
CloudConfig = new Spectrocloud.Inputs.VirtualClusterCloudConfigArgs
{
ChartName = "string",
ChartRepo = "string",
ChartValues = "string",
ChartVersion = "string",
K8sVersion = "string",
},
ClusterGroupUid = "string",
ClusterProfiles = new[]
{
new Spectrocloud.Inputs.VirtualClusterClusterProfileArgs
{
Id = "string",
Packs = new[]
{
new Spectrocloud.Inputs.VirtualClusterClusterProfilePackArgs
{
Name = "string",
Manifests = new[]
{
new Spectrocloud.Inputs.VirtualClusterClusterProfilePackManifestArgs
{
Content = "string",
Name = "string",
Uid = "string",
},
},
RegistryUid = "string",
Tag = "string",
Type = "string",
Uid = "string",
Values = "string",
},
},
Variables =
{
{ "string", "string" },
},
},
},
ClusterRbacBindings = new[]
{
new Spectrocloud.Inputs.VirtualClusterClusterRbacBindingArgs
{
Type = "string",
Namespace = "string",
Role =
{
{ "string", "string" },
},
Subjects = new[]
{
new Spectrocloud.Inputs.VirtualClusterClusterRbacBindingSubjectArgs
{
Name = "string",
Type = "string",
Namespace = "string",
},
},
},
},
Context = "string",
Description = "string",
ForceDelete = false,
ForceDeleteDelay = 0,
HostClusterUid = "string",
Name = "string",
Namespaces = new[]
{
new Spectrocloud.Inputs.VirtualClusterNamespaceArgs
{
Name = "string",
ResourceAllocation =
{
{ "string", "string" },
},
ImagesBlacklists = new[]
{
"string",
},
},
},
OsPatchAfter = "string",
OsPatchOnBoot = false,
OsPatchSchedule = "string",
PauseCluster = false,
Resources = new[]
{
new Spectrocloud.Inputs.VirtualClusterResourceArgs
{
MaxCpu = 0,
MaxMemInMb = 0,
MaxStorageInGb = 0,
MinCpu = 0,
MinMemInMb = 0,
MinStorageInGb = 0,
},
},
ScanPolicy = new Spectrocloud.Inputs.VirtualClusterScanPolicyArgs
{
ConfigurationScanSchedule = "string",
ConformanceScanSchedule = "string",
PenetrationScanSchedule = "string",
},
SkipCompletion = false,
Tags = new[]
{
"string",
},
Timeouts = new Spectrocloud.Inputs.VirtualClusterTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
VirtualClusterId = "string",
});
example, err := spectrocloud.NewVirtualCluster(ctx, "virtualClusterResource", &spectrocloud.VirtualClusterArgs{
ApplySetting: pulumi.String("string"),
BackupPolicy: &spectrocloud.VirtualClusterBackupPolicyArgs{
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"),
},
},
CloudConfig: &spectrocloud.VirtualClusterCloudConfigArgs{
ChartName: pulumi.String("string"),
ChartRepo: pulumi.String("string"),
ChartValues: pulumi.String("string"),
ChartVersion: pulumi.String("string"),
K8sVersion: pulumi.String("string"),
},
ClusterGroupUid: pulumi.String("string"),
ClusterProfiles: spectrocloud.VirtualClusterClusterProfileArray{
&spectrocloud.VirtualClusterClusterProfileArgs{
Id: pulumi.String("string"),
Packs: spectrocloud.VirtualClusterClusterProfilePackArray{
&spectrocloud.VirtualClusterClusterProfilePackArgs{
Name: pulumi.String("string"),
Manifests: spectrocloud.VirtualClusterClusterProfilePackManifestArray{
&spectrocloud.VirtualClusterClusterProfilePackManifestArgs{
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.VirtualClusterClusterRbacBindingArray{
&spectrocloud.VirtualClusterClusterRbacBindingArgs{
Type: pulumi.String("string"),
Namespace: pulumi.String("string"),
Role: pulumi.StringMap{
"string": pulumi.String("string"),
},
Subjects: spectrocloud.VirtualClusterClusterRbacBindingSubjectArray{
&spectrocloud.VirtualClusterClusterRbacBindingSubjectArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
Namespace: pulumi.String("string"),
},
},
},
},
Context: pulumi.String("string"),
Description: pulumi.String("string"),
ForceDelete: pulumi.Bool(false),
ForceDeleteDelay: pulumi.Float64(0),
HostClusterUid: pulumi.String("string"),
Name: pulumi.String("string"),
Namespaces: spectrocloud.VirtualClusterNamespaceArray{
&spectrocloud.VirtualClusterNamespaceArgs{
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"),
PauseCluster: pulumi.Bool(false),
Resources: spectrocloud.VirtualClusterResourceArray{
&spectrocloud.VirtualClusterResourceArgs{
MaxCpu: pulumi.Float64(0),
MaxMemInMb: pulumi.Float64(0),
MaxStorageInGb: pulumi.Float64(0),
MinCpu: pulumi.Float64(0),
MinMemInMb: pulumi.Float64(0),
MinStorageInGb: pulumi.Float64(0),
},
},
ScanPolicy: &spectrocloud.VirtualClusterScanPolicyArgs{
ConfigurationScanSchedule: pulumi.String("string"),
ConformanceScanSchedule: pulumi.String("string"),
PenetrationScanSchedule: pulumi.String("string"),
},
SkipCompletion: pulumi.Bool(false),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
Timeouts: &spectrocloud.VirtualClusterTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
VirtualClusterId: pulumi.String("string"),
})
var virtualClusterResource = new VirtualCluster("virtualClusterResource", VirtualClusterArgs.builder()
.applySetting("string")
.backupPolicy(VirtualClusterBackupPolicyArgs.builder()
.backupLocationId("string")
.expiryInHour(0)
.prefix("string")
.schedule("string")
.clusterUids("string")
.includeAllClusters(false)
.includeClusterResources(false)
.includeClusterResourcesMode("string")
.includeDisks(false)
.namespaces("string")
.build())
.cloudConfig(VirtualClusterCloudConfigArgs.builder()
.chartName("string")
.chartRepo("string")
.chartValues("string")
.chartVersion("string")
.k8sVersion("string")
.build())
.clusterGroupUid("string")
.clusterProfiles(VirtualClusterClusterProfileArgs.builder()
.id("string")
.packs(VirtualClusterClusterProfilePackArgs.builder()
.name("string")
.manifests(VirtualClusterClusterProfilePackManifestArgs.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(VirtualClusterClusterRbacBindingArgs.builder()
.type("string")
.namespace("string")
.role(Map.of("string", "string"))
.subjects(VirtualClusterClusterRbacBindingSubjectArgs.builder()
.name("string")
.type("string")
.namespace("string")
.build())
.build())
.context("string")
.description("string")
.forceDelete(false)
.forceDeleteDelay(0)
.hostClusterUid("string")
.name("string")
.namespaces(VirtualClusterNamespaceArgs.builder()
.name("string")
.resourceAllocation(Map.of("string", "string"))
.imagesBlacklists("string")
.build())
.osPatchAfter("string")
.osPatchOnBoot(false)
.osPatchSchedule("string")
.pauseCluster(false)
.resources(VirtualClusterResourceArgs.builder()
.maxCpu(0)
.maxMemInMb(0)
.maxStorageInGb(0)
.minCpu(0)
.minMemInMb(0)
.minStorageInGb(0)
.build())
.scanPolicy(VirtualClusterScanPolicyArgs.builder()
.configurationScanSchedule("string")
.conformanceScanSchedule("string")
.penetrationScanSchedule("string")
.build())
.skipCompletion(false)
.tags("string")
.timeouts(VirtualClusterTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.virtualClusterId("string")
.build());
virtual_cluster_resource = spectrocloud.VirtualCluster("virtualClusterResource",
apply_setting="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"],
},
cloud_config={
"chart_name": "string",
"chart_repo": "string",
"chart_values": "string",
"chart_version": "string",
"k8s_version": "string",
},
cluster_group_uid="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",
}],
}],
context="string",
description="string",
force_delete=False,
force_delete_delay=0,
host_cluster_uid="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_cluster=False,
resources=[{
"max_cpu": 0,
"max_mem_in_mb": 0,
"max_storage_in_gb": 0,
"min_cpu": 0,
"min_mem_in_mb": 0,
"min_storage_in_gb": 0,
}],
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",
},
virtual_cluster_id="string")
const virtualClusterResource = new spectrocloud.VirtualCluster("virtualClusterResource", {
applySetting: "string",
backupPolicy: {
backupLocationId: "string",
expiryInHour: 0,
prefix: "string",
schedule: "string",
clusterUids: ["string"],
includeAllClusters: false,
includeClusterResources: false,
includeClusterResourcesMode: "string",
includeDisks: false,
namespaces: ["string"],
},
cloudConfig: {
chartName: "string",
chartRepo: "string",
chartValues: "string",
chartVersion: "string",
k8sVersion: "string",
},
clusterGroupUid: "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",
}],
}],
context: "string",
description: "string",
forceDelete: false,
forceDeleteDelay: 0,
hostClusterUid: "string",
name: "string",
namespaces: [{
name: "string",
resourceAllocation: {
string: "string",
},
imagesBlacklists: ["string"],
}],
osPatchAfter: "string",
osPatchOnBoot: false,
osPatchSchedule: "string",
pauseCluster: false,
resources: [{
maxCpu: 0,
maxMemInMb: 0,
maxStorageInGb: 0,
minCpu: 0,
minMemInMb: 0,
minStorageInGb: 0,
}],
scanPolicy: {
configurationScanSchedule: "string",
conformanceScanSchedule: "string",
penetrationScanSchedule: "string",
},
skipCompletion: false,
tags: ["string"],
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
virtualClusterId: "string",
});
type: spectrocloud:VirtualCluster
properties:
applySetting: string
backupPolicy:
backupLocationId: string
clusterUids:
- string
expiryInHour: 0
includeAllClusters: false
includeClusterResources: false
includeClusterResourcesMode: string
includeDisks: false
namespaces:
- string
prefix: string
schedule: string
cloudConfig:
chartName: string
chartRepo: string
chartValues: string
chartVersion: string
k8sVersion: string
clusterGroupUid: 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
context: string
description: string
forceDelete: false
forceDeleteDelay: 0
hostClusterUid: string
name: string
namespaces:
- imagesBlacklists:
- string
name: string
resourceAllocation:
string: string
osPatchAfter: string
osPatchOnBoot: false
osPatchSchedule: string
pauseCluster: false
resources:
- maxCpu: 0
maxMemInMb: 0
maxStorageInGb: 0
minCpu: 0
minMemInMb: 0
minStorageInGb: 0
scanPolicy:
configurationScanSchedule: string
conformanceScanSchedule: string
penetrationScanSchedule: string
skipCompletion: false
tags:
- string
timeouts:
create: string
delete: string
update: string
virtualClusterId: string
VirtualCluster 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 VirtualCluster resource accepts the following input properties:
- 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 VirtualCluster Backup Policy - The backup policy for the cluster. If not specified, no backups will be taken.
- Cloud
Config VirtualCluster Cloud Config - Cluster
Group stringUid - Cluster
Profiles List<VirtualCluster Cluster Profile> - Cluster
Rbac List<VirtualBindings Cluster Cluster Rbac Binding> - The RBAC binding for the cluster.
- Context string
- The context of the virtual 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
Cluster stringUid - Name string
- Namespaces
List<Virtual
Cluster 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 - Cron schedule for OS patching. This must be in the form of
0 0 * * *
. - Pause
Cluster bool - To pause and resume cluster state. Set to true to pause running cluster & false to resume it.
- Resources
List<Virtual
Cluster Resource> - Scan
Policy VirtualCluster 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
Virtual
Cluster Timeouts - Virtual
Cluster stringId - The ID of this resource.
- 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 VirtualCluster Backup Policy Args - The backup policy for the cluster. If not specified, no backups will be taken.
- Cloud
Config VirtualCluster Cloud Config Args - Cluster
Group stringUid - Cluster
Profiles []VirtualCluster Cluster Profile Args - Cluster
Rbac []VirtualBindings Cluster Cluster Rbac Binding Args - The RBAC binding for the cluster.
- Context string
- The context of the virtual 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
Cluster stringUid - Name string
- Namespaces
[]Virtual
Cluster 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 - Cron schedule for OS patching. This must be in the form of
0 0 * * *
. - Pause
Cluster bool - To pause and resume cluster state. Set to true to pause running cluster & false to resume it.
- Resources
[]Virtual
Cluster Resource Args - Scan
Policy VirtualCluster 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
Virtual
Cluster Timeouts Args - Virtual
Cluster stringId - The ID of this resource.
- 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 VirtualCluster Backup Policy - The backup policy for the cluster. If not specified, no backups will be taken.
- cloud
Config VirtualCluster Cloud Config - cluster
Group StringUid - cluster
Profiles List<VirtualCluster Cluster Profile> - cluster
Rbac List<VirtualBindings Cluster Cluster Rbac Binding> - The RBAC binding for the cluster.
- context String
- The context of the virtual 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
Cluster StringUid - name String
- namespaces
List<Virtual
Cluster 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 - Cron schedule for OS patching. This must be in the form of
0 0 * * *
. - pause
Cluster Boolean - To pause and resume cluster state. Set to true to pause running cluster & false to resume it.
- resources
List<Virtual
Cluster Resource> - scan
Policy VirtualCluster 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
Virtual
Cluster Timeouts - virtual
Cluster StringId - The ID of this resource.
- 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 VirtualCluster Backup Policy - The backup policy for the cluster. If not specified, no backups will be taken.
- cloud
Config VirtualCluster Cloud Config - cluster
Group stringUid - cluster
Profiles VirtualCluster Cluster Profile[] - cluster
Rbac VirtualBindings Cluster Cluster Rbac Binding[] - The RBAC binding for the cluster.
- context string
- The context of the virtual 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
Cluster stringUid - name string
- namespaces
Virtual
Cluster 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 - Cron schedule for OS patching. This must be in the form of
0 0 * * *
. - pause
Cluster boolean - To pause and resume cluster state. Set to true to pause running cluster & false to resume it.
- resources
Virtual
Cluster Resource[] - scan
Policy VirtualCluster 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
Virtual
Cluster Timeouts - virtual
Cluster stringId - The ID of this resource.
- 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 VirtualCluster Backup Policy Args - The backup policy for the cluster. If not specified, no backups will be taken.
- cloud_
config VirtualCluster Cloud Config Args - cluster_
group_ struid - cluster_
profiles Sequence[VirtualCluster Cluster Profile Args] - cluster_
rbac_ Sequence[Virtualbindings Cluster Cluster Rbac Binding Args] - The RBAC binding for the cluster.
- context str
- The context of the virtual 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_
cluster_ struid - name str
- namespaces
Sequence[Virtual
Cluster 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 - Cron schedule for OS patching. This must be in the form of
0 0 * * *
. - pause_
cluster bool - To pause and resume cluster state. Set to true to pause running cluster & false to resume it.
- resources
Sequence[Virtual
Cluster Resource Args] - scan_
policy VirtualCluster 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
Virtual
Cluster Timeouts Args - virtual_
cluster_ strid - The ID of this resource.
- 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
Config Property Map - cluster
Group StringUid - cluster
Profiles List<Property Map> - cluster
Rbac List<Property Map>Bindings - The RBAC binding for the cluster.
- context String
- The context of the virtual 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
Cluster StringUid - name String
- 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 - Cron schedule for OS patching. This must be in the form of
0 0 * * *
. - pause
Cluster Boolean - To pause and resume cluster state. Set to true to pause running cluster & false to resume it.
- resources List<Property Map>
- 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
- virtual
Cluster StringId - The ID of this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the VirtualCluster 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
. - Location
Configs List<VirtualCluster Location Config> - The location of the cluster.
- 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
. - Location
Configs []VirtualCluster Location Config - The location of the cluster.
- 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
. - location
Configs List<VirtualCluster Location Config> - The location of the cluster.
- 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
. - location
Configs VirtualCluster Location Config[] - The location of the cluster.
- 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
. - location_
configs Sequence[VirtualCluster Location Config] - The location of the cluster.
- 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
. - location
Configs List<Property Map> - The location of the cluster.
Look up Existing VirtualCluster Resource
Get an existing VirtualCluster 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?: VirtualClusterState, opts?: CustomResourceOptions): VirtualCluster
@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[VirtualClusterBackupPolicyArgs] = None,
cloud_config: Optional[VirtualClusterCloudConfigArgs] = None,
cloud_config_id: Optional[str] = None,
cluster_group_uid: Optional[str] = None,
cluster_profiles: Optional[Sequence[VirtualClusterClusterProfileArgs]] = None,
cluster_rbac_bindings: Optional[Sequence[VirtualClusterClusterRbacBindingArgs]] = None,
context: Optional[str] = None,
description: Optional[str] = None,
force_delete: Optional[bool] = None,
force_delete_delay: Optional[float] = None,
host_cluster_uid: Optional[str] = None,
kubeconfig: Optional[str] = None,
location_configs: Optional[Sequence[VirtualClusterLocationConfigArgs]] = None,
name: Optional[str] = None,
namespaces: Optional[Sequence[VirtualClusterNamespaceArgs]] = None,
os_patch_after: Optional[str] = None,
os_patch_on_boot: Optional[bool] = None,
os_patch_schedule: Optional[str] = None,
pause_cluster: Optional[bool] = None,
resources: Optional[Sequence[VirtualClusterResourceArgs]] = None,
scan_policy: Optional[VirtualClusterScanPolicyArgs] = None,
skip_completion: Optional[bool] = None,
tags: Optional[Sequence[str]] = None,
timeouts: Optional[VirtualClusterTimeoutsArgs] = None,
virtual_cluster_id: Optional[str] = None) -> VirtualCluster
func GetVirtualCluster(ctx *Context, name string, id IDInput, state *VirtualClusterState, opts ...ResourceOption) (*VirtualCluster, error)
public static VirtualCluster Get(string name, Input<string> id, VirtualClusterState? state, CustomResourceOptions? opts = null)
public static VirtualCluster get(String name, Output<String> id, VirtualClusterState state, CustomResourceOptions options)
resources: _: type: spectrocloud:VirtualCluster 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 VirtualCluster Backup Policy - The backup policy for the cluster. If not specified, no backups will be taken.
- Cloud
Config VirtualCluster Cloud Config - Cloud
Config stringId - ID of the cloud config used for the cluster. This cloud config must be of type
azure
. - Cluster
Group stringUid - Cluster
Profiles List<VirtualCluster Cluster Profile> - Cluster
Rbac List<VirtualBindings Cluster Cluster Rbac Binding> - The RBAC binding for the cluster.
- Context string
- The context of the virtual 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
Cluster stringUid - Kubeconfig string
- Kubeconfig for the cluster. This can be used to connect to the cluster using
kubectl
. - Location
Configs List<VirtualCluster Location Config> - The location of the cluster.
- Name string
- Namespaces
List<Virtual
Cluster 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 - Cron schedule for OS patching. This must be in the form of
0 0 * * *
. - Pause
Cluster bool - To pause and resume cluster state. Set to true to pause running cluster & false to resume it.
- Resources
List<Virtual
Cluster Resource> - Scan
Policy VirtualCluster 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
Virtual
Cluster Timeouts - Virtual
Cluster stringId - The ID of this resource.
- 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 VirtualCluster Backup Policy Args - The backup policy for the cluster. If not specified, no backups will be taken.
- Cloud
Config VirtualCluster Cloud Config Args - Cloud
Config stringId - ID of the cloud config used for the cluster. This cloud config must be of type
azure
. - Cluster
Group stringUid - Cluster
Profiles []VirtualCluster Cluster Profile Args - Cluster
Rbac []VirtualBindings Cluster Cluster Rbac Binding Args - The RBAC binding for the cluster.
- Context string
- The context of the virtual 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
Cluster stringUid - Kubeconfig string
- Kubeconfig for the cluster. This can be used to connect to the cluster using
kubectl
. - Location
Configs []VirtualCluster Location Config Args - The location of the cluster.
- Name string
- Namespaces
[]Virtual
Cluster 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 - Cron schedule for OS patching. This must be in the form of
0 0 * * *
. - Pause
Cluster bool - To pause and resume cluster state. Set to true to pause running cluster & false to resume it.
- Resources
[]Virtual
Cluster Resource Args - Scan
Policy VirtualCluster 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
Virtual
Cluster Timeouts Args - Virtual
Cluster stringId - The ID of this resource.
- 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 VirtualCluster Backup Policy - The backup policy for the cluster. If not specified, no backups will be taken.
- cloud
Config VirtualCluster Cloud Config - cloud
Config StringId - ID of the cloud config used for the cluster. This cloud config must be of type
azure
. - cluster
Group StringUid - cluster
Profiles List<VirtualCluster Cluster Profile> - cluster
Rbac List<VirtualBindings Cluster Cluster Rbac Binding> - The RBAC binding for the cluster.
- context String
- The context of the virtual 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
Cluster StringUid - kubeconfig String
- Kubeconfig for the cluster. This can be used to connect to the cluster using
kubectl
. - location
Configs List<VirtualCluster Location Config> - The location of the cluster.
- name String
- namespaces
List<Virtual
Cluster 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 - Cron schedule for OS patching. This must be in the form of
0 0 * * *
. - pause
Cluster Boolean - To pause and resume cluster state. Set to true to pause running cluster & false to resume it.
- resources
List<Virtual
Cluster Resource> - scan
Policy VirtualCluster 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
Virtual
Cluster Timeouts - virtual
Cluster StringId - The ID of this resource.
- 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 VirtualCluster Backup Policy - The backup policy for the cluster. If not specified, no backups will be taken.
- cloud
Config VirtualCluster Cloud Config - cloud
Config stringId - ID of the cloud config used for the cluster. This cloud config must be of type
azure
. - cluster
Group stringUid - cluster
Profiles VirtualCluster Cluster Profile[] - cluster
Rbac VirtualBindings Cluster Cluster Rbac Binding[] - The RBAC binding for the cluster.
- context string
- The context of the virtual 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
Cluster stringUid - kubeconfig string
- Kubeconfig for the cluster. This can be used to connect to the cluster using
kubectl
. - location
Configs VirtualCluster Location Config[] - The location of the cluster.
- name string
- namespaces
Virtual
Cluster 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 - Cron schedule for OS patching. This must be in the form of
0 0 * * *
. - pause
Cluster boolean - To pause and resume cluster state. Set to true to pause running cluster & false to resume it.
- resources
Virtual
Cluster Resource[] - scan
Policy VirtualCluster 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
Virtual
Cluster Timeouts - virtual
Cluster stringId - The ID of this resource.
- 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 VirtualCluster Backup Policy Args - The backup policy for the cluster. If not specified, no backups will be taken.
- cloud_
config VirtualCluster Cloud Config Args - cloud_
config_ strid - ID of the cloud config used for the cluster. This cloud config must be of type
azure
. - cluster_
group_ struid - cluster_
profiles Sequence[VirtualCluster Cluster Profile Args] - cluster_
rbac_ Sequence[Virtualbindings Cluster Cluster Rbac Binding Args] - The RBAC binding for the cluster.
- context str
- The context of the virtual 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_
cluster_ struid - kubeconfig str
- Kubeconfig for the cluster. This can be used to connect to the cluster using
kubectl
. - location_
configs Sequence[VirtualCluster Location Config Args] - The location of the cluster.
- name str
- namespaces
Sequence[Virtual
Cluster 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 - Cron schedule for OS patching. This must be in the form of
0 0 * * *
. - pause_
cluster bool - To pause and resume cluster state. Set to true to pause running cluster & false to resume it.
- resources
Sequence[Virtual
Cluster Resource Args] - scan_
policy VirtualCluster 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
Virtual
Cluster Timeouts Args - virtual_
cluster_ strid - The ID of this resource.
- 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
Config Property Map - cloud
Config StringId - ID of the cloud config used for the cluster. This cloud config must be of type
azure
. - cluster
Group StringUid - cluster
Profiles List<Property Map> - cluster
Rbac List<Property Map>Bindings - The RBAC binding for the cluster.
- context String
- The context of the virtual 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
Cluster StringUid - kubeconfig String
- Kubeconfig for the cluster. This can be used to connect to the cluster using
kubectl
. - location
Configs List<Property Map> - The location of the cluster.
- name String
- 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 - Cron schedule for OS patching. This must be in the form of
0 0 * * *
. - pause
Cluster Boolean - To pause and resume cluster state. Set to true to pause running cluster & false to resume it.
- resources List<Property Map>
- 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
- virtual
Cluster StringId - The ID of this resource.
Supporting Types
VirtualClusterBackupPolicy, VirtualClusterBackupPolicyArgs
- 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.
VirtualClusterCloudConfig, VirtualClusterCloudConfigArgs
- Chart
Name string - Chart
Repo string - Chart
Values string - Chart
Version string - K8s
Version string
- Chart
Name string - Chart
Repo string - Chart
Values string - Chart
Version string - K8s
Version string
- chart
Name String - chart
Repo String - chart
Values String - chart
Version String - k8s
Version String
- chart
Name string - chart
Repo string - chart
Values string - chart
Version string - k8s
Version string
- chart_
name str - chart_
repo str - chart_
values str - chart_
version str - k8s_
version str
- chart
Name String - chart
Repo String - chart
Values String - chart
Version String - k8s
Version String
VirtualClusterClusterProfile, VirtualClusterClusterProfileArgs
- Id string
- The ID of the cluster profile.
- Packs
List<Virtual
Cluster 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
[]Virtual
Cluster 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<Virtual
Cluster 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
Virtual
Cluster 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[Virtual
Cluster 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"
.
VirtualClusterClusterProfilePack, VirtualClusterClusterProfilePackArgs
- Name string
- The name of the pack. The name must be unique within the cluster profile.
- Manifests
List<Virtual
Cluster 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
[]Virtual
Cluster 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<Virtual
Cluster 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
Virtual
Cluster 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[Virtual
Cluster 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.
VirtualClusterClusterProfilePackManifest, VirtualClusterClusterProfilePackManifestArgs
VirtualClusterClusterRbacBinding, VirtualClusterClusterRbacBindingArgs
- 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<Virtual
Cluster 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
[]Virtual
Cluster 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<Virtual
Cluster 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
Virtual
Cluster 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[Virtual
Cluster 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>
VirtualClusterClusterRbacBindingSubject, VirtualClusterClusterRbacBindingSubjectArgs
VirtualClusterLocationConfig, VirtualClusterLocationConfigArgs
- Country
Code string - Country
Name string - Latitude double
- Longitude double
- Region
Code string - Region
Name string
- Country
Code string - Country
Name string - Latitude float64
- Longitude float64
- Region
Code string - Region
Name string
- country
Code String - country
Name String - latitude Double
- longitude Double
- region
Code String - region
Name String
- country
Code string - country
Name string - latitude number
- longitude number
- region
Code string - region
Name string
- country_
code str - country_
name str - latitude float
- longitude float
- region_
code str - region_
name str
- country
Code String - country
Name String - latitude Number
- longitude Number
- region
Code String - region
Name String
VirtualClusterNamespace, VirtualClusterNamespaceArgs
- 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']
VirtualClusterResource, VirtualClusterResourceArgs
- Max
Cpu double - Max
Mem doubleIn Mb - Max
Storage doubleIn Gb - Min
Cpu double - Min
Mem doubleIn Mb - Min
Storage doubleIn Gb
- Max
Cpu float64 - Max
Mem float64In Mb - Max
Storage float64In Gb - Min
Cpu float64 - Min
Mem float64In Mb - Min
Storage float64In Gb
- max
Cpu Double - max
Mem DoubleIn Mb - max
Storage DoubleIn Gb - min
Cpu Double - min
Mem DoubleIn Mb - min
Storage DoubleIn Gb
- max
Cpu number - max
Mem numberIn Mb - max
Storage numberIn Gb - min
Cpu number - min
Mem numberIn Mb - min
Storage numberIn Gb
- max_
cpu float - max_
mem_ floatin_ mb - max_
storage_ floatin_ gb - min_
cpu float - min_
mem_ floatin_ mb - min_
storage_ floatin_ gb
- max
Cpu Number - max
Mem NumberIn Mb - max
Storage NumberIn Gb - min
Cpu Number - min
Mem NumberIn Mb - min
Storage NumberIn Gb
VirtualClusterScanPolicy, VirtualClusterScanPolicyArgs
- 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.
VirtualClusterTimeouts, VirtualClusterTimeoutsArgs
Package Details
- Repository
- spectrocloud spectrocloud/terraform-provider-spectrocloud
- License
- Notes
- This Pulumi package is based on the
spectrocloud
Terraform Provider.