Exoscale v0.59.0 published on Monday, May 20, 2024 by Pulumiverse
exoscale.SksKubeconfig
Explore with Pulumi AI
Create SksKubeconfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SksKubeconfig(name: string, args: SksKubeconfigArgs, opts?: CustomResourceOptions);
@overload
def SksKubeconfig(resource_name: str,
args: SksKubeconfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SksKubeconfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
groups: Optional[Sequence[str]] = None,
user: Optional[str] = None,
zone: Optional[str] = None,
early_renewal_seconds: Optional[int] = None,
ttl_seconds: Optional[float] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var sksKubeconfigResource = new Exoscale.SksKubeconfig("sksKubeconfigResource", new()
{
ClusterId = "string",
Groups = new[]
{
"string",
},
User = "string",
Zone = "string",
EarlyRenewalSeconds = 0,
TtlSeconds = 0,
});
example, err := exoscale.NewSksKubeconfig(ctx, "sksKubeconfigResource", &exoscale.SksKubeconfigArgs{
ClusterId: pulumi.String("string"),
Groups: pulumi.StringArray{
pulumi.String("string"),
},
User: pulumi.String("string"),
Zone: pulumi.String("string"),
EarlyRenewalSeconds: pulumi.Int(0),
TtlSeconds: pulumi.Float64(0),
})
var sksKubeconfigResource = new SksKubeconfig("sksKubeconfigResource", SksKubeconfigArgs.builder()
.clusterId("string")
.groups("string")
.user("string")
.zone("string")
.earlyRenewalSeconds(0)
.ttlSeconds(0)
.build());
sks_kubeconfig_resource = exoscale.SksKubeconfig("sksKubeconfigResource",
cluster_id="string",
groups=["string"],
user="string",
zone="string",
early_renewal_seconds=0,
ttl_seconds=0)
const sksKubeconfigResource = new exoscale.SksKubeconfig("sksKubeconfigResource", {
clusterId: "string",
groups: ["string"],
user: "string",
zone: "string",
earlyRenewalSeconds: 0,
ttlSeconds: 0,
});
type: exoscale:SksKubeconfig
properties:
clusterId: string
earlyRenewalSeconds: 0
groups:
- string
ttlSeconds: 0
user: string
zone: string
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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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.