Documentation
¶
Index ¶
- func PkgVersion() (semver.Version, error)
- type AddonAttachment
- type AddonAttachmentArgs
- type AddonAttachmentArray
- type AddonAttachmentArrayInput
- type AddonAttachmentArrayOutput
- func (AddonAttachmentArrayOutput) ElementType() reflect.Type
- func (o AddonAttachmentArrayOutput) Index(i pulumi.IntInput) AddonAttachmentOutput
- func (o AddonAttachmentArrayOutput) ToAddonAttachmentArrayOutput() AddonAttachmentArrayOutput
- func (o AddonAttachmentArrayOutput) ToAddonAttachmentArrayOutputWithContext(ctx context.Context) AddonAttachmentArrayOutput
- type AddonAttachmentInput
- type AddonAttachmentMap
- type AddonAttachmentMapInput
- type AddonAttachmentMapOutput
- func (AddonAttachmentMapOutput) ElementType() reflect.Type
- func (o AddonAttachmentMapOutput) MapIndex(k pulumi.StringInput) AddonAttachmentOutput
- func (o AddonAttachmentMapOutput) ToAddonAttachmentMapOutput() AddonAttachmentMapOutput
- func (o AddonAttachmentMapOutput) ToAddonAttachmentMapOutputWithContext(ctx context.Context) AddonAttachmentMapOutput
- type AddonAttachmentOutput
- func (o AddonAttachmentOutput) ClusterId() pulumi.StringOutput
- func (AddonAttachmentOutput) ElementType() reflect.Type
- func (o AddonAttachmentOutput) Name() pulumi.StringOutput
- func (o AddonAttachmentOutput) RequestBody() pulumi.StringPtrOutput
- func (o AddonAttachmentOutput) ResponseBody() pulumi.StringOutput
- func (o AddonAttachmentOutput) Status() pulumi.MapOutput
- func (o AddonAttachmentOutput) ToAddonAttachmentOutput() AddonAttachmentOutput
- func (o AddonAttachmentOutput) ToAddonAttachmentOutputWithContext(ctx context.Context) AddonAttachmentOutput
- func (o AddonAttachmentOutput) Values() pulumi.StringArrayOutput
- func (o AddonAttachmentOutput) Version() pulumi.StringOutput
- type AddonAttachmentState
- type AsScalingGroup
- type AsScalingGroupArgs
- type AsScalingGroupArray
- type AsScalingGroupArrayInput
- type AsScalingGroupArrayOutput
- func (AsScalingGroupArrayOutput) ElementType() reflect.Type
- func (o AsScalingGroupArrayOutput) Index(i pulumi.IntInput) AsScalingGroupOutput
- func (o AsScalingGroupArrayOutput) ToAsScalingGroupArrayOutput() AsScalingGroupArrayOutput
- func (o AsScalingGroupArrayOutput) ToAsScalingGroupArrayOutputWithContext(ctx context.Context) AsScalingGroupArrayOutput
- type AsScalingGroupInput
- type AsScalingGroupMap
- type AsScalingGroupMapInput
- type AsScalingGroupMapOutput
- func (AsScalingGroupMapOutput) ElementType() reflect.Type
- func (o AsScalingGroupMapOutput) MapIndex(k pulumi.StringInput) AsScalingGroupOutput
- func (o AsScalingGroupMapOutput) ToAsScalingGroupMapOutput() AsScalingGroupMapOutput
- func (o AsScalingGroupMapOutput) ToAsScalingGroupMapOutputWithContext(ctx context.Context) AsScalingGroupMapOutput
- type AsScalingGroupOutput
- func (o AsScalingGroupOutput) AutoScalingConfig() AsScalingGroupAutoScalingConfigOutput
- func (o AsScalingGroupOutput) AutoScalingGroup() AsScalingGroupAutoScalingGroupOutput
- func (o AsScalingGroupOutput) ClusterId() pulumi.StringOutput
- func (AsScalingGroupOutput) ElementType() reflect.Type
- func (o AsScalingGroupOutput) ExtraArgs() pulumi.StringArrayOutput
- func (o AsScalingGroupOutput) Labels() pulumi.MapOutput
- func (o AsScalingGroupOutput) ToAsScalingGroupOutput() AsScalingGroupOutput
- func (o AsScalingGroupOutput) ToAsScalingGroupOutputWithContext(ctx context.Context) AsScalingGroupOutput
- func (o AsScalingGroupOutput) Unschedulable() pulumi.IntPtrOutput
- type AsScalingGroupState
- type AuthAttachment
- type AuthAttachmentArgs
- type AuthAttachmentArray
- type AuthAttachmentArrayInput
- type AuthAttachmentArrayOutput
- func (AuthAttachmentArrayOutput) ElementType() reflect.Type
- func (o AuthAttachmentArrayOutput) Index(i pulumi.IntInput) AuthAttachmentOutput
- func (o AuthAttachmentArrayOutput) ToAuthAttachmentArrayOutput() AuthAttachmentArrayOutput
- func (o AuthAttachmentArrayOutput) ToAuthAttachmentArrayOutputWithContext(ctx context.Context) AuthAttachmentArrayOutput
- type AuthAttachmentInput
- type AuthAttachmentMap
- type AuthAttachmentMapInput
- type AuthAttachmentMapOutput
- func (AuthAttachmentMapOutput) ElementType() reflect.Type
- func (o AuthAttachmentMapOutput) MapIndex(k pulumi.StringInput) AuthAttachmentOutput
- func (o AuthAttachmentMapOutput) ToAuthAttachmentMapOutput() AuthAttachmentMapOutput
- func (o AuthAttachmentMapOutput) ToAuthAttachmentMapOutputWithContext(ctx context.Context) AuthAttachmentMapOutput
- type AuthAttachmentOutput
- func (o AuthAttachmentOutput) AutoCreateDiscoveryAnonymousAuth() pulumi.BoolPtrOutput
- func (o AuthAttachmentOutput) ClusterId() pulumi.StringOutput
- func (AuthAttachmentOutput) ElementType() reflect.Type
- func (o AuthAttachmentOutput) Issuer() pulumi.StringPtrOutput
- func (o AuthAttachmentOutput) JwksUri() pulumi.StringPtrOutput
- func (o AuthAttachmentOutput) TkeDefaultIssuer() pulumi.StringOutput
- func (o AuthAttachmentOutput) TkeDefaultJwksUri() pulumi.StringOutput
- func (o AuthAttachmentOutput) ToAuthAttachmentOutput() AuthAttachmentOutput
- func (o AuthAttachmentOutput) ToAuthAttachmentOutputWithContext(ctx context.Context) AuthAttachmentOutput
- func (o AuthAttachmentOutput) UseTkeDefault() pulumi.BoolPtrOutput
- type AuthAttachmentState
- type BackupStorageLocation
- type BackupStorageLocationArgs
- type BackupStorageLocationArray
- func (BackupStorageLocationArray) ElementType() reflect.Type
- func (i BackupStorageLocationArray) ToBackupStorageLocationArrayOutput() BackupStorageLocationArrayOutput
- func (i BackupStorageLocationArray) ToBackupStorageLocationArrayOutputWithContext(ctx context.Context) BackupStorageLocationArrayOutput
- type BackupStorageLocationArrayInput
- type BackupStorageLocationArrayOutput
- func (BackupStorageLocationArrayOutput) ElementType() reflect.Type
- func (o BackupStorageLocationArrayOutput) Index(i pulumi.IntInput) BackupStorageLocationOutput
- func (o BackupStorageLocationArrayOutput) ToBackupStorageLocationArrayOutput() BackupStorageLocationArrayOutput
- func (o BackupStorageLocationArrayOutput) ToBackupStorageLocationArrayOutputWithContext(ctx context.Context) BackupStorageLocationArrayOutput
- type BackupStorageLocationInput
- type BackupStorageLocationMap
- type BackupStorageLocationMapInput
- type BackupStorageLocationMapOutput
- func (BackupStorageLocationMapOutput) ElementType() reflect.Type
- func (o BackupStorageLocationMapOutput) MapIndex(k pulumi.StringInput) BackupStorageLocationOutput
- func (o BackupStorageLocationMapOutput) ToBackupStorageLocationMapOutput() BackupStorageLocationMapOutput
- func (o BackupStorageLocationMapOutput) ToBackupStorageLocationMapOutputWithContext(ctx context.Context) BackupStorageLocationMapOutput
- type BackupStorageLocationOutput
- func (o BackupStorageLocationOutput) Bucket() pulumi.StringOutput
- func (BackupStorageLocationOutput) ElementType() reflect.Type
- func (o BackupStorageLocationOutput) Message() pulumi.StringOutput
- func (o BackupStorageLocationOutput) Name() pulumi.StringOutput
- func (o BackupStorageLocationOutput) Path() pulumi.StringPtrOutput
- func (o BackupStorageLocationOutput) State() pulumi.StringOutput
- func (o BackupStorageLocationOutput) StorageRegion() pulumi.StringOutput
- func (o BackupStorageLocationOutput) ToBackupStorageLocationOutput() BackupStorageLocationOutput
- func (o BackupStorageLocationOutput) ToBackupStorageLocationOutputWithContext(ctx context.Context) BackupStorageLocationOutput
- type BackupStorageLocationState
- type Cluster
- type ClusterArgs
- type ClusterArray
- type ClusterArrayInput
- type ClusterArrayOutput
- type ClusterAttachment
- type ClusterAttachmentArgs
- type ClusterAttachmentArray
- type ClusterAttachmentArrayInput
- type ClusterAttachmentArrayOutput
- func (ClusterAttachmentArrayOutput) ElementType() reflect.Type
- func (o ClusterAttachmentArrayOutput) Index(i pulumi.IntInput) ClusterAttachmentOutput
- func (o ClusterAttachmentArrayOutput) ToClusterAttachmentArrayOutput() ClusterAttachmentArrayOutput
- func (o ClusterAttachmentArrayOutput) ToClusterAttachmentArrayOutputWithContext(ctx context.Context) ClusterAttachmentArrayOutput
- type ClusterAttachmentInput
- type ClusterAttachmentMap
- type ClusterAttachmentMapInput
- type ClusterAttachmentMapOutput
- func (ClusterAttachmentMapOutput) ElementType() reflect.Type
- func (o ClusterAttachmentMapOutput) MapIndex(k pulumi.StringInput) ClusterAttachmentOutput
- func (o ClusterAttachmentMapOutput) ToClusterAttachmentMapOutput() ClusterAttachmentMapOutput
- func (o ClusterAttachmentMapOutput) ToClusterAttachmentMapOutputWithContext(ctx context.Context) ClusterAttachmentMapOutput
- type ClusterAttachmentOutput
- func (o ClusterAttachmentOutput) ClusterId() pulumi.StringOutput
- func (ClusterAttachmentOutput) ElementType() reflect.Type
- func (o ClusterAttachmentOutput) Hostname() pulumi.StringPtrOutput
- func (o ClusterAttachmentOutput) InstanceId() pulumi.StringOutput
- func (o ClusterAttachmentOutput) KeyIds() pulumi.StringPtrOutput
- func (o ClusterAttachmentOutput) Labels() pulumi.MapOutput
- func (o ClusterAttachmentOutput) Password() pulumi.StringPtrOutput
- func (o ClusterAttachmentOutput) SecurityGroups() pulumi.StringArrayOutput
- func (o ClusterAttachmentOutput) State() pulumi.StringOutput
- func (o ClusterAttachmentOutput) ToClusterAttachmentOutput() ClusterAttachmentOutput
- func (o ClusterAttachmentOutput) ToClusterAttachmentOutputWithContext(ctx context.Context) ClusterAttachmentOutput
- func (o ClusterAttachmentOutput) Unschedulable() pulumi.IntPtrOutput
- func (o ClusterAttachmentOutput) WorkerConfig() ClusterAttachmentWorkerConfigPtrOutput
- func (o ClusterAttachmentOutput) WorkerConfigOverrides() ClusterAttachmentWorkerConfigOverridesPtrOutput
- type ClusterAttachmentState
- type ClusterAttachmentWorkerConfig
- type ClusterAttachmentWorkerConfigArgs
- func (ClusterAttachmentWorkerConfigArgs) ElementType() reflect.Type
- func (i ClusterAttachmentWorkerConfigArgs) ToClusterAttachmentWorkerConfigOutput() ClusterAttachmentWorkerConfigOutput
- func (i ClusterAttachmentWorkerConfigArgs) ToClusterAttachmentWorkerConfigOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOutput
- func (i ClusterAttachmentWorkerConfigArgs) ToClusterAttachmentWorkerConfigPtrOutput() ClusterAttachmentWorkerConfigPtrOutput
- func (i ClusterAttachmentWorkerConfigArgs) ToClusterAttachmentWorkerConfigPtrOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigPtrOutput
- type ClusterAttachmentWorkerConfigDataDisk
- type ClusterAttachmentWorkerConfigDataDiskArgs
- func (ClusterAttachmentWorkerConfigDataDiskArgs) ElementType() reflect.Type
- func (i ClusterAttachmentWorkerConfigDataDiskArgs) ToClusterAttachmentWorkerConfigDataDiskOutput() ClusterAttachmentWorkerConfigDataDiskOutput
- func (i ClusterAttachmentWorkerConfigDataDiskArgs) ToClusterAttachmentWorkerConfigDataDiskOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigDataDiskOutput
- type ClusterAttachmentWorkerConfigDataDiskArray
- func (ClusterAttachmentWorkerConfigDataDiskArray) ElementType() reflect.Type
- func (i ClusterAttachmentWorkerConfigDataDiskArray) ToClusterAttachmentWorkerConfigDataDiskArrayOutput() ClusterAttachmentWorkerConfigDataDiskArrayOutput
- func (i ClusterAttachmentWorkerConfigDataDiskArray) ToClusterAttachmentWorkerConfigDataDiskArrayOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigDataDiskArrayOutput
- type ClusterAttachmentWorkerConfigDataDiskArrayInput
- type ClusterAttachmentWorkerConfigDataDiskArrayOutput
- func (ClusterAttachmentWorkerConfigDataDiskArrayOutput) ElementType() reflect.Type
- func (o ClusterAttachmentWorkerConfigDataDiskArrayOutput) Index(i pulumi.IntInput) ClusterAttachmentWorkerConfigDataDiskOutput
- func (o ClusterAttachmentWorkerConfigDataDiskArrayOutput) ToClusterAttachmentWorkerConfigDataDiskArrayOutput() ClusterAttachmentWorkerConfigDataDiskArrayOutput
- func (o ClusterAttachmentWorkerConfigDataDiskArrayOutput) ToClusterAttachmentWorkerConfigDataDiskArrayOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigDataDiskArrayOutput
- type ClusterAttachmentWorkerConfigDataDiskInput
- type ClusterAttachmentWorkerConfigDataDiskOutput
- func (o ClusterAttachmentWorkerConfigDataDiskOutput) AutoFormatAndMount() pulumi.BoolPtrOutput
- func (o ClusterAttachmentWorkerConfigDataDiskOutput) DiskPartition() pulumi.StringPtrOutput
- func (o ClusterAttachmentWorkerConfigDataDiskOutput) DiskSize() pulumi.IntPtrOutput
- func (o ClusterAttachmentWorkerConfigDataDiskOutput) DiskType() pulumi.StringPtrOutput
- func (ClusterAttachmentWorkerConfigDataDiskOutput) ElementType() reflect.Type
- func (o ClusterAttachmentWorkerConfigDataDiskOutput) FileSystem() pulumi.StringPtrOutput
- func (o ClusterAttachmentWorkerConfigDataDiskOutput) MountTarget() pulumi.StringPtrOutput
- func (o ClusterAttachmentWorkerConfigDataDiskOutput) ToClusterAttachmentWorkerConfigDataDiskOutput() ClusterAttachmentWorkerConfigDataDiskOutput
- func (o ClusterAttachmentWorkerConfigDataDiskOutput) ToClusterAttachmentWorkerConfigDataDiskOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigDataDiskOutput
- type ClusterAttachmentWorkerConfigGpuArgs
- type ClusterAttachmentWorkerConfigGpuArgsArgs
- func (ClusterAttachmentWorkerConfigGpuArgsArgs) ElementType() reflect.Type
- func (i ClusterAttachmentWorkerConfigGpuArgsArgs) ToClusterAttachmentWorkerConfigGpuArgsOutput() ClusterAttachmentWorkerConfigGpuArgsOutput
- func (i ClusterAttachmentWorkerConfigGpuArgsArgs) ToClusterAttachmentWorkerConfigGpuArgsOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigGpuArgsOutput
- func (i ClusterAttachmentWorkerConfigGpuArgsArgs) ToClusterAttachmentWorkerConfigGpuArgsPtrOutput() ClusterAttachmentWorkerConfigGpuArgsPtrOutput
- func (i ClusterAttachmentWorkerConfigGpuArgsArgs) ToClusterAttachmentWorkerConfigGpuArgsPtrOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigGpuArgsPtrOutput
- type ClusterAttachmentWorkerConfigGpuArgsInput
- type ClusterAttachmentWorkerConfigGpuArgsOutput
- func (o ClusterAttachmentWorkerConfigGpuArgsOutput) Cuda() pulumi.MapOutput
- func (o ClusterAttachmentWorkerConfigGpuArgsOutput) Cudnn() pulumi.MapOutput
- func (o ClusterAttachmentWorkerConfigGpuArgsOutput) CustomDriver() pulumi.MapOutput
- func (o ClusterAttachmentWorkerConfigGpuArgsOutput) Driver() pulumi.MapOutput
- func (ClusterAttachmentWorkerConfigGpuArgsOutput) ElementType() reflect.Type
- func (o ClusterAttachmentWorkerConfigGpuArgsOutput) MigEnable() pulumi.BoolPtrOutput
- func (o ClusterAttachmentWorkerConfigGpuArgsOutput) ToClusterAttachmentWorkerConfigGpuArgsOutput() ClusterAttachmentWorkerConfigGpuArgsOutput
- func (o ClusterAttachmentWorkerConfigGpuArgsOutput) ToClusterAttachmentWorkerConfigGpuArgsOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigGpuArgsOutput
- func (o ClusterAttachmentWorkerConfigGpuArgsOutput) ToClusterAttachmentWorkerConfigGpuArgsPtrOutput() ClusterAttachmentWorkerConfigGpuArgsPtrOutput
- func (o ClusterAttachmentWorkerConfigGpuArgsOutput) ToClusterAttachmentWorkerConfigGpuArgsPtrOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigGpuArgsPtrOutput
- type ClusterAttachmentWorkerConfigGpuArgsPtrInput
- type ClusterAttachmentWorkerConfigGpuArgsPtrOutput
- func (o ClusterAttachmentWorkerConfigGpuArgsPtrOutput) Cuda() pulumi.MapOutput
- func (o ClusterAttachmentWorkerConfigGpuArgsPtrOutput) Cudnn() pulumi.MapOutput
- func (o ClusterAttachmentWorkerConfigGpuArgsPtrOutput) CustomDriver() pulumi.MapOutput
- func (o ClusterAttachmentWorkerConfigGpuArgsPtrOutput) Driver() pulumi.MapOutput
- func (o ClusterAttachmentWorkerConfigGpuArgsPtrOutput) Elem() ClusterAttachmentWorkerConfigGpuArgsOutput
- func (ClusterAttachmentWorkerConfigGpuArgsPtrOutput) ElementType() reflect.Type
- func (o ClusterAttachmentWorkerConfigGpuArgsPtrOutput) MigEnable() pulumi.BoolPtrOutput
- func (o ClusterAttachmentWorkerConfigGpuArgsPtrOutput) ToClusterAttachmentWorkerConfigGpuArgsPtrOutput() ClusterAttachmentWorkerConfigGpuArgsPtrOutput
- func (o ClusterAttachmentWorkerConfigGpuArgsPtrOutput) ToClusterAttachmentWorkerConfigGpuArgsPtrOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigGpuArgsPtrOutput
- type ClusterAttachmentWorkerConfigInput
- type ClusterAttachmentWorkerConfigOutput
- func (o ClusterAttachmentWorkerConfigOutput) DataDisks() ClusterAttachmentWorkerConfigDataDiskArrayOutput
- func (o ClusterAttachmentWorkerConfigOutput) DesiredPodNum() pulumi.IntPtrOutput
- func (o ClusterAttachmentWorkerConfigOutput) DockerGraphPath() pulumi.StringPtrOutput
- func (ClusterAttachmentWorkerConfigOutput) ElementType() reflect.Type
- func (o ClusterAttachmentWorkerConfigOutput) ExtraArgs() pulumi.StringArrayOutput
- func (o ClusterAttachmentWorkerConfigOutput) GpuArgs() ClusterAttachmentWorkerConfigGpuArgsPtrOutput
- func (o ClusterAttachmentWorkerConfigOutput) IsSchedule() pulumi.BoolPtrOutput
- func (o ClusterAttachmentWorkerConfigOutput) MountTarget() pulumi.StringPtrOutput
- func (o ClusterAttachmentWorkerConfigOutput) ToClusterAttachmentWorkerConfigOutput() ClusterAttachmentWorkerConfigOutput
- func (o ClusterAttachmentWorkerConfigOutput) ToClusterAttachmentWorkerConfigOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOutput
- func (o ClusterAttachmentWorkerConfigOutput) ToClusterAttachmentWorkerConfigPtrOutput() ClusterAttachmentWorkerConfigPtrOutput
- func (o ClusterAttachmentWorkerConfigOutput) ToClusterAttachmentWorkerConfigPtrOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigPtrOutput
- func (o ClusterAttachmentWorkerConfigOutput) UserData() pulumi.StringPtrOutput
- type ClusterAttachmentWorkerConfigOverrides
- type ClusterAttachmentWorkerConfigOverridesArgs
- func (ClusterAttachmentWorkerConfigOverridesArgs) ElementType() reflect.Type
- func (i ClusterAttachmentWorkerConfigOverridesArgs) ToClusterAttachmentWorkerConfigOverridesOutput() ClusterAttachmentWorkerConfigOverridesOutput
- func (i ClusterAttachmentWorkerConfigOverridesArgs) ToClusterAttachmentWorkerConfigOverridesOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesOutput
- func (i ClusterAttachmentWorkerConfigOverridesArgs) ToClusterAttachmentWorkerConfigOverridesPtrOutput() ClusterAttachmentWorkerConfigOverridesPtrOutput
- func (i ClusterAttachmentWorkerConfigOverridesArgs) ToClusterAttachmentWorkerConfigOverridesPtrOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesPtrOutput
- type ClusterAttachmentWorkerConfigOverridesDataDisk
- type ClusterAttachmentWorkerConfigOverridesDataDiskArgs
- func (ClusterAttachmentWorkerConfigOverridesDataDiskArgs) ElementType() reflect.Type
- func (i ClusterAttachmentWorkerConfigOverridesDataDiskArgs) ToClusterAttachmentWorkerConfigOverridesDataDiskOutput() ClusterAttachmentWorkerConfigOverridesDataDiskOutput
- func (i ClusterAttachmentWorkerConfigOverridesDataDiskArgs) ToClusterAttachmentWorkerConfigOverridesDataDiskOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesDataDiskOutput
- type ClusterAttachmentWorkerConfigOverridesDataDiskArray
- func (ClusterAttachmentWorkerConfigOverridesDataDiskArray) ElementType() reflect.Type
- func (i ClusterAttachmentWorkerConfigOverridesDataDiskArray) ToClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput() ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput
- func (i ClusterAttachmentWorkerConfigOverridesDataDiskArray) ToClusterAttachmentWorkerConfigOverridesDataDiskArrayOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput
- type ClusterAttachmentWorkerConfigOverridesDataDiskArrayInput
- type ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput
- func (ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput) ElementType() reflect.Type
- func (o ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput) Index(i pulumi.IntInput) ClusterAttachmentWorkerConfigOverridesDataDiskOutput
- func (o ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput) ToClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput() ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput
- func (o ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput) ToClusterAttachmentWorkerConfigOverridesDataDiskArrayOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput
- type ClusterAttachmentWorkerConfigOverridesDataDiskInput
- type ClusterAttachmentWorkerConfigOverridesDataDiskOutput
- func (o ClusterAttachmentWorkerConfigOverridesDataDiskOutput) AutoFormatAndMount() pulumi.BoolPtrOutput
- func (o ClusterAttachmentWorkerConfigOverridesDataDiskOutput) DiskPartition() pulumi.StringPtrOutput
- func (o ClusterAttachmentWorkerConfigOverridesDataDiskOutput) DiskSize() pulumi.IntPtrOutput
- func (o ClusterAttachmentWorkerConfigOverridesDataDiskOutput) DiskType() pulumi.StringPtrOutput
- func (ClusterAttachmentWorkerConfigOverridesDataDiskOutput) ElementType() reflect.Type
- func (o ClusterAttachmentWorkerConfigOverridesDataDiskOutput) FileSystem() pulumi.StringPtrOutput
- func (o ClusterAttachmentWorkerConfigOverridesDataDiskOutput) MountTarget() pulumi.StringPtrOutput
- func (o ClusterAttachmentWorkerConfigOverridesDataDiskOutput) ToClusterAttachmentWorkerConfigOverridesDataDiskOutput() ClusterAttachmentWorkerConfigOverridesDataDiskOutput
- func (o ClusterAttachmentWorkerConfigOverridesDataDiskOutput) ToClusterAttachmentWorkerConfigOverridesDataDiskOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesDataDiskOutput
- type ClusterAttachmentWorkerConfigOverridesGpuArgs
- type ClusterAttachmentWorkerConfigOverridesGpuArgsArgs
- func (ClusterAttachmentWorkerConfigOverridesGpuArgsArgs) ElementType() reflect.Type
- func (i ClusterAttachmentWorkerConfigOverridesGpuArgsArgs) ToClusterAttachmentWorkerConfigOverridesGpuArgsOutput() ClusterAttachmentWorkerConfigOverridesGpuArgsOutput
- func (i ClusterAttachmentWorkerConfigOverridesGpuArgsArgs) ToClusterAttachmentWorkerConfigOverridesGpuArgsOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesGpuArgsOutput
- func (i ClusterAttachmentWorkerConfigOverridesGpuArgsArgs) ToClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput() ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput
- func (i ClusterAttachmentWorkerConfigOverridesGpuArgsArgs) ToClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput
- type ClusterAttachmentWorkerConfigOverridesGpuArgsInput
- type ClusterAttachmentWorkerConfigOverridesGpuArgsOutput
- func (o ClusterAttachmentWorkerConfigOverridesGpuArgsOutput) Cuda() pulumi.MapOutput
- func (o ClusterAttachmentWorkerConfigOverridesGpuArgsOutput) Cudnn() pulumi.MapOutput
- func (o ClusterAttachmentWorkerConfigOverridesGpuArgsOutput) CustomDriver() pulumi.MapOutput
- func (o ClusterAttachmentWorkerConfigOverridesGpuArgsOutput) Driver() pulumi.MapOutput
- func (ClusterAttachmentWorkerConfigOverridesGpuArgsOutput) ElementType() reflect.Type
- func (o ClusterAttachmentWorkerConfigOverridesGpuArgsOutput) MigEnable() pulumi.BoolPtrOutput
- func (o ClusterAttachmentWorkerConfigOverridesGpuArgsOutput) ToClusterAttachmentWorkerConfigOverridesGpuArgsOutput() ClusterAttachmentWorkerConfigOverridesGpuArgsOutput
- func (o ClusterAttachmentWorkerConfigOverridesGpuArgsOutput) ToClusterAttachmentWorkerConfigOverridesGpuArgsOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesGpuArgsOutput
- func (o ClusterAttachmentWorkerConfigOverridesGpuArgsOutput) ToClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput() ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput
- func (o ClusterAttachmentWorkerConfigOverridesGpuArgsOutput) ToClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput
- type ClusterAttachmentWorkerConfigOverridesGpuArgsPtrInput
- type ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput
- func (o ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput) Cuda() pulumi.MapOutput
- func (o ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput) Cudnn() pulumi.MapOutput
- func (o ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput) CustomDriver() pulumi.MapOutput
- func (o ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput) Driver() pulumi.MapOutput
- func (o ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput) Elem() ClusterAttachmentWorkerConfigOverridesGpuArgsOutput
- func (ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput) ElementType() reflect.Type
- func (o ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput) MigEnable() pulumi.BoolPtrOutput
- func (o ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput) ToClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput() ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput
- func (o ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput) ToClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput
- type ClusterAttachmentWorkerConfigOverridesInput
- type ClusterAttachmentWorkerConfigOverridesOutput
- func (o ClusterAttachmentWorkerConfigOverridesOutput) DataDisks() ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput
- func (o ClusterAttachmentWorkerConfigOverridesOutput) DesiredPodNum() pulumi.IntPtrOutput
- func (o ClusterAttachmentWorkerConfigOverridesOutput) DockerGraphPath() pulumi.StringPtrOutput
- func (ClusterAttachmentWorkerConfigOverridesOutput) ElementType() reflect.Type
- func (o ClusterAttachmentWorkerConfigOverridesOutput) ExtraArgs() pulumi.StringArrayOutput
- func (o ClusterAttachmentWorkerConfigOverridesOutput) GpuArgs() ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput
- func (o ClusterAttachmentWorkerConfigOverridesOutput) IsSchedule() pulumi.BoolPtrOutput
- func (o ClusterAttachmentWorkerConfigOverridesOutput) MountTarget() pulumi.StringPtrOutput
- func (o ClusterAttachmentWorkerConfigOverridesOutput) ToClusterAttachmentWorkerConfigOverridesOutput() ClusterAttachmentWorkerConfigOverridesOutput
- func (o ClusterAttachmentWorkerConfigOverridesOutput) ToClusterAttachmentWorkerConfigOverridesOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesOutput
- func (o ClusterAttachmentWorkerConfigOverridesOutput) ToClusterAttachmentWorkerConfigOverridesPtrOutput() ClusterAttachmentWorkerConfigOverridesPtrOutput
- func (o ClusterAttachmentWorkerConfigOverridesOutput) ToClusterAttachmentWorkerConfigOverridesPtrOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesPtrOutput
- func (o ClusterAttachmentWorkerConfigOverridesOutput) UserData() pulumi.StringPtrOutput
- type ClusterAttachmentWorkerConfigOverridesPtrInput
- type ClusterAttachmentWorkerConfigOverridesPtrOutput
- func (o ClusterAttachmentWorkerConfigOverridesPtrOutput) DataDisks() ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput
- func (o ClusterAttachmentWorkerConfigOverridesPtrOutput) DesiredPodNum() pulumi.IntPtrOutput
- func (o ClusterAttachmentWorkerConfigOverridesPtrOutput) DockerGraphPath() pulumi.StringPtrOutput
- func (o ClusterAttachmentWorkerConfigOverridesPtrOutput) Elem() ClusterAttachmentWorkerConfigOverridesOutput
- func (ClusterAttachmentWorkerConfigOverridesPtrOutput) ElementType() reflect.Type
- func (o ClusterAttachmentWorkerConfigOverridesPtrOutput) ExtraArgs() pulumi.StringArrayOutput
- func (o ClusterAttachmentWorkerConfigOverridesPtrOutput) GpuArgs() ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput
- func (o ClusterAttachmentWorkerConfigOverridesPtrOutput) IsSchedule() pulumi.BoolPtrOutput
- func (o ClusterAttachmentWorkerConfigOverridesPtrOutput) MountTarget() pulumi.StringPtrOutput
- func (o ClusterAttachmentWorkerConfigOverridesPtrOutput) ToClusterAttachmentWorkerConfigOverridesPtrOutput() ClusterAttachmentWorkerConfigOverridesPtrOutput
- func (o ClusterAttachmentWorkerConfigOverridesPtrOutput) ToClusterAttachmentWorkerConfigOverridesPtrOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesPtrOutput
- func (o ClusterAttachmentWorkerConfigOverridesPtrOutput) UserData() pulumi.StringPtrOutput
- type ClusterAttachmentWorkerConfigPtrInput
- type ClusterAttachmentWorkerConfigPtrOutput
- func (o ClusterAttachmentWorkerConfigPtrOutput) DataDisks() ClusterAttachmentWorkerConfigDataDiskArrayOutput
- func (o ClusterAttachmentWorkerConfigPtrOutput) DesiredPodNum() pulumi.IntPtrOutput
- func (o ClusterAttachmentWorkerConfigPtrOutput) DockerGraphPath() pulumi.StringPtrOutput
- func (o ClusterAttachmentWorkerConfigPtrOutput) Elem() ClusterAttachmentWorkerConfigOutput
- func (ClusterAttachmentWorkerConfigPtrOutput) ElementType() reflect.Type
- func (o ClusterAttachmentWorkerConfigPtrOutput) ExtraArgs() pulumi.StringArrayOutput
- func (o ClusterAttachmentWorkerConfigPtrOutput) GpuArgs() ClusterAttachmentWorkerConfigGpuArgsPtrOutput
- func (o ClusterAttachmentWorkerConfigPtrOutput) IsSchedule() pulumi.BoolPtrOutput
- func (o ClusterAttachmentWorkerConfigPtrOutput) MountTarget() pulumi.StringPtrOutput
- func (o ClusterAttachmentWorkerConfigPtrOutput) ToClusterAttachmentWorkerConfigPtrOutput() ClusterAttachmentWorkerConfigPtrOutput
- func (o ClusterAttachmentWorkerConfigPtrOutput) ToClusterAttachmentWorkerConfigPtrOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigPtrOutput
- func (o ClusterAttachmentWorkerConfigPtrOutput) UserData() pulumi.StringPtrOutput
- type ClusterAuthOptions
- type ClusterAuthOptionsArgs
- func (ClusterAuthOptionsArgs) ElementType() reflect.Type
- func (i ClusterAuthOptionsArgs) ToClusterAuthOptionsOutput() ClusterAuthOptionsOutput
- func (i ClusterAuthOptionsArgs) ToClusterAuthOptionsOutputWithContext(ctx context.Context) ClusterAuthOptionsOutput
- func (i ClusterAuthOptionsArgs) ToClusterAuthOptionsPtrOutput() ClusterAuthOptionsPtrOutput
- func (i ClusterAuthOptionsArgs) ToClusterAuthOptionsPtrOutputWithContext(ctx context.Context) ClusterAuthOptionsPtrOutput
- type ClusterAuthOptionsInput
- type ClusterAuthOptionsOutput
- func (o ClusterAuthOptionsOutput) AutoCreateDiscoveryAnonymousAuth() pulumi.BoolPtrOutput
- func (ClusterAuthOptionsOutput) ElementType() reflect.Type
- func (o ClusterAuthOptionsOutput) Issuer() pulumi.StringPtrOutput
- func (o ClusterAuthOptionsOutput) JwksUri() pulumi.StringPtrOutput
- func (o ClusterAuthOptionsOutput) ToClusterAuthOptionsOutput() ClusterAuthOptionsOutput
- func (o ClusterAuthOptionsOutput) ToClusterAuthOptionsOutputWithContext(ctx context.Context) ClusterAuthOptionsOutput
- func (o ClusterAuthOptionsOutput) ToClusterAuthOptionsPtrOutput() ClusterAuthOptionsPtrOutput
- func (o ClusterAuthOptionsOutput) ToClusterAuthOptionsPtrOutputWithContext(ctx context.Context) ClusterAuthOptionsPtrOutput
- func (o ClusterAuthOptionsOutput) UseTkeDefault() pulumi.BoolPtrOutput
- type ClusterAuthOptionsPtrInput
- type ClusterAuthOptionsPtrOutput
- func (o ClusterAuthOptionsPtrOutput) AutoCreateDiscoveryAnonymousAuth() pulumi.BoolPtrOutput
- func (o ClusterAuthOptionsPtrOutput) Elem() ClusterAuthOptionsOutput
- func (ClusterAuthOptionsPtrOutput) ElementType() reflect.Type
- func (o ClusterAuthOptionsPtrOutput) Issuer() pulumi.StringPtrOutput
- func (o ClusterAuthOptionsPtrOutput) JwksUri() pulumi.StringPtrOutput
- func (o ClusterAuthOptionsPtrOutput) ToClusterAuthOptionsPtrOutput() ClusterAuthOptionsPtrOutput
- func (o ClusterAuthOptionsPtrOutput) ToClusterAuthOptionsPtrOutputWithContext(ctx context.Context) ClusterAuthOptionsPtrOutput
- func (o ClusterAuthOptionsPtrOutput) UseTkeDefault() pulumi.BoolPtrOutput
- type ClusterClusterAudit
- type ClusterClusterAuditArgs
- func (ClusterClusterAuditArgs) ElementType() reflect.Type
- func (i ClusterClusterAuditArgs) ToClusterClusterAuditOutput() ClusterClusterAuditOutput
- func (i ClusterClusterAuditArgs) ToClusterClusterAuditOutputWithContext(ctx context.Context) ClusterClusterAuditOutput
- func (i ClusterClusterAuditArgs) ToClusterClusterAuditPtrOutput() ClusterClusterAuditPtrOutput
- func (i ClusterClusterAuditArgs) ToClusterClusterAuditPtrOutputWithContext(ctx context.Context) ClusterClusterAuditPtrOutput
- type ClusterClusterAuditInput
- type ClusterClusterAuditOutput
- func (o ClusterClusterAuditOutput) DeleteAuditLogAndTopic() pulumi.BoolPtrOutput
- func (ClusterClusterAuditOutput) ElementType() reflect.Type
- func (o ClusterClusterAuditOutput) Enabled() pulumi.BoolOutput
- func (o ClusterClusterAuditOutput) LogSetId() pulumi.StringPtrOutput
- func (o ClusterClusterAuditOutput) ToClusterClusterAuditOutput() ClusterClusterAuditOutput
- func (o ClusterClusterAuditOutput) ToClusterClusterAuditOutputWithContext(ctx context.Context) ClusterClusterAuditOutput
- func (o ClusterClusterAuditOutput) ToClusterClusterAuditPtrOutput() ClusterClusterAuditPtrOutput
- func (o ClusterClusterAuditOutput) ToClusterClusterAuditPtrOutputWithContext(ctx context.Context) ClusterClusterAuditPtrOutput
- func (o ClusterClusterAuditOutput) TopicId() pulumi.StringPtrOutput
- type ClusterClusterAuditPtrInput
- type ClusterClusterAuditPtrOutput
- func (o ClusterClusterAuditPtrOutput) DeleteAuditLogAndTopic() pulumi.BoolPtrOutput
- func (o ClusterClusterAuditPtrOutput) Elem() ClusterClusterAuditOutput
- func (ClusterClusterAuditPtrOutput) ElementType() reflect.Type
- func (o ClusterClusterAuditPtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o ClusterClusterAuditPtrOutput) LogSetId() pulumi.StringPtrOutput
- func (o ClusterClusterAuditPtrOutput) ToClusterClusterAuditPtrOutput() ClusterClusterAuditPtrOutput
- func (o ClusterClusterAuditPtrOutput) ToClusterClusterAuditPtrOutputWithContext(ctx context.Context) ClusterClusterAuditPtrOutput
- func (o ClusterClusterAuditPtrOutput) TopicId() pulumi.StringPtrOutput
- type ClusterClusterExtraArgs
- type ClusterClusterExtraArgsArgs
- func (ClusterClusterExtraArgsArgs) ElementType() reflect.Type
- func (i ClusterClusterExtraArgsArgs) ToClusterClusterExtraArgsOutput() ClusterClusterExtraArgsOutput
- func (i ClusterClusterExtraArgsArgs) ToClusterClusterExtraArgsOutputWithContext(ctx context.Context) ClusterClusterExtraArgsOutput
- func (i ClusterClusterExtraArgsArgs) ToClusterClusterExtraArgsPtrOutput() ClusterClusterExtraArgsPtrOutput
- func (i ClusterClusterExtraArgsArgs) ToClusterClusterExtraArgsPtrOutputWithContext(ctx context.Context) ClusterClusterExtraArgsPtrOutput
- type ClusterClusterExtraArgsInput
- type ClusterClusterExtraArgsOutput
- func (ClusterClusterExtraArgsOutput) ElementType() reflect.Type
- func (o ClusterClusterExtraArgsOutput) KubeApiservers() pulumi.StringArrayOutput
- func (o ClusterClusterExtraArgsOutput) KubeControllerManagers() pulumi.StringArrayOutput
- func (o ClusterClusterExtraArgsOutput) KubeSchedulers() pulumi.StringArrayOutput
- func (o ClusterClusterExtraArgsOutput) ToClusterClusterExtraArgsOutput() ClusterClusterExtraArgsOutput
- func (o ClusterClusterExtraArgsOutput) ToClusterClusterExtraArgsOutputWithContext(ctx context.Context) ClusterClusterExtraArgsOutput
- func (o ClusterClusterExtraArgsOutput) ToClusterClusterExtraArgsPtrOutput() ClusterClusterExtraArgsPtrOutput
- func (o ClusterClusterExtraArgsOutput) ToClusterClusterExtraArgsPtrOutputWithContext(ctx context.Context) ClusterClusterExtraArgsPtrOutput
- type ClusterClusterExtraArgsPtrInput
- type ClusterClusterExtraArgsPtrOutput
- func (o ClusterClusterExtraArgsPtrOutput) Elem() ClusterClusterExtraArgsOutput
- func (ClusterClusterExtraArgsPtrOutput) ElementType() reflect.Type
- func (o ClusterClusterExtraArgsPtrOutput) KubeApiservers() pulumi.StringArrayOutput
- func (o ClusterClusterExtraArgsPtrOutput) KubeControllerManagers() pulumi.StringArrayOutput
- func (o ClusterClusterExtraArgsPtrOutput) KubeSchedulers() pulumi.StringArrayOutput
- func (o ClusterClusterExtraArgsPtrOutput) ToClusterClusterExtraArgsPtrOutput() ClusterClusterExtraArgsPtrOutput
- func (o ClusterClusterExtraArgsPtrOutput) ToClusterClusterExtraArgsPtrOutputWithContext(ctx context.Context) ClusterClusterExtraArgsPtrOutput
- type ClusterEndpoint
- type ClusterEndpointArgs
- type ClusterEndpointArray
- type ClusterEndpointArrayInput
- type ClusterEndpointArrayOutput
- func (ClusterEndpointArrayOutput) ElementType() reflect.Type
- func (o ClusterEndpointArrayOutput) Index(i pulumi.IntInput) ClusterEndpointOutput
- func (o ClusterEndpointArrayOutput) ToClusterEndpointArrayOutput() ClusterEndpointArrayOutput
- func (o ClusterEndpointArrayOutput) ToClusterEndpointArrayOutputWithContext(ctx context.Context) ClusterEndpointArrayOutput
- type ClusterEndpointInput
- type ClusterEndpointMap
- type ClusterEndpointMapInput
- type ClusterEndpointMapOutput
- func (ClusterEndpointMapOutput) ElementType() reflect.Type
- func (o ClusterEndpointMapOutput) MapIndex(k pulumi.StringInput) ClusterEndpointOutput
- func (o ClusterEndpointMapOutput) ToClusterEndpointMapOutput() ClusterEndpointMapOutput
- func (o ClusterEndpointMapOutput) ToClusterEndpointMapOutputWithContext(ctx context.Context) ClusterEndpointMapOutput
- type ClusterEndpointOutput
- func (o ClusterEndpointOutput) CertificationAuthority() pulumi.StringOutput
- func (o ClusterEndpointOutput) ClusterDeployType() pulumi.StringOutput
- func (o ClusterEndpointOutput) ClusterExternalEndpoint() pulumi.StringOutput
- func (o ClusterEndpointOutput) ClusterId() pulumi.StringOutput
- func (o ClusterEndpointOutput) ClusterInternet() pulumi.BoolPtrOutput
- func (o ClusterEndpointOutput) ClusterInternetDomain() pulumi.StringPtrOutput
- func (o ClusterEndpointOutput) ClusterInternetSecurityGroup() pulumi.StringPtrOutput
- func (o ClusterEndpointOutput) ClusterIntranet() pulumi.BoolPtrOutput
- func (o ClusterEndpointOutput) ClusterIntranetDomain() pulumi.StringPtrOutput
- func (o ClusterEndpointOutput) ClusterIntranetSubnetId() pulumi.StringPtrOutput
- func (o ClusterEndpointOutput) Domain() pulumi.StringOutput
- func (ClusterEndpointOutput) ElementType() reflect.Type
- func (o ClusterEndpointOutput) ManagedClusterInternetSecurityPolicies() pulumi.StringArrayOutputdeprecated
- func (o ClusterEndpointOutput) Password() pulumi.StringOutput
- func (o ClusterEndpointOutput) PgwEndpoint() pulumi.StringOutput
- func (o ClusterEndpointOutput) ToClusterEndpointOutput() ClusterEndpointOutput
- func (o ClusterEndpointOutput) ToClusterEndpointOutputWithContext(ctx context.Context) ClusterEndpointOutput
- func (o ClusterEndpointOutput) UserName() pulumi.StringOutput
- type ClusterEndpointState
- type ClusterEventPersistence
- type ClusterEventPersistenceArgs
- func (ClusterEventPersistenceArgs) ElementType() reflect.Type
- func (i ClusterEventPersistenceArgs) ToClusterEventPersistenceOutput() ClusterEventPersistenceOutput
- func (i ClusterEventPersistenceArgs) ToClusterEventPersistenceOutputWithContext(ctx context.Context) ClusterEventPersistenceOutput
- func (i ClusterEventPersistenceArgs) ToClusterEventPersistencePtrOutput() ClusterEventPersistencePtrOutput
- func (i ClusterEventPersistenceArgs) ToClusterEventPersistencePtrOutputWithContext(ctx context.Context) ClusterEventPersistencePtrOutput
- type ClusterEventPersistenceInput
- type ClusterEventPersistenceOutput
- func (o ClusterEventPersistenceOutput) DeleteEventLogAndTopic() pulumi.BoolPtrOutput
- func (ClusterEventPersistenceOutput) ElementType() reflect.Type
- func (o ClusterEventPersistenceOutput) Enabled() pulumi.BoolOutput
- func (o ClusterEventPersistenceOutput) LogSetId() pulumi.StringPtrOutput
- func (o ClusterEventPersistenceOutput) ToClusterEventPersistenceOutput() ClusterEventPersistenceOutput
- func (o ClusterEventPersistenceOutput) ToClusterEventPersistenceOutputWithContext(ctx context.Context) ClusterEventPersistenceOutput
- func (o ClusterEventPersistenceOutput) ToClusterEventPersistencePtrOutput() ClusterEventPersistencePtrOutput
- func (o ClusterEventPersistenceOutput) ToClusterEventPersistencePtrOutputWithContext(ctx context.Context) ClusterEventPersistencePtrOutput
- func (o ClusterEventPersistenceOutput) TopicId() pulumi.StringPtrOutput
- type ClusterEventPersistencePtrInput
- type ClusterEventPersistencePtrOutput
- func (o ClusterEventPersistencePtrOutput) DeleteEventLogAndTopic() pulumi.BoolPtrOutput
- func (o ClusterEventPersistencePtrOutput) Elem() ClusterEventPersistenceOutput
- func (ClusterEventPersistencePtrOutput) ElementType() reflect.Type
- func (o ClusterEventPersistencePtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o ClusterEventPersistencePtrOutput) LogSetId() pulumi.StringPtrOutput
- func (o ClusterEventPersistencePtrOutput) ToClusterEventPersistencePtrOutput() ClusterEventPersistencePtrOutput
- func (o ClusterEventPersistencePtrOutput) ToClusterEventPersistencePtrOutputWithContext(ctx context.Context) ClusterEventPersistencePtrOutput
- func (o ClusterEventPersistencePtrOutput) TopicId() pulumi.StringPtrOutput
- type ClusterExistInstance
- type ClusterExistInstanceArgs
- type ClusterExistInstanceArray
- type ClusterExistInstanceArrayInput
- type ClusterExistInstanceArrayOutput
- func (ClusterExistInstanceArrayOutput) ElementType() reflect.Type
- func (o ClusterExistInstanceArrayOutput) Index(i pulumi.IntInput) ClusterExistInstanceOutput
- func (o ClusterExistInstanceArrayOutput) ToClusterExistInstanceArrayOutput() ClusterExistInstanceArrayOutput
- func (o ClusterExistInstanceArrayOutput) ToClusterExistInstanceArrayOutputWithContext(ctx context.Context) ClusterExistInstanceArrayOutput
- type ClusterExistInstanceInput
- type ClusterExistInstanceInstancesPara
- type ClusterExistInstanceInstancesParaArgs
- func (ClusterExistInstanceInstancesParaArgs) ElementType() reflect.Type
- func (i ClusterExistInstanceInstancesParaArgs) ToClusterExistInstanceInstancesParaOutput() ClusterExistInstanceInstancesParaOutput
- func (i ClusterExistInstanceInstancesParaArgs) ToClusterExistInstanceInstancesParaOutputWithContext(ctx context.Context) ClusterExistInstanceInstancesParaOutput
- func (i ClusterExistInstanceInstancesParaArgs) ToClusterExistInstanceInstancesParaPtrOutput() ClusterExistInstanceInstancesParaPtrOutput
- func (i ClusterExistInstanceInstancesParaArgs) ToClusterExistInstanceInstancesParaPtrOutputWithContext(ctx context.Context) ClusterExistInstanceInstancesParaPtrOutput
- type ClusterExistInstanceInstancesParaInput
- type ClusterExistInstanceInstancesParaOutput
- func (ClusterExistInstanceInstancesParaOutput) ElementType() reflect.Type
- func (o ClusterExistInstanceInstancesParaOutput) InstanceIds() pulumi.StringArrayOutput
- func (o ClusterExistInstanceInstancesParaOutput) ToClusterExistInstanceInstancesParaOutput() ClusterExistInstanceInstancesParaOutput
- func (o ClusterExistInstanceInstancesParaOutput) ToClusterExistInstanceInstancesParaOutputWithContext(ctx context.Context) ClusterExistInstanceInstancesParaOutput
- func (o ClusterExistInstanceInstancesParaOutput) ToClusterExistInstanceInstancesParaPtrOutput() ClusterExistInstanceInstancesParaPtrOutput
- func (o ClusterExistInstanceInstancesParaOutput) ToClusterExistInstanceInstancesParaPtrOutputWithContext(ctx context.Context) ClusterExistInstanceInstancesParaPtrOutput
- type ClusterExistInstanceInstancesParaPtrInput
- type ClusterExistInstanceInstancesParaPtrOutput
- func (o ClusterExistInstanceInstancesParaPtrOutput) Elem() ClusterExistInstanceInstancesParaOutput
- func (ClusterExistInstanceInstancesParaPtrOutput) ElementType() reflect.Type
- func (o ClusterExistInstanceInstancesParaPtrOutput) InstanceIds() pulumi.StringArrayOutput
- func (o ClusterExistInstanceInstancesParaPtrOutput) ToClusterExistInstanceInstancesParaPtrOutput() ClusterExistInstanceInstancesParaPtrOutput
- func (o ClusterExistInstanceInstancesParaPtrOutput) ToClusterExistInstanceInstancesParaPtrOutputWithContext(ctx context.Context) ClusterExistInstanceInstancesParaPtrOutput
- type ClusterExistInstanceOutput
- func (o ClusterExistInstanceOutput) DesiredPodNumbers() pulumi.IntArrayOutput
- func (ClusterExistInstanceOutput) ElementType() reflect.Type
- func (o ClusterExistInstanceOutput) InstancesPara() ClusterExistInstanceInstancesParaPtrOutput
- func (o ClusterExistInstanceOutput) NodeRole() pulumi.StringPtrOutput
- func (o ClusterExistInstanceOutput) ToClusterExistInstanceOutput() ClusterExistInstanceOutput
- func (o ClusterExistInstanceOutput) ToClusterExistInstanceOutputWithContext(ctx context.Context) ClusterExistInstanceOutput
- type ClusterExtensionAddon
- type ClusterExtensionAddonArgs
- type ClusterExtensionAddonArray
- func (ClusterExtensionAddonArray) ElementType() reflect.Type
- func (i ClusterExtensionAddonArray) ToClusterExtensionAddonArrayOutput() ClusterExtensionAddonArrayOutput
- func (i ClusterExtensionAddonArray) ToClusterExtensionAddonArrayOutputWithContext(ctx context.Context) ClusterExtensionAddonArrayOutput
- type ClusterExtensionAddonArrayInput
- type ClusterExtensionAddonArrayOutput
- func (ClusterExtensionAddonArrayOutput) ElementType() reflect.Type
- func (o ClusterExtensionAddonArrayOutput) Index(i pulumi.IntInput) ClusterExtensionAddonOutput
- func (o ClusterExtensionAddonArrayOutput) ToClusterExtensionAddonArrayOutput() ClusterExtensionAddonArrayOutput
- func (o ClusterExtensionAddonArrayOutput) ToClusterExtensionAddonArrayOutputWithContext(ctx context.Context) ClusterExtensionAddonArrayOutput
- type ClusterExtensionAddonInput
- type ClusterExtensionAddonOutput
- func (ClusterExtensionAddonOutput) ElementType() reflect.Type
- func (o ClusterExtensionAddonOutput) Name() pulumi.StringOutput
- func (o ClusterExtensionAddonOutput) Param() pulumi.StringOutput
- func (o ClusterExtensionAddonOutput) ToClusterExtensionAddonOutput() ClusterExtensionAddonOutput
- func (o ClusterExtensionAddonOutput) ToClusterExtensionAddonOutputWithContext(ctx context.Context) ClusterExtensionAddonOutput
- type ClusterInput
- type ClusterLogAgent
- type ClusterLogAgentArgs
- func (ClusterLogAgentArgs) ElementType() reflect.Type
- func (i ClusterLogAgentArgs) ToClusterLogAgentOutput() ClusterLogAgentOutput
- func (i ClusterLogAgentArgs) ToClusterLogAgentOutputWithContext(ctx context.Context) ClusterLogAgentOutput
- func (i ClusterLogAgentArgs) ToClusterLogAgentPtrOutput() ClusterLogAgentPtrOutput
- func (i ClusterLogAgentArgs) ToClusterLogAgentPtrOutputWithContext(ctx context.Context) ClusterLogAgentPtrOutput
- type ClusterLogAgentInput
- type ClusterLogAgentOutput
- func (ClusterLogAgentOutput) ElementType() reflect.Type
- func (o ClusterLogAgentOutput) Enabled() pulumi.BoolOutput
- func (o ClusterLogAgentOutput) KubeletRootDir() pulumi.StringPtrOutput
- func (o ClusterLogAgentOutput) ToClusterLogAgentOutput() ClusterLogAgentOutput
- func (o ClusterLogAgentOutput) ToClusterLogAgentOutputWithContext(ctx context.Context) ClusterLogAgentOutput
- func (o ClusterLogAgentOutput) ToClusterLogAgentPtrOutput() ClusterLogAgentPtrOutput
- func (o ClusterLogAgentOutput) ToClusterLogAgentPtrOutputWithContext(ctx context.Context) ClusterLogAgentPtrOutput
- type ClusterLogAgentPtrInput
- type ClusterLogAgentPtrOutput
- func (o ClusterLogAgentPtrOutput) Elem() ClusterLogAgentOutput
- func (ClusterLogAgentPtrOutput) ElementType() reflect.Type
- func (o ClusterLogAgentPtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o ClusterLogAgentPtrOutput) KubeletRootDir() pulumi.StringPtrOutput
- func (o ClusterLogAgentPtrOutput) ToClusterLogAgentPtrOutput() ClusterLogAgentPtrOutput
- func (o ClusterLogAgentPtrOutput) ToClusterLogAgentPtrOutputWithContext(ctx context.Context) ClusterLogAgentPtrOutput
- type ClusterMap
- type ClusterMapInput
- type ClusterMapOutput
- type ClusterMasterConfig
- type ClusterMasterConfigArgs
- type ClusterMasterConfigArray
- type ClusterMasterConfigArrayInput
- type ClusterMasterConfigArrayOutput
- func (ClusterMasterConfigArrayOutput) ElementType() reflect.Type
- func (o ClusterMasterConfigArrayOutput) Index(i pulumi.IntInput) ClusterMasterConfigOutput
- func (o ClusterMasterConfigArrayOutput) ToClusterMasterConfigArrayOutput() ClusterMasterConfigArrayOutput
- func (o ClusterMasterConfigArrayOutput) ToClusterMasterConfigArrayOutputWithContext(ctx context.Context) ClusterMasterConfigArrayOutput
- type ClusterMasterConfigDataDisk
- type ClusterMasterConfigDataDiskArgs
- func (ClusterMasterConfigDataDiskArgs) ElementType() reflect.Type
- func (i ClusterMasterConfigDataDiskArgs) ToClusterMasterConfigDataDiskOutput() ClusterMasterConfigDataDiskOutput
- func (i ClusterMasterConfigDataDiskArgs) ToClusterMasterConfigDataDiskOutputWithContext(ctx context.Context) ClusterMasterConfigDataDiskOutput
- type ClusterMasterConfigDataDiskArray
- func (ClusterMasterConfigDataDiskArray) ElementType() reflect.Type
- func (i ClusterMasterConfigDataDiskArray) ToClusterMasterConfigDataDiskArrayOutput() ClusterMasterConfigDataDiskArrayOutput
- func (i ClusterMasterConfigDataDiskArray) ToClusterMasterConfigDataDiskArrayOutputWithContext(ctx context.Context) ClusterMasterConfigDataDiskArrayOutput
- type ClusterMasterConfigDataDiskArrayInput
- type ClusterMasterConfigDataDiskArrayOutput
- func (ClusterMasterConfigDataDiskArrayOutput) ElementType() reflect.Type
- func (o ClusterMasterConfigDataDiskArrayOutput) Index(i pulumi.IntInput) ClusterMasterConfigDataDiskOutput
- func (o ClusterMasterConfigDataDiskArrayOutput) ToClusterMasterConfigDataDiskArrayOutput() ClusterMasterConfigDataDiskArrayOutput
- func (o ClusterMasterConfigDataDiskArrayOutput) ToClusterMasterConfigDataDiskArrayOutputWithContext(ctx context.Context) ClusterMasterConfigDataDiskArrayOutput
- type ClusterMasterConfigDataDiskInput
- type ClusterMasterConfigDataDiskOutput
- func (o ClusterMasterConfigDataDiskOutput) AutoFormatAndMount() pulumi.BoolPtrOutput
- func (o ClusterMasterConfigDataDiskOutput) DiskPartition() pulumi.StringPtrOutput
- func (o ClusterMasterConfigDataDiskOutput) DiskSize() pulumi.IntPtrOutput
- func (o ClusterMasterConfigDataDiskOutput) DiskType() pulumi.StringPtrOutput
- func (ClusterMasterConfigDataDiskOutput) ElementType() reflect.Type
- func (o ClusterMasterConfigDataDiskOutput) Encrypt() pulumi.BoolPtrOutput
- func (o ClusterMasterConfigDataDiskOutput) FileSystem() pulumi.StringPtrOutput
- func (o ClusterMasterConfigDataDiskOutput) KmsKeyId() pulumi.StringPtrOutput
- func (o ClusterMasterConfigDataDiskOutput) MountTarget() pulumi.StringPtrOutput
- func (o ClusterMasterConfigDataDiskOutput) SnapshotId() pulumi.StringPtrOutput
- func (o ClusterMasterConfigDataDiskOutput) ToClusterMasterConfigDataDiskOutput() ClusterMasterConfigDataDiskOutput
- func (o ClusterMasterConfigDataDiskOutput) ToClusterMasterConfigDataDiskOutputWithContext(ctx context.Context) ClusterMasterConfigDataDiskOutput
- type ClusterMasterConfigInput
- type ClusterMasterConfigOutput
- func (o ClusterMasterConfigOutput) AvailabilityZone() pulumi.StringPtrOutput
- func (o ClusterMasterConfigOutput) BandwidthPackageId() pulumi.StringPtrOutput
- func (o ClusterMasterConfigOutput) CamRoleName() pulumi.StringPtrOutput
- func (o ClusterMasterConfigOutput) Count() pulumi.IntPtrOutput
- func (o ClusterMasterConfigOutput) DataDisks() ClusterMasterConfigDataDiskArrayOutput
- func (o ClusterMasterConfigOutput) DesiredPodNum() pulumi.IntPtrOutput
- func (o ClusterMasterConfigOutput) DisasterRecoverGroupIds() pulumi.StringPtrOutput
- func (ClusterMasterConfigOutput) ElementType() reflect.Type
- func (o ClusterMasterConfigOutput) EnhancedMonitorService() pulumi.BoolPtrOutput
- func (o ClusterMasterConfigOutput) EnhancedSecurityService() pulumi.BoolPtrOutput
- func (o ClusterMasterConfigOutput) Hostname() pulumi.StringPtrOutput
- func (o ClusterMasterConfigOutput) HpcClusterId() pulumi.StringPtrOutput
- func (o ClusterMasterConfigOutput) ImgId() pulumi.StringPtrOutput
- func (o ClusterMasterConfigOutput) InstanceChargeType() pulumi.StringPtrOutput
- func (o ClusterMasterConfigOutput) InstanceChargeTypePrepaidPeriod() pulumi.IntPtrOutput
- func (o ClusterMasterConfigOutput) InstanceChargeTypePrepaidRenewFlag() pulumi.StringPtrOutput
- func (o ClusterMasterConfigOutput) InstanceName() pulumi.StringPtrOutput
- func (o ClusterMasterConfigOutput) InstanceType() pulumi.StringOutput
- func (o ClusterMasterConfigOutput) InternetChargeType() pulumi.StringPtrOutput
- func (o ClusterMasterConfigOutput) InternetMaxBandwidthOut() pulumi.IntPtrOutput
- func (o ClusterMasterConfigOutput) KeyIds() pulumi.StringPtrOutput
- func (o ClusterMasterConfigOutput) Password() pulumi.StringPtrOutput
- func (o ClusterMasterConfigOutput) PublicIpAssigned() pulumi.BoolPtrOutput
- func (o ClusterMasterConfigOutput) SecurityGroupIds() pulumi.StringArrayOutput
- func (o ClusterMasterConfigOutput) SubnetId() pulumi.StringOutput
- func (o ClusterMasterConfigOutput) SystemDiskSize() pulumi.IntPtrOutput
- func (o ClusterMasterConfigOutput) SystemDiskType() pulumi.StringPtrOutput
- func (o ClusterMasterConfigOutput) ToClusterMasterConfigOutput() ClusterMasterConfigOutput
- func (o ClusterMasterConfigOutput) ToClusterMasterConfigOutputWithContext(ctx context.Context) ClusterMasterConfigOutput
- func (o ClusterMasterConfigOutput) UserData() pulumi.StringPtrOutput
- type ClusterNodePoolGlobalConfig
- type ClusterNodePoolGlobalConfigArgs
- func (ClusterNodePoolGlobalConfigArgs) ElementType() reflect.Type
- func (i ClusterNodePoolGlobalConfigArgs) ToClusterNodePoolGlobalConfigOutput() ClusterNodePoolGlobalConfigOutput
- func (i ClusterNodePoolGlobalConfigArgs) ToClusterNodePoolGlobalConfigOutputWithContext(ctx context.Context) ClusterNodePoolGlobalConfigOutput
- type ClusterNodePoolGlobalConfigArray
- func (ClusterNodePoolGlobalConfigArray) ElementType() reflect.Type
- func (i ClusterNodePoolGlobalConfigArray) ToClusterNodePoolGlobalConfigArrayOutput() ClusterNodePoolGlobalConfigArrayOutput
- func (i ClusterNodePoolGlobalConfigArray) ToClusterNodePoolGlobalConfigArrayOutputWithContext(ctx context.Context) ClusterNodePoolGlobalConfigArrayOutput
- type ClusterNodePoolGlobalConfigArrayInput
- type ClusterNodePoolGlobalConfigArrayOutput
- func (ClusterNodePoolGlobalConfigArrayOutput) ElementType() reflect.Type
- func (o ClusterNodePoolGlobalConfigArrayOutput) Index(i pulumi.IntInput) ClusterNodePoolGlobalConfigOutput
- func (o ClusterNodePoolGlobalConfigArrayOutput) ToClusterNodePoolGlobalConfigArrayOutput() ClusterNodePoolGlobalConfigArrayOutput
- func (o ClusterNodePoolGlobalConfigArrayOutput) ToClusterNodePoolGlobalConfigArrayOutputWithContext(ctx context.Context) ClusterNodePoolGlobalConfigArrayOutput
- type ClusterNodePoolGlobalConfigInput
- type ClusterNodePoolGlobalConfigOutput
- func (ClusterNodePoolGlobalConfigOutput) ElementType() reflect.Type
- func (o ClusterNodePoolGlobalConfigOutput) Expander() pulumi.StringPtrOutput
- func (o ClusterNodePoolGlobalConfigOutput) IgnoreDaemonSetsUtilization() pulumi.BoolPtrOutput
- func (o ClusterNodePoolGlobalConfigOutput) IsScaleInEnabled() pulumi.BoolPtrOutput
- func (o ClusterNodePoolGlobalConfigOutput) MaxConcurrentScaleIn() pulumi.IntPtrOutput
- func (o ClusterNodePoolGlobalConfigOutput) ScaleInDelay() pulumi.IntPtrOutput
- func (o ClusterNodePoolGlobalConfigOutput) ScaleInUnneededTime() pulumi.IntPtrOutput
- func (o ClusterNodePoolGlobalConfigOutput) ScaleInUtilizationThreshold() pulumi.IntPtrOutput
- func (o ClusterNodePoolGlobalConfigOutput) SkipNodesWithLocalStorage() pulumi.BoolPtrOutput
- func (o ClusterNodePoolGlobalConfigOutput) SkipNodesWithSystemPods() pulumi.BoolPtrOutput
- func (o ClusterNodePoolGlobalConfigOutput) ToClusterNodePoolGlobalConfigOutput() ClusterNodePoolGlobalConfigOutput
- func (o ClusterNodePoolGlobalConfigOutput) ToClusterNodePoolGlobalConfigOutputWithContext(ctx context.Context) ClusterNodePoolGlobalConfigOutput
- type ClusterOutput
- func (o ClusterOutput) AcquireClusterAdminRole() pulumi.BoolPtrOutput
- func (o ClusterOutput) AuthOptions() ClusterAuthOptionsPtrOutput
- func (o ClusterOutput) AutoUpgradeClusterLevel() pulumi.BoolPtrOutput
- func (o ClusterOutput) BasePodNum() pulumi.IntPtrOutput
- func (o ClusterOutput) CertificationAuthority() pulumi.StringOutput
- func (o ClusterOutput) ClaimExpiredSeconds() pulumi.IntPtrOutput
- func (o ClusterOutput) ClusterAsEnabled() pulumi.BoolPtrOutputdeprecated
- func (o ClusterOutput) ClusterAudit() ClusterClusterAuditPtrOutput
- func (o ClusterOutput) ClusterCidr() pulumi.StringPtrOutput
- func (o ClusterOutput) ClusterDeployType() pulumi.StringPtrOutput
- func (o ClusterOutput) ClusterDesc() pulumi.StringPtrOutput
- func (o ClusterOutput) ClusterExternalEndpoint() pulumi.StringOutput
- func (o ClusterOutput) ClusterExtraArgs() ClusterClusterExtraArgsPtrOutput
- func (o ClusterOutput) ClusterInternet() pulumi.BoolPtrOutput
- func (o ClusterOutput) ClusterInternetDomain() pulumi.StringPtrOutput
- func (o ClusterOutput) ClusterInternetSecurityGroup() pulumi.StringPtrOutput
- func (o ClusterOutput) ClusterIntranet() pulumi.BoolPtrOutput
- func (o ClusterOutput) ClusterIntranetDomain() pulumi.StringPtrOutput
- func (o ClusterOutput) ClusterIntranetSubnetId() pulumi.StringPtrOutput
- func (o ClusterOutput) ClusterIpvs() pulumi.BoolPtrOutput
- func (o ClusterOutput) ClusterLevel() pulumi.StringOutput
- func (o ClusterOutput) ClusterMaxPodNum() pulumi.IntPtrOutput
- func (o ClusterOutput) ClusterMaxServiceNum() pulumi.IntPtrOutput
- func (o ClusterOutput) ClusterName() pulumi.StringPtrOutput
- func (o ClusterOutput) ClusterNodeNum() pulumi.IntOutput
- func (o ClusterOutput) ClusterOs() pulumi.StringPtrOutput
- func (o ClusterOutput) ClusterOsType() pulumi.StringPtrOutput
- func (o ClusterOutput) ClusterVersion() pulumi.StringPtrOutput
- func (o ClusterOutput) ContainerRuntime() pulumi.StringPtrOutput
- func (o ClusterOutput) DeletionProtection() pulumi.BoolPtrOutput
- func (o ClusterOutput) DockerGraphPath() pulumi.StringPtrOutput
- func (o ClusterOutput) Domain() pulumi.StringOutput
- func (ClusterOutput) ElementType() reflect.Type
- func (o ClusterOutput) EnableCustomizedPodCidr() pulumi.BoolPtrOutput
- func (o ClusterOutput) EniSubnetIds() pulumi.StringArrayOutput
- func (o ClusterOutput) EventPersistence() ClusterEventPersistencePtrOutput
- func (o ClusterOutput) ExistInstances() ClusterExistInstanceArrayOutput
- func (o ClusterOutput) ExtensionAddons() ClusterExtensionAddonArrayOutput
- func (o ClusterOutput) ExtraArgs() pulumi.StringArrayOutput
- func (o ClusterOutput) GlobeDesiredPodNum() pulumi.IntPtrOutput
- func (o ClusterOutput) IgnoreClusterCidrConflict() pulumi.BoolPtrOutput
- func (o ClusterOutput) IsNonStaticIpMode() pulumi.BoolPtrOutput
- func (o ClusterOutput) KubeConfig() pulumi.StringOutput
- func (o ClusterOutput) KubeConfigIntranet() pulumi.StringOutput
- func (o ClusterOutput) KubeProxyMode() pulumi.StringPtrOutput
- func (o ClusterOutput) Labels() pulumi.MapOutput
- func (o ClusterOutput) LogAgent() ClusterLogAgentPtrOutput
- func (o ClusterOutput) ManagedClusterInternetSecurityPolicies() pulumi.StringArrayOutputdeprecated
- func (o ClusterOutput) MasterConfigs() ClusterMasterConfigArrayOutput
- func (o ClusterOutput) MountTarget() pulumi.StringPtrOutput
- func (o ClusterOutput) NetworkType() pulumi.StringPtrOutput
- func (o ClusterOutput) NodeNameType() pulumi.StringPtrOutput
- func (o ClusterOutput) NodePoolGlobalConfigs() ClusterNodePoolGlobalConfigArrayOutput
- func (o ClusterOutput) Password() pulumi.StringOutput
- func (o ClusterOutput) PgwEndpoint() pulumi.StringOutput
- func (o ClusterOutput) ProjectId() pulumi.IntPtrOutput
- func (o ClusterOutput) RuntimeVersion() pulumi.StringPtrOutput
- func (o ClusterOutput) SecurityPolicies() pulumi.StringArrayOutput
- func (o ClusterOutput) ServiceCidr() pulumi.StringPtrOutput
- func (o ClusterOutput) Tags() pulumi.MapOutput
- func (o ClusterOutput) ToClusterOutput() ClusterOutput
- func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
- func (o ClusterOutput) Unschedulable() pulumi.IntPtrOutput
- func (o ClusterOutput) UpgradeInstancesFollowCluster() pulumi.BoolPtrOutput
- func (o ClusterOutput) UserName() pulumi.StringOutput
- func (o ClusterOutput) VpcId() pulumi.StringOutput
- func (o ClusterOutput) WorkerConfigs() ClusterWorkerConfigArrayOutput
- func (o ClusterOutput) WorkerInstancesLists() ClusterWorkerInstancesListArrayOutput
- type ClusterState
- type ClusterWorkerConfig
- type ClusterWorkerConfigArgs
- type ClusterWorkerConfigArray
- type ClusterWorkerConfigArrayInput
- type ClusterWorkerConfigArrayOutput
- func (ClusterWorkerConfigArrayOutput) ElementType() reflect.Type
- func (o ClusterWorkerConfigArrayOutput) Index(i pulumi.IntInput) ClusterWorkerConfigOutput
- func (o ClusterWorkerConfigArrayOutput) ToClusterWorkerConfigArrayOutput() ClusterWorkerConfigArrayOutput
- func (o ClusterWorkerConfigArrayOutput) ToClusterWorkerConfigArrayOutputWithContext(ctx context.Context) ClusterWorkerConfigArrayOutput
- type ClusterWorkerConfigDataDisk
- type ClusterWorkerConfigDataDiskArgs
- func (ClusterWorkerConfigDataDiskArgs) ElementType() reflect.Type
- func (i ClusterWorkerConfigDataDiskArgs) ToClusterWorkerConfigDataDiskOutput() ClusterWorkerConfigDataDiskOutput
- func (i ClusterWorkerConfigDataDiskArgs) ToClusterWorkerConfigDataDiskOutputWithContext(ctx context.Context) ClusterWorkerConfigDataDiskOutput
- type ClusterWorkerConfigDataDiskArray
- func (ClusterWorkerConfigDataDiskArray) ElementType() reflect.Type
- func (i ClusterWorkerConfigDataDiskArray) ToClusterWorkerConfigDataDiskArrayOutput() ClusterWorkerConfigDataDiskArrayOutput
- func (i ClusterWorkerConfigDataDiskArray) ToClusterWorkerConfigDataDiskArrayOutputWithContext(ctx context.Context) ClusterWorkerConfigDataDiskArrayOutput
- type ClusterWorkerConfigDataDiskArrayInput
- type ClusterWorkerConfigDataDiskArrayOutput
- func (ClusterWorkerConfigDataDiskArrayOutput) ElementType() reflect.Type
- func (o ClusterWorkerConfigDataDiskArrayOutput) Index(i pulumi.IntInput) ClusterWorkerConfigDataDiskOutput
- func (o ClusterWorkerConfigDataDiskArrayOutput) ToClusterWorkerConfigDataDiskArrayOutput() ClusterWorkerConfigDataDiskArrayOutput
- func (o ClusterWorkerConfigDataDiskArrayOutput) ToClusterWorkerConfigDataDiskArrayOutputWithContext(ctx context.Context) ClusterWorkerConfigDataDiskArrayOutput
- type ClusterWorkerConfigDataDiskInput
- type ClusterWorkerConfigDataDiskOutput
- func (o ClusterWorkerConfigDataDiskOutput) AutoFormatAndMount() pulumi.BoolPtrOutput
- func (o ClusterWorkerConfigDataDiskOutput) DiskPartition() pulumi.StringPtrOutput
- func (o ClusterWorkerConfigDataDiskOutput) DiskSize() pulumi.IntPtrOutput
- func (o ClusterWorkerConfigDataDiskOutput) DiskType() pulumi.StringPtrOutput
- func (ClusterWorkerConfigDataDiskOutput) ElementType() reflect.Type
- func (o ClusterWorkerConfigDataDiskOutput) Encrypt() pulumi.BoolPtrOutput
- func (o ClusterWorkerConfigDataDiskOutput) FileSystem() pulumi.StringPtrOutput
- func (o ClusterWorkerConfigDataDiskOutput) KmsKeyId() pulumi.StringPtrOutput
- func (o ClusterWorkerConfigDataDiskOutput) MountTarget() pulumi.StringPtrOutput
- func (o ClusterWorkerConfigDataDiskOutput) SnapshotId() pulumi.StringPtrOutput
- func (o ClusterWorkerConfigDataDiskOutput) ToClusterWorkerConfigDataDiskOutput() ClusterWorkerConfigDataDiskOutput
- func (o ClusterWorkerConfigDataDiskOutput) ToClusterWorkerConfigDataDiskOutputWithContext(ctx context.Context) ClusterWorkerConfigDataDiskOutput
- type ClusterWorkerConfigInput
- type ClusterWorkerConfigOutput
- func (o ClusterWorkerConfigOutput) AvailabilityZone() pulumi.StringPtrOutput
- func (o ClusterWorkerConfigOutput) BandwidthPackageId() pulumi.StringPtrOutput
- func (o ClusterWorkerConfigOutput) CamRoleName() pulumi.StringPtrOutput
- func (o ClusterWorkerConfigOutput) Count() pulumi.IntPtrOutput
- func (o ClusterWorkerConfigOutput) DataDisks() ClusterWorkerConfigDataDiskArrayOutput
- func (o ClusterWorkerConfigOutput) DesiredPodNum() pulumi.IntPtrOutput
- func (o ClusterWorkerConfigOutput) DisasterRecoverGroupIds() pulumi.StringPtrOutput
- func (ClusterWorkerConfigOutput) ElementType() reflect.Type
- func (o ClusterWorkerConfigOutput) EnhancedMonitorService() pulumi.BoolPtrOutput
- func (o ClusterWorkerConfigOutput) EnhancedSecurityService() pulumi.BoolPtrOutput
- func (o ClusterWorkerConfigOutput) Hostname() pulumi.StringPtrOutput
- func (o ClusterWorkerConfigOutput) HpcClusterId() pulumi.StringPtrOutput
- func (o ClusterWorkerConfigOutput) ImgId() pulumi.StringPtrOutput
- func (o ClusterWorkerConfigOutput) InstanceChargeType() pulumi.StringPtrOutput
- func (o ClusterWorkerConfigOutput) InstanceChargeTypePrepaidPeriod() pulumi.IntPtrOutput
- func (o ClusterWorkerConfigOutput) InstanceChargeTypePrepaidRenewFlag() pulumi.StringPtrOutput
- func (o ClusterWorkerConfigOutput) InstanceName() pulumi.StringPtrOutput
- func (o ClusterWorkerConfigOutput) InstanceType() pulumi.StringOutput
- func (o ClusterWorkerConfigOutput) InternetChargeType() pulumi.StringPtrOutput
- func (o ClusterWorkerConfigOutput) InternetMaxBandwidthOut() pulumi.IntPtrOutput
- func (o ClusterWorkerConfigOutput) KeyIds() pulumi.StringPtrOutput
- func (o ClusterWorkerConfigOutput) Password() pulumi.StringPtrOutput
- func (o ClusterWorkerConfigOutput) PublicIpAssigned() pulumi.BoolPtrOutput
- func (o ClusterWorkerConfigOutput) SecurityGroupIds() pulumi.StringArrayOutput
- func (o ClusterWorkerConfigOutput) SubnetId() pulumi.StringOutput
- func (o ClusterWorkerConfigOutput) SystemDiskSize() pulumi.IntPtrOutput
- func (o ClusterWorkerConfigOutput) SystemDiskType() pulumi.StringPtrOutput
- func (o ClusterWorkerConfigOutput) ToClusterWorkerConfigOutput() ClusterWorkerConfigOutput
- func (o ClusterWorkerConfigOutput) ToClusterWorkerConfigOutputWithContext(ctx context.Context) ClusterWorkerConfigOutput
- func (o ClusterWorkerConfigOutput) UserData() pulumi.StringPtrOutput
- type ClusterWorkerInstancesList
- type ClusterWorkerInstancesListArgs
- func (ClusterWorkerInstancesListArgs) ElementType() reflect.Type
- func (i ClusterWorkerInstancesListArgs) ToClusterWorkerInstancesListOutput() ClusterWorkerInstancesListOutput
- func (i ClusterWorkerInstancesListArgs) ToClusterWorkerInstancesListOutputWithContext(ctx context.Context) ClusterWorkerInstancesListOutput
- type ClusterWorkerInstancesListArray
- func (ClusterWorkerInstancesListArray) ElementType() reflect.Type
- func (i ClusterWorkerInstancesListArray) ToClusterWorkerInstancesListArrayOutput() ClusterWorkerInstancesListArrayOutput
- func (i ClusterWorkerInstancesListArray) ToClusterWorkerInstancesListArrayOutputWithContext(ctx context.Context) ClusterWorkerInstancesListArrayOutput
- type ClusterWorkerInstancesListArrayInput
- type ClusterWorkerInstancesListArrayOutput
- func (ClusterWorkerInstancesListArrayOutput) ElementType() reflect.Type
- func (o ClusterWorkerInstancesListArrayOutput) Index(i pulumi.IntInput) ClusterWorkerInstancesListOutput
- func (o ClusterWorkerInstancesListArrayOutput) ToClusterWorkerInstancesListArrayOutput() ClusterWorkerInstancesListArrayOutput
- func (o ClusterWorkerInstancesListArrayOutput) ToClusterWorkerInstancesListArrayOutputWithContext(ctx context.Context) ClusterWorkerInstancesListArrayOutput
- type ClusterWorkerInstancesListInput
- type ClusterWorkerInstancesListOutput
- func (ClusterWorkerInstancesListOutput) ElementType() reflect.Type
- func (o ClusterWorkerInstancesListOutput) FailedReason() pulumi.StringPtrOutput
- func (o ClusterWorkerInstancesListOutput) InstanceId() pulumi.StringPtrOutput
- func (o ClusterWorkerInstancesListOutput) InstanceRole() pulumi.StringPtrOutput
- func (o ClusterWorkerInstancesListOutput) InstanceState() pulumi.StringPtrOutput
- func (o ClusterWorkerInstancesListOutput) LanIp() pulumi.StringPtrOutput
- func (o ClusterWorkerInstancesListOutput) ToClusterWorkerInstancesListOutput() ClusterWorkerInstancesListOutput
- func (o ClusterWorkerInstancesListOutput) ToClusterWorkerInstancesListOutputWithContext(ctx context.Context) ClusterWorkerInstancesListOutput
- type GetAvailableClusterVersionsArgs
- type GetAvailableClusterVersionsCluster
- type GetAvailableClusterVersionsClusterArgs
- func (GetAvailableClusterVersionsClusterArgs) ElementType() reflect.Type
- func (i GetAvailableClusterVersionsClusterArgs) ToGetAvailableClusterVersionsClusterOutput() GetAvailableClusterVersionsClusterOutput
- func (i GetAvailableClusterVersionsClusterArgs) ToGetAvailableClusterVersionsClusterOutputWithContext(ctx context.Context) GetAvailableClusterVersionsClusterOutput
- type GetAvailableClusterVersionsClusterArray
- func (GetAvailableClusterVersionsClusterArray) ElementType() reflect.Type
- func (i GetAvailableClusterVersionsClusterArray) ToGetAvailableClusterVersionsClusterArrayOutput() GetAvailableClusterVersionsClusterArrayOutput
- func (i GetAvailableClusterVersionsClusterArray) ToGetAvailableClusterVersionsClusterArrayOutputWithContext(ctx context.Context) GetAvailableClusterVersionsClusterArrayOutput
- type GetAvailableClusterVersionsClusterArrayInput
- type GetAvailableClusterVersionsClusterArrayOutput
- func (GetAvailableClusterVersionsClusterArrayOutput) ElementType() reflect.Type
- func (o GetAvailableClusterVersionsClusterArrayOutput) Index(i pulumi.IntInput) GetAvailableClusterVersionsClusterOutput
- func (o GetAvailableClusterVersionsClusterArrayOutput) ToGetAvailableClusterVersionsClusterArrayOutput() GetAvailableClusterVersionsClusterArrayOutput
- func (o GetAvailableClusterVersionsClusterArrayOutput) ToGetAvailableClusterVersionsClusterArrayOutputWithContext(ctx context.Context) GetAvailableClusterVersionsClusterArrayOutput
- type GetAvailableClusterVersionsClusterInput
- type GetAvailableClusterVersionsClusterOutput
- func (o GetAvailableClusterVersionsClusterOutput) ClusterId() pulumi.StringOutput
- func (GetAvailableClusterVersionsClusterOutput) ElementType() reflect.Type
- func (o GetAvailableClusterVersionsClusterOutput) ToGetAvailableClusterVersionsClusterOutput() GetAvailableClusterVersionsClusterOutput
- func (o GetAvailableClusterVersionsClusterOutput) ToGetAvailableClusterVersionsClusterOutputWithContext(ctx context.Context) GetAvailableClusterVersionsClusterOutput
- func (o GetAvailableClusterVersionsClusterOutput) Versions() pulumi.StringArrayOutput
- type GetAvailableClusterVersionsOutputArgs
- type GetAvailableClusterVersionsResult
- type GetAvailableClusterVersionsResultOutput
- func (o GetAvailableClusterVersionsResultOutput) ClusterId() pulumi.StringPtrOutput
- func (o GetAvailableClusterVersionsResultOutput) ClusterIds() pulumi.StringArrayOutput
- func (o GetAvailableClusterVersionsResultOutput) Clusters() GetAvailableClusterVersionsClusterArrayOutput
- func (GetAvailableClusterVersionsResultOutput) ElementType() reflect.Type
- func (o GetAvailableClusterVersionsResultOutput) Id() pulumi.StringOutput
- func (o GetAvailableClusterVersionsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetAvailableClusterVersionsResultOutput) ToGetAvailableClusterVersionsResultOutput() GetAvailableClusterVersionsResultOutput
- func (o GetAvailableClusterVersionsResultOutput) ToGetAvailableClusterVersionsResultOutputWithContext(ctx context.Context) GetAvailableClusterVersionsResultOutput
- func (o GetAvailableClusterVersionsResultOutput) Versions() pulumi.StringArrayOutput
- type GetChartsArgs
- type GetChartsChartList
- type GetChartsChartListArgs
- type GetChartsChartListArray
- type GetChartsChartListArrayInput
- type GetChartsChartListArrayOutput
- func (GetChartsChartListArrayOutput) ElementType() reflect.Type
- func (o GetChartsChartListArrayOutput) Index(i pulumi.IntInput) GetChartsChartListOutput
- func (o GetChartsChartListArrayOutput) ToGetChartsChartListArrayOutput() GetChartsChartListArrayOutput
- func (o GetChartsChartListArrayOutput) ToGetChartsChartListArrayOutputWithContext(ctx context.Context) GetChartsChartListArrayOutput
- type GetChartsChartListInput
- type GetChartsChartListOutput
- func (GetChartsChartListOutput) ElementType() reflect.Type
- func (o GetChartsChartListOutput) Label() pulumi.MapOutput
- func (o GetChartsChartListOutput) LatestVersion() pulumi.StringOutput
- func (o GetChartsChartListOutput) Name() pulumi.StringOutput
- func (o GetChartsChartListOutput) ToGetChartsChartListOutput() GetChartsChartListOutput
- func (o GetChartsChartListOutput) ToGetChartsChartListOutputWithContext(ctx context.Context) GetChartsChartListOutput
- type GetChartsOutputArgs
- type GetChartsResult
- type GetChartsResultOutput
- func (o GetChartsResultOutput) Arch() pulumi.StringPtrOutput
- func (o GetChartsResultOutput) ChartLists() GetChartsChartListArrayOutput
- func (o GetChartsResultOutput) ClusterType() pulumi.StringPtrOutput
- func (GetChartsResultOutput) ElementType() reflect.Type
- func (o GetChartsResultOutput) Id() pulumi.StringOutput
- func (o GetChartsResultOutput) Kind() pulumi.StringPtrOutput
- func (o GetChartsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetChartsResultOutput) ToGetChartsResultOutput() GetChartsResultOutput
- func (o GetChartsResultOutput) ToGetChartsResultOutputWithContext(ctx context.Context) GetChartsResultOutput
- type GetClusterCommonNamesArgs
- type GetClusterCommonNamesList
- type GetClusterCommonNamesListArgs
- func (GetClusterCommonNamesListArgs) ElementType() reflect.Type
- func (i GetClusterCommonNamesListArgs) ToGetClusterCommonNamesListOutput() GetClusterCommonNamesListOutput
- func (i GetClusterCommonNamesListArgs) ToGetClusterCommonNamesListOutputWithContext(ctx context.Context) GetClusterCommonNamesListOutput
- type GetClusterCommonNamesListArray
- func (GetClusterCommonNamesListArray) ElementType() reflect.Type
- func (i GetClusterCommonNamesListArray) ToGetClusterCommonNamesListArrayOutput() GetClusterCommonNamesListArrayOutput
- func (i GetClusterCommonNamesListArray) ToGetClusterCommonNamesListArrayOutputWithContext(ctx context.Context) GetClusterCommonNamesListArrayOutput
- type GetClusterCommonNamesListArrayInput
- type GetClusterCommonNamesListArrayOutput
- func (GetClusterCommonNamesListArrayOutput) ElementType() reflect.Type
- func (o GetClusterCommonNamesListArrayOutput) Index(i pulumi.IntInput) GetClusterCommonNamesListOutput
- func (o GetClusterCommonNamesListArrayOutput) ToGetClusterCommonNamesListArrayOutput() GetClusterCommonNamesListArrayOutput
- func (o GetClusterCommonNamesListArrayOutput) ToGetClusterCommonNamesListArrayOutputWithContext(ctx context.Context) GetClusterCommonNamesListArrayOutput
- type GetClusterCommonNamesListInput
- type GetClusterCommonNamesListOutput
- func (o GetClusterCommonNamesListOutput) CommonNames() pulumi.StringOutput
- func (GetClusterCommonNamesListOutput) ElementType() reflect.Type
- func (o GetClusterCommonNamesListOutput) SubaccountUin() pulumi.StringOutput
- func (o GetClusterCommonNamesListOutput) ToGetClusterCommonNamesListOutput() GetClusterCommonNamesListOutput
- func (o GetClusterCommonNamesListOutput) ToGetClusterCommonNamesListOutputWithContext(ctx context.Context) GetClusterCommonNamesListOutput
- type GetClusterCommonNamesOutputArgs
- type GetClusterCommonNamesResult
- type GetClusterCommonNamesResultOutput
- func (o GetClusterCommonNamesResultOutput) ClusterId() pulumi.StringPtrOutput
- func (GetClusterCommonNamesResultOutput) ElementType() reflect.Type
- func (o GetClusterCommonNamesResultOutput) Id() pulumi.StringOutput
- func (o GetClusterCommonNamesResultOutput) Lists() GetClusterCommonNamesListArrayOutput
- func (o GetClusterCommonNamesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetClusterCommonNamesResultOutput) RoleIds() pulumi.StringArrayOutput
- func (o GetClusterCommonNamesResultOutput) SubaccountUins() pulumi.StringArrayOutput
- func (o GetClusterCommonNamesResultOutput) ToGetClusterCommonNamesResultOutput() GetClusterCommonNamesResultOutput
- func (o GetClusterCommonNamesResultOutput) ToGetClusterCommonNamesResultOutputWithContext(ctx context.Context) GetClusterCommonNamesResultOutput
- type GetClusterLevelsArgs
- type GetClusterLevelsList
- type GetClusterLevelsListArgs
- type GetClusterLevelsListArray
- type GetClusterLevelsListArrayInput
- type GetClusterLevelsListArrayOutput
- func (GetClusterLevelsListArrayOutput) ElementType() reflect.Type
- func (o GetClusterLevelsListArrayOutput) Index(i pulumi.IntInput) GetClusterLevelsListOutput
- func (o GetClusterLevelsListArrayOutput) ToGetClusterLevelsListArrayOutput() GetClusterLevelsListArrayOutput
- func (o GetClusterLevelsListArrayOutput) ToGetClusterLevelsListArrayOutputWithContext(ctx context.Context) GetClusterLevelsListArrayOutput
- type GetClusterLevelsListInput
- type GetClusterLevelsListOutput
- func (o GetClusterLevelsListOutput) Alias() pulumi.StringOutput
- func (o GetClusterLevelsListOutput) ConfigMapCount() pulumi.IntOutput
- func (o GetClusterLevelsListOutput) CrdCount() pulumi.IntOutput
- func (GetClusterLevelsListOutput) ElementType() reflect.Type
- func (o GetClusterLevelsListOutput) Enable() pulumi.BoolOutput
- func (o GetClusterLevelsListOutput) Name() pulumi.StringOutput
- func (o GetClusterLevelsListOutput) NodeCount() pulumi.IntOutput
- func (o GetClusterLevelsListOutput) OtherCount() pulumi.IntOutput
- func (o GetClusterLevelsListOutput) PodCount() pulumi.IntOutput
- func (o GetClusterLevelsListOutput) ToGetClusterLevelsListOutput() GetClusterLevelsListOutput
- func (o GetClusterLevelsListOutput) ToGetClusterLevelsListOutputWithContext(ctx context.Context) GetClusterLevelsListOutput
- type GetClusterLevelsOutputArgs
- type GetClusterLevelsResult
- type GetClusterLevelsResultOutput
- func (o GetClusterLevelsResultOutput) ClusterId() pulumi.StringPtrOutput
- func (GetClusterLevelsResultOutput) ElementType() reflect.Type
- func (o GetClusterLevelsResultOutput) Id() pulumi.StringOutput
- func (o GetClusterLevelsResultOutput) Lists() GetClusterLevelsListArrayOutput
- func (o GetClusterLevelsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetClusterLevelsResultOutput) ToGetClusterLevelsResultOutput() GetClusterLevelsResultOutput
- func (o GetClusterLevelsResultOutput) ToGetClusterLevelsResultOutputWithContext(ctx context.Context) GetClusterLevelsResultOutput
- type GetClustersArgs
- type GetClustersList
- type GetClustersListArgs
- type GetClustersListArray
- type GetClustersListArrayInput
- type GetClustersListArrayOutput
- func (GetClustersListArrayOutput) ElementType() reflect.Type
- func (o GetClustersListArrayOutput) Index(i pulumi.IntInput) GetClustersListOutput
- func (o GetClustersListArrayOutput) ToGetClustersListArrayOutput() GetClustersListArrayOutput
- func (o GetClustersListArrayOutput) ToGetClustersListArrayOutputWithContext(ctx context.Context) GetClustersListArrayOutput
- type GetClustersListClusterExtraArg
- type GetClustersListClusterExtraArgArgs
- func (GetClustersListClusterExtraArgArgs) ElementType() reflect.Type
- func (i GetClustersListClusterExtraArgArgs) ToGetClustersListClusterExtraArgOutput() GetClustersListClusterExtraArgOutput
- func (i GetClustersListClusterExtraArgArgs) ToGetClustersListClusterExtraArgOutputWithContext(ctx context.Context) GetClustersListClusterExtraArgOutput
- type GetClustersListClusterExtraArgArray
- func (GetClustersListClusterExtraArgArray) ElementType() reflect.Type
- func (i GetClustersListClusterExtraArgArray) ToGetClustersListClusterExtraArgArrayOutput() GetClustersListClusterExtraArgArrayOutput
- func (i GetClustersListClusterExtraArgArray) ToGetClustersListClusterExtraArgArrayOutputWithContext(ctx context.Context) GetClustersListClusterExtraArgArrayOutput
- type GetClustersListClusterExtraArgArrayInput
- type GetClustersListClusterExtraArgArrayOutput
- func (GetClustersListClusterExtraArgArrayOutput) ElementType() reflect.Type
- func (o GetClustersListClusterExtraArgArrayOutput) Index(i pulumi.IntInput) GetClustersListClusterExtraArgOutput
- func (o GetClustersListClusterExtraArgArrayOutput) ToGetClustersListClusterExtraArgArrayOutput() GetClustersListClusterExtraArgArrayOutput
- func (o GetClustersListClusterExtraArgArrayOutput) ToGetClustersListClusterExtraArgArrayOutputWithContext(ctx context.Context) GetClustersListClusterExtraArgArrayOutput
- type GetClustersListClusterExtraArgInput
- type GetClustersListClusterExtraArgOutput
- func (GetClustersListClusterExtraArgOutput) ElementType() reflect.Type
- func (o GetClustersListClusterExtraArgOutput) KubeApiservers() pulumi.StringArrayOutput
- func (o GetClustersListClusterExtraArgOutput) KubeControllerManagers() pulumi.StringArrayOutput
- func (o GetClustersListClusterExtraArgOutput) KubeSchedulers() pulumi.StringArrayOutput
- func (o GetClustersListClusterExtraArgOutput) ToGetClustersListClusterExtraArgOutput() GetClustersListClusterExtraArgOutput
- func (o GetClustersListClusterExtraArgOutput) ToGetClustersListClusterExtraArgOutputWithContext(ctx context.Context) GetClustersListClusterExtraArgOutput
- type GetClustersListInput
- type GetClustersListOutput
- func (o GetClustersListOutput) CertificationAuthority() pulumi.StringOutput
- func (o GetClustersListOutput) ClaimExpiredSeconds() pulumi.IntOutput
- func (o GetClustersListOutput) ClusterAsEnabled() pulumi.BoolOutput
- func (o GetClustersListOutput) ClusterCidr() pulumi.StringOutput
- func (o GetClustersListOutput) ClusterDeployType() pulumi.StringOutput
- func (o GetClustersListOutput) ClusterDesc() pulumi.StringOutput
- func (o GetClustersListOutput) ClusterExternalEndpoint() pulumi.StringOutput
- func (o GetClustersListOutput) ClusterExtraArgs() GetClustersListClusterExtraArgArrayOutput
- func (o GetClustersListOutput) ClusterId() pulumi.StringOutput
- func (o GetClustersListOutput) ClusterIpvs() pulumi.BoolOutput
- func (o GetClustersListOutput) ClusterMaxPodNum() pulumi.IntOutput
- func (o GetClustersListOutput) ClusterMaxServiceNum() pulumi.IntOutput
- func (o GetClustersListOutput) ClusterName() pulumi.StringOutput
- func (o GetClustersListOutput) ClusterNodeNum() pulumi.IntOutput
- func (o GetClustersListOutput) ClusterOs() pulumi.StringOutput
- func (o GetClustersListOutput) ClusterVersion() pulumi.StringOutput
- func (o GetClustersListOutput) ContainerRuntime() pulumi.StringOutputdeprecated
- func (o GetClustersListOutput) DeletionProtection() pulumi.BoolOutput
- func (o GetClustersListOutput) Domain() pulumi.StringOutput
- func (GetClustersListOutput) ElementType() reflect.Type
- func (o GetClustersListOutput) EniSubnetIds() pulumi.StringArrayOutput
- func (o GetClustersListOutput) IgnoreClusterCidrConflict() pulumi.BoolOutput
- func (o GetClustersListOutput) IsNonStaticIpMode() pulumi.BoolOutput
- func (o GetClustersListOutput) KubeConfig() pulumi.StringOutput
- func (o GetClustersListOutput) KubeConfigIntranet() pulumi.StringOutput
- func (o GetClustersListOutput) KubeProxyMode() pulumi.StringOutput
- func (o GetClustersListOutput) NetworkType() pulumi.StringOutput
- func (o GetClustersListOutput) NodeNameType() pulumi.StringOutput
- func (o GetClustersListOutput) Password() pulumi.StringOutput
- func (o GetClustersListOutput) PgwEndpoint() pulumi.StringOutput
- func (o GetClustersListOutput) ProjectId() pulumi.IntOutput
- func (o GetClustersListOutput) SecurityPolicies() pulumi.StringArrayOutput
- func (o GetClustersListOutput) ServiceCidr() pulumi.StringOutput
- func (o GetClustersListOutput) Tags() pulumi.MapOutput
- func (o GetClustersListOutput) ToGetClustersListOutput() GetClustersListOutput
- func (o GetClustersListOutput) ToGetClustersListOutputWithContext(ctx context.Context) GetClustersListOutput
- func (o GetClustersListOutput) UserName() pulumi.StringOutput
- func (o GetClustersListOutput) VpcId() pulumi.StringOutput
- func (o GetClustersListOutput) WorkerInstancesLists() GetClustersListWorkerInstancesListArrayOutput
- type GetClustersListWorkerInstancesList
- type GetClustersListWorkerInstancesListArgs
- func (GetClustersListWorkerInstancesListArgs) ElementType() reflect.Type
- func (i GetClustersListWorkerInstancesListArgs) ToGetClustersListWorkerInstancesListOutput() GetClustersListWorkerInstancesListOutput
- func (i GetClustersListWorkerInstancesListArgs) ToGetClustersListWorkerInstancesListOutputWithContext(ctx context.Context) GetClustersListWorkerInstancesListOutput
- type GetClustersListWorkerInstancesListArray
- func (GetClustersListWorkerInstancesListArray) ElementType() reflect.Type
- func (i GetClustersListWorkerInstancesListArray) ToGetClustersListWorkerInstancesListArrayOutput() GetClustersListWorkerInstancesListArrayOutput
- func (i GetClustersListWorkerInstancesListArray) ToGetClustersListWorkerInstancesListArrayOutputWithContext(ctx context.Context) GetClustersListWorkerInstancesListArrayOutput
- type GetClustersListWorkerInstancesListArrayInput
- type GetClustersListWorkerInstancesListArrayOutput
- func (GetClustersListWorkerInstancesListArrayOutput) ElementType() reflect.Type
- func (o GetClustersListWorkerInstancesListArrayOutput) Index(i pulumi.IntInput) GetClustersListWorkerInstancesListOutput
- func (o GetClustersListWorkerInstancesListArrayOutput) ToGetClustersListWorkerInstancesListArrayOutput() GetClustersListWorkerInstancesListArrayOutput
- func (o GetClustersListWorkerInstancesListArrayOutput) ToGetClustersListWorkerInstancesListArrayOutputWithContext(ctx context.Context) GetClustersListWorkerInstancesListArrayOutput
- type GetClustersListWorkerInstancesListInput
- type GetClustersListWorkerInstancesListOutput
- func (GetClustersListWorkerInstancesListOutput) ElementType() reflect.Type
- func (o GetClustersListWorkerInstancesListOutput) FailedReason() pulumi.StringOutput
- func (o GetClustersListWorkerInstancesListOutput) InstanceId() pulumi.StringOutput
- func (o GetClustersListWorkerInstancesListOutput) InstanceRole() pulumi.StringOutput
- func (o GetClustersListWorkerInstancesListOutput) InstanceState() pulumi.StringOutput
- func (o GetClustersListWorkerInstancesListOutput) LanIp() pulumi.StringOutput
- func (o GetClustersListWorkerInstancesListOutput) ToGetClustersListWorkerInstancesListOutput() GetClustersListWorkerInstancesListOutput
- func (o GetClustersListWorkerInstancesListOutput) ToGetClustersListWorkerInstancesListOutputWithContext(ctx context.Context) GetClustersListWorkerInstancesListOutput
- type GetClustersOutputArgs
- type GetClustersResult
- type GetClustersResultOutput
- func (o GetClustersResultOutput) ClusterId() pulumi.StringPtrOutput
- func (o GetClustersResultOutput) ClusterName() pulumi.StringPtrOutput
- func (GetClustersResultOutput) ElementType() reflect.Type
- func (o GetClustersResultOutput) Id() pulumi.StringOutput
- func (o GetClustersResultOutput) Lists() GetClustersListArrayOutput
- func (o GetClustersResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetClustersResultOutput) Tags() pulumi.MapOutput
- func (o GetClustersResultOutput) ToGetClustersResultOutput() GetClustersResultOutput
- func (o GetClustersResultOutput) ToGetClustersResultOutputWithContext(ctx context.Context) GetClustersResultOutput
- type NodePool
- type NodePoolArgs
- type NodePoolArray
- type NodePoolArrayInput
- type NodePoolArrayOutput
- type NodePoolAutoScalingConfig
- type NodePoolAutoScalingConfigArgs
- func (NodePoolAutoScalingConfigArgs) ElementType() reflect.Type
- func (i NodePoolAutoScalingConfigArgs) ToNodePoolAutoScalingConfigOutput() NodePoolAutoScalingConfigOutput
- func (i NodePoolAutoScalingConfigArgs) ToNodePoolAutoScalingConfigOutputWithContext(ctx context.Context) NodePoolAutoScalingConfigOutput
- func (i NodePoolAutoScalingConfigArgs) ToNodePoolAutoScalingConfigPtrOutput() NodePoolAutoScalingConfigPtrOutput
- func (i NodePoolAutoScalingConfigArgs) ToNodePoolAutoScalingConfigPtrOutputWithContext(ctx context.Context) NodePoolAutoScalingConfigPtrOutput
- type NodePoolAutoScalingConfigDataDisk
- type NodePoolAutoScalingConfigDataDiskArgs
- func (NodePoolAutoScalingConfigDataDiskArgs) ElementType() reflect.Type
- func (i NodePoolAutoScalingConfigDataDiskArgs) ToNodePoolAutoScalingConfigDataDiskOutput() NodePoolAutoScalingConfigDataDiskOutput
- func (i NodePoolAutoScalingConfigDataDiskArgs) ToNodePoolAutoScalingConfigDataDiskOutputWithContext(ctx context.Context) NodePoolAutoScalingConfigDataDiskOutput
- type NodePoolAutoScalingConfigDataDiskArray
- func (NodePoolAutoScalingConfigDataDiskArray) ElementType() reflect.Type
- func (i NodePoolAutoScalingConfigDataDiskArray) ToNodePoolAutoScalingConfigDataDiskArrayOutput() NodePoolAutoScalingConfigDataDiskArrayOutput
- func (i NodePoolAutoScalingConfigDataDiskArray) ToNodePoolAutoScalingConfigDataDiskArrayOutputWithContext(ctx context.Context) NodePoolAutoScalingConfigDataDiskArrayOutput
- type NodePoolAutoScalingConfigDataDiskArrayInput
- type NodePoolAutoScalingConfigDataDiskArrayOutput
- func (NodePoolAutoScalingConfigDataDiskArrayOutput) ElementType() reflect.Type
- func (o NodePoolAutoScalingConfigDataDiskArrayOutput) Index(i pulumi.IntInput) NodePoolAutoScalingConfigDataDiskOutput
- func (o NodePoolAutoScalingConfigDataDiskArrayOutput) ToNodePoolAutoScalingConfigDataDiskArrayOutput() NodePoolAutoScalingConfigDataDiskArrayOutput
- func (o NodePoolAutoScalingConfigDataDiskArrayOutput) ToNodePoolAutoScalingConfigDataDiskArrayOutputWithContext(ctx context.Context) NodePoolAutoScalingConfigDataDiskArrayOutput
- type NodePoolAutoScalingConfigDataDiskInput
- type NodePoolAutoScalingConfigDataDiskOutput
- func (o NodePoolAutoScalingConfigDataDiskOutput) DeleteWithInstance() pulumi.BoolPtrOutput
- func (o NodePoolAutoScalingConfigDataDiskOutput) DiskSize() pulumi.IntPtrOutput
- func (o NodePoolAutoScalingConfigDataDiskOutput) DiskType() pulumi.StringPtrOutput
- func (NodePoolAutoScalingConfigDataDiskOutput) ElementType() reflect.Type
- func (o NodePoolAutoScalingConfigDataDiskOutput) Encrypt() pulumi.BoolPtrOutput
- func (o NodePoolAutoScalingConfigDataDiskOutput) SnapshotId() pulumi.StringPtrOutput
- func (o NodePoolAutoScalingConfigDataDiskOutput) ThroughputPerformance() pulumi.IntPtrOutput
- func (o NodePoolAutoScalingConfigDataDiskOutput) ToNodePoolAutoScalingConfigDataDiskOutput() NodePoolAutoScalingConfigDataDiskOutput
- func (o NodePoolAutoScalingConfigDataDiskOutput) ToNodePoolAutoScalingConfigDataDiskOutputWithContext(ctx context.Context) NodePoolAutoScalingConfigDataDiskOutput
- type NodePoolAutoScalingConfigInput
- type NodePoolAutoScalingConfigOutput
- func (o NodePoolAutoScalingConfigOutput) BackupInstanceTypes() pulumi.StringArrayOutput
- func (o NodePoolAutoScalingConfigOutput) BandwidthPackageId() pulumi.StringPtrOutput
- func (o NodePoolAutoScalingConfigOutput) CamRoleName() pulumi.StringPtrOutput
- func (o NodePoolAutoScalingConfigOutput) DataDisks() NodePoolAutoScalingConfigDataDiskArrayOutput
- func (NodePoolAutoScalingConfigOutput) ElementType() reflect.Type
- func (o NodePoolAutoScalingConfigOutput) EnhancedMonitorService() pulumi.BoolPtrOutput
- func (o NodePoolAutoScalingConfigOutput) EnhancedSecurityService() pulumi.BoolPtrOutput
- func (o NodePoolAutoScalingConfigOutput) HostName() pulumi.StringPtrOutput
- func (o NodePoolAutoScalingConfigOutput) HostNameStyle() pulumi.StringPtrOutput
- func (o NodePoolAutoScalingConfigOutput) InstanceChargeType() pulumi.StringPtrOutput
- func (o NodePoolAutoScalingConfigOutput) InstanceChargeTypePrepaidPeriod() pulumi.IntPtrOutput
- func (o NodePoolAutoScalingConfigOutput) InstanceChargeTypePrepaidRenewFlag() pulumi.StringPtrOutput
- func (o NodePoolAutoScalingConfigOutput) InstanceName() pulumi.StringPtrOutput
- func (o NodePoolAutoScalingConfigOutput) InstanceType() pulumi.StringOutput
- func (o NodePoolAutoScalingConfigOutput) InternetChargeType() pulumi.StringPtrOutput
- func (o NodePoolAutoScalingConfigOutput) InternetMaxBandwidthOut() pulumi.IntPtrOutput
- func (o NodePoolAutoScalingConfigOutput) KeyIds() pulumi.StringArrayOutput
- func (o NodePoolAutoScalingConfigOutput) Password() pulumi.StringPtrOutput
- func (o NodePoolAutoScalingConfigOutput) PublicIpAssigned() pulumi.BoolPtrOutput
- func (o NodePoolAutoScalingConfigOutput) SecurityGroupIds() pulumi.StringArrayOutput
- func (o NodePoolAutoScalingConfigOutput) SpotInstanceType() pulumi.StringPtrOutput
- func (o NodePoolAutoScalingConfigOutput) SpotMaxPrice() pulumi.StringPtrOutput
- func (o NodePoolAutoScalingConfigOutput) SystemDiskSize() pulumi.IntPtrOutput
- func (o NodePoolAutoScalingConfigOutput) SystemDiskType() pulumi.StringPtrOutput
- func (o NodePoolAutoScalingConfigOutput) ToNodePoolAutoScalingConfigOutput() NodePoolAutoScalingConfigOutput
- func (o NodePoolAutoScalingConfigOutput) ToNodePoolAutoScalingConfigOutputWithContext(ctx context.Context) NodePoolAutoScalingConfigOutput
- func (o NodePoolAutoScalingConfigOutput) ToNodePoolAutoScalingConfigPtrOutput() NodePoolAutoScalingConfigPtrOutput
- func (o NodePoolAutoScalingConfigOutput) ToNodePoolAutoScalingConfigPtrOutputWithContext(ctx context.Context) NodePoolAutoScalingConfigPtrOutput
- type NodePoolAutoScalingConfigPtrInput
- type NodePoolAutoScalingConfigPtrOutput
- func (o NodePoolAutoScalingConfigPtrOutput) BackupInstanceTypes() pulumi.StringArrayOutput
- func (o NodePoolAutoScalingConfigPtrOutput) BandwidthPackageId() pulumi.StringPtrOutput
- func (o NodePoolAutoScalingConfigPtrOutput) CamRoleName() pulumi.StringPtrOutput
- func (o NodePoolAutoScalingConfigPtrOutput) DataDisks() NodePoolAutoScalingConfigDataDiskArrayOutput
- func (o NodePoolAutoScalingConfigPtrOutput) Elem() NodePoolAutoScalingConfigOutput
- func (NodePoolAutoScalingConfigPtrOutput) ElementType() reflect.Type
- func (o NodePoolAutoScalingConfigPtrOutput) EnhancedMonitorService() pulumi.BoolPtrOutput
- func (o NodePoolAutoScalingConfigPtrOutput) EnhancedSecurityService() pulumi.BoolPtrOutput
- func (o NodePoolAutoScalingConfigPtrOutput) HostName() pulumi.StringPtrOutput
- func (o NodePoolAutoScalingConfigPtrOutput) HostNameStyle() pulumi.StringPtrOutput
- func (o NodePoolAutoScalingConfigPtrOutput) InstanceChargeType() pulumi.StringPtrOutput
- func (o NodePoolAutoScalingConfigPtrOutput) InstanceChargeTypePrepaidPeriod() pulumi.IntPtrOutput
- func (o NodePoolAutoScalingConfigPtrOutput) InstanceChargeTypePrepaidRenewFlag() pulumi.StringPtrOutput
- func (o NodePoolAutoScalingConfigPtrOutput) InstanceName() pulumi.StringPtrOutput
- func (o NodePoolAutoScalingConfigPtrOutput) InstanceType() pulumi.StringPtrOutput
- func (o NodePoolAutoScalingConfigPtrOutput) InternetChargeType() pulumi.StringPtrOutput
- func (o NodePoolAutoScalingConfigPtrOutput) InternetMaxBandwidthOut() pulumi.IntPtrOutput
- func (o NodePoolAutoScalingConfigPtrOutput) KeyIds() pulumi.StringArrayOutput
- func (o NodePoolAutoScalingConfigPtrOutput) Password() pulumi.StringPtrOutput
- func (o NodePoolAutoScalingConfigPtrOutput) PublicIpAssigned() pulumi.BoolPtrOutput
- func (o NodePoolAutoScalingConfigPtrOutput) SecurityGroupIds() pulumi.StringArrayOutput
- func (o NodePoolAutoScalingConfigPtrOutput) SpotInstanceType() pulumi.StringPtrOutput
- func (o NodePoolAutoScalingConfigPtrOutput) SpotMaxPrice() pulumi.StringPtrOutput
- func (o NodePoolAutoScalingConfigPtrOutput) SystemDiskSize() pulumi.IntPtrOutput
- func (o NodePoolAutoScalingConfigPtrOutput) SystemDiskType() pulumi.StringPtrOutput
- func (o NodePoolAutoScalingConfigPtrOutput) ToNodePoolAutoScalingConfigPtrOutput() NodePoolAutoScalingConfigPtrOutput
- func (o NodePoolAutoScalingConfigPtrOutput) ToNodePoolAutoScalingConfigPtrOutputWithContext(ctx context.Context) NodePoolAutoScalingConfigPtrOutput
- type NodePoolInput
- type NodePoolMap
- type NodePoolMapInput
- type NodePoolMapOutput
- type NodePoolNodeConfig
- type NodePoolNodeConfigArgs
- func (NodePoolNodeConfigArgs) ElementType() reflect.Type
- func (i NodePoolNodeConfigArgs) ToNodePoolNodeConfigOutput() NodePoolNodeConfigOutput
- func (i NodePoolNodeConfigArgs) ToNodePoolNodeConfigOutputWithContext(ctx context.Context) NodePoolNodeConfigOutput
- func (i NodePoolNodeConfigArgs) ToNodePoolNodeConfigPtrOutput() NodePoolNodeConfigPtrOutput
- func (i NodePoolNodeConfigArgs) ToNodePoolNodeConfigPtrOutputWithContext(ctx context.Context) NodePoolNodeConfigPtrOutput
- type NodePoolNodeConfigDataDisk
- type NodePoolNodeConfigDataDiskArgs
- func (NodePoolNodeConfigDataDiskArgs) ElementType() reflect.Type
- func (i NodePoolNodeConfigDataDiskArgs) ToNodePoolNodeConfigDataDiskOutput() NodePoolNodeConfigDataDiskOutput
- func (i NodePoolNodeConfigDataDiskArgs) ToNodePoolNodeConfigDataDiskOutputWithContext(ctx context.Context) NodePoolNodeConfigDataDiskOutput
- type NodePoolNodeConfigDataDiskArray
- func (NodePoolNodeConfigDataDiskArray) ElementType() reflect.Type
- func (i NodePoolNodeConfigDataDiskArray) ToNodePoolNodeConfigDataDiskArrayOutput() NodePoolNodeConfigDataDiskArrayOutput
- func (i NodePoolNodeConfigDataDiskArray) ToNodePoolNodeConfigDataDiskArrayOutputWithContext(ctx context.Context) NodePoolNodeConfigDataDiskArrayOutput
- type NodePoolNodeConfigDataDiskArrayInput
- type NodePoolNodeConfigDataDiskArrayOutput
- func (NodePoolNodeConfigDataDiskArrayOutput) ElementType() reflect.Type
- func (o NodePoolNodeConfigDataDiskArrayOutput) Index(i pulumi.IntInput) NodePoolNodeConfigDataDiskOutput
- func (o NodePoolNodeConfigDataDiskArrayOutput) ToNodePoolNodeConfigDataDiskArrayOutput() NodePoolNodeConfigDataDiskArrayOutput
- func (o NodePoolNodeConfigDataDiskArrayOutput) ToNodePoolNodeConfigDataDiskArrayOutputWithContext(ctx context.Context) NodePoolNodeConfigDataDiskArrayOutput
- type NodePoolNodeConfigDataDiskInput
- type NodePoolNodeConfigDataDiskOutput
- func (o NodePoolNodeConfigDataDiskOutput) AutoFormatAndMount() pulumi.BoolPtrOutput
- func (o NodePoolNodeConfigDataDiskOutput) DiskPartition() pulumi.StringPtrOutput
- func (o NodePoolNodeConfigDataDiskOutput) DiskSize() pulumi.IntPtrOutput
- func (o NodePoolNodeConfigDataDiskOutput) DiskType() pulumi.StringPtrOutput
- func (NodePoolNodeConfigDataDiskOutput) ElementType() reflect.Type
- func (o NodePoolNodeConfigDataDiskOutput) FileSystem() pulumi.StringPtrOutput
- func (o NodePoolNodeConfigDataDiskOutput) MountTarget() pulumi.StringPtrOutput
- func (o NodePoolNodeConfigDataDiskOutput) ToNodePoolNodeConfigDataDiskOutput() NodePoolNodeConfigDataDiskOutput
- func (o NodePoolNodeConfigDataDiskOutput) ToNodePoolNodeConfigDataDiskOutputWithContext(ctx context.Context) NodePoolNodeConfigDataDiskOutput
- type NodePoolNodeConfigGpuArgs
- type NodePoolNodeConfigGpuArgsArgs
- func (NodePoolNodeConfigGpuArgsArgs) ElementType() reflect.Type
- func (i NodePoolNodeConfigGpuArgsArgs) ToNodePoolNodeConfigGpuArgsOutput() NodePoolNodeConfigGpuArgsOutput
- func (i NodePoolNodeConfigGpuArgsArgs) ToNodePoolNodeConfigGpuArgsOutputWithContext(ctx context.Context) NodePoolNodeConfigGpuArgsOutput
- func (i NodePoolNodeConfigGpuArgsArgs) ToNodePoolNodeConfigGpuArgsPtrOutput() NodePoolNodeConfigGpuArgsPtrOutput
- func (i NodePoolNodeConfigGpuArgsArgs) ToNodePoolNodeConfigGpuArgsPtrOutputWithContext(ctx context.Context) NodePoolNodeConfigGpuArgsPtrOutput
- type NodePoolNodeConfigGpuArgsInput
- type NodePoolNodeConfigGpuArgsOutput
- func (o NodePoolNodeConfigGpuArgsOutput) Cuda() pulumi.MapOutput
- func (o NodePoolNodeConfigGpuArgsOutput) Cudnn() pulumi.MapOutput
- func (o NodePoolNodeConfigGpuArgsOutput) CustomDriver() pulumi.MapOutput
- func (o NodePoolNodeConfigGpuArgsOutput) Driver() pulumi.MapOutput
- func (NodePoolNodeConfigGpuArgsOutput) ElementType() reflect.Type
- func (o NodePoolNodeConfigGpuArgsOutput) MigEnable() pulumi.BoolPtrOutput
- func (o NodePoolNodeConfigGpuArgsOutput) ToNodePoolNodeConfigGpuArgsOutput() NodePoolNodeConfigGpuArgsOutput
- func (o NodePoolNodeConfigGpuArgsOutput) ToNodePoolNodeConfigGpuArgsOutputWithContext(ctx context.Context) NodePoolNodeConfigGpuArgsOutput
- func (o NodePoolNodeConfigGpuArgsOutput) ToNodePoolNodeConfigGpuArgsPtrOutput() NodePoolNodeConfigGpuArgsPtrOutput
- func (o NodePoolNodeConfigGpuArgsOutput) ToNodePoolNodeConfigGpuArgsPtrOutputWithContext(ctx context.Context) NodePoolNodeConfigGpuArgsPtrOutput
- type NodePoolNodeConfigGpuArgsPtrInput
- type NodePoolNodeConfigGpuArgsPtrOutput
- func (o NodePoolNodeConfigGpuArgsPtrOutput) Cuda() pulumi.MapOutput
- func (o NodePoolNodeConfigGpuArgsPtrOutput) Cudnn() pulumi.MapOutput
- func (o NodePoolNodeConfigGpuArgsPtrOutput) CustomDriver() pulumi.MapOutput
- func (o NodePoolNodeConfigGpuArgsPtrOutput) Driver() pulumi.MapOutput
- func (o NodePoolNodeConfigGpuArgsPtrOutput) Elem() NodePoolNodeConfigGpuArgsOutput
- func (NodePoolNodeConfigGpuArgsPtrOutput) ElementType() reflect.Type
- func (o NodePoolNodeConfigGpuArgsPtrOutput) MigEnable() pulumi.BoolPtrOutput
- func (o NodePoolNodeConfigGpuArgsPtrOutput) ToNodePoolNodeConfigGpuArgsPtrOutput() NodePoolNodeConfigGpuArgsPtrOutput
- func (o NodePoolNodeConfigGpuArgsPtrOutput) ToNodePoolNodeConfigGpuArgsPtrOutputWithContext(ctx context.Context) NodePoolNodeConfigGpuArgsPtrOutput
- type NodePoolNodeConfigInput
- type NodePoolNodeConfigOutput
- func (o NodePoolNodeConfigOutput) DataDisks() NodePoolNodeConfigDataDiskArrayOutput
- func (o NodePoolNodeConfigOutput) DesiredPodNum() pulumi.IntPtrOutput
- func (o NodePoolNodeConfigOutput) DockerGraphPath() pulumi.StringPtrOutput
- func (NodePoolNodeConfigOutput) ElementType() reflect.Type
- func (o NodePoolNodeConfigOutput) ExtraArgs() pulumi.StringArrayOutput
- func (o NodePoolNodeConfigOutput) GpuArgs() NodePoolNodeConfigGpuArgsPtrOutput
- func (o NodePoolNodeConfigOutput) IsSchedule() pulumi.BoolPtrOutput
- func (o NodePoolNodeConfigOutput) MountTarget() pulumi.StringPtrOutput
- func (o NodePoolNodeConfigOutput) ToNodePoolNodeConfigOutput() NodePoolNodeConfigOutput
- func (o NodePoolNodeConfigOutput) ToNodePoolNodeConfigOutputWithContext(ctx context.Context) NodePoolNodeConfigOutput
- func (o NodePoolNodeConfigOutput) ToNodePoolNodeConfigPtrOutput() NodePoolNodeConfigPtrOutput
- func (o NodePoolNodeConfigOutput) ToNodePoolNodeConfigPtrOutputWithContext(ctx context.Context) NodePoolNodeConfigPtrOutput
- func (o NodePoolNodeConfigOutput) UserData() pulumi.StringPtrOutput
- type NodePoolNodeConfigPtrInput
- type NodePoolNodeConfigPtrOutput
- func (o NodePoolNodeConfigPtrOutput) DataDisks() NodePoolNodeConfigDataDiskArrayOutput
- func (o NodePoolNodeConfigPtrOutput) DesiredPodNum() pulumi.IntPtrOutput
- func (o NodePoolNodeConfigPtrOutput) DockerGraphPath() pulumi.StringPtrOutput
- func (o NodePoolNodeConfigPtrOutput) Elem() NodePoolNodeConfigOutput
- func (NodePoolNodeConfigPtrOutput) ElementType() reflect.Type
- func (o NodePoolNodeConfigPtrOutput) ExtraArgs() pulumi.StringArrayOutput
- func (o NodePoolNodeConfigPtrOutput) GpuArgs() NodePoolNodeConfigGpuArgsPtrOutput
- func (o NodePoolNodeConfigPtrOutput) IsSchedule() pulumi.BoolPtrOutput
- func (o NodePoolNodeConfigPtrOutput) MountTarget() pulumi.StringPtrOutput
- func (o NodePoolNodeConfigPtrOutput) ToNodePoolNodeConfigPtrOutput() NodePoolNodeConfigPtrOutput
- func (o NodePoolNodeConfigPtrOutput) ToNodePoolNodeConfigPtrOutputWithContext(ctx context.Context) NodePoolNodeConfigPtrOutput
- func (o NodePoolNodeConfigPtrOutput) UserData() pulumi.StringPtrOutput
- type NodePoolOutput
- func (o NodePoolOutput) AutoScalingConfig() NodePoolAutoScalingConfigOutput
- func (o NodePoolOutput) AutoScalingGroupId() pulumi.StringOutput
- func (o NodePoolOutput) AutoscalingAddedTotal() pulumi.IntOutput
- func (o NodePoolOutput) ClusterId() pulumi.StringOutput
- func (o NodePoolOutput) DefaultCooldown() pulumi.IntOutput
- func (o NodePoolOutput) DeleteKeepInstance() pulumi.BoolPtrOutput
- func (o NodePoolOutput) DesiredCapacity() pulumi.IntOutput
- func (NodePoolOutput) ElementType() reflect.Type
- func (o NodePoolOutput) EnableAutoScale() pulumi.BoolPtrOutput
- func (o NodePoolOutput) Labels() pulumi.MapOutput
- func (o NodePoolOutput) LaunchConfigId() pulumi.StringOutput
- func (o NodePoolOutput) ManuallyAddedTotal() pulumi.IntOutput
- func (o NodePoolOutput) MaxSize() pulumi.IntOutput
- func (o NodePoolOutput) MinSize() pulumi.IntOutput
- func (o NodePoolOutput) MultiZoneSubnetPolicy() pulumi.StringPtrOutput
- func (o NodePoolOutput) Name() pulumi.StringOutput
- func (o NodePoolOutput) NodeConfig() NodePoolNodeConfigPtrOutput
- func (o NodePoolOutput) NodeCount() pulumi.IntOutput
- func (o NodePoolOutput) NodeOs() pulumi.StringPtrOutput
- func (o NodePoolOutput) NodeOsType() pulumi.StringPtrOutput
- func (o NodePoolOutput) RetryPolicy() pulumi.StringPtrOutput
- func (o NodePoolOutput) ScalingGroupName() pulumi.StringOutput
- func (o NodePoolOutput) ScalingGroupProjectId() pulumi.IntPtrOutput
- func (o NodePoolOutput) ScalingMode() pulumi.StringPtrOutput
- func (o NodePoolOutput) Status() pulumi.StringOutput
- func (o NodePoolOutput) SubnetIds() pulumi.StringArrayOutput
- func (o NodePoolOutput) Tags() pulumi.MapOutput
- func (o NodePoolOutput) Taints() NodePoolTaintArrayOutput
- func (o NodePoolOutput) TerminationPolicies() pulumi.StringOutput
- func (o NodePoolOutput) ToNodePoolOutput() NodePoolOutput
- func (o NodePoolOutput) ToNodePoolOutputWithContext(ctx context.Context) NodePoolOutput
- func (o NodePoolOutput) Unschedulable() pulumi.IntPtrOutput
- func (o NodePoolOutput) VpcId() pulumi.StringOutput
- func (o NodePoolOutput) Zones() pulumi.StringArrayOutput
- type NodePoolState
- type NodePoolTaint
- type NodePoolTaintArgs
- type NodePoolTaintArray
- type NodePoolTaintArrayInput
- type NodePoolTaintArrayOutput
- func (NodePoolTaintArrayOutput) ElementType() reflect.Type
- func (o NodePoolTaintArrayOutput) Index(i pulumi.IntInput) NodePoolTaintOutput
- func (o NodePoolTaintArrayOutput) ToNodePoolTaintArrayOutput() NodePoolTaintArrayOutput
- func (o NodePoolTaintArrayOutput) ToNodePoolTaintArrayOutputWithContext(ctx context.Context) NodePoolTaintArrayOutput
- type NodePoolTaintInput
- type NodePoolTaintOutput
- func (o NodePoolTaintOutput) Effect() pulumi.StringOutput
- func (NodePoolTaintOutput) ElementType() reflect.Type
- func (o NodePoolTaintOutput) Key() pulumi.StringOutput
- func (o NodePoolTaintOutput) ToNodePoolTaintOutput() NodePoolTaintOutput
- func (o NodePoolTaintOutput) ToNodePoolTaintOutputWithContext(ctx context.Context) NodePoolTaintOutput
- func (o NodePoolTaintOutput) Value() pulumi.StringOutput
- type ScaleWorker
- type ScaleWorkerArgs
- type ScaleWorkerArray
- type ScaleWorkerArrayInput
- type ScaleWorkerArrayOutput
- func (ScaleWorkerArrayOutput) ElementType() reflect.Type
- func (o ScaleWorkerArrayOutput) Index(i pulumi.IntInput) ScaleWorkerOutput
- func (o ScaleWorkerArrayOutput) ToScaleWorkerArrayOutput() ScaleWorkerArrayOutput
- func (o ScaleWorkerArrayOutput) ToScaleWorkerArrayOutputWithContext(ctx context.Context) ScaleWorkerArrayOutput
- type ScaleWorkerDataDisk
- type ScaleWorkerDataDiskArgs
- type ScaleWorkerDataDiskArray
- type ScaleWorkerDataDiskArrayInput
- type ScaleWorkerDataDiskArrayOutput
- func (ScaleWorkerDataDiskArrayOutput) ElementType() reflect.Type
- func (o ScaleWorkerDataDiskArrayOutput) Index(i pulumi.IntInput) ScaleWorkerDataDiskOutput
- func (o ScaleWorkerDataDiskArrayOutput) ToScaleWorkerDataDiskArrayOutput() ScaleWorkerDataDiskArrayOutput
- func (o ScaleWorkerDataDiskArrayOutput) ToScaleWorkerDataDiskArrayOutputWithContext(ctx context.Context) ScaleWorkerDataDiskArrayOutput
- type ScaleWorkerDataDiskInput
- type ScaleWorkerDataDiskOutput
- func (o ScaleWorkerDataDiskOutput) AutoFormatAndMount() pulumi.BoolPtrOutput
- func (o ScaleWorkerDataDiskOutput) DiskSize() pulumi.IntPtrOutput
- func (o ScaleWorkerDataDiskOutput) DiskType() pulumi.StringPtrOutput
- func (ScaleWorkerDataDiskOutput) ElementType() reflect.Type
- func (o ScaleWorkerDataDiskOutput) FileSystem() pulumi.StringPtrOutput
- func (o ScaleWorkerDataDiskOutput) MountTarget() pulumi.StringPtrOutput
- func (o ScaleWorkerDataDiskOutput) ToScaleWorkerDataDiskOutput() ScaleWorkerDataDiskOutput
- func (o ScaleWorkerDataDiskOutput) ToScaleWorkerDataDiskOutputWithContext(ctx context.Context) ScaleWorkerDataDiskOutput
- type ScaleWorkerGpuArgs
- type ScaleWorkerGpuArgsArgs
- func (ScaleWorkerGpuArgsArgs) ElementType() reflect.Type
- func (i ScaleWorkerGpuArgsArgs) ToScaleWorkerGpuArgsOutput() ScaleWorkerGpuArgsOutput
- func (i ScaleWorkerGpuArgsArgs) ToScaleWorkerGpuArgsOutputWithContext(ctx context.Context) ScaleWorkerGpuArgsOutput
- func (i ScaleWorkerGpuArgsArgs) ToScaleWorkerGpuArgsPtrOutput() ScaleWorkerGpuArgsPtrOutput
- func (i ScaleWorkerGpuArgsArgs) ToScaleWorkerGpuArgsPtrOutputWithContext(ctx context.Context) ScaleWorkerGpuArgsPtrOutput
- type ScaleWorkerGpuArgsInput
- type ScaleWorkerGpuArgsOutput
- func (o ScaleWorkerGpuArgsOutput) Cuda() pulumi.MapOutput
- func (o ScaleWorkerGpuArgsOutput) Cudnn() pulumi.MapOutput
- func (o ScaleWorkerGpuArgsOutput) CustomDriver() pulumi.MapOutput
- func (o ScaleWorkerGpuArgsOutput) Driver() pulumi.MapOutput
- func (ScaleWorkerGpuArgsOutput) ElementType() reflect.Type
- func (o ScaleWorkerGpuArgsOutput) MigEnable() pulumi.BoolPtrOutput
- func (o ScaleWorkerGpuArgsOutput) ToScaleWorkerGpuArgsOutput() ScaleWorkerGpuArgsOutput
- func (o ScaleWorkerGpuArgsOutput) ToScaleWorkerGpuArgsOutputWithContext(ctx context.Context) ScaleWorkerGpuArgsOutput
- func (o ScaleWorkerGpuArgsOutput) ToScaleWorkerGpuArgsPtrOutput() ScaleWorkerGpuArgsPtrOutput
- func (o ScaleWorkerGpuArgsOutput) ToScaleWorkerGpuArgsPtrOutputWithContext(ctx context.Context) ScaleWorkerGpuArgsPtrOutput
- type ScaleWorkerGpuArgsPtrInput
- type ScaleWorkerGpuArgsPtrOutput
- func (o ScaleWorkerGpuArgsPtrOutput) Cuda() pulumi.MapOutput
- func (o ScaleWorkerGpuArgsPtrOutput) Cudnn() pulumi.MapOutput
- func (o ScaleWorkerGpuArgsPtrOutput) CustomDriver() pulumi.MapOutput
- func (o ScaleWorkerGpuArgsPtrOutput) Driver() pulumi.MapOutput
- func (o ScaleWorkerGpuArgsPtrOutput) Elem() ScaleWorkerGpuArgsOutput
- func (ScaleWorkerGpuArgsPtrOutput) ElementType() reflect.Type
- func (o ScaleWorkerGpuArgsPtrOutput) MigEnable() pulumi.BoolPtrOutput
- func (o ScaleWorkerGpuArgsPtrOutput) ToScaleWorkerGpuArgsPtrOutput() ScaleWorkerGpuArgsPtrOutput
- func (o ScaleWorkerGpuArgsPtrOutput) ToScaleWorkerGpuArgsPtrOutputWithContext(ctx context.Context) ScaleWorkerGpuArgsPtrOutput
- type ScaleWorkerInput
- type ScaleWorkerMap
- type ScaleWorkerMapInput
- type ScaleWorkerMapOutput
- func (ScaleWorkerMapOutput) ElementType() reflect.Type
- func (o ScaleWorkerMapOutput) MapIndex(k pulumi.StringInput) ScaleWorkerOutput
- func (o ScaleWorkerMapOutput) ToScaleWorkerMapOutput() ScaleWorkerMapOutput
- func (o ScaleWorkerMapOutput) ToScaleWorkerMapOutputWithContext(ctx context.Context) ScaleWorkerMapOutput
- type ScaleWorkerOutput
- func (o ScaleWorkerOutput) ClusterId() pulumi.StringOutput
- func (o ScaleWorkerOutput) DataDisks() ScaleWorkerDataDiskArrayOutput
- func (o ScaleWorkerOutput) DesiredPodNum() pulumi.IntPtrOutput
- func (o ScaleWorkerOutput) DockerGraphPath() pulumi.StringPtrOutput
- func (ScaleWorkerOutput) ElementType() reflect.Type
- func (o ScaleWorkerOutput) ExtraArgs() pulumi.StringArrayOutput
- func (o ScaleWorkerOutput) GpuArgs() ScaleWorkerGpuArgsPtrOutput
- func (o ScaleWorkerOutput) Labels() pulumi.MapOutput
- func (o ScaleWorkerOutput) MountTarget() pulumi.StringPtrOutput
- func (o ScaleWorkerOutput) ToScaleWorkerOutput() ScaleWorkerOutput
- func (o ScaleWorkerOutput) ToScaleWorkerOutputWithContext(ctx context.Context) ScaleWorkerOutput
- func (o ScaleWorkerOutput) Unschedulable() pulumi.IntPtrOutput
- func (o ScaleWorkerOutput) WorkerConfig() ScaleWorkerWorkerConfigOutput
- func (o ScaleWorkerOutput) WorkerInstancesLists() ScaleWorkerWorkerInstancesListArrayOutput
- type ScaleWorkerState
- type ScaleWorkerWorkerConfig
- type ScaleWorkerWorkerConfigArgs
- func (ScaleWorkerWorkerConfigArgs) ElementType() reflect.Type
- func (i ScaleWorkerWorkerConfigArgs) ToScaleWorkerWorkerConfigOutput() ScaleWorkerWorkerConfigOutput
- func (i ScaleWorkerWorkerConfigArgs) ToScaleWorkerWorkerConfigOutputWithContext(ctx context.Context) ScaleWorkerWorkerConfigOutput
- func (i ScaleWorkerWorkerConfigArgs) ToScaleWorkerWorkerConfigPtrOutput() ScaleWorkerWorkerConfigPtrOutput
- func (i ScaleWorkerWorkerConfigArgs) ToScaleWorkerWorkerConfigPtrOutputWithContext(ctx context.Context) ScaleWorkerWorkerConfigPtrOutput
- type ScaleWorkerWorkerConfigDataDisk
- type ScaleWorkerWorkerConfigDataDiskArgs
- func (ScaleWorkerWorkerConfigDataDiskArgs) ElementType() reflect.Type
- func (i ScaleWorkerWorkerConfigDataDiskArgs) ToScaleWorkerWorkerConfigDataDiskOutput() ScaleWorkerWorkerConfigDataDiskOutput
- func (i ScaleWorkerWorkerConfigDataDiskArgs) ToScaleWorkerWorkerConfigDataDiskOutputWithContext(ctx context.Context) ScaleWorkerWorkerConfigDataDiskOutput
- type ScaleWorkerWorkerConfigDataDiskArray
- func (ScaleWorkerWorkerConfigDataDiskArray) ElementType() reflect.Type
- func (i ScaleWorkerWorkerConfigDataDiskArray) ToScaleWorkerWorkerConfigDataDiskArrayOutput() ScaleWorkerWorkerConfigDataDiskArrayOutput
- func (i ScaleWorkerWorkerConfigDataDiskArray) ToScaleWorkerWorkerConfigDataDiskArrayOutputWithContext(ctx context.Context) ScaleWorkerWorkerConfigDataDiskArrayOutput
- type ScaleWorkerWorkerConfigDataDiskArrayInput
- type ScaleWorkerWorkerConfigDataDiskArrayOutput
- func (ScaleWorkerWorkerConfigDataDiskArrayOutput) ElementType() reflect.Type
- func (o ScaleWorkerWorkerConfigDataDiskArrayOutput) Index(i pulumi.IntInput) ScaleWorkerWorkerConfigDataDiskOutput
- func (o ScaleWorkerWorkerConfigDataDiskArrayOutput) ToScaleWorkerWorkerConfigDataDiskArrayOutput() ScaleWorkerWorkerConfigDataDiskArrayOutput
- func (o ScaleWorkerWorkerConfigDataDiskArrayOutput) ToScaleWorkerWorkerConfigDataDiskArrayOutputWithContext(ctx context.Context) ScaleWorkerWorkerConfigDataDiskArrayOutput
- type ScaleWorkerWorkerConfigDataDiskInput
- type ScaleWorkerWorkerConfigDataDiskOutput
- func (o ScaleWorkerWorkerConfigDataDiskOutput) AutoFormatAndMount() pulumi.BoolPtrOutput
- func (o ScaleWorkerWorkerConfigDataDiskOutput) DiskPartition() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigDataDiskOutput) DiskSize() pulumi.IntPtrOutput
- func (o ScaleWorkerWorkerConfigDataDiskOutput) DiskType() pulumi.StringPtrOutput
- func (ScaleWorkerWorkerConfigDataDiskOutput) ElementType() reflect.Type
- func (o ScaleWorkerWorkerConfigDataDiskOutput) Encrypt() pulumi.BoolPtrOutput
- func (o ScaleWorkerWorkerConfigDataDiskOutput) FileSystem() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigDataDiskOutput) KmsKeyId() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigDataDiskOutput) MountTarget() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigDataDiskOutput) SnapshotId() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigDataDiskOutput) ToScaleWorkerWorkerConfigDataDiskOutput() ScaleWorkerWorkerConfigDataDiskOutput
- func (o ScaleWorkerWorkerConfigDataDiskOutput) ToScaleWorkerWorkerConfigDataDiskOutputWithContext(ctx context.Context) ScaleWorkerWorkerConfigDataDiskOutput
- type ScaleWorkerWorkerConfigInput
- type ScaleWorkerWorkerConfigOutput
- func (o ScaleWorkerWorkerConfigOutput) AvailabilityZone() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigOutput) BandwidthPackageId() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigOutput) CamRoleName() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigOutput) Count() pulumi.IntPtrOutput
- func (o ScaleWorkerWorkerConfigOutput) DataDisks() ScaleWorkerWorkerConfigDataDiskArrayOutput
- func (o ScaleWorkerWorkerConfigOutput) DesiredPodNum() pulumi.IntPtrOutput
- func (o ScaleWorkerWorkerConfigOutput) DisasterRecoverGroupIds() pulumi.StringPtrOutput
- func (ScaleWorkerWorkerConfigOutput) ElementType() reflect.Type
- func (o ScaleWorkerWorkerConfigOutput) EnhancedMonitorService() pulumi.BoolPtrOutput
- func (o ScaleWorkerWorkerConfigOutput) EnhancedSecurityService() pulumi.BoolPtrOutput
- func (o ScaleWorkerWorkerConfigOutput) Hostname() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigOutput) HpcClusterId() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigOutput) ImgId() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigOutput) InstanceChargeType() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigOutput) InstanceChargeTypePrepaidPeriod() pulumi.IntPtrOutput
- func (o ScaleWorkerWorkerConfigOutput) InstanceChargeTypePrepaidRenewFlag() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigOutput) InstanceName() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigOutput) InstanceType() pulumi.StringOutput
- func (o ScaleWorkerWorkerConfigOutput) InternetChargeType() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigOutput) InternetMaxBandwidthOut() pulumi.IntPtrOutput
- func (o ScaleWorkerWorkerConfigOutput) KeyIds() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigOutput) Password() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigOutput) PublicIpAssigned() pulumi.BoolPtrOutput
- func (o ScaleWorkerWorkerConfigOutput) SecurityGroupIds() pulumi.StringArrayOutput
- func (o ScaleWorkerWorkerConfigOutput) SubnetId() pulumi.StringOutput
- func (o ScaleWorkerWorkerConfigOutput) SystemDiskSize() pulumi.IntPtrOutput
- func (o ScaleWorkerWorkerConfigOutput) SystemDiskType() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigOutput) ToScaleWorkerWorkerConfigOutput() ScaleWorkerWorkerConfigOutput
- func (o ScaleWorkerWorkerConfigOutput) ToScaleWorkerWorkerConfigOutputWithContext(ctx context.Context) ScaleWorkerWorkerConfigOutput
- func (o ScaleWorkerWorkerConfigOutput) ToScaleWorkerWorkerConfigPtrOutput() ScaleWorkerWorkerConfigPtrOutput
- func (o ScaleWorkerWorkerConfigOutput) ToScaleWorkerWorkerConfigPtrOutputWithContext(ctx context.Context) ScaleWorkerWorkerConfigPtrOutput
- func (o ScaleWorkerWorkerConfigOutput) UserData() pulumi.StringPtrOutput
- type ScaleWorkerWorkerConfigPtrInput
- type ScaleWorkerWorkerConfigPtrOutput
- func (o ScaleWorkerWorkerConfigPtrOutput) AvailabilityZone() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigPtrOutput) BandwidthPackageId() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigPtrOutput) CamRoleName() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigPtrOutput) Count() pulumi.IntPtrOutput
- func (o ScaleWorkerWorkerConfigPtrOutput) DataDisks() ScaleWorkerWorkerConfigDataDiskArrayOutput
- func (o ScaleWorkerWorkerConfigPtrOutput) DesiredPodNum() pulumi.IntPtrOutput
- func (o ScaleWorkerWorkerConfigPtrOutput) DisasterRecoverGroupIds() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigPtrOutput) Elem() ScaleWorkerWorkerConfigOutput
- func (ScaleWorkerWorkerConfigPtrOutput) ElementType() reflect.Type
- func (o ScaleWorkerWorkerConfigPtrOutput) EnhancedMonitorService() pulumi.BoolPtrOutput
- func (o ScaleWorkerWorkerConfigPtrOutput) EnhancedSecurityService() pulumi.BoolPtrOutput
- func (o ScaleWorkerWorkerConfigPtrOutput) Hostname() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigPtrOutput) HpcClusterId() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigPtrOutput) ImgId() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigPtrOutput) InstanceChargeType() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigPtrOutput) InstanceChargeTypePrepaidPeriod() pulumi.IntPtrOutput
- func (o ScaleWorkerWorkerConfigPtrOutput) InstanceChargeTypePrepaidRenewFlag() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigPtrOutput) InstanceName() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigPtrOutput) InstanceType() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigPtrOutput) InternetChargeType() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigPtrOutput) InternetMaxBandwidthOut() pulumi.IntPtrOutput
- func (o ScaleWorkerWorkerConfigPtrOutput) KeyIds() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigPtrOutput) Password() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigPtrOutput) PublicIpAssigned() pulumi.BoolPtrOutput
- func (o ScaleWorkerWorkerConfigPtrOutput) SecurityGroupIds() pulumi.StringArrayOutput
- func (o ScaleWorkerWorkerConfigPtrOutput) SubnetId() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigPtrOutput) SystemDiskSize() pulumi.IntPtrOutput
- func (o ScaleWorkerWorkerConfigPtrOutput) SystemDiskType() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerConfigPtrOutput) ToScaleWorkerWorkerConfigPtrOutput() ScaleWorkerWorkerConfigPtrOutput
- func (o ScaleWorkerWorkerConfigPtrOutput) ToScaleWorkerWorkerConfigPtrOutputWithContext(ctx context.Context) ScaleWorkerWorkerConfigPtrOutput
- func (o ScaleWorkerWorkerConfigPtrOutput) UserData() pulumi.StringPtrOutput
- type ScaleWorkerWorkerInstancesList
- type ScaleWorkerWorkerInstancesListArgs
- func (ScaleWorkerWorkerInstancesListArgs) ElementType() reflect.Type
- func (i ScaleWorkerWorkerInstancesListArgs) ToScaleWorkerWorkerInstancesListOutput() ScaleWorkerWorkerInstancesListOutput
- func (i ScaleWorkerWorkerInstancesListArgs) ToScaleWorkerWorkerInstancesListOutputWithContext(ctx context.Context) ScaleWorkerWorkerInstancesListOutput
- type ScaleWorkerWorkerInstancesListArray
- func (ScaleWorkerWorkerInstancesListArray) ElementType() reflect.Type
- func (i ScaleWorkerWorkerInstancesListArray) ToScaleWorkerWorkerInstancesListArrayOutput() ScaleWorkerWorkerInstancesListArrayOutput
- func (i ScaleWorkerWorkerInstancesListArray) ToScaleWorkerWorkerInstancesListArrayOutputWithContext(ctx context.Context) ScaleWorkerWorkerInstancesListArrayOutput
- type ScaleWorkerWorkerInstancesListArrayInput
- type ScaleWorkerWorkerInstancesListArrayOutput
- func (ScaleWorkerWorkerInstancesListArrayOutput) ElementType() reflect.Type
- func (o ScaleWorkerWorkerInstancesListArrayOutput) Index(i pulumi.IntInput) ScaleWorkerWorkerInstancesListOutput
- func (o ScaleWorkerWorkerInstancesListArrayOutput) ToScaleWorkerWorkerInstancesListArrayOutput() ScaleWorkerWorkerInstancesListArrayOutput
- func (o ScaleWorkerWorkerInstancesListArrayOutput) ToScaleWorkerWorkerInstancesListArrayOutputWithContext(ctx context.Context) ScaleWorkerWorkerInstancesListArrayOutput
- type ScaleWorkerWorkerInstancesListInput
- type ScaleWorkerWorkerInstancesListOutput
- func (ScaleWorkerWorkerInstancesListOutput) ElementType() reflect.Type
- func (o ScaleWorkerWorkerInstancesListOutput) FailedReason() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerInstancesListOutput) InstanceId() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerInstancesListOutput) InstanceRole() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerInstancesListOutput) InstanceState() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerInstancesListOutput) LanIp() pulumi.StringPtrOutput
- func (o ScaleWorkerWorkerInstancesListOutput) ToScaleWorkerWorkerInstancesListOutput() ScaleWorkerWorkerInstancesListOutput
- func (o ScaleWorkerWorkerInstancesListOutput) ToScaleWorkerWorkerInstancesListOutputWithContext(ctx context.Context) ScaleWorkerWorkerInstancesListOutput
- type ServerlessNodePool
- type ServerlessNodePoolArgs
- type ServerlessNodePoolArray
- type ServerlessNodePoolArrayInput
- type ServerlessNodePoolArrayOutput
- func (ServerlessNodePoolArrayOutput) ElementType() reflect.Type
- func (o ServerlessNodePoolArrayOutput) Index(i pulumi.IntInput) ServerlessNodePoolOutput
- func (o ServerlessNodePoolArrayOutput) ToServerlessNodePoolArrayOutput() ServerlessNodePoolArrayOutput
- func (o ServerlessNodePoolArrayOutput) ToServerlessNodePoolArrayOutputWithContext(ctx context.Context) ServerlessNodePoolArrayOutput
- type ServerlessNodePoolInput
- type ServerlessNodePoolMap
- type ServerlessNodePoolMapInput
- type ServerlessNodePoolMapOutput
- func (ServerlessNodePoolMapOutput) ElementType() reflect.Type
- func (o ServerlessNodePoolMapOutput) MapIndex(k pulumi.StringInput) ServerlessNodePoolOutput
- func (o ServerlessNodePoolMapOutput) ToServerlessNodePoolMapOutput() ServerlessNodePoolMapOutput
- func (o ServerlessNodePoolMapOutput) ToServerlessNodePoolMapOutputWithContext(ctx context.Context) ServerlessNodePoolMapOutput
- type ServerlessNodePoolOutput
- func (o ServerlessNodePoolOutput) ClusterId() pulumi.StringOutput
- func (ServerlessNodePoolOutput) ElementType() reflect.Type
- func (o ServerlessNodePoolOutput) Labels() pulumi.MapOutput
- func (o ServerlessNodePoolOutput) LifeState() pulumi.StringOutput
- func (o ServerlessNodePoolOutput) Name() pulumi.StringOutput
- func (o ServerlessNodePoolOutput) SecurityGroupIds() pulumi.StringArrayOutput
- func (o ServerlessNodePoolOutput) ServerlessNodes() ServerlessNodePoolServerlessNodeArrayOutput
- func (o ServerlessNodePoolOutput) Taints() ServerlessNodePoolTaintArrayOutput
- func (o ServerlessNodePoolOutput) ToServerlessNodePoolOutput() ServerlessNodePoolOutput
- func (o ServerlessNodePoolOutput) ToServerlessNodePoolOutputWithContext(ctx context.Context) ServerlessNodePoolOutput
- type ServerlessNodePoolServerlessNode
- type ServerlessNodePoolServerlessNodeArgs
- func (ServerlessNodePoolServerlessNodeArgs) ElementType() reflect.Type
- func (i ServerlessNodePoolServerlessNodeArgs) ToServerlessNodePoolServerlessNodeOutput() ServerlessNodePoolServerlessNodeOutput
- func (i ServerlessNodePoolServerlessNodeArgs) ToServerlessNodePoolServerlessNodeOutputWithContext(ctx context.Context) ServerlessNodePoolServerlessNodeOutput
- type ServerlessNodePoolServerlessNodeArray
- func (ServerlessNodePoolServerlessNodeArray) ElementType() reflect.Type
- func (i ServerlessNodePoolServerlessNodeArray) ToServerlessNodePoolServerlessNodeArrayOutput() ServerlessNodePoolServerlessNodeArrayOutput
- func (i ServerlessNodePoolServerlessNodeArray) ToServerlessNodePoolServerlessNodeArrayOutputWithContext(ctx context.Context) ServerlessNodePoolServerlessNodeArrayOutput
- type ServerlessNodePoolServerlessNodeArrayInput
- type ServerlessNodePoolServerlessNodeArrayOutput
- func (ServerlessNodePoolServerlessNodeArrayOutput) ElementType() reflect.Type
- func (o ServerlessNodePoolServerlessNodeArrayOutput) Index(i pulumi.IntInput) ServerlessNodePoolServerlessNodeOutput
- func (o ServerlessNodePoolServerlessNodeArrayOutput) ToServerlessNodePoolServerlessNodeArrayOutput() ServerlessNodePoolServerlessNodeArrayOutput
- func (o ServerlessNodePoolServerlessNodeArrayOutput) ToServerlessNodePoolServerlessNodeArrayOutputWithContext(ctx context.Context) ServerlessNodePoolServerlessNodeArrayOutput
- type ServerlessNodePoolServerlessNodeInput
- type ServerlessNodePoolServerlessNodeOutput
- func (o ServerlessNodePoolServerlessNodeOutput) DisplayName() pulumi.StringPtrOutput
- func (ServerlessNodePoolServerlessNodeOutput) ElementType() reflect.Type
- func (o ServerlessNodePoolServerlessNodeOutput) SubnetId() pulumi.StringOutput
- func (o ServerlessNodePoolServerlessNodeOutput) ToServerlessNodePoolServerlessNodeOutput() ServerlessNodePoolServerlessNodeOutput
- func (o ServerlessNodePoolServerlessNodeOutput) ToServerlessNodePoolServerlessNodeOutputWithContext(ctx context.Context) ServerlessNodePoolServerlessNodeOutput
- type ServerlessNodePoolState
- type ServerlessNodePoolTaint
- type ServerlessNodePoolTaintArgs
- type ServerlessNodePoolTaintArray
- func (ServerlessNodePoolTaintArray) ElementType() reflect.Type
- func (i ServerlessNodePoolTaintArray) ToServerlessNodePoolTaintArrayOutput() ServerlessNodePoolTaintArrayOutput
- func (i ServerlessNodePoolTaintArray) ToServerlessNodePoolTaintArrayOutputWithContext(ctx context.Context) ServerlessNodePoolTaintArrayOutput
- type ServerlessNodePoolTaintArrayInput
- type ServerlessNodePoolTaintArrayOutput
- func (ServerlessNodePoolTaintArrayOutput) ElementType() reflect.Type
- func (o ServerlessNodePoolTaintArrayOutput) Index(i pulumi.IntInput) ServerlessNodePoolTaintOutput
- func (o ServerlessNodePoolTaintArrayOutput) ToServerlessNodePoolTaintArrayOutput() ServerlessNodePoolTaintArrayOutput
- func (o ServerlessNodePoolTaintArrayOutput) ToServerlessNodePoolTaintArrayOutputWithContext(ctx context.Context) ServerlessNodePoolTaintArrayOutput
- type ServerlessNodePoolTaintInput
- type ServerlessNodePoolTaintOutput
- func (o ServerlessNodePoolTaintOutput) Effect() pulumi.StringOutput
- func (ServerlessNodePoolTaintOutput) ElementType() reflect.Type
- func (o ServerlessNodePoolTaintOutput) Key() pulumi.StringOutput
- func (o ServerlessNodePoolTaintOutput) ToServerlessNodePoolTaintOutput() ServerlessNodePoolTaintOutput
- func (o ServerlessNodePoolTaintOutput) ToServerlessNodePoolTaintOutputWithContext(ctx context.Context) ServerlessNodePoolTaintOutput
- func (o ServerlessNodePoolTaintOutput) Value() pulumi.StringOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶ added in v0.0.5
PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.
Types ¶
type AddonAttachment ¶
type AddonAttachment struct { pulumi.CustomResourceState // ID of cluster. ClusterId pulumi.StringOutput `pulumi:"clusterId"` // Name of addon. Name pulumi.StringOutput `pulumi:"name"` // Serialized json string as request body of addon spec. If set, will ignore `version` and `values`. RequestBody pulumi.StringPtrOutput `pulumi:"requestBody"` // Addon response body. ResponseBody pulumi.StringOutput `pulumi:"responseBody"` // Addon current status. Status pulumi.MapOutput `pulumi:"status"` // Values the addon passthroughs. Conflict with `requestBody`. Values pulumi.StringArrayOutput `pulumi:"values"` // Addon version, default latest version. Conflict with `requestBody`. Version pulumi.StringOutput `pulumi:"version"` }
Provide a resource to configure kubernetes cluster app addons.
> **NOTE**: Avoid to using legacy "1.0.0" version, leave the versions empty so we can fetch the latest while creating.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Kubernetes.NewAddonAttachment(ctx, "addonCbs", &Kubernetes.AddonAttachmentArgs{ ClusterId: pulumi.String("cls-xxxxxxxx"), Values: pulumi.StringArray{ pulumi.String("rootdir=/var/lib/kubelet"), }, }) if err != nil { return err } _, err = Kubernetes.NewAddonAttachment(ctx, "addonTcr", &Kubernetes.AddonAttachmentArgs{ ClusterId: pulumi.String("cls-xxxxxxxx"), Values: pulumi.StringArray{ pulumi.String("global.imagePullSecretsCrs[0].name=unique-sample-vpc"), pulumi.String("global.imagePullSecretsCrs[0].namespaces=tcr-assistant-system"), pulumi.String("global.imagePullSecretsCrs[0].serviceAccounts=*"), pulumi.String("global.imagePullSecretsCrs[0].type=docker"), pulumi.String("global.imagePullSecretsCrs[0].dockerUsername=100012345678"), pulumi.String("global.imagePullSecretsCrs[0].dockerPassword=a.b.tcr-token"), pulumi.String("global.imagePullSecretsCrs[0].dockerServer=xxxx.tencentcloudcr.com"), pulumi.String("global.imagePullSecretsCrs[1].name=sample-public"), pulumi.String("global.imagePullSecretsCrs[1].namespaces=*"), pulumi.String("global.imagePullSecretsCrs[1].serviceAccounts=*"), pulumi.String("global.imagePullSecretsCrs[1].type=docker"), pulumi.String("global.imagePullSecretsCrs[1].dockerUsername=100012345678"), pulumi.String("global.imagePullSecretsCrs[1].dockerPassword=a.b.tcr-token"), pulumi.String("global.imagePullSecretsCrs[1].dockerServer=sample"), pulumi.String("global.hosts[0].domain=sample-vpc.tencentcloudcr.com"), pulumi.String("global.hosts[0].ip=10.16.0.49"), pulumi.String("global.hosts[0].disabled=false"), }, }) if err != nil { return err } return nil }) }
```
Install new addon by passing spec json to reqBody directly ¶
```go package main
import (
"fmt" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Kubernetes.NewAddonAttachment(ctx, "addonCbs", &Kubernetes.AddonAttachmentArgs{ ClusterId: pulumi.String("cls-xxxxxxxx"), RequestBody: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", " {\n", " \"spec\":{\n", " \"chart\":{\n", " \"chartName\":\"cbs\",\n", " \"chartVersion\":\"1.0.5\"\n", " },\n", " \"values\":{\n", " \"rawValuesType\":\"yaml\",\n", " \"values\":[\n", " \"rootdir=/var/lib/kubelet\"\n", " ]\n", " }\n", " }\n", " }\n", "\n")), }) if err != nil { return err } return nil }) }
```
## Import
Addon can be imported by using cluster_id#addon_name
```sh
$ pulumi import tencentcloud:Kubernetes/addonAttachment:AddonAttachment addon_cos cls-xxxxxxxx#cos
```
func GetAddonAttachment ¶
func GetAddonAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AddonAttachmentState, opts ...pulumi.ResourceOption) (*AddonAttachment, error)
GetAddonAttachment gets an existing AddonAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewAddonAttachment ¶
func NewAddonAttachment(ctx *pulumi.Context, name string, args *AddonAttachmentArgs, opts ...pulumi.ResourceOption) (*AddonAttachment, error)
NewAddonAttachment registers a new resource with the given unique name, arguments, and options.
func (*AddonAttachment) ElementType ¶
func (*AddonAttachment) ElementType() reflect.Type
func (*AddonAttachment) ToAddonAttachmentOutput ¶
func (i *AddonAttachment) ToAddonAttachmentOutput() AddonAttachmentOutput
func (*AddonAttachment) ToAddonAttachmentOutputWithContext ¶
func (i *AddonAttachment) ToAddonAttachmentOutputWithContext(ctx context.Context) AddonAttachmentOutput
type AddonAttachmentArgs ¶
type AddonAttachmentArgs struct { // ID of cluster. ClusterId pulumi.StringInput // Name of addon. Name pulumi.StringPtrInput // Serialized json string as request body of addon spec. If set, will ignore `version` and `values`. RequestBody pulumi.StringPtrInput // Values the addon passthroughs. Conflict with `requestBody`. Values pulumi.StringArrayInput // Addon version, default latest version. Conflict with `requestBody`. Version pulumi.StringPtrInput }
The set of arguments for constructing a AddonAttachment resource.
func (AddonAttachmentArgs) ElementType ¶
func (AddonAttachmentArgs) ElementType() reflect.Type
type AddonAttachmentArray ¶
type AddonAttachmentArray []AddonAttachmentInput
func (AddonAttachmentArray) ElementType ¶
func (AddonAttachmentArray) ElementType() reflect.Type
func (AddonAttachmentArray) ToAddonAttachmentArrayOutput ¶
func (i AddonAttachmentArray) ToAddonAttachmentArrayOutput() AddonAttachmentArrayOutput
func (AddonAttachmentArray) ToAddonAttachmentArrayOutputWithContext ¶
func (i AddonAttachmentArray) ToAddonAttachmentArrayOutputWithContext(ctx context.Context) AddonAttachmentArrayOutput
type AddonAttachmentArrayInput ¶
type AddonAttachmentArrayInput interface { pulumi.Input ToAddonAttachmentArrayOutput() AddonAttachmentArrayOutput ToAddonAttachmentArrayOutputWithContext(context.Context) AddonAttachmentArrayOutput }
AddonAttachmentArrayInput is an input type that accepts AddonAttachmentArray and AddonAttachmentArrayOutput values. You can construct a concrete instance of `AddonAttachmentArrayInput` via:
AddonAttachmentArray{ AddonAttachmentArgs{...} }
type AddonAttachmentArrayOutput ¶
type AddonAttachmentArrayOutput struct{ *pulumi.OutputState }
func (AddonAttachmentArrayOutput) ElementType ¶
func (AddonAttachmentArrayOutput) ElementType() reflect.Type
func (AddonAttachmentArrayOutput) Index ¶
func (o AddonAttachmentArrayOutput) Index(i pulumi.IntInput) AddonAttachmentOutput
func (AddonAttachmentArrayOutput) ToAddonAttachmentArrayOutput ¶
func (o AddonAttachmentArrayOutput) ToAddonAttachmentArrayOutput() AddonAttachmentArrayOutput
func (AddonAttachmentArrayOutput) ToAddonAttachmentArrayOutputWithContext ¶
func (o AddonAttachmentArrayOutput) ToAddonAttachmentArrayOutputWithContext(ctx context.Context) AddonAttachmentArrayOutput
type AddonAttachmentInput ¶
type AddonAttachmentInput interface { pulumi.Input ToAddonAttachmentOutput() AddonAttachmentOutput ToAddonAttachmentOutputWithContext(ctx context.Context) AddonAttachmentOutput }
type AddonAttachmentMap ¶
type AddonAttachmentMap map[string]AddonAttachmentInput
func (AddonAttachmentMap) ElementType ¶
func (AddonAttachmentMap) ElementType() reflect.Type
func (AddonAttachmentMap) ToAddonAttachmentMapOutput ¶
func (i AddonAttachmentMap) ToAddonAttachmentMapOutput() AddonAttachmentMapOutput
func (AddonAttachmentMap) ToAddonAttachmentMapOutputWithContext ¶
func (i AddonAttachmentMap) ToAddonAttachmentMapOutputWithContext(ctx context.Context) AddonAttachmentMapOutput
type AddonAttachmentMapInput ¶
type AddonAttachmentMapInput interface { pulumi.Input ToAddonAttachmentMapOutput() AddonAttachmentMapOutput ToAddonAttachmentMapOutputWithContext(context.Context) AddonAttachmentMapOutput }
AddonAttachmentMapInput is an input type that accepts AddonAttachmentMap and AddonAttachmentMapOutput values. You can construct a concrete instance of `AddonAttachmentMapInput` via:
AddonAttachmentMap{ "key": AddonAttachmentArgs{...} }
type AddonAttachmentMapOutput ¶
type AddonAttachmentMapOutput struct{ *pulumi.OutputState }
func (AddonAttachmentMapOutput) ElementType ¶
func (AddonAttachmentMapOutput) ElementType() reflect.Type
func (AddonAttachmentMapOutput) MapIndex ¶
func (o AddonAttachmentMapOutput) MapIndex(k pulumi.StringInput) AddonAttachmentOutput
func (AddonAttachmentMapOutput) ToAddonAttachmentMapOutput ¶
func (o AddonAttachmentMapOutput) ToAddonAttachmentMapOutput() AddonAttachmentMapOutput
func (AddonAttachmentMapOutput) ToAddonAttachmentMapOutputWithContext ¶
func (o AddonAttachmentMapOutput) ToAddonAttachmentMapOutputWithContext(ctx context.Context) AddonAttachmentMapOutput
type AddonAttachmentOutput ¶
type AddonAttachmentOutput struct{ *pulumi.OutputState }
func (AddonAttachmentOutput) ClusterId ¶
func (o AddonAttachmentOutput) ClusterId() pulumi.StringOutput
ID of cluster.
func (AddonAttachmentOutput) ElementType ¶
func (AddonAttachmentOutput) ElementType() reflect.Type
func (AddonAttachmentOutput) Name ¶
func (o AddonAttachmentOutput) Name() pulumi.StringOutput
Name of addon.
func (AddonAttachmentOutput) RequestBody ¶
func (o AddonAttachmentOutput) RequestBody() pulumi.StringPtrOutput
Serialized json string as request body of addon spec. If set, will ignore `version` and `values`.
func (AddonAttachmentOutput) ResponseBody ¶
func (o AddonAttachmentOutput) ResponseBody() pulumi.StringOutput
Addon response body.
func (AddonAttachmentOutput) Status ¶
func (o AddonAttachmentOutput) Status() pulumi.MapOutput
Addon current status.
func (AddonAttachmentOutput) ToAddonAttachmentOutput ¶
func (o AddonAttachmentOutput) ToAddonAttachmentOutput() AddonAttachmentOutput
func (AddonAttachmentOutput) ToAddonAttachmentOutputWithContext ¶
func (o AddonAttachmentOutput) ToAddonAttachmentOutputWithContext(ctx context.Context) AddonAttachmentOutput
func (AddonAttachmentOutput) Values ¶
func (o AddonAttachmentOutput) Values() pulumi.StringArrayOutput
Values the addon passthroughs. Conflict with `requestBody`.
func (AddonAttachmentOutput) Version ¶
func (o AddonAttachmentOutput) Version() pulumi.StringOutput
Addon version, default latest version. Conflict with `requestBody`.
type AddonAttachmentState ¶
type AddonAttachmentState struct { // ID of cluster. ClusterId pulumi.StringPtrInput // Name of addon. Name pulumi.StringPtrInput // Serialized json string as request body of addon spec. If set, will ignore `version` and `values`. RequestBody pulumi.StringPtrInput // Addon response body. ResponseBody pulumi.StringPtrInput // Addon current status. Status pulumi.MapInput // Values the addon passthroughs. Conflict with `requestBody`. Values pulumi.StringArrayInput // Addon version, default latest version. Conflict with `requestBody`. Version pulumi.StringPtrInput }
func (AddonAttachmentState) ElementType ¶
func (AddonAttachmentState) ElementType() reflect.Type
type AsScalingGroup ¶
type AsScalingGroup struct { pulumi.CustomResourceState // Auto scaling config parameters. AutoScalingConfig AsScalingGroupAutoScalingConfigOutput `pulumi:"autoScalingConfig"` // Auto scaling group parameters. AutoScalingGroup AsScalingGroupAutoScalingGroupOutput `pulumi:"autoScalingGroup"` // ID of the cluster. ClusterId pulumi.StringOutput `pulumi:"clusterId"` // Custom parameter information related to the node. ExtraArgs pulumi.StringArrayOutput `pulumi:"extraArgs"` // Labels of kubernetes AS Group created nodes. Labels pulumi.MapOutput `pulumi:"labels"` // Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling. Unschedulable pulumi.IntPtrOutput `pulumi:"unschedulable"` }
Auto scaling group for kubernetes cluster (offlined).
> **NOTE:** This resource was offline no longer suppored.
func GetAsScalingGroup ¶
func GetAsScalingGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AsScalingGroupState, opts ...pulumi.ResourceOption) (*AsScalingGroup, error)
GetAsScalingGroup gets an existing AsScalingGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewAsScalingGroup ¶
func NewAsScalingGroup(ctx *pulumi.Context, name string, args *AsScalingGroupArgs, opts ...pulumi.ResourceOption) (*AsScalingGroup, error)
NewAsScalingGroup registers a new resource with the given unique name, arguments, and options.
func (*AsScalingGroup) ElementType ¶
func (*AsScalingGroup) ElementType() reflect.Type
func (*AsScalingGroup) ToAsScalingGroupOutput ¶
func (i *AsScalingGroup) ToAsScalingGroupOutput() AsScalingGroupOutput
func (*AsScalingGroup) ToAsScalingGroupOutputWithContext ¶
func (i *AsScalingGroup) ToAsScalingGroupOutputWithContext(ctx context.Context) AsScalingGroupOutput
type AsScalingGroupArgs ¶
type AsScalingGroupArgs struct { // Auto scaling config parameters. AutoScalingConfig AsScalingGroupAutoScalingConfigInput // Auto scaling group parameters. AutoScalingGroup AsScalingGroupAutoScalingGroupInput // ID of the cluster. ClusterId pulumi.StringInput // Custom parameter information related to the node. ExtraArgs pulumi.StringArrayInput // Labels of kubernetes AS Group created nodes. Labels pulumi.MapInput // Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling. Unschedulable pulumi.IntPtrInput }
The set of arguments for constructing a AsScalingGroup resource.
func (AsScalingGroupArgs) ElementType ¶
func (AsScalingGroupArgs) ElementType() reflect.Type
type AsScalingGroupArray ¶
type AsScalingGroupArray []AsScalingGroupInput
func (AsScalingGroupArray) ElementType ¶
func (AsScalingGroupArray) ElementType() reflect.Type
func (AsScalingGroupArray) ToAsScalingGroupArrayOutput ¶
func (i AsScalingGroupArray) ToAsScalingGroupArrayOutput() AsScalingGroupArrayOutput
func (AsScalingGroupArray) ToAsScalingGroupArrayOutputWithContext ¶
func (i AsScalingGroupArray) ToAsScalingGroupArrayOutputWithContext(ctx context.Context) AsScalingGroupArrayOutput
type AsScalingGroupArrayInput ¶
type AsScalingGroupArrayInput interface { pulumi.Input ToAsScalingGroupArrayOutput() AsScalingGroupArrayOutput ToAsScalingGroupArrayOutputWithContext(context.Context) AsScalingGroupArrayOutput }
AsScalingGroupArrayInput is an input type that accepts AsScalingGroupArray and AsScalingGroupArrayOutput values. You can construct a concrete instance of `AsScalingGroupArrayInput` via:
AsScalingGroupArray{ AsScalingGroupArgs{...} }
type AsScalingGroupArrayOutput ¶
type AsScalingGroupArrayOutput struct{ *pulumi.OutputState }
func (AsScalingGroupArrayOutput) ElementType ¶
func (AsScalingGroupArrayOutput) ElementType() reflect.Type
func (AsScalingGroupArrayOutput) Index ¶
func (o AsScalingGroupArrayOutput) Index(i pulumi.IntInput) AsScalingGroupOutput
func (AsScalingGroupArrayOutput) ToAsScalingGroupArrayOutput ¶
func (o AsScalingGroupArrayOutput) ToAsScalingGroupArrayOutput() AsScalingGroupArrayOutput
func (AsScalingGroupArrayOutput) ToAsScalingGroupArrayOutputWithContext ¶
func (o AsScalingGroupArrayOutput) ToAsScalingGroupArrayOutputWithContext(ctx context.Context) AsScalingGroupArrayOutput
type AsScalingGroupInput ¶
type AsScalingGroupInput interface { pulumi.Input ToAsScalingGroupOutput() AsScalingGroupOutput ToAsScalingGroupOutputWithContext(ctx context.Context) AsScalingGroupOutput }
type AsScalingGroupMap ¶
type AsScalingGroupMap map[string]AsScalingGroupInput
func (AsScalingGroupMap) ElementType ¶
func (AsScalingGroupMap) ElementType() reflect.Type
func (AsScalingGroupMap) ToAsScalingGroupMapOutput ¶
func (i AsScalingGroupMap) ToAsScalingGroupMapOutput() AsScalingGroupMapOutput
func (AsScalingGroupMap) ToAsScalingGroupMapOutputWithContext ¶
func (i AsScalingGroupMap) ToAsScalingGroupMapOutputWithContext(ctx context.Context) AsScalingGroupMapOutput
type AsScalingGroupMapInput ¶
type AsScalingGroupMapInput interface { pulumi.Input ToAsScalingGroupMapOutput() AsScalingGroupMapOutput ToAsScalingGroupMapOutputWithContext(context.Context) AsScalingGroupMapOutput }
AsScalingGroupMapInput is an input type that accepts AsScalingGroupMap and AsScalingGroupMapOutput values. You can construct a concrete instance of `AsScalingGroupMapInput` via:
AsScalingGroupMap{ "key": AsScalingGroupArgs{...} }
type AsScalingGroupMapOutput ¶
type AsScalingGroupMapOutput struct{ *pulumi.OutputState }
func (AsScalingGroupMapOutput) ElementType ¶
func (AsScalingGroupMapOutput) ElementType() reflect.Type
func (AsScalingGroupMapOutput) MapIndex ¶
func (o AsScalingGroupMapOutput) MapIndex(k pulumi.StringInput) AsScalingGroupOutput
func (AsScalingGroupMapOutput) ToAsScalingGroupMapOutput ¶
func (o AsScalingGroupMapOutput) ToAsScalingGroupMapOutput() AsScalingGroupMapOutput
func (AsScalingGroupMapOutput) ToAsScalingGroupMapOutputWithContext ¶
func (o AsScalingGroupMapOutput) ToAsScalingGroupMapOutputWithContext(ctx context.Context) AsScalingGroupMapOutput
type AsScalingGroupOutput ¶
type AsScalingGroupOutput struct{ *pulumi.OutputState }
func (AsScalingGroupOutput) AutoScalingConfig ¶
func (o AsScalingGroupOutput) AutoScalingConfig() AsScalingGroupAutoScalingConfigOutput
Auto scaling config parameters.
func (AsScalingGroupOutput) AutoScalingGroup ¶
func (o AsScalingGroupOutput) AutoScalingGroup() AsScalingGroupAutoScalingGroupOutput
Auto scaling group parameters.
func (AsScalingGroupOutput) ClusterId ¶
func (o AsScalingGroupOutput) ClusterId() pulumi.StringOutput
ID of the cluster.
func (AsScalingGroupOutput) ElementType ¶
func (AsScalingGroupOutput) ElementType() reflect.Type
func (AsScalingGroupOutput) ExtraArgs ¶
func (o AsScalingGroupOutput) ExtraArgs() pulumi.StringArrayOutput
Custom parameter information related to the node.
func (AsScalingGroupOutput) Labels ¶
func (o AsScalingGroupOutput) Labels() pulumi.MapOutput
Labels of kubernetes AS Group created nodes.
func (AsScalingGroupOutput) ToAsScalingGroupOutput ¶
func (o AsScalingGroupOutput) ToAsScalingGroupOutput() AsScalingGroupOutput
func (AsScalingGroupOutput) ToAsScalingGroupOutputWithContext ¶
func (o AsScalingGroupOutput) ToAsScalingGroupOutputWithContext(ctx context.Context) AsScalingGroupOutput
func (AsScalingGroupOutput) Unschedulable ¶
func (o AsScalingGroupOutput) Unschedulable() pulumi.IntPtrOutput
Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
type AsScalingGroupState ¶
type AsScalingGroupState struct { // Auto scaling config parameters. AutoScalingConfig AsScalingGroupAutoScalingConfigPtrInput // Auto scaling group parameters. AutoScalingGroup AsScalingGroupAutoScalingGroupPtrInput // ID of the cluster. ClusterId pulumi.StringPtrInput // Custom parameter information related to the node. ExtraArgs pulumi.StringArrayInput // Labels of kubernetes AS Group created nodes. Labels pulumi.MapInput // Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling. Unschedulable pulumi.IntPtrInput }
func (AsScalingGroupState) ElementType ¶
func (AsScalingGroupState) ElementType() reflect.Type
type AuthAttachment ¶
type AuthAttachment struct { pulumi.CustomResourceState // If set to `true`, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'. AutoCreateDiscoveryAnonymousAuth pulumi.BoolPtrOutput `pulumi:"autoCreateDiscoveryAnonymousAuth"` // ID of clusters. ClusterId pulumi.StringOutput `pulumi:"clusterId"` // Specify service-account-issuer. If useTkeDefault is set to `true`, please do not set this field. Issuer pulumi.StringPtrOutput `pulumi:"issuer"` // Specify service-account-jwks-uri. If useTkeDefault is set to `true`, please do not set this field. JwksUri pulumi.StringPtrOutput `pulumi:"jwksUri"` // The default issuer of tke. If useTkeDefault is set to `true`, this parameter will be set to the default value. TkeDefaultIssuer pulumi.StringOutput `pulumi:"tkeDefaultIssuer"` // The default jwksUri of tke. If useTkeDefault is set to `true`, this parameter will be set to the default value. TkeDefaultJwksUri pulumi.StringOutput `pulumi:"tkeDefaultJwksUri"` // If set to `true`, the issuer and jwksUri will be generated automatically by tke, please do not set issuer and jwks_uri. UseTkeDefault pulumi.BoolPtrOutput `pulumi:"useTkeDefault"` }
Provide a resource to configure kubernetes cluster authentication info.
> **NOTE:** Only available for cluster version >= 1.20
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Images" "github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes" "github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Images" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") availabilityZone := "ap-guangzhou-3" if param := cfg.Get("availabilityZone"); param != "" { availabilityZone = param } clusterCidr := "172.16.0.0/16" if param := cfg.Get("clusterCidr"); param != "" { clusterCidr = param } defaultInstanceType := "S1.SMALL1" if param := cfg.Get("defaultInstanceType"); param != "" { defaultInstanceType = param } _, err := Images.GetInstance(ctx, &images.GetInstanceArgs{ ImageTypes: []string{ "PUBLIC_IMAGE", }, OsName: pulumi.StringRef("centos"), }, nil) if err != nil { return err } vpc, err := Vpc.GetSubnets(ctx, &vpc.GetSubnetsArgs{ IsDefault: pulumi.BoolRef(true), AvailabilityZone: pulumi.StringRef(availabilityZone), }, nil) if err != nil { return err } managedCluster, err := Kubernetes.NewCluster(ctx, "managedCluster", &Kubernetes.ClusterArgs{ VpcId: pulumi.String(vpc.InstanceLists[0].VpcId), ClusterCidr: pulumi.String("10.31.0.0/16"), ClusterMaxPodNum: pulumi.Int(32), ClusterName: pulumi.String("keep"), ClusterDesc: pulumi.String("test cluster desc"), ClusterVersion: pulumi.String("1.20.6"), ClusterMaxServiceNum: pulumi.Int(32), WorkerConfigs: kubernetes.ClusterWorkerConfigArray{ &kubernetes.ClusterWorkerConfigArgs{ Count: pulumi.Int(1), AvailabilityZone: pulumi.String(availabilityZone), InstanceType: pulumi.String(defaultInstanceType), SystemDiskType: pulumi.String("CLOUD_SSD"), SystemDiskSize: pulumi.Int(60), InternetChargeType: pulumi.String("TRAFFIC_POSTPAID_BY_HOUR"), InternetMaxBandwidthOut: pulumi.Int(100), PublicIpAssigned: pulumi.Bool(true), SubnetId: pulumi.String(vpc.InstanceLists[0].SubnetId), DataDisks: kubernetes.ClusterWorkerConfigDataDiskArray{ &kubernetes.ClusterWorkerConfigDataDiskArgs{ DiskType: pulumi.String("CLOUD_PREMIUM"), DiskSize: pulumi.Int(50), }, }, EnhancedSecurityService: pulumi.Bool(false), EnhancedMonitorService: pulumi.Bool(false), UserData: pulumi.String("dGVzdA=="), Password: pulumi.String("ZZXXccvv1212"), }, }, ClusterDeployType: pulumi.String("MANAGED_CLUSTER"), }) if err != nil { return err } _, err = Kubernetes.NewAuthAttachment(ctx, "testAuthAttach", &Kubernetes.AuthAttachmentArgs{ ClusterId: managedCluster.ID(), JwksUri: managedCluster.ID().ApplyT(func(id string) (string, error) { return fmt.Sprintf("%v%v%v", "https://", id, ".ccs.tencent-cloud.com/openid/v1/jwks"), nil }).(pulumi.StringOutput), Issuer: managedCluster.ID().ApplyT(func(id string) (string, error) { return fmt.Sprintf("%v%v%v", "https://", id, ".ccs.tencent-cloud.com"), nil }).(pulumi.StringOutput), AutoCreateDiscoveryAnonymousAuth: pulumi.Bool(true), }) if err != nil { return err } return nil }) }
```
Use the TKE default issuer and jwksUri ¶
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Images" "github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes" "github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Images" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") availabilityZone := "ap-guangzhou-3" if param := cfg.Get("availabilityZone"); param != "" { availabilityZone = param } clusterCidr := "172.16.0.0/16" if param := cfg.Get("clusterCidr"); param != "" { clusterCidr = param } defaultInstanceType := "S1.SMALL1" if param := cfg.Get("defaultInstanceType"); param != "" { defaultInstanceType = param } _, err := Images.GetInstance(ctx, &images.GetInstanceArgs{ ImageTypes: []string{ "PUBLIC_IMAGE", }, OsName: pulumi.StringRef("centos"), }, nil) if err != nil { return err } vpc, err := Vpc.GetSubnets(ctx, &vpc.GetSubnetsArgs{ IsDefault: pulumi.BoolRef(true), AvailabilityZone: pulumi.StringRef(availabilityZone), }, nil) if err != nil { return err } managedCluster, err := Kubernetes.NewCluster(ctx, "managedCluster", &Kubernetes.ClusterArgs{ VpcId: pulumi.String(vpc.InstanceLists[0].VpcId), ClusterCidr: pulumi.String("10.31.0.0/16"), ClusterMaxPodNum: pulumi.Int(32), ClusterName: pulumi.String("keep"), ClusterDesc: pulumi.String("test cluster desc"), ClusterVersion: pulumi.String("1.20.6"), ClusterMaxServiceNum: pulumi.Int(32), WorkerConfigs: kubernetes.ClusterWorkerConfigArray{ &kubernetes.ClusterWorkerConfigArgs{ Count: pulumi.Int(1), AvailabilityZone: pulumi.String(availabilityZone), InstanceType: pulumi.String(defaultInstanceType), SystemDiskType: pulumi.String("CLOUD_SSD"), SystemDiskSize: pulumi.Int(60), InternetChargeType: pulumi.String("TRAFFIC_POSTPAID_BY_HOUR"), InternetMaxBandwidthOut: pulumi.Int(100), PublicIpAssigned: pulumi.Bool(true), SubnetId: pulumi.String(vpc.InstanceLists[0].SubnetId), DataDisks: kubernetes.ClusterWorkerConfigDataDiskArray{ &kubernetes.ClusterWorkerConfigDataDiskArgs{ DiskType: pulumi.String("CLOUD_PREMIUM"), DiskSize: pulumi.Int(50), }, }, EnhancedSecurityService: pulumi.Bool(false), EnhancedMonitorService: pulumi.Bool(false), UserData: pulumi.String("dGVzdA=="), Password: pulumi.String("ZZXXccvv1212"), }, }, ClusterDeployType: pulumi.String("MANAGED_CLUSTER"), }) if err != nil { return err } _, err = Kubernetes.NewAuthAttachment(ctx, "testUseTkeDefaultAuthAttach", &Kubernetes.AuthAttachmentArgs{ ClusterId: managedCluster.ID(), AutoCreateDiscoveryAnonymousAuth: pulumi.Bool(true), UseTkeDefault: pulumi.Bool(true), }) if err != nil { return err } return nil }) }
```
func GetAuthAttachment ¶
func GetAuthAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AuthAttachmentState, opts ...pulumi.ResourceOption) (*AuthAttachment, error)
GetAuthAttachment gets an existing AuthAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewAuthAttachment ¶
func NewAuthAttachment(ctx *pulumi.Context, name string, args *AuthAttachmentArgs, opts ...pulumi.ResourceOption) (*AuthAttachment, error)
NewAuthAttachment registers a new resource with the given unique name, arguments, and options.
func (*AuthAttachment) ElementType ¶
func (*AuthAttachment) ElementType() reflect.Type
func (*AuthAttachment) ToAuthAttachmentOutput ¶
func (i *AuthAttachment) ToAuthAttachmentOutput() AuthAttachmentOutput
func (*AuthAttachment) ToAuthAttachmentOutputWithContext ¶
func (i *AuthAttachment) ToAuthAttachmentOutputWithContext(ctx context.Context) AuthAttachmentOutput
type AuthAttachmentArgs ¶
type AuthAttachmentArgs struct { // If set to `true`, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'. AutoCreateDiscoveryAnonymousAuth pulumi.BoolPtrInput // ID of clusters. ClusterId pulumi.StringInput // Specify service-account-issuer. If useTkeDefault is set to `true`, please do not set this field. Issuer pulumi.StringPtrInput // Specify service-account-jwks-uri. If useTkeDefault is set to `true`, please do not set this field. JwksUri pulumi.StringPtrInput // If set to `true`, the issuer and jwksUri will be generated automatically by tke, please do not set issuer and jwks_uri. UseTkeDefault pulumi.BoolPtrInput }
The set of arguments for constructing a AuthAttachment resource.
func (AuthAttachmentArgs) ElementType ¶
func (AuthAttachmentArgs) ElementType() reflect.Type
type AuthAttachmentArray ¶
type AuthAttachmentArray []AuthAttachmentInput
func (AuthAttachmentArray) ElementType ¶
func (AuthAttachmentArray) ElementType() reflect.Type
func (AuthAttachmentArray) ToAuthAttachmentArrayOutput ¶
func (i AuthAttachmentArray) ToAuthAttachmentArrayOutput() AuthAttachmentArrayOutput
func (AuthAttachmentArray) ToAuthAttachmentArrayOutputWithContext ¶
func (i AuthAttachmentArray) ToAuthAttachmentArrayOutputWithContext(ctx context.Context) AuthAttachmentArrayOutput
type AuthAttachmentArrayInput ¶
type AuthAttachmentArrayInput interface { pulumi.Input ToAuthAttachmentArrayOutput() AuthAttachmentArrayOutput ToAuthAttachmentArrayOutputWithContext(context.Context) AuthAttachmentArrayOutput }
AuthAttachmentArrayInput is an input type that accepts AuthAttachmentArray and AuthAttachmentArrayOutput values. You can construct a concrete instance of `AuthAttachmentArrayInput` via:
AuthAttachmentArray{ AuthAttachmentArgs{...} }
type AuthAttachmentArrayOutput ¶
type AuthAttachmentArrayOutput struct{ *pulumi.OutputState }
func (AuthAttachmentArrayOutput) ElementType ¶
func (AuthAttachmentArrayOutput) ElementType() reflect.Type
func (AuthAttachmentArrayOutput) Index ¶
func (o AuthAttachmentArrayOutput) Index(i pulumi.IntInput) AuthAttachmentOutput
func (AuthAttachmentArrayOutput) ToAuthAttachmentArrayOutput ¶
func (o AuthAttachmentArrayOutput) ToAuthAttachmentArrayOutput() AuthAttachmentArrayOutput
func (AuthAttachmentArrayOutput) ToAuthAttachmentArrayOutputWithContext ¶
func (o AuthAttachmentArrayOutput) ToAuthAttachmentArrayOutputWithContext(ctx context.Context) AuthAttachmentArrayOutput
type AuthAttachmentInput ¶
type AuthAttachmentInput interface { pulumi.Input ToAuthAttachmentOutput() AuthAttachmentOutput ToAuthAttachmentOutputWithContext(ctx context.Context) AuthAttachmentOutput }
type AuthAttachmentMap ¶
type AuthAttachmentMap map[string]AuthAttachmentInput
func (AuthAttachmentMap) ElementType ¶
func (AuthAttachmentMap) ElementType() reflect.Type
func (AuthAttachmentMap) ToAuthAttachmentMapOutput ¶
func (i AuthAttachmentMap) ToAuthAttachmentMapOutput() AuthAttachmentMapOutput
func (AuthAttachmentMap) ToAuthAttachmentMapOutputWithContext ¶
func (i AuthAttachmentMap) ToAuthAttachmentMapOutputWithContext(ctx context.Context) AuthAttachmentMapOutput
type AuthAttachmentMapInput ¶
type AuthAttachmentMapInput interface { pulumi.Input ToAuthAttachmentMapOutput() AuthAttachmentMapOutput ToAuthAttachmentMapOutputWithContext(context.Context) AuthAttachmentMapOutput }
AuthAttachmentMapInput is an input type that accepts AuthAttachmentMap and AuthAttachmentMapOutput values. You can construct a concrete instance of `AuthAttachmentMapInput` via:
AuthAttachmentMap{ "key": AuthAttachmentArgs{...} }
type AuthAttachmentMapOutput ¶
type AuthAttachmentMapOutput struct{ *pulumi.OutputState }
func (AuthAttachmentMapOutput) ElementType ¶
func (AuthAttachmentMapOutput) ElementType() reflect.Type
func (AuthAttachmentMapOutput) MapIndex ¶
func (o AuthAttachmentMapOutput) MapIndex(k pulumi.StringInput) AuthAttachmentOutput
func (AuthAttachmentMapOutput) ToAuthAttachmentMapOutput ¶
func (o AuthAttachmentMapOutput) ToAuthAttachmentMapOutput() AuthAttachmentMapOutput
func (AuthAttachmentMapOutput) ToAuthAttachmentMapOutputWithContext ¶
func (o AuthAttachmentMapOutput) ToAuthAttachmentMapOutputWithContext(ctx context.Context) AuthAttachmentMapOutput
type AuthAttachmentOutput ¶
type AuthAttachmentOutput struct{ *pulumi.OutputState }
func (AuthAttachmentOutput) AutoCreateDiscoveryAnonymousAuth ¶
func (o AuthAttachmentOutput) AutoCreateDiscoveryAnonymousAuth() pulumi.BoolPtrOutput
If set to `true`, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'.
func (AuthAttachmentOutput) ClusterId ¶
func (o AuthAttachmentOutput) ClusterId() pulumi.StringOutput
ID of clusters.
func (AuthAttachmentOutput) ElementType ¶
func (AuthAttachmentOutput) ElementType() reflect.Type
func (AuthAttachmentOutput) Issuer ¶
func (o AuthAttachmentOutput) Issuer() pulumi.StringPtrOutput
Specify service-account-issuer. If useTkeDefault is set to `true`, please do not set this field.
func (AuthAttachmentOutput) JwksUri ¶
func (o AuthAttachmentOutput) JwksUri() pulumi.StringPtrOutput
Specify service-account-jwks-uri. If useTkeDefault is set to `true`, please do not set this field.
func (AuthAttachmentOutput) TkeDefaultIssuer ¶ added in v0.1.3
func (o AuthAttachmentOutput) TkeDefaultIssuer() pulumi.StringOutput
The default issuer of tke. If useTkeDefault is set to `true`, this parameter will be set to the default value.
func (AuthAttachmentOutput) TkeDefaultJwksUri ¶ added in v0.1.3
func (o AuthAttachmentOutput) TkeDefaultJwksUri() pulumi.StringOutput
The default jwksUri of tke. If useTkeDefault is set to `true`, this parameter will be set to the default value.
func (AuthAttachmentOutput) ToAuthAttachmentOutput ¶
func (o AuthAttachmentOutput) ToAuthAttachmentOutput() AuthAttachmentOutput
func (AuthAttachmentOutput) ToAuthAttachmentOutputWithContext ¶
func (o AuthAttachmentOutput) ToAuthAttachmentOutputWithContext(ctx context.Context) AuthAttachmentOutput
func (AuthAttachmentOutput) UseTkeDefault ¶ added in v0.1.3
func (o AuthAttachmentOutput) UseTkeDefault() pulumi.BoolPtrOutput
If set to `true`, the issuer and jwksUri will be generated automatically by tke, please do not set issuer and jwks_uri.
type AuthAttachmentState ¶
type AuthAttachmentState struct { // If set to `true`, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'. AutoCreateDiscoveryAnonymousAuth pulumi.BoolPtrInput // ID of clusters. ClusterId pulumi.StringPtrInput // Specify service-account-issuer. If useTkeDefault is set to `true`, please do not set this field. Issuer pulumi.StringPtrInput // Specify service-account-jwks-uri. If useTkeDefault is set to `true`, please do not set this field. JwksUri pulumi.StringPtrInput // The default issuer of tke. If useTkeDefault is set to `true`, this parameter will be set to the default value. TkeDefaultIssuer pulumi.StringPtrInput // The default jwksUri of tke. If useTkeDefault is set to `true`, this parameter will be set to the default value. TkeDefaultJwksUri pulumi.StringPtrInput // If set to `true`, the issuer and jwksUri will be generated automatically by tke, please do not set issuer and jwks_uri. UseTkeDefault pulumi.BoolPtrInput }
func (AuthAttachmentState) ElementType ¶
func (AuthAttachmentState) ElementType() reflect.Type
type BackupStorageLocation ¶ added in v0.1.3
type BackupStorageLocation struct { pulumi.CustomResourceState // Name of the bucket. Bucket pulumi.StringOutput `pulumi:"bucket"` // Message of the backup storage location. Message pulumi.StringOutput `pulumi:"message"` // Name of the backup storage location. Name pulumi.StringOutput `pulumi:"name"` // Prefix of the bucket. Path pulumi.StringPtrOutput `pulumi:"path"` // State of the backup storage location. State pulumi.StringOutput `pulumi:"state"` // Region of the storage. StorageRegion pulumi.StringOutput `pulumi:"storageRegion"` }
Provide a resource to create tke backup storage location.
> **NOTE:** To create this resource, you need to create a cos bucket with prefix "tke-backup" in advance.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Kubernetes.NewBackupStorageLocation(ctx, "exampleBackup", &Kubernetes.BackupStorageLocationArgs{ Bucket: pulumi.String("tke-backup-example-1"), StorageRegion: pulumi.String("ap-guangzhou"), }) if err != nil { return err } return nil }) }
```
## Import
tke backup storage location can be imported, e.g.
```sh
$ pulumi import tencentcloud:Kubernetes/backupStorageLocation:BackupStorageLocation test xxx
```
func GetBackupStorageLocation ¶ added in v0.1.3
func GetBackupStorageLocation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BackupStorageLocationState, opts ...pulumi.ResourceOption) (*BackupStorageLocation, error)
GetBackupStorageLocation gets an existing BackupStorageLocation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewBackupStorageLocation ¶ added in v0.1.3
func NewBackupStorageLocation(ctx *pulumi.Context, name string, args *BackupStorageLocationArgs, opts ...pulumi.ResourceOption) (*BackupStorageLocation, error)
NewBackupStorageLocation registers a new resource with the given unique name, arguments, and options.
func (*BackupStorageLocation) ElementType ¶ added in v0.1.3
func (*BackupStorageLocation) ElementType() reflect.Type
func (*BackupStorageLocation) ToBackupStorageLocationOutput ¶ added in v0.1.3
func (i *BackupStorageLocation) ToBackupStorageLocationOutput() BackupStorageLocationOutput
func (*BackupStorageLocation) ToBackupStorageLocationOutputWithContext ¶ added in v0.1.3
func (i *BackupStorageLocation) ToBackupStorageLocationOutputWithContext(ctx context.Context) BackupStorageLocationOutput
type BackupStorageLocationArgs ¶ added in v0.1.3
type BackupStorageLocationArgs struct { // Name of the bucket. Bucket pulumi.StringInput // Name of the backup storage location. Name pulumi.StringPtrInput // Prefix of the bucket. Path pulumi.StringPtrInput // Region of the storage. StorageRegion pulumi.StringInput }
The set of arguments for constructing a BackupStorageLocation resource.
func (BackupStorageLocationArgs) ElementType ¶ added in v0.1.3
func (BackupStorageLocationArgs) ElementType() reflect.Type
type BackupStorageLocationArray ¶ added in v0.1.3
type BackupStorageLocationArray []BackupStorageLocationInput
func (BackupStorageLocationArray) ElementType ¶ added in v0.1.3
func (BackupStorageLocationArray) ElementType() reflect.Type
func (BackupStorageLocationArray) ToBackupStorageLocationArrayOutput ¶ added in v0.1.3
func (i BackupStorageLocationArray) ToBackupStorageLocationArrayOutput() BackupStorageLocationArrayOutput
func (BackupStorageLocationArray) ToBackupStorageLocationArrayOutputWithContext ¶ added in v0.1.3
func (i BackupStorageLocationArray) ToBackupStorageLocationArrayOutputWithContext(ctx context.Context) BackupStorageLocationArrayOutput
type BackupStorageLocationArrayInput ¶ added in v0.1.3
type BackupStorageLocationArrayInput interface { pulumi.Input ToBackupStorageLocationArrayOutput() BackupStorageLocationArrayOutput ToBackupStorageLocationArrayOutputWithContext(context.Context) BackupStorageLocationArrayOutput }
BackupStorageLocationArrayInput is an input type that accepts BackupStorageLocationArray and BackupStorageLocationArrayOutput values. You can construct a concrete instance of `BackupStorageLocationArrayInput` via:
BackupStorageLocationArray{ BackupStorageLocationArgs{...} }
type BackupStorageLocationArrayOutput ¶ added in v0.1.3
type BackupStorageLocationArrayOutput struct{ *pulumi.OutputState }
func (BackupStorageLocationArrayOutput) ElementType ¶ added in v0.1.3
func (BackupStorageLocationArrayOutput) ElementType() reflect.Type
func (BackupStorageLocationArrayOutput) Index ¶ added in v0.1.3
func (o BackupStorageLocationArrayOutput) Index(i pulumi.IntInput) BackupStorageLocationOutput
func (BackupStorageLocationArrayOutput) ToBackupStorageLocationArrayOutput ¶ added in v0.1.3
func (o BackupStorageLocationArrayOutput) ToBackupStorageLocationArrayOutput() BackupStorageLocationArrayOutput
func (BackupStorageLocationArrayOutput) ToBackupStorageLocationArrayOutputWithContext ¶ added in v0.1.3
func (o BackupStorageLocationArrayOutput) ToBackupStorageLocationArrayOutputWithContext(ctx context.Context) BackupStorageLocationArrayOutput
type BackupStorageLocationInput ¶ added in v0.1.3
type BackupStorageLocationInput interface { pulumi.Input ToBackupStorageLocationOutput() BackupStorageLocationOutput ToBackupStorageLocationOutputWithContext(ctx context.Context) BackupStorageLocationOutput }
type BackupStorageLocationMap ¶ added in v0.1.3
type BackupStorageLocationMap map[string]BackupStorageLocationInput
func (BackupStorageLocationMap) ElementType ¶ added in v0.1.3
func (BackupStorageLocationMap) ElementType() reflect.Type
func (BackupStorageLocationMap) ToBackupStorageLocationMapOutput ¶ added in v0.1.3
func (i BackupStorageLocationMap) ToBackupStorageLocationMapOutput() BackupStorageLocationMapOutput
func (BackupStorageLocationMap) ToBackupStorageLocationMapOutputWithContext ¶ added in v0.1.3
func (i BackupStorageLocationMap) ToBackupStorageLocationMapOutputWithContext(ctx context.Context) BackupStorageLocationMapOutput
type BackupStorageLocationMapInput ¶ added in v0.1.3
type BackupStorageLocationMapInput interface { pulumi.Input ToBackupStorageLocationMapOutput() BackupStorageLocationMapOutput ToBackupStorageLocationMapOutputWithContext(context.Context) BackupStorageLocationMapOutput }
BackupStorageLocationMapInput is an input type that accepts BackupStorageLocationMap and BackupStorageLocationMapOutput values. You can construct a concrete instance of `BackupStorageLocationMapInput` via:
BackupStorageLocationMap{ "key": BackupStorageLocationArgs{...} }
type BackupStorageLocationMapOutput ¶ added in v0.1.3
type BackupStorageLocationMapOutput struct{ *pulumi.OutputState }
func (BackupStorageLocationMapOutput) ElementType ¶ added in v0.1.3
func (BackupStorageLocationMapOutput) ElementType() reflect.Type
func (BackupStorageLocationMapOutput) MapIndex ¶ added in v0.1.3
func (o BackupStorageLocationMapOutput) MapIndex(k pulumi.StringInput) BackupStorageLocationOutput
func (BackupStorageLocationMapOutput) ToBackupStorageLocationMapOutput ¶ added in v0.1.3
func (o BackupStorageLocationMapOutput) ToBackupStorageLocationMapOutput() BackupStorageLocationMapOutput
func (BackupStorageLocationMapOutput) ToBackupStorageLocationMapOutputWithContext ¶ added in v0.1.3
func (o BackupStorageLocationMapOutput) ToBackupStorageLocationMapOutputWithContext(ctx context.Context) BackupStorageLocationMapOutput
type BackupStorageLocationOutput ¶ added in v0.1.3
type BackupStorageLocationOutput struct{ *pulumi.OutputState }
func (BackupStorageLocationOutput) Bucket ¶ added in v0.1.3
func (o BackupStorageLocationOutput) Bucket() pulumi.StringOutput
Name of the bucket.
func (BackupStorageLocationOutput) ElementType ¶ added in v0.1.3
func (BackupStorageLocationOutput) ElementType() reflect.Type
func (BackupStorageLocationOutput) Message ¶ added in v0.1.3
func (o BackupStorageLocationOutput) Message() pulumi.StringOutput
Message of the backup storage location.
func (BackupStorageLocationOutput) Name ¶ added in v0.1.3
func (o BackupStorageLocationOutput) Name() pulumi.StringOutput
Name of the backup storage location.
func (BackupStorageLocationOutput) Path ¶ added in v0.1.3
func (o BackupStorageLocationOutput) Path() pulumi.StringPtrOutput
Prefix of the bucket.
func (BackupStorageLocationOutput) State ¶ added in v0.1.3
func (o BackupStorageLocationOutput) State() pulumi.StringOutput
State of the backup storage location.
func (BackupStorageLocationOutput) StorageRegion ¶ added in v0.1.3
func (o BackupStorageLocationOutput) StorageRegion() pulumi.StringOutput
Region of the storage.
func (BackupStorageLocationOutput) ToBackupStorageLocationOutput ¶ added in v0.1.3
func (o BackupStorageLocationOutput) ToBackupStorageLocationOutput() BackupStorageLocationOutput
func (BackupStorageLocationOutput) ToBackupStorageLocationOutputWithContext ¶ added in v0.1.3
func (o BackupStorageLocationOutput) ToBackupStorageLocationOutputWithContext(ctx context.Context) BackupStorageLocationOutput
type BackupStorageLocationState ¶ added in v0.1.3
type BackupStorageLocationState struct { // Name of the bucket. Bucket pulumi.StringPtrInput // Message of the backup storage location. Message pulumi.StringPtrInput // Name of the backup storage location. Name pulumi.StringPtrInput // Prefix of the bucket. Path pulumi.StringPtrInput // State of the backup storage location. State pulumi.StringPtrInput // Region of the storage. StorageRegion pulumi.StringPtrInput }
func (BackupStorageLocationState) ElementType ¶ added in v0.1.3
func (BackupStorageLocationState) ElementType() reflect.Type
type Cluster ¶
type Cluster struct { pulumi.CustomResourceState // If set to true, it will acquire the ClusterRole tke:admin. NOTE: this arguments cannot revoke to `false` after acquired. AcquireClusterAdminRole pulumi.BoolPtrOutput `pulumi:"acquireClusterAdminRole"` // Specify cluster authentication configuration. Only available for managed cluster and `clusterVersion` >= 1.20. AuthOptions ClusterAuthOptionsPtrOutput `pulumi:"authOptions"` // Whether the cluster level auto upgraded, valid for managed cluster. AutoUpgradeClusterLevel pulumi.BoolPtrOutput `pulumi:"autoUpgradeClusterLevel"` // The number of basic pods. valid when enable_customized_pod_cidr=true. BasePodNum pulumi.IntPtrOutput `pulumi:"basePodNum"` // The certificate used for access. CertificationAuthority pulumi.StringOutput `pulumi:"certificationAuthority"` // Claim expired seconds to recycle ENI. This field can only set when field `networkType` is 'VPC-CNI'. `claimExpiredSeconds` must greater or equal than 300 and less than 15768000. ClaimExpiredSeconds pulumi.IntPtrOutput `pulumi:"claimExpiredSeconds"` // This argument is deprecated because the TKE auto-scaling group was no longer available. Indicates whether to enable cluster node auto scaling. Default is false. // // Deprecated: This argument is deprecated because the TKE auto-scaling group was no longer available. ClusterAsEnabled pulumi.BoolPtrOutput `pulumi:"clusterAsEnabled"` // Specify Cluster Audit config. NOTE: Please make sure your TKE CamRole have permission to access CLS service. ClusterAudit ClusterClusterAuditPtrOutput `pulumi:"clusterAudit"` // A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this vpc. Must be in 10./192.168/172.[16-31] segments. ClusterCidr pulumi.StringPtrOutput `pulumi:"clusterCidr"` // Deployment type of the cluster, the available values include: 'MANAGED_CLUSTER' and 'INDEPENDENT_CLUSTER'. Default is 'MANAGED_CLUSTER'. ClusterDeployType pulumi.StringPtrOutput `pulumi:"clusterDeployType"` // Description of the cluster. ClusterDesc pulumi.StringPtrOutput `pulumi:"clusterDesc"` // External network address to access. ClusterExternalEndpoint pulumi.StringOutput `pulumi:"clusterExternalEndpoint"` // Customized parameters for master component,such as kube-apiserver, kube-controller-manager, kube-scheduler. ClusterExtraArgs ClusterClusterExtraArgsPtrOutput `pulumi:"clusterExtraArgs"` // Open internet access or not. If this field is set 'true', the field below `workerConfig` must be set. Because only cluster with node is allowed enable access endpoint. ClusterInternet pulumi.BoolPtrOutput `pulumi:"clusterInternet"` // Domain name for cluster Kube-apiserver internet access. Be careful if you modify value of this parameter, the clusterExternalEndpoint value may be changed automatically too. ClusterInternetDomain pulumi.StringPtrOutput `pulumi:"clusterInternetDomain"` // Specify security group, NOTE: This argument must not be empty if cluster internet enabled. ClusterInternetSecurityGroup pulumi.StringPtrOutput `pulumi:"clusterInternetSecurityGroup"` // Open intranet access or not. If this field is set 'true', the field below `workerConfig` must be set. Because only cluster with node is allowed enable access endpoint. ClusterIntranet pulumi.BoolPtrOutput `pulumi:"clusterIntranet"` // Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgwEndpoint value may be changed automatically too. ClusterIntranetDomain pulumi.StringPtrOutput `pulumi:"clusterIntranetDomain"` // Subnet id who can access this independent cluster, this field must and can only set when `clusterIntranet` is true. `clusterIntranetSubnetId` can not modify once be set. ClusterIntranetSubnetId pulumi.StringPtrOutput `pulumi:"clusterIntranetSubnetId"` // Indicates whether `ipvs` is enabled. Default is true. False means `iptables` is enabled. ClusterIpvs pulumi.BoolPtrOutput `pulumi:"clusterIpvs"` // Specify cluster level, valid for managed cluster, use data source `Kubernetes.getClusterLevels` to query available levels. Available value examples `L5`, `L20`, `L50`, `L100`, etc. ClusterLevel pulumi.StringOutput `pulumi:"clusterLevel"` // The maximum number of Pods per node in the cluster. Default is 256. The minimum value is 4. When its power unequal to 2, it will round upward to the closest power of 2. ClusterMaxPodNum pulumi.IntPtrOutput `pulumi:"clusterMaxPodNum"` // The maximum number of services in the cluster. Default is 256. The range is from 32 to 32768. When its power unequal to 2, it will round upward to the closest power of 2. ClusterMaxServiceNum pulumi.IntPtrOutput `pulumi:"clusterMaxServiceNum"` // Name of the cluster. ClusterName pulumi.StringPtrOutput `pulumi:"clusterName"` // Number of nodes in the cluster. ClusterNodeNum pulumi.IntOutput `pulumi:"clusterNodeNum"` // Operating system of the cluster, the available values include: 'centos7.6.0_x64','ubuntu18.04.1x86_64','tlinux2.4x86_64'. Default is 'tlinux2.4x86_64'. ClusterOs pulumi.StringPtrOutput `pulumi:"clusterOs"` // Image type of the cluster os, the available values include: 'GENERAL'. Default is 'GENERAL'. ClusterOsType pulumi.StringPtrOutput `pulumi:"clusterOsType"` // Version of the cluster, Default is '1.10.5'. Use `Kubernetes.getAvailableClusterVersions` to get the available versions. ClusterVersion pulumi.StringPtrOutput `pulumi:"clusterVersion"` // Runtime type of the cluster, the available values include: 'docker' and 'containerd'.The Kubernetes v1.24 has removed dockershim, so please use containerd in v1.24 or higher.Default is 'docker'. ContainerRuntime pulumi.StringPtrOutput `pulumi:"containerRuntime"` // Indicates whether cluster deletion protection is enabled. Default is false. DeletionProtection pulumi.BoolPtrOutput `pulumi:"deletionProtection"` // Docker graph path. Default is `/var/lib/docker`. DockerGraphPath pulumi.StringPtrOutput `pulumi:"dockerGraphPath"` // Domain name for access. Domain pulumi.StringOutput `pulumi:"domain"` // Whether to enable the custom mode of node podCIDR size. Default is false. EnableCustomizedPodCidr pulumi.BoolPtrOutput `pulumi:"enableCustomizedPodCidr"` // Subnet Ids for cluster with VPC-CNI network mode. This field can only set when field `networkType` is 'VPC-CNI'. `eniSubnetIds` can not empty once be set. EniSubnetIds pulumi.StringArrayOutput `pulumi:"eniSubnetIds"` // Specify cluster Event Persistence config. NOTE: Please make sure your TKE CamRole have permission to access CLS service. EventPersistence ClusterEventPersistencePtrOutput `pulumi:"eventPersistence"` // create tke cluster by existed instances. ExistInstances ClusterExistInstanceArrayOutput `pulumi:"existInstances"` // Information of the add-on to be installed. ExtensionAddons ClusterExtensionAddonArrayOutput `pulumi:"extensionAddons"` // Custom parameter information related to the node. ExtraArgs pulumi.StringArrayOutput `pulumi:"extraArgs"` // Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it takes effect for all nodes. GlobeDesiredPodNum pulumi.IntPtrOutput `pulumi:"globeDesiredPodNum"` // Indicates whether to ignore the cluster cidr conflict error. Default is false. IgnoreClusterCidrConflict pulumi.BoolPtrOutput `pulumi:"ignoreClusterCidrConflict"` // Indicates whether non-static ip mode is enabled. Default is false. IsNonStaticIpMode pulumi.BoolPtrOutput `pulumi:"isNonStaticIpMode"` // Kubernetes config. KubeConfig pulumi.StringOutput `pulumi:"kubeConfig"` // Kubernetes config of private network. KubeConfigIntranet pulumi.StringOutput `pulumi:"kubeConfigIntranet"` // Cluster kube-proxy mode, the available values include: 'kube-proxy-bpf'. Default is not set.When set to kube-proxy-bpf, cluster version greater than 1.14 and with Tencent Linux 2.4 is required. KubeProxyMode pulumi.StringPtrOutput `pulumi:"kubeProxyMode"` // Labels of tke cluster nodes. Labels pulumi.MapOutput `pulumi:"labels"` // Specify cluster log agent config. LogAgent ClusterLogAgentPtrOutput `pulumi:"logAgent"` // this argument was deprecated, use `clusterInternetSecurityGroup` instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field `clusterDeployType` is 'MANAGED_CLUSTER' and `clusterInternet` is true. `managedClusterInternetSecurityPolicies` can not delete or empty once be set. // // Deprecated: this argument was deprecated, use `cluster_internet_security_group` instead. ManagedClusterInternetSecurityPolicies pulumi.StringArrayOutput `pulumi:"managedClusterInternetSecurityPolicies"` // Deploy the machine configuration information of the 'MASTER_ETCD' service, and create <=7 units for common users. MasterConfigs ClusterMasterConfigArrayOutput `pulumi:"masterConfigs"` // Mount target. Default is not mounting. MountTarget pulumi.StringPtrOutput `pulumi:"mountTarget"` // Cluster network type, GR or VPC-CNI. Default is GR. NetworkType pulumi.StringPtrOutput `pulumi:"networkType"` // Node name type of Cluster, the available values include: 'lan-ip' and 'hostname', Default is 'lan-ip'. NodeNameType pulumi.StringPtrOutput `pulumi:"nodeNameType"` // Global config effective for all node pools. NodePoolGlobalConfigs ClusterNodePoolGlobalConfigArrayOutput `pulumi:"nodePoolGlobalConfigs"` // Password to access, should be set if `keyIds` not set. Password pulumi.StringOutput `pulumi:"password"` // The Intranet address used for access. PgwEndpoint pulumi.StringOutput `pulumi:"pgwEndpoint"` // Project ID, default value is 0. ProjectId pulumi.IntPtrOutput `pulumi:"projectId"` // Container Runtime version. RuntimeVersion pulumi.StringPtrOutput `pulumi:"runtimeVersion"` // Access policy. SecurityPolicies pulumi.StringArrayOutput `pulumi:"securityPolicies"` // A network address block of the service. Different from vpc cidr and cidr of other clusters within this vpc. Must be in 10./192.168/172.[16-31] segments. ServiceCidr pulumi.StringPtrOutput `pulumi:"serviceCidr"` // The tags of the cluster. Tags pulumi.MapOutput `pulumi:"tags"` // Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling. Unschedulable pulumi.IntPtrOutput `pulumi:"unschedulable"` // Indicates whether upgrade all instances when clusterVersion change. Default is false. UpgradeInstancesFollowCluster pulumi.BoolPtrOutput `pulumi:"upgradeInstancesFollowCluster"` // User name of account. UserName pulumi.StringOutput `pulumi:"userName"` // Vpc Id of the cluster. VpcId pulumi.StringOutput `pulumi:"vpcId"` // Deploy the machine configuration information of the 'WORKER' service, and create <=20 units for common users. The other 'WORK' service are added by 'tencentcloud_kubernetes_worker'. WorkerConfigs ClusterWorkerConfigArrayOutput `pulumi:"workerConfigs"` // An information list of cvm within the 'WORKER' clusters. Each element contains the following attributes: WorkerInstancesLists ClusterWorkerInstancesListArrayOutput `pulumi:"workerInstancesLists"` }
Provide a resource to create a kubernetes cluster.
> **NOTE:** To use the custom Kubernetes component startup parameter function (parameter `extraArgs`), you need to submit a ticket for application. **NOTE:** We recommend the usage of one cluster without worker config + node pool to manage cluster and nodes. It's a more flexible way than manage worker config with tencentcloud_kubernetes_cluster, Kubernetes.ScaleWorker or exist node management of `tencentcloudKubernetesAttachment`. Cause some unchangeable parameters of `workerConfig` may cause the whole cluster resource `force new`.
func GetCluster ¶
func GetCluster(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ClusterState, opts ...pulumi.ResourceOption) (*Cluster, error)
GetCluster gets an existing Cluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCluster ¶
func NewCluster(ctx *pulumi.Context, name string, args *ClusterArgs, opts ...pulumi.ResourceOption) (*Cluster, error)
NewCluster registers a new resource with the given unique name, arguments, and options.
func (*Cluster) ElementType ¶
func (*Cluster) ToClusterOutput ¶
func (i *Cluster) ToClusterOutput() ClusterOutput
func (*Cluster) ToClusterOutputWithContext ¶
func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
type ClusterArgs ¶
type ClusterArgs struct { // If set to true, it will acquire the ClusterRole tke:admin. NOTE: this arguments cannot revoke to `false` after acquired. AcquireClusterAdminRole pulumi.BoolPtrInput // Specify cluster authentication configuration. Only available for managed cluster and `clusterVersion` >= 1.20. AuthOptions ClusterAuthOptionsPtrInput // Whether the cluster level auto upgraded, valid for managed cluster. AutoUpgradeClusterLevel pulumi.BoolPtrInput // The number of basic pods. valid when enable_customized_pod_cidr=true. BasePodNum pulumi.IntPtrInput // Claim expired seconds to recycle ENI. This field can only set when field `networkType` is 'VPC-CNI'. `claimExpiredSeconds` must greater or equal than 300 and less than 15768000. ClaimExpiredSeconds pulumi.IntPtrInput // This argument is deprecated because the TKE auto-scaling group was no longer available. Indicates whether to enable cluster node auto scaling. Default is false. // // Deprecated: This argument is deprecated because the TKE auto-scaling group was no longer available. ClusterAsEnabled pulumi.BoolPtrInput // Specify Cluster Audit config. NOTE: Please make sure your TKE CamRole have permission to access CLS service. ClusterAudit ClusterClusterAuditPtrInput // A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this vpc. Must be in 10./192.168/172.[16-31] segments. ClusterCidr pulumi.StringPtrInput // Deployment type of the cluster, the available values include: 'MANAGED_CLUSTER' and 'INDEPENDENT_CLUSTER'. Default is 'MANAGED_CLUSTER'. ClusterDeployType pulumi.StringPtrInput // Description of the cluster. ClusterDesc pulumi.StringPtrInput // Customized parameters for master component,such as kube-apiserver, kube-controller-manager, kube-scheduler. ClusterExtraArgs ClusterClusterExtraArgsPtrInput // Open internet access or not. If this field is set 'true', the field below `workerConfig` must be set. Because only cluster with node is allowed enable access endpoint. ClusterInternet pulumi.BoolPtrInput // Domain name for cluster Kube-apiserver internet access. Be careful if you modify value of this parameter, the clusterExternalEndpoint value may be changed automatically too. ClusterInternetDomain pulumi.StringPtrInput // Specify security group, NOTE: This argument must not be empty if cluster internet enabled. ClusterInternetSecurityGroup pulumi.StringPtrInput // Open intranet access or not. If this field is set 'true', the field below `workerConfig` must be set. Because only cluster with node is allowed enable access endpoint. ClusterIntranet pulumi.BoolPtrInput // Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgwEndpoint value may be changed automatically too. ClusterIntranetDomain pulumi.StringPtrInput // Subnet id who can access this independent cluster, this field must and can only set when `clusterIntranet` is true. `clusterIntranetSubnetId` can not modify once be set. ClusterIntranetSubnetId pulumi.StringPtrInput // Indicates whether `ipvs` is enabled. Default is true. False means `iptables` is enabled. ClusterIpvs pulumi.BoolPtrInput // Specify cluster level, valid for managed cluster, use data source `Kubernetes.getClusterLevels` to query available levels. Available value examples `L5`, `L20`, `L50`, `L100`, etc. ClusterLevel pulumi.StringPtrInput // The maximum number of Pods per node in the cluster. Default is 256. The minimum value is 4. When its power unequal to 2, it will round upward to the closest power of 2. ClusterMaxPodNum pulumi.IntPtrInput // The maximum number of services in the cluster. Default is 256. The range is from 32 to 32768. When its power unequal to 2, it will round upward to the closest power of 2. ClusterMaxServiceNum pulumi.IntPtrInput // Name of the cluster. ClusterName pulumi.StringPtrInput // Operating system of the cluster, the available values include: 'centos7.6.0_x64','ubuntu18.04.1x86_64','tlinux2.4x86_64'. Default is 'tlinux2.4x86_64'. ClusterOs pulumi.StringPtrInput // Image type of the cluster os, the available values include: 'GENERAL'. Default is 'GENERAL'. ClusterOsType pulumi.StringPtrInput // Version of the cluster, Default is '1.10.5'. Use `Kubernetes.getAvailableClusterVersions` to get the available versions. ClusterVersion pulumi.StringPtrInput // Runtime type of the cluster, the available values include: 'docker' and 'containerd'.The Kubernetes v1.24 has removed dockershim, so please use containerd in v1.24 or higher.Default is 'docker'. ContainerRuntime pulumi.StringPtrInput // Indicates whether cluster deletion protection is enabled. Default is false. DeletionProtection pulumi.BoolPtrInput // Docker graph path. Default is `/var/lib/docker`. DockerGraphPath pulumi.StringPtrInput // Whether to enable the custom mode of node podCIDR size. Default is false. EnableCustomizedPodCidr pulumi.BoolPtrInput // Subnet Ids for cluster with VPC-CNI network mode. This field can only set when field `networkType` is 'VPC-CNI'. `eniSubnetIds` can not empty once be set. EniSubnetIds pulumi.StringArrayInput // Specify cluster Event Persistence config. NOTE: Please make sure your TKE CamRole have permission to access CLS service. EventPersistence ClusterEventPersistencePtrInput // create tke cluster by existed instances. ExistInstances ClusterExistInstanceArrayInput // Information of the add-on to be installed. ExtensionAddons ClusterExtensionAddonArrayInput // Custom parameter information related to the node. ExtraArgs pulumi.StringArrayInput // Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it takes effect for all nodes. GlobeDesiredPodNum pulumi.IntPtrInput // Indicates whether to ignore the cluster cidr conflict error. Default is false. IgnoreClusterCidrConflict pulumi.BoolPtrInput // Indicates whether non-static ip mode is enabled. Default is false. IsNonStaticIpMode pulumi.BoolPtrInput // Cluster kube-proxy mode, the available values include: 'kube-proxy-bpf'. Default is not set.When set to kube-proxy-bpf, cluster version greater than 1.14 and with Tencent Linux 2.4 is required. KubeProxyMode pulumi.StringPtrInput // Labels of tke cluster nodes. Labels pulumi.MapInput // Specify cluster log agent config. LogAgent ClusterLogAgentPtrInput // this argument was deprecated, use `clusterInternetSecurityGroup` instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field `clusterDeployType` is 'MANAGED_CLUSTER' and `clusterInternet` is true. `managedClusterInternetSecurityPolicies` can not delete or empty once be set. // // Deprecated: this argument was deprecated, use `cluster_internet_security_group` instead. ManagedClusterInternetSecurityPolicies pulumi.StringArrayInput // Deploy the machine configuration information of the 'MASTER_ETCD' service, and create <=7 units for common users. MasterConfigs ClusterMasterConfigArrayInput // Mount target. Default is not mounting. MountTarget pulumi.StringPtrInput // Cluster network type, GR or VPC-CNI. Default is GR. NetworkType pulumi.StringPtrInput // Node name type of Cluster, the available values include: 'lan-ip' and 'hostname', Default is 'lan-ip'. NodeNameType pulumi.StringPtrInput // Global config effective for all node pools. NodePoolGlobalConfigs ClusterNodePoolGlobalConfigArrayInput // Project ID, default value is 0. ProjectId pulumi.IntPtrInput // Container Runtime version. RuntimeVersion pulumi.StringPtrInput // A network address block of the service. Different from vpc cidr and cidr of other clusters within this vpc. Must be in 10./192.168/172.[16-31] segments. ServiceCidr pulumi.StringPtrInput // The tags of the cluster. Tags pulumi.MapInput // Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling. Unschedulable pulumi.IntPtrInput // Indicates whether upgrade all instances when clusterVersion change. Default is false. UpgradeInstancesFollowCluster pulumi.BoolPtrInput // Vpc Id of the cluster. VpcId pulumi.StringInput // Deploy the machine configuration information of the 'WORKER' service, and create <=20 units for common users. The other 'WORK' service are added by 'tencentcloud_kubernetes_worker'. WorkerConfigs ClusterWorkerConfigArrayInput }
The set of arguments for constructing a Cluster resource.
func (ClusterArgs) ElementType ¶
func (ClusterArgs) ElementType() reflect.Type
type ClusterArray ¶
type ClusterArray []ClusterInput
func (ClusterArray) ElementType ¶
func (ClusterArray) ElementType() reflect.Type
func (ClusterArray) ToClusterArrayOutput ¶
func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput
func (ClusterArray) ToClusterArrayOutputWithContext ¶
func (i ClusterArray) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput
type ClusterArrayInput ¶
type ClusterArrayInput interface { pulumi.Input ToClusterArrayOutput() ClusterArrayOutput ToClusterArrayOutputWithContext(context.Context) ClusterArrayOutput }
ClusterArrayInput is an input type that accepts ClusterArray and ClusterArrayOutput values. You can construct a concrete instance of `ClusterArrayInput` via:
ClusterArray{ ClusterArgs{...} }
type ClusterArrayOutput ¶
type ClusterArrayOutput struct{ *pulumi.OutputState }
func (ClusterArrayOutput) ElementType ¶
func (ClusterArrayOutput) ElementType() reflect.Type
func (ClusterArrayOutput) Index ¶
func (o ClusterArrayOutput) Index(i pulumi.IntInput) ClusterOutput
func (ClusterArrayOutput) ToClusterArrayOutput ¶
func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput
func (ClusterArrayOutput) ToClusterArrayOutputWithContext ¶
func (o ClusterArrayOutput) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput
type ClusterAttachment ¶
type ClusterAttachment struct { pulumi.CustomResourceState // ID of the cluster. ClusterId pulumi.StringOutput `pulumi:"clusterId"` // The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-). Hostname pulumi.StringPtrOutput `pulumi:"hostname"` // ID of the CVM instance, this cvm will reinstall the system. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if `password` not set. KeyIds pulumi.StringPtrOutput `pulumi:"keyIds"` // Labels of tke attachment exits CVM. Labels pulumi.MapOutput `pulumi:"labels"` // Password to access, should be set if `keyIds` not set. Password pulumi.StringPtrOutput `pulumi:"password"` // A list of security group IDs after attach to cluster. SecurityGroups pulumi.StringArrayOutput `pulumi:"securityGroups"` // State of the node. State pulumi.StringOutput `pulumi:"state"` // Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling. Unschedulable pulumi.IntPtrOutput `pulumi:"unschedulable"` // Deploy the machine configuration information of the 'WORKER', commonly used to attach existing instances. WorkerConfig ClusterAttachmentWorkerConfigPtrOutput `pulumi:"workerConfig"` // Override variable worker_config, commonly used to attach existing instances. WorkerConfigOverrides ClusterAttachmentWorkerConfigOverridesPtrOutput `pulumi:"workerConfigOverrides"` }
Provide a resource to attach an existing cvm to kubernetes cluster.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Images" "github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Instance" "github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes" "github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Images" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Instance" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") availabilityZone := "ap-guangzhou-3" if param := cfg.Get("availabilityZone"); param != "" { availabilityZone = param } clusterCidr := "172.16.0.0/16" if param := cfg.Get("clusterCidr"); param != "" { clusterCidr = param } defaultInstanceType := "S1.SMALL1" if param := cfg.Get("defaultInstanceType"); param != "" { defaultInstanceType = param } defaultInstance, err := Images.GetInstance(ctx, &images.GetInstanceArgs{ ImageTypes: []string{ "PUBLIC_IMAGE", }, OsName: pulumi.StringRef("centos"), }, nil) if err != nil { return err } vpc, err := Vpc.GetSubnets(ctx, &vpc.GetSubnetsArgs{ IsDefault: pulumi.BoolRef(true), AvailabilityZone: pulumi.StringRef(availabilityZone), }, nil) if err != nil { return err } _, err = Instance.GetTypes(ctx, &instance.GetTypesArgs{ Filters: []instance.GetTypesFilter{ instance.GetTypesFilter{ Name: "instance-family", Values: []string{ "SA2", }, }, }, CpuCoreCount: pulumi.IntRef(8), MemorySize: pulumi.IntRef(16), }, nil) if err != nil { return err } foo, err := Instance.NewInstance(ctx, "foo", &Instance.InstanceArgs{ InstanceName: pulumi.String("tf-auto-test-1-1"), AvailabilityZone: pulumi.String(availabilityZone), ImageId: pulumi.String(defaultInstance.Images[0].ImageId), InstanceType: pulumi.String(defaultInstanceType), SystemDiskType: pulumi.String("CLOUD_PREMIUM"), SystemDiskSize: pulumi.Int(50), }) if err != nil { return err } managedCluster, err := Kubernetes.NewCluster(ctx, "managedCluster", &Kubernetes.ClusterArgs{ VpcId: pulumi.String(vpc.InstanceLists[0].VpcId), ClusterCidr: pulumi.String("10.1.0.0/16"), ClusterMaxPodNum: pulumi.Int(32), ClusterName: pulumi.String("keep"), ClusterDesc: pulumi.String("test cluster desc"), ClusterMaxServiceNum: pulumi.Int(32), WorkerConfigs: kubernetes.ClusterWorkerConfigArray{ &kubernetes.ClusterWorkerConfigArgs{ Count: pulumi.Int(1), AvailabilityZone: pulumi.String(availabilityZone), InstanceType: pulumi.String(defaultInstanceType), SystemDiskType: pulumi.String("CLOUD_SSD"), SystemDiskSize: pulumi.Int(60), InternetChargeType: pulumi.String("TRAFFIC_POSTPAID_BY_HOUR"), InternetMaxBandwidthOut: pulumi.Int(100), PublicIpAssigned: pulumi.Bool(true), SubnetId: pulumi.String(vpc.InstanceLists[0].SubnetId), DataDisks: kubernetes.ClusterWorkerConfigDataDiskArray{ &kubernetes.ClusterWorkerConfigDataDiskArgs{ DiskType: pulumi.String("CLOUD_PREMIUM"), DiskSize: pulumi.Int(50), }, }, EnhancedSecurityService: pulumi.Bool(false), EnhancedMonitorService: pulumi.Bool(false), UserData: pulumi.String("dGVzdA=="), Password: pulumi.String("ZZXXccvv1212"), }, }, ClusterDeployType: pulumi.String("MANAGED_CLUSTER"), }) if err != nil { return err } _, err = Kubernetes.NewClusterAttachment(ctx, "testAttach", &Kubernetes.ClusterAttachmentArgs{ ClusterId: managedCluster.ID(), InstanceId: foo.ID(), Password: pulumi.String("Lo4wbdit"), Labels: pulumi.AnyMap{ "test1": pulumi.Any("test1"), "test2": pulumi.Any("test2"), }, WorkerConfigOverrides: &kubernetes.ClusterAttachmentWorkerConfigOverridesArgs{ DesiredPodNum: pulumi.Int(8), }, }) if err != nil { return err } return nil }) }
```
func GetClusterAttachment ¶
func GetClusterAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ClusterAttachmentState, opts ...pulumi.ResourceOption) (*ClusterAttachment, error)
GetClusterAttachment gets an existing ClusterAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewClusterAttachment ¶
func NewClusterAttachment(ctx *pulumi.Context, name string, args *ClusterAttachmentArgs, opts ...pulumi.ResourceOption) (*ClusterAttachment, error)
NewClusterAttachment registers a new resource with the given unique name, arguments, and options.
func (*ClusterAttachment) ElementType ¶
func (*ClusterAttachment) ElementType() reflect.Type
func (*ClusterAttachment) ToClusterAttachmentOutput ¶
func (i *ClusterAttachment) ToClusterAttachmentOutput() ClusterAttachmentOutput
func (*ClusterAttachment) ToClusterAttachmentOutputWithContext ¶
func (i *ClusterAttachment) ToClusterAttachmentOutputWithContext(ctx context.Context) ClusterAttachmentOutput
type ClusterAttachmentArgs ¶
type ClusterAttachmentArgs struct { // ID of the cluster. ClusterId pulumi.StringInput // The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-). Hostname pulumi.StringPtrInput // ID of the CVM instance, this cvm will reinstall the system. InstanceId pulumi.StringInput // The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if `password` not set. KeyIds pulumi.StringPtrInput // Labels of tke attachment exits CVM. Labels pulumi.MapInput // Password to access, should be set if `keyIds` not set. Password pulumi.StringPtrInput // Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling. Unschedulable pulumi.IntPtrInput // Deploy the machine configuration information of the 'WORKER', commonly used to attach existing instances. WorkerConfig ClusterAttachmentWorkerConfigPtrInput // Override variable worker_config, commonly used to attach existing instances. WorkerConfigOverrides ClusterAttachmentWorkerConfigOverridesPtrInput }
The set of arguments for constructing a ClusterAttachment resource.
func (ClusterAttachmentArgs) ElementType ¶
func (ClusterAttachmentArgs) ElementType() reflect.Type
type ClusterAttachmentArray ¶
type ClusterAttachmentArray []ClusterAttachmentInput
func (ClusterAttachmentArray) ElementType ¶
func (ClusterAttachmentArray) ElementType() reflect.Type
func (ClusterAttachmentArray) ToClusterAttachmentArrayOutput ¶
func (i ClusterAttachmentArray) ToClusterAttachmentArrayOutput() ClusterAttachmentArrayOutput
func (ClusterAttachmentArray) ToClusterAttachmentArrayOutputWithContext ¶
func (i ClusterAttachmentArray) ToClusterAttachmentArrayOutputWithContext(ctx context.Context) ClusterAttachmentArrayOutput
type ClusterAttachmentArrayInput ¶
type ClusterAttachmentArrayInput interface { pulumi.Input ToClusterAttachmentArrayOutput() ClusterAttachmentArrayOutput ToClusterAttachmentArrayOutputWithContext(context.Context) ClusterAttachmentArrayOutput }
ClusterAttachmentArrayInput is an input type that accepts ClusterAttachmentArray and ClusterAttachmentArrayOutput values. You can construct a concrete instance of `ClusterAttachmentArrayInput` via:
ClusterAttachmentArray{ ClusterAttachmentArgs{...} }
type ClusterAttachmentArrayOutput ¶
type ClusterAttachmentArrayOutput struct{ *pulumi.OutputState }
func (ClusterAttachmentArrayOutput) ElementType ¶
func (ClusterAttachmentArrayOutput) ElementType() reflect.Type
func (ClusterAttachmentArrayOutput) Index ¶
func (o ClusterAttachmentArrayOutput) Index(i pulumi.IntInput) ClusterAttachmentOutput
func (ClusterAttachmentArrayOutput) ToClusterAttachmentArrayOutput ¶
func (o ClusterAttachmentArrayOutput) ToClusterAttachmentArrayOutput() ClusterAttachmentArrayOutput
func (ClusterAttachmentArrayOutput) ToClusterAttachmentArrayOutputWithContext ¶
func (o ClusterAttachmentArrayOutput) ToClusterAttachmentArrayOutputWithContext(ctx context.Context) ClusterAttachmentArrayOutput
type ClusterAttachmentInput ¶
type ClusterAttachmentInput interface { pulumi.Input ToClusterAttachmentOutput() ClusterAttachmentOutput ToClusterAttachmentOutputWithContext(ctx context.Context) ClusterAttachmentOutput }
type ClusterAttachmentMap ¶
type ClusterAttachmentMap map[string]ClusterAttachmentInput
func (ClusterAttachmentMap) ElementType ¶
func (ClusterAttachmentMap) ElementType() reflect.Type
func (ClusterAttachmentMap) ToClusterAttachmentMapOutput ¶
func (i ClusterAttachmentMap) ToClusterAttachmentMapOutput() ClusterAttachmentMapOutput
func (ClusterAttachmentMap) ToClusterAttachmentMapOutputWithContext ¶
func (i ClusterAttachmentMap) ToClusterAttachmentMapOutputWithContext(ctx context.Context) ClusterAttachmentMapOutput
type ClusterAttachmentMapInput ¶
type ClusterAttachmentMapInput interface { pulumi.Input ToClusterAttachmentMapOutput() ClusterAttachmentMapOutput ToClusterAttachmentMapOutputWithContext(context.Context) ClusterAttachmentMapOutput }
ClusterAttachmentMapInput is an input type that accepts ClusterAttachmentMap and ClusterAttachmentMapOutput values. You can construct a concrete instance of `ClusterAttachmentMapInput` via:
ClusterAttachmentMap{ "key": ClusterAttachmentArgs{...} }
type ClusterAttachmentMapOutput ¶
type ClusterAttachmentMapOutput struct{ *pulumi.OutputState }
func (ClusterAttachmentMapOutput) ElementType ¶
func (ClusterAttachmentMapOutput) ElementType() reflect.Type
func (ClusterAttachmentMapOutput) MapIndex ¶
func (o ClusterAttachmentMapOutput) MapIndex(k pulumi.StringInput) ClusterAttachmentOutput
func (ClusterAttachmentMapOutput) ToClusterAttachmentMapOutput ¶
func (o ClusterAttachmentMapOutput) ToClusterAttachmentMapOutput() ClusterAttachmentMapOutput
func (ClusterAttachmentMapOutput) ToClusterAttachmentMapOutputWithContext ¶
func (o ClusterAttachmentMapOutput) ToClusterAttachmentMapOutputWithContext(ctx context.Context) ClusterAttachmentMapOutput
type ClusterAttachmentOutput ¶
type ClusterAttachmentOutput struct{ *pulumi.OutputState }
func (ClusterAttachmentOutput) ClusterId ¶
func (o ClusterAttachmentOutput) ClusterId() pulumi.StringOutput
ID of the cluster.
func (ClusterAttachmentOutput) ElementType ¶
func (ClusterAttachmentOutput) ElementType() reflect.Type
func (ClusterAttachmentOutput) Hostname ¶
func (o ClusterAttachmentOutput) Hostname() pulumi.StringPtrOutput
The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
func (ClusterAttachmentOutput) InstanceId ¶
func (o ClusterAttachmentOutput) InstanceId() pulumi.StringOutput
ID of the CVM instance, this cvm will reinstall the system.
func (ClusterAttachmentOutput) KeyIds ¶
func (o ClusterAttachmentOutput) KeyIds() pulumi.StringPtrOutput
The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if `password` not set.
func (ClusterAttachmentOutput) Labels ¶
func (o ClusterAttachmentOutput) Labels() pulumi.MapOutput
Labels of tke attachment exits CVM.
func (ClusterAttachmentOutput) Password ¶
func (o ClusterAttachmentOutput) Password() pulumi.StringPtrOutput
Password to access, should be set if `keyIds` not set.
func (ClusterAttachmentOutput) SecurityGroups ¶
func (o ClusterAttachmentOutput) SecurityGroups() pulumi.StringArrayOutput
A list of security group IDs after attach to cluster.
func (ClusterAttachmentOutput) State ¶
func (o ClusterAttachmentOutput) State() pulumi.StringOutput
State of the node.
func (ClusterAttachmentOutput) ToClusterAttachmentOutput ¶
func (o ClusterAttachmentOutput) ToClusterAttachmentOutput() ClusterAttachmentOutput
func (ClusterAttachmentOutput) ToClusterAttachmentOutputWithContext ¶
func (o ClusterAttachmentOutput) ToClusterAttachmentOutputWithContext(ctx context.Context) ClusterAttachmentOutput
func (ClusterAttachmentOutput) Unschedulable ¶
func (o ClusterAttachmentOutput) Unschedulable() pulumi.IntPtrOutput
Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
func (ClusterAttachmentOutput) WorkerConfig ¶
func (o ClusterAttachmentOutput) WorkerConfig() ClusterAttachmentWorkerConfigPtrOutput
Deploy the machine configuration information of the 'WORKER', commonly used to attach existing instances.
func (ClusterAttachmentOutput) WorkerConfigOverrides ¶
func (o ClusterAttachmentOutput) WorkerConfigOverrides() ClusterAttachmentWorkerConfigOverridesPtrOutput
Override variable worker_config, commonly used to attach existing instances.
type ClusterAttachmentState ¶
type ClusterAttachmentState struct { // ID of the cluster. ClusterId pulumi.StringPtrInput // The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-). Hostname pulumi.StringPtrInput // ID of the CVM instance, this cvm will reinstall the system. InstanceId pulumi.StringPtrInput // The key pair to use for the instance, it looks like skey-16jig7tx, it should be set if `password` not set. KeyIds pulumi.StringPtrInput // Labels of tke attachment exits CVM. Labels pulumi.MapInput // Password to access, should be set if `keyIds` not set. Password pulumi.StringPtrInput // A list of security group IDs after attach to cluster. SecurityGroups pulumi.StringArrayInput // State of the node. State pulumi.StringPtrInput // Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling. Unschedulable pulumi.IntPtrInput // Deploy the machine configuration information of the 'WORKER', commonly used to attach existing instances. WorkerConfig ClusterAttachmentWorkerConfigPtrInput // Override variable worker_config, commonly used to attach existing instances. WorkerConfigOverrides ClusterAttachmentWorkerConfigOverridesPtrInput }
func (ClusterAttachmentState) ElementType ¶
func (ClusterAttachmentState) ElementType() reflect.Type
type ClusterAttachmentWorkerConfig ¶
type ClusterAttachmentWorkerConfig struct { // Configurations of data disk. DataDisks []ClusterAttachmentWorkerConfigDataDisk `pulumi:"dataDisks"` // Indicate to set desired pod number in node. valid when the cluster is podCIDR. DesiredPodNum *int `pulumi:"desiredPodNum"` // Docker graph path. Default is `/var/lib/docker`. DockerGraphPath *string `pulumi:"dockerGraphPath"` // Custom parameter information related to the node. This is a white-list parameter. ExtraArgs []string `pulumi:"extraArgs"` // GPU driver parameters. GpuArgs *ClusterAttachmentWorkerConfigGpuArgs `pulumi:"gpuArgs"` // Indicate to schedule the adding node or not. Default is true. IsSchedule *bool `pulumi:"isSchedule"` // Mount target. Default is not mounting. MountTarget *string `pulumi:"mountTarget"` // Base64-encoded User Data text, the length limit is 16KB. UserData *string `pulumi:"userData"` }
type ClusterAttachmentWorkerConfigArgs ¶
type ClusterAttachmentWorkerConfigArgs struct { // Configurations of data disk. DataDisks ClusterAttachmentWorkerConfigDataDiskArrayInput `pulumi:"dataDisks"` // Indicate to set desired pod number in node. valid when the cluster is podCIDR. DesiredPodNum pulumi.IntPtrInput `pulumi:"desiredPodNum"` // Docker graph path. Default is `/var/lib/docker`. DockerGraphPath pulumi.StringPtrInput `pulumi:"dockerGraphPath"` // Custom parameter information related to the node. This is a white-list parameter. ExtraArgs pulumi.StringArrayInput `pulumi:"extraArgs"` // GPU driver parameters. GpuArgs ClusterAttachmentWorkerConfigGpuArgsPtrInput `pulumi:"gpuArgs"` // Indicate to schedule the adding node or not. Default is true. IsSchedule pulumi.BoolPtrInput `pulumi:"isSchedule"` // Mount target. Default is not mounting. MountTarget pulumi.StringPtrInput `pulumi:"mountTarget"` // Base64-encoded User Data text, the length limit is 16KB. UserData pulumi.StringPtrInput `pulumi:"userData"` }
func (ClusterAttachmentWorkerConfigArgs) ElementType ¶
func (ClusterAttachmentWorkerConfigArgs) ElementType() reflect.Type
func (ClusterAttachmentWorkerConfigArgs) ToClusterAttachmentWorkerConfigOutput ¶
func (i ClusterAttachmentWorkerConfigArgs) ToClusterAttachmentWorkerConfigOutput() ClusterAttachmentWorkerConfigOutput
func (ClusterAttachmentWorkerConfigArgs) ToClusterAttachmentWorkerConfigOutputWithContext ¶
func (i ClusterAttachmentWorkerConfigArgs) ToClusterAttachmentWorkerConfigOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOutput
func (ClusterAttachmentWorkerConfigArgs) ToClusterAttachmentWorkerConfigPtrOutput ¶
func (i ClusterAttachmentWorkerConfigArgs) ToClusterAttachmentWorkerConfigPtrOutput() ClusterAttachmentWorkerConfigPtrOutput
func (ClusterAttachmentWorkerConfigArgs) ToClusterAttachmentWorkerConfigPtrOutputWithContext ¶
func (i ClusterAttachmentWorkerConfigArgs) ToClusterAttachmentWorkerConfigPtrOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigPtrOutput
type ClusterAttachmentWorkerConfigDataDisk ¶
type ClusterAttachmentWorkerConfigDataDisk struct { // Indicate whether to auto format and mount or not. Default is `false`. AutoFormatAndMount *bool `pulumi:"autoFormatAndMount"` // The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error. DiskPartition *string `pulumi:"diskPartition"` // Volume of disk in GB. Default is `0`. DiskSize *int `pulumi:"diskSize"` // Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD`. DiskType *string `pulumi:"diskType"` // File system, e.g. `ext3/ext4/xfs`. FileSystem *string `pulumi:"fileSystem"` // Mount target. MountTarget *string `pulumi:"mountTarget"` }
type ClusterAttachmentWorkerConfigDataDiskArgs ¶
type ClusterAttachmentWorkerConfigDataDiskArgs struct { // Indicate whether to auto format and mount or not. Default is `false`. AutoFormatAndMount pulumi.BoolPtrInput `pulumi:"autoFormatAndMount"` // The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error. DiskPartition pulumi.StringPtrInput `pulumi:"diskPartition"` // Volume of disk in GB. Default is `0`. DiskSize pulumi.IntPtrInput `pulumi:"diskSize"` // Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD`. DiskType pulumi.StringPtrInput `pulumi:"diskType"` // File system, e.g. `ext3/ext4/xfs`. FileSystem pulumi.StringPtrInput `pulumi:"fileSystem"` // Mount target. MountTarget pulumi.StringPtrInput `pulumi:"mountTarget"` }
func (ClusterAttachmentWorkerConfigDataDiskArgs) ElementType ¶
func (ClusterAttachmentWorkerConfigDataDiskArgs) ElementType() reflect.Type
func (ClusterAttachmentWorkerConfigDataDiskArgs) ToClusterAttachmentWorkerConfigDataDiskOutput ¶
func (i ClusterAttachmentWorkerConfigDataDiskArgs) ToClusterAttachmentWorkerConfigDataDiskOutput() ClusterAttachmentWorkerConfigDataDiskOutput
func (ClusterAttachmentWorkerConfigDataDiskArgs) ToClusterAttachmentWorkerConfigDataDiskOutputWithContext ¶
func (i ClusterAttachmentWorkerConfigDataDiskArgs) ToClusterAttachmentWorkerConfigDataDiskOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigDataDiskOutput
type ClusterAttachmentWorkerConfigDataDiskArray ¶
type ClusterAttachmentWorkerConfigDataDiskArray []ClusterAttachmentWorkerConfigDataDiskInput
func (ClusterAttachmentWorkerConfigDataDiskArray) ElementType ¶
func (ClusterAttachmentWorkerConfigDataDiskArray) ElementType() reflect.Type
func (ClusterAttachmentWorkerConfigDataDiskArray) ToClusterAttachmentWorkerConfigDataDiskArrayOutput ¶
func (i ClusterAttachmentWorkerConfigDataDiskArray) ToClusterAttachmentWorkerConfigDataDiskArrayOutput() ClusterAttachmentWorkerConfigDataDiskArrayOutput
func (ClusterAttachmentWorkerConfigDataDiskArray) ToClusterAttachmentWorkerConfigDataDiskArrayOutputWithContext ¶
func (i ClusterAttachmentWorkerConfigDataDiskArray) ToClusterAttachmentWorkerConfigDataDiskArrayOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigDataDiskArrayOutput
type ClusterAttachmentWorkerConfigDataDiskArrayInput ¶
type ClusterAttachmentWorkerConfigDataDiskArrayInput interface { pulumi.Input ToClusterAttachmentWorkerConfigDataDiskArrayOutput() ClusterAttachmentWorkerConfigDataDiskArrayOutput ToClusterAttachmentWorkerConfigDataDiskArrayOutputWithContext(context.Context) ClusterAttachmentWorkerConfigDataDiskArrayOutput }
ClusterAttachmentWorkerConfigDataDiskArrayInput is an input type that accepts ClusterAttachmentWorkerConfigDataDiskArray and ClusterAttachmentWorkerConfigDataDiskArrayOutput values. You can construct a concrete instance of `ClusterAttachmentWorkerConfigDataDiskArrayInput` via:
ClusterAttachmentWorkerConfigDataDiskArray{ ClusterAttachmentWorkerConfigDataDiskArgs{...} }
type ClusterAttachmentWorkerConfigDataDiskArrayOutput ¶
type ClusterAttachmentWorkerConfigDataDiskArrayOutput struct{ *pulumi.OutputState }
func (ClusterAttachmentWorkerConfigDataDiskArrayOutput) ElementType ¶
func (ClusterAttachmentWorkerConfigDataDiskArrayOutput) ElementType() reflect.Type
func (ClusterAttachmentWorkerConfigDataDiskArrayOutput) ToClusterAttachmentWorkerConfigDataDiskArrayOutput ¶
func (o ClusterAttachmentWorkerConfigDataDiskArrayOutput) ToClusterAttachmentWorkerConfigDataDiskArrayOutput() ClusterAttachmentWorkerConfigDataDiskArrayOutput
func (ClusterAttachmentWorkerConfigDataDiskArrayOutput) ToClusterAttachmentWorkerConfigDataDiskArrayOutputWithContext ¶
func (o ClusterAttachmentWorkerConfigDataDiskArrayOutput) ToClusterAttachmentWorkerConfigDataDiskArrayOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigDataDiskArrayOutput
type ClusterAttachmentWorkerConfigDataDiskInput ¶
type ClusterAttachmentWorkerConfigDataDiskInput interface { pulumi.Input ToClusterAttachmentWorkerConfigDataDiskOutput() ClusterAttachmentWorkerConfigDataDiskOutput ToClusterAttachmentWorkerConfigDataDiskOutputWithContext(context.Context) ClusterAttachmentWorkerConfigDataDiskOutput }
ClusterAttachmentWorkerConfigDataDiskInput is an input type that accepts ClusterAttachmentWorkerConfigDataDiskArgs and ClusterAttachmentWorkerConfigDataDiskOutput values. You can construct a concrete instance of `ClusterAttachmentWorkerConfigDataDiskInput` via:
ClusterAttachmentWorkerConfigDataDiskArgs{...}
type ClusterAttachmentWorkerConfigDataDiskOutput ¶
type ClusterAttachmentWorkerConfigDataDiskOutput struct{ *pulumi.OutputState }
func (ClusterAttachmentWorkerConfigDataDiskOutput) AutoFormatAndMount ¶
func (o ClusterAttachmentWorkerConfigDataDiskOutput) AutoFormatAndMount() pulumi.BoolPtrOutput
Indicate whether to auto format and mount or not. Default is `false`.
func (ClusterAttachmentWorkerConfigDataDiskOutput) DiskPartition ¶
func (o ClusterAttachmentWorkerConfigDataDiskOutput) DiskPartition() pulumi.StringPtrOutput
The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
func (ClusterAttachmentWorkerConfigDataDiskOutput) DiskSize ¶
func (o ClusterAttachmentWorkerConfigDataDiskOutput) DiskSize() pulumi.IntPtrOutput
Volume of disk in GB. Default is `0`.
func (ClusterAttachmentWorkerConfigDataDiskOutput) DiskType ¶
func (o ClusterAttachmentWorkerConfigDataDiskOutput) DiskType() pulumi.StringPtrOutput
Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD`.
func (ClusterAttachmentWorkerConfigDataDiskOutput) ElementType ¶
func (ClusterAttachmentWorkerConfigDataDiskOutput) ElementType() reflect.Type
func (ClusterAttachmentWorkerConfigDataDiskOutput) FileSystem ¶
func (o ClusterAttachmentWorkerConfigDataDiskOutput) FileSystem() pulumi.StringPtrOutput
File system, e.g. `ext3/ext4/xfs`.
func (ClusterAttachmentWorkerConfigDataDiskOutput) MountTarget ¶
func (o ClusterAttachmentWorkerConfigDataDiskOutput) MountTarget() pulumi.StringPtrOutput
Mount target.
func (ClusterAttachmentWorkerConfigDataDiskOutput) ToClusterAttachmentWorkerConfigDataDiskOutput ¶
func (o ClusterAttachmentWorkerConfigDataDiskOutput) ToClusterAttachmentWorkerConfigDataDiskOutput() ClusterAttachmentWorkerConfigDataDiskOutput
func (ClusterAttachmentWorkerConfigDataDiskOutput) ToClusterAttachmentWorkerConfigDataDiskOutputWithContext ¶
func (o ClusterAttachmentWorkerConfigDataDiskOutput) ToClusterAttachmentWorkerConfigDataDiskOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigDataDiskOutput
type ClusterAttachmentWorkerConfigGpuArgs ¶ added in v0.1.3
type ClusterAttachmentWorkerConfigGpuArgs struct { // CUDA version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA. Cuda map[string]interface{} `pulumi:"cuda"` // cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `docName`: Doc name of cuDNN; `devName`: Dev name of cuDNN. Cudnn map[string]interface{} `pulumi:"cudnn"` // Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address. CustomDriver map[string]interface{} `pulumi:"customDriver"` // GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA. Driver map[string]interface{} `pulumi:"driver"` // Whether to enable MIG. MigEnable *bool `pulumi:"migEnable"` }
type ClusterAttachmentWorkerConfigGpuArgsArgs ¶ added in v0.1.3
type ClusterAttachmentWorkerConfigGpuArgsArgs struct { // CUDA version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA. Cuda pulumi.MapInput `pulumi:"cuda"` // cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `docName`: Doc name of cuDNN; `devName`: Dev name of cuDNN. Cudnn pulumi.MapInput `pulumi:"cudnn"` // Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address. CustomDriver pulumi.MapInput `pulumi:"customDriver"` // GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA. Driver pulumi.MapInput `pulumi:"driver"` // Whether to enable MIG. MigEnable pulumi.BoolPtrInput `pulumi:"migEnable"` }
func (ClusterAttachmentWorkerConfigGpuArgsArgs) ElementType ¶ added in v0.1.3
func (ClusterAttachmentWorkerConfigGpuArgsArgs) ElementType() reflect.Type
func (ClusterAttachmentWorkerConfigGpuArgsArgs) ToClusterAttachmentWorkerConfigGpuArgsOutput ¶ added in v0.1.3
func (i ClusterAttachmentWorkerConfigGpuArgsArgs) ToClusterAttachmentWorkerConfigGpuArgsOutput() ClusterAttachmentWorkerConfigGpuArgsOutput
func (ClusterAttachmentWorkerConfigGpuArgsArgs) ToClusterAttachmentWorkerConfigGpuArgsOutputWithContext ¶ added in v0.1.3
func (i ClusterAttachmentWorkerConfigGpuArgsArgs) ToClusterAttachmentWorkerConfigGpuArgsOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigGpuArgsOutput
func (ClusterAttachmentWorkerConfigGpuArgsArgs) ToClusterAttachmentWorkerConfigGpuArgsPtrOutput ¶ added in v0.1.3
func (i ClusterAttachmentWorkerConfigGpuArgsArgs) ToClusterAttachmentWorkerConfigGpuArgsPtrOutput() ClusterAttachmentWorkerConfigGpuArgsPtrOutput
func (ClusterAttachmentWorkerConfigGpuArgsArgs) ToClusterAttachmentWorkerConfigGpuArgsPtrOutputWithContext ¶ added in v0.1.3
func (i ClusterAttachmentWorkerConfigGpuArgsArgs) ToClusterAttachmentWorkerConfigGpuArgsPtrOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigGpuArgsPtrOutput
type ClusterAttachmentWorkerConfigGpuArgsInput ¶ added in v0.1.3
type ClusterAttachmentWorkerConfigGpuArgsInput interface { pulumi.Input ToClusterAttachmentWorkerConfigGpuArgsOutput() ClusterAttachmentWorkerConfigGpuArgsOutput ToClusterAttachmentWorkerConfigGpuArgsOutputWithContext(context.Context) ClusterAttachmentWorkerConfigGpuArgsOutput }
ClusterAttachmentWorkerConfigGpuArgsInput is an input type that accepts ClusterAttachmentWorkerConfigGpuArgsArgs and ClusterAttachmentWorkerConfigGpuArgsOutput values. You can construct a concrete instance of `ClusterAttachmentWorkerConfigGpuArgsInput` via:
ClusterAttachmentWorkerConfigGpuArgsArgs{...}
type ClusterAttachmentWorkerConfigGpuArgsOutput ¶ added in v0.1.3
type ClusterAttachmentWorkerConfigGpuArgsOutput struct{ *pulumi.OutputState }
func (ClusterAttachmentWorkerConfigGpuArgsOutput) Cuda ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigGpuArgsOutput) Cuda() pulumi.MapOutput
CUDA version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
func (ClusterAttachmentWorkerConfigGpuArgsOutput) Cudnn ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigGpuArgsOutput) Cudnn() pulumi.MapOutput
cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `docName`: Doc name of cuDNN; `devName`: Dev name of cuDNN.
func (ClusterAttachmentWorkerConfigGpuArgsOutput) CustomDriver ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigGpuArgsOutput) CustomDriver() pulumi.MapOutput
Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address.
func (ClusterAttachmentWorkerConfigGpuArgsOutput) Driver ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigGpuArgsOutput) Driver() pulumi.MapOutput
GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
func (ClusterAttachmentWorkerConfigGpuArgsOutput) ElementType ¶ added in v0.1.3
func (ClusterAttachmentWorkerConfigGpuArgsOutput) ElementType() reflect.Type
func (ClusterAttachmentWorkerConfigGpuArgsOutput) MigEnable ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigGpuArgsOutput) MigEnable() pulumi.BoolPtrOutput
Whether to enable MIG.
func (ClusterAttachmentWorkerConfigGpuArgsOutput) ToClusterAttachmentWorkerConfigGpuArgsOutput ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigGpuArgsOutput) ToClusterAttachmentWorkerConfigGpuArgsOutput() ClusterAttachmentWorkerConfigGpuArgsOutput
func (ClusterAttachmentWorkerConfigGpuArgsOutput) ToClusterAttachmentWorkerConfigGpuArgsOutputWithContext ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigGpuArgsOutput) ToClusterAttachmentWorkerConfigGpuArgsOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigGpuArgsOutput
func (ClusterAttachmentWorkerConfigGpuArgsOutput) ToClusterAttachmentWorkerConfigGpuArgsPtrOutput ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigGpuArgsOutput) ToClusterAttachmentWorkerConfigGpuArgsPtrOutput() ClusterAttachmentWorkerConfigGpuArgsPtrOutput
func (ClusterAttachmentWorkerConfigGpuArgsOutput) ToClusterAttachmentWorkerConfigGpuArgsPtrOutputWithContext ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigGpuArgsOutput) ToClusterAttachmentWorkerConfigGpuArgsPtrOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigGpuArgsPtrOutput
type ClusterAttachmentWorkerConfigGpuArgsPtrInput ¶ added in v0.1.3
type ClusterAttachmentWorkerConfigGpuArgsPtrInput interface { pulumi.Input ToClusterAttachmentWorkerConfigGpuArgsPtrOutput() ClusterAttachmentWorkerConfigGpuArgsPtrOutput ToClusterAttachmentWorkerConfigGpuArgsPtrOutputWithContext(context.Context) ClusterAttachmentWorkerConfigGpuArgsPtrOutput }
ClusterAttachmentWorkerConfigGpuArgsPtrInput is an input type that accepts ClusterAttachmentWorkerConfigGpuArgsArgs, ClusterAttachmentWorkerConfigGpuArgsPtr and ClusterAttachmentWorkerConfigGpuArgsPtrOutput values. You can construct a concrete instance of `ClusterAttachmentWorkerConfigGpuArgsPtrInput` via:
ClusterAttachmentWorkerConfigGpuArgsArgs{...} or: nil
func ClusterAttachmentWorkerConfigGpuArgsPtr ¶ added in v0.1.3
func ClusterAttachmentWorkerConfigGpuArgsPtr(v *ClusterAttachmentWorkerConfigGpuArgsArgs) ClusterAttachmentWorkerConfigGpuArgsPtrInput
type ClusterAttachmentWorkerConfigGpuArgsPtrOutput ¶ added in v0.1.3
type ClusterAttachmentWorkerConfigGpuArgsPtrOutput struct{ *pulumi.OutputState }
func (ClusterAttachmentWorkerConfigGpuArgsPtrOutput) Cuda ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigGpuArgsPtrOutput) Cuda() pulumi.MapOutput
CUDA version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
func (ClusterAttachmentWorkerConfigGpuArgsPtrOutput) Cudnn ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigGpuArgsPtrOutput) Cudnn() pulumi.MapOutput
cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `docName`: Doc name of cuDNN; `devName`: Dev name of cuDNN.
func (ClusterAttachmentWorkerConfigGpuArgsPtrOutput) CustomDriver ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigGpuArgsPtrOutput) CustomDriver() pulumi.MapOutput
Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address.
func (ClusterAttachmentWorkerConfigGpuArgsPtrOutput) Driver ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigGpuArgsPtrOutput) Driver() pulumi.MapOutput
GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
func (ClusterAttachmentWorkerConfigGpuArgsPtrOutput) ElementType ¶ added in v0.1.3
func (ClusterAttachmentWorkerConfigGpuArgsPtrOutput) ElementType() reflect.Type
func (ClusterAttachmentWorkerConfigGpuArgsPtrOutput) MigEnable ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigGpuArgsPtrOutput) MigEnable() pulumi.BoolPtrOutput
Whether to enable MIG.
func (ClusterAttachmentWorkerConfigGpuArgsPtrOutput) ToClusterAttachmentWorkerConfigGpuArgsPtrOutput ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigGpuArgsPtrOutput) ToClusterAttachmentWorkerConfigGpuArgsPtrOutput() ClusterAttachmentWorkerConfigGpuArgsPtrOutput
func (ClusterAttachmentWorkerConfigGpuArgsPtrOutput) ToClusterAttachmentWorkerConfigGpuArgsPtrOutputWithContext ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigGpuArgsPtrOutput) ToClusterAttachmentWorkerConfigGpuArgsPtrOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigGpuArgsPtrOutput
type ClusterAttachmentWorkerConfigInput ¶
type ClusterAttachmentWorkerConfigInput interface { pulumi.Input ToClusterAttachmentWorkerConfigOutput() ClusterAttachmentWorkerConfigOutput ToClusterAttachmentWorkerConfigOutputWithContext(context.Context) ClusterAttachmentWorkerConfigOutput }
ClusterAttachmentWorkerConfigInput is an input type that accepts ClusterAttachmentWorkerConfigArgs and ClusterAttachmentWorkerConfigOutput values. You can construct a concrete instance of `ClusterAttachmentWorkerConfigInput` via:
ClusterAttachmentWorkerConfigArgs{...}
type ClusterAttachmentWorkerConfigOutput ¶
type ClusterAttachmentWorkerConfigOutput struct{ *pulumi.OutputState }
func (ClusterAttachmentWorkerConfigOutput) DataDisks ¶
func (o ClusterAttachmentWorkerConfigOutput) DataDisks() ClusterAttachmentWorkerConfigDataDiskArrayOutput
Configurations of data disk.
func (ClusterAttachmentWorkerConfigOutput) DesiredPodNum ¶
func (o ClusterAttachmentWorkerConfigOutput) DesiredPodNum() pulumi.IntPtrOutput
Indicate to set desired pod number in node. valid when the cluster is podCIDR.
func (ClusterAttachmentWorkerConfigOutput) DockerGraphPath ¶
func (o ClusterAttachmentWorkerConfigOutput) DockerGraphPath() pulumi.StringPtrOutput
Docker graph path. Default is `/var/lib/docker`.
func (ClusterAttachmentWorkerConfigOutput) ElementType ¶
func (ClusterAttachmentWorkerConfigOutput) ElementType() reflect.Type
func (ClusterAttachmentWorkerConfigOutput) ExtraArgs ¶
func (o ClusterAttachmentWorkerConfigOutput) ExtraArgs() pulumi.StringArrayOutput
Custom parameter information related to the node. This is a white-list parameter.
func (ClusterAttachmentWorkerConfigOutput) GpuArgs ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigOutput) GpuArgs() ClusterAttachmentWorkerConfigGpuArgsPtrOutput
GPU driver parameters.
func (ClusterAttachmentWorkerConfigOutput) IsSchedule ¶
func (o ClusterAttachmentWorkerConfigOutput) IsSchedule() pulumi.BoolPtrOutput
Indicate to schedule the adding node or not. Default is true.
func (ClusterAttachmentWorkerConfigOutput) MountTarget ¶
func (o ClusterAttachmentWorkerConfigOutput) MountTarget() pulumi.StringPtrOutput
Mount target. Default is not mounting.
func (ClusterAttachmentWorkerConfigOutput) ToClusterAttachmentWorkerConfigOutput ¶
func (o ClusterAttachmentWorkerConfigOutput) ToClusterAttachmentWorkerConfigOutput() ClusterAttachmentWorkerConfigOutput
func (ClusterAttachmentWorkerConfigOutput) ToClusterAttachmentWorkerConfigOutputWithContext ¶
func (o ClusterAttachmentWorkerConfigOutput) ToClusterAttachmentWorkerConfigOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOutput
func (ClusterAttachmentWorkerConfigOutput) ToClusterAttachmentWorkerConfigPtrOutput ¶
func (o ClusterAttachmentWorkerConfigOutput) ToClusterAttachmentWorkerConfigPtrOutput() ClusterAttachmentWorkerConfigPtrOutput
func (ClusterAttachmentWorkerConfigOutput) ToClusterAttachmentWorkerConfigPtrOutputWithContext ¶
func (o ClusterAttachmentWorkerConfigOutput) ToClusterAttachmentWorkerConfigPtrOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigPtrOutput
func (ClusterAttachmentWorkerConfigOutput) UserData ¶
func (o ClusterAttachmentWorkerConfigOutput) UserData() pulumi.StringPtrOutput
Base64-encoded User Data text, the length limit is 16KB.
type ClusterAttachmentWorkerConfigOverrides ¶
type ClusterAttachmentWorkerConfigOverrides struct { // Configurations of data disk. DataDisks []ClusterAttachmentWorkerConfigOverridesDataDisk `pulumi:"dataDisks"` // Indicate to set desired pod number in node. valid when the cluster is podCIDR. DesiredPodNum *int `pulumi:"desiredPodNum"` // Docker graph path. Default is `/var/lib/docker`. DockerGraphPath *string `pulumi:"dockerGraphPath"` // Custom parameter information related to the node. This is a white-list parameter. ExtraArgs []string `pulumi:"extraArgs"` // GPU driver parameters. GpuArgs *ClusterAttachmentWorkerConfigOverridesGpuArgs `pulumi:"gpuArgs"` // Indicate to schedule the adding node or not. Default is true. IsSchedule *bool `pulumi:"isSchedule"` // Mount target. Default is not mounting. MountTarget *string `pulumi:"mountTarget"` // Base64-encoded User Data text, the length limit is 16KB. UserData *string `pulumi:"userData"` }
type ClusterAttachmentWorkerConfigOverridesArgs ¶
type ClusterAttachmentWorkerConfigOverridesArgs struct { // Configurations of data disk. DataDisks ClusterAttachmentWorkerConfigOverridesDataDiskArrayInput `pulumi:"dataDisks"` // Indicate to set desired pod number in node. valid when the cluster is podCIDR. DesiredPodNum pulumi.IntPtrInput `pulumi:"desiredPodNum"` // Docker graph path. Default is `/var/lib/docker`. DockerGraphPath pulumi.StringPtrInput `pulumi:"dockerGraphPath"` // Custom parameter information related to the node. This is a white-list parameter. ExtraArgs pulumi.StringArrayInput `pulumi:"extraArgs"` // GPU driver parameters. GpuArgs ClusterAttachmentWorkerConfigOverridesGpuArgsPtrInput `pulumi:"gpuArgs"` // Indicate to schedule the adding node or not. Default is true. IsSchedule pulumi.BoolPtrInput `pulumi:"isSchedule"` // Mount target. Default is not mounting. MountTarget pulumi.StringPtrInput `pulumi:"mountTarget"` // Base64-encoded User Data text, the length limit is 16KB. UserData pulumi.StringPtrInput `pulumi:"userData"` }
func (ClusterAttachmentWorkerConfigOverridesArgs) ElementType ¶
func (ClusterAttachmentWorkerConfigOverridesArgs) ElementType() reflect.Type
func (ClusterAttachmentWorkerConfigOverridesArgs) ToClusterAttachmentWorkerConfigOverridesOutput ¶
func (i ClusterAttachmentWorkerConfigOverridesArgs) ToClusterAttachmentWorkerConfigOverridesOutput() ClusterAttachmentWorkerConfigOverridesOutput
func (ClusterAttachmentWorkerConfigOverridesArgs) ToClusterAttachmentWorkerConfigOverridesOutputWithContext ¶
func (i ClusterAttachmentWorkerConfigOverridesArgs) ToClusterAttachmentWorkerConfigOverridesOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesOutput
func (ClusterAttachmentWorkerConfigOverridesArgs) ToClusterAttachmentWorkerConfigOverridesPtrOutput ¶
func (i ClusterAttachmentWorkerConfigOverridesArgs) ToClusterAttachmentWorkerConfigOverridesPtrOutput() ClusterAttachmentWorkerConfigOverridesPtrOutput
func (ClusterAttachmentWorkerConfigOverridesArgs) ToClusterAttachmentWorkerConfigOverridesPtrOutputWithContext ¶
func (i ClusterAttachmentWorkerConfigOverridesArgs) ToClusterAttachmentWorkerConfigOverridesPtrOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesPtrOutput
type ClusterAttachmentWorkerConfigOverridesDataDisk ¶
type ClusterAttachmentWorkerConfigOverridesDataDisk struct { // Indicate whether to auto format and mount or not. Default is `false`. AutoFormatAndMount *bool `pulumi:"autoFormatAndMount"` // The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error. DiskPartition *string `pulumi:"diskPartition"` // Volume of disk in GB. Default is `0`. DiskSize *int `pulumi:"diskSize"` // Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD`. DiskType *string `pulumi:"diskType"` // File system, e.g. `ext3/ext4/xfs`. FileSystem *string `pulumi:"fileSystem"` // Mount target. MountTarget *string `pulumi:"mountTarget"` }
type ClusterAttachmentWorkerConfigOverridesDataDiskArgs ¶
type ClusterAttachmentWorkerConfigOverridesDataDiskArgs struct { // Indicate whether to auto format and mount or not. Default is `false`. AutoFormatAndMount pulumi.BoolPtrInput `pulumi:"autoFormatAndMount"` // The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error. DiskPartition pulumi.StringPtrInput `pulumi:"diskPartition"` // Volume of disk in GB. Default is `0`. DiskSize pulumi.IntPtrInput `pulumi:"diskSize"` // Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD`. DiskType pulumi.StringPtrInput `pulumi:"diskType"` // File system, e.g. `ext3/ext4/xfs`. FileSystem pulumi.StringPtrInput `pulumi:"fileSystem"` // Mount target. MountTarget pulumi.StringPtrInput `pulumi:"mountTarget"` }
func (ClusterAttachmentWorkerConfigOverridesDataDiskArgs) ElementType ¶
func (ClusterAttachmentWorkerConfigOverridesDataDiskArgs) ElementType() reflect.Type
func (ClusterAttachmentWorkerConfigOverridesDataDiskArgs) ToClusterAttachmentWorkerConfigOverridesDataDiskOutput ¶
func (i ClusterAttachmentWorkerConfigOverridesDataDiskArgs) ToClusterAttachmentWorkerConfigOverridesDataDiskOutput() ClusterAttachmentWorkerConfigOverridesDataDiskOutput
func (ClusterAttachmentWorkerConfigOverridesDataDiskArgs) ToClusterAttachmentWorkerConfigOverridesDataDiskOutputWithContext ¶
func (i ClusterAttachmentWorkerConfigOverridesDataDiskArgs) ToClusterAttachmentWorkerConfigOverridesDataDiskOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesDataDiskOutput
type ClusterAttachmentWorkerConfigOverridesDataDiskArray ¶
type ClusterAttachmentWorkerConfigOverridesDataDiskArray []ClusterAttachmentWorkerConfigOverridesDataDiskInput
func (ClusterAttachmentWorkerConfigOverridesDataDiskArray) ElementType ¶
func (ClusterAttachmentWorkerConfigOverridesDataDiskArray) ElementType() reflect.Type
func (ClusterAttachmentWorkerConfigOverridesDataDiskArray) ToClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput ¶
func (i ClusterAttachmentWorkerConfigOverridesDataDiskArray) ToClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput() ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput
func (ClusterAttachmentWorkerConfigOverridesDataDiskArray) ToClusterAttachmentWorkerConfigOverridesDataDiskArrayOutputWithContext ¶
func (i ClusterAttachmentWorkerConfigOverridesDataDiskArray) ToClusterAttachmentWorkerConfigOverridesDataDiskArrayOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput
type ClusterAttachmentWorkerConfigOverridesDataDiskArrayInput ¶
type ClusterAttachmentWorkerConfigOverridesDataDiskArrayInput interface { pulumi.Input ToClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput() ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput ToClusterAttachmentWorkerConfigOverridesDataDiskArrayOutputWithContext(context.Context) ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput }
ClusterAttachmentWorkerConfigOverridesDataDiskArrayInput is an input type that accepts ClusterAttachmentWorkerConfigOverridesDataDiskArray and ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput values. You can construct a concrete instance of `ClusterAttachmentWorkerConfigOverridesDataDiskArrayInput` via:
ClusterAttachmentWorkerConfigOverridesDataDiskArray{ ClusterAttachmentWorkerConfigOverridesDataDiskArgs{...} }
type ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput ¶
type ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput struct{ *pulumi.OutputState }
func (ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput) ElementType ¶
func (ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput) ElementType() reflect.Type
func (ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput) ToClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput ¶
func (o ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput) ToClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput() ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput
func (ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput) ToClusterAttachmentWorkerConfigOverridesDataDiskArrayOutputWithContext ¶
func (o ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput) ToClusterAttachmentWorkerConfigOverridesDataDiskArrayOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput
type ClusterAttachmentWorkerConfigOverridesDataDiskInput ¶
type ClusterAttachmentWorkerConfigOverridesDataDiskInput interface { pulumi.Input ToClusterAttachmentWorkerConfigOverridesDataDiskOutput() ClusterAttachmentWorkerConfigOverridesDataDiskOutput ToClusterAttachmentWorkerConfigOverridesDataDiskOutputWithContext(context.Context) ClusterAttachmentWorkerConfigOverridesDataDiskOutput }
ClusterAttachmentWorkerConfigOverridesDataDiskInput is an input type that accepts ClusterAttachmentWorkerConfigOverridesDataDiskArgs and ClusterAttachmentWorkerConfigOverridesDataDiskOutput values. You can construct a concrete instance of `ClusterAttachmentWorkerConfigOverridesDataDiskInput` via:
ClusterAttachmentWorkerConfigOverridesDataDiskArgs{...}
type ClusterAttachmentWorkerConfigOverridesDataDiskOutput ¶
type ClusterAttachmentWorkerConfigOverridesDataDiskOutput struct{ *pulumi.OutputState }
func (ClusterAttachmentWorkerConfigOverridesDataDiskOutput) AutoFormatAndMount ¶
func (o ClusterAttachmentWorkerConfigOverridesDataDiskOutput) AutoFormatAndMount() pulumi.BoolPtrOutput
Indicate whether to auto format and mount or not. Default is `false`.
func (ClusterAttachmentWorkerConfigOverridesDataDiskOutput) DiskPartition ¶
func (o ClusterAttachmentWorkerConfigOverridesDataDiskOutput) DiskPartition() pulumi.StringPtrOutput
The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
func (ClusterAttachmentWorkerConfigOverridesDataDiskOutput) DiskSize ¶
func (o ClusterAttachmentWorkerConfigOverridesDataDiskOutput) DiskSize() pulumi.IntPtrOutput
Volume of disk in GB. Default is `0`.
func (ClusterAttachmentWorkerConfigOverridesDataDiskOutput) DiskType ¶
func (o ClusterAttachmentWorkerConfigOverridesDataDiskOutput) DiskType() pulumi.StringPtrOutput
Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD`.
func (ClusterAttachmentWorkerConfigOverridesDataDiskOutput) ElementType ¶
func (ClusterAttachmentWorkerConfigOverridesDataDiskOutput) ElementType() reflect.Type
func (ClusterAttachmentWorkerConfigOverridesDataDiskOutput) FileSystem ¶
func (o ClusterAttachmentWorkerConfigOverridesDataDiskOutput) FileSystem() pulumi.StringPtrOutput
File system, e.g. `ext3/ext4/xfs`.
func (ClusterAttachmentWorkerConfigOverridesDataDiskOutput) MountTarget ¶
func (o ClusterAttachmentWorkerConfigOverridesDataDiskOutput) MountTarget() pulumi.StringPtrOutput
Mount target.
func (ClusterAttachmentWorkerConfigOverridesDataDiskOutput) ToClusterAttachmentWorkerConfigOverridesDataDiskOutput ¶
func (o ClusterAttachmentWorkerConfigOverridesDataDiskOutput) ToClusterAttachmentWorkerConfigOverridesDataDiskOutput() ClusterAttachmentWorkerConfigOverridesDataDiskOutput
func (ClusterAttachmentWorkerConfigOverridesDataDiskOutput) ToClusterAttachmentWorkerConfigOverridesDataDiskOutputWithContext ¶
func (o ClusterAttachmentWorkerConfigOverridesDataDiskOutput) ToClusterAttachmentWorkerConfigOverridesDataDiskOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesDataDiskOutput
type ClusterAttachmentWorkerConfigOverridesGpuArgs ¶ added in v0.1.3
type ClusterAttachmentWorkerConfigOverridesGpuArgs struct { // CUDA version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA. Cuda map[string]interface{} `pulumi:"cuda"` // cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `docName`: Doc name of cuDNN; `devName`: Dev name of cuDNN. Cudnn map[string]interface{} `pulumi:"cudnn"` // Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address. CustomDriver map[string]interface{} `pulumi:"customDriver"` // GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA. Driver map[string]interface{} `pulumi:"driver"` // Whether to enable MIG. MigEnable *bool `pulumi:"migEnable"` }
type ClusterAttachmentWorkerConfigOverridesGpuArgsArgs ¶ added in v0.1.3
type ClusterAttachmentWorkerConfigOverridesGpuArgsArgs struct { // CUDA version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA. Cuda pulumi.MapInput `pulumi:"cuda"` // cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `docName`: Doc name of cuDNN; `devName`: Dev name of cuDNN. Cudnn pulumi.MapInput `pulumi:"cudnn"` // Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address. CustomDriver pulumi.MapInput `pulumi:"customDriver"` // GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA. Driver pulumi.MapInput `pulumi:"driver"` // Whether to enable MIG. MigEnable pulumi.BoolPtrInput `pulumi:"migEnable"` }
func (ClusterAttachmentWorkerConfigOverridesGpuArgsArgs) ElementType ¶ added in v0.1.3
func (ClusterAttachmentWorkerConfigOverridesGpuArgsArgs) ElementType() reflect.Type
func (ClusterAttachmentWorkerConfigOverridesGpuArgsArgs) ToClusterAttachmentWorkerConfigOverridesGpuArgsOutput ¶ added in v0.1.3
func (i ClusterAttachmentWorkerConfigOverridesGpuArgsArgs) ToClusterAttachmentWorkerConfigOverridesGpuArgsOutput() ClusterAttachmentWorkerConfigOverridesGpuArgsOutput
func (ClusterAttachmentWorkerConfigOverridesGpuArgsArgs) ToClusterAttachmentWorkerConfigOverridesGpuArgsOutputWithContext ¶ added in v0.1.3
func (i ClusterAttachmentWorkerConfigOverridesGpuArgsArgs) ToClusterAttachmentWorkerConfigOverridesGpuArgsOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesGpuArgsOutput
func (ClusterAttachmentWorkerConfigOverridesGpuArgsArgs) ToClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput ¶ added in v0.1.3
func (i ClusterAttachmentWorkerConfigOverridesGpuArgsArgs) ToClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput() ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput
func (ClusterAttachmentWorkerConfigOverridesGpuArgsArgs) ToClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutputWithContext ¶ added in v0.1.3
func (i ClusterAttachmentWorkerConfigOverridesGpuArgsArgs) ToClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput
type ClusterAttachmentWorkerConfigOverridesGpuArgsInput ¶ added in v0.1.3
type ClusterAttachmentWorkerConfigOverridesGpuArgsInput interface { pulumi.Input ToClusterAttachmentWorkerConfigOverridesGpuArgsOutput() ClusterAttachmentWorkerConfigOverridesGpuArgsOutput ToClusterAttachmentWorkerConfigOverridesGpuArgsOutputWithContext(context.Context) ClusterAttachmentWorkerConfigOverridesGpuArgsOutput }
ClusterAttachmentWorkerConfigOverridesGpuArgsInput is an input type that accepts ClusterAttachmentWorkerConfigOverridesGpuArgsArgs and ClusterAttachmentWorkerConfigOverridesGpuArgsOutput values. You can construct a concrete instance of `ClusterAttachmentWorkerConfigOverridesGpuArgsInput` via:
ClusterAttachmentWorkerConfigOverridesGpuArgsArgs{...}
type ClusterAttachmentWorkerConfigOverridesGpuArgsOutput ¶ added in v0.1.3
type ClusterAttachmentWorkerConfigOverridesGpuArgsOutput struct{ *pulumi.OutputState }
func (ClusterAttachmentWorkerConfigOverridesGpuArgsOutput) Cuda ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigOverridesGpuArgsOutput) Cuda() pulumi.MapOutput
CUDA version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
func (ClusterAttachmentWorkerConfigOverridesGpuArgsOutput) Cudnn ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigOverridesGpuArgsOutput) Cudnn() pulumi.MapOutput
cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `docName`: Doc name of cuDNN; `devName`: Dev name of cuDNN.
func (ClusterAttachmentWorkerConfigOverridesGpuArgsOutput) CustomDriver ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigOverridesGpuArgsOutput) CustomDriver() pulumi.MapOutput
Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address.
func (ClusterAttachmentWorkerConfigOverridesGpuArgsOutput) Driver ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigOverridesGpuArgsOutput) Driver() pulumi.MapOutput
GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
func (ClusterAttachmentWorkerConfigOverridesGpuArgsOutput) ElementType ¶ added in v0.1.3
func (ClusterAttachmentWorkerConfigOverridesGpuArgsOutput) ElementType() reflect.Type
func (ClusterAttachmentWorkerConfigOverridesGpuArgsOutput) MigEnable ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigOverridesGpuArgsOutput) MigEnable() pulumi.BoolPtrOutput
Whether to enable MIG.
func (ClusterAttachmentWorkerConfigOverridesGpuArgsOutput) ToClusterAttachmentWorkerConfigOverridesGpuArgsOutput ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigOverridesGpuArgsOutput) ToClusterAttachmentWorkerConfigOverridesGpuArgsOutput() ClusterAttachmentWorkerConfigOverridesGpuArgsOutput
func (ClusterAttachmentWorkerConfigOverridesGpuArgsOutput) ToClusterAttachmentWorkerConfigOverridesGpuArgsOutputWithContext ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigOverridesGpuArgsOutput) ToClusterAttachmentWorkerConfigOverridesGpuArgsOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesGpuArgsOutput
func (ClusterAttachmentWorkerConfigOverridesGpuArgsOutput) ToClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigOverridesGpuArgsOutput) ToClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput() ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput
func (ClusterAttachmentWorkerConfigOverridesGpuArgsOutput) ToClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutputWithContext ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigOverridesGpuArgsOutput) ToClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput
type ClusterAttachmentWorkerConfigOverridesGpuArgsPtrInput ¶ added in v0.1.3
type ClusterAttachmentWorkerConfigOverridesGpuArgsPtrInput interface { pulumi.Input ToClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput() ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput ToClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutputWithContext(context.Context) ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput }
ClusterAttachmentWorkerConfigOverridesGpuArgsPtrInput is an input type that accepts ClusterAttachmentWorkerConfigOverridesGpuArgsArgs, ClusterAttachmentWorkerConfigOverridesGpuArgsPtr and ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput values. You can construct a concrete instance of `ClusterAttachmentWorkerConfigOverridesGpuArgsPtrInput` via:
ClusterAttachmentWorkerConfigOverridesGpuArgsArgs{...} or: nil
func ClusterAttachmentWorkerConfigOverridesGpuArgsPtr ¶ added in v0.1.3
func ClusterAttachmentWorkerConfigOverridesGpuArgsPtr(v *ClusterAttachmentWorkerConfigOverridesGpuArgsArgs) ClusterAttachmentWorkerConfigOverridesGpuArgsPtrInput
type ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput ¶ added in v0.1.3
type ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput struct{ *pulumi.OutputState }
func (ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput) Cuda ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput) Cuda() pulumi.MapOutput
CUDA version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
func (ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput) Cudnn ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput) Cudnn() pulumi.MapOutput
cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `docName`: Doc name of cuDNN; `devName`: Dev name of cuDNN.
func (ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput) CustomDriver ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput) CustomDriver() pulumi.MapOutput
Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address.
func (ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput) Driver ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput) Driver() pulumi.MapOutput
GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
func (ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput) ElementType ¶ added in v0.1.3
func (ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput) ElementType() reflect.Type
func (ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput) MigEnable ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput) MigEnable() pulumi.BoolPtrOutput
Whether to enable MIG.
func (ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput) ToClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput) ToClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput() ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput
func (ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput) ToClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutputWithContext ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput) ToClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput
type ClusterAttachmentWorkerConfigOverridesInput ¶
type ClusterAttachmentWorkerConfigOverridesInput interface { pulumi.Input ToClusterAttachmentWorkerConfigOverridesOutput() ClusterAttachmentWorkerConfigOverridesOutput ToClusterAttachmentWorkerConfigOverridesOutputWithContext(context.Context) ClusterAttachmentWorkerConfigOverridesOutput }
ClusterAttachmentWorkerConfigOverridesInput is an input type that accepts ClusterAttachmentWorkerConfigOverridesArgs and ClusterAttachmentWorkerConfigOverridesOutput values. You can construct a concrete instance of `ClusterAttachmentWorkerConfigOverridesInput` via:
ClusterAttachmentWorkerConfigOverridesArgs{...}
type ClusterAttachmentWorkerConfigOverridesOutput ¶
type ClusterAttachmentWorkerConfigOverridesOutput struct{ *pulumi.OutputState }
func (ClusterAttachmentWorkerConfigOverridesOutput) DataDisks ¶
func (o ClusterAttachmentWorkerConfigOverridesOutput) DataDisks() ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput
Configurations of data disk.
func (ClusterAttachmentWorkerConfigOverridesOutput) DesiredPodNum ¶
func (o ClusterAttachmentWorkerConfigOverridesOutput) DesiredPodNum() pulumi.IntPtrOutput
Indicate to set desired pod number in node. valid when the cluster is podCIDR.
func (ClusterAttachmentWorkerConfigOverridesOutput) DockerGraphPath ¶
func (o ClusterAttachmentWorkerConfigOverridesOutput) DockerGraphPath() pulumi.StringPtrOutput
Docker graph path. Default is `/var/lib/docker`.
func (ClusterAttachmentWorkerConfigOverridesOutput) ElementType ¶
func (ClusterAttachmentWorkerConfigOverridesOutput) ElementType() reflect.Type
func (ClusterAttachmentWorkerConfigOverridesOutput) ExtraArgs ¶
func (o ClusterAttachmentWorkerConfigOverridesOutput) ExtraArgs() pulumi.StringArrayOutput
Custom parameter information related to the node. This is a white-list parameter.
func (ClusterAttachmentWorkerConfigOverridesOutput) GpuArgs ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigOverridesOutput) GpuArgs() ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput
GPU driver parameters.
func (ClusterAttachmentWorkerConfigOverridesOutput) IsSchedule ¶
func (o ClusterAttachmentWorkerConfigOverridesOutput) IsSchedule() pulumi.BoolPtrOutput
Indicate to schedule the adding node or not. Default is true.
func (ClusterAttachmentWorkerConfigOverridesOutput) MountTarget ¶
func (o ClusterAttachmentWorkerConfigOverridesOutput) MountTarget() pulumi.StringPtrOutput
Mount target. Default is not mounting.
func (ClusterAttachmentWorkerConfigOverridesOutput) ToClusterAttachmentWorkerConfigOverridesOutput ¶
func (o ClusterAttachmentWorkerConfigOverridesOutput) ToClusterAttachmentWorkerConfigOverridesOutput() ClusterAttachmentWorkerConfigOverridesOutput
func (ClusterAttachmentWorkerConfigOverridesOutput) ToClusterAttachmentWorkerConfigOverridesOutputWithContext ¶
func (o ClusterAttachmentWorkerConfigOverridesOutput) ToClusterAttachmentWorkerConfigOverridesOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesOutput
func (ClusterAttachmentWorkerConfigOverridesOutput) ToClusterAttachmentWorkerConfigOverridesPtrOutput ¶
func (o ClusterAttachmentWorkerConfigOverridesOutput) ToClusterAttachmentWorkerConfigOverridesPtrOutput() ClusterAttachmentWorkerConfigOverridesPtrOutput
func (ClusterAttachmentWorkerConfigOverridesOutput) ToClusterAttachmentWorkerConfigOverridesPtrOutputWithContext ¶
func (o ClusterAttachmentWorkerConfigOverridesOutput) ToClusterAttachmentWorkerConfigOverridesPtrOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesPtrOutput
func (ClusterAttachmentWorkerConfigOverridesOutput) UserData ¶
func (o ClusterAttachmentWorkerConfigOverridesOutput) UserData() pulumi.StringPtrOutput
Base64-encoded User Data text, the length limit is 16KB.
type ClusterAttachmentWorkerConfigOverridesPtrInput ¶
type ClusterAttachmentWorkerConfigOverridesPtrInput interface { pulumi.Input ToClusterAttachmentWorkerConfigOverridesPtrOutput() ClusterAttachmentWorkerConfigOverridesPtrOutput ToClusterAttachmentWorkerConfigOverridesPtrOutputWithContext(context.Context) ClusterAttachmentWorkerConfigOverridesPtrOutput }
ClusterAttachmentWorkerConfigOverridesPtrInput is an input type that accepts ClusterAttachmentWorkerConfigOverridesArgs, ClusterAttachmentWorkerConfigOverridesPtr and ClusterAttachmentWorkerConfigOverridesPtrOutput values. You can construct a concrete instance of `ClusterAttachmentWorkerConfigOverridesPtrInput` via:
ClusterAttachmentWorkerConfigOverridesArgs{...} or: nil
func ClusterAttachmentWorkerConfigOverridesPtr ¶
func ClusterAttachmentWorkerConfigOverridesPtr(v *ClusterAttachmentWorkerConfigOverridesArgs) ClusterAttachmentWorkerConfigOverridesPtrInput
type ClusterAttachmentWorkerConfigOverridesPtrOutput ¶
type ClusterAttachmentWorkerConfigOverridesPtrOutput struct{ *pulumi.OutputState }
func (ClusterAttachmentWorkerConfigOverridesPtrOutput) DataDisks ¶
func (o ClusterAttachmentWorkerConfigOverridesPtrOutput) DataDisks() ClusterAttachmentWorkerConfigOverridesDataDiskArrayOutput
Configurations of data disk.
func (ClusterAttachmentWorkerConfigOverridesPtrOutput) DesiredPodNum ¶
func (o ClusterAttachmentWorkerConfigOverridesPtrOutput) DesiredPodNum() pulumi.IntPtrOutput
Indicate to set desired pod number in node. valid when the cluster is podCIDR.
func (ClusterAttachmentWorkerConfigOverridesPtrOutput) DockerGraphPath ¶
func (o ClusterAttachmentWorkerConfigOverridesPtrOutput) DockerGraphPath() pulumi.StringPtrOutput
Docker graph path. Default is `/var/lib/docker`.
func (ClusterAttachmentWorkerConfigOverridesPtrOutput) ElementType ¶
func (ClusterAttachmentWorkerConfigOverridesPtrOutput) ElementType() reflect.Type
func (ClusterAttachmentWorkerConfigOverridesPtrOutput) ExtraArgs ¶
func (o ClusterAttachmentWorkerConfigOverridesPtrOutput) ExtraArgs() pulumi.StringArrayOutput
Custom parameter information related to the node. This is a white-list parameter.
func (ClusterAttachmentWorkerConfigOverridesPtrOutput) GpuArgs ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigOverridesPtrOutput) GpuArgs() ClusterAttachmentWorkerConfigOverridesGpuArgsPtrOutput
GPU driver parameters.
func (ClusterAttachmentWorkerConfigOverridesPtrOutput) IsSchedule ¶
func (o ClusterAttachmentWorkerConfigOverridesPtrOutput) IsSchedule() pulumi.BoolPtrOutput
Indicate to schedule the adding node or not. Default is true.
func (ClusterAttachmentWorkerConfigOverridesPtrOutput) MountTarget ¶
func (o ClusterAttachmentWorkerConfigOverridesPtrOutput) MountTarget() pulumi.StringPtrOutput
Mount target. Default is not mounting.
func (ClusterAttachmentWorkerConfigOverridesPtrOutput) ToClusterAttachmentWorkerConfigOverridesPtrOutput ¶
func (o ClusterAttachmentWorkerConfigOverridesPtrOutput) ToClusterAttachmentWorkerConfigOverridesPtrOutput() ClusterAttachmentWorkerConfigOverridesPtrOutput
func (ClusterAttachmentWorkerConfigOverridesPtrOutput) ToClusterAttachmentWorkerConfigOverridesPtrOutputWithContext ¶
func (o ClusterAttachmentWorkerConfigOverridesPtrOutput) ToClusterAttachmentWorkerConfigOverridesPtrOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigOverridesPtrOutput
func (ClusterAttachmentWorkerConfigOverridesPtrOutput) UserData ¶
func (o ClusterAttachmentWorkerConfigOverridesPtrOutput) UserData() pulumi.StringPtrOutput
Base64-encoded User Data text, the length limit is 16KB.
type ClusterAttachmentWorkerConfigPtrInput ¶
type ClusterAttachmentWorkerConfigPtrInput interface { pulumi.Input ToClusterAttachmentWorkerConfigPtrOutput() ClusterAttachmentWorkerConfigPtrOutput ToClusterAttachmentWorkerConfigPtrOutputWithContext(context.Context) ClusterAttachmentWorkerConfigPtrOutput }
ClusterAttachmentWorkerConfigPtrInput is an input type that accepts ClusterAttachmentWorkerConfigArgs, ClusterAttachmentWorkerConfigPtr and ClusterAttachmentWorkerConfigPtrOutput values. You can construct a concrete instance of `ClusterAttachmentWorkerConfigPtrInput` via:
ClusterAttachmentWorkerConfigArgs{...} or: nil
func ClusterAttachmentWorkerConfigPtr ¶
func ClusterAttachmentWorkerConfigPtr(v *ClusterAttachmentWorkerConfigArgs) ClusterAttachmentWorkerConfigPtrInput
type ClusterAttachmentWorkerConfigPtrOutput ¶
type ClusterAttachmentWorkerConfigPtrOutput struct{ *pulumi.OutputState }
func (ClusterAttachmentWorkerConfigPtrOutput) DataDisks ¶
func (o ClusterAttachmentWorkerConfigPtrOutput) DataDisks() ClusterAttachmentWorkerConfigDataDiskArrayOutput
Configurations of data disk.
func (ClusterAttachmentWorkerConfigPtrOutput) DesiredPodNum ¶
func (o ClusterAttachmentWorkerConfigPtrOutput) DesiredPodNum() pulumi.IntPtrOutput
Indicate to set desired pod number in node. valid when the cluster is podCIDR.
func (ClusterAttachmentWorkerConfigPtrOutput) DockerGraphPath ¶
func (o ClusterAttachmentWorkerConfigPtrOutput) DockerGraphPath() pulumi.StringPtrOutput
Docker graph path. Default is `/var/lib/docker`.
func (ClusterAttachmentWorkerConfigPtrOutput) ElementType ¶
func (ClusterAttachmentWorkerConfigPtrOutput) ElementType() reflect.Type
func (ClusterAttachmentWorkerConfigPtrOutput) ExtraArgs ¶
func (o ClusterAttachmentWorkerConfigPtrOutput) ExtraArgs() pulumi.StringArrayOutput
Custom parameter information related to the node. This is a white-list parameter.
func (ClusterAttachmentWorkerConfigPtrOutput) GpuArgs ¶ added in v0.1.3
func (o ClusterAttachmentWorkerConfigPtrOutput) GpuArgs() ClusterAttachmentWorkerConfigGpuArgsPtrOutput
GPU driver parameters.
func (ClusterAttachmentWorkerConfigPtrOutput) IsSchedule ¶
func (o ClusterAttachmentWorkerConfigPtrOutput) IsSchedule() pulumi.BoolPtrOutput
Indicate to schedule the adding node or not. Default is true.
func (ClusterAttachmentWorkerConfigPtrOutput) MountTarget ¶
func (o ClusterAttachmentWorkerConfigPtrOutput) MountTarget() pulumi.StringPtrOutput
Mount target. Default is not mounting.
func (ClusterAttachmentWorkerConfigPtrOutput) ToClusterAttachmentWorkerConfigPtrOutput ¶
func (o ClusterAttachmentWorkerConfigPtrOutput) ToClusterAttachmentWorkerConfigPtrOutput() ClusterAttachmentWorkerConfigPtrOutput
func (ClusterAttachmentWorkerConfigPtrOutput) ToClusterAttachmentWorkerConfigPtrOutputWithContext ¶
func (o ClusterAttachmentWorkerConfigPtrOutput) ToClusterAttachmentWorkerConfigPtrOutputWithContext(ctx context.Context) ClusterAttachmentWorkerConfigPtrOutput
func (ClusterAttachmentWorkerConfigPtrOutput) UserData ¶
func (o ClusterAttachmentWorkerConfigPtrOutput) UserData() pulumi.StringPtrOutput
Base64-encoded User Data text, the length limit is 16KB.
type ClusterAuthOptions ¶
type ClusterAuthOptions struct { // If set to `true`, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'. AutoCreateDiscoveryAnonymousAuth *bool `pulumi:"autoCreateDiscoveryAnonymousAuth"` // Specify service-account-issuer. If useTkeDefault is set to `true`, please do not set this field, it will be ignored anyway. Issuer *string `pulumi:"issuer"` // Specify service-account-jwks-uri. If useTkeDefault is set to `true`, please do not set this field, it will be ignored anyway. JwksUri *string `pulumi:"jwksUri"` // If set to `true`, the issuer and jwksUri will be generated automatically by tke, please do not set issuer and jwks_uri, and they will be ignored. UseTkeDefault *bool `pulumi:"useTkeDefault"` }
type ClusterAuthOptionsArgs ¶
type ClusterAuthOptionsArgs struct { // If set to `true`, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'. AutoCreateDiscoveryAnonymousAuth pulumi.BoolPtrInput `pulumi:"autoCreateDiscoveryAnonymousAuth"` // Specify service-account-issuer. If useTkeDefault is set to `true`, please do not set this field, it will be ignored anyway. Issuer pulumi.StringPtrInput `pulumi:"issuer"` // Specify service-account-jwks-uri. If useTkeDefault is set to `true`, please do not set this field, it will be ignored anyway. JwksUri pulumi.StringPtrInput `pulumi:"jwksUri"` // If set to `true`, the issuer and jwksUri will be generated automatically by tke, please do not set issuer and jwks_uri, and they will be ignored. UseTkeDefault pulumi.BoolPtrInput `pulumi:"useTkeDefault"` }
func (ClusterAuthOptionsArgs) ElementType ¶
func (ClusterAuthOptionsArgs) ElementType() reflect.Type
func (ClusterAuthOptionsArgs) ToClusterAuthOptionsOutput ¶
func (i ClusterAuthOptionsArgs) ToClusterAuthOptionsOutput() ClusterAuthOptionsOutput
func (ClusterAuthOptionsArgs) ToClusterAuthOptionsOutputWithContext ¶
func (i ClusterAuthOptionsArgs) ToClusterAuthOptionsOutputWithContext(ctx context.Context) ClusterAuthOptionsOutput
func (ClusterAuthOptionsArgs) ToClusterAuthOptionsPtrOutput ¶
func (i ClusterAuthOptionsArgs) ToClusterAuthOptionsPtrOutput() ClusterAuthOptionsPtrOutput
func (ClusterAuthOptionsArgs) ToClusterAuthOptionsPtrOutputWithContext ¶
func (i ClusterAuthOptionsArgs) ToClusterAuthOptionsPtrOutputWithContext(ctx context.Context) ClusterAuthOptionsPtrOutput
type ClusterAuthOptionsInput ¶
type ClusterAuthOptionsInput interface { pulumi.Input ToClusterAuthOptionsOutput() ClusterAuthOptionsOutput ToClusterAuthOptionsOutputWithContext(context.Context) ClusterAuthOptionsOutput }
ClusterAuthOptionsInput is an input type that accepts ClusterAuthOptionsArgs and ClusterAuthOptionsOutput values. You can construct a concrete instance of `ClusterAuthOptionsInput` via:
ClusterAuthOptionsArgs{...}
type ClusterAuthOptionsOutput ¶
type ClusterAuthOptionsOutput struct{ *pulumi.OutputState }
func (ClusterAuthOptionsOutput) AutoCreateDiscoveryAnonymousAuth ¶
func (o ClusterAuthOptionsOutput) AutoCreateDiscoveryAnonymousAuth() pulumi.BoolPtrOutput
If set to `true`, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'.
func (ClusterAuthOptionsOutput) ElementType ¶
func (ClusterAuthOptionsOutput) ElementType() reflect.Type
func (ClusterAuthOptionsOutput) Issuer ¶
func (o ClusterAuthOptionsOutput) Issuer() pulumi.StringPtrOutput
Specify service-account-issuer. If useTkeDefault is set to `true`, please do not set this field, it will be ignored anyway.
func (ClusterAuthOptionsOutput) JwksUri ¶
func (o ClusterAuthOptionsOutput) JwksUri() pulumi.StringPtrOutput
Specify service-account-jwks-uri. If useTkeDefault is set to `true`, please do not set this field, it will be ignored anyway.
func (ClusterAuthOptionsOutput) ToClusterAuthOptionsOutput ¶
func (o ClusterAuthOptionsOutput) ToClusterAuthOptionsOutput() ClusterAuthOptionsOutput
func (ClusterAuthOptionsOutput) ToClusterAuthOptionsOutputWithContext ¶
func (o ClusterAuthOptionsOutput) ToClusterAuthOptionsOutputWithContext(ctx context.Context) ClusterAuthOptionsOutput
func (ClusterAuthOptionsOutput) ToClusterAuthOptionsPtrOutput ¶
func (o ClusterAuthOptionsOutput) ToClusterAuthOptionsPtrOutput() ClusterAuthOptionsPtrOutput
func (ClusterAuthOptionsOutput) ToClusterAuthOptionsPtrOutputWithContext ¶
func (o ClusterAuthOptionsOutput) ToClusterAuthOptionsPtrOutputWithContext(ctx context.Context) ClusterAuthOptionsPtrOutput
func (ClusterAuthOptionsOutput) UseTkeDefault ¶ added in v0.1.3
func (o ClusterAuthOptionsOutput) UseTkeDefault() pulumi.BoolPtrOutput
If set to `true`, the issuer and jwksUri will be generated automatically by tke, please do not set issuer and jwks_uri, and they will be ignored.
type ClusterAuthOptionsPtrInput ¶
type ClusterAuthOptionsPtrInput interface { pulumi.Input ToClusterAuthOptionsPtrOutput() ClusterAuthOptionsPtrOutput ToClusterAuthOptionsPtrOutputWithContext(context.Context) ClusterAuthOptionsPtrOutput }
ClusterAuthOptionsPtrInput is an input type that accepts ClusterAuthOptionsArgs, ClusterAuthOptionsPtr and ClusterAuthOptionsPtrOutput values. You can construct a concrete instance of `ClusterAuthOptionsPtrInput` via:
ClusterAuthOptionsArgs{...} or: nil
func ClusterAuthOptionsPtr ¶
func ClusterAuthOptionsPtr(v *ClusterAuthOptionsArgs) ClusterAuthOptionsPtrInput
type ClusterAuthOptionsPtrOutput ¶
type ClusterAuthOptionsPtrOutput struct{ *pulumi.OutputState }
func (ClusterAuthOptionsPtrOutput) AutoCreateDiscoveryAnonymousAuth ¶
func (o ClusterAuthOptionsPtrOutput) AutoCreateDiscoveryAnonymousAuth() pulumi.BoolPtrOutput
If set to `true`, the rbac rule will be created automatically which allow anonymous user to access '/.well-known/openid-configuration' and '/openid/v1/jwks'.
func (ClusterAuthOptionsPtrOutput) Elem ¶
func (o ClusterAuthOptionsPtrOutput) Elem() ClusterAuthOptionsOutput
func (ClusterAuthOptionsPtrOutput) ElementType ¶
func (ClusterAuthOptionsPtrOutput) ElementType() reflect.Type
func (ClusterAuthOptionsPtrOutput) Issuer ¶
func (o ClusterAuthOptionsPtrOutput) Issuer() pulumi.StringPtrOutput
Specify service-account-issuer. If useTkeDefault is set to `true`, please do not set this field, it will be ignored anyway.
func (ClusterAuthOptionsPtrOutput) JwksUri ¶
func (o ClusterAuthOptionsPtrOutput) JwksUri() pulumi.StringPtrOutput
Specify service-account-jwks-uri. If useTkeDefault is set to `true`, please do not set this field, it will be ignored anyway.
func (ClusterAuthOptionsPtrOutput) ToClusterAuthOptionsPtrOutput ¶
func (o ClusterAuthOptionsPtrOutput) ToClusterAuthOptionsPtrOutput() ClusterAuthOptionsPtrOutput
func (ClusterAuthOptionsPtrOutput) ToClusterAuthOptionsPtrOutputWithContext ¶
func (o ClusterAuthOptionsPtrOutput) ToClusterAuthOptionsPtrOutputWithContext(ctx context.Context) ClusterAuthOptionsPtrOutput
func (ClusterAuthOptionsPtrOutput) UseTkeDefault ¶ added in v0.1.3
func (o ClusterAuthOptionsPtrOutput) UseTkeDefault() pulumi.BoolPtrOutput
If set to `true`, the issuer and jwksUri will be generated automatically by tke, please do not set issuer and jwks_uri, and they will be ignored.
type ClusterClusterAudit ¶
type ClusterClusterAudit struct { // when you want to close the cluster audit log or delete the cluster, you can use this parameter to determine whether the audit log set and topic created by default will be deleted. DeleteAuditLogAndTopic *bool `pulumi:"deleteAuditLogAndTopic"` // Specify weather the Cluster Audit enabled. NOTE: Enable Cluster Audit will also auto install Log Agent. Enabled bool `pulumi:"enabled"` // Specify id of existing CLS log set, or auto create a new set by leave it empty. LogSetId *string `pulumi:"logSetId"` // Specify id of existing CLS log topic, or auto create a new topic by leave it empty. TopicId *string `pulumi:"topicId"` }
type ClusterClusterAuditArgs ¶
type ClusterClusterAuditArgs struct { // when you want to close the cluster audit log or delete the cluster, you can use this parameter to determine whether the audit log set and topic created by default will be deleted. DeleteAuditLogAndTopic pulumi.BoolPtrInput `pulumi:"deleteAuditLogAndTopic"` // Specify weather the Cluster Audit enabled. NOTE: Enable Cluster Audit will also auto install Log Agent. Enabled pulumi.BoolInput `pulumi:"enabled"` // Specify id of existing CLS log set, or auto create a new set by leave it empty. LogSetId pulumi.StringPtrInput `pulumi:"logSetId"` // Specify id of existing CLS log topic, or auto create a new topic by leave it empty. TopicId pulumi.StringPtrInput `pulumi:"topicId"` }
func (ClusterClusterAuditArgs) ElementType ¶
func (ClusterClusterAuditArgs) ElementType() reflect.Type
func (ClusterClusterAuditArgs) ToClusterClusterAuditOutput ¶
func (i ClusterClusterAuditArgs) ToClusterClusterAuditOutput() ClusterClusterAuditOutput
func (ClusterClusterAuditArgs) ToClusterClusterAuditOutputWithContext ¶
func (i ClusterClusterAuditArgs) ToClusterClusterAuditOutputWithContext(ctx context.Context) ClusterClusterAuditOutput
func (ClusterClusterAuditArgs) ToClusterClusterAuditPtrOutput ¶
func (i ClusterClusterAuditArgs) ToClusterClusterAuditPtrOutput() ClusterClusterAuditPtrOutput
func (ClusterClusterAuditArgs) ToClusterClusterAuditPtrOutputWithContext ¶
func (i ClusterClusterAuditArgs) ToClusterClusterAuditPtrOutputWithContext(ctx context.Context) ClusterClusterAuditPtrOutput
type ClusterClusterAuditInput ¶
type ClusterClusterAuditInput interface { pulumi.Input ToClusterClusterAuditOutput() ClusterClusterAuditOutput ToClusterClusterAuditOutputWithContext(context.Context) ClusterClusterAuditOutput }
ClusterClusterAuditInput is an input type that accepts ClusterClusterAuditArgs and ClusterClusterAuditOutput values. You can construct a concrete instance of `ClusterClusterAuditInput` via:
ClusterClusterAuditArgs{...}
type ClusterClusterAuditOutput ¶
type ClusterClusterAuditOutput struct{ *pulumi.OutputState }
func (ClusterClusterAuditOutput) DeleteAuditLogAndTopic ¶ added in v0.1.3
func (o ClusterClusterAuditOutput) DeleteAuditLogAndTopic() pulumi.BoolPtrOutput
when you want to close the cluster audit log or delete the cluster, you can use this parameter to determine whether the audit log set and topic created by default will be deleted.
func (ClusterClusterAuditOutput) ElementType ¶
func (ClusterClusterAuditOutput) ElementType() reflect.Type
func (ClusterClusterAuditOutput) Enabled ¶
func (o ClusterClusterAuditOutput) Enabled() pulumi.BoolOutput
Specify weather the Cluster Audit enabled. NOTE: Enable Cluster Audit will also auto install Log Agent.
func (ClusterClusterAuditOutput) LogSetId ¶
func (o ClusterClusterAuditOutput) LogSetId() pulumi.StringPtrOutput
Specify id of existing CLS log set, or auto create a new set by leave it empty.
func (ClusterClusterAuditOutput) ToClusterClusterAuditOutput ¶
func (o ClusterClusterAuditOutput) ToClusterClusterAuditOutput() ClusterClusterAuditOutput
func (ClusterClusterAuditOutput) ToClusterClusterAuditOutputWithContext ¶
func (o ClusterClusterAuditOutput) ToClusterClusterAuditOutputWithContext(ctx context.Context) ClusterClusterAuditOutput
func (ClusterClusterAuditOutput) ToClusterClusterAuditPtrOutput ¶
func (o ClusterClusterAuditOutput) ToClusterClusterAuditPtrOutput() ClusterClusterAuditPtrOutput
func (ClusterClusterAuditOutput) ToClusterClusterAuditPtrOutputWithContext ¶
func (o ClusterClusterAuditOutput) ToClusterClusterAuditPtrOutputWithContext(ctx context.Context) ClusterClusterAuditPtrOutput
func (ClusterClusterAuditOutput) TopicId ¶
func (o ClusterClusterAuditOutput) TopicId() pulumi.StringPtrOutput
Specify id of existing CLS log topic, or auto create a new topic by leave it empty.
type ClusterClusterAuditPtrInput ¶
type ClusterClusterAuditPtrInput interface { pulumi.Input ToClusterClusterAuditPtrOutput() ClusterClusterAuditPtrOutput ToClusterClusterAuditPtrOutputWithContext(context.Context) ClusterClusterAuditPtrOutput }
ClusterClusterAuditPtrInput is an input type that accepts ClusterClusterAuditArgs, ClusterClusterAuditPtr and ClusterClusterAuditPtrOutput values. You can construct a concrete instance of `ClusterClusterAuditPtrInput` via:
ClusterClusterAuditArgs{...} or: nil
func ClusterClusterAuditPtr ¶
func ClusterClusterAuditPtr(v *ClusterClusterAuditArgs) ClusterClusterAuditPtrInput
type ClusterClusterAuditPtrOutput ¶
type ClusterClusterAuditPtrOutput struct{ *pulumi.OutputState }
func (ClusterClusterAuditPtrOutput) DeleteAuditLogAndTopic ¶ added in v0.1.3
func (o ClusterClusterAuditPtrOutput) DeleteAuditLogAndTopic() pulumi.BoolPtrOutput
when you want to close the cluster audit log or delete the cluster, you can use this parameter to determine whether the audit log set and topic created by default will be deleted.
func (ClusterClusterAuditPtrOutput) Elem ¶
func (o ClusterClusterAuditPtrOutput) Elem() ClusterClusterAuditOutput
func (ClusterClusterAuditPtrOutput) ElementType ¶
func (ClusterClusterAuditPtrOutput) ElementType() reflect.Type
func (ClusterClusterAuditPtrOutput) Enabled ¶
func (o ClusterClusterAuditPtrOutput) Enabled() pulumi.BoolPtrOutput
Specify weather the Cluster Audit enabled. NOTE: Enable Cluster Audit will also auto install Log Agent.
func (ClusterClusterAuditPtrOutput) LogSetId ¶
func (o ClusterClusterAuditPtrOutput) LogSetId() pulumi.StringPtrOutput
Specify id of existing CLS log set, or auto create a new set by leave it empty.
func (ClusterClusterAuditPtrOutput) ToClusterClusterAuditPtrOutput ¶
func (o ClusterClusterAuditPtrOutput) ToClusterClusterAuditPtrOutput() ClusterClusterAuditPtrOutput
func (ClusterClusterAuditPtrOutput) ToClusterClusterAuditPtrOutputWithContext ¶
func (o ClusterClusterAuditPtrOutput) ToClusterClusterAuditPtrOutputWithContext(ctx context.Context) ClusterClusterAuditPtrOutput
func (ClusterClusterAuditPtrOutput) TopicId ¶
func (o ClusterClusterAuditPtrOutput) TopicId() pulumi.StringPtrOutput
Specify id of existing CLS log topic, or auto create a new topic by leave it empty.
type ClusterClusterExtraArgs ¶
type ClusterClusterExtraArgs struct { // The customized parameters for kube-apiserver. KubeApiservers []string `pulumi:"kubeApiservers"` // The customized parameters for kube-controller-manager. KubeControllerManagers []string `pulumi:"kubeControllerManagers"` // The customized parameters for kube-scheduler. KubeSchedulers []string `pulumi:"kubeSchedulers"` }
type ClusterClusterExtraArgsArgs ¶
type ClusterClusterExtraArgsArgs struct { // The customized parameters for kube-apiserver. KubeApiservers pulumi.StringArrayInput `pulumi:"kubeApiservers"` // The customized parameters for kube-controller-manager. KubeControllerManagers pulumi.StringArrayInput `pulumi:"kubeControllerManagers"` // The customized parameters for kube-scheduler. KubeSchedulers pulumi.StringArrayInput `pulumi:"kubeSchedulers"` }
func (ClusterClusterExtraArgsArgs) ElementType ¶
func (ClusterClusterExtraArgsArgs) ElementType() reflect.Type
func (ClusterClusterExtraArgsArgs) ToClusterClusterExtraArgsOutput ¶
func (i ClusterClusterExtraArgsArgs) ToClusterClusterExtraArgsOutput() ClusterClusterExtraArgsOutput
func (ClusterClusterExtraArgsArgs) ToClusterClusterExtraArgsOutputWithContext ¶
func (i ClusterClusterExtraArgsArgs) ToClusterClusterExtraArgsOutputWithContext(ctx context.Context) ClusterClusterExtraArgsOutput
func (ClusterClusterExtraArgsArgs) ToClusterClusterExtraArgsPtrOutput ¶
func (i ClusterClusterExtraArgsArgs) ToClusterClusterExtraArgsPtrOutput() ClusterClusterExtraArgsPtrOutput
func (ClusterClusterExtraArgsArgs) ToClusterClusterExtraArgsPtrOutputWithContext ¶
func (i ClusterClusterExtraArgsArgs) ToClusterClusterExtraArgsPtrOutputWithContext(ctx context.Context) ClusterClusterExtraArgsPtrOutput
type ClusterClusterExtraArgsInput ¶
type ClusterClusterExtraArgsInput interface { pulumi.Input ToClusterClusterExtraArgsOutput() ClusterClusterExtraArgsOutput ToClusterClusterExtraArgsOutputWithContext(context.Context) ClusterClusterExtraArgsOutput }
ClusterClusterExtraArgsInput is an input type that accepts ClusterClusterExtraArgsArgs and ClusterClusterExtraArgsOutput values. You can construct a concrete instance of `ClusterClusterExtraArgsInput` via:
ClusterClusterExtraArgsArgs{...}
type ClusterClusterExtraArgsOutput ¶
type ClusterClusterExtraArgsOutput struct{ *pulumi.OutputState }
func (ClusterClusterExtraArgsOutput) ElementType ¶
func (ClusterClusterExtraArgsOutput) ElementType() reflect.Type
func (ClusterClusterExtraArgsOutput) KubeApiservers ¶
func (o ClusterClusterExtraArgsOutput) KubeApiservers() pulumi.StringArrayOutput
The customized parameters for kube-apiserver.
func (ClusterClusterExtraArgsOutput) KubeControllerManagers ¶
func (o ClusterClusterExtraArgsOutput) KubeControllerManagers() pulumi.StringArrayOutput
The customized parameters for kube-controller-manager.
func (ClusterClusterExtraArgsOutput) KubeSchedulers ¶
func (o ClusterClusterExtraArgsOutput) KubeSchedulers() pulumi.StringArrayOutput
The customized parameters for kube-scheduler.
func (ClusterClusterExtraArgsOutput) ToClusterClusterExtraArgsOutput ¶
func (o ClusterClusterExtraArgsOutput) ToClusterClusterExtraArgsOutput() ClusterClusterExtraArgsOutput
func (ClusterClusterExtraArgsOutput) ToClusterClusterExtraArgsOutputWithContext ¶
func (o ClusterClusterExtraArgsOutput) ToClusterClusterExtraArgsOutputWithContext(ctx context.Context) ClusterClusterExtraArgsOutput
func (ClusterClusterExtraArgsOutput) ToClusterClusterExtraArgsPtrOutput ¶
func (o ClusterClusterExtraArgsOutput) ToClusterClusterExtraArgsPtrOutput() ClusterClusterExtraArgsPtrOutput
func (ClusterClusterExtraArgsOutput) ToClusterClusterExtraArgsPtrOutputWithContext ¶
func (o ClusterClusterExtraArgsOutput) ToClusterClusterExtraArgsPtrOutputWithContext(ctx context.Context) ClusterClusterExtraArgsPtrOutput
type ClusterClusterExtraArgsPtrInput ¶
type ClusterClusterExtraArgsPtrInput interface { pulumi.Input ToClusterClusterExtraArgsPtrOutput() ClusterClusterExtraArgsPtrOutput ToClusterClusterExtraArgsPtrOutputWithContext(context.Context) ClusterClusterExtraArgsPtrOutput }
ClusterClusterExtraArgsPtrInput is an input type that accepts ClusterClusterExtraArgsArgs, ClusterClusterExtraArgsPtr and ClusterClusterExtraArgsPtrOutput values. You can construct a concrete instance of `ClusterClusterExtraArgsPtrInput` via:
ClusterClusterExtraArgsArgs{...} or: nil
func ClusterClusterExtraArgsPtr ¶
func ClusterClusterExtraArgsPtr(v *ClusterClusterExtraArgsArgs) ClusterClusterExtraArgsPtrInput
type ClusterClusterExtraArgsPtrOutput ¶
type ClusterClusterExtraArgsPtrOutput struct{ *pulumi.OutputState }
func (ClusterClusterExtraArgsPtrOutput) Elem ¶
func (o ClusterClusterExtraArgsPtrOutput) Elem() ClusterClusterExtraArgsOutput
func (ClusterClusterExtraArgsPtrOutput) ElementType ¶
func (ClusterClusterExtraArgsPtrOutput) ElementType() reflect.Type
func (ClusterClusterExtraArgsPtrOutput) KubeApiservers ¶
func (o ClusterClusterExtraArgsPtrOutput) KubeApiservers() pulumi.StringArrayOutput
The customized parameters for kube-apiserver.
func (ClusterClusterExtraArgsPtrOutput) KubeControllerManagers ¶
func (o ClusterClusterExtraArgsPtrOutput) KubeControllerManagers() pulumi.StringArrayOutput
The customized parameters for kube-controller-manager.
func (ClusterClusterExtraArgsPtrOutput) KubeSchedulers ¶
func (o ClusterClusterExtraArgsPtrOutput) KubeSchedulers() pulumi.StringArrayOutput
The customized parameters for kube-scheduler.
func (ClusterClusterExtraArgsPtrOutput) ToClusterClusterExtraArgsPtrOutput ¶
func (o ClusterClusterExtraArgsPtrOutput) ToClusterClusterExtraArgsPtrOutput() ClusterClusterExtraArgsPtrOutput
func (ClusterClusterExtraArgsPtrOutput) ToClusterClusterExtraArgsPtrOutputWithContext ¶
func (o ClusterClusterExtraArgsPtrOutput) ToClusterClusterExtraArgsPtrOutputWithContext(ctx context.Context) ClusterClusterExtraArgsPtrOutput
type ClusterEndpoint ¶
type ClusterEndpoint struct { pulumi.CustomResourceState // The certificate used for access. CertificationAuthority pulumi.StringOutput `pulumi:"certificationAuthority"` // Cluster deploy type of `MANAGED_CLUSTER` or `INDEPENDENT_CLUSTER`. ClusterDeployType pulumi.StringOutput `pulumi:"clusterDeployType"` // External network address to access. ClusterExternalEndpoint pulumi.StringOutput `pulumi:"clusterExternalEndpoint"` // Specify cluster ID. ClusterId pulumi.StringOutput `pulumi:"clusterId"` // Open internet access or not. ClusterInternet pulumi.BoolPtrOutput `pulumi:"clusterInternet"` // Domain name for cluster Kube-apiserver internet access. Be careful if you modify value of this parameter, the clusterExternalEndpoint value may be changed automatically too. ClusterInternetDomain pulumi.StringPtrOutput `pulumi:"clusterInternetDomain"` // Specify security group, NOTE: This argument must not be empty if cluster internet enabled. ClusterInternetSecurityGroup pulumi.StringPtrOutput `pulumi:"clusterInternetSecurityGroup"` // Open intranet access or not. ClusterIntranet pulumi.BoolPtrOutput `pulumi:"clusterIntranet"` // Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgwEndpoint value may be changed automatically too. ClusterIntranetDomain pulumi.StringPtrOutput `pulumi:"clusterIntranetDomain"` // Subnet id who can access this independent cluster, this field must and can only set when `clusterIntranet` is true. `clusterIntranetSubnetId` can not modify once be set. ClusterIntranetSubnetId pulumi.StringPtrOutput `pulumi:"clusterIntranetSubnetId"` // Domain name for access. Domain pulumi.StringOutput `pulumi:"domain"` // this argument was deprecated, use `clusterInternetSecurityGroup` instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field `clusterDeployType` is 'MANAGED_CLUSTER' and `clusterInternet` is true. `managedClusterInternetSecurityPolicies` can not delete or empty once be set. // // Deprecated: this argument was deprecated, use `cluster_internet_security_group` instead. ManagedClusterInternetSecurityPolicies pulumi.StringArrayOutput `pulumi:"managedClusterInternetSecurityPolicies"` // Password of account. Password pulumi.StringOutput `pulumi:"password"` // The Intranet address used for access. PgwEndpoint pulumi.StringOutput `pulumi:"pgwEndpoint"` // User name of account. UserName pulumi.StringOutput `pulumi:"userName"` }
Provide a resource to create a KubernetesClusterEndpoint. This resource allows you to create an empty cluster first without any workers. Only all attached node depends create complete, cluster endpoint will finally be enabled.
> **NOTE:** Recommend using `dependsOn` to make sure endpoint create after node pools or workers does.
## Import
KubernetesClusterEndpoint instance can be imported by passing cluster id, e.g.
```sh
$ pulumi import tencentcloud:Kubernetes/clusterEndpoint:ClusterEndpoint test cluster-id
```
func GetClusterEndpoint ¶
func GetClusterEndpoint(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ClusterEndpointState, opts ...pulumi.ResourceOption) (*ClusterEndpoint, error)
GetClusterEndpoint gets an existing ClusterEndpoint resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewClusterEndpoint ¶
func NewClusterEndpoint(ctx *pulumi.Context, name string, args *ClusterEndpointArgs, opts ...pulumi.ResourceOption) (*ClusterEndpoint, error)
NewClusterEndpoint registers a new resource with the given unique name, arguments, and options.
func (*ClusterEndpoint) ElementType ¶
func (*ClusterEndpoint) ElementType() reflect.Type
func (*ClusterEndpoint) ToClusterEndpointOutput ¶
func (i *ClusterEndpoint) ToClusterEndpointOutput() ClusterEndpointOutput
func (*ClusterEndpoint) ToClusterEndpointOutputWithContext ¶
func (i *ClusterEndpoint) ToClusterEndpointOutputWithContext(ctx context.Context) ClusterEndpointOutput
type ClusterEndpointArgs ¶
type ClusterEndpointArgs struct { // Specify cluster ID. ClusterId pulumi.StringInput // Open internet access or not. ClusterInternet pulumi.BoolPtrInput // Domain name for cluster Kube-apiserver internet access. Be careful if you modify value of this parameter, the clusterExternalEndpoint value may be changed automatically too. ClusterInternetDomain pulumi.StringPtrInput // Specify security group, NOTE: This argument must not be empty if cluster internet enabled. ClusterInternetSecurityGroup pulumi.StringPtrInput // Open intranet access or not. ClusterIntranet pulumi.BoolPtrInput // Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgwEndpoint value may be changed automatically too. ClusterIntranetDomain pulumi.StringPtrInput // Subnet id who can access this independent cluster, this field must and can only set when `clusterIntranet` is true. `clusterIntranetSubnetId` can not modify once be set. ClusterIntranetSubnetId pulumi.StringPtrInput // this argument was deprecated, use `clusterInternetSecurityGroup` instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field `clusterDeployType` is 'MANAGED_CLUSTER' and `clusterInternet` is true. `managedClusterInternetSecurityPolicies` can not delete or empty once be set. // // Deprecated: this argument was deprecated, use `cluster_internet_security_group` instead. ManagedClusterInternetSecurityPolicies pulumi.StringArrayInput }
The set of arguments for constructing a ClusterEndpoint resource.
func (ClusterEndpointArgs) ElementType ¶
func (ClusterEndpointArgs) ElementType() reflect.Type
type ClusterEndpointArray ¶
type ClusterEndpointArray []ClusterEndpointInput
func (ClusterEndpointArray) ElementType ¶
func (ClusterEndpointArray) ElementType() reflect.Type
func (ClusterEndpointArray) ToClusterEndpointArrayOutput ¶
func (i ClusterEndpointArray) ToClusterEndpointArrayOutput() ClusterEndpointArrayOutput
func (ClusterEndpointArray) ToClusterEndpointArrayOutputWithContext ¶
func (i ClusterEndpointArray) ToClusterEndpointArrayOutputWithContext(ctx context.Context) ClusterEndpointArrayOutput
type ClusterEndpointArrayInput ¶
type ClusterEndpointArrayInput interface { pulumi.Input ToClusterEndpointArrayOutput() ClusterEndpointArrayOutput ToClusterEndpointArrayOutputWithContext(context.Context) ClusterEndpointArrayOutput }
ClusterEndpointArrayInput is an input type that accepts ClusterEndpointArray and ClusterEndpointArrayOutput values. You can construct a concrete instance of `ClusterEndpointArrayInput` via:
ClusterEndpointArray{ ClusterEndpointArgs{...} }
type ClusterEndpointArrayOutput ¶
type ClusterEndpointArrayOutput struct{ *pulumi.OutputState }
func (ClusterEndpointArrayOutput) ElementType ¶
func (ClusterEndpointArrayOutput) ElementType() reflect.Type
func (ClusterEndpointArrayOutput) Index ¶
func (o ClusterEndpointArrayOutput) Index(i pulumi.IntInput) ClusterEndpointOutput
func (ClusterEndpointArrayOutput) ToClusterEndpointArrayOutput ¶
func (o ClusterEndpointArrayOutput) ToClusterEndpointArrayOutput() ClusterEndpointArrayOutput
func (ClusterEndpointArrayOutput) ToClusterEndpointArrayOutputWithContext ¶
func (o ClusterEndpointArrayOutput) ToClusterEndpointArrayOutputWithContext(ctx context.Context) ClusterEndpointArrayOutput
type ClusterEndpointInput ¶
type ClusterEndpointInput interface { pulumi.Input ToClusterEndpointOutput() ClusterEndpointOutput ToClusterEndpointOutputWithContext(ctx context.Context) ClusterEndpointOutput }
type ClusterEndpointMap ¶
type ClusterEndpointMap map[string]ClusterEndpointInput
func (ClusterEndpointMap) ElementType ¶
func (ClusterEndpointMap) ElementType() reflect.Type
func (ClusterEndpointMap) ToClusterEndpointMapOutput ¶
func (i ClusterEndpointMap) ToClusterEndpointMapOutput() ClusterEndpointMapOutput
func (ClusterEndpointMap) ToClusterEndpointMapOutputWithContext ¶
func (i ClusterEndpointMap) ToClusterEndpointMapOutputWithContext(ctx context.Context) ClusterEndpointMapOutput
type ClusterEndpointMapInput ¶
type ClusterEndpointMapInput interface { pulumi.Input ToClusterEndpointMapOutput() ClusterEndpointMapOutput ToClusterEndpointMapOutputWithContext(context.Context) ClusterEndpointMapOutput }
ClusterEndpointMapInput is an input type that accepts ClusterEndpointMap and ClusterEndpointMapOutput values. You can construct a concrete instance of `ClusterEndpointMapInput` via:
ClusterEndpointMap{ "key": ClusterEndpointArgs{...} }
type ClusterEndpointMapOutput ¶
type ClusterEndpointMapOutput struct{ *pulumi.OutputState }
func (ClusterEndpointMapOutput) ElementType ¶
func (ClusterEndpointMapOutput) ElementType() reflect.Type
func (ClusterEndpointMapOutput) MapIndex ¶
func (o ClusterEndpointMapOutput) MapIndex(k pulumi.StringInput) ClusterEndpointOutput
func (ClusterEndpointMapOutput) ToClusterEndpointMapOutput ¶
func (o ClusterEndpointMapOutput) ToClusterEndpointMapOutput() ClusterEndpointMapOutput
func (ClusterEndpointMapOutput) ToClusterEndpointMapOutputWithContext ¶
func (o ClusterEndpointMapOutput) ToClusterEndpointMapOutputWithContext(ctx context.Context) ClusterEndpointMapOutput
type ClusterEndpointOutput ¶
type ClusterEndpointOutput struct{ *pulumi.OutputState }
func (ClusterEndpointOutput) CertificationAuthority ¶
func (o ClusterEndpointOutput) CertificationAuthority() pulumi.StringOutput
The certificate used for access.
func (ClusterEndpointOutput) ClusterDeployType ¶
func (o ClusterEndpointOutput) ClusterDeployType() pulumi.StringOutput
Cluster deploy type of `MANAGED_CLUSTER` or `INDEPENDENT_CLUSTER`.
func (ClusterEndpointOutput) ClusterExternalEndpoint ¶
func (o ClusterEndpointOutput) ClusterExternalEndpoint() pulumi.StringOutput
External network address to access.
func (ClusterEndpointOutput) ClusterId ¶
func (o ClusterEndpointOutput) ClusterId() pulumi.StringOutput
Specify cluster ID.
func (ClusterEndpointOutput) ClusterInternet ¶
func (o ClusterEndpointOutput) ClusterInternet() pulumi.BoolPtrOutput
Open internet access or not.
func (ClusterEndpointOutput) ClusterInternetDomain ¶ added in v0.1.3
func (o ClusterEndpointOutput) ClusterInternetDomain() pulumi.StringPtrOutput
Domain name for cluster Kube-apiserver internet access. Be careful if you modify value of this parameter, the clusterExternalEndpoint value may be changed automatically too.
func (ClusterEndpointOutput) ClusterInternetSecurityGroup ¶
func (o ClusterEndpointOutput) ClusterInternetSecurityGroup() pulumi.StringPtrOutput
Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
func (ClusterEndpointOutput) ClusterIntranet ¶
func (o ClusterEndpointOutput) ClusterIntranet() pulumi.BoolPtrOutput
Open intranet access or not.
func (ClusterEndpointOutput) ClusterIntranetDomain ¶ added in v0.1.3
func (o ClusterEndpointOutput) ClusterIntranetDomain() pulumi.StringPtrOutput
Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgwEndpoint value may be changed automatically too.
func (ClusterEndpointOutput) ClusterIntranetSubnetId ¶
func (o ClusterEndpointOutput) ClusterIntranetSubnetId() pulumi.StringPtrOutput
Subnet id who can access this independent cluster, this field must and can only set when `clusterIntranet` is true. `clusterIntranetSubnetId` can not modify once be set.
func (ClusterEndpointOutput) Domain ¶
func (o ClusterEndpointOutput) Domain() pulumi.StringOutput
Domain name for access.
func (ClusterEndpointOutput) ElementType ¶
func (ClusterEndpointOutput) ElementType() reflect.Type
func (ClusterEndpointOutput) ManagedClusterInternetSecurityPolicies
deprecated
func (o ClusterEndpointOutput) ManagedClusterInternetSecurityPolicies() pulumi.StringArrayOutput
this argument was deprecated, use `clusterInternetSecurityGroup` instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field `clusterDeployType` is 'MANAGED_CLUSTER' and `clusterInternet` is true. `managedClusterInternetSecurityPolicies` can not delete or empty once be set.
Deprecated: this argument was deprecated, use `cluster_internet_security_group` instead.
func (ClusterEndpointOutput) Password ¶
func (o ClusterEndpointOutput) Password() pulumi.StringOutput
Password of account.
func (ClusterEndpointOutput) PgwEndpoint ¶
func (o ClusterEndpointOutput) PgwEndpoint() pulumi.StringOutput
The Intranet address used for access.
func (ClusterEndpointOutput) ToClusterEndpointOutput ¶
func (o ClusterEndpointOutput) ToClusterEndpointOutput() ClusterEndpointOutput
func (ClusterEndpointOutput) ToClusterEndpointOutputWithContext ¶
func (o ClusterEndpointOutput) ToClusterEndpointOutputWithContext(ctx context.Context) ClusterEndpointOutput
func (ClusterEndpointOutput) UserName ¶
func (o ClusterEndpointOutput) UserName() pulumi.StringOutput
User name of account.
type ClusterEndpointState ¶
type ClusterEndpointState struct { // The certificate used for access. CertificationAuthority pulumi.StringPtrInput // Cluster deploy type of `MANAGED_CLUSTER` or `INDEPENDENT_CLUSTER`. ClusterDeployType pulumi.StringPtrInput // External network address to access. ClusterExternalEndpoint pulumi.StringPtrInput // Specify cluster ID. ClusterId pulumi.StringPtrInput // Open internet access or not. ClusterInternet pulumi.BoolPtrInput // Domain name for cluster Kube-apiserver internet access. Be careful if you modify value of this parameter, the clusterExternalEndpoint value may be changed automatically too. ClusterInternetDomain pulumi.StringPtrInput // Specify security group, NOTE: This argument must not be empty if cluster internet enabled. ClusterInternetSecurityGroup pulumi.StringPtrInput // Open intranet access or not. ClusterIntranet pulumi.BoolPtrInput // Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgwEndpoint value may be changed automatically too. ClusterIntranetDomain pulumi.StringPtrInput // Subnet id who can access this independent cluster, this field must and can only set when `clusterIntranet` is true. `clusterIntranetSubnetId` can not modify once be set. ClusterIntranetSubnetId pulumi.StringPtrInput // Domain name for access. Domain pulumi.StringPtrInput // this argument was deprecated, use `clusterInternetSecurityGroup` instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field `clusterDeployType` is 'MANAGED_CLUSTER' and `clusterInternet` is true. `managedClusterInternetSecurityPolicies` can not delete or empty once be set. // // Deprecated: this argument was deprecated, use `cluster_internet_security_group` instead. ManagedClusterInternetSecurityPolicies pulumi.StringArrayInput // Password of account. Password pulumi.StringPtrInput // The Intranet address used for access. PgwEndpoint pulumi.StringPtrInput // User name of account. UserName pulumi.StringPtrInput }
func (ClusterEndpointState) ElementType ¶
func (ClusterEndpointState) ElementType() reflect.Type
type ClusterEventPersistence ¶
type ClusterEventPersistence struct { // when you want to close the cluster event persistence or delete the cluster, you can use this parameter to determine whether the event persistence log set and topic created by default will be deleted. DeleteEventLogAndTopic *bool `pulumi:"deleteEventLogAndTopic"` // Specify weather the Event Persistence enabled. Enabled bool `pulumi:"enabled"` // Specify id of existing CLS log set, or auto create a new set by leave it empty. LogSetId *string `pulumi:"logSetId"` // Specify id of existing CLS log topic, or auto create a new topic by leave it empty. TopicId *string `pulumi:"topicId"` }
type ClusterEventPersistenceArgs ¶
type ClusterEventPersistenceArgs struct { // when you want to close the cluster event persistence or delete the cluster, you can use this parameter to determine whether the event persistence log set and topic created by default will be deleted. DeleteEventLogAndTopic pulumi.BoolPtrInput `pulumi:"deleteEventLogAndTopic"` // Specify weather the Event Persistence enabled. Enabled pulumi.BoolInput `pulumi:"enabled"` // Specify id of existing CLS log set, or auto create a new set by leave it empty. LogSetId pulumi.StringPtrInput `pulumi:"logSetId"` // Specify id of existing CLS log topic, or auto create a new topic by leave it empty. TopicId pulumi.StringPtrInput `pulumi:"topicId"` }
func (ClusterEventPersistenceArgs) ElementType ¶
func (ClusterEventPersistenceArgs) ElementType() reflect.Type
func (ClusterEventPersistenceArgs) ToClusterEventPersistenceOutput ¶
func (i ClusterEventPersistenceArgs) ToClusterEventPersistenceOutput() ClusterEventPersistenceOutput
func (ClusterEventPersistenceArgs) ToClusterEventPersistenceOutputWithContext ¶
func (i ClusterEventPersistenceArgs) ToClusterEventPersistenceOutputWithContext(ctx context.Context) ClusterEventPersistenceOutput
func (ClusterEventPersistenceArgs) ToClusterEventPersistencePtrOutput ¶
func (i ClusterEventPersistenceArgs) ToClusterEventPersistencePtrOutput() ClusterEventPersistencePtrOutput
func (ClusterEventPersistenceArgs) ToClusterEventPersistencePtrOutputWithContext ¶
func (i ClusterEventPersistenceArgs) ToClusterEventPersistencePtrOutputWithContext(ctx context.Context) ClusterEventPersistencePtrOutput
type ClusterEventPersistenceInput ¶
type ClusterEventPersistenceInput interface { pulumi.Input ToClusterEventPersistenceOutput() ClusterEventPersistenceOutput ToClusterEventPersistenceOutputWithContext(context.Context) ClusterEventPersistenceOutput }
ClusterEventPersistenceInput is an input type that accepts ClusterEventPersistenceArgs and ClusterEventPersistenceOutput values. You can construct a concrete instance of `ClusterEventPersistenceInput` via:
ClusterEventPersistenceArgs{...}
type ClusterEventPersistenceOutput ¶
type ClusterEventPersistenceOutput struct{ *pulumi.OutputState }
func (ClusterEventPersistenceOutput) DeleteEventLogAndTopic ¶ added in v0.1.3
func (o ClusterEventPersistenceOutput) DeleteEventLogAndTopic() pulumi.BoolPtrOutput
when you want to close the cluster event persistence or delete the cluster, you can use this parameter to determine whether the event persistence log set and topic created by default will be deleted.
func (ClusterEventPersistenceOutput) ElementType ¶
func (ClusterEventPersistenceOutput) ElementType() reflect.Type
func (ClusterEventPersistenceOutput) Enabled ¶
func (o ClusterEventPersistenceOutput) Enabled() pulumi.BoolOutput
Specify weather the Event Persistence enabled.
func (ClusterEventPersistenceOutput) LogSetId ¶
func (o ClusterEventPersistenceOutput) LogSetId() pulumi.StringPtrOutput
Specify id of existing CLS log set, or auto create a new set by leave it empty.
func (ClusterEventPersistenceOutput) ToClusterEventPersistenceOutput ¶
func (o ClusterEventPersistenceOutput) ToClusterEventPersistenceOutput() ClusterEventPersistenceOutput
func (ClusterEventPersistenceOutput) ToClusterEventPersistenceOutputWithContext ¶
func (o ClusterEventPersistenceOutput) ToClusterEventPersistenceOutputWithContext(ctx context.Context) ClusterEventPersistenceOutput
func (ClusterEventPersistenceOutput) ToClusterEventPersistencePtrOutput ¶
func (o ClusterEventPersistenceOutput) ToClusterEventPersistencePtrOutput() ClusterEventPersistencePtrOutput
func (ClusterEventPersistenceOutput) ToClusterEventPersistencePtrOutputWithContext ¶
func (o ClusterEventPersistenceOutput) ToClusterEventPersistencePtrOutputWithContext(ctx context.Context) ClusterEventPersistencePtrOutput
func (ClusterEventPersistenceOutput) TopicId ¶
func (o ClusterEventPersistenceOutput) TopicId() pulumi.StringPtrOutput
Specify id of existing CLS log topic, or auto create a new topic by leave it empty.
type ClusterEventPersistencePtrInput ¶
type ClusterEventPersistencePtrInput interface { pulumi.Input ToClusterEventPersistencePtrOutput() ClusterEventPersistencePtrOutput ToClusterEventPersistencePtrOutputWithContext(context.Context) ClusterEventPersistencePtrOutput }
ClusterEventPersistencePtrInput is an input type that accepts ClusterEventPersistenceArgs, ClusterEventPersistencePtr and ClusterEventPersistencePtrOutput values. You can construct a concrete instance of `ClusterEventPersistencePtrInput` via:
ClusterEventPersistenceArgs{...} or: nil
func ClusterEventPersistencePtr ¶
func ClusterEventPersistencePtr(v *ClusterEventPersistenceArgs) ClusterEventPersistencePtrInput
type ClusterEventPersistencePtrOutput ¶
type ClusterEventPersistencePtrOutput struct{ *pulumi.OutputState }
func (ClusterEventPersistencePtrOutput) DeleteEventLogAndTopic ¶ added in v0.1.3
func (o ClusterEventPersistencePtrOutput) DeleteEventLogAndTopic() pulumi.BoolPtrOutput
when you want to close the cluster event persistence or delete the cluster, you can use this parameter to determine whether the event persistence log set and topic created by default will be deleted.
func (ClusterEventPersistencePtrOutput) Elem ¶
func (o ClusterEventPersistencePtrOutput) Elem() ClusterEventPersistenceOutput
func (ClusterEventPersistencePtrOutput) ElementType ¶
func (ClusterEventPersistencePtrOutput) ElementType() reflect.Type
func (ClusterEventPersistencePtrOutput) Enabled ¶
func (o ClusterEventPersistencePtrOutput) Enabled() pulumi.BoolPtrOutput
Specify weather the Event Persistence enabled.
func (ClusterEventPersistencePtrOutput) LogSetId ¶
func (o ClusterEventPersistencePtrOutput) LogSetId() pulumi.StringPtrOutput
Specify id of existing CLS log set, or auto create a new set by leave it empty.
func (ClusterEventPersistencePtrOutput) ToClusterEventPersistencePtrOutput ¶
func (o ClusterEventPersistencePtrOutput) ToClusterEventPersistencePtrOutput() ClusterEventPersistencePtrOutput
func (ClusterEventPersistencePtrOutput) ToClusterEventPersistencePtrOutputWithContext ¶
func (o ClusterEventPersistencePtrOutput) ToClusterEventPersistencePtrOutputWithContext(ctx context.Context) ClusterEventPersistencePtrOutput
func (ClusterEventPersistencePtrOutput) TopicId ¶
func (o ClusterEventPersistencePtrOutput) TopicId() pulumi.StringPtrOutput
Specify id of existing CLS log topic, or auto create a new topic by leave it empty.
type ClusterExistInstance ¶
type ClusterExistInstance struct { // Custom mode cluster, you can specify the number of pods for each node. corresponding to the existed_instances_para.instance_ids parameter. DesiredPodNumbers []int `pulumi:"desiredPodNumbers"` // Reinstallation parameters of an existing instance. InstancesPara *ClusterExistInstanceInstancesPara `pulumi:"instancesPara"` // Role of existed node. value:MASTER_ETCD or WORKER. NodeRole *string `pulumi:"nodeRole"` }
type ClusterExistInstanceArgs ¶
type ClusterExistInstanceArgs struct { // Custom mode cluster, you can specify the number of pods for each node. corresponding to the existed_instances_para.instance_ids parameter. DesiredPodNumbers pulumi.IntArrayInput `pulumi:"desiredPodNumbers"` // Reinstallation parameters of an existing instance. InstancesPara ClusterExistInstanceInstancesParaPtrInput `pulumi:"instancesPara"` // Role of existed node. value:MASTER_ETCD or WORKER. NodeRole pulumi.StringPtrInput `pulumi:"nodeRole"` }
func (ClusterExistInstanceArgs) ElementType ¶
func (ClusterExistInstanceArgs) ElementType() reflect.Type
func (ClusterExistInstanceArgs) ToClusterExistInstanceOutput ¶
func (i ClusterExistInstanceArgs) ToClusterExistInstanceOutput() ClusterExistInstanceOutput
func (ClusterExistInstanceArgs) ToClusterExistInstanceOutputWithContext ¶
func (i ClusterExistInstanceArgs) ToClusterExistInstanceOutputWithContext(ctx context.Context) ClusterExistInstanceOutput
type ClusterExistInstanceArray ¶
type ClusterExistInstanceArray []ClusterExistInstanceInput
func (ClusterExistInstanceArray) ElementType ¶
func (ClusterExistInstanceArray) ElementType() reflect.Type
func (ClusterExistInstanceArray) ToClusterExistInstanceArrayOutput ¶
func (i ClusterExistInstanceArray) ToClusterExistInstanceArrayOutput() ClusterExistInstanceArrayOutput
func (ClusterExistInstanceArray) ToClusterExistInstanceArrayOutputWithContext ¶
func (i ClusterExistInstanceArray) ToClusterExistInstanceArrayOutputWithContext(ctx context.Context) ClusterExistInstanceArrayOutput
type ClusterExistInstanceArrayInput ¶
type ClusterExistInstanceArrayInput interface { pulumi.Input ToClusterExistInstanceArrayOutput() ClusterExistInstanceArrayOutput ToClusterExistInstanceArrayOutputWithContext(context.Context) ClusterExistInstanceArrayOutput }
ClusterExistInstanceArrayInput is an input type that accepts ClusterExistInstanceArray and ClusterExistInstanceArrayOutput values. You can construct a concrete instance of `ClusterExistInstanceArrayInput` via:
ClusterExistInstanceArray{ ClusterExistInstanceArgs{...} }
type ClusterExistInstanceArrayOutput ¶
type ClusterExistInstanceArrayOutput struct{ *pulumi.OutputState }
func (ClusterExistInstanceArrayOutput) ElementType ¶
func (ClusterExistInstanceArrayOutput) ElementType() reflect.Type
func (ClusterExistInstanceArrayOutput) Index ¶
func (o ClusterExistInstanceArrayOutput) Index(i pulumi.IntInput) ClusterExistInstanceOutput
func (ClusterExistInstanceArrayOutput) ToClusterExistInstanceArrayOutput ¶
func (o ClusterExistInstanceArrayOutput) ToClusterExistInstanceArrayOutput() ClusterExistInstanceArrayOutput
func (ClusterExistInstanceArrayOutput) ToClusterExistInstanceArrayOutputWithContext ¶
func (o ClusterExistInstanceArrayOutput) ToClusterExistInstanceArrayOutputWithContext(ctx context.Context) ClusterExistInstanceArrayOutput
type ClusterExistInstanceInput ¶
type ClusterExistInstanceInput interface { pulumi.Input ToClusterExistInstanceOutput() ClusterExistInstanceOutput ToClusterExistInstanceOutputWithContext(context.Context) ClusterExistInstanceOutput }
ClusterExistInstanceInput is an input type that accepts ClusterExistInstanceArgs and ClusterExistInstanceOutput values. You can construct a concrete instance of `ClusterExistInstanceInput` via:
ClusterExistInstanceArgs{...}
type ClusterExistInstanceInstancesPara ¶
type ClusterExistInstanceInstancesPara struct { // Cluster IDs. InstanceIds []string `pulumi:"instanceIds"` }
type ClusterExistInstanceInstancesParaArgs ¶
type ClusterExistInstanceInstancesParaArgs struct { // Cluster IDs. InstanceIds pulumi.StringArrayInput `pulumi:"instanceIds"` }
func (ClusterExistInstanceInstancesParaArgs) ElementType ¶
func (ClusterExistInstanceInstancesParaArgs) ElementType() reflect.Type
func (ClusterExistInstanceInstancesParaArgs) ToClusterExistInstanceInstancesParaOutput ¶
func (i ClusterExistInstanceInstancesParaArgs) ToClusterExistInstanceInstancesParaOutput() ClusterExistInstanceInstancesParaOutput
func (ClusterExistInstanceInstancesParaArgs) ToClusterExistInstanceInstancesParaOutputWithContext ¶
func (i ClusterExistInstanceInstancesParaArgs) ToClusterExistInstanceInstancesParaOutputWithContext(ctx context.Context) ClusterExistInstanceInstancesParaOutput
func (ClusterExistInstanceInstancesParaArgs) ToClusterExistInstanceInstancesParaPtrOutput ¶
func (i ClusterExistInstanceInstancesParaArgs) ToClusterExistInstanceInstancesParaPtrOutput() ClusterExistInstanceInstancesParaPtrOutput
func (ClusterExistInstanceInstancesParaArgs) ToClusterExistInstanceInstancesParaPtrOutputWithContext ¶
func (i ClusterExistInstanceInstancesParaArgs) ToClusterExistInstanceInstancesParaPtrOutputWithContext(ctx context.Context) ClusterExistInstanceInstancesParaPtrOutput
type ClusterExistInstanceInstancesParaInput ¶
type ClusterExistInstanceInstancesParaInput interface { pulumi.Input ToClusterExistInstanceInstancesParaOutput() ClusterExistInstanceInstancesParaOutput ToClusterExistInstanceInstancesParaOutputWithContext(context.Context) ClusterExistInstanceInstancesParaOutput }
ClusterExistInstanceInstancesParaInput is an input type that accepts ClusterExistInstanceInstancesParaArgs and ClusterExistInstanceInstancesParaOutput values. You can construct a concrete instance of `ClusterExistInstanceInstancesParaInput` via:
ClusterExistInstanceInstancesParaArgs{...}
type ClusterExistInstanceInstancesParaOutput ¶
type ClusterExistInstanceInstancesParaOutput struct{ *pulumi.OutputState }
func (ClusterExistInstanceInstancesParaOutput) ElementType ¶
func (ClusterExistInstanceInstancesParaOutput) ElementType() reflect.Type
func (ClusterExistInstanceInstancesParaOutput) InstanceIds ¶
func (o ClusterExistInstanceInstancesParaOutput) InstanceIds() pulumi.StringArrayOutput
Cluster IDs.
func (ClusterExistInstanceInstancesParaOutput) ToClusterExistInstanceInstancesParaOutput ¶
func (o ClusterExistInstanceInstancesParaOutput) ToClusterExistInstanceInstancesParaOutput() ClusterExistInstanceInstancesParaOutput
func (ClusterExistInstanceInstancesParaOutput) ToClusterExistInstanceInstancesParaOutputWithContext ¶
func (o ClusterExistInstanceInstancesParaOutput) ToClusterExistInstanceInstancesParaOutputWithContext(ctx context.Context) ClusterExistInstanceInstancesParaOutput
func (ClusterExistInstanceInstancesParaOutput) ToClusterExistInstanceInstancesParaPtrOutput ¶
func (o ClusterExistInstanceInstancesParaOutput) ToClusterExistInstanceInstancesParaPtrOutput() ClusterExistInstanceInstancesParaPtrOutput
func (ClusterExistInstanceInstancesParaOutput) ToClusterExistInstanceInstancesParaPtrOutputWithContext ¶
func (o ClusterExistInstanceInstancesParaOutput) ToClusterExistInstanceInstancesParaPtrOutputWithContext(ctx context.Context) ClusterExistInstanceInstancesParaPtrOutput
type ClusterExistInstanceInstancesParaPtrInput ¶
type ClusterExistInstanceInstancesParaPtrInput interface { pulumi.Input ToClusterExistInstanceInstancesParaPtrOutput() ClusterExistInstanceInstancesParaPtrOutput ToClusterExistInstanceInstancesParaPtrOutputWithContext(context.Context) ClusterExistInstanceInstancesParaPtrOutput }
ClusterExistInstanceInstancesParaPtrInput is an input type that accepts ClusterExistInstanceInstancesParaArgs, ClusterExistInstanceInstancesParaPtr and ClusterExistInstanceInstancesParaPtrOutput values. You can construct a concrete instance of `ClusterExistInstanceInstancesParaPtrInput` via:
ClusterExistInstanceInstancesParaArgs{...} or: nil
func ClusterExistInstanceInstancesParaPtr ¶
func ClusterExistInstanceInstancesParaPtr(v *ClusterExistInstanceInstancesParaArgs) ClusterExistInstanceInstancesParaPtrInput
type ClusterExistInstanceInstancesParaPtrOutput ¶
type ClusterExistInstanceInstancesParaPtrOutput struct{ *pulumi.OutputState }
func (ClusterExistInstanceInstancesParaPtrOutput) ElementType ¶
func (ClusterExistInstanceInstancesParaPtrOutput) ElementType() reflect.Type
func (ClusterExistInstanceInstancesParaPtrOutput) InstanceIds ¶
func (o ClusterExistInstanceInstancesParaPtrOutput) InstanceIds() pulumi.StringArrayOutput
Cluster IDs.
func (ClusterExistInstanceInstancesParaPtrOutput) ToClusterExistInstanceInstancesParaPtrOutput ¶
func (o ClusterExistInstanceInstancesParaPtrOutput) ToClusterExistInstanceInstancesParaPtrOutput() ClusterExistInstanceInstancesParaPtrOutput
func (ClusterExistInstanceInstancesParaPtrOutput) ToClusterExistInstanceInstancesParaPtrOutputWithContext ¶
func (o ClusterExistInstanceInstancesParaPtrOutput) ToClusterExistInstanceInstancesParaPtrOutputWithContext(ctx context.Context) ClusterExistInstanceInstancesParaPtrOutput
type ClusterExistInstanceOutput ¶
type ClusterExistInstanceOutput struct{ *pulumi.OutputState }
func (ClusterExistInstanceOutput) DesiredPodNumbers ¶
func (o ClusterExistInstanceOutput) DesiredPodNumbers() pulumi.IntArrayOutput
Custom mode cluster, you can specify the number of pods for each node. corresponding to the existed_instances_para.instance_ids parameter.
func (ClusterExistInstanceOutput) ElementType ¶
func (ClusterExistInstanceOutput) ElementType() reflect.Type
func (ClusterExistInstanceOutput) InstancesPara ¶
func (o ClusterExistInstanceOutput) InstancesPara() ClusterExistInstanceInstancesParaPtrOutput
Reinstallation parameters of an existing instance.
func (ClusterExistInstanceOutput) NodeRole ¶
func (o ClusterExistInstanceOutput) NodeRole() pulumi.StringPtrOutput
Role of existed node. value:MASTER_ETCD or WORKER.
func (ClusterExistInstanceOutput) ToClusterExistInstanceOutput ¶
func (o ClusterExistInstanceOutput) ToClusterExistInstanceOutput() ClusterExistInstanceOutput
func (ClusterExistInstanceOutput) ToClusterExistInstanceOutputWithContext ¶
func (o ClusterExistInstanceOutput) ToClusterExistInstanceOutputWithContext(ctx context.Context) ClusterExistInstanceOutput
type ClusterExtensionAddon ¶
type ClusterExtensionAddonArgs ¶
type ClusterExtensionAddonArgs struct { // Add-on name. Name pulumi.StringInput `pulumi:"name"` // Parameter of the add-on resource object in JSON string format, please check the example at the top of page for reference. Param pulumi.StringInput `pulumi:"param"` }
func (ClusterExtensionAddonArgs) ElementType ¶
func (ClusterExtensionAddonArgs) ElementType() reflect.Type
func (ClusterExtensionAddonArgs) ToClusterExtensionAddonOutput ¶
func (i ClusterExtensionAddonArgs) ToClusterExtensionAddonOutput() ClusterExtensionAddonOutput
func (ClusterExtensionAddonArgs) ToClusterExtensionAddonOutputWithContext ¶
func (i ClusterExtensionAddonArgs) ToClusterExtensionAddonOutputWithContext(ctx context.Context) ClusterExtensionAddonOutput
type ClusterExtensionAddonArray ¶
type ClusterExtensionAddonArray []ClusterExtensionAddonInput
func (ClusterExtensionAddonArray) ElementType ¶
func (ClusterExtensionAddonArray) ElementType() reflect.Type
func (ClusterExtensionAddonArray) ToClusterExtensionAddonArrayOutput ¶
func (i ClusterExtensionAddonArray) ToClusterExtensionAddonArrayOutput() ClusterExtensionAddonArrayOutput
func (ClusterExtensionAddonArray) ToClusterExtensionAddonArrayOutputWithContext ¶
func (i ClusterExtensionAddonArray) ToClusterExtensionAddonArrayOutputWithContext(ctx context.Context) ClusterExtensionAddonArrayOutput
type ClusterExtensionAddonArrayInput ¶
type ClusterExtensionAddonArrayInput interface { pulumi.Input ToClusterExtensionAddonArrayOutput() ClusterExtensionAddonArrayOutput ToClusterExtensionAddonArrayOutputWithContext(context.Context) ClusterExtensionAddonArrayOutput }
ClusterExtensionAddonArrayInput is an input type that accepts ClusterExtensionAddonArray and ClusterExtensionAddonArrayOutput values. You can construct a concrete instance of `ClusterExtensionAddonArrayInput` via:
ClusterExtensionAddonArray{ ClusterExtensionAddonArgs{...} }
type ClusterExtensionAddonArrayOutput ¶
type ClusterExtensionAddonArrayOutput struct{ *pulumi.OutputState }
func (ClusterExtensionAddonArrayOutput) ElementType ¶
func (ClusterExtensionAddonArrayOutput) ElementType() reflect.Type
func (ClusterExtensionAddonArrayOutput) Index ¶
func (o ClusterExtensionAddonArrayOutput) Index(i pulumi.IntInput) ClusterExtensionAddonOutput
func (ClusterExtensionAddonArrayOutput) ToClusterExtensionAddonArrayOutput ¶
func (o ClusterExtensionAddonArrayOutput) ToClusterExtensionAddonArrayOutput() ClusterExtensionAddonArrayOutput
func (ClusterExtensionAddonArrayOutput) ToClusterExtensionAddonArrayOutputWithContext ¶
func (o ClusterExtensionAddonArrayOutput) ToClusterExtensionAddonArrayOutputWithContext(ctx context.Context) ClusterExtensionAddonArrayOutput
type ClusterExtensionAddonInput ¶
type ClusterExtensionAddonInput interface { pulumi.Input ToClusterExtensionAddonOutput() ClusterExtensionAddonOutput ToClusterExtensionAddonOutputWithContext(context.Context) ClusterExtensionAddonOutput }
ClusterExtensionAddonInput is an input type that accepts ClusterExtensionAddonArgs and ClusterExtensionAddonOutput values. You can construct a concrete instance of `ClusterExtensionAddonInput` via:
ClusterExtensionAddonArgs{...}
type ClusterExtensionAddonOutput ¶
type ClusterExtensionAddonOutput struct{ *pulumi.OutputState }
func (ClusterExtensionAddonOutput) ElementType ¶
func (ClusterExtensionAddonOutput) ElementType() reflect.Type
func (ClusterExtensionAddonOutput) Name ¶
func (o ClusterExtensionAddonOutput) Name() pulumi.StringOutput
Add-on name.
func (ClusterExtensionAddonOutput) Param ¶
func (o ClusterExtensionAddonOutput) Param() pulumi.StringOutput
Parameter of the add-on resource object in JSON string format, please check the example at the top of page for reference.
func (ClusterExtensionAddonOutput) ToClusterExtensionAddonOutput ¶
func (o ClusterExtensionAddonOutput) ToClusterExtensionAddonOutput() ClusterExtensionAddonOutput
func (ClusterExtensionAddonOutput) ToClusterExtensionAddonOutputWithContext ¶
func (o ClusterExtensionAddonOutput) ToClusterExtensionAddonOutputWithContext(ctx context.Context) ClusterExtensionAddonOutput
type ClusterInput ¶
type ClusterInput interface { pulumi.Input ToClusterOutput() ClusterOutput ToClusterOutputWithContext(ctx context.Context) ClusterOutput }
type ClusterLogAgent ¶
type ClusterLogAgentArgs ¶
type ClusterLogAgentArgs struct { // Whether the log agent enabled. Enabled pulumi.BoolInput `pulumi:"enabled"` // Kubelet root directory as the literal. KubeletRootDir pulumi.StringPtrInput `pulumi:"kubeletRootDir"` }
func (ClusterLogAgentArgs) ElementType ¶
func (ClusterLogAgentArgs) ElementType() reflect.Type
func (ClusterLogAgentArgs) ToClusterLogAgentOutput ¶
func (i ClusterLogAgentArgs) ToClusterLogAgentOutput() ClusterLogAgentOutput
func (ClusterLogAgentArgs) ToClusterLogAgentOutputWithContext ¶
func (i ClusterLogAgentArgs) ToClusterLogAgentOutputWithContext(ctx context.Context) ClusterLogAgentOutput
func (ClusterLogAgentArgs) ToClusterLogAgentPtrOutput ¶
func (i ClusterLogAgentArgs) ToClusterLogAgentPtrOutput() ClusterLogAgentPtrOutput
func (ClusterLogAgentArgs) ToClusterLogAgentPtrOutputWithContext ¶
func (i ClusterLogAgentArgs) ToClusterLogAgentPtrOutputWithContext(ctx context.Context) ClusterLogAgentPtrOutput
type ClusterLogAgentInput ¶
type ClusterLogAgentInput interface { pulumi.Input ToClusterLogAgentOutput() ClusterLogAgentOutput ToClusterLogAgentOutputWithContext(context.Context) ClusterLogAgentOutput }
ClusterLogAgentInput is an input type that accepts ClusterLogAgentArgs and ClusterLogAgentOutput values. You can construct a concrete instance of `ClusterLogAgentInput` via:
ClusterLogAgentArgs{...}
type ClusterLogAgentOutput ¶
type ClusterLogAgentOutput struct{ *pulumi.OutputState }
func (ClusterLogAgentOutput) ElementType ¶
func (ClusterLogAgentOutput) ElementType() reflect.Type
func (ClusterLogAgentOutput) Enabled ¶
func (o ClusterLogAgentOutput) Enabled() pulumi.BoolOutput
Whether the log agent enabled.
func (ClusterLogAgentOutput) KubeletRootDir ¶
func (o ClusterLogAgentOutput) KubeletRootDir() pulumi.StringPtrOutput
Kubelet root directory as the literal.
func (ClusterLogAgentOutput) ToClusterLogAgentOutput ¶
func (o ClusterLogAgentOutput) ToClusterLogAgentOutput() ClusterLogAgentOutput
func (ClusterLogAgentOutput) ToClusterLogAgentOutputWithContext ¶
func (o ClusterLogAgentOutput) ToClusterLogAgentOutputWithContext(ctx context.Context) ClusterLogAgentOutput
func (ClusterLogAgentOutput) ToClusterLogAgentPtrOutput ¶
func (o ClusterLogAgentOutput) ToClusterLogAgentPtrOutput() ClusterLogAgentPtrOutput
func (ClusterLogAgentOutput) ToClusterLogAgentPtrOutputWithContext ¶
func (o ClusterLogAgentOutput) ToClusterLogAgentPtrOutputWithContext(ctx context.Context) ClusterLogAgentPtrOutput
type ClusterLogAgentPtrInput ¶
type ClusterLogAgentPtrInput interface { pulumi.Input ToClusterLogAgentPtrOutput() ClusterLogAgentPtrOutput ToClusterLogAgentPtrOutputWithContext(context.Context) ClusterLogAgentPtrOutput }
ClusterLogAgentPtrInput is an input type that accepts ClusterLogAgentArgs, ClusterLogAgentPtr and ClusterLogAgentPtrOutput values. You can construct a concrete instance of `ClusterLogAgentPtrInput` via:
ClusterLogAgentArgs{...} or: nil
func ClusterLogAgentPtr ¶
func ClusterLogAgentPtr(v *ClusterLogAgentArgs) ClusterLogAgentPtrInput
type ClusterLogAgentPtrOutput ¶
type ClusterLogAgentPtrOutput struct{ *pulumi.OutputState }
func (ClusterLogAgentPtrOutput) Elem ¶
func (o ClusterLogAgentPtrOutput) Elem() ClusterLogAgentOutput
func (ClusterLogAgentPtrOutput) ElementType ¶
func (ClusterLogAgentPtrOutput) ElementType() reflect.Type
func (ClusterLogAgentPtrOutput) Enabled ¶
func (o ClusterLogAgentPtrOutput) Enabled() pulumi.BoolPtrOutput
Whether the log agent enabled.
func (ClusterLogAgentPtrOutput) KubeletRootDir ¶
func (o ClusterLogAgentPtrOutput) KubeletRootDir() pulumi.StringPtrOutput
Kubelet root directory as the literal.
func (ClusterLogAgentPtrOutput) ToClusterLogAgentPtrOutput ¶
func (o ClusterLogAgentPtrOutput) ToClusterLogAgentPtrOutput() ClusterLogAgentPtrOutput
func (ClusterLogAgentPtrOutput) ToClusterLogAgentPtrOutputWithContext ¶
func (o ClusterLogAgentPtrOutput) ToClusterLogAgentPtrOutputWithContext(ctx context.Context) ClusterLogAgentPtrOutput
type ClusterMap ¶
type ClusterMap map[string]ClusterInput
func (ClusterMap) ElementType ¶
func (ClusterMap) ElementType() reflect.Type
func (ClusterMap) ToClusterMapOutput ¶
func (i ClusterMap) ToClusterMapOutput() ClusterMapOutput
func (ClusterMap) ToClusterMapOutputWithContext ¶
func (i ClusterMap) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput
type ClusterMapInput ¶
type ClusterMapInput interface { pulumi.Input ToClusterMapOutput() ClusterMapOutput ToClusterMapOutputWithContext(context.Context) ClusterMapOutput }
ClusterMapInput is an input type that accepts ClusterMap and ClusterMapOutput values. You can construct a concrete instance of `ClusterMapInput` via:
ClusterMap{ "key": ClusterArgs{...} }
type ClusterMapOutput ¶
type ClusterMapOutput struct{ *pulumi.OutputState }
func (ClusterMapOutput) ElementType ¶
func (ClusterMapOutput) ElementType() reflect.Type
func (ClusterMapOutput) MapIndex ¶
func (o ClusterMapOutput) MapIndex(k pulumi.StringInput) ClusterOutput
func (ClusterMapOutput) ToClusterMapOutput ¶
func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput
func (ClusterMapOutput) ToClusterMapOutputWithContext ¶
func (o ClusterMapOutput) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput
type ClusterMasterConfig ¶
type ClusterMasterConfig struct { // Indicates which availability zone will be used. AvailabilityZone *string `pulumi:"availabilityZone"` // bandwidth package id. if user is standard user, then the bandwidthPackageId is needed, or default has bandwidth_package_id. BandwidthPackageId *string `pulumi:"bandwidthPackageId"` // CAM role name authorized to access. CamRoleName *string `pulumi:"camRoleName"` // Number of cvm. Count *int `pulumi:"count"` // Configurations of data disk. DataDisks []ClusterMasterConfigDataDisk `pulumi:"dataDisks"` // Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desiredPodNum` or none. DesiredPodNum *int `pulumi:"desiredPodNum"` // Disaster recover groups to which a CVM instance belongs. Only support maximum 1. DisasterRecoverGroupIds *string `pulumi:"disasterRecoverGroupIds"` // To specify whether to enable cloud monitor service. Default is TRUE. EnhancedMonitorService *bool `pulumi:"enhancedMonitorService"` // To specify whether to enable cloud security service. Default is TRUE. EnhancedSecurityService *bool `pulumi:"enhancedSecurityService"` // The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-). Hostname *string `pulumi:"hostname"` // Id of cvm hpc cluster. HpcClusterId *string `pulumi:"hpcClusterId"` // The valid image id, format of img-xxx. ImgId *string `pulumi:"imgId"` // The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired. InstanceChargeType *string `pulumi:"instanceChargeType"` // The tenancy (time unit is month) of the prepaid instance. NOTE: it only works when instanceChargeType is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`. InstanceChargeTypePrepaidPeriod *int `pulumi:"instanceChargeTypePrepaidPeriod"` // Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instanceChargeType is set to `PREPAID`. InstanceChargeTypePrepaidRenewFlag *string `pulumi:"instanceChargeTypePrepaidRenewFlag"` // Name of the CVMs. InstanceName *string `pulumi:"instanceName"` // Specified types of CVM instance. InstanceType string `pulumi:"instanceType"` // Charge types for network traffic. Available values include `TRAFFIC_POSTPAID_BY_HOUR`. InternetChargeType *string `pulumi:"internetChargeType"` // Max bandwidth of Internet access in Mbps. Default is 0. InternetMaxBandwidthOut *int `pulumi:"internetMaxBandwidthOut"` // ID list of keys, should be set if `password` not set. KeyIds *string `pulumi:"keyIds"` // Password to access, should be set if `keyIds` not set. Password *string `pulumi:"password"` // Specify whether to assign an Internet IP address. PublicIpAssigned *bool `pulumi:"publicIpAssigned"` // Security groups to which a CVM instance belongs. SecurityGroupIds []string `pulumi:"securityGroupIds"` // Private network ID. SubnetId string `pulumi:"subnetId"` // Volume of system disk in GB. Default is `50`. SystemDiskSize *int `pulumi:"systemDiskSize"` // System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated. SystemDiskType *string `pulumi:"systemDiskType"` // ase64-encoded User Data text, the length limit is 16KB. UserData *string `pulumi:"userData"` }
type ClusterMasterConfigArgs ¶
type ClusterMasterConfigArgs struct { // Indicates which availability zone will be used. AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"` // bandwidth package id. if user is standard user, then the bandwidthPackageId is needed, or default has bandwidth_package_id. BandwidthPackageId pulumi.StringPtrInput `pulumi:"bandwidthPackageId"` // CAM role name authorized to access. CamRoleName pulumi.StringPtrInput `pulumi:"camRoleName"` // Number of cvm. Count pulumi.IntPtrInput `pulumi:"count"` // Configurations of data disk. DataDisks ClusterMasterConfigDataDiskArrayInput `pulumi:"dataDisks"` // Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desiredPodNum` or none. DesiredPodNum pulumi.IntPtrInput `pulumi:"desiredPodNum"` // Disaster recover groups to which a CVM instance belongs. Only support maximum 1. DisasterRecoverGroupIds pulumi.StringPtrInput `pulumi:"disasterRecoverGroupIds"` // To specify whether to enable cloud monitor service. Default is TRUE. EnhancedMonitorService pulumi.BoolPtrInput `pulumi:"enhancedMonitorService"` // To specify whether to enable cloud security service. Default is TRUE. EnhancedSecurityService pulumi.BoolPtrInput `pulumi:"enhancedSecurityService"` // The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-). Hostname pulumi.StringPtrInput `pulumi:"hostname"` // Id of cvm hpc cluster. HpcClusterId pulumi.StringPtrInput `pulumi:"hpcClusterId"` // The valid image id, format of img-xxx. ImgId pulumi.StringPtrInput `pulumi:"imgId"` // The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired. InstanceChargeType pulumi.StringPtrInput `pulumi:"instanceChargeType"` // The tenancy (time unit is month) of the prepaid instance. NOTE: it only works when instanceChargeType is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`. InstanceChargeTypePrepaidPeriod pulumi.IntPtrInput `pulumi:"instanceChargeTypePrepaidPeriod"` // Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instanceChargeType is set to `PREPAID`. InstanceChargeTypePrepaidRenewFlag pulumi.StringPtrInput `pulumi:"instanceChargeTypePrepaidRenewFlag"` // Name of the CVMs. InstanceName pulumi.StringPtrInput `pulumi:"instanceName"` // Specified types of CVM instance. InstanceType pulumi.StringInput `pulumi:"instanceType"` // Charge types for network traffic. Available values include `TRAFFIC_POSTPAID_BY_HOUR`. InternetChargeType pulumi.StringPtrInput `pulumi:"internetChargeType"` // Max bandwidth of Internet access in Mbps. Default is 0. InternetMaxBandwidthOut pulumi.IntPtrInput `pulumi:"internetMaxBandwidthOut"` // ID list of keys, should be set if `password` not set. KeyIds pulumi.StringPtrInput `pulumi:"keyIds"` // Password to access, should be set if `keyIds` not set. Password pulumi.StringPtrInput `pulumi:"password"` // Specify whether to assign an Internet IP address. PublicIpAssigned pulumi.BoolPtrInput `pulumi:"publicIpAssigned"` // Security groups to which a CVM instance belongs. SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"` // Private network ID. SubnetId pulumi.StringInput `pulumi:"subnetId"` // Volume of system disk in GB. Default is `50`. SystemDiskSize pulumi.IntPtrInput `pulumi:"systemDiskSize"` // System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated. SystemDiskType pulumi.StringPtrInput `pulumi:"systemDiskType"` // ase64-encoded User Data text, the length limit is 16KB. UserData pulumi.StringPtrInput `pulumi:"userData"` }
func (ClusterMasterConfigArgs) ElementType ¶
func (ClusterMasterConfigArgs) ElementType() reflect.Type
func (ClusterMasterConfigArgs) ToClusterMasterConfigOutput ¶
func (i ClusterMasterConfigArgs) ToClusterMasterConfigOutput() ClusterMasterConfigOutput
func (ClusterMasterConfigArgs) ToClusterMasterConfigOutputWithContext ¶
func (i ClusterMasterConfigArgs) ToClusterMasterConfigOutputWithContext(ctx context.Context) ClusterMasterConfigOutput
type ClusterMasterConfigArray ¶
type ClusterMasterConfigArray []ClusterMasterConfigInput
func (ClusterMasterConfigArray) ElementType ¶
func (ClusterMasterConfigArray) ElementType() reflect.Type
func (ClusterMasterConfigArray) ToClusterMasterConfigArrayOutput ¶
func (i ClusterMasterConfigArray) ToClusterMasterConfigArrayOutput() ClusterMasterConfigArrayOutput
func (ClusterMasterConfigArray) ToClusterMasterConfigArrayOutputWithContext ¶
func (i ClusterMasterConfigArray) ToClusterMasterConfigArrayOutputWithContext(ctx context.Context) ClusterMasterConfigArrayOutput
type ClusterMasterConfigArrayInput ¶
type ClusterMasterConfigArrayInput interface { pulumi.Input ToClusterMasterConfigArrayOutput() ClusterMasterConfigArrayOutput ToClusterMasterConfigArrayOutputWithContext(context.Context) ClusterMasterConfigArrayOutput }
ClusterMasterConfigArrayInput is an input type that accepts ClusterMasterConfigArray and ClusterMasterConfigArrayOutput values. You can construct a concrete instance of `ClusterMasterConfigArrayInput` via:
ClusterMasterConfigArray{ ClusterMasterConfigArgs{...} }
type ClusterMasterConfigArrayOutput ¶
type ClusterMasterConfigArrayOutput struct{ *pulumi.OutputState }
func (ClusterMasterConfigArrayOutput) ElementType ¶
func (ClusterMasterConfigArrayOutput) ElementType() reflect.Type
func (ClusterMasterConfigArrayOutput) Index ¶
func (o ClusterMasterConfigArrayOutput) Index(i pulumi.IntInput) ClusterMasterConfigOutput
func (ClusterMasterConfigArrayOutput) ToClusterMasterConfigArrayOutput ¶
func (o ClusterMasterConfigArrayOutput) ToClusterMasterConfigArrayOutput() ClusterMasterConfigArrayOutput
func (ClusterMasterConfigArrayOutput) ToClusterMasterConfigArrayOutputWithContext ¶
func (o ClusterMasterConfigArrayOutput) ToClusterMasterConfigArrayOutputWithContext(ctx context.Context) ClusterMasterConfigArrayOutput
type ClusterMasterConfigDataDisk ¶
type ClusterMasterConfigDataDisk struct { // Indicate whether to auto format and mount or not. Default is `false`. AutoFormatAndMount *bool `pulumi:"autoFormatAndMount"` // The name of the device or partition to mount. DiskPartition *string `pulumi:"diskPartition"` // Volume of disk in GB. Default is `0`. DiskSize *int `pulumi:"diskSize"` // Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`. DiskType *string `pulumi:"diskType"` // Indicates whether to encrypt data disk, default `false`. Encrypt *bool `pulumi:"encrypt"` // File system, e.g. `ext3/ext4/xfs`. FileSystem *string `pulumi:"fileSystem"` // ID of the custom CMK in the format of UUID or `kms-abcd1234`. This parameter is used to encrypt cloud disks. KmsKeyId *string `pulumi:"kmsKeyId"` // Mount target. MountTarget *string `pulumi:"mountTarget"` // Data disk snapshot ID. SnapshotId *string `pulumi:"snapshotId"` }
type ClusterMasterConfigDataDiskArgs ¶
type ClusterMasterConfigDataDiskArgs struct { // Indicate whether to auto format and mount or not. Default is `false`. AutoFormatAndMount pulumi.BoolPtrInput `pulumi:"autoFormatAndMount"` // The name of the device or partition to mount. DiskPartition pulumi.StringPtrInput `pulumi:"diskPartition"` // Volume of disk in GB. Default is `0`. DiskSize pulumi.IntPtrInput `pulumi:"diskSize"` // Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`. DiskType pulumi.StringPtrInput `pulumi:"diskType"` // Indicates whether to encrypt data disk, default `false`. Encrypt pulumi.BoolPtrInput `pulumi:"encrypt"` // File system, e.g. `ext3/ext4/xfs`. FileSystem pulumi.StringPtrInput `pulumi:"fileSystem"` // ID of the custom CMK in the format of UUID or `kms-abcd1234`. This parameter is used to encrypt cloud disks. KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"` // Mount target. MountTarget pulumi.StringPtrInput `pulumi:"mountTarget"` // Data disk snapshot ID. SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"` }
func (ClusterMasterConfigDataDiskArgs) ElementType ¶
func (ClusterMasterConfigDataDiskArgs) ElementType() reflect.Type
func (ClusterMasterConfigDataDiskArgs) ToClusterMasterConfigDataDiskOutput ¶
func (i ClusterMasterConfigDataDiskArgs) ToClusterMasterConfigDataDiskOutput() ClusterMasterConfigDataDiskOutput
func (ClusterMasterConfigDataDiskArgs) ToClusterMasterConfigDataDiskOutputWithContext ¶
func (i ClusterMasterConfigDataDiskArgs) ToClusterMasterConfigDataDiskOutputWithContext(ctx context.Context) ClusterMasterConfigDataDiskOutput
type ClusterMasterConfigDataDiskArray ¶
type ClusterMasterConfigDataDiskArray []ClusterMasterConfigDataDiskInput
func (ClusterMasterConfigDataDiskArray) ElementType ¶
func (ClusterMasterConfigDataDiskArray) ElementType() reflect.Type
func (ClusterMasterConfigDataDiskArray) ToClusterMasterConfigDataDiskArrayOutput ¶
func (i ClusterMasterConfigDataDiskArray) ToClusterMasterConfigDataDiskArrayOutput() ClusterMasterConfigDataDiskArrayOutput
func (ClusterMasterConfigDataDiskArray) ToClusterMasterConfigDataDiskArrayOutputWithContext ¶
func (i ClusterMasterConfigDataDiskArray) ToClusterMasterConfigDataDiskArrayOutputWithContext(ctx context.Context) ClusterMasterConfigDataDiskArrayOutput
type ClusterMasterConfigDataDiskArrayInput ¶
type ClusterMasterConfigDataDiskArrayInput interface { pulumi.Input ToClusterMasterConfigDataDiskArrayOutput() ClusterMasterConfigDataDiskArrayOutput ToClusterMasterConfigDataDiskArrayOutputWithContext(context.Context) ClusterMasterConfigDataDiskArrayOutput }
ClusterMasterConfigDataDiskArrayInput is an input type that accepts ClusterMasterConfigDataDiskArray and ClusterMasterConfigDataDiskArrayOutput values. You can construct a concrete instance of `ClusterMasterConfigDataDiskArrayInput` via:
ClusterMasterConfigDataDiskArray{ ClusterMasterConfigDataDiskArgs{...} }
type ClusterMasterConfigDataDiskArrayOutput ¶
type ClusterMasterConfigDataDiskArrayOutput struct{ *pulumi.OutputState }
func (ClusterMasterConfigDataDiskArrayOutput) ElementType ¶
func (ClusterMasterConfigDataDiskArrayOutput) ElementType() reflect.Type
func (ClusterMasterConfigDataDiskArrayOutput) ToClusterMasterConfigDataDiskArrayOutput ¶
func (o ClusterMasterConfigDataDiskArrayOutput) ToClusterMasterConfigDataDiskArrayOutput() ClusterMasterConfigDataDiskArrayOutput
func (ClusterMasterConfigDataDiskArrayOutput) ToClusterMasterConfigDataDiskArrayOutputWithContext ¶
func (o ClusterMasterConfigDataDiskArrayOutput) ToClusterMasterConfigDataDiskArrayOutputWithContext(ctx context.Context) ClusterMasterConfigDataDiskArrayOutput
type ClusterMasterConfigDataDiskInput ¶
type ClusterMasterConfigDataDiskInput interface { pulumi.Input ToClusterMasterConfigDataDiskOutput() ClusterMasterConfigDataDiskOutput ToClusterMasterConfigDataDiskOutputWithContext(context.Context) ClusterMasterConfigDataDiskOutput }
ClusterMasterConfigDataDiskInput is an input type that accepts ClusterMasterConfigDataDiskArgs and ClusterMasterConfigDataDiskOutput values. You can construct a concrete instance of `ClusterMasterConfigDataDiskInput` via:
ClusterMasterConfigDataDiskArgs{...}
type ClusterMasterConfigDataDiskOutput ¶
type ClusterMasterConfigDataDiskOutput struct{ *pulumi.OutputState }
func (ClusterMasterConfigDataDiskOutput) AutoFormatAndMount ¶
func (o ClusterMasterConfigDataDiskOutput) AutoFormatAndMount() pulumi.BoolPtrOutput
Indicate whether to auto format and mount or not. Default is `false`.
func (ClusterMasterConfigDataDiskOutput) DiskPartition ¶
func (o ClusterMasterConfigDataDiskOutput) DiskPartition() pulumi.StringPtrOutput
The name of the device or partition to mount.
func (ClusterMasterConfigDataDiskOutput) DiskSize ¶
func (o ClusterMasterConfigDataDiskOutput) DiskSize() pulumi.IntPtrOutput
Volume of disk in GB. Default is `0`.
func (ClusterMasterConfigDataDiskOutput) DiskType ¶
func (o ClusterMasterConfigDataDiskOutput) DiskType() pulumi.StringPtrOutput
Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.
func (ClusterMasterConfigDataDiskOutput) ElementType ¶
func (ClusterMasterConfigDataDiskOutput) ElementType() reflect.Type
func (ClusterMasterConfigDataDiskOutput) Encrypt ¶
func (o ClusterMasterConfigDataDiskOutput) Encrypt() pulumi.BoolPtrOutput
Indicates whether to encrypt data disk, default `false`.
func (ClusterMasterConfigDataDiskOutput) FileSystem ¶
func (o ClusterMasterConfigDataDiskOutput) FileSystem() pulumi.StringPtrOutput
File system, e.g. `ext3/ext4/xfs`.
func (ClusterMasterConfigDataDiskOutput) KmsKeyId ¶
func (o ClusterMasterConfigDataDiskOutput) KmsKeyId() pulumi.StringPtrOutput
ID of the custom CMK in the format of UUID or `kms-abcd1234`. This parameter is used to encrypt cloud disks.
func (ClusterMasterConfigDataDiskOutput) MountTarget ¶
func (o ClusterMasterConfigDataDiskOutput) MountTarget() pulumi.StringPtrOutput
Mount target.
func (ClusterMasterConfigDataDiskOutput) SnapshotId ¶
func (o ClusterMasterConfigDataDiskOutput) SnapshotId() pulumi.StringPtrOutput
Data disk snapshot ID.
func (ClusterMasterConfigDataDiskOutput) ToClusterMasterConfigDataDiskOutput ¶
func (o ClusterMasterConfigDataDiskOutput) ToClusterMasterConfigDataDiskOutput() ClusterMasterConfigDataDiskOutput
func (ClusterMasterConfigDataDiskOutput) ToClusterMasterConfigDataDiskOutputWithContext ¶
func (o ClusterMasterConfigDataDiskOutput) ToClusterMasterConfigDataDiskOutputWithContext(ctx context.Context) ClusterMasterConfigDataDiskOutput
type ClusterMasterConfigInput ¶
type ClusterMasterConfigInput interface { pulumi.Input ToClusterMasterConfigOutput() ClusterMasterConfigOutput ToClusterMasterConfigOutputWithContext(context.Context) ClusterMasterConfigOutput }
ClusterMasterConfigInput is an input type that accepts ClusterMasterConfigArgs and ClusterMasterConfigOutput values. You can construct a concrete instance of `ClusterMasterConfigInput` via:
ClusterMasterConfigArgs{...}
type ClusterMasterConfigOutput ¶
type ClusterMasterConfigOutput struct{ *pulumi.OutputState }
func (ClusterMasterConfigOutput) AvailabilityZone ¶
func (o ClusterMasterConfigOutput) AvailabilityZone() pulumi.StringPtrOutput
Indicates which availability zone will be used.
func (ClusterMasterConfigOutput) BandwidthPackageId ¶
func (o ClusterMasterConfigOutput) BandwidthPackageId() pulumi.StringPtrOutput
bandwidth package id. if user is standard user, then the bandwidthPackageId is needed, or default has bandwidth_package_id.
func (ClusterMasterConfigOutput) CamRoleName ¶
func (o ClusterMasterConfigOutput) CamRoleName() pulumi.StringPtrOutput
CAM role name authorized to access.
func (ClusterMasterConfigOutput) Count ¶
func (o ClusterMasterConfigOutput) Count() pulumi.IntPtrOutput
Number of cvm.
func (ClusterMasterConfigOutput) DataDisks ¶
func (o ClusterMasterConfigOutput) DataDisks() ClusterMasterConfigDataDiskArrayOutput
Configurations of data disk.
func (ClusterMasterConfigOutput) DesiredPodNum ¶
func (o ClusterMasterConfigOutput) DesiredPodNum() pulumi.IntPtrOutput
Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desiredPodNum` or none.
func (ClusterMasterConfigOutput) DisasterRecoverGroupIds ¶
func (o ClusterMasterConfigOutput) DisasterRecoverGroupIds() pulumi.StringPtrOutput
Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
func (ClusterMasterConfigOutput) ElementType ¶
func (ClusterMasterConfigOutput) ElementType() reflect.Type
func (ClusterMasterConfigOutput) EnhancedMonitorService ¶
func (o ClusterMasterConfigOutput) EnhancedMonitorService() pulumi.BoolPtrOutput
To specify whether to enable cloud monitor service. Default is TRUE.
func (ClusterMasterConfigOutput) EnhancedSecurityService ¶
func (o ClusterMasterConfigOutput) EnhancedSecurityService() pulumi.BoolPtrOutput
To specify whether to enable cloud security service. Default is TRUE.
func (ClusterMasterConfigOutput) Hostname ¶
func (o ClusterMasterConfigOutput) Hostname() pulumi.StringPtrOutput
The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
func (ClusterMasterConfigOutput) HpcClusterId ¶ added in v0.1.3
func (o ClusterMasterConfigOutput) HpcClusterId() pulumi.StringPtrOutput
Id of cvm hpc cluster.
func (ClusterMasterConfigOutput) ImgId ¶
func (o ClusterMasterConfigOutput) ImgId() pulumi.StringPtrOutput
The valid image id, format of img-xxx.
func (ClusterMasterConfigOutput) InstanceChargeType ¶
func (o ClusterMasterConfigOutput) InstanceChargeType() pulumi.StringPtrOutput
The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired.
func (ClusterMasterConfigOutput) InstanceChargeTypePrepaidPeriod ¶
func (o ClusterMasterConfigOutput) InstanceChargeTypePrepaidPeriod() pulumi.IntPtrOutput
The tenancy (time unit is month) of the prepaid instance. NOTE: it only works when instanceChargeType is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`.
func (ClusterMasterConfigOutput) InstanceChargeTypePrepaidRenewFlag ¶
func (o ClusterMasterConfigOutput) InstanceChargeTypePrepaidRenewFlag() pulumi.StringPtrOutput
Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instanceChargeType is set to `PREPAID`.
func (ClusterMasterConfigOutput) InstanceName ¶
func (o ClusterMasterConfigOutput) InstanceName() pulumi.StringPtrOutput
Name of the CVMs.
func (ClusterMasterConfigOutput) InstanceType ¶
func (o ClusterMasterConfigOutput) InstanceType() pulumi.StringOutput
Specified types of CVM instance.
func (ClusterMasterConfigOutput) InternetChargeType ¶
func (o ClusterMasterConfigOutput) InternetChargeType() pulumi.StringPtrOutput
Charge types for network traffic. Available values include `TRAFFIC_POSTPAID_BY_HOUR`.
func (ClusterMasterConfigOutput) InternetMaxBandwidthOut ¶
func (o ClusterMasterConfigOutput) InternetMaxBandwidthOut() pulumi.IntPtrOutput
Max bandwidth of Internet access in Mbps. Default is 0.
func (ClusterMasterConfigOutput) KeyIds ¶
func (o ClusterMasterConfigOutput) KeyIds() pulumi.StringPtrOutput
ID list of keys, should be set if `password` not set.
func (ClusterMasterConfigOutput) Password ¶
func (o ClusterMasterConfigOutput) Password() pulumi.StringPtrOutput
Password to access, should be set if `keyIds` not set.
func (ClusterMasterConfigOutput) PublicIpAssigned ¶
func (o ClusterMasterConfigOutput) PublicIpAssigned() pulumi.BoolPtrOutput
Specify whether to assign an Internet IP address.
func (ClusterMasterConfigOutput) SecurityGroupIds ¶
func (o ClusterMasterConfigOutput) SecurityGroupIds() pulumi.StringArrayOutput
Security groups to which a CVM instance belongs.
func (ClusterMasterConfigOutput) SubnetId ¶
func (o ClusterMasterConfigOutput) SubnetId() pulumi.StringOutput
Private network ID.
func (ClusterMasterConfigOutput) SystemDiskSize ¶
func (o ClusterMasterConfigOutput) SystemDiskSize() pulumi.IntPtrOutput
Volume of system disk in GB. Default is `50`.
func (ClusterMasterConfigOutput) SystemDiskType ¶
func (o ClusterMasterConfigOutput) SystemDiskType() pulumi.StringPtrOutput
System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated.
func (ClusterMasterConfigOutput) ToClusterMasterConfigOutput ¶
func (o ClusterMasterConfigOutput) ToClusterMasterConfigOutput() ClusterMasterConfigOutput
func (ClusterMasterConfigOutput) ToClusterMasterConfigOutputWithContext ¶
func (o ClusterMasterConfigOutput) ToClusterMasterConfigOutputWithContext(ctx context.Context) ClusterMasterConfigOutput
func (ClusterMasterConfigOutput) UserData ¶
func (o ClusterMasterConfigOutput) UserData() pulumi.StringPtrOutput
ase64-encoded User Data text, the length limit is 16KB.
type ClusterNodePoolGlobalConfig ¶
type ClusterNodePoolGlobalConfig struct { // Indicates which scale-out method will be used when there are multiple scaling groups. Valid values: `random` - select a random scaling group, `most-pods` - select the scaling group that can schedule the most pods, `least-waste` - select the scaling group that can ensure the fewest remaining resources after Pod scheduling. Expander *string `pulumi:"expander"` // Whether to ignore DaemonSet pods by default when calculating resource usage. IgnoreDaemonSetsUtilization *bool `pulumi:"ignoreDaemonSetsUtilization"` // Indicates whether to enable scale-in. IsScaleInEnabled *bool `pulumi:"isScaleInEnabled"` // Max concurrent scale-in volume. MaxConcurrentScaleIn *int `pulumi:"maxConcurrentScaleIn"` // Number of minutes after cluster scale-out when the system starts judging whether to perform scale-in. ScaleInDelay *int `pulumi:"scaleInDelay"` // Number of consecutive minutes of idleness after which the node is subject to scale-in. ScaleInUnneededTime *int `pulumi:"scaleInUnneededTime"` // Percentage of node resource usage below which the node is considered to be idle. ScaleInUtilizationThreshold *int `pulumi:"scaleInUtilizationThreshold"` // During scale-in, ignore nodes with local storage pods. SkipNodesWithLocalStorage *bool `pulumi:"skipNodesWithLocalStorage"` // During scale-in, ignore nodes with pods in the kube-system namespace that are not managed by DaemonSet. SkipNodesWithSystemPods *bool `pulumi:"skipNodesWithSystemPods"` }
type ClusterNodePoolGlobalConfigArgs ¶
type ClusterNodePoolGlobalConfigArgs struct { // Indicates which scale-out method will be used when there are multiple scaling groups. Valid values: `random` - select a random scaling group, `most-pods` - select the scaling group that can schedule the most pods, `least-waste` - select the scaling group that can ensure the fewest remaining resources after Pod scheduling. Expander pulumi.StringPtrInput `pulumi:"expander"` // Whether to ignore DaemonSet pods by default when calculating resource usage. IgnoreDaemonSetsUtilization pulumi.BoolPtrInput `pulumi:"ignoreDaemonSetsUtilization"` // Indicates whether to enable scale-in. IsScaleInEnabled pulumi.BoolPtrInput `pulumi:"isScaleInEnabled"` // Max concurrent scale-in volume. MaxConcurrentScaleIn pulumi.IntPtrInput `pulumi:"maxConcurrentScaleIn"` // Number of minutes after cluster scale-out when the system starts judging whether to perform scale-in. ScaleInDelay pulumi.IntPtrInput `pulumi:"scaleInDelay"` // Number of consecutive minutes of idleness after which the node is subject to scale-in. ScaleInUnneededTime pulumi.IntPtrInput `pulumi:"scaleInUnneededTime"` // Percentage of node resource usage below which the node is considered to be idle. ScaleInUtilizationThreshold pulumi.IntPtrInput `pulumi:"scaleInUtilizationThreshold"` // During scale-in, ignore nodes with local storage pods. SkipNodesWithLocalStorage pulumi.BoolPtrInput `pulumi:"skipNodesWithLocalStorage"` // During scale-in, ignore nodes with pods in the kube-system namespace that are not managed by DaemonSet. SkipNodesWithSystemPods pulumi.BoolPtrInput `pulumi:"skipNodesWithSystemPods"` }
func (ClusterNodePoolGlobalConfigArgs) ElementType ¶
func (ClusterNodePoolGlobalConfigArgs) ElementType() reflect.Type
func (ClusterNodePoolGlobalConfigArgs) ToClusterNodePoolGlobalConfigOutput ¶
func (i ClusterNodePoolGlobalConfigArgs) ToClusterNodePoolGlobalConfigOutput() ClusterNodePoolGlobalConfigOutput
func (ClusterNodePoolGlobalConfigArgs) ToClusterNodePoolGlobalConfigOutputWithContext ¶
func (i ClusterNodePoolGlobalConfigArgs) ToClusterNodePoolGlobalConfigOutputWithContext(ctx context.Context) ClusterNodePoolGlobalConfigOutput
type ClusterNodePoolGlobalConfigArray ¶
type ClusterNodePoolGlobalConfigArray []ClusterNodePoolGlobalConfigInput
func (ClusterNodePoolGlobalConfigArray) ElementType ¶
func (ClusterNodePoolGlobalConfigArray) ElementType() reflect.Type
func (ClusterNodePoolGlobalConfigArray) ToClusterNodePoolGlobalConfigArrayOutput ¶
func (i ClusterNodePoolGlobalConfigArray) ToClusterNodePoolGlobalConfigArrayOutput() ClusterNodePoolGlobalConfigArrayOutput
func (ClusterNodePoolGlobalConfigArray) ToClusterNodePoolGlobalConfigArrayOutputWithContext ¶
func (i ClusterNodePoolGlobalConfigArray) ToClusterNodePoolGlobalConfigArrayOutputWithContext(ctx context.Context) ClusterNodePoolGlobalConfigArrayOutput
type ClusterNodePoolGlobalConfigArrayInput ¶
type ClusterNodePoolGlobalConfigArrayInput interface { pulumi.Input ToClusterNodePoolGlobalConfigArrayOutput() ClusterNodePoolGlobalConfigArrayOutput ToClusterNodePoolGlobalConfigArrayOutputWithContext(context.Context) ClusterNodePoolGlobalConfigArrayOutput }
ClusterNodePoolGlobalConfigArrayInput is an input type that accepts ClusterNodePoolGlobalConfigArray and ClusterNodePoolGlobalConfigArrayOutput values. You can construct a concrete instance of `ClusterNodePoolGlobalConfigArrayInput` via:
ClusterNodePoolGlobalConfigArray{ ClusterNodePoolGlobalConfigArgs{...} }
type ClusterNodePoolGlobalConfigArrayOutput ¶
type ClusterNodePoolGlobalConfigArrayOutput struct{ *pulumi.OutputState }
func (ClusterNodePoolGlobalConfigArrayOutput) ElementType ¶
func (ClusterNodePoolGlobalConfigArrayOutput) ElementType() reflect.Type
func (ClusterNodePoolGlobalConfigArrayOutput) ToClusterNodePoolGlobalConfigArrayOutput ¶
func (o ClusterNodePoolGlobalConfigArrayOutput) ToClusterNodePoolGlobalConfigArrayOutput() ClusterNodePoolGlobalConfigArrayOutput
func (ClusterNodePoolGlobalConfigArrayOutput) ToClusterNodePoolGlobalConfigArrayOutputWithContext ¶
func (o ClusterNodePoolGlobalConfigArrayOutput) ToClusterNodePoolGlobalConfigArrayOutputWithContext(ctx context.Context) ClusterNodePoolGlobalConfigArrayOutput
type ClusterNodePoolGlobalConfigInput ¶
type ClusterNodePoolGlobalConfigInput interface { pulumi.Input ToClusterNodePoolGlobalConfigOutput() ClusterNodePoolGlobalConfigOutput ToClusterNodePoolGlobalConfigOutputWithContext(context.Context) ClusterNodePoolGlobalConfigOutput }
ClusterNodePoolGlobalConfigInput is an input type that accepts ClusterNodePoolGlobalConfigArgs and ClusterNodePoolGlobalConfigOutput values. You can construct a concrete instance of `ClusterNodePoolGlobalConfigInput` via:
ClusterNodePoolGlobalConfigArgs{...}
type ClusterNodePoolGlobalConfigOutput ¶
type ClusterNodePoolGlobalConfigOutput struct{ *pulumi.OutputState }
func (ClusterNodePoolGlobalConfigOutput) ElementType ¶
func (ClusterNodePoolGlobalConfigOutput) ElementType() reflect.Type
func (ClusterNodePoolGlobalConfigOutput) Expander ¶
func (o ClusterNodePoolGlobalConfigOutput) Expander() pulumi.StringPtrOutput
Indicates which scale-out method will be used when there are multiple scaling groups. Valid values: `random` - select a random scaling group, `most-pods` - select the scaling group that can schedule the most pods, `least-waste` - select the scaling group that can ensure the fewest remaining resources after Pod scheduling.
func (ClusterNodePoolGlobalConfigOutput) IgnoreDaemonSetsUtilization ¶
func (o ClusterNodePoolGlobalConfigOutput) IgnoreDaemonSetsUtilization() pulumi.BoolPtrOutput
Whether to ignore DaemonSet pods by default when calculating resource usage.
func (ClusterNodePoolGlobalConfigOutput) IsScaleInEnabled ¶
func (o ClusterNodePoolGlobalConfigOutput) IsScaleInEnabled() pulumi.BoolPtrOutput
Indicates whether to enable scale-in.
func (ClusterNodePoolGlobalConfigOutput) MaxConcurrentScaleIn ¶
func (o ClusterNodePoolGlobalConfigOutput) MaxConcurrentScaleIn() pulumi.IntPtrOutput
Max concurrent scale-in volume.
func (ClusterNodePoolGlobalConfigOutput) ScaleInDelay ¶
func (o ClusterNodePoolGlobalConfigOutput) ScaleInDelay() pulumi.IntPtrOutput
Number of minutes after cluster scale-out when the system starts judging whether to perform scale-in.
func (ClusterNodePoolGlobalConfigOutput) ScaleInUnneededTime ¶
func (o ClusterNodePoolGlobalConfigOutput) ScaleInUnneededTime() pulumi.IntPtrOutput
Number of consecutive minutes of idleness after which the node is subject to scale-in.
func (ClusterNodePoolGlobalConfigOutput) ScaleInUtilizationThreshold ¶
func (o ClusterNodePoolGlobalConfigOutput) ScaleInUtilizationThreshold() pulumi.IntPtrOutput
Percentage of node resource usage below which the node is considered to be idle.
func (ClusterNodePoolGlobalConfigOutput) SkipNodesWithLocalStorage ¶
func (o ClusterNodePoolGlobalConfigOutput) SkipNodesWithLocalStorage() pulumi.BoolPtrOutput
During scale-in, ignore nodes with local storage pods.
func (ClusterNodePoolGlobalConfigOutput) SkipNodesWithSystemPods ¶
func (o ClusterNodePoolGlobalConfigOutput) SkipNodesWithSystemPods() pulumi.BoolPtrOutput
During scale-in, ignore nodes with pods in the kube-system namespace that are not managed by DaemonSet.
func (ClusterNodePoolGlobalConfigOutput) ToClusterNodePoolGlobalConfigOutput ¶
func (o ClusterNodePoolGlobalConfigOutput) ToClusterNodePoolGlobalConfigOutput() ClusterNodePoolGlobalConfigOutput
func (ClusterNodePoolGlobalConfigOutput) ToClusterNodePoolGlobalConfigOutputWithContext ¶
func (o ClusterNodePoolGlobalConfigOutput) ToClusterNodePoolGlobalConfigOutputWithContext(ctx context.Context) ClusterNodePoolGlobalConfigOutput
type ClusterOutput ¶
type ClusterOutput struct{ *pulumi.OutputState }
func (ClusterOutput) AcquireClusterAdminRole ¶
func (o ClusterOutput) AcquireClusterAdminRole() pulumi.BoolPtrOutput
If set to true, it will acquire the ClusterRole tke:admin. NOTE: this arguments cannot revoke to `false` after acquired.
func (ClusterOutput) AuthOptions ¶
func (o ClusterOutput) AuthOptions() ClusterAuthOptionsPtrOutput
Specify cluster authentication configuration. Only available for managed cluster and `clusterVersion` >= 1.20.
func (ClusterOutput) AutoUpgradeClusterLevel ¶
func (o ClusterOutput) AutoUpgradeClusterLevel() pulumi.BoolPtrOutput
Whether the cluster level auto upgraded, valid for managed cluster.
func (ClusterOutput) BasePodNum ¶
func (o ClusterOutput) BasePodNum() pulumi.IntPtrOutput
The number of basic pods. valid when enable_customized_pod_cidr=true.
func (ClusterOutput) CertificationAuthority ¶
func (o ClusterOutput) CertificationAuthority() pulumi.StringOutput
The certificate used for access.
func (ClusterOutput) ClaimExpiredSeconds ¶
func (o ClusterOutput) ClaimExpiredSeconds() pulumi.IntPtrOutput
Claim expired seconds to recycle ENI. This field can only set when field `networkType` is 'VPC-CNI'. `claimExpiredSeconds` must greater or equal than 300 and less than 15768000.
func (ClusterOutput) ClusterAsEnabled
deprecated
func (o ClusterOutput) ClusterAsEnabled() pulumi.BoolPtrOutput
This argument is deprecated because the TKE auto-scaling group was no longer available. Indicates whether to enable cluster node auto scaling. Default is false.
Deprecated: This argument is deprecated because the TKE auto-scaling group was no longer available.
func (ClusterOutput) ClusterAudit ¶
func (o ClusterOutput) ClusterAudit() ClusterClusterAuditPtrOutput
Specify Cluster Audit config. NOTE: Please make sure your TKE CamRole have permission to access CLS service.
func (ClusterOutput) ClusterCidr ¶
func (o ClusterOutput) ClusterCidr() pulumi.StringPtrOutput
A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this vpc. Must be in 10./192.168/172.[16-31] segments.
func (ClusterOutput) ClusterDeployType ¶
func (o ClusterOutput) ClusterDeployType() pulumi.StringPtrOutput
Deployment type of the cluster, the available values include: 'MANAGED_CLUSTER' and 'INDEPENDENT_CLUSTER'. Default is 'MANAGED_CLUSTER'.
func (ClusterOutput) ClusterDesc ¶
func (o ClusterOutput) ClusterDesc() pulumi.StringPtrOutput
Description of the cluster.
func (ClusterOutput) ClusterExternalEndpoint ¶
func (o ClusterOutput) ClusterExternalEndpoint() pulumi.StringOutput
External network address to access.
func (ClusterOutput) ClusterExtraArgs ¶
func (o ClusterOutput) ClusterExtraArgs() ClusterClusterExtraArgsPtrOutput
Customized parameters for master component,such as kube-apiserver, kube-controller-manager, kube-scheduler.
func (ClusterOutput) ClusterInternet ¶
func (o ClusterOutput) ClusterInternet() pulumi.BoolPtrOutput
Open internet access or not. If this field is set 'true', the field below `workerConfig` must be set. Because only cluster with node is allowed enable access endpoint.
func (ClusterOutput) ClusterInternetDomain ¶ added in v0.1.3
func (o ClusterOutput) ClusterInternetDomain() pulumi.StringPtrOutput
Domain name for cluster Kube-apiserver internet access. Be careful if you modify value of this parameter, the clusterExternalEndpoint value may be changed automatically too.
func (ClusterOutput) ClusterInternetSecurityGroup ¶
func (o ClusterOutput) ClusterInternetSecurityGroup() pulumi.StringPtrOutput
Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
func (ClusterOutput) ClusterIntranet ¶
func (o ClusterOutput) ClusterIntranet() pulumi.BoolPtrOutput
Open intranet access or not. If this field is set 'true', the field below `workerConfig` must be set. Because only cluster with node is allowed enable access endpoint.
func (ClusterOutput) ClusterIntranetDomain ¶ added in v0.1.3
func (o ClusterOutput) ClusterIntranetDomain() pulumi.StringPtrOutput
Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgwEndpoint value may be changed automatically too.
func (ClusterOutput) ClusterIntranetSubnetId ¶
func (o ClusterOutput) ClusterIntranetSubnetId() pulumi.StringPtrOutput
Subnet id who can access this independent cluster, this field must and can only set when `clusterIntranet` is true. `clusterIntranetSubnetId` can not modify once be set.
func (ClusterOutput) ClusterIpvs ¶
func (o ClusterOutput) ClusterIpvs() pulumi.BoolPtrOutput
Indicates whether `ipvs` is enabled. Default is true. False means `iptables` is enabled.
func (ClusterOutput) ClusterLevel ¶
func (o ClusterOutput) ClusterLevel() pulumi.StringOutput
Specify cluster level, valid for managed cluster, use data source `Kubernetes.getClusterLevels` to query available levels. Available value examples `L5`, `L20`, `L50`, `L100`, etc.
func (ClusterOutput) ClusterMaxPodNum ¶
func (o ClusterOutput) ClusterMaxPodNum() pulumi.IntPtrOutput
The maximum number of Pods per node in the cluster. Default is 256. The minimum value is 4. When its power unequal to 2, it will round upward to the closest power of 2.
func (ClusterOutput) ClusterMaxServiceNum ¶
func (o ClusterOutput) ClusterMaxServiceNum() pulumi.IntPtrOutput
The maximum number of services in the cluster. Default is 256. The range is from 32 to 32768. When its power unequal to 2, it will round upward to the closest power of 2.
func (ClusterOutput) ClusterName ¶
func (o ClusterOutput) ClusterName() pulumi.StringPtrOutput
Name of the cluster.
func (ClusterOutput) ClusterNodeNum ¶
func (o ClusterOutput) ClusterNodeNum() pulumi.IntOutput
Number of nodes in the cluster.
func (ClusterOutput) ClusterOs ¶
func (o ClusterOutput) ClusterOs() pulumi.StringPtrOutput
Operating system of the cluster, the available values include: 'centos7.6.0_x64','ubuntu18.04.1x86_64','tlinux2.4x86_64'. Default is 'tlinux2.4x86_64'.
func (ClusterOutput) ClusterOsType ¶
func (o ClusterOutput) ClusterOsType() pulumi.StringPtrOutput
Image type of the cluster os, the available values include: 'GENERAL'. Default is 'GENERAL'.
func (ClusterOutput) ClusterVersion ¶
func (o ClusterOutput) ClusterVersion() pulumi.StringPtrOutput
Version of the cluster, Default is '1.10.5'. Use `Kubernetes.getAvailableClusterVersions` to get the available versions.
func (ClusterOutput) ContainerRuntime ¶
func (o ClusterOutput) ContainerRuntime() pulumi.StringPtrOutput
Runtime type of the cluster, the available values include: 'docker' and 'containerd'.The Kubernetes v1.24 has removed dockershim, so please use containerd in v1.24 or higher.Default is 'docker'.
func (ClusterOutput) DeletionProtection ¶
func (o ClusterOutput) DeletionProtection() pulumi.BoolPtrOutput
Indicates whether cluster deletion protection is enabled. Default is false.
func (ClusterOutput) DockerGraphPath ¶
func (o ClusterOutput) DockerGraphPath() pulumi.StringPtrOutput
Docker graph path. Default is `/var/lib/docker`.
func (ClusterOutput) Domain ¶
func (o ClusterOutput) Domain() pulumi.StringOutput
Domain name for access.
func (ClusterOutput) ElementType ¶
func (ClusterOutput) ElementType() reflect.Type
func (ClusterOutput) EnableCustomizedPodCidr ¶
func (o ClusterOutput) EnableCustomizedPodCidr() pulumi.BoolPtrOutput
Whether to enable the custom mode of node podCIDR size. Default is false.
func (ClusterOutput) EniSubnetIds ¶
func (o ClusterOutput) EniSubnetIds() pulumi.StringArrayOutput
Subnet Ids for cluster with VPC-CNI network mode. This field can only set when field `networkType` is 'VPC-CNI'. `eniSubnetIds` can not empty once be set.
func (ClusterOutput) EventPersistence ¶
func (o ClusterOutput) EventPersistence() ClusterEventPersistencePtrOutput
Specify cluster Event Persistence config. NOTE: Please make sure your TKE CamRole have permission to access CLS service.
func (ClusterOutput) ExistInstances ¶
func (o ClusterOutput) ExistInstances() ClusterExistInstanceArrayOutput
create tke cluster by existed instances.
func (ClusterOutput) ExtensionAddons ¶
func (o ClusterOutput) ExtensionAddons() ClusterExtensionAddonArrayOutput
Information of the add-on to be installed.
func (ClusterOutput) ExtraArgs ¶
func (o ClusterOutput) ExtraArgs() pulumi.StringArrayOutput
Custom parameter information related to the node.
func (ClusterOutput) GlobeDesiredPodNum ¶
func (o ClusterOutput) GlobeDesiredPodNum() pulumi.IntPtrOutput
Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it takes effect for all nodes.
func (ClusterOutput) IgnoreClusterCidrConflict ¶
func (o ClusterOutput) IgnoreClusterCidrConflict() pulumi.BoolPtrOutput
Indicates whether to ignore the cluster cidr conflict error. Default is false.
func (ClusterOutput) IsNonStaticIpMode ¶
func (o ClusterOutput) IsNonStaticIpMode() pulumi.BoolPtrOutput
Indicates whether non-static ip mode is enabled. Default is false.
func (ClusterOutput) KubeConfig ¶
func (o ClusterOutput) KubeConfig() pulumi.StringOutput
Kubernetes config.
func (ClusterOutput) KubeConfigIntranet ¶
func (o ClusterOutput) KubeConfigIntranet() pulumi.StringOutput
Kubernetes config of private network.
func (ClusterOutput) KubeProxyMode ¶
func (o ClusterOutput) KubeProxyMode() pulumi.StringPtrOutput
Cluster kube-proxy mode, the available values include: 'kube-proxy-bpf'. Default is not set.When set to kube-proxy-bpf, cluster version greater than 1.14 and with Tencent Linux 2.4 is required.
func (ClusterOutput) Labels ¶
func (o ClusterOutput) Labels() pulumi.MapOutput
Labels of tke cluster nodes.
func (ClusterOutput) LogAgent ¶
func (o ClusterOutput) LogAgent() ClusterLogAgentPtrOutput
Specify cluster log agent config.
func (ClusterOutput) ManagedClusterInternetSecurityPolicies
deprecated
func (o ClusterOutput) ManagedClusterInternetSecurityPolicies() pulumi.StringArrayOutput
this argument was deprecated, use `clusterInternetSecurityGroup` instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field `clusterDeployType` is 'MANAGED_CLUSTER' and `clusterInternet` is true. `managedClusterInternetSecurityPolicies` can not delete or empty once be set.
Deprecated: this argument was deprecated, use `cluster_internet_security_group` instead.
func (ClusterOutput) MasterConfigs ¶
func (o ClusterOutput) MasterConfigs() ClusterMasterConfigArrayOutput
Deploy the machine configuration information of the 'MASTER_ETCD' service, and create <=7 units for common users.
func (ClusterOutput) MountTarget ¶
func (o ClusterOutput) MountTarget() pulumi.StringPtrOutput
Mount target. Default is not mounting.
func (ClusterOutput) NetworkType ¶
func (o ClusterOutput) NetworkType() pulumi.StringPtrOutput
Cluster network type, GR or VPC-CNI. Default is GR.
func (ClusterOutput) NodeNameType ¶
func (o ClusterOutput) NodeNameType() pulumi.StringPtrOutput
Node name type of Cluster, the available values include: 'lan-ip' and 'hostname', Default is 'lan-ip'.
func (ClusterOutput) NodePoolGlobalConfigs ¶
func (o ClusterOutput) NodePoolGlobalConfigs() ClusterNodePoolGlobalConfigArrayOutput
Global config effective for all node pools.
func (ClusterOutput) Password ¶
func (o ClusterOutput) Password() pulumi.StringOutput
Password to access, should be set if `keyIds` not set.
func (ClusterOutput) PgwEndpoint ¶
func (o ClusterOutput) PgwEndpoint() pulumi.StringOutput
The Intranet address used for access.
func (ClusterOutput) ProjectId ¶
func (o ClusterOutput) ProjectId() pulumi.IntPtrOutput
Project ID, default value is 0.
func (ClusterOutput) RuntimeVersion ¶
func (o ClusterOutput) RuntimeVersion() pulumi.StringPtrOutput
Container Runtime version.
func (ClusterOutput) SecurityPolicies ¶
func (o ClusterOutput) SecurityPolicies() pulumi.StringArrayOutput
Access policy.
func (ClusterOutput) ServiceCidr ¶
func (o ClusterOutput) ServiceCidr() pulumi.StringPtrOutput
A network address block of the service. Different from vpc cidr and cidr of other clusters within this vpc. Must be in 10./192.168/172.[16-31] segments.
func (ClusterOutput) ToClusterOutput ¶
func (o ClusterOutput) ToClusterOutput() ClusterOutput
func (ClusterOutput) ToClusterOutputWithContext ¶
func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
func (ClusterOutput) Unschedulable ¶
func (o ClusterOutput) Unschedulable() pulumi.IntPtrOutput
Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
func (ClusterOutput) UpgradeInstancesFollowCluster ¶
func (o ClusterOutput) UpgradeInstancesFollowCluster() pulumi.BoolPtrOutput
Indicates whether upgrade all instances when clusterVersion change. Default is false.
func (ClusterOutput) UserName ¶
func (o ClusterOutput) UserName() pulumi.StringOutput
User name of account.
func (ClusterOutput) VpcId ¶
func (o ClusterOutput) VpcId() pulumi.StringOutput
Vpc Id of the cluster.
func (ClusterOutput) WorkerConfigs ¶
func (o ClusterOutput) WorkerConfigs() ClusterWorkerConfigArrayOutput
Deploy the machine configuration information of the 'WORKER' service, and create <=20 units for common users. The other 'WORK' service are added by 'tencentcloud_kubernetes_worker'.
func (ClusterOutput) WorkerInstancesLists ¶
func (o ClusterOutput) WorkerInstancesLists() ClusterWorkerInstancesListArrayOutput
An information list of cvm within the 'WORKER' clusters. Each element contains the following attributes:
type ClusterState ¶
type ClusterState struct { // If set to true, it will acquire the ClusterRole tke:admin. NOTE: this arguments cannot revoke to `false` after acquired. AcquireClusterAdminRole pulumi.BoolPtrInput // Specify cluster authentication configuration. Only available for managed cluster and `clusterVersion` >= 1.20. AuthOptions ClusterAuthOptionsPtrInput // Whether the cluster level auto upgraded, valid for managed cluster. AutoUpgradeClusterLevel pulumi.BoolPtrInput // The number of basic pods. valid when enable_customized_pod_cidr=true. BasePodNum pulumi.IntPtrInput // The certificate used for access. CertificationAuthority pulumi.StringPtrInput // Claim expired seconds to recycle ENI. This field can only set when field `networkType` is 'VPC-CNI'. `claimExpiredSeconds` must greater or equal than 300 and less than 15768000. ClaimExpiredSeconds pulumi.IntPtrInput // This argument is deprecated because the TKE auto-scaling group was no longer available. Indicates whether to enable cluster node auto scaling. Default is false. // // Deprecated: This argument is deprecated because the TKE auto-scaling group was no longer available. ClusterAsEnabled pulumi.BoolPtrInput // Specify Cluster Audit config. NOTE: Please make sure your TKE CamRole have permission to access CLS service. ClusterAudit ClusterClusterAuditPtrInput // A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this vpc. Must be in 10./192.168/172.[16-31] segments. ClusterCidr pulumi.StringPtrInput // Deployment type of the cluster, the available values include: 'MANAGED_CLUSTER' and 'INDEPENDENT_CLUSTER'. Default is 'MANAGED_CLUSTER'. ClusterDeployType pulumi.StringPtrInput // Description of the cluster. ClusterDesc pulumi.StringPtrInput // External network address to access. ClusterExternalEndpoint pulumi.StringPtrInput // Customized parameters for master component,such as kube-apiserver, kube-controller-manager, kube-scheduler. ClusterExtraArgs ClusterClusterExtraArgsPtrInput // Open internet access or not. If this field is set 'true', the field below `workerConfig` must be set. Because only cluster with node is allowed enable access endpoint. ClusterInternet pulumi.BoolPtrInput // Domain name for cluster Kube-apiserver internet access. Be careful if you modify value of this parameter, the clusterExternalEndpoint value may be changed automatically too. ClusterInternetDomain pulumi.StringPtrInput // Specify security group, NOTE: This argument must not be empty if cluster internet enabled. ClusterInternetSecurityGroup pulumi.StringPtrInput // Open intranet access or not. If this field is set 'true', the field below `workerConfig` must be set. Because only cluster with node is allowed enable access endpoint. ClusterIntranet pulumi.BoolPtrInput // Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgwEndpoint value may be changed automatically too. ClusterIntranetDomain pulumi.StringPtrInput // Subnet id who can access this independent cluster, this field must and can only set when `clusterIntranet` is true. `clusterIntranetSubnetId` can not modify once be set. ClusterIntranetSubnetId pulumi.StringPtrInput // Indicates whether `ipvs` is enabled. Default is true. False means `iptables` is enabled. ClusterIpvs pulumi.BoolPtrInput // Specify cluster level, valid for managed cluster, use data source `Kubernetes.getClusterLevels` to query available levels. Available value examples `L5`, `L20`, `L50`, `L100`, etc. ClusterLevel pulumi.StringPtrInput // The maximum number of Pods per node in the cluster. Default is 256. The minimum value is 4. When its power unequal to 2, it will round upward to the closest power of 2. ClusterMaxPodNum pulumi.IntPtrInput // The maximum number of services in the cluster. Default is 256. The range is from 32 to 32768. When its power unequal to 2, it will round upward to the closest power of 2. ClusterMaxServiceNum pulumi.IntPtrInput // Name of the cluster. ClusterName pulumi.StringPtrInput // Number of nodes in the cluster. ClusterNodeNum pulumi.IntPtrInput // Operating system of the cluster, the available values include: 'centos7.6.0_x64','ubuntu18.04.1x86_64','tlinux2.4x86_64'. Default is 'tlinux2.4x86_64'. ClusterOs pulumi.StringPtrInput // Image type of the cluster os, the available values include: 'GENERAL'. Default is 'GENERAL'. ClusterOsType pulumi.StringPtrInput // Version of the cluster, Default is '1.10.5'. Use `Kubernetes.getAvailableClusterVersions` to get the available versions. ClusterVersion pulumi.StringPtrInput // Runtime type of the cluster, the available values include: 'docker' and 'containerd'.The Kubernetes v1.24 has removed dockershim, so please use containerd in v1.24 or higher.Default is 'docker'. ContainerRuntime pulumi.StringPtrInput // Indicates whether cluster deletion protection is enabled. Default is false. DeletionProtection pulumi.BoolPtrInput // Docker graph path. Default is `/var/lib/docker`. DockerGraphPath pulumi.StringPtrInput // Domain name for access. Domain pulumi.StringPtrInput // Whether to enable the custom mode of node podCIDR size. Default is false. EnableCustomizedPodCidr pulumi.BoolPtrInput // Subnet Ids for cluster with VPC-CNI network mode. This field can only set when field `networkType` is 'VPC-CNI'. `eniSubnetIds` can not empty once be set. EniSubnetIds pulumi.StringArrayInput // Specify cluster Event Persistence config. NOTE: Please make sure your TKE CamRole have permission to access CLS service. EventPersistence ClusterEventPersistencePtrInput // create tke cluster by existed instances. ExistInstances ClusterExistInstanceArrayInput // Information of the add-on to be installed. ExtensionAddons ClusterExtensionAddonArrayInput // Custom parameter information related to the node. ExtraArgs pulumi.StringArrayInput // Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it takes effect for all nodes. GlobeDesiredPodNum pulumi.IntPtrInput // Indicates whether to ignore the cluster cidr conflict error. Default is false. IgnoreClusterCidrConflict pulumi.BoolPtrInput // Indicates whether non-static ip mode is enabled. Default is false. IsNonStaticIpMode pulumi.BoolPtrInput // Kubernetes config. KubeConfig pulumi.StringPtrInput // Kubernetes config of private network. KubeConfigIntranet pulumi.StringPtrInput // Cluster kube-proxy mode, the available values include: 'kube-proxy-bpf'. Default is not set.When set to kube-proxy-bpf, cluster version greater than 1.14 and with Tencent Linux 2.4 is required. KubeProxyMode pulumi.StringPtrInput // Labels of tke cluster nodes. Labels pulumi.MapInput // Specify cluster log agent config. LogAgent ClusterLogAgentPtrInput // this argument was deprecated, use `clusterInternetSecurityGroup` instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field `clusterDeployType` is 'MANAGED_CLUSTER' and `clusterInternet` is true. `managedClusterInternetSecurityPolicies` can not delete or empty once be set. // // Deprecated: this argument was deprecated, use `cluster_internet_security_group` instead. ManagedClusterInternetSecurityPolicies pulumi.StringArrayInput // Deploy the machine configuration information of the 'MASTER_ETCD' service, and create <=7 units for common users. MasterConfigs ClusterMasterConfigArrayInput // Mount target. Default is not mounting. MountTarget pulumi.StringPtrInput // Cluster network type, GR or VPC-CNI. Default is GR. NetworkType pulumi.StringPtrInput // Node name type of Cluster, the available values include: 'lan-ip' and 'hostname', Default is 'lan-ip'. NodeNameType pulumi.StringPtrInput // Global config effective for all node pools. NodePoolGlobalConfigs ClusterNodePoolGlobalConfigArrayInput // Password to access, should be set if `keyIds` not set. Password pulumi.StringPtrInput // The Intranet address used for access. PgwEndpoint pulumi.StringPtrInput // Project ID, default value is 0. ProjectId pulumi.IntPtrInput // Container Runtime version. RuntimeVersion pulumi.StringPtrInput // Access policy. SecurityPolicies pulumi.StringArrayInput // A network address block of the service. Different from vpc cidr and cidr of other clusters within this vpc. Must be in 10./192.168/172.[16-31] segments. ServiceCidr pulumi.StringPtrInput // The tags of the cluster. Tags pulumi.MapInput // Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling. Unschedulable pulumi.IntPtrInput // Indicates whether upgrade all instances when clusterVersion change. Default is false. UpgradeInstancesFollowCluster pulumi.BoolPtrInput // User name of account. UserName pulumi.StringPtrInput // Vpc Id of the cluster. VpcId pulumi.StringPtrInput // Deploy the machine configuration information of the 'WORKER' service, and create <=20 units for common users. The other 'WORK' service are added by 'tencentcloud_kubernetes_worker'. WorkerConfigs ClusterWorkerConfigArrayInput // An information list of cvm within the 'WORKER' clusters. Each element contains the following attributes: WorkerInstancesLists ClusterWorkerInstancesListArrayInput }
func (ClusterState) ElementType ¶
func (ClusterState) ElementType() reflect.Type
type ClusterWorkerConfig ¶
type ClusterWorkerConfig struct { // Indicates which availability zone will be used. AvailabilityZone *string `pulumi:"availabilityZone"` // bandwidth package id. if user is standard user, then the bandwidthPackageId is needed, or default has bandwidth_package_id. BandwidthPackageId *string `pulumi:"bandwidthPackageId"` // CAM role name authorized to access. CamRoleName *string `pulumi:"camRoleName"` // Number of cvm. Count *int `pulumi:"count"` // Configurations of data disk. DataDisks []ClusterWorkerConfigDataDisk `pulumi:"dataDisks"` // Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desiredPodNum` or none. DesiredPodNum *int `pulumi:"desiredPodNum"` // Disaster recover groups to which a CVM instance belongs. Only support maximum 1. DisasterRecoverGroupIds *string `pulumi:"disasterRecoverGroupIds"` // To specify whether to enable cloud monitor service. Default is TRUE. EnhancedMonitorService *bool `pulumi:"enhancedMonitorService"` // To specify whether to enable cloud security service. Default is TRUE. EnhancedSecurityService *bool `pulumi:"enhancedSecurityService"` // The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-). Hostname *string `pulumi:"hostname"` // Id of cvm hpc cluster. HpcClusterId *string `pulumi:"hpcClusterId"` // The valid image id, format of img-xxx. ImgId *string `pulumi:"imgId"` // The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired. InstanceChargeType *string `pulumi:"instanceChargeType"` // The tenancy (time unit is month) of the prepaid instance. NOTE: it only works when instanceChargeType is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`. InstanceChargeTypePrepaidPeriod *int `pulumi:"instanceChargeTypePrepaidPeriod"` // Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instanceChargeType is set to `PREPAID`. InstanceChargeTypePrepaidRenewFlag *string `pulumi:"instanceChargeTypePrepaidRenewFlag"` // Name of the CVMs. InstanceName *string `pulumi:"instanceName"` // Specified types of CVM instance. InstanceType string `pulumi:"instanceType"` // Charge types for network traffic. Available values include `TRAFFIC_POSTPAID_BY_HOUR`. InternetChargeType *string `pulumi:"internetChargeType"` // Max bandwidth of Internet access in Mbps. Default is 0. InternetMaxBandwidthOut *int `pulumi:"internetMaxBandwidthOut"` // ID list of keys, should be set if `password` not set. KeyIds *string `pulumi:"keyIds"` // Password to access, should be set if `keyIds` not set. Password *string `pulumi:"password"` // Specify whether to assign an Internet IP address. PublicIpAssigned *bool `pulumi:"publicIpAssigned"` // Security groups to which a CVM instance belongs. SecurityGroupIds []string `pulumi:"securityGroupIds"` // Private network ID. SubnetId string `pulumi:"subnetId"` // Volume of system disk in GB. Default is `50`. SystemDiskSize *int `pulumi:"systemDiskSize"` // System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated. SystemDiskType *string `pulumi:"systemDiskType"` // ase64-encoded User Data text, the length limit is 16KB. UserData *string `pulumi:"userData"` }
type ClusterWorkerConfigArgs ¶
type ClusterWorkerConfigArgs struct { // Indicates which availability zone will be used. AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"` // bandwidth package id. if user is standard user, then the bandwidthPackageId is needed, or default has bandwidth_package_id. BandwidthPackageId pulumi.StringPtrInput `pulumi:"bandwidthPackageId"` // CAM role name authorized to access. CamRoleName pulumi.StringPtrInput `pulumi:"camRoleName"` // Number of cvm. Count pulumi.IntPtrInput `pulumi:"count"` // Configurations of data disk. DataDisks ClusterWorkerConfigDataDiskArrayInput `pulumi:"dataDisks"` // Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desiredPodNum` or none. DesiredPodNum pulumi.IntPtrInput `pulumi:"desiredPodNum"` // Disaster recover groups to which a CVM instance belongs. Only support maximum 1. DisasterRecoverGroupIds pulumi.StringPtrInput `pulumi:"disasterRecoverGroupIds"` // To specify whether to enable cloud monitor service. Default is TRUE. EnhancedMonitorService pulumi.BoolPtrInput `pulumi:"enhancedMonitorService"` // To specify whether to enable cloud security service. Default is TRUE. EnhancedSecurityService pulumi.BoolPtrInput `pulumi:"enhancedSecurityService"` // The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-). Hostname pulumi.StringPtrInput `pulumi:"hostname"` // Id of cvm hpc cluster. HpcClusterId pulumi.StringPtrInput `pulumi:"hpcClusterId"` // The valid image id, format of img-xxx. ImgId pulumi.StringPtrInput `pulumi:"imgId"` // The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired. InstanceChargeType pulumi.StringPtrInput `pulumi:"instanceChargeType"` // The tenancy (time unit is month) of the prepaid instance. NOTE: it only works when instanceChargeType is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`. InstanceChargeTypePrepaidPeriod pulumi.IntPtrInput `pulumi:"instanceChargeTypePrepaidPeriod"` // Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instanceChargeType is set to `PREPAID`. InstanceChargeTypePrepaidRenewFlag pulumi.StringPtrInput `pulumi:"instanceChargeTypePrepaidRenewFlag"` // Name of the CVMs. InstanceName pulumi.StringPtrInput `pulumi:"instanceName"` // Specified types of CVM instance. InstanceType pulumi.StringInput `pulumi:"instanceType"` // Charge types for network traffic. Available values include `TRAFFIC_POSTPAID_BY_HOUR`. InternetChargeType pulumi.StringPtrInput `pulumi:"internetChargeType"` // Max bandwidth of Internet access in Mbps. Default is 0. InternetMaxBandwidthOut pulumi.IntPtrInput `pulumi:"internetMaxBandwidthOut"` // ID list of keys, should be set if `password` not set. KeyIds pulumi.StringPtrInput `pulumi:"keyIds"` // Password to access, should be set if `keyIds` not set. Password pulumi.StringPtrInput `pulumi:"password"` // Specify whether to assign an Internet IP address. PublicIpAssigned pulumi.BoolPtrInput `pulumi:"publicIpAssigned"` // Security groups to which a CVM instance belongs. SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"` // Private network ID. SubnetId pulumi.StringInput `pulumi:"subnetId"` // Volume of system disk in GB. Default is `50`. SystemDiskSize pulumi.IntPtrInput `pulumi:"systemDiskSize"` // System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated. SystemDiskType pulumi.StringPtrInput `pulumi:"systemDiskType"` // ase64-encoded User Data text, the length limit is 16KB. UserData pulumi.StringPtrInput `pulumi:"userData"` }
func (ClusterWorkerConfigArgs) ElementType ¶
func (ClusterWorkerConfigArgs) ElementType() reflect.Type
func (ClusterWorkerConfigArgs) ToClusterWorkerConfigOutput ¶
func (i ClusterWorkerConfigArgs) ToClusterWorkerConfigOutput() ClusterWorkerConfigOutput
func (ClusterWorkerConfigArgs) ToClusterWorkerConfigOutputWithContext ¶
func (i ClusterWorkerConfigArgs) ToClusterWorkerConfigOutputWithContext(ctx context.Context) ClusterWorkerConfigOutput
type ClusterWorkerConfigArray ¶
type ClusterWorkerConfigArray []ClusterWorkerConfigInput
func (ClusterWorkerConfigArray) ElementType ¶
func (ClusterWorkerConfigArray) ElementType() reflect.Type
func (ClusterWorkerConfigArray) ToClusterWorkerConfigArrayOutput ¶
func (i ClusterWorkerConfigArray) ToClusterWorkerConfigArrayOutput() ClusterWorkerConfigArrayOutput
func (ClusterWorkerConfigArray) ToClusterWorkerConfigArrayOutputWithContext ¶
func (i ClusterWorkerConfigArray) ToClusterWorkerConfigArrayOutputWithContext(ctx context.Context) ClusterWorkerConfigArrayOutput
type ClusterWorkerConfigArrayInput ¶
type ClusterWorkerConfigArrayInput interface { pulumi.Input ToClusterWorkerConfigArrayOutput() ClusterWorkerConfigArrayOutput ToClusterWorkerConfigArrayOutputWithContext(context.Context) ClusterWorkerConfigArrayOutput }
ClusterWorkerConfigArrayInput is an input type that accepts ClusterWorkerConfigArray and ClusterWorkerConfigArrayOutput values. You can construct a concrete instance of `ClusterWorkerConfigArrayInput` via:
ClusterWorkerConfigArray{ ClusterWorkerConfigArgs{...} }
type ClusterWorkerConfigArrayOutput ¶
type ClusterWorkerConfigArrayOutput struct{ *pulumi.OutputState }
func (ClusterWorkerConfigArrayOutput) ElementType ¶
func (ClusterWorkerConfigArrayOutput) ElementType() reflect.Type
func (ClusterWorkerConfigArrayOutput) Index ¶
func (o ClusterWorkerConfigArrayOutput) Index(i pulumi.IntInput) ClusterWorkerConfigOutput
func (ClusterWorkerConfigArrayOutput) ToClusterWorkerConfigArrayOutput ¶
func (o ClusterWorkerConfigArrayOutput) ToClusterWorkerConfigArrayOutput() ClusterWorkerConfigArrayOutput
func (ClusterWorkerConfigArrayOutput) ToClusterWorkerConfigArrayOutputWithContext ¶
func (o ClusterWorkerConfigArrayOutput) ToClusterWorkerConfigArrayOutputWithContext(ctx context.Context) ClusterWorkerConfigArrayOutput
type ClusterWorkerConfigDataDisk ¶
type ClusterWorkerConfigDataDisk struct { // Indicate whether to auto format and mount or not. Default is `false`. AutoFormatAndMount *bool `pulumi:"autoFormatAndMount"` // The name of the device or partition to mount. DiskPartition *string `pulumi:"diskPartition"` // Volume of disk in GB. Default is `0`. DiskSize *int `pulumi:"diskSize"` // Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`. DiskType *string `pulumi:"diskType"` // Indicates whether to encrypt data disk, default `false`. Encrypt *bool `pulumi:"encrypt"` // File system, e.g. `ext3/ext4/xfs`. FileSystem *string `pulumi:"fileSystem"` // ID of the custom CMK in the format of UUID or `kms-abcd1234`. This parameter is used to encrypt cloud disks. KmsKeyId *string `pulumi:"kmsKeyId"` // Mount target. MountTarget *string `pulumi:"mountTarget"` // Data disk snapshot ID. SnapshotId *string `pulumi:"snapshotId"` }
type ClusterWorkerConfigDataDiskArgs ¶
type ClusterWorkerConfigDataDiskArgs struct { // Indicate whether to auto format and mount or not. Default is `false`. AutoFormatAndMount pulumi.BoolPtrInput `pulumi:"autoFormatAndMount"` // The name of the device or partition to mount. DiskPartition pulumi.StringPtrInput `pulumi:"diskPartition"` // Volume of disk in GB. Default is `0`. DiskSize pulumi.IntPtrInput `pulumi:"diskSize"` // Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`. DiskType pulumi.StringPtrInput `pulumi:"diskType"` // Indicates whether to encrypt data disk, default `false`. Encrypt pulumi.BoolPtrInput `pulumi:"encrypt"` // File system, e.g. `ext3/ext4/xfs`. FileSystem pulumi.StringPtrInput `pulumi:"fileSystem"` // ID of the custom CMK in the format of UUID or `kms-abcd1234`. This parameter is used to encrypt cloud disks. KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"` // Mount target. MountTarget pulumi.StringPtrInput `pulumi:"mountTarget"` // Data disk snapshot ID. SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"` }
func (ClusterWorkerConfigDataDiskArgs) ElementType ¶
func (ClusterWorkerConfigDataDiskArgs) ElementType() reflect.Type
func (ClusterWorkerConfigDataDiskArgs) ToClusterWorkerConfigDataDiskOutput ¶
func (i ClusterWorkerConfigDataDiskArgs) ToClusterWorkerConfigDataDiskOutput() ClusterWorkerConfigDataDiskOutput
func (ClusterWorkerConfigDataDiskArgs) ToClusterWorkerConfigDataDiskOutputWithContext ¶
func (i ClusterWorkerConfigDataDiskArgs) ToClusterWorkerConfigDataDiskOutputWithContext(ctx context.Context) ClusterWorkerConfigDataDiskOutput
type ClusterWorkerConfigDataDiskArray ¶
type ClusterWorkerConfigDataDiskArray []ClusterWorkerConfigDataDiskInput
func (ClusterWorkerConfigDataDiskArray) ElementType ¶
func (ClusterWorkerConfigDataDiskArray) ElementType() reflect.Type
func (ClusterWorkerConfigDataDiskArray) ToClusterWorkerConfigDataDiskArrayOutput ¶
func (i ClusterWorkerConfigDataDiskArray) ToClusterWorkerConfigDataDiskArrayOutput() ClusterWorkerConfigDataDiskArrayOutput
func (ClusterWorkerConfigDataDiskArray) ToClusterWorkerConfigDataDiskArrayOutputWithContext ¶
func (i ClusterWorkerConfigDataDiskArray) ToClusterWorkerConfigDataDiskArrayOutputWithContext(ctx context.Context) ClusterWorkerConfigDataDiskArrayOutput
type ClusterWorkerConfigDataDiskArrayInput ¶
type ClusterWorkerConfigDataDiskArrayInput interface { pulumi.Input ToClusterWorkerConfigDataDiskArrayOutput() ClusterWorkerConfigDataDiskArrayOutput ToClusterWorkerConfigDataDiskArrayOutputWithContext(context.Context) ClusterWorkerConfigDataDiskArrayOutput }
ClusterWorkerConfigDataDiskArrayInput is an input type that accepts ClusterWorkerConfigDataDiskArray and ClusterWorkerConfigDataDiskArrayOutput values. You can construct a concrete instance of `ClusterWorkerConfigDataDiskArrayInput` via:
ClusterWorkerConfigDataDiskArray{ ClusterWorkerConfigDataDiskArgs{...} }
type ClusterWorkerConfigDataDiskArrayOutput ¶
type ClusterWorkerConfigDataDiskArrayOutput struct{ *pulumi.OutputState }
func (ClusterWorkerConfigDataDiskArrayOutput) ElementType ¶
func (ClusterWorkerConfigDataDiskArrayOutput) ElementType() reflect.Type
func (ClusterWorkerConfigDataDiskArrayOutput) ToClusterWorkerConfigDataDiskArrayOutput ¶
func (o ClusterWorkerConfigDataDiskArrayOutput) ToClusterWorkerConfigDataDiskArrayOutput() ClusterWorkerConfigDataDiskArrayOutput
func (ClusterWorkerConfigDataDiskArrayOutput) ToClusterWorkerConfigDataDiskArrayOutputWithContext ¶
func (o ClusterWorkerConfigDataDiskArrayOutput) ToClusterWorkerConfigDataDiskArrayOutputWithContext(ctx context.Context) ClusterWorkerConfigDataDiskArrayOutput
type ClusterWorkerConfigDataDiskInput ¶
type ClusterWorkerConfigDataDiskInput interface { pulumi.Input ToClusterWorkerConfigDataDiskOutput() ClusterWorkerConfigDataDiskOutput ToClusterWorkerConfigDataDiskOutputWithContext(context.Context) ClusterWorkerConfigDataDiskOutput }
ClusterWorkerConfigDataDiskInput is an input type that accepts ClusterWorkerConfigDataDiskArgs and ClusterWorkerConfigDataDiskOutput values. You can construct a concrete instance of `ClusterWorkerConfigDataDiskInput` via:
ClusterWorkerConfigDataDiskArgs{...}
type ClusterWorkerConfigDataDiskOutput ¶
type ClusterWorkerConfigDataDiskOutput struct{ *pulumi.OutputState }
func (ClusterWorkerConfigDataDiskOutput) AutoFormatAndMount ¶
func (o ClusterWorkerConfigDataDiskOutput) AutoFormatAndMount() pulumi.BoolPtrOutput
Indicate whether to auto format and mount or not. Default is `false`.
func (ClusterWorkerConfigDataDiskOutput) DiskPartition ¶
func (o ClusterWorkerConfigDataDiskOutput) DiskPartition() pulumi.StringPtrOutput
The name of the device or partition to mount.
func (ClusterWorkerConfigDataDiskOutput) DiskSize ¶
func (o ClusterWorkerConfigDataDiskOutput) DiskSize() pulumi.IntPtrOutput
Volume of disk in GB. Default is `0`.
func (ClusterWorkerConfigDataDiskOutput) DiskType ¶
func (o ClusterWorkerConfigDataDiskOutput) DiskType() pulumi.StringPtrOutput
Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.
func (ClusterWorkerConfigDataDiskOutput) ElementType ¶
func (ClusterWorkerConfigDataDiskOutput) ElementType() reflect.Type
func (ClusterWorkerConfigDataDiskOutput) Encrypt ¶
func (o ClusterWorkerConfigDataDiskOutput) Encrypt() pulumi.BoolPtrOutput
Indicates whether to encrypt data disk, default `false`.
func (ClusterWorkerConfigDataDiskOutput) FileSystem ¶
func (o ClusterWorkerConfigDataDiskOutput) FileSystem() pulumi.StringPtrOutput
File system, e.g. `ext3/ext4/xfs`.
func (ClusterWorkerConfigDataDiskOutput) KmsKeyId ¶
func (o ClusterWorkerConfigDataDiskOutput) KmsKeyId() pulumi.StringPtrOutput
ID of the custom CMK in the format of UUID or `kms-abcd1234`. This parameter is used to encrypt cloud disks.
func (ClusterWorkerConfigDataDiskOutput) MountTarget ¶
func (o ClusterWorkerConfigDataDiskOutput) MountTarget() pulumi.StringPtrOutput
Mount target.
func (ClusterWorkerConfigDataDiskOutput) SnapshotId ¶
func (o ClusterWorkerConfigDataDiskOutput) SnapshotId() pulumi.StringPtrOutput
Data disk snapshot ID.
func (ClusterWorkerConfigDataDiskOutput) ToClusterWorkerConfigDataDiskOutput ¶
func (o ClusterWorkerConfigDataDiskOutput) ToClusterWorkerConfigDataDiskOutput() ClusterWorkerConfigDataDiskOutput
func (ClusterWorkerConfigDataDiskOutput) ToClusterWorkerConfigDataDiskOutputWithContext ¶
func (o ClusterWorkerConfigDataDiskOutput) ToClusterWorkerConfigDataDiskOutputWithContext(ctx context.Context) ClusterWorkerConfigDataDiskOutput
type ClusterWorkerConfigInput ¶
type ClusterWorkerConfigInput interface { pulumi.Input ToClusterWorkerConfigOutput() ClusterWorkerConfigOutput ToClusterWorkerConfigOutputWithContext(context.Context) ClusterWorkerConfigOutput }
ClusterWorkerConfigInput is an input type that accepts ClusterWorkerConfigArgs and ClusterWorkerConfigOutput values. You can construct a concrete instance of `ClusterWorkerConfigInput` via:
ClusterWorkerConfigArgs{...}
type ClusterWorkerConfigOutput ¶
type ClusterWorkerConfigOutput struct{ *pulumi.OutputState }
func (ClusterWorkerConfigOutput) AvailabilityZone ¶
func (o ClusterWorkerConfigOutput) AvailabilityZone() pulumi.StringPtrOutput
Indicates which availability zone will be used.
func (ClusterWorkerConfigOutput) BandwidthPackageId ¶
func (o ClusterWorkerConfigOutput) BandwidthPackageId() pulumi.StringPtrOutput
bandwidth package id. if user is standard user, then the bandwidthPackageId is needed, or default has bandwidth_package_id.
func (ClusterWorkerConfigOutput) CamRoleName ¶
func (o ClusterWorkerConfigOutput) CamRoleName() pulumi.StringPtrOutput
CAM role name authorized to access.
func (ClusterWorkerConfigOutput) Count ¶
func (o ClusterWorkerConfigOutput) Count() pulumi.IntPtrOutput
Number of cvm.
func (ClusterWorkerConfigOutput) DataDisks ¶
func (o ClusterWorkerConfigOutput) DataDisks() ClusterWorkerConfigDataDiskArrayOutput
Configurations of data disk.
func (ClusterWorkerConfigOutput) DesiredPodNum ¶
func (o ClusterWorkerConfigOutput) DesiredPodNum() pulumi.IntPtrOutput
Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desiredPodNum` or none.
func (ClusterWorkerConfigOutput) DisasterRecoverGroupIds ¶
func (o ClusterWorkerConfigOutput) DisasterRecoverGroupIds() pulumi.StringPtrOutput
Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
func (ClusterWorkerConfigOutput) ElementType ¶
func (ClusterWorkerConfigOutput) ElementType() reflect.Type
func (ClusterWorkerConfigOutput) EnhancedMonitorService ¶
func (o ClusterWorkerConfigOutput) EnhancedMonitorService() pulumi.BoolPtrOutput
To specify whether to enable cloud monitor service. Default is TRUE.
func (ClusterWorkerConfigOutput) EnhancedSecurityService ¶
func (o ClusterWorkerConfigOutput) EnhancedSecurityService() pulumi.BoolPtrOutput
To specify whether to enable cloud security service. Default is TRUE.
func (ClusterWorkerConfigOutput) Hostname ¶
func (o ClusterWorkerConfigOutput) Hostname() pulumi.StringPtrOutput
The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
func (ClusterWorkerConfigOutput) HpcClusterId ¶ added in v0.1.3
func (o ClusterWorkerConfigOutput) HpcClusterId() pulumi.StringPtrOutput
Id of cvm hpc cluster.
func (ClusterWorkerConfigOutput) ImgId ¶
func (o ClusterWorkerConfigOutput) ImgId() pulumi.StringPtrOutput
The valid image id, format of img-xxx.
func (ClusterWorkerConfigOutput) InstanceChargeType ¶
func (o ClusterWorkerConfigOutput) InstanceChargeType() pulumi.StringPtrOutput
The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired.
func (ClusterWorkerConfigOutput) InstanceChargeTypePrepaidPeriod ¶
func (o ClusterWorkerConfigOutput) InstanceChargeTypePrepaidPeriod() pulumi.IntPtrOutput
The tenancy (time unit is month) of the prepaid instance. NOTE: it only works when instanceChargeType is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`.
func (ClusterWorkerConfigOutput) InstanceChargeTypePrepaidRenewFlag ¶
func (o ClusterWorkerConfigOutput) InstanceChargeTypePrepaidRenewFlag() pulumi.StringPtrOutput
Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instanceChargeType is set to `PREPAID`.
func (ClusterWorkerConfigOutput) InstanceName ¶
func (o ClusterWorkerConfigOutput) InstanceName() pulumi.StringPtrOutput
Name of the CVMs.
func (ClusterWorkerConfigOutput) InstanceType ¶
func (o ClusterWorkerConfigOutput) InstanceType() pulumi.StringOutput
Specified types of CVM instance.
func (ClusterWorkerConfigOutput) InternetChargeType ¶
func (o ClusterWorkerConfigOutput) InternetChargeType() pulumi.StringPtrOutput
Charge types for network traffic. Available values include `TRAFFIC_POSTPAID_BY_HOUR`.
func (ClusterWorkerConfigOutput) InternetMaxBandwidthOut ¶
func (o ClusterWorkerConfigOutput) InternetMaxBandwidthOut() pulumi.IntPtrOutput
Max bandwidth of Internet access in Mbps. Default is 0.
func (ClusterWorkerConfigOutput) KeyIds ¶
func (o ClusterWorkerConfigOutput) KeyIds() pulumi.StringPtrOutput
ID list of keys, should be set if `password` not set.
func (ClusterWorkerConfigOutput) Password ¶
func (o ClusterWorkerConfigOutput) Password() pulumi.StringPtrOutput
Password to access, should be set if `keyIds` not set.
func (ClusterWorkerConfigOutput) PublicIpAssigned ¶
func (o ClusterWorkerConfigOutput) PublicIpAssigned() pulumi.BoolPtrOutput
Specify whether to assign an Internet IP address.
func (ClusterWorkerConfigOutput) SecurityGroupIds ¶
func (o ClusterWorkerConfigOutput) SecurityGroupIds() pulumi.StringArrayOutput
Security groups to which a CVM instance belongs.
func (ClusterWorkerConfigOutput) SubnetId ¶
func (o ClusterWorkerConfigOutput) SubnetId() pulumi.StringOutput
Private network ID.
func (ClusterWorkerConfigOutput) SystemDiskSize ¶
func (o ClusterWorkerConfigOutput) SystemDiskSize() pulumi.IntPtrOutput
Volume of system disk in GB. Default is `50`.
func (ClusterWorkerConfigOutput) SystemDiskType ¶
func (o ClusterWorkerConfigOutput) SystemDiskType() pulumi.StringPtrOutput
System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated.
func (ClusterWorkerConfigOutput) ToClusterWorkerConfigOutput ¶
func (o ClusterWorkerConfigOutput) ToClusterWorkerConfigOutput() ClusterWorkerConfigOutput
func (ClusterWorkerConfigOutput) ToClusterWorkerConfigOutputWithContext ¶
func (o ClusterWorkerConfigOutput) ToClusterWorkerConfigOutputWithContext(ctx context.Context) ClusterWorkerConfigOutput
func (ClusterWorkerConfigOutput) UserData ¶
func (o ClusterWorkerConfigOutput) UserData() pulumi.StringPtrOutput
ase64-encoded User Data text, the length limit is 16KB.
type ClusterWorkerInstancesList ¶
type ClusterWorkerInstancesList struct { // Information of the cvm when it is failed. FailedReason *string `pulumi:"failedReason"` // ID of the cvm. InstanceId *string `pulumi:"instanceId"` // Role of the cvm. InstanceRole *string `pulumi:"instanceRole"` // State of the cvm. InstanceState *string `pulumi:"instanceState"` // LAN IP of the cvm. LanIp *string `pulumi:"lanIp"` }
type ClusterWorkerInstancesListArgs ¶
type ClusterWorkerInstancesListArgs struct { // Information of the cvm when it is failed. FailedReason pulumi.StringPtrInput `pulumi:"failedReason"` // ID of the cvm. InstanceId pulumi.StringPtrInput `pulumi:"instanceId"` // Role of the cvm. InstanceRole pulumi.StringPtrInput `pulumi:"instanceRole"` // State of the cvm. InstanceState pulumi.StringPtrInput `pulumi:"instanceState"` // LAN IP of the cvm. LanIp pulumi.StringPtrInput `pulumi:"lanIp"` }
func (ClusterWorkerInstancesListArgs) ElementType ¶
func (ClusterWorkerInstancesListArgs) ElementType() reflect.Type
func (ClusterWorkerInstancesListArgs) ToClusterWorkerInstancesListOutput ¶
func (i ClusterWorkerInstancesListArgs) ToClusterWorkerInstancesListOutput() ClusterWorkerInstancesListOutput
func (ClusterWorkerInstancesListArgs) ToClusterWorkerInstancesListOutputWithContext ¶
func (i ClusterWorkerInstancesListArgs) ToClusterWorkerInstancesListOutputWithContext(ctx context.Context) ClusterWorkerInstancesListOutput
type ClusterWorkerInstancesListArray ¶
type ClusterWorkerInstancesListArray []ClusterWorkerInstancesListInput
func (ClusterWorkerInstancesListArray) ElementType ¶
func (ClusterWorkerInstancesListArray) ElementType() reflect.Type
func (ClusterWorkerInstancesListArray) ToClusterWorkerInstancesListArrayOutput ¶
func (i ClusterWorkerInstancesListArray) ToClusterWorkerInstancesListArrayOutput() ClusterWorkerInstancesListArrayOutput
func (ClusterWorkerInstancesListArray) ToClusterWorkerInstancesListArrayOutputWithContext ¶
func (i ClusterWorkerInstancesListArray) ToClusterWorkerInstancesListArrayOutputWithContext(ctx context.Context) ClusterWorkerInstancesListArrayOutput
type ClusterWorkerInstancesListArrayInput ¶
type ClusterWorkerInstancesListArrayInput interface { pulumi.Input ToClusterWorkerInstancesListArrayOutput() ClusterWorkerInstancesListArrayOutput ToClusterWorkerInstancesListArrayOutputWithContext(context.Context) ClusterWorkerInstancesListArrayOutput }
ClusterWorkerInstancesListArrayInput is an input type that accepts ClusterWorkerInstancesListArray and ClusterWorkerInstancesListArrayOutput values. You can construct a concrete instance of `ClusterWorkerInstancesListArrayInput` via:
ClusterWorkerInstancesListArray{ ClusterWorkerInstancesListArgs{...} }
type ClusterWorkerInstancesListArrayOutput ¶
type ClusterWorkerInstancesListArrayOutput struct{ *pulumi.OutputState }
func (ClusterWorkerInstancesListArrayOutput) ElementType ¶
func (ClusterWorkerInstancesListArrayOutput) ElementType() reflect.Type
func (ClusterWorkerInstancesListArrayOutput) Index ¶
func (o ClusterWorkerInstancesListArrayOutput) Index(i pulumi.IntInput) ClusterWorkerInstancesListOutput
func (ClusterWorkerInstancesListArrayOutput) ToClusterWorkerInstancesListArrayOutput ¶
func (o ClusterWorkerInstancesListArrayOutput) ToClusterWorkerInstancesListArrayOutput() ClusterWorkerInstancesListArrayOutput
func (ClusterWorkerInstancesListArrayOutput) ToClusterWorkerInstancesListArrayOutputWithContext ¶
func (o ClusterWorkerInstancesListArrayOutput) ToClusterWorkerInstancesListArrayOutputWithContext(ctx context.Context) ClusterWorkerInstancesListArrayOutput
type ClusterWorkerInstancesListInput ¶
type ClusterWorkerInstancesListInput interface { pulumi.Input ToClusterWorkerInstancesListOutput() ClusterWorkerInstancesListOutput ToClusterWorkerInstancesListOutputWithContext(context.Context) ClusterWorkerInstancesListOutput }
ClusterWorkerInstancesListInput is an input type that accepts ClusterWorkerInstancesListArgs and ClusterWorkerInstancesListOutput values. You can construct a concrete instance of `ClusterWorkerInstancesListInput` via:
ClusterWorkerInstancesListArgs{...}
type ClusterWorkerInstancesListOutput ¶
type ClusterWorkerInstancesListOutput struct{ *pulumi.OutputState }
func (ClusterWorkerInstancesListOutput) ElementType ¶
func (ClusterWorkerInstancesListOutput) ElementType() reflect.Type
func (ClusterWorkerInstancesListOutput) FailedReason ¶
func (o ClusterWorkerInstancesListOutput) FailedReason() pulumi.StringPtrOutput
Information of the cvm when it is failed.
func (ClusterWorkerInstancesListOutput) InstanceId ¶
func (o ClusterWorkerInstancesListOutput) InstanceId() pulumi.StringPtrOutput
ID of the cvm.
func (ClusterWorkerInstancesListOutput) InstanceRole ¶
func (o ClusterWorkerInstancesListOutput) InstanceRole() pulumi.StringPtrOutput
Role of the cvm.
func (ClusterWorkerInstancesListOutput) InstanceState ¶
func (o ClusterWorkerInstancesListOutput) InstanceState() pulumi.StringPtrOutput
State of the cvm.
func (ClusterWorkerInstancesListOutput) LanIp ¶
func (o ClusterWorkerInstancesListOutput) LanIp() pulumi.StringPtrOutput
LAN IP of the cvm.
func (ClusterWorkerInstancesListOutput) ToClusterWorkerInstancesListOutput ¶
func (o ClusterWorkerInstancesListOutput) ToClusterWorkerInstancesListOutput() ClusterWorkerInstancesListOutput
func (ClusterWorkerInstancesListOutput) ToClusterWorkerInstancesListOutputWithContext ¶
func (o ClusterWorkerInstancesListOutput) ToClusterWorkerInstancesListOutputWithContext(ctx context.Context) ClusterWorkerInstancesListOutput
type GetAvailableClusterVersionsArgs ¶ added in v0.1.3
type GetAvailableClusterVersionsArgs struct { // Cluster Id. ClusterId *string `pulumi:"clusterId"` // list of cluster IDs. ClusterIds []string `pulumi:"clusterIds"` // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getAvailableClusterVersions.
type GetAvailableClusterVersionsCluster ¶ added in v0.1.3
type GetAvailableClusterVersionsClusterArgs ¶ added in v0.1.3
type GetAvailableClusterVersionsClusterArgs struct { // Cluster Id. ClusterId pulumi.StringInput `pulumi:"clusterId"` // Upgradable cluster version number. Note: This field may return null, indicating that no valid value can be obtained. Versions pulumi.StringArrayInput `pulumi:"versions"` }
func (GetAvailableClusterVersionsClusterArgs) ElementType ¶ added in v0.1.3
func (GetAvailableClusterVersionsClusterArgs) ElementType() reflect.Type
func (GetAvailableClusterVersionsClusterArgs) ToGetAvailableClusterVersionsClusterOutput ¶ added in v0.1.3
func (i GetAvailableClusterVersionsClusterArgs) ToGetAvailableClusterVersionsClusterOutput() GetAvailableClusterVersionsClusterOutput
func (GetAvailableClusterVersionsClusterArgs) ToGetAvailableClusterVersionsClusterOutputWithContext ¶ added in v0.1.3
func (i GetAvailableClusterVersionsClusterArgs) ToGetAvailableClusterVersionsClusterOutputWithContext(ctx context.Context) GetAvailableClusterVersionsClusterOutput
type GetAvailableClusterVersionsClusterArray ¶ added in v0.1.3
type GetAvailableClusterVersionsClusterArray []GetAvailableClusterVersionsClusterInput
func (GetAvailableClusterVersionsClusterArray) ElementType ¶ added in v0.1.3
func (GetAvailableClusterVersionsClusterArray) ElementType() reflect.Type
func (GetAvailableClusterVersionsClusterArray) ToGetAvailableClusterVersionsClusterArrayOutput ¶ added in v0.1.3
func (i GetAvailableClusterVersionsClusterArray) ToGetAvailableClusterVersionsClusterArrayOutput() GetAvailableClusterVersionsClusterArrayOutput
func (GetAvailableClusterVersionsClusterArray) ToGetAvailableClusterVersionsClusterArrayOutputWithContext ¶ added in v0.1.3
func (i GetAvailableClusterVersionsClusterArray) ToGetAvailableClusterVersionsClusterArrayOutputWithContext(ctx context.Context) GetAvailableClusterVersionsClusterArrayOutput
type GetAvailableClusterVersionsClusterArrayInput ¶ added in v0.1.3
type GetAvailableClusterVersionsClusterArrayInput interface { pulumi.Input ToGetAvailableClusterVersionsClusterArrayOutput() GetAvailableClusterVersionsClusterArrayOutput ToGetAvailableClusterVersionsClusterArrayOutputWithContext(context.Context) GetAvailableClusterVersionsClusterArrayOutput }
GetAvailableClusterVersionsClusterArrayInput is an input type that accepts GetAvailableClusterVersionsClusterArray and GetAvailableClusterVersionsClusterArrayOutput values. You can construct a concrete instance of `GetAvailableClusterVersionsClusterArrayInput` via:
GetAvailableClusterVersionsClusterArray{ GetAvailableClusterVersionsClusterArgs{...} }
type GetAvailableClusterVersionsClusterArrayOutput ¶ added in v0.1.3
type GetAvailableClusterVersionsClusterArrayOutput struct{ *pulumi.OutputState }
func (GetAvailableClusterVersionsClusterArrayOutput) ElementType ¶ added in v0.1.3
func (GetAvailableClusterVersionsClusterArrayOutput) ElementType() reflect.Type
func (GetAvailableClusterVersionsClusterArrayOutput) ToGetAvailableClusterVersionsClusterArrayOutput ¶ added in v0.1.3
func (o GetAvailableClusterVersionsClusterArrayOutput) ToGetAvailableClusterVersionsClusterArrayOutput() GetAvailableClusterVersionsClusterArrayOutput
func (GetAvailableClusterVersionsClusterArrayOutput) ToGetAvailableClusterVersionsClusterArrayOutputWithContext ¶ added in v0.1.3
func (o GetAvailableClusterVersionsClusterArrayOutput) ToGetAvailableClusterVersionsClusterArrayOutputWithContext(ctx context.Context) GetAvailableClusterVersionsClusterArrayOutput
type GetAvailableClusterVersionsClusterInput ¶ added in v0.1.3
type GetAvailableClusterVersionsClusterInput interface { pulumi.Input ToGetAvailableClusterVersionsClusterOutput() GetAvailableClusterVersionsClusterOutput ToGetAvailableClusterVersionsClusterOutputWithContext(context.Context) GetAvailableClusterVersionsClusterOutput }
GetAvailableClusterVersionsClusterInput is an input type that accepts GetAvailableClusterVersionsClusterArgs and GetAvailableClusterVersionsClusterOutput values. You can construct a concrete instance of `GetAvailableClusterVersionsClusterInput` via:
GetAvailableClusterVersionsClusterArgs{...}
type GetAvailableClusterVersionsClusterOutput ¶ added in v0.1.3
type GetAvailableClusterVersionsClusterOutput struct{ *pulumi.OutputState }
func (GetAvailableClusterVersionsClusterOutput) ClusterId ¶ added in v0.1.3
func (o GetAvailableClusterVersionsClusterOutput) ClusterId() pulumi.StringOutput
Cluster Id.
func (GetAvailableClusterVersionsClusterOutput) ElementType ¶ added in v0.1.3
func (GetAvailableClusterVersionsClusterOutput) ElementType() reflect.Type
func (GetAvailableClusterVersionsClusterOutput) ToGetAvailableClusterVersionsClusterOutput ¶ added in v0.1.3
func (o GetAvailableClusterVersionsClusterOutput) ToGetAvailableClusterVersionsClusterOutput() GetAvailableClusterVersionsClusterOutput
func (GetAvailableClusterVersionsClusterOutput) ToGetAvailableClusterVersionsClusterOutputWithContext ¶ added in v0.1.3
func (o GetAvailableClusterVersionsClusterOutput) ToGetAvailableClusterVersionsClusterOutputWithContext(ctx context.Context) GetAvailableClusterVersionsClusterOutput
func (GetAvailableClusterVersionsClusterOutput) Versions ¶ added in v0.1.3
func (o GetAvailableClusterVersionsClusterOutput) Versions() pulumi.StringArrayOutput
Upgradable cluster version number. Note: This field may return null, indicating that no valid value can be obtained.
type GetAvailableClusterVersionsOutputArgs ¶ added in v0.1.3
type GetAvailableClusterVersionsOutputArgs struct { // Cluster Id. ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` // list of cluster IDs. ClusterIds pulumi.StringArrayInput `pulumi:"clusterIds"` // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getAvailableClusterVersions.
func (GetAvailableClusterVersionsOutputArgs) ElementType ¶ added in v0.1.3
func (GetAvailableClusterVersionsOutputArgs) ElementType() reflect.Type
type GetAvailableClusterVersionsResult ¶ added in v0.1.3
type GetAvailableClusterVersionsResult struct { // Cluster ID. ClusterId *string `pulumi:"clusterId"` ClusterIds []string `pulumi:"clusterIds"` // cluster information. Note: This field may return null, indicating that no valid value can be obtained. Clusters []GetAvailableClusterVersionsCluster `pulumi:"clusters"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` ResultOutputFile *string `pulumi:"resultOutputFile"` // Upgradable cluster version number. Note: This field may return null, indicating that no valid value can be obtained. Versions []string `pulumi:"versions"` }
A collection of values returned by getAvailableClusterVersions.
func GetAvailableClusterVersions ¶ added in v0.1.3
func GetAvailableClusterVersions(ctx *pulumi.Context, args *GetAvailableClusterVersionsArgs, opts ...pulumi.InvokeOption) (*GetAvailableClusterVersionsResult, error)
Use this data source to query detailed information of kubernetes availableClusterVersions
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { queryById, err := Kubernetes.GetAvailableClusterVersions(ctx, &kubernetes.GetAvailableClusterVersionsArgs{ ClusterId: pulumi.StringRef("xxx"), }, nil) if err != nil { return err } ctx.Export("versionsId", queryById.Versions) queryByIds, err := Kubernetes.GetAvailableClusterVersions(ctx, &kubernetes.GetAvailableClusterVersionsArgs{ ClusterIds: []string{ "xxx", }, }, nil) if err != nil { return err } ctx.Export("versionsIds", queryByIds.Clusters) return nil }) }
```
type GetAvailableClusterVersionsResultOutput ¶ added in v0.1.3
type GetAvailableClusterVersionsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAvailableClusterVersions.
func GetAvailableClusterVersionsOutput ¶ added in v0.1.3
func GetAvailableClusterVersionsOutput(ctx *pulumi.Context, args GetAvailableClusterVersionsOutputArgs, opts ...pulumi.InvokeOption) GetAvailableClusterVersionsResultOutput
func (GetAvailableClusterVersionsResultOutput) ClusterId ¶ added in v0.1.3
func (o GetAvailableClusterVersionsResultOutput) ClusterId() pulumi.StringPtrOutput
Cluster ID.
func (GetAvailableClusterVersionsResultOutput) ClusterIds ¶ added in v0.1.3
func (o GetAvailableClusterVersionsResultOutput) ClusterIds() pulumi.StringArrayOutput
func (GetAvailableClusterVersionsResultOutput) Clusters ¶ added in v0.1.3
func (o GetAvailableClusterVersionsResultOutput) Clusters() GetAvailableClusterVersionsClusterArrayOutput
cluster information. Note: This field may return null, indicating that no valid value can be obtained.
func (GetAvailableClusterVersionsResultOutput) ElementType ¶ added in v0.1.3
func (GetAvailableClusterVersionsResultOutput) ElementType() reflect.Type
func (GetAvailableClusterVersionsResultOutput) Id ¶ added in v0.1.3
func (o GetAvailableClusterVersionsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetAvailableClusterVersionsResultOutput) ResultOutputFile ¶ added in v0.1.3
func (o GetAvailableClusterVersionsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetAvailableClusterVersionsResultOutput) ToGetAvailableClusterVersionsResultOutput ¶ added in v0.1.3
func (o GetAvailableClusterVersionsResultOutput) ToGetAvailableClusterVersionsResultOutput() GetAvailableClusterVersionsResultOutput
func (GetAvailableClusterVersionsResultOutput) ToGetAvailableClusterVersionsResultOutputWithContext ¶ added in v0.1.3
func (o GetAvailableClusterVersionsResultOutput) ToGetAvailableClusterVersionsResultOutputWithContext(ctx context.Context) GetAvailableClusterVersionsResultOutput
func (GetAvailableClusterVersionsResultOutput) Versions ¶ added in v0.1.3
func (o GetAvailableClusterVersionsResultOutput) Versions() pulumi.StringArrayOutput
Upgradable cluster version number. Note: This field may return null, indicating that no valid value can be obtained.
type GetChartsArgs ¶
type GetChartsArgs struct { // Operation system app supported. Available values: `arm32`, `arm64`, `amd64`. Arch *string `pulumi:"arch"` // Cluster type. Available values: `tke`, `eks`. ClusterType *string `pulumi:"clusterType"` // Kind of app chart. Available values: `log`, `scheduler`, `network`, `storage`, `monitor`, `dns`, `image`, `other`, `invisible`. Kind *string `pulumi:"kind"` // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getCharts.
type GetChartsChartList ¶
type GetChartsChartListArgs ¶
type GetChartsChartListArgs struct { // Label of chart. Label pulumi.MapInput `pulumi:"label"` // Chart latest version. LatestVersion pulumi.StringInput `pulumi:"latestVersion"` // Name of chart. Name pulumi.StringInput `pulumi:"name"` }
func (GetChartsChartListArgs) ElementType ¶
func (GetChartsChartListArgs) ElementType() reflect.Type
func (GetChartsChartListArgs) ToGetChartsChartListOutput ¶
func (i GetChartsChartListArgs) ToGetChartsChartListOutput() GetChartsChartListOutput
func (GetChartsChartListArgs) ToGetChartsChartListOutputWithContext ¶
func (i GetChartsChartListArgs) ToGetChartsChartListOutputWithContext(ctx context.Context) GetChartsChartListOutput
type GetChartsChartListArray ¶
type GetChartsChartListArray []GetChartsChartListInput
func (GetChartsChartListArray) ElementType ¶
func (GetChartsChartListArray) ElementType() reflect.Type
func (GetChartsChartListArray) ToGetChartsChartListArrayOutput ¶
func (i GetChartsChartListArray) ToGetChartsChartListArrayOutput() GetChartsChartListArrayOutput
func (GetChartsChartListArray) ToGetChartsChartListArrayOutputWithContext ¶
func (i GetChartsChartListArray) ToGetChartsChartListArrayOutputWithContext(ctx context.Context) GetChartsChartListArrayOutput
type GetChartsChartListArrayInput ¶
type GetChartsChartListArrayInput interface { pulumi.Input ToGetChartsChartListArrayOutput() GetChartsChartListArrayOutput ToGetChartsChartListArrayOutputWithContext(context.Context) GetChartsChartListArrayOutput }
GetChartsChartListArrayInput is an input type that accepts GetChartsChartListArray and GetChartsChartListArrayOutput values. You can construct a concrete instance of `GetChartsChartListArrayInput` via:
GetChartsChartListArray{ GetChartsChartListArgs{...} }
type GetChartsChartListArrayOutput ¶
type GetChartsChartListArrayOutput struct{ *pulumi.OutputState }
func (GetChartsChartListArrayOutput) ElementType ¶
func (GetChartsChartListArrayOutput) ElementType() reflect.Type
func (GetChartsChartListArrayOutput) Index ¶
func (o GetChartsChartListArrayOutput) Index(i pulumi.IntInput) GetChartsChartListOutput
func (GetChartsChartListArrayOutput) ToGetChartsChartListArrayOutput ¶
func (o GetChartsChartListArrayOutput) ToGetChartsChartListArrayOutput() GetChartsChartListArrayOutput
func (GetChartsChartListArrayOutput) ToGetChartsChartListArrayOutputWithContext ¶
func (o GetChartsChartListArrayOutput) ToGetChartsChartListArrayOutputWithContext(ctx context.Context) GetChartsChartListArrayOutput
type GetChartsChartListInput ¶
type GetChartsChartListInput interface { pulumi.Input ToGetChartsChartListOutput() GetChartsChartListOutput ToGetChartsChartListOutputWithContext(context.Context) GetChartsChartListOutput }
GetChartsChartListInput is an input type that accepts GetChartsChartListArgs and GetChartsChartListOutput values. You can construct a concrete instance of `GetChartsChartListInput` via:
GetChartsChartListArgs{...}
type GetChartsChartListOutput ¶
type GetChartsChartListOutput struct{ *pulumi.OutputState }
func (GetChartsChartListOutput) ElementType ¶
func (GetChartsChartListOutput) ElementType() reflect.Type
func (GetChartsChartListOutput) Label ¶
func (o GetChartsChartListOutput) Label() pulumi.MapOutput
Label of chart.
func (GetChartsChartListOutput) LatestVersion ¶
func (o GetChartsChartListOutput) LatestVersion() pulumi.StringOutput
Chart latest version.
func (GetChartsChartListOutput) Name ¶
func (o GetChartsChartListOutput) Name() pulumi.StringOutput
Name of chart.
func (GetChartsChartListOutput) ToGetChartsChartListOutput ¶
func (o GetChartsChartListOutput) ToGetChartsChartListOutput() GetChartsChartListOutput
func (GetChartsChartListOutput) ToGetChartsChartListOutputWithContext ¶
func (o GetChartsChartListOutput) ToGetChartsChartListOutputWithContext(ctx context.Context) GetChartsChartListOutput
type GetChartsOutputArgs ¶
type GetChartsOutputArgs struct { // Operation system app supported. Available values: `arm32`, `arm64`, `amd64`. Arch pulumi.StringPtrInput `pulumi:"arch"` // Cluster type. Available values: `tke`, `eks`. ClusterType pulumi.StringPtrInput `pulumi:"clusterType"` // Kind of app chart. Available values: `log`, `scheduler`, `network`, `storage`, `monitor`, `dns`, `image`, `other`, `invisible`. Kind pulumi.StringPtrInput `pulumi:"kind"` // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getCharts.
func (GetChartsOutputArgs) ElementType ¶
func (GetChartsOutputArgs) ElementType() reflect.Type
type GetChartsResult ¶
type GetChartsResult struct { Arch *string `pulumi:"arch"` // App chart list. ChartLists []GetChartsChartList `pulumi:"chartLists"` ClusterType *string `pulumi:"clusterType"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Kind *string `pulumi:"kind"` ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of values returned by getCharts.
func GetCharts ¶
func GetCharts(ctx *pulumi.Context, args *GetChartsArgs, opts ...pulumi.InvokeOption) (*GetChartsResult, error)
Use this data source to query detailed information of kubernetes cluster addons.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Kubernetes.GetCharts(ctx, nil, nil) if err != nil { return err } return nil }) }
```
type GetChartsResultOutput ¶
type GetChartsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCharts.
func GetChartsOutput ¶
func GetChartsOutput(ctx *pulumi.Context, args GetChartsOutputArgs, opts ...pulumi.InvokeOption) GetChartsResultOutput
func (GetChartsResultOutput) Arch ¶
func (o GetChartsResultOutput) Arch() pulumi.StringPtrOutput
func (GetChartsResultOutput) ChartLists ¶
func (o GetChartsResultOutput) ChartLists() GetChartsChartListArrayOutput
App chart list.
func (GetChartsResultOutput) ClusterType ¶
func (o GetChartsResultOutput) ClusterType() pulumi.StringPtrOutput
func (GetChartsResultOutput) ElementType ¶
func (GetChartsResultOutput) ElementType() reflect.Type
func (GetChartsResultOutput) Id ¶
func (o GetChartsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetChartsResultOutput) Kind ¶
func (o GetChartsResultOutput) Kind() pulumi.StringPtrOutput
func (GetChartsResultOutput) ResultOutputFile ¶
func (o GetChartsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetChartsResultOutput) ToGetChartsResultOutput ¶
func (o GetChartsResultOutput) ToGetChartsResultOutput() GetChartsResultOutput
func (GetChartsResultOutput) ToGetChartsResultOutputWithContext ¶
func (o GetChartsResultOutput) ToGetChartsResultOutputWithContext(ctx context.Context) GetChartsResultOutput
type GetClusterCommonNamesArgs ¶
type GetClusterCommonNamesArgs struct { // Cluster ID. ClusterId *string `pulumi:"clusterId"` // Used for save result. ResultOutputFile *string `pulumi:"resultOutputFile"` // List of Role ID. Up to 50 sub-accounts can be passed in at a time. RoleIds []string `pulumi:"roleIds"` // List of sub-account. Up to 50 sub-accounts can be passed in at a time. SubaccountUins []string `pulumi:"subaccountUins"` }
A collection of arguments for invoking getClusterCommonNames.
type GetClusterCommonNamesListArgs ¶
type GetClusterCommonNamesListArgs struct { // The CommonName in the certificate of the client corresponding to the sub-account. CommonNames pulumi.StringInput `pulumi:"commonNames"` // User UIN. SubaccountUin pulumi.StringInput `pulumi:"subaccountUin"` }
func (GetClusterCommonNamesListArgs) ElementType ¶
func (GetClusterCommonNamesListArgs) ElementType() reflect.Type
func (GetClusterCommonNamesListArgs) ToGetClusterCommonNamesListOutput ¶
func (i GetClusterCommonNamesListArgs) ToGetClusterCommonNamesListOutput() GetClusterCommonNamesListOutput
func (GetClusterCommonNamesListArgs) ToGetClusterCommonNamesListOutputWithContext ¶
func (i GetClusterCommonNamesListArgs) ToGetClusterCommonNamesListOutputWithContext(ctx context.Context) GetClusterCommonNamesListOutput
type GetClusterCommonNamesListArray ¶
type GetClusterCommonNamesListArray []GetClusterCommonNamesListInput
func (GetClusterCommonNamesListArray) ElementType ¶
func (GetClusterCommonNamesListArray) ElementType() reflect.Type
func (GetClusterCommonNamesListArray) ToGetClusterCommonNamesListArrayOutput ¶
func (i GetClusterCommonNamesListArray) ToGetClusterCommonNamesListArrayOutput() GetClusterCommonNamesListArrayOutput
func (GetClusterCommonNamesListArray) ToGetClusterCommonNamesListArrayOutputWithContext ¶
func (i GetClusterCommonNamesListArray) ToGetClusterCommonNamesListArrayOutputWithContext(ctx context.Context) GetClusterCommonNamesListArrayOutput
type GetClusterCommonNamesListArrayInput ¶
type GetClusterCommonNamesListArrayInput interface { pulumi.Input ToGetClusterCommonNamesListArrayOutput() GetClusterCommonNamesListArrayOutput ToGetClusterCommonNamesListArrayOutputWithContext(context.Context) GetClusterCommonNamesListArrayOutput }
GetClusterCommonNamesListArrayInput is an input type that accepts GetClusterCommonNamesListArray and GetClusterCommonNamesListArrayOutput values. You can construct a concrete instance of `GetClusterCommonNamesListArrayInput` via:
GetClusterCommonNamesListArray{ GetClusterCommonNamesListArgs{...} }
type GetClusterCommonNamesListArrayOutput ¶
type GetClusterCommonNamesListArrayOutput struct{ *pulumi.OutputState }
func (GetClusterCommonNamesListArrayOutput) ElementType ¶
func (GetClusterCommonNamesListArrayOutput) ElementType() reflect.Type
func (GetClusterCommonNamesListArrayOutput) Index ¶
func (o GetClusterCommonNamesListArrayOutput) Index(i pulumi.IntInput) GetClusterCommonNamesListOutput
func (GetClusterCommonNamesListArrayOutput) ToGetClusterCommonNamesListArrayOutput ¶
func (o GetClusterCommonNamesListArrayOutput) ToGetClusterCommonNamesListArrayOutput() GetClusterCommonNamesListArrayOutput
func (GetClusterCommonNamesListArrayOutput) ToGetClusterCommonNamesListArrayOutputWithContext ¶
func (o GetClusterCommonNamesListArrayOutput) ToGetClusterCommonNamesListArrayOutputWithContext(ctx context.Context) GetClusterCommonNamesListArrayOutput
type GetClusterCommonNamesListInput ¶
type GetClusterCommonNamesListInput interface { pulumi.Input ToGetClusterCommonNamesListOutput() GetClusterCommonNamesListOutput ToGetClusterCommonNamesListOutputWithContext(context.Context) GetClusterCommonNamesListOutput }
GetClusterCommonNamesListInput is an input type that accepts GetClusterCommonNamesListArgs and GetClusterCommonNamesListOutput values. You can construct a concrete instance of `GetClusterCommonNamesListInput` via:
GetClusterCommonNamesListArgs{...}
type GetClusterCommonNamesListOutput ¶
type GetClusterCommonNamesListOutput struct{ *pulumi.OutputState }
func (GetClusterCommonNamesListOutput) CommonNames ¶
func (o GetClusterCommonNamesListOutput) CommonNames() pulumi.StringOutput
The CommonName in the certificate of the client corresponding to the sub-account.
func (GetClusterCommonNamesListOutput) ElementType ¶
func (GetClusterCommonNamesListOutput) ElementType() reflect.Type
func (GetClusterCommonNamesListOutput) SubaccountUin ¶
func (o GetClusterCommonNamesListOutput) SubaccountUin() pulumi.StringOutput
User UIN.
func (GetClusterCommonNamesListOutput) ToGetClusterCommonNamesListOutput ¶
func (o GetClusterCommonNamesListOutput) ToGetClusterCommonNamesListOutput() GetClusterCommonNamesListOutput
func (GetClusterCommonNamesListOutput) ToGetClusterCommonNamesListOutputWithContext ¶
func (o GetClusterCommonNamesListOutput) ToGetClusterCommonNamesListOutputWithContext(ctx context.Context) GetClusterCommonNamesListOutput
type GetClusterCommonNamesOutputArgs ¶
type GetClusterCommonNamesOutputArgs struct { // Cluster ID. ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` // Used for save result. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` // List of Role ID. Up to 50 sub-accounts can be passed in at a time. RoleIds pulumi.StringArrayInput `pulumi:"roleIds"` // List of sub-account. Up to 50 sub-accounts can be passed in at a time. SubaccountUins pulumi.StringArrayInput `pulumi:"subaccountUins"` }
A collection of arguments for invoking getClusterCommonNames.
func (GetClusterCommonNamesOutputArgs) ElementType ¶
func (GetClusterCommonNamesOutputArgs) ElementType() reflect.Type
type GetClusterCommonNamesResult ¶
type GetClusterCommonNamesResult struct { ClusterId *string `pulumi:"clusterId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // List of the CommonName in the certificate of the client corresponding to the sub-account UIN. Lists []GetClusterCommonNamesList `pulumi:"lists"` ResultOutputFile *string `pulumi:"resultOutputFile"` RoleIds []string `pulumi:"roleIds"` SubaccountUins []string `pulumi:"subaccountUins"` }
A collection of values returned by getClusterCommonNames.
func GetClusterCommonNames ¶
func GetClusterCommonNames(ctx *pulumi.Context, args *GetClusterCommonNamesArgs, opts ...pulumi.InvokeOption) (*GetClusterCommonNamesResult, error)
Provide a datasource to query cluster CommonNames.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Kubernetes.GetClusterCommonNames(ctx, &kubernetes.GetClusterCommonNamesArgs{ ClusterId: pulumi.StringRef("cls-12345678"), SubaccountUins: []string{ "1234567890", "0987654321", }, }, nil) if err != nil { return err } return nil }) }
```
type GetClusterCommonNamesResultOutput ¶
type GetClusterCommonNamesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getClusterCommonNames.
func GetClusterCommonNamesOutput ¶
func GetClusterCommonNamesOutput(ctx *pulumi.Context, args GetClusterCommonNamesOutputArgs, opts ...pulumi.InvokeOption) GetClusterCommonNamesResultOutput
func (GetClusterCommonNamesResultOutput) ClusterId ¶
func (o GetClusterCommonNamesResultOutput) ClusterId() pulumi.StringPtrOutput
func (GetClusterCommonNamesResultOutput) ElementType ¶
func (GetClusterCommonNamesResultOutput) ElementType() reflect.Type
func (GetClusterCommonNamesResultOutput) Id ¶
func (o GetClusterCommonNamesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetClusterCommonNamesResultOutput) Lists ¶
func (o GetClusterCommonNamesResultOutput) Lists() GetClusterCommonNamesListArrayOutput
List of the CommonName in the certificate of the client corresponding to the sub-account UIN.
func (GetClusterCommonNamesResultOutput) ResultOutputFile ¶
func (o GetClusterCommonNamesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetClusterCommonNamesResultOutput) RoleIds ¶
func (o GetClusterCommonNamesResultOutput) RoleIds() pulumi.StringArrayOutput
func (GetClusterCommonNamesResultOutput) SubaccountUins ¶
func (o GetClusterCommonNamesResultOutput) SubaccountUins() pulumi.StringArrayOutput
func (GetClusterCommonNamesResultOutput) ToGetClusterCommonNamesResultOutput ¶
func (o GetClusterCommonNamesResultOutput) ToGetClusterCommonNamesResultOutput() GetClusterCommonNamesResultOutput
func (GetClusterCommonNamesResultOutput) ToGetClusterCommonNamesResultOutputWithContext ¶
func (o GetClusterCommonNamesResultOutput) ToGetClusterCommonNamesResultOutputWithContext(ctx context.Context) GetClusterCommonNamesResultOutput
type GetClusterLevelsArgs ¶
type GetClusterLevelsArgs struct { // Specify cluster Id, if set will only query current cluster's available levels. ClusterId *string `pulumi:"clusterId"` // Used for save result. ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getClusterLevels.
type GetClusterLevelsList ¶
type GetClusterLevelsList struct { // Alias used for pass to cluster level arguments. Alias string `pulumi:"alias"` // Number of ConfigMaps. ConfigMapCount int `pulumi:"configMapCount"` // Number of CRDs. CrdCount int `pulumi:"crdCount"` // Indicates whether the current level enabled. Enable bool `pulumi:"enable"` // Level name. Name string `pulumi:"name"` // Number of nodes. NodeCount int `pulumi:"nodeCount"` // Number of others. OtherCount int `pulumi:"otherCount"` // Number of pods. PodCount int `pulumi:"podCount"` }
type GetClusterLevelsListArgs ¶
type GetClusterLevelsListArgs struct { // Alias used for pass to cluster level arguments. Alias pulumi.StringInput `pulumi:"alias"` // Number of ConfigMaps. ConfigMapCount pulumi.IntInput `pulumi:"configMapCount"` // Number of CRDs. CrdCount pulumi.IntInput `pulumi:"crdCount"` // Indicates whether the current level enabled. Enable pulumi.BoolInput `pulumi:"enable"` // Level name. Name pulumi.StringInput `pulumi:"name"` // Number of nodes. NodeCount pulumi.IntInput `pulumi:"nodeCount"` // Number of others. OtherCount pulumi.IntInput `pulumi:"otherCount"` // Number of pods. PodCount pulumi.IntInput `pulumi:"podCount"` }
func (GetClusterLevelsListArgs) ElementType ¶
func (GetClusterLevelsListArgs) ElementType() reflect.Type
func (GetClusterLevelsListArgs) ToGetClusterLevelsListOutput ¶
func (i GetClusterLevelsListArgs) ToGetClusterLevelsListOutput() GetClusterLevelsListOutput
func (GetClusterLevelsListArgs) ToGetClusterLevelsListOutputWithContext ¶
func (i GetClusterLevelsListArgs) ToGetClusterLevelsListOutputWithContext(ctx context.Context) GetClusterLevelsListOutput
type GetClusterLevelsListArray ¶
type GetClusterLevelsListArray []GetClusterLevelsListInput
func (GetClusterLevelsListArray) ElementType ¶
func (GetClusterLevelsListArray) ElementType() reflect.Type
func (GetClusterLevelsListArray) ToGetClusterLevelsListArrayOutput ¶
func (i GetClusterLevelsListArray) ToGetClusterLevelsListArrayOutput() GetClusterLevelsListArrayOutput
func (GetClusterLevelsListArray) ToGetClusterLevelsListArrayOutputWithContext ¶
func (i GetClusterLevelsListArray) ToGetClusterLevelsListArrayOutputWithContext(ctx context.Context) GetClusterLevelsListArrayOutput
type GetClusterLevelsListArrayInput ¶
type GetClusterLevelsListArrayInput interface { pulumi.Input ToGetClusterLevelsListArrayOutput() GetClusterLevelsListArrayOutput ToGetClusterLevelsListArrayOutputWithContext(context.Context) GetClusterLevelsListArrayOutput }
GetClusterLevelsListArrayInput is an input type that accepts GetClusterLevelsListArray and GetClusterLevelsListArrayOutput values. You can construct a concrete instance of `GetClusterLevelsListArrayInput` via:
GetClusterLevelsListArray{ GetClusterLevelsListArgs{...} }
type GetClusterLevelsListArrayOutput ¶
type GetClusterLevelsListArrayOutput struct{ *pulumi.OutputState }
func (GetClusterLevelsListArrayOutput) ElementType ¶
func (GetClusterLevelsListArrayOutput) ElementType() reflect.Type
func (GetClusterLevelsListArrayOutput) Index ¶
func (o GetClusterLevelsListArrayOutput) Index(i pulumi.IntInput) GetClusterLevelsListOutput
func (GetClusterLevelsListArrayOutput) ToGetClusterLevelsListArrayOutput ¶
func (o GetClusterLevelsListArrayOutput) ToGetClusterLevelsListArrayOutput() GetClusterLevelsListArrayOutput
func (GetClusterLevelsListArrayOutput) ToGetClusterLevelsListArrayOutputWithContext ¶
func (o GetClusterLevelsListArrayOutput) ToGetClusterLevelsListArrayOutputWithContext(ctx context.Context) GetClusterLevelsListArrayOutput
type GetClusterLevelsListInput ¶
type GetClusterLevelsListInput interface { pulumi.Input ToGetClusterLevelsListOutput() GetClusterLevelsListOutput ToGetClusterLevelsListOutputWithContext(context.Context) GetClusterLevelsListOutput }
GetClusterLevelsListInput is an input type that accepts GetClusterLevelsListArgs and GetClusterLevelsListOutput values. You can construct a concrete instance of `GetClusterLevelsListInput` via:
GetClusterLevelsListArgs{...}
type GetClusterLevelsListOutput ¶
type GetClusterLevelsListOutput struct{ *pulumi.OutputState }
func (GetClusterLevelsListOutput) Alias ¶
func (o GetClusterLevelsListOutput) Alias() pulumi.StringOutput
Alias used for pass to cluster level arguments.
func (GetClusterLevelsListOutput) ConfigMapCount ¶
func (o GetClusterLevelsListOutput) ConfigMapCount() pulumi.IntOutput
Number of ConfigMaps.
func (GetClusterLevelsListOutput) CrdCount ¶
func (o GetClusterLevelsListOutput) CrdCount() pulumi.IntOutput
Number of CRDs.
func (GetClusterLevelsListOutput) ElementType ¶
func (GetClusterLevelsListOutput) ElementType() reflect.Type
func (GetClusterLevelsListOutput) Enable ¶
func (o GetClusterLevelsListOutput) Enable() pulumi.BoolOutput
Indicates whether the current level enabled.
func (GetClusterLevelsListOutput) Name ¶
func (o GetClusterLevelsListOutput) Name() pulumi.StringOutput
Level name.
func (GetClusterLevelsListOutput) NodeCount ¶
func (o GetClusterLevelsListOutput) NodeCount() pulumi.IntOutput
Number of nodes.
func (GetClusterLevelsListOutput) OtherCount ¶
func (o GetClusterLevelsListOutput) OtherCount() pulumi.IntOutput
Number of others.
func (GetClusterLevelsListOutput) PodCount ¶
func (o GetClusterLevelsListOutput) PodCount() pulumi.IntOutput
Number of pods.
func (GetClusterLevelsListOutput) ToGetClusterLevelsListOutput ¶
func (o GetClusterLevelsListOutput) ToGetClusterLevelsListOutput() GetClusterLevelsListOutput
func (GetClusterLevelsListOutput) ToGetClusterLevelsListOutputWithContext ¶
func (o GetClusterLevelsListOutput) ToGetClusterLevelsListOutputWithContext(ctx context.Context) GetClusterLevelsListOutput
type GetClusterLevelsOutputArgs ¶
type GetClusterLevelsOutputArgs struct { // Specify cluster Id, if set will only query current cluster's available levels. ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` // Used for save result. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getClusterLevels.
func (GetClusterLevelsOutputArgs) ElementType ¶
func (GetClusterLevelsOutputArgs) ElementType() reflect.Type
type GetClusterLevelsResult ¶
type GetClusterLevelsResult struct { ClusterId *string `pulumi:"clusterId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // List of level information. Lists []GetClusterLevelsList `pulumi:"lists"` ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of values returned by getClusterLevels.
func GetClusterLevels ¶
func GetClusterLevels(ctx *pulumi.Context, args *GetClusterLevelsArgs, opts ...pulumi.InvokeOption) (*GetClusterLevelsResult, error)
Provide a datasource to query TKE cluster levels.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { foo, err := Kubernetes.GetClusterLevels(ctx, nil, nil) if err != nil { return err } ctx.Export("level5", foo.Lists[0].Alias) return nil }) }
```
type GetClusterLevelsResultOutput ¶
type GetClusterLevelsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getClusterLevels.
func GetClusterLevelsOutput ¶
func GetClusterLevelsOutput(ctx *pulumi.Context, args GetClusterLevelsOutputArgs, opts ...pulumi.InvokeOption) GetClusterLevelsResultOutput
func (GetClusterLevelsResultOutput) ClusterId ¶
func (o GetClusterLevelsResultOutput) ClusterId() pulumi.StringPtrOutput
func (GetClusterLevelsResultOutput) ElementType ¶
func (GetClusterLevelsResultOutput) ElementType() reflect.Type
func (GetClusterLevelsResultOutput) Id ¶
func (o GetClusterLevelsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetClusterLevelsResultOutput) Lists ¶
func (o GetClusterLevelsResultOutput) Lists() GetClusterLevelsListArrayOutput
List of level information.
func (GetClusterLevelsResultOutput) ResultOutputFile ¶
func (o GetClusterLevelsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetClusterLevelsResultOutput) ToGetClusterLevelsResultOutput ¶
func (o GetClusterLevelsResultOutput) ToGetClusterLevelsResultOutput() GetClusterLevelsResultOutput
func (GetClusterLevelsResultOutput) ToGetClusterLevelsResultOutputWithContext ¶
func (o GetClusterLevelsResultOutput) ToGetClusterLevelsResultOutputWithContext(ctx context.Context) GetClusterLevelsResultOutput
type GetClustersArgs ¶
type GetClustersArgs struct { // ID of the cluster. Conflict with cluster_name, can not be set at the same time. ClusterId *string `pulumi:"clusterId"` // Name of the cluster. Conflict with cluster_id, can not be set at the same time. ClusterName *string `pulumi:"clusterName"` // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` // Tags of the cluster. Tags map[string]interface{} `pulumi:"tags"` }
A collection of arguments for invoking getClusters.
type GetClustersList ¶
type GetClustersList struct { // The certificate used for access. CertificationAuthority string `pulumi:"certificationAuthority"` // The expired seconds to recycle ENI. ClaimExpiredSeconds int `pulumi:"claimExpiredSeconds"` // Indicates whether to enable cluster node auto scaler. ClusterAsEnabled bool `pulumi:"clusterAsEnabled"` // A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this VPC. ClusterCidr string `pulumi:"clusterCidr"` // Deployment type of the cluster. ClusterDeployType string `pulumi:"clusterDeployType"` // Description of the cluster. ClusterDesc string `pulumi:"clusterDesc"` // External network address to access. ClusterExternalEndpoint string `pulumi:"clusterExternalEndpoint"` // Customized parameters for master component. ClusterExtraArgs []GetClustersListClusterExtraArg `pulumi:"clusterExtraArgs"` // ID of the cluster. Conflict with cluster_name, can not be set at the same time. ClusterId string `pulumi:"clusterId"` // Indicates whether ipvs is enabled. ClusterIpvs bool `pulumi:"clusterIpvs"` // The maximum number of Pods per node in the cluster. ClusterMaxPodNum int `pulumi:"clusterMaxPodNum"` // The maximum number of services in the cluster. ClusterMaxServiceNum int `pulumi:"clusterMaxServiceNum"` // Name of the cluster. Conflict with cluster_id, can not be set at the same time. ClusterName string `pulumi:"clusterName"` // Number of nodes in the cluster. ClusterNodeNum int `pulumi:"clusterNodeNum"` // Operating system of the cluster. ClusterOs string `pulumi:"clusterOs"` // Version of the cluster. ClusterVersion string `pulumi:"clusterVersion"` // (**Deprecated**) It has been deprecated from version 1.18.1. Container runtime of the cluster. // // Deprecated: It has been deprecated from version 1.18.1. ContainerRuntime string `pulumi:"containerRuntime"` // Indicates whether cluster deletion protection is enabled. DeletionProtection bool `pulumi:"deletionProtection"` // Domain name for access. Domain string `pulumi:"domain"` // Subnet IDs for cluster with VPC-CNI network mode. EniSubnetIds []string `pulumi:"eniSubnetIds"` // Indicates whether to ignore the cluster cidr conflict error. IgnoreClusterCidrConflict bool `pulumi:"ignoreClusterCidrConflict"` // Indicates whether non-static ip mode is enabled. IsNonStaticIpMode bool `pulumi:"isNonStaticIpMode"` // Kubernetes config. KubeConfig string `pulumi:"kubeConfig"` // Kubernetes config of private network. KubeConfigIntranet string `pulumi:"kubeConfigIntranet"` // Cluster kube-proxy mode. KubeProxyMode string `pulumi:"kubeProxyMode"` // Cluster network type. NetworkType string `pulumi:"networkType"` // Node name type of cluster. NodeNameType string `pulumi:"nodeNameType"` // Password of account. Password string `pulumi:"password"` // The Intranet address used for access. PgwEndpoint string `pulumi:"pgwEndpoint"` // Project ID of the cluster. ProjectId int `pulumi:"projectId"` // Access policy. SecurityPolicies []string `pulumi:"securityPolicies"` // The network address block of the cluster. ServiceCidr string `pulumi:"serviceCidr"` // Tags of the cluster. Tags map[string]interface{} `pulumi:"tags"` // User name of account. UserName string `pulumi:"userName"` // Vpc ID of the cluster. VpcId string `pulumi:"vpcId"` // An information list of cvm within the WORKER clusters. Each element contains the following attributes. WorkerInstancesLists []GetClustersListWorkerInstancesList `pulumi:"workerInstancesLists"` }
type GetClustersListArgs ¶
type GetClustersListArgs struct { // The certificate used for access. CertificationAuthority pulumi.StringInput `pulumi:"certificationAuthority"` // The expired seconds to recycle ENI. ClaimExpiredSeconds pulumi.IntInput `pulumi:"claimExpiredSeconds"` // Indicates whether to enable cluster node auto scaler. ClusterAsEnabled pulumi.BoolInput `pulumi:"clusterAsEnabled"` // A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this VPC. ClusterCidr pulumi.StringInput `pulumi:"clusterCidr"` // Deployment type of the cluster. ClusterDeployType pulumi.StringInput `pulumi:"clusterDeployType"` // Description of the cluster. ClusterDesc pulumi.StringInput `pulumi:"clusterDesc"` // External network address to access. ClusterExternalEndpoint pulumi.StringInput `pulumi:"clusterExternalEndpoint"` // Customized parameters for master component. ClusterExtraArgs GetClustersListClusterExtraArgArrayInput `pulumi:"clusterExtraArgs"` // ID of the cluster. Conflict with cluster_name, can not be set at the same time. ClusterId pulumi.StringInput `pulumi:"clusterId"` // Indicates whether ipvs is enabled. ClusterIpvs pulumi.BoolInput `pulumi:"clusterIpvs"` // The maximum number of Pods per node in the cluster. ClusterMaxPodNum pulumi.IntInput `pulumi:"clusterMaxPodNum"` // The maximum number of services in the cluster. ClusterMaxServiceNum pulumi.IntInput `pulumi:"clusterMaxServiceNum"` // Name of the cluster. Conflict with cluster_id, can not be set at the same time. ClusterName pulumi.StringInput `pulumi:"clusterName"` // Number of nodes in the cluster. ClusterNodeNum pulumi.IntInput `pulumi:"clusterNodeNum"` // Operating system of the cluster. ClusterOs pulumi.StringInput `pulumi:"clusterOs"` // Version of the cluster. ClusterVersion pulumi.StringInput `pulumi:"clusterVersion"` // (**Deprecated**) It has been deprecated from version 1.18.1. Container runtime of the cluster. // // Deprecated: It has been deprecated from version 1.18.1. ContainerRuntime pulumi.StringInput `pulumi:"containerRuntime"` // Indicates whether cluster deletion protection is enabled. DeletionProtection pulumi.BoolInput `pulumi:"deletionProtection"` // Domain name for access. Domain pulumi.StringInput `pulumi:"domain"` // Subnet IDs for cluster with VPC-CNI network mode. EniSubnetIds pulumi.StringArrayInput `pulumi:"eniSubnetIds"` // Indicates whether to ignore the cluster cidr conflict error. IgnoreClusterCidrConflict pulumi.BoolInput `pulumi:"ignoreClusterCidrConflict"` // Indicates whether non-static ip mode is enabled. IsNonStaticIpMode pulumi.BoolInput `pulumi:"isNonStaticIpMode"` // Kubernetes config. KubeConfig pulumi.StringInput `pulumi:"kubeConfig"` // Kubernetes config of private network. KubeConfigIntranet pulumi.StringInput `pulumi:"kubeConfigIntranet"` // Cluster kube-proxy mode. KubeProxyMode pulumi.StringInput `pulumi:"kubeProxyMode"` // Cluster network type. NetworkType pulumi.StringInput `pulumi:"networkType"` // Node name type of cluster. NodeNameType pulumi.StringInput `pulumi:"nodeNameType"` // Password of account. Password pulumi.StringInput `pulumi:"password"` // The Intranet address used for access. PgwEndpoint pulumi.StringInput `pulumi:"pgwEndpoint"` // Project ID of the cluster. ProjectId pulumi.IntInput `pulumi:"projectId"` // Access policy. SecurityPolicies pulumi.StringArrayInput `pulumi:"securityPolicies"` // The network address block of the cluster. ServiceCidr pulumi.StringInput `pulumi:"serviceCidr"` // Tags of the cluster. Tags pulumi.MapInput `pulumi:"tags"` // User name of account. UserName pulumi.StringInput `pulumi:"userName"` // Vpc ID of the cluster. VpcId pulumi.StringInput `pulumi:"vpcId"` // An information list of cvm within the WORKER clusters. Each element contains the following attributes. WorkerInstancesLists GetClustersListWorkerInstancesListArrayInput `pulumi:"workerInstancesLists"` }
func (GetClustersListArgs) ElementType ¶
func (GetClustersListArgs) ElementType() reflect.Type
func (GetClustersListArgs) ToGetClustersListOutput ¶
func (i GetClustersListArgs) ToGetClustersListOutput() GetClustersListOutput
func (GetClustersListArgs) ToGetClustersListOutputWithContext ¶
func (i GetClustersListArgs) ToGetClustersListOutputWithContext(ctx context.Context) GetClustersListOutput
type GetClustersListArray ¶
type GetClustersListArray []GetClustersListInput
func (GetClustersListArray) ElementType ¶
func (GetClustersListArray) ElementType() reflect.Type
func (GetClustersListArray) ToGetClustersListArrayOutput ¶
func (i GetClustersListArray) ToGetClustersListArrayOutput() GetClustersListArrayOutput
func (GetClustersListArray) ToGetClustersListArrayOutputWithContext ¶
func (i GetClustersListArray) ToGetClustersListArrayOutputWithContext(ctx context.Context) GetClustersListArrayOutput
type GetClustersListArrayInput ¶
type GetClustersListArrayInput interface { pulumi.Input ToGetClustersListArrayOutput() GetClustersListArrayOutput ToGetClustersListArrayOutputWithContext(context.Context) GetClustersListArrayOutput }
GetClustersListArrayInput is an input type that accepts GetClustersListArray and GetClustersListArrayOutput values. You can construct a concrete instance of `GetClustersListArrayInput` via:
GetClustersListArray{ GetClustersListArgs{...} }
type GetClustersListArrayOutput ¶
type GetClustersListArrayOutput struct{ *pulumi.OutputState }
func (GetClustersListArrayOutput) ElementType ¶
func (GetClustersListArrayOutput) ElementType() reflect.Type
func (GetClustersListArrayOutput) Index ¶
func (o GetClustersListArrayOutput) Index(i pulumi.IntInput) GetClustersListOutput
func (GetClustersListArrayOutput) ToGetClustersListArrayOutput ¶
func (o GetClustersListArrayOutput) ToGetClustersListArrayOutput() GetClustersListArrayOutput
func (GetClustersListArrayOutput) ToGetClustersListArrayOutputWithContext ¶
func (o GetClustersListArrayOutput) ToGetClustersListArrayOutputWithContext(ctx context.Context) GetClustersListArrayOutput
type GetClustersListClusterExtraArg ¶
type GetClustersListClusterExtraArg struct { // The customized parameters for kube-apiserver. KubeApiservers []string `pulumi:"kubeApiservers"` // The customized parameters for kube-controller-manager. KubeControllerManagers []string `pulumi:"kubeControllerManagers"` // The customized parameters for kube-scheduler. KubeSchedulers []string `pulumi:"kubeSchedulers"` }
type GetClustersListClusterExtraArgArgs ¶
type GetClustersListClusterExtraArgArgs struct { // The customized parameters for kube-apiserver. KubeApiservers pulumi.StringArrayInput `pulumi:"kubeApiservers"` // The customized parameters for kube-controller-manager. KubeControllerManagers pulumi.StringArrayInput `pulumi:"kubeControllerManagers"` // The customized parameters for kube-scheduler. KubeSchedulers pulumi.StringArrayInput `pulumi:"kubeSchedulers"` }
func (GetClustersListClusterExtraArgArgs) ElementType ¶
func (GetClustersListClusterExtraArgArgs) ElementType() reflect.Type
func (GetClustersListClusterExtraArgArgs) ToGetClustersListClusterExtraArgOutput ¶
func (i GetClustersListClusterExtraArgArgs) ToGetClustersListClusterExtraArgOutput() GetClustersListClusterExtraArgOutput
func (GetClustersListClusterExtraArgArgs) ToGetClustersListClusterExtraArgOutputWithContext ¶
func (i GetClustersListClusterExtraArgArgs) ToGetClustersListClusterExtraArgOutputWithContext(ctx context.Context) GetClustersListClusterExtraArgOutput
type GetClustersListClusterExtraArgArray ¶
type GetClustersListClusterExtraArgArray []GetClustersListClusterExtraArgInput
func (GetClustersListClusterExtraArgArray) ElementType ¶
func (GetClustersListClusterExtraArgArray) ElementType() reflect.Type
func (GetClustersListClusterExtraArgArray) ToGetClustersListClusterExtraArgArrayOutput ¶
func (i GetClustersListClusterExtraArgArray) ToGetClustersListClusterExtraArgArrayOutput() GetClustersListClusterExtraArgArrayOutput
func (GetClustersListClusterExtraArgArray) ToGetClustersListClusterExtraArgArrayOutputWithContext ¶
func (i GetClustersListClusterExtraArgArray) ToGetClustersListClusterExtraArgArrayOutputWithContext(ctx context.Context) GetClustersListClusterExtraArgArrayOutput
type GetClustersListClusterExtraArgArrayInput ¶
type GetClustersListClusterExtraArgArrayInput interface { pulumi.Input ToGetClustersListClusterExtraArgArrayOutput() GetClustersListClusterExtraArgArrayOutput ToGetClustersListClusterExtraArgArrayOutputWithContext(context.Context) GetClustersListClusterExtraArgArrayOutput }
GetClustersListClusterExtraArgArrayInput is an input type that accepts GetClustersListClusterExtraArgArray and GetClustersListClusterExtraArgArrayOutput values. You can construct a concrete instance of `GetClustersListClusterExtraArgArrayInput` via:
GetClustersListClusterExtraArgArray{ GetClustersListClusterExtraArgArgs{...} }
type GetClustersListClusterExtraArgArrayOutput ¶
type GetClustersListClusterExtraArgArrayOutput struct{ *pulumi.OutputState }
func (GetClustersListClusterExtraArgArrayOutput) ElementType ¶
func (GetClustersListClusterExtraArgArrayOutput) ElementType() reflect.Type
func (GetClustersListClusterExtraArgArrayOutput) ToGetClustersListClusterExtraArgArrayOutput ¶
func (o GetClustersListClusterExtraArgArrayOutput) ToGetClustersListClusterExtraArgArrayOutput() GetClustersListClusterExtraArgArrayOutput
func (GetClustersListClusterExtraArgArrayOutput) ToGetClustersListClusterExtraArgArrayOutputWithContext ¶
func (o GetClustersListClusterExtraArgArrayOutput) ToGetClustersListClusterExtraArgArrayOutputWithContext(ctx context.Context) GetClustersListClusterExtraArgArrayOutput
type GetClustersListClusterExtraArgInput ¶
type GetClustersListClusterExtraArgInput interface { pulumi.Input ToGetClustersListClusterExtraArgOutput() GetClustersListClusterExtraArgOutput ToGetClustersListClusterExtraArgOutputWithContext(context.Context) GetClustersListClusterExtraArgOutput }
GetClustersListClusterExtraArgInput is an input type that accepts GetClustersListClusterExtraArgArgs and GetClustersListClusterExtraArgOutput values. You can construct a concrete instance of `GetClustersListClusterExtraArgInput` via:
GetClustersListClusterExtraArgArgs{...}
type GetClustersListClusterExtraArgOutput ¶
type GetClustersListClusterExtraArgOutput struct{ *pulumi.OutputState }
func (GetClustersListClusterExtraArgOutput) ElementType ¶
func (GetClustersListClusterExtraArgOutput) ElementType() reflect.Type
func (GetClustersListClusterExtraArgOutput) KubeApiservers ¶
func (o GetClustersListClusterExtraArgOutput) KubeApiservers() pulumi.StringArrayOutput
The customized parameters for kube-apiserver.
func (GetClustersListClusterExtraArgOutput) KubeControllerManagers ¶
func (o GetClustersListClusterExtraArgOutput) KubeControllerManagers() pulumi.StringArrayOutput
The customized parameters for kube-controller-manager.
func (GetClustersListClusterExtraArgOutput) KubeSchedulers ¶
func (o GetClustersListClusterExtraArgOutput) KubeSchedulers() pulumi.StringArrayOutput
The customized parameters for kube-scheduler.
func (GetClustersListClusterExtraArgOutput) ToGetClustersListClusterExtraArgOutput ¶
func (o GetClustersListClusterExtraArgOutput) ToGetClustersListClusterExtraArgOutput() GetClustersListClusterExtraArgOutput
func (GetClustersListClusterExtraArgOutput) ToGetClustersListClusterExtraArgOutputWithContext ¶
func (o GetClustersListClusterExtraArgOutput) ToGetClustersListClusterExtraArgOutputWithContext(ctx context.Context) GetClustersListClusterExtraArgOutput
type GetClustersListInput ¶
type GetClustersListInput interface { pulumi.Input ToGetClustersListOutput() GetClustersListOutput ToGetClustersListOutputWithContext(context.Context) GetClustersListOutput }
GetClustersListInput is an input type that accepts GetClustersListArgs and GetClustersListOutput values. You can construct a concrete instance of `GetClustersListInput` via:
GetClustersListArgs{...}
type GetClustersListOutput ¶
type GetClustersListOutput struct{ *pulumi.OutputState }
func (GetClustersListOutput) CertificationAuthority ¶
func (o GetClustersListOutput) CertificationAuthority() pulumi.StringOutput
The certificate used for access.
func (GetClustersListOutput) ClaimExpiredSeconds ¶
func (o GetClustersListOutput) ClaimExpiredSeconds() pulumi.IntOutput
The expired seconds to recycle ENI.
func (GetClustersListOutput) ClusterAsEnabled ¶
func (o GetClustersListOutput) ClusterAsEnabled() pulumi.BoolOutput
Indicates whether to enable cluster node auto scaler.
func (GetClustersListOutput) ClusterCidr ¶
func (o GetClustersListOutput) ClusterCidr() pulumi.StringOutput
A network address block of the cluster. Different from vpc cidr and cidr of other clusters within this VPC.
func (GetClustersListOutput) ClusterDeployType ¶
func (o GetClustersListOutput) ClusterDeployType() pulumi.StringOutput
Deployment type of the cluster.
func (GetClustersListOutput) ClusterDesc ¶
func (o GetClustersListOutput) ClusterDesc() pulumi.StringOutput
Description of the cluster.
func (GetClustersListOutput) ClusterExternalEndpoint ¶
func (o GetClustersListOutput) ClusterExternalEndpoint() pulumi.StringOutput
External network address to access.
func (GetClustersListOutput) ClusterExtraArgs ¶
func (o GetClustersListOutput) ClusterExtraArgs() GetClustersListClusterExtraArgArrayOutput
Customized parameters for master component.
func (GetClustersListOutput) ClusterId ¶
func (o GetClustersListOutput) ClusterId() pulumi.StringOutput
ID of the cluster. Conflict with cluster_name, can not be set at the same time.
func (GetClustersListOutput) ClusterIpvs ¶
func (o GetClustersListOutput) ClusterIpvs() pulumi.BoolOutput
Indicates whether ipvs is enabled.
func (GetClustersListOutput) ClusterMaxPodNum ¶
func (o GetClustersListOutput) ClusterMaxPodNum() pulumi.IntOutput
The maximum number of Pods per node in the cluster.
func (GetClustersListOutput) ClusterMaxServiceNum ¶
func (o GetClustersListOutput) ClusterMaxServiceNum() pulumi.IntOutput
The maximum number of services in the cluster.
func (GetClustersListOutput) ClusterName ¶
func (o GetClustersListOutput) ClusterName() pulumi.StringOutput
Name of the cluster. Conflict with cluster_id, can not be set at the same time.
func (GetClustersListOutput) ClusterNodeNum ¶
func (o GetClustersListOutput) ClusterNodeNum() pulumi.IntOutput
Number of nodes in the cluster.
func (GetClustersListOutput) ClusterOs ¶
func (o GetClustersListOutput) ClusterOs() pulumi.StringOutput
Operating system of the cluster.
func (GetClustersListOutput) ClusterVersion ¶
func (o GetClustersListOutput) ClusterVersion() pulumi.StringOutput
Version of the cluster.
func (GetClustersListOutput) ContainerRuntime
deprecated
func (o GetClustersListOutput) ContainerRuntime() pulumi.StringOutput
(**Deprecated**) It has been deprecated from version 1.18.1. Container runtime of the cluster.
Deprecated: It has been deprecated from version 1.18.1.
func (GetClustersListOutput) DeletionProtection ¶
func (o GetClustersListOutput) DeletionProtection() pulumi.BoolOutput
Indicates whether cluster deletion protection is enabled.
func (GetClustersListOutput) Domain ¶
func (o GetClustersListOutput) Domain() pulumi.StringOutput
Domain name for access.
func (GetClustersListOutput) ElementType ¶
func (GetClustersListOutput) ElementType() reflect.Type
func (GetClustersListOutput) EniSubnetIds ¶
func (o GetClustersListOutput) EniSubnetIds() pulumi.StringArrayOutput
Subnet IDs for cluster with VPC-CNI network mode.
func (GetClustersListOutput) IgnoreClusterCidrConflict ¶
func (o GetClustersListOutput) IgnoreClusterCidrConflict() pulumi.BoolOutput
Indicates whether to ignore the cluster cidr conflict error.
func (GetClustersListOutput) IsNonStaticIpMode ¶
func (o GetClustersListOutput) IsNonStaticIpMode() pulumi.BoolOutput
Indicates whether non-static ip mode is enabled.
func (GetClustersListOutput) KubeConfig ¶
func (o GetClustersListOutput) KubeConfig() pulumi.StringOutput
Kubernetes config.
func (GetClustersListOutput) KubeConfigIntranet ¶
func (o GetClustersListOutput) KubeConfigIntranet() pulumi.StringOutput
Kubernetes config of private network.
func (GetClustersListOutput) KubeProxyMode ¶
func (o GetClustersListOutput) KubeProxyMode() pulumi.StringOutput
Cluster kube-proxy mode.
func (GetClustersListOutput) NetworkType ¶
func (o GetClustersListOutput) NetworkType() pulumi.StringOutput
Cluster network type.
func (GetClustersListOutput) NodeNameType ¶
func (o GetClustersListOutput) NodeNameType() pulumi.StringOutput
Node name type of cluster.
func (GetClustersListOutput) Password ¶
func (o GetClustersListOutput) Password() pulumi.StringOutput
Password of account.
func (GetClustersListOutput) PgwEndpoint ¶
func (o GetClustersListOutput) PgwEndpoint() pulumi.StringOutput
The Intranet address used for access.
func (GetClustersListOutput) ProjectId ¶
func (o GetClustersListOutput) ProjectId() pulumi.IntOutput
Project ID of the cluster.
func (GetClustersListOutput) SecurityPolicies ¶
func (o GetClustersListOutput) SecurityPolicies() pulumi.StringArrayOutput
Access policy.
func (GetClustersListOutput) ServiceCidr ¶
func (o GetClustersListOutput) ServiceCidr() pulumi.StringOutput
The network address block of the cluster.
func (GetClustersListOutput) Tags ¶
func (o GetClustersListOutput) Tags() pulumi.MapOutput
Tags of the cluster.
func (GetClustersListOutput) ToGetClustersListOutput ¶
func (o GetClustersListOutput) ToGetClustersListOutput() GetClustersListOutput
func (GetClustersListOutput) ToGetClustersListOutputWithContext ¶
func (o GetClustersListOutput) ToGetClustersListOutputWithContext(ctx context.Context) GetClustersListOutput
func (GetClustersListOutput) UserName ¶
func (o GetClustersListOutput) UserName() pulumi.StringOutput
User name of account.
func (GetClustersListOutput) VpcId ¶
func (o GetClustersListOutput) VpcId() pulumi.StringOutput
Vpc ID of the cluster.
func (GetClustersListOutput) WorkerInstancesLists ¶
func (o GetClustersListOutput) WorkerInstancesLists() GetClustersListWorkerInstancesListArrayOutput
An information list of cvm within the WORKER clusters. Each element contains the following attributes.
type GetClustersListWorkerInstancesList ¶
type GetClustersListWorkerInstancesList struct { // Information of the cvm when it is failed. FailedReason string `pulumi:"failedReason"` // ID of the cvm. InstanceId string `pulumi:"instanceId"` // Role of the cvm. InstanceRole string `pulumi:"instanceRole"` // State of the cvm. InstanceState string `pulumi:"instanceState"` // LAN IP of the cvm. LanIp string `pulumi:"lanIp"` }
type GetClustersListWorkerInstancesListArgs ¶
type GetClustersListWorkerInstancesListArgs struct { // Information of the cvm when it is failed. FailedReason pulumi.StringInput `pulumi:"failedReason"` // ID of the cvm. InstanceId pulumi.StringInput `pulumi:"instanceId"` // Role of the cvm. InstanceRole pulumi.StringInput `pulumi:"instanceRole"` // State of the cvm. InstanceState pulumi.StringInput `pulumi:"instanceState"` // LAN IP of the cvm. LanIp pulumi.StringInput `pulumi:"lanIp"` }
func (GetClustersListWorkerInstancesListArgs) ElementType ¶
func (GetClustersListWorkerInstancesListArgs) ElementType() reflect.Type
func (GetClustersListWorkerInstancesListArgs) ToGetClustersListWorkerInstancesListOutput ¶
func (i GetClustersListWorkerInstancesListArgs) ToGetClustersListWorkerInstancesListOutput() GetClustersListWorkerInstancesListOutput
func (GetClustersListWorkerInstancesListArgs) ToGetClustersListWorkerInstancesListOutputWithContext ¶
func (i GetClustersListWorkerInstancesListArgs) ToGetClustersListWorkerInstancesListOutputWithContext(ctx context.Context) GetClustersListWorkerInstancesListOutput
type GetClustersListWorkerInstancesListArray ¶
type GetClustersListWorkerInstancesListArray []GetClustersListWorkerInstancesListInput
func (GetClustersListWorkerInstancesListArray) ElementType ¶
func (GetClustersListWorkerInstancesListArray) ElementType() reflect.Type
func (GetClustersListWorkerInstancesListArray) ToGetClustersListWorkerInstancesListArrayOutput ¶
func (i GetClustersListWorkerInstancesListArray) ToGetClustersListWorkerInstancesListArrayOutput() GetClustersListWorkerInstancesListArrayOutput
func (GetClustersListWorkerInstancesListArray) ToGetClustersListWorkerInstancesListArrayOutputWithContext ¶
func (i GetClustersListWorkerInstancesListArray) ToGetClustersListWorkerInstancesListArrayOutputWithContext(ctx context.Context) GetClustersListWorkerInstancesListArrayOutput
type GetClustersListWorkerInstancesListArrayInput ¶
type GetClustersListWorkerInstancesListArrayInput interface { pulumi.Input ToGetClustersListWorkerInstancesListArrayOutput() GetClustersListWorkerInstancesListArrayOutput ToGetClustersListWorkerInstancesListArrayOutputWithContext(context.Context) GetClustersListWorkerInstancesListArrayOutput }
GetClustersListWorkerInstancesListArrayInput is an input type that accepts GetClustersListWorkerInstancesListArray and GetClustersListWorkerInstancesListArrayOutput values. You can construct a concrete instance of `GetClustersListWorkerInstancesListArrayInput` via:
GetClustersListWorkerInstancesListArray{ GetClustersListWorkerInstancesListArgs{...} }
type GetClustersListWorkerInstancesListArrayOutput ¶
type GetClustersListWorkerInstancesListArrayOutput struct{ *pulumi.OutputState }
func (GetClustersListWorkerInstancesListArrayOutput) ElementType ¶
func (GetClustersListWorkerInstancesListArrayOutput) ElementType() reflect.Type
func (GetClustersListWorkerInstancesListArrayOutput) ToGetClustersListWorkerInstancesListArrayOutput ¶
func (o GetClustersListWorkerInstancesListArrayOutput) ToGetClustersListWorkerInstancesListArrayOutput() GetClustersListWorkerInstancesListArrayOutput
func (GetClustersListWorkerInstancesListArrayOutput) ToGetClustersListWorkerInstancesListArrayOutputWithContext ¶
func (o GetClustersListWorkerInstancesListArrayOutput) ToGetClustersListWorkerInstancesListArrayOutputWithContext(ctx context.Context) GetClustersListWorkerInstancesListArrayOutput
type GetClustersListWorkerInstancesListInput ¶
type GetClustersListWorkerInstancesListInput interface { pulumi.Input ToGetClustersListWorkerInstancesListOutput() GetClustersListWorkerInstancesListOutput ToGetClustersListWorkerInstancesListOutputWithContext(context.Context) GetClustersListWorkerInstancesListOutput }
GetClustersListWorkerInstancesListInput is an input type that accepts GetClustersListWorkerInstancesListArgs and GetClustersListWorkerInstancesListOutput values. You can construct a concrete instance of `GetClustersListWorkerInstancesListInput` via:
GetClustersListWorkerInstancesListArgs{...}
type GetClustersListWorkerInstancesListOutput ¶
type GetClustersListWorkerInstancesListOutput struct{ *pulumi.OutputState }
func (GetClustersListWorkerInstancesListOutput) ElementType ¶
func (GetClustersListWorkerInstancesListOutput) ElementType() reflect.Type
func (GetClustersListWorkerInstancesListOutput) FailedReason ¶
func (o GetClustersListWorkerInstancesListOutput) FailedReason() pulumi.StringOutput
Information of the cvm when it is failed.
func (GetClustersListWorkerInstancesListOutput) InstanceId ¶
func (o GetClustersListWorkerInstancesListOutput) InstanceId() pulumi.StringOutput
ID of the cvm.
func (GetClustersListWorkerInstancesListOutput) InstanceRole ¶
func (o GetClustersListWorkerInstancesListOutput) InstanceRole() pulumi.StringOutput
Role of the cvm.
func (GetClustersListWorkerInstancesListOutput) InstanceState ¶
func (o GetClustersListWorkerInstancesListOutput) InstanceState() pulumi.StringOutput
State of the cvm.
func (GetClustersListWorkerInstancesListOutput) LanIp ¶
func (o GetClustersListWorkerInstancesListOutput) LanIp() pulumi.StringOutput
LAN IP of the cvm.
func (GetClustersListWorkerInstancesListOutput) ToGetClustersListWorkerInstancesListOutput ¶
func (o GetClustersListWorkerInstancesListOutput) ToGetClustersListWorkerInstancesListOutput() GetClustersListWorkerInstancesListOutput
func (GetClustersListWorkerInstancesListOutput) ToGetClustersListWorkerInstancesListOutputWithContext ¶
func (o GetClustersListWorkerInstancesListOutput) ToGetClustersListWorkerInstancesListOutputWithContext(ctx context.Context) GetClustersListWorkerInstancesListOutput
type GetClustersOutputArgs ¶
type GetClustersOutputArgs struct { // ID of the cluster. Conflict with cluster_name, can not be set at the same time. ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` // Name of the cluster. Conflict with cluster_id, can not be set at the same time. ClusterName pulumi.StringPtrInput `pulumi:"clusterName"` // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` // Tags of the cluster. Tags pulumi.MapInput `pulumi:"tags"` }
A collection of arguments for invoking getClusters.
func (GetClustersOutputArgs) ElementType ¶
func (GetClustersOutputArgs) ElementType() reflect.Type
type GetClustersResult ¶
type GetClustersResult struct { // ID of cluster. ClusterId *string `pulumi:"clusterId"` // Name of the cluster. ClusterName *string `pulumi:"clusterName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // An information list of kubernetes clusters. Each element contains the following attributes: Lists []GetClustersList `pulumi:"lists"` ResultOutputFile *string `pulumi:"resultOutputFile"` // Tags of the cluster. Tags map[string]interface{} `pulumi:"tags"` }
A collection of values returned by getClusters.
func GetClusters ¶
func GetClusters(ctx *pulumi.Context, args *GetClustersArgs, opts ...pulumi.InvokeOption) (*GetClustersResult, error)
Use this data source to query detailed information of kubernetes clusters.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Kubernetes.GetClusters(ctx, &kubernetes.GetClustersArgs{ ClusterName: pulumi.StringRef("terraform"), }, nil) if err != nil { return err } _, err = Kubernetes.GetClusters(ctx, &kubernetes.GetClustersArgs{ ClusterId: pulumi.StringRef("cls-godovr32"), }, nil) if err != nil { return err } return nil }) }
```
type GetClustersResultOutput ¶
type GetClustersResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getClusters.
func GetClustersOutput ¶
func GetClustersOutput(ctx *pulumi.Context, args GetClustersOutputArgs, opts ...pulumi.InvokeOption) GetClustersResultOutput
func (GetClustersResultOutput) ClusterId ¶
func (o GetClustersResultOutput) ClusterId() pulumi.StringPtrOutput
ID of cluster.
func (GetClustersResultOutput) ClusterName ¶
func (o GetClustersResultOutput) ClusterName() pulumi.StringPtrOutput
Name of the cluster.
func (GetClustersResultOutput) ElementType ¶
func (GetClustersResultOutput) ElementType() reflect.Type
func (GetClustersResultOutput) Id ¶
func (o GetClustersResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetClustersResultOutput) Lists ¶
func (o GetClustersResultOutput) Lists() GetClustersListArrayOutput
An information list of kubernetes clusters. Each element contains the following attributes:
func (GetClustersResultOutput) ResultOutputFile ¶
func (o GetClustersResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetClustersResultOutput) Tags ¶
func (o GetClustersResultOutput) Tags() pulumi.MapOutput
Tags of the cluster.
func (GetClustersResultOutput) ToGetClustersResultOutput ¶
func (o GetClustersResultOutput) ToGetClustersResultOutput() GetClustersResultOutput
func (GetClustersResultOutput) ToGetClustersResultOutputWithContext ¶
func (o GetClustersResultOutput) ToGetClustersResultOutputWithContext(ctx context.Context) GetClustersResultOutput
type NodePool ¶
type NodePool struct { pulumi.CustomResourceState // Auto scaling config parameters. AutoScalingConfig NodePoolAutoScalingConfigOutput `pulumi:"autoScalingConfig"` // The auto scaling group ID. AutoScalingGroupId pulumi.StringOutput `pulumi:"autoScalingGroupId"` // The total of autoscaling added node. AutoscalingAddedTotal pulumi.IntOutput `pulumi:"autoscalingAddedTotal"` // ID of the cluster. ClusterId pulumi.StringOutput `pulumi:"clusterId"` // Seconds of scaling group cool down. Default value is `300`. DefaultCooldown pulumi.IntOutput `pulumi:"defaultCooldown"` // Indicate to keep the CVM instance when delete the node pool. Default is `true`. DeleteKeepInstance pulumi.BoolPtrOutput `pulumi:"deleteKeepInstance"` // Desired capacity ot the node. If `enableAutoScale` is set `true`, this will be a computed parameter. DesiredCapacity pulumi.IntOutput `pulumi:"desiredCapacity"` // Indicate whether to enable auto scaling or not. EnableAutoScale pulumi.BoolPtrOutput `pulumi:"enableAutoScale"` // Labels of kubernetes node pool created nodes. The label key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/'). Labels pulumi.MapOutput `pulumi:"labels"` // The launch config ID. LaunchConfigId pulumi.StringOutput `pulumi:"launchConfigId"` // The total of manually added node. ManuallyAddedTotal pulumi.IntOutput `pulumi:"manuallyAddedTotal"` // Maximum number of node. MaxSize pulumi.IntOutput `pulumi:"maxSize"` // Minimum number of node. MinSize pulumi.IntOutput `pulumi:"minSize"` // Multi-availability zone/subnet policy. Valid values: PRIORITY and EQUALITY. Default value: PRIORITY. MultiZoneSubnetPolicy pulumi.StringPtrOutput `pulumi:"multiZoneSubnetPolicy"` // Name of the node pool. The name does not exceed 25 characters, and only supports Chinese, English, numbers, underscores, separators (`-`) and decimal points. Name pulumi.StringOutput `pulumi:"name"` // Node config. NodeConfig NodePoolNodeConfigPtrOutput `pulumi:"nodeConfig"` // The total node count. NodeCount pulumi.IntOutput `pulumi:"nodeCount"` // Operating system of the cluster, the available values include: `tlinux2.4x86_64`, `ubuntu18.04.1x86_64`, `ubuntu16.04.1 LTSx86_64`, `centos7.6.0_x64` and `centos7.2x86_64`. Default is 'tlinux2.4x86_64'. This parameter will only affect new nodes, not including the existing nodes. NodeOs pulumi.StringPtrOutput `pulumi:"nodeOs"` // The image version of the node. Valida values are `DOCKER_CUSTOMIZE` and `GENERAL`. Default is `GENERAL`. This parameter will only affect new nodes, not including the existing nodes. NodeOsType pulumi.StringPtrOutput `pulumi:"nodeOsType"` // Available values for retry policies include `IMMEDIATE_RETRY` and `INCREMENTAL_INTERVALS`. RetryPolicy pulumi.StringPtrOutput `pulumi:"retryPolicy"` // Name of relative scaling group. ScalingGroupName pulumi.StringOutput `pulumi:"scalingGroupName"` // Project ID the scaling group belongs to. ScalingGroupProjectId pulumi.IntPtrOutput `pulumi:"scalingGroupProjectId"` // Auto scaling mode. Valid values are `CLASSIC_SCALING`(scaling by create/destroy instances), `WAKE_UP_STOPPED_SCALING`(Boot priority for expansion. When expanding the capacity, the shutdown operation is given priority to the shutdown of the instance. If the number of instances is still lower than the expected number of instances after the startup, the instance will be created, and the method of destroying the instance will still be used for shrinking). ScalingMode pulumi.StringPtrOutput `pulumi:"scalingMode"` // Status of the node pool. Status pulumi.StringOutput `pulumi:"status"` // ID list of subnet, and for VPC it is required. SubnetIds pulumi.StringArrayOutput `pulumi:"subnetIds"` // Node pool tag specifications, will passthroughs to the scaling instances. Tags pulumi.MapOutput `pulumi:"tags"` // Taints of kubernetes node pool created nodes. Taints NodePoolTaintArrayOutput `pulumi:"taints"` // Policy of scaling group termination. Available values: `["OLDEST_INSTANCE"]`, `["NEWEST_INSTANCE"]`. TerminationPolicies pulumi.StringOutput `pulumi:"terminationPolicies"` // Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling. Unschedulable pulumi.IntPtrOutput `pulumi:"unschedulable"` // ID of VPC network. VpcId pulumi.StringOutput `pulumi:"vpcId"` // List of auto scaling group available zones, for Basic network it is required. Zones pulumi.StringArrayOutput `pulumi:"zones"` }
Provide a resource to create an auto scaling group for kubernetes cluster.
> **NOTE:** We recommend the usage of one cluster with essential worker config + node pool to manage cluster and nodes. Its a more flexible way than manage worker config with tencentcloud_kubernetes_cluster, Kubernetes.ScaleWorker or exist node management of `tencentcloudKubernetesAttachment`. Cause some unchangeable parameters of `workerConfig` may cause the whole cluster resource `force new`.
> **NOTE:** In order to ensure the integrity of customer data, if you destroy nodepool instance, it will keep the cvm instance associate with nodepool by default. If you want to destroy together, please set `deleteKeepInstance` to `false`.
> **NOTE:** In order to ensure the integrity of customer data, if the cvm instance was destroyed due to shrinking, it will keep the cbs associate with cvm by default. If you want to destroy together, please set `deleteWithInstance` to `true`.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes" "github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Vpc"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") availabilityZone := "ap-guangzhou-3" if param := cfg.Get("availabilityZone"); param != "" { availabilityZone = param } clusterCidr := "172.31.0.0/16" if param := cfg.Get("clusterCidr"); param != "" { clusterCidr = param } vpc, err := Vpc.GetSubnets(ctx, &vpc.GetSubnetsArgs{ IsDefault: pulumi.BoolRef(true), AvailabilityZone: pulumi.StringRef(availabilityZone), }, nil) if err != nil { return err } defaultInstanceType := "S1.SMALL1" if param := cfg.Get("defaultInstanceType"); param != "" { defaultInstanceType = param } managedCluster, err := Kubernetes.NewCluster(ctx, "managedCluster", &Kubernetes.ClusterArgs{ VpcId: pulumi.String(vpc.InstanceLists[0].VpcId), ClusterCidr: pulumi.String(clusterCidr), ClusterMaxPodNum: pulumi.Int(32), ClusterName: pulumi.String("tf-tke-unit-test"), ClusterDesc: pulumi.String("test cluster desc"), ClusterMaxServiceNum: pulumi.Int(32), ClusterVersion: pulumi.String("1.18.4"), ClusterDeployType: pulumi.String("MANAGED_CLUSTER"), }) if err != nil { return err } _, err = Kubernetes.NewNodePool(ctx, "mynodepool", &Kubernetes.NodePoolArgs{ ClusterId: managedCluster.ID(), MaxSize: pulumi.Int(6), MinSize: pulumi.Int(1), VpcId: pulumi.String(vpc.InstanceLists[0].VpcId), SubnetIds: pulumi.StringArray{ pulumi.String(vpc.InstanceLists[0].SubnetId), }, RetryPolicy: pulumi.String("INCREMENTAL_INTERVALS"), DesiredCapacity: pulumi.Int(4), EnableAutoScale: pulumi.Bool(true), MultiZoneSubnetPolicy: pulumi.String("EQUALITY"), AutoScalingConfig: &kubernetes.NodePoolAutoScalingConfigArgs{ InstanceType: pulumi.String(defaultInstanceType), SystemDiskType: pulumi.String("CLOUD_PREMIUM"), SystemDiskSize: pulumi.Int(50), SecurityGroupIds: pulumi.StringArray{ pulumi.String("sg-24vswocp"), }, DataDisks: kubernetes.NodePoolAutoScalingConfigDataDiskArray{ &kubernetes.NodePoolAutoScalingConfigDataDiskArgs{ DiskType: pulumi.String("CLOUD_PREMIUM"), DiskSize: pulumi.Int(50), }, }, InternetChargeType: pulumi.String("TRAFFIC_POSTPAID_BY_HOUR"), InternetMaxBandwidthOut: pulumi.Int(10), PublicIpAssigned: pulumi.Bool(true), Password: pulumi.String("test123#"), EnhancedSecurityService: pulumi.Bool(false), EnhancedMonitorService: pulumi.Bool(false), HostName: pulumi.String("12.123.0.0"), HostNameStyle: pulumi.String("ORIGINAL"), }, Labels: pulumi.AnyMap{ "test1": pulumi.Any("test1"), "test2": pulumi.Any("test2"), }, Taints: kubernetes.NodePoolTaintArray{ &kubernetes.NodePoolTaintArgs{ Key: pulumi.String("test_taint"), Value: pulumi.String("taint_value"), Effect: pulumi.String("PreferNoSchedule"), }, &kubernetes.NodePoolTaintArgs{ Key: pulumi.String("test_taint2"), Value: pulumi.String("taint_value2"), Effect: pulumi.String("PreferNoSchedule"), }, }, NodeConfig: &kubernetes.NodePoolNodeConfigArgs{ ExtraArgs: pulumi.StringArray{ pulumi.String("root-dir=/var/lib/kubelet"), }, }, }) if err != nil { return err } return nil }) }
```
Using Spot CVM Instance ¶
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Kubernetes.NewNodePool(ctx, "mynodepool", &Kubernetes.NodePoolArgs{ ClusterId: pulumi.Any(tencentcloud_kubernetes_cluster.Managed_cluster.Id), MaxSize: pulumi.Int(6), MinSize: pulumi.Int(1), VpcId: pulumi.Any(data.Tencentcloud_vpc_subnets.Vpc.Instance_list[0].Vpc_id), SubnetIds: pulumi.StringArray{ pulumi.Any(data.Tencentcloud_vpc_subnets.Vpc.Instance_list[0].Subnet_id), }, RetryPolicy: pulumi.String("INCREMENTAL_INTERVALS"), DesiredCapacity: pulumi.Int(4), EnableAutoScale: pulumi.Bool(true), MultiZoneSubnetPolicy: pulumi.String("EQUALITY"), AutoScalingConfig: &kubernetes.NodePoolAutoScalingConfigArgs{ InstanceType: pulumi.Any(_var.Default_instance_type), SystemDiskType: pulumi.String("CLOUD_PREMIUM"), SystemDiskSize: pulumi.Int(50), SecurityGroupIds: pulumi.StringArray{ pulumi.String("sg-24vswocp"), }, InstanceChargeType: pulumi.String("SPOTPAID"), SpotInstanceType: pulumi.String("one-time"), SpotMaxPrice: pulumi.String("1000"), DataDisks: kubernetes.NodePoolAutoScalingConfigDataDiskArray{ &kubernetes.NodePoolAutoScalingConfigDataDiskArgs{ DiskType: pulumi.String("CLOUD_PREMIUM"), DiskSize: pulumi.Int(50), }, }, InternetChargeType: pulumi.String("TRAFFIC_POSTPAID_BY_HOUR"), InternetMaxBandwidthOut: pulumi.Int(10), PublicIpAssigned: pulumi.Bool(true), Password: pulumi.String("test123#"), EnhancedSecurityService: pulumi.Bool(false), EnhancedMonitorService: pulumi.Bool(false), }, Labels: pulumi.AnyMap{ "test1": pulumi.Any("test1"), "test2": pulumi.Any("test2"), }, }) if err != nil { return err } return nil }) }
```
func GetNodePool ¶
func GetNodePool(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NodePoolState, opts ...pulumi.ResourceOption) (*NodePool, error)
GetNodePool gets an existing NodePool resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewNodePool ¶
func NewNodePool(ctx *pulumi.Context, name string, args *NodePoolArgs, opts ...pulumi.ResourceOption) (*NodePool, error)
NewNodePool registers a new resource with the given unique name, arguments, and options.
func (*NodePool) ElementType ¶
func (*NodePool) ToNodePoolOutput ¶
func (i *NodePool) ToNodePoolOutput() NodePoolOutput
func (*NodePool) ToNodePoolOutputWithContext ¶
func (i *NodePool) ToNodePoolOutputWithContext(ctx context.Context) NodePoolOutput
type NodePoolArgs ¶
type NodePoolArgs struct { // Auto scaling config parameters. AutoScalingConfig NodePoolAutoScalingConfigInput // ID of the cluster. ClusterId pulumi.StringInput // Seconds of scaling group cool down. Default value is `300`. DefaultCooldown pulumi.IntPtrInput // Indicate to keep the CVM instance when delete the node pool. Default is `true`. DeleteKeepInstance pulumi.BoolPtrInput // Desired capacity ot the node. If `enableAutoScale` is set `true`, this will be a computed parameter. DesiredCapacity pulumi.IntPtrInput // Indicate whether to enable auto scaling or not. EnableAutoScale pulumi.BoolPtrInput // Labels of kubernetes node pool created nodes. The label key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/'). Labels pulumi.MapInput // Maximum number of node. MaxSize pulumi.IntInput // Minimum number of node. MinSize pulumi.IntInput // Multi-availability zone/subnet policy. Valid values: PRIORITY and EQUALITY. Default value: PRIORITY. MultiZoneSubnetPolicy pulumi.StringPtrInput // Name of the node pool. The name does not exceed 25 characters, and only supports Chinese, English, numbers, underscores, separators (`-`) and decimal points. Name pulumi.StringPtrInput // Node config. NodeConfig NodePoolNodeConfigPtrInput // Operating system of the cluster, the available values include: `tlinux2.4x86_64`, `ubuntu18.04.1x86_64`, `ubuntu16.04.1 LTSx86_64`, `centos7.6.0_x64` and `centos7.2x86_64`. Default is 'tlinux2.4x86_64'. This parameter will only affect new nodes, not including the existing nodes. NodeOs pulumi.StringPtrInput // The image version of the node. Valida values are `DOCKER_CUSTOMIZE` and `GENERAL`. Default is `GENERAL`. This parameter will only affect new nodes, not including the existing nodes. NodeOsType pulumi.StringPtrInput // Available values for retry policies include `IMMEDIATE_RETRY` and `INCREMENTAL_INTERVALS`. RetryPolicy pulumi.StringPtrInput // Name of relative scaling group. ScalingGroupName pulumi.StringPtrInput // Project ID the scaling group belongs to. ScalingGroupProjectId pulumi.IntPtrInput // Auto scaling mode. Valid values are `CLASSIC_SCALING`(scaling by create/destroy instances), `WAKE_UP_STOPPED_SCALING`(Boot priority for expansion. When expanding the capacity, the shutdown operation is given priority to the shutdown of the instance. If the number of instances is still lower than the expected number of instances after the startup, the instance will be created, and the method of destroying the instance will still be used for shrinking). ScalingMode pulumi.StringPtrInput // ID list of subnet, and for VPC it is required. SubnetIds pulumi.StringArrayInput // Node pool tag specifications, will passthroughs to the scaling instances. Tags pulumi.MapInput // Taints of kubernetes node pool created nodes. Taints NodePoolTaintArrayInput // Policy of scaling group termination. Available values: `["OLDEST_INSTANCE"]`, `["NEWEST_INSTANCE"]`. TerminationPolicies pulumi.StringPtrInput // Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling. Unschedulable pulumi.IntPtrInput // ID of VPC network. VpcId pulumi.StringInput // List of auto scaling group available zones, for Basic network it is required. Zones pulumi.StringArrayInput }
The set of arguments for constructing a NodePool resource.
func (NodePoolArgs) ElementType ¶
func (NodePoolArgs) ElementType() reflect.Type
type NodePoolArray ¶
type NodePoolArray []NodePoolInput
func (NodePoolArray) ElementType ¶
func (NodePoolArray) ElementType() reflect.Type
func (NodePoolArray) ToNodePoolArrayOutput ¶
func (i NodePoolArray) ToNodePoolArrayOutput() NodePoolArrayOutput
func (NodePoolArray) ToNodePoolArrayOutputWithContext ¶
func (i NodePoolArray) ToNodePoolArrayOutputWithContext(ctx context.Context) NodePoolArrayOutput
type NodePoolArrayInput ¶
type NodePoolArrayInput interface { pulumi.Input ToNodePoolArrayOutput() NodePoolArrayOutput ToNodePoolArrayOutputWithContext(context.Context) NodePoolArrayOutput }
NodePoolArrayInput is an input type that accepts NodePoolArray and NodePoolArrayOutput values. You can construct a concrete instance of `NodePoolArrayInput` via:
NodePoolArray{ NodePoolArgs{...} }
type NodePoolArrayOutput ¶
type NodePoolArrayOutput struct{ *pulumi.OutputState }
func (NodePoolArrayOutput) ElementType ¶
func (NodePoolArrayOutput) ElementType() reflect.Type
func (NodePoolArrayOutput) Index ¶
func (o NodePoolArrayOutput) Index(i pulumi.IntInput) NodePoolOutput
func (NodePoolArrayOutput) ToNodePoolArrayOutput ¶
func (o NodePoolArrayOutput) ToNodePoolArrayOutput() NodePoolArrayOutput
func (NodePoolArrayOutput) ToNodePoolArrayOutputWithContext ¶
func (o NodePoolArrayOutput) ToNodePoolArrayOutputWithContext(ctx context.Context) NodePoolArrayOutput
type NodePoolAutoScalingConfig ¶
type NodePoolAutoScalingConfig struct { // Backup CVM instance types if specified instance type sold out or mismatch. BackupInstanceTypes []string `pulumi:"backupInstanceTypes"` // bandwidth package id. if user is standard user, then the bandwidthPackageId is needed, or default has bandwidth_package_id. BandwidthPackageId *string `pulumi:"bandwidthPackageId"` // Name of cam role. CamRoleName *string `pulumi:"camRoleName"` // Configurations of data disk. DataDisks []NodePoolAutoScalingConfigDataDisk `pulumi:"dataDisks"` // To specify whether to enable cloud monitor service. Default is TRUE. EnhancedMonitorService *bool `pulumi:"enhancedMonitorService"` // To specify whether to enable cloud security service. Default is TRUE. EnhancedSecurityService *bool `pulumi:"enhancedSecurityService"` // The hostname of the cloud server, dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows instances are not supported. Examples of other types (Linux, etc.): The character length is [2, 40], multiple periods are allowed, and there is a paragraph between the dots, and each paragraph is allowed to consist of letters (unlimited case), numbers and dashes (-). Pure numbers are not allowed. For usage, refer to `HostNameSettings` in https://www.tencentcloud.com/document/product/377/31001. HostName *string `pulumi:"hostName"` // The style of the host name of the cloud server, the value range includes ORIGINAL and UNIQUE, and the default is ORIGINAL. For usage, refer to `HostNameSettings` in https://www.tencentcloud.com/document/product/377/31001. HostNameStyle *string `pulumi:"hostNameStyle"` // Charge type of instance. Valid values are `PREPAID`, `POSTPAID_BY_HOUR`, `SPOTPAID`. The default is `POSTPAID_BY_HOUR`. NOTE: `SPOTPAID` instance must set `spotInstanceType` and `spotMaxPrice` at the same time. InstanceChargeType *string `pulumi:"instanceChargeType"` // The tenancy (in month) of the prepaid instance, NOTE: it only works when instanceChargeType is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`. InstanceChargeTypePrepaidPeriod *int `pulumi:"instanceChargeTypePrepaidPeriod"` // Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instanceChargeType is set to `PREPAID`. InstanceChargeTypePrepaidRenewFlag *string `pulumi:"instanceChargeTypePrepaidRenewFlag"` // Instance name, no more than 60 characters. For usage, refer to `InstanceNameSettings` in https://www.tencentcloud.com/document/product/377/31001. InstanceName *string `pulumi:"instanceName"` // Specified types of CVM instance. InstanceType string `pulumi:"instanceType"` // Charge types for network traffic. Valid value: `BANDWIDTH_PREPAID`, `TRAFFIC_POSTPAID_BY_HOUR`, `TRAFFIC_POSTPAID_BY_HOUR` and `BANDWIDTH_PACKAGE`. InternetChargeType *string `pulumi:"internetChargeType"` // Max bandwidth of Internet access in Mbps. Default is `0`. InternetMaxBandwidthOut *int `pulumi:"internetMaxBandwidthOut"` // ID list of keys. KeyIds []string `pulumi:"keyIds"` // Password to access. Password *string `pulumi:"password"` // Specify whether to assign an Internet IP address. PublicIpAssigned *bool `pulumi:"publicIpAssigned"` // Security groups to which a CVM instance belongs. SecurityGroupIds []string `pulumi:"securityGroupIds"` // Type of spot instance, only support `one-time` now. Note: it only works when instanceChargeType is set to `SPOTPAID`. SpotInstanceType *string `pulumi:"spotInstanceType"` // Max price of a spot instance, is the format of decimal string, for example "0.50". Note: it only works when instanceChargeType is set to `SPOTPAID`. SpotMaxPrice *string `pulumi:"spotMaxPrice"` // Volume of system disk in GB. Default is `50`. SystemDiskSize *int `pulumi:"systemDiskSize"` // Type of a CVM disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`. Default is `CLOUD_PREMIUM`. SystemDiskType *string `pulumi:"systemDiskType"` }
type NodePoolAutoScalingConfigArgs ¶
type NodePoolAutoScalingConfigArgs struct { // Backup CVM instance types if specified instance type sold out or mismatch. BackupInstanceTypes pulumi.StringArrayInput `pulumi:"backupInstanceTypes"` // bandwidth package id. if user is standard user, then the bandwidthPackageId is needed, or default has bandwidth_package_id. BandwidthPackageId pulumi.StringPtrInput `pulumi:"bandwidthPackageId"` // Name of cam role. CamRoleName pulumi.StringPtrInput `pulumi:"camRoleName"` // Configurations of data disk. DataDisks NodePoolAutoScalingConfigDataDiskArrayInput `pulumi:"dataDisks"` // To specify whether to enable cloud monitor service. Default is TRUE. EnhancedMonitorService pulumi.BoolPtrInput `pulumi:"enhancedMonitorService"` // To specify whether to enable cloud security service. Default is TRUE. EnhancedSecurityService pulumi.BoolPtrInput `pulumi:"enhancedSecurityService"` // The hostname of the cloud server, dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows instances are not supported. Examples of other types (Linux, etc.): The character length is [2, 40], multiple periods are allowed, and there is a paragraph between the dots, and each paragraph is allowed to consist of letters (unlimited case), numbers and dashes (-). Pure numbers are not allowed. For usage, refer to `HostNameSettings` in https://www.tencentcloud.com/document/product/377/31001. HostName pulumi.StringPtrInput `pulumi:"hostName"` // The style of the host name of the cloud server, the value range includes ORIGINAL and UNIQUE, and the default is ORIGINAL. For usage, refer to `HostNameSettings` in https://www.tencentcloud.com/document/product/377/31001. HostNameStyle pulumi.StringPtrInput `pulumi:"hostNameStyle"` // Charge type of instance. Valid values are `PREPAID`, `POSTPAID_BY_HOUR`, `SPOTPAID`. The default is `POSTPAID_BY_HOUR`. NOTE: `SPOTPAID` instance must set `spotInstanceType` and `spotMaxPrice` at the same time. InstanceChargeType pulumi.StringPtrInput `pulumi:"instanceChargeType"` // The tenancy (in month) of the prepaid instance, NOTE: it only works when instanceChargeType is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`. InstanceChargeTypePrepaidPeriod pulumi.IntPtrInput `pulumi:"instanceChargeTypePrepaidPeriod"` // Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instanceChargeType is set to `PREPAID`. InstanceChargeTypePrepaidRenewFlag pulumi.StringPtrInput `pulumi:"instanceChargeTypePrepaidRenewFlag"` // Instance name, no more than 60 characters. For usage, refer to `InstanceNameSettings` in https://www.tencentcloud.com/document/product/377/31001. InstanceName pulumi.StringPtrInput `pulumi:"instanceName"` // Specified types of CVM instance. InstanceType pulumi.StringInput `pulumi:"instanceType"` // Charge types for network traffic. Valid value: `BANDWIDTH_PREPAID`, `TRAFFIC_POSTPAID_BY_HOUR`, `TRAFFIC_POSTPAID_BY_HOUR` and `BANDWIDTH_PACKAGE`. InternetChargeType pulumi.StringPtrInput `pulumi:"internetChargeType"` // Max bandwidth of Internet access in Mbps. Default is `0`. InternetMaxBandwidthOut pulumi.IntPtrInput `pulumi:"internetMaxBandwidthOut"` // ID list of keys. KeyIds pulumi.StringArrayInput `pulumi:"keyIds"` // Password to access. Password pulumi.StringPtrInput `pulumi:"password"` // Specify whether to assign an Internet IP address. PublicIpAssigned pulumi.BoolPtrInput `pulumi:"publicIpAssigned"` // Security groups to which a CVM instance belongs. SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"` // Type of spot instance, only support `one-time` now. Note: it only works when instanceChargeType is set to `SPOTPAID`. SpotInstanceType pulumi.StringPtrInput `pulumi:"spotInstanceType"` // Max price of a spot instance, is the format of decimal string, for example "0.50". Note: it only works when instanceChargeType is set to `SPOTPAID`. SpotMaxPrice pulumi.StringPtrInput `pulumi:"spotMaxPrice"` // Volume of system disk in GB. Default is `50`. SystemDiskSize pulumi.IntPtrInput `pulumi:"systemDiskSize"` // Type of a CVM disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`. Default is `CLOUD_PREMIUM`. SystemDiskType pulumi.StringPtrInput `pulumi:"systemDiskType"` }
func (NodePoolAutoScalingConfigArgs) ElementType ¶
func (NodePoolAutoScalingConfigArgs) ElementType() reflect.Type
func (NodePoolAutoScalingConfigArgs) ToNodePoolAutoScalingConfigOutput ¶
func (i NodePoolAutoScalingConfigArgs) ToNodePoolAutoScalingConfigOutput() NodePoolAutoScalingConfigOutput
func (NodePoolAutoScalingConfigArgs) ToNodePoolAutoScalingConfigOutputWithContext ¶
func (i NodePoolAutoScalingConfigArgs) ToNodePoolAutoScalingConfigOutputWithContext(ctx context.Context) NodePoolAutoScalingConfigOutput
func (NodePoolAutoScalingConfigArgs) ToNodePoolAutoScalingConfigPtrOutput ¶
func (i NodePoolAutoScalingConfigArgs) ToNodePoolAutoScalingConfigPtrOutput() NodePoolAutoScalingConfigPtrOutput
func (NodePoolAutoScalingConfigArgs) ToNodePoolAutoScalingConfigPtrOutputWithContext ¶
func (i NodePoolAutoScalingConfigArgs) ToNodePoolAutoScalingConfigPtrOutputWithContext(ctx context.Context) NodePoolAutoScalingConfigPtrOutput
type NodePoolAutoScalingConfigDataDisk ¶
type NodePoolAutoScalingConfigDataDisk struct { // Indicates whether the disk remove after instance terminated. Default is `false`. DeleteWithInstance *bool `pulumi:"deleteWithInstance"` // Volume of disk in GB. Default is `0`. DiskSize *int `pulumi:"diskSize"` // Types of disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`. DiskType *string `pulumi:"diskType"` // Specify whether to encrypt data disk, default: false. NOTE: Make sure the instance type is offering and the cam role `QcloudKMSAccessForCVMRole` was provided. Encrypt *bool `pulumi:"encrypt"` // Data disk snapshot ID. SnapshotId *string `pulumi:"snapshotId"` // Add extra performance to the data disk. Only works when disk type is `CLOUD_TSSD` or `CLOUD_HSSD` and `dataSize` > 460GB. ThroughputPerformance *int `pulumi:"throughputPerformance"` }
type NodePoolAutoScalingConfigDataDiskArgs ¶
type NodePoolAutoScalingConfigDataDiskArgs struct { // Indicates whether the disk remove after instance terminated. Default is `false`. DeleteWithInstance pulumi.BoolPtrInput `pulumi:"deleteWithInstance"` // Volume of disk in GB. Default is `0`. DiskSize pulumi.IntPtrInput `pulumi:"diskSize"` // Types of disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`. DiskType pulumi.StringPtrInput `pulumi:"diskType"` // Specify whether to encrypt data disk, default: false. NOTE: Make sure the instance type is offering and the cam role `QcloudKMSAccessForCVMRole` was provided. Encrypt pulumi.BoolPtrInput `pulumi:"encrypt"` // Data disk snapshot ID. SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"` // Add extra performance to the data disk. Only works when disk type is `CLOUD_TSSD` or `CLOUD_HSSD` and `dataSize` > 460GB. ThroughputPerformance pulumi.IntPtrInput `pulumi:"throughputPerformance"` }
func (NodePoolAutoScalingConfigDataDiskArgs) ElementType ¶
func (NodePoolAutoScalingConfigDataDiskArgs) ElementType() reflect.Type
func (NodePoolAutoScalingConfigDataDiskArgs) ToNodePoolAutoScalingConfigDataDiskOutput ¶
func (i NodePoolAutoScalingConfigDataDiskArgs) ToNodePoolAutoScalingConfigDataDiskOutput() NodePoolAutoScalingConfigDataDiskOutput
func (NodePoolAutoScalingConfigDataDiskArgs) ToNodePoolAutoScalingConfigDataDiskOutputWithContext ¶
func (i NodePoolAutoScalingConfigDataDiskArgs) ToNodePoolAutoScalingConfigDataDiskOutputWithContext(ctx context.Context) NodePoolAutoScalingConfigDataDiskOutput
type NodePoolAutoScalingConfigDataDiskArray ¶
type NodePoolAutoScalingConfigDataDiskArray []NodePoolAutoScalingConfigDataDiskInput
func (NodePoolAutoScalingConfigDataDiskArray) ElementType ¶
func (NodePoolAutoScalingConfigDataDiskArray) ElementType() reflect.Type
func (NodePoolAutoScalingConfigDataDiskArray) ToNodePoolAutoScalingConfigDataDiskArrayOutput ¶
func (i NodePoolAutoScalingConfigDataDiskArray) ToNodePoolAutoScalingConfigDataDiskArrayOutput() NodePoolAutoScalingConfigDataDiskArrayOutput
func (NodePoolAutoScalingConfigDataDiskArray) ToNodePoolAutoScalingConfigDataDiskArrayOutputWithContext ¶
func (i NodePoolAutoScalingConfigDataDiskArray) ToNodePoolAutoScalingConfigDataDiskArrayOutputWithContext(ctx context.Context) NodePoolAutoScalingConfigDataDiskArrayOutput
type NodePoolAutoScalingConfigDataDiskArrayInput ¶
type NodePoolAutoScalingConfigDataDiskArrayInput interface { pulumi.Input ToNodePoolAutoScalingConfigDataDiskArrayOutput() NodePoolAutoScalingConfigDataDiskArrayOutput ToNodePoolAutoScalingConfigDataDiskArrayOutputWithContext(context.Context) NodePoolAutoScalingConfigDataDiskArrayOutput }
NodePoolAutoScalingConfigDataDiskArrayInput is an input type that accepts NodePoolAutoScalingConfigDataDiskArray and NodePoolAutoScalingConfigDataDiskArrayOutput values. You can construct a concrete instance of `NodePoolAutoScalingConfigDataDiskArrayInput` via:
NodePoolAutoScalingConfigDataDiskArray{ NodePoolAutoScalingConfigDataDiskArgs{...} }
type NodePoolAutoScalingConfigDataDiskArrayOutput ¶
type NodePoolAutoScalingConfigDataDiskArrayOutput struct{ *pulumi.OutputState }
func (NodePoolAutoScalingConfigDataDiskArrayOutput) ElementType ¶
func (NodePoolAutoScalingConfigDataDiskArrayOutput) ElementType() reflect.Type
func (NodePoolAutoScalingConfigDataDiskArrayOutput) ToNodePoolAutoScalingConfigDataDiskArrayOutput ¶
func (o NodePoolAutoScalingConfigDataDiskArrayOutput) ToNodePoolAutoScalingConfigDataDiskArrayOutput() NodePoolAutoScalingConfigDataDiskArrayOutput
func (NodePoolAutoScalingConfigDataDiskArrayOutput) ToNodePoolAutoScalingConfigDataDiskArrayOutputWithContext ¶
func (o NodePoolAutoScalingConfigDataDiskArrayOutput) ToNodePoolAutoScalingConfigDataDiskArrayOutputWithContext(ctx context.Context) NodePoolAutoScalingConfigDataDiskArrayOutput
type NodePoolAutoScalingConfigDataDiskInput ¶
type NodePoolAutoScalingConfigDataDiskInput interface { pulumi.Input ToNodePoolAutoScalingConfigDataDiskOutput() NodePoolAutoScalingConfigDataDiskOutput ToNodePoolAutoScalingConfigDataDiskOutputWithContext(context.Context) NodePoolAutoScalingConfigDataDiskOutput }
NodePoolAutoScalingConfigDataDiskInput is an input type that accepts NodePoolAutoScalingConfigDataDiskArgs and NodePoolAutoScalingConfigDataDiskOutput values. You can construct a concrete instance of `NodePoolAutoScalingConfigDataDiskInput` via:
NodePoolAutoScalingConfigDataDiskArgs{...}
type NodePoolAutoScalingConfigDataDiskOutput ¶
type NodePoolAutoScalingConfigDataDiskOutput struct{ *pulumi.OutputState }
func (NodePoolAutoScalingConfigDataDiskOutput) DeleteWithInstance ¶
func (o NodePoolAutoScalingConfigDataDiskOutput) DeleteWithInstance() pulumi.BoolPtrOutput
Indicates whether the disk remove after instance terminated. Default is `false`.
func (NodePoolAutoScalingConfigDataDiskOutput) DiskSize ¶
func (o NodePoolAutoScalingConfigDataDiskOutput) DiskSize() pulumi.IntPtrOutput
Volume of disk in GB. Default is `0`.
func (NodePoolAutoScalingConfigDataDiskOutput) DiskType ¶
func (o NodePoolAutoScalingConfigDataDiskOutput) DiskType() pulumi.StringPtrOutput
Types of disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`.
func (NodePoolAutoScalingConfigDataDiskOutput) ElementType ¶
func (NodePoolAutoScalingConfigDataDiskOutput) ElementType() reflect.Type
func (NodePoolAutoScalingConfigDataDiskOutput) Encrypt ¶ added in v0.1.3
func (o NodePoolAutoScalingConfigDataDiskOutput) Encrypt() pulumi.BoolPtrOutput
Specify whether to encrypt data disk, default: false. NOTE: Make sure the instance type is offering and the cam role `QcloudKMSAccessForCVMRole` was provided.
func (NodePoolAutoScalingConfigDataDiskOutput) SnapshotId ¶
func (o NodePoolAutoScalingConfigDataDiskOutput) SnapshotId() pulumi.StringPtrOutput
Data disk snapshot ID.
func (NodePoolAutoScalingConfigDataDiskOutput) ThroughputPerformance ¶ added in v0.1.3
func (o NodePoolAutoScalingConfigDataDiskOutput) ThroughputPerformance() pulumi.IntPtrOutput
Add extra performance to the data disk. Only works when disk type is `CLOUD_TSSD` or `CLOUD_HSSD` and `dataSize` > 460GB.
func (NodePoolAutoScalingConfigDataDiskOutput) ToNodePoolAutoScalingConfigDataDiskOutput ¶
func (o NodePoolAutoScalingConfigDataDiskOutput) ToNodePoolAutoScalingConfigDataDiskOutput() NodePoolAutoScalingConfigDataDiskOutput
func (NodePoolAutoScalingConfigDataDiskOutput) ToNodePoolAutoScalingConfigDataDiskOutputWithContext ¶
func (o NodePoolAutoScalingConfigDataDiskOutput) ToNodePoolAutoScalingConfigDataDiskOutputWithContext(ctx context.Context) NodePoolAutoScalingConfigDataDiskOutput
type NodePoolAutoScalingConfigInput ¶
type NodePoolAutoScalingConfigInput interface { pulumi.Input ToNodePoolAutoScalingConfigOutput() NodePoolAutoScalingConfigOutput ToNodePoolAutoScalingConfigOutputWithContext(context.Context) NodePoolAutoScalingConfigOutput }
NodePoolAutoScalingConfigInput is an input type that accepts NodePoolAutoScalingConfigArgs and NodePoolAutoScalingConfigOutput values. You can construct a concrete instance of `NodePoolAutoScalingConfigInput` via:
NodePoolAutoScalingConfigArgs{...}
type NodePoolAutoScalingConfigOutput ¶
type NodePoolAutoScalingConfigOutput struct{ *pulumi.OutputState }
func (NodePoolAutoScalingConfigOutput) BackupInstanceTypes ¶
func (o NodePoolAutoScalingConfigOutput) BackupInstanceTypes() pulumi.StringArrayOutput
Backup CVM instance types if specified instance type sold out or mismatch.
func (NodePoolAutoScalingConfigOutput) BandwidthPackageId ¶
func (o NodePoolAutoScalingConfigOutput) BandwidthPackageId() pulumi.StringPtrOutput
bandwidth package id. if user is standard user, then the bandwidthPackageId is needed, or default has bandwidth_package_id.
func (NodePoolAutoScalingConfigOutput) CamRoleName ¶
func (o NodePoolAutoScalingConfigOutput) CamRoleName() pulumi.StringPtrOutput
Name of cam role.
func (NodePoolAutoScalingConfigOutput) DataDisks ¶
func (o NodePoolAutoScalingConfigOutput) DataDisks() NodePoolAutoScalingConfigDataDiskArrayOutput
Configurations of data disk.
func (NodePoolAutoScalingConfigOutput) ElementType ¶
func (NodePoolAutoScalingConfigOutput) ElementType() reflect.Type
func (NodePoolAutoScalingConfigOutput) EnhancedMonitorService ¶
func (o NodePoolAutoScalingConfigOutput) EnhancedMonitorService() pulumi.BoolPtrOutput
To specify whether to enable cloud monitor service. Default is TRUE.
func (NodePoolAutoScalingConfigOutput) EnhancedSecurityService ¶
func (o NodePoolAutoScalingConfigOutput) EnhancedSecurityService() pulumi.BoolPtrOutput
To specify whether to enable cloud security service. Default is TRUE.
func (NodePoolAutoScalingConfigOutput) HostName ¶ added in v0.1.3
func (o NodePoolAutoScalingConfigOutput) HostName() pulumi.StringPtrOutput
The hostname of the cloud server, dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows instances are not supported. Examples of other types (Linux, etc.): The character length is [2, 40], multiple periods are allowed, and there is a paragraph between the dots, and each paragraph is allowed to consist of letters (unlimited case), numbers and dashes (-). Pure numbers are not allowed. For usage, refer to `HostNameSettings` in https://www.tencentcloud.com/document/product/377/31001.
func (NodePoolAutoScalingConfigOutput) HostNameStyle ¶ added in v0.1.3
func (o NodePoolAutoScalingConfigOutput) HostNameStyle() pulumi.StringPtrOutput
The style of the host name of the cloud server, the value range includes ORIGINAL and UNIQUE, and the default is ORIGINAL. For usage, refer to `HostNameSettings` in https://www.tencentcloud.com/document/product/377/31001.
func (NodePoolAutoScalingConfigOutput) InstanceChargeType ¶
func (o NodePoolAutoScalingConfigOutput) InstanceChargeType() pulumi.StringPtrOutput
Charge type of instance. Valid values are `PREPAID`, `POSTPAID_BY_HOUR`, `SPOTPAID`. The default is `POSTPAID_BY_HOUR`. NOTE: `SPOTPAID` instance must set `spotInstanceType` and `spotMaxPrice` at the same time.
func (NodePoolAutoScalingConfigOutput) InstanceChargeTypePrepaidPeriod ¶
func (o NodePoolAutoScalingConfigOutput) InstanceChargeTypePrepaidPeriod() pulumi.IntPtrOutput
The tenancy (in month) of the prepaid instance, NOTE: it only works when instanceChargeType is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`.
func (NodePoolAutoScalingConfigOutput) InstanceChargeTypePrepaidRenewFlag ¶
func (o NodePoolAutoScalingConfigOutput) InstanceChargeTypePrepaidRenewFlag() pulumi.StringPtrOutput
Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instanceChargeType is set to `PREPAID`.
func (NodePoolAutoScalingConfigOutput) InstanceName ¶ added in v0.1.3
func (o NodePoolAutoScalingConfigOutput) InstanceName() pulumi.StringPtrOutput
Instance name, no more than 60 characters. For usage, refer to `InstanceNameSettings` in https://www.tencentcloud.com/document/product/377/31001.
func (NodePoolAutoScalingConfigOutput) InstanceType ¶
func (o NodePoolAutoScalingConfigOutput) InstanceType() pulumi.StringOutput
Specified types of CVM instance.
func (NodePoolAutoScalingConfigOutput) InternetChargeType ¶
func (o NodePoolAutoScalingConfigOutput) InternetChargeType() pulumi.StringPtrOutput
Charge types for network traffic. Valid value: `BANDWIDTH_PREPAID`, `TRAFFIC_POSTPAID_BY_HOUR`, `TRAFFIC_POSTPAID_BY_HOUR` and `BANDWIDTH_PACKAGE`.
func (NodePoolAutoScalingConfigOutput) InternetMaxBandwidthOut ¶
func (o NodePoolAutoScalingConfigOutput) InternetMaxBandwidthOut() pulumi.IntPtrOutput
Max bandwidth of Internet access in Mbps. Default is `0`.
func (NodePoolAutoScalingConfigOutput) KeyIds ¶
func (o NodePoolAutoScalingConfigOutput) KeyIds() pulumi.StringArrayOutput
ID list of keys.
func (NodePoolAutoScalingConfigOutput) Password ¶
func (o NodePoolAutoScalingConfigOutput) Password() pulumi.StringPtrOutput
Password to access.
func (NodePoolAutoScalingConfigOutput) PublicIpAssigned ¶
func (o NodePoolAutoScalingConfigOutput) PublicIpAssigned() pulumi.BoolPtrOutput
Specify whether to assign an Internet IP address.
func (NodePoolAutoScalingConfigOutput) SecurityGroupIds ¶
func (o NodePoolAutoScalingConfigOutput) SecurityGroupIds() pulumi.StringArrayOutput
Security groups to which a CVM instance belongs.
func (NodePoolAutoScalingConfigOutput) SpotInstanceType ¶
func (o NodePoolAutoScalingConfigOutput) SpotInstanceType() pulumi.StringPtrOutput
Type of spot instance, only support `one-time` now. Note: it only works when instanceChargeType is set to `SPOTPAID`.
func (NodePoolAutoScalingConfigOutput) SpotMaxPrice ¶
func (o NodePoolAutoScalingConfigOutput) SpotMaxPrice() pulumi.StringPtrOutput
Max price of a spot instance, is the format of decimal string, for example "0.50". Note: it only works when instanceChargeType is set to `SPOTPAID`.
func (NodePoolAutoScalingConfigOutput) SystemDiskSize ¶
func (o NodePoolAutoScalingConfigOutput) SystemDiskSize() pulumi.IntPtrOutput
Volume of system disk in GB. Default is `50`.
func (NodePoolAutoScalingConfigOutput) SystemDiskType ¶
func (o NodePoolAutoScalingConfigOutput) SystemDiskType() pulumi.StringPtrOutput
Type of a CVM disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`. Default is `CLOUD_PREMIUM`.
func (NodePoolAutoScalingConfigOutput) ToNodePoolAutoScalingConfigOutput ¶
func (o NodePoolAutoScalingConfigOutput) ToNodePoolAutoScalingConfigOutput() NodePoolAutoScalingConfigOutput
func (NodePoolAutoScalingConfigOutput) ToNodePoolAutoScalingConfigOutputWithContext ¶
func (o NodePoolAutoScalingConfigOutput) ToNodePoolAutoScalingConfigOutputWithContext(ctx context.Context) NodePoolAutoScalingConfigOutput
func (NodePoolAutoScalingConfigOutput) ToNodePoolAutoScalingConfigPtrOutput ¶
func (o NodePoolAutoScalingConfigOutput) ToNodePoolAutoScalingConfigPtrOutput() NodePoolAutoScalingConfigPtrOutput
func (NodePoolAutoScalingConfigOutput) ToNodePoolAutoScalingConfigPtrOutputWithContext ¶
func (o NodePoolAutoScalingConfigOutput) ToNodePoolAutoScalingConfigPtrOutputWithContext(ctx context.Context) NodePoolAutoScalingConfigPtrOutput
type NodePoolAutoScalingConfigPtrInput ¶
type NodePoolAutoScalingConfigPtrInput interface { pulumi.Input ToNodePoolAutoScalingConfigPtrOutput() NodePoolAutoScalingConfigPtrOutput ToNodePoolAutoScalingConfigPtrOutputWithContext(context.Context) NodePoolAutoScalingConfigPtrOutput }
NodePoolAutoScalingConfigPtrInput is an input type that accepts NodePoolAutoScalingConfigArgs, NodePoolAutoScalingConfigPtr and NodePoolAutoScalingConfigPtrOutput values. You can construct a concrete instance of `NodePoolAutoScalingConfigPtrInput` via:
NodePoolAutoScalingConfigArgs{...} or: nil
func NodePoolAutoScalingConfigPtr ¶
func NodePoolAutoScalingConfigPtr(v *NodePoolAutoScalingConfigArgs) NodePoolAutoScalingConfigPtrInput
type NodePoolAutoScalingConfigPtrOutput ¶
type NodePoolAutoScalingConfigPtrOutput struct{ *pulumi.OutputState }
func (NodePoolAutoScalingConfigPtrOutput) BackupInstanceTypes ¶
func (o NodePoolAutoScalingConfigPtrOutput) BackupInstanceTypes() pulumi.StringArrayOutput
Backup CVM instance types if specified instance type sold out or mismatch.
func (NodePoolAutoScalingConfigPtrOutput) BandwidthPackageId ¶
func (o NodePoolAutoScalingConfigPtrOutput) BandwidthPackageId() pulumi.StringPtrOutput
bandwidth package id. if user is standard user, then the bandwidthPackageId is needed, or default has bandwidth_package_id.
func (NodePoolAutoScalingConfigPtrOutput) CamRoleName ¶
func (o NodePoolAutoScalingConfigPtrOutput) CamRoleName() pulumi.StringPtrOutput
Name of cam role.
func (NodePoolAutoScalingConfigPtrOutput) DataDisks ¶
func (o NodePoolAutoScalingConfigPtrOutput) DataDisks() NodePoolAutoScalingConfigDataDiskArrayOutput
Configurations of data disk.
func (NodePoolAutoScalingConfigPtrOutput) Elem ¶
func (o NodePoolAutoScalingConfigPtrOutput) Elem() NodePoolAutoScalingConfigOutput
func (NodePoolAutoScalingConfigPtrOutput) ElementType ¶
func (NodePoolAutoScalingConfigPtrOutput) ElementType() reflect.Type
func (NodePoolAutoScalingConfigPtrOutput) EnhancedMonitorService ¶
func (o NodePoolAutoScalingConfigPtrOutput) EnhancedMonitorService() pulumi.BoolPtrOutput
To specify whether to enable cloud monitor service. Default is TRUE.
func (NodePoolAutoScalingConfigPtrOutput) EnhancedSecurityService ¶
func (o NodePoolAutoScalingConfigPtrOutput) EnhancedSecurityService() pulumi.BoolPtrOutput
To specify whether to enable cloud security service. Default is TRUE.
func (NodePoolAutoScalingConfigPtrOutput) HostName ¶ added in v0.1.3
func (o NodePoolAutoScalingConfigPtrOutput) HostName() pulumi.StringPtrOutput
The hostname of the cloud server, dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows instances are not supported. Examples of other types (Linux, etc.): The character length is [2, 40], multiple periods are allowed, and there is a paragraph between the dots, and each paragraph is allowed to consist of letters (unlimited case), numbers and dashes (-). Pure numbers are not allowed. For usage, refer to `HostNameSettings` in https://www.tencentcloud.com/document/product/377/31001.
func (NodePoolAutoScalingConfigPtrOutput) HostNameStyle ¶ added in v0.1.3
func (o NodePoolAutoScalingConfigPtrOutput) HostNameStyle() pulumi.StringPtrOutput
The style of the host name of the cloud server, the value range includes ORIGINAL and UNIQUE, and the default is ORIGINAL. For usage, refer to `HostNameSettings` in https://www.tencentcloud.com/document/product/377/31001.
func (NodePoolAutoScalingConfigPtrOutput) InstanceChargeType ¶
func (o NodePoolAutoScalingConfigPtrOutput) InstanceChargeType() pulumi.StringPtrOutput
Charge type of instance. Valid values are `PREPAID`, `POSTPAID_BY_HOUR`, `SPOTPAID`. The default is `POSTPAID_BY_HOUR`. NOTE: `SPOTPAID` instance must set `spotInstanceType` and `spotMaxPrice` at the same time.
func (NodePoolAutoScalingConfigPtrOutput) InstanceChargeTypePrepaidPeriod ¶
func (o NodePoolAutoScalingConfigPtrOutput) InstanceChargeTypePrepaidPeriod() pulumi.IntPtrOutput
The tenancy (in month) of the prepaid instance, NOTE: it only works when instanceChargeType is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`.
func (NodePoolAutoScalingConfigPtrOutput) InstanceChargeTypePrepaidRenewFlag ¶
func (o NodePoolAutoScalingConfigPtrOutput) InstanceChargeTypePrepaidRenewFlag() pulumi.StringPtrOutput
Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instanceChargeType is set to `PREPAID`.
func (NodePoolAutoScalingConfigPtrOutput) InstanceName ¶ added in v0.1.3
func (o NodePoolAutoScalingConfigPtrOutput) InstanceName() pulumi.StringPtrOutput
Instance name, no more than 60 characters. For usage, refer to `InstanceNameSettings` in https://www.tencentcloud.com/document/product/377/31001.
func (NodePoolAutoScalingConfigPtrOutput) InstanceType ¶
func (o NodePoolAutoScalingConfigPtrOutput) InstanceType() pulumi.StringPtrOutput
Specified types of CVM instance.
func (NodePoolAutoScalingConfigPtrOutput) InternetChargeType ¶
func (o NodePoolAutoScalingConfigPtrOutput) InternetChargeType() pulumi.StringPtrOutput
Charge types for network traffic. Valid value: `BANDWIDTH_PREPAID`, `TRAFFIC_POSTPAID_BY_HOUR`, `TRAFFIC_POSTPAID_BY_HOUR` and `BANDWIDTH_PACKAGE`.
func (NodePoolAutoScalingConfigPtrOutput) InternetMaxBandwidthOut ¶
func (o NodePoolAutoScalingConfigPtrOutput) InternetMaxBandwidthOut() pulumi.IntPtrOutput
Max bandwidth of Internet access in Mbps. Default is `0`.
func (NodePoolAutoScalingConfigPtrOutput) KeyIds ¶
func (o NodePoolAutoScalingConfigPtrOutput) KeyIds() pulumi.StringArrayOutput
ID list of keys.
func (NodePoolAutoScalingConfigPtrOutput) Password ¶
func (o NodePoolAutoScalingConfigPtrOutput) Password() pulumi.StringPtrOutput
Password to access.
func (NodePoolAutoScalingConfigPtrOutput) PublicIpAssigned ¶
func (o NodePoolAutoScalingConfigPtrOutput) PublicIpAssigned() pulumi.BoolPtrOutput
Specify whether to assign an Internet IP address.
func (NodePoolAutoScalingConfigPtrOutput) SecurityGroupIds ¶
func (o NodePoolAutoScalingConfigPtrOutput) SecurityGroupIds() pulumi.StringArrayOutput
Security groups to which a CVM instance belongs.
func (NodePoolAutoScalingConfigPtrOutput) SpotInstanceType ¶
func (o NodePoolAutoScalingConfigPtrOutput) SpotInstanceType() pulumi.StringPtrOutput
Type of spot instance, only support `one-time` now. Note: it only works when instanceChargeType is set to `SPOTPAID`.
func (NodePoolAutoScalingConfigPtrOutput) SpotMaxPrice ¶
func (o NodePoolAutoScalingConfigPtrOutput) SpotMaxPrice() pulumi.StringPtrOutput
Max price of a spot instance, is the format of decimal string, for example "0.50". Note: it only works when instanceChargeType is set to `SPOTPAID`.
func (NodePoolAutoScalingConfigPtrOutput) SystemDiskSize ¶
func (o NodePoolAutoScalingConfigPtrOutput) SystemDiskSize() pulumi.IntPtrOutput
Volume of system disk in GB. Default is `50`.
func (NodePoolAutoScalingConfigPtrOutput) SystemDiskType ¶
func (o NodePoolAutoScalingConfigPtrOutput) SystemDiskType() pulumi.StringPtrOutput
Type of a CVM disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`. Default is `CLOUD_PREMIUM`.
func (NodePoolAutoScalingConfigPtrOutput) ToNodePoolAutoScalingConfigPtrOutput ¶
func (o NodePoolAutoScalingConfigPtrOutput) ToNodePoolAutoScalingConfigPtrOutput() NodePoolAutoScalingConfigPtrOutput
func (NodePoolAutoScalingConfigPtrOutput) ToNodePoolAutoScalingConfigPtrOutputWithContext ¶
func (o NodePoolAutoScalingConfigPtrOutput) ToNodePoolAutoScalingConfigPtrOutputWithContext(ctx context.Context) NodePoolAutoScalingConfigPtrOutput
type NodePoolInput ¶
type NodePoolInput interface { pulumi.Input ToNodePoolOutput() NodePoolOutput ToNodePoolOutputWithContext(ctx context.Context) NodePoolOutput }
type NodePoolMap ¶
type NodePoolMap map[string]NodePoolInput
func (NodePoolMap) ElementType ¶
func (NodePoolMap) ElementType() reflect.Type
func (NodePoolMap) ToNodePoolMapOutput ¶
func (i NodePoolMap) ToNodePoolMapOutput() NodePoolMapOutput
func (NodePoolMap) ToNodePoolMapOutputWithContext ¶
func (i NodePoolMap) ToNodePoolMapOutputWithContext(ctx context.Context) NodePoolMapOutput
type NodePoolMapInput ¶
type NodePoolMapInput interface { pulumi.Input ToNodePoolMapOutput() NodePoolMapOutput ToNodePoolMapOutputWithContext(context.Context) NodePoolMapOutput }
NodePoolMapInput is an input type that accepts NodePoolMap and NodePoolMapOutput values. You can construct a concrete instance of `NodePoolMapInput` via:
NodePoolMap{ "key": NodePoolArgs{...} }
type NodePoolMapOutput ¶
type NodePoolMapOutput struct{ *pulumi.OutputState }
func (NodePoolMapOutput) ElementType ¶
func (NodePoolMapOutput) ElementType() reflect.Type
func (NodePoolMapOutput) MapIndex ¶
func (o NodePoolMapOutput) MapIndex(k pulumi.StringInput) NodePoolOutput
func (NodePoolMapOutput) ToNodePoolMapOutput ¶
func (o NodePoolMapOutput) ToNodePoolMapOutput() NodePoolMapOutput
func (NodePoolMapOutput) ToNodePoolMapOutputWithContext ¶
func (o NodePoolMapOutput) ToNodePoolMapOutputWithContext(ctx context.Context) NodePoolMapOutput
type NodePoolNodeConfig ¶
type NodePoolNodeConfig struct { // Configurations of data disk. DataDisks []NodePoolNodeConfigDataDisk `pulumi:"dataDisks"` // Indicate to set desired pod number in node. valid when the cluster is podCIDR. DesiredPodNum *int `pulumi:"desiredPodNum"` // Docker graph path. Default is `/var/lib/docker`. DockerGraphPath *string `pulumi:"dockerGraphPath"` // Custom parameter information related to the node. This is a white-list parameter. ExtraArgs []string `pulumi:"extraArgs"` // GPU driver parameters. GpuArgs *NodePoolNodeConfigGpuArgs `pulumi:"gpuArgs"` // Indicate to schedule the adding node or not. Default is true. IsSchedule *bool `pulumi:"isSchedule"` // Mount target. Default is not mounting. MountTarget *string `pulumi:"mountTarget"` // Base64-encoded User Data text, the length limit is 16KB. UserData *string `pulumi:"userData"` }
type NodePoolNodeConfigArgs ¶
type NodePoolNodeConfigArgs struct { // Configurations of data disk. DataDisks NodePoolNodeConfigDataDiskArrayInput `pulumi:"dataDisks"` // Indicate to set desired pod number in node. valid when the cluster is podCIDR. DesiredPodNum pulumi.IntPtrInput `pulumi:"desiredPodNum"` // Docker graph path. Default is `/var/lib/docker`. DockerGraphPath pulumi.StringPtrInput `pulumi:"dockerGraphPath"` // Custom parameter information related to the node. This is a white-list parameter. ExtraArgs pulumi.StringArrayInput `pulumi:"extraArgs"` // GPU driver parameters. GpuArgs NodePoolNodeConfigGpuArgsPtrInput `pulumi:"gpuArgs"` // Indicate to schedule the adding node or not. Default is true. IsSchedule pulumi.BoolPtrInput `pulumi:"isSchedule"` // Mount target. Default is not mounting. MountTarget pulumi.StringPtrInput `pulumi:"mountTarget"` // Base64-encoded User Data text, the length limit is 16KB. UserData pulumi.StringPtrInput `pulumi:"userData"` }
func (NodePoolNodeConfigArgs) ElementType ¶
func (NodePoolNodeConfigArgs) ElementType() reflect.Type
func (NodePoolNodeConfigArgs) ToNodePoolNodeConfigOutput ¶
func (i NodePoolNodeConfigArgs) ToNodePoolNodeConfigOutput() NodePoolNodeConfigOutput
func (NodePoolNodeConfigArgs) ToNodePoolNodeConfigOutputWithContext ¶
func (i NodePoolNodeConfigArgs) ToNodePoolNodeConfigOutputWithContext(ctx context.Context) NodePoolNodeConfigOutput
func (NodePoolNodeConfigArgs) ToNodePoolNodeConfigPtrOutput ¶
func (i NodePoolNodeConfigArgs) ToNodePoolNodeConfigPtrOutput() NodePoolNodeConfigPtrOutput
func (NodePoolNodeConfigArgs) ToNodePoolNodeConfigPtrOutputWithContext ¶
func (i NodePoolNodeConfigArgs) ToNodePoolNodeConfigPtrOutputWithContext(ctx context.Context) NodePoolNodeConfigPtrOutput
type NodePoolNodeConfigDataDisk ¶
type NodePoolNodeConfigDataDisk struct { // Indicate whether to auto format and mount or not. Default is `false`. AutoFormatAndMount *bool `pulumi:"autoFormatAndMount"` // The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error. DiskPartition *string `pulumi:"diskPartition"` // Volume of disk in GB. Default is `0`. DiskSize *int `pulumi:"diskSize"` // Types of disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`. DiskType *string `pulumi:"diskType"` // File system, e.g. `ext3/ext4/xfs`. FileSystem *string `pulumi:"fileSystem"` // Mount target. MountTarget *string `pulumi:"mountTarget"` }
type NodePoolNodeConfigDataDiskArgs ¶
type NodePoolNodeConfigDataDiskArgs struct { // Indicate whether to auto format and mount or not. Default is `false`. AutoFormatAndMount pulumi.BoolPtrInput `pulumi:"autoFormatAndMount"` // The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error. DiskPartition pulumi.StringPtrInput `pulumi:"diskPartition"` // Volume of disk in GB. Default is `0`. DiskSize pulumi.IntPtrInput `pulumi:"diskSize"` // Types of disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`. DiskType pulumi.StringPtrInput `pulumi:"diskType"` // File system, e.g. `ext3/ext4/xfs`. FileSystem pulumi.StringPtrInput `pulumi:"fileSystem"` // Mount target. MountTarget pulumi.StringPtrInput `pulumi:"mountTarget"` }
func (NodePoolNodeConfigDataDiskArgs) ElementType ¶
func (NodePoolNodeConfigDataDiskArgs) ElementType() reflect.Type
func (NodePoolNodeConfigDataDiskArgs) ToNodePoolNodeConfigDataDiskOutput ¶
func (i NodePoolNodeConfigDataDiskArgs) ToNodePoolNodeConfigDataDiskOutput() NodePoolNodeConfigDataDiskOutput
func (NodePoolNodeConfigDataDiskArgs) ToNodePoolNodeConfigDataDiskOutputWithContext ¶
func (i NodePoolNodeConfigDataDiskArgs) ToNodePoolNodeConfigDataDiskOutputWithContext(ctx context.Context) NodePoolNodeConfigDataDiskOutput
type NodePoolNodeConfigDataDiskArray ¶
type NodePoolNodeConfigDataDiskArray []NodePoolNodeConfigDataDiskInput
func (NodePoolNodeConfigDataDiskArray) ElementType ¶
func (NodePoolNodeConfigDataDiskArray) ElementType() reflect.Type
func (NodePoolNodeConfigDataDiskArray) ToNodePoolNodeConfigDataDiskArrayOutput ¶
func (i NodePoolNodeConfigDataDiskArray) ToNodePoolNodeConfigDataDiskArrayOutput() NodePoolNodeConfigDataDiskArrayOutput
func (NodePoolNodeConfigDataDiskArray) ToNodePoolNodeConfigDataDiskArrayOutputWithContext ¶
func (i NodePoolNodeConfigDataDiskArray) ToNodePoolNodeConfigDataDiskArrayOutputWithContext(ctx context.Context) NodePoolNodeConfigDataDiskArrayOutput
type NodePoolNodeConfigDataDiskArrayInput ¶
type NodePoolNodeConfigDataDiskArrayInput interface { pulumi.Input ToNodePoolNodeConfigDataDiskArrayOutput() NodePoolNodeConfigDataDiskArrayOutput ToNodePoolNodeConfigDataDiskArrayOutputWithContext(context.Context) NodePoolNodeConfigDataDiskArrayOutput }
NodePoolNodeConfigDataDiskArrayInput is an input type that accepts NodePoolNodeConfigDataDiskArray and NodePoolNodeConfigDataDiskArrayOutput values. You can construct a concrete instance of `NodePoolNodeConfigDataDiskArrayInput` via:
NodePoolNodeConfigDataDiskArray{ NodePoolNodeConfigDataDiskArgs{...} }
type NodePoolNodeConfigDataDiskArrayOutput ¶
type NodePoolNodeConfigDataDiskArrayOutput struct{ *pulumi.OutputState }
func (NodePoolNodeConfigDataDiskArrayOutput) ElementType ¶
func (NodePoolNodeConfigDataDiskArrayOutput) ElementType() reflect.Type
func (NodePoolNodeConfigDataDiskArrayOutput) Index ¶
func (o NodePoolNodeConfigDataDiskArrayOutput) Index(i pulumi.IntInput) NodePoolNodeConfigDataDiskOutput
func (NodePoolNodeConfigDataDiskArrayOutput) ToNodePoolNodeConfigDataDiskArrayOutput ¶
func (o NodePoolNodeConfigDataDiskArrayOutput) ToNodePoolNodeConfigDataDiskArrayOutput() NodePoolNodeConfigDataDiskArrayOutput
func (NodePoolNodeConfigDataDiskArrayOutput) ToNodePoolNodeConfigDataDiskArrayOutputWithContext ¶
func (o NodePoolNodeConfigDataDiskArrayOutput) ToNodePoolNodeConfigDataDiskArrayOutputWithContext(ctx context.Context) NodePoolNodeConfigDataDiskArrayOutput
type NodePoolNodeConfigDataDiskInput ¶
type NodePoolNodeConfigDataDiskInput interface { pulumi.Input ToNodePoolNodeConfigDataDiskOutput() NodePoolNodeConfigDataDiskOutput ToNodePoolNodeConfigDataDiskOutputWithContext(context.Context) NodePoolNodeConfigDataDiskOutput }
NodePoolNodeConfigDataDiskInput is an input type that accepts NodePoolNodeConfigDataDiskArgs and NodePoolNodeConfigDataDiskOutput values. You can construct a concrete instance of `NodePoolNodeConfigDataDiskInput` via:
NodePoolNodeConfigDataDiskArgs{...}
type NodePoolNodeConfigDataDiskOutput ¶
type NodePoolNodeConfigDataDiskOutput struct{ *pulumi.OutputState }
func (NodePoolNodeConfigDataDiskOutput) AutoFormatAndMount ¶
func (o NodePoolNodeConfigDataDiskOutput) AutoFormatAndMount() pulumi.BoolPtrOutput
Indicate whether to auto format and mount or not. Default is `false`.
func (NodePoolNodeConfigDataDiskOutput) DiskPartition ¶
func (o NodePoolNodeConfigDataDiskOutput) DiskPartition() pulumi.StringPtrOutput
The name of the device or partition to mount. NOTE: this argument doesn't support setting in node pool, or will leads to mount error.
func (NodePoolNodeConfigDataDiskOutput) DiskSize ¶
func (o NodePoolNodeConfigDataDiskOutput) DiskSize() pulumi.IntPtrOutput
Volume of disk in GB. Default is `0`.
func (NodePoolNodeConfigDataDiskOutput) DiskType ¶
func (o NodePoolNodeConfigDataDiskOutput) DiskType() pulumi.StringPtrOutput
Types of disk. Valid value: `CLOUD_PREMIUM` and `CLOUD_SSD`.
func (NodePoolNodeConfigDataDiskOutput) ElementType ¶
func (NodePoolNodeConfigDataDiskOutput) ElementType() reflect.Type
func (NodePoolNodeConfigDataDiskOutput) FileSystem ¶
func (o NodePoolNodeConfigDataDiskOutput) FileSystem() pulumi.StringPtrOutput
File system, e.g. `ext3/ext4/xfs`.
func (NodePoolNodeConfigDataDiskOutput) MountTarget ¶
func (o NodePoolNodeConfigDataDiskOutput) MountTarget() pulumi.StringPtrOutput
Mount target.
func (NodePoolNodeConfigDataDiskOutput) ToNodePoolNodeConfigDataDiskOutput ¶
func (o NodePoolNodeConfigDataDiskOutput) ToNodePoolNodeConfigDataDiskOutput() NodePoolNodeConfigDataDiskOutput
func (NodePoolNodeConfigDataDiskOutput) ToNodePoolNodeConfigDataDiskOutputWithContext ¶
func (o NodePoolNodeConfigDataDiskOutput) ToNodePoolNodeConfigDataDiskOutputWithContext(ctx context.Context) NodePoolNodeConfigDataDiskOutput
type NodePoolNodeConfigGpuArgs ¶ added in v0.1.3
type NodePoolNodeConfigGpuArgs struct { // CUDA version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA. Cuda map[string]interface{} `pulumi:"cuda"` // cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `docName`: Doc name of cuDNN; `devName`: Dev name of cuDNN. Cudnn map[string]interface{} `pulumi:"cudnn"` // Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address. CustomDriver map[string]interface{} `pulumi:"customDriver"` // GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA. Driver map[string]interface{} `pulumi:"driver"` // Whether to enable MIG. MigEnable *bool `pulumi:"migEnable"` }
type NodePoolNodeConfigGpuArgsArgs ¶ added in v0.1.3
type NodePoolNodeConfigGpuArgsArgs struct { // CUDA version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA. Cuda pulumi.MapInput `pulumi:"cuda"` // cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `docName`: Doc name of cuDNN; `devName`: Dev name of cuDNN. Cudnn pulumi.MapInput `pulumi:"cudnn"` // Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address. CustomDriver pulumi.MapInput `pulumi:"customDriver"` // GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA. Driver pulumi.MapInput `pulumi:"driver"` // Whether to enable MIG. MigEnable pulumi.BoolPtrInput `pulumi:"migEnable"` }
func (NodePoolNodeConfigGpuArgsArgs) ElementType ¶ added in v0.1.3
func (NodePoolNodeConfigGpuArgsArgs) ElementType() reflect.Type
func (NodePoolNodeConfigGpuArgsArgs) ToNodePoolNodeConfigGpuArgsOutput ¶ added in v0.1.3
func (i NodePoolNodeConfigGpuArgsArgs) ToNodePoolNodeConfigGpuArgsOutput() NodePoolNodeConfigGpuArgsOutput
func (NodePoolNodeConfigGpuArgsArgs) ToNodePoolNodeConfigGpuArgsOutputWithContext ¶ added in v0.1.3
func (i NodePoolNodeConfigGpuArgsArgs) ToNodePoolNodeConfigGpuArgsOutputWithContext(ctx context.Context) NodePoolNodeConfigGpuArgsOutput
func (NodePoolNodeConfigGpuArgsArgs) ToNodePoolNodeConfigGpuArgsPtrOutput ¶ added in v0.1.3
func (i NodePoolNodeConfigGpuArgsArgs) ToNodePoolNodeConfigGpuArgsPtrOutput() NodePoolNodeConfigGpuArgsPtrOutput
func (NodePoolNodeConfigGpuArgsArgs) ToNodePoolNodeConfigGpuArgsPtrOutputWithContext ¶ added in v0.1.3
func (i NodePoolNodeConfigGpuArgsArgs) ToNodePoolNodeConfigGpuArgsPtrOutputWithContext(ctx context.Context) NodePoolNodeConfigGpuArgsPtrOutput
type NodePoolNodeConfigGpuArgsInput ¶ added in v0.1.3
type NodePoolNodeConfigGpuArgsInput interface { pulumi.Input ToNodePoolNodeConfigGpuArgsOutput() NodePoolNodeConfigGpuArgsOutput ToNodePoolNodeConfigGpuArgsOutputWithContext(context.Context) NodePoolNodeConfigGpuArgsOutput }
NodePoolNodeConfigGpuArgsInput is an input type that accepts NodePoolNodeConfigGpuArgsArgs and NodePoolNodeConfigGpuArgsOutput values. You can construct a concrete instance of `NodePoolNodeConfigGpuArgsInput` via:
NodePoolNodeConfigGpuArgsArgs{...}
type NodePoolNodeConfigGpuArgsOutput ¶ added in v0.1.3
type NodePoolNodeConfigGpuArgsOutput struct{ *pulumi.OutputState }
func (NodePoolNodeConfigGpuArgsOutput) Cuda ¶ added in v0.1.3
func (o NodePoolNodeConfigGpuArgsOutput) Cuda() pulumi.MapOutput
CUDA version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
func (NodePoolNodeConfigGpuArgsOutput) Cudnn ¶ added in v0.1.3
func (o NodePoolNodeConfigGpuArgsOutput) Cudnn() pulumi.MapOutput
cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `docName`: Doc name of cuDNN; `devName`: Dev name of cuDNN.
func (NodePoolNodeConfigGpuArgsOutput) CustomDriver ¶ added in v0.1.3
func (o NodePoolNodeConfigGpuArgsOutput) CustomDriver() pulumi.MapOutput
Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address.
func (NodePoolNodeConfigGpuArgsOutput) Driver ¶ added in v0.1.3
func (o NodePoolNodeConfigGpuArgsOutput) Driver() pulumi.MapOutput
GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
func (NodePoolNodeConfigGpuArgsOutput) ElementType ¶ added in v0.1.3
func (NodePoolNodeConfigGpuArgsOutput) ElementType() reflect.Type
func (NodePoolNodeConfigGpuArgsOutput) MigEnable ¶ added in v0.1.3
func (o NodePoolNodeConfigGpuArgsOutput) MigEnable() pulumi.BoolPtrOutput
Whether to enable MIG.
func (NodePoolNodeConfigGpuArgsOutput) ToNodePoolNodeConfigGpuArgsOutput ¶ added in v0.1.3
func (o NodePoolNodeConfigGpuArgsOutput) ToNodePoolNodeConfigGpuArgsOutput() NodePoolNodeConfigGpuArgsOutput
func (NodePoolNodeConfigGpuArgsOutput) ToNodePoolNodeConfigGpuArgsOutputWithContext ¶ added in v0.1.3
func (o NodePoolNodeConfigGpuArgsOutput) ToNodePoolNodeConfigGpuArgsOutputWithContext(ctx context.Context) NodePoolNodeConfigGpuArgsOutput
func (NodePoolNodeConfigGpuArgsOutput) ToNodePoolNodeConfigGpuArgsPtrOutput ¶ added in v0.1.3
func (o NodePoolNodeConfigGpuArgsOutput) ToNodePoolNodeConfigGpuArgsPtrOutput() NodePoolNodeConfigGpuArgsPtrOutput
func (NodePoolNodeConfigGpuArgsOutput) ToNodePoolNodeConfigGpuArgsPtrOutputWithContext ¶ added in v0.1.3
func (o NodePoolNodeConfigGpuArgsOutput) ToNodePoolNodeConfigGpuArgsPtrOutputWithContext(ctx context.Context) NodePoolNodeConfigGpuArgsPtrOutput
type NodePoolNodeConfigGpuArgsPtrInput ¶ added in v0.1.3
type NodePoolNodeConfigGpuArgsPtrInput interface { pulumi.Input ToNodePoolNodeConfigGpuArgsPtrOutput() NodePoolNodeConfigGpuArgsPtrOutput ToNodePoolNodeConfigGpuArgsPtrOutputWithContext(context.Context) NodePoolNodeConfigGpuArgsPtrOutput }
NodePoolNodeConfigGpuArgsPtrInput is an input type that accepts NodePoolNodeConfigGpuArgsArgs, NodePoolNodeConfigGpuArgsPtr and NodePoolNodeConfigGpuArgsPtrOutput values. You can construct a concrete instance of `NodePoolNodeConfigGpuArgsPtrInput` via:
NodePoolNodeConfigGpuArgsArgs{...} or: nil
func NodePoolNodeConfigGpuArgsPtr ¶ added in v0.1.3
func NodePoolNodeConfigGpuArgsPtr(v *NodePoolNodeConfigGpuArgsArgs) NodePoolNodeConfigGpuArgsPtrInput
type NodePoolNodeConfigGpuArgsPtrOutput ¶ added in v0.1.3
type NodePoolNodeConfigGpuArgsPtrOutput struct{ *pulumi.OutputState }
func (NodePoolNodeConfigGpuArgsPtrOutput) Cuda ¶ added in v0.1.3
func (o NodePoolNodeConfigGpuArgsPtrOutput) Cuda() pulumi.MapOutput
CUDA version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
func (NodePoolNodeConfigGpuArgsPtrOutput) Cudnn ¶ added in v0.1.3
func (o NodePoolNodeConfigGpuArgsPtrOutput) Cudnn() pulumi.MapOutput
cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `docName`: Doc name of cuDNN; `devName`: Dev name of cuDNN.
func (NodePoolNodeConfigGpuArgsPtrOutput) CustomDriver ¶ added in v0.1.3
func (o NodePoolNodeConfigGpuArgsPtrOutput) CustomDriver() pulumi.MapOutput
Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address.
func (NodePoolNodeConfigGpuArgsPtrOutput) Driver ¶ added in v0.1.3
func (o NodePoolNodeConfigGpuArgsPtrOutput) Driver() pulumi.MapOutput
GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
func (NodePoolNodeConfigGpuArgsPtrOutput) Elem ¶ added in v0.1.3
func (o NodePoolNodeConfigGpuArgsPtrOutput) Elem() NodePoolNodeConfigGpuArgsOutput
func (NodePoolNodeConfigGpuArgsPtrOutput) ElementType ¶ added in v0.1.3
func (NodePoolNodeConfigGpuArgsPtrOutput) ElementType() reflect.Type
func (NodePoolNodeConfigGpuArgsPtrOutput) MigEnable ¶ added in v0.1.3
func (o NodePoolNodeConfigGpuArgsPtrOutput) MigEnable() pulumi.BoolPtrOutput
Whether to enable MIG.
func (NodePoolNodeConfigGpuArgsPtrOutput) ToNodePoolNodeConfigGpuArgsPtrOutput ¶ added in v0.1.3
func (o NodePoolNodeConfigGpuArgsPtrOutput) ToNodePoolNodeConfigGpuArgsPtrOutput() NodePoolNodeConfigGpuArgsPtrOutput
func (NodePoolNodeConfigGpuArgsPtrOutput) ToNodePoolNodeConfigGpuArgsPtrOutputWithContext ¶ added in v0.1.3
func (o NodePoolNodeConfigGpuArgsPtrOutput) ToNodePoolNodeConfigGpuArgsPtrOutputWithContext(ctx context.Context) NodePoolNodeConfigGpuArgsPtrOutput
type NodePoolNodeConfigInput ¶
type NodePoolNodeConfigInput interface { pulumi.Input ToNodePoolNodeConfigOutput() NodePoolNodeConfigOutput ToNodePoolNodeConfigOutputWithContext(context.Context) NodePoolNodeConfigOutput }
NodePoolNodeConfigInput is an input type that accepts NodePoolNodeConfigArgs and NodePoolNodeConfigOutput values. You can construct a concrete instance of `NodePoolNodeConfigInput` via:
NodePoolNodeConfigArgs{...}
type NodePoolNodeConfigOutput ¶
type NodePoolNodeConfigOutput struct{ *pulumi.OutputState }
func (NodePoolNodeConfigOutput) DataDisks ¶
func (o NodePoolNodeConfigOutput) DataDisks() NodePoolNodeConfigDataDiskArrayOutput
Configurations of data disk.
func (NodePoolNodeConfigOutput) DesiredPodNum ¶
func (o NodePoolNodeConfigOutput) DesiredPodNum() pulumi.IntPtrOutput
Indicate to set desired pod number in node. valid when the cluster is podCIDR.
func (NodePoolNodeConfigOutput) DockerGraphPath ¶
func (o NodePoolNodeConfigOutput) DockerGraphPath() pulumi.StringPtrOutput
Docker graph path. Default is `/var/lib/docker`.
func (NodePoolNodeConfigOutput) ElementType ¶
func (NodePoolNodeConfigOutput) ElementType() reflect.Type
func (NodePoolNodeConfigOutput) ExtraArgs ¶
func (o NodePoolNodeConfigOutput) ExtraArgs() pulumi.StringArrayOutput
Custom parameter information related to the node. This is a white-list parameter.
func (NodePoolNodeConfigOutput) GpuArgs ¶ added in v0.1.3
func (o NodePoolNodeConfigOutput) GpuArgs() NodePoolNodeConfigGpuArgsPtrOutput
GPU driver parameters.
func (NodePoolNodeConfigOutput) IsSchedule ¶
func (o NodePoolNodeConfigOutput) IsSchedule() pulumi.BoolPtrOutput
Indicate to schedule the adding node or not. Default is true.
func (NodePoolNodeConfigOutput) MountTarget ¶
func (o NodePoolNodeConfigOutput) MountTarget() pulumi.StringPtrOutput
Mount target. Default is not mounting.
func (NodePoolNodeConfigOutput) ToNodePoolNodeConfigOutput ¶
func (o NodePoolNodeConfigOutput) ToNodePoolNodeConfigOutput() NodePoolNodeConfigOutput
func (NodePoolNodeConfigOutput) ToNodePoolNodeConfigOutputWithContext ¶
func (o NodePoolNodeConfigOutput) ToNodePoolNodeConfigOutputWithContext(ctx context.Context) NodePoolNodeConfigOutput
func (NodePoolNodeConfigOutput) ToNodePoolNodeConfigPtrOutput ¶
func (o NodePoolNodeConfigOutput) ToNodePoolNodeConfigPtrOutput() NodePoolNodeConfigPtrOutput
func (NodePoolNodeConfigOutput) ToNodePoolNodeConfigPtrOutputWithContext ¶
func (o NodePoolNodeConfigOutput) ToNodePoolNodeConfigPtrOutputWithContext(ctx context.Context) NodePoolNodeConfigPtrOutput
func (NodePoolNodeConfigOutput) UserData ¶
func (o NodePoolNodeConfigOutput) UserData() pulumi.StringPtrOutput
Base64-encoded User Data text, the length limit is 16KB.
type NodePoolNodeConfigPtrInput ¶
type NodePoolNodeConfigPtrInput interface { pulumi.Input ToNodePoolNodeConfigPtrOutput() NodePoolNodeConfigPtrOutput ToNodePoolNodeConfigPtrOutputWithContext(context.Context) NodePoolNodeConfigPtrOutput }
NodePoolNodeConfigPtrInput is an input type that accepts NodePoolNodeConfigArgs, NodePoolNodeConfigPtr and NodePoolNodeConfigPtrOutput values. You can construct a concrete instance of `NodePoolNodeConfigPtrInput` via:
NodePoolNodeConfigArgs{...} or: nil
func NodePoolNodeConfigPtr ¶
func NodePoolNodeConfigPtr(v *NodePoolNodeConfigArgs) NodePoolNodeConfigPtrInput
type NodePoolNodeConfigPtrOutput ¶
type NodePoolNodeConfigPtrOutput struct{ *pulumi.OutputState }
func (NodePoolNodeConfigPtrOutput) DataDisks ¶
func (o NodePoolNodeConfigPtrOutput) DataDisks() NodePoolNodeConfigDataDiskArrayOutput
Configurations of data disk.
func (NodePoolNodeConfigPtrOutput) DesiredPodNum ¶
func (o NodePoolNodeConfigPtrOutput) DesiredPodNum() pulumi.IntPtrOutput
Indicate to set desired pod number in node. valid when the cluster is podCIDR.
func (NodePoolNodeConfigPtrOutput) DockerGraphPath ¶
func (o NodePoolNodeConfigPtrOutput) DockerGraphPath() pulumi.StringPtrOutput
Docker graph path. Default is `/var/lib/docker`.
func (NodePoolNodeConfigPtrOutput) Elem ¶
func (o NodePoolNodeConfigPtrOutput) Elem() NodePoolNodeConfigOutput
func (NodePoolNodeConfigPtrOutput) ElementType ¶
func (NodePoolNodeConfigPtrOutput) ElementType() reflect.Type
func (NodePoolNodeConfigPtrOutput) ExtraArgs ¶
func (o NodePoolNodeConfigPtrOutput) ExtraArgs() pulumi.StringArrayOutput
Custom parameter information related to the node. This is a white-list parameter.
func (NodePoolNodeConfigPtrOutput) GpuArgs ¶ added in v0.1.3
func (o NodePoolNodeConfigPtrOutput) GpuArgs() NodePoolNodeConfigGpuArgsPtrOutput
GPU driver parameters.
func (NodePoolNodeConfigPtrOutput) IsSchedule ¶
func (o NodePoolNodeConfigPtrOutput) IsSchedule() pulumi.BoolPtrOutput
Indicate to schedule the adding node or not. Default is true.
func (NodePoolNodeConfigPtrOutput) MountTarget ¶
func (o NodePoolNodeConfigPtrOutput) MountTarget() pulumi.StringPtrOutput
Mount target. Default is not mounting.
func (NodePoolNodeConfigPtrOutput) ToNodePoolNodeConfigPtrOutput ¶
func (o NodePoolNodeConfigPtrOutput) ToNodePoolNodeConfigPtrOutput() NodePoolNodeConfigPtrOutput
func (NodePoolNodeConfigPtrOutput) ToNodePoolNodeConfigPtrOutputWithContext ¶
func (o NodePoolNodeConfigPtrOutput) ToNodePoolNodeConfigPtrOutputWithContext(ctx context.Context) NodePoolNodeConfigPtrOutput
func (NodePoolNodeConfigPtrOutput) UserData ¶
func (o NodePoolNodeConfigPtrOutput) UserData() pulumi.StringPtrOutput
Base64-encoded User Data text, the length limit is 16KB.
type NodePoolOutput ¶
type NodePoolOutput struct{ *pulumi.OutputState }
func (NodePoolOutput) AutoScalingConfig ¶
func (o NodePoolOutput) AutoScalingConfig() NodePoolAutoScalingConfigOutput
Auto scaling config parameters.
func (NodePoolOutput) AutoScalingGroupId ¶
func (o NodePoolOutput) AutoScalingGroupId() pulumi.StringOutput
The auto scaling group ID.
func (NodePoolOutput) AutoscalingAddedTotal ¶
func (o NodePoolOutput) AutoscalingAddedTotal() pulumi.IntOutput
The total of autoscaling added node.
func (NodePoolOutput) ClusterId ¶
func (o NodePoolOutput) ClusterId() pulumi.StringOutput
ID of the cluster.
func (NodePoolOutput) DefaultCooldown ¶
func (o NodePoolOutput) DefaultCooldown() pulumi.IntOutput
Seconds of scaling group cool down. Default value is `300`.
func (NodePoolOutput) DeleteKeepInstance ¶
func (o NodePoolOutput) DeleteKeepInstance() pulumi.BoolPtrOutput
Indicate to keep the CVM instance when delete the node pool. Default is `true`.
func (NodePoolOutput) DesiredCapacity ¶
func (o NodePoolOutput) DesiredCapacity() pulumi.IntOutput
Desired capacity ot the node. If `enableAutoScale` is set `true`, this will be a computed parameter.
func (NodePoolOutput) ElementType ¶
func (NodePoolOutput) ElementType() reflect.Type
func (NodePoolOutput) EnableAutoScale ¶
func (o NodePoolOutput) EnableAutoScale() pulumi.BoolPtrOutput
Indicate whether to enable auto scaling or not.
func (NodePoolOutput) Labels ¶
func (o NodePoolOutput) Labels() pulumi.MapOutput
Labels of kubernetes node pool created nodes. The label key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
func (NodePoolOutput) LaunchConfigId ¶
func (o NodePoolOutput) LaunchConfigId() pulumi.StringOutput
The launch config ID.
func (NodePoolOutput) ManuallyAddedTotal ¶
func (o NodePoolOutput) ManuallyAddedTotal() pulumi.IntOutput
The total of manually added node.
func (NodePoolOutput) MaxSize ¶
func (o NodePoolOutput) MaxSize() pulumi.IntOutput
Maximum number of node.
func (NodePoolOutput) MinSize ¶
func (o NodePoolOutput) MinSize() pulumi.IntOutput
Minimum number of node.
func (NodePoolOutput) MultiZoneSubnetPolicy ¶
func (o NodePoolOutput) MultiZoneSubnetPolicy() pulumi.StringPtrOutput
Multi-availability zone/subnet policy. Valid values: PRIORITY and EQUALITY. Default value: PRIORITY.
func (NodePoolOutput) Name ¶
func (o NodePoolOutput) Name() pulumi.StringOutput
Name of the node pool. The name does not exceed 25 characters, and only supports Chinese, English, numbers, underscores, separators (`-`) and decimal points.
func (NodePoolOutput) NodeConfig ¶
func (o NodePoolOutput) NodeConfig() NodePoolNodeConfigPtrOutput
Node config.
func (NodePoolOutput) NodeCount ¶
func (o NodePoolOutput) NodeCount() pulumi.IntOutput
The total node count.
func (NodePoolOutput) NodeOs ¶
func (o NodePoolOutput) NodeOs() pulumi.StringPtrOutput
Operating system of the cluster, the available values include: `tlinux2.4x86_64`, `ubuntu18.04.1x86_64`, `ubuntu16.04.1 LTSx86_64`, `centos7.6.0_x64` and `centos7.2x86_64`. Default is 'tlinux2.4x86_64'. This parameter will only affect new nodes, not including the existing nodes.
func (NodePoolOutput) NodeOsType ¶
func (o NodePoolOutput) NodeOsType() pulumi.StringPtrOutput
The image version of the node. Valida values are `DOCKER_CUSTOMIZE` and `GENERAL`. Default is `GENERAL`. This parameter will only affect new nodes, not including the existing nodes.
func (NodePoolOutput) RetryPolicy ¶
func (o NodePoolOutput) RetryPolicy() pulumi.StringPtrOutput
Available values for retry policies include `IMMEDIATE_RETRY` and `INCREMENTAL_INTERVALS`.
func (NodePoolOutput) ScalingGroupName ¶
func (o NodePoolOutput) ScalingGroupName() pulumi.StringOutput
Name of relative scaling group.
func (NodePoolOutput) ScalingGroupProjectId ¶
func (o NodePoolOutput) ScalingGroupProjectId() pulumi.IntPtrOutput
Project ID the scaling group belongs to.
func (NodePoolOutput) ScalingMode ¶
func (o NodePoolOutput) ScalingMode() pulumi.StringPtrOutput
Auto scaling mode. Valid values are `CLASSIC_SCALING`(scaling by create/destroy instances), `WAKE_UP_STOPPED_SCALING`(Boot priority for expansion. When expanding the capacity, the shutdown operation is given priority to the shutdown of the instance. If the number of instances is still lower than the expected number of instances after the startup, the instance will be created, and the method of destroying the instance will still be used for shrinking).
func (NodePoolOutput) Status ¶
func (o NodePoolOutput) Status() pulumi.StringOutput
Status of the node pool.
func (NodePoolOutput) SubnetIds ¶
func (o NodePoolOutput) SubnetIds() pulumi.StringArrayOutput
ID list of subnet, and for VPC it is required.
func (NodePoolOutput) Tags ¶ added in v0.1.3
func (o NodePoolOutput) Tags() pulumi.MapOutput
Node pool tag specifications, will passthroughs to the scaling instances.
func (NodePoolOutput) Taints ¶
func (o NodePoolOutput) Taints() NodePoolTaintArrayOutput
Taints of kubernetes node pool created nodes.
func (NodePoolOutput) TerminationPolicies ¶
func (o NodePoolOutput) TerminationPolicies() pulumi.StringOutput
Policy of scaling group termination. Available values: `["OLDEST_INSTANCE"]`, `["NEWEST_INSTANCE"]`.
func (NodePoolOutput) ToNodePoolOutput ¶
func (o NodePoolOutput) ToNodePoolOutput() NodePoolOutput
func (NodePoolOutput) ToNodePoolOutputWithContext ¶
func (o NodePoolOutput) ToNodePoolOutputWithContext(ctx context.Context) NodePoolOutput
func (NodePoolOutput) Unschedulable ¶
func (o NodePoolOutput) Unschedulable() pulumi.IntPtrOutput
Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
func (NodePoolOutput) VpcId ¶
func (o NodePoolOutput) VpcId() pulumi.StringOutput
ID of VPC network.
func (NodePoolOutput) Zones ¶
func (o NodePoolOutput) Zones() pulumi.StringArrayOutput
List of auto scaling group available zones, for Basic network it is required.
type NodePoolState ¶
type NodePoolState struct { // Auto scaling config parameters. AutoScalingConfig NodePoolAutoScalingConfigPtrInput // The auto scaling group ID. AutoScalingGroupId pulumi.StringPtrInput // The total of autoscaling added node. AutoscalingAddedTotal pulumi.IntPtrInput // ID of the cluster. ClusterId pulumi.StringPtrInput // Seconds of scaling group cool down. Default value is `300`. DefaultCooldown pulumi.IntPtrInput // Indicate to keep the CVM instance when delete the node pool. Default is `true`. DeleteKeepInstance pulumi.BoolPtrInput // Desired capacity ot the node. If `enableAutoScale` is set `true`, this will be a computed parameter. DesiredCapacity pulumi.IntPtrInput // Indicate whether to enable auto scaling or not. EnableAutoScale pulumi.BoolPtrInput // Labels of kubernetes node pool created nodes. The label key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/'). Labels pulumi.MapInput // The launch config ID. LaunchConfigId pulumi.StringPtrInput // The total of manually added node. ManuallyAddedTotal pulumi.IntPtrInput // Maximum number of node. MaxSize pulumi.IntPtrInput // Minimum number of node. MinSize pulumi.IntPtrInput // Multi-availability zone/subnet policy. Valid values: PRIORITY and EQUALITY. Default value: PRIORITY. MultiZoneSubnetPolicy pulumi.StringPtrInput // Name of the node pool. The name does not exceed 25 characters, and only supports Chinese, English, numbers, underscores, separators (`-`) and decimal points. Name pulumi.StringPtrInput // Node config. NodeConfig NodePoolNodeConfigPtrInput // The total node count. NodeCount pulumi.IntPtrInput // Operating system of the cluster, the available values include: `tlinux2.4x86_64`, `ubuntu18.04.1x86_64`, `ubuntu16.04.1 LTSx86_64`, `centos7.6.0_x64` and `centos7.2x86_64`. Default is 'tlinux2.4x86_64'. This parameter will only affect new nodes, not including the existing nodes. NodeOs pulumi.StringPtrInput // The image version of the node. Valida values are `DOCKER_CUSTOMIZE` and `GENERAL`. Default is `GENERAL`. This parameter will only affect new nodes, not including the existing nodes. NodeOsType pulumi.StringPtrInput // Available values for retry policies include `IMMEDIATE_RETRY` and `INCREMENTAL_INTERVALS`. RetryPolicy pulumi.StringPtrInput // Name of relative scaling group. ScalingGroupName pulumi.StringPtrInput // Project ID the scaling group belongs to. ScalingGroupProjectId pulumi.IntPtrInput // Auto scaling mode. Valid values are `CLASSIC_SCALING`(scaling by create/destroy instances), `WAKE_UP_STOPPED_SCALING`(Boot priority for expansion. When expanding the capacity, the shutdown operation is given priority to the shutdown of the instance. If the number of instances is still lower than the expected number of instances after the startup, the instance will be created, and the method of destroying the instance will still be used for shrinking). ScalingMode pulumi.StringPtrInput // Status of the node pool. Status pulumi.StringPtrInput // ID list of subnet, and for VPC it is required. SubnetIds pulumi.StringArrayInput // Node pool tag specifications, will passthroughs to the scaling instances. Tags pulumi.MapInput // Taints of kubernetes node pool created nodes. Taints NodePoolTaintArrayInput // Policy of scaling group termination. Available values: `["OLDEST_INSTANCE"]`, `["NEWEST_INSTANCE"]`. TerminationPolicies pulumi.StringPtrInput // Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling. Unschedulable pulumi.IntPtrInput // ID of VPC network. VpcId pulumi.StringPtrInput // List of auto scaling group available zones, for Basic network it is required. Zones pulumi.StringArrayInput }
func (NodePoolState) ElementType ¶
func (NodePoolState) ElementType() reflect.Type
type NodePoolTaint ¶
type NodePoolTaint struct { // Effect of the taint. Valid values are: `NoSchedule`, `PreferNoSchedule`, `NoExecute`. Effect string `pulumi:"effect"` // Key of the taint. The taint key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/'). Key string `pulumi:"key"` // Value of the taint. Value string `pulumi:"value"` }
type NodePoolTaintArgs ¶
type NodePoolTaintArgs struct { // Effect of the taint. Valid values are: `NoSchedule`, `PreferNoSchedule`, `NoExecute`. Effect pulumi.StringInput `pulumi:"effect"` // Key of the taint. The taint key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/'). Key pulumi.StringInput `pulumi:"key"` // Value of the taint. Value pulumi.StringInput `pulumi:"value"` }
func (NodePoolTaintArgs) ElementType ¶
func (NodePoolTaintArgs) ElementType() reflect.Type
func (NodePoolTaintArgs) ToNodePoolTaintOutput ¶
func (i NodePoolTaintArgs) ToNodePoolTaintOutput() NodePoolTaintOutput
func (NodePoolTaintArgs) ToNodePoolTaintOutputWithContext ¶
func (i NodePoolTaintArgs) ToNodePoolTaintOutputWithContext(ctx context.Context) NodePoolTaintOutput
type NodePoolTaintArray ¶
type NodePoolTaintArray []NodePoolTaintInput
func (NodePoolTaintArray) ElementType ¶
func (NodePoolTaintArray) ElementType() reflect.Type
func (NodePoolTaintArray) ToNodePoolTaintArrayOutput ¶
func (i NodePoolTaintArray) ToNodePoolTaintArrayOutput() NodePoolTaintArrayOutput
func (NodePoolTaintArray) ToNodePoolTaintArrayOutputWithContext ¶
func (i NodePoolTaintArray) ToNodePoolTaintArrayOutputWithContext(ctx context.Context) NodePoolTaintArrayOutput
type NodePoolTaintArrayInput ¶
type NodePoolTaintArrayInput interface { pulumi.Input ToNodePoolTaintArrayOutput() NodePoolTaintArrayOutput ToNodePoolTaintArrayOutputWithContext(context.Context) NodePoolTaintArrayOutput }
NodePoolTaintArrayInput is an input type that accepts NodePoolTaintArray and NodePoolTaintArrayOutput values. You can construct a concrete instance of `NodePoolTaintArrayInput` via:
NodePoolTaintArray{ NodePoolTaintArgs{...} }
type NodePoolTaintArrayOutput ¶
type NodePoolTaintArrayOutput struct{ *pulumi.OutputState }
func (NodePoolTaintArrayOutput) ElementType ¶
func (NodePoolTaintArrayOutput) ElementType() reflect.Type
func (NodePoolTaintArrayOutput) Index ¶
func (o NodePoolTaintArrayOutput) Index(i pulumi.IntInput) NodePoolTaintOutput
func (NodePoolTaintArrayOutput) ToNodePoolTaintArrayOutput ¶
func (o NodePoolTaintArrayOutput) ToNodePoolTaintArrayOutput() NodePoolTaintArrayOutput
func (NodePoolTaintArrayOutput) ToNodePoolTaintArrayOutputWithContext ¶
func (o NodePoolTaintArrayOutput) ToNodePoolTaintArrayOutputWithContext(ctx context.Context) NodePoolTaintArrayOutput
type NodePoolTaintInput ¶
type NodePoolTaintInput interface { pulumi.Input ToNodePoolTaintOutput() NodePoolTaintOutput ToNodePoolTaintOutputWithContext(context.Context) NodePoolTaintOutput }
NodePoolTaintInput is an input type that accepts NodePoolTaintArgs and NodePoolTaintOutput values. You can construct a concrete instance of `NodePoolTaintInput` via:
NodePoolTaintArgs{...}
type NodePoolTaintOutput ¶
type NodePoolTaintOutput struct{ *pulumi.OutputState }
func (NodePoolTaintOutput) Effect ¶
func (o NodePoolTaintOutput) Effect() pulumi.StringOutput
Effect of the taint. Valid values are: `NoSchedule`, `PreferNoSchedule`, `NoExecute`.
func (NodePoolTaintOutput) ElementType ¶
func (NodePoolTaintOutput) ElementType() reflect.Type
func (NodePoolTaintOutput) Key ¶
func (o NodePoolTaintOutput) Key() pulumi.StringOutput
Key of the taint. The taint key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
func (NodePoolTaintOutput) ToNodePoolTaintOutput ¶
func (o NodePoolTaintOutput) ToNodePoolTaintOutput() NodePoolTaintOutput
func (NodePoolTaintOutput) ToNodePoolTaintOutputWithContext ¶
func (o NodePoolTaintOutput) ToNodePoolTaintOutputWithContext(ctx context.Context) NodePoolTaintOutput
func (NodePoolTaintOutput) Value ¶
func (o NodePoolTaintOutput) Value() pulumi.StringOutput
Value of the taint.
type ScaleWorker ¶
type ScaleWorker struct { pulumi.CustomResourceState // ID of the cluster. ClusterId pulumi.StringOutput `pulumi:"clusterId"` // Configurations of data disk. DataDisks ScaleWorkerDataDiskArrayOutput `pulumi:"dataDisks"` // Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr. DesiredPodNum pulumi.IntPtrOutput `pulumi:"desiredPodNum"` // Docker graph path. Default is `/var/lib/docker`. DockerGraphPath pulumi.StringPtrOutput `pulumi:"dockerGraphPath"` // Custom parameter information related to the node. ExtraArgs pulumi.StringArrayOutput `pulumi:"extraArgs"` // GPU driver parameters. GpuArgs ScaleWorkerGpuArgsPtrOutput `pulumi:"gpuArgs"` // Labels of kubernetes scale worker created nodes. Labels pulumi.MapOutput `pulumi:"labels"` // Mount target. Default is not mounting. MountTarget pulumi.StringPtrOutput `pulumi:"mountTarget"` // Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling. Unschedulable pulumi.IntPtrOutput `pulumi:"unschedulable"` // Deploy the machine configuration information of the 'WORK' service, and create <=20 units for common users. WorkerConfig ScaleWorkerWorkerConfigOutput `pulumi:"workerConfig"` // An information list of kubernetes cluster 'WORKER'. Each element contains the following attributes: WorkerInstancesLists ScaleWorkerWorkerInstancesListArrayOutput `pulumi:"workerInstancesLists"` }
Provide a resource to increase instance to cluster
> **NOTE:** To use the custom Kubernetes component startup parameter function (parameter `extraArgs`), you need to submit a ticket for application.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") availabilityZone := "ap-guangzhou-3" if param := cfg.Get("availabilityZone"); param != "" { availabilityZone = param } subnet := "subnet-pqfek0t8" if param := cfg.Get("subnet"); param != "" { subnet = param } scaleInstanceType := "S2.LARGE16" if param := cfg.Get("scaleInstanceType"); param != "" { scaleInstanceType = param } _, err := Kubernetes.NewScaleWorker(ctx, "testScale", &Kubernetes.ScaleWorkerArgs{ ClusterId: pulumi.String("cls-godovr32"), DesiredPodNum: pulumi.Int(16), Labels: pulumi.AnyMap{ "test1": pulumi.Any("test1"), "test2": pulumi.Any("test2"), }, WorkerConfig: &kubernetes.ScaleWorkerWorkerConfigArgs{ Count: pulumi.Int(3), AvailabilityZone: pulumi.String(availabilityZone), InstanceType: pulumi.String(scaleInstanceType), SubnetId: pulumi.String(subnet), SystemDiskType: pulumi.String("CLOUD_SSD"), SystemDiskSize: pulumi.Int(50), InternetChargeType: pulumi.String("TRAFFIC_POSTPAID_BY_HOUR"), InternetMaxBandwidthOut: pulumi.Int(100), PublicIpAssigned: pulumi.Bool(true), DataDisks: kubernetes.ScaleWorkerWorkerConfigDataDiskArray{ &kubernetes.ScaleWorkerWorkerConfigDataDiskArgs{ DiskType: pulumi.String("CLOUD_PREMIUM"), DiskSize: pulumi.Int(50), }, }, EnhancedSecurityService: pulumi.Bool(false), EnhancedMonitorService: pulumi.Bool(false), UserData: pulumi.String("dGVzdA=="), Password: pulumi.String("AABBccdd1122"), }, }) if err != nil { return err } return nil }) }
```
Use Kubelet ¶
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") availabilityZone := "ap-guangzhou-3" if param := cfg.Get("availabilityZone"); param != "" { availabilityZone = param } subnet := "subnet-pqfek0t8" if param := cfg.Get("subnet"); param != "" { subnet = param } scaleInstanceType := "S2.LARGE16" if param := cfg.Get("scaleInstanceType"); param != "" { scaleInstanceType = param } _, err := Kubernetes.NewScaleWorker(ctx, "testScale", &Kubernetes.ScaleWorkerArgs{ ClusterId: pulumi.String("cls-godovr32"), ExtraArgs: pulumi.StringArray{ pulumi.String("root-dir=/var/lib/kubelet"), }, Labels: pulumi.AnyMap{ "test1": pulumi.Any("test1"), "test2": pulumi.Any("test2"), }, WorkerConfig: &kubernetes.ScaleWorkerWorkerConfigArgs{ Count: pulumi.Int(3), AvailabilityZone: pulumi.String(availabilityZone), InstanceType: pulumi.String(scaleInstanceType), SubnetId: pulumi.String(subnet), SystemDiskType: pulumi.String("CLOUD_SSD"), SystemDiskSize: pulumi.Int(50), InternetChargeType: pulumi.String("TRAFFIC_POSTPAID_BY_HOUR"), InternetMaxBandwidthOut: pulumi.Int(100), PublicIpAssigned: pulumi.Bool(true), DataDisks: kubernetes.ScaleWorkerWorkerConfigDataDiskArray{ &kubernetes.ScaleWorkerWorkerConfigDataDiskArgs{ DiskType: pulumi.String("CLOUD_PREMIUM"), DiskSize: pulumi.Int(50), }, }, EnhancedSecurityService: pulumi.Bool(false), EnhancedMonitorService: pulumi.Bool(false), UserData: pulumi.String("dGVzdA=="), Password: pulumi.String("AABBccdd1122"), }, }) if err != nil { return err } return nil }) }
```
func GetScaleWorker ¶
func GetScaleWorker(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ScaleWorkerState, opts ...pulumi.ResourceOption) (*ScaleWorker, error)
GetScaleWorker gets an existing ScaleWorker resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewScaleWorker ¶
func NewScaleWorker(ctx *pulumi.Context, name string, args *ScaleWorkerArgs, opts ...pulumi.ResourceOption) (*ScaleWorker, error)
NewScaleWorker registers a new resource with the given unique name, arguments, and options.
func (*ScaleWorker) ElementType ¶
func (*ScaleWorker) ElementType() reflect.Type
func (*ScaleWorker) ToScaleWorkerOutput ¶
func (i *ScaleWorker) ToScaleWorkerOutput() ScaleWorkerOutput
func (*ScaleWorker) ToScaleWorkerOutputWithContext ¶
func (i *ScaleWorker) ToScaleWorkerOutputWithContext(ctx context.Context) ScaleWorkerOutput
type ScaleWorkerArgs ¶
type ScaleWorkerArgs struct { // ID of the cluster. ClusterId pulumi.StringInput // Configurations of data disk. DataDisks ScaleWorkerDataDiskArrayInput // Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr. DesiredPodNum pulumi.IntPtrInput // Docker graph path. Default is `/var/lib/docker`. DockerGraphPath pulumi.StringPtrInput // Custom parameter information related to the node. ExtraArgs pulumi.StringArrayInput // GPU driver parameters. GpuArgs ScaleWorkerGpuArgsPtrInput // Labels of kubernetes scale worker created nodes. Labels pulumi.MapInput // Mount target. Default is not mounting. MountTarget pulumi.StringPtrInput // Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling. Unschedulable pulumi.IntPtrInput // Deploy the machine configuration information of the 'WORK' service, and create <=20 units for common users. WorkerConfig ScaleWorkerWorkerConfigInput }
The set of arguments for constructing a ScaleWorker resource.
func (ScaleWorkerArgs) ElementType ¶
func (ScaleWorkerArgs) ElementType() reflect.Type
type ScaleWorkerArray ¶
type ScaleWorkerArray []ScaleWorkerInput
func (ScaleWorkerArray) ElementType ¶
func (ScaleWorkerArray) ElementType() reflect.Type
func (ScaleWorkerArray) ToScaleWorkerArrayOutput ¶
func (i ScaleWorkerArray) ToScaleWorkerArrayOutput() ScaleWorkerArrayOutput
func (ScaleWorkerArray) ToScaleWorkerArrayOutputWithContext ¶
func (i ScaleWorkerArray) ToScaleWorkerArrayOutputWithContext(ctx context.Context) ScaleWorkerArrayOutput
type ScaleWorkerArrayInput ¶
type ScaleWorkerArrayInput interface { pulumi.Input ToScaleWorkerArrayOutput() ScaleWorkerArrayOutput ToScaleWorkerArrayOutputWithContext(context.Context) ScaleWorkerArrayOutput }
ScaleWorkerArrayInput is an input type that accepts ScaleWorkerArray and ScaleWorkerArrayOutput values. You can construct a concrete instance of `ScaleWorkerArrayInput` via:
ScaleWorkerArray{ ScaleWorkerArgs{...} }
type ScaleWorkerArrayOutput ¶
type ScaleWorkerArrayOutput struct{ *pulumi.OutputState }
func (ScaleWorkerArrayOutput) ElementType ¶
func (ScaleWorkerArrayOutput) ElementType() reflect.Type
func (ScaleWorkerArrayOutput) Index ¶
func (o ScaleWorkerArrayOutput) Index(i pulumi.IntInput) ScaleWorkerOutput
func (ScaleWorkerArrayOutput) ToScaleWorkerArrayOutput ¶
func (o ScaleWorkerArrayOutput) ToScaleWorkerArrayOutput() ScaleWorkerArrayOutput
func (ScaleWorkerArrayOutput) ToScaleWorkerArrayOutputWithContext ¶
func (o ScaleWorkerArrayOutput) ToScaleWorkerArrayOutputWithContext(ctx context.Context) ScaleWorkerArrayOutput
type ScaleWorkerDataDisk ¶
type ScaleWorkerDataDisk struct { // Indicate whether to auto format and mount or not. Default is `false`. AutoFormatAndMount *bool `pulumi:"autoFormatAndMount"` // Volume of disk in GB. Default is `0`. DiskSize *int `pulumi:"diskSize"` // Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`. DiskType *string `pulumi:"diskType"` // File system, e.g. `ext3/ext4/xfs`. FileSystem *string `pulumi:"fileSystem"` // Mount target. MountTarget *string `pulumi:"mountTarget"` }
type ScaleWorkerDataDiskArgs ¶
type ScaleWorkerDataDiskArgs struct { // Indicate whether to auto format and mount or not. Default is `false`. AutoFormatAndMount pulumi.BoolPtrInput `pulumi:"autoFormatAndMount"` // Volume of disk in GB. Default is `0`. DiskSize pulumi.IntPtrInput `pulumi:"diskSize"` // Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`. DiskType pulumi.StringPtrInput `pulumi:"diskType"` // File system, e.g. `ext3/ext4/xfs`. FileSystem pulumi.StringPtrInput `pulumi:"fileSystem"` // Mount target. MountTarget pulumi.StringPtrInput `pulumi:"mountTarget"` }
func (ScaleWorkerDataDiskArgs) ElementType ¶
func (ScaleWorkerDataDiskArgs) ElementType() reflect.Type
func (ScaleWorkerDataDiskArgs) ToScaleWorkerDataDiskOutput ¶
func (i ScaleWorkerDataDiskArgs) ToScaleWorkerDataDiskOutput() ScaleWorkerDataDiskOutput
func (ScaleWorkerDataDiskArgs) ToScaleWorkerDataDiskOutputWithContext ¶
func (i ScaleWorkerDataDiskArgs) ToScaleWorkerDataDiskOutputWithContext(ctx context.Context) ScaleWorkerDataDiskOutput
type ScaleWorkerDataDiskArray ¶
type ScaleWorkerDataDiskArray []ScaleWorkerDataDiskInput
func (ScaleWorkerDataDiskArray) ElementType ¶
func (ScaleWorkerDataDiskArray) ElementType() reflect.Type
func (ScaleWorkerDataDiskArray) ToScaleWorkerDataDiskArrayOutput ¶
func (i ScaleWorkerDataDiskArray) ToScaleWorkerDataDiskArrayOutput() ScaleWorkerDataDiskArrayOutput
func (ScaleWorkerDataDiskArray) ToScaleWorkerDataDiskArrayOutputWithContext ¶
func (i ScaleWorkerDataDiskArray) ToScaleWorkerDataDiskArrayOutputWithContext(ctx context.Context) ScaleWorkerDataDiskArrayOutput
type ScaleWorkerDataDiskArrayInput ¶
type ScaleWorkerDataDiskArrayInput interface { pulumi.Input ToScaleWorkerDataDiskArrayOutput() ScaleWorkerDataDiskArrayOutput ToScaleWorkerDataDiskArrayOutputWithContext(context.Context) ScaleWorkerDataDiskArrayOutput }
ScaleWorkerDataDiskArrayInput is an input type that accepts ScaleWorkerDataDiskArray and ScaleWorkerDataDiskArrayOutput values. You can construct a concrete instance of `ScaleWorkerDataDiskArrayInput` via:
ScaleWorkerDataDiskArray{ ScaleWorkerDataDiskArgs{...} }
type ScaleWorkerDataDiskArrayOutput ¶
type ScaleWorkerDataDiskArrayOutput struct{ *pulumi.OutputState }
func (ScaleWorkerDataDiskArrayOutput) ElementType ¶
func (ScaleWorkerDataDiskArrayOutput) ElementType() reflect.Type
func (ScaleWorkerDataDiskArrayOutput) Index ¶
func (o ScaleWorkerDataDiskArrayOutput) Index(i pulumi.IntInput) ScaleWorkerDataDiskOutput
func (ScaleWorkerDataDiskArrayOutput) ToScaleWorkerDataDiskArrayOutput ¶
func (o ScaleWorkerDataDiskArrayOutput) ToScaleWorkerDataDiskArrayOutput() ScaleWorkerDataDiskArrayOutput
func (ScaleWorkerDataDiskArrayOutput) ToScaleWorkerDataDiskArrayOutputWithContext ¶
func (o ScaleWorkerDataDiskArrayOutput) ToScaleWorkerDataDiskArrayOutputWithContext(ctx context.Context) ScaleWorkerDataDiskArrayOutput
type ScaleWorkerDataDiskInput ¶
type ScaleWorkerDataDiskInput interface { pulumi.Input ToScaleWorkerDataDiskOutput() ScaleWorkerDataDiskOutput ToScaleWorkerDataDiskOutputWithContext(context.Context) ScaleWorkerDataDiskOutput }
ScaleWorkerDataDiskInput is an input type that accepts ScaleWorkerDataDiskArgs and ScaleWorkerDataDiskOutput values. You can construct a concrete instance of `ScaleWorkerDataDiskInput` via:
ScaleWorkerDataDiskArgs{...}
type ScaleWorkerDataDiskOutput ¶
type ScaleWorkerDataDiskOutput struct{ *pulumi.OutputState }
func (ScaleWorkerDataDiskOutput) AutoFormatAndMount ¶
func (o ScaleWorkerDataDiskOutput) AutoFormatAndMount() pulumi.BoolPtrOutput
Indicate whether to auto format and mount or not. Default is `false`.
func (ScaleWorkerDataDiskOutput) DiskSize ¶
func (o ScaleWorkerDataDiskOutput) DiskSize() pulumi.IntPtrOutput
Volume of disk in GB. Default is `0`.
func (ScaleWorkerDataDiskOutput) DiskType ¶
func (o ScaleWorkerDataDiskOutput) DiskType() pulumi.StringPtrOutput
Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.
func (ScaleWorkerDataDiskOutput) ElementType ¶
func (ScaleWorkerDataDiskOutput) ElementType() reflect.Type
func (ScaleWorkerDataDiskOutput) FileSystem ¶
func (o ScaleWorkerDataDiskOutput) FileSystem() pulumi.StringPtrOutput
File system, e.g. `ext3/ext4/xfs`.
func (ScaleWorkerDataDiskOutput) MountTarget ¶
func (o ScaleWorkerDataDiskOutput) MountTarget() pulumi.StringPtrOutput
Mount target.
func (ScaleWorkerDataDiskOutput) ToScaleWorkerDataDiskOutput ¶
func (o ScaleWorkerDataDiskOutput) ToScaleWorkerDataDiskOutput() ScaleWorkerDataDiskOutput
func (ScaleWorkerDataDiskOutput) ToScaleWorkerDataDiskOutputWithContext ¶
func (o ScaleWorkerDataDiskOutput) ToScaleWorkerDataDiskOutputWithContext(ctx context.Context) ScaleWorkerDataDiskOutput
type ScaleWorkerGpuArgs ¶ added in v0.1.3
type ScaleWorkerGpuArgs struct { // CUDA version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA. Cuda map[string]interface{} `pulumi:"cuda"` // cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `docName`: Doc name of cuDNN; `devName`: Dev name of cuDNN. Cudnn map[string]interface{} `pulumi:"cudnn"` // Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address. CustomDriver map[string]interface{} `pulumi:"customDriver"` // GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA. Driver map[string]interface{} `pulumi:"driver"` // Whether to enable MIG. MigEnable *bool `pulumi:"migEnable"` }
type ScaleWorkerGpuArgsArgs ¶ added in v0.1.3
type ScaleWorkerGpuArgsArgs struct { // CUDA version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA. Cuda pulumi.MapInput `pulumi:"cuda"` // cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `docName`: Doc name of cuDNN; `devName`: Dev name of cuDNN. Cudnn pulumi.MapInput `pulumi:"cudnn"` // Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address. CustomDriver pulumi.MapInput `pulumi:"customDriver"` // GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA. Driver pulumi.MapInput `pulumi:"driver"` // Whether to enable MIG. MigEnable pulumi.BoolPtrInput `pulumi:"migEnable"` }
func (ScaleWorkerGpuArgsArgs) ElementType ¶ added in v0.1.3
func (ScaleWorkerGpuArgsArgs) ElementType() reflect.Type
func (ScaleWorkerGpuArgsArgs) ToScaleWorkerGpuArgsOutput ¶ added in v0.1.3
func (i ScaleWorkerGpuArgsArgs) ToScaleWorkerGpuArgsOutput() ScaleWorkerGpuArgsOutput
func (ScaleWorkerGpuArgsArgs) ToScaleWorkerGpuArgsOutputWithContext ¶ added in v0.1.3
func (i ScaleWorkerGpuArgsArgs) ToScaleWorkerGpuArgsOutputWithContext(ctx context.Context) ScaleWorkerGpuArgsOutput
func (ScaleWorkerGpuArgsArgs) ToScaleWorkerGpuArgsPtrOutput ¶ added in v0.1.3
func (i ScaleWorkerGpuArgsArgs) ToScaleWorkerGpuArgsPtrOutput() ScaleWorkerGpuArgsPtrOutput
func (ScaleWorkerGpuArgsArgs) ToScaleWorkerGpuArgsPtrOutputWithContext ¶ added in v0.1.3
func (i ScaleWorkerGpuArgsArgs) ToScaleWorkerGpuArgsPtrOutputWithContext(ctx context.Context) ScaleWorkerGpuArgsPtrOutput
type ScaleWorkerGpuArgsInput ¶ added in v0.1.3
type ScaleWorkerGpuArgsInput interface { pulumi.Input ToScaleWorkerGpuArgsOutput() ScaleWorkerGpuArgsOutput ToScaleWorkerGpuArgsOutputWithContext(context.Context) ScaleWorkerGpuArgsOutput }
ScaleWorkerGpuArgsInput is an input type that accepts ScaleWorkerGpuArgsArgs and ScaleWorkerGpuArgsOutput values. You can construct a concrete instance of `ScaleWorkerGpuArgsInput` via:
ScaleWorkerGpuArgsArgs{...}
type ScaleWorkerGpuArgsOutput ¶ added in v0.1.3
type ScaleWorkerGpuArgsOutput struct{ *pulumi.OutputState }
func (ScaleWorkerGpuArgsOutput) Cuda ¶ added in v0.1.3
func (o ScaleWorkerGpuArgsOutput) Cuda() pulumi.MapOutput
CUDA version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
func (ScaleWorkerGpuArgsOutput) Cudnn ¶ added in v0.1.3
func (o ScaleWorkerGpuArgsOutput) Cudnn() pulumi.MapOutput
cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `docName`: Doc name of cuDNN; `devName`: Dev name of cuDNN.
func (ScaleWorkerGpuArgsOutput) CustomDriver ¶ added in v0.1.3
func (o ScaleWorkerGpuArgsOutput) CustomDriver() pulumi.MapOutput
Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address.
func (ScaleWorkerGpuArgsOutput) Driver ¶ added in v0.1.3
func (o ScaleWorkerGpuArgsOutput) Driver() pulumi.MapOutput
GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
func (ScaleWorkerGpuArgsOutput) ElementType ¶ added in v0.1.3
func (ScaleWorkerGpuArgsOutput) ElementType() reflect.Type
func (ScaleWorkerGpuArgsOutput) MigEnable ¶ added in v0.1.3
func (o ScaleWorkerGpuArgsOutput) MigEnable() pulumi.BoolPtrOutput
Whether to enable MIG.
func (ScaleWorkerGpuArgsOutput) ToScaleWorkerGpuArgsOutput ¶ added in v0.1.3
func (o ScaleWorkerGpuArgsOutput) ToScaleWorkerGpuArgsOutput() ScaleWorkerGpuArgsOutput
func (ScaleWorkerGpuArgsOutput) ToScaleWorkerGpuArgsOutputWithContext ¶ added in v0.1.3
func (o ScaleWorkerGpuArgsOutput) ToScaleWorkerGpuArgsOutputWithContext(ctx context.Context) ScaleWorkerGpuArgsOutput
func (ScaleWorkerGpuArgsOutput) ToScaleWorkerGpuArgsPtrOutput ¶ added in v0.1.3
func (o ScaleWorkerGpuArgsOutput) ToScaleWorkerGpuArgsPtrOutput() ScaleWorkerGpuArgsPtrOutput
func (ScaleWorkerGpuArgsOutput) ToScaleWorkerGpuArgsPtrOutputWithContext ¶ added in v0.1.3
func (o ScaleWorkerGpuArgsOutput) ToScaleWorkerGpuArgsPtrOutputWithContext(ctx context.Context) ScaleWorkerGpuArgsPtrOutput
type ScaleWorkerGpuArgsPtrInput ¶ added in v0.1.3
type ScaleWorkerGpuArgsPtrInput interface { pulumi.Input ToScaleWorkerGpuArgsPtrOutput() ScaleWorkerGpuArgsPtrOutput ToScaleWorkerGpuArgsPtrOutputWithContext(context.Context) ScaleWorkerGpuArgsPtrOutput }
ScaleWorkerGpuArgsPtrInput is an input type that accepts ScaleWorkerGpuArgsArgs, ScaleWorkerGpuArgsPtr and ScaleWorkerGpuArgsPtrOutput values. You can construct a concrete instance of `ScaleWorkerGpuArgsPtrInput` via:
ScaleWorkerGpuArgsArgs{...} or: nil
func ScaleWorkerGpuArgsPtr ¶ added in v0.1.3
func ScaleWorkerGpuArgsPtr(v *ScaleWorkerGpuArgsArgs) ScaleWorkerGpuArgsPtrInput
type ScaleWorkerGpuArgsPtrOutput ¶ added in v0.1.3
type ScaleWorkerGpuArgsPtrOutput struct{ *pulumi.OutputState }
func (ScaleWorkerGpuArgsPtrOutput) Cuda ¶ added in v0.1.3
func (o ScaleWorkerGpuArgsPtrOutput) Cuda() pulumi.MapOutput
CUDA version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
func (ScaleWorkerGpuArgsPtrOutput) Cudnn ¶ added in v0.1.3
func (o ScaleWorkerGpuArgsPtrOutput) Cudnn() pulumi.MapOutput
cuDNN version. Format like: `{ version: String, name: String, doc_name: String, dev_name: String }`. `version`: cuDNN version; `name`: cuDNN name; `docName`: Doc name of cuDNN; `devName`: Dev name of cuDNN.
func (ScaleWorkerGpuArgsPtrOutput) CustomDriver ¶ added in v0.1.3
func (o ScaleWorkerGpuArgsPtrOutput) CustomDriver() pulumi.MapOutput
Custom GPU driver. Format like: `{address: String}`. `address`: URL of custom GPU driver address.
func (ScaleWorkerGpuArgsPtrOutput) Driver ¶ added in v0.1.3
func (o ScaleWorkerGpuArgsPtrOutput) Driver() pulumi.MapOutput
GPU driver version. Format like: `{ version: String, name: String }`. `version`: Version of GPU driver or CUDA; `name`: Name of GPU driver or CUDA.
func (ScaleWorkerGpuArgsPtrOutput) Elem ¶ added in v0.1.3
func (o ScaleWorkerGpuArgsPtrOutput) Elem() ScaleWorkerGpuArgsOutput
func (ScaleWorkerGpuArgsPtrOutput) ElementType ¶ added in v0.1.3
func (ScaleWorkerGpuArgsPtrOutput) ElementType() reflect.Type
func (ScaleWorkerGpuArgsPtrOutput) MigEnable ¶ added in v0.1.3
func (o ScaleWorkerGpuArgsPtrOutput) MigEnable() pulumi.BoolPtrOutput
Whether to enable MIG.
func (ScaleWorkerGpuArgsPtrOutput) ToScaleWorkerGpuArgsPtrOutput ¶ added in v0.1.3
func (o ScaleWorkerGpuArgsPtrOutput) ToScaleWorkerGpuArgsPtrOutput() ScaleWorkerGpuArgsPtrOutput
func (ScaleWorkerGpuArgsPtrOutput) ToScaleWorkerGpuArgsPtrOutputWithContext ¶ added in v0.1.3
func (o ScaleWorkerGpuArgsPtrOutput) ToScaleWorkerGpuArgsPtrOutputWithContext(ctx context.Context) ScaleWorkerGpuArgsPtrOutput
type ScaleWorkerInput ¶
type ScaleWorkerInput interface { pulumi.Input ToScaleWorkerOutput() ScaleWorkerOutput ToScaleWorkerOutputWithContext(ctx context.Context) ScaleWorkerOutput }
type ScaleWorkerMap ¶
type ScaleWorkerMap map[string]ScaleWorkerInput
func (ScaleWorkerMap) ElementType ¶
func (ScaleWorkerMap) ElementType() reflect.Type
func (ScaleWorkerMap) ToScaleWorkerMapOutput ¶
func (i ScaleWorkerMap) ToScaleWorkerMapOutput() ScaleWorkerMapOutput
func (ScaleWorkerMap) ToScaleWorkerMapOutputWithContext ¶
func (i ScaleWorkerMap) ToScaleWorkerMapOutputWithContext(ctx context.Context) ScaleWorkerMapOutput
type ScaleWorkerMapInput ¶
type ScaleWorkerMapInput interface { pulumi.Input ToScaleWorkerMapOutput() ScaleWorkerMapOutput ToScaleWorkerMapOutputWithContext(context.Context) ScaleWorkerMapOutput }
ScaleWorkerMapInput is an input type that accepts ScaleWorkerMap and ScaleWorkerMapOutput values. You can construct a concrete instance of `ScaleWorkerMapInput` via:
ScaleWorkerMap{ "key": ScaleWorkerArgs{...} }
type ScaleWorkerMapOutput ¶
type ScaleWorkerMapOutput struct{ *pulumi.OutputState }
func (ScaleWorkerMapOutput) ElementType ¶
func (ScaleWorkerMapOutput) ElementType() reflect.Type
func (ScaleWorkerMapOutput) MapIndex ¶
func (o ScaleWorkerMapOutput) MapIndex(k pulumi.StringInput) ScaleWorkerOutput
func (ScaleWorkerMapOutput) ToScaleWorkerMapOutput ¶
func (o ScaleWorkerMapOutput) ToScaleWorkerMapOutput() ScaleWorkerMapOutput
func (ScaleWorkerMapOutput) ToScaleWorkerMapOutputWithContext ¶
func (o ScaleWorkerMapOutput) ToScaleWorkerMapOutputWithContext(ctx context.Context) ScaleWorkerMapOutput
type ScaleWorkerOutput ¶
type ScaleWorkerOutput struct{ *pulumi.OutputState }
func (ScaleWorkerOutput) ClusterId ¶
func (o ScaleWorkerOutput) ClusterId() pulumi.StringOutput
ID of the cluster.
func (ScaleWorkerOutput) DataDisks ¶
func (o ScaleWorkerOutput) DataDisks() ScaleWorkerDataDiskArrayOutput
Configurations of data disk.
func (ScaleWorkerOutput) DesiredPodNum ¶
func (o ScaleWorkerOutput) DesiredPodNum() pulumi.IntPtrOutput
Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr.
func (ScaleWorkerOutput) DockerGraphPath ¶
func (o ScaleWorkerOutput) DockerGraphPath() pulumi.StringPtrOutput
Docker graph path. Default is `/var/lib/docker`.
func (ScaleWorkerOutput) ElementType ¶
func (ScaleWorkerOutput) ElementType() reflect.Type
func (ScaleWorkerOutput) ExtraArgs ¶
func (o ScaleWorkerOutput) ExtraArgs() pulumi.StringArrayOutput
Custom parameter information related to the node.
func (ScaleWorkerOutput) GpuArgs ¶ added in v0.1.3
func (o ScaleWorkerOutput) GpuArgs() ScaleWorkerGpuArgsPtrOutput
GPU driver parameters.
func (ScaleWorkerOutput) Labels ¶
func (o ScaleWorkerOutput) Labels() pulumi.MapOutput
Labels of kubernetes scale worker created nodes.
func (ScaleWorkerOutput) MountTarget ¶
func (o ScaleWorkerOutput) MountTarget() pulumi.StringPtrOutput
Mount target. Default is not mounting.
func (ScaleWorkerOutput) ToScaleWorkerOutput ¶
func (o ScaleWorkerOutput) ToScaleWorkerOutput() ScaleWorkerOutput
func (ScaleWorkerOutput) ToScaleWorkerOutputWithContext ¶
func (o ScaleWorkerOutput) ToScaleWorkerOutputWithContext(ctx context.Context) ScaleWorkerOutput
func (ScaleWorkerOutput) Unschedulable ¶
func (o ScaleWorkerOutput) Unschedulable() pulumi.IntPtrOutput
Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling.
func (ScaleWorkerOutput) WorkerConfig ¶
func (o ScaleWorkerOutput) WorkerConfig() ScaleWorkerWorkerConfigOutput
Deploy the machine configuration information of the 'WORK' service, and create <=20 units for common users.
func (ScaleWorkerOutput) WorkerInstancesLists ¶
func (o ScaleWorkerOutput) WorkerInstancesLists() ScaleWorkerWorkerInstancesListArrayOutput
An information list of kubernetes cluster 'WORKER'. Each element contains the following attributes:
type ScaleWorkerState ¶
type ScaleWorkerState struct { // ID of the cluster. ClusterId pulumi.StringPtrInput // Configurations of data disk. DataDisks ScaleWorkerDataDiskArrayInput // Indicate to set desired pod number in current node. Valid when the cluster enable customized pod cidr. DesiredPodNum pulumi.IntPtrInput // Docker graph path. Default is `/var/lib/docker`. DockerGraphPath pulumi.StringPtrInput // Custom parameter information related to the node. ExtraArgs pulumi.StringArrayInput // GPU driver parameters. GpuArgs ScaleWorkerGpuArgsPtrInput // Labels of kubernetes scale worker created nodes. Labels pulumi.MapInput // Mount target. Default is not mounting. MountTarget pulumi.StringPtrInput // Sets whether the joining node participates in the schedule. Default is '0'. Participate in scheduling. Unschedulable pulumi.IntPtrInput // Deploy the machine configuration information of the 'WORK' service, and create <=20 units for common users. WorkerConfig ScaleWorkerWorkerConfigPtrInput // An information list of kubernetes cluster 'WORKER'. Each element contains the following attributes: WorkerInstancesLists ScaleWorkerWorkerInstancesListArrayInput }
func (ScaleWorkerState) ElementType ¶
func (ScaleWorkerState) ElementType() reflect.Type
type ScaleWorkerWorkerConfig ¶
type ScaleWorkerWorkerConfig struct { // Indicates which availability zone will be used. AvailabilityZone *string `pulumi:"availabilityZone"` // bandwidth package id. if user is standard user, then the bandwidthPackageId is needed, or default has bandwidth_package_id. BandwidthPackageId *string `pulumi:"bandwidthPackageId"` // CAM role name authorized to access. CamRoleName *string `pulumi:"camRoleName"` // Number of cvm. Count *int `pulumi:"count"` // Configurations of data disk. DataDisks []ScaleWorkerWorkerConfigDataDisk `pulumi:"dataDisks"` // Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desiredPodNum` or none. DesiredPodNum *int `pulumi:"desiredPodNum"` // Disaster recover groups to which a CVM instance belongs. Only support maximum 1. DisasterRecoverGroupIds *string `pulumi:"disasterRecoverGroupIds"` // To specify whether to enable cloud monitor service. Default is TRUE. EnhancedMonitorService *bool `pulumi:"enhancedMonitorService"` // To specify whether to enable cloud security service. Default is TRUE. EnhancedSecurityService *bool `pulumi:"enhancedSecurityService"` // The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-). Hostname *string `pulumi:"hostname"` // Id of cvm hpc cluster. HpcClusterId *string `pulumi:"hpcClusterId"` // The valid image id, format of img-xxx. ImgId *string `pulumi:"imgId"` // The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired. InstanceChargeType *string `pulumi:"instanceChargeType"` // The tenancy (time unit is month) of the prepaid instance. NOTE: it only works when instanceChargeType is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`. InstanceChargeTypePrepaidPeriod *int `pulumi:"instanceChargeTypePrepaidPeriod"` // Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instanceChargeType is set to `PREPAID`. InstanceChargeTypePrepaidRenewFlag *string `pulumi:"instanceChargeTypePrepaidRenewFlag"` // Name of the CVMs. InstanceName *string `pulumi:"instanceName"` // Specified types of CVM instance. InstanceType string `pulumi:"instanceType"` // Charge types for network traffic. Available values include `TRAFFIC_POSTPAID_BY_HOUR`. InternetChargeType *string `pulumi:"internetChargeType"` // Max bandwidth of Internet access in Mbps. Default is 0. InternetMaxBandwidthOut *int `pulumi:"internetMaxBandwidthOut"` // ID list of keys, should be set if `password` not set. KeyIds *string `pulumi:"keyIds"` // Password to access, should be set if `keyIds` not set. Password *string `pulumi:"password"` // Specify whether to assign an Internet IP address. PublicIpAssigned *bool `pulumi:"publicIpAssigned"` // Security groups to which a CVM instance belongs. SecurityGroupIds []string `pulumi:"securityGroupIds"` // Private network ID. SubnetId string `pulumi:"subnetId"` // Volume of system disk in GB. Default is `50`. SystemDiskSize *int `pulumi:"systemDiskSize"` // System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated. SystemDiskType *string `pulumi:"systemDiskType"` // ase64-encoded User Data text, the length limit is 16KB. UserData *string `pulumi:"userData"` }
type ScaleWorkerWorkerConfigArgs ¶
type ScaleWorkerWorkerConfigArgs struct { // Indicates which availability zone will be used. AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"` // bandwidth package id. if user is standard user, then the bandwidthPackageId is needed, or default has bandwidth_package_id. BandwidthPackageId pulumi.StringPtrInput `pulumi:"bandwidthPackageId"` // CAM role name authorized to access. CamRoleName pulumi.StringPtrInput `pulumi:"camRoleName"` // Number of cvm. Count pulumi.IntPtrInput `pulumi:"count"` // Configurations of data disk. DataDisks ScaleWorkerWorkerConfigDataDiskArrayInput `pulumi:"dataDisks"` // Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desiredPodNum` or none. DesiredPodNum pulumi.IntPtrInput `pulumi:"desiredPodNum"` // Disaster recover groups to which a CVM instance belongs. Only support maximum 1. DisasterRecoverGroupIds pulumi.StringPtrInput `pulumi:"disasterRecoverGroupIds"` // To specify whether to enable cloud monitor service. Default is TRUE. EnhancedMonitorService pulumi.BoolPtrInput `pulumi:"enhancedMonitorService"` // To specify whether to enable cloud security service. Default is TRUE. EnhancedSecurityService pulumi.BoolPtrInput `pulumi:"enhancedSecurityService"` // The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-). Hostname pulumi.StringPtrInput `pulumi:"hostname"` // Id of cvm hpc cluster. HpcClusterId pulumi.StringPtrInput `pulumi:"hpcClusterId"` // The valid image id, format of img-xxx. ImgId pulumi.StringPtrInput `pulumi:"imgId"` // The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired. InstanceChargeType pulumi.StringPtrInput `pulumi:"instanceChargeType"` // The tenancy (time unit is month) of the prepaid instance. NOTE: it only works when instanceChargeType is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`. InstanceChargeTypePrepaidPeriod pulumi.IntPtrInput `pulumi:"instanceChargeTypePrepaidPeriod"` // Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instanceChargeType is set to `PREPAID`. InstanceChargeTypePrepaidRenewFlag pulumi.StringPtrInput `pulumi:"instanceChargeTypePrepaidRenewFlag"` // Name of the CVMs. InstanceName pulumi.StringPtrInput `pulumi:"instanceName"` // Specified types of CVM instance. InstanceType pulumi.StringInput `pulumi:"instanceType"` // Charge types for network traffic. Available values include `TRAFFIC_POSTPAID_BY_HOUR`. InternetChargeType pulumi.StringPtrInput `pulumi:"internetChargeType"` // Max bandwidth of Internet access in Mbps. Default is 0. InternetMaxBandwidthOut pulumi.IntPtrInput `pulumi:"internetMaxBandwidthOut"` // ID list of keys, should be set if `password` not set. KeyIds pulumi.StringPtrInput `pulumi:"keyIds"` // Password to access, should be set if `keyIds` not set. Password pulumi.StringPtrInput `pulumi:"password"` // Specify whether to assign an Internet IP address. PublicIpAssigned pulumi.BoolPtrInput `pulumi:"publicIpAssigned"` // Security groups to which a CVM instance belongs. SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"` // Private network ID. SubnetId pulumi.StringInput `pulumi:"subnetId"` // Volume of system disk in GB. Default is `50`. SystemDiskSize pulumi.IntPtrInput `pulumi:"systemDiskSize"` // System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated. SystemDiskType pulumi.StringPtrInput `pulumi:"systemDiskType"` // ase64-encoded User Data text, the length limit is 16KB. UserData pulumi.StringPtrInput `pulumi:"userData"` }
func (ScaleWorkerWorkerConfigArgs) ElementType ¶
func (ScaleWorkerWorkerConfigArgs) ElementType() reflect.Type
func (ScaleWorkerWorkerConfigArgs) ToScaleWorkerWorkerConfigOutput ¶
func (i ScaleWorkerWorkerConfigArgs) ToScaleWorkerWorkerConfigOutput() ScaleWorkerWorkerConfigOutput
func (ScaleWorkerWorkerConfigArgs) ToScaleWorkerWorkerConfigOutputWithContext ¶
func (i ScaleWorkerWorkerConfigArgs) ToScaleWorkerWorkerConfigOutputWithContext(ctx context.Context) ScaleWorkerWorkerConfigOutput
func (ScaleWorkerWorkerConfigArgs) ToScaleWorkerWorkerConfigPtrOutput ¶
func (i ScaleWorkerWorkerConfigArgs) ToScaleWorkerWorkerConfigPtrOutput() ScaleWorkerWorkerConfigPtrOutput
func (ScaleWorkerWorkerConfigArgs) ToScaleWorkerWorkerConfigPtrOutputWithContext ¶
func (i ScaleWorkerWorkerConfigArgs) ToScaleWorkerWorkerConfigPtrOutputWithContext(ctx context.Context) ScaleWorkerWorkerConfigPtrOutput
type ScaleWorkerWorkerConfigDataDisk ¶
type ScaleWorkerWorkerConfigDataDisk struct { // Indicate whether to auto format and mount or not. Default is `false`. AutoFormatAndMount *bool `pulumi:"autoFormatAndMount"` // The name of the device or partition to mount. DiskPartition *string `pulumi:"diskPartition"` // Volume of disk in GB. Default is `0`. DiskSize *int `pulumi:"diskSize"` // Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`. DiskType *string `pulumi:"diskType"` // Indicates whether to encrypt data disk, default `false`. Encrypt *bool `pulumi:"encrypt"` // File system, e.g. `ext3/ext4/xfs`. FileSystem *string `pulumi:"fileSystem"` // ID of the custom CMK in the format of UUID or `kms-abcd1234`. This parameter is used to encrypt cloud disks. KmsKeyId *string `pulumi:"kmsKeyId"` // Mount target. MountTarget *string `pulumi:"mountTarget"` // Data disk snapshot ID. SnapshotId *string `pulumi:"snapshotId"` }
type ScaleWorkerWorkerConfigDataDiskArgs ¶
type ScaleWorkerWorkerConfigDataDiskArgs struct { // Indicate whether to auto format and mount or not. Default is `false`. AutoFormatAndMount pulumi.BoolPtrInput `pulumi:"autoFormatAndMount"` // The name of the device or partition to mount. DiskPartition pulumi.StringPtrInput `pulumi:"diskPartition"` // Volume of disk in GB. Default is `0`. DiskSize pulumi.IntPtrInput `pulumi:"diskSize"` // Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`. DiskType pulumi.StringPtrInput `pulumi:"diskType"` // Indicates whether to encrypt data disk, default `false`. Encrypt pulumi.BoolPtrInput `pulumi:"encrypt"` // File system, e.g. `ext3/ext4/xfs`. FileSystem pulumi.StringPtrInput `pulumi:"fileSystem"` // ID of the custom CMK in the format of UUID or `kms-abcd1234`. This parameter is used to encrypt cloud disks. KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"` // Mount target. MountTarget pulumi.StringPtrInput `pulumi:"mountTarget"` // Data disk snapshot ID. SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"` }
func (ScaleWorkerWorkerConfigDataDiskArgs) ElementType ¶
func (ScaleWorkerWorkerConfigDataDiskArgs) ElementType() reflect.Type
func (ScaleWorkerWorkerConfigDataDiskArgs) ToScaleWorkerWorkerConfigDataDiskOutput ¶
func (i ScaleWorkerWorkerConfigDataDiskArgs) ToScaleWorkerWorkerConfigDataDiskOutput() ScaleWorkerWorkerConfigDataDiskOutput
func (ScaleWorkerWorkerConfigDataDiskArgs) ToScaleWorkerWorkerConfigDataDiskOutputWithContext ¶
func (i ScaleWorkerWorkerConfigDataDiskArgs) ToScaleWorkerWorkerConfigDataDiskOutputWithContext(ctx context.Context) ScaleWorkerWorkerConfigDataDiskOutput
type ScaleWorkerWorkerConfigDataDiskArray ¶
type ScaleWorkerWorkerConfigDataDiskArray []ScaleWorkerWorkerConfigDataDiskInput
func (ScaleWorkerWorkerConfigDataDiskArray) ElementType ¶
func (ScaleWorkerWorkerConfigDataDiskArray) ElementType() reflect.Type
func (ScaleWorkerWorkerConfigDataDiskArray) ToScaleWorkerWorkerConfigDataDiskArrayOutput ¶
func (i ScaleWorkerWorkerConfigDataDiskArray) ToScaleWorkerWorkerConfigDataDiskArrayOutput() ScaleWorkerWorkerConfigDataDiskArrayOutput
func (ScaleWorkerWorkerConfigDataDiskArray) ToScaleWorkerWorkerConfigDataDiskArrayOutputWithContext ¶
func (i ScaleWorkerWorkerConfigDataDiskArray) ToScaleWorkerWorkerConfigDataDiskArrayOutputWithContext(ctx context.Context) ScaleWorkerWorkerConfigDataDiskArrayOutput
type ScaleWorkerWorkerConfigDataDiskArrayInput ¶
type ScaleWorkerWorkerConfigDataDiskArrayInput interface { pulumi.Input ToScaleWorkerWorkerConfigDataDiskArrayOutput() ScaleWorkerWorkerConfigDataDiskArrayOutput ToScaleWorkerWorkerConfigDataDiskArrayOutputWithContext(context.Context) ScaleWorkerWorkerConfigDataDiskArrayOutput }
ScaleWorkerWorkerConfigDataDiskArrayInput is an input type that accepts ScaleWorkerWorkerConfigDataDiskArray and ScaleWorkerWorkerConfigDataDiskArrayOutput values. You can construct a concrete instance of `ScaleWorkerWorkerConfigDataDiskArrayInput` via:
ScaleWorkerWorkerConfigDataDiskArray{ ScaleWorkerWorkerConfigDataDiskArgs{...} }
type ScaleWorkerWorkerConfigDataDiskArrayOutput ¶
type ScaleWorkerWorkerConfigDataDiskArrayOutput struct{ *pulumi.OutputState }
func (ScaleWorkerWorkerConfigDataDiskArrayOutput) ElementType ¶
func (ScaleWorkerWorkerConfigDataDiskArrayOutput) ElementType() reflect.Type
func (ScaleWorkerWorkerConfigDataDiskArrayOutput) ToScaleWorkerWorkerConfigDataDiskArrayOutput ¶
func (o ScaleWorkerWorkerConfigDataDiskArrayOutput) ToScaleWorkerWorkerConfigDataDiskArrayOutput() ScaleWorkerWorkerConfigDataDiskArrayOutput
func (ScaleWorkerWorkerConfigDataDiskArrayOutput) ToScaleWorkerWorkerConfigDataDiskArrayOutputWithContext ¶
func (o ScaleWorkerWorkerConfigDataDiskArrayOutput) ToScaleWorkerWorkerConfigDataDiskArrayOutputWithContext(ctx context.Context) ScaleWorkerWorkerConfigDataDiskArrayOutput
type ScaleWorkerWorkerConfigDataDiskInput ¶
type ScaleWorkerWorkerConfigDataDiskInput interface { pulumi.Input ToScaleWorkerWorkerConfigDataDiskOutput() ScaleWorkerWorkerConfigDataDiskOutput ToScaleWorkerWorkerConfigDataDiskOutputWithContext(context.Context) ScaleWorkerWorkerConfigDataDiskOutput }
ScaleWorkerWorkerConfigDataDiskInput is an input type that accepts ScaleWorkerWorkerConfigDataDiskArgs and ScaleWorkerWorkerConfigDataDiskOutput values. You can construct a concrete instance of `ScaleWorkerWorkerConfigDataDiskInput` via:
ScaleWorkerWorkerConfigDataDiskArgs{...}
type ScaleWorkerWorkerConfigDataDiskOutput ¶
type ScaleWorkerWorkerConfigDataDiskOutput struct{ *pulumi.OutputState }
func (ScaleWorkerWorkerConfigDataDiskOutput) AutoFormatAndMount ¶
func (o ScaleWorkerWorkerConfigDataDiskOutput) AutoFormatAndMount() pulumi.BoolPtrOutput
Indicate whether to auto format and mount or not. Default is `false`.
func (ScaleWorkerWorkerConfigDataDiskOutput) DiskPartition ¶
func (o ScaleWorkerWorkerConfigDataDiskOutput) DiskPartition() pulumi.StringPtrOutput
The name of the device or partition to mount.
func (ScaleWorkerWorkerConfigDataDiskOutput) DiskSize ¶
func (o ScaleWorkerWorkerConfigDataDiskOutput) DiskSize() pulumi.IntPtrOutput
Volume of disk in GB. Default is `0`.
func (ScaleWorkerWorkerConfigDataDiskOutput) DiskType ¶
func (o ScaleWorkerWorkerConfigDataDiskOutput) DiskType() pulumi.StringPtrOutput
Types of disk, available values: `CLOUD_PREMIUM` and `CLOUD_SSD` and `CLOUD_HSSD` and `CLOUD_TSSD`.
func (ScaleWorkerWorkerConfigDataDiskOutput) ElementType ¶
func (ScaleWorkerWorkerConfigDataDiskOutput) ElementType() reflect.Type
func (ScaleWorkerWorkerConfigDataDiskOutput) Encrypt ¶
func (o ScaleWorkerWorkerConfigDataDiskOutput) Encrypt() pulumi.BoolPtrOutput
Indicates whether to encrypt data disk, default `false`.
func (ScaleWorkerWorkerConfigDataDiskOutput) FileSystem ¶
func (o ScaleWorkerWorkerConfigDataDiskOutput) FileSystem() pulumi.StringPtrOutput
File system, e.g. `ext3/ext4/xfs`.
func (ScaleWorkerWorkerConfigDataDiskOutput) KmsKeyId ¶
func (o ScaleWorkerWorkerConfigDataDiskOutput) KmsKeyId() pulumi.StringPtrOutput
ID of the custom CMK in the format of UUID or `kms-abcd1234`. This parameter is used to encrypt cloud disks.
func (ScaleWorkerWorkerConfigDataDiskOutput) MountTarget ¶
func (o ScaleWorkerWorkerConfigDataDiskOutput) MountTarget() pulumi.StringPtrOutput
Mount target.
func (ScaleWorkerWorkerConfigDataDiskOutput) SnapshotId ¶
func (o ScaleWorkerWorkerConfigDataDiskOutput) SnapshotId() pulumi.StringPtrOutput
Data disk snapshot ID.
func (ScaleWorkerWorkerConfigDataDiskOutput) ToScaleWorkerWorkerConfigDataDiskOutput ¶
func (o ScaleWorkerWorkerConfigDataDiskOutput) ToScaleWorkerWorkerConfigDataDiskOutput() ScaleWorkerWorkerConfigDataDiskOutput
func (ScaleWorkerWorkerConfigDataDiskOutput) ToScaleWorkerWorkerConfigDataDiskOutputWithContext ¶
func (o ScaleWorkerWorkerConfigDataDiskOutput) ToScaleWorkerWorkerConfigDataDiskOutputWithContext(ctx context.Context) ScaleWorkerWorkerConfigDataDiskOutput
type ScaleWorkerWorkerConfigInput ¶
type ScaleWorkerWorkerConfigInput interface { pulumi.Input ToScaleWorkerWorkerConfigOutput() ScaleWorkerWorkerConfigOutput ToScaleWorkerWorkerConfigOutputWithContext(context.Context) ScaleWorkerWorkerConfigOutput }
ScaleWorkerWorkerConfigInput is an input type that accepts ScaleWorkerWorkerConfigArgs and ScaleWorkerWorkerConfigOutput values. You can construct a concrete instance of `ScaleWorkerWorkerConfigInput` via:
ScaleWorkerWorkerConfigArgs{...}
type ScaleWorkerWorkerConfigOutput ¶
type ScaleWorkerWorkerConfigOutput struct{ *pulumi.OutputState }
func (ScaleWorkerWorkerConfigOutput) AvailabilityZone ¶
func (o ScaleWorkerWorkerConfigOutput) AvailabilityZone() pulumi.StringPtrOutput
Indicates which availability zone will be used.
func (ScaleWorkerWorkerConfigOutput) BandwidthPackageId ¶
func (o ScaleWorkerWorkerConfigOutput) BandwidthPackageId() pulumi.StringPtrOutput
bandwidth package id. if user is standard user, then the bandwidthPackageId is needed, or default has bandwidth_package_id.
func (ScaleWorkerWorkerConfigOutput) CamRoleName ¶
func (o ScaleWorkerWorkerConfigOutput) CamRoleName() pulumi.StringPtrOutput
CAM role name authorized to access.
func (ScaleWorkerWorkerConfigOutput) Count ¶
func (o ScaleWorkerWorkerConfigOutput) Count() pulumi.IntPtrOutput
Number of cvm.
func (ScaleWorkerWorkerConfigOutput) DataDisks ¶
func (o ScaleWorkerWorkerConfigOutput) DataDisks() ScaleWorkerWorkerConfigDataDiskArrayOutput
Configurations of data disk.
func (ScaleWorkerWorkerConfigOutput) DesiredPodNum ¶
func (o ScaleWorkerWorkerConfigOutput) DesiredPodNum() pulumi.IntPtrOutput
Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desiredPodNum` or none.
func (ScaleWorkerWorkerConfigOutput) DisasterRecoverGroupIds ¶
func (o ScaleWorkerWorkerConfigOutput) DisasterRecoverGroupIds() pulumi.StringPtrOutput
Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
func (ScaleWorkerWorkerConfigOutput) ElementType ¶
func (ScaleWorkerWorkerConfigOutput) ElementType() reflect.Type
func (ScaleWorkerWorkerConfigOutput) EnhancedMonitorService ¶
func (o ScaleWorkerWorkerConfigOutput) EnhancedMonitorService() pulumi.BoolPtrOutput
To specify whether to enable cloud monitor service. Default is TRUE.
func (ScaleWorkerWorkerConfigOutput) EnhancedSecurityService ¶
func (o ScaleWorkerWorkerConfigOutput) EnhancedSecurityService() pulumi.BoolPtrOutput
To specify whether to enable cloud security service. Default is TRUE.
func (ScaleWorkerWorkerConfigOutput) Hostname ¶
func (o ScaleWorkerWorkerConfigOutput) Hostname() pulumi.StringPtrOutput
The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
func (ScaleWorkerWorkerConfigOutput) HpcClusterId ¶ added in v0.1.3
func (o ScaleWorkerWorkerConfigOutput) HpcClusterId() pulumi.StringPtrOutput
Id of cvm hpc cluster.
func (ScaleWorkerWorkerConfigOutput) ImgId ¶
func (o ScaleWorkerWorkerConfigOutput) ImgId() pulumi.StringPtrOutput
The valid image id, format of img-xxx.
func (ScaleWorkerWorkerConfigOutput) InstanceChargeType ¶
func (o ScaleWorkerWorkerConfigOutput) InstanceChargeType() pulumi.StringPtrOutput
The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired.
func (ScaleWorkerWorkerConfigOutput) InstanceChargeTypePrepaidPeriod ¶
func (o ScaleWorkerWorkerConfigOutput) InstanceChargeTypePrepaidPeriod() pulumi.IntPtrOutput
The tenancy (time unit is month) of the prepaid instance. NOTE: it only works when instanceChargeType is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`.
func (ScaleWorkerWorkerConfigOutput) InstanceChargeTypePrepaidRenewFlag ¶
func (o ScaleWorkerWorkerConfigOutput) InstanceChargeTypePrepaidRenewFlag() pulumi.StringPtrOutput
Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instanceChargeType is set to `PREPAID`.
func (ScaleWorkerWorkerConfigOutput) InstanceName ¶
func (o ScaleWorkerWorkerConfigOutput) InstanceName() pulumi.StringPtrOutput
Name of the CVMs.
func (ScaleWorkerWorkerConfigOutput) InstanceType ¶
func (o ScaleWorkerWorkerConfigOutput) InstanceType() pulumi.StringOutput
Specified types of CVM instance.
func (ScaleWorkerWorkerConfigOutput) InternetChargeType ¶
func (o ScaleWorkerWorkerConfigOutput) InternetChargeType() pulumi.StringPtrOutput
Charge types for network traffic. Available values include `TRAFFIC_POSTPAID_BY_HOUR`.
func (ScaleWorkerWorkerConfigOutput) InternetMaxBandwidthOut ¶
func (o ScaleWorkerWorkerConfigOutput) InternetMaxBandwidthOut() pulumi.IntPtrOutput
Max bandwidth of Internet access in Mbps. Default is 0.
func (ScaleWorkerWorkerConfigOutput) KeyIds ¶
func (o ScaleWorkerWorkerConfigOutput) KeyIds() pulumi.StringPtrOutput
ID list of keys, should be set if `password` not set.
func (ScaleWorkerWorkerConfigOutput) Password ¶
func (o ScaleWorkerWorkerConfigOutput) Password() pulumi.StringPtrOutput
Password to access, should be set if `keyIds` not set.
func (ScaleWorkerWorkerConfigOutput) PublicIpAssigned ¶
func (o ScaleWorkerWorkerConfigOutput) PublicIpAssigned() pulumi.BoolPtrOutput
Specify whether to assign an Internet IP address.
func (ScaleWorkerWorkerConfigOutput) SecurityGroupIds ¶
func (o ScaleWorkerWorkerConfigOutput) SecurityGroupIds() pulumi.StringArrayOutput
Security groups to which a CVM instance belongs.
func (ScaleWorkerWorkerConfigOutput) SubnetId ¶
func (o ScaleWorkerWorkerConfigOutput) SubnetId() pulumi.StringOutput
Private network ID.
func (ScaleWorkerWorkerConfigOutput) SystemDiskSize ¶
func (o ScaleWorkerWorkerConfigOutput) SystemDiskSize() pulumi.IntPtrOutput
Volume of system disk in GB. Default is `50`.
func (ScaleWorkerWorkerConfigOutput) SystemDiskType ¶
func (o ScaleWorkerWorkerConfigOutput) SystemDiskType() pulumi.StringPtrOutput
System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated.
func (ScaleWorkerWorkerConfigOutput) ToScaleWorkerWorkerConfigOutput ¶
func (o ScaleWorkerWorkerConfigOutput) ToScaleWorkerWorkerConfigOutput() ScaleWorkerWorkerConfigOutput
func (ScaleWorkerWorkerConfigOutput) ToScaleWorkerWorkerConfigOutputWithContext ¶
func (o ScaleWorkerWorkerConfigOutput) ToScaleWorkerWorkerConfigOutputWithContext(ctx context.Context) ScaleWorkerWorkerConfigOutput
func (ScaleWorkerWorkerConfigOutput) ToScaleWorkerWorkerConfigPtrOutput ¶
func (o ScaleWorkerWorkerConfigOutput) ToScaleWorkerWorkerConfigPtrOutput() ScaleWorkerWorkerConfigPtrOutput
func (ScaleWorkerWorkerConfigOutput) ToScaleWorkerWorkerConfigPtrOutputWithContext ¶
func (o ScaleWorkerWorkerConfigOutput) ToScaleWorkerWorkerConfigPtrOutputWithContext(ctx context.Context) ScaleWorkerWorkerConfigPtrOutput
func (ScaleWorkerWorkerConfigOutput) UserData ¶
func (o ScaleWorkerWorkerConfigOutput) UserData() pulumi.StringPtrOutput
ase64-encoded User Data text, the length limit is 16KB.
type ScaleWorkerWorkerConfigPtrInput ¶
type ScaleWorkerWorkerConfigPtrInput interface { pulumi.Input ToScaleWorkerWorkerConfigPtrOutput() ScaleWorkerWorkerConfigPtrOutput ToScaleWorkerWorkerConfigPtrOutputWithContext(context.Context) ScaleWorkerWorkerConfigPtrOutput }
ScaleWorkerWorkerConfigPtrInput is an input type that accepts ScaleWorkerWorkerConfigArgs, ScaleWorkerWorkerConfigPtr and ScaleWorkerWorkerConfigPtrOutput values. You can construct a concrete instance of `ScaleWorkerWorkerConfigPtrInput` via:
ScaleWorkerWorkerConfigArgs{...} or: nil
func ScaleWorkerWorkerConfigPtr ¶
func ScaleWorkerWorkerConfigPtr(v *ScaleWorkerWorkerConfigArgs) ScaleWorkerWorkerConfigPtrInput
type ScaleWorkerWorkerConfigPtrOutput ¶
type ScaleWorkerWorkerConfigPtrOutput struct{ *pulumi.OutputState }
func (ScaleWorkerWorkerConfigPtrOutput) AvailabilityZone ¶
func (o ScaleWorkerWorkerConfigPtrOutput) AvailabilityZone() pulumi.StringPtrOutput
Indicates which availability zone will be used.
func (ScaleWorkerWorkerConfigPtrOutput) BandwidthPackageId ¶
func (o ScaleWorkerWorkerConfigPtrOutput) BandwidthPackageId() pulumi.StringPtrOutput
bandwidth package id. if user is standard user, then the bandwidthPackageId is needed, or default has bandwidth_package_id.
func (ScaleWorkerWorkerConfigPtrOutput) CamRoleName ¶
func (o ScaleWorkerWorkerConfigPtrOutput) CamRoleName() pulumi.StringPtrOutput
CAM role name authorized to access.
func (ScaleWorkerWorkerConfigPtrOutput) Count ¶
func (o ScaleWorkerWorkerConfigPtrOutput) Count() pulumi.IntPtrOutput
Number of cvm.
func (ScaleWorkerWorkerConfigPtrOutput) DataDisks ¶
func (o ScaleWorkerWorkerConfigPtrOutput) DataDisks() ScaleWorkerWorkerConfigDataDiskArrayOutput
Configurations of data disk.
func (ScaleWorkerWorkerConfigPtrOutput) DesiredPodNum ¶
func (o ScaleWorkerWorkerConfigPtrOutput) DesiredPodNum() pulumi.IntPtrOutput
Indicate to set desired pod number in node. valid when enable_customized_pod_cidr=true, and it override `[globe_]desired_pod_num` for current node. Either all the fields `desiredPodNum` or none.
func (ScaleWorkerWorkerConfigPtrOutput) DisasterRecoverGroupIds ¶
func (o ScaleWorkerWorkerConfigPtrOutput) DisasterRecoverGroupIds() pulumi.StringPtrOutput
Disaster recover groups to which a CVM instance belongs. Only support maximum 1.
func (ScaleWorkerWorkerConfigPtrOutput) Elem ¶
func (o ScaleWorkerWorkerConfigPtrOutput) Elem() ScaleWorkerWorkerConfigOutput
func (ScaleWorkerWorkerConfigPtrOutput) ElementType ¶
func (ScaleWorkerWorkerConfigPtrOutput) ElementType() reflect.Type
func (ScaleWorkerWorkerConfigPtrOutput) EnhancedMonitorService ¶
func (o ScaleWorkerWorkerConfigPtrOutput) EnhancedMonitorService() pulumi.BoolPtrOutput
To specify whether to enable cloud monitor service. Default is TRUE.
func (ScaleWorkerWorkerConfigPtrOutput) EnhancedSecurityService ¶
func (o ScaleWorkerWorkerConfigPtrOutput) EnhancedSecurityService() pulumi.BoolPtrOutput
To specify whether to enable cloud security service. Default is TRUE.
func (ScaleWorkerWorkerConfigPtrOutput) Hostname ¶
func (o ScaleWorkerWorkerConfigPtrOutput) Hostname() pulumi.StringPtrOutput
The host name of the attached instance. Dot (.) and dash (-) cannot be used as the first and last characters of HostName and cannot be used consecutively. Windows example: The length of the name character is [2, 15], letters (capitalization is not restricted), numbers and dashes (-) are allowed, dots (.) are not supported, and not all numbers are allowed. Examples of other types (Linux, etc.): The character length is [2, 60], and multiple dots are allowed. There is a segment between the dots. Each segment allows letters (with no limitation on capitalization), numbers and dashes (-).
func (ScaleWorkerWorkerConfigPtrOutput) HpcClusterId ¶ added in v0.1.3
func (o ScaleWorkerWorkerConfigPtrOutput) HpcClusterId() pulumi.StringPtrOutput
Id of cvm hpc cluster.
func (ScaleWorkerWorkerConfigPtrOutput) ImgId ¶
func (o ScaleWorkerWorkerConfigPtrOutput) ImgId() pulumi.StringPtrOutput
The valid image id, format of img-xxx.
func (ScaleWorkerWorkerConfigPtrOutput) InstanceChargeType ¶
func (o ScaleWorkerWorkerConfigPtrOutput) InstanceChargeType() pulumi.StringPtrOutput
The charge type of instance. Valid values are `PREPAID` and `POSTPAID_BY_HOUR`. The default is `POSTPAID_BY_HOUR`. Note: TencentCloud International only supports `POSTPAID_BY_HOUR`, `PREPAID` instance will not terminated after cluster deleted, and may not allow to delete before expired.
func (ScaleWorkerWorkerConfigPtrOutput) InstanceChargeTypePrepaidPeriod ¶
func (o ScaleWorkerWorkerConfigPtrOutput) InstanceChargeTypePrepaidPeriod() pulumi.IntPtrOutput
The tenancy (time unit is month) of the prepaid instance. NOTE: it only works when instanceChargeType is set to `PREPAID`. Valid values are `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, `36`.
func (ScaleWorkerWorkerConfigPtrOutput) InstanceChargeTypePrepaidRenewFlag ¶
func (o ScaleWorkerWorkerConfigPtrOutput) InstanceChargeTypePrepaidRenewFlag() pulumi.StringPtrOutput
Auto renewal flag. Valid values: `NOTIFY_AND_AUTO_RENEW`: notify upon expiration and renew automatically, `NOTIFY_AND_MANUAL_RENEW`: notify upon expiration but do not renew automatically, `DISABLE_NOTIFY_AND_MANUAL_RENEW`: neither notify upon expiration nor renew automatically. Default value: `NOTIFY_AND_MANUAL_RENEW`. If this parameter is specified as `NOTIFY_AND_AUTO_RENEW`, the instance will be automatically renewed on a monthly basis if the account balance is sufficient. NOTE: it only works when instanceChargeType is set to `PREPAID`.
func (ScaleWorkerWorkerConfigPtrOutput) InstanceName ¶
func (o ScaleWorkerWorkerConfigPtrOutput) InstanceName() pulumi.StringPtrOutput
Name of the CVMs.
func (ScaleWorkerWorkerConfigPtrOutput) InstanceType ¶
func (o ScaleWorkerWorkerConfigPtrOutput) InstanceType() pulumi.StringPtrOutput
Specified types of CVM instance.
func (ScaleWorkerWorkerConfigPtrOutput) InternetChargeType ¶
func (o ScaleWorkerWorkerConfigPtrOutput) InternetChargeType() pulumi.StringPtrOutput
Charge types for network traffic. Available values include `TRAFFIC_POSTPAID_BY_HOUR`.
func (ScaleWorkerWorkerConfigPtrOutput) InternetMaxBandwidthOut ¶
func (o ScaleWorkerWorkerConfigPtrOutput) InternetMaxBandwidthOut() pulumi.IntPtrOutput
Max bandwidth of Internet access in Mbps. Default is 0.
func (ScaleWorkerWorkerConfigPtrOutput) KeyIds ¶
func (o ScaleWorkerWorkerConfigPtrOutput) KeyIds() pulumi.StringPtrOutput
ID list of keys, should be set if `password` not set.
func (ScaleWorkerWorkerConfigPtrOutput) Password ¶
func (o ScaleWorkerWorkerConfigPtrOutput) Password() pulumi.StringPtrOutput
Password to access, should be set if `keyIds` not set.
func (ScaleWorkerWorkerConfigPtrOutput) PublicIpAssigned ¶
func (o ScaleWorkerWorkerConfigPtrOutput) PublicIpAssigned() pulumi.BoolPtrOutput
Specify whether to assign an Internet IP address.
func (ScaleWorkerWorkerConfigPtrOutput) SecurityGroupIds ¶
func (o ScaleWorkerWorkerConfigPtrOutput) SecurityGroupIds() pulumi.StringArrayOutput
Security groups to which a CVM instance belongs.
func (ScaleWorkerWorkerConfigPtrOutput) SubnetId ¶
func (o ScaleWorkerWorkerConfigPtrOutput) SubnetId() pulumi.StringPtrOutput
Private network ID.
func (ScaleWorkerWorkerConfigPtrOutput) SystemDiskSize ¶
func (o ScaleWorkerWorkerConfigPtrOutput) SystemDiskSize() pulumi.IntPtrOutput
Volume of system disk in GB. Default is `50`.
func (ScaleWorkerWorkerConfigPtrOutput) SystemDiskType ¶
func (o ScaleWorkerWorkerConfigPtrOutput) SystemDiskType() pulumi.StringPtrOutput
System disk type. For more information on limits of system disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_SSD`: SSD, `CLOUD_PREMIUM`: Premium Cloud Storage. NOTE: `CLOUD_BASIC`, `LOCAL_BASIC` and `LOCAL_SSD` are deprecated.
func (ScaleWorkerWorkerConfigPtrOutput) ToScaleWorkerWorkerConfigPtrOutput ¶
func (o ScaleWorkerWorkerConfigPtrOutput) ToScaleWorkerWorkerConfigPtrOutput() ScaleWorkerWorkerConfigPtrOutput
func (ScaleWorkerWorkerConfigPtrOutput) ToScaleWorkerWorkerConfigPtrOutputWithContext ¶
func (o ScaleWorkerWorkerConfigPtrOutput) ToScaleWorkerWorkerConfigPtrOutputWithContext(ctx context.Context) ScaleWorkerWorkerConfigPtrOutput
func (ScaleWorkerWorkerConfigPtrOutput) UserData ¶
func (o ScaleWorkerWorkerConfigPtrOutput) UserData() pulumi.StringPtrOutput
ase64-encoded User Data text, the length limit is 16KB.
type ScaleWorkerWorkerInstancesList ¶
type ScaleWorkerWorkerInstancesList struct { // Information of the cvm when it is failed. FailedReason *string `pulumi:"failedReason"` // ID of the cvm. InstanceId *string `pulumi:"instanceId"` // Role of the cvm. InstanceRole *string `pulumi:"instanceRole"` // State of the cvm. InstanceState *string `pulumi:"instanceState"` // LAN IP of the cvm. LanIp *string `pulumi:"lanIp"` }
type ScaleWorkerWorkerInstancesListArgs ¶
type ScaleWorkerWorkerInstancesListArgs struct { // Information of the cvm when it is failed. FailedReason pulumi.StringPtrInput `pulumi:"failedReason"` // ID of the cvm. InstanceId pulumi.StringPtrInput `pulumi:"instanceId"` // Role of the cvm. InstanceRole pulumi.StringPtrInput `pulumi:"instanceRole"` // State of the cvm. InstanceState pulumi.StringPtrInput `pulumi:"instanceState"` // LAN IP of the cvm. LanIp pulumi.StringPtrInput `pulumi:"lanIp"` }
func (ScaleWorkerWorkerInstancesListArgs) ElementType ¶
func (ScaleWorkerWorkerInstancesListArgs) ElementType() reflect.Type
func (ScaleWorkerWorkerInstancesListArgs) ToScaleWorkerWorkerInstancesListOutput ¶
func (i ScaleWorkerWorkerInstancesListArgs) ToScaleWorkerWorkerInstancesListOutput() ScaleWorkerWorkerInstancesListOutput
func (ScaleWorkerWorkerInstancesListArgs) ToScaleWorkerWorkerInstancesListOutputWithContext ¶
func (i ScaleWorkerWorkerInstancesListArgs) ToScaleWorkerWorkerInstancesListOutputWithContext(ctx context.Context) ScaleWorkerWorkerInstancesListOutput
type ScaleWorkerWorkerInstancesListArray ¶
type ScaleWorkerWorkerInstancesListArray []ScaleWorkerWorkerInstancesListInput
func (ScaleWorkerWorkerInstancesListArray) ElementType ¶
func (ScaleWorkerWorkerInstancesListArray) ElementType() reflect.Type
func (ScaleWorkerWorkerInstancesListArray) ToScaleWorkerWorkerInstancesListArrayOutput ¶
func (i ScaleWorkerWorkerInstancesListArray) ToScaleWorkerWorkerInstancesListArrayOutput() ScaleWorkerWorkerInstancesListArrayOutput
func (ScaleWorkerWorkerInstancesListArray) ToScaleWorkerWorkerInstancesListArrayOutputWithContext ¶
func (i ScaleWorkerWorkerInstancesListArray) ToScaleWorkerWorkerInstancesListArrayOutputWithContext(ctx context.Context) ScaleWorkerWorkerInstancesListArrayOutput
type ScaleWorkerWorkerInstancesListArrayInput ¶
type ScaleWorkerWorkerInstancesListArrayInput interface { pulumi.Input ToScaleWorkerWorkerInstancesListArrayOutput() ScaleWorkerWorkerInstancesListArrayOutput ToScaleWorkerWorkerInstancesListArrayOutputWithContext(context.Context) ScaleWorkerWorkerInstancesListArrayOutput }
ScaleWorkerWorkerInstancesListArrayInput is an input type that accepts ScaleWorkerWorkerInstancesListArray and ScaleWorkerWorkerInstancesListArrayOutput values. You can construct a concrete instance of `ScaleWorkerWorkerInstancesListArrayInput` via:
ScaleWorkerWorkerInstancesListArray{ ScaleWorkerWorkerInstancesListArgs{...} }
type ScaleWorkerWorkerInstancesListArrayOutput ¶
type ScaleWorkerWorkerInstancesListArrayOutput struct{ *pulumi.OutputState }
func (ScaleWorkerWorkerInstancesListArrayOutput) ElementType ¶
func (ScaleWorkerWorkerInstancesListArrayOutput) ElementType() reflect.Type
func (ScaleWorkerWorkerInstancesListArrayOutput) ToScaleWorkerWorkerInstancesListArrayOutput ¶
func (o ScaleWorkerWorkerInstancesListArrayOutput) ToScaleWorkerWorkerInstancesListArrayOutput() ScaleWorkerWorkerInstancesListArrayOutput
func (ScaleWorkerWorkerInstancesListArrayOutput) ToScaleWorkerWorkerInstancesListArrayOutputWithContext ¶
func (o ScaleWorkerWorkerInstancesListArrayOutput) ToScaleWorkerWorkerInstancesListArrayOutputWithContext(ctx context.Context) ScaleWorkerWorkerInstancesListArrayOutput
type ScaleWorkerWorkerInstancesListInput ¶
type ScaleWorkerWorkerInstancesListInput interface { pulumi.Input ToScaleWorkerWorkerInstancesListOutput() ScaleWorkerWorkerInstancesListOutput ToScaleWorkerWorkerInstancesListOutputWithContext(context.Context) ScaleWorkerWorkerInstancesListOutput }
ScaleWorkerWorkerInstancesListInput is an input type that accepts ScaleWorkerWorkerInstancesListArgs and ScaleWorkerWorkerInstancesListOutput values. You can construct a concrete instance of `ScaleWorkerWorkerInstancesListInput` via:
ScaleWorkerWorkerInstancesListArgs{...}
type ScaleWorkerWorkerInstancesListOutput ¶
type ScaleWorkerWorkerInstancesListOutput struct{ *pulumi.OutputState }
func (ScaleWorkerWorkerInstancesListOutput) ElementType ¶
func (ScaleWorkerWorkerInstancesListOutput) ElementType() reflect.Type
func (ScaleWorkerWorkerInstancesListOutput) FailedReason ¶
func (o ScaleWorkerWorkerInstancesListOutput) FailedReason() pulumi.StringPtrOutput
Information of the cvm when it is failed.
func (ScaleWorkerWorkerInstancesListOutput) InstanceId ¶
func (o ScaleWorkerWorkerInstancesListOutput) InstanceId() pulumi.StringPtrOutput
ID of the cvm.
func (ScaleWorkerWorkerInstancesListOutput) InstanceRole ¶
func (o ScaleWorkerWorkerInstancesListOutput) InstanceRole() pulumi.StringPtrOutput
Role of the cvm.
func (ScaleWorkerWorkerInstancesListOutput) InstanceState ¶
func (o ScaleWorkerWorkerInstancesListOutput) InstanceState() pulumi.StringPtrOutput
State of the cvm.
func (ScaleWorkerWorkerInstancesListOutput) LanIp ¶
func (o ScaleWorkerWorkerInstancesListOutput) LanIp() pulumi.StringPtrOutput
LAN IP of the cvm.
func (ScaleWorkerWorkerInstancesListOutput) ToScaleWorkerWorkerInstancesListOutput ¶
func (o ScaleWorkerWorkerInstancesListOutput) ToScaleWorkerWorkerInstancesListOutput() ScaleWorkerWorkerInstancesListOutput
func (ScaleWorkerWorkerInstancesListOutput) ToScaleWorkerWorkerInstancesListOutputWithContext ¶
func (o ScaleWorkerWorkerInstancesListOutput) ToScaleWorkerWorkerInstancesListOutputWithContext(ctx context.Context) ScaleWorkerWorkerInstancesListOutput
type ServerlessNodePool ¶ added in v0.1.3
type ServerlessNodePool struct { pulumi.CustomResourceState // cluster id of serverless node pool. ClusterId pulumi.StringOutput `pulumi:"clusterId"` // labels of serverless node. Labels pulumi.MapOutput `pulumi:"labels"` // life state of serverless node pool. LifeState pulumi.StringOutput `pulumi:"lifeState"` // serverless node pool name. Name pulumi.StringOutput `pulumi:"name"` // security groups of serverless node pool. SecurityGroupIds pulumi.StringArrayOutput `pulumi:"securityGroupIds"` // node list of serverless node pool. ServerlessNodes ServerlessNodePoolServerlessNodeArrayOutput `pulumi:"serverlessNodes"` // taints of serverless node. Taints ServerlessNodePoolTaintArrayOutput `pulumi:"taints"` }
Provide a resource to create serverless node pool of cluster.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Kubernetes"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Kubernetes.NewServerlessNodePool(ctx, "exampleServerlessNodePool", &Kubernetes.ServerlessNodePoolArgs{ ClusterId: pulumi.Any(tencentcloud_kubernetes_cluster.Example.Id), ServerlessNodes: kubernetes.ServerlessNodePoolServerlessNodeArray{ &kubernetes.ServerlessNodePoolServerlessNodeArgs{ DisplayName: pulumi.String("serverless_node1"), SubnetId: pulumi.String("subnet-xxx"), }, &kubernetes.ServerlessNodePoolServerlessNodeArgs{ DisplayName: pulumi.String("serverless_node2"), SubnetId: pulumi.String("subnet-xxx"), }, }, SecurityGroupIds: pulumi.StringArray{ pulumi.String("sg-xxx"), }, Labels: pulumi.AnyMap{ "example1": pulumi.Any("test1"), "example2": pulumi.Any("test2"), }, }) if err != nil { return err } return nil }) }
```
## Import
serverless node pool can be imported, e.g.
```sh
$ pulumi import tencentcloud:Kubernetes/serverlessNodePool:ServerlessNodePool test cls-xxx#np-xxx
```
func GetServerlessNodePool ¶ added in v0.1.3
func GetServerlessNodePool(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServerlessNodePoolState, opts ...pulumi.ResourceOption) (*ServerlessNodePool, error)
GetServerlessNodePool gets an existing ServerlessNodePool resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewServerlessNodePool ¶ added in v0.1.3
func NewServerlessNodePool(ctx *pulumi.Context, name string, args *ServerlessNodePoolArgs, opts ...pulumi.ResourceOption) (*ServerlessNodePool, error)
NewServerlessNodePool registers a new resource with the given unique name, arguments, and options.
func (*ServerlessNodePool) ElementType ¶ added in v0.1.3
func (*ServerlessNodePool) ElementType() reflect.Type
func (*ServerlessNodePool) ToServerlessNodePoolOutput ¶ added in v0.1.3
func (i *ServerlessNodePool) ToServerlessNodePoolOutput() ServerlessNodePoolOutput
func (*ServerlessNodePool) ToServerlessNodePoolOutputWithContext ¶ added in v0.1.3
func (i *ServerlessNodePool) ToServerlessNodePoolOutputWithContext(ctx context.Context) ServerlessNodePoolOutput
type ServerlessNodePoolArgs ¶ added in v0.1.3
type ServerlessNodePoolArgs struct { // cluster id of serverless node pool. ClusterId pulumi.StringInput // labels of serverless node. Labels pulumi.MapInput // serverless node pool name. Name pulumi.StringPtrInput // security groups of serverless node pool. SecurityGroupIds pulumi.StringArrayInput // node list of serverless node pool. ServerlessNodes ServerlessNodePoolServerlessNodeArrayInput // taints of serverless node. Taints ServerlessNodePoolTaintArrayInput }
The set of arguments for constructing a ServerlessNodePool resource.
func (ServerlessNodePoolArgs) ElementType ¶ added in v0.1.3
func (ServerlessNodePoolArgs) ElementType() reflect.Type
type ServerlessNodePoolArray ¶ added in v0.1.3
type ServerlessNodePoolArray []ServerlessNodePoolInput
func (ServerlessNodePoolArray) ElementType ¶ added in v0.1.3
func (ServerlessNodePoolArray) ElementType() reflect.Type
func (ServerlessNodePoolArray) ToServerlessNodePoolArrayOutput ¶ added in v0.1.3
func (i ServerlessNodePoolArray) ToServerlessNodePoolArrayOutput() ServerlessNodePoolArrayOutput
func (ServerlessNodePoolArray) ToServerlessNodePoolArrayOutputWithContext ¶ added in v0.1.3
func (i ServerlessNodePoolArray) ToServerlessNodePoolArrayOutputWithContext(ctx context.Context) ServerlessNodePoolArrayOutput
type ServerlessNodePoolArrayInput ¶ added in v0.1.3
type ServerlessNodePoolArrayInput interface { pulumi.Input ToServerlessNodePoolArrayOutput() ServerlessNodePoolArrayOutput ToServerlessNodePoolArrayOutputWithContext(context.Context) ServerlessNodePoolArrayOutput }
ServerlessNodePoolArrayInput is an input type that accepts ServerlessNodePoolArray and ServerlessNodePoolArrayOutput values. You can construct a concrete instance of `ServerlessNodePoolArrayInput` via:
ServerlessNodePoolArray{ ServerlessNodePoolArgs{...} }
type ServerlessNodePoolArrayOutput ¶ added in v0.1.3
type ServerlessNodePoolArrayOutput struct{ *pulumi.OutputState }
func (ServerlessNodePoolArrayOutput) ElementType ¶ added in v0.1.3
func (ServerlessNodePoolArrayOutput) ElementType() reflect.Type
func (ServerlessNodePoolArrayOutput) Index ¶ added in v0.1.3
func (o ServerlessNodePoolArrayOutput) Index(i pulumi.IntInput) ServerlessNodePoolOutput
func (ServerlessNodePoolArrayOutput) ToServerlessNodePoolArrayOutput ¶ added in v0.1.3
func (o ServerlessNodePoolArrayOutput) ToServerlessNodePoolArrayOutput() ServerlessNodePoolArrayOutput
func (ServerlessNodePoolArrayOutput) ToServerlessNodePoolArrayOutputWithContext ¶ added in v0.1.3
func (o ServerlessNodePoolArrayOutput) ToServerlessNodePoolArrayOutputWithContext(ctx context.Context) ServerlessNodePoolArrayOutput
type ServerlessNodePoolInput ¶ added in v0.1.3
type ServerlessNodePoolInput interface { pulumi.Input ToServerlessNodePoolOutput() ServerlessNodePoolOutput ToServerlessNodePoolOutputWithContext(ctx context.Context) ServerlessNodePoolOutput }
type ServerlessNodePoolMap ¶ added in v0.1.3
type ServerlessNodePoolMap map[string]ServerlessNodePoolInput
func (ServerlessNodePoolMap) ElementType ¶ added in v0.1.3
func (ServerlessNodePoolMap) ElementType() reflect.Type
func (ServerlessNodePoolMap) ToServerlessNodePoolMapOutput ¶ added in v0.1.3
func (i ServerlessNodePoolMap) ToServerlessNodePoolMapOutput() ServerlessNodePoolMapOutput
func (ServerlessNodePoolMap) ToServerlessNodePoolMapOutputWithContext ¶ added in v0.1.3
func (i ServerlessNodePoolMap) ToServerlessNodePoolMapOutputWithContext(ctx context.Context) ServerlessNodePoolMapOutput
type ServerlessNodePoolMapInput ¶ added in v0.1.3
type ServerlessNodePoolMapInput interface { pulumi.Input ToServerlessNodePoolMapOutput() ServerlessNodePoolMapOutput ToServerlessNodePoolMapOutputWithContext(context.Context) ServerlessNodePoolMapOutput }
ServerlessNodePoolMapInput is an input type that accepts ServerlessNodePoolMap and ServerlessNodePoolMapOutput values. You can construct a concrete instance of `ServerlessNodePoolMapInput` via:
ServerlessNodePoolMap{ "key": ServerlessNodePoolArgs{...} }
type ServerlessNodePoolMapOutput ¶ added in v0.1.3
type ServerlessNodePoolMapOutput struct{ *pulumi.OutputState }
func (ServerlessNodePoolMapOutput) ElementType ¶ added in v0.1.3
func (ServerlessNodePoolMapOutput) ElementType() reflect.Type
func (ServerlessNodePoolMapOutput) MapIndex ¶ added in v0.1.3
func (o ServerlessNodePoolMapOutput) MapIndex(k pulumi.StringInput) ServerlessNodePoolOutput
func (ServerlessNodePoolMapOutput) ToServerlessNodePoolMapOutput ¶ added in v0.1.3
func (o ServerlessNodePoolMapOutput) ToServerlessNodePoolMapOutput() ServerlessNodePoolMapOutput
func (ServerlessNodePoolMapOutput) ToServerlessNodePoolMapOutputWithContext ¶ added in v0.1.3
func (o ServerlessNodePoolMapOutput) ToServerlessNodePoolMapOutputWithContext(ctx context.Context) ServerlessNodePoolMapOutput
type ServerlessNodePoolOutput ¶ added in v0.1.3
type ServerlessNodePoolOutput struct{ *pulumi.OutputState }
func (ServerlessNodePoolOutput) ClusterId ¶ added in v0.1.3
func (o ServerlessNodePoolOutput) ClusterId() pulumi.StringOutput
cluster id of serverless node pool.
func (ServerlessNodePoolOutput) ElementType ¶ added in v0.1.3
func (ServerlessNodePoolOutput) ElementType() reflect.Type
func (ServerlessNodePoolOutput) Labels ¶ added in v0.1.3
func (o ServerlessNodePoolOutput) Labels() pulumi.MapOutput
labels of serverless node.
func (ServerlessNodePoolOutput) LifeState ¶ added in v0.1.3
func (o ServerlessNodePoolOutput) LifeState() pulumi.StringOutput
life state of serverless node pool.
func (ServerlessNodePoolOutput) Name ¶ added in v0.1.3
func (o ServerlessNodePoolOutput) Name() pulumi.StringOutput
serverless node pool name.
func (ServerlessNodePoolOutput) SecurityGroupIds ¶ added in v0.1.3
func (o ServerlessNodePoolOutput) SecurityGroupIds() pulumi.StringArrayOutput
security groups of serverless node pool.
func (ServerlessNodePoolOutput) ServerlessNodes ¶ added in v0.1.3
func (o ServerlessNodePoolOutput) ServerlessNodes() ServerlessNodePoolServerlessNodeArrayOutput
node list of serverless node pool.
func (ServerlessNodePoolOutput) Taints ¶ added in v0.1.3
func (o ServerlessNodePoolOutput) Taints() ServerlessNodePoolTaintArrayOutput
taints of serverless node.
func (ServerlessNodePoolOutput) ToServerlessNodePoolOutput ¶ added in v0.1.3
func (o ServerlessNodePoolOutput) ToServerlessNodePoolOutput() ServerlessNodePoolOutput
func (ServerlessNodePoolOutput) ToServerlessNodePoolOutputWithContext ¶ added in v0.1.3
func (o ServerlessNodePoolOutput) ToServerlessNodePoolOutputWithContext(ctx context.Context) ServerlessNodePoolOutput
type ServerlessNodePoolServerlessNode ¶ added in v0.1.3
type ServerlessNodePoolServerlessNodeArgs ¶ added in v0.1.3
type ServerlessNodePoolServerlessNodeArgs struct { // display name of serverless node. DisplayName pulumi.StringPtrInput `pulumi:"displayName"` // subnet id of serverless node. SubnetId pulumi.StringInput `pulumi:"subnetId"` }
func (ServerlessNodePoolServerlessNodeArgs) ElementType ¶ added in v0.1.3
func (ServerlessNodePoolServerlessNodeArgs) ElementType() reflect.Type
func (ServerlessNodePoolServerlessNodeArgs) ToServerlessNodePoolServerlessNodeOutput ¶ added in v0.1.3
func (i ServerlessNodePoolServerlessNodeArgs) ToServerlessNodePoolServerlessNodeOutput() ServerlessNodePoolServerlessNodeOutput
func (ServerlessNodePoolServerlessNodeArgs) ToServerlessNodePoolServerlessNodeOutputWithContext ¶ added in v0.1.3
func (i ServerlessNodePoolServerlessNodeArgs) ToServerlessNodePoolServerlessNodeOutputWithContext(ctx context.Context) ServerlessNodePoolServerlessNodeOutput
type ServerlessNodePoolServerlessNodeArray ¶ added in v0.1.3
type ServerlessNodePoolServerlessNodeArray []ServerlessNodePoolServerlessNodeInput
func (ServerlessNodePoolServerlessNodeArray) ElementType ¶ added in v0.1.3
func (ServerlessNodePoolServerlessNodeArray) ElementType() reflect.Type
func (ServerlessNodePoolServerlessNodeArray) ToServerlessNodePoolServerlessNodeArrayOutput ¶ added in v0.1.3
func (i ServerlessNodePoolServerlessNodeArray) ToServerlessNodePoolServerlessNodeArrayOutput() ServerlessNodePoolServerlessNodeArrayOutput
func (ServerlessNodePoolServerlessNodeArray) ToServerlessNodePoolServerlessNodeArrayOutputWithContext ¶ added in v0.1.3
func (i ServerlessNodePoolServerlessNodeArray) ToServerlessNodePoolServerlessNodeArrayOutputWithContext(ctx context.Context) ServerlessNodePoolServerlessNodeArrayOutput
type ServerlessNodePoolServerlessNodeArrayInput ¶ added in v0.1.3
type ServerlessNodePoolServerlessNodeArrayInput interface { pulumi.Input ToServerlessNodePoolServerlessNodeArrayOutput() ServerlessNodePoolServerlessNodeArrayOutput ToServerlessNodePoolServerlessNodeArrayOutputWithContext(context.Context) ServerlessNodePoolServerlessNodeArrayOutput }
ServerlessNodePoolServerlessNodeArrayInput is an input type that accepts ServerlessNodePoolServerlessNodeArray and ServerlessNodePoolServerlessNodeArrayOutput values. You can construct a concrete instance of `ServerlessNodePoolServerlessNodeArrayInput` via:
ServerlessNodePoolServerlessNodeArray{ ServerlessNodePoolServerlessNodeArgs{...} }
type ServerlessNodePoolServerlessNodeArrayOutput ¶ added in v0.1.3
type ServerlessNodePoolServerlessNodeArrayOutput struct{ *pulumi.OutputState }
func (ServerlessNodePoolServerlessNodeArrayOutput) ElementType ¶ added in v0.1.3
func (ServerlessNodePoolServerlessNodeArrayOutput) ElementType() reflect.Type
func (ServerlessNodePoolServerlessNodeArrayOutput) ToServerlessNodePoolServerlessNodeArrayOutput ¶ added in v0.1.3
func (o ServerlessNodePoolServerlessNodeArrayOutput) ToServerlessNodePoolServerlessNodeArrayOutput() ServerlessNodePoolServerlessNodeArrayOutput
func (ServerlessNodePoolServerlessNodeArrayOutput) ToServerlessNodePoolServerlessNodeArrayOutputWithContext ¶ added in v0.1.3
func (o ServerlessNodePoolServerlessNodeArrayOutput) ToServerlessNodePoolServerlessNodeArrayOutputWithContext(ctx context.Context) ServerlessNodePoolServerlessNodeArrayOutput
type ServerlessNodePoolServerlessNodeInput ¶ added in v0.1.3
type ServerlessNodePoolServerlessNodeInput interface { pulumi.Input ToServerlessNodePoolServerlessNodeOutput() ServerlessNodePoolServerlessNodeOutput ToServerlessNodePoolServerlessNodeOutputWithContext(context.Context) ServerlessNodePoolServerlessNodeOutput }
ServerlessNodePoolServerlessNodeInput is an input type that accepts ServerlessNodePoolServerlessNodeArgs and ServerlessNodePoolServerlessNodeOutput values. You can construct a concrete instance of `ServerlessNodePoolServerlessNodeInput` via:
ServerlessNodePoolServerlessNodeArgs{...}
type ServerlessNodePoolServerlessNodeOutput ¶ added in v0.1.3
type ServerlessNodePoolServerlessNodeOutput struct{ *pulumi.OutputState }
func (ServerlessNodePoolServerlessNodeOutput) DisplayName ¶ added in v0.1.3
func (o ServerlessNodePoolServerlessNodeOutput) DisplayName() pulumi.StringPtrOutput
display name of serverless node.
func (ServerlessNodePoolServerlessNodeOutput) ElementType ¶ added in v0.1.3
func (ServerlessNodePoolServerlessNodeOutput) ElementType() reflect.Type
func (ServerlessNodePoolServerlessNodeOutput) SubnetId ¶ added in v0.1.3
func (o ServerlessNodePoolServerlessNodeOutput) SubnetId() pulumi.StringOutput
subnet id of serverless node.
func (ServerlessNodePoolServerlessNodeOutput) ToServerlessNodePoolServerlessNodeOutput ¶ added in v0.1.3
func (o ServerlessNodePoolServerlessNodeOutput) ToServerlessNodePoolServerlessNodeOutput() ServerlessNodePoolServerlessNodeOutput
func (ServerlessNodePoolServerlessNodeOutput) ToServerlessNodePoolServerlessNodeOutputWithContext ¶ added in v0.1.3
func (o ServerlessNodePoolServerlessNodeOutput) ToServerlessNodePoolServerlessNodeOutputWithContext(ctx context.Context) ServerlessNodePoolServerlessNodeOutput
type ServerlessNodePoolState ¶ added in v0.1.3
type ServerlessNodePoolState struct { // cluster id of serverless node pool. ClusterId pulumi.StringPtrInput // labels of serverless node. Labels pulumi.MapInput // life state of serverless node pool. LifeState pulumi.StringPtrInput // serverless node pool name. Name pulumi.StringPtrInput // security groups of serverless node pool. SecurityGroupIds pulumi.StringArrayInput // node list of serverless node pool. ServerlessNodes ServerlessNodePoolServerlessNodeArrayInput // taints of serverless node. Taints ServerlessNodePoolTaintArrayInput }
func (ServerlessNodePoolState) ElementType ¶ added in v0.1.3
func (ServerlessNodePoolState) ElementType() reflect.Type
type ServerlessNodePoolTaint ¶ added in v0.1.3
type ServerlessNodePoolTaint struct { // Effect of the taint. Valid values are: `NoSchedule`, `PreferNoSchedule`, `NoExecute`. Effect string `pulumi:"effect"` // Key of the taint. The taint key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/'). Key string `pulumi:"key"` // Value of the taint. Value string `pulumi:"value"` }
type ServerlessNodePoolTaintArgs ¶ added in v0.1.3
type ServerlessNodePoolTaintArgs struct { // Effect of the taint. Valid values are: `NoSchedule`, `PreferNoSchedule`, `NoExecute`. Effect pulumi.StringInput `pulumi:"effect"` // Key of the taint. The taint key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/'). Key pulumi.StringInput `pulumi:"key"` // Value of the taint. Value pulumi.StringInput `pulumi:"value"` }
func (ServerlessNodePoolTaintArgs) ElementType ¶ added in v0.1.3
func (ServerlessNodePoolTaintArgs) ElementType() reflect.Type
func (ServerlessNodePoolTaintArgs) ToServerlessNodePoolTaintOutput ¶ added in v0.1.3
func (i ServerlessNodePoolTaintArgs) ToServerlessNodePoolTaintOutput() ServerlessNodePoolTaintOutput
func (ServerlessNodePoolTaintArgs) ToServerlessNodePoolTaintOutputWithContext ¶ added in v0.1.3
func (i ServerlessNodePoolTaintArgs) ToServerlessNodePoolTaintOutputWithContext(ctx context.Context) ServerlessNodePoolTaintOutput
type ServerlessNodePoolTaintArray ¶ added in v0.1.3
type ServerlessNodePoolTaintArray []ServerlessNodePoolTaintInput
func (ServerlessNodePoolTaintArray) ElementType ¶ added in v0.1.3
func (ServerlessNodePoolTaintArray) ElementType() reflect.Type
func (ServerlessNodePoolTaintArray) ToServerlessNodePoolTaintArrayOutput ¶ added in v0.1.3
func (i ServerlessNodePoolTaintArray) ToServerlessNodePoolTaintArrayOutput() ServerlessNodePoolTaintArrayOutput
func (ServerlessNodePoolTaintArray) ToServerlessNodePoolTaintArrayOutputWithContext ¶ added in v0.1.3
func (i ServerlessNodePoolTaintArray) ToServerlessNodePoolTaintArrayOutputWithContext(ctx context.Context) ServerlessNodePoolTaintArrayOutput
type ServerlessNodePoolTaintArrayInput ¶ added in v0.1.3
type ServerlessNodePoolTaintArrayInput interface { pulumi.Input ToServerlessNodePoolTaintArrayOutput() ServerlessNodePoolTaintArrayOutput ToServerlessNodePoolTaintArrayOutputWithContext(context.Context) ServerlessNodePoolTaintArrayOutput }
ServerlessNodePoolTaintArrayInput is an input type that accepts ServerlessNodePoolTaintArray and ServerlessNodePoolTaintArrayOutput values. You can construct a concrete instance of `ServerlessNodePoolTaintArrayInput` via:
ServerlessNodePoolTaintArray{ ServerlessNodePoolTaintArgs{...} }
type ServerlessNodePoolTaintArrayOutput ¶ added in v0.1.3
type ServerlessNodePoolTaintArrayOutput struct{ *pulumi.OutputState }
func (ServerlessNodePoolTaintArrayOutput) ElementType ¶ added in v0.1.3
func (ServerlessNodePoolTaintArrayOutput) ElementType() reflect.Type
func (ServerlessNodePoolTaintArrayOutput) Index ¶ added in v0.1.3
func (o ServerlessNodePoolTaintArrayOutput) Index(i pulumi.IntInput) ServerlessNodePoolTaintOutput
func (ServerlessNodePoolTaintArrayOutput) ToServerlessNodePoolTaintArrayOutput ¶ added in v0.1.3
func (o ServerlessNodePoolTaintArrayOutput) ToServerlessNodePoolTaintArrayOutput() ServerlessNodePoolTaintArrayOutput
func (ServerlessNodePoolTaintArrayOutput) ToServerlessNodePoolTaintArrayOutputWithContext ¶ added in v0.1.3
func (o ServerlessNodePoolTaintArrayOutput) ToServerlessNodePoolTaintArrayOutputWithContext(ctx context.Context) ServerlessNodePoolTaintArrayOutput
type ServerlessNodePoolTaintInput ¶ added in v0.1.3
type ServerlessNodePoolTaintInput interface { pulumi.Input ToServerlessNodePoolTaintOutput() ServerlessNodePoolTaintOutput ToServerlessNodePoolTaintOutputWithContext(context.Context) ServerlessNodePoolTaintOutput }
ServerlessNodePoolTaintInput is an input type that accepts ServerlessNodePoolTaintArgs and ServerlessNodePoolTaintOutput values. You can construct a concrete instance of `ServerlessNodePoolTaintInput` via:
ServerlessNodePoolTaintArgs{...}
type ServerlessNodePoolTaintOutput ¶ added in v0.1.3
type ServerlessNodePoolTaintOutput struct{ *pulumi.OutputState }
func (ServerlessNodePoolTaintOutput) Effect ¶ added in v0.1.3
func (o ServerlessNodePoolTaintOutput) Effect() pulumi.StringOutput
Effect of the taint. Valid values are: `NoSchedule`, `PreferNoSchedule`, `NoExecute`.
func (ServerlessNodePoolTaintOutput) ElementType ¶ added in v0.1.3
func (ServerlessNodePoolTaintOutput) ElementType() reflect.Type
func (ServerlessNodePoolTaintOutput) Key ¶ added in v0.1.3
func (o ServerlessNodePoolTaintOutput) Key() pulumi.StringOutput
Key of the taint. The taint key name does not exceed 63 characters, only supports English, numbers,'/','-', and does not allow beginning with ('/').
func (ServerlessNodePoolTaintOutput) ToServerlessNodePoolTaintOutput ¶ added in v0.1.3
func (o ServerlessNodePoolTaintOutput) ToServerlessNodePoolTaintOutput() ServerlessNodePoolTaintOutput
func (ServerlessNodePoolTaintOutput) ToServerlessNodePoolTaintOutputWithContext ¶ added in v0.1.3
func (o ServerlessNodePoolTaintOutput) ToServerlessNodePoolTaintOutputWithContext(ctx context.Context) ServerlessNodePoolTaintOutput
func (ServerlessNodePoolTaintOutput) Value ¶ added in v0.1.3
func (o ServerlessNodePoolTaintOutput) Value() pulumi.StringOutput
Value of the taint.
Source Files
¶
- addonAttachment.go
- asScalingGroup.go
- authAttachment.go
- backupStorageLocation.go
- cluster.go
- clusterAttachment.go
- clusterEndpoint.go
- getAvailableClusterVersions.go
- getCharts.go
- getClusterCommonNames.go
- getClusterLevels.go
- getClusters.go
- init.go
- nodePool.go
- pulumiTypes.go
- pulumiUtilities.go
- scaleWorker.go
- serverlessNodePool.go