Class ServerlessKubernetes
Inherited Members
Namespace: Pulumi.AliCloud.CS
Assembly: Pulumi.AliCloud.dll
Syntax
public class ServerlessKubernetes : CustomResource
Constructors
View SourceServerlessKubernetes(String, ServerlessKubernetesArgs, CustomResourceOptions)
Create a ServerlessKubernetes resource with the given unique name, arguments, and options.
Declaration
public ServerlessKubernetes(string name, ServerlessKubernetesArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ServerlessKubernetesArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceClientCert
The path of client certificate, like ~/.kube/client-cert.pem.
Declaration
public Output<string> ClientCert { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ClientKey
The path of client key, like ~/.kube/client-key.pem.
Declaration
public Output<string> ClientKey { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ClusterCaCert
The path of cluster ca certificate, like ~/.kube/cluster-ca-cert.pem
Declaration
public Output<string> ClusterCaCert { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DeletionProtection
Whether enable the deletion protection or not.
- true: Enable deletion protection.
- false: Disable deletion protection.
Declaration
public Output<bool?> DeletionProtection { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
EndpointPublicAccessEnabled
Whether to create internet eip for API Server. Default to false.
Declaration
public Output<bool?> EndpointPublicAccessEnabled { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
ForceUpdate
Default false, when you want to change vpc_id and vswitch_id, you have to set this field to true, then the cluster will be recreated.
Declaration
public Output<bool?> ForceUpdate { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
KubeConfig
The path of kube config, like ~/.kube/config.
Declaration
public Output<string> KubeConfig { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
The kubernetes cluster's name. It is the only in one Alicloud account.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
NamePrefix
Declaration
public Output<string> NamePrefix { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
NewNatGateway
Whether to create a new nat gateway while creating kubernetes cluster. Default to true.
Declaration
public Output<bool?> NewNatGateway { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
PrivateZone
Enable Privatezone if you need to use the service discovery feature within the serverless cluster. Default to false.
Declaration
public Output<bool?> PrivateZone { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
SecurityGroupId
The ID of security group where the current cluster worker node is located.
Declaration
public Output<string> SecurityGroupId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Tags
Default nil, A map of tags assigned to the kubernetes cluster .
Declaration
public Output<ImmutableDictionary<string, object>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>> |
VpcId
The vpc where new kubernetes cluster will be located. Specify one vpc's id, if it is not specified, a new VPC will be built.
Declaration
public Output<string> VpcId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
VswitchId
The vswitch where new kubernetes cluster will be located. Specify one vswitch's id, if it is not specified, a new VPC and VSwicth will be built. It must be in the zone which availability_zone specified.
Declaration
public Output<string> VswitchId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, ServerlessKubernetesState, CustomResourceOptions)
Get an existing ServerlessKubernetes resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static ServerlessKubernetes Get(string name, Input<string> id, ServerlessKubernetesState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ServerlessKubernetesState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| ServerlessKubernetes |