spectrocloud.ClusterAzure
Explore with Pulumi AI
Resource for managing Azure clusters in Spectro Cloud through Palette.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as spectrocloud from "@pulumi/spectrocloud";
const account = spectrocloud.getCloudaccountAzure({
name: _var.cluster_cloud_account_name,
});
const profile = spectrocloud.getClusterProfile({
name: _var.cluster_cluster_profile_name,
});
const cluster = new spectrocloud.ClusterAzure("cluster", {
tags: [
"dev",
"department:devops",
"owner:bob",
],
cloudAccountId: account.then(account => account.id),
cloudConfig: {
subscriptionId: _var.azure_subscription_id,
resourceGroup: _var.azure_resource_group,
region: _var.azure_region,
sshKey: _var.cluster_ssh_public_key,
},
clusterProfiles: [{
id: profile.then(profile => profile.id),
}],
machinePools: [
{
controlPlane: true,
controlPlaneAsWorker: true,
name: "cp-pool",
count: 1,
instanceType: "Standard_D2_v3",
azs: [""],
disk: {
sizeGb: 65,
type: "Standard_LRS",
},
},
{
name: "worker-basic",
count: 1,
instanceType: "Standard_D2_v3",
azs: [""],
},
],
});
import pulumi
import pulumi_spectrocloud as spectrocloud
account = spectrocloud.get_cloudaccount_azure(name=var["cluster_cloud_account_name"])
profile = spectrocloud.get_cluster_profile(name=var["cluster_cluster_profile_name"])
cluster = spectrocloud.ClusterAzure("cluster",
tags=[
"dev",
"department:devops",
"owner:bob",
],
cloud_account_id=account.id,
cloud_config={
"subscription_id": var["azure_subscription_id"],
"resource_group": var["azure_resource_group"],
"region": var["azure_region"],
"ssh_key": var["cluster_ssh_public_key"],
},
cluster_profiles=[{
"id": profile.id,
}],
machine_pools=[
{
"control_plane": True,
"control_plane_as_worker": True,
"name": "cp-pool",
"count": 1,
"instance_type": "Standard_D2_v3",
"azs": [""],
"disk": {
"size_gb": 65,
"type": "Standard_LRS",
},
},
{
"name": "worker-basic",
"count": 1,
"instance_type": "Standard_D2_v3",
"azs": [""],
},
])
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 {
account, err := spectrocloud.LookupCloudaccountAzure(ctx, &spectrocloud.LookupCloudaccountAzureArgs{
Name: pulumi.StringRef(_var.Cluster_cloud_account_name),
}, nil)
if err != nil {
return err
}
profile, err := spectrocloud.LookupClusterProfile(ctx, &spectrocloud.LookupClusterProfileArgs{
Name: pulumi.StringRef(_var.Cluster_cluster_profile_name),
}, nil)
if err != nil {
return err
}
_, err = spectrocloud.NewClusterAzure(ctx, "cluster", &spectrocloud.ClusterAzureArgs{
Tags: pulumi.StringArray{
pulumi.String("dev"),
pulumi.String("department:devops"),
pulumi.String("owner:bob"),
},
CloudAccountId: pulumi.String(account.Id),
CloudConfig: &spectrocloud.ClusterAzureCloudConfigArgs{
SubscriptionId: pulumi.Any(_var.Azure_subscription_id),
ResourceGroup: pulumi.Any(_var.Azure_resource_group),
Region: pulumi.Any(_var.Azure_region),
SshKey: pulumi.Any(_var.Cluster_ssh_public_key),
},
ClusterProfiles: spectrocloud.ClusterAzureClusterProfileArray{
&spectrocloud.ClusterAzureClusterProfileArgs{
Id: pulumi.String(profile.Id),
},
},
MachinePools: spectrocloud.ClusterAzureMachinePoolArray{
&spectrocloud.ClusterAzureMachinePoolArgs{
ControlPlane: pulumi.Bool(true),
ControlPlaneAsWorker: pulumi.Bool(true),
Name: pulumi.String("cp-pool"),
Count: pulumi.Float64(1),
InstanceType: pulumi.String("Standard_D2_v3"),
Azs: pulumi.StringArray{
pulumi.String(""),
},
Disk: &spectrocloud.ClusterAzureMachinePoolDiskArgs{
SizeGb: pulumi.Float64(65),
Type: pulumi.String("Standard_LRS"),
},
},
&spectrocloud.ClusterAzureMachinePoolArgs{
Name: pulumi.String("worker-basic"),
Count: pulumi.Float64(1),
InstanceType: pulumi.String("Standard_D2_v3"),
Azs: pulumi.StringArray{
pulumi.String(""),
},
},
},
})
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 account = Spectrocloud.GetCloudaccountAzure.Invoke(new()
{
Name = @var.Cluster_cloud_account_name,
});
var profile = Spectrocloud.GetClusterProfile.Invoke(new()
{
Name = @var.Cluster_cluster_profile_name,
});
var cluster = new Spectrocloud.ClusterAzure("cluster", new()
{
Tags = new[]
{
"dev",
"department:devops",
"owner:bob",
},
CloudAccountId = account.Apply(getCloudaccountAzureResult => getCloudaccountAzureResult.Id),
CloudConfig = new Spectrocloud.Inputs.ClusterAzureCloudConfigArgs
{
SubscriptionId = @var.Azure_subscription_id,
ResourceGroup = @var.Azure_resource_group,
Region = @var.Azure_region,
SshKey = @var.Cluster_ssh_public_key,
},
ClusterProfiles = new[]
{
new Spectrocloud.Inputs.ClusterAzureClusterProfileArgs
{
Id = profile.Apply(getClusterProfileResult => getClusterProfileResult.Id),
},
},
MachinePools = new[]
{
new Spectrocloud.Inputs.ClusterAzureMachinePoolArgs
{
ControlPlane = true,
ControlPlaneAsWorker = true,
Name = "cp-pool",
Count = 1,
InstanceType = "Standard_D2_v3",
Azs = new[]
{
"",
},
Disk = new Spectrocloud.Inputs.ClusterAzureMachinePoolDiskArgs
{
SizeGb = 65,
Type = "Standard_LRS",
},
},
new Spectrocloud.Inputs.ClusterAzureMachinePoolArgs
{
Name = "worker-basic",
Count = 1,
InstanceType = "Standard_D2_v3",
Azs = new[]
{
"",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.spectrocloud.SpectrocloudFunctions;
import com.pulumi.spectrocloud.inputs.GetCloudaccountAzureArgs;
import com.pulumi.spectrocloud.inputs.GetClusterProfileArgs;
import com.pulumi.spectrocloud.ClusterAzure;
import com.pulumi.spectrocloud.ClusterAzureArgs;
import com.pulumi.spectrocloud.inputs.ClusterAzureCloudConfigArgs;
import com.pulumi.spectrocloud.inputs.ClusterAzureClusterProfileArgs;
import com.pulumi.spectrocloud.inputs.ClusterAzureMachinePoolArgs;
import com.pulumi.spectrocloud.inputs.ClusterAzureMachinePoolDiskArgs;
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) {
final var account = SpectrocloudFunctions.getCloudaccountAzure(GetCloudaccountAzureArgs.builder()
.name(var_.cluster_cloud_account_name())
.build());
final var profile = SpectrocloudFunctions.getClusterProfile(GetClusterProfileArgs.builder()
.name(var_.cluster_cluster_profile_name())
.build());
var cluster = new ClusterAzure("cluster", ClusterAzureArgs.builder()
.tags(
"dev",
"department:devops",
"owner:bob")
.cloudAccountId(account.applyValue(getCloudaccountAzureResult -> getCloudaccountAzureResult.id()))
.cloudConfig(ClusterAzureCloudConfigArgs.builder()
.subscriptionId(var_.azure_subscription_id())
.resourceGroup(var_.azure_resource_group())
.region(var_.azure_region())
.sshKey(var_.cluster_ssh_public_key())
.build())
.clusterProfiles(ClusterAzureClusterProfileArgs.builder()
.id(profile.applyValue(getClusterProfileResult -> getClusterProfileResult.id()))
.build())
.machinePools(
ClusterAzureMachinePoolArgs.builder()
.controlPlane(true)
.controlPlaneAsWorker(true)
.name("cp-pool")
.count(1)
.instanceType("Standard_D2_v3")
.azs("")
.disk(ClusterAzureMachinePoolDiskArgs.builder()
.sizeGb(65)
.type("Standard_LRS")
.build())
.build(),
ClusterAzureMachinePoolArgs.builder()
.name("worker-basic")
.count(1)
.instanceType("Standard_D2_v3")
.azs("")
.build())
.build());
}
}
resources:
cluster:
type: spectrocloud:ClusterAzure
properties:
tags:
- dev
- department:devops
- owner:bob
cloudAccountId: ${account.id}
cloudConfig:
subscriptionId: ${var.azure_subscription_id}
resourceGroup: ${var.azure_resource_group}
region: ${var.azure_region}
sshKey: ${var.cluster_ssh_public_key}
clusterProfiles:
- id: ${profile.id}
machinePools:
- controlPlane: true
controlPlaneAsWorker: true
name: cp-pool
count: 1
instanceType: Standard_D2_v3
azs:
- ""
disk:
sizeGb: 65
type: Standard_LRS
- name: worker-basic
count: 1
instanceType: Standard_D2_v3
azs:
- ""
variables:
account:
fn::invoke:
function: spectrocloud:getCloudaccountAzure
arguments:
name: ${var.cluster_cloud_account_name}
profile:
fn::invoke:
function: spectrocloud:getClusterProfile
arguments:
name: ${var.cluster_cluster_profile_name}
Create ClusterAzure Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ClusterAzure(name: string, args: ClusterAzureArgs, opts?: CustomResourceOptions);
@overload
def ClusterAzure(resource_name: str,
args: ClusterAzureArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ClusterAzure(resource_name: str,
opts: Optional[ResourceOptions] = None,
cloud_config: Optional[ClusterAzureCloudConfigArgs] = None,
machine_pools: Optional[Sequence[ClusterAzureMachinePoolArgs]] = None,
cloud_account_id: Optional[str] = None,
host_configs: Optional[Sequence[ClusterAzureHostConfigArgs]] = None,
name: Optional[str] = None,
cluster_meta_attribute: Optional[str] = None,
cluster_profiles: Optional[Sequence[ClusterAzureClusterProfileArgs]] = None,
cluster_rbac_bindings: Optional[Sequence[ClusterAzureClusterRbacBindingArgs]] = 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,
backup_policy: Optional[ClusterAzureBackupPolicyArgs] = None,
cluster_azure_id: Optional[str] = None,
namespaces: Optional[Sequence[ClusterAzureNamespaceArgs]] = 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[ClusterAzureScanPolicyArgs] = None,
skip_completion: Optional[bool] = None,
tags: Optional[Sequence[str]] = None,
timeouts: Optional[ClusterAzureTimeoutsArgs] = None)
func NewClusterAzure(ctx *Context, name string, args ClusterAzureArgs, opts ...ResourceOption) (*ClusterAzure, error)
public ClusterAzure(string name, ClusterAzureArgs args, CustomResourceOptions? opts = null)
public ClusterAzure(String name, ClusterAzureArgs args)
public ClusterAzure(String name, ClusterAzureArgs args, CustomResourceOptions options)
type: spectrocloud:ClusterAzure
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 ClusterAzureArgs
- 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 ClusterAzureArgs
- 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 ClusterAzureArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClusterAzureArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClusterAzureArgs
- 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 clusterAzureResource = new Spectrocloud.ClusterAzure("clusterAzureResource", new()
{
CloudConfig = new Spectrocloud.Inputs.ClusterAzureCloudConfigArgs
{
Region = "string",
ResourceGroup = "string",
SshKey = "string",
SubscriptionId = "string",
ContainerName = "string",
ControlPlaneSubnet = new Spectrocloud.Inputs.ClusterAzureCloudConfigControlPlaneSubnetArgs
{
CidrBlock = "string",
Name = "string",
SecurityGroupName = "string",
},
NetworkResourceGroup = "string",
StorageAccountName = "string",
VirtualNetworkCidrBlock = "string",
VirtualNetworkName = "string",
WorkerNodeSubnet = new Spectrocloud.Inputs.ClusterAzureCloudConfigWorkerNodeSubnetArgs
{
CidrBlock = "string",
Name = "string",
SecurityGroupName = "string",
},
},
MachinePools = new[]
{
new Spectrocloud.Inputs.ClusterAzureMachinePoolArgs
{
Count = 0,
Name = "string",
InstanceType = "string",
ControlPlaneAsWorker = false,
AdditionalLabels =
{
{ "string", "string" },
},
Disk = new Spectrocloud.Inputs.ClusterAzureMachinePoolDiskArgs
{
SizeGb = 0,
Type = "string",
},
ControlPlane = false,
IsSystemNodePool = false,
Azs = new[]
{
"string",
},
NodeRepaveInterval = 0,
Nodes = new[]
{
new Spectrocloud.Inputs.ClusterAzureMachinePoolNodeArgs
{
Action = "string",
NodeId = "string",
},
},
OsType = "string",
Taints = new[]
{
new Spectrocloud.Inputs.ClusterAzureMachinePoolTaintArgs
{
Effect = "string",
Key = "string",
Value = "string",
},
},
UpdateStrategy = "string",
},
},
CloudAccountId = "string",
HostConfigs = new[]
{
new Spectrocloud.Inputs.ClusterAzureHostConfigArgs
{
ExternalTrafficPolicy = "string",
HostEndpointType = "string",
IngressHost = "string",
LoadBalancerSourceRanges = "string",
},
},
Name = "string",
ClusterMetaAttribute = "string",
ClusterProfiles = new[]
{
new Spectrocloud.Inputs.ClusterAzureClusterProfileArgs
{
Id = "string",
Packs = new[]
{
new Spectrocloud.Inputs.ClusterAzureClusterProfilePackArgs
{
Name = "string",
Manifests = new[]
{
new Spectrocloud.Inputs.ClusterAzureClusterProfilePackManifestArgs
{
Content = "string",
Name = "string",
Uid = "string",
},
},
RegistryUid = "string",
Tag = "string",
Type = "string",
Uid = "string",
Values = "string",
},
},
Variables =
{
{ "string", "string" },
},
},
},
ClusterRbacBindings = new[]
{
new Spectrocloud.Inputs.ClusterAzureClusterRbacBindingArgs
{
Type = "string",
Namespace = "string",
Role =
{
{ "string", "string" },
},
Subjects = new[]
{
new Spectrocloud.Inputs.ClusterAzureClusterRbacBindingSubjectArgs
{
Name = "string",
Type = "string",
Namespace = "string",
},
},
},
},
Context = "string",
Description = "string",
ForceDelete = false,
ForceDeleteDelay = 0,
ApplySetting = "string",
BackupPolicy = new Spectrocloud.Inputs.ClusterAzureBackupPolicyArgs
{
BackupLocationId = "string",
ExpiryInHour = 0,
Prefix = "string",
Schedule = "string",
ClusterUids = new[]
{
"string",
},
IncludeAllClusters = false,
IncludeClusterResources = false,
IncludeClusterResourcesMode = "string",
IncludeDisks = false,
Namespaces = new[]
{
"string",
},
},
ClusterAzureId = "string",
Namespaces = new[]
{
new Spectrocloud.Inputs.ClusterAzureNamespaceArgs
{
Name = "string",
ResourceAllocation =
{
{ "string", "string" },
},
ImagesBlacklists = new[]
{
"string",
},
},
},
OsPatchAfter = "string",
OsPatchOnBoot = false,
OsPatchSchedule = "string",
PauseAgentUpgrades = "string",
ReviewRepaveState = "string",
ScanPolicy = new Spectrocloud.Inputs.ClusterAzureScanPolicyArgs
{
ConfigurationScanSchedule = "string",
ConformanceScanSchedule = "string",
PenetrationScanSchedule = "string",
},
SkipCompletion = false,
Tags = new[]
{
"string",
},
Timeouts = new Spectrocloud.Inputs.ClusterAzureTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := spectrocloud.NewClusterAzure(ctx, "clusterAzureResource", &spectrocloud.ClusterAzureArgs{
CloudConfig: &spectrocloud.ClusterAzureCloudConfigArgs{
Region: pulumi.String("string"),
ResourceGroup: pulumi.String("string"),
SshKey: pulumi.String("string"),
SubscriptionId: pulumi.String("string"),
ContainerName: pulumi.String("string"),
ControlPlaneSubnet: &spectrocloud.ClusterAzureCloudConfigControlPlaneSubnetArgs{
CidrBlock: pulumi.String("string"),
Name: pulumi.String("string"),
SecurityGroupName: pulumi.String("string"),
},
NetworkResourceGroup: pulumi.String("string"),
StorageAccountName: pulumi.String("string"),
VirtualNetworkCidrBlock: pulumi.String("string"),
VirtualNetworkName: pulumi.String("string"),
WorkerNodeSubnet: &spectrocloud.ClusterAzureCloudConfigWorkerNodeSubnetArgs{
CidrBlock: pulumi.String("string"),
Name: pulumi.String("string"),
SecurityGroupName: pulumi.String("string"),
},
},
MachinePools: spectrocloud.ClusterAzureMachinePoolArray{
&spectrocloud.ClusterAzureMachinePoolArgs{
Count: pulumi.Float64(0),
Name: pulumi.String("string"),
InstanceType: pulumi.String("string"),
ControlPlaneAsWorker: pulumi.Bool(false),
AdditionalLabels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Disk: &spectrocloud.ClusterAzureMachinePoolDiskArgs{
SizeGb: pulumi.Float64(0),
Type: pulumi.String("string"),
},
ControlPlane: pulumi.Bool(false),
IsSystemNodePool: pulumi.Bool(false),
Azs: pulumi.StringArray{
pulumi.String("string"),
},
NodeRepaveInterval: pulumi.Float64(0),
Nodes: spectrocloud.ClusterAzureMachinePoolNodeArray{
&spectrocloud.ClusterAzureMachinePoolNodeArgs{
Action: pulumi.String("string"),
NodeId: pulumi.String("string"),
},
},
OsType: pulumi.String("string"),
Taints: spectrocloud.ClusterAzureMachinePoolTaintArray{
&spectrocloud.ClusterAzureMachinePoolTaintArgs{
Effect: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
UpdateStrategy: pulumi.String("string"),
},
},
CloudAccountId: pulumi.String("string"),
HostConfigs: spectrocloud.ClusterAzureHostConfigArray{
&spectrocloud.ClusterAzureHostConfigArgs{
ExternalTrafficPolicy: pulumi.String("string"),
HostEndpointType: pulumi.String("string"),
IngressHost: pulumi.String("string"),
LoadBalancerSourceRanges: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
ClusterMetaAttribute: pulumi.String("string"),
ClusterProfiles: spectrocloud.ClusterAzureClusterProfileArray{
&spectrocloud.ClusterAzureClusterProfileArgs{
Id: pulumi.String("string"),
Packs: spectrocloud.ClusterAzureClusterProfilePackArray{
&spectrocloud.ClusterAzureClusterProfilePackArgs{
Name: pulumi.String("string"),
Manifests: spectrocloud.ClusterAzureClusterProfilePackManifestArray{
&spectrocloud.ClusterAzureClusterProfilePackManifestArgs{
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.ClusterAzureClusterRbacBindingArray{
&spectrocloud.ClusterAzureClusterRbacBindingArgs{
Type: pulumi.String("string"),
Namespace: pulumi.String("string"),
Role: pulumi.StringMap{
"string": pulumi.String("string"),
},
Subjects: spectrocloud.ClusterAzureClusterRbacBindingSubjectArray{
&spectrocloud.ClusterAzureClusterRbacBindingSubjectArgs{
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),
ApplySetting: pulumi.String("string"),
BackupPolicy: &spectrocloud.ClusterAzureBackupPolicyArgs{
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"),
},
},
ClusterAzureId: pulumi.String("string"),
Namespaces: spectrocloud.ClusterAzureNamespaceArray{
&spectrocloud.ClusterAzureNamespaceArgs{
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.ClusterAzureScanPolicyArgs{
ConfigurationScanSchedule: pulumi.String("string"),
ConformanceScanSchedule: pulumi.String("string"),
PenetrationScanSchedule: pulumi.String("string"),
},
SkipCompletion: pulumi.Bool(false),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
Timeouts: &spectrocloud.ClusterAzureTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var clusterAzureResource = new ClusterAzure("clusterAzureResource", ClusterAzureArgs.builder()
.cloudConfig(ClusterAzureCloudConfigArgs.builder()
.region("string")
.resourceGroup("string")
.sshKey("string")
.subscriptionId("string")
.containerName("string")
.controlPlaneSubnet(ClusterAzureCloudConfigControlPlaneSubnetArgs.builder()
.cidrBlock("string")
.name("string")
.securityGroupName("string")
.build())
.networkResourceGroup("string")
.storageAccountName("string")
.virtualNetworkCidrBlock("string")
.virtualNetworkName("string")
.workerNodeSubnet(ClusterAzureCloudConfigWorkerNodeSubnetArgs.builder()
.cidrBlock("string")
.name("string")
.securityGroupName("string")
.build())
.build())
.machinePools(ClusterAzureMachinePoolArgs.builder()
.count(0)
.name("string")
.instanceType("string")
.controlPlaneAsWorker(false)
.additionalLabels(Map.of("string", "string"))
.disk(ClusterAzureMachinePoolDiskArgs.builder()
.sizeGb(0)
.type("string")
.build())
.controlPlane(false)
.isSystemNodePool(false)
.azs("string")
.nodeRepaveInterval(0)
.nodes(ClusterAzureMachinePoolNodeArgs.builder()
.action("string")
.nodeId("string")
.build())
.osType("string")
.taints(ClusterAzureMachinePoolTaintArgs.builder()
.effect("string")
.key("string")
.value("string")
.build())
.updateStrategy("string")
.build())
.cloudAccountId("string")
.hostConfigs(ClusterAzureHostConfigArgs.builder()
.externalTrafficPolicy("string")
.hostEndpointType("string")
.ingressHost("string")
.loadBalancerSourceRanges("string")
.build())
.name("string")
.clusterMetaAttribute("string")
.clusterProfiles(ClusterAzureClusterProfileArgs.builder()
.id("string")
.packs(ClusterAzureClusterProfilePackArgs.builder()
.name("string")
.manifests(ClusterAzureClusterProfilePackManifestArgs.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(ClusterAzureClusterRbacBindingArgs.builder()
.type("string")
.namespace("string")
.role(Map.of("string", "string"))
.subjects(ClusterAzureClusterRbacBindingSubjectArgs.builder()
.name("string")
.type("string")
.namespace("string")
.build())
.build())
.context("string")
.description("string")
.forceDelete(false)
.forceDeleteDelay(0)
.applySetting("string")
.backupPolicy(ClusterAzureBackupPolicyArgs.builder()
.backupLocationId("string")
.expiryInHour(0)
.prefix("string")
.schedule("string")
.clusterUids("string")
.includeAllClusters(false)
.includeClusterResources(false)
.includeClusterResourcesMode("string")
.includeDisks(false)
.namespaces("string")
.build())
.clusterAzureId("string")
.namespaces(ClusterAzureNamespaceArgs.builder()
.name("string")
.resourceAllocation(Map.of("string", "string"))
.imagesBlacklists("string")
.build())
.osPatchAfter("string")
.osPatchOnBoot(false)
.osPatchSchedule("string")
.pauseAgentUpgrades("string")
.reviewRepaveState("string")
.scanPolicy(ClusterAzureScanPolicyArgs.builder()
.configurationScanSchedule("string")
.conformanceScanSchedule("string")
.penetrationScanSchedule("string")
.build())
.skipCompletion(false)
.tags("string")
.timeouts(ClusterAzureTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
cluster_azure_resource = spectrocloud.ClusterAzure("clusterAzureResource",
cloud_config={
"region": "string",
"resource_group": "string",
"ssh_key": "string",
"subscription_id": "string",
"container_name": "string",
"control_plane_subnet": {
"cidr_block": "string",
"name": "string",
"security_group_name": "string",
},
"network_resource_group": "string",
"storage_account_name": "string",
"virtual_network_cidr_block": "string",
"virtual_network_name": "string",
"worker_node_subnet": {
"cidr_block": "string",
"name": "string",
"security_group_name": "string",
},
},
machine_pools=[{
"count": 0,
"name": "string",
"instance_type": "string",
"control_plane_as_worker": False,
"additional_labels": {
"string": "string",
},
"disk": {
"size_gb": 0,
"type": "string",
},
"control_plane": False,
"is_system_node_pool": False,
"azs": ["string"],
"node_repave_interval": 0,
"nodes": [{
"action": "string",
"node_id": "string",
}],
"os_type": "string",
"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",
}],
name="string",
cluster_meta_attribute="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,
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"],
},
cluster_azure_id="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 clusterAzureResource = new spectrocloud.ClusterAzure("clusterAzureResource", {
cloudConfig: {
region: "string",
resourceGroup: "string",
sshKey: "string",
subscriptionId: "string",
containerName: "string",
controlPlaneSubnet: {
cidrBlock: "string",
name: "string",
securityGroupName: "string",
},
networkResourceGroup: "string",
storageAccountName: "string",
virtualNetworkCidrBlock: "string",
virtualNetworkName: "string",
workerNodeSubnet: {
cidrBlock: "string",
name: "string",
securityGroupName: "string",
},
},
machinePools: [{
count: 0,
name: "string",
instanceType: "string",
controlPlaneAsWorker: false,
additionalLabels: {
string: "string",
},
disk: {
sizeGb: 0,
type: "string",
},
controlPlane: false,
isSystemNodePool: false,
azs: ["string"],
nodeRepaveInterval: 0,
nodes: [{
action: "string",
nodeId: "string",
}],
osType: "string",
taints: [{
effect: "string",
key: "string",
value: "string",
}],
updateStrategy: "string",
}],
cloudAccountId: "string",
hostConfigs: [{
externalTrafficPolicy: "string",
hostEndpointType: "string",
ingressHost: "string",
loadBalancerSourceRanges: "string",
}],
name: "string",
clusterMetaAttribute: "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,
applySetting: "string",
backupPolicy: {
backupLocationId: "string",
expiryInHour: 0,
prefix: "string",
schedule: "string",
clusterUids: ["string"],
includeAllClusters: false,
includeClusterResources: false,
includeClusterResourcesMode: "string",
includeDisks: false,
namespaces: ["string"],
},
clusterAzureId: "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:ClusterAzure
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:
containerName: string
controlPlaneSubnet:
cidrBlock: string
name: string
securityGroupName: string
networkResourceGroup: string
region: string
resourceGroup: string
sshKey: string
storageAccountName: string
subscriptionId: string
virtualNetworkCidrBlock: string
virtualNetworkName: string
workerNodeSubnet:
cidrBlock: string
name: string
securityGroupName: string
clusterAzureId: string
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
context: string
description: string
forceDelete: false
forceDeleteDelay: 0
hostConfigs:
- externalTrafficPolicy: string
hostEndpointType: string
ingressHost: string
loadBalancerSourceRanges: string
machinePools:
- additionalLabels:
string: string
azs:
- string
controlPlane: false
controlPlaneAsWorker: false
count: 0
disk:
sizeGb: 0
type: string
instanceType: string
isSystemNodePool: false
name: string
nodeRepaveInterval: 0
nodes:
- action: string
nodeId: string
osType: 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
ClusterAzure 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 ClusterAzure 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
azure
. - Cloud
Config ClusterAzure Cloud Config - Machine
Pools List<ClusterAzure 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 ClusterAzure Backup Policy - The backup policy for the cluster. If not specified, no backups will be taken.
- Cluster
Azure stringId - The ID of this resource.
- Cluster
Meta stringAttribute cluster_meta_attribute
can be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}
- Cluster
Profiles List<ClusterAzure Cluster Profile> - Cluster
Rbac List<ClusterBindings Azure Cluster Rbac Binding> - The RBAC binding for the cluster.
- Context string
- The context of the Azure 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<ClusterAzure Host Config> - The host configuration for the cluster.
- Name string
- Name of the cluster. This name will be used to create the cluster in Azure.
- Namespaces
List<Cluster
Azure Namespace> - The namespaces for the cluster.
- Os
Patch stringAfter - Date and time after which to patch cluster
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
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 ClusterAzure 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
Azure Timeouts
- Cloud
Account stringId - ID of the cloud account to be used for the cluster. This cloud account must be of type
azure
. - Cloud
Config ClusterAzure Cloud Config Args - Machine
Pools []ClusterAzure 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 ClusterAzure Backup Policy Args - The backup policy for the cluster. If not specified, no backups will be taken.
- Cluster
Azure stringId - The ID of this resource.
- Cluster
Meta stringAttribute cluster_meta_attribute
can be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}
- Cluster
Profiles []ClusterAzure Cluster Profile Args - Cluster
Rbac []ClusterBindings Azure Cluster Rbac Binding Args - The RBAC binding for the cluster.
- Context string
- The context of the Azure 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 []ClusterAzure Host Config Args - The host configuration for the cluster.
- Name string
- Name of the cluster. This name will be used to create the cluster in Azure.
- Namespaces
[]Cluster
Azure Namespace Args - The namespaces for the cluster.
- Os
Patch stringAfter - Date and time after which to patch cluster
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
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 ClusterAzure 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
Azure Timeouts Args
- cloud
Account StringId - ID of the cloud account to be used for the cluster. This cloud account must be of type
azure
. - cloud
Config ClusterAzure Cloud Config - machine
Pools List<ClusterAzure 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 ClusterAzure Backup Policy - The backup policy for the cluster. If not specified, no backups will be taken.
- cluster
Azure StringId - The ID of this resource.
- cluster
Meta StringAttribute cluster_meta_attribute
can be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}
- cluster
Profiles List<ClusterAzure Cluster Profile> - cluster
Rbac List<ClusterBindings Azure Cluster Rbac Binding> - The RBAC binding for the cluster.
- context String
- The context of the Azure 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<ClusterAzure Host Config> - The host configuration for the cluster.
- name String
- Name of the cluster. This name will be used to create the cluster in Azure.
- namespaces
List<Cluster
Azure Namespace> - The namespaces for the cluster.
- os
Patch StringAfter - Date and time after which to patch cluster
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
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 ClusterAzure 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
Azure Timeouts
- cloud
Account stringId - ID of the cloud account to be used for the cluster. This cloud account must be of type
azure
. - cloud
Config ClusterAzure Cloud Config - machine
Pools ClusterAzure 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 ClusterAzure Backup Policy - The backup policy for the cluster. If not specified, no backups will be taken.
- cluster
Azure stringId - The ID of this resource.
- cluster
Meta stringAttribute cluster_meta_attribute
can be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}
- cluster
Profiles ClusterAzure Cluster Profile[] - cluster
Rbac ClusterBindings Azure Cluster Rbac Binding[] - The RBAC binding for the cluster.
- context string
- The context of the Azure 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 ClusterAzure Host Config[] - The host configuration for the cluster.
- name string
- Name of the cluster. This name will be used to create the cluster in Azure.
- namespaces
Cluster
Azure Namespace[] - The namespaces for the cluster.
- os
Patch stringAfter - Date and time after which to patch cluster
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
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 ClusterAzure 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
Azure Timeouts
- cloud_
account_ strid - ID of the cloud account to be used for the cluster. This cloud account must be of type
azure
. - cloud_
config ClusterAzure Cloud Config Args - machine_
pools Sequence[ClusterAzure 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 ClusterAzure Backup Policy Args - The backup policy for the cluster. If not specified, no backups will be taken.
- cluster_
azure_ strid - The ID of this resource.
- cluster_
meta_ strattribute cluster_meta_attribute
can be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}
- cluster_
profiles Sequence[ClusterAzure Cluster Profile Args] - cluster_
rbac_ Sequence[Clusterbindings Azure Cluster Rbac Binding Args] - The RBAC binding for the cluster.
- context str
- The context of the Azure 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[ClusterAzure Host Config Args] - The host configuration for the cluster.
- name str
- Name of the cluster. This name will be used to create the cluster in Azure.
- namespaces
Sequence[Cluster
Azure Namespace Args] - The namespaces for the cluster.
- os_
patch_ strafter - Date and time after which to patch cluster
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_
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 ClusterAzure 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
Azure Timeouts Args
- cloud
Account StringId - ID of the cloud account to be used for the cluster. This cloud account must be of type
azure
. - 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
Azure StringId - The ID of this resource.
- 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.
- context String
- The context of the Azure 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.
- name String
- Name of the cluster. This name will be used to create the cluster in Azure.
- namespaces List<Property Map>
- The namespaces for the cluster.
- os
Patch StringAfter - Date and time after which to patch cluster
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
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 ClusterAzure 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<ClusterAzure 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 []ClusterAzure 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<ClusterAzure 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 ClusterAzure 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[ClusterAzure 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 ClusterAzure Resource
Get an existing ClusterAzure 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?: ClusterAzureState, opts?: CustomResourceOptions): ClusterAzure
@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[ClusterAzureBackupPolicyArgs] = None,
cloud_account_id: Optional[str] = None,
cloud_config: Optional[ClusterAzureCloudConfigArgs] = None,
cloud_config_id: Optional[str] = None,
cluster_azure_id: Optional[str] = None,
cluster_meta_attribute: Optional[str] = None,
cluster_profiles: Optional[Sequence[ClusterAzureClusterProfileArgs]] = None,
cluster_rbac_bindings: Optional[Sequence[ClusterAzureClusterRbacBindingArgs]] = None,
context: Optional[str] = None,
description: Optional[str] = None,
force_delete: Optional[bool] = None,
force_delete_delay: Optional[float] = None,
host_configs: Optional[Sequence[ClusterAzureHostConfigArgs]] = None,
kubeconfig: Optional[str] = None,
location_configs: Optional[Sequence[ClusterAzureLocationConfigArgs]] = None,
machine_pools: Optional[Sequence[ClusterAzureMachinePoolArgs]] = None,
name: Optional[str] = None,
namespaces: Optional[Sequence[ClusterAzureNamespaceArgs]] = 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[ClusterAzureScanPolicyArgs] = None,
skip_completion: Optional[bool] = None,
tags: Optional[Sequence[str]] = None,
timeouts: Optional[ClusterAzureTimeoutsArgs] = None) -> ClusterAzure
func GetClusterAzure(ctx *Context, name string, id IDInput, state *ClusterAzureState, opts ...ResourceOption) (*ClusterAzure, error)
public static ClusterAzure Get(string name, Input<string> id, ClusterAzureState? state, CustomResourceOptions? opts = null)
public static ClusterAzure get(String name, Output<String> id, ClusterAzureState state, CustomResourceOptions options)
resources: _: type: spectrocloud:ClusterAzure 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 ClusterAzure 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
azure
. - Cloud
Config ClusterAzure Cloud Config - Cloud
Config stringId - ID of the cloud config used for the cluster. This cloud config must be of type
azure
. - Cluster
Azure stringId - The ID of this resource.
- Cluster
Meta stringAttribute cluster_meta_attribute
can be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}
- Cluster
Profiles List<ClusterAzure Cluster Profile> - Cluster
Rbac List<ClusterBindings Azure Cluster Rbac Binding> - The RBAC binding for the cluster.
- Context string
- The context of the Azure 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<ClusterAzure 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<ClusterAzure Location Config> - The location of the cluster.
- Machine
Pools List<ClusterAzure Machine Pool> - Name string
- Name of the cluster. This name will be used to create the cluster in Azure.
- Namespaces
List<Cluster
Azure Namespace> - The namespaces for the cluster.
- Os
Patch stringAfter - Date and time after which to patch cluster
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
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 ClusterAzure 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
Azure 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 ClusterAzure 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
azure
. - Cloud
Config ClusterAzure Cloud Config Args - Cloud
Config stringId - ID of the cloud config used for the cluster. This cloud config must be of type
azure
. - Cluster
Azure stringId - The ID of this resource.
- Cluster
Meta stringAttribute cluster_meta_attribute
can be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}
- Cluster
Profiles []ClusterAzure Cluster Profile Args - Cluster
Rbac []ClusterBindings Azure Cluster Rbac Binding Args - The RBAC binding for the cluster.
- Context string
- The context of the Azure 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 []ClusterAzure 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 []ClusterAzure Location Config Args - The location of the cluster.
- Machine
Pools []ClusterAzure Machine Pool Args - Name string
- Name of the cluster. This name will be used to create the cluster in Azure.
- Namespaces
[]Cluster
Azure Namespace Args - The namespaces for the cluster.
- Os
Patch stringAfter - Date and time after which to patch cluster
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
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 ClusterAzure 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
Azure 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 ClusterAzure 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
azure
. - cloud
Config ClusterAzure Cloud Config - cloud
Config StringId - ID of the cloud config used for the cluster. This cloud config must be of type
azure
. - cluster
Azure StringId - The ID of this resource.
- cluster
Meta StringAttribute cluster_meta_attribute
can be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}
- cluster
Profiles List<ClusterAzure Cluster Profile> - cluster
Rbac List<ClusterBindings Azure Cluster Rbac Binding> - The RBAC binding for the cluster.
- context String
- The context of the Azure 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<ClusterAzure 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<ClusterAzure Location Config> - The location of the cluster.
- machine
Pools List<ClusterAzure Machine Pool> - name String
- Name of the cluster. This name will be used to create the cluster in Azure.
- namespaces
List<Cluster
Azure Namespace> - The namespaces for the cluster.
- os
Patch StringAfter - Date and time after which to patch cluster
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
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 ClusterAzure 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
Azure 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 ClusterAzure 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
azure
. - cloud
Config ClusterAzure Cloud Config - cloud
Config stringId - ID of the cloud config used for the cluster. This cloud config must be of type
azure
. - cluster
Azure stringId - The ID of this resource.
- cluster
Meta stringAttribute cluster_meta_attribute
can be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}
- cluster
Profiles ClusterAzure Cluster Profile[] - cluster
Rbac ClusterBindings Azure Cluster Rbac Binding[] - The RBAC binding for the cluster.
- context string
- The context of the Azure 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 ClusterAzure 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 ClusterAzure Location Config[] - The location of the cluster.
- machine
Pools ClusterAzure Machine Pool[] - name string
- Name of the cluster. This name will be used to create the cluster in Azure.
- namespaces
Cluster
Azure Namespace[] - The namespaces for the cluster.
- os
Patch stringAfter - Date and time after which to patch cluster
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
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 ClusterAzure 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
Azure 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 ClusterAzure 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
azure
. - cloud_
config ClusterAzure Cloud Config Args - cloud_
config_ strid - ID of the cloud config used for the cluster. This cloud config must be of type
azure
. - cluster_
azure_ strid - The ID of this resource.
- cluster_
meta_ strattribute cluster_meta_attribute
can be used to set additional cluster metadata information, eg{'nic_name': 'test', 'env': 'stage'}
- cluster_
profiles Sequence[ClusterAzure Cluster Profile Args] - cluster_
rbac_ Sequence[Clusterbindings Azure Cluster Rbac Binding Args] - The RBAC binding for the cluster.
- context str
- The context of the Azure 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[ClusterAzure 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[ClusterAzure Location Config Args] - The location of the cluster.
- machine_
pools Sequence[ClusterAzure Machine Pool Args] - name str
- Name of the cluster. This name will be used to create the cluster in Azure.
- namespaces
Sequence[Cluster
Azure Namespace Args] - The namespaces for the cluster.
- os_
patch_ strafter - Date and time after which to patch cluster
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_
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 ClusterAzure 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
Azure 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
azure
. - 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
Azure StringId - The ID of this resource.
- 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.
- context String
- The context of the Azure 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> - The location of the cluster.
- machine
Pools List<Property Map> - name String
- Name of the cluster. This name will be used to create the cluster in Azure.
- namespaces List<Property Map>
- The namespaces for the cluster.
- os
Patch StringAfter - Date and time after which to patch cluster
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
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
ClusterAzureBackupPolicy, ClusterAzureBackupPolicyArgs
- 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.
ClusterAzureCloudConfig, ClusterAzureCloudConfigArgs
- Region string
- Azure region. This can be found in the Azure portal under
Resource groups
. - Resource
Group string - Azure resource group. This can be found in the Azure portal under
Resource groups
. - Ssh
Key string - Public SSH key to be used for the cluster nodes.
- Subscription
Id string - Azure subscription ID. This can be found in the Azure portal under
Subscriptions
. - Container
Name string - Container name within your azure storage account.
- Control
Plane ClusterSubnet Azure Cloud Config Control Plane Subnet - Network
Resource stringGroup - Azure network resource group in which the cluster is to be provisioned.
- Storage
Account stringName - Azure storage account name.
- Virtual
Network stringCidr Block - Azure virtual network cidr block in which the cluster is to be provisioned.
- Virtual
Network stringName - Azure virtual network in which the cluster is to be provisioned.
- Worker
Node ClusterSubnet Azure Cloud Config Worker Node Subnet
- Region string
- Azure region. This can be found in the Azure portal under
Resource groups
. - Resource
Group string - Azure resource group. This can be found in the Azure portal under
Resource groups
. - Ssh
Key string - Public SSH key to be used for the cluster nodes.
- Subscription
Id string - Azure subscription ID. This can be found in the Azure portal under
Subscriptions
. - Container
Name string - Container name within your azure storage account.
- Control
Plane ClusterSubnet Azure Cloud Config Control Plane Subnet - Network
Resource stringGroup - Azure network resource group in which the cluster is to be provisioned.
- Storage
Account stringName - Azure storage account name.
- Virtual
Network stringCidr Block - Azure virtual network cidr block in which the cluster is to be provisioned.
- Virtual
Network stringName - Azure virtual network in which the cluster is to be provisioned.
- Worker
Node ClusterSubnet Azure Cloud Config Worker Node Subnet
- region String
- Azure region. This can be found in the Azure portal under
Resource groups
. - resource
Group String - Azure resource group. This can be found in the Azure portal under
Resource groups
. - ssh
Key String - Public SSH key to be used for the cluster nodes.
- subscription
Id String - Azure subscription ID. This can be found in the Azure portal under
Subscriptions
. - container
Name String - Container name within your azure storage account.
- control
Plane ClusterSubnet Azure Cloud Config Control Plane Subnet - network
Resource StringGroup - Azure network resource group in which the cluster is to be provisioned.
- storage
Account StringName - Azure storage account name.
- virtual
Network StringCidr Block - Azure virtual network cidr block in which the cluster is to be provisioned.
- virtual
Network StringName - Azure virtual network in which the cluster is to be provisioned.
- worker
Node ClusterSubnet Azure Cloud Config Worker Node Subnet
- region string
- Azure region. This can be found in the Azure portal under
Resource groups
. - resource
Group string - Azure resource group. This can be found in the Azure portal under
Resource groups
. - ssh
Key string - Public SSH key to be used for the cluster nodes.
- subscription
Id string - Azure subscription ID. This can be found in the Azure portal under
Subscriptions
. - container
Name string - Container name within your azure storage account.
- control
Plane ClusterSubnet Azure Cloud Config Control Plane Subnet - network
Resource stringGroup - Azure network resource group in which the cluster is to be provisioned.
- storage
Account stringName - Azure storage account name.
- virtual
Network stringCidr Block - Azure virtual network cidr block in which the cluster is to be provisioned.
- virtual
Network stringName - Azure virtual network in which the cluster is to be provisioned.
- worker
Node ClusterSubnet Azure Cloud Config Worker Node Subnet
- region str
- Azure region. This can be found in the Azure portal under
Resource groups
. - resource_
group str - Azure resource group. This can be found in the Azure portal under
Resource groups
. - ssh_
key str - Public SSH key to be used for the cluster nodes.
- subscription_
id str - Azure subscription ID. This can be found in the Azure portal under
Subscriptions
. - container_
name str - Container name within your azure storage account.
- control_
plane_ Clustersubnet Azure Cloud Config Control Plane Subnet - network_
resource_ strgroup - Azure network resource group in which the cluster is to be provisioned.
- storage_
account_ strname - Azure storage account name.
- virtual_
network_ strcidr_ block - Azure virtual network cidr block in which the cluster is to be provisioned.
- virtual_
network_ strname - Azure virtual network in which the cluster is to be provisioned.
- worker_
node_ Clustersubnet Azure Cloud Config Worker Node Subnet
- region String
- Azure region. This can be found in the Azure portal under
Resource groups
. - resource
Group String - Azure resource group. This can be found in the Azure portal under
Resource groups
. - ssh
Key String - Public SSH key to be used for the cluster nodes.
- subscription
Id String - Azure subscription ID. This can be found in the Azure portal under
Subscriptions
. - container
Name String - Container name within your azure storage account.
- control
Plane Property MapSubnet - network
Resource StringGroup - Azure network resource group in which the cluster is to be provisioned.
- storage
Account StringName - Azure storage account name.
- virtual
Network StringCidr Block - Azure virtual network cidr block in which the cluster is to be provisioned.
- virtual
Network StringName - Azure virtual network in which the cluster is to be provisioned.
- worker
Node Property MapSubnet
ClusterAzureCloudConfigControlPlaneSubnet, ClusterAzureCloudConfigControlPlaneSubnetArgs
- Cidr
Block string - CidrBlock is the CIDR block to be used when the provider creates a managed virtual network.
- Name string
- Name of the subnet.
- Security
Group stringName - Network Security Group(NSG) to be attached to subnet.
- Cidr
Block string - CidrBlock is the CIDR block to be used when the provider creates a managed virtual network.
- Name string
- Name of the subnet.
- Security
Group stringName - Network Security Group(NSG) to be attached to subnet.
- cidr
Block String - CidrBlock is the CIDR block to be used when the provider creates a managed virtual network.
- name String
- Name of the subnet.
- security
Group StringName - Network Security Group(NSG) to be attached to subnet.
- cidr
Block string - CidrBlock is the CIDR block to be used when the provider creates a managed virtual network.
- name string
- Name of the subnet.
- security
Group stringName - Network Security Group(NSG) to be attached to subnet.
- cidr_
block str - CidrBlock is the CIDR block to be used when the provider creates a managed virtual network.
- name str
- Name of the subnet.
- security_
group_ strname - Network Security Group(NSG) to be attached to subnet.
- cidr
Block String - CidrBlock is the CIDR block to be used when the provider creates a managed virtual network.
- name String
- Name of the subnet.
- security
Group StringName - Network Security Group(NSG) to be attached to subnet.
ClusterAzureCloudConfigWorkerNodeSubnet, ClusterAzureCloudConfigWorkerNodeSubnetArgs
- Cidr
Block string - CidrBlock is the CIDR block to be used when the provider creates a managed virtual network.
- Name string
- Name of the subnet.
- Security
Group stringName - Network Security Group(NSG) to be attached to subnet.
- Cidr
Block string - CidrBlock is the CIDR block to be used when the provider creates a managed virtual network.
- Name string
- Name of the subnet.
- Security
Group stringName - Network Security Group(NSG) to be attached to subnet.
- cidr
Block String - CidrBlock is the CIDR block to be used when the provider creates a managed virtual network.
- name String
- Name of the subnet.
- security
Group StringName - Network Security Group(NSG) to be attached to subnet.
- cidr
Block string - CidrBlock is the CIDR block to be used when the provider creates a managed virtual network.
- name string
- Name of the subnet.
- security
Group stringName - Network Security Group(NSG) to be attached to subnet.
- cidr_
block str - CidrBlock is the CIDR block to be used when the provider creates a managed virtual network.
- name str
- Name of the subnet.
- security_
group_ strname - Network Security Group(NSG) to be attached to subnet.
- cidr
Block String - CidrBlock is the CIDR block to be used when the provider creates a managed virtual network.
- name String
- Name of the subnet.
- security
Group StringName - Network Security Group(NSG) to be attached to subnet.
ClusterAzureClusterProfile, ClusterAzureClusterProfileArgs
- Id string
- The ID of the cluster profile.
- Packs
List<Cluster
Azure 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
Azure 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
Azure 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
Azure 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
Azure 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"
.
ClusterAzureClusterProfilePack, ClusterAzureClusterProfilePackArgs
- Name string
- The name of the pack. The name must be unique within the cluster profile.
- Manifests
List<Cluster
Azure 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
Azure 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
Azure 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
Azure 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
Azure 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.
ClusterAzureClusterProfilePackManifest, ClusterAzureClusterProfilePackManifestArgs
ClusterAzureClusterRbacBinding, ClusterAzureClusterRbacBindingArgs
- 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
Azure 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
Azure 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
Azure 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
Azure 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
Azure 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>
ClusterAzureClusterRbacBindingSubject, ClusterAzureClusterRbacBindingSubjectArgs
ClusterAzureHostConfig, ClusterAzureHostConfigArgs
- 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'.
ClusterAzureLocationConfig, ClusterAzureLocationConfigArgs
- 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
ClusterAzureMachinePool, ClusterAzureMachinePoolArgs
- Count double
- Number of nodes in the machine pool.
- Instance
Type string - Azure instance type from the Azure portal.
- Name string
- Name of the machine pool. This must be unique within the cluster.
- Additional
Labels Dictionary<string, string> - Azs List<string>
- Availability zones for the machine pool. Check if your region provides availability zones on the Azure documentation. Default value is
[""]
. - 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
. - Disk
Cluster
Azure Machine Pool Disk - Disk configuration for the machine pool.
- Is
System boolNode Pool - Whether this machine pool is a system node pool. Default value is `false'.
- 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
Azure Machine Pool Node> - Os
Type string - Operating system type for the machine pool. Valid values are
Linux
andWindows
. Defaults toLinux
. - Taints
List<Cluster
Azure 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 string - Azure instance type from the Azure portal.
- Name string
- Name of the machine pool. This must be unique within the cluster.
- Additional
Labels map[string]string - Azs []string
- Availability zones for the machine pool. Check if your region provides availability zones on the Azure documentation. Default value is
[""]
. - 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
. - Disk
Cluster
Azure Machine Pool Disk - Disk configuration for the machine pool.
- Is
System boolNode Pool - Whether this machine pool is a system node pool. Default value is `false'.
- 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
Azure Machine Pool Node - Os
Type string - Operating system type for the machine pool. Valid values are
Linux
andWindows
. Defaults toLinux
. - Taints
[]Cluster
Azure 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 String - Azure instance type from the Azure portal.
- name String
- Name of the machine pool. This must be unique within the cluster.
- additional
Labels Map<String,String> - azs List<String>
- Availability zones for the machine pool. Check if your region provides availability zones on the Azure documentation. Default value is
[""]
. - 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
. - disk
Cluster
Azure Machine Pool Disk - Disk configuration for the machine pool.
- is
System BooleanNode Pool - Whether this machine pool is a system node pool. Default value is `false'.
- 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
Azure Machine Pool Node> - os
Type String - Operating system type for the machine pool. Valid values are
Linux
andWindows
. Defaults toLinux
. - taints
List<Cluster
Azure 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 string - Azure instance type from the Azure portal.
- name string
- Name of the machine pool. This must be unique within the cluster.
- additional
Labels {[key: string]: string} - azs string[]
- Availability zones for the machine pool. Check if your region provides availability zones on the Azure documentation. Default value is
[""]
. - 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
. - disk
Cluster
Azure Machine Pool Disk - Disk configuration for the machine pool.
- is
System booleanNode Pool - Whether this machine pool is a system node pool. Default value is `false'.
- 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
Azure Machine Pool Node[] - os
Type string - Operating system type for the machine pool. Valid values are
Linux
andWindows
. Defaults toLinux
. - taints
Cluster
Azure 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 str - Azure instance type from the Azure portal.
- name str
- Name of the machine pool. This must be unique within the cluster.
- additional_
labels Mapping[str, str] - azs Sequence[str]
- Availability zones for the machine pool. Check if your region provides availability zones on the Azure documentation. Default value is
[""]
. - 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
. - disk
Cluster
Azure Machine Pool Disk - Disk configuration for the machine pool.
- is_
system_ boolnode_ pool - Whether this machine pool is a system node pool. Default value is `false'.
- 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
Azure Machine Pool Node] - os_
type str - Operating system type for the machine pool. Valid values are
Linux
andWindows
. Defaults toLinux
. - taints
Sequence[Cluster
Azure 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 String - Azure instance type from the Azure portal.
- name String
- Name of the machine pool. This must be unique within the cluster.
- additional
Labels Map<String> - azs List<String>
- Availability zones for the machine pool. Check if your region provides availability zones on the Azure documentation. Default value is
[""]
. - 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
. - disk Property Map
- Disk configuration for the machine pool.
- is
System BooleanNode Pool - Whether this machine pool is a system node pool. Default value is `false'.
- 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>
- os
Type String - Operating system type for the machine pool. Valid values are
Linux
andWindows
. Defaults toLinux
. - taints List<Property Map>
- update
Strategy String - Update strategy for the machine pool. Valid values are
RollingUpdateScaleOut
andRollingUpdateScaleIn
.
ClusterAzureMachinePoolDisk, ClusterAzureMachinePoolDiskArgs
ClusterAzureMachinePoolNode, ClusterAzureMachinePoolNodeArgs
ClusterAzureMachinePoolTaint, ClusterAzureMachinePoolTaintArgs
ClusterAzureNamespace, ClusterAzureNamespaceArgs
- 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']
ClusterAzureScanPolicy, ClusterAzureScanPolicyArgs
- 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.
ClusterAzureTimeouts, ClusterAzureTimeoutsArgs
Package Details
- Repository
- spectrocloud spectrocloud/terraform-provider-spectrocloud
- License
- Notes
- This Pulumi package is based on the
spectrocloud
Terraform Provider.