Exoscale v0.56.0 published on Sunday, Mar 3, 2024 by Pulumiverse
exoscale.SksKubeconfig
Explore with Pulumi AI
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:
- Cluster
Id 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.
- Early
Renewal intSeconds - 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 double - ❗ The Time-to-Live of the Kubeconfig, after which it will expire / become invalid (seconds; default: 2592000 = 30 days).
- Cluster
Id 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.
- Early
Renewal intSeconds - 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 float64 - ❗ The Time-to-Live of the Kubeconfig, after which it will expire / become invalid (seconds; default: 2592000 = 30 days).
- cluster
Id 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.
- early
Renewal IntegerSeconds - 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 Double - ❗ The Time-to-Live of the Kubeconfig, after which it will expire / become invalid (seconds; default: 2592000 = 30 days).
- cluster
Id 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.
- early
Renewal numberSeconds - 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 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_ intseconds - 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).
- cluster
Id 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.
- early
Renewal NumberSeconds - 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 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).
- Ready
For boolRenewal
- Id string
- The provider-assigned unique ID for this managed resource.
- Kubeconfig string
- The generated Kubeconfig (YAML content).
- Ready
For boolRenewal
- id String
- The provider-assigned unique ID for this managed resource.
- kubeconfig String
- The generated Kubeconfig (YAML content).
- ready
For BooleanRenewal
- id string
- The provider-assigned unique ID for this managed resource.
- kubeconfig string
- The generated Kubeconfig (YAML content).
- ready
For booleanRenewal
- id str
- The provider-assigned unique ID for this managed resource.
- kubeconfig str
- The generated Kubeconfig (YAML content).
- ready_
for_ boolrenewal
- id String
- The provider-assigned unique ID for this managed resource.
- kubeconfig String
- The generated Kubeconfig (YAML content).
- ready
For BooleanRenewal
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.
- Cluster
Id string - ❗ The parent exoscaleskscluster ID.
- Early
Renewal intSeconds - 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).
- Ready
For boolRenewal - Ttl
Seconds 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.
- Cluster
Id string - ❗ The parent exoscaleskscluster ID.
- Early
Renewal intSeconds - 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).
- Ready
For boolRenewal - Ttl
Seconds 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.
- cluster
Id String - ❗ The parent exoscaleskscluster ID.
- early
Renewal IntegerSeconds - 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).
- ready
For BooleanRenewal - ttl
Seconds 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.
- cluster
Id string - ❗ The parent exoscaleskscluster ID.
- early
Renewal numberSeconds - 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).
- ready
For booleanRenewal - ttl
Seconds 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_ intseconds - 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_ boolrenewal - 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.
- cluster
Id String - ❗ The parent exoscaleskscluster ID.
- early
Renewal NumberSeconds - 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).
- ready
For BooleanRenewal - ttl
Seconds 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.