Show / Hide Table of Contents

Class ServerlessKubernetes

Inheritance
System.Object
Resource
CustomResource
ServerlessKubernetes
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.CS
Assembly: Pulumi.AliCloud.dll
Syntax
public class ServerlessKubernetes : CustomResource

Constructors

View Source

ServerlessKubernetes(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 Source

ClientCert

The path of client certificate, like ~/.kube/client-cert.pem.

Declaration
public Output<string> ClientCert { get; }
Property Value
Type Description
Output<System.String>
View Source

ClientKey

The path of client key, like ~/.kube/client-key.pem.

Declaration
public Output<string> ClientKey { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

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>>
View Source

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>>
View Source

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>>
View Source

KubeConfig

The path of kube config, like ~/.kube/config.

Declaration
public Output<string> KubeConfig { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

NamePrefix

Declaration
public Output<string> NamePrefix { get; }
Property Value
Type Description
Output<System.String>
View Source

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>>
View Source

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>>
View Source

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>
View Source

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>>
View Source

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>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.