1. Packages
  2. Exoscale
  3. API Docs
  4. SksKubeconfig
Exoscale v0.55.0 published on Monday, Jan 29, 2024 by Pulumiverse

exoscale.SksKubeconfig

Explore with Pulumi AI

exoscale logo
Exoscale v0.55.0 published on Monday, Jan 29, 2024 by Pulumiverse

    Create SksKubeconfig Resource

    new SksKubeconfig(name: string, args: SksKubeconfigArgs, opts?: CustomResourceOptions);
    @overload
    def SksKubeconfig(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      cluster_id: Optional[str] = None,
                      early_renewal_seconds: Optional[int] = None,
                      groups: Optional[Sequence[str]] = None,
                      ttl_seconds: Optional[float] = None,
                      user: Optional[str] = None,
                      zone: Optional[str] = None)
    @overload
    def SksKubeconfig(resource_name: str,
                      args: SksKubeconfigArgs,
                      opts: Optional[ResourceOptions] = None)
    func NewSksKubeconfig(ctx *Context, name string, args SksKubeconfigArgs, opts ...ResourceOption) (*SksKubeconfig, error)
    public SksKubeconfig(string name, SksKubeconfigArgs args, CustomResourceOptions? opts = null)
    public SksKubeconfig(String name, SksKubeconfigArgs args)
    public SksKubeconfig(String name, SksKubeconfigArgs args, CustomResourceOptions options)
    
    type: exoscale:SksKubeconfig
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args SksKubeconfigArgs
    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 SksKubeconfigArgs
    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 SksKubeconfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SksKubeconfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SksKubeconfigArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    SksKubeconfig Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The SksKubeconfig resource accepts the following input properties:

    ClusterId string
    ❗ The parent exoscaleskscluster ID.
    Groups List<string>
    ❗ Group names in the generated Kubeconfig. The certificate present in the Kubeconfig will have these roles set in the Organization field.
    User string
    ❗ User name in the generated Kubeconfig. The certificate present in the Kubeconfig will also have this name set for the CN field.
    Zone string
    ❗ The Exoscale Zone name.
    EarlyRenewalSeconds int
    If set, the resource will consider the Kubeconfig to have expired the given number of seconds before its actual CA certificate or client certificate expiry time. This can be useful to deploy an updated Kubeconfig in advance of the expiration of its internal current certificate. Note however that the old certificate remains valid until its true expiration time since this resource does not (and cannot) support revocation. Also note this advance update can only take place if the Terraform configuration is applied during the early renewal period (seconds; default: 0).
    TtlSeconds double
    ❗ The Time-to-Live of the Kubeconfig, after which it will expire / become invalid (seconds; default: 2592000 = 30 days).
    ClusterId string
    ❗ The parent exoscaleskscluster ID.
    Groups []string
    ❗ Group names in the generated Kubeconfig. The certificate present in the Kubeconfig will have these roles set in the Organization field.
    User string
    ❗ User name in the generated Kubeconfig. The certificate present in the Kubeconfig will also have this name set for the CN field.
    Zone string
    ❗ The Exoscale Zone name.
    EarlyRenewalSeconds int
    If set, the resource will consider the Kubeconfig to have expired the given number of seconds before its actual CA certificate or client certificate expiry time. This can be useful to deploy an updated Kubeconfig in advance of the expiration of its internal current certificate. Note however that the old certificate remains valid until its true expiration time since this resource does not (and cannot) support revocation. Also note this advance update can only take place if the Terraform configuration is applied during the early renewal period (seconds; default: 0).
    TtlSeconds float64
    ❗ The Time-to-Live of the Kubeconfig, after which it will expire / become invalid (seconds; default: 2592000 = 30 days).
    clusterId String
    ❗ The parent exoscaleskscluster ID.
    groups List<String>
    ❗ Group names in the generated Kubeconfig. The certificate present in the Kubeconfig will have these roles set in the Organization field.
    user String
    ❗ User name in the generated Kubeconfig. The certificate present in the Kubeconfig will also have this name set for the CN field.
    zone String
    ❗ The Exoscale Zone name.
    earlyRenewalSeconds Integer
    If set, the resource will consider the Kubeconfig to have expired the given number of seconds before its actual CA certificate or client certificate expiry time. This can be useful to deploy an updated Kubeconfig in advance of the expiration of its internal current certificate. Note however that the old certificate remains valid until its true expiration time since this resource does not (and cannot) support revocation. Also note this advance update can only take place if the Terraform configuration is applied during the early renewal period (seconds; default: 0).
    ttlSeconds Double
    ❗ The Time-to-Live of the Kubeconfig, after which it will expire / become invalid (seconds; default: 2592000 = 30 days).
    clusterId string
    ❗ The parent exoscaleskscluster ID.
    groups string[]
    ❗ Group names in the generated Kubeconfig. The certificate present in the Kubeconfig will have these roles set in the Organization field.
    user string
    ❗ User name in the generated Kubeconfig. The certificate present in the Kubeconfig will also have this name set for the CN field.
    zone string
    ❗ The Exoscale Zone name.
    earlyRenewalSeconds number
    If set, the resource will consider the Kubeconfig to have expired the given number of seconds before its actual CA certificate or client certificate expiry time. This can be useful to deploy an updated Kubeconfig in advance of the expiration of its internal current certificate. Note however that the old certificate remains valid until its true expiration time since this resource does not (and cannot) support revocation. Also note this advance update can only take place if the Terraform configuration is applied during the early renewal period (seconds; default: 0).
    ttlSeconds number
    ❗ The Time-to-Live of the Kubeconfig, after which it will expire / become invalid (seconds; default: 2592000 = 30 days).
    cluster_id str
    ❗ The parent exoscaleskscluster ID.
    groups Sequence[str]
    ❗ Group names in the generated Kubeconfig. The certificate present in the Kubeconfig will have these roles set in the Organization field.
    user str
    ❗ User name in the generated Kubeconfig. The certificate present in the Kubeconfig will also have this name set for the CN field.
    zone str
    ❗ The Exoscale Zone name.
    early_renewal_seconds int
    If set, the resource will consider the Kubeconfig to have expired the given number of seconds before its actual CA certificate or client certificate expiry time. This can be useful to deploy an updated Kubeconfig in advance of the expiration of its internal current certificate. Note however that the old certificate remains valid until its true expiration time since this resource does not (and cannot) support revocation. Also note this advance update can only take place if the Terraform configuration is applied during the early renewal period (seconds; default: 0).
    ttl_seconds float
    ❗ The Time-to-Live of the Kubeconfig, after which it will expire / become invalid (seconds; default: 2592000 = 30 days).
    clusterId String
    ❗ The parent exoscaleskscluster ID.
    groups List<String>
    ❗ Group names in the generated Kubeconfig. The certificate present in the Kubeconfig will have these roles set in the Organization field.
    user String
    ❗ User name in the generated Kubeconfig. The certificate present in the Kubeconfig will also have this name set for the CN field.
    zone String
    ❗ The Exoscale Zone name.
    earlyRenewalSeconds Number
    If set, the resource will consider the Kubeconfig to have expired the given number of seconds before its actual CA certificate or client certificate expiry time. This can be useful to deploy an updated Kubeconfig in advance of the expiration of its internal current certificate. Note however that the old certificate remains valid until its true expiration time since this resource does not (and cannot) support revocation. Also note this advance update can only take place if the Terraform configuration is applied during the early renewal period (seconds; default: 0).
    ttlSeconds Number
    ❗ The Time-to-Live of the Kubeconfig, after which it will expire / become invalid (seconds; default: 2592000 = 30 days).

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Kubeconfig string
    The generated Kubeconfig (YAML content).
    ReadyForRenewal bool
    Id string
    The provider-assigned unique ID for this managed resource.
    Kubeconfig string
    The generated Kubeconfig (YAML content).
    ReadyForRenewal bool
    id String
    The provider-assigned unique ID for this managed resource.
    kubeconfig String
    The generated Kubeconfig (YAML content).
    readyForRenewal Boolean
    id string
    The provider-assigned unique ID for this managed resource.
    kubeconfig string
    The generated Kubeconfig (YAML content).
    readyForRenewal boolean
    id str
    The provider-assigned unique ID for this managed resource.
    kubeconfig str
    The generated Kubeconfig (YAML content).
    ready_for_renewal bool
    id String
    The provider-assigned unique ID for this managed resource.
    kubeconfig String
    The generated Kubeconfig (YAML content).
    readyForRenewal Boolean

    Look up Existing SksKubeconfig Resource

    Get an existing SksKubeconfig 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?: SksKubeconfigState, opts?: CustomResourceOptions): SksKubeconfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cluster_id: Optional[str] = None,
            early_renewal_seconds: Optional[int] = None,
            groups: Optional[Sequence[str]] = None,
            kubeconfig: Optional[str] = None,
            ready_for_renewal: Optional[bool] = None,
            ttl_seconds: Optional[float] = None,
            user: Optional[str] = None,
            zone: Optional[str] = None) -> SksKubeconfig
    func GetSksKubeconfig(ctx *Context, name string, id IDInput, state *SksKubeconfigState, opts ...ResourceOption) (*SksKubeconfig, error)
    public static SksKubeconfig Get(string name, Input<string> id, SksKubeconfigState? state, CustomResourceOptions? opts = null)
    public static SksKubeconfig get(String name, Output<String> id, SksKubeconfigState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    ClusterId string
    ❗ The parent exoscaleskscluster ID.
    EarlyRenewalSeconds int
    If set, the resource will consider the Kubeconfig to have expired the given number of seconds before its actual CA certificate or client certificate expiry time. This can be useful to deploy an updated Kubeconfig in advance of the expiration of its internal current certificate. Note however that the old certificate remains valid until its true expiration time since this resource does not (and cannot) support revocation. Also note this advance update can only take place if the Terraform configuration is applied during the early renewal period (seconds; default: 0).
    Groups List<string>
    ❗ Group names in the generated Kubeconfig. The certificate present in the Kubeconfig will have these roles set in the Organization field.
    Kubeconfig string
    The generated Kubeconfig (YAML content).
    ReadyForRenewal bool
    TtlSeconds double
    ❗ The Time-to-Live of the Kubeconfig, after which it will expire / become invalid (seconds; default: 2592000 = 30 days).
    User string
    ❗ User name in the generated Kubeconfig. The certificate present in the Kubeconfig will also have this name set for the CN field.
    Zone string
    ❗ The Exoscale Zone name.
    ClusterId string
    ❗ The parent exoscaleskscluster ID.
    EarlyRenewalSeconds int
    If set, the resource will consider the Kubeconfig to have expired the given number of seconds before its actual CA certificate or client certificate expiry time. This can be useful to deploy an updated Kubeconfig in advance of the expiration of its internal current certificate. Note however that the old certificate remains valid until its true expiration time since this resource does not (and cannot) support revocation. Also note this advance update can only take place if the Terraform configuration is applied during the early renewal period (seconds; default: 0).
    Groups []string
    ❗ Group names in the generated Kubeconfig. The certificate present in the Kubeconfig will have these roles set in the Organization field.
    Kubeconfig string
    The generated Kubeconfig (YAML content).
    ReadyForRenewal bool
    TtlSeconds float64
    ❗ The Time-to-Live of the Kubeconfig, after which it will expire / become invalid (seconds; default: 2592000 = 30 days).
    User string
    ❗ User name in the generated Kubeconfig. The certificate present in the Kubeconfig will also have this name set for the CN field.
    Zone string
    ❗ The Exoscale Zone name.
    clusterId String
    ❗ The parent exoscaleskscluster ID.
    earlyRenewalSeconds Integer
    If set, the resource will consider the Kubeconfig to have expired the given number of seconds before its actual CA certificate or client certificate expiry time. This can be useful to deploy an updated Kubeconfig in advance of the expiration of its internal current certificate. Note however that the old certificate remains valid until its true expiration time since this resource does not (and cannot) support revocation. Also note this advance update can only take place if the Terraform configuration is applied during the early renewal period (seconds; default: 0).
    groups List<String>
    ❗ Group names in the generated Kubeconfig. The certificate present in the Kubeconfig will have these roles set in the Organization field.
    kubeconfig String
    The generated Kubeconfig (YAML content).
    readyForRenewal Boolean
    ttlSeconds Double
    ❗ The Time-to-Live of the Kubeconfig, after which it will expire / become invalid (seconds; default: 2592000 = 30 days).
    user String
    ❗ User name in the generated Kubeconfig. The certificate present in the Kubeconfig will also have this name set for the CN field.
    zone String
    ❗ The Exoscale Zone name.
    clusterId string
    ❗ The parent exoscaleskscluster ID.
    earlyRenewalSeconds number
    If set, the resource will consider the Kubeconfig to have expired the given number of seconds before its actual CA certificate or client certificate expiry time. This can be useful to deploy an updated Kubeconfig in advance of the expiration of its internal current certificate. Note however that the old certificate remains valid until its true expiration time since this resource does not (and cannot) support revocation. Also note this advance update can only take place if the Terraform configuration is applied during the early renewal period (seconds; default: 0).
    groups string[]
    ❗ Group names in the generated Kubeconfig. The certificate present in the Kubeconfig will have these roles set in the Organization field.
    kubeconfig string
    The generated Kubeconfig (YAML content).
    readyForRenewal boolean
    ttlSeconds number
    ❗ The Time-to-Live of the Kubeconfig, after which it will expire / become invalid (seconds; default: 2592000 = 30 days).
    user string
    ❗ User name in the generated Kubeconfig. The certificate present in the Kubeconfig will also have this name set for the CN field.
    zone string
    ❗ The Exoscale Zone name.
    cluster_id str
    ❗ The parent exoscaleskscluster ID.
    early_renewal_seconds int
    If set, the resource will consider the Kubeconfig to have expired the given number of seconds before its actual CA certificate or client certificate expiry time. This can be useful to deploy an updated Kubeconfig in advance of the expiration of its internal current certificate. Note however that the old certificate remains valid until its true expiration time since this resource does not (and cannot) support revocation. Also note this advance update can only take place if the Terraform configuration is applied during the early renewal period (seconds; default: 0).
    groups Sequence[str]
    ❗ Group names in the generated Kubeconfig. The certificate present in the Kubeconfig will have these roles set in the Organization field.
    kubeconfig str
    The generated Kubeconfig (YAML content).
    ready_for_renewal bool
    ttl_seconds float
    ❗ The Time-to-Live of the Kubeconfig, after which it will expire / become invalid (seconds; default: 2592000 = 30 days).
    user str
    ❗ User name in the generated Kubeconfig. The certificate present in the Kubeconfig will also have this name set for the CN field.
    zone str
    ❗ The Exoscale Zone name.
    clusterId String
    ❗ The parent exoscaleskscluster ID.
    earlyRenewalSeconds Number
    If set, the resource will consider the Kubeconfig to have expired the given number of seconds before its actual CA certificate or client certificate expiry time. This can be useful to deploy an updated Kubeconfig in advance of the expiration of its internal current certificate. Note however that the old certificate remains valid until its true expiration time since this resource does not (and cannot) support revocation. Also note this advance update can only take place if the Terraform configuration is applied during the early renewal period (seconds; default: 0).
    groups List<String>
    ❗ Group names in the generated Kubeconfig. The certificate present in the Kubeconfig will have these roles set in the Organization field.
    kubeconfig String
    The generated Kubeconfig (YAML content).
    readyForRenewal Boolean
    ttlSeconds Number
    ❗ The Time-to-Live of the Kubeconfig, after which it will expire / become invalid (seconds; default: 2592000 = 30 days).
    user String
    ❗ User name in the generated Kubeconfig. The certificate present in the Kubeconfig will also have this name set for the CN field.
    zone String
    ❗ The Exoscale Zone name.

    Package Details

    Repository
    exoscale pulumiverse/pulumi-exoscale
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the exoscale Terraform Provider.
    exoscale logo
    Exoscale v0.55.0 published on Monday, Jan 29, 2024 by Pulumiverse