Viewing docs for outscale 1.7.0
published on Wednesday, Jul 15, 2026 by outscale
published on Wednesday, Jul 15, 2026 by outscale
Viewing docs for outscale 1.7.0
published on Wednesday, Jul 15, 2026 by outscale
published on Wednesday, Jul 15, 2026 by outscale
Provides information about a kubeconfig file.
For more information on this resource, see the User Guide.
For more information on this resource actions, see the API documentation.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";
const config = outscale.getOksKubeconfig({
clusterId: "00000000-0000-4000-8000-000000000000",
});
import pulumi
import pulumi_outscale as outscale
config = outscale.get_oks_kubeconfig(cluster_id="00000000-0000-4000-8000-000000000000")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := outscale.GetOksKubeconfig(ctx, &outscale.GetOksKubeconfigArgs{
ClusterId: "00000000-0000-4000-8000-000000000000",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Outscale = Pulumi.Outscale;
return await Deployment.RunAsync(() =>
{
var config = Outscale.GetOksKubeconfig.Invoke(new()
{
ClusterId = "00000000-0000-4000-8000-000000000000",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.OutscaleFunctions;
import com.pulumi.outscale.inputs.GetOksKubeconfigArgs;
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 config = OutscaleFunctions.getOksKubeconfig(GetOksKubeconfigArgs.builder()
.clusterId("00000000-0000-4000-8000-000000000000")
.build());
}
}
variables:
config:
fn::invoke:
function: outscale:getOksKubeconfig
arguments:
clusterId: 00000000-0000-4000-8000-000000000000
Example coming soon!
Using getOksKubeconfig
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getOksKubeconfig(args: GetOksKubeconfigArgs, opts?: InvokeOptions): Promise<GetOksKubeconfigResult>
function getOksKubeconfigOutput(args: GetOksKubeconfigOutputArgs, opts?: InvokeOptions): Output<GetOksKubeconfigResult>def get_oks_kubeconfig(cluster_id: Optional[str] = None,
group: Optional[str] = None,
ttl: Optional[str] = None,
user: Optional[str] = None,
x_encrypt_nacl: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOksKubeconfigResult
def get_oks_kubeconfig_output(cluster_id: pulumi.Input[Optional[str]] = None,
group: pulumi.Input[Optional[str]] = None,
ttl: pulumi.Input[Optional[str]] = None,
user: pulumi.Input[Optional[str]] = None,
x_encrypt_nacl: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOksKubeconfigResult]func GetOksKubeconfig(ctx *Context, args *GetOksKubeconfigArgs, opts ...InvokeOption) (*GetOksKubeconfigResult, error)
func GetOksKubeconfigOutput(ctx *Context, args *GetOksKubeconfigOutputArgs, opts ...InvokeOption) GetOksKubeconfigResultOutput> Note: This function is named GetOksKubeconfig in the Go SDK.
public static class GetOksKubeconfig
{
public static Task<GetOksKubeconfigResult> InvokeAsync(GetOksKubeconfigArgs args, InvokeOptions? opts = null)
public static Output<GetOksKubeconfigResult> Invoke(GetOksKubeconfigInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOksKubeconfigResult> getOksKubeconfig(GetOksKubeconfigArgs args, InvokeOptions options)
public static Output<GetOksKubeconfigResult> getOksKubeconfig(GetOksKubeconfigArgs args, InvokeOptions options)
fn::invoke:
function: outscale:index/getOksKubeconfig:getOksKubeconfig
arguments:
# arguments dictionarydata "outscale_getokskubeconfig" "name" {
# arguments
}The following arguments are supported:
- Cluster
Id string - The ID of the cluster.
- Group string
- The group of the kubeconfig file.
- Ttl string
- The time to live (TTL) of the kubeconfig file.
x-encrypt-nacl- (Optional) The header to encrypt the kubeconfig file.
- User string
- The user of the kubeconfig file.
- XEncrypt
Nacl string
- Cluster
Id string - The ID of the cluster.
- Group string
- The group of the kubeconfig file.
- Ttl string
- The time to live (TTL) of the kubeconfig file.
x-encrypt-nacl- (Optional) The header to encrypt the kubeconfig file.
- User string
- The user of the kubeconfig file.
- XEncrypt
Nacl string
- cluster_
id string - The ID of the cluster.
- group string
- The group of the kubeconfig file.
- ttl string
- The time to live (TTL) of the kubeconfig file.
x-encrypt-nacl- (Optional) The header to encrypt the kubeconfig file.
- user string
- The user of the kubeconfig file.
- x_
encrypt_ stringnacl
- cluster
Id String - The ID of the cluster.
- group String
- The group of the kubeconfig file.
- ttl String
- The time to live (TTL) of the kubeconfig file.
x-encrypt-nacl- (Optional) The header to encrypt the kubeconfig file.
- user String
- The user of the kubeconfig file.
- x
Encrypt StringNacl
- cluster
Id string - The ID of the cluster.
- group string
- The group of the kubeconfig file.
- ttl string
- The time to live (TTL) of the kubeconfig file.
x-encrypt-nacl- (Optional) The header to encrypt the kubeconfig file.
- user string
- The user of the kubeconfig file.
- x
Encrypt stringNacl
- cluster_
id str - The ID of the cluster.
- group str
- The group of the kubeconfig file.
- ttl str
- The time to live (TTL) of the kubeconfig file.
x-encrypt-nacl- (Optional) The header to encrypt the kubeconfig file.
- user str
- The user of the kubeconfig file.
- x_
encrypt_ strnacl
- cluster
Id String - The ID of the cluster.
- group String
- The group of the kubeconfig file.
- ttl String
- The time to live (TTL) of the kubeconfig file.
x-encrypt-nacl- (Optional) The header to encrypt the kubeconfig file.
- user String
- The user of the kubeconfig file.
- x
Encrypt StringNacl
getOksKubeconfig Result
The following output properties are available:
- Cluster
Id string - Id string
- Kubeconfig string
- (Sensitive value) A file containing access configuration to the cluster.
- Kubeconfig
Attributes GetOks Kubeconfig Kubeconfig Attributes - (Sensitive value) Access configuration to the cluster.
- Request
Id string - Group string
- Ttl string
- User string
- XEncrypt
Nacl string
- Cluster
Id string - Id string
- Kubeconfig string
- (Sensitive value) A file containing access configuration to the cluster.
- Kubeconfig
Attributes GetOks Kubeconfig Kubeconfig Attributes - (Sensitive value) Access configuration to the cluster.
- Request
Id string - Group string
- Ttl string
- User string
- XEncrypt
Nacl string
- cluster_
id string - id string
- kubeconfig string
- (Sensitive value) A file containing access configuration to the cluster.
- kubeconfig_
attributes object - (Sensitive value) Access configuration to the cluster.
- request_
id string - group string
- ttl string
- user string
- x_
encrypt_ stringnacl
- cluster
Id String - id String
- kubeconfig String
- (Sensitive value) A file containing access configuration to the cluster.
- kubeconfig
Attributes GetOks Kubeconfig Kubeconfig Attributes - (Sensitive value) Access configuration to the cluster.
- request
Id String - group String
- ttl String
- user String
- x
Encrypt StringNacl
- cluster
Id string - id string
- kubeconfig string
- (Sensitive value) A file containing access configuration to the cluster.
- kubeconfig
Attributes GetOks Kubeconfig Kubeconfig Attributes - (Sensitive value) Access configuration to the cluster.
- request
Id string - group string
- ttl string
- user string
- x
Encrypt stringNacl
- cluster_
id str - id str
- kubeconfig str
- (Sensitive value) A file containing access configuration to the cluster.
- kubeconfig_
attributes GetOks Kubeconfig Kubeconfig Attributes - (Sensitive value) Access configuration to the cluster.
- request_
id str - group str
- ttl str
- user str
- x_
encrypt_ strnacl
- cluster
Id String - id String
- kubeconfig String
- (Sensitive value) A file containing access configuration to the cluster.
- kubeconfig
Attributes Property Map - (Sensitive value) Access configuration to the cluster.
- request
Id String - group String
- ttl String
- user String
- x
Encrypt StringNacl
Supporting Types
GetOksKubeconfigKubeconfigAttributes
- Client
Certificate string - The client certificate for accessing the cluster.
- Client
Key string - The private key matching the client certificate.
- Cluster
Ca stringCertificate - The Certificate Authority (CA) associated with the cluster.
- Host string
- The URL of the Kubernetes API server of the cluster.
- Client
Certificate string - The client certificate for accessing the cluster.
- Client
Key string - The private key matching the client certificate.
- Cluster
Ca stringCertificate - The Certificate Authority (CA) associated with the cluster.
- Host string
- The URL of the Kubernetes API server of the cluster.
- client_
certificate string - The client certificate for accessing the cluster.
- client_
key string - The private key matching the client certificate.
- cluster_
ca_ stringcertificate - The Certificate Authority (CA) associated with the cluster.
- host string
- The URL of the Kubernetes API server of the cluster.
- client
Certificate String - The client certificate for accessing the cluster.
- client
Key String - The private key matching the client certificate.
- cluster
Ca StringCertificate - The Certificate Authority (CA) associated with the cluster.
- host String
- The URL of the Kubernetes API server of the cluster.
- client
Certificate string - The client certificate for accessing the cluster.
- client
Key string - The private key matching the client certificate.
- cluster
Ca stringCertificate - The Certificate Authority (CA) associated with the cluster.
- host string
- The URL of the Kubernetes API server of the cluster.
- client_
certificate str - The client certificate for accessing the cluster.
- client_
key str - The private key matching the client certificate.
- cluster_
ca_ strcertificate - The Certificate Authority (CA) associated with the cluster.
- host str
- The URL of the Kubernetes API server of the cluster.
- client
Certificate String - The client certificate for accessing the cluster.
- client
Key String - The private key matching the client certificate.
- cluster
Ca StringCertificate - The Certificate Authority (CA) associated with the cluster.
- host String
- The URL of the Kubernetes API server of the cluster.
Package Details
- Repository
- outscale outscale/terraform-provider-outscale
- License
- Notes
- This Pulumi package is based on the
outscaleTerraform Provider.
Viewing docs for outscale 1.7.0
published on Wednesday, Jul 15, 2026 by outscale
published on Wednesday, Jul 15, 2026 by outscale