1. Packages
  2. Juju Provider
  3. API Docs
  4. KubernetesCloud
juju 1.2.0-rc1 published on Monday, Jan 19, 2026 by juju
juju logo
juju 1.2.0-rc1 published on Monday, Jan 19, 2026 by juju

    A resource that represent a Juju Cloud for existing controller.

    Create KubernetesCloud Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new KubernetesCloud(name: string, args?: KubernetesCloudArgs, opts?: CustomResourceOptions);
    @overload
    def KubernetesCloud(resource_name: str,
                        args: Optional[KubernetesCloudArgs] = None,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def KubernetesCloud(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        kubernetes_config: Optional[str] = None,
                        name: Optional[str] = None,
                        parent_cloud_name: Optional[str] = None,
                        parent_cloud_region: Optional[str] = None,
                        skip_service_account_creation: Optional[bool] = None,
                        storage_class_name: Optional[str] = None)
    func NewKubernetesCloud(ctx *Context, name string, args *KubernetesCloudArgs, opts ...ResourceOption) (*KubernetesCloud, error)
    public KubernetesCloud(string name, KubernetesCloudArgs? args = null, CustomResourceOptions? opts = null)
    public KubernetesCloud(String name, KubernetesCloudArgs args)
    public KubernetesCloud(String name, KubernetesCloudArgs args, CustomResourceOptions options)
    
    type: juju:KubernetesCloud
    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 KubernetesCloudArgs
    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 KubernetesCloudArgs
    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 KubernetesCloudArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args KubernetesCloudArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args KubernetesCloudArgs
    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 kubernetesCloudResource = new Juju.KubernetesCloud("kubernetesCloudResource", new()
    {
        KubernetesConfig = "string",
        Name = "string",
        ParentCloudName = "string",
        ParentCloudRegion = "string",
        SkipServiceAccountCreation = false,
        StorageClassName = "string",
    });
    
    example, err := juju.NewKubernetesCloud(ctx, "kubernetesCloudResource", &juju.KubernetesCloudArgs{
    	KubernetesConfig:           pulumi.String("string"),
    	Name:                       pulumi.String("string"),
    	ParentCloudName:            pulumi.String("string"),
    	ParentCloudRegion:          pulumi.String("string"),
    	SkipServiceAccountCreation: pulumi.Bool(false),
    	StorageClassName:           pulumi.String("string"),
    })
    
    var kubernetesCloudResource = new KubernetesCloud("kubernetesCloudResource", KubernetesCloudArgs.builder()
        .kubernetesConfig("string")
        .name("string")
        .parentCloudName("string")
        .parentCloudRegion("string")
        .skipServiceAccountCreation(false)
        .storageClassName("string")
        .build());
    
    kubernetes_cloud_resource = juju.KubernetesCloud("kubernetesCloudResource",
        kubernetes_config="string",
        name="string",
        parent_cloud_name="string",
        parent_cloud_region="string",
        skip_service_account_creation=False,
        storage_class_name="string")
    
    const kubernetesCloudResource = new juju.KubernetesCloud("kubernetesCloudResource", {
        kubernetesConfig: "string",
        name: "string",
        parentCloudName: "string",
        parentCloudRegion: "string",
        skipServiceAccountCreation: false,
        storageClassName: "string",
    });
    
    type: juju:KubernetesCloud
    properties:
        kubernetesConfig: string
        name: string
        parentCloudName: string
        parentCloudRegion: string
        skipServiceAccountCreation: false
        storageClassName: string
    

    KubernetesCloud 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 KubernetesCloud resource accepts the following input properties:

    KubernetesConfig string
    The kubernetes config file path for the cloud. Cloud credentials will be added to the Juju controller for you.
    Name string
    ParentCloudName string
    ParentCloudRegion string
    SkipServiceAccountCreation bool
    StorageClassName string
    Specify the Kubernetes storage class name for workload and operator storage.
    KubernetesConfig string
    The kubernetes config file path for the cloud. Cloud credentials will be added to the Juju controller for you.
    Name string
    ParentCloudName string
    ParentCloudRegion string
    SkipServiceAccountCreation bool
    StorageClassName string
    Specify the Kubernetes storage class name for workload and operator storage.
    kubernetesConfig String
    The kubernetes config file path for the cloud. Cloud credentials will be added to the Juju controller for you.
    name String
    parentCloudName String
    parentCloudRegion String
    skipServiceAccountCreation Boolean
    storageClassName String
    Specify the Kubernetes storage class name for workload and operator storage.
    kubernetesConfig string
    The kubernetes config file path for the cloud. Cloud credentials will be added to the Juju controller for you.
    name string
    parentCloudName string
    parentCloudRegion string
    skipServiceAccountCreation boolean
    storageClassName string
    Specify the Kubernetes storage class name for workload and operator storage.
    kubernetes_config str
    The kubernetes config file path for the cloud. Cloud credentials will be added to the Juju controller for you.
    name str
    parent_cloud_name str
    parent_cloud_region str
    skip_service_account_creation bool
    storage_class_name str
    Specify the Kubernetes storage class name for workload and operator storage.
    kubernetesConfig String
    The kubernetes config file path for the cloud. Cloud credentials will be added to the Juju controller for you.
    name String
    parentCloudName String
    parentCloudRegion String
    skipServiceAccountCreation Boolean
    storageClassName String
    Specify the Kubernetes storage class name for workload and operator storage.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the KubernetesCloud resource produces the following output properties:

    Credential string
    The name of the credential created for this cloud.
    Id string
    The provider-assigned unique ID for this managed resource.
    Credential string
    The name of the credential created for this cloud.
    Id string
    The provider-assigned unique ID for this managed resource.
    credential String
    The name of the credential created for this cloud.
    id String
    The provider-assigned unique ID for this managed resource.
    credential string
    The name of the credential created for this cloud.
    id string
    The provider-assigned unique ID for this managed resource.
    credential str
    The name of the credential created for this cloud.
    id str
    The provider-assigned unique ID for this managed resource.
    credential String
    The name of the credential created for this cloud.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing KubernetesCloud Resource

    Get an existing KubernetesCloud 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?: KubernetesCloudState, opts?: CustomResourceOptions): KubernetesCloud
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            credential: Optional[str] = None,
            kubernetes_config: Optional[str] = None,
            name: Optional[str] = None,
            parent_cloud_name: Optional[str] = None,
            parent_cloud_region: Optional[str] = None,
            skip_service_account_creation: Optional[bool] = None,
            storage_class_name: Optional[str] = None) -> KubernetesCloud
    func GetKubernetesCloud(ctx *Context, name string, id IDInput, state *KubernetesCloudState, opts ...ResourceOption) (*KubernetesCloud, error)
    public static KubernetesCloud Get(string name, Input<string> id, KubernetesCloudState? state, CustomResourceOptions? opts = null)
    public static KubernetesCloud get(String name, Output<String> id, KubernetesCloudState state, CustomResourceOptions options)
    resources:  _:    type: juju:KubernetesCloud    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.
    The following state arguments are supported:
    Credential string
    The name of the credential created for this cloud.
    KubernetesConfig string
    The kubernetes config file path for the cloud. Cloud credentials will be added to the Juju controller for you.
    Name string
    ParentCloudName string
    ParentCloudRegion string
    SkipServiceAccountCreation bool
    StorageClassName string
    Specify the Kubernetes storage class name for workload and operator storage.
    Credential string
    The name of the credential created for this cloud.
    KubernetesConfig string
    The kubernetes config file path for the cloud. Cloud credentials will be added to the Juju controller for you.
    Name string
    ParentCloudName string
    ParentCloudRegion string
    SkipServiceAccountCreation bool
    StorageClassName string
    Specify the Kubernetes storage class name for workload and operator storage.
    credential String
    The name of the credential created for this cloud.
    kubernetesConfig String
    The kubernetes config file path for the cloud. Cloud credentials will be added to the Juju controller for you.
    name String
    parentCloudName String
    parentCloudRegion String
    skipServiceAccountCreation Boolean
    storageClassName String
    Specify the Kubernetes storage class name for workload and operator storage.
    credential string
    The name of the credential created for this cloud.
    kubernetesConfig string
    The kubernetes config file path for the cloud. Cloud credentials will be added to the Juju controller for you.
    name string
    parentCloudName string
    parentCloudRegion string
    skipServiceAccountCreation boolean
    storageClassName string
    Specify the Kubernetes storage class name for workload and operator storage.
    credential str
    The name of the credential created for this cloud.
    kubernetes_config str
    The kubernetes config file path for the cloud. Cloud credentials will be added to the Juju controller for you.
    name str
    parent_cloud_name str
    parent_cloud_region str
    skip_service_account_creation bool
    storage_class_name str
    Specify the Kubernetes storage class name for workload and operator storage.
    credential String
    The name of the credential created for this cloud.
    kubernetesConfig String
    The kubernetes config file path for the cloud. Cloud credentials will be added to the Juju controller for you.
    name String
    parentCloudName String
    parentCloudRegion String
    skipServiceAccountCreation Boolean
    storageClassName String
    Specify the Kubernetes storage class name for workload and operator storage.

    Package Details

    Repository
    juju juju/terraform-provider-juju
    License
    Notes
    This Pulumi package is based on the juju Terraform Provider.
    juju logo
    juju 1.2.0-rc1 published on Monday, Jan 19, 2026 by juju
      Meet Neo: Your AI Platform Teammate