Documentation
¶
Index ¶
- type Application
- type ApplicationArgs
- type ApplicationService
- type ApplicationServiceArgs
- type ApplicationServiceArray
- type ApplicationServiceArrayInput
- type ApplicationServiceArrayOutput
- func (ApplicationServiceArrayOutput) ElementType() reflect.Type
- func (o ApplicationServiceArrayOutput) Index(i pulumi.IntInput) ApplicationServiceOutput
- func (o ApplicationServiceArrayOutput) ToApplicationServiceArrayOutput() ApplicationServiceArrayOutput
- func (o ApplicationServiceArrayOutput) ToApplicationServiceArrayOutputWithContext(ctx context.Context) ApplicationServiceArrayOutput
- type ApplicationServiceInput
- type ApplicationServiceOutput
- func (ApplicationServiceOutput) ElementType() reflect.Type
- func (o ApplicationServiceOutput) Id() pulumi.StringPtrOutput
- func (o ApplicationServiceOutput) Name() pulumi.StringPtrOutput
- func (o ApplicationServiceOutput) Status() pulumi.StringPtrOutput
- func (o ApplicationServiceOutput) ToApplicationServiceOutput() ApplicationServiceOutput
- func (o ApplicationServiceOutput) ToApplicationServiceOutputWithContext(ctx context.Context) ApplicationServiceOutput
- func (o ApplicationServiceOutput) Version() pulumi.StringPtrOutput
- type ApplicationState
- type Cluster
- type ClusterArgs
- type ClusterNode
- type ClusterNodeArgs
- type ClusterNodeArray
- type ClusterNodeArrayInput
- type ClusterNodeArrayOutput
- func (ClusterNodeArrayOutput) ElementType() reflect.Type
- func (o ClusterNodeArrayOutput) Index(i pulumi.IntInput) ClusterNodeOutput
- func (o ClusterNodeArrayOutput) ToClusterNodeArrayOutput() ClusterNodeArrayOutput
- func (o ClusterNodeArrayOutput) ToClusterNodeArrayOutputWithContext(ctx context.Context) ClusterNodeArrayOutput
- type ClusterNodeInput
- type ClusterNodeOutput
- func (o ClusterNodeOutput) Eip() pulumi.StringPtrOutput
- func (ClusterNodeOutput) ElementType() reflect.Type
- func (o ClusterNodeOutput) Id() pulumi.StringPtrOutput
- func (o ClusterNodeOutput) Name() pulumi.StringPtrOutput
- func (o ClusterNodeOutput) PrivateIp() pulumi.StringPtrOutput
- func (o ClusterNodeOutput) Status() pulumi.StringPtrOutput
- func (o ClusterNodeOutput) ToClusterNodeOutput() ClusterNodeOutput
- func (o ClusterNodeOutput) ToClusterNodeOutputWithContext(ctx context.Context) ClusterNodeOutput
- type ClusterState
- type GetKubernetesClustersArgs
- type GetKubernetesClustersCluster
- type GetKubernetesClustersClusterArgs
- func (GetKubernetesClustersClusterArgs) ElementType() reflect.Type
- func (i GetKubernetesClustersClusterArgs) ToGetKubernetesClustersClusterOutput() GetKubernetesClustersClusterOutput
- func (i GetKubernetesClustersClusterArgs) ToGetKubernetesClustersClusterOutputWithContext(ctx context.Context) GetKubernetesClustersClusterOutput
- type GetKubernetesClustersClusterArray
- func (GetKubernetesClustersClusterArray) ElementType() reflect.Type
- func (i GetKubernetesClustersClusterArray) ToGetKubernetesClustersClusterArrayOutput() GetKubernetesClustersClusterArrayOutput
- func (i GetKubernetesClustersClusterArray) ToGetKubernetesClustersClusterArrayOutputWithContext(ctx context.Context) GetKubernetesClustersClusterArrayOutput
- type GetKubernetesClustersClusterArrayInput
- type GetKubernetesClustersClusterArrayOutput
- func (GetKubernetesClustersClusterArrayOutput) ElementType() reflect.Type
- func (o GetKubernetesClustersClusterArrayOutput) Index(i pulumi.IntInput) GetKubernetesClustersClusterOutput
- func (o GetKubernetesClustersClusterArrayOutput) ToGetKubernetesClustersClusterArrayOutput() GetKubernetesClustersClusterArrayOutput
- func (o GetKubernetesClustersClusterArrayOutput) ToGetKubernetesClustersClusterArrayOutputWithContext(ctx context.Context) GetKubernetesClustersClusterArrayOutput
- type GetKubernetesClustersClusterConnections
- type GetKubernetesClustersClusterConnectionsArgs
- func (GetKubernetesClustersClusterConnectionsArgs) ElementType() reflect.Type
- func (i GetKubernetesClustersClusterConnectionsArgs) ToGetKubernetesClustersClusterConnectionsOutput() GetKubernetesClustersClusterConnectionsOutput
- func (i GetKubernetesClustersClusterConnectionsArgs) ToGetKubernetesClustersClusterConnectionsOutputWithContext(ctx context.Context) GetKubernetesClustersClusterConnectionsOutput
- type GetKubernetesClustersClusterConnectionsInput
- type GetKubernetesClustersClusterConnectionsOutput
- func (o GetKubernetesClustersClusterConnectionsOutput) ApiServerInternet() pulumi.StringOutput
- func (o GetKubernetesClustersClusterConnectionsOutput) ApiServerIntranet() pulumi.StringOutput
- func (GetKubernetesClustersClusterConnectionsOutput) ElementType() reflect.Type
- func (o GetKubernetesClustersClusterConnectionsOutput) MasterPublicIp() pulumi.StringOutput
- func (o GetKubernetesClustersClusterConnectionsOutput) ServiceDomain() pulumi.StringOutput
- func (o GetKubernetesClustersClusterConnectionsOutput) ToGetKubernetesClustersClusterConnectionsOutput() GetKubernetesClustersClusterConnectionsOutput
- func (o GetKubernetesClustersClusterConnectionsOutput) ToGetKubernetesClustersClusterConnectionsOutputWithContext(ctx context.Context) GetKubernetesClustersClusterConnectionsOutput
- type GetKubernetesClustersClusterInput
- type GetKubernetesClustersClusterLogConfig
- type GetKubernetesClustersClusterLogConfigArgs
- func (GetKubernetesClustersClusterLogConfigArgs) ElementType() reflect.Type
- func (i GetKubernetesClustersClusterLogConfigArgs) ToGetKubernetesClustersClusterLogConfigOutput() GetKubernetesClustersClusterLogConfigOutput
- func (i GetKubernetesClustersClusterLogConfigArgs) ToGetKubernetesClustersClusterLogConfigOutputWithContext(ctx context.Context) GetKubernetesClustersClusterLogConfigOutput
- type GetKubernetesClustersClusterLogConfigArray
- func (GetKubernetesClustersClusterLogConfigArray) ElementType() reflect.Type
- func (i GetKubernetesClustersClusterLogConfigArray) ToGetKubernetesClustersClusterLogConfigArrayOutput() GetKubernetesClustersClusterLogConfigArrayOutput
- func (i GetKubernetesClustersClusterLogConfigArray) ToGetKubernetesClustersClusterLogConfigArrayOutputWithContext(ctx context.Context) GetKubernetesClustersClusterLogConfigArrayOutput
- type GetKubernetesClustersClusterLogConfigArrayInput
- type GetKubernetesClustersClusterLogConfigArrayOutput
- func (GetKubernetesClustersClusterLogConfigArrayOutput) ElementType() reflect.Type
- func (o GetKubernetesClustersClusterLogConfigArrayOutput) Index(i pulumi.IntInput) GetKubernetesClustersClusterLogConfigOutput
- func (o GetKubernetesClustersClusterLogConfigArrayOutput) ToGetKubernetesClustersClusterLogConfigArrayOutput() GetKubernetesClustersClusterLogConfigArrayOutput
- func (o GetKubernetesClustersClusterLogConfigArrayOutput) ToGetKubernetesClustersClusterLogConfigArrayOutputWithContext(ctx context.Context) GetKubernetesClustersClusterLogConfigArrayOutput
- type GetKubernetesClustersClusterLogConfigInput
- type GetKubernetesClustersClusterLogConfigOutput
- func (GetKubernetesClustersClusterLogConfigOutput) ElementType() reflect.Type
- func (o GetKubernetesClustersClusterLogConfigOutput) Project() pulumi.StringOutput
- func (o GetKubernetesClustersClusterLogConfigOutput) ToGetKubernetesClustersClusterLogConfigOutput() GetKubernetesClustersClusterLogConfigOutput
- func (o GetKubernetesClustersClusterLogConfigOutput) ToGetKubernetesClustersClusterLogConfigOutputWithContext(ctx context.Context) GetKubernetesClustersClusterLogConfigOutput
- func (o GetKubernetesClustersClusterLogConfigOutput) Type() pulumi.StringOutput
- type GetKubernetesClustersClusterMasterNode
- type GetKubernetesClustersClusterMasterNodeArgs
- func (GetKubernetesClustersClusterMasterNodeArgs) ElementType() reflect.Type
- func (i GetKubernetesClustersClusterMasterNodeArgs) ToGetKubernetesClustersClusterMasterNodeOutput() GetKubernetesClustersClusterMasterNodeOutput
- func (i GetKubernetesClustersClusterMasterNodeArgs) ToGetKubernetesClustersClusterMasterNodeOutputWithContext(ctx context.Context) GetKubernetesClustersClusterMasterNodeOutput
- type GetKubernetesClustersClusterMasterNodeArray
- func (GetKubernetesClustersClusterMasterNodeArray) ElementType() reflect.Type
- func (i GetKubernetesClustersClusterMasterNodeArray) ToGetKubernetesClustersClusterMasterNodeArrayOutput() GetKubernetesClustersClusterMasterNodeArrayOutput
- func (i GetKubernetesClustersClusterMasterNodeArray) ToGetKubernetesClustersClusterMasterNodeArrayOutputWithContext(ctx context.Context) GetKubernetesClustersClusterMasterNodeArrayOutput
- type GetKubernetesClustersClusterMasterNodeArrayInput
- type GetKubernetesClustersClusterMasterNodeArrayOutput
- func (GetKubernetesClustersClusterMasterNodeArrayOutput) ElementType() reflect.Type
- func (o GetKubernetesClustersClusterMasterNodeArrayOutput) Index(i pulumi.IntInput) GetKubernetesClustersClusterMasterNodeOutput
- func (o GetKubernetesClustersClusterMasterNodeArrayOutput) ToGetKubernetesClustersClusterMasterNodeArrayOutput() GetKubernetesClustersClusterMasterNodeArrayOutput
- func (o GetKubernetesClustersClusterMasterNodeArrayOutput) ToGetKubernetesClustersClusterMasterNodeArrayOutputWithContext(ctx context.Context) GetKubernetesClustersClusterMasterNodeArrayOutput
- type GetKubernetesClustersClusterMasterNodeInput
- type GetKubernetesClustersClusterMasterNodeOutput
- func (GetKubernetesClustersClusterMasterNodeOutput) ElementType() reflect.Type
- func (o GetKubernetesClustersClusterMasterNodeOutput) Id() pulumi.StringOutput
- func (o GetKubernetesClustersClusterMasterNodeOutput) Name() pulumi.StringOutput
- func (o GetKubernetesClustersClusterMasterNodeOutput) PrivateIp() pulumi.StringOutput
- func (o GetKubernetesClustersClusterMasterNodeOutput) ToGetKubernetesClustersClusterMasterNodeOutput() GetKubernetesClustersClusterMasterNodeOutput
- func (o GetKubernetesClustersClusterMasterNodeOutput) ToGetKubernetesClustersClusterMasterNodeOutputWithContext(ctx context.Context) GetKubernetesClustersClusterMasterNodeOutput
- type GetKubernetesClustersClusterOutput
- func (o GetKubernetesClustersClusterOutput) AvailabilityZone() pulumi.StringOutput
- func (o GetKubernetesClustersClusterOutput) ClusterNetworkType() pulumi.StringOutput
- func (o GetKubernetesClustersClusterOutput) Connections() GetKubernetesClustersClusterConnectionsOutput
- func (GetKubernetesClustersClusterOutput) ElementType() reflect.Type
- func (o GetKubernetesClustersClusterOutput) Id() pulumi.StringOutput
- func (o GetKubernetesClustersClusterOutput) ImageId() pulumi.StringOutput
- func (o GetKubernetesClustersClusterOutput) KeyName() pulumi.StringOutput
- func (o GetKubernetesClustersClusterOutput) LogConfigs() GetKubernetesClustersClusterLogConfigArrayOutput
- func (o GetKubernetesClustersClusterOutput) MasterAutoRenew() pulumi.BoolOutput
- func (o GetKubernetesClustersClusterOutput) MasterAutoRenewPeriod() pulumi.IntOutput
- func (o GetKubernetesClustersClusterOutput) MasterDiskCategory() pulumi.StringOutput
- func (o GetKubernetesClustersClusterOutput) MasterDiskSize() pulumi.IntOutput
- func (o GetKubernetesClustersClusterOutput) MasterInstanceChargeType() pulumi.StringOutput
- func (o GetKubernetesClustersClusterOutput) MasterInstanceTypes() pulumi.StringArrayOutput
- func (o GetKubernetesClustersClusterOutput) MasterNodes() GetKubernetesClustersClusterMasterNodeArrayOutput
- func (o GetKubernetesClustersClusterOutput) MasterPeriod() pulumi.IntOutput
- func (o GetKubernetesClustersClusterOutput) MasterPeriodUnit() pulumi.StringOutput
- func (o GetKubernetesClustersClusterOutput) Name() pulumi.StringOutput
- func (o GetKubernetesClustersClusterOutput) NatGatewayId() pulumi.StringOutput
- func (o GetKubernetesClustersClusterOutput) NodeCidrMask() pulumi.IntOutput
- func (o GetKubernetesClustersClusterOutput) PodCidr() pulumi.StringOutput
- func (o GetKubernetesClustersClusterOutput) SecurityGroupId() pulumi.StringOutput
- func (o GetKubernetesClustersClusterOutput) ServiceCidr() pulumi.StringOutput
- func (o GetKubernetesClustersClusterOutput) SlbInternetEnabled() pulumi.BoolOutput
- func (o GetKubernetesClustersClusterOutput) ToGetKubernetesClustersClusterOutput() GetKubernetesClustersClusterOutput
- func (o GetKubernetesClustersClusterOutput) ToGetKubernetesClustersClusterOutputWithContext(ctx context.Context) GetKubernetesClustersClusterOutput
- func (o GetKubernetesClustersClusterOutput) VpcId() pulumi.StringOutput
- func (o GetKubernetesClustersClusterOutput) VswitchIds() pulumi.StringArrayOutput
- func (o GetKubernetesClustersClusterOutput) WorkerAutoRenew() pulumi.BoolOutput
- func (o GetKubernetesClustersClusterOutput) WorkerAutoRenewPeriod() pulumi.IntOutput
- func (o GetKubernetesClustersClusterOutput) WorkerDataDiskCategory() pulumi.StringOutput
- func (o GetKubernetesClustersClusterOutput) WorkerDataDiskSize() pulumi.IntOutput
- func (o GetKubernetesClustersClusterOutput) WorkerDiskCategory() pulumi.StringOutput
- func (o GetKubernetesClustersClusterOutput) WorkerDiskSize() pulumi.IntOutput
- func (o GetKubernetesClustersClusterOutput) WorkerInstanceChargeType() pulumi.StringOutput
- func (o GetKubernetesClustersClusterOutput) WorkerInstanceTypes() pulumi.StringArrayOutput
- func (o GetKubernetesClustersClusterOutput) WorkerNodes() GetKubernetesClustersClusterWorkerNodeArrayOutput
- func (o GetKubernetesClustersClusterOutput) WorkerNumbers() pulumi.IntArrayOutput
- func (o GetKubernetesClustersClusterOutput) WorkerPeriod() pulumi.IntOutput
- func (o GetKubernetesClustersClusterOutput) WorkerPeriodUnit() pulumi.StringOutput
- type GetKubernetesClustersClusterWorkerNode
- type GetKubernetesClustersClusterWorkerNodeArgs
- func (GetKubernetesClustersClusterWorkerNodeArgs) ElementType() reflect.Type
- func (i GetKubernetesClustersClusterWorkerNodeArgs) ToGetKubernetesClustersClusterWorkerNodeOutput() GetKubernetesClustersClusterWorkerNodeOutput
- func (i GetKubernetesClustersClusterWorkerNodeArgs) ToGetKubernetesClustersClusterWorkerNodeOutputWithContext(ctx context.Context) GetKubernetesClustersClusterWorkerNodeOutput
- type GetKubernetesClustersClusterWorkerNodeArray
- func (GetKubernetesClustersClusterWorkerNodeArray) ElementType() reflect.Type
- func (i GetKubernetesClustersClusterWorkerNodeArray) ToGetKubernetesClustersClusterWorkerNodeArrayOutput() GetKubernetesClustersClusterWorkerNodeArrayOutput
- func (i GetKubernetesClustersClusterWorkerNodeArray) ToGetKubernetesClustersClusterWorkerNodeArrayOutputWithContext(ctx context.Context) GetKubernetesClustersClusterWorkerNodeArrayOutput
- type GetKubernetesClustersClusterWorkerNodeArrayInput
- type GetKubernetesClustersClusterWorkerNodeArrayOutput
- func (GetKubernetesClustersClusterWorkerNodeArrayOutput) ElementType() reflect.Type
- func (o GetKubernetesClustersClusterWorkerNodeArrayOutput) Index(i pulumi.IntInput) GetKubernetesClustersClusterWorkerNodeOutput
- func (o GetKubernetesClustersClusterWorkerNodeArrayOutput) ToGetKubernetesClustersClusterWorkerNodeArrayOutput() GetKubernetesClustersClusterWorkerNodeArrayOutput
- func (o GetKubernetesClustersClusterWorkerNodeArrayOutput) ToGetKubernetesClustersClusterWorkerNodeArrayOutputWithContext(ctx context.Context) GetKubernetesClustersClusterWorkerNodeArrayOutput
- type GetKubernetesClustersClusterWorkerNodeInput
- type GetKubernetesClustersClusterWorkerNodeOutput
- func (GetKubernetesClustersClusterWorkerNodeOutput) ElementType() reflect.Type
- func (o GetKubernetesClustersClusterWorkerNodeOutput) Id() pulumi.StringOutput
- func (o GetKubernetesClustersClusterWorkerNodeOutput) Name() pulumi.StringOutput
- func (o GetKubernetesClustersClusterWorkerNodeOutput) PrivateIp() pulumi.StringOutput
- func (o GetKubernetesClustersClusterWorkerNodeOutput) ToGetKubernetesClustersClusterWorkerNodeOutput() GetKubernetesClustersClusterWorkerNodeOutput
- func (o GetKubernetesClustersClusterWorkerNodeOutput) ToGetKubernetesClustersClusterWorkerNodeOutputWithContext(ctx context.Context) GetKubernetesClustersClusterWorkerNodeOutput
- type GetKubernetesClustersResult
- type GetManagedKubernetesClustersArgs
- type GetManagedKubernetesClustersCluster
- type GetManagedKubernetesClustersClusterArgs
- func (GetManagedKubernetesClustersClusterArgs) ElementType() reflect.Type
- func (i GetManagedKubernetesClustersClusterArgs) ToGetManagedKubernetesClustersClusterOutput() GetManagedKubernetesClustersClusterOutput
- func (i GetManagedKubernetesClustersClusterArgs) ToGetManagedKubernetesClustersClusterOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterOutput
- type GetManagedKubernetesClustersClusterArray
- func (GetManagedKubernetesClustersClusterArray) ElementType() reflect.Type
- func (i GetManagedKubernetesClustersClusterArray) ToGetManagedKubernetesClustersClusterArrayOutput() GetManagedKubernetesClustersClusterArrayOutput
- func (i GetManagedKubernetesClustersClusterArray) ToGetManagedKubernetesClustersClusterArrayOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterArrayOutput
- type GetManagedKubernetesClustersClusterArrayInput
- type GetManagedKubernetesClustersClusterArrayOutput
- func (GetManagedKubernetesClustersClusterArrayOutput) ElementType() reflect.Type
- func (o GetManagedKubernetesClustersClusterArrayOutput) Index(i pulumi.IntInput) GetManagedKubernetesClustersClusterOutput
- func (o GetManagedKubernetesClustersClusterArrayOutput) ToGetManagedKubernetesClustersClusterArrayOutput() GetManagedKubernetesClustersClusterArrayOutput
- func (o GetManagedKubernetesClustersClusterArrayOutput) ToGetManagedKubernetesClustersClusterArrayOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterArrayOutput
- type GetManagedKubernetesClustersClusterConnections
- type GetManagedKubernetesClustersClusterConnectionsArgs
- func (GetManagedKubernetesClustersClusterConnectionsArgs) ElementType() reflect.Type
- func (i GetManagedKubernetesClustersClusterConnectionsArgs) ToGetManagedKubernetesClustersClusterConnectionsOutput() GetManagedKubernetesClustersClusterConnectionsOutput
- func (i GetManagedKubernetesClustersClusterConnectionsArgs) ToGetManagedKubernetesClustersClusterConnectionsOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterConnectionsOutput
- type GetManagedKubernetesClustersClusterConnectionsInput
- type GetManagedKubernetesClustersClusterConnectionsOutput
- func (o GetManagedKubernetesClustersClusterConnectionsOutput) ApiServerInternet() pulumi.StringOutput
- func (o GetManagedKubernetesClustersClusterConnectionsOutput) ApiServerIntranet() pulumi.StringOutput
- func (GetManagedKubernetesClustersClusterConnectionsOutput) ElementType() reflect.Type
- func (o GetManagedKubernetesClustersClusterConnectionsOutput) MasterPublicIp() pulumi.StringOutput
- func (o GetManagedKubernetesClustersClusterConnectionsOutput) ServiceDomain() pulumi.StringOutput
- func (o GetManagedKubernetesClustersClusterConnectionsOutput) ToGetManagedKubernetesClustersClusterConnectionsOutput() GetManagedKubernetesClustersClusterConnectionsOutput
- func (o GetManagedKubernetesClustersClusterConnectionsOutput) ToGetManagedKubernetesClustersClusterConnectionsOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterConnectionsOutput
- type GetManagedKubernetesClustersClusterInput
- type GetManagedKubernetesClustersClusterOutput
- func (o GetManagedKubernetesClustersClusterOutput) AvailabilityZone() pulumi.StringOutput
- func (o GetManagedKubernetesClustersClusterOutput) Connections() GetManagedKubernetesClustersClusterConnectionsOutput
- func (GetManagedKubernetesClustersClusterOutput) ElementType() reflect.Type
- func (o GetManagedKubernetesClustersClusterOutput) Id() pulumi.StringOutput
- func (o GetManagedKubernetesClustersClusterOutput) Name() pulumi.StringOutput
- func (o GetManagedKubernetesClustersClusterOutput) NatGatewayId() pulumi.StringOutput
- func (o GetManagedKubernetesClustersClusterOutput) SecurityGroupId() pulumi.StringOutput
- func (o GetManagedKubernetesClustersClusterOutput) ToGetManagedKubernetesClustersClusterOutput() GetManagedKubernetesClustersClusterOutput
- func (o GetManagedKubernetesClustersClusterOutput) ToGetManagedKubernetesClustersClusterOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterOutput
- func (o GetManagedKubernetesClustersClusterOutput) VpcId() pulumi.StringOutput
- func (o GetManagedKubernetesClustersClusterOutput) WorkerNodes() GetManagedKubernetesClustersClusterWorkerNodeArrayOutput
- type GetManagedKubernetesClustersClusterWorkerNode
- type GetManagedKubernetesClustersClusterWorkerNodeArgs
- func (GetManagedKubernetesClustersClusterWorkerNodeArgs) ElementType() reflect.Type
- func (i GetManagedKubernetesClustersClusterWorkerNodeArgs) ToGetManagedKubernetesClustersClusterWorkerNodeOutput() GetManagedKubernetesClustersClusterWorkerNodeOutput
- func (i GetManagedKubernetesClustersClusterWorkerNodeArgs) ToGetManagedKubernetesClustersClusterWorkerNodeOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterWorkerNodeOutput
- type GetManagedKubernetesClustersClusterWorkerNodeArray
- func (GetManagedKubernetesClustersClusterWorkerNodeArray) ElementType() reflect.Type
- func (i GetManagedKubernetesClustersClusterWorkerNodeArray) ToGetManagedKubernetesClustersClusterWorkerNodeArrayOutput() GetManagedKubernetesClustersClusterWorkerNodeArrayOutput
- func (i GetManagedKubernetesClustersClusterWorkerNodeArray) ToGetManagedKubernetesClustersClusterWorkerNodeArrayOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterWorkerNodeArrayOutput
- type GetManagedKubernetesClustersClusterWorkerNodeArrayInput
- type GetManagedKubernetesClustersClusterWorkerNodeArrayOutput
- func (GetManagedKubernetesClustersClusterWorkerNodeArrayOutput) ElementType() reflect.Type
- func (o GetManagedKubernetesClustersClusterWorkerNodeArrayOutput) Index(i pulumi.IntInput) GetManagedKubernetesClustersClusterWorkerNodeOutput
- func (o GetManagedKubernetesClustersClusterWorkerNodeArrayOutput) ToGetManagedKubernetesClustersClusterWorkerNodeArrayOutput() GetManagedKubernetesClustersClusterWorkerNodeArrayOutput
- func (o GetManagedKubernetesClustersClusterWorkerNodeArrayOutput) ToGetManagedKubernetesClustersClusterWorkerNodeArrayOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterWorkerNodeArrayOutput
- type GetManagedKubernetesClustersClusterWorkerNodeInput
- type GetManagedKubernetesClustersClusterWorkerNodeOutput
- func (GetManagedKubernetesClustersClusterWorkerNodeOutput) ElementType() reflect.Type
- func (o GetManagedKubernetesClustersClusterWorkerNodeOutput) Id() pulumi.StringOutput
- func (o GetManagedKubernetesClustersClusterWorkerNodeOutput) Name() pulumi.StringOutput
- func (o GetManagedKubernetesClustersClusterWorkerNodeOutput) PrivateIp() pulumi.StringOutput
- func (o GetManagedKubernetesClustersClusterWorkerNodeOutput) ToGetManagedKubernetesClustersClusterWorkerNodeOutput() GetManagedKubernetesClustersClusterWorkerNodeOutput
- func (o GetManagedKubernetesClustersClusterWorkerNodeOutput) ToGetManagedKubernetesClustersClusterWorkerNodeOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterWorkerNodeOutput
- type GetManagedKubernetesClustersResult
- type GetRegistryEnterpriseInstancesArgs
- type GetRegistryEnterpriseInstancesInstance
- type GetRegistryEnterpriseInstancesInstanceArgs
- func (GetRegistryEnterpriseInstancesInstanceArgs) ElementType() reflect.Type
- func (i GetRegistryEnterpriseInstancesInstanceArgs) ToGetRegistryEnterpriseInstancesInstanceOutput() GetRegistryEnterpriseInstancesInstanceOutput
- func (i GetRegistryEnterpriseInstancesInstanceArgs) ToGetRegistryEnterpriseInstancesInstanceOutputWithContext(ctx context.Context) GetRegistryEnterpriseInstancesInstanceOutput
- type GetRegistryEnterpriseInstancesInstanceArray
- func (GetRegistryEnterpriseInstancesInstanceArray) ElementType() reflect.Type
- func (i GetRegistryEnterpriseInstancesInstanceArray) ToGetRegistryEnterpriseInstancesInstanceArrayOutput() GetRegistryEnterpriseInstancesInstanceArrayOutput
- func (i GetRegistryEnterpriseInstancesInstanceArray) ToGetRegistryEnterpriseInstancesInstanceArrayOutputWithContext(ctx context.Context) GetRegistryEnterpriseInstancesInstanceArrayOutput
- type GetRegistryEnterpriseInstancesInstanceArrayInput
- type GetRegistryEnterpriseInstancesInstanceArrayOutput
- func (GetRegistryEnterpriseInstancesInstanceArrayOutput) ElementType() reflect.Type
- func (o GetRegistryEnterpriseInstancesInstanceArrayOutput) Index(i pulumi.IntInput) GetRegistryEnterpriseInstancesInstanceOutput
- func (o GetRegistryEnterpriseInstancesInstanceArrayOutput) ToGetRegistryEnterpriseInstancesInstanceArrayOutput() GetRegistryEnterpriseInstancesInstanceArrayOutput
- func (o GetRegistryEnterpriseInstancesInstanceArrayOutput) ToGetRegistryEnterpriseInstancesInstanceArrayOutputWithContext(ctx context.Context) GetRegistryEnterpriseInstancesInstanceArrayOutput
- type GetRegistryEnterpriseInstancesInstanceInput
- type GetRegistryEnterpriseInstancesInstanceOutput
- func (GetRegistryEnterpriseInstancesInstanceOutput) ElementType() reflect.Type
- func (o GetRegistryEnterpriseInstancesInstanceOutput) Id() pulumi.StringOutput
- func (o GetRegistryEnterpriseInstancesInstanceOutput) Name() pulumi.StringOutput
- func (o GetRegistryEnterpriseInstancesInstanceOutput) NamespaceQuota() pulumi.StringOutput
- func (o GetRegistryEnterpriseInstancesInstanceOutput) NamespaceUsage() pulumi.StringOutput
- func (o GetRegistryEnterpriseInstancesInstanceOutput) PublicEndpoints() pulumi.StringArrayOutput
- func (o GetRegistryEnterpriseInstancesInstanceOutput) Region() pulumi.StringOutput
- func (o GetRegistryEnterpriseInstancesInstanceOutput) RepoQuota() pulumi.StringOutput
- func (o GetRegistryEnterpriseInstancesInstanceOutput) RepoUsage() pulumi.StringOutput
- func (o GetRegistryEnterpriseInstancesInstanceOutput) Specification() pulumi.StringOutput
- func (o GetRegistryEnterpriseInstancesInstanceOutput) ToGetRegistryEnterpriseInstancesInstanceOutput() GetRegistryEnterpriseInstancesInstanceOutput
- func (o GetRegistryEnterpriseInstancesInstanceOutput) ToGetRegistryEnterpriseInstancesInstanceOutputWithContext(ctx context.Context) GetRegistryEnterpriseInstancesInstanceOutput
- func (o GetRegistryEnterpriseInstancesInstanceOutput) VpcEndpoints() pulumi.StringArrayOutput
- type GetRegistryEnterpriseInstancesResult
- type GetRegistryEnterpriseNamespacesArgs
- type GetRegistryEnterpriseNamespacesNamespace
- type GetRegistryEnterpriseNamespacesNamespaceArgs
- func (GetRegistryEnterpriseNamespacesNamespaceArgs) ElementType() reflect.Type
- func (i GetRegistryEnterpriseNamespacesNamespaceArgs) ToGetRegistryEnterpriseNamespacesNamespaceOutput() GetRegistryEnterpriseNamespacesNamespaceOutput
- func (i GetRegistryEnterpriseNamespacesNamespaceArgs) ToGetRegistryEnterpriseNamespacesNamespaceOutputWithContext(ctx context.Context) GetRegistryEnterpriseNamespacesNamespaceOutput
- type GetRegistryEnterpriseNamespacesNamespaceArray
- func (GetRegistryEnterpriseNamespacesNamespaceArray) ElementType() reflect.Type
- func (i GetRegistryEnterpriseNamespacesNamespaceArray) ToGetRegistryEnterpriseNamespacesNamespaceArrayOutput() GetRegistryEnterpriseNamespacesNamespaceArrayOutput
- func (i GetRegistryEnterpriseNamespacesNamespaceArray) ToGetRegistryEnterpriseNamespacesNamespaceArrayOutputWithContext(ctx context.Context) GetRegistryEnterpriseNamespacesNamespaceArrayOutput
- type GetRegistryEnterpriseNamespacesNamespaceArrayInput
- type GetRegistryEnterpriseNamespacesNamespaceArrayOutput
- func (GetRegistryEnterpriseNamespacesNamespaceArrayOutput) ElementType() reflect.Type
- func (o GetRegistryEnterpriseNamespacesNamespaceArrayOutput) Index(i pulumi.IntInput) GetRegistryEnterpriseNamespacesNamespaceOutput
- func (o GetRegistryEnterpriseNamespacesNamespaceArrayOutput) ToGetRegistryEnterpriseNamespacesNamespaceArrayOutput() GetRegistryEnterpriseNamespacesNamespaceArrayOutput
- func (o GetRegistryEnterpriseNamespacesNamespaceArrayOutput) ToGetRegistryEnterpriseNamespacesNamespaceArrayOutputWithContext(ctx context.Context) GetRegistryEnterpriseNamespacesNamespaceArrayOutput
- type GetRegistryEnterpriseNamespacesNamespaceInput
- type GetRegistryEnterpriseNamespacesNamespaceOutput
- func (o GetRegistryEnterpriseNamespacesNamespaceOutput) AutoCreate() pulumi.BoolOutput
- func (o GetRegistryEnterpriseNamespacesNamespaceOutput) DefaultVisibility() pulumi.StringOutput
- func (GetRegistryEnterpriseNamespacesNamespaceOutput) ElementType() reflect.Type
- func (o GetRegistryEnterpriseNamespacesNamespaceOutput) Id() pulumi.StringOutput
- func (o GetRegistryEnterpriseNamespacesNamespaceOutput) InstanceId() pulumi.StringOutput
- func (o GetRegistryEnterpriseNamespacesNamespaceOutput) Name() pulumi.StringOutput
- func (o GetRegistryEnterpriseNamespacesNamespaceOutput) ToGetRegistryEnterpriseNamespacesNamespaceOutput() GetRegistryEnterpriseNamespacesNamespaceOutput
- func (o GetRegistryEnterpriseNamespacesNamespaceOutput) ToGetRegistryEnterpriseNamespacesNamespaceOutputWithContext(ctx context.Context) GetRegistryEnterpriseNamespacesNamespaceOutput
- type GetRegistryEnterpriseNamespacesResult
- type GetRegistryEnterpriseReposArgs
- type GetRegistryEnterpriseReposRepo
- type GetRegistryEnterpriseReposRepoArgs
- func (GetRegistryEnterpriseReposRepoArgs) ElementType() reflect.Type
- func (i GetRegistryEnterpriseReposRepoArgs) ToGetRegistryEnterpriseReposRepoOutput() GetRegistryEnterpriseReposRepoOutput
- func (i GetRegistryEnterpriseReposRepoArgs) ToGetRegistryEnterpriseReposRepoOutputWithContext(ctx context.Context) GetRegistryEnterpriseReposRepoOutput
- type GetRegistryEnterpriseReposRepoArray
- func (GetRegistryEnterpriseReposRepoArray) ElementType() reflect.Type
- func (i GetRegistryEnterpriseReposRepoArray) ToGetRegistryEnterpriseReposRepoArrayOutput() GetRegistryEnterpriseReposRepoArrayOutput
- func (i GetRegistryEnterpriseReposRepoArray) ToGetRegistryEnterpriseReposRepoArrayOutputWithContext(ctx context.Context) GetRegistryEnterpriseReposRepoArrayOutput
- type GetRegistryEnterpriseReposRepoArrayInput
- type GetRegistryEnterpriseReposRepoArrayOutput
- func (GetRegistryEnterpriseReposRepoArrayOutput) ElementType() reflect.Type
- func (o GetRegistryEnterpriseReposRepoArrayOutput) Index(i pulumi.IntInput) GetRegistryEnterpriseReposRepoOutput
- func (o GetRegistryEnterpriseReposRepoArrayOutput) ToGetRegistryEnterpriseReposRepoArrayOutput() GetRegistryEnterpriseReposRepoArrayOutput
- func (o GetRegistryEnterpriseReposRepoArrayOutput) ToGetRegistryEnterpriseReposRepoArrayOutputWithContext(ctx context.Context) GetRegistryEnterpriseReposRepoArrayOutput
- type GetRegistryEnterpriseReposRepoInput
- type GetRegistryEnterpriseReposRepoOutput
- func (GetRegistryEnterpriseReposRepoOutput) ElementType() reflect.Type
- func (o GetRegistryEnterpriseReposRepoOutput) Id() pulumi.StringOutput
- func (o GetRegistryEnterpriseReposRepoOutput) InstanceId() pulumi.StringOutput
- func (o GetRegistryEnterpriseReposRepoOutput) Name() pulumi.StringOutput
- func (o GetRegistryEnterpriseReposRepoOutput) Namespace() pulumi.StringOutput
- func (o GetRegistryEnterpriseReposRepoOutput) RepoType() pulumi.StringOutput
- func (o GetRegistryEnterpriseReposRepoOutput) Summary() pulumi.StringOutput
- func (o GetRegistryEnterpriseReposRepoOutput) Tags() GetRegistryEnterpriseReposRepoTagArrayOutput
- func (o GetRegistryEnterpriseReposRepoOutput) ToGetRegistryEnterpriseReposRepoOutput() GetRegistryEnterpriseReposRepoOutput
- func (o GetRegistryEnterpriseReposRepoOutput) ToGetRegistryEnterpriseReposRepoOutputWithContext(ctx context.Context) GetRegistryEnterpriseReposRepoOutput
- type GetRegistryEnterpriseReposRepoTag
- type GetRegistryEnterpriseReposRepoTagArgs
- func (GetRegistryEnterpriseReposRepoTagArgs) ElementType() reflect.Type
- func (i GetRegistryEnterpriseReposRepoTagArgs) ToGetRegistryEnterpriseReposRepoTagOutput() GetRegistryEnterpriseReposRepoTagOutput
- func (i GetRegistryEnterpriseReposRepoTagArgs) ToGetRegistryEnterpriseReposRepoTagOutputWithContext(ctx context.Context) GetRegistryEnterpriseReposRepoTagOutput
- type GetRegistryEnterpriseReposRepoTagArray
- func (GetRegistryEnterpriseReposRepoTagArray) ElementType() reflect.Type
- func (i GetRegistryEnterpriseReposRepoTagArray) ToGetRegistryEnterpriseReposRepoTagArrayOutput() GetRegistryEnterpriseReposRepoTagArrayOutput
- func (i GetRegistryEnterpriseReposRepoTagArray) ToGetRegistryEnterpriseReposRepoTagArrayOutputWithContext(ctx context.Context) GetRegistryEnterpriseReposRepoTagArrayOutput
- type GetRegistryEnterpriseReposRepoTagArrayInput
- type GetRegistryEnterpriseReposRepoTagArrayOutput
- func (GetRegistryEnterpriseReposRepoTagArrayOutput) ElementType() reflect.Type
- func (o GetRegistryEnterpriseReposRepoTagArrayOutput) Index(i pulumi.IntInput) GetRegistryEnterpriseReposRepoTagOutput
- func (o GetRegistryEnterpriseReposRepoTagArrayOutput) ToGetRegistryEnterpriseReposRepoTagArrayOutput() GetRegistryEnterpriseReposRepoTagArrayOutput
- func (o GetRegistryEnterpriseReposRepoTagArrayOutput) ToGetRegistryEnterpriseReposRepoTagArrayOutputWithContext(ctx context.Context) GetRegistryEnterpriseReposRepoTagArrayOutput
- type GetRegistryEnterpriseReposRepoTagInput
- type GetRegistryEnterpriseReposRepoTagOutput
- func (o GetRegistryEnterpriseReposRepoTagOutput) Digest() pulumi.StringOutput
- func (GetRegistryEnterpriseReposRepoTagOutput) ElementType() reflect.Type
- func (o GetRegistryEnterpriseReposRepoTagOutput) ImageCreate() pulumi.StringOutput
- func (o GetRegistryEnterpriseReposRepoTagOutput) ImageId() pulumi.StringOutput
- func (o GetRegistryEnterpriseReposRepoTagOutput) ImageSize() pulumi.IntOutput
- func (o GetRegistryEnterpriseReposRepoTagOutput) ImageUpdate() pulumi.StringOutput
- func (o GetRegistryEnterpriseReposRepoTagOutput) Status() pulumi.StringOutput
- func (o GetRegistryEnterpriseReposRepoTagOutput) Tag() pulumi.StringOutput
- func (o GetRegistryEnterpriseReposRepoTagOutput) ToGetRegistryEnterpriseReposRepoTagOutput() GetRegistryEnterpriseReposRepoTagOutput
- func (o GetRegistryEnterpriseReposRepoTagOutput) ToGetRegistryEnterpriseReposRepoTagOutputWithContext(ctx context.Context) GetRegistryEnterpriseReposRepoTagOutput
- type GetRegistryEnterpriseReposResult
- type GetRegistryEnterpriseSyncRulesArgs
- type GetRegistryEnterpriseSyncRulesResult
- type GetRegistryEnterpriseSyncRulesRule
- type GetRegistryEnterpriseSyncRulesRuleArgs
- func (GetRegistryEnterpriseSyncRulesRuleArgs) ElementType() reflect.Type
- func (i GetRegistryEnterpriseSyncRulesRuleArgs) ToGetRegistryEnterpriseSyncRulesRuleOutput() GetRegistryEnterpriseSyncRulesRuleOutput
- func (i GetRegistryEnterpriseSyncRulesRuleArgs) ToGetRegistryEnterpriseSyncRulesRuleOutputWithContext(ctx context.Context) GetRegistryEnterpriseSyncRulesRuleOutput
- type GetRegistryEnterpriseSyncRulesRuleArray
- func (GetRegistryEnterpriseSyncRulesRuleArray) ElementType() reflect.Type
- func (i GetRegistryEnterpriseSyncRulesRuleArray) ToGetRegistryEnterpriseSyncRulesRuleArrayOutput() GetRegistryEnterpriseSyncRulesRuleArrayOutput
- func (i GetRegistryEnterpriseSyncRulesRuleArray) ToGetRegistryEnterpriseSyncRulesRuleArrayOutputWithContext(ctx context.Context) GetRegistryEnterpriseSyncRulesRuleArrayOutput
- type GetRegistryEnterpriseSyncRulesRuleArrayInput
- type GetRegistryEnterpriseSyncRulesRuleArrayOutput
- func (GetRegistryEnterpriseSyncRulesRuleArrayOutput) ElementType() reflect.Type
- func (o GetRegistryEnterpriseSyncRulesRuleArrayOutput) Index(i pulumi.IntInput) GetRegistryEnterpriseSyncRulesRuleOutput
- func (o GetRegistryEnterpriseSyncRulesRuleArrayOutput) ToGetRegistryEnterpriseSyncRulesRuleArrayOutput() GetRegistryEnterpriseSyncRulesRuleArrayOutput
- func (o GetRegistryEnterpriseSyncRulesRuleArrayOutput) ToGetRegistryEnterpriseSyncRulesRuleArrayOutputWithContext(ctx context.Context) GetRegistryEnterpriseSyncRulesRuleArrayOutput
- type GetRegistryEnterpriseSyncRulesRuleInput
- type GetRegistryEnterpriseSyncRulesRuleOutput
- func (GetRegistryEnterpriseSyncRulesRuleOutput) ElementType() reflect.Type
- func (o GetRegistryEnterpriseSyncRulesRuleOutput) Id() pulumi.StringOutput
- func (o GetRegistryEnterpriseSyncRulesRuleOutput) InstanceId() pulumi.StringOutput
- func (o GetRegistryEnterpriseSyncRulesRuleOutput) Name() pulumi.StringOutput
- func (o GetRegistryEnterpriseSyncRulesRuleOutput) NamespaceName() pulumi.StringOutput
- func (o GetRegistryEnterpriseSyncRulesRuleOutput) RegionId() pulumi.StringOutput
- func (o GetRegistryEnterpriseSyncRulesRuleOutput) RepoName() pulumi.StringOutput
- func (o GetRegistryEnterpriseSyncRulesRuleOutput) SyncDirection() pulumi.StringOutput
- func (o GetRegistryEnterpriseSyncRulesRuleOutput) SyncScope() pulumi.StringOutput
- func (o GetRegistryEnterpriseSyncRulesRuleOutput) SyncTrigger() pulumi.StringOutput
- func (o GetRegistryEnterpriseSyncRulesRuleOutput) TagFilter() pulumi.StringOutput
- func (o GetRegistryEnterpriseSyncRulesRuleOutput) TargetInstanceId() pulumi.StringOutput
- func (o GetRegistryEnterpriseSyncRulesRuleOutput) TargetNamespaceName() pulumi.StringOutput
- func (o GetRegistryEnterpriseSyncRulesRuleOutput) TargetRegionId() pulumi.StringOutput
- func (o GetRegistryEnterpriseSyncRulesRuleOutput) TargetRepoName() pulumi.StringOutput
- func (o GetRegistryEnterpriseSyncRulesRuleOutput) ToGetRegistryEnterpriseSyncRulesRuleOutput() GetRegistryEnterpriseSyncRulesRuleOutput
- func (o GetRegistryEnterpriseSyncRulesRuleOutput) ToGetRegistryEnterpriseSyncRulesRuleOutputWithContext(ctx context.Context) GetRegistryEnterpriseSyncRulesRuleOutput
- type GetServerlessKubernetesClustersArgs
- type GetServerlessKubernetesClustersCluster
- type GetServerlessKubernetesClustersClusterArgs
- func (GetServerlessKubernetesClustersClusterArgs) ElementType() reflect.Type
- func (i GetServerlessKubernetesClustersClusterArgs) ToGetServerlessKubernetesClustersClusterOutput() GetServerlessKubernetesClustersClusterOutput
- func (i GetServerlessKubernetesClustersClusterArgs) ToGetServerlessKubernetesClustersClusterOutputWithContext(ctx context.Context) GetServerlessKubernetesClustersClusterOutput
- type GetServerlessKubernetesClustersClusterArray
- func (GetServerlessKubernetesClustersClusterArray) ElementType() reflect.Type
- func (i GetServerlessKubernetesClustersClusterArray) ToGetServerlessKubernetesClustersClusterArrayOutput() GetServerlessKubernetesClustersClusterArrayOutput
- func (i GetServerlessKubernetesClustersClusterArray) ToGetServerlessKubernetesClustersClusterArrayOutputWithContext(ctx context.Context) GetServerlessKubernetesClustersClusterArrayOutput
- type GetServerlessKubernetesClustersClusterArrayInput
- type GetServerlessKubernetesClustersClusterArrayOutput
- func (GetServerlessKubernetesClustersClusterArrayOutput) ElementType() reflect.Type
- func (o GetServerlessKubernetesClustersClusterArrayOutput) Index(i pulumi.IntInput) GetServerlessKubernetesClustersClusterOutput
- func (o GetServerlessKubernetesClustersClusterArrayOutput) ToGetServerlessKubernetesClustersClusterArrayOutput() GetServerlessKubernetesClustersClusterArrayOutput
- func (o GetServerlessKubernetesClustersClusterArrayOutput) ToGetServerlessKubernetesClustersClusterArrayOutputWithContext(ctx context.Context) GetServerlessKubernetesClustersClusterArrayOutput
- type GetServerlessKubernetesClustersClusterConnections
- type GetServerlessKubernetesClustersClusterConnectionsArgs
- func (GetServerlessKubernetesClustersClusterConnectionsArgs) ElementType() reflect.Type
- func (i GetServerlessKubernetesClustersClusterConnectionsArgs) ToGetServerlessKubernetesClustersClusterConnectionsOutput() GetServerlessKubernetesClustersClusterConnectionsOutput
- func (i GetServerlessKubernetesClustersClusterConnectionsArgs) ToGetServerlessKubernetesClustersClusterConnectionsOutputWithContext(ctx context.Context) GetServerlessKubernetesClustersClusterConnectionsOutput
- type GetServerlessKubernetesClustersClusterConnectionsInput
- type GetServerlessKubernetesClustersClusterConnectionsOutput
- func (o GetServerlessKubernetesClustersClusterConnectionsOutput) ApiServerInternet() pulumi.StringOutput
- func (o GetServerlessKubernetesClustersClusterConnectionsOutput) ApiServerIntranet() pulumi.StringOutput
- func (GetServerlessKubernetesClustersClusterConnectionsOutput) ElementType() reflect.Type
- func (o GetServerlessKubernetesClustersClusterConnectionsOutput) MasterPublicIp() pulumi.StringOutput
- func (o GetServerlessKubernetesClustersClusterConnectionsOutput) ToGetServerlessKubernetesClustersClusterConnectionsOutput() GetServerlessKubernetesClustersClusterConnectionsOutput
- func (o GetServerlessKubernetesClustersClusterConnectionsOutput) ToGetServerlessKubernetesClustersClusterConnectionsOutputWithContext(ctx context.Context) GetServerlessKubernetesClustersClusterConnectionsOutput
- type GetServerlessKubernetesClustersClusterInput
- type GetServerlessKubernetesClustersClusterOutput
- func (o GetServerlessKubernetesClustersClusterOutput) Connections() GetServerlessKubernetesClustersClusterConnectionsOutput
- func (o GetServerlessKubernetesClustersClusterOutput) DeletionProtection() pulumi.BoolOutput
- func (GetServerlessKubernetesClustersClusterOutput) ElementType() reflect.Type
- func (o GetServerlessKubernetesClustersClusterOutput) EndpointPublicAccessEnabled() pulumi.BoolOutput
- func (o GetServerlessKubernetesClustersClusterOutput) Id() pulumi.StringOutput
- func (o GetServerlessKubernetesClustersClusterOutput) Name() pulumi.StringOutput
- func (o GetServerlessKubernetesClustersClusterOutput) NatGatewayId() pulumi.StringOutput
- func (o GetServerlessKubernetesClustersClusterOutput) SecurityGroupId() pulumi.StringOutput
- func (o GetServerlessKubernetesClustersClusterOutput) Tags() pulumi.MapOutput
- func (o GetServerlessKubernetesClustersClusterOutput) ToGetServerlessKubernetesClustersClusterOutput() GetServerlessKubernetesClustersClusterOutput
- func (o GetServerlessKubernetesClustersClusterOutput) ToGetServerlessKubernetesClustersClusterOutputWithContext(ctx context.Context) GetServerlessKubernetesClustersClusterOutput
- func (o GetServerlessKubernetesClustersClusterOutput) VpcId() pulumi.StringOutput
- func (o GetServerlessKubernetesClustersClusterOutput) VswitchId() pulumi.StringOutput
- type GetServerlessKubernetesClustersResult
- type Kubernetes
- type KubernetesAddon
- type KubernetesAddonArgs
- type KubernetesAddonArray
- type KubernetesAddonArrayInput
- type KubernetesAddonArrayOutput
- func (KubernetesAddonArrayOutput) ElementType() reflect.Type
- func (o KubernetesAddonArrayOutput) Index(i pulumi.IntInput) KubernetesAddonOutput
- func (o KubernetesAddonArrayOutput) ToKubernetesAddonArrayOutput() KubernetesAddonArrayOutput
- func (o KubernetesAddonArrayOutput) ToKubernetesAddonArrayOutputWithContext(ctx context.Context) KubernetesAddonArrayOutput
- type KubernetesAddonInput
- type KubernetesAddonOutput
- func (o KubernetesAddonOutput) Config() pulumi.StringPtrOutput
- func (o KubernetesAddonOutput) Disabled() pulumi.BoolPtrOutput
- func (KubernetesAddonOutput) ElementType() reflect.Type
- func (o KubernetesAddonOutput) Name() pulumi.StringPtrOutput
- func (o KubernetesAddonOutput) ToKubernetesAddonOutput() KubernetesAddonOutput
- func (o KubernetesAddonOutput) ToKubernetesAddonOutputWithContext(ctx context.Context) KubernetesAddonOutput
- type KubernetesArgs
- type KubernetesAutoscaler
- type KubernetesAutoscalerArgs
- type KubernetesAutoscalerNodepool
- type KubernetesAutoscalerNodepoolArgs
- func (KubernetesAutoscalerNodepoolArgs) ElementType() reflect.Type
- func (i KubernetesAutoscalerNodepoolArgs) ToKubernetesAutoscalerNodepoolOutput() KubernetesAutoscalerNodepoolOutput
- func (i KubernetesAutoscalerNodepoolArgs) ToKubernetesAutoscalerNodepoolOutputWithContext(ctx context.Context) KubernetesAutoscalerNodepoolOutput
- type KubernetesAutoscalerNodepoolArray
- func (KubernetesAutoscalerNodepoolArray) ElementType() reflect.Type
- func (i KubernetesAutoscalerNodepoolArray) ToKubernetesAutoscalerNodepoolArrayOutput() KubernetesAutoscalerNodepoolArrayOutput
- func (i KubernetesAutoscalerNodepoolArray) ToKubernetesAutoscalerNodepoolArrayOutputWithContext(ctx context.Context) KubernetesAutoscalerNodepoolArrayOutput
- type KubernetesAutoscalerNodepoolArrayInput
- type KubernetesAutoscalerNodepoolArrayOutput
- func (KubernetesAutoscalerNodepoolArrayOutput) ElementType() reflect.Type
- func (o KubernetesAutoscalerNodepoolArrayOutput) Index(i pulumi.IntInput) KubernetesAutoscalerNodepoolOutput
- func (o KubernetesAutoscalerNodepoolArrayOutput) ToKubernetesAutoscalerNodepoolArrayOutput() KubernetesAutoscalerNodepoolArrayOutput
- func (o KubernetesAutoscalerNodepoolArrayOutput) ToKubernetesAutoscalerNodepoolArrayOutputWithContext(ctx context.Context) KubernetesAutoscalerNodepoolArrayOutput
- type KubernetesAutoscalerNodepoolInput
- type KubernetesAutoscalerNodepoolOutput
- func (KubernetesAutoscalerNodepoolOutput) ElementType() reflect.Type
- func (o KubernetesAutoscalerNodepoolOutput) Id() pulumi.StringPtrOutput
- func (o KubernetesAutoscalerNodepoolOutput) Labels() pulumi.StringPtrOutput
- func (o KubernetesAutoscalerNodepoolOutput) Taints() pulumi.StringPtrOutput
- func (o KubernetesAutoscalerNodepoolOutput) ToKubernetesAutoscalerNodepoolOutput() KubernetesAutoscalerNodepoolOutput
- func (o KubernetesAutoscalerNodepoolOutput) ToKubernetesAutoscalerNodepoolOutputWithContext(ctx context.Context) KubernetesAutoscalerNodepoolOutput
- type KubernetesAutoscalerState
- type KubernetesConnections
- type KubernetesConnectionsArgs
- func (KubernetesConnectionsArgs) ElementType() reflect.Type
- func (i KubernetesConnectionsArgs) ToKubernetesConnectionsOutput() KubernetesConnectionsOutput
- func (i KubernetesConnectionsArgs) ToKubernetesConnectionsOutputWithContext(ctx context.Context) KubernetesConnectionsOutput
- func (i KubernetesConnectionsArgs) ToKubernetesConnectionsPtrOutput() KubernetesConnectionsPtrOutput
- func (i KubernetesConnectionsArgs) ToKubernetesConnectionsPtrOutputWithContext(ctx context.Context) KubernetesConnectionsPtrOutput
- type KubernetesConnectionsInput
- type KubernetesConnectionsOutput
- func (o KubernetesConnectionsOutput) ApiServerInternet() pulumi.StringPtrOutput
- func (o KubernetesConnectionsOutput) ApiServerIntranet() pulumi.StringPtrOutput
- func (KubernetesConnectionsOutput) ElementType() reflect.Type
- func (o KubernetesConnectionsOutput) MasterPublicIp() pulumi.StringPtrOutput
- func (o KubernetesConnectionsOutput) ServiceDomain() pulumi.StringPtrOutput
- func (o KubernetesConnectionsOutput) ToKubernetesConnectionsOutput() KubernetesConnectionsOutput
- func (o KubernetesConnectionsOutput) ToKubernetesConnectionsOutputWithContext(ctx context.Context) KubernetesConnectionsOutput
- func (o KubernetesConnectionsOutput) ToKubernetesConnectionsPtrOutput() KubernetesConnectionsPtrOutput
- func (o KubernetesConnectionsOutput) ToKubernetesConnectionsPtrOutputWithContext(ctx context.Context) KubernetesConnectionsPtrOutput
- type KubernetesConnectionsPtrInput
- type KubernetesConnectionsPtrOutput
- func (o KubernetesConnectionsPtrOutput) ApiServerInternet() pulumi.StringPtrOutput
- func (o KubernetesConnectionsPtrOutput) ApiServerIntranet() pulumi.StringPtrOutput
- func (o KubernetesConnectionsPtrOutput) Elem() KubernetesConnectionsOutput
- func (KubernetesConnectionsPtrOutput) ElementType() reflect.Type
- func (o KubernetesConnectionsPtrOutput) MasterPublicIp() pulumi.StringPtrOutput
- func (o KubernetesConnectionsPtrOutput) ServiceDomain() pulumi.StringPtrOutput
- func (o KubernetesConnectionsPtrOutput) ToKubernetesConnectionsPtrOutput() KubernetesConnectionsPtrOutput
- func (o KubernetesConnectionsPtrOutput) ToKubernetesConnectionsPtrOutputWithContext(ctx context.Context) KubernetesConnectionsPtrOutput
- type KubernetesMasterNode
- type KubernetesMasterNodeArgs
- type KubernetesMasterNodeArray
- type KubernetesMasterNodeArrayInput
- type KubernetesMasterNodeArrayOutput
- func (KubernetesMasterNodeArrayOutput) ElementType() reflect.Type
- func (o KubernetesMasterNodeArrayOutput) Index(i pulumi.IntInput) KubernetesMasterNodeOutput
- func (o KubernetesMasterNodeArrayOutput) ToKubernetesMasterNodeArrayOutput() KubernetesMasterNodeArrayOutput
- func (o KubernetesMasterNodeArrayOutput) ToKubernetesMasterNodeArrayOutputWithContext(ctx context.Context) KubernetesMasterNodeArrayOutput
- type KubernetesMasterNodeInput
- type KubernetesMasterNodeOutput
- func (KubernetesMasterNodeOutput) ElementType() reflect.Type
- func (o KubernetesMasterNodeOutput) Id() pulumi.StringPtrOutput
- func (o KubernetesMasterNodeOutput) Name() pulumi.StringPtrOutput
- func (o KubernetesMasterNodeOutput) PrivateIp() pulumi.StringPtrOutput
- func (o KubernetesMasterNodeOutput) ToKubernetesMasterNodeOutput() KubernetesMasterNodeOutput
- func (o KubernetesMasterNodeOutput) ToKubernetesMasterNodeOutputWithContext(ctx context.Context) KubernetesMasterNodeOutput
- type KubernetesState
- type KubernetesWorkerDataDisk
- type KubernetesWorkerDataDiskArgs
- func (KubernetesWorkerDataDiskArgs) ElementType() reflect.Type
- func (i KubernetesWorkerDataDiskArgs) ToKubernetesWorkerDataDiskOutput() KubernetesWorkerDataDiskOutput
- func (i KubernetesWorkerDataDiskArgs) ToKubernetesWorkerDataDiskOutputWithContext(ctx context.Context) KubernetesWorkerDataDiskOutput
- type KubernetesWorkerDataDiskArray
- func (KubernetesWorkerDataDiskArray) ElementType() reflect.Type
- func (i KubernetesWorkerDataDiskArray) ToKubernetesWorkerDataDiskArrayOutput() KubernetesWorkerDataDiskArrayOutput
- func (i KubernetesWorkerDataDiskArray) ToKubernetesWorkerDataDiskArrayOutputWithContext(ctx context.Context) KubernetesWorkerDataDiskArrayOutput
- type KubernetesWorkerDataDiskArrayInput
- type KubernetesWorkerDataDiskArrayOutput
- func (KubernetesWorkerDataDiskArrayOutput) ElementType() reflect.Type
- func (o KubernetesWorkerDataDiskArrayOutput) Index(i pulumi.IntInput) KubernetesWorkerDataDiskOutput
- func (o KubernetesWorkerDataDiskArrayOutput) ToKubernetesWorkerDataDiskArrayOutput() KubernetesWorkerDataDiskArrayOutput
- func (o KubernetesWorkerDataDiskArrayOutput) ToKubernetesWorkerDataDiskArrayOutputWithContext(ctx context.Context) KubernetesWorkerDataDiskArrayOutput
- type KubernetesWorkerDataDiskInput
- type KubernetesWorkerDataDiskOutput
- func (o KubernetesWorkerDataDiskOutput) AutoSnapshotPolicyId() pulumi.StringPtrOutput
- func (o KubernetesWorkerDataDiskOutput) Category() pulumi.StringPtrOutput
- func (o KubernetesWorkerDataDiskOutput) Device() pulumi.StringPtrOutput
- func (KubernetesWorkerDataDiskOutput) ElementType() reflect.Type
- func (o KubernetesWorkerDataDiskOutput) Encrypted() pulumi.StringPtrOutput
- func (o KubernetesWorkerDataDiskOutput) KmsKeyId() pulumi.StringPtrOutput
- func (o KubernetesWorkerDataDiskOutput) Name() pulumi.StringPtrOutput
- func (o KubernetesWorkerDataDiskOutput) Size() pulumi.StringPtrOutput
- func (o KubernetesWorkerDataDiskOutput) SnapshotId() pulumi.StringPtrOutput
- func (o KubernetesWorkerDataDiskOutput) ToKubernetesWorkerDataDiskOutput() KubernetesWorkerDataDiskOutput
- func (o KubernetesWorkerDataDiskOutput) ToKubernetesWorkerDataDiskOutputWithContext(ctx context.Context) KubernetesWorkerDataDiskOutput
- type KubernetesWorkerNode
- type KubernetesWorkerNodeArgs
- type KubernetesWorkerNodeArray
- type KubernetesWorkerNodeArrayInput
- type KubernetesWorkerNodeArrayOutput
- func (KubernetesWorkerNodeArrayOutput) ElementType() reflect.Type
- func (o KubernetesWorkerNodeArrayOutput) Index(i pulumi.IntInput) KubernetesWorkerNodeOutput
- func (o KubernetesWorkerNodeArrayOutput) ToKubernetesWorkerNodeArrayOutput() KubernetesWorkerNodeArrayOutput
- func (o KubernetesWorkerNodeArrayOutput) ToKubernetesWorkerNodeArrayOutputWithContext(ctx context.Context) KubernetesWorkerNodeArrayOutput
- type KubernetesWorkerNodeInput
- type KubernetesWorkerNodeOutput
- func (KubernetesWorkerNodeOutput) ElementType() reflect.Type
- func (o KubernetesWorkerNodeOutput) Id() pulumi.StringPtrOutput
- func (o KubernetesWorkerNodeOutput) Name() pulumi.StringPtrOutput
- func (o KubernetesWorkerNodeOutput) PrivateIp() pulumi.StringPtrOutput
- func (o KubernetesWorkerNodeOutput) ToKubernetesWorkerNodeOutput() KubernetesWorkerNodeOutput
- func (o KubernetesWorkerNodeOutput) ToKubernetesWorkerNodeOutputWithContext(ctx context.Context) KubernetesWorkerNodeOutput
- type ManagedKubernetes
- type ManagedKubernetesAddon
- type ManagedKubernetesAddonArgs
- type ManagedKubernetesAddonArray
- func (ManagedKubernetesAddonArray) ElementType() reflect.Type
- func (i ManagedKubernetesAddonArray) ToManagedKubernetesAddonArrayOutput() ManagedKubernetesAddonArrayOutput
- func (i ManagedKubernetesAddonArray) ToManagedKubernetesAddonArrayOutputWithContext(ctx context.Context) ManagedKubernetesAddonArrayOutput
- type ManagedKubernetesAddonArrayInput
- type ManagedKubernetesAddonArrayOutput
- func (ManagedKubernetesAddonArrayOutput) ElementType() reflect.Type
- func (o ManagedKubernetesAddonArrayOutput) Index(i pulumi.IntInput) ManagedKubernetesAddonOutput
- func (o ManagedKubernetesAddonArrayOutput) ToManagedKubernetesAddonArrayOutput() ManagedKubernetesAddonArrayOutput
- func (o ManagedKubernetesAddonArrayOutput) ToManagedKubernetesAddonArrayOutputWithContext(ctx context.Context) ManagedKubernetesAddonArrayOutput
- type ManagedKubernetesAddonInput
- type ManagedKubernetesAddonOutput
- func (o ManagedKubernetesAddonOutput) Config() pulumi.StringPtrOutput
- func (o ManagedKubernetesAddonOutput) Disabled() pulumi.BoolPtrOutput
- func (ManagedKubernetesAddonOutput) ElementType() reflect.Type
- func (o ManagedKubernetesAddonOutput) Name() pulumi.StringPtrOutput
- func (o ManagedKubernetesAddonOutput) ToManagedKubernetesAddonOutput() ManagedKubernetesAddonOutput
- func (o ManagedKubernetesAddonOutput) ToManagedKubernetesAddonOutputWithContext(ctx context.Context) ManagedKubernetesAddonOutput
- type ManagedKubernetesArgs
- type ManagedKubernetesConnections
- type ManagedKubernetesConnectionsArgs
- func (ManagedKubernetesConnectionsArgs) ElementType() reflect.Type
- func (i ManagedKubernetesConnectionsArgs) ToManagedKubernetesConnectionsOutput() ManagedKubernetesConnectionsOutput
- func (i ManagedKubernetesConnectionsArgs) ToManagedKubernetesConnectionsOutputWithContext(ctx context.Context) ManagedKubernetesConnectionsOutput
- func (i ManagedKubernetesConnectionsArgs) ToManagedKubernetesConnectionsPtrOutput() ManagedKubernetesConnectionsPtrOutput
- func (i ManagedKubernetesConnectionsArgs) ToManagedKubernetesConnectionsPtrOutputWithContext(ctx context.Context) ManagedKubernetesConnectionsPtrOutput
- type ManagedKubernetesConnectionsInput
- type ManagedKubernetesConnectionsOutput
- func (o ManagedKubernetesConnectionsOutput) ApiServerInternet() pulumi.StringPtrOutput
- func (o ManagedKubernetesConnectionsOutput) ApiServerIntranet() pulumi.StringPtrOutput
- func (ManagedKubernetesConnectionsOutput) ElementType() reflect.Type
- func (o ManagedKubernetesConnectionsOutput) MasterPublicIp() pulumi.StringPtrOutput
- func (o ManagedKubernetesConnectionsOutput) ServiceDomain() pulumi.StringPtrOutput
- func (o ManagedKubernetesConnectionsOutput) ToManagedKubernetesConnectionsOutput() ManagedKubernetesConnectionsOutput
- func (o ManagedKubernetesConnectionsOutput) ToManagedKubernetesConnectionsOutputWithContext(ctx context.Context) ManagedKubernetesConnectionsOutput
- func (o ManagedKubernetesConnectionsOutput) ToManagedKubernetesConnectionsPtrOutput() ManagedKubernetesConnectionsPtrOutput
- func (o ManagedKubernetesConnectionsOutput) ToManagedKubernetesConnectionsPtrOutputWithContext(ctx context.Context) ManagedKubernetesConnectionsPtrOutput
- type ManagedKubernetesConnectionsPtrInput
- type ManagedKubernetesConnectionsPtrOutput
- func (o ManagedKubernetesConnectionsPtrOutput) ApiServerInternet() pulumi.StringPtrOutput
- func (o ManagedKubernetesConnectionsPtrOutput) ApiServerIntranet() pulumi.StringPtrOutput
- func (o ManagedKubernetesConnectionsPtrOutput) Elem() ManagedKubernetesConnectionsOutput
- func (ManagedKubernetesConnectionsPtrOutput) ElementType() reflect.Type
- func (o ManagedKubernetesConnectionsPtrOutput) MasterPublicIp() pulumi.StringPtrOutput
- func (o ManagedKubernetesConnectionsPtrOutput) ServiceDomain() pulumi.StringPtrOutput
- func (o ManagedKubernetesConnectionsPtrOutput) ToManagedKubernetesConnectionsPtrOutput() ManagedKubernetesConnectionsPtrOutput
- func (o ManagedKubernetesConnectionsPtrOutput) ToManagedKubernetesConnectionsPtrOutputWithContext(ctx context.Context) ManagedKubernetesConnectionsPtrOutput
- type ManagedKubernetesState
- type ManagedKubernetesWorkerDataDisk
- type ManagedKubernetesWorkerDataDiskArgs
- func (ManagedKubernetesWorkerDataDiskArgs) ElementType() reflect.Type
- func (i ManagedKubernetesWorkerDataDiskArgs) ToManagedKubernetesWorkerDataDiskOutput() ManagedKubernetesWorkerDataDiskOutput
- func (i ManagedKubernetesWorkerDataDiskArgs) ToManagedKubernetesWorkerDataDiskOutputWithContext(ctx context.Context) ManagedKubernetesWorkerDataDiskOutput
- type ManagedKubernetesWorkerDataDiskArray
- func (ManagedKubernetesWorkerDataDiskArray) ElementType() reflect.Type
- func (i ManagedKubernetesWorkerDataDiskArray) ToManagedKubernetesWorkerDataDiskArrayOutput() ManagedKubernetesWorkerDataDiskArrayOutput
- func (i ManagedKubernetesWorkerDataDiskArray) ToManagedKubernetesWorkerDataDiskArrayOutputWithContext(ctx context.Context) ManagedKubernetesWorkerDataDiskArrayOutput
- type ManagedKubernetesWorkerDataDiskArrayInput
- type ManagedKubernetesWorkerDataDiskArrayOutput
- func (ManagedKubernetesWorkerDataDiskArrayOutput) ElementType() reflect.Type
- func (o ManagedKubernetesWorkerDataDiskArrayOutput) Index(i pulumi.IntInput) ManagedKubernetesWorkerDataDiskOutput
- func (o ManagedKubernetesWorkerDataDiskArrayOutput) ToManagedKubernetesWorkerDataDiskArrayOutput() ManagedKubernetesWorkerDataDiskArrayOutput
- func (o ManagedKubernetesWorkerDataDiskArrayOutput) ToManagedKubernetesWorkerDataDiskArrayOutputWithContext(ctx context.Context) ManagedKubernetesWorkerDataDiskArrayOutput
- type ManagedKubernetesWorkerDataDiskInput
- type ManagedKubernetesWorkerDataDiskOutput
- func (o ManagedKubernetesWorkerDataDiskOutput) AutoSnapshotPolicyId() pulumi.StringPtrOutput
- func (o ManagedKubernetesWorkerDataDiskOutput) Category() pulumi.StringPtrOutput
- func (o ManagedKubernetesWorkerDataDiskOutput) Device() pulumi.StringPtrOutput
- func (ManagedKubernetesWorkerDataDiskOutput) ElementType() reflect.Type
- func (o ManagedKubernetesWorkerDataDiskOutput) Encrypted() pulumi.StringPtrOutput
- func (o ManagedKubernetesWorkerDataDiskOutput) KmsKeyId() pulumi.StringPtrOutput
- func (o ManagedKubernetesWorkerDataDiskOutput) Name() pulumi.StringPtrOutput
- func (o ManagedKubernetesWorkerDataDiskOutput) Size() pulumi.StringPtrOutput
- func (o ManagedKubernetesWorkerDataDiskOutput) SnapshotId() pulumi.StringPtrOutput
- func (o ManagedKubernetesWorkerDataDiskOutput) ToManagedKubernetesWorkerDataDiskOutput() ManagedKubernetesWorkerDataDiskOutput
- func (o ManagedKubernetesWorkerDataDiskOutput) ToManagedKubernetesWorkerDataDiskOutputWithContext(ctx context.Context) ManagedKubernetesWorkerDataDiskOutput
- type ManagedKubernetesWorkerNode
- type ManagedKubernetesWorkerNodeArgs
- func (ManagedKubernetesWorkerNodeArgs) ElementType() reflect.Type
- func (i ManagedKubernetesWorkerNodeArgs) ToManagedKubernetesWorkerNodeOutput() ManagedKubernetesWorkerNodeOutput
- func (i ManagedKubernetesWorkerNodeArgs) ToManagedKubernetesWorkerNodeOutputWithContext(ctx context.Context) ManagedKubernetesWorkerNodeOutput
- type ManagedKubernetesWorkerNodeArray
- func (ManagedKubernetesWorkerNodeArray) ElementType() reflect.Type
- func (i ManagedKubernetesWorkerNodeArray) ToManagedKubernetesWorkerNodeArrayOutput() ManagedKubernetesWorkerNodeArrayOutput
- func (i ManagedKubernetesWorkerNodeArray) ToManagedKubernetesWorkerNodeArrayOutputWithContext(ctx context.Context) ManagedKubernetesWorkerNodeArrayOutput
- type ManagedKubernetesWorkerNodeArrayInput
- type ManagedKubernetesWorkerNodeArrayOutput
- func (ManagedKubernetesWorkerNodeArrayOutput) ElementType() reflect.Type
- func (o ManagedKubernetesWorkerNodeArrayOutput) Index(i pulumi.IntInput) ManagedKubernetesWorkerNodeOutput
- func (o ManagedKubernetesWorkerNodeArrayOutput) ToManagedKubernetesWorkerNodeArrayOutput() ManagedKubernetesWorkerNodeArrayOutput
- func (o ManagedKubernetesWorkerNodeArrayOutput) ToManagedKubernetesWorkerNodeArrayOutputWithContext(ctx context.Context) ManagedKubernetesWorkerNodeArrayOutput
- type ManagedKubernetesWorkerNodeInput
- type ManagedKubernetesWorkerNodeOutput
- func (ManagedKubernetesWorkerNodeOutput) ElementType() reflect.Type
- func (o ManagedKubernetesWorkerNodeOutput) Id() pulumi.StringPtrOutput
- func (o ManagedKubernetesWorkerNodeOutput) Name() pulumi.StringPtrOutput
- func (o ManagedKubernetesWorkerNodeOutput) PrivateIp() pulumi.StringPtrOutput
- func (o ManagedKubernetesWorkerNodeOutput) ToManagedKubernetesWorkerNodeOutput() ManagedKubernetesWorkerNodeOutput
- func (o ManagedKubernetesWorkerNodeOutput) ToManagedKubernetesWorkerNodeOutputWithContext(ctx context.Context) ManagedKubernetesWorkerNodeOutput
- type NodePool
- type NodePoolArgs
- type NodePoolDataDisk
- type NodePoolDataDiskArgs
- type NodePoolDataDiskArray
- type NodePoolDataDiskArrayInput
- type NodePoolDataDiskArrayOutput
- func (NodePoolDataDiskArrayOutput) ElementType() reflect.Type
- func (o NodePoolDataDiskArrayOutput) Index(i pulumi.IntInput) NodePoolDataDiskOutput
- func (o NodePoolDataDiskArrayOutput) ToNodePoolDataDiskArrayOutput() NodePoolDataDiskArrayOutput
- func (o NodePoolDataDiskArrayOutput) ToNodePoolDataDiskArrayOutputWithContext(ctx context.Context) NodePoolDataDiskArrayOutput
- type NodePoolDataDiskInput
- type NodePoolDataDiskOutput
- func (o NodePoolDataDiskOutput) AutoSnapshotPolicyId() pulumi.StringPtrOutput
- func (o NodePoolDataDiskOutput) Category() pulumi.StringPtrOutput
- func (o NodePoolDataDiskOutput) Device() pulumi.StringPtrOutput
- func (NodePoolDataDiskOutput) ElementType() reflect.Type
- func (o NodePoolDataDiskOutput) Encrypted() pulumi.StringPtrOutput
- func (o NodePoolDataDiskOutput) KmsKeyId() pulumi.StringPtrOutput
- func (o NodePoolDataDiskOutput) Name() pulumi.StringPtrOutput
- func (o NodePoolDataDiskOutput) Size() pulumi.IntPtrOutput
- func (o NodePoolDataDiskOutput) SnapshotId() pulumi.StringPtrOutput
- func (o NodePoolDataDiskOutput) ToNodePoolDataDiskOutput() NodePoolDataDiskOutput
- func (o NodePoolDataDiskOutput) ToNodePoolDataDiskOutputWithContext(ctx context.Context) NodePoolDataDiskOutput
- type NodePoolLabel
- type NodePoolLabelArgs
- type NodePoolLabelArray
- type NodePoolLabelArrayInput
- type NodePoolLabelArrayOutput
- func (NodePoolLabelArrayOutput) ElementType() reflect.Type
- func (o NodePoolLabelArrayOutput) Index(i pulumi.IntInput) NodePoolLabelOutput
- func (o NodePoolLabelArrayOutput) ToNodePoolLabelArrayOutput() NodePoolLabelArrayOutput
- func (o NodePoolLabelArrayOutput) ToNodePoolLabelArrayOutputWithContext(ctx context.Context) NodePoolLabelArrayOutput
- type NodePoolLabelInput
- type NodePoolLabelOutput
- func (NodePoolLabelOutput) ElementType() reflect.Type
- func (o NodePoolLabelOutput) Key() pulumi.StringOutput
- func (o NodePoolLabelOutput) ToNodePoolLabelOutput() NodePoolLabelOutput
- func (o NodePoolLabelOutput) ToNodePoolLabelOutputWithContext(ctx context.Context) NodePoolLabelOutput
- func (o NodePoolLabelOutput) Value() pulumi.StringPtrOutput
- 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.StringPtrOutput
- 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.StringPtrOutput
- type RegistryEnterpriseNamespace
- type RegistryEnterpriseNamespaceArgs
- type RegistryEnterpriseNamespaceState
- type RegistryEnterpriseRepo
- type RegistryEnterpriseRepoArgs
- type RegistryEnterpriseRepoState
- type RegistryEnterpriseSyncRule
- type RegistryEnterpriseSyncRuleArgs
- type RegistryEnterpriseSyncRuleState
- type ServerlessKubernetes
- type ServerlessKubernetesAddon
- type ServerlessKubernetesAddonArgs
- func (ServerlessKubernetesAddonArgs) ElementType() reflect.Type
- func (i ServerlessKubernetesAddonArgs) ToServerlessKubernetesAddonOutput() ServerlessKubernetesAddonOutput
- func (i ServerlessKubernetesAddonArgs) ToServerlessKubernetesAddonOutputWithContext(ctx context.Context) ServerlessKubernetesAddonOutput
- type ServerlessKubernetesAddonArray
- func (ServerlessKubernetesAddonArray) ElementType() reflect.Type
- func (i ServerlessKubernetesAddonArray) ToServerlessKubernetesAddonArrayOutput() ServerlessKubernetesAddonArrayOutput
- func (i ServerlessKubernetesAddonArray) ToServerlessKubernetesAddonArrayOutputWithContext(ctx context.Context) ServerlessKubernetesAddonArrayOutput
- type ServerlessKubernetesAddonArrayInput
- type ServerlessKubernetesAddonArrayOutput
- func (ServerlessKubernetesAddonArrayOutput) ElementType() reflect.Type
- func (o ServerlessKubernetesAddonArrayOutput) Index(i pulumi.IntInput) ServerlessKubernetesAddonOutput
- func (o ServerlessKubernetesAddonArrayOutput) ToServerlessKubernetesAddonArrayOutput() ServerlessKubernetesAddonArrayOutput
- func (o ServerlessKubernetesAddonArrayOutput) ToServerlessKubernetesAddonArrayOutputWithContext(ctx context.Context) ServerlessKubernetesAddonArrayOutput
- type ServerlessKubernetesAddonInput
- type ServerlessKubernetesAddonOutput
- func (o ServerlessKubernetesAddonOutput) Config() pulumi.StringPtrOutput
- func (o ServerlessKubernetesAddonOutput) Disabled() pulumi.BoolPtrOutput
- func (ServerlessKubernetesAddonOutput) ElementType() reflect.Type
- func (o ServerlessKubernetesAddonOutput) Name() pulumi.StringPtrOutput
- func (o ServerlessKubernetesAddonOutput) ToServerlessKubernetesAddonOutput() ServerlessKubernetesAddonOutput
- func (o ServerlessKubernetesAddonOutput) ToServerlessKubernetesAddonOutputWithContext(ctx context.Context) ServerlessKubernetesAddonOutput
- type ServerlessKubernetesArgs
- type ServerlessKubernetesState
- type Swarm
- type SwarmArgs
- type SwarmNode
- type SwarmNodeArgs
- type SwarmNodeArray
- type SwarmNodeArrayInput
- type SwarmNodeArrayOutput
- func (SwarmNodeArrayOutput) ElementType() reflect.Type
- func (o SwarmNodeArrayOutput) Index(i pulumi.IntInput) SwarmNodeOutput
- func (o SwarmNodeArrayOutput) ToSwarmNodeArrayOutput() SwarmNodeArrayOutput
- func (o SwarmNodeArrayOutput) ToSwarmNodeArrayOutputWithContext(ctx context.Context) SwarmNodeArrayOutput
- type SwarmNodeInput
- type SwarmNodeOutput
- func (o SwarmNodeOutput) Eip() pulumi.StringPtrOutput
- func (SwarmNodeOutput) ElementType() reflect.Type
- func (o SwarmNodeOutput) Id() pulumi.StringPtrOutput
- func (o SwarmNodeOutput) Name() pulumi.StringPtrOutput
- func (o SwarmNodeOutput) PrivateIp() pulumi.StringPtrOutput
- func (o SwarmNodeOutput) Status() pulumi.StringPtrOutput
- func (o SwarmNodeOutput) ToSwarmNodeOutput() SwarmNodeOutput
- func (o SwarmNodeOutput) ToSwarmNodeOutputWithContext(ctx context.Context) SwarmNodeOutput
- type SwarmState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { pulumi.CustomResourceState // Wherther to use "Blue Green" method when release a new version. Default to false. BlueGreen pulumi.BoolPtrOutput `pulumi:"blueGreen"` // Whether to confirm a "Blue Green" application. Default to false. It will be ignored when `blueGreen` is false. BlueGreenConfirm pulumi.BoolPtrOutput `pulumi:"blueGreenConfirm"` // The swarm cluster's name. ClusterName pulumi.StringOutput `pulumi:"clusterName"` // The application default domain and it can be used to configure routing service. DefaultDomain pulumi.StringOutput `pulumi:"defaultDomain"` // The description of application. Description pulumi.StringPtrOutput `pulumi:"description"` // A key/value map used to replace the variable parameter in the Compose template. Environment pulumi.MapOutput `pulumi:"environment"` // Whether to use latest docker image while each updating application. Default to false. LatestImage pulumi.BoolPtrOutput `pulumi:"latestImage"` // The application name. It should be 1-64 characters long, and can contain numbers, English letters and hyphens, but cannot start with hyphens. Name pulumi.StringOutput `pulumi:"name"` // List of services in the application. It contains several attributes to `Block Nodes`. Services ApplicationServiceArrayOutput `pulumi:"services"` // The application deployment template and it must be [Docker Compose format](https://docs.docker.com/compose/). Template pulumi.StringOutput `pulumi:"template"` // The application deploying version. Each updating, it must be different with current. Default to "1.0" Version pulumi.StringPtrOutput `pulumi:"version"` }
> **DEPRECATED:** This resource manages applications in swarm cluster only, which is being deprecated and will be replaced by Kubernetes cluster.
This resource use an orchestration template to define and deploy a multi-container application. An application is created by using an orchestration template. Each application can contain one or more services.
> **NOTE:** Application orchestration template must be a valid Docker Compose YAML template.
> **NOTE:** At present, this resource only support swarm cluster.
func GetApplication ¶
func GetApplication(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ApplicationState, opts ...pulumi.ResourceOption) (*Application, error)
GetApplication gets an existing Application 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 NewApplication ¶
func NewApplication(ctx *pulumi.Context, name string, args *ApplicationArgs, opts ...pulumi.ResourceOption) (*Application, error)
NewApplication registers a new resource with the given unique name, arguments, and options.
type ApplicationArgs ¶
type ApplicationArgs struct { // Wherther to use "Blue Green" method when release a new version. Default to false. BlueGreen pulumi.BoolPtrInput // Whether to confirm a "Blue Green" application. Default to false. It will be ignored when `blueGreen` is false. BlueGreenConfirm pulumi.BoolPtrInput // The swarm cluster's name. ClusterName pulumi.StringInput // The description of application. Description pulumi.StringPtrInput // A key/value map used to replace the variable parameter in the Compose template. Environment pulumi.MapInput // Whether to use latest docker image while each updating application. Default to false. LatestImage pulumi.BoolPtrInput // The application name. It should be 1-64 characters long, and can contain numbers, English letters and hyphens, but cannot start with hyphens. Name pulumi.StringPtrInput // The application deployment template and it must be [Docker Compose format](https://docs.docker.com/compose/). Template pulumi.StringInput // The application deploying version. Each updating, it must be different with current. Default to "1.0" Version pulumi.StringPtrInput }
The set of arguments for constructing a Application resource.
func (ApplicationArgs) ElementType ¶
func (ApplicationArgs) ElementType() reflect.Type
type ApplicationService ¶
type ApplicationService struct { // ID of the service. Id *string `pulumi:"id"` // The application name. It should be 1-64 characters long, and can contain numbers, English letters and hyphens, but cannot start with hyphens. Name *string `pulumi:"name"` // The current status of service. Status *string `pulumi:"status"` // The application deploying version. Each updating, it must be different with current. Default to "1.0" Version *string `pulumi:"version"` }
type ApplicationServiceArgs ¶
type ApplicationServiceArgs struct { // ID of the service. Id pulumi.StringPtrInput `pulumi:"id"` // The application name. It should be 1-64 characters long, and can contain numbers, English letters and hyphens, but cannot start with hyphens. Name pulumi.StringPtrInput `pulumi:"name"` // The current status of service. Status pulumi.StringPtrInput `pulumi:"status"` // The application deploying version. Each updating, it must be different with current. Default to "1.0" Version pulumi.StringPtrInput `pulumi:"version"` }
func (ApplicationServiceArgs) ElementType ¶
func (ApplicationServiceArgs) ElementType() reflect.Type
func (ApplicationServiceArgs) ToApplicationServiceOutput ¶
func (i ApplicationServiceArgs) ToApplicationServiceOutput() ApplicationServiceOutput
func (ApplicationServiceArgs) ToApplicationServiceOutputWithContext ¶
func (i ApplicationServiceArgs) ToApplicationServiceOutputWithContext(ctx context.Context) ApplicationServiceOutput
type ApplicationServiceArray ¶
type ApplicationServiceArray []ApplicationServiceInput
func (ApplicationServiceArray) ElementType ¶
func (ApplicationServiceArray) ElementType() reflect.Type
func (ApplicationServiceArray) ToApplicationServiceArrayOutput ¶
func (i ApplicationServiceArray) ToApplicationServiceArrayOutput() ApplicationServiceArrayOutput
func (ApplicationServiceArray) ToApplicationServiceArrayOutputWithContext ¶
func (i ApplicationServiceArray) ToApplicationServiceArrayOutputWithContext(ctx context.Context) ApplicationServiceArrayOutput
type ApplicationServiceArrayInput ¶
type ApplicationServiceArrayInput interface { pulumi.Input ToApplicationServiceArrayOutput() ApplicationServiceArrayOutput ToApplicationServiceArrayOutputWithContext(context.Context) ApplicationServiceArrayOutput }
ApplicationServiceArrayInput is an input type that accepts ApplicationServiceArray and ApplicationServiceArrayOutput values. You can construct a concrete instance of `ApplicationServiceArrayInput` via:
ApplicationServiceArray{ ApplicationServiceArgs{...} }
type ApplicationServiceArrayOutput ¶
type ApplicationServiceArrayOutput struct{ *pulumi.OutputState }
func (ApplicationServiceArrayOutput) ElementType ¶
func (ApplicationServiceArrayOutput) ElementType() reflect.Type
func (ApplicationServiceArrayOutput) Index ¶
func (o ApplicationServiceArrayOutput) Index(i pulumi.IntInput) ApplicationServiceOutput
func (ApplicationServiceArrayOutput) ToApplicationServiceArrayOutput ¶
func (o ApplicationServiceArrayOutput) ToApplicationServiceArrayOutput() ApplicationServiceArrayOutput
func (ApplicationServiceArrayOutput) ToApplicationServiceArrayOutputWithContext ¶
func (o ApplicationServiceArrayOutput) ToApplicationServiceArrayOutputWithContext(ctx context.Context) ApplicationServiceArrayOutput
type ApplicationServiceInput ¶
type ApplicationServiceInput interface { pulumi.Input ToApplicationServiceOutput() ApplicationServiceOutput ToApplicationServiceOutputWithContext(context.Context) ApplicationServiceOutput }
ApplicationServiceInput is an input type that accepts ApplicationServiceArgs and ApplicationServiceOutput values. You can construct a concrete instance of `ApplicationServiceInput` via:
ApplicationServiceArgs{...}
type ApplicationServiceOutput ¶
type ApplicationServiceOutput struct{ *pulumi.OutputState }
func (ApplicationServiceOutput) ElementType ¶
func (ApplicationServiceOutput) ElementType() reflect.Type
func (ApplicationServiceOutput) Id ¶
func (o ApplicationServiceOutput) Id() pulumi.StringPtrOutput
ID of the service.
func (ApplicationServiceOutput) Name ¶
func (o ApplicationServiceOutput) Name() pulumi.StringPtrOutput
The application name. It should be 1-64 characters long, and can contain numbers, English letters and hyphens, but cannot start with hyphens.
func (ApplicationServiceOutput) Status ¶
func (o ApplicationServiceOutput) Status() pulumi.StringPtrOutput
The current status of service.
func (ApplicationServiceOutput) ToApplicationServiceOutput ¶
func (o ApplicationServiceOutput) ToApplicationServiceOutput() ApplicationServiceOutput
func (ApplicationServiceOutput) ToApplicationServiceOutputWithContext ¶
func (o ApplicationServiceOutput) ToApplicationServiceOutputWithContext(ctx context.Context) ApplicationServiceOutput
func (ApplicationServiceOutput) Version ¶
func (o ApplicationServiceOutput) Version() pulumi.StringPtrOutput
The application deploying version. Each updating, it must be different with current. Default to "1.0"
type ApplicationState ¶
type ApplicationState struct { // Wherther to use "Blue Green" method when release a new version. Default to false. BlueGreen pulumi.BoolPtrInput // Whether to confirm a "Blue Green" application. Default to false. It will be ignored when `blueGreen` is false. BlueGreenConfirm pulumi.BoolPtrInput // The swarm cluster's name. ClusterName pulumi.StringPtrInput // The application default domain and it can be used to configure routing service. DefaultDomain pulumi.StringPtrInput // The description of application. Description pulumi.StringPtrInput // A key/value map used to replace the variable parameter in the Compose template. Environment pulumi.MapInput // Whether to use latest docker image while each updating application. Default to false. LatestImage pulumi.BoolPtrInput // The application name. It should be 1-64 characters long, and can contain numbers, English letters and hyphens, but cannot start with hyphens. Name pulumi.StringPtrInput // List of services in the application. It contains several attributes to `Block Nodes`. Services ApplicationServiceArrayInput // The application deployment template and it must be [Docker Compose format](https://docs.docker.com/compose/). Template pulumi.StringPtrInput // The application deploying version. Each updating, it must be different with current. Default to "1.0" Version pulumi.StringPtrInput }
func (ApplicationState) ElementType ¶
func (ApplicationState) ElementType() reflect.Type
type Cluster ¶
type Cluster struct { pulumi.CustomResourceState AgentVersion pulumi.StringOutput `pulumi:"agentVersion"` CidrBlock pulumi.StringOutput `pulumi:"cidrBlock"` DiskCategory pulumi.StringPtrOutput `pulumi:"diskCategory"` DiskSize pulumi.IntPtrOutput `pulumi:"diskSize"` ImageId pulumi.StringPtrOutput `pulumi:"imageId"` InstanceType pulumi.StringOutput `pulumi:"instanceType"` IsOutdated pulumi.BoolPtrOutput `pulumi:"isOutdated"` Name pulumi.StringOutput `pulumi:"name"` NamePrefix pulumi.StringPtrOutput `pulumi:"namePrefix"` NeedSlb pulumi.BoolPtrOutput `pulumi:"needSlb"` NodeNumber pulumi.IntPtrOutput `pulumi:"nodeNumber"` Nodes ClusterNodeArrayOutput `pulumi:"nodes"` Password pulumi.StringOutput `pulumi:"password"` ReleaseEip pulumi.BoolPtrOutput `pulumi:"releaseEip"` SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"` // Deprecated: Field 'size' has been deprecated from provider version 1.9.1. New field 'node_number' replaces it. Size pulumi.IntPtrOutput `pulumi:"size"` SlbId pulumi.StringOutput `pulumi:"slbId"` VpcId pulumi.StringOutput `pulumi:"vpcId"` VswitchId pulumi.StringOutput `pulumi:"vswitchId"` }
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.
type ClusterArgs ¶
type ClusterArgs struct { CidrBlock pulumi.StringInput DiskCategory pulumi.StringPtrInput DiskSize pulumi.IntPtrInput ImageId pulumi.StringPtrInput InstanceType pulumi.StringInput IsOutdated pulumi.BoolPtrInput Name pulumi.StringPtrInput NamePrefix pulumi.StringPtrInput NeedSlb pulumi.BoolPtrInput NodeNumber pulumi.IntPtrInput Password pulumi.StringInput ReleaseEip pulumi.BoolPtrInput // Deprecated: Field 'size' has been deprecated from provider version 1.9.1. New field 'node_number' replaces it. Size pulumi.IntPtrInput VswitchId pulumi.StringInput }
The set of arguments for constructing a Cluster resource.
func (ClusterArgs) ElementType ¶
func (ClusterArgs) ElementType() reflect.Type
type ClusterNode ¶
type ClusterNodeArgs ¶
type ClusterNodeArgs struct { Eip pulumi.StringPtrInput `pulumi:"eip"` Id pulumi.StringPtrInput `pulumi:"id"` Name pulumi.StringPtrInput `pulumi:"name"` PrivateIp pulumi.StringPtrInput `pulumi:"privateIp"` Status pulumi.StringPtrInput `pulumi:"status"` }
func (ClusterNodeArgs) ElementType ¶
func (ClusterNodeArgs) ElementType() reflect.Type
func (ClusterNodeArgs) ToClusterNodeOutput ¶
func (i ClusterNodeArgs) ToClusterNodeOutput() ClusterNodeOutput
func (ClusterNodeArgs) ToClusterNodeOutputWithContext ¶
func (i ClusterNodeArgs) ToClusterNodeOutputWithContext(ctx context.Context) ClusterNodeOutput
type ClusterNodeArray ¶
type ClusterNodeArray []ClusterNodeInput
func (ClusterNodeArray) ElementType ¶
func (ClusterNodeArray) ElementType() reflect.Type
func (ClusterNodeArray) ToClusterNodeArrayOutput ¶
func (i ClusterNodeArray) ToClusterNodeArrayOutput() ClusterNodeArrayOutput
func (ClusterNodeArray) ToClusterNodeArrayOutputWithContext ¶
func (i ClusterNodeArray) ToClusterNodeArrayOutputWithContext(ctx context.Context) ClusterNodeArrayOutput
type ClusterNodeArrayInput ¶
type ClusterNodeArrayInput interface { pulumi.Input ToClusterNodeArrayOutput() ClusterNodeArrayOutput ToClusterNodeArrayOutputWithContext(context.Context) ClusterNodeArrayOutput }
ClusterNodeArrayInput is an input type that accepts ClusterNodeArray and ClusterNodeArrayOutput values. You can construct a concrete instance of `ClusterNodeArrayInput` via:
ClusterNodeArray{ ClusterNodeArgs{...} }
type ClusterNodeArrayOutput ¶
type ClusterNodeArrayOutput struct{ *pulumi.OutputState }
func (ClusterNodeArrayOutput) ElementType ¶
func (ClusterNodeArrayOutput) ElementType() reflect.Type
func (ClusterNodeArrayOutput) Index ¶
func (o ClusterNodeArrayOutput) Index(i pulumi.IntInput) ClusterNodeOutput
func (ClusterNodeArrayOutput) ToClusterNodeArrayOutput ¶
func (o ClusterNodeArrayOutput) ToClusterNodeArrayOutput() ClusterNodeArrayOutput
func (ClusterNodeArrayOutput) ToClusterNodeArrayOutputWithContext ¶
func (o ClusterNodeArrayOutput) ToClusterNodeArrayOutputWithContext(ctx context.Context) ClusterNodeArrayOutput
type ClusterNodeInput ¶
type ClusterNodeInput interface { pulumi.Input ToClusterNodeOutput() ClusterNodeOutput ToClusterNodeOutputWithContext(context.Context) ClusterNodeOutput }
ClusterNodeInput is an input type that accepts ClusterNodeArgs and ClusterNodeOutput values. You can construct a concrete instance of `ClusterNodeInput` via:
ClusterNodeArgs{...}
type ClusterNodeOutput ¶
type ClusterNodeOutput struct{ *pulumi.OutputState }
func (ClusterNodeOutput) Eip ¶
func (o ClusterNodeOutput) Eip() pulumi.StringPtrOutput
func (ClusterNodeOutput) ElementType ¶
func (ClusterNodeOutput) ElementType() reflect.Type
func (ClusterNodeOutput) Id ¶
func (o ClusterNodeOutput) Id() pulumi.StringPtrOutput
func (ClusterNodeOutput) Name ¶
func (o ClusterNodeOutput) Name() pulumi.StringPtrOutput
func (ClusterNodeOutput) PrivateIp ¶
func (o ClusterNodeOutput) PrivateIp() pulumi.StringPtrOutput
func (ClusterNodeOutput) Status ¶
func (o ClusterNodeOutput) Status() pulumi.StringPtrOutput
func (ClusterNodeOutput) ToClusterNodeOutput ¶
func (o ClusterNodeOutput) ToClusterNodeOutput() ClusterNodeOutput
func (ClusterNodeOutput) ToClusterNodeOutputWithContext ¶
func (o ClusterNodeOutput) ToClusterNodeOutputWithContext(ctx context.Context) ClusterNodeOutput
type ClusterState ¶
type ClusterState struct { AgentVersion pulumi.StringPtrInput CidrBlock pulumi.StringPtrInput DiskCategory pulumi.StringPtrInput DiskSize pulumi.IntPtrInput ImageId pulumi.StringPtrInput InstanceType pulumi.StringPtrInput IsOutdated pulumi.BoolPtrInput Name pulumi.StringPtrInput NamePrefix pulumi.StringPtrInput NeedSlb pulumi.BoolPtrInput NodeNumber pulumi.IntPtrInput Nodes ClusterNodeArrayInput Password pulumi.StringPtrInput ReleaseEip pulumi.BoolPtrInput SecurityGroupId pulumi.StringPtrInput // Deprecated: Field 'size' has been deprecated from provider version 1.9.1. New field 'node_number' replaces it. Size pulumi.IntPtrInput SlbId pulumi.StringPtrInput VpcId pulumi.StringPtrInput VswitchId pulumi.StringPtrInput }
func (ClusterState) ElementType ¶
func (ClusterState) ElementType() reflect.Type
type GetKubernetesClustersArgs ¶
type GetKubernetesClustersArgs struct { EnableDetails *bool `pulumi:"enableDetails"` // Cluster IDs to filter. Ids []string `pulumi:"ids"` // A regex string to filter results by cluster name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getKubernetesClusters.
type GetKubernetesClustersCluster ¶
type GetKubernetesClustersCluster struct { // The ID of availability zone. AvailabilityZone string `pulumi:"availabilityZone"` ClusterNetworkType string `pulumi:"clusterNetworkType"` // Map of kubernetes cluster connection information. It contains several attributes to `Block Connections`. Connections GetKubernetesClustersClusterConnections `pulumi:"connections"` // ID of the node. Id string `pulumi:"id"` // The ID of node image. ImageId string `pulumi:"imageId"` // The keypair of ssh login cluster node, you have to create it first. KeyName string `pulumi:"keyName"` // A list of one element containing information about the associated log store. It contains the following attributes: LogConfigs []GetKubernetesClustersClusterLogConfig `pulumi:"logConfigs"` MasterAutoRenew bool `pulumi:"masterAutoRenew"` MasterAutoRenewPeriod int `pulumi:"masterAutoRenewPeriod"` // The system disk category of master node. MasterDiskCategory string `pulumi:"masterDiskCategory"` // The system disk size of master node. MasterDiskSize int `pulumi:"masterDiskSize"` MasterInstanceChargeType string `pulumi:"masterInstanceChargeType"` // The instance type of master node. MasterInstanceTypes []string `pulumi:"masterInstanceTypes"` // List of cluster master nodes. It contains several attributes to `Block Nodes`. MasterNodes []GetKubernetesClustersClusterMasterNode `pulumi:"masterNodes"` MasterPeriod int `pulumi:"masterPeriod"` MasterPeriodUnit string `pulumi:"masterPeriodUnit"` // Node name. Name string `pulumi:"name"` // The ID of nat gateway used to launch kubernetes cluster. NatGatewayId string `pulumi:"natGatewayId"` // The network mask used on pods for each node. NodeCidrMask int `pulumi:"nodeCidrMask"` PodCidr string `pulumi:"podCidr"` // The ID of security group where the current cluster worker node is located. SecurityGroupId string `pulumi:"securityGroupId"` ServiceCidr string `pulumi:"serviceCidr"` // Whether internet load balancer for API Server is created SlbInternetEnabled bool `pulumi:"slbInternetEnabled"` // The ID of VPC where the current cluster is located. VpcId string `pulumi:"vpcId"` // The ID of VSwitches where the current cluster is located. VswitchIds []string `pulumi:"vswitchIds"` WorkerAutoRenew bool `pulumi:"workerAutoRenew"` WorkerAutoRenewPeriod int `pulumi:"workerAutoRenewPeriod"` // The data disk size of worker node. WorkerDataDiskCategory string `pulumi:"workerDataDiskCategory"` // The data disk category of worker node. WorkerDataDiskSize int `pulumi:"workerDataDiskSize"` // The system disk category of worker node. WorkerDiskCategory string `pulumi:"workerDiskCategory"` // The system disk size of worker node. WorkerDiskSize int `pulumi:"workerDiskSize"` WorkerInstanceChargeType string `pulumi:"workerInstanceChargeType"` // The instance type of worker node. WorkerInstanceTypes []string `pulumi:"workerInstanceTypes"` // List of cluster worker nodes. It contains several attributes to `Block Nodes`. WorkerNodes []GetKubernetesClustersClusterWorkerNode `pulumi:"workerNodes"` // The ECS instance node number in the current container cluster. WorkerNumbers []int `pulumi:"workerNumbers"` WorkerPeriod int `pulumi:"workerPeriod"` WorkerPeriodUnit string `pulumi:"workerPeriodUnit"` }
type GetKubernetesClustersClusterArgs ¶
type GetKubernetesClustersClusterArgs struct { // The ID of availability zone. AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"` ClusterNetworkType pulumi.StringInput `pulumi:"clusterNetworkType"` // Map of kubernetes cluster connection information. It contains several attributes to `Block Connections`. Connections GetKubernetesClustersClusterConnectionsInput `pulumi:"connections"` // ID of the node. Id pulumi.StringInput `pulumi:"id"` // The ID of node image. ImageId pulumi.StringInput `pulumi:"imageId"` // The keypair of ssh login cluster node, you have to create it first. KeyName pulumi.StringInput `pulumi:"keyName"` // A list of one element containing information about the associated log store. It contains the following attributes: LogConfigs GetKubernetesClustersClusterLogConfigArrayInput `pulumi:"logConfigs"` MasterAutoRenew pulumi.BoolInput `pulumi:"masterAutoRenew"` MasterAutoRenewPeriod pulumi.IntInput `pulumi:"masterAutoRenewPeriod"` // The system disk category of master node. MasterDiskCategory pulumi.StringInput `pulumi:"masterDiskCategory"` // The system disk size of master node. MasterDiskSize pulumi.IntInput `pulumi:"masterDiskSize"` MasterInstanceChargeType pulumi.StringInput `pulumi:"masterInstanceChargeType"` // The instance type of master node. MasterInstanceTypes pulumi.StringArrayInput `pulumi:"masterInstanceTypes"` // List of cluster master nodes. It contains several attributes to `Block Nodes`. MasterNodes GetKubernetesClustersClusterMasterNodeArrayInput `pulumi:"masterNodes"` MasterPeriod pulumi.IntInput `pulumi:"masterPeriod"` MasterPeriodUnit pulumi.StringInput `pulumi:"masterPeriodUnit"` // Node name. Name pulumi.StringInput `pulumi:"name"` // The ID of nat gateway used to launch kubernetes cluster. NatGatewayId pulumi.StringInput `pulumi:"natGatewayId"` // The network mask used on pods for each node. NodeCidrMask pulumi.IntInput `pulumi:"nodeCidrMask"` PodCidr pulumi.StringInput `pulumi:"podCidr"` // The ID of security group where the current cluster worker node is located. SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"` ServiceCidr pulumi.StringInput `pulumi:"serviceCidr"` // Whether internet load balancer for API Server is created SlbInternetEnabled pulumi.BoolInput `pulumi:"slbInternetEnabled"` // The ID of VPC where the current cluster is located. VpcId pulumi.StringInput `pulumi:"vpcId"` // The ID of VSwitches where the current cluster is located. VswitchIds pulumi.StringArrayInput `pulumi:"vswitchIds"` WorkerAutoRenew pulumi.BoolInput `pulumi:"workerAutoRenew"` WorkerAutoRenewPeriod pulumi.IntInput `pulumi:"workerAutoRenewPeriod"` // The data disk size of worker node. WorkerDataDiskCategory pulumi.StringInput `pulumi:"workerDataDiskCategory"` // The data disk category of worker node. WorkerDataDiskSize pulumi.IntInput `pulumi:"workerDataDiskSize"` // The system disk category of worker node. WorkerDiskCategory pulumi.StringInput `pulumi:"workerDiskCategory"` // The system disk size of worker node. WorkerDiskSize pulumi.IntInput `pulumi:"workerDiskSize"` WorkerInstanceChargeType pulumi.StringInput `pulumi:"workerInstanceChargeType"` // The instance type of worker node. WorkerInstanceTypes pulumi.StringArrayInput `pulumi:"workerInstanceTypes"` // List of cluster worker nodes. It contains several attributes to `Block Nodes`. WorkerNodes GetKubernetesClustersClusterWorkerNodeArrayInput `pulumi:"workerNodes"` // The ECS instance node number in the current container cluster. WorkerNumbers pulumi.IntArrayInput `pulumi:"workerNumbers"` WorkerPeriod pulumi.IntInput `pulumi:"workerPeriod"` WorkerPeriodUnit pulumi.StringInput `pulumi:"workerPeriodUnit"` }
func (GetKubernetesClustersClusterArgs) ElementType ¶
func (GetKubernetesClustersClusterArgs) ElementType() reflect.Type
func (GetKubernetesClustersClusterArgs) ToGetKubernetesClustersClusterOutput ¶
func (i GetKubernetesClustersClusterArgs) ToGetKubernetesClustersClusterOutput() GetKubernetesClustersClusterOutput
func (GetKubernetesClustersClusterArgs) ToGetKubernetesClustersClusterOutputWithContext ¶
func (i GetKubernetesClustersClusterArgs) ToGetKubernetesClustersClusterOutputWithContext(ctx context.Context) GetKubernetesClustersClusterOutput
type GetKubernetesClustersClusterArray ¶
type GetKubernetesClustersClusterArray []GetKubernetesClustersClusterInput
func (GetKubernetesClustersClusterArray) ElementType ¶
func (GetKubernetesClustersClusterArray) ElementType() reflect.Type
func (GetKubernetesClustersClusterArray) ToGetKubernetesClustersClusterArrayOutput ¶
func (i GetKubernetesClustersClusterArray) ToGetKubernetesClustersClusterArrayOutput() GetKubernetesClustersClusterArrayOutput
func (GetKubernetesClustersClusterArray) ToGetKubernetesClustersClusterArrayOutputWithContext ¶
func (i GetKubernetesClustersClusterArray) ToGetKubernetesClustersClusterArrayOutputWithContext(ctx context.Context) GetKubernetesClustersClusterArrayOutput
type GetKubernetesClustersClusterArrayInput ¶
type GetKubernetesClustersClusterArrayInput interface { pulumi.Input ToGetKubernetesClustersClusterArrayOutput() GetKubernetesClustersClusterArrayOutput ToGetKubernetesClustersClusterArrayOutputWithContext(context.Context) GetKubernetesClustersClusterArrayOutput }
GetKubernetesClustersClusterArrayInput is an input type that accepts GetKubernetesClustersClusterArray and GetKubernetesClustersClusterArrayOutput values. You can construct a concrete instance of `GetKubernetesClustersClusterArrayInput` via:
GetKubernetesClustersClusterArray{ GetKubernetesClustersClusterArgs{...} }
type GetKubernetesClustersClusterArrayOutput ¶
type GetKubernetesClustersClusterArrayOutput struct{ *pulumi.OutputState }
func (GetKubernetesClustersClusterArrayOutput) ElementType ¶
func (GetKubernetesClustersClusterArrayOutput) ElementType() reflect.Type
func (GetKubernetesClustersClusterArrayOutput) ToGetKubernetesClustersClusterArrayOutput ¶
func (o GetKubernetesClustersClusterArrayOutput) ToGetKubernetesClustersClusterArrayOutput() GetKubernetesClustersClusterArrayOutput
func (GetKubernetesClustersClusterArrayOutput) ToGetKubernetesClustersClusterArrayOutputWithContext ¶
func (o GetKubernetesClustersClusterArrayOutput) ToGetKubernetesClustersClusterArrayOutputWithContext(ctx context.Context) GetKubernetesClustersClusterArrayOutput
type GetKubernetesClustersClusterConnections ¶
type GetKubernetesClustersClusterConnections struct { // API Server Internet endpoint. ApiServerInternet string `pulumi:"apiServerInternet"` // API Server Intranet endpoint. ApiServerIntranet string `pulumi:"apiServerIntranet"` // Master node SSH IP address. MasterPublicIp string `pulumi:"masterPublicIp"` // Service Access Domain. ServiceDomain string `pulumi:"serviceDomain"` }
type GetKubernetesClustersClusterConnectionsArgs ¶
type GetKubernetesClustersClusterConnectionsArgs struct { // API Server Internet endpoint. ApiServerInternet pulumi.StringInput `pulumi:"apiServerInternet"` // API Server Intranet endpoint. ApiServerIntranet pulumi.StringInput `pulumi:"apiServerIntranet"` // Master node SSH IP address. MasterPublicIp pulumi.StringInput `pulumi:"masterPublicIp"` // Service Access Domain. ServiceDomain pulumi.StringInput `pulumi:"serviceDomain"` }
func (GetKubernetesClustersClusterConnectionsArgs) ElementType ¶
func (GetKubernetesClustersClusterConnectionsArgs) ElementType() reflect.Type
func (GetKubernetesClustersClusterConnectionsArgs) ToGetKubernetesClustersClusterConnectionsOutput ¶
func (i GetKubernetesClustersClusterConnectionsArgs) ToGetKubernetesClustersClusterConnectionsOutput() GetKubernetesClustersClusterConnectionsOutput
func (GetKubernetesClustersClusterConnectionsArgs) ToGetKubernetesClustersClusterConnectionsOutputWithContext ¶
func (i GetKubernetesClustersClusterConnectionsArgs) ToGetKubernetesClustersClusterConnectionsOutputWithContext(ctx context.Context) GetKubernetesClustersClusterConnectionsOutput
type GetKubernetesClustersClusterConnectionsInput ¶
type GetKubernetesClustersClusterConnectionsInput interface { pulumi.Input ToGetKubernetesClustersClusterConnectionsOutput() GetKubernetesClustersClusterConnectionsOutput ToGetKubernetesClustersClusterConnectionsOutputWithContext(context.Context) GetKubernetesClustersClusterConnectionsOutput }
GetKubernetesClustersClusterConnectionsInput is an input type that accepts GetKubernetesClustersClusterConnectionsArgs and GetKubernetesClustersClusterConnectionsOutput values. You can construct a concrete instance of `GetKubernetesClustersClusterConnectionsInput` via:
GetKubernetesClustersClusterConnectionsArgs{...}
type GetKubernetesClustersClusterConnectionsOutput ¶
type GetKubernetesClustersClusterConnectionsOutput struct{ *pulumi.OutputState }
func (GetKubernetesClustersClusterConnectionsOutput) ApiServerInternet ¶
func (o GetKubernetesClustersClusterConnectionsOutput) ApiServerInternet() pulumi.StringOutput
API Server Internet endpoint.
func (GetKubernetesClustersClusterConnectionsOutput) ApiServerIntranet ¶
func (o GetKubernetesClustersClusterConnectionsOutput) ApiServerIntranet() pulumi.StringOutput
API Server Intranet endpoint.
func (GetKubernetesClustersClusterConnectionsOutput) ElementType ¶
func (GetKubernetesClustersClusterConnectionsOutput) ElementType() reflect.Type
func (GetKubernetesClustersClusterConnectionsOutput) MasterPublicIp ¶
func (o GetKubernetesClustersClusterConnectionsOutput) MasterPublicIp() pulumi.StringOutput
Master node SSH IP address.
func (GetKubernetesClustersClusterConnectionsOutput) ServiceDomain ¶
func (o GetKubernetesClustersClusterConnectionsOutput) ServiceDomain() pulumi.StringOutput
Service Access Domain.
func (GetKubernetesClustersClusterConnectionsOutput) ToGetKubernetesClustersClusterConnectionsOutput ¶
func (o GetKubernetesClustersClusterConnectionsOutput) ToGetKubernetesClustersClusterConnectionsOutput() GetKubernetesClustersClusterConnectionsOutput
func (GetKubernetesClustersClusterConnectionsOutput) ToGetKubernetesClustersClusterConnectionsOutputWithContext ¶
func (o GetKubernetesClustersClusterConnectionsOutput) ToGetKubernetesClustersClusterConnectionsOutputWithContext(ctx context.Context) GetKubernetesClustersClusterConnectionsOutput
type GetKubernetesClustersClusterInput ¶
type GetKubernetesClustersClusterInput interface { pulumi.Input ToGetKubernetesClustersClusterOutput() GetKubernetesClustersClusterOutput ToGetKubernetesClustersClusterOutputWithContext(context.Context) GetKubernetesClustersClusterOutput }
GetKubernetesClustersClusterInput is an input type that accepts GetKubernetesClustersClusterArgs and GetKubernetesClustersClusterOutput values. You can construct a concrete instance of `GetKubernetesClustersClusterInput` via:
GetKubernetesClustersClusterArgs{...}
type GetKubernetesClustersClusterLogConfigArgs ¶
type GetKubernetesClustersClusterLogConfigArgs struct { // Log Service project name. Project pulumi.StringInput `pulumi:"project"` // Type of collecting logs. Type pulumi.StringInput `pulumi:"type"` }
func (GetKubernetesClustersClusterLogConfigArgs) ElementType ¶
func (GetKubernetesClustersClusterLogConfigArgs) ElementType() reflect.Type
func (GetKubernetesClustersClusterLogConfigArgs) ToGetKubernetesClustersClusterLogConfigOutput ¶
func (i GetKubernetesClustersClusterLogConfigArgs) ToGetKubernetesClustersClusterLogConfigOutput() GetKubernetesClustersClusterLogConfigOutput
func (GetKubernetesClustersClusterLogConfigArgs) ToGetKubernetesClustersClusterLogConfigOutputWithContext ¶
func (i GetKubernetesClustersClusterLogConfigArgs) ToGetKubernetesClustersClusterLogConfigOutputWithContext(ctx context.Context) GetKubernetesClustersClusterLogConfigOutput
type GetKubernetesClustersClusterLogConfigArray ¶
type GetKubernetesClustersClusterLogConfigArray []GetKubernetesClustersClusterLogConfigInput
func (GetKubernetesClustersClusterLogConfigArray) ElementType ¶
func (GetKubernetesClustersClusterLogConfigArray) ElementType() reflect.Type
func (GetKubernetesClustersClusterLogConfigArray) ToGetKubernetesClustersClusterLogConfigArrayOutput ¶
func (i GetKubernetesClustersClusterLogConfigArray) ToGetKubernetesClustersClusterLogConfigArrayOutput() GetKubernetesClustersClusterLogConfigArrayOutput
func (GetKubernetesClustersClusterLogConfigArray) ToGetKubernetesClustersClusterLogConfigArrayOutputWithContext ¶
func (i GetKubernetesClustersClusterLogConfigArray) ToGetKubernetesClustersClusterLogConfigArrayOutputWithContext(ctx context.Context) GetKubernetesClustersClusterLogConfigArrayOutput
type GetKubernetesClustersClusterLogConfigArrayInput ¶
type GetKubernetesClustersClusterLogConfigArrayInput interface { pulumi.Input ToGetKubernetesClustersClusterLogConfigArrayOutput() GetKubernetesClustersClusterLogConfigArrayOutput ToGetKubernetesClustersClusterLogConfigArrayOutputWithContext(context.Context) GetKubernetesClustersClusterLogConfigArrayOutput }
GetKubernetesClustersClusterLogConfigArrayInput is an input type that accepts GetKubernetesClustersClusterLogConfigArray and GetKubernetesClustersClusterLogConfigArrayOutput values. You can construct a concrete instance of `GetKubernetesClustersClusterLogConfigArrayInput` via:
GetKubernetesClustersClusterLogConfigArray{ GetKubernetesClustersClusterLogConfigArgs{...} }
type GetKubernetesClustersClusterLogConfigArrayOutput ¶
type GetKubernetesClustersClusterLogConfigArrayOutput struct{ *pulumi.OutputState }
func (GetKubernetesClustersClusterLogConfigArrayOutput) ElementType ¶
func (GetKubernetesClustersClusterLogConfigArrayOutput) ElementType() reflect.Type
func (GetKubernetesClustersClusterLogConfigArrayOutput) ToGetKubernetesClustersClusterLogConfigArrayOutput ¶
func (o GetKubernetesClustersClusterLogConfigArrayOutput) ToGetKubernetesClustersClusterLogConfigArrayOutput() GetKubernetesClustersClusterLogConfigArrayOutput
func (GetKubernetesClustersClusterLogConfigArrayOutput) ToGetKubernetesClustersClusterLogConfigArrayOutputWithContext ¶
func (o GetKubernetesClustersClusterLogConfigArrayOutput) ToGetKubernetesClustersClusterLogConfigArrayOutputWithContext(ctx context.Context) GetKubernetesClustersClusterLogConfigArrayOutput
type GetKubernetesClustersClusterLogConfigInput ¶
type GetKubernetesClustersClusterLogConfigInput interface { pulumi.Input ToGetKubernetesClustersClusterLogConfigOutput() GetKubernetesClustersClusterLogConfigOutput ToGetKubernetesClustersClusterLogConfigOutputWithContext(context.Context) GetKubernetesClustersClusterLogConfigOutput }
GetKubernetesClustersClusterLogConfigInput is an input type that accepts GetKubernetesClustersClusterLogConfigArgs and GetKubernetesClustersClusterLogConfigOutput values. You can construct a concrete instance of `GetKubernetesClustersClusterLogConfigInput` via:
GetKubernetesClustersClusterLogConfigArgs{...}
type GetKubernetesClustersClusterLogConfigOutput ¶
type GetKubernetesClustersClusterLogConfigOutput struct{ *pulumi.OutputState }
func (GetKubernetesClustersClusterLogConfigOutput) ElementType ¶
func (GetKubernetesClustersClusterLogConfigOutput) ElementType() reflect.Type
func (GetKubernetesClustersClusterLogConfigOutput) Project ¶
func (o GetKubernetesClustersClusterLogConfigOutput) Project() pulumi.StringOutput
Log Service project name.
func (GetKubernetesClustersClusterLogConfigOutput) ToGetKubernetesClustersClusterLogConfigOutput ¶
func (o GetKubernetesClustersClusterLogConfigOutput) ToGetKubernetesClustersClusterLogConfigOutput() GetKubernetesClustersClusterLogConfigOutput
func (GetKubernetesClustersClusterLogConfigOutput) ToGetKubernetesClustersClusterLogConfigOutputWithContext ¶
func (o GetKubernetesClustersClusterLogConfigOutput) ToGetKubernetesClustersClusterLogConfigOutputWithContext(ctx context.Context) GetKubernetesClustersClusterLogConfigOutput
func (GetKubernetesClustersClusterLogConfigOutput) Type ¶
func (o GetKubernetesClustersClusterLogConfigOutput) Type() pulumi.StringOutput
Type of collecting logs.
type GetKubernetesClustersClusterMasterNodeArgs ¶
type GetKubernetesClustersClusterMasterNodeArgs struct { // ID of the node. Id pulumi.StringInput `pulumi:"id"` // Node name. Name pulumi.StringInput `pulumi:"name"` // The private IP address of node. PrivateIp pulumi.StringInput `pulumi:"privateIp"` }
func (GetKubernetesClustersClusterMasterNodeArgs) ElementType ¶
func (GetKubernetesClustersClusterMasterNodeArgs) ElementType() reflect.Type
func (GetKubernetesClustersClusterMasterNodeArgs) ToGetKubernetesClustersClusterMasterNodeOutput ¶
func (i GetKubernetesClustersClusterMasterNodeArgs) ToGetKubernetesClustersClusterMasterNodeOutput() GetKubernetesClustersClusterMasterNodeOutput
func (GetKubernetesClustersClusterMasterNodeArgs) ToGetKubernetesClustersClusterMasterNodeOutputWithContext ¶
func (i GetKubernetesClustersClusterMasterNodeArgs) ToGetKubernetesClustersClusterMasterNodeOutputWithContext(ctx context.Context) GetKubernetesClustersClusterMasterNodeOutput
type GetKubernetesClustersClusterMasterNodeArray ¶
type GetKubernetesClustersClusterMasterNodeArray []GetKubernetesClustersClusterMasterNodeInput
func (GetKubernetesClustersClusterMasterNodeArray) ElementType ¶
func (GetKubernetesClustersClusterMasterNodeArray) ElementType() reflect.Type
func (GetKubernetesClustersClusterMasterNodeArray) ToGetKubernetesClustersClusterMasterNodeArrayOutput ¶
func (i GetKubernetesClustersClusterMasterNodeArray) ToGetKubernetesClustersClusterMasterNodeArrayOutput() GetKubernetesClustersClusterMasterNodeArrayOutput
func (GetKubernetesClustersClusterMasterNodeArray) ToGetKubernetesClustersClusterMasterNodeArrayOutputWithContext ¶
func (i GetKubernetesClustersClusterMasterNodeArray) ToGetKubernetesClustersClusterMasterNodeArrayOutputWithContext(ctx context.Context) GetKubernetesClustersClusterMasterNodeArrayOutput
type GetKubernetesClustersClusterMasterNodeArrayInput ¶
type GetKubernetesClustersClusterMasterNodeArrayInput interface { pulumi.Input ToGetKubernetesClustersClusterMasterNodeArrayOutput() GetKubernetesClustersClusterMasterNodeArrayOutput ToGetKubernetesClustersClusterMasterNodeArrayOutputWithContext(context.Context) GetKubernetesClustersClusterMasterNodeArrayOutput }
GetKubernetesClustersClusterMasterNodeArrayInput is an input type that accepts GetKubernetesClustersClusterMasterNodeArray and GetKubernetesClustersClusterMasterNodeArrayOutput values. You can construct a concrete instance of `GetKubernetesClustersClusterMasterNodeArrayInput` via:
GetKubernetesClustersClusterMasterNodeArray{ GetKubernetesClustersClusterMasterNodeArgs{...} }
type GetKubernetesClustersClusterMasterNodeArrayOutput ¶
type GetKubernetesClustersClusterMasterNodeArrayOutput struct{ *pulumi.OutputState }
func (GetKubernetesClustersClusterMasterNodeArrayOutput) ElementType ¶
func (GetKubernetesClustersClusterMasterNodeArrayOutput) ElementType() reflect.Type
func (GetKubernetesClustersClusterMasterNodeArrayOutput) ToGetKubernetesClustersClusterMasterNodeArrayOutput ¶
func (o GetKubernetesClustersClusterMasterNodeArrayOutput) ToGetKubernetesClustersClusterMasterNodeArrayOutput() GetKubernetesClustersClusterMasterNodeArrayOutput
func (GetKubernetesClustersClusterMasterNodeArrayOutput) ToGetKubernetesClustersClusterMasterNodeArrayOutputWithContext ¶
func (o GetKubernetesClustersClusterMasterNodeArrayOutput) ToGetKubernetesClustersClusterMasterNodeArrayOutputWithContext(ctx context.Context) GetKubernetesClustersClusterMasterNodeArrayOutput
type GetKubernetesClustersClusterMasterNodeInput ¶
type GetKubernetesClustersClusterMasterNodeInput interface { pulumi.Input ToGetKubernetesClustersClusterMasterNodeOutput() GetKubernetesClustersClusterMasterNodeOutput ToGetKubernetesClustersClusterMasterNodeOutputWithContext(context.Context) GetKubernetesClustersClusterMasterNodeOutput }
GetKubernetesClustersClusterMasterNodeInput is an input type that accepts GetKubernetesClustersClusterMasterNodeArgs and GetKubernetesClustersClusterMasterNodeOutput values. You can construct a concrete instance of `GetKubernetesClustersClusterMasterNodeInput` via:
GetKubernetesClustersClusterMasterNodeArgs{...}
type GetKubernetesClustersClusterMasterNodeOutput ¶
type GetKubernetesClustersClusterMasterNodeOutput struct{ *pulumi.OutputState }
func (GetKubernetesClustersClusterMasterNodeOutput) ElementType ¶
func (GetKubernetesClustersClusterMasterNodeOutput) ElementType() reflect.Type
func (GetKubernetesClustersClusterMasterNodeOutput) Id ¶
func (o GetKubernetesClustersClusterMasterNodeOutput) Id() pulumi.StringOutput
ID of the node.
func (GetKubernetesClustersClusterMasterNodeOutput) Name ¶
func (o GetKubernetesClustersClusterMasterNodeOutput) Name() pulumi.StringOutput
Node name.
func (GetKubernetesClustersClusterMasterNodeOutput) PrivateIp ¶
func (o GetKubernetesClustersClusterMasterNodeOutput) PrivateIp() pulumi.StringOutput
The private IP address of node.
func (GetKubernetesClustersClusterMasterNodeOutput) ToGetKubernetesClustersClusterMasterNodeOutput ¶
func (o GetKubernetesClustersClusterMasterNodeOutput) ToGetKubernetesClustersClusterMasterNodeOutput() GetKubernetesClustersClusterMasterNodeOutput
func (GetKubernetesClustersClusterMasterNodeOutput) ToGetKubernetesClustersClusterMasterNodeOutputWithContext ¶
func (o GetKubernetesClustersClusterMasterNodeOutput) ToGetKubernetesClustersClusterMasterNodeOutputWithContext(ctx context.Context) GetKubernetesClustersClusterMasterNodeOutput
type GetKubernetesClustersClusterOutput ¶
type GetKubernetesClustersClusterOutput struct{ *pulumi.OutputState }
func (GetKubernetesClustersClusterOutput) AvailabilityZone ¶
func (o GetKubernetesClustersClusterOutput) AvailabilityZone() pulumi.StringOutput
The ID of availability zone.
func (GetKubernetesClustersClusterOutput) ClusterNetworkType ¶
func (o GetKubernetesClustersClusterOutput) ClusterNetworkType() pulumi.StringOutput
func (GetKubernetesClustersClusterOutput) Connections ¶
func (o GetKubernetesClustersClusterOutput) Connections() GetKubernetesClustersClusterConnectionsOutput
Map of kubernetes cluster connection information. It contains several attributes to `Block Connections`.
func (GetKubernetesClustersClusterOutput) ElementType ¶
func (GetKubernetesClustersClusterOutput) ElementType() reflect.Type
func (GetKubernetesClustersClusterOutput) Id ¶
func (o GetKubernetesClustersClusterOutput) Id() pulumi.StringOutput
ID of the node.
func (GetKubernetesClustersClusterOutput) ImageId ¶
func (o GetKubernetesClustersClusterOutput) ImageId() pulumi.StringOutput
The ID of node image.
func (GetKubernetesClustersClusterOutput) KeyName ¶
func (o GetKubernetesClustersClusterOutput) KeyName() pulumi.StringOutput
The keypair of ssh login cluster node, you have to create it first.
func (GetKubernetesClustersClusterOutput) LogConfigs ¶
func (o GetKubernetesClustersClusterOutput) LogConfigs() GetKubernetesClustersClusterLogConfigArrayOutput
A list of one element containing information about the associated log store. It contains the following attributes:
func (GetKubernetesClustersClusterOutput) MasterAutoRenew ¶
func (o GetKubernetesClustersClusterOutput) MasterAutoRenew() pulumi.BoolOutput
func (GetKubernetesClustersClusterOutput) MasterAutoRenewPeriod ¶
func (o GetKubernetesClustersClusterOutput) MasterAutoRenewPeriod() pulumi.IntOutput
func (GetKubernetesClustersClusterOutput) MasterDiskCategory ¶
func (o GetKubernetesClustersClusterOutput) MasterDiskCategory() pulumi.StringOutput
The system disk category of master node.
func (GetKubernetesClustersClusterOutput) MasterDiskSize ¶
func (o GetKubernetesClustersClusterOutput) MasterDiskSize() pulumi.IntOutput
The system disk size of master node.
func (GetKubernetesClustersClusterOutput) MasterInstanceChargeType ¶
func (o GetKubernetesClustersClusterOutput) MasterInstanceChargeType() pulumi.StringOutput
func (GetKubernetesClustersClusterOutput) MasterInstanceTypes ¶
func (o GetKubernetesClustersClusterOutput) MasterInstanceTypes() pulumi.StringArrayOutput
The instance type of master node.
func (GetKubernetesClustersClusterOutput) MasterNodes ¶
func (o GetKubernetesClustersClusterOutput) MasterNodes() GetKubernetesClustersClusterMasterNodeArrayOutput
List of cluster master nodes. It contains several attributes to `Block Nodes`.
func (GetKubernetesClustersClusterOutput) MasterPeriod ¶
func (o GetKubernetesClustersClusterOutput) MasterPeriod() pulumi.IntOutput
func (GetKubernetesClustersClusterOutput) MasterPeriodUnit ¶
func (o GetKubernetesClustersClusterOutput) MasterPeriodUnit() pulumi.StringOutput
func (GetKubernetesClustersClusterOutput) Name ¶
func (o GetKubernetesClustersClusterOutput) Name() pulumi.StringOutput
Node name.
func (GetKubernetesClustersClusterOutput) NatGatewayId ¶
func (o GetKubernetesClustersClusterOutput) NatGatewayId() pulumi.StringOutput
The ID of nat gateway used to launch kubernetes cluster.
func (GetKubernetesClustersClusterOutput) NodeCidrMask ¶
func (o GetKubernetesClustersClusterOutput) NodeCidrMask() pulumi.IntOutput
The network mask used on pods for each node.
func (GetKubernetesClustersClusterOutput) PodCidr ¶
func (o GetKubernetesClustersClusterOutput) PodCidr() pulumi.StringOutput
func (GetKubernetesClustersClusterOutput) SecurityGroupId ¶
func (o GetKubernetesClustersClusterOutput) SecurityGroupId() pulumi.StringOutput
The ID of security group where the current cluster worker node is located.
func (GetKubernetesClustersClusterOutput) ServiceCidr ¶
func (o GetKubernetesClustersClusterOutput) ServiceCidr() pulumi.StringOutput
func (GetKubernetesClustersClusterOutput) SlbInternetEnabled ¶
func (o GetKubernetesClustersClusterOutput) SlbInternetEnabled() pulumi.BoolOutput
Whether internet load balancer for API Server is created
func (GetKubernetesClustersClusterOutput) ToGetKubernetesClustersClusterOutput ¶
func (o GetKubernetesClustersClusterOutput) ToGetKubernetesClustersClusterOutput() GetKubernetesClustersClusterOutput
func (GetKubernetesClustersClusterOutput) ToGetKubernetesClustersClusterOutputWithContext ¶
func (o GetKubernetesClustersClusterOutput) ToGetKubernetesClustersClusterOutputWithContext(ctx context.Context) GetKubernetesClustersClusterOutput
func (GetKubernetesClustersClusterOutput) VpcId ¶
func (o GetKubernetesClustersClusterOutput) VpcId() pulumi.StringOutput
The ID of VPC where the current cluster is located.
func (GetKubernetesClustersClusterOutput) VswitchIds ¶
func (o GetKubernetesClustersClusterOutput) VswitchIds() pulumi.StringArrayOutput
The ID of VSwitches where the current cluster is located.
func (GetKubernetesClustersClusterOutput) WorkerAutoRenew ¶
func (o GetKubernetesClustersClusterOutput) WorkerAutoRenew() pulumi.BoolOutput
func (GetKubernetesClustersClusterOutput) WorkerAutoRenewPeriod ¶
func (o GetKubernetesClustersClusterOutput) WorkerAutoRenewPeriod() pulumi.IntOutput
func (GetKubernetesClustersClusterOutput) WorkerDataDiskCategory ¶
func (o GetKubernetesClustersClusterOutput) WorkerDataDiskCategory() pulumi.StringOutput
The data disk size of worker node.
func (GetKubernetesClustersClusterOutput) WorkerDataDiskSize ¶
func (o GetKubernetesClustersClusterOutput) WorkerDataDiskSize() pulumi.IntOutput
The data disk category of worker node.
func (GetKubernetesClustersClusterOutput) WorkerDiskCategory ¶
func (o GetKubernetesClustersClusterOutput) WorkerDiskCategory() pulumi.StringOutput
The system disk category of worker node.
func (GetKubernetesClustersClusterOutput) WorkerDiskSize ¶
func (o GetKubernetesClustersClusterOutput) WorkerDiskSize() pulumi.IntOutput
The system disk size of worker node.
func (GetKubernetesClustersClusterOutput) WorkerInstanceChargeType ¶
func (o GetKubernetesClustersClusterOutput) WorkerInstanceChargeType() pulumi.StringOutput
func (GetKubernetesClustersClusterOutput) WorkerInstanceTypes ¶
func (o GetKubernetesClustersClusterOutput) WorkerInstanceTypes() pulumi.StringArrayOutput
The instance type of worker node.
func (GetKubernetesClustersClusterOutput) WorkerNodes ¶
func (o GetKubernetesClustersClusterOutput) WorkerNodes() GetKubernetesClustersClusterWorkerNodeArrayOutput
List of cluster worker nodes. It contains several attributes to `Block Nodes`.
func (GetKubernetesClustersClusterOutput) WorkerNumbers ¶
func (o GetKubernetesClustersClusterOutput) WorkerNumbers() pulumi.IntArrayOutput
The ECS instance node number in the current container cluster.
func (GetKubernetesClustersClusterOutput) WorkerPeriod ¶
func (o GetKubernetesClustersClusterOutput) WorkerPeriod() pulumi.IntOutput
func (GetKubernetesClustersClusterOutput) WorkerPeriodUnit ¶
func (o GetKubernetesClustersClusterOutput) WorkerPeriodUnit() pulumi.StringOutput
type GetKubernetesClustersClusterWorkerNodeArgs ¶
type GetKubernetesClustersClusterWorkerNodeArgs struct { // ID of the node. Id pulumi.StringInput `pulumi:"id"` // Node name. Name pulumi.StringInput `pulumi:"name"` // The private IP address of node. PrivateIp pulumi.StringInput `pulumi:"privateIp"` }
func (GetKubernetesClustersClusterWorkerNodeArgs) ElementType ¶
func (GetKubernetesClustersClusterWorkerNodeArgs) ElementType() reflect.Type
func (GetKubernetesClustersClusterWorkerNodeArgs) ToGetKubernetesClustersClusterWorkerNodeOutput ¶
func (i GetKubernetesClustersClusterWorkerNodeArgs) ToGetKubernetesClustersClusterWorkerNodeOutput() GetKubernetesClustersClusterWorkerNodeOutput
func (GetKubernetesClustersClusterWorkerNodeArgs) ToGetKubernetesClustersClusterWorkerNodeOutputWithContext ¶
func (i GetKubernetesClustersClusterWorkerNodeArgs) ToGetKubernetesClustersClusterWorkerNodeOutputWithContext(ctx context.Context) GetKubernetesClustersClusterWorkerNodeOutput
type GetKubernetesClustersClusterWorkerNodeArray ¶
type GetKubernetesClustersClusterWorkerNodeArray []GetKubernetesClustersClusterWorkerNodeInput
func (GetKubernetesClustersClusterWorkerNodeArray) ElementType ¶
func (GetKubernetesClustersClusterWorkerNodeArray) ElementType() reflect.Type
func (GetKubernetesClustersClusterWorkerNodeArray) ToGetKubernetesClustersClusterWorkerNodeArrayOutput ¶
func (i GetKubernetesClustersClusterWorkerNodeArray) ToGetKubernetesClustersClusterWorkerNodeArrayOutput() GetKubernetesClustersClusterWorkerNodeArrayOutput
func (GetKubernetesClustersClusterWorkerNodeArray) ToGetKubernetesClustersClusterWorkerNodeArrayOutputWithContext ¶
func (i GetKubernetesClustersClusterWorkerNodeArray) ToGetKubernetesClustersClusterWorkerNodeArrayOutputWithContext(ctx context.Context) GetKubernetesClustersClusterWorkerNodeArrayOutput
type GetKubernetesClustersClusterWorkerNodeArrayInput ¶
type GetKubernetesClustersClusterWorkerNodeArrayInput interface { pulumi.Input ToGetKubernetesClustersClusterWorkerNodeArrayOutput() GetKubernetesClustersClusterWorkerNodeArrayOutput ToGetKubernetesClustersClusterWorkerNodeArrayOutputWithContext(context.Context) GetKubernetesClustersClusterWorkerNodeArrayOutput }
GetKubernetesClustersClusterWorkerNodeArrayInput is an input type that accepts GetKubernetesClustersClusterWorkerNodeArray and GetKubernetesClustersClusterWorkerNodeArrayOutput values. You can construct a concrete instance of `GetKubernetesClustersClusterWorkerNodeArrayInput` via:
GetKubernetesClustersClusterWorkerNodeArray{ GetKubernetesClustersClusterWorkerNodeArgs{...} }
type GetKubernetesClustersClusterWorkerNodeArrayOutput ¶
type GetKubernetesClustersClusterWorkerNodeArrayOutput struct{ *pulumi.OutputState }
func (GetKubernetesClustersClusterWorkerNodeArrayOutput) ElementType ¶
func (GetKubernetesClustersClusterWorkerNodeArrayOutput) ElementType() reflect.Type
func (GetKubernetesClustersClusterWorkerNodeArrayOutput) ToGetKubernetesClustersClusterWorkerNodeArrayOutput ¶
func (o GetKubernetesClustersClusterWorkerNodeArrayOutput) ToGetKubernetesClustersClusterWorkerNodeArrayOutput() GetKubernetesClustersClusterWorkerNodeArrayOutput
func (GetKubernetesClustersClusterWorkerNodeArrayOutput) ToGetKubernetesClustersClusterWorkerNodeArrayOutputWithContext ¶
func (o GetKubernetesClustersClusterWorkerNodeArrayOutput) ToGetKubernetesClustersClusterWorkerNodeArrayOutputWithContext(ctx context.Context) GetKubernetesClustersClusterWorkerNodeArrayOutput
type GetKubernetesClustersClusterWorkerNodeInput ¶
type GetKubernetesClustersClusterWorkerNodeInput interface { pulumi.Input ToGetKubernetesClustersClusterWorkerNodeOutput() GetKubernetesClustersClusterWorkerNodeOutput ToGetKubernetesClustersClusterWorkerNodeOutputWithContext(context.Context) GetKubernetesClustersClusterWorkerNodeOutput }
GetKubernetesClustersClusterWorkerNodeInput is an input type that accepts GetKubernetesClustersClusterWorkerNodeArgs and GetKubernetesClustersClusterWorkerNodeOutput values. You can construct a concrete instance of `GetKubernetesClustersClusterWorkerNodeInput` via:
GetKubernetesClustersClusterWorkerNodeArgs{...}
type GetKubernetesClustersClusterWorkerNodeOutput ¶
type GetKubernetesClustersClusterWorkerNodeOutput struct{ *pulumi.OutputState }
func (GetKubernetesClustersClusterWorkerNodeOutput) ElementType ¶
func (GetKubernetesClustersClusterWorkerNodeOutput) ElementType() reflect.Type
func (GetKubernetesClustersClusterWorkerNodeOutput) Id ¶
func (o GetKubernetesClustersClusterWorkerNodeOutput) Id() pulumi.StringOutput
ID of the node.
func (GetKubernetesClustersClusterWorkerNodeOutput) Name ¶
func (o GetKubernetesClustersClusterWorkerNodeOutput) Name() pulumi.StringOutput
Node name.
func (GetKubernetesClustersClusterWorkerNodeOutput) PrivateIp ¶
func (o GetKubernetesClustersClusterWorkerNodeOutput) PrivateIp() pulumi.StringOutput
The private IP address of node.
func (GetKubernetesClustersClusterWorkerNodeOutput) ToGetKubernetesClustersClusterWorkerNodeOutput ¶
func (o GetKubernetesClustersClusterWorkerNodeOutput) ToGetKubernetesClustersClusterWorkerNodeOutput() GetKubernetesClustersClusterWorkerNodeOutput
func (GetKubernetesClustersClusterWorkerNodeOutput) ToGetKubernetesClustersClusterWorkerNodeOutputWithContext ¶
func (o GetKubernetesClustersClusterWorkerNodeOutput) ToGetKubernetesClustersClusterWorkerNodeOutputWithContext(ctx context.Context) GetKubernetesClustersClusterWorkerNodeOutput
type GetKubernetesClustersResult ¶
type GetKubernetesClustersResult struct { // A list of matched Kubernetes clusters. Each element contains the following attributes: Clusters []GetKubernetesClustersCluster `pulumi:"clusters"` EnableDetails *bool `pulumi:"enableDetails"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of matched Kubernetes clusters' ids. Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` // A list of matched Kubernetes clusters' names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` }
A collection of values returned by getKubernetesClusters.
func GetKubernetesClusters ¶
func GetKubernetesClusters(ctx *pulumi.Context, args *GetKubernetesClustersArgs, opts ...pulumi.InvokeOption) (*GetKubernetesClustersResult, error)
This data source provides a list Container Service Kubernetes Clusters on Alibaba Cloud.
> **NOTE:** Available in v1.34.0+.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/cs" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "my-first-k8s" opt1 := "my-first-k8s-json" k8sClusters, err := cs.GetKubernetesClusters(ctx, &cs.GetKubernetesClustersArgs{ NameRegex: &opt0, OutputFile: &opt1, }, nil) if err != nil { return err } ctx.Export("output", k8sClusters.Clusters) return nil }) }
```
type GetManagedKubernetesClustersArgs ¶
type GetManagedKubernetesClustersArgs struct { EnableDetails *bool `pulumi:"enableDetails"` // Cluster IDs to filter. Ids []string `pulumi:"ids"` // A regex string to filter results by cluster name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getManagedKubernetesClusters.
type GetManagedKubernetesClustersCluster ¶
type GetManagedKubernetesClustersCluster struct { // The ID of availability zone. AvailabilityZone string `pulumi:"availabilityZone"` // Map of kubernetes cluster connection information. It contains several attributes to `Block Connections`. Connections GetManagedKubernetesClustersClusterConnections `pulumi:"connections"` // ID of the node. Id string `pulumi:"id"` // Node name. Name string `pulumi:"name"` // The ID of nat gateway used to launch kubernetes cluster. NatGatewayId string `pulumi:"natGatewayId"` // The ID of security group where the current cluster worker node is located. SecurityGroupId string `pulumi:"securityGroupId"` // The ID of VPC where the current cluster is located. VpcId string `pulumi:"vpcId"` // List of cluster worker nodes. It contains several attributes to `Block Nodes`. WorkerNodes []GetManagedKubernetesClustersClusterWorkerNode `pulumi:"workerNodes"` }
type GetManagedKubernetesClustersClusterArgs ¶
type GetManagedKubernetesClustersClusterArgs struct { // The ID of availability zone. AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"` // Map of kubernetes cluster connection information. It contains several attributes to `Block Connections`. Connections GetManagedKubernetesClustersClusterConnectionsInput `pulumi:"connections"` // ID of the node. Id pulumi.StringInput `pulumi:"id"` // Node name. Name pulumi.StringInput `pulumi:"name"` // The ID of nat gateway used to launch kubernetes cluster. NatGatewayId pulumi.StringInput `pulumi:"natGatewayId"` // The ID of security group where the current cluster worker node is located. SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"` // The ID of VPC where the current cluster is located. VpcId pulumi.StringInput `pulumi:"vpcId"` // List of cluster worker nodes. It contains several attributes to `Block Nodes`. WorkerNodes GetManagedKubernetesClustersClusterWorkerNodeArrayInput `pulumi:"workerNodes"` }
func (GetManagedKubernetesClustersClusterArgs) ElementType ¶
func (GetManagedKubernetesClustersClusterArgs) ElementType() reflect.Type
func (GetManagedKubernetesClustersClusterArgs) ToGetManagedKubernetesClustersClusterOutput ¶
func (i GetManagedKubernetesClustersClusterArgs) ToGetManagedKubernetesClustersClusterOutput() GetManagedKubernetesClustersClusterOutput
func (GetManagedKubernetesClustersClusterArgs) ToGetManagedKubernetesClustersClusterOutputWithContext ¶
func (i GetManagedKubernetesClustersClusterArgs) ToGetManagedKubernetesClustersClusterOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterOutput
type GetManagedKubernetesClustersClusterArray ¶
type GetManagedKubernetesClustersClusterArray []GetManagedKubernetesClustersClusterInput
func (GetManagedKubernetesClustersClusterArray) ElementType ¶
func (GetManagedKubernetesClustersClusterArray) ElementType() reflect.Type
func (GetManagedKubernetesClustersClusterArray) ToGetManagedKubernetesClustersClusterArrayOutput ¶
func (i GetManagedKubernetesClustersClusterArray) ToGetManagedKubernetesClustersClusterArrayOutput() GetManagedKubernetesClustersClusterArrayOutput
func (GetManagedKubernetesClustersClusterArray) ToGetManagedKubernetesClustersClusterArrayOutputWithContext ¶
func (i GetManagedKubernetesClustersClusterArray) ToGetManagedKubernetesClustersClusterArrayOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterArrayOutput
type GetManagedKubernetesClustersClusterArrayInput ¶
type GetManagedKubernetesClustersClusterArrayInput interface { pulumi.Input ToGetManagedKubernetesClustersClusterArrayOutput() GetManagedKubernetesClustersClusterArrayOutput ToGetManagedKubernetesClustersClusterArrayOutputWithContext(context.Context) GetManagedKubernetesClustersClusterArrayOutput }
GetManagedKubernetesClustersClusterArrayInput is an input type that accepts GetManagedKubernetesClustersClusterArray and GetManagedKubernetesClustersClusterArrayOutput values. You can construct a concrete instance of `GetManagedKubernetesClustersClusterArrayInput` via:
GetManagedKubernetesClustersClusterArray{ GetManagedKubernetesClustersClusterArgs{...} }
type GetManagedKubernetesClustersClusterArrayOutput ¶
type GetManagedKubernetesClustersClusterArrayOutput struct{ *pulumi.OutputState }
func (GetManagedKubernetesClustersClusterArrayOutput) ElementType ¶
func (GetManagedKubernetesClustersClusterArrayOutput) ElementType() reflect.Type
func (GetManagedKubernetesClustersClusterArrayOutput) ToGetManagedKubernetesClustersClusterArrayOutput ¶
func (o GetManagedKubernetesClustersClusterArrayOutput) ToGetManagedKubernetesClustersClusterArrayOutput() GetManagedKubernetesClustersClusterArrayOutput
func (GetManagedKubernetesClustersClusterArrayOutput) ToGetManagedKubernetesClustersClusterArrayOutputWithContext ¶
func (o GetManagedKubernetesClustersClusterArrayOutput) ToGetManagedKubernetesClustersClusterArrayOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterArrayOutput
type GetManagedKubernetesClustersClusterConnections ¶
type GetManagedKubernetesClustersClusterConnections struct { // API Server Internet endpoint. ApiServerInternet string `pulumi:"apiServerInternet"` // API Server Intranet endpoint. ApiServerIntranet string `pulumi:"apiServerIntranet"` // Master node SSH IP address. MasterPublicIp string `pulumi:"masterPublicIp"` // Service Access Domain. ServiceDomain string `pulumi:"serviceDomain"` }
type GetManagedKubernetesClustersClusterConnectionsArgs ¶
type GetManagedKubernetesClustersClusterConnectionsArgs struct { // API Server Internet endpoint. ApiServerInternet pulumi.StringInput `pulumi:"apiServerInternet"` // API Server Intranet endpoint. ApiServerIntranet pulumi.StringInput `pulumi:"apiServerIntranet"` // Master node SSH IP address. MasterPublicIp pulumi.StringInput `pulumi:"masterPublicIp"` // Service Access Domain. ServiceDomain pulumi.StringInput `pulumi:"serviceDomain"` }
func (GetManagedKubernetesClustersClusterConnectionsArgs) ElementType ¶
func (GetManagedKubernetesClustersClusterConnectionsArgs) ElementType() reflect.Type
func (GetManagedKubernetesClustersClusterConnectionsArgs) ToGetManagedKubernetesClustersClusterConnectionsOutput ¶
func (i GetManagedKubernetesClustersClusterConnectionsArgs) ToGetManagedKubernetesClustersClusterConnectionsOutput() GetManagedKubernetesClustersClusterConnectionsOutput
func (GetManagedKubernetesClustersClusterConnectionsArgs) ToGetManagedKubernetesClustersClusterConnectionsOutputWithContext ¶
func (i GetManagedKubernetesClustersClusterConnectionsArgs) ToGetManagedKubernetesClustersClusterConnectionsOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterConnectionsOutput
type GetManagedKubernetesClustersClusterConnectionsInput ¶
type GetManagedKubernetesClustersClusterConnectionsInput interface { pulumi.Input ToGetManagedKubernetesClustersClusterConnectionsOutput() GetManagedKubernetesClustersClusterConnectionsOutput ToGetManagedKubernetesClustersClusterConnectionsOutputWithContext(context.Context) GetManagedKubernetesClustersClusterConnectionsOutput }
GetManagedKubernetesClustersClusterConnectionsInput is an input type that accepts GetManagedKubernetesClustersClusterConnectionsArgs and GetManagedKubernetesClustersClusterConnectionsOutput values. You can construct a concrete instance of `GetManagedKubernetesClustersClusterConnectionsInput` via:
GetManagedKubernetesClustersClusterConnectionsArgs{...}
type GetManagedKubernetesClustersClusterConnectionsOutput ¶
type GetManagedKubernetesClustersClusterConnectionsOutput struct{ *pulumi.OutputState }
func (GetManagedKubernetesClustersClusterConnectionsOutput) ApiServerInternet ¶
func (o GetManagedKubernetesClustersClusterConnectionsOutput) ApiServerInternet() pulumi.StringOutput
API Server Internet endpoint.
func (GetManagedKubernetesClustersClusterConnectionsOutput) ApiServerIntranet ¶
func (o GetManagedKubernetesClustersClusterConnectionsOutput) ApiServerIntranet() pulumi.StringOutput
API Server Intranet endpoint.
func (GetManagedKubernetesClustersClusterConnectionsOutput) ElementType ¶
func (GetManagedKubernetesClustersClusterConnectionsOutput) ElementType() reflect.Type
func (GetManagedKubernetesClustersClusterConnectionsOutput) MasterPublicIp ¶
func (o GetManagedKubernetesClustersClusterConnectionsOutput) MasterPublicIp() pulumi.StringOutput
Master node SSH IP address.
func (GetManagedKubernetesClustersClusterConnectionsOutput) ServiceDomain ¶
func (o GetManagedKubernetesClustersClusterConnectionsOutput) ServiceDomain() pulumi.StringOutput
Service Access Domain.
func (GetManagedKubernetesClustersClusterConnectionsOutput) ToGetManagedKubernetesClustersClusterConnectionsOutput ¶
func (o GetManagedKubernetesClustersClusterConnectionsOutput) ToGetManagedKubernetesClustersClusterConnectionsOutput() GetManagedKubernetesClustersClusterConnectionsOutput
func (GetManagedKubernetesClustersClusterConnectionsOutput) ToGetManagedKubernetesClustersClusterConnectionsOutputWithContext ¶
func (o GetManagedKubernetesClustersClusterConnectionsOutput) ToGetManagedKubernetesClustersClusterConnectionsOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterConnectionsOutput
type GetManagedKubernetesClustersClusterInput ¶
type GetManagedKubernetesClustersClusterInput interface { pulumi.Input ToGetManagedKubernetesClustersClusterOutput() GetManagedKubernetesClustersClusterOutput ToGetManagedKubernetesClustersClusterOutputWithContext(context.Context) GetManagedKubernetesClustersClusterOutput }
GetManagedKubernetesClustersClusterInput is an input type that accepts GetManagedKubernetesClustersClusterArgs and GetManagedKubernetesClustersClusterOutput values. You can construct a concrete instance of `GetManagedKubernetesClustersClusterInput` via:
GetManagedKubernetesClustersClusterArgs{...}
type GetManagedKubernetesClustersClusterOutput ¶
type GetManagedKubernetesClustersClusterOutput struct{ *pulumi.OutputState }
func (GetManagedKubernetesClustersClusterOutput) AvailabilityZone ¶
func (o GetManagedKubernetesClustersClusterOutput) AvailabilityZone() pulumi.StringOutput
The ID of availability zone.
func (GetManagedKubernetesClustersClusterOutput) Connections ¶
func (o GetManagedKubernetesClustersClusterOutput) Connections() GetManagedKubernetesClustersClusterConnectionsOutput
Map of kubernetes cluster connection information. It contains several attributes to `Block Connections`.
func (GetManagedKubernetesClustersClusterOutput) ElementType ¶
func (GetManagedKubernetesClustersClusterOutput) ElementType() reflect.Type
func (GetManagedKubernetesClustersClusterOutput) Id ¶
func (o GetManagedKubernetesClustersClusterOutput) Id() pulumi.StringOutput
ID of the node.
func (GetManagedKubernetesClustersClusterOutput) Name ¶
func (o GetManagedKubernetesClustersClusterOutput) Name() pulumi.StringOutput
Node name.
func (GetManagedKubernetesClustersClusterOutput) NatGatewayId ¶
func (o GetManagedKubernetesClustersClusterOutput) NatGatewayId() pulumi.StringOutput
The ID of nat gateway used to launch kubernetes cluster.
func (GetManagedKubernetesClustersClusterOutput) SecurityGroupId ¶
func (o GetManagedKubernetesClustersClusterOutput) SecurityGroupId() pulumi.StringOutput
The ID of security group where the current cluster worker node is located.
func (GetManagedKubernetesClustersClusterOutput) ToGetManagedKubernetesClustersClusterOutput ¶
func (o GetManagedKubernetesClustersClusterOutput) ToGetManagedKubernetesClustersClusterOutput() GetManagedKubernetesClustersClusterOutput
func (GetManagedKubernetesClustersClusterOutput) ToGetManagedKubernetesClustersClusterOutputWithContext ¶
func (o GetManagedKubernetesClustersClusterOutput) ToGetManagedKubernetesClustersClusterOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterOutput
func (GetManagedKubernetesClustersClusterOutput) VpcId ¶
func (o GetManagedKubernetesClustersClusterOutput) VpcId() pulumi.StringOutput
The ID of VPC where the current cluster is located.
func (GetManagedKubernetesClustersClusterOutput) WorkerNodes ¶
func (o GetManagedKubernetesClustersClusterOutput) WorkerNodes() GetManagedKubernetesClustersClusterWorkerNodeArrayOutput
List of cluster worker nodes. It contains several attributes to `Block Nodes`.
type GetManagedKubernetesClustersClusterWorkerNodeArgs ¶
type GetManagedKubernetesClustersClusterWorkerNodeArgs struct { // ID of the node. Id pulumi.StringInput `pulumi:"id"` // Node name. Name pulumi.StringInput `pulumi:"name"` // The private IP address of node. PrivateIp pulumi.StringInput `pulumi:"privateIp"` }
func (GetManagedKubernetesClustersClusterWorkerNodeArgs) ElementType ¶
func (GetManagedKubernetesClustersClusterWorkerNodeArgs) ElementType() reflect.Type
func (GetManagedKubernetesClustersClusterWorkerNodeArgs) ToGetManagedKubernetesClustersClusterWorkerNodeOutput ¶
func (i GetManagedKubernetesClustersClusterWorkerNodeArgs) ToGetManagedKubernetesClustersClusterWorkerNodeOutput() GetManagedKubernetesClustersClusterWorkerNodeOutput
func (GetManagedKubernetesClustersClusterWorkerNodeArgs) ToGetManagedKubernetesClustersClusterWorkerNodeOutputWithContext ¶
func (i GetManagedKubernetesClustersClusterWorkerNodeArgs) ToGetManagedKubernetesClustersClusterWorkerNodeOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterWorkerNodeOutput
type GetManagedKubernetesClustersClusterWorkerNodeArray ¶
type GetManagedKubernetesClustersClusterWorkerNodeArray []GetManagedKubernetesClustersClusterWorkerNodeInput
func (GetManagedKubernetesClustersClusterWorkerNodeArray) ElementType ¶
func (GetManagedKubernetesClustersClusterWorkerNodeArray) ElementType() reflect.Type
func (GetManagedKubernetesClustersClusterWorkerNodeArray) ToGetManagedKubernetesClustersClusterWorkerNodeArrayOutput ¶
func (i GetManagedKubernetesClustersClusterWorkerNodeArray) ToGetManagedKubernetesClustersClusterWorkerNodeArrayOutput() GetManagedKubernetesClustersClusterWorkerNodeArrayOutput
func (GetManagedKubernetesClustersClusterWorkerNodeArray) ToGetManagedKubernetesClustersClusterWorkerNodeArrayOutputWithContext ¶
func (i GetManagedKubernetesClustersClusterWorkerNodeArray) ToGetManagedKubernetesClustersClusterWorkerNodeArrayOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterWorkerNodeArrayOutput
type GetManagedKubernetesClustersClusterWorkerNodeArrayInput ¶
type GetManagedKubernetesClustersClusterWorkerNodeArrayInput interface { pulumi.Input ToGetManagedKubernetesClustersClusterWorkerNodeArrayOutput() GetManagedKubernetesClustersClusterWorkerNodeArrayOutput ToGetManagedKubernetesClustersClusterWorkerNodeArrayOutputWithContext(context.Context) GetManagedKubernetesClustersClusterWorkerNodeArrayOutput }
GetManagedKubernetesClustersClusterWorkerNodeArrayInput is an input type that accepts GetManagedKubernetesClustersClusterWorkerNodeArray and GetManagedKubernetesClustersClusterWorkerNodeArrayOutput values. You can construct a concrete instance of `GetManagedKubernetesClustersClusterWorkerNodeArrayInput` via:
GetManagedKubernetesClustersClusterWorkerNodeArray{ GetManagedKubernetesClustersClusterWorkerNodeArgs{...} }
type GetManagedKubernetesClustersClusterWorkerNodeArrayOutput ¶
type GetManagedKubernetesClustersClusterWorkerNodeArrayOutput struct{ *pulumi.OutputState }
func (GetManagedKubernetesClustersClusterWorkerNodeArrayOutput) ElementType ¶
func (GetManagedKubernetesClustersClusterWorkerNodeArrayOutput) ElementType() reflect.Type
func (GetManagedKubernetesClustersClusterWorkerNodeArrayOutput) ToGetManagedKubernetesClustersClusterWorkerNodeArrayOutput ¶
func (o GetManagedKubernetesClustersClusterWorkerNodeArrayOutput) ToGetManagedKubernetesClustersClusterWorkerNodeArrayOutput() GetManagedKubernetesClustersClusterWorkerNodeArrayOutput
func (GetManagedKubernetesClustersClusterWorkerNodeArrayOutput) ToGetManagedKubernetesClustersClusterWorkerNodeArrayOutputWithContext ¶
func (o GetManagedKubernetesClustersClusterWorkerNodeArrayOutput) ToGetManagedKubernetesClustersClusterWorkerNodeArrayOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterWorkerNodeArrayOutput
type GetManagedKubernetesClustersClusterWorkerNodeInput ¶
type GetManagedKubernetesClustersClusterWorkerNodeInput interface { pulumi.Input ToGetManagedKubernetesClustersClusterWorkerNodeOutput() GetManagedKubernetesClustersClusterWorkerNodeOutput ToGetManagedKubernetesClustersClusterWorkerNodeOutputWithContext(context.Context) GetManagedKubernetesClustersClusterWorkerNodeOutput }
GetManagedKubernetesClustersClusterWorkerNodeInput is an input type that accepts GetManagedKubernetesClustersClusterWorkerNodeArgs and GetManagedKubernetesClustersClusterWorkerNodeOutput values. You can construct a concrete instance of `GetManagedKubernetesClustersClusterWorkerNodeInput` via:
GetManagedKubernetesClustersClusterWorkerNodeArgs{...}
type GetManagedKubernetesClustersClusterWorkerNodeOutput ¶
type GetManagedKubernetesClustersClusterWorkerNodeOutput struct{ *pulumi.OutputState }
func (GetManagedKubernetesClustersClusterWorkerNodeOutput) ElementType ¶
func (GetManagedKubernetesClustersClusterWorkerNodeOutput) ElementType() reflect.Type
func (GetManagedKubernetesClustersClusterWorkerNodeOutput) Name ¶
func (o GetManagedKubernetesClustersClusterWorkerNodeOutput) Name() pulumi.StringOutput
Node name.
func (GetManagedKubernetesClustersClusterWorkerNodeOutput) PrivateIp ¶
func (o GetManagedKubernetesClustersClusterWorkerNodeOutput) PrivateIp() pulumi.StringOutput
The private IP address of node.
func (GetManagedKubernetesClustersClusterWorkerNodeOutput) ToGetManagedKubernetesClustersClusterWorkerNodeOutput ¶
func (o GetManagedKubernetesClustersClusterWorkerNodeOutput) ToGetManagedKubernetesClustersClusterWorkerNodeOutput() GetManagedKubernetesClustersClusterWorkerNodeOutput
func (GetManagedKubernetesClustersClusterWorkerNodeOutput) ToGetManagedKubernetesClustersClusterWorkerNodeOutputWithContext ¶
func (o GetManagedKubernetesClustersClusterWorkerNodeOutput) ToGetManagedKubernetesClustersClusterWorkerNodeOutputWithContext(ctx context.Context) GetManagedKubernetesClustersClusterWorkerNodeOutput
type GetManagedKubernetesClustersResult ¶
type GetManagedKubernetesClustersResult struct { // A list of matched Kubernetes clusters. Each element contains the following attributes: Clusters []GetManagedKubernetesClustersCluster `pulumi:"clusters"` EnableDetails *bool `pulumi:"enableDetails"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of matched Kubernetes clusters' ids. Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` // A list of matched Kubernetes clusters' names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` }
A collection of values returned by getManagedKubernetesClusters.
func GetManagedKubernetesClusters ¶
func GetManagedKubernetesClusters(ctx *pulumi.Context, args *GetManagedKubernetesClustersArgs, opts ...pulumi.InvokeOption) (*GetManagedKubernetesClustersResult, error)
This data source provides a list Container Service Managed Kubernetes Clusters on Alibaba Cloud.
> **NOTE:** Available in v1.35.0+
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/cs" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "my-first-k8s" opt1 := "my-first-k8s-json" k8sClusters, err := cs.GetManagedKubernetesClusters(ctx, &cs.GetManagedKubernetesClustersArgs{ NameRegex: &opt0, OutputFile: &opt1, }, nil) if err != nil { return err } ctx.Export("output", k8sClusters.Clusters) return nil }) }
```
type GetRegistryEnterpriseInstancesArgs ¶ added in v2.8.0
type GetRegistryEnterpriseInstancesArgs struct { // A list of ids to filter results by instance id. Ids []string `pulumi:"ids"` // A regex string to filter results by instance name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getRegistryEnterpriseInstances.
type GetRegistryEnterpriseInstancesInstance ¶ added in v2.8.0
type GetRegistryEnterpriseInstancesInstance struct { // ID of Container Registry Enterprise Edition instance. Id string `pulumi:"id"` // Name of Container Registry Enterprise Edition instance. Name string `pulumi:"name"` // The max number of namespaces that an instance can create. NamespaceQuota string `pulumi:"namespaceQuota"` // The number of namespaces already created. NamespaceUsage string `pulumi:"namespaceUsage"` // A list of domains for access on internet network. PublicEndpoints []string `pulumi:"publicEndpoints"` // Region of Container Registry Enterprise Edition instance. Region string `pulumi:"region"` // The max number of repos that an instance can create. RepoQuota string `pulumi:"repoQuota"` // The number of repos already created. RepoUsage string `pulumi:"repoUsage"` // Specification of Container Registry Enterprise Edition instance. Specification string `pulumi:"specification"` // A list of domains for access on vpc network. VpcEndpoints []string `pulumi:"vpcEndpoints"` }
type GetRegistryEnterpriseInstancesInstanceArgs ¶ added in v2.8.0
type GetRegistryEnterpriseInstancesInstanceArgs struct { // ID of Container Registry Enterprise Edition instance. Id pulumi.StringInput `pulumi:"id"` // Name of Container Registry Enterprise Edition instance. Name pulumi.StringInput `pulumi:"name"` // The max number of namespaces that an instance can create. NamespaceQuota pulumi.StringInput `pulumi:"namespaceQuota"` // The number of namespaces already created. NamespaceUsage pulumi.StringInput `pulumi:"namespaceUsage"` // A list of domains for access on internet network. PublicEndpoints pulumi.StringArrayInput `pulumi:"publicEndpoints"` // Region of Container Registry Enterprise Edition instance. Region pulumi.StringInput `pulumi:"region"` // The max number of repos that an instance can create. RepoQuota pulumi.StringInput `pulumi:"repoQuota"` // The number of repos already created. RepoUsage pulumi.StringInput `pulumi:"repoUsage"` // Specification of Container Registry Enterprise Edition instance. Specification pulumi.StringInput `pulumi:"specification"` // A list of domains for access on vpc network. VpcEndpoints pulumi.StringArrayInput `pulumi:"vpcEndpoints"` }
func (GetRegistryEnterpriseInstancesInstanceArgs) ElementType ¶ added in v2.8.0
func (GetRegistryEnterpriseInstancesInstanceArgs) ElementType() reflect.Type
func (GetRegistryEnterpriseInstancesInstanceArgs) ToGetRegistryEnterpriseInstancesInstanceOutput ¶ added in v2.8.0
func (i GetRegistryEnterpriseInstancesInstanceArgs) ToGetRegistryEnterpriseInstancesInstanceOutput() GetRegistryEnterpriseInstancesInstanceOutput
func (GetRegistryEnterpriseInstancesInstanceArgs) ToGetRegistryEnterpriseInstancesInstanceOutputWithContext ¶ added in v2.8.0
func (i GetRegistryEnterpriseInstancesInstanceArgs) ToGetRegistryEnterpriseInstancesInstanceOutputWithContext(ctx context.Context) GetRegistryEnterpriseInstancesInstanceOutput
type GetRegistryEnterpriseInstancesInstanceArray ¶ added in v2.8.0
type GetRegistryEnterpriseInstancesInstanceArray []GetRegistryEnterpriseInstancesInstanceInput
func (GetRegistryEnterpriseInstancesInstanceArray) ElementType ¶ added in v2.8.0
func (GetRegistryEnterpriseInstancesInstanceArray) ElementType() reflect.Type
func (GetRegistryEnterpriseInstancesInstanceArray) ToGetRegistryEnterpriseInstancesInstanceArrayOutput ¶ added in v2.8.0
func (i GetRegistryEnterpriseInstancesInstanceArray) ToGetRegistryEnterpriseInstancesInstanceArrayOutput() GetRegistryEnterpriseInstancesInstanceArrayOutput
func (GetRegistryEnterpriseInstancesInstanceArray) ToGetRegistryEnterpriseInstancesInstanceArrayOutputWithContext ¶ added in v2.8.0
func (i GetRegistryEnterpriseInstancesInstanceArray) ToGetRegistryEnterpriseInstancesInstanceArrayOutputWithContext(ctx context.Context) GetRegistryEnterpriseInstancesInstanceArrayOutput
type GetRegistryEnterpriseInstancesInstanceArrayInput ¶ added in v2.8.0
type GetRegistryEnterpriseInstancesInstanceArrayInput interface { pulumi.Input ToGetRegistryEnterpriseInstancesInstanceArrayOutput() GetRegistryEnterpriseInstancesInstanceArrayOutput ToGetRegistryEnterpriseInstancesInstanceArrayOutputWithContext(context.Context) GetRegistryEnterpriseInstancesInstanceArrayOutput }
GetRegistryEnterpriseInstancesInstanceArrayInput is an input type that accepts GetRegistryEnterpriseInstancesInstanceArray and GetRegistryEnterpriseInstancesInstanceArrayOutput values. You can construct a concrete instance of `GetRegistryEnterpriseInstancesInstanceArrayInput` via:
GetRegistryEnterpriseInstancesInstanceArray{ GetRegistryEnterpriseInstancesInstanceArgs{...} }
type GetRegistryEnterpriseInstancesInstanceArrayOutput ¶ added in v2.8.0
type GetRegistryEnterpriseInstancesInstanceArrayOutput struct{ *pulumi.OutputState }
func (GetRegistryEnterpriseInstancesInstanceArrayOutput) ElementType ¶ added in v2.8.0
func (GetRegistryEnterpriseInstancesInstanceArrayOutput) ElementType() reflect.Type
func (GetRegistryEnterpriseInstancesInstanceArrayOutput) ToGetRegistryEnterpriseInstancesInstanceArrayOutput ¶ added in v2.8.0
func (o GetRegistryEnterpriseInstancesInstanceArrayOutput) ToGetRegistryEnterpriseInstancesInstanceArrayOutput() GetRegistryEnterpriseInstancesInstanceArrayOutput
func (GetRegistryEnterpriseInstancesInstanceArrayOutput) ToGetRegistryEnterpriseInstancesInstanceArrayOutputWithContext ¶ added in v2.8.0
func (o GetRegistryEnterpriseInstancesInstanceArrayOutput) ToGetRegistryEnterpriseInstancesInstanceArrayOutputWithContext(ctx context.Context) GetRegistryEnterpriseInstancesInstanceArrayOutput
type GetRegistryEnterpriseInstancesInstanceInput ¶ added in v2.8.0
type GetRegistryEnterpriseInstancesInstanceInput interface { pulumi.Input ToGetRegistryEnterpriseInstancesInstanceOutput() GetRegistryEnterpriseInstancesInstanceOutput ToGetRegistryEnterpriseInstancesInstanceOutputWithContext(context.Context) GetRegistryEnterpriseInstancesInstanceOutput }
GetRegistryEnterpriseInstancesInstanceInput is an input type that accepts GetRegistryEnterpriseInstancesInstanceArgs and GetRegistryEnterpriseInstancesInstanceOutput values. You can construct a concrete instance of `GetRegistryEnterpriseInstancesInstanceInput` via:
GetRegistryEnterpriseInstancesInstanceArgs{...}
type GetRegistryEnterpriseInstancesInstanceOutput ¶ added in v2.8.0
type GetRegistryEnterpriseInstancesInstanceOutput struct{ *pulumi.OutputState }
func (GetRegistryEnterpriseInstancesInstanceOutput) ElementType ¶ added in v2.8.0
func (GetRegistryEnterpriseInstancesInstanceOutput) ElementType() reflect.Type
func (GetRegistryEnterpriseInstancesInstanceOutput) Id ¶ added in v2.8.0
func (o GetRegistryEnterpriseInstancesInstanceOutput) Id() pulumi.StringOutput
ID of Container Registry Enterprise Edition instance.
func (GetRegistryEnterpriseInstancesInstanceOutput) Name ¶ added in v2.8.0
func (o GetRegistryEnterpriseInstancesInstanceOutput) Name() pulumi.StringOutput
Name of Container Registry Enterprise Edition instance.
func (GetRegistryEnterpriseInstancesInstanceOutput) NamespaceQuota ¶ added in v2.8.0
func (o GetRegistryEnterpriseInstancesInstanceOutput) NamespaceQuota() pulumi.StringOutput
The max number of namespaces that an instance can create.
func (GetRegistryEnterpriseInstancesInstanceOutput) NamespaceUsage ¶ added in v2.8.0
func (o GetRegistryEnterpriseInstancesInstanceOutput) NamespaceUsage() pulumi.StringOutput
The number of namespaces already created.
func (GetRegistryEnterpriseInstancesInstanceOutput) PublicEndpoints ¶ added in v2.8.0
func (o GetRegistryEnterpriseInstancesInstanceOutput) PublicEndpoints() pulumi.StringArrayOutput
A list of domains for access on internet network.
func (GetRegistryEnterpriseInstancesInstanceOutput) Region ¶ added in v2.8.0
func (o GetRegistryEnterpriseInstancesInstanceOutput) Region() pulumi.StringOutput
Region of Container Registry Enterprise Edition instance.
func (GetRegistryEnterpriseInstancesInstanceOutput) RepoQuota ¶ added in v2.8.0
func (o GetRegistryEnterpriseInstancesInstanceOutput) RepoQuota() pulumi.StringOutput
The max number of repos that an instance can create.
func (GetRegistryEnterpriseInstancesInstanceOutput) RepoUsage ¶ added in v2.8.0
func (o GetRegistryEnterpriseInstancesInstanceOutput) RepoUsage() pulumi.StringOutput
The number of repos already created.
func (GetRegistryEnterpriseInstancesInstanceOutput) Specification ¶ added in v2.8.0
func (o GetRegistryEnterpriseInstancesInstanceOutput) Specification() pulumi.StringOutput
Specification of Container Registry Enterprise Edition instance.
func (GetRegistryEnterpriseInstancesInstanceOutput) ToGetRegistryEnterpriseInstancesInstanceOutput ¶ added in v2.8.0
func (o GetRegistryEnterpriseInstancesInstanceOutput) ToGetRegistryEnterpriseInstancesInstanceOutput() GetRegistryEnterpriseInstancesInstanceOutput
func (GetRegistryEnterpriseInstancesInstanceOutput) ToGetRegistryEnterpriseInstancesInstanceOutputWithContext ¶ added in v2.8.0
func (o GetRegistryEnterpriseInstancesInstanceOutput) ToGetRegistryEnterpriseInstancesInstanceOutputWithContext(ctx context.Context) GetRegistryEnterpriseInstancesInstanceOutput
func (GetRegistryEnterpriseInstancesInstanceOutput) VpcEndpoints ¶ added in v2.8.0
func (o GetRegistryEnterpriseInstancesInstanceOutput) VpcEndpoints() pulumi.StringArrayOutput
A list of domains for access on vpc network.
type GetRegistryEnterpriseInstancesResult ¶ added in v2.8.0
type GetRegistryEnterpriseInstancesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of matched Container Registry Enterprise Edition instances. Its element is an instance uuid. Ids []string `pulumi:"ids"` // A list of matched Container Registry Enterprise Editioninstances. Each element contains the following attributes: Instances []GetRegistryEnterpriseInstancesInstance `pulumi:"instances"` NameRegex *string `pulumi:"nameRegex"` // A list of instance names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` }
A collection of values returned by getRegistryEnterpriseInstances.
func GetRegistryEnterpriseInstances ¶ added in v2.8.0
func GetRegistryEnterpriseInstances(ctx *pulumi.Context, args *GetRegistryEnterpriseInstancesArgs, opts ...pulumi.InvokeOption) (*GetRegistryEnterpriseInstancesResult, error)
This data source provides a list Container Registry Enterprise Edition instances on Alibaba Cloud.
> **NOTE:** Available in v1.86.0+
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/cs" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "my-instances" opt1 := "my-instances-json" myInstances, err := cs.GetRegistryEnterpriseInstances(ctx, &cs.GetRegistryEnterpriseInstancesArgs{ NameRegex: &opt0, OutputFile: &opt1, }, nil) if err != nil { return err } ctx.Export("output", myInstances.Instances) return nil }) }
```
type GetRegistryEnterpriseNamespacesArgs ¶ added in v2.8.0
type GetRegistryEnterpriseNamespacesArgs struct { // A list of ids to filter results by namespace id. Ids []string `pulumi:"ids"` // ID of Container Registry Enterprise Edition instance. InstanceId string `pulumi:"instanceId"` // A regex string to filter results by namespace name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getRegistryEnterpriseNamespaces.
type GetRegistryEnterpriseNamespacesNamespace ¶ added in v2.8.0
type GetRegistryEnterpriseNamespacesNamespace struct { // Boolean, when it set to true, repositories are automatically created when pushing new images. If it set to false, you create repository for images before pushing. AutoCreate bool `pulumi:"autoCreate"` // `PUBLIC` or `PRIVATE`, default repository visibility in this namespace. DefaultVisibility string `pulumi:"defaultVisibility"` // ID of Container Registry Enterprise Edition namespace. Id string `pulumi:"id"` // ID of Container Registry Enterprise Edition instance. InstanceId string `pulumi:"instanceId"` // Name of Container Registry Enterprise Edition namespace. Name string `pulumi:"name"` }
type GetRegistryEnterpriseNamespacesNamespaceArgs ¶ added in v2.8.0
type GetRegistryEnterpriseNamespacesNamespaceArgs struct { // Boolean, when it set to true, repositories are automatically created when pushing new images. If it set to false, you create repository for images before pushing. AutoCreate pulumi.BoolInput `pulumi:"autoCreate"` // `PUBLIC` or `PRIVATE`, default repository visibility in this namespace. DefaultVisibility pulumi.StringInput `pulumi:"defaultVisibility"` // ID of Container Registry Enterprise Edition namespace. Id pulumi.StringInput `pulumi:"id"` // ID of Container Registry Enterprise Edition instance. InstanceId pulumi.StringInput `pulumi:"instanceId"` // Name of Container Registry Enterprise Edition namespace. Name pulumi.StringInput `pulumi:"name"` }
func (GetRegistryEnterpriseNamespacesNamespaceArgs) ElementType ¶ added in v2.8.0
func (GetRegistryEnterpriseNamespacesNamespaceArgs) ElementType() reflect.Type
func (GetRegistryEnterpriseNamespacesNamespaceArgs) ToGetRegistryEnterpriseNamespacesNamespaceOutput ¶ added in v2.8.0
func (i GetRegistryEnterpriseNamespacesNamespaceArgs) ToGetRegistryEnterpriseNamespacesNamespaceOutput() GetRegistryEnterpriseNamespacesNamespaceOutput
func (GetRegistryEnterpriseNamespacesNamespaceArgs) ToGetRegistryEnterpriseNamespacesNamespaceOutputWithContext ¶ added in v2.8.0
func (i GetRegistryEnterpriseNamespacesNamespaceArgs) ToGetRegistryEnterpriseNamespacesNamespaceOutputWithContext(ctx context.Context) GetRegistryEnterpriseNamespacesNamespaceOutput
type GetRegistryEnterpriseNamespacesNamespaceArray ¶ added in v2.8.0
type GetRegistryEnterpriseNamespacesNamespaceArray []GetRegistryEnterpriseNamespacesNamespaceInput
func (GetRegistryEnterpriseNamespacesNamespaceArray) ElementType ¶ added in v2.8.0
func (GetRegistryEnterpriseNamespacesNamespaceArray) ElementType() reflect.Type
func (GetRegistryEnterpriseNamespacesNamespaceArray) ToGetRegistryEnterpriseNamespacesNamespaceArrayOutput ¶ added in v2.8.0
func (i GetRegistryEnterpriseNamespacesNamespaceArray) ToGetRegistryEnterpriseNamespacesNamespaceArrayOutput() GetRegistryEnterpriseNamespacesNamespaceArrayOutput
func (GetRegistryEnterpriseNamespacesNamespaceArray) ToGetRegistryEnterpriseNamespacesNamespaceArrayOutputWithContext ¶ added in v2.8.0
func (i GetRegistryEnterpriseNamespacesNamespaceArray) ToGetRegistryEnterpriseNamespacesNamespaceArrayOutputWithContext(ctx context.Context) GetRegistryEnterpriseNamespacesNamespaceArrayOutput
type GetRegistryEnterpriseNamespacesNamespaceArrayInput ¶ added in v2.8.0
type GetRegistryEnterpriseNamespacesNamespaceArrayInput interface { pulumi.Input ToGetRegistryEnterpriseNamespacesNamespaceArrayOutput() GetRegistryEnterpriseNamespacesNamespaceArrayOutput ToGetRegistryEnterpriseNamespacesNamespaceArrayOutputWithContext(context.Context) GetRegistryEnterpriseNamespacesNamespaceArrayOutput }
GetRegistryEnterpriseNamespacesNamespaceArrayInput is an input type that accepts GetRegistryEnterpriseNamespacesNamespaceArray and GetRegistryEnterpriseNamespacesNamespaceArrayOutput values. You can construct a concrete instance of `GetRegistryEnterpriseNamespacesNamespaceArrayInput` via:
GetRegistryEnterpriseNamespacesNamespaceArray{ GetRegistryEnterpriseNamespacesNamespaceArgs{...} }
type GetRegistryEnterpriseNamespacesNamespaceArrayOutput ¶ added in v2.8.0
type GetRegistryEnterpriseNamespacesNamespaceArrayOutput struct{ *pulumi.OutputState }
func (GetRegistryEnterpriseNamespacesNamespaceArrayOutput) ElementType ¶ added in v2.8.0
func (GetRegistryEnterpriseNamespacesNamespaceArrayOutput) ElementType() reflect.Type
func (GetRegistryEnterpriseNamespacesNamespaceArrayOutput) ToGetRegistryEnterpriseNamespacesNamespaceArrayOutput ¶ added in v2.8.0
func (o GetRegistryEnterpriseNamespacesNamespaceArrayOutput) ToGetRegistryEnterpriseNamespacesNamespaceArrayOutput() GetRegistryEnterpriseNamespacesNamespaceArrayOutput
func (GetRegistryEnterpriseNamespacesNamespaceArrayOutput) ToGetRegistryEnterpriseNamespacesNamespaceArrayOutputWithContext ¶ added in v2.8.0
func (o GetRegistryEnterpriseNamespacesNamespaceArrayOutput) ToGetRegistryEnterpriseNamespacesNamespaceArrayOutputWithContext(ctx context.Context) GetRegistryEnterpriseNamespacesNamespaceArrayOutput
type GetRegistryEnterpriseNamespacesNamespaceInput ¶ added in v2.8.0
type GetRegistryEnterpriseNamespacesNamespaceInput interface { pulumi.Input ToGetRegistryEnterpriseNamespacesNamespaceOutput() GetRegistryEnterpriseNamespacesNamespaceOutput ToGetRegistryEnterpriseNamespacesNamespaceOutputWithContext(context.Context) GetRegistryEnterpriseNamespacesNamespaceOutput }
GetRegistryEnterpriseNamespacesNamespaceInput is an input type that accepts GetRegistryEnterpriseNamespacesNamespaceArgs and GetRegistryEnterpriseNamespacesNamespaceOutput values. You can construct a concrete instance of `GetRegistryEnterpriseNamespacesNamespaceInput` via:
GetRegistryEnterpriseNamespacesNamespaceArgs{...}
type GetRegistryEnterpriseNamespacesNamespaceOutput ¶ added in v2.8.0
type GetRegistryEnterpriseNamespacesNamespaceOutput struct{ *pulumi.OutputState }
func (GetRegistryEnterpriseNamespacesNamespaceOutput) AutoCreate ¶ added in v2.8.0
func (o GetRegistryEnterpriseNamespacesNamespaceOutput) AutoCreate() pulumi.BoolOutput
Boolean, when it set to true, repositories are automatically created when pushing new images. If it set to false, you create repository for images before pushing.
func (GetRegistryEnterpriseNamespacesNamespaceOutput) DefaultVisibility ¶ added in v2.8.0
func (o GetRegistryEnterpriseNamespacesNamespaceOutput) DefaultVisibility() pulumi.StringOutput
`PUBLIC` or `PRIVATE`, default repository visibility in this namespace.
func (GetRegistryEnterpriseNamespacesNamespaceOutput) ElementType ¶ added in v2.8.0
func (GetRegistryEnterpriseNamespacesNamespaceOutput) ElementType() reflect.Type
func (GetRegistryEnterpriseNamespacesNamespaceOutput) Id ¶ added in v2.8.0
func (o GetRegistryEnterpriseNamespacesNamespaceOutput) Id() pulumi.StringOutput
ID of Container Registry Enterprise Edition namespace.
func (GetRegistryEnterpriseNamespacesNamespaceOutput) InstanceId ¶ added in v2.8.0
func (o GetRegistryEnterpriseNamespacesNamespaceOutput) InstanceId() pulumi.StringOutput
ID of Container Registry Enterprise Edition instance.
func (GetRegistryEnterpriseNamespacesNamespaceOutput) Name ¶ added in v2.8.0
func (o GetRegistryEnterpriseNamespacesNamespaceOutput) Name() pulumi.StringOutput
Name of Container Registry Enterprise Edition namespace.
func (GetRegistryEnterpriseNamespacesNamespaceOutput) ToGetRegistryEnterpriseNamespacesNamespaceOutput ¶ added in v2.8.0
func (o GetRegistryEnterpriseNamespacesNamespaceOutput) ToGetRegistryEnterpriseNamespacesNamespaceOutput() GetRegistryEnterpriseNamespacesNamespaceOutput
func (GetRegistryEnterpriseNamespacesNamespaceOutput) ToGetRegistryEnterpriseNamespacesNamespaceOutputWithContext ¶ added in v2.8.0
func (o GetRegistryEnterpriseNamespacesNamespaceOutput) ToGetRegistryEnterpriseNamespacesNamespaceOutputWithContext(ctx context.Context) GetRegistryEnterpriseNamespacesNamespaceOutput
type GetRegistryEnterpriseNamespacesResult ¶ added in v2.8.0
type GetRegistryEnterpriseNamespacesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of matched Container Registry Enterprise Edition namespaces. Its element is a namespace uuid. Ids []string `pulumi:"ids"` // ID of Container Registry Enterprise Edition instance. InstanceId string `pulumi:"instanceId"` NameRegex *string `pulumi:"nameRegex"` // A list of namespace names. Names []string `pulumi:"names"` // A list of matched Container Registry Enterprise Edition namespaces. Each element contains the following attributes: Namespaces []GetRegistryEnterpriseNamespacesNamespace `pulumi:"namespaces"` OutputFile *string `pulumi:"outputFile"` }
A collection of values returned by getRegistryEnterpriseNamespaces.
func GetRegistryEnterpriseNamespaces ¶ added in v2.8.0
func GetRegistryEnterpriseNamespaces(ctx *pulumi.Context, args *GetRegistryEnterpriseNamespacesArgs, opts ...pulumi.InvokeOption) (*GetRegistryEnterpriseNamespacesResult, error)
This data source provides a list Container Registry Enterprise Edition namespaces on Alibaba Cloud.
> **NOTE:** Available in v1.86.0+
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/cs" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "my-namespace" opt1 := "my-namespace-json" myNamespaces, err := cs.GetRegistryEnterpriseNamespaces(ctx, &cs.GetRegistryEnterpriseNamespacesArgs{ InstanceId: "cri-xxx", NameRegex: &opt0, OutputFile: &opt1, }, nil) if err != nil { return err } ctx.Export("output", myNamespaces.Namespaces) return nil }) }
```
type GetRegistryEnterpriseReposArgs ¶ added in v2.9.0
type GetRegistryEnterpriseReposArgs struct { // Boolean, false by default, only repository attributes are exported. Set to true if tags belong to this repository are needed. See `tags` in attributes. EnableDetails *bool `pulumi:"enableDetails"` // A list of ids to filter results by repository id. Ids []string `pulumi:"ids"` // ID of Container Registry Enterprise Edition instance. InstanceId string `pulumi:"instanceId"` // A regex string to filter results by repository name. NameRegex *string `pulumi:"nameRegex"` // Name of Container Registry Enterprise Edition namespace where the repositories are located in. Namespace *string `pulumi:"namespace"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getRegistryEnterpriseRepos.
type GetRegistryEnterpriseReposRepo ¶ added in v2.9.0
type GetRegistryEnterpriseReposRepo struct { // ID of Container Registry Enterprise Edition repository. Id string `pulumi:"id"` // ID of Container Registry Enterprise Edition instance. InstanceId string `pulumi:"instanceId"` // Name of Container Registry Enterprise Edition repository. Name string `pulumi:"name"` // Name of Container Registry Enterprise Edition namespace where the repositories are located in. Namespace string `pulumi:"namespace"` // `PUBLIC` or `PRIVATE`, repository's visibility. RepoType string `pulumi:"repoType"` // The repository general information. Summary string `pulumi:"summary"` // A list of image tags belong to this repository. Each contains several attributes, see `Block Tag`. Tags []GetRegistryEnterpriseReposRepoTag `pulumi:"tags"` }
type GetRegistryEnterpriseReposRepoArgs ¶ added in v2.9.0
type GetRegistryEnterpriseReposRepoArgs struct { // ID of Container Registry Enterprise Edition repository. Id pulumi.StringInput `pulumi:"id"` // ID of Container Registry Enterprise Edition instance. InstanceId pulumi.StringInput `pulumi:"instanceId"` // Name of Container Registry Enterprise Edition repository. Name pulumi.StringInput `pulumi:"name"` // Name of Container Registry Enterprise Edition namespace where the repositories are located in. Namespace pulumi.StringInput `pulumi:"namespace"` // `PUBLIC` or `PRIVATE`, repository's visibility. RepoType pulumi.StringInput `pulumi:"repoType"` // The repository general information. Summary pulumi.StringInput `pulumi:"summary"` // A list of image tags belong to this repository. Each contains several attributes, see `Block Tag`. Tags GetRegistryEnterpriseReposRepoTagArrayInput `pulumi:"tags"` }
func (GetRegistryEnterpriseReposRepoArgs) ElementType ¶ added in v2.9.0
func (GetRegistryEnterpriseReposRepoArgs) ElementType() reflect.Type
func (GetRegistryEnterpriseReposRepoArgs) ToGetRegistryEnterpriseReposRepoOutput ¶ added in v2.9.0
func (i GetRegistryEnterpriseReposRepoArgs) ToGetRegistryEnterpriseReposRepoOutput() GetRegistryEnterpriseReposRepoOutput
func (GetRegistryEnterpriseReposRepoArgs) ToGetRegistryEnterpriseReposRepoOutputWithContext ¶ added in v2.9.0
func (i GetRegistryEnterpriseReposRepoArgs) ToGetRegistryEnterpriseReposRepoOutputWithContext(ctx context.Context) GetRegistryEnterpriseReposRepoOutput
type GetRegistryEnterpriseReposRepoArray ¶ added in v2.9.0
type GetRegistryEnterpriseReposRepoArray []GetRegistryEnterpriseReposRepoInput
func (GetRegistryEnterpriseReposRepoArray) ElementType ¶ added in v2.9.0
func (GetRegistryEnterpriseReposRepoArray) ElementType() reflect.Type
func (GetRegistryEnterpriseReposRepoArray) ToGetRegistryEnterpriseReposRepoArrayOutput ¶ added in v2.9.0
func (i GetRegistryEnterpriseReposRepoArray) ToGetRegistryEnterpriseReposRepoArrayOutput() GetRegistryEnterpriseReposRepoArrayOutput
func (GetRegistryEnterpriseReposRepoArray) ToGetRegistryEnterpriseReposRepoArrayOutputWithContext ¶ added in v2.9.0
func (i GetRegistryEnterpriseReposRepoArray) ToGetRegistryEnterpriseReposRepoArrayOutputWithContext(ctx context.Context) GetRegistryEnterpriseReposRepoArrayOutput
type GetRegistryEnterpriseReposRepoArrayInput ¶ added in v2.9.0
type GetRegistryEnterpriseReposRepoArrayInput interface { pulumi.Input ToGetRegistryEnterpriseReposRepoArrayOutput() GetRegistryEnterpriseReposRepoArrayOutput ToGetRegistryEnterpriseReposRepoArrayOutputWithContext(context.Context) GetRegistryEnterpriseReposRepoArrayOutput }
GetRegistryEnterpriseReposRepoArrayInput is an input type that accepts GetRegistryEnterpriseReposRepoArray and GetRegistryEnterpriseReposRepoArrayOutput values. You can construct a concrete instance of `GetRegistryEnterpriseReposRepoArrayInput` via:
GetRegistryEnterpriseReposRepoArray{ GetRegistryEnterpriseReposRepoArgs{...} }
type GetRegistryEnterpriseReposRepoArrayOutput ¶ added in v2.9.0
type GetRegistryEnterpriseReposRepoArrayOutput struct{ *pulumi.OutputState }
func (GetRegistryEnterpriseReposRepoArrayOutput) ElementType ¶ added in v2.9.0
func (GetRegistryEnterpriseReposRepoArrayOutput) ElementType() reflect.Type
func (GetRegistryEnterpriseReposRepoArrayOutput) ToGetRegistryEnterpriseReposRepoArrayOutput ¶ added in v2.9.0
func (o GetRegistryEnterpriseReposRepoArrayOutput) ToGetRegistryEnterpriseReposRepoArrayOutput() GetRegistryEnterpriseReposRepoArrayOutput
func (GetRegistryEnterpriseReposRepoArrayOutput) ToGetRegistryEnterpriseReposRepoArrayOutputWithContext ¶ added in v2.9.0
func (o GetRegistryEnterpriseReposRepoArrayOutput) ToGetRegistryEnterpriseReposRepoArrayOutputWithContext(ctx context.Context) GetRegistryEnterpriseReposRepoArrayOutput
type GetRegistryEnterpriseReposRepoInput ¶ added in v2.9.0
type GetRegistryEnterpriseReposRepoInput interface { pulumi.Input ToGetRegistryEnterpriseReposRepoOutput() GetRegistryEnterpriseReposRepoOutput ToGetRegistryEnterpriseReposRepoOutputWithContext(context.Context) GetRegistryEnterpriseReposRepoOutput }
GetRegistryEnterpriseReposRepoInput is an input type that accepts GetRegistryEnterpriseReposRepoArgs and GetRegistryEnterpriseReposRepoOutput values. You can construct a concrete instance of `GetRegistryEnterpriseReposRepoInput` via:
GetRegistryEnterpriseReposRepoArgs{...}
type GetRegistryEnterpriseReposRepoOutput ¶ added in v2.9.0
type GetRegistryEnterpriseReposRepoOutput struct{ *pulumi.OutputState }
func (GetRegistryEnterpriseReposRepoOutput) ElementType ¶ added in v2.9.0
func (GetRegistryEnterpriseReposRepoOutput) ElementType() reflect.Type
func (GetRegistryEnterpriseReposRepoOutput) Id ¶ added in v2.9.0
func (o GetRegistryEnterpriseReposRepoOutput) Id() pulumi.StringOutput
ID of Container Registry Enterprise Edition repository.
func (GetRegistryEnterpriseReposRepoOutput) InstanceId ¶ added in v2.9.0
func (o GetRegistryEnterpriseReposRepoOutput) InstanceId() pulumi.StringOutput
ID of Container Registry Enterprise Edition instance.
func (GetRegistryEnterpriseReposRepoOutput) Name ¶ added in v2.9.0
func (o GetRegistryEnterpriseReposRepoOutput) Name() pulumi.StringOutput
Name of Container Registry Enterprise Edition repository.
func (GetRegistryEnterpriseReposRepoOutput) Namespace ¶ added in v2.9.0
func (o GetRegistryEnterpriseReposRepoOutput) Namespace() pulumi.StringOutput
Name of Container Registry Enterprise Edition namespace where the repositories are located in.
func (GetRegistryEnterpriseReposRepoOutput) RepoType ¶ added in v2.9.0
func (o GetRegistryEnterpriseReposRepoOutput) RepoType() pulumi.StringOutput
`PUBLIC` or `PRIVATE`, repository's visibility.
func (GetRegistryEnterpriseReposRepoOutput) Summary ¶ added in v2.9.0
func (o GetRegistryEnterpriseReposRepoOutput) Summary() pulumi.StringOutput
The repository general information.
func (GetRegistryEnterpriseReposRepoOutput) Tags ¶ added in v2.9.0
A list of image tags belong to this repository. Each contains several attributes, see `Block Tag`.
func (GetRegistryEnterpriseReposRepoOutput) ToGetRegistryEnterpriseReposRepoOutput ¶ added in v2.9.0
func (o GetRegistryEnterpriseReposRepoOutput) ToGetRegistryEnterpriseReposRepoOutput() GetRegistryEnterpriseReposRepoOutput
func (GetRegistryEnterpriseReposRepoOutput) ToGetRegistryEnterpriseReposRepoOutputWithContext ¶ added in v2.9.0
func (o GetRegistryEnterpriseReposRepoOutput) ToGetRegistryEnterpriseReposRepoOutputWithContext(ctx context.Context) GetRegistryEnterpriseReposRepoOutput
type GetRegistryEnterpriseReposRepoTag ¶ added in v2.9.0
type GetRegistryEnterpriseReposRepoTag struct { // Digest of this image. Digest string `pulumi:"digest"` // Create time of this image, unix time in nanoseconds. ImageCreate string `pulumi:"imageCreate"` // Id of this image. ImageId string `pulumi:"imageId"` // Status of this image, in bytes. ImageSize int `pulumi:"imageSize"` // Last update time of this image, unix time in nanoseconds. ImageUpdate string `pulumi:"imageUpdate"` // Status of this image. Status string `pulumi:"status"` // Tag of this image. Tag string `pulumi:"tag"` }
type GetRegistryEnterpriseReposRepoTagArgs ¶ added in v2.9.0
type GetRegistryEnterpriseReposRepoTagArgs struct { // Digest of this image. Digest pulumi.StringInput `pulumi:"digest"` // Create time of this image, unix time in nanoseconds. ImageCreate pulumi.StringInput `pulumi:"imageCreate"` // Id of this image. ImageId pulumi.StringInput `pulumi:"imageId"` // Status of this image, in bytes. ImageSize pulumi.IntInput `pulumi:"imageSize"` // Last update time of this image, unix time in nanoseconds. ImageUpdate pulumi.StringInput `pulumi:"imageUpdate"` // Status of this image. Status pulumi.StringInput `pulumi:"status"` // Tag of this image. Tag pulumi.StringInput `pulumi:"tag"` }
func (GetRegistryEnterpriseReposRepoTagArgs) ElementType ¶ added in v2.9.0
func (GetRegistryEnterpriseReposRepoTagArgs) ElementType() reflect.Type
func (GetRegistryEnterpriseReposRepoTagArgs) ToGetRegistryEnterpriseReposRepoTagOutput ¶ added in v2.9.0
func (i GetRegistryEnterpriseReposRepoTagArgs) ToGetRegistryEnterpriseReposRepoTagOutput() GetRegistryEnterpriseReposRepoTagOutput
func (GetRegistryEnterpriseReposRepoTagArgs) ToGetRegistryEnterpriseReposRepoTagOutputWithContext ¶ added in v2.9.0
func (i GetRegistryEnterpriseReposRepoTagArgs) ToGetRegistryEnterpriseReposRepoTagOutputWithContext(ctx context.Context) GetRegistryEnterpriseReposRepoTagOutput
type GetRegistryEnterpriseReposRepoTagArray ¶ added in v2.9.0
type GetRegistryEnterpriseReposRepoTagArray []GetRegistryEnterpriseReposRepoTagInput
func (GetRegistryEnterpriseReposRepoTagArray) ElementType ¶ added in v2.9.0
func (GetRegistryEnterpriseReposRepoTagArray) ElementType() reflect.Type
func (GetRegistryEnterpriseReposRepoTagArray) ToGetRegistryEnterpriseReposRepoTagArrayOutput ¶ added in v2.9.0
func (i GetRegistryEnterpriseReposRepoTagArray) ToGetRegistryEnterpriseReposRepoTagArrayOutput() GetRegistryEnterpriseReposRepoTagArrayOutput
func (GetRegistryEnterpriseReposRepoTagArray) ToGetRegistryEnterpriseReposRepoTagArrayOutputWithContext ¶ added in v2.9.0
func (i GetRegistryEnterpriseReposRepoTagArray) ToGetRegistryEnterpriseReposRepoTagArrayOutputWithContext(ctx context.Context) GetRegistryEnterpriseReposRepoTagArrayOutput
type GetRegistryEnterpriseReposRepoTagArrayInput ¶ added in v2.9.0
type GetRegistryEnterpriseReposRepoTagArrayInput interface { pulumi.Input ToGetRegistryEnterpriseReposRepoTagArrayOutput() GetRegistryEnterpriseReposRepoTagArrayOutput ToGetRegistryEnterpriseReposRepoTagArrayOutputWithContext(context.Context) GetRegistryEnterpriseReposRepoTagArrayOutput }
GetRegistryEnterpriseReposRepoTagArrayInput is an input type that accepts GetRegistryEnterpriseReposRepoTagArray and GetRegistryEnterpriseReposRepoTagArrayOutput values. You can construct a concrete instance of `GetRegistryEnterpriseReposRepoTagArrayInput` via:
GetRegistryEnterpriseReposRepoTagArray{ GetRegistryEnterpriseReposRepoTagArgs{...} }
type GetRegistryEnterpriseReposRepoTagArrayOutput ¶ added in v2.9.0
type GetRegistryEnterpriseReposRepoTagArrayOutput struct{ *pulumi.OutputState }
func (GetRegistryEnterpriseReposRepoTagArrayOutput) ElementType ¶ added in v2.9.0
func (GetRegistryEnterpriseReposRepoTagArrayOutput) ElementType() reflect.Type
func (GetRegistryEnterpriseReposRepoTagArrayOutput) ToGetRegistryEnterpriseReposRepoTagArrayOutput ¶ added in v2.9.0
func (o GetRegistryEnterpriseReposRepoTagArrayOutput) ToGetRegistryEnterpriseReposRepoTagArrayOutput() GetRegistryEnterpriseReposRepoTagArrayOutput
func (GetRegistryEnterpriseReposRepoTagArrayOutput) ToGetRegistryEnterpriseReposRepoTagArrayOutputWithContext ¶ added in v2.9.0
func (o GetRegistryEnterpriseReposRepoTagArrayOutput) ToGetRegistryEnterpriseReposRepoTagArrayOutputWithContext(ctx context.Context) GetRegistryEnterpriseReposRepoTagArrayOutput
type GetRegistryEnterpriseReposRepoTagInput ¶ added in v2.9.0
type GetRegistryEnterpriseReposRepoTagInput interface { pulumi.Input ToGetRegistryEnterpriseReposRepoTagOutput() GetRegistryEnterpriseReposRepoTagOutput ToGetRegistryEnterpriseReposRepoTagOutputWithContext(context.Context) GetRegistryEnterpriseReposRepoTagOutput }
GetRegistryEnterpriseReposRepoTagInput is an input type that accepts GetRegistryEnterpriseReposRepoTagArgs and GetRegistryEnterpriseReposRepoTagOutput values. You can construct a concrete instance of `GetRegistryEnterpriseReposRepoTagInput` via:
GetRegistryEnterpriseReposRepoTagArgs{...}
type GetRegistryEnterpriseReposRepoTagOutput ¶ added in v2.9.0
type GetRegistryEnterpriseReposRepoTagOutput struct{ *pulumi.OutputState }
func (GetRegistryEnterpriseReposRepoTagOutput) Digest ¶ added in v2.9.0
func (o GetRegistryEnterpriseReposRepoTagOutput) Digest() pulumi.StringOutput
Digest of this image.
func (GetRegistryEnterpriseReposRepoTagOutput) ElementType ¶ added in v2.9.0
func (GetRegistryEnterpriseReposRepoTagOutput) ElementType() reflect.Type
func (GetRegistryEnterpriseReposRepoTagOutput) ImageCreate ¶ added in v2.9.0
func (o GetRegistryEnterpriseReposRepoTagOutput) ImageCreate() pulumi.StringOutput
Create time of this image, unix time in nanoseconds.
func (GetRegistryEnterpriseReposRepoTagOutput) ImageId ¶ added in v2.9.0
func (o GetRegistryEnterpriseReposRepoTagOutput) ImageId() pulumi.StringOutput
Id of this image.
func (GetRegistryEnterpriseReposRepoTagOutput) ImageSize ¶ added in v2.9.0
func (o GetRegistryEnterpriseReposRepoTagOutput) ImageSize() pulumi.IntOutput
Status of this image, in bytes.
func (GetRegistryEnterpriseReposRepoTagOutput) ImageUpdate ¶ added in v2.9.0
func (o GetRegistryEnterpriseReposRepoTagOutput) ImageUpdate() pulumi.StringOutput
Last update time of this image, unix time in nanoseconds.
func (GetRegistryEnterpriseReposRepoTagOutput) Status ¶ added in v2.9.0
func (o GetRegistryEnterpriseReposRepoTagOutput) Status() pulumi.StringOutput
Status of this image.
func (GetRegistryEnterpriseReposRepoTagOutput) Tag ¶ added in v2.9.0
func (o GetRegistryEnterpriseReposRepoTagOutput) Tag() pulumi.StringOutput
Tag of this image.
func (GetRegistryEnterpriseReposRepoTagOutput) ToGetRegistryEnterpriseReposRepoTagOutput ¶ added in v2.9.0
func (o GetRegistryEnterpriseReposRepoTagOutput) ToGetRegistryEnterpriseReposRepoTagOutput() GetRegistryEnterpriseReposRepoTagOutput
func (GetRegistryEnterpriseReposRepoTagOutput) ToGetRegistryEnterpriseReposRepoTagOutputWithContext ¶ added in v2.9.0
func (o GetRegistryEnterpriseReposRepoTagOutput) ToGetRegistryEnterpriseReposRepoTagOutputWithContext(ctx context.Context) GetRegistryEnterpriseReposRepoTagOutput
type GetRegistryEnterpriseReposResult ¶ added in v2.9.0
type GetRegistryEnterpriseReposResult struct { EnableDetails *bool `pulumi:"enableDetails"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of matched Container Registry Enterprise Edition repositories. Its element is a repository id. Ids []string `pulumi:"ids"` // ID of Container Registry Enterprise Edition instance. InstanceId string `pulumi:"instanceId"` NameRegex *string `pulumi:"nameRegex"` // A list of repository names. Names []string `pulumi:"names"` // Name of Container Registry Enterprise Edition namespace where repo is located. Namespace *string `pulumi:"namespace"` OutputFile *string `pulumi:"outputFile"` // A list of matched Container Registry Enterprise Edition namespaces. Each element contains the following attributes: Repos []GetRegistryEnterpriseReposRepo `pulumi:"repos"` }
A collection of values returned by getRegistryEnterpriseRepos.
func GetRegistryEnterpriseRepos ¶ added in v2.9.0
func GetRegistryEnterpriseRepos(ctx *pulumi.Context, args *GetRegistryEnterpriseReposArgs, opts ...pulumi.InvokeOption) (*GetRegistryEnterpriseReposResult, error)
This data source provides a list Container Registry Enterprise Edition repositories on Alibaba Cloud.
> **NOTE:** Available in v1.87.0+
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/cs" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "my-repos" opt1 := "my-repo-json" myRepos, err := cs.GetRegistryEnterpriseRepos(ctx, &cs.GetRegistryEnterpriseReposArgs{ InstanceId: "cri-xx", NameRegex: &opt0, OutputFile: &opt1, }, nil) if err != nil { return err } ctx.Export("output", myRepos.Repos) return nil }) }
```
type GetRegistryEnterpriseSyncRulesArgs ¶ added in v2.12.0
type GetRegistryEnterpriseSyncRulesArgs struct { // A list of ids to filter results by sync rule id. Ids []string `pulumi:"ids"` // ID of Container Registry Enterprise Edition local instance. InstanceId string `pulumi:"instanceId"` // A regex string to filter results by sync rule name. NameRegex *string `pulumi:"nameRegex"` // Name of Container Registry Enterprise Edition local namespace. NamespaceName *string `pulumi:"namespaceName"` OutputFile *string `pulumi:"outputFile"` // Name of Container Registry Enterprise Edition local repo. RepoName *string `pulumi:"repoName"` // ID of Container Registry Enterprise Edition target instance. TargetInstanceId *string `pulumi:"targetInstanceId"` }
A collection of arguments for invoking getRegistryEnterpriseSyncRules.
type GetRegistryEnterpriseSyncRulesResult ¶ added in v2.12.0
type GetRegistryEnterpriseSyncRulesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of matched Container Registry Enterprise Edition sync rules. Its element is a sync rule uuid. Ids []string `pulumi:"ids"` // ID of Container Registry Enterprise Edition local instance. InstanceId string `pulumi:"instanceId"` NameRegex *string `pulumi:"nameRegex"` // A list of sync rule names. Names []string `pulumi:"names"` // Name of Container Registry Enterprise Edition local namespace. NamespaceName *string `pulumi:"namespaceName"` OutputFile *string `pulumi:"outputFile"` // Name of Container Registry Enterprise Edition local repo. RepoName *string `pulumi:"repoName"` // A list of matched Container Registry Enterprise Edition sync rules. Each element contains the following attributes: Rules []GetRegistryEnterpriseSyncRulesRule `pulumi:"rules"` // ID of Container Registry Enterprise Edition target instance. TargetInstanceId *string `pulumi:"targetInstanceId"` }
A collection of values returned by getRegistryEnterpriseSyncRules.
func GetRegistryEnterpriseSyncRules ¶ added in v2.12.0
func GetRegistryEnterpriseSyncRules(ctx *pulumi.Context, args *GetRegistryEnterpriseSyncRulesArgs, opts ...pulumi.InvokeOption) (*GetRegistryEnterpriseSyncRulesResult, error)
This data source provides a list Container Registry Enterprise Edition sync rules on Alibaba Cloud.
> **NOTE:** Available in v1.90.0+
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/cs" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "test-namespace" opt1 := "test-repo" opt2 := "cri-yyy" opt3 := "test-rule" mySyncRules, err := cs.GetRegistryEnterpriseSyncRules(ctx, &cs.GetRegistryEnterpriseSyncRulesArgs{ InstanceId: "cri-xxx", NamespaceName: &opt0, RepoName: &opt1, TargetInstanceId: &opt2, NameRegex: &opt3, }, nil) if err != nil { return err } var splat0 []string for _, val0 := range mySyncRules.Rules { splat0 = append(splat0, val0.Id) } ctx.Export("output", splat0) return nil }) }
```
type GetRegistryEnterpriseSyncRulesRule ¶ added in v2.12.0
type GetRegistryEnterpriseSyncRulesRule struct { // ID of Container Registry Enterprise Edition sync rule. Id string `pulumi:"id"` // ID of Container Registry Enterprise Edition local instance. InstanceId string `pulumi:"instanceId"` // Name of Container Registry Enterprise Edition sync rule. Name string `pulumi:"name"` // Name of Container Registry Enterprise Edition local namespace. NamespaceName string `pulumi:"namespaceName"` // Region of Container Registry Enterprise Edition local instance. RegionId string `pulumi:"regionId"` // Name of Container Registry Enterprise Edition local repo. RepoName string `pulumi:"repoName"` // `FROM` or `TO`, the direction of synchronization. `FROM` indicates that the local instance is the source instance. `TO` indicates that the local instance is the target instance to be synchronized. SyncDirection string `pulumi:"syncDirection"` // `REPO` or `NAMESPACE`,the scope that the synchronization rule applies. SyncScope string `pulumi:"syncScope"` // `PASSIVE` or `INITIATIVE`, the policy configured to trigger the synchronization rule. SyncTrigger string `pulumi:"syncTrigger"` // The regular expression used to filter image tags for synchronization in the source repository. TagFilter string `pulumi:"tagFilter"` // ID of Container Registry Enterprise Edition target instance. TargetInstanceId string `pulumi:"targetInstanceId"` // Name of Container Registry Enterprise Edition target namespace. TargetNamespaceName string `pulumi:"targetNamespaceName"` // Region of Container Registry Enterprise Edition target instance. TargetRegionId string `pulumi:"targetRegionId"` // Name of Container Registry Enterprise Edition target repo. TargetRepoName string `pulumi:"targetRepoName"` }
type GetRegistryEnterpriseSyncRulesRuleArgs ¶ added in v2.12.0
type GetRegistryEnterpriseSyncRulesRuleArgs struct { // ID of Container Registry Enterprise Edition sync rule. Id pulumi.StringInput `pulumi:"id"` // ID of Container Registry Enterprise Edition local instance. InstanceId pulumi.StringInput `pulumi:"instanceId"` // Name of Container Registry Enterprise Edition sync rule. Name pulumi.StringInput `pulumi:"name"` // Name of Container Registry Enterprise Edition local namespace. NamespaceName pulumi.StringInput `pulumi:"namespaceName"` // Region of Container Registry Enterprise Edition local instance. RegionId pulumi.StringInput `pulumi:"regionId"` // Name of Container Registry Enterprise Edition local repo. RepoName pulumi.StringInput `pulumi:"repoName"` // `FROM` or `TO`, the direction of synchronization. `FROM` indicates that the local instance is the source instance. `TO` indicates that the local instance is the target instance to be synchronized. SyncDirection pulumi.StringInput `pulumi:"syncDirection"` // `REPO` or `NAMESPACE`,the scope that the synchronization rule applies. SyncScope pulumi.StringInput `pulumi:"syncScope"` // `PASSIVE` or `INITIATIVE`, the policy configured to trigger the synchronization rule. SyncTrigger pulumi.StringInput `pulumi:"syncTrigger"` // The regular expression used to filter image tags for synchronization in the source repository. TagFilter pulumi.StringInput `pulumi:"tagFilter"` // ID of Container Registry Enterprise Edition target instance. TargetInstanceId pulumi.StringInput `pulumi:"targetInstanceId"` // Name of Container Registry Enterprise Edition target namespace. TargetNamespaceName pulumi.StringInput `pulumi:"targetNamespaceName"` // Region of Container Registry Enterprise Edition target instance. TargetRegionId pulumi.StringInput `pulumi:"targetRegionId"` // Name of Container Registry Enterprise Edition target repo. TargetRepoName pulumi.StringInput `pulumi:"targetRepoName"` }
func (GetRegistryEnterpriseSyncRulesRuleArgs) ElementType ¶ added in v2.12.0
func (GetRegistryEnterpriseSyncRulesRuleArgs) ElementType() reflect.Type
func (GetRegistryEnterpriseSyncRulesRuleArgs) ToGetRegistryEnterpriseSyncRulesRuleOutput ¶ added in v2.12.0
func (i GetRegistryEnterpriseSyncRulesRuleArgs) ToGetRegistryEnterpriseSyncRulesRuleOutput() GetRegistryEnterpriseSyncRulesRuleOutput
func (GetRegistryEnterpriseSyncRulesRuleArgs) ToGetRegistryEnterpriseSyncRulesRuleOutputWithContext ¶ added in v2.12.0
func (i GetRegistryEnterpriseSyncRulesRuleArgs) ToGetRegistryEnterpriseSyncRulesRuleOutputWithContext(ctx context.Context) GetRegistryEnterpriseSyncRulesRuleOutput
type GetRegistryEnterpriseSyncRulesRuleArray ¶ added in v2.12.0
type GetRegistryEnterpriseSyncRulesRuleArray []GetRegistryEnterpriseSyncRulesRuleInput
func (GetRegistryEnterpriseSyncRulesRuleArray) ElementType ¶ added in v2.12.0
func (GetRegistryEnterpriseSyncRulesRuleArray) ElementType() reflect.Type
func (GetRegistryEnterpriseSyncRulesRuleArray) ToGetRegistryEnterpriseSyncRulesRuleArrayOutput ¶ added in v2.12.0
func (i GetRegistryEnterpriseSyncRulesRuleArray) ToGetRegistryEnterpriseSyncRulesRuleArrayOutput() GetRegistryEnterpriseSyncRulesRuleArrayOutput
func (GetRegistryEnterpriseSyncRulesRuleArray) ToGetRegistryEnterpriseSyncRulesRuleArrayOutputWithContext ¶ added in v2.12.0
func (i GetRegistryEnterpriseSyncRulesRuleArray) ToGetRegistryEnterpriseSyncRulesRuleArrayOutputWithContext(ctx context.Context) GetRegistryEnterpriseSyncRulesRuleArrayOutput
type GetRegistryEnterpriseSyncRulesRuleArrayInput ¶ added in v2.12.0
type GetRegistryEnterpriseSyncRulesRuleArrayInput interface { pulumi.Input ToGetRegistryEnterpriseSyncRulesRuleArrayOutput() GetRegistryEnterpriseSyncRulesRuleArrayOutput ToGetRegistryEnterpriseSyncRulesRuleArrayOutputWithContext(context.Context) GetRegistryEnterpriseSyncRulesRuleArrayOutput }
GetRegistryEnterpriseSyncRulesRuleArrayInput is an input type that accepts GetRegistryEnterpriseSyncRulesRuleArray and GetRegistryEnterpriseSyncRulesRuleArrayOutput values. You can construct a concrete instance of `GetRegistryEnterpriseSyncRulesRuleArrayInput` via:
GetRegistryEnterpriseSyncRulesRuleArray{ GetRegistryEnterpriseSyncRulesRuleArgs{...} }
type GetRegistryEnterpriseSyncRulesRuleArrayOutput ¶ added in v2.12.0
type GetRegistryEnterpriseSyncRulesRuleArrayOutput struct{ *pulumi.OutputState }
func (GetRegistryEnterpriseSyncRulesRuleArrayOutput) ElementType ¶ added in v2.12.0
func (GetRegistryEnterpriseSyncRulesRuleArrayOutput) ElementType() reflect.Type
func (GetRegistryEnterpriseSyncRulesRuleArrayOutput) ToGetRegistryEnterpriseSyncRulesRuleArrayOutput ¶ added in v2.12.0
func (o GetRegistryEnterpriseSyncRulesRuleArrayOutput) ToGetRegistryEnterpriseSyncRulesRuleArrayOutput() GetRegistryEnterpriseSyncRulesRuleArrayOutput
func (GetRegistryEnterpriseSyncRulesRuleArrayOutput) ToGetRegistryEnterpriseSyncRulesRuleArrayOutputWithContext ¶ added in v2.12.0
func (o GetRegistryEnterpriseSyncRulesRuleArrayOutput) ToGetRegistryEnterpriseSyncRulesRuleArrayOutputWithContext(ctx context.Context) GetRegistryEnterpriseSyncRulesRuleArrayOutput
type GetRegistryEnterpriseSyncRulesRuleInput ¶ added in v2.12.0
type GetRegistryEnterpriseSyncRulesRuleInput interface { pulumi.Input ToGetRegistryEnterpriseSyncRulesRuleOutput() GetRegistryEnterpriseSyncRulesRuleOutput ToGetRegistryEnterpriseSyncRulesRuleOutputWithContext(context.Context) GetRegistryEnterpriseSyncRulesRuleOutput }
GetRegistryEnterpriseSyncRulesRuleInput is an input type that accepts GetRegistryEnterpriseSyncRulesRuleArgs and GetRegistryEnterpriseSyncRulesRuleOutput values. You can construct a concrete instance of `GetRegistryEnterpriseSyncRulesRuleInput` via:
GetRegistryEnterpriseSyncRulesRuleArgs{...}
type GetRegistryEnterpriseSyncRulesRuleOutput ¶ added in v2.12.0
type GetRegistryEnterpriseSyncRulesRuleOutput struct{ *pulumi.OutputState }
func (GetRegistryEnterpriseSyncRulesRuleOutput) ElementType ¶ added in v2.12.0
func (GetRegistryEnterpriseSyncRulesRuleOutput) ElementType() reflect.Type
func (GetRegistryEnterpriseSyncRulesRuleOutput) Id ¶ added in v2.12.0
func (o GetRegistryEnterpriseSyncRulesRuleOutput) Id() pulumi.StringOutput
ID of Container Registry Enterprise Edition sync rule.
func (GetRegistryEnterpriseSyncRulesRuleOutput) InstanceId ¶ added in v2.12.0
func (o GetRegistryEnterpriseSyncRulesRuleOutput) InstanceId() pulumi.StringOutput
ID of Container Registry Enterprise Edition local instance.
func (GetRegistryEnterpriseSyncRulesRuleOutput) Name ¶ added in v2.12.0
func (o GetRegistryEnterpriseSyncRulesRuleOutput) Name() pulumi.StringOutput
Name of Container Registry Enterprise Edition sync rule.
func (GetRegistryEnterpriseSyncRulesRuleOutput) NamespaceName ¶ added in v2.12.0
func (o GetRegistryEnterpriseSyncRulesRuleOutput) NamespaceName() pulumi.StringOutput
Name of Container Registry Enterprise Edition local namespace.
func (GetRegistryEnterpriseSyncRulesRuleOutput) RegionId ¶ added in v2.12.0
func (o GetRegistryEnterpriseSyncRulesRuleOutput) RegionId() pulumi.StringOutput
Region of Container Registry Enterprise Edition local instance.
func (GetRegistryEnterpriseSyncRulesRuleOutput) RepoName ¶ added in v2.12.0
func (o GetRegistryEnterpriseSyncRulesRuleOutput) RepoName() pulumi.StringOutput
Name of Container Registry Enterprise Edition local repo.
func (GetRegistryEnterpriseSyncRulesRuleOutput) SyncDirection ¶ added in v2.12.0
func (o GetRegistryEnterpriseSyncRulesRuleOutput) SyncDirection() pulumi.StringOutput
`FROM` or `TO`, the direction of synchronization. `FROM` indicates that the local instance is the source instance. `TO` indicates that the local instance is the target instance to be synchronized.
func (GetRegistryEnterpriseSyncRulesRuleOutput) SyncScope ¶ added in v2.12.0
func (o GetRegistryEnterpriseSyncRulesRuleOutput) SyncScope() pulumi.StringOutput
`REPO` or `NAMESPACE`,the scope that the synchronization rule applies.
func (GetRegistryEnterpriseSyncRulesRuleOutput) SyncTrigger ¶ added in v2.12.0
func (o GetRegistryEnterpriseSyncRulesRuleOutput) SyncTrigger() pulumi.StringOutput
`PASSIVE` or `INITIATIVE`, the policy configured to trigger the synchronization rule.
func (GetRegistryEnterpriseSyncRulesRuleOutput) TagFilter ¶ added in v2.12.0
func (o GetRegistryEnterpriseSyncRulesRuleOutput) TagFilter() pulumi.StringOutput
The regular expression used to filter image tags for synchronization in the source repository.
func (GetRegistryEnterpriseSyncRulesRuleOutput) TargetInstanceId ¶ added in v2.12.0
func (o GetRegistryEnterpriseSyncRulesRuleOutput) TargetInstanceId() pulumi.StringOutput
ID of Container Registry Enterprise Edition target instance.
func (GetRegistryEnterpriseSyncRulesRuleOutput) TargetNamespaceName ¶ added in v2.12.0
func (o GetRegistryEnterpriseSyncRulesRuleOutput) TargetNamespaceName() pulumi.StringOutput
Name of Container Registry Enterprise Edition target namespace.
func (GetRegistryEnterpriseSyncRulesRuleOutput) TargetRegionId ¶ added in v2.12.0
func (o GetRegistryEnterpriseSyncRulesRuleOutput) TargetRegionId() pulumi.StringOutput
Region of Container Registry Enterprise Edition target instance.
func (GetRegistryEnterpriseSyncRulesRuleOutput) TargetRepoName ¶ added in v2.12.0
func (o GetRegistryEnterpriseSyncRulesRuleOutput) TargetRepoName() pulumi.StringOutput
Name of Container Registry Enterprise Edition target repo.
func (GetRegistryEnterpriseSyncRulesRuleOutput) ToGetRegistryEnterpriseSyncRulesRuleOutput ¶ added in v2.12.0
func (o GetRegistryEnterpriseSyncRulesRuleOutput) ToGetRegistryEnterpriseSyncRulesRuleOutput() GetRegistryEnterpriseSyncRulesRuleOutput
func (GetRegistryEnterpriseSyncRulesRuleOutput) ToGetRegistryEnterpriseSyncRulesRuleOutputWithContext ¶ added in v2.12.0
func (o GetRegistryEnterpriseSyncRulesRuleOutput) ToGetRegistryEnterpriseSyncRulesRuleOutputWithContext(ctx context.Context) GetRegistryEnterpriseSyncRulesRuleOutput
type GetServerlessKubernetesClustersArgs ¶
type GetServerlessKubernetesClustersArgs struct { EnableDetails *bool `pulumi:"enableDetails"` // Cluster IDs to filter. Ids []string `pulumi:"ids"` // A regex string to filter results by cluster name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getServerlessKubernetesClusters.
type GetServerlessKubernetesClustersCluster ¶
type GetServerlessKubernetesClustersCluster struct { // Map of serverless cluster connection information. It contains several attributes to `Block Connections`. Connections GetServerlessKubernetesClustersClusterConnections `pulumi:"connections"` // Whether the cluster support delete protection. DeletionProtection bool `pulumi:"deletionProtection"` EndpointPublicAccessEnabled bool `pulumi:"endpointPublicAccessEnabled"` // The ID of the container cluster. Id string `pulumi:"id"` // The name of the container cluster. Name string `pulumi:"name"` // The ID of nat gateway used to launch kubernetes cluster. NatGatewayId string `pulumi:"natGatewayId"` // The ID of security group where the current cluster is located. SecurityGroupId string `pulumi:"securityGroupId"` Tags map[string]interface{} `pulumi:"tags"` // The ID of VPC where the current cluster is located. VpcId string `pulumi:"vpcId"` // The ID of VSwitch where the current cluster is located. VswitchId string `pulumi:"vswitchId"` }
type GetServerlessKubernetesClustersClusterArgs ¶
type GetServerlessKubernetesClustersClusterArgs struct { // Map of serverless cluster connection information. It contains several attributes to `Block Connections`. Connections GetServerlessKubernetesClustersClusterConnectionsInput `pulumi:"connections"` // Whether the cluster support delete protection. DeletionProtection pulumi.BoolInput `pulumi:"deletionProtection"` EndpointPublicAccessEnabled pulumi.BoolInput `pulumi:"endpointPublicAccessEnabled"` // The ID of the container cluster. Id pulumi.StringInput `pulumi:"id"` // The name of the container cluster. Name pulumi.StringInput `pulumi:"name"` // The ID of nat gateway used to launch kubernetes cluster. NatGatewayId pulumi.StringInput `pulumi:"natGatewayId"` // The ID of security group where the current cluster is located. SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"` Tags pulumi.MapInput `pulumi:"tags"` // The ID of VPC where the current cluster is located. VpcId pulumi.StringInput `pulumi:"vpcId"` // The ID of VSwitch where the current cluster is located. VswitchId pulumi.StringInput `pulumi:"vswitchId"` }
func (GetServerlessKubernetesClustersClusterArgs) ElementType ¶
func (GetServerlessKubernetesClustersClusterArgs) ElementType() reflect.Type
func (GetServerlessKubernetesClustersClusterArgs) ToGetServerlessKubernetesClustersClusterOutput ¶
func (i GetServerlessKubernetesClustersClusterArgs) ToGetServerlessKubernetesClustersClusterOutput() GetServerlessKubernetesClustersClusterOutput
func (GetServerlessKubernetesClustersClusterArgs) ToGetServerlessKubernetesClustersClusterOutputWithContext ¶
func (i GetServerlessKubernetesClustersClusterArgs) ToGetServerlessKubernetesClustersClusterOutputWithContext(ctx context.Context) GetServerlessKubernetesClustersClusterOutput
type GetServerlessKubernetesClustersClusterArray ¶
type GetServerlessKubernetesClustersClusterArray []GetServerlessKubernetesClustersClusterInput
func (GetServerlessKubernetesClustersClusterArray) ElementType ¶
func (GetServerlessKubernetesClustersClusterArray) ElementType() reflect.Type
func (GetServerlessKubernetesClustersClusterArray) ToGetServerlessKubernetesClustersClusterArrayOutput ¶
func (i GetServerlessKubernetesClustersClusterArray) ToGetServerlessKubernetesClustersClusterArrayOutput() GetServerlessKubernetesClustersClusterArrayOutput
func (GetServerlessKubernetesClustersClusterArray) ToGetServerlessKubernetesClustersClusterArrayOutputWithContext ¶
func (i GetServerlessKubernetesClustersClusterArray) ToGetServerlessKubernetesClustersClusterArrayOutputWithContext(ctx context.Context) GetServerlessKubernetesClustersClusterArrayOutput
type GetServerlessKubernetesClustersClusterArrayInput ¶
type GetServerlessKubernetesClustersClusterArrayInput interface { pulumi.Input ToGetServerlessKubernetesClustersClusterArrayOutput() GetServerlessKubernetesClustersClusterArrayOutput ToGetServerlessKubernetesClustersClusterArrayOutputWithContext(context.Context) GetServerlessKubernetesClustersClusterArrayOutput }
GetServerlessKubernetesClustersClusterArrayInput is an input type that accepts GetServerlessKubernetesClustersClusterArray and GetServerlessKubernetesClustersClusterArrayOutput values. You can construct a concrete instance of `GetServerlessKubernetesClustersClusterArrayInput` via:
GetServerlessKubernetesClustersClusterArray{ GetServerlessKubernetesClustersClusterArgs{...} }
type GetServerlessKubernetesClustersClusterArrayOutput ¶
type GetServerlessKubernetesClustersClusterArrayOutput struct{ *pulumi.OutputState }
func (GetServerlessKubernetesClustersClusterArrayOutput) ElementType ¶
func (GetServerlessKubernetesClustersClusterArrayOutput) ElementType() reflect.Type
func (GetServerlessKubernetesClustersClusterArrayOutput) ToGetServerlessKubernetesClustersClusterArrayOutput ¶
func (o GetServerlessKubernetesClustersClusterArrayOutput) ToGetServerlessKubernetesClustersClusterArrayOutput() GetServerlessKubernetesClustersClusterArrayOutput
func (GetServerlessKubernetesClustersClusterArrayOutput) ToGetServerlessKubernetesClustersClusterArrayOutputWithContext ¶
func (o GetServerlessKubernetesClustersClusterArrayOutput) ToGetServerlessKubernetesClustersClusterArrayOutputWithContext(ctx context.Context) GetServerlessKubernetesClustersClusterArrayOutput
type GetServerlessKubernetesClustersClusterConnections ¶
type GetServerlessKubernetesClustersClusterConnections struct { // API Server Internet endpoint. ApiServerInternet string `pulumi:"apiServerInternet"` // API Server Intranet endpoint. ApiServerIntranet string `pulumi:"apiServerIntranet"` // Master node SSH IP address. MasterPublicIp string `pulumi:"masterPublicIp"` }
type GetServerlessKubernetesClustersClusterConnectionsArgs ¶
type GetServerlessKubernetesClustersClusterConnectionsArgs struct { // API Server Internet endpoint. ApiServerInternet pulumi.StringInput `pulumi:"apiServerInternet"` // API Server Intranet endpoint. ApiServerIntranet pulumi.StringInput `pulumi:"apiServerIntranet"` // Master node SSH IP address. MasterPublicIp pulumi.StringInput `pulumi:"masterPublicIp"` }
func (GetServerlessKubernetesClustersClusterConnectionsArgs) ElementType ¶
func (GetServerlessKubernetesClustersClusterConnectionsArgs) ElementType() reflect.Type
func (GetServerlessKubernetesClustersClusterConnectionsArgs) ToGetServerlessKubernetesClustersClusterConnectionsOutput ¶
func (i GetServerlessKubernetesClustersClusterConnectionsArgs) ToGetServerlessKubernetesClustersClusterConnectionsOutput() GetServerlessKubernetesClustersClusterConnectionsOutput
func (GetServerlessKubernetesClustersClusterConnectionsArgs) ToGetServerlessKubernetesClustersClusterConnectionsOutputWithContext ¶
func (i GetServerlessKubernetesClustersClusterConnectionsArgs) ToGetServerlessKubernetesClustersClusterConnectionsOutputWithContext(ctx context.Context) GetServerlessKubernetesClustersClusterConnectionsOutput
type GetServerlessKubernetesClustersClusterConnectionsInput ¶
type GetServerlessKubernetesClustersClusterConnectionsInput interface { pulumi.Input ToGetServerlessKubernetesClustersClusterConnectionsOutput() GetServerlessKubernetesClustersClusterConnectionsOutput ToGetServerlessKubernetesClustersClusterConnectionsOutputWithContext(context.Context) GetServerlessKubernetesClustersClusterConnectionsOutput }
GetServerlessKubernetesClustersClusterConnectionsInput is an input type that accepts GetServerlessKubernetesClustersClusterConnectionsArgs and GetServerlessKubernetesClustersClusterConnectionsOutput values. You can construct a concrete instance of `GetServerlessKubernetesClustersClusterConnectionsInput` via:
GetServerlessKubernetesClustersClusterConnectionsArgs{...}
type GetServerlessKubernetesClustersClusterConnectionsOutput ¶
type GetServerlessKubernetesClustersClusterConnectionsOutput struct{ *pulumi.OutputState }
func (GetServerlessKubernetesClustersClusterConnectionsOutput) ApiServerInternet ¶
func (o GetServerlessKubernetesClustersClusterConnectionsOutput) ApiServerInternet() pulumi.StringOutput
API Server Internet endpoint.
func (GetServerlessKubernetesClustersClusterConnectionsOutput) ApiServerIntranet ¶
func (o GetServerlessKubernetesClustersClusterConnectionsOutput) ApiServerIntranet() pulumi.StringOutput
API Server Intranet endpoint.
func (GetServerlessKubernetesClustersClusterConnectionsOutput) ElementType ¶
func (GetServerlessKubernetesClustersClusterConnectionsOutput) ElementType() reflect.Type
func (GetServerlessKubernetesClustersClusterConnectionsOutput) MasterPublicIp ¶
func (o GetServerlessKubernetesClustersClusterConnectionsOutput) MasterPublicIp() pulumi.StringOutput
Master node SSH IP address.
func (GetServerlessKubernetesClustersClusterConnectionsOutput) ToGetServerlessKubernetesClustersClusterConnectionsOutput ¶
func (o GetServerlessKubernetesClustersClusterConnectionsOutput) ToGetServerlessKubernetesClustersClusterConnectionsOutput() GetServerlessKubernetesClustersClusterConnectionsOutput
func (GetServerlessKubernetesClustersClusterConnectionsOutput) ToGetServerlessKubernetesClustersClusterConnectionsOutputWithContext ¶
func (o GetServerlessKubernetesClustersClusterConnectionsOutput) ToGetServerlessKubernetesClustersClusterConnectionsOutputWithContext(ctx context.Context) GetServerlessKubernetesClustersClusterConnectionsOutput
type GetServerlessKubernetesClustersClusterInput ¶
type GetServerlessKubernetesClustersClusterInput interface { pulumi.Input ToGetServerlessKubernetesClustersClusterOutput() GetServerlessKubernetesClustersClusterOutput ToGetServerlessKubernetesClustersClusterOutputWithContext(context.Context) GetServerlessKubernetesClustersClusterOutput }
GetServerlessKubernetesClustersClusterInput is an input type that accepts GetServerlessKubernetesClustersClusterArgs and GetServerlessKubernetesClustersClusterOutput values. You can construct a concrete instance of `GetServerlessKubernetesClustersClusterInput` via:
GetServerlessKubernetesClustersClusterArgs{...}
type GetServerlessKubernetesClustersClusterOutput ¶
type GetServerlessKubernetesClustersClusterOutput struct{ *pulumi.OutputState }
func (GetServerlessKubernetesClustersClusterOutput) Connections ¶
func (o GetServerlessKubernetesClustersClusterOutput) Connections() GetServerlessKubernetesClustersClusterConnectionsOutput
Map of serverless cluster connection information. It contains several attributes to `Block Connections`.
func (GetServerlessKubernetesClustersClusterOutput) DeletionProtection ¶
func (o GetServerlessKubernetesClustersClusterOutput) DeletionProtection() pulumi.BoolOutput
Whether the cluster support delete protection.
func (GetServerlessKubernetesClustersClusterOutput) ElementType ¶
func (GetServerlessKubernetesClustersClusterOutput) ElementType() reflect.Type
func (GetServerlessKubernetesClustersClusterOutput) EndpointPublicAccessEnabled ¶
func (o GetServerlessKubernetesClustersClusterOutput) EndpointPublicAccessEnabled() pulumi.BoolOutput
func (GetServerlessKubernetesClustersClusterOutput) Id ¶
func (o GetServerlessKubernetesClustersClusterOutput) Id() pulumi.StringOutput
The ID of the container cluster.
func (GetServerlessKubernetesClustersClusterOutput) Name ¶
func (o GetServerlessKubernetesClustersClusterOutput) Name() pulumi.StringOutput
The name of the container cluster.
func (GetServerlessKubernetesClustersClusterOutput) NatGatewayId ¶
func (o GetServerlessKubernetesClustersClusterOutput) NatGatewayId() pulumi.StringOutput
The ID of nat gateway used to launch kubernetes cluster.
func (GetServerlessKubernetesClustersClusterOutput) SecurityGroupId ¶
func (o GetServerlessKubernetesClustersClusterOutput) SecurityGroupId() pulumi.StringOutput
The ID of security group where the current cluster is located.
func (GetServerlessKubernetesClustersClusterOutput) Tags ¶
func (o GetServerlessKubernetesClustersClusterOutput) Tags() pulumi.MapOutput
func (GetServerlessKubernetesClustersClusterOutput) ToGetServerlessKubernetesClustersClusterOutput ¶
func (o GetServerlessKubernetesClustersClusterOutput) ToGetServerlessKubernetesClustersClusterOutput() GetServerlessKubernetesClustersClusterOutput
func (GetServerlessKubernetesClustersClusterOutput) ToGetServerlessKubernetesClustersClusterOutputWithContext ¶
func (o GetServerlessKubernetesClustersClusterOutput) ToGetServerlessKubernetesClustersClusterOutputWithContext(ctx context.Context) GetServerlessKubernetesClustersClusterOutput
func (GetServerlessKubernetesClustersClusterOutput) VpcId ¶
func (o GetServerlessKubernetesClustersClusterOutput) VpcId() pulumi.StringOutput
The ID of VPC where the current cluster is located.
func (GetServerlessKubernetesClustersClusterOutput) VswitchId ¶
func (o GetServerlessKubernetesClustersClusterOutput) VswitchId() pulumi.StringOutput
The ID of VSwitch where the current cluster is located.
type GetServerlessKubernetesClustersResult ¶
type GetServerlessKubernetesClustersResult struct { // A list of matched Kubernetes clusters. Each element contains the following attributes: Clusters []GetServerlessKubernetesClustersCluster `pulumi:"clusters"` EnableDetails *bool `pulumi:"enableDetails"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of matched Kubernetes clusters' ids. Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` // A list of matched Kubernetes clusters' names. Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` }
A collection of values returned by getServerlessKubernetesClusters.
func GetServerlessKubernetesClusters ¶
func GetServerlessKubernetesClusters(ctx *pulumi.Context, args *GetServerlessKubernetesClustersArgs, opts ...pulumi.InvokeOption) (*GetServerlessKubernetesClustersResult, error)
This data source provides a list Container Service Serverless Kubernetes Clusters on Alibaba Cloud.
> **NOTE:** Available in 1.58.0+
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/cs" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "my-first-k8s" opt1 := "my-first-k8s-json" k8sClusters, err := cs.GetServerlessKubernetesClusters(ctx, &cs.GetServerlessKubernetesClustersArgs{ NameRegex: &opt0, OutputFile: &opt1, }, nil) if err != nil { return err } ctx.Export("output", k8sClusters.Clusters) return nil }) }
```
type Kubernetes ¶
type Kubernetes struct { pulumi.CustomResourceState Addons KubernetesAddonArrayOutput `pulumi:"addons"` // A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature (requires specifying `serviceAccountIssuer` as well. ApiAudiences pulumi.StringArrayOutput `pulumi:"apiAudiences"` // The Zone where new kubernetes cluster will be located. If it is not be specified, the `vswitchIds` should be set, its value will be vswitch's zone. AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"` // The path of client certificate, like `~/.kube/client-cert.pem`. ClientCert pulumi.StringPtrOutput `pulumi:"clientCert"` // The path of client key, like `~/.kube/client-key.pem`. ClientKey pulumi.StringPtrOutput `pulumi:"clientKey"` // The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem` ClusterCaCert pulumi.StringPtrOutput `pulumi:"clusterCaCert"` // Map of kubernetes cluster connection information. It contains several attributes to `Block Connections`. Connections KubernetesConnectionsOutput `pulumi:"connections"` // kubelet cpu policy. options: static|none. default: none. CpuPolicy pulumi.StringPtrOutput `pulumi:"cpuPolicy"` // Enable login to the node through SSH. default: false EnableSsh pulumi.BoolPtrOutput `pulumi:"enableSsh"` // Exclude autoscaler nodes from `workerNodes`. default: false ExcludeAutoscalerNodes pulumi.BoolPtrOutput `pulumi:"excludeAutoscalerNodes"` // Custom Image support. Must based on CentOS7 or AliyunLinux2. ImageId pulumi.StringPtrOutput `pulumi:"imageId"` // Install cloud monitor agent on ECS. default: true InstallCloudMonitor pulumi.BoolPtrOutput `pulumi:"installCloudMonitor"` // Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm). IsEnterpriseSecurityGroup pulumi.BoolOutput `pulumi:"isEnterpriseSecurityGroup"` // The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. KeyName pulumi.StringPtrOutput `pulumi:"keyName"` // An KMS encrypts password used to a cs kubernetes. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. KmsEncryptedPassword pulumi.StringPtrOutput `pulumi:"kmsEncryptedPassword"` // An KMS encryption context used to decrypt `kmsEncryptedPassword` before creating or updating a cs kubernetes with `kmsEncryptedPassword`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set. KmsEncryptionContext pulumi.MapOutput `pulumi:"kmsEncryptionContext"` // The path of kube config, like `~/.kube/config`. KubeConfig pulumi.StringPtrOutput `pulumi:"kubeConfig"` // Enable master payment auto-renew, defaults to false. MasterAutoRenew pulumi.BoolPtrOutput `pulumi:"masterAutoRenew"` // Master payment auto-renew period. When period unit is `Month`, it can be one of {“1”, “2”, “3”, “6”, “12”}. When period unit is `Week`, it can be one of {“1”, “2”, “3”}. MasterAutoRenewPeriod pulumi.IntPtrOutput `pulumi:"masterAutoRenewPeriod"` // The system disk category of master node. Its valid value are `cloudSsd` and `cloudEfficiency`. Default to `cloudEfficiency`. MasterDiskCategory pulumi.StringPtrOutput `pulumi:"masterDiskCategory"` // The system disk size of master node. Its valid value range [20~500] in GB. Default to 20. MasterDiskSize pulumi.IntPtrOutput `pulumi:"masterDiskSize"` // Master payment type. `PrePaid` or `PostPaid`, defaults to `PostPaid`. MasterInstanceChargeType pulumi.StringPtrOutput `pulumi:"masterInstanceChargeType"` // The instance type of master node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster. MasterInstanceTypes pulumi.StringArrayOutput `pulumi:"masterInstanceTypes"` // List of cluster master nodes. It contains several attributes to `Block Nodes`. MasterNodes KubernetesMasterNodeArrayOutput `pulumi:"masterNodes"` // Master payment period. When period unit is `Month`, it can be one of { “1”, “2”, “3”, “4”, “5”, “6”, “7”, “8”, “9”, “12”, “24”, “36”,”48”,”60”}. When period unit is `Week`, it can be one of {“1”, “2”, “3”, “4”}. MasterPeriod pulumi.IntPtrOutput `pulumi:"masterPeriod"` // Master payment period unit. `Month` or `Week`, defaults to `Month`. MasterPeriodUnit pulumi.StringPtrOutput `pulumi:"masterPeriodUnit"` MasterVswitchIds pulumi.StringArrayOutput `pulumi:"masterVswitchIds"` // The kubernetes cluster's name. It is unique in one Alicloud account. Name pulumi.StringOutput `pulumi:"name"` // Deprecated: Field 'name_prefix' has been deprecated from provider version 1.75.0. NamePrefix pulumi.StringPtrOutput `pulumi:"namePrefix"` // The ID of nat gateway used to launch kubernetes cluster. NatGatewayId pulumi.StringOutput `pulumi:"natGatewayId"` // Whether to create a new nat gateway while creating kubernetes cluster. Default to true. Then openapi in Alibaba Cloud are not all on intranet, So turn this option on is a good choice. NewNatGateway pulumi.BoolPtrOutput `pulumi:"newNatGateway"` // The node cidr block to specific how many pods can run on single node. 24-28 is allowed. 24 means 2^(32-24)-1=255 and the node can run at most 255 pods. default: 24 NodeCidrMask pulumi.IntPtrOutput `pulumi:"nodeCidrMask"` // Each node name consists of a prefix, an IP substring, and a suffix. For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, IP substring length is 5, and the suffix is test, the node name will be aliyun.com00055test. NodeNameMode pulumi.StringPtrOutput `pulumi:"nodeNameMode"` // The password of ssh login cluster node. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. Password pulumi.StringPtrOutput `pulumi:"password"` // [Flannel Specific] The CIDR block for the pod network when using Flannel. PodCidr pulumi.StringPtrOutput `pulumi:"podCidr"` // [Terway Specific] The vswitches for the pod network when using Terway.Be careful the `podVswitchIds` can not equal to `workerVswtichIds` or `masterVswtichIds` but must be in same availability zones. PodVswitchIds pulumi.StringArrayOutput `pulumi:"podVswitchIds"` // Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs. ProxyMode pulumi.StringPtrOutput `pulumi:"proxyMode"` // The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built. SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"` // The issuer of the Service Account token for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm), corresponds to the `iss` field in the token payload. Set this to `"kubernetes.default.svc"` to enable the Token Volume Projection feature (requires specifying `apiAudiences` as well). ServiceAccountIssuer pulumi.StringPtrOutput `pulumi:"serviceAccountIssuer"` // The CIDR block for the service network. It cannot be duplicated with the VPC CIDR and CIDR used by Kubernetes cluster in VPC, cannot be modified after creation. ServiceCidr pulumi.StringPtrOutput `pulumi:"serviceCidr"` // Deprecated: Field 'slb_id' has been deprecated from provider version 1.9.2. New field 'slb_internet' replaces it. SlbId pulumi.StringOutput `pulumi:"slbId"` SlbInternet pulumi.StringOutput `pulumi:"slbInternet"` // Whether to create internet load balancer for API Server. Default to true. SlbInternetEnabled pulumi.BoolPtrOutput `pulumi:"slbInternetEnabled"` // The ID of private load balancer where the current cluster master node is located. SlbIntranet pulumi.StringOutput `pulumi:"slbIntranet"` // Default nil, A map of tags assigned to the kubernetes cluster . Tags pulumi.MapOutput `pulumi:"tags"` // The path of customized CA cert, you can use this CA to sign client certs to connect your cluster. UserCa pulumi.StringPtrOutput `pulumi:"userCa"` // Windows instances support batch and PowerShell scripts. If your script file is larger than 1 KB, we recommend that you upload the script to Object Storage Service (OSS) and pull it through the internal endpoint of your OSS bucket. UserData pulumi.StringPtrOutput `pulumi:"userData"` // Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used and no upgrades will occur except you set a higher version number. The value must be configured and increased to upgrade the version when desired. Downgrades are not supported by ACK. Version pulumi.StringOutput `pulumi:"version"` // The ID of VPC where the current cluster is located. VpcId pulumi.StringOutput `pulumi:"vpcId"` // Enable worker payment auto-renew, defaults to false. WorkerAutoRenew pulumi.BoolPtrOutput `pulumi:"workerAutoRenew"` // Worker payment auto-renew period. When period unit is `Month`, it can be one of {“1”, “2”, “3”, “6”, “12”}. When period unit is `Week`, it can be one of {“1”, “2”, “3”}. WorkerAutoRenewPeriod pulumi.IntPtrOutput `pulumi:"workerAutoRenewPeriod"` WorkerDataDiskCategory pulumi.StringPtrOutput `pulumi:"workerDataDiskCategory"` WorkerDataDiskSize pulumi.IntPtrOutput `pulumi:"workerDataDiskSize"` // The data disk configurations of worker nodes, such as the disk type and disk size. // - category: the type of the data disks. Valid values: // + cloud: basic disks. // + cloud_efficiency: ultra disks. // + cloud_ssd: SSDs. // - size: the size of a data disk. Unit: GiB. // - encrypted: specifies whether to encrypt data disks. Valid values: true and false. WorkerDataDisks KubernetesWorkerDataDiskArrayOutput `pulumi:"workerDataDisks"` // The system disk category of worker node. Its valid value are `cloudSsd` and `cloudEfficiency`. Default to `cloudEfficiency`. WorkerDiskCategory pulumi.StringPtrOutput `pulumi:"workerDiskCategory"` // The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40. WorkerDiskSize pulumi.IntPtrOutput `pulumi:"workerDiskSize"` // Worker payment type. `PrePaid` or `PostPaid`, defaults to `PostPaid`. WorkerInstanceChargeType pulumi.StringPtrOutput `pulumi:"workerInstanceChargeType"` // The instance type of worker node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster. WorkerInstanceTypes pulumi.StringArrayOutput `pulumi:"workerInstanceTypes"` // List of cluster worker nodes. It contains several attributes to `Block Nodes`. WorkerNodes KubernetesWorkerNodeArrayOutput `pulumi:"workerNodes"` // The worker node number of the kubernetes cluster. Default to 3. It is limited up to 50 and if you want to enlarge it, please apply white list or contact with us. WorkerNumber pulumi.IntOutput `pulumi:"workerNumber"` // Worker payment period. When period unit is `Month`, it can be one of { “1”, “2”, “3”, “4”, “5”, “6”, “7”, “8”, “9”, “12”, “24”, “36”,”48”,”60”}. When period unit is `Week`, it can be one of {“1”, “2”, “3”, “4”}. WorkerPeriod pulumi.IntPtrOutput `pulumi:"workerPeriod"` // Worker payment period unit. `Month` or `Week`, defaults to `Month`. WorkerPeriodUnit pulumi.StringPtrOutput `pulumi:"workerPeriodUnit"` // The RamRole Name attached to worker node. WorkerRamRoleName pulumi.StringOutput `pulumi:"workerRamRoleName"` WorkerVswitchIds pulumi.StringArrayOutput `pulumi:"workerVswitchIds"` }
func GetKubernetes ¶
func GetKubernetes(ctx *pulumi.Context, name string, id pulumi.IDInput, state *KubernetesState, opts ...pulumi.ResourceOption) (*Kubernetes, error)
GetKubernetes gets an existing Kubernetes 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 NewKubernetes ¶
func NewKubernetes(ctx *pulumi.Context, name string, args *KubernetesArgs, opts ...pulumi.ResourceOption) (*Kubernetes, error)
NewKubernetes registers a new resource with the given unique name, arguments, and options.
type KubernetesAddon ¶
type KubernetesAddonArgs ¶
type KubernetesAddonArgs struct { Config pulumi.StringPtrInput `pulumi:"config"` Disabled pulumi.BoolPtrInput `pulumi:"disabled"` // The kubernetes cluster's name. It is unique in one Alicloud account. Name pulumi.StringPtrInput `pulumi:"name"` }
func (KubernetesAddonArgs) ElementType ¶
func (KubernetesAddonArgs) ElementType() reflect.Type
func (KubernetesAddonArgs) ToKubernetesAddonOutput ¶
func (i KubernetesAddonArgs) ToKubernetesAddonOutput() KubernetesAddonOutput
func (KubernetesAddonArgs) ToKubernetesAddonOutputWithContext ¶
func (i KubernetesAddonArgs) ToKubernetesAddonOutputWithContext(ctx context.Context) KubernetesAddonOutput
type KubernetesAddonArray ¶
type KubernetesAddonArray []KubernetesAddonInput
func (KubernetesAddonArray) ElementType ¶
func (KubernetesAddonArray) ElementType() reflect.Type
func (KubernetesAddonArray) ToKubernetesAddonArrayOutput ¶
func (i KubernetesAddonArray) ToKubernetesAddonArrayOutput() KubernetesAddonArrayOutput
func (KubernetesAddonArray) ToKubernetesAddonArrayOutputWithContext ¶
func (i KubernetesAddonArray) ToKubernetesAddonArrayOutputWithContext(ctx context.Context) KubernetesAddonArrayOutput
type KubernetesAddonArrayInput ¶
type KubernetesAddonArrayInput interface { pulumi.Input ToKubernetesAddonArrayOutput() KubernetesAddonArrayOutput ToKubernetesAddonArrayOutputWithContext(context.Context) KubernetesAddonArrayOutput }
KubernetesAddonArrayInput is an input type that accepts KubernetesAddonArray and KubernetesAddonArrayOutput values. You can construct a concrete instance of `KubernetesAddonArrayInput` via:
KubernetesAddonArray{ KubernetesAddonArgs{...} }
type KubernetesAddonArrayOutput ¶
type KubernetesAddonArrayOutput struct{ *pulumi.OutputState }
func (KubernetesAddonArrayOutput) ElementType ¶
func (KubernetesAddonArrayOutput) ElementType() reflect.Type
func (KubernetesAddonArrayOutput) Index ¶
func (o KubernetesAddonArrayOutput) Index(i pulumi.IntInput) KubernetesAddonOutput
func (KubernetesAddonArrayOutput) ToKubernetesAddonArrayOutput ¶
func (o KubernetesAddonArrayOutput) ToKubernetesAddonArrayOutput() KubernetesAddonArrayOutput
func (KubernetesAddonArrayOutput) ToKubernetesAddonArrayOutputWithContext ¶
func (o KubernetesAddonArrayOutput) ToKubernetesAddonArrayOutputWithContext(ctx context.Context) KubernetesAddonArrayOutput
type KubernetesAddonInput ¶
type KubernetesAddonInput interface { pulumi.Input ToKubernetesAddonOutput() KubernetesAddonOutput ToKubernetesAddonOutputWithContext(context.Context) KubernetesAddonOutput }
KubernetesAddonInput is an input type that accepts KubernetesAddonArgs and KubernetesAddonOutput values. You can construct a concrete instance of `KubernetesAddonInput` via:
KubernetesAddonArgs{...}
type KubernetesAddonOutput ¶
type KubernetesAddonOutput struct{ *pulumi.OutputState }
func (KubernetesAddonOutput) Config ¶
func (o KubernetesAddonOutput) Config() pulumi.StringPtrOutput
func (KubernetesAddonOutput) Disabled ¶ added in v2.12.0
func (o KubernetesAddonOutput) Disabled() pulumi.BoolPtrOutput
func (KubernetesAddonOutput) ElementType ¶
func (KubernetesAddonOutput) ElementType() reflect.Type
func (KubernetesAddonOutput) Name ¶
func (o KubernetesAddonOutput) Name() pulumi.StringPtrOutput
The kubernetes cluster's name. It is unique in one Alicloud account.
func (KubernetesAddonOutput) ToKubernetesAddonOutput ¶
func (o KubernetesAddonOutput) ToKubernetesAddonOutput() KubernetesAddonOutput
func (KubernetesAddonOutput) ToKubernetesAddonOutputWithContext ¶
func (o KubernetesAddonOutput) ToKubernetesAddonOutputWithContext(ctx context.Context) KubernetesAddonOutput
type KubernetesArgs ¶
type KubernetesArgs struct { Addons KubernetesAddonArrayInput // A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature (requires specifying `serviceAccountIssuer` as well. ApiAudiences pulumi.StringArrayInput // The Zone where new kubernetes cluster will be located. If it is not be specified, the `vswitchIds` should be set, its value will be vswitch's zone. AvailabilityZone pulumi.StringPtrInput // The path of client certificate, like `~/.kube/client-cert.pem`. ClientCert pulumi.StringPtrInput // The path of client key, like `~/.kube/client-key.pem`. ClientKey pulumi.StringPtrInput // The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem` ClusterCaCert pulumi.StringPtrInput // kubelet cpu policy. options: static|none. default: none. CpuPolicy pulumi.StringPtrInput // Enable login to the node through SSH. default: false EnableSsh pulumi.BoolPtrInput // Exclude autoscaler nodes from `workerNodes`. default: false ExcludeAutoscalerNodes pulumi.BoolPtrInput // Custom Image support. Must based on CentOS7 or AliyunLinux2. ImageId pulumi.StringPtrInput // Install cloud monitor agent on ECS. default: true InstallCloudMonitor pulumi.BoolPtrInput // Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm). IsEnterpriseSecurityGroup pulumi.BoolPtrInput // The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. KeyName pulumi.StringPtrInput // An KMS encrypts password used to a cs kubernetes. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. KmsEncryptedPassword pulumi.StringPtrInput // An KMS encryption context used to decrypt `kmsEncryptedPassword` before creating or updating a cs kubernetes with `kmsEncryptedPassword`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set. KmsEncryptionContext pulumi.MapInput // The path of kube config, like `~/.kube/config`. KubeConfig pulumi.StringPtrInput // Enable master payment auto-renew, defaults to false. MasterAutoRenew pulumi.BoolPtrInput // Master payment auto-renew period. When period unit is `Month`, it can be one of {“1”, “2”, “3”, “6”, “12”}. When period unit is `Week`, it can be one of {“1”, “2”, “3”}. MasterAutoRenewPeriod pulumi.IntPtrInput // The system disk category of master node. Its valid value are `cloudSsd` and `cloudEfficiency`. Default to `cloudEfficiency`. MasterDiskCategory pulumi.StringPtrInput // The system disk size of master node. Its valid value range [20~500] in GB. Default to 20. MasterDiskSize pulumi.IntPtrInput // Master payment type. `PrePaid` or `PostPaid`, defaults to `PostPaid`. MasterInstanceChargeType pulumi.StringPtrInput // The instance type of master node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster. MasterInstanceTypes pulumi.StringArrayInput // Master payment period. When period unit is `Month`, it can be one of { “1”, “2”, “3”, “4”, “5”, “6”, “7”, “8”, “9”, “12”, “24”, “36”,”48”,”60”}. When period unit is `Week`, it can be one of {“1”, “2”, “3”, “4”}. MasterPeriod pulumi.IntPtrInput // Master payment period unit. `Month` or `Week`, defaults to `Month`. MasterPeriodUnit pulumi.StringPtrInput MasterVswitchIds pulumi.StringArrayInput // The kubernetes cluster's name. It is unique in one Alicloud account. Name pulumi.StringPtrInput // Deprecated: Field 'name_prefix' has been deprecated from provider version 1.75.0. NamePrefix pulumi.StringPtrInput // Whether to create a new nat gateway while creating kubernetes cluster. Default to true. Then openapi in Alibaba Cloud are not all on intranet, So turn this option on is a good choice. NewNatGateway pulumi.BoolPtrInput // The node cidr block to specific how many pods can run on single node. 24-28 is allowed. 24 means 2^(32-24)-1=255 and the node can run at most 255 pods. default: 24 NodeCidrMask pulumi.IntPtrInput // Each node name consists of a prefix, an IP substring, and a suffix. For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, IP substring length is 5, and the suffix is test, the node name will be aliyun.com00055test. NodeNameMode pulumi.StringPtrInput // The password of ssh login cluster node. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. Password pulumi.StringPtrInput // [Flannel Specific] The CIDR block for the pod network when using Flannel. PodCidr pulumi.StringPtrInput // [Terway Specific] The vswitches for the pod network when using Terway.Be careful the `podVswitchIds` can not equal to `workerVswtichIds` or `masterVswtichIds` but must be in same availability zones. PodVswitchIds pulumi.StringArrayInput // Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs. ProxyMode pulumi.StringPtrInput // The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built. SecurityGroupId pulumi.StringPtrInput // The issuer of the Service Account token for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm), corresponds to the `iss` field in the token payload. Set this to `"kubernetes.default.svc"` to enable the Token Volume Projection feature (requires specifying `apiAudiences` as well). ServiceAccountIssuer pulumi.StringPtrInput // The CIDR block for the service network. It cannot be duplicated with the VPC CIDR and CIDR used by Kubernetes cluster in VPC, cannot be modified after creation. ServiceCidr pulumi.StringPtrInput // Whether to create internet load balancer for API Server. Default to true. SlbInternetEnabled pulumi.BoolPtrInput // Default nil, A map of tags assigned to the kubernetes cluster . Tags pulumi.MapInput // The path of customized CA cert, you can use this CA to sign client certs to connect your cluster. UserCa pulumi.StringPtrInput // Windows instances support batch and PowerShell scripts. If your script file is larger than 1 KB, we recommend that you upload the script to Object Storage Service (OSS) and pull it through the internal endpoint of your OSS bucket. UserData pulumi.StringPtrInput // Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used and no upgrades will occur except you set a higher version number. The value must be configured and increased to upgrade the version when desired. Downgrades are not supported by ACK. Version pulumi.StringPtrInput // Enable worker payment auto-renew, defaults to false. WorkerAutoRenew pulumi.BoolPtrInput // Worker payment auto-renew period. When period unit is `Month`, it can be one of {“1”, “2”, “3”, “6”, “12”}. When period unit is `Week`, it can be one of {“1”, “2”, “3”}. WorkerAutoRenewPeriod pulumi.IntPtrInput WorkerDataDiskCategory pulumi.StringPtrInput WorkerDataDiskSize pulumi.IntPtrInput // The data disk configurations of worker nodes, such as the disk type and disk size. // - category: the type of the data disks. Valid values: // + cloud: basic disks. // + cloud_efficiency: ultra disks. // + cloud_ssd: SSDs. // - size: the size of a data disk. Unit: GiB. // - encrypted: specifies whether to encrypt data disks. Valid values: true and false. WorkerDataDisks KubernetesWorkerDataDiskArrayInput // The system disk category of worker node. Its valid value are `cloudSsd` and `cloudEfficiency`. Default to `cloudEfficiency`. WorkerDiskCategory pulumi.StringPtrInput // The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40. WorkerDiskSize pulumi.IntPtrInput // Worker payment type. `PrePaid` or `PostPaid`, defaults to `PostPaid`. WorkerInstanceChargeType pulumi.StringPtrInput // The instance type of worker node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster. WorkerInstanceTypes pulumi.StringArrayInput // The worker node number of the kubernetes cluster. Default to 3. It is limited up to 50 and if you want to enlarge it, please apply white list or contact with us. WorkerNumber pulumi.IntInput // Worker payment period. When period unit is `Month`, it can be one of { “1”, “2”, “3”, “4”, “5”, “6”, “7”, “8”, “9”, “12”, “24”, “36”,”48”,”60”}. When period unit is `Week`, it can be one of {“1”, “2”, “3”, “4”}. WorkerPeriod pulumi.IntPtrInput // Worker payment period unit. `Month` or `Week`, defaults to `Month`. WorkerPeriodUnit pulumi.StringPtrInput WorkerVswitchIds pulumi.StringArrayInput }
The set of arguments for constructing a Kubernetes resource.
func (KubernetesArgs) ElementType ¶
func (KubernetesArgs) ElementType() reflect.Type
type KubernetesAutoscaler ¶
type KubernetesAutoscaler struct { pulumi.CustomResourceState // The id of kubernetes cluster. ClusterId pulumi.StringOutput `pulumi:"clusterId"` // The coolDownDuration option of cluster-autoscaler. CoolDownDuration pulumi.StringOutput `pulumi:"coolDownDuration"` // The deferScaleInDuration option of cluster-autoscaler. DeferScaleInDuration pulumi.StringOutput `pulumi:"deferScaleInDuration"` // * `nodepools.id` - (Required) The scaling group id of the groups configured for cluster-autoscaler. // * `nodepools.taints` - (Required) The taints for the nodes in scaling group. // * `nodepools.labels` - (Required) The labels for the nodes in scaling group. Nodepools KubernetesAutoscalerNodepoolArrayOutput `pulumi:"nodepools"` // Enable autoscaler access to alibabacloud service by ecs ramrole token. default: false UseEcsRamRoleToken pulumi.BoolPtrOutput `pulumi:"useEcsRamRoleToken"` // The utilization option of cluster-autoscaler. Utilization pulumi.StringOutput `pulumi:"utilization"` }
This resource will help you to manager cluster-autoscaler in Kubernetes Cluster.
> **NOTE:** The scaling group must use CentOS7 or AliyunLinux2 as base image.
> **NOTE:** The cluster-autoscaler can only use the same size of instanceTypes in one scaling group.
> **NOTE:** Add Policy to RAM role of the node to deploy cluster-autoscaler if you need.
> **NOTE:** Available in 1.65.0+.
## Example Usage
cluster-autoscaler in Kubernetes Cluster
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/cs" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cs.NewKubernetesAutoscaler(ctx, "_default", &cs.KubernetesAutoscalerArgs{ ClusterId: pulumi.Any(_var.Cluster_id), Nodepools: cs.KubernetesAutoscalerNodepoolArray{ &cs.KubernetesAutoscalerNodepoolArgs{ Id: pulumi.String("scaling_group_id"), Taints: pulumi.String("c=d:NoSchedule"), Labels: pulumi.String("a=b"), }, }, Utilization: pulumi.Any(_var.Utilization), CoolDownDuration: pulumi.Any(_var.Cool_down_duration), DeferScaleInDuration: pulumi.Any(_var.Defer_scale_in_duration), }) if err != nil { return err } return nil }) }
```
func GetKubernetesAutoscaler ¶
func GetKubernetesAutoscaler(ctx *pulumi.Context, name string, id pulumi.IDInput, state *KubernetesAutoscalerState, opts ...pulumi.ResourceOption) (*KubernetesAutoscaler, error)
GetKubernetesAutoscaler gets an existing KubernetesAutoscaler 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 NewKubernetesAutoscaler ¶
func NewKubernetesAutoscaler(ctx *pulumi.Context, name string, args *KubernetesAutoscalerArgs, opts ...pulumi.ResourceOption) (*KubernetesAutoscaler, error)
NewKubernetesAutoscaler registers a new resource with the given unique name, arguments, and options.
type KubernetesAutoscalerArgs ¶
type KubernetesAutoscalerArgs struct { // The id of kubernetes cluster. ClusterId pulumi.StringInput // The coolDownDuration option of cluster-autoscaler. CoolDownDuration pulumi.StringInput // The deferScaleInDuration option of cluster-autoscaler. DeferScaleInDuration pulumi.StringInput // * `nodepools.id` - (Required) The scaling group id of the groups configured for cluster-autoscaler. // * `nodepools.taints` - (Required) The taints for the nodes in scaling group. // * `nodepools.labels` - (Required) The labels for the nodes in scaling group. Nodepools KubernetesAutoscalerNodepoolArrayInput // Enable autoscaler access to alibabacloud service by ecs ramrole token. default: false UseEcsRamRoleToken pulumi.BoolPtrInput // The utilization option of cluster-autoscaler. Utilization pulumi.StringInput }
The set of arguments for constructing a KubernetesAutoscaler resource.
func (KubernetesAutoscalerArgs) ElementType ¶
func (KubernetesAutoscalerArgs) ElementType() reflect.Type
type KubernetesAutoscalerNodepoolArgs ¶
type KubernetesAutoscalerNodepoolArgs struct { Id pulumi.StringPtrInput `pulumi:"id"` Labels pulumi.StringPtrInput `pulumi:"labels"` Taints pulumi.StringPtrInput `pulumi:"taints"` }
func (KubernetesAutoscalerNodepoolArgs) ElementType ¶
func (KubernetesAutoscalerNodepoolArgs) ElementType() reflect.Type
func (KubernetesAutoscalerNodepoolArgs) ToKubernetesAutoscalerNodepoolOutput ¶
func (i KubernetesAutoscalerNodepoolArgs) ToKubernetesAutoscalerNodepoolOutput() KubernetesAutoscalerNodepoolOutput
func (KubernetesAutoscalerNodepoolArgs) ToKubernetesAutoscalerNodepoolOutputWithContext ¶
func (i KubernetesAutoscalerNodepoolArgs) ToKubernetesAutoscalerNodepoolOutputWithContext(ctx context.Context) KubernetesAutoscalerNodepoolOutput
type KubernetesAutoscalerNodepoolArray ¶
type KubernetesAutoscalerNodepoolArray []KubernetesAutoscalerNodepoolInput
func (KubernetesAutoscalerNodepoolArray) ElementType ¶
func (KubernetesAutoscalerNodepoolArray) ElementType() reflect.Type
func (KubernetesAutoscalerNodepoolArray) ToKubernetesAutoscalerNodepoolArrayOutput ¶
func (i KubernetesAutoscalerNodepoolArray) ToKubernetesAutoscalerNodepoolArrayOutput() KubernetesAutoscalerNodepoolArrayOutput
func (KubernetesAutoscalerNodepoolArray) ToKubernetesAutoscalerNodepoolArrayOutputWithContext ¶
func (i KubernetesAutoscalerNodepoolArray) ToKubernetesAutoscalerNodepoolArrayOutputWithContext(ctx context.Context) KubernetesAutoscalerNodepoolArrayOutput
type KubernetesAutoscalerNodepoolArrayInput ¶
type KubernetesAutoscalerNodepoolArrayInput interface { pulumi.Input ToKubernetesAutoscalerNodepoolArrayOutput() KubernetesAutoscalerNodepoolArrayOutput ToKubernetesAutoscalerNodepoolArrayOutputWithContext(context.Context) KubernetesAutoscalerNodepoolArrayOutput }
KubernetesAutoscalerNodepoolArrayInput is an input type that accepts KubernetesAutoscalerNodepoolArray and KubernetesAutoscalerNodepoolArrayOutput values. You can construct a concrete instance of `KubernetesAutoscalerNodepoolArrayInput` via:
KubernetesAutoscalerNodepoolArray{ KubernetesAutoscalerNodepoolArgs{...} }
type KubernetesAutoscalerNodepoolArrayOutput ¶
type KubernetesAutoscalerNodepoolArrayOutput struct{ *pulumi.OutputState }
func (KubernetesAutoscalerNodepoolArrayOutput) ElementType ¶
func (KubernetesAutoscalerNodepoolArrayOutput) ElementType() reflect.Type
func (KubernetesAutoscalerNodepoolArrayOutput) ToKubernetesAutoscalerNodepoolArrayOutput ¶
func (o KubernetesAutoscalerNodepoolArrayOutput) ToKubernetesAutoscalerNodepoolArrayOutput() KubernetesAutoscalerNodepoolArrayOutput
func (KubernetesAutoscalerNodepoolArrayOutput) ToKubernetesAutoscalerNodepoolArrayOutputWithContext ¶
func (o KubernetesAutoscalerNodepoolArrayOutput) ToKubernetesAutoscalerNodepoolArrayOutputWithContext(ctx context.Context) KubernetesAutoscalerNodepoolArrayOutput
type KubernetesAutoscalerNodepoolInput ¶
type KubernetesAutoscalerNodepoolInput interface { pulumi.Input ToKubernetesAutoscalerNodepoolOutput() KubernetesAutoscalerNodepoolOutput ToKubernetesAutoscalerNodepoolOutputWithContext(context.Context) KubernetesAutoscalerNodepoolOutput }
KubernetesAutoscalerNodepoolInput is an input type that accepts KubernetesAutoscalerNodepoolArgs and KubernetesAutoscalerNodepoolOutput values. You can construct a concrete instance of `KubernetesAutoscalerNodepoolInput` via:
KubernetesAutoscalerNodepoolArgs{...}
type KubernetesAutoscalerNodepoolOutput ¶
type KubernetesAutoscalerNodepoolOutput struct{ *pulumi.OutputState }
func (KubernetesAutoscalerNodepoolOutput) ElementType ¶
func (KubernetesAutoscalerNodepoolOutput) ElementType() reflect.Type
func (KubernetesAutoscalerNodepoolOutput) Id ¶
func (o KubernetesAutoscalerNodepoolOutput) Id() pulumi.StringPtrOutput
func (KubernetesAutoscalerNodepoolOutput) Labels ¶
func (o KubernetesAutoscalerNodepoolOutput) Labels() pulumi.StringPtrOutput
func (KubernetesAutoscalerNodepoolOutput) Taints ¶
func (o KubernetesAutoscalerNodepoolOutput) Taints() pulumi.StringPtrOutput
func (KubernetesAutoscalerNodepoolOutput) ToKubernetesAutoscalerNodepoolOutput ¶
func (o KubernetesAutoscalerNodepoolOutput) ToKubernetesAutoscalerNodepoolOutput() KubernetesAutoscalerNodepoolOutput
func (KubernetesAutoscalerNodepoolOutput) ToKubernetesAutoscalerNodepoolOutputWithContext ¶
func (o KubernetesAutoscalerNodepoolOutput) ToKubernetesAutoscalerNodepoolOutputWithContext(ctx context.Context) KubernetesAutoscalerNodepoolOutput
type KubernetesAutoscalerState ¶
type KubernetesAutoscalerState struct { // The id of kubernetes cluster. ClusterId pulumi.StringPtrInput // The coolDownDuration option of cluster-autoscaler. CoolDownDuration pulumi.StringPtrInput // The deferScaleInDuration option of cluster-autoscaler. DeferScaleInDuration pulumi.StringPtrInput // * `nodepools.id` - (Required) The scaling group id of the groups configured for cluster-autoscaler. // * `nodepools.taints` - (Required) The taints for the nodes in scaling group. // * `nodepools.labels` - (Required) The labels for the nodes in scaling group. Nodepools KubernetesAutoscalerNodepoolArrayInput // Enable autoscaler access to alibabacloud service by ecs ramrole token. default: false UseEcsRamRoleToken pulumi.BoolPtrInput // The utilization option of cluster-autoscaler. Utilization pulumi.StringPtrInput }
func (KubernetesAutoscalerState) ElementType ¶
func (KubernetesAutoscalerState) ElementType() reflect.Type
type KubernetesConnections ¶
type KubernetesConnections struct { // API Server Internet endpoint. ApiServerInternet *string `pulumi:"apiServerInternet"` // API Server Intranet endpoint. ApiServerIntranet *string `pulumi:"apiServerIntranet"` // Master node SSH IP address. MasterPublicIp *string `pulumi:"masterPublicIp"` // Service Access Domain. ServiceDomain *string `pulumi:"serviceDomain"` }
type KubernetesConnectionsArgs ¶
type KubernetesConnectionsArgs struct { // API Server Internet endpoint. ApiServerInternet pulumi.StringPtrInput `pulumi:"apiServerInternet"` // API Server Intranet endpoint. ApiServerIntranet pulumi.StringPtrInput `pulumi:"apiServerIntranet"` // Master node SSH IP address. MasterPublicIp pulumi.StringPtrInput `pulumi:"masterPublicIp"` // Service Access Domain. ServiceDomain pulumi.StringPtrInput `pulumi:"serviceDomain"` }
func (KubernetesConnectionsArgs) ElementType ¶
func (KubernetesConnectionsArgs) ElementType() reflect.Type
func (KubernetesConnectionsArgs) ToKubernetesConnectionsOutput ¶
func (i KubernetesConnectionsArgs) ToKubernetesConnectionsOutput() KubernetesConnectionsOutput
func (KubernetesConnectionsArgs) ToKubernetesConnectionsOutputWithContext ¶
func (i KubernetesConnectionsArgs) ToKubernetesConnectionsOutputWithContext(ctx context.Context) KubernetesConnectionsOutput
func (KubernetesConnectionsArgs) ToKubernetesConnectionsPtrOutput ¶
func (i KubernetesConnectionsArgs) ToKubernetesConnectionsPtrOutput() KubernetesConnectionsPtrOutput
func (KubernetesConnectionsArgs) ToKubernetesConnectionsPtrOutputWithContext ¶
func (i KubernetesConnectionsArgs) ToKubernetesConnectionsPtrOutputWithContext(ctx context.Context) KubernetesConnectionsPtrOutput
type KubernetesConnectionsInput ¶
type KubernetesConnectionsInput interface { pulumi.Input ToKubernetesConnectionsOutput() KubernetesConnectionsOutput ToKubernetesConnectionsOutputWithContext(context.Context) KubernetesConnectionsOutput }
KubernetesConnectionsInput is an input type that accepts KubernetesConnectionsArgs and KubernetesConnectionsOutput values. You can construct a concrete instance of `KubernetesConnectionsInput` via:
KubernetesConnectionsArgs{...}
type KubernetesConnectionsOutput ¶
type KubernetesConnectionsOutput struct{ *pulumi.OutputState }
func (KubernetesConnectionsOutput) ApiServerInternet ¶
func (o KubernetesConnectionsOutput) ApiServerInternet() pulumi.StringPtrOutput
API Server Internet endpoint.
func (KubernetesConnectionsOutput) ApiServerIntranet ¶
func (o KubernetesConnectionsOutput) ApiServerIntranet() pulumi.StringPtrOutput
API Server Intranet endpoint.
func (KubernetesConnectionsOutput) ElementType ¶
func (KubernetesConnectionsOutput) ElementType() reflect.Type
func (KubernetesConnectionsOutput) MasterPublicIp ¶
func (o KubernetesConnectionsOutput) MasterPublicIp() pulumi.StringPtrOutput
Master node SSH IP address.
func (KubernetesConnectionsOutput) ServiceDomain ¶
func (o KubernetesConnectionsOutput) ServiceDomain() pulumi.StringPtrOutput
Service Access Domain.
func (KubernetesConnectionsOutput) ToKubernetesConnectionsOutput ¶
func (o KubernetesConnectionsOutput) ToKubernetesConnectionsOutput() KubernetesConnectionsOutput
func (KubernetesConnectionsOutput) ToKubernetesConnectionsOutputWithContext ¶
func (o KubernetesConnectionsOutput) ToKubernetesConnectionsOutputWithContext(ctx context.Context) KubernetesConnectionsOutput
func (KubernetesConnectionsOutput) ToKubernetesConnectionsPtrOutput ¶
func (o KubernetesConnectionsOutput) ToKubernetesConnectionsPtrOutput() KubernetesConnectionsPtrOutput
func (KubernetesConnectionsOutput) ToKubernetesConnectionsPtrOutputWithContext ¶
func (o KubernetesConnectionsOutput) ToKubernetesConnectionsPtrOutputWithContext(ctx context.Context) KubernetesConnectionsPtrOutput
type KubernetesConnectionsPtrInput ¶
type KubernetesConnectionsPtrInput interface { pulumi.Input ToKubernetesConnectionsPtrOutput() KubernetesConnectionsPtrOutput ToKubernetesConnectionsPtrOutputWithContext(context.Context) KubernetesConnectionsPtrOutput }
KubernetesConnectionsPtrInput is an input type that accepts KubernetesConnectionsArgs, KubernetesConnectionsPtr and KubernetesConnectionsPtrOutput values. You can construct a concrete instance of `KubernetesConnectionsPtrInput` via:
KubernetesConnectionsArgs{...} or: nil
func KubernetesConnectionsPtr ¶
func KubernetesConnectionsPtr(v *KubernetesConnectionsArgs) KubernetesConnectionsPtrInput
type KubernetesConnectionsPtrOutput ¶
type KubernetesConnectionsPtrOutput struct{ *pulumi.OutputState }
func (KubernetesConnectionsPtrOutput) ApiServerInternet ¶
func (o KubernetesConnectionsPtrOutput) ApiServerInternet() pulumi.StringPtrOutput
API Server Internet endpoint.
func (KubernetesConnectionsPtrOutput) ApiServerIntranet ¶
func (o KubernetesConnectionsPtrOutput) ApiServerIntranet() pulumi.StringPtrOutput
API Server Intranet endpoint.
func (KubernetesConnectionsPtrOutput) Elem ¶
func (o KubernetesConnectionsPtrOutput) Elem() KubernetesConnectionsOutput
func (KubernetesConnectionsPtrOutput) ElementType ¶
func (KubernetesConnectionsPtrOutput) ElementType() reflect.Type
func (KubernetesConnectionsPtrOutput) MasterPublicIp ¶
func (o KubernetesConnectionsPtrOutput) MasterPublicIp() pulumi.StringPtrOutput
Master node SSH IP address.
func (KubernetesConnectionsPtrOutput) ServiceDomain ¶
func (o KubernetesConnectionsPtrOutput) ServiceDomain() pulumi.StringPtrOutput
Service Access Domain.
func (KubernetesConnectionsPtrOutput) ToKubernetesConnectionsPtrOutput ¶
func (o KubernetesConnectionsPtrOutput) ToKubernetesConnectionsPtrOutput() KubernetesConnectionsPtrOutput
func (KubernetesConnectionsPtrOutput) ToKubernetesConnectionsPtrOutputWithContext ¶
func (o KubernetesConnectionsPtrOutput) ToKubernetesConnectionsPtrOutputWithContext(ctx context.Context) KubernetesConnectionsPtrOutput
type KubernetesMasterNode ¶
type KubernetesMasterNodeArgs ¶
type KubernetesMasterNodeArgs struct { // ID of the node. Id pulumi.StringPtrInput `pulumi:"id"` // The kubernetes cluster's name. It is unique in one Alicloud account. Name pulumi.StringPtrInput `pulumi:"name"` // The private IP address of node. PrivateIp pulumi.StringPtrInput `pulumi:"privateIp"` }
func (KubernetesMasterNodeArgs) ElementType ¶
func (KubernetesMasterNodeArgs) ElementType() reflect.Type
func (KubernetesMasterNodeArgs) ToKubernetesMasterNodeOutput ¶
func (i KubernetesMasterNodeArgs) ToKubernetesMasterNodeOutput() KubernetesMasterNodeOutput
func (KubernetesMasterNodeArgs) ToKubernetesMasterNodeOutputWithContext ¶
func (i KubernetesMasterNodeArgs) ToKubernetesMasterNodeOutputWithContext(ctx context.Context) KubernetesMasterNodeOutput
type KubernetesMasterNodeArray ¶
type KubernetesMasterNodeArray []KubernetesMasterNodeInput
func (KubernetesMasterNodeArray) ElementType ¶
func (KubernetesMasterNodeArray) ElementType() reflect.Type
func (KubernetesMasterNodeArray) ToKubernetesMasterNodeArrayOutput ¶
func (i KubernetesMasterNodeArray) ToKubernetesMasterNodeArrayOutput() KubernetesMasterNodeArrayOutput
func (KubernetesMasterNodeArray) ToKubernetesMasterNodeArrayOutputWithContext ¶
func (i KubernetesMasterNodeArray) ToKubernetesMasterNodeArrayOutputWithContext(ctx context.Context) KubernetesMasterNodeArrayOutput
type KubernetesMasterNodeArrayInput ¶
type KubernetesMasterNodeArrayInput interface { pulumi.Input ToKubernetesMasterNodeArrayOutput() KubernetesMasterNodeArrayOutput ToKubernetesMasterNodeArrayOutputWithContext(context.Context) KubernetesMasterNodeArrayOutput }
KubernetesMasterNodeArrayInput is an input type that accepts KubernetesMasterNodeArray and KubernetesMasterNodeArrayOutput values. You can construct a concrete instance of `KubernetesMasterNodeArrayInput` via:
KubernetesMasterNodeArray{ KubernetesMasterNodeArgs{...} }
type KubernetesMasterNodeArrayOutput ¶
type KubernetesMasterNodeArrayOutput struct{ *pulumi.OutputState }
func (KubernetesMasterNodeArrayOutput) ElementType ¶
func (KubernetesMasterNodeArrayOutput) ElementType() reflect.Type
func (KubernetesMasterNodeArrayOutput) Index ¶
func (o KubernetesMasterNodeArrayOutput) Index(i pulumi.IntInput) KubernetesMasterNodeOutput
func (KubernetesMasterNodeArrayOutput) ToKubernetesMasterNodeArrayOutput ¶
func (o KubernetesMasterNodeArrayOutput) ToKubernetesMasterNodeArrayOutput() KubernetesMasterNodeArrayOutput
func (KubernetesMasterNodeArrayOutput) ToKubernetesMasterNodeArrayOutputWithContext ¶
func (o KubernetesMasterNodeArrayOutput) ToKubernetesMasterNodeArrayOutputWithContext(ctx context.Context) KubernetesMasterNodeArrayOutput
type KubernetesMasterNodeInput ¶
type KubernetesMasterNodeInput interface { pulumi.Input ToKubernetesMasterNodeOutput() KubernetesMasterNodeOutput ToKubernetesMasterNodeOutputWithContext(context.Context) KubernetesMasterNodeOutput }
KubernetesMasterNodeInput is an input type that accepts KubernetesMasterNodeArgs and KubernetesMasterNodeOutput values. You can construct a concrete instance of `KubernetesMasterNodeInput` via:
KubernetesMasterNodeArgs{...}
type KubernetesMasterNodeOutput ¶
type KubernetesMasterNodeOutput struct{ *pulumi.OutputState }
func (KubernetesMasterNodeOutput) ElementType ¶
func (KubernetesMasterNodeOutput) ElementType() reflect.Type
func (KubernetesMasterNodeOutput) Id ¶
func (o KubernetesMasterNodeOutput) Id() pulumi.StringPtrOutput
ID of the node.
func (KubernetesMasterNodeOutput) Name ¶
func (o KubernetesMasterNodeOutput) Name() pulumi.StringPtrOutput
The kubernetes cluster's name. It is unique in one Alicloud account.
func (KubernetesMasterNodeOutput) PrivateIp ¶
func (o KubernetesMasterNodeOutput) PrivateIp() pulumi.StringPtrOutput
The private IP address of node.
func (KubernetesMasterNodeOutput) ToKubernetesMasterNodeOutput ¶
func (o KubernetesMasterNodeOutput) ToKubernetesMasterNodeOutput() KubernetesMasterNodeOutput
func (KubernetesMasterNodeOutput) ToKubernetesMasterNodeOutputWithContext ¶
func (o KubernetesMasterNodeOutput) ToKubernetesMasterNodeOutputWithContext(ctx context.Context) KubernetesMasterNodeOutput
type KubernetesState ¶
type KubernetesState struct { Addons KubernetesAddonArrayInput // A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature (requires specifying `serviceAccountIssuer` as well. ApiAudiences pulumi.StringArrayInput // The Zone where new kubernetes cluster will be located. If it is not be specified, the `vswitchIds` should be set, its value will be vswitch's zone. AvailabilityZone pulumi.StringPtrInput // The path of client certificate, like `~/.kube/client-cert.pem`. ClientCert pulumi.StringPtrInput // The path of client key, like `~/.kube/client-key.pem`. ClientKey pulumi.StringPtrInput // The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem` ClusterCaCert pulumi.StringPtrInput // Map of kubernetes cluster connection information. It contains several attributes to `Block Connections`. Connections KubernetesConnectionsPtrInput // kubelet cpu policy. options: static|none. default: none. CpuPolicy pulumi.StringPtrInput // Enable login to the node through SSH. default: false EnableSsh pulumi.BoolPtrInput // Exclude autoscaler nodes from `workerNodes`. default: false ExcludeAutoscalerNodes pulumi.BoolPtrInput // Custom Image support. Must based on CentOS7 or AliyunLinux2. ImageId pulumi.StringPtrInput // Install cloud monitor agent on ECS. default: true InstallCloudMonitor pulumi.BoolPtrInput // Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm). IsEnterpriseSecurityGroup pulumi.BoolPtrInput // The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. KeyName pulumi.StringPtrInput // An KMS encrypts password used to a cs kubernetes. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. KmsEncryptedPassword pulumi.StringPtrInput // An KMS encryption context used to decrypt `kmsEncryptedPassword` before creating or updating a cs kubernetes with `kmsEncryptedPassword`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set. KmsEncryptionContext pulumi.MapInput // The path of kube config, like `~/.kube/config`. KubeConfig pulumi.StringPtrInput // Enable master payment auto-renew, defaults to false. MasterAutoRenew pulumi.BoolPtrInput // Master payment auto-renew period. When period unit is `Month`, it can be one of {“1”, “2”, “3”, “6”, “12”}. When period unit is `Week`, it can be one of {“1”, “2”, “3”}. MasterAutoRenewPeriod pulumi.IntPtrInput // The system disk category of master node. Its valid value are `cloudSsd` and `cloudEfficiency`. Default to `cloudEfficiency`. MasterDiskCategory pulumi.StringPtrInput // The system disk size of master node. Its valid value range [20~500] in GB. Default to 20. MasterDiskSize pulumi.IntPtrInput // Master payment type. `PrePaid` or `PostPaid`, defaults to `PostPaid`. MasterInstanceChargeType pulumi.StringPtrInput // The instance type of master node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster. MasterInstanceTypes pulumi.StringArrayInput // List of cluster master nodes. It contains several attributes to `Block Nodes`. MasterNodes KubernetesMasterNodeArrayInput // Master payment period. When period unit is `Month`, it can be one of { “1”, “2”, “3”, “4”, “5”, “6”, “7”, “8”, “9”, “12”, “24”, “36”,”48”,”60”}. When period unit is `Week`, it can be one of {“1”, “2”, “3”, “4”}. MasterPeriod pulumi.IntPtrInput // Master payment period unit. `Month` or `Week`, defaults to `Month`. MasterPeriodUnit pulumi.StringPtrInput MasterVswitchIds pulumi.StringArrayInput // The kubernetes cluster's name. It is unique in one Alicloud account. Name pulumi.StringPtrInput // Deprecated: Field 'name_prefix' has been deprecated from provider version 1.75.0. NamePrefix pulumi.StringPtrInput // The ID of nat gateway used to launch kubernetes cluster. NatGatewayId pulumi.StringPtrInput // Whether to create a new nat gateway while creating kubernetes cluster. Default to true. Then openapi in Alibaba Cloud are not all on intranet, So turn this option on is a good choice. NewNatGateway pulumi.BoolPtrInput // The node cidr block to specific how many pods can run on single node. 24-28 is allowed. 24 means 2^(32-24)-1=255 and the node can run at most 255 pods. default: 24 NodeCidrMask pulumi.IntPtrInput // Each node name consists of a prefix, an IP substring, and a suffix. For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, IP substring length is 5, and the suffix is test, the node name will be aliyun.com00055test. NodeNameMode pulumi.StringPtrInput // The password of ssh login cluster node. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. Password pulumi.StringPtrInput // [Flannel Specific] The CIDR block for the pod network when using Flannel. PodCidr pulumi.StringPtrInput // [Terway Specific] The vswitches for the pod network when using Terway.Be careful the `podVswitchIds` can not equal to `workerVswtichIds` or `masterVswtichIds` but must be in same availability zones. PodVswitchIds pulumi.StringArrayInput // Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs. ProxyMode pulumi.StringPtrInput // The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built. SecurityGroupId pulumi.StringPtrInput // The issuer of the Service Account token for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm), corresponds to the `iss` field in the token payload. Set this to `"kubernetes.default.svc"` to enable the Token Volume Projection feature (requires specifying `apiAudiences` as well). ServiceAccountIssuer pulumi.StringPtrInput // The CIDR block for the service network. It cannot be duplicated with the VPC CIDR and CIDR used by Kubernetes cluster in VPC, cannot be modified after creation. ServiceCidr pulumi.StringPtrInput // Deprecated: Field 'slb_id' has been deprecated from provider version 1.9.2. New field 'slb_internet' replaces it. SlbId pulumi.StringPtrInput SlbInternet pulumi.StringPtrInput // Whether to create internet load balancer for API Server. Default to true. SlbInternetEnabled pulumi.BoolPtrInput // The ID of private load balancer where the current cluster master node is located. SlbIntranet pulumi.StringPtrInput // Default nil, A map of tags assigned to the kubernetes cluster . Tags pulumi.MapInput // The path of customized CA cert, you can use this CA to sign client certs to connect your cluster. UserCa pulumi.StringPtrInput // Windows instances support batch and PowerShell scripts. If your script file is larger than 1 KB, we recommend that you upload the script to Object Storage Service (OSS) and pull it through the internal endpoint of your OSS bucket. UserData pulumi.StringPtrInput // Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used and no upgrades will occur except you set a higher version number. The value must be configured and increased to upgrade the version when desired. Downgrades are not supported by ACK. Version pulumi.StringPtrInput // The ID of VPC where the current cluster is located. VpcId pulumi.StringPtrInput // Enable worker payment auto-renew, defaults to false. WorkerAutoRenew pulumi.BoolPtrInput // Worker payment auto-renew period. When period unit is `Month`, it can be one of {“1”, “2”, “3”, “6”, “12”}. When period unit is `Week`, it can be one of {“1”, “2”, “3”}. WorkerAutoRenewPeriod pulumi.IntPtrInput WorkerDataDiskCategory pulumi.StringPtrInput WorkerDataDiskSize pulumi.IntPtrInput // The data disk configurations of worker nodes, such as the disk type and disk size. // - category: the type of the data disks. Valid values: // + cloud: basic disks. // + cloud_efficiency: ultra disks. // + cloud_ssd: SSDs. // - size: the size of a data disk. Unit: GiB. // - encrypted: specifies whether to encrypt data disks. Valid values: true and false. WorkerDataDisks KubernetesWorkerDataDiskArrayInput // The system disk category of worker node. Its valid value are `cloudSsd` and `cloudEfficiency`. Default to `cloudEfficiency`. WorkerDiskCategory pulumi.StringPtrInput // The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40. WorkerDiskSize pulumi.IntPtrInput // Worker payment type. `PrePaid` or `PostPaid`, defaults to `PostPaid`. WorkerInstanceChargeType pulumi.StringPtrInput // The instance type of worker node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster. WorkerInstanceTypes pulumi.StringArrayInput // List of cluster worker nodes. It contains several attributes to `Block Nodes`. WorkerNodes KubernetesWorkerNodeArrayInput // The worker node number of the kubernetes cluster. Default to 3. It is limited up to 50 and if you want to enlarge it, please apply white list or contact with us. WorkerNumber pulumi.IntPtrInput // Worker payment period. When period unit is `Month`, it can be one of { “1”, “2”, “3”, “4”, “5”, “6”, “7”, “8”, “9”, “12”, “24”, “36”,”48”,”60”}. When period unit is `Week`, it can be one of {“1”, “2”, “3”, “4”}. WorkerPeriod pulumi.IntPtrInput // Worker payment period unit. `Month` or `Week`, defaults to `Month`. WorkerPeriodUnit pulumi.StringPtrInput // The RamRole Name attached to worker node. WorkerRamRoleName pulumi.StringPtrInput WorkerVswitchIds pulumi.StringArrayInput }
func (KubernetesState) ElementType ¶
func (KubernetesState) ElementType() reflect.Type
type KubernetesWorkerDataDisk ¶ added in v2.13.0
type KubernetesWorkerDataDisk struct { AutoSnapshotPolicyId *string `pulumi:"autoSnapshotPolicyId"` Category *string `pulumi:"category"` Device *string `pulumi:"device"` Encrypted *string `pulumi:"encrypted"` KmsKeyId *string `pulumi:"kmsKeyId"` // The kubernetes cluster's name. It is unique in one Alicloud account. Name *string `pulumi:"name"` Size *string `pulumi:"size"` SnapshotId *string `pulumi:"snapshotId"` }
type KubernetesWorkerDataDiskArgs ¶ added in v2.13.0
type KubernetesWorkerDataDiskArgs struct { AutoSnapshotPolicyId pulumi.StringPtrInput `pulumi:"autoSnapshotPolicyId"` Category pulumi.StringPtrInput `pulumi:"category"` Device pulumi.StringPtrInput `pulumi:"device"` Encrypted pulumi.StringPtrInput `pulumi:"encrypted"` KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"` // The kubernetes cluster's name. It is unique in one Alicloud account. Name pulumi.StringPtrInput `pulumi:"name"` Size pulumi.StringPtrInput `pulumi:"size"` SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"` }
func (KubernetesWorkerDataDiskArgs) ElementType ¶ added in v2.13.0
func (KubernetesWorkerDataDiskArgs) ElementType() reflect.Type
func (KubernetesWorkerDataDiskArgs) ToKubernetesWorkerDataDiskOutput ¶ added in v2.13.0
func (i KubernetesWorkerDataDiskArgs) ToKubernetesWorkerDataDiskOutput() KubernetesWorkerDataDiskOutput
func (KubernetesWorkerDataDiskArgs) ToKubernetesWorkerDataDiskOutputWithContext ¶ added in v2.13.0
func (i KubernetesWorkerDataDiskArgs) ToKubernetesWorkerDataDiskOutputWithContext(ctx context.Context) KubernetesWorkerDataDiskOutput
type KubernetesWorkerDataDiskArray ¶ added in v2.13.0
type KubernetesWorkerDataDiskArray []KubernetesWorkerDataDiskInput
func (KubernetesWorkerDataDiskArray) ElementType ¶ added in v2.13.0
func (KubernetesWorkerDataDiskArray) ElementType() reflect.Type
func (KubernetesWorkerDataDiskArray) ToKubernetesWorkerDataDiskArrayOutput ¶ added in v2.13.0
func (i KubernetesWorkerDataDiskArray) ToKubernetesWorkerDataDiskArrayOutput() KubernetesWorkerDataDiskArrayOutput
func (KubernetesWorkerDataDiskArray) ToKubernetesWorkerDataDiskArrayOutputWithContext ¶ added in v2.13.0
func (i KubernetesWorkerDataDiskArray) ToKubernetesWorkerDataDiskArrayOutputWithContext(ctx context.Context) KubernetesWorkerDataDiskArrayOutput
type KubernetesWorkerDataDiskArrayInput ¶ added in v2.13.0
type KubernetesWorkerDataDiskArrayInput interface { pulumi.Input ToKubernetesWorkerDataDiskArrayOutput() KubernetesWorkerDataDiskArrayOutput ToKubernetesWorkerDataDiskArrayOutputWithContext(context.Context) KubernetesWorkerDataDiskArrayOutput }
KubernetesWorkerDataDiskArrayInput is an input type that accepts KubernetesWorkerDataDiskArray and KubernetesWorkerDataDiskArrayOutput values. You can construct a concrete instance of `KubernetesWorkerDataDiskArrayInput` via:
KubernetesWorkerDataDiskArray{ KubernetesWorkerDataDiskArgs{...} }
type KubernetesWorkerDataDiskArrayOutput ¶ added in v2.13.0
type KubernetesWorkerDataDiskArrayOutput struct{ *pulumi.OutputState }
func (KubernetesWorkerDataDiskArrayOutput) ElementType ¶ added in v2.13.0
func (KubernetesWorkerDataDiskArrayOutput) ElementType() reflect.Type
func (KubernetesWorkerDataDiskArrayOutput) Index ¶ added in v2.13.0
func (o KubernetesWorkerDataDiskArrayOutput) Index(i pulumi.IntInput) KubernetesWorkerDataDiskOutput
func (KubernetesWorkerDataDiskArrayOutput) ToKubernetesWorkerDataDiskArrayOutput ¶ added in v2.13.0
func (o KubernetesWorkerDataDiskArrayOutput) ToKubernetesWorkerDataDiskArrayOutput() KubernetesWorkerDataDiskArrayOutput
func (KubernetesWorkerDataDiskArrayOutput) ToKubernetesWorkerDataDiskArrayOutputWithContext ¶ added in v2.13.0
func (o KubernetesWorkerDataDiskArrayOutput) ToKubernetesWorkerDataDiskArrayOutputWithContext(ctx context.Context) KubernetesWorkerDataDiskArrayOutput
type KubernetesWorkerDataDiskInput ¶ added in v2.13.0
type KubernetesWorkerDataDiskInput interface { pulumi.Input ToKubernetesWorkerDataDiskOutput() KubernetesWorkerDataDiskOutput ToKubernetesWorkerDataDiskOutputWithContext(context.Context) KubernetesWorkerDataDiskOutput }
KubernetesWorkerDataDiskInput is an input type that accepts KubernetesWorkerDataDiskArgs and KubernetesWorkerDataDiskOutput values. You can construct a concrete instance of `KubernetesWorkerDataDiskInput` via:
KubernetesWorkerDataDiskArgs{...}
type KubernetesWorkerDataDiskOutput ¶ added in v2.13.0
type KubernetesWorkerDataDiskOutput struct{ *pulumi.OutputState }
func (KubernetesWorkerDataDiskOutput) AutoSnapshotPolicyId ¶ added in v2.13.0
func (o KubernetesWorkerDataDiskOutput) AutoSnapshotPolicyId() pulumi.StringPtrOutput
func (KubernetesWorkerDataDiskOutput) Category ¶ added in v2.13.0
func (o KubernetesWorkerDataDiskOutput) Category() pulumi.StringPtrOutput
func (KubernetesWorkerDataDiskOutput) Device ¶ added in v2.13.0
func (o KubernetesWorkerDataDiskOutput) Device() pulumi.StringPtrOutput
func (KubernetesWorkerDataDiskOutput) ElementType ¶ added in v2.13.0
func (KubernetesWorkerDataDiskOutput) ElementType() reflect.Type
func (KubernetesWorkerDataDiskOutput) Encrypted ¶ added in v2.13.0
func (o KubernetesWorkerDataDiskOutput) Encrypted() pulumi.StringPtrOutput
func (KubernetesWorkerDataDiskOutput) KmsKeyId ¶ added in v2.13.0
func (o KubernetesWorkerDataDiskOutput) KmsKeyId() pulumi.StringPtrOutput
func (KubernetesWorkerDataDiskOutput) Name ¶ added in v2.13.0
func (o KubernetesWorkerDataDiskOutput) Name() pulumi.StringPtrOutput
The kubernetes cluster's name. It is unique in one Alicloud account.
func (KubernetesWorkerDataDiskOutput) Size ¶ added in v2.13.0
func (o KubernetesWorkerDataDiskOutput) Size() pulumi.StringPtrOutput
func (KubernetesWorkerDataDiskOutput) SnapshotId ¶ added in v2.13.0
func (o KubernetesWorkerDataDiskOutput) SnapshotId() pulumi.StringPtrOutput
func (KubernetesWorkerDataDiskOutput) ToKubernetesWorkerDataDiskOutput ¶ added in v2.13.0
func (o KubernetesWorkerDataDiskOutput) ToKubernetesWorkerDataDiskOutput() KubernetesWorkerDataDiskOutput
func (KubernetesWorkerDataDiskOutput) ToKubernetesWorkerDataDiskOutputWithContext ¶ added in v2.13.0
func (o KubernetesWorkerDataDiskOutput) ToKubernetesWorkerDataDiskOutputWithContext(ctx context.Context) KubernetesWorkerDataDiskOutput
type KubernetesWorkerNode ¶
type KubernetesWorkerNodeArgs ¶
type KubernetesWorkerNodeArgs struct { // ID of the node. Id pulumi.StringPtrInput `pulumi:"id"` // The kubernetes cluster's name. It is unique in one Alicloud account. Name pulumi.StringPtrInput `pulumi:"name"` // The private IP address of node. PrivateIp pulumi.StringPtrInput `pulumi:"privateIp"` }
func (KubernetesWorkerNodeArgs) ElementType ¶
func (KubernetesWorkerNodeArgs) ElementType() reflect.Type
func (KubernetesWorkerNodeArgs) ToKubernetesWorkerNodeOutput ¶
func (i KubernetesWorkerNodeArgs) ToKubernetesWorkerNodeOutput() KubernetesWorkerNodeOutput
func (KubernetesWorkerNodeArgs) ToKubernetesWorkerNodeOutputWithContext ¶
func (i KubernetesWorkerNodeArgs) ToKubernetesWorkerNodeOutputWithContext(ctx context.Context) KubernetesWorkerNodeOutput
type KubernetesWorkerNodeArray ¶
type KubernetesWorkerNodeArray []KubernetesWorkerNodeInput
func (KubernetesWorkerNodeArray) ElementType ¶
func (KubernetesWorkerNodeArray) ElementType() reflect.Type
func (KubernetesWorkerNodeArray) ToKubernetesWorkerNodeArrayOutput ¶
func (i KubernetesWorkerNodeArray) ToKubernetesWorkerNodeArrayOutput() KubernetesWorkerNodeArrayOutput
func (KubernetesWorkerNodeArray) ToKubernetesWorkerNodeArrayOutputWithContext ¶
func (i KubernetesWorkerNodeArray) ToKubernetesWorkerNodeArrayOutputWithContext(ctx context.Context) KubernetesWorkerNodeArrayOutput
type KubernetesWorkerNodeArrayInput ¶
type KubernetesWorkerNodeArrayInput interface { pulumi.Input ToKubernetesWorkerNodeArrayOutput() KubernetesWorkerNodeArrayOutput ToKubernetesWorkerNodeArrayOutputWithContext(context.Context) KubernetesWorkerNodeArrayOutput }
KubernetesWorkerNodeArrayInput is an input type that accepts KubernetesWorkerNodeArray and KubernetesWorkerNodeArrayOutput values. You can construct a concrete instance of `KubernetesWorkerNodeArrayInput` via:
KubernetesWorkerNodeArray{ KubernetesWorkerNodeArgs{...} }
type KubernetesWorkerNodeArrayOutput ¶
type KubernetesWorkerNodeArrayOutput struct{ *pulumi.OutputState }
func (KubernetesWorkerNodeArrayOutput) ElementType ¶
func (KubernetesWorkerNodeArrayOutput) ElementType() reflect.Type
func (KubernetesWorkerNodeArrayOutput) Index ¶
func (o KubernetesWorkerNodeArrayOutput) Index(i pulumi.IntInput) KubernetesWorkerNodeOutput
func (KubernetesWorkerNodeArrayOutput) ToKubernetesWorkerNodeArrayOutput ¶
func (o KubernetesWorkerNodeArrayOutput) ToKubernetesWorkerNodeArrayOutput() KubernetesWorkerNodeArrayOutput
func (KubernetesWorkerNodeArrayOutput) ToKubernetesWorkerNodeArrayOutputWithContext ¶
func (o KubernetesWorkerNodeArrayOutput) ToKubernetesWorkerNodeArrayOutputWithContext(ctx context.Context) KubernetesWorkerNodeArrayOutput
type KubernetesWorkerNodeInput ¶
type KubernetesWorkerNodeInput interface { pulumi.Input ToKubernetesWorkerNodeOutput() KubernetesWorkerNodeOutput ToKubernetesWorkerNodeOutputWithContext(context.Context) KubernetesWorkerNodeOutput }
KubernetesWorkerNodeInput is an input type that accepts KubernetesWorkerNodeArgs and KubernetesWorkerNodeOutput values. You can construct a concrete instance of `KubernetesWorkerNodeInput` via:
KubernetesWorkerNodeArgs{...}
type KubernetesWorkerNodeOutput ¶
type KubernetesWorkerNodeOutput struct{ *pulumi.OutputState }
func (KubernetesWorkerNodeOutput) ElementType ¶
func (KubernetesWorkerNodeOutput) ElementType() reflect.Type
func (KubernetesWorkerNodeOutput) Id ¶
func (o KubernetesWorkerNodeOutput) Id() pulumi.StringPtrOutput
ID of the node.
func (KubernetesWorkerNodeOutput) Name ¶
func (o KubernetesWorkerNodeOutput) Name() pulumi.StringPtrOutput
The kubernetes cluster's name. It is unique in one Alicloud account.
func (KubernetesWorkerNodeOutput) PrivateIp ¶
func (o KubernetesWorkerNodeOutput) PrivateIp() pulumi.StringPtrOutput
The private IP address of node.
func (KubernetesWorkerNodeOutput) ToKubernetesWorkerNodeOutput ¶
func (o KubernetesWorkerNodeOutput) ToKubernetesWorkerNodeOutput() KubernetesWorkerNodeOutput
func (KubernetesWorkerNodeOutput) ToKubernetesWorkerNodeOutputWithContext ¶
func (o KubernetesWorkerNodeOutput) ToKubernetesWorkerNodeOutputWithContext(ctx context.Context) KubernetesWorkerNodeOutput
type ManagedKubernetes ¶
type ManagedKubernetes struct { pulumi.CustomResourceState Addons ManagedKubernetesAddonArrayOutput `pulumi:"addons"` // A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature. ApiAudiences pulumi.StringArrayOutput `pulumi:"apiAudiences"` // The Zone where new kubernetes cluster will be located. If it is not be specified, the `vswitchIds` should be set, its value will be vswitch's zone. AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"` // The path of client certificate, like `~/.kube/client-cert.pem`. ClientCert pulumi.StringPtrOutput `pulumi:"clientCert"` // The path of client key, like `~/.kube/client-key.pem`. ClientKey pulumi.StringPtrOutput `pulumi:"clientKey"` // The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem` ClusterCaCert pulumi.StringPtrOutput `pulumi:"clusterCaCert"` // Map of kubernetes cluster connection information. It contains several attributes to `Block Connections`. Connections ManagedKubernetesConnectionsOutput `pulumi:"connections"` // kubelet cpu policy. options: static|none. default: none. CpuPolicy pulumi.StringPtrOutput `pulumi:"cpuPolicy"` // Enable login to the node through SSH. default: false EnableSsh pulumi.BoolPtrOutput `pulumi:"enableSsh"` // Exclude autoscaler nodes from `workerNodes`. default: false ExcludeAutoscalerNodes pulumi.BoolPtrOutput `pulumi:"excludeAutoscalerNodes"` // Custom Image support. Must based on CentOS7 or AliyunLinux2. ImageId pulumi.StringPtrOutput `pulumi:"imageId"` // Install cloud monitor agent on ECS. default: true InstallCloudMonitor pulumi.BoolPtrOutput `pulumi:"installCloudMonitor"` // Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm). IsEnterpriseSecurityGroup pulumi.BoolOutput `pulumi:"isEnterpriseSecurityGroup"` // The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. KeyName pulumi.StringPtrOutput `pulumi:"keyName"` // An KMS encrypts password used to a cs kubernetes. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. KmsEncryptedPassword pulumi.StringPtrOutput `pulumi:"kmsEncryptedPassword"` // An KMS encryption context used to decrypt `kmsEncryptedPassword` before creating or updating a cs kubernetes with `kmsEncryptedPassword`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set. KmsEncryptionContext pulumi.MapOutput `pulumi:"kmsEncryptionContext"` // The path of kube config, like `~/.kube/config`. KubeConfig pulumi.StringPtrOutput `pulumi:"kubeConfig"` // The kubernetes cluster's name. It is unique in one Alicloud account. Name pulumi.StringOutput `pulumi:"name"` NamePrefix pulumi.StringPtrOutput `pulumi:"namePrefix"` // The ID of nat gateway used to launch kubernetes cluster. NatGatewayId pulumi.StringOutput `pulumi:"natGatewayId"` // Whether to create a new nat gateway while creating kubernetes cluster. Default to true. Then openapi in Alibaba Cloud are not all on intranet, So turn this option on is a good choice. NewNatGateway pulumi.BoolPtrOutput `pulumi:"newNatGateway"` // The node cidr block to specific how many pods can run on single node. 24-28 is allowed. 24 means 2^(32-24)-1=255 and the node can run at most 255 pods. default: 24 NodeCidrMask pulumi.IntPtrOutput `pulumi:"nodeCidrMask"` // Each node name consists of a prefix, an IP substring, and a suffix. For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, IP substring length is 5, and the suffix is test, the node name will be aliyun.com00055test. NodeNameMode pulumi.StringPtrOutput `pulumi:"nodeNameMode"` // The password of ssh login cluster node. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. Password pulumi.StringPtrOutput `pulumi:"password"` // [Flannel Specific] The CIDR block for the pod network when using Flannel. PodCidr pulumi.StringPtrOutput `pulumi:"podCidr"` // [Terway Specific] The vswitches for the pod network when using Terway.Be careful the `podVswitchIds` can not equal to `workerVswtichIds`.but must be in same availability zones. PodVswitchIds pulumi.StringArrayOutput `pulumi:"podVswitchIds"` // Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs. ProxyMode pulumi.StringPtrOutput `pulumi:"proxyMode"` // The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built. SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"` // The issuer of the Service Account token for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm), corresponds to the `iss` field in the token payload. Set this to `kubernetes.default.svc` to enable the Token Volume Projection feature. ServiceAccountIssuer pulumi.StringPtrOutput `pulumi:"serviceAccountIssuer"` // The CIDR block for the service network. It cannot be duplicated with the VPC CIDR and CIDR used by Kubernetes cluster in VPC, cannot be modified after creation. ServiceCidr pulumi.StringPtrOutput `pulumi:"serviceCidr"` // Deprecated: Field 'slb_id' has been deprecated from provider version 1.9.2. New field 'slb_internet' replaces it. SlbId pulumi.StringOutput `pulumi:"slbId"` SlbInternet pulumi.StringOutput `pulumi:"slbInternet"` // Whether to create internet load balancer for API Server. Default to true. SlbInternetEnabled pulumi.BoolPtrOutput `pulumi:"slbInternetEnabled"` // The ID of private load balancer where the current cluster master node is located. SlbIntranet pulumi.StringOutput `pulumi:"slbIntranet"` // Default nil, A map of tags assigned to the kubernetes cluster . Tags pulumi.MapOutput `pulumi:"tags"` // The path of customized CA cert, you can use this CA to sign client certs to connect your cluster. UserCa pulumi.StringPtrOutput `pulumi:"userCa"` // Windows instances support batch and PowerShell scripts. If your script file is larger than 1 KB, we recommend that you upload the script to Object Storage Service (OSS) and pull it through the internal endpoint of your OSS bucket. UserData pulumi.StringPtrOutput `pulumi:"userData"` // Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used and no upgrades will occur except you set a higher version number. The value must be configured and increased to upgrade the version when desired. Downgrades are not supported by ACK. Version pulumi.StringOutput `pulumi:"version"` // The ID of VPC where the current cluster is located. VpcId pulumi.StringOutput `pulumi:"vpcId"` // Enable worker payment auto-renew, defaults to false. WorkerAutoRenew pulumi.BoolPtrOutput `pulumi:"workerAutoRenew"` // Worker payment auto-renew period. When period unit is `Month`, it can be one of {“1”, “2”, “3”, “6”, “12”}. When period unit is `Week`, it can be one of {“1”, “2”, “3”}. WorkerAutoRenewPeriod pulumi.IntPtrOutput `pulumi:"workerAutoRenewPeriod"` WorkerDataDiskCategory pulumi.StringPtrOutput `pulumi:"workerDataDiskCategory"` WorkerDataDiskSize pulumi.IntPtrOutput `pulumi:"workerDataDiskSize"` // The data disk configurations of worker nodes, such as the disk type and disk size. // - category: the type of the data disks. Valid values: // + cloud: basic disks. // + cloud_efficiency: ultra disks. // + cloud_ssd: SSDs. // - size: the size of a data disk. Unit: GiB. // - encrypted: specifies whether to encrypt data disks. Valid values: true and false. WorkerDataDisks ManagedKubernetesWorkerDataDiskArrayOutput `pulumi:"workerDataDisks"` // The system disk category of worker node. Its valid value are `cloudSsd` and `cloudEfficiency`. Default to `cloudEfficiency`. WorkerDiskCategory pulumi.StringPtrOutput `pulumi:"workerDiskCategory"` // The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40. WorkerDiskSize pulumi.IntPtrOutput `pulumi:"workerDiskSize"` // Worker payment type. `PrePaid` or `PostPaid`, defaults to `PostPaid`. WorkerInstanceChargeType pulumi.StringPtrOutput `pulumi:"workerInstanceChargeType"` // The instance type of worker node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster. WorkerInstanceTypes pulumi.StringArrayOutput `pulumi:"workerInstanceTypes"` // List of cluster worker nodes. It contains several attributes to `Block Nodes`. WorkerNodes ManagedKubernetesWorkerNodeArrayOutput `pulumi:"workerNodes"` // The worker node number of the kubernetes cluster. Default to 3. It is limited up to 50 and if you want to enlarge it, please apply white list or contact with us. WorkerNumber pulumi.IntOutput `pulumi:"workerNumber"` // Worker payment period. When period unit is `Month`, it can be one of { “1”, “2”, “3”, “4”, “5”, “6”, “7”, “8”, “9”, “12”, “24”, “36”,”48”,”60”}. When period unit is `Week`, it can be one of {“1”, “2”, “3”, “4”}. WorkerPeriod pulumi.IntPtrOutput `pulumi:"workerPeriod"` // Worker payment period unit. `Month` or `Week`, defaults to `Month`. WorkerPeriodUnit pulumi.StringPtrOutput `pulumi:"workerPeriodUnit"` // The RamRole Name attached to worker node. WorkerRamRoleName pulumi.StringOutput `pulumi:"workerRamRoleName"` WorkerVswitchIds pulumi.StringArrayOutput `pulumi:"workerVswitchIds"` }
func GetManagedKubernetes ¶
func GetManagedKubernetes(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ManagedKubernetesState, opts ...pulumi.ResourceOption) (*ManagedKubernetes, error)
GetManagedKubernetes gets an existing ManagedKubernetes 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 NewManagedKubernetes ¶
func NewManagedKubernetes(ctx *pulumi.Context, name string, args *ManagedKubernetesArgs, opts ...pulumi.ResourceOption) (*ManagedKubernetes, error)
NewManagedKubernetes registers a new resource with the given unique name, arguments, and options.
type ManagedKubernetesAddon ¶
type ManagedKubernetesAddonArgs ¶
type ManagedKubernetesAddonArgs struct { Config pulumi.StringPtrInput `pulumi:"config"` Disabled pulumi.BoolPtrInput `pulumi:"disabled"` // The kubernetes cluster's name. It is unique in one Alicloud account. Name pulumi.StringPtrInput `pulumi:"name"` }
func (ManagedKubernetesAddonArgs) ElementType ¶
func (ManagedKubernetesAddonArgs) ElementType() reflect.Type
func (ManagedKubernetesAddonArgs) ToManagedKubernetesAddonOutput ¶
func (i ManagedKubernetesAddonArgs) ToManagedKubernetesAddonOutput() ManagedKubernetesAddonOutput
func (ManagedKubernetesAddonArgs) ToManagedKubernetesAddonOutputWithContext ¶
func (i ManagedKubernetesAddonArgs) ToManagedKubernetesAddonOutputWithContext(ctx context.Context) ManagedKubernetesAddonOutput
type ManagedKubernetesAddonArray ¶
type ManagedKubernetesAddonArray []ManagedKubernetesAddonInput
func (ManagedKubernetesAddonArray) ElementType ¶
func (ManagedKubernetesAddonArray) ElementType() reflect.Type
func (ManagedKubernetesAddonArray) ToManagedKubernetesAddonArrayOutput ¶
func (i ManagedKubernetesAddonArray) ToManagedKubernetesAddonArrayOutput() ManagedKubernetesAddonArrayOutput
func (ManagedKubernetesAddonArray) ToManagedKubernetesAddonArrayOutputWithContext ¶
func (i ManagedKubernetesAddonArray) ToManagedKubernetesAddonArrayOutputWithContext(ctx context.Context) ManagedKubernetesAddonArrayOutput
type ManagedKubernetesAddonArrayInput ¶
type ManagedKubernetesAddonArrayInput interface { pulumi.Input ToManagedKubernetesAddonArrayOutput() ManagedKubernetesAddonArrayOutput ToManagedKubernetesAddonArrayOutputWithContext(context.Context) ManagedKubernetesAddonArrayOutput }
ManagedKubernetesAddonArrayInput is an input type that accepts ManagedKubernetesAddonArray and ManagedKubernetesAddonArrayOutput values. You can construct a concrete instance of `ManagedKubernetesAddonArrayInput` via:
ManagedKubernetesAddonArray{ ManagedKubernetesAddonArgs{...} }
type ManagedKubernetesAddonArrayOutput ¶
type ManagedKubernetesAddonArrayOutput struct{ *pulumi.OutputState }
func (ManagedKubernetesAddonArrayOutput) ElementType ¶
func (ManagedKubernetesAddonArrayOutput) ElementType() reflect.Type
func (ManagedKubernetesAddonArrayOutput) Index ¶
func (o ManagedKubernetesAddonArrayOutput) Index(i pulumi.IntInput) ManagedKubernetesAddonOutput
func (ManagedKubernetesAddonArrayOutput) ToManagedKubernetesAddonArrayOutput ¶
func (o ManagedKubernetesAddonArrayOutput) ToManagedKubernetesAddonArrayOutput() ManagedKubernetesAddonArrayOutput
func (ManagedKubernetesAddonArrayOutput) ToManagedKubernetesAddonArrayOutputWithContext ¶
func (o ManagedKubernetesAddonArrayOutput) ToManagedKubernetesAddonArrayOutputWithContext(ctx context.Context) ManagedKubernetesAddonArrayOutput
type ManagedKubernetesAddonInput ¶
type ManagedKubernetesAddonInput interface { pulumi.Input ToManagedKubernetesAddonOutput() ManagedKubernetesAddonOutput ToManagedKubernetesAddonOutputWithContext(context.Context) ManagedKubernetesAddonOutput }
ManagedKubernetesAddonInput is an input type that accepts ManagedKubernetesAddonArgs and ManagedKubernetesAddonOutput values. You can construct a concrete instance of `ManagedKubernetesAddonInput` via:
ManagedKubernetesAddonArgs{...}
type ManagedKubernetesAddonOutput ¶
type ManagedKubernetesAddonOutput struct{ *pulumi.OutputState }
func (ManagedKubernetesAddonOutput) Config ¶
func (o ManagedKubernetesAddonOutput) Config() pulumi.StringPtrOutput
func (ManagedKubernetesAddonOutput) Disabled ¶
func (o ManagedKubernetesAddonOutput) Disabled() pulumi.BoolPtrOutput
func (ManagedKubernetesAddonOutput) ElementType ¶
func (ManagedKubernetesAddonOutput) ElementType() reflect.Type
func (ManagedKubernetesAddonOutput) Name ¶
func (o ManagedKubernetesAddonOutput) Name() pulumi.StringPtrOutput
The kubernetes cluster's name. It is unique in one Alicloud account.
func (ManagedKubernetesAddonOutput) ToManagedKubernetesAddonOutput ¶
func (o ManagedKubernetesAddonOutput) ToManagedKubernetesAddonOutput() ManagedKubernetesAddonOutput
func (ManagedKubernetesAddonOutput) ToManagedKubernetesAddonOutputWithContext ¶
func (o ManagedKubernetesAddonOutput) ToManagedKubernetesAddonOutputWithContext(ctx context.Context) ManagedKubernetesAddonOutput
type ManagedKubernetesArgs ¶
type ManagedKubernetesArgs struct { Addons ManagedKubernetesAddonArrayInput // A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature. ApiAudiences pulumi.StringArrayInput // The Zone where new kubernetes cluster will be located. If it is not be specified, the `vswitchIds` should be set, its value will be vswitch's zone. AvailabilityZone pulumi.StringPtrInput // The path of client certificate, like `~/.kube/client-cert.pem`. ClientCert pulumi.StringPtrInput // The path of client key, like `~/.kube/client-key.pem`. ClientKey pulumi.StringPtrInput // The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem` ClusterCaCert pulumi.StringPtrInput // kubelet cpu policy. options: static|none. default: none. CpuPolicy pulumi.StringPtrInput // Enable login to the node through SSH. default: false EnableSsh pulumi.BoolPtrInput // Exclude autoscaler nodes from `workerNodes`. default: false ExcludeAutoscalerNodes pulumi.BoolPtrInput // Custom Image support. Must based on CentOS7 or AliyunLinux2. ImageId pulumi.StringPtrInput // Install cloud monitor agent on ECS. default: true InstallCloudMonitor pulumi.BoolPtrInput // Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm). IsEnterpriseSecurityGroup pulumi.BoolPtrInput // The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. KeyName pulumi.StringPtrInput // An KMS encrypts password used to a cs kubernetes. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. KmsEncryptedPassword pulumi.StringPtrInput // An KMS encryption context used to decrypt `kmsEncryptedPassword` before creating or updating a cs kubernetes with `kmsEncryptedPassword`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set. KmsEncryptionContext pulumi.MapInput // The path of kube config, like `~/.kube/config`. KubeConfig pulumi.StringPtrInput // The kubernetes cluster's name. It is unique in one Alicloud account. Name pulumi.StringPtrInput NamePrefix pulumi.StringPtrInput // Whether to create a new nat gateway while creating kubernetes cluster. Default to true. Then openapi in Alibaba Cloud are not all on intranet, So turn this option on is a good choice. NewNatGateway pulumi.BoolPtrInput // The node cidr block to specific how many pods can run on single node. 24-28 is allowed. 24 means 2^(32-24)-1=255 and the node can run at most 255 pods. default: 24 NodeCidrMask pulumi.IntPtrInput // Each node name consists of a prefix, an IP substring, and a suffix. For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, IP substring length is 5, and the suffix is test, the node name will be aliyun.com00055test. NodeNameMode pulumi.StringPtrInput // The password of ssh login cluster node. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. Password pulumi.StringPtrInput // [Flannel Specific] The CIDR block for the pod network when using Flannel. PodCidr pulumi.StringPtrInput // [Terway Specific] The vswitches for the pod network when using Terway.Be careful the `podVswitchIds` can not equal to `workerVswtichIds`.but must be in same availability zones. PodVswitchIds pulumi.StringArrayInput // Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs. ProxyMode pulumi.StringPtrInput // The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built. SecurityGroupId pulumi.StringPtrInput // The issuer of the Service Account token for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm), corresponds to the `iss` field in the token payload. Set this to `kubernetes.default.svc` to enable the Token Volume Projection feature. ServiceAccountIssuer pulumi.StringPtrInput // The CIDR block for the service network. It cannot be duplicated with the VPC CIDR and CIDR used by Kubernetes cluster in VPC, cannot be modified after creation. ServiceCidr pulumi.StringPtrInput // Whether to create internet load balancer for API Server. Default to true. SlbInternetEnabled pulumi.BoolPtrInput // Default nil, A map of tags assigned to the kubernetes cluster . Tags pulumi.MapInput // The path of customized CA cert, you can use this CA to sign client certs to connect your cluster. UserCa pulumi.StringPtrInput // Windows instances support batch and PowerShell scripts. If your script file is larger than 1 KB, we recommend that you upload the script to Object Storage Service (OSS) and pull it through the internal endpoint of your OSS bucket. UserData pulumi.StringPtrInput // Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used and no upgrades will occur except you set a higher version number. The value must be configured and increased to upgrade the version when desired. Downgrades are not supported by ACK. Version pulumi.StringPtrInput // Enable worker payment auto-renew, defaults to false. WorkerAutoRenew pulumi.BoolPtrInput // Worker payment auto-renew period. When period unit is `Month`, it can be one of {“1”, “2”, “3”, “6”, “12”}. When period unit is `Week`, it can be one of {“1”, “2”, “3”}. WorkerAutoRenewPeriod pulumi.IntPtrInput WorkerDataDiskCategory pulumi.StringPtrInput WorkerDataDiskSize pulumi.IntPtrInput // The data disk configurations of worker nodes, such as the disk type and disk size. // - category: the type of the data disks. Valid values: // + cloud: basic disks. // + cloud_efficiency: ultra disks. // + cloud_ssd: SSDs. // - size: the size of a data disk. Unit: GiB. // - encrypted: specifies whether to encrypt data disks. Valid values: true and false. WorkerDataDisks ManagedKubernetesWorkerDataDiskArrayInput // The system disk category of worker node. Its valid value are `cloudSsd` and `cloudEfficiency`. Default to `cloudEfficiency`. WorkerDiskCategory pulumi.StringPtrInput // The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40. WorkerDiskSize pulumi.IntPtrInput // Worker payment type. `PrePaid` or `PostPaid`, defaults to `PostPaid`. WorkerInstanceChargeType pulumi.StringPtrInput // The instance type of worker node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster. WorkerInstanceTypes pulumi.StringArrayInput // The worker node number of the kubernetes cluster. Default to 3. It is limited up to 50 and if you want to enlarge it, please apply white list or contact with us. WorkerNumber pulumi.IntInput // Worker payment period. When period unit is `Month`, it can be one of { “1”, “2”, “3”, “4”, “5”, “6”, “7”, “8”, “9”, “12”, “24”, “36”,”48”,”60”}. When period unit is `Week`, it can be one of {“1”, “2”, “3”, “4”}. WorkerPeriod pulumi.IntPtrInput // Worker payment period unit. `Month` or `Week`, defaults to `Month`. WorkerPeriodUnit pulumi.StringPtrInput WorkerVswitchIds pulumi.StringArrayInput }
The set of arguments for constructing a ManagedKubernetes resource.
func (ManagedKubernetesArgs) ElementType ¶
func (ManagedKubernetesArgs) ElementType() reflect.Type
type ManagedKubernetesConnections ¶
type ManagedKubernetesConnections struct { // API Server Internet endpoint. ApiServerInternet *string `pulumi:"apiServerInternet"` // API Server Intranet endpoint. ApiServerIntranet *string `pulumi:"apiServerIntranet"` MasterPublicIp *string `pulumi:"masterPublicIp"` // Service Access Domain. ServiceDomain *string `pulumi:"serviceDomain"` }
type ManagedKubernetesConnectionsArgs ¶
type ManagedKubernetesConnectionsArgs struct { // API Server Internet endpoint. ApiServerInternet pulumi.StringPtrInput `pulumi:"apiServerInternet"` // API Server Intranet endpoint. ApiServerIntranet pulumi.StringPtrInput `pulumi:"apiServerIntranet"` MasterPublicIp pulumi.StringPtrInput `pulumi:"masterPublicIp"` // Service Access Domain. ServiceDomain pulumi.StringPtrInput `pulumi:"serviceDomain"` }
func (ManagedKubernetesConnectionsArgs) ElementType ¶
func (ManagedKubernetesConnectionsArgs) ElementType() reflect.Type
func (ManagedKubernetesConnectionsArgs) ToManagedKubernetesConnectionsOutput ¶
func (i ManagedKubernetesConnectionsArgs) ToManagedKubernetesConnectionsOutput() ManagedKubernetesConnectionsOutput
func (ManagedKubernetesConnectionsArgs) ToManagedKubernetesConnectionsOutputWithContext ¶
func (i ManagedKubernetesConnectionsArgs) ToManagedKubernetesConnectionsOutputWithContext(ctx context.Context) ManagedKubernetesConnectionsOutput
func (ManagedKubernetesConnectionsArgs) ToManagedKubernetesConnectionsPtrOutput ¶
func (i ManagedKubernetesConnectionsArgs) ToManagedKubernetesConnectionsPtrOutput() ManagedKubernetesConnectionsPtrOutput
func (ManagedKubernetesConnectionsArgs) ToManagedKubernetesConnectionsPtrOutputWithContext ¶
func (i ManagedKubernetesConnectionsArgs) ToManagedKubernetesConnectionsPtrOutputWithContext(ctx context.Context) ManagedKubernetesConnectionsPtrOutput
type ManagedKubernetesConnectionsInput ¶
type ManagedKubernetesConnectionsInput interface { pulumi.Input ToManagedKubernetesConnectionsOutput() ManagedKubernetesConnectionsOutput ToManagedKubernetesConnectionsOutputWithContext(context.Context) ManagedKubernetesConnectionsOutput }
ManagedKubernetesConnectionsInput is an input type that accepts ManagedKubernetesConnectionsArgs and ManagedKubernetesConnectionsOutput values. You can construct a concrete instance of `ManagedKubernetesConnectionsInput` via:
ManagedKubernetesConnectionsArgs{...}
type ManagedKubernetesConnectionsOutput ¶
type ManagedKubernetesConnectionsOutput struct{ *pulumi.OutputState }
func (ManagedKubernetesConnectionsOutput) ApiServerInternet ¶
func (o ManagedKubernetesConnectionsOutput) ApiServerInternet() pulumi.StringPtrOutput
API Server Internet endpoint.
func (ManagedKubernetesConnectionsOutput) ApiServerIntranet ¶
func (o ManagedKubernetesConnectionsOutput) ApiServerIntranet() pulumi.StringPtrOutput
API Server Intranet endpoint.
func (ManagedKubernetesConnectionsOutput) ElementType ¶
func (ManagedKubernetesConnectionsOutput) ElementType() reflect.Type
func (ManagedKubernetesConnectionsOutput) MasterPublicIp ¶
func (o ManagedKubernetesConnectionsOutput) MasterPublicIp() pulumi.StringPtrOutput
func (ManagedKubernetesConnectionsOutput) ServiceDomain ¶
func (o ManagedKubernetesConnectionsOutput) ServiceDomain() pulumi.StringPtrOutput
Service Access Domain.
func (ManagedKubernetesConnectionsOutput) ToManagedKubernetesConnectionsOutput ¶
func (o ManagedKubernetesConnectionsOutput) ToManagedKubernetesConnectionsOutput() ManagedKubernetesConnectionsOutput
func (ManagedKubernetesConnectionsOutput) ToManagedKubernetesConnectionsOutputWithContext ¶
func (o ManagedKubernetesConnectionsOutput) ToManagedKubernetesConnectionsOutputWithContext(ctx context.Context) ManagedKubernetesConnectionsOutput
func (ManagedKubernetesConnectionsOutput) ToManagedKubernetesConnectionsPtrOutput ¶
func (o ManagedKubernetesConnectionsOutput) ToManagedKubernetesConnectionsPtrOutput() ManagedKubernetesConnectionsPtrOutput
func (ManagedKubernetesConnectionsOutput) ToManagedKubernetesConnectionsPtrOutputWithContext ¶
func (o ManagedKubernetesConnectionsOutput) ToManagedKubernetesConnectionsPtrOutputWithContext(ctx context.Context) ManagedKubernetesConnectionsPtrOutput
type ManagedKubernetesConnectionsPtrInput ¶
type ManagedKubernetesConnectionsPtrInput interface { pulumi.Input ToManagedKubernetesConnectionsPtrOutput() ManagedKubernetesConnectionsPtrOutput ToManagedKubernetesConnectionsPtrOutputWithContext(context.Context) ManagedKubernetesConnectionsPtrOutput }
ManagedKubernetesConnectionsPtrInput is an input type that accepts ManagedKubernetesConnectionsArgs, ManagedKubernetesConnectionsPtr and ManagedKubernetesConnectionsPtrOutput values. You can construct a concrete instance of `ManagedKubernetesConnectionsPtrInput` via:
ManagedKubernetesConnectionsArgs{...} or: nil
func ManagedKubernetesConnectionsPtr ¶
func ManagedKubernetesConnectionsPtr(v *ManagedKubernetesConnectionsArgs) ManagedKubernetesConnectionsPtrInput
type ManagedKubernetesConnectionsPtrOutput ¶
type ManagedKubernetesConnectionsPtrOutput struct{ *pulumi.OutputState }
func (ManagedKubernetesConnectionsPtrOutput) ApiServerInternet ¶
func (o ManagedKubernetesConnectionsPtrOutput) ApiServerInternet() pulumi.StringPtrOutput
API Server Internet endpoint.
func (ManagedKubernetesConnectionsPtrOutput) ApiServerIntranet ¶
func (o ManagedKubernetesConnectionsPtrOutput) ApiServerIntranet() pulumi.StringPtrOutput
API Server Intranet endpoint.
func (ManagedKubernetesConnectionsPtrOutput) ElementType ¶
func (ManagedKubernetesConnectionsPtrOutput) ElementType() reflect.Type
func (ManagedKubernetesConnectionsPtrOutput) MasterPublicIp ¶
func (o ManagedKubernetesConnectionsPtrOutput) MasterPublicIp() pulumi.StringPtrOutput
func (ManagedKubernetesConnectionsPtrOutput) ServiceDomain ¶
func (o ManagedKubernetesConnectionsPtrOutput) ServiceDomain() pulumi.StringPtrOutput
Service Access Domain.
func (ManagedKubernetesConnectionsPtrOutput) ToManagedKubernetesConnectionsPtrOutput ¶
func (o ManagedKubernetesConnectionsPtrOutput) ToManagedKubernetesConnectionsPtrOutput() ManagedKubernetesConnectionsPtrOutput
func (ManagedKubernetesConnectionsPtrOutput) ToManagedKubernetesConnectionsPtrOutputWithContext ¶
func (o ManagedKubernetesConnectionsPtrOutput) ToManagedKubernetesConnectionsPtrOutputWithContext(ctx context.Context) ManagedKubernetesConnectionsPtrOutput
type ManagedKubernetesState ¶
type ManagedKubernetesState struct { Addons ManagedKubernetesAddonArrayInput // A list of API audiences for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm). Set this to `["kubernetes.default.svc"]` if you want to enable the Token Volume Projection feature. ApiAudiences pulumi.StringArrayInput // The Zone where new kubernetes cluster will be located. If it is not be specified, the `vswitchIds` should be set, its value will be vswitch's zone. AvailabilityZone pulumi.StringPtrInput // The path of client certificate, like `~/.kube/client-cert.pem`. ClientCert pulumi.StringPtrInput // The path of client key, like `~/.kube/client-key.pem`. ClientKey pulumi.StringPtrInput // The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem` ClusterCaCert pulumi.StringPtrInput // Map of kubernetes cluster connection information. It contains several attributes to `Block Connections`. Connections ManagedKubernetesConnectionsPtrInput // kubelet cpu policy. options: static|none. default: none. CpuPolicy pulumi.StringPtrInput // Enable login to the node through SSH. default: false EnableSsh pulumi.BoolPtrInput // Exclude autoscaler nodes from `workerNodes`. default: false ExcludeAutoscalerNodes pulumi.BoolPtrInput // Custom Image support. Must based on CentOS7 or AliyunLinux2. ImageId pulumi.StringPtrInput // Install cloud monitor agent on ECS. default: true InstallCloudMonitor pulumi.BoolPtrInput // Enable to create advanced security group. default: false. See [Advanced security group](https://www.alibabacloud.com/help/doc-detail/120621.htm). IsEnterpriseSecurityGroup pulumi.BoolPtrInput // The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. KeyName pulumi.StringPtrInput // An KMS encrypts password used to a cs kubernetes. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. KmsEncryptedPassword pulumi.StringPtrInput // An KMS encryption context used to decrypt `kmsEncryptedPassword` before creating or updating a cs kubernetes with `kmsEncryptedPassword`. See [Encryption Context](https://www.alibabacloud.com/help/doc-detail/42975.htm). It is valid when `kmsEncryptedPassword` is set. KmsEncryptionContext pulumi.MapInput // The path of kube config, like `~/.kube/config`. KubeConfig pulumi.StringPtrInput // The kubernetes cluster's name. It is unique in one Alicloud account. Name pulumi.StringPtrInput NamePrefix pulumi.StringPtrInput // The ID of nat gateway used to launch kubernetes cluster. NatGatewayId pulumi.StringPtrInput // Whether to create a new nat gateway while creating kubernetes cluster. Default to true. Then openapi in Alibaba Cloud are not all on intranet, So turn this option on is a good choice. NewNatGateway pulumi.BoolPtrInput // The node cidr block to specific how many pods can run on single node. 24-28 is allowed. 24 means 2^(32-24)-1=255 and the node can run at most 255 pods. default: 24 NodeCidrMask pulumi.IntPtrInput // Each node name consists of a prefix, an IP substring, and a suffix. For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, IP substring length is 5, and the suffix is test, the node name will be aliyun.com00055test. NodeNameMode pulumi.StringPtrInput // The password of ssh login cluster node. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. Password pulumi.StringPtrInput // [Flannel Specific] The CIDR block for the pod network when using Flannel. PodCidr pulumi.StringPtrInput // [Terway Specific] The vswitches for the pod network when using Terway.Be careful the `podVswitchIds` can not equal to `workerVswtichIds`.but must be in same availability zones. PodVswitchIds pulumi.StringArrayInput // Proxy mode is option of kube-proxy. options: iptables|ipvs. default: ipvs. ProxyMode pulumi.StringPtrInput // The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built. SecurityGroupId pulumi.StringPtrInput // The issuer of the Service Account token for [Service Account Token Volume Projection](https://www.alibabacloud.com/help/doc-detail/160384.htm), corresponds to the `iss` field in the token payload. Set this to `kubernetes.default.svc` to enable the Token Volume Projection feature. ServiceAccountIssuer pulumi.StringPtrInput // The CIDR block for the service network. It cannot be duplicated with the VPC CIDR and CIDR used by Kubernetes cluster in VPC, cannot be modified after creation. ServiceCidr pulumi.StringPtrInput // Deprecated: Field 'slb_id' has been deprecated from provider version 1.9.2. New field 'slb_internet' replaces it. SlbId pulumi.StringPtrInput SlbInternet pulumi.StringPtrInput // Whether to create internet load balancer for API Server. Default to true. SlbInternetEnabled pulumi.BoolPtrInput // The ID of private load balancer where the current cluster master node is located. SlbIntranet pulumi.StringPtrInput // Default nil, A map of tags assigned to the kubernetes cluster . Tags pulumi.MapInput // The path of customized CA cert, you can use this CA to sign client certs to connect your cluster. UserCa pulumi.StringPtrInput // Windows instances support batch and PowerShell scripts. If your script file is larger than 1 KB, we recommend that you upload the script to Object Storage Service (OSS) and pull it through the internal endpoint of your OSS bucket. UserData pulumi.StringPtrInput // Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used and no upgrades will occur except you set a higher version number. The value must be configured and increased to upgrade the version when desired. Downgrades are not supported by ACK. Version pulumi.StringPtrInput // The ID of VPC where the current cluster is located. VpcId pulumi.StringPtrInput // Enable worker payment auto-renew, defaults to false. WorkerAutoRenew pulumi.BoolPtrInput // Worker payment auto-renew period. When period unit is `Month`, it can be one of {“1”, “2”, “3”, “6”, “12”}. When period unit is `Week`, it can be one of {“1”, “2”, “3”}. WorkerAutoRenewPeriod pulumi.IntPtrInput WorkerDataDiskCategory pulumi.StringPtrInput WorkerDataDiskSize pulumi.IntPtrInput // The data disk configurations of worker nodes, such as the disk type and disk size. // - category: the type of the data disks. Valid values: // + cloud: basic disks. // + cloud_efficiency: ultra disks. // + cloud_ssd: SSDs. // - size: the size of a data disk. Unit: GiB. // - encrypted: specifies whether to encrypt data disks. Valid values: true and false. WorkerDataDisks ManagedKubernetesWorkerDataDiskArrayInput // The system disk category of worker node. Its valid value are `cloudSsd` and `cloudEfficiency`. Default to `cloudEfficiency`. WorkerDiskCategory pulumi.StringPtrInput // The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40. WorkerDiskSize pulumi.IntPtrInput // Worker payment type. `PrePaid` or `PostPaid`, defaults to `PostPaid`. WorkerInstanceChargeType pulumi.StringPtrInput // The instance type of worker node. Specify one type for single AZ Cluster, three types for MultiAZ Cluster. WorkerInstanceTypes pulumi.StringArrayInput // List of cluster worker nodes. It contains several attributes to `Block Nodes`. WorkerNodes ManagedKubernetesWorkerNodeArrayInput // The worker node number of the kubernetes cluster. Default to 3. It is limited up to 50 and if you want to enlarge it, please apply white list or contact with us. WorkerNumber pulumi.IntPtrInput // Worker payment period. When period unit is `Month`, it can be one of { “1”, “2”, “3”, “4”, “5”, “6”, “7”, “8”, “9”, “12”, “24”, “36”,”48”,”60”}. When period unit is `Week`, it can be one of {“1”, “2”, “3”, “4”}. WorkerPeriod pulumi.IntPtrInput // Worker payment period unit. `Month` or `Week`, defaults to `Month`. WorkerPeriodUnit pulumi.StringPtrInput // The RamRole Name attached to worker node. WorkerRamRoleName pulumi.StringPtrInput WorkerVswitchIds pulumi.StringArrayInput }
func (ManagedKubernetesState) ElementType ¶
func (ManagedKubernetesState) ElementType() reflect.Type
type ManagedKubernetesWorkerDataDisk ¶ added in v2.13.0
type ManagedKubernetesWorkerDataDisk struct { AutoSnapshotPolicyId *string `pulumi:"autoSnapshotPolicyId"` Category *string `pulumi:"category"` Device *string `pulumi:"device"` Encrypted *string `pulumi:"encrypted"` KmsKeyId *string `pulumi:"kmsKeyId"` // The kubernetes cluster's name. It is unique in one Alicloud account. Name *string `pulumi:"name"` Size *string `pulumi:"size"` SnapshotId *string `pulumi:"snapshotId"` }
type ManagedKubernetesWorkerDataDiskArgs ¶ added in v2.13.0
type ManagedKubernetesWorkerDataDiskArgs struct { AutoSnapshotPolicyId pulumi.StringPtrInput `pulumi:"autoSnapshotPolicyId"` Category pulumi.StringPtrInput `pulumi:"category"` Device pulumi.StringPtrInput `pulumi:"device"` Encrypted pulumi.StringPtrInput `pulumi:"encrypted"` KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"` // The kubernetes cluster's name. It is unique in one Alicloud account. Name pulumi.StringPtrInput `pulumi:"name"` Size pulumi.StringPtrInput `pulumi:"size"` SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"` }
func (ManagedKubernetesWorkerDataDiskArgs) ElementType ¶ added in v2.13.0
func (ManagedKubernetesWorkerDataDiskArgs) ElementType() reflect.Type
func (ManagedKubernetesWorkerDataDiskArgs) ToManagedKubernetesWorkerDataDiskOutput ¶ added in v2.13.0
func (i ManagedKubernetesWorkerDataDiskArgs) ToManagedKubernetesWorkerDataDiskOutput() ManagedKubernetesWorkerDataDiskOutput
func (ManagedKubernetesWorkerDataDiskArgs) ToManagedKubernetesWorkerDataDiskOutputWithContext ¶ added in v2.13.0
func (i ManagedKubernetesWorkerDataDiskArgs) ToManagedKubernetesWorkerDataDiskOutputWithContext(ctx context.Context) ManagedKubernetesWorkerDataDiskOutput
type ManagedKubernetesWorkerDataDiskArray ¶ added in v2.13.0
type ManagedKubernetesWorkerDataDiskArray []ManagedKubernetesWorkerDataDiskInput
func (ManagedKubernetesWorkerDataDiskArray) ElementType ¶ added in v2.13.0
func (ManagedKubernetesWorkerDataDiskArray) ElementType() reflect.Type
func (ManagedKubernetesWorkerDataDiskArray) ToManagedKubernetesWorkerDataDiskArrayOutput ¶ added in v2.13.0
func (i ManagedKubernetesWorkerDataDiskArray) ToManagedKubernetesWorkerDataDiskArrayOutput() ManagedKubernetesWorkerDataDiskArrayOutput
func (ManagedKubernetesWorkerDataDiskArray) ToManagedKubernetesWorkerDataDiskArrayOutputWithContext ¶ added in v2.13.0
func (i ManagedKubernetesWorkerDataDiskArray) ToManagedKubernetesWorkerDataDiskArrayOutputWithContext(ctx context.Context) ManagedKubernetesWorkerDataDiskArrayOutput
type ManagedKubernetesWorkerDataDiskArrayInput ¶ added in v2.13.0
type ManagedKubernetesWorkerDataDiskArrayInput interface { pulumi.Input ToManagedKubernetesWorkerDataDiskArrayOutput() ManagedKubernetesWorkerDataDiskArrayOutput ToManagedKubernetesWorkerDataDiskArrayOutputWithContext(context.Context) ManagedKubernetesWorkerDataDiskArrayOutput }
ManagedKubernetesWorkerDataDiskArrayInput is an input type that accepts ManagedKubernetesWorkerDataDiskArray and ManagedKubernetesWorkerDataDiskArrayOutput values. You can construct a concrete instance of `ManagedKubernetesWorkerDataDiskArrayInput` via:
ManagedKubernetesWorkerDataDiskArray{ ManagedKubernetesWorkerDataDiskArgs{...} }
type ManagedKubernetesWorkerDataDiskArrayOutput ¶ added in v2.13.0
type ManagedKubernetesWorkerDataDiskArrayOutput struct{ *pulumi.OutputState }
func (ManagedKubernetesWorkerDataDiskArrayOutput) ElementType ¶ added in v2.13.0
func (ManagedKubernetesWorkerDataDiskArrayOutput) ElementType() reflect.Type
func (ManagedKubernetesWorkerDataDiskArrayOutput) ToManagedKubernetesWorkerDataDiskArrayOutput ¶ added in v2.13.0
func (o ManagedKubernetesWorkerDataDiskArrayOutput) ToManagedKubernetesWorkerDataDiskArrayOutput() ManagedKubernetesWorkerDataDiskArrayOutput
func (ManagedKubernetesWorkerDataDiskArrayOutput) ToManagedKubernetesWorkerDataDiskArrayOutputWithContext ¶ added in v2.13.0
func (o ManagedKubernetesWorkerDataDiskArrayOutput) ToManagedKubernetesWorkerDataDiskArrayOutputWithContext(ctx context.Context) ManagedKubernetesWorkerDataDiskArrayOutput
type ManagedKubernetesWorkerDataDiskInput ¶ added in v2.13.0
type ManagedKubernetesWorkerDataDiskInput interface { pulumi.Input ToManagedKubernetesWorkerDataDiskOutput() ManagedKubernetesWorkerDataDiskOutput ToManagedKubernetesWorkerDataDiskOutputWithContext(context.Context) ManagedKubernetesWorkerDataDiskOutput }
ManagedKubernetesWorkerDataDiskInput is an input type that accepts ManagedKubernetesWorkerDataDiskArgs and ManagedKubernetesWorkerDataDiskOutput values. You can construct a concrete instance of `ManagedKubernetesWorkerDataDiskInput` via:
ManagedKubernetesWorkerDataDiskArgs{...}
type ManagedKubernetesWorkerDataDiskOutput ¶ added in v2.13.0
type ManagedKubernetesWorkerDataDiskOutput struct{ *pulumi.OutputState }
func (ManagedKubernetesWorkerDataDiskOutput) AutoSnapshotPolicyId ¶ added in v2.13.0
func (o ManagedKubernetesWorkerDataDiskOutput) AutoSnapshotPolicyId() pulumi.StringPtrOutput
func (ManagedKubernetesWorkerDataDiskOutput) Category ¶ added in v2.13.0
func (o ManagedKubernetesWorkerDataDiskOutput) Category() pulumi.StringPtrOutput
func (ManagedKubernetesWorkerDataDiskOutput) Device ¶ added in v2.13.0
func (o ManagedKubernetesWorkerDataDiskOutput) Device() pulumi.StringPtrOutput
func (ManagedKubernetesWorkerDataDiskOutput) ElementType ¶ added in v2.13.0
func (ManagedKubernetesWorkerDataDiskOutput) ElementType() reflect.Type
func (ManagedKubernetesWorkerDataDiskOutput) Encrypted ¶ added in v2.13.0
func (o ManagedKubernetesWorkerDataDiskOutput) Encrypted() pulumi.StringPtrOutput
func (ManagedKubernetesWorkerDataDiskOutput) KmsKeyId ¶ added in v2.13.0
func (o ManagedKubernetesWorkerDataDiskOutput) KmsKeyId() pulumi.StringPtrOutput
func (ManagedKubernetesWorkerDataDiskOutput) Name ¶ added in v2.13.0
func (o ManagedKubernetesWorkerDataDiskOutput) Name() pulumi.StringPtrOutput
The kubernetes cluster's name. It is unique in one Alicloud account.
func (ManagedKubernetesWorkerDataDiskOutput) Size ¶ added in v2.13.0
func (o ManagedKubernetesWorkerDataDiskOutput) Size() pulumi.StringPtrOutput
func (ManagedKubernetesWorkerDataDiskOutput) SnapshotId ¶ added in v2.13.0
func (o ManagedKubernetesWorkerDataDiskOutput) SnapshotId() pulumi.StringPtrOutput
func (ManagedKubernetesWorkerDataDiskOutput) ToManagedKubernetesWorkerDataDiskOutput ¶ added in v2.13.0
func (o ManagedKubernetesWorkerDataDiskOutput) ToManagedKubernetesWorkerDataDiskOutput() ManagedKubernetesWorkerDataDiskOutput
func (ManagedKubernetesWorkerDataDiskOutput) ToManagedKubernetesWorkerDataDiskOutputWithContext ¶ added in v2.13.0
func (o ManagedKubernetesWorkerDataDiskOutput) ToManagedKubernetesWorkerDataDiskOutputWithContext(ctx context.Context) ManagedKubernetesWorkerDataDiskOutput
type ManagedKubernetesWorkerNodeArgs ¶
type ManagedKubernetesWorkerNodeArgs struct { // ID of the node. Id pulumi.StringPtrInput `pulumi:"id"` // The kubernetes cluster's name. It is unique in one Alicloud account. Name pulumi.StringPtrInput `pulumi:"name"` // The private IP address of node. PrivateIp pulumi.StringPtrInput `pulumi:"privateIp"` }
func (ManagedKubernetesWorkerNodeArgs) ElementType ¶
func (ManagedKubernetesWorkerNodeArgs) ElementType() reflect.Type
func (ManagedKubernetesWorkerNodeArgs) ToManagedKubernetesWorkerNodeOutput ¶
func (i ManagedKubernetesWorkerNodeArgs) ToManagedKubernetesWorkerNodeOutput() ManagedKubernetesWorkerNodeOutput
func (ManagedKubernetesWorkerNodeArgs) ToManagedKubernetesWorkerNodeOutputWithContext ¶
func (i ManagedKubernetesWorkerNodeArgs) ToManagedKubernetesWorkerNodeOutputWithContext(ctx context.Context) ManagedKubernetesWorkerNodeOutput
type ManagedKubernetesWorkerNodeArray ¶
type ManagedKubernetesWorkerNodeArray []ManagedKubernetesWorkerNodeInput
func (ManagedKubernetesWorkerNodeArray) ElementType ¶
func (ManagedKubernetesWorkerNodeArray) ElementType() reflect.Type
func (ManagedKubernetesWorkerNodeArray) ToManagedKubernetesWorkerNodeArrayOutput ¶
func (i ManagedKubernetesWorkerNodeArray) ToManagedKubernetesWorkerNodeArrayOutput() ManagedKubernetesWorkerNodeArrayOutput
func (ManagedKubernetesWorkerNodeArray) ToManagedKubernetesWorkerNodeArrayOutputWithContext ¶
func (i ManagedKubernetesWorkerNodeArray) ToManagedKubernetesWorkerNodeArrayOutputWithContext(ctx context.Context) ManagedKubernetesWorkerNodeArrayOutput
type ManagedKubernetesWorkerNodeArrayInput ¶
type ManagedKubernetesWorkerNodeArrayInput interface { pulumi.Input ToManagedKubernetesWorkerNodeArrayOutput() ManagedKubernetesWorkerNodeArrayOutput ToManagedKubernetesWorkerNodeArrayOutputWithContext(context.Context) ManagedKubernetesWorkerNodeArrayOutput }
ManagedKubernetesWorkerNodeArrayInput is an input type that accepts ManagedKubernetesWorkerNodeArray and ManagedKubernetesWorkerNodeArrayOutput values. You can construct a concrete instance of `ManagedKubernetesWorkerNodeArrayInput` via:
ManagedKubernetesWorkerNodeArray{ ManagedKubernetesWorkerNodeArgs{...} }
type ManagedKubernetesWorkerNodeArrayOutput ¶
type ManagedKubernetesWorkerNodeArrayOutput struct{ *pulumi.OutputState }
func (ManagedKubernetesWorkerNodeArrayOutput) ElementType ¶
func (ManagedKubernetesWorkerNodeArrayOutput) ElementType() reflect.Type
func (ManagedKubernetesWorkerNodeArrayOutput) ToManagedKubernetesWorkerNodeArrayOutput ¶
func (o ManagedKubernetesWorkerNodeArrayOutput) ToManagedKubernetesWorkerNodeArrayOutput() ManagedKubernetesWorkerNodeArrayOutput
func (ManagedKubernetesWorkerNodeArrayOutput) ToManagedKubernetesWorkerNodeArrayOutputWithContext ¶
func (o ManagedKubernetesWorkerNodeArrayOutput) ToManagedKubernetesWorkerNodeArrayOutputWithContext(ctx context.Context) ManagedKubernetesWorkerNodeArrayOutput
type ManagedKubernetesWorkerNodeInput ¶
type ManagedKubernetesWorkerNodeInput interface { pulumi.Input ToManagedKubernetesWorkerNodeOutput() ManagedKubernetesWorkerNodeOutput ToManagedKubernetesWorkerNodeOutputWithContext(context.Context) ManagedKubernetesWorkerNodeOutput }
ManagedKubernetesWorkerNodeInput is an input type that accepts ManagedKubernetesWorkerNodeArgs and ManagedKubernetesWorkerNodeOutput values. You can construct a concrete instance of `ManagedKubernetesWorkerNodeInput` via:
ManagedKubernetesWorkerNodeArgs{...}
type ManagedKubernetesWorkerNodeOutput ¶
type ManagedKubernetesWorkerNodeOutput struct{ *pulumi.OutputState }
func (ManagedKubernetesWorkerNodeOutput) ElementType ¶
func (ManagedKubernetesWorkerNodeOutput) ElementType() reflect.Type
func (ManagedKubernetesWorkerNodeOutput) Id ¶
func (o ManagedKubernetesWorkerNodeOutput) Id() pulumi.StringPtrOutput
ID of the node.
func (ManagedKubernetesWorkerNodeOutput) Name ¶
func (o ManagedKubernetesWorkerNodeOutput) Name() pulumi.StringPtrOutput
The kubernetes cluster's name. It is unique in one Alicloud account.
func (ManagedKubernetesWorkerNodeOutput) PrivateIp ¶
func (o ManagedKubernetesWorkerNodeOutput) PrivateIp() pulumi.StringPtrOutput
The private IP address of node.
func (ManagedKubernetesWorkerNodeOutput) ToManagedKubernetesWorkerNodeOutput ¶
func (o ManagedKubernetesWorkerNodeOutput) ToManagedKubernetesWorkerNodeOutput() ManagedKubernetesWorkerNodeOutput
func (ManagedKubernetesWorkerNodeOutput) ToManagedKubernetesWorkerNodeOutputWithContext ¶
func (o ManagedKubernetesWorkerNodeOutput) ToManagedKubernetesWorkerNodeOutputWithContext(ctx context.Context) ManagedKubernetesWorkerNodeOutput
type NodePool ¶ added in v2.18.0
type NodePool struct { pulumi.CustomResourceState // The id of kubernetes cluster. ClusterId pulumi.StringOutput `pulumi:"clusterId"` DataDisks NodePoolDataDiskArrayOutput `pulumi:"dataDisks"` // Custom Image support. Must based on CentOS7 or AliyunLinux2. ImageId pulumi.StringOutput `pulumi:"imageId"` // The instance type of worker node. InstanceTypes pulumi.StringArrayOutput `pulumi:"instanceTypes"` // The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. KeyName pulumi.StringPtrOutput `pulumi:"keyName"` // An KMS encrypts password used to a cs kubernetes. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. KmsEncryptedPassword pulumi.StringPtrOutput `pulumi:"kmsEncryptedPassword"` // A List of Kubernetes labels to assign to the nodes . Only labels that are applied with the ACK API are managed by this argument. Labels NodePoolLabelArrayOutput `pulumi:"labels"` // The name of node pool. Name pulumi.StringOutput `pulumi:"name"` // The worker node number of the node pool. NodeCount pulumi.IntOutput `pulumi:"nodeCount"` // Each node name consists of a prefix, an IP substring, and a suffix. For example "customized,aliyun.com,5,test", if the node IP address is 192.168.0.55, the prefix is aliyun.com, IP substring length is 5, and the suffix is test, the node name will be aliyun.com00055test. NodeNameMode pulumi.StringOutput `pulumi:"nodeNameMode"` // The password of ssh login cluster node. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. Password pulumi.StringPtrOutput `pulumi:"password"` // The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40. SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"` // The system disk category of worker node. Its valid value are `cloudSsd` and `cloudEfficiency`. Default to `cloudEfficiency`. SystemDiskCategory pulumi.StringPtrOutput `pulumi:"systemDiskCategory"` // The system disk category of worker node. Its valid value are `cloudSsd` and `cloudEfficiency`. Default to `cloudEfficiency`. SystemDiskSize pulumi.IntPtrOutput `pulumi:"systemDiskSize"` // A List of tags to assign to the resource. It will be applied for ECS instances finally. // - key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string. // - value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string. Tags pulumi.MapOutput `pulumi:"tags"` // A List of Kubernetes taints to assign to the nodes. Taints NodePoolTaintArrayOutput `pulumi:"taints"` // Windows instances support batch and PowerShell scripts. If your script file is larger than 1 KB, we recommend that you upload the script to Object Storage Service (OSS) and pull it through the internal endpoint of your OSS bucket. UserData pulumi.StringPtrOutput `pulumi:"userData"` // The ID of VPC where the current cluster is located. VpcId pulumi.StringOutput `pulumi:"vpcId"` // The vswitches used by node pool workers. VswitchIds pulumi.StringArrayOutput `pulumi:"vswitchIds"` }
This resource will help you to manager node pool in Kubernetes Cluster.
> **NOTE:** Available in 1.97.0+.
func GetNodePool ¶ added in v2.18.0
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 ¶ added in v2.18.0
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.
type NodePoolArgs ¶ added in v2.18.0
type NodePoolArgs struct { // The id of kubernetes cluster. ClusterId pulumi.StringInput DataDisks NodePoolDataDiskArrayInput // Custom Image support. Must based on CentOS7 or AliyunLinux2. ImageId pulumi.StringPtrInput // The instance type of worker node. InstanceTypes pulumi.StringArrayInput // The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. KeyName pulumi.StringPtrInput // An KMS encrypts password used to a cs kubernetes. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. KmsEncryptedPassword pulumi.StringPtrInput // A List of Kubernetes labels to assign to the nodes . Only labels that are applied with the ACK API are managed by this argument. Labels NodePoolLabelArrayInput // The name of node pool. Name pulumi.StringPtrInput // The worker node number of the node pool. NodeCount pulumi.IntInput // Each node name consists of a prefix, an IP substring, and a suffix. For example "customized,aliyun.com,5,test", if the node IP address is 192.168.0.55, the prefix is aliyun.com, IP substring length is 5, and the suffix is test, the node name will be aliyun.com00055test. NodeNameMode pulumi.StringPtrInput // The password of ssh login cluster node. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. Password pulumi.StringPtrInput // The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40. SecurityGroupId pulumi.StringPtrInput // The system disk category of worker node. Its valid value are `cloudSsd` and `cloudEfficiency`. Default to `cloudEfficiency`. SystemDiskCategory pulumi.StringPtrInput // The system disk category of worker node. Its valid value are `cloudSsd` and `cloudEfficiency`. Default to `cloudEfficiency`. SystemDiskSize pulumi.IntPtrInput // A List of tags to assign to the resource. It will be applied for ECS instances finally. // - key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string. // - value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string. Tags pulumi.MapInput // A List of Kubernetes taints to assign to the nodes. Taints NodePoolTaintArrayInput // Windows instances support batch and PowerShell scripts. If your script file is larger than 1 KB, we recommend that you upload the script to Object Storage Service (OSS) and pull it through the internal endpoint of your OSS bucket. UserData pulumi.StringPtrInput // The vswitches used by node pool workers. VswitchIds pulumi.StringArrayInput }
The set of arguments for constructing a NodePool resource.
func (NodePoolArgs) ElementType ¶ added in v2.18.0
func (NodePoolArgs) ElementType() reflect.Type
type NodePoolDataDisk ¶ added in v2.18.0
type NodePoolDataDisk struct { AutoSnapshotPolicyId *string `pulumi:"autoSnapshotPolicyId"` Category *string `pulumi:"category"` Device *string `pulumi:"device"` Encrypted *string `pulumi:"encrypted"` KmsKeyId *string `pulumi:"kmsKeyId"` // The name of node pool. Name *string `pulumi:"name"` Size *int `pulumi:"size"` SnapshotId *string `pulumi:"snapshotId"` }
type NodePoolDataDiskArgs ¶ added in v2.18.0
type NodePoolDataDiskArgs struct { AutoSnapshotPolicyId pulumi.StringPtrInput `pulumi:"autoSnapshotPolicyId"` Category pulumi.StringPtrInput `pulumi:"category"` Device pulumi.StringPtrInput `pulumi:"device"` Encrypted pulumi.StringPtrInput `pulumi:"encrypted"` KmsKeyId pulumi.StringPtrInput `pulumi:"kmsKeyId"` // The name of node pool. Name pulumi.StringPtrInput `pulumi:"name"` Size pulumi.IntPtrInput `pulumi:"size"` SnapshotId pulumi.StringPtrInput `pulumi:"snapshotId"` }
func (NodePoolDataDiskArgs) ElementType ¶ added in v2.18.0
func (NodePoolDataDiskArgs) ElementType() reflect.Type
func (NodePoolDataDiskArgs) ToNodePoolDataDiskOutput ¶ added in v2.18.0
func (i NodePoolDataDiskArgs) ToNodePoolDataDiskOutput() NodePoolDataDiskOutput
func (NodePoolDataDiskArgs) ToNodePoolDataDiskOutputWithContext ¶ added in v2.18.0
func (i NodePoolDataDiskArgs) ToNodePoolDataDiskOutputWithContext(ctx context.Context) NodePoolDataDiskOutput
type NodePoolDataDiskArray ¶ added in v2.18.0
type NodePoolDataDiskArray []NodePoolDataDiskInput
func (NodePoolDataDiskArray) ElementType ¶ added in v2.18.0
func (NodePoolDataDiskArray) ElementType() reflect.Type
func (NodePoolDataDiskArray) ToNodePoolDataDiskArrayOutput ¶ added in v2.18.0
func (i NodePoolDataDiskArray) ToNodePoolDataDiskArrayOutput() NodePoolDataDiskArrayOutput
func (NodePoolDataDiskArray) ToNodePoolDataDiskArrayOutputWithContext ¶ added in v2.18.0
func (i NodePoolDataDiskArray) ToNodePoolDataDiskArrayOutputWithContext(ctx context.Context) NodePoolDataDiskArrayOutput
type NodePoolDataDiskArrayInput ¶ added in v2.18.0
type NodePoolDataDiskArrayInput interface { pulumi.Input ToNodePoolDataDiskArrayOutput() NodePoolDataDiskArrayOutput ToNodePoolDataDiskArrayOutputWithContext(context.Context) NodePoolDataDiskArrayOutput }
NodePoolDataDiskArrayInput is an input type that accepts NodePoolDataDiskArray and NodePoolDataDiskArrayOutput values. You can construct a concrete instance of `NodePoolDataDiskArrayInput` via:
NodePoolDataDiskArray{ NodePoolDataDiskArgs{...} }
type NodePoolDataDiskArrayOutput ¶ added in v2.18.0
type NodePoolDataDiskArrayOutput struct{ *pulumi.OutputState }
func (NodePoolDataDiskArrayOutput) ElementType ¶ added in v2.18.0
func (NodePoolDataDiskArrayOutput) ElementType() reflect.Type
func (NodePoolDataDiskArrayOutput) Index ¶ added in v2.18.0
func (o NodePoolDataDiskArrayOutput) Index(i pulumi.IntInput) NodePoolDataDiskOutput
func (NodePoolDataDiskArrayOutput) ToNodePoolDataDiskArrayOutput ¶ added in v2.18.0
func (o NodePoolDataDiskArrayOutput) ToNodePoolDataDiskArrayOutput() NodePoolDataDiskArrayOutput
func (NodePoolDataDiskArrayOutput) ToNodePoolDataDiskArrayOutputWithContext ¶ added in v2.18.0
func (o NodePoolDataDiskArrayOutput) ToNodePoolDataDiskArrayOutputWithContext(ctx context.Context) NodePoolDataDiskArrayOutput
type NodePoolDataDiskInput ¶ added in v2.18.0
type NodePoolDataDiskInput interface { pulumi.Input ToNodePoolDataDiskOutput() NodePoolDataDiskOutput ToNodePoolDataDiskOutputWithContext(context.Context) NodePoolDataDiskOutput }
NodePoolDataDiskInput is an input type that accepts NodePoolDataDiskArgs and NodePoolDataDiskOutput values. You can construct a concrete instance of `NodePoolDataDiskInput` via:
NodePoolDataDiskArgs{...}
type NodePoolDataDiskOutput ¶ added in v2.18.0
type NodePoolDataDiskOutput struct{ *pulumi.OutputState }
func (NodePoolDataDiskOutput) AutoSnapshotPolicyId ¶ added in v2.18.0
func (o NodePoolDataDiskOutput) AutoSnapshotPolicyId() pulumi.StringPtrOutput
func (NodePoolDataDiskOutput) Category ¶ added in v2.18.0
func (o NodePoolDataDiskOutput) Category() pulumi.StringPtrOutput
func (NodePoolDataDiskOutput) Device ¶ added in v2.18.0
func (o NodePoolDataDiskOutput) Device() pulumi.StringPtrOutput
func (NodePoolDataDiskOutput) ElementType ¶ added in v2.18.0
func (NodePoolDataDiskOutput) ElementType() reflect.Type
func (NodePoolDataDiskOutput) Encrypted ¶ added in v2.18.0
func (o NodePoolDataDiskOutput) Encrypted() pulumi.StringPtrOutput
func (NodePoolDataDiskOutput) KmsKeyId ¶ added in v2.18.0
func (o NodePoolDataDiskOutput) KmsKeyId() pulumi.StringPtrOutput
func (NodePoolDataDiskOutput) Name ¶ added in v2.18.0
func (o NodePoolDataDiskOutput) Name() pulumi.StringPtrOutput
The name of node pool.
func (NodePoolDataDiskOutput) Size ¶ added in v2.18.0
func (o NodePoolDataDiskOutput) Size() pulumi.IntPtrOutput
func (NodePoolDataDiskOutput) SnapshotId ¶ added in v2.18.0
func (o NodePoolDataDiskOutput) SnapshotId() pulumi.StringPtrOutput
func (NodePoolDataDiskOutput) ToNodePoolDataDiskOutput ¶ added in v2.18.0
func (o NodePoolDataDiskOutput) ToNodePoolDataDiskOutput() NodePoolDataDiskOutput
func (NodePoolDataDiskOutput) ToNodePoolDataDiskOutputWithContext ¶ added in v2.18.0
func (o NodePoolDataDiskOutput) ToNodePoolDataDiskOutputWithContext(ctx context.Context) NodePoolDataDiskOutput
type NodePoolLabel ¶ added in v2.18.0
type NodePoolLabelArgs ¶ added in v2.18.0
type NodePoolLabelArgs struct { Key pulumi.StringInput `pulumi:"key"` Value pulumi.StringPtrInput `pulumi:"value"` }
func (NodePoolLabelArgs) ElementType ¶ added in v2.18.0
func (NodePoolLabelArgs) ElementType() reflect.Type
func (NodePoolLabelArgs) ToNodePoolLabelOutput ¶ added in v2.18.0
func (i NodePoolLabelArgs) ToNodePoolLabelOutput() NodePoolLabelOutput
func (NodePoolLabelArgs) ToNodePoolLabelOutputWithContext ¶ added in v2.18.0
func (i NodePoolLabelArgs) ToNodePoolLabelOutputWithContext(ctx context.Context) NodePoolLabelOutput
type NodePoolLabelArray ¶ added in v2.18.0
type NodePoolLabelArray []NodePoolLabelInput
func (NodePoolLabelArray) ElementType ¶ added in v2.18.0
func (NodePoolLabelArray) ElementType() reflect.Type
func (NodePoolLabelArray) ToNodePoolLabelArrayOutput ¶ added in v2.18.0
func (i NodePoolLabelArray) ToNodePoolLabelArrayOutput() NodePoolLabelArrayOutput
func (NodePoolLabelArray) ToNodePoolLabelArrayOutputWithContext ¶ added in v2.18.0
func (i NodePoolLabelArray) ToNodePoolLabelArrayOutputWithContext(ctx context.Context) NodePoolLabelArrayOutput
type NodePoolLabelArrayInput ¶ added in v2.18.0
type NodePoolLabelArrayInput interface { pulumi.Input ToNodePoolLabelArrayOutput() NodePoolLabelArrayOutput ToNodePoolLabelArrayOutputWithContext(context.Context) NodePoolLabelArrayOutput }
NodePoolLabelArrayInput is an input type that accepts NodePoolLabelArray and NodePoolLabelArrayOutput values. You can construct a concrete instance of `NodePoolLabelArrayInput` via:
NodePoolLabelArray{ NodePoolLabelArgs{...} }
type NodePoolLabelArrayOutput ¶ added in v2.18.0
type NodePoolLabelArrayOutput struct{ *pulumi.OutputState }
func (NodePoolLabelArrayOutput) ElementType ¶ added in v2.18.0
func (NodePoolLabelArrayOutput) ElementType() reflect.Type
func (NodePoolLabelArrayOutput) Index ¶ added in v2.18.0
func (o NodePoolLabelArrayOutput) Index(i pulumi.IntInput) NodePoolLabelOutput
func (NodePoolLabelArrayOutput) ToNodePoolLabelArrayOutput ¶ added in v2.18.0
func (o NodePoolLabelArrayOutput) ToNodePoolLabelArrayOutput() NodePoolLabelArrayOutput
func (NodePoolLabelArrayOutput) ToNodePoolLabelArrayOutputWithContext ¶ added in v2.18.0
func (o NodePoolLabelArrayOutput) ToNodePoolLabelArrayOutputWithContext(ctx context.Context) NodePoolLabelArrayOutput
type NodePoolLabelInput ¶ added in v2.18.0
type NodePoolLabelInput interface { pulumi.Input ToNodePoolLabelOutput() NodePoolLabelOutput ToNodePoolLabelOutputWithContext(context.Context) NodePoolLabelOutput }
NodePoolLabelInput is an input type that accepts NodePoolLabelArgs and NodePoolLabelOutput values. You can construct a concrete instance of `NodePoolLabelInput` via:
NodePoolLabelArgs{...}
type NodePoolLabelOutput ¶ added in v2.18.0
type NodePoolLabelOutput struct{ *pulumi.OutputState }
func (NodePoolLabelOutput) ElementType ¶ added in v2.18.0
func (NodePoolLabelOutput) ElementType() reflect.Type
func (NodePoolLabelOutput) Key ¶ added in v2.18.0
func (o NodePoolLabelOutput) Key() pulumi.StringOutput
func (NodePoolLabelOutput) ToNodePoolLabelOutput ¶ added in v2.18.0
func (o NodePoolLabelOutput) ToNodePoolLabelOutput() NodePoolLabelOutput
func (NodePoolLabelOutput) ToNodePoolLabelOutputWithContext ¶ added in v2.18.0
func (o NodePoolLabelOutput) ToNodePoolLabelOutputWithContext(ctx context.Context) NodePoolLabelOutput
func (NodePoolLabelOutput) Value ¶ added in v2.18.0
func (o NodePoolLabelOutput) Value() pulumi.StringPtrOutput
type NodePoolState ¶ added in v2.18.0
type NodePoolState struct { // The id of kubernetes cluster. ClusterId pulumi.StringPtrInput DataDisks NodePoolDataDiskArrayInput // Custom Image support. Must based on CentOS7 or AliyunLinux2. ImageId pulumi.StringPtrInput // The instance type of worker node. InstanceTypes pulumi.StringArrayInput // The keypair of ssh login cluster node, you have to create it first. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. KeyName pulumi.StringPtrInput // An KMS encrypts password used to a cs kubernetes. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. KmsEncryptedPassword pulumi.StringPtrInput // A List of Kubernetes labels to assign to the nodes . Only labels that are applied with the ACK API are managed by this argument. Labels NodePoolLabelArrayInput // The name of node pool. Name pulumi.StringPtrInput // The worker node number of the node pool. NodeCount pulumi.IntPtrInput // Each node name consists of a prefix, an IP substring, and a suffix. For example "customized,aliyun.com,5,test", if the node IP address is 192.168.0.55, the prefix is aliyun.com, IP substring length is 5, and the suffix is test, the node name will be aliyun.com00055test. NodeNameMode pulumi.StringPtrInput // The password of ssh login cluster node. You have to specify one of `password` `keyName` `kmsEncryptedPassword` fields. Password pulumi.StringPtrInput // The system disk size of worker node. Its valid value range [20~32768] in GB. Default to 40. SecurityGroupId pulumi.StringPtrInput // The system disk category of worker node. Its valid value are `cloudSsd` and `cloudEfficiency`. Default to `cloudEfficiency`. SystemDiskCategory pulumi.StringPtrInput // The system disk category of worker node. Its valid value are `cloudSsd` and `cloudEfficiency`. Default to `cloudEfficiency`. SystemDiskSize pulumi.IntPtrInput // A List of tags to assign to the resource. It will be applied for ECS instances finally. // - key: It can be up to 64 characters in length. It cannot begin with "aliyun", "http://", or "https://". It cannot be a null string. // - value: It can be up to 128 characters in length. It cannot begin with "aliyun", "http://", or "https://" It can be a null string. Tags pulumi.MapInput // A List of Kubernetes taints to assign to the nodes. Taints NodePoolTaintArrayInput // Windows instances support batch and PowerShell scripts. If your script file is larger than 1 KB, we recommend that you upload the script to Object Storage Service (OSS) and pull it through the internal endpoint of your OSS bucket. UserData pulumi.StringPtrInput // The ID of VPC where the current cluster is located. VpcId pulumi.StringPtrInput // The vswitches used by node pool workers. VswitchIds pulumi.StringArrayInput }
func (NodePoolState) ElementType ¶ added in v2.18.0
func (NodePoolState) ElementType() reflect.Type
type NodePoolTaint ¶ added in v2.18.0
type NodePoolTaintArgs ¶ added in v2.18.0
type NodePoolTaintArgs struct { Effect pulumi.StringPtrInput `pulumi:"effect"` Key pulumi.StringInput `pulumi:"key"` Value pulumi.StringPtrInput `pulumi:"value"` }
func (NodePoolTaintArgs) ElementType ¶ added in v2.18.0
func (NodePoolTaintArgs) ElementType() reflect.Type
func (NodePoolTaintArgs) ToNodePoolTaintOutput ¶ added in v2.18.0
func (i NodePoolTaintArgs) ToNodePoolTaintOutput() NodePoolTaintOutput
func (NodePoolTaintArgs) ToNodePoolTaintOutputWithContext ¶ added in v2.18.0
func (i NodePoolTaintArgs) ToNodePoolTaintOutputWithContext(ctx context.Context) NodePoolTaintOutput
type NodePoolTaintArray ¶ added in v2.18.0
type NodePoolTaintArray []NodePoolTaintInput
func (NodePoolTaintArray) ElementType ¶ added in v2.18.0
func (NodePoolTaintArray) ElementType() reflect.Type
func (NodePoolTaintArray) ToNodePoolTaintArrayOutput ¶ added in v2.18.0
func (i NodePoolTaintArray) ToNodePoolTaintArrayOutput() NodePoolTaintArrayOutput
func (NodePoolTaintArray) ToNodePoolTaintArrayOutputWithContext ¶ added in v2.18.0
func (i NodePoolTaintArray) ToNodePoolTaintArrayOutputWithContext(ctx context.Context) NodePoolTaintArrayOutput
type NodePoolTaintArrayInput ¶ added in v2.18.0
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 ¶ added in v2.18.0
type NodePoolTaintArrayOutput struct{ *pulumi.OutputState }
func (NodePoolTaintArrayOutput) ElementType ¶ added in v2.18.0
func (NodePoolTaintArrayOutput) ElementType() reflect.Type
func (NodePoolTaintArrayOutput) Index ¶ added in v2.18.0
func (o NodePoolTaintArrayOutput) Index(i pulumi.IntInput) NodePoolTaintOutput
func (NodePoolTaintArrayOutput) ToNodePoolTaintArrayOutput ¶ added in v2.18.0
func (o NodePoolTaintArrayOutput) ToNodePoolTaintArrayOutput() NodePoolTaintArrayOutput
func (NodePoolTaintArrayOutput) ToNodePoolTaintArrayOutputWithContext ¶ added in v2.18.0
func (o NodePoolTaintArrayOutput) ToNodePoolTaintArrayOutputWithContext(ctx context.Context) NodePoolTaintArrayOutput
type NodePoolTaintInput ¶ added in v2.18.0
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 ¶ added in v2.18.0
type NodePoolTaintOutput struct{ *pulumi.OutputState }
func (NodePoolTaintOutput) Effect ¶ added in v2.18.0
func (o NodePoolTaintOutput) Effect() pulumi.StringPtrOutput
func (NodePoolTaintOutput) ElementType ¶ added in v2.18.0
func (NodePoolTaintOutput) ElementType() reflect.Type
func (NodePoolTaintOutput) Key ¶ added in v2.18.0
func (o NodePoolTaintOutput) Key() pulumi.StringOutput
func (NodePoolTaintOutput) ToNodePoolTaintOutput ¶ added in v2.18.0
func (o NodePoolTaintOutput) ToNodePoolTaintOutput() NodePoolTaintOutput
func (NodePoolTaintOutput) ToNodePoolTaintOutputWithContext ¶ added in v2.18.0
func (o NodePoolTaintOutput) ToNodePoolTaintOutputWithContext(ctx context.Context) NodePoolTaintOutput
func (NodePoolTaintOutput) Value ¶ added in v2.18.0
func (o NodePoolTaintOutput) Value() pulumi.StringPtrOutput
type RegistryEnterpriseNamespace ¶ added in v2.8.0
type RegistryEnterpriseNamespace struct { pulumi.CustomResourceState // Boolean, when it set to true, repositories are automatically created when pushing new images. If it set to false, you create repository for images before pushing. AutoCreate pulumi.BoolOutput `pulumi:"autoCreate"` // `PUBLIC` or `PRIVATE`, default repository visibility in this namespace. DefaultVisibility pulumi.StringOutput `pulumi:"defaultVisibility"` // ID of Container Registry Enterprise Edition instance. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // Name of Container Registry Enterprise Edition namespace. It can contain 2 to 30 characters. Name pulumi.StringOutput `pulumi:"name"` }
This resource will help you to manager Container Registry Enterprise Edition namespaces.
For information about Container Registry Enterprise Edition namespaces and how to use it, see [Create a Namespace](https://www.alibabacloud.com/help/doc-detail/145483.htm)
> **NOTE:** Available in v1.86.0+.
> **NOTE:** You need to set your registry password in Container Registry Enterprise Edition console before use this resource.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/cs" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cs.NewRegistryEnterpriseNamespace(ctx, "my_namespace", &cs.RegistryEnterpriseNamespaceArgs{ AutoCreate: pulumi.Bool(false), DefaultVisibility: pulumi.String("PUBLIC"), InstanceId: pulumi.String("cri-xxx"), }) if err != nil { return err } return nil }) }
```
func GetRegistryEnterpriseNamespace ¶ added in v2.8.0
func GetRegistryEnterpriseNamespace(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RegistryEnterpriseNamespaceState, opts ...pulumi.ResourceOption) (*RegistryEnterpriseNamespace, error)
GetRegistryEnterpriseNamespace gets an existing RegistryEnterpriseNamespace 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 NewRegistryEnterpriseNamespace ¶ added in v2.8.0
func NewRegistryEnterpriseNamespace(ctx *pulumi.Context, name string, args *RegistryEnterpriseNamespaceArgs, opts ...pulumi.ResourceOption) (*RegistryEnterpriseNamespace, error)
NewRegistryEnterpriseNamespace registers a new resource with the given unique name, arguments, and options.
type RegistryEnterpriseNamespaceArgs ¶ added in v2.8.0
type RegistryEnterpriseNamespaceArgs struct { // Boolean, when it set to true, repositories are automatically created when pushing new images. If it set to false, you create repository for images before pushing. AutoCreate pulumi.BoolInput // `PUBLIC` or `PRIVATE`, default repository visibility in this namespace. DefaultVisibility pulumi.StringInput // ID of Container Registry Enterprise Edition instance. InstanceId pulumi.StringInput // Name of Container Registry Enterprise Edition namespace. It can contain 2 to 30 characters. Name pulumi.StringPtrInput }
The set of arguments for constructing a RegistryEnterpriseNamespace resource.
func (RegistryEnterpriseNamespaceArgs) ElementType ¶ added in v2.8.0
func (RegistryEnterpriseNamespaceArgs) ElementType() reflect.Type
type RegistryEnterpriseNamespaceState ¶ added in v2.8.0
type RegistryEnterpriseNamespaceState struct { // Boolean, when it set to true, repositories are automatically created when pushing new images. If it set to false, you create repository for images before pushing. AutoCreate pulumi.BoolPtrInput // `PUBLIC` or `PRIVATE`, default repository visibility in this namespace. DefaultVisibility pulumi.StringPtrInput // ID of Container Registry Enterprise Edition instance. InstanceId pulumi.StringPtrInput // Name of Container Registry Enterprise Edition namespace. It can contain 2 to 30 characters. Name pulumi.StringPtrInput }
func (RegistryEnterpriseNamespaceState) ElementType ¶ added in v2.8.0
func (RegistryEnterpriseNamespaceState) ElementType() reflect.Type
type RegistryEnterpriseRepo ¶ added in v2.8.0
type RegistryEnterpriseRepo struct { pulumi.CustomResourceState // The repository specific information. MarkDown format is supported, and the length limit is 2000. Detail pulumi.StringPtrOutput `pulumi:"detail"` // ID of Container Registry Enterprise Edition instance. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // Name of Container Registry Enterprise Edition repository. It can contain 2 to 64 characters. Name pulumi.StringOutput `pulumi:"name"` // Name of Container Registry Enterprise Edition namespace where repository is located. It can contain 2 to 30 characters. Namespace pulumi.StringOutput `pulumi:"namespace"` // The uuid of Container Registry Enterprise Edition repository. RepoId pulumi.StringOutput `pulumi:"repoId"` // `PUBLIC` or `PRIVATE`, repo's visibility. RepoType pulumi.StringOutput `pulumi:"repoType"` // The repository general information. It can contain 1 to 100 characters. Summary pulumi.StringOutput `pulumi:"summary"` }
This resource will help you to manager Container Registry Enterprise Edition repositories.
For information about Container Registry Enterprise Edition repository and how to use it, see [Create a Repository](https://www.alibabacloud.com/help/doc-detail/145291.htm)
> **NOTE:** Available in v1.86.0+.
> **NOTE:** You need to set your registry password in Container Registry Enterprise Edition console before use this resource.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/cs" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cs.NewRegistryEnterpriseNamespace(ctx, "my_namespace", &cs.RegistryEnterpriseNamespaceArgs{ InstanceId: pulumi.String("cri-xxx"), AutoCreate: pulumi.Bool(false), DefaultVisibility: pulumi.String("PUBLIC"), }) if err != nil { return err } _, err = cs.NewRegistryEnterpriseRepo(ctx, "my_repo", &cs.RegistryEnterpriseRepoArgs{ InstanceId: my_namespace.InstanceId, Namespace: my_namespace.Name, Summary: pulumi.String("this is summary of my new repo"), RepoType: pulumi.String("PUBLIC"), Detail: pulumi.String("this is a public repo"), }) if err != nil { return err } return nil }) }
```
func GetRegistryEnterpriseRepo ¶ added in v2.8.0
func GetRegistryEnterpriseRepo(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RegistryEnterpriseRepoState, opts ...pulumi.ResourceOption) (*RegistryEnterpriseRepo, error)
GetRegistryEnterpriseRepo gets an existing RegistryEnterpriseRepo 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 NewRegistryEnterpriseRepo ¶ added in v2.8.0
func NewRegistryEnterpriseRepo(ctx *pulumi.Context, name string, args *RegistryEnterpriseRepoArgs, opts ...pulumi.ResourceOption) (*RegistryEnterpriseRepo, error)
NewRegistryEnterpriseRepo registers a new resource with the given unique name, arguments, and options.
type RegistryEnterpriseRepoArgs ¶ added in v2.8.0
type RegistryEnterpriseRepoArgs struct { // The repository specific information. MarkDown format is supported, and the length limit is 2000. Detail pulumi.StringPtrInput // ID of Container Registry Enterprise Edition instance. InstanceId pulumi.StringInput // Name of Container Registry Enterprise Edition repository. It can contain 2 to 64 characters. Name pulumi.StringPtrInput // Name of Container Registry Enterprise Edition namespace where repository is located. It can contain 2 to 30 characters. Namespace pulumi.StringInput // `PUBLIC` or `PRIVATE`, repo's visibility. RepoType pulumi.StringInput // The repository general information. It can contain 1 to 100 characters. Summary pulumi.StringInput }
The set of arguments for constructing a RegistryEnterpriseRepo resource.
func (RegistryEnterpriseRepoArgs) ElementType ¶ added in v2.8.0
func (RegistryEnterpriseRepoArgs) ElementType() reflect.Type
type RegistryEnterpriseRepoState ¶ added in v2.8.0
type RegistryEnterpriseRepoState struct { // The repository specific information. MarkDown format is supported, and the length limit is 2000. Detail pulumi.StringPtrInput // ID of Container Registry Enterprise Edition instance. InstanceId pulumi.StringPtrInput // Name of Container Registry Enterprise Edition repository. It can contain 2 to 64 characters. Name pulumi.StringPtrInput // Name of Container Registry Enterprise Edition namespace where repository is located. It can contain 2 to 30 characters. Namespace pulumi.StringPtrInput // The uuid of Container Registry Enterprise Edition repository. RepoId pulumi.StringPtrInput // `PUBLIC` or `PRIVATE`, repo's visibility. RepoType pulumi.StringPtrInput // The repository general information. It can contain 1 to 100 characters. Summary pulumi.StringPtrInput }
func (RegistryEnterpriseRepoState) ElementType ¶ added in v2.8.0
func (RegistryEnterpriseRepoState) ElementType() reflect.Type
type RegistryEnterpriseSyncRule ¶ added in v2.12.0
type RegistryEnterpriseSyncRule struct { pulumi.CustomResourceState // ID of Container Registry Enterprise Edition source instance. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // Name of Container Registry Enterprise Edition sync rule. Name pulumi.StringOutput `pulumi:"name"` // Name of Container Registry Enterprise Edition source namespace. It can contain 2 to 30 characters. NamespaceName pulumi.StringOutput `pulumi:"namespaceName"` // Name of the source repository which should be set together with `targetRepoName`, if empty means that the synchronization scope is the entire namespace level. RepoName pulumi.StringPtrOutput `pulumi:"repoName"` // The uuid of Container Registry Enterprise Edition sync rule. RuleId pulumi.StringOutput `pulumi:"ruleId"` // `FROM` or `TO`, the direction of synchronization. `FROM` means source instance, `TO` means target instance. SyncDirection pulumi.StringOutput `pulumi:"syncDirection"` // `REPO` or `NAMESPACE`,the scope that the synchronization rule applies. SyncScope pulumi.StringOutput `pulumi:"syncScope"` // The regular expression used to filter image tags for synchronization in the source repository. TagFilter pulumi.StringOutput `pulumi:"tagFilter"` // ID of Container Registry Enterprise Edition target instance to be synchronized. TargetInstanceId pulumi.StringOutput `pulumi:"targetInstanceId"` // Name of Container Registry Enterprise Edition target namespace to be synchronized. It can contain 2 to 30 characters. TargetNamespaceName pulumi.StringOutput `pulumi:"targetNamespaceName"` // The target region to be synchronized. TargetRegionId pulumi.StringOutput `pulumi:"targetRegionId"` // Name of the target repository. TargetRepoName pulumi.StringPtrOutput `pulumi:"targetRepoName"` }
This resource will help you to manager Container Registry Enterprise Edition sync rules.
For information about Container Registry Enterprise Edition sync rules and how to use it, see [Create a Sync Rule](https://www.alibabacloud.com/help/doc-detail/145280.htm)
> **NOTE:** Available in v1.90.0+.
> **NOTE:** You need to set your registry password in Container Registry Enterprise Edition console before use this resource.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/cs" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cs.NewRegistryEnterpriseSyncRule(ctx, "_default", &cs.RegistryEnterpriseSyncRuleArgs{ InstanceId: pulumi.String("my-source-instance-id"), NamespaceName: pulumi.String("my-source-namespace"), RepoName: pulumi.String("my-source-repo"), TagFilter: pulumi.String(".*"), TargetInstanceId: pulumi.String("my-target-instance-id"), TargetNamespaceName: pulumi.String("my-target-namespace"), TargetRegionId: pulumi.String("cn-hangzhou"), TargetRepoName: pulumi.String("my-target-repo"), }) if err != nil { return err } return nil }) }
```
func GetRegistryEnterpriseSyncRule ¶ added in v2.12.0
func GetRegistryEnterpriseSyncRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RegistryEnterpriseSyncRuleState, opts ...pulumi.ResourceOption) (*RegistryEnterpriseSyncRule, error)
GetRegistryEnterpriseSyncRule gets an existing RegistryEnterpriseSyncRule 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 NewRegistryEnterpriseSyncRule ¶ added in v2.12.0
func NewRegistryEnterpriseSyncRule(ctx *pulumi.Context, name string, args *RegistryEnterpriseSyncRuleArgs, opts ...pulumi.ResourceOption) (*RegistryEnterpriseSyncRule, error)
NewRegistryEnterpriseSyncRule registers a new resource with the given unique name, arguments, and options.
type RegistryEnterpriseSyncRuleArgs ¶ added in v2.12.0
type RegistryEnterpriseSyncRuleArgs struct { // ID of Container Registry Enterprise Edition source instance. InstanceId pulumi.StringInput // Name of Container Registry Enterprise Edition sync rule. Name pulumi.StringPtrInput // Name of Container Registry Enterprise Edition source namespace. It can contain 2 to 30 characters. NamespaceName pulumi.StringInput // Name of the source repository which should be set together with `targetRepoName`, if empty means that the synchronization scope is the entire namespace level. RepoName pulumi.StringPtrInput // The regular expression used to filter image tags for synchronization in the source repository. TagFilter pulumi.StringInput // ID of Container Registry Enterprise Edition target instance to be synchronized. TargetInstanceId pulumi.StringInput // Name of Container Registry Enterprise Edition target namespace to be synchronized. It can contain 2 to 30 characters. TargetNamespaceName pulumi.StringInput // The target region to be synchronized. TargetRegionId pulumi.StringInput // Name of the target repository. TargetRepoName pulumi.StringPtrInput }
The set of arguments for constructing a RegistryEnterpriseSyncRule resource.
func (RegistryEnterpriseSyncRuleArgs) ElementType ¶ added in v2.12.0
func (RegistryEnterpriseSyncRuleArgs) ElementType() reflect.Type
type RegistryEnterpriseSyncRuleState ¶ added in v2.12.0
type RegistryEnterpriseSyncRuleState struct { // ID of Container Registry Enterprise Edition source instance. InstanceId pulumi.StringPtrInput // Name of Container Registry Enterprise Edition sync rule. Name pulumi.StringPtrInput // Name of Container Registry Enterprise Edition source namespace. It can contain 2 to 30 characters. NamespaceName pulumi.StringPtrInput // Name of the source repository which should be set together with `targetRepoName`, if empty means that the synchronization scope is the entire namespace level. RepoName pulumi.StringPtrInput // The uuid of Container Registry Enterprise Edition sync rule. RuleId pulumi.StringPtrInput // `FROM` or `TO`, the direction of synchronization. `FROM` means source instance, `TO` means target instance. SyncDirection pulumi.StringPtrInput // `REPO` or `NAMESPACE`,the scope that the synchronization rule applies. SyncScope pulumi.StringPtrInput // The regular expression used to filter image tags for synchronization in the source repository. TagFilter pulumi.StringPtrInput // ID of Container Registry Enterprise Edition target instance to be synchronized. TargetInstanceId pulumi.StringPtrInput // Name of Container Registry Enterprise Edition target namespace to be synchronized. It can contain 2 to 30 characters. TargetNamespaceName pulumi.StringPtrInput // The target region to be synchronized. TargetRegionId pulumi.StringPtrInput // Name of the target repository. TargetRepoName pulumi.StringPtrInput }
func (RegistryEnterpriseSyncRuleState) ElementType ¶ added in v2.12.0
func (RegistryEnterpriseSyncRuleState) ElementType() reflect.Type
type ServerlessKubernetes ¶
type ServerlessKubernetes struct { pulumi.CustomResourceState Addons ServerlessKubernetesAddonArrayOutput `pulumi:"addons"` // The path of client certificate, like `~/.kube/client-cert.pem`. ClientCert pulumi.StringPtrOutput `pulumi:"clientCert"` // The path of client key, like `~/.kube/client-key.pem`. ClientKey pulumi.StringPtrOutput `pulumi:"clientKey"` // The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem` ClusterCaCert pulumi.StringPtrOutput `pulumi:"clusterCaCert"` // Whether enable the deletion protection or not. // - true: Enable deletion protection. // - false: Disable deletion protection. DeletionProtection pulumi.BoolPtrOutput `pulumi:"deletionProtection"` // Whether to create internet eip for API Server. Default to false. EndpointPublicAccessEnabled pulumi.BoolPtrOutput `pulumi:"endpointPublicAccessEnabled"` // Default false, when you want to change `vpcId` and `vswitchId`, you have to set this field to true, then the cluster will be recreated. ForceUpdate pulumi.BoolPtrOutput `pulumi:"forceUpdate"` // The path of kube config, like `~/.kube/config`. KubeConfig pulumi.StringPtrOutput `pulumi:"kubeConfig"` // The kubernetes cluster's name. It is the only in one Alicloud account. Name pulumi.StringOutput `pulumi:"name"` NamePrefix pulumi.StringPtrOutput `pulumi:"namePrefix"` // Whether to create a new nat gateway while creating kubernetes cluster. Default to true. NewNatGateway pulumi.BoolPtrOutput `pulumi:"newNatGateway"` // Enable Privatezone if you need to use the service discovery feature within the serverless cluster. Default to false. PrivateZone pulumi.BoolPtrOutput `pulumi:"privateZone"` // The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built. SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"` // Default nil, A map of tags assigned to the kubernetes cluster . Tags pulumi.MapOutput `pulumi:"tags"` // Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used. Version pulumi.StringOutput `pulumi:"version"` // The vpc where new kubernetes cluster will be located. Specify one vpc's id, if it is not specified, a new VPC will be built. VpcId pulumi.StringOutput `pulumi:"vpcId"` // (Required, ForceNew) The vswitch where new kubernetes cluster will be located. Specify one vswitch's id, if it is not specified, a new VPC and VSwicth will be built. It must be in the zone which `availabilityZone` specified. // // Deprecated: Field 'vswitch_id' has been deprecated from provider version 1.91.0. New field 'vswitch_ids' replace it. VswitchId pulumi.StringPtrOutput `pulumi:"vswitchId"` // The vswitches where new kubernetes cluster will be located. VswitchIds pulumi.StringArrayOutput `pulumi:"vswitchIds"` }
func GetServerlessKubernetes ¶
func GetServerlessKubernetes(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServerlessKubernetesState, opts ...pulumi.ResourceOption) (*ServerlessKubernetes, error)
GetServerlessKubernetes gets an existing ServerlessKubernetes 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 NewServerlessKubernetes ¶
func NewServerlessKubernetes(ctx *pulumi.Context, name string, args *ServerlessKubernetesArgs, opts ...pulumi.ResourceOption) (*ServerlessKubernetes, error)
NewServerlessKubernetes registers a new resource with the given unique name, arguments, and options.
type ServerlessKubernetesAddon ¶ added in v2.13.0
type ServerlessKubernetesAddonArgs ¶ added in v2.13.0
type ServerlessKubernetesAddonArgs struct { Config pulumi.StringPtrInput `pulumi:"config"` Disabled pulumi.BoolPtrInput `pulumi:"disabled"` // The kubernetes cluster's name. It is the only in one Alicloud account. Name pulumi.StringPtrInput `pulumi:"name"` }
func (ServerlessKubernetesAddonArgs) ElementType ¶ added in v2.13.0
func (ServerlessKubernetesAddonArgs) ElementType() reflect.Type
func (ServerlessKubernetesAddonArgs) ToServerlessKubernetesAddonOutput ¶ added in v2.13.0
func (i ServerlessKubernetesAddonArgs) ToServerlessKubernetesAddonOutput() ServerlessKubernetesAddonOutput
func (ServerlessKubernetesAddonArgs) ToServerlessKubernetesAddonOutputWithContext ¶ added in v2.13.0
func (i ServerlessKubernetesAddonArgs) ToServerlessKubernetesAddonOutputWithContext(ctx context.Context) ServerlessKubernetesAddonOutput
type ServerlessKubernetesAddonArray ¶ added in v2.13.0
type ServerlessKubernetesAddonArray []ServerlessKubernetesAddonInput
func (ServerlessKubernetesAddonArray) ElementType ¶ added in v2.13.0
func (ServerlessKubernetesAddonArray) ElementType() reflect.Type
func (ServerlessKubernetesAddonArray) ToServerlessKubernetesAddonArrayOutput ¶ added in v2.13.0
func (i ServerlessKubernetesAddonArray) ToServerlessKubernetesAddonArrayOutput() ServerlessKubernetesAddonArrayOutput
func (ServerlessKubernetesAddonArray) ToServerlessKubernetesAddonArrayOutputWithContext ¶ added in v2.13.0
func (i ServerlessKubernetesAddonArray) ToServerlessKubernetesAddonArrayOutputWithContext(ctx context.Context) ServerlessKubernetesAddonArrayOutput
type ServerlessKubernetesAddonArrayInput ¶ added in v2.13.0
type ServerlessKubernetesAddonArrayInput interface { pulumi.Input ToServerlessKubernetesAddonArrayOutput() ServerlessKubernetesAddonArrayOutput ToServerlessKubernetesAddonArrayOutputWithContext(context.Context) ServerlessKubernetesAddonArrayOutput }
ServerlessKubernetesAddonArrayInput is an input type that accepts ServerlessKubernetesAddonArray and ServerlessKubernetesAddonArrayOutput values. You can construct a concrete instance of `ServerlessKubernetesAddonArrayInput` via:
ServerlessKubernetesAddonArray{ ServerlessKubernetesAddonArgs{...} }
type ServerlessKubernetesAddonArrayOutput ¶ added in v2.13.0
type ServerlessKubernetesAddonArrayOutput struct{ *pulumi.OutputState }
func (ServerlessKubernetesAddonArrayOutput) ElementType ¶ added in v2.13.0
func (ServerlessKubernetesAddonArrayOutput) ElementType() reflect.Type
func (ServerlessKubernetesAddonArrayOutput) Index ¶ added in v2.13.0
func (o ServerlessKubernetesAddonArrayOutput) Index(i pulumi.IntInput) ServerlessKubernetesAddonOutput
func (ServerlessKubernetesAddonArrayOutput) ToServerlessKubernetesAddonArrayOutput ¶ added in v2.13.0
func (o ServerlessKubernetesAddonArrayOutput) ToServerlessKubernetesAddonArrayOutput() ServerlessKubernetesAddonArrayOutput
func (ServerlessKubernetesAddonArrayOutput) ToServerlessKubernetesAddonArrayOutputWithContext ¶ added in v2.13.0
func (o ServerlessKubernetesAddonArrayOutput) ToServerlessKubernetesAddonArrayOutputWithContext(ctx context.Context) ServerlessKubernetesAddonArrayOutput
type ServerlessKubernetesAddonInput ¶ added in v2.13.0
type ServerlessKubernetesAddonInput interface { pulumi.Input ToServerlessKubernetesAddonOutput() ServerlessKubernetesAddonOutput ToServerlessKubernetesAddonOutputWithContext(context.Context) ServerlessKubernetesAddonOutput }
ServerlessKubernetesAddonInput is an input type that accepts ServerlessKubernetesAddonArgs and ServerlessKubernetesAddonOutput values. You can construct a concrete instance of `ServerlessKubernetesAddonInput` via:
ServerlessKubernetesAddonArgs{...}
type ServerlessKubernetesAddonOutput ¶ added in v2.13.0
type ServerlessKubernetesAddonOutput struct{ *pulumi.OutputState }
func (ServerlessKubernetesAddonOutput) Config ¶ added in v2.13.0
func (o ServerlessKubernetesAddonOutput) Config() pulumi.StringPtrOutput
func (ServerlessKubernetesAddonOutput) Disabled ¶ added in v2.13.0
func (o ServerlessKubernetesAddonOutput) Disabled() pulumi.BoolPtrOutput
func (ServerlessKubernetesAddonOutput) ElementType ¶ added in v2.13.0
func (ServerlessKubernetesAddonOutput) ElementType() reflect.Type
func (ServerlessKubernetesAddonOutput) Name ¶ added in v2.13.0
func (o ServerlessKubernetesAddonOutput) Name() pulumi.StringPtrOutput
The kubernetes cluster's name. It is the only in one Alicloud account.
func (ServerlessKubernetesAddonOutput) ToServerlessKubernetesAddonOutput ¶ added in v2.13.0
func (o ServerlessKubernetesAddonOutput) ToServerlessKubernetesAddonOutput() ServerlessKubernetesAddonOutput
func (ServerlessKubernetesAddonOutput) ToServerlessKubernetesAddonOutputWithContext ¶ added in v2.13.0
func (o ServerlessKubernetesAddonOutput) ToServerlessKubernetesAddonOutputWithContext(ctx context.Context) ServerlessKubernetesAddonOutput
type ServerlessKubernetesArgs ¶
type ServerlessKubernetesArgs struct { Addons ServerlessKubernetesAddonArrayInput // The path of client certificate, like `~/.kube/client-cert.pem`. ClientCert pulumi.StringPtrInput // The path of client key, like `~/.kube/client-key.pem`. ClientKey pulumi.StringPtrInput // The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem` ClusterCaCert pulumi.StringPtrInput // Whether enable the deletion protection or not. // - true: Enable deletion protection. // - false: Disable deletion protection. DeletionProtection pulumi.BoolPtrInput // Whether to create internet eip for API Server. Default to false. EndpointPublicAccessEnabled pulumi.BoolPtrInput // Default false, when you want to change `vpcId` and `vswitchId`, you have to set this field to true, then the cluster will be recreated. ForceUpdate pulumi.BoolPtrInput // The path of kube config, like `~/.kube/config`. KubeConfig pulumi.StringPtrInput // The kubernetes cluster's name. It is the only in one Alicloud account. Name pulumi.StringPtrInput NamePrefix pulumi.StringPtrInput // Whether to create a new nat gateway while creating kubernetes cluster. Default to true. NewNatGateway pulumi.BoolPtrInput // Enable Privatezone if you need to use the service discovery feature within the serverless cluster. Default to false. PrivateZone pulumi.BoolPtrInput // The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built. SecurityGroupId pulumi.StringPtrInput // Default nil, A map of tags assigned to the kubernetes cluster . Tags pulumi.MapInput // Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used. Version pulumi.StringPtrInput // The vpc where new kubernetes cluster will be located. Specify one vpc's id, if it is not specified, a new VPC will be built. VpcId pulumi.StringInput // (Required, ForceNew) The vswitch where new kubernetes cluster will be located. Specify one vswitch's id, if it is not specified, a new VPC and VSwicth will be built. It must be in the zone which `availabilityZone` specified. // // Deprecated: Field 'vswitch_id' has been deprecated from provider version 1.91.0. New field 'vswitch_ids' replace it. VswitchId pulumi.StringPtrInput // The vswitches where new kubernetes cluster will be located. VswitchIds pulumi.StringArrayInput }
The set of arguments for constructing a ServerlessKubernetes resource.
func (ServerlessKubernetesArgs) ElementType ¶
func (ServerlessKubernetesArgs) ElementType() reflect.Type
type ServerlessKubernetesState ¶
type ServerlessKubernetesState struct { Addons ServerlessKubernetesAddonArrayInput // The path of client certificate, like `~/.kube/client-cert.pem`. ClientCert pulumi.StringPtrInput // The path of client key, like `~/.kube/client-key.pem`. ClientKey pulumi.StringPtrInput // The path of cluster ca certificate, like `~/.kube/cluster-ca-cert.pem` ClusterCaCert pulumi.StringPtrInput // Whether enable the deletion protection or not. // - true: Enable deletion protection. // - false: Disable deletion protection. DeletionProtection pulumi.BoolPtrInput // Whether to create internet eip for API Server. Default to false. EndpointPublicAccessEnabled pulumi.BoolPtrInput // Default false, when you want to change `vpcId` and `vswitchId`, you have to set this field to true, then the cluster will be recreated. ForceUpdate pulumi.BoolPtrInput // The path of kube config, like `~/.kube/config`. KubeConfig pulumi.StringPtrInput // The kubernetes cluster's name. It is the only in one Alicloud account. Name pulumi.StringPtrInput NamePrefix pulumi.StringPtrInput // Whether to create a new nat gateway while creating kubernetes cluster. Default to true. NewNatGateway pulumi.BoolPtrInput // Enable Privatezone if you need to use the service discovery feature within the serverless cluster. Default to false. PrivateZone pulumi.BoolPtrInput // The ID of the security group to which the ECS instances in the cluster belong. If it is not specified, a new Security group will be built. SecurityGroupId pulumi.StringPtrInput // Default nil, A map of tags assigned to the kubernetes cluster . Tags pulumi.MapInput // Desired Kubernetes version. If you do not specify a value, the latest available version at resource creation is used. Version pulumi.StringPtrInput // The vpc where new kubernetes cluster will be located. Specify one vpc's id, if it is not specified, a new VPC will be built. VpcId pulumi.StringPtrInput // (Required, ForceNew) The vswitch where new kubernetes cluster will be located. Specify one vswitch's id, if it is not specified, a new VPC and VSwicth will be built. It must be in the zone which `availabilityZone` specified. // // Deprecated: Field 'vswitch_id' has been deprecated from provider version 1.91.0. New field 'vswitch_ids' replace it. VswitchId pulumi.StringPtrInput // The vswitches where new kubernetes cluster will be located. VswitchIds pulumi.StringArrayInput }
func (ServerlessKubernetesState) ElementType ¶
func (ServerlessKubernetesState) ElementType() reflect.Type
type Swarm ¶
type Swarm struct { pulumi.CustomResourceState // The nodes agent version. AgentVersion pulumi.StringOutput `pulumi:"agentVersion"` // The CIDR block for the Container. It can not be same as the CIDR used by the VPC. // Valid value: // - 192.168.0.0/16 // - 172.19-30.0.0/16 // - 10.0.0.0/16 CidrBlock pulumi.StringOutput `pulumi:"cidrBlock"` // The data disk category of ECS instance node. Its valid value are `cloud`, `cloudSsd`, `cloudEssd`, `ephemeralEssd` and `cloudEfficiency`. Default to `cloudEfficiency`. DiskCategory pulumi.StringPtrOutput `pulumi:"diskCategory"` // The data disk size of ECS instance node. Its valid value is 20~32768 GB. Default to 20. DiskSize pulumi.IntPtrOutput `pulumi:"diskSize"` // The image ID of ECS instance node used. Default to System automate allocated. ImageId pulumi.StringPtrOutput `pulumi:"imageId"` // The type of ECS instance node. InstanceType pulumi.StringOutput `pulumi:"instanceType"` // Whether to use outdated instance type. Default to false. IsOutdated pulumi.BoolPtrOutput `pulumi:"isOutdated"` // The container cluster's name. It is the only in one Alicloud account. Name pulumi.StringOutput `pulumi:"name"` NamePrefix pulumi.StringPtrOutput `pulumi:"namePrefix"` // Whether to create the default simple routing Server Load Balancer instance for the cluster. The default value is true. NeedSlb pulumi.BoolPtrOutput `pulumi:"needSlb"` // The ECS node number of the container cluster. Its value choices are 1~50, and default to 1. NodeNumber pulumi.IntPtrOutput `pulumi:"nodeNumber"` // List of cluster nodes. It contains several attributes to `Block Nodes`. Nodes SwarmNodeArrayOutput `pulumi:"nodes"` // The password of ECS instance node. Password pulumi.StringOutput `pulumi:"password"` // Whether to release EIP after creating swarm cluster successfully. Default to false. ReleaseEip pulumi.BoolPtrOutput `pulumi:"releaseEip"` // The ID of security group where the current cluster worker node is located. SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"` // Field 'size' has been deprecated from provider version 1.9.1. New field 'node_number' replaces it. // // Deprecated: Field 'size' has been deprecated from provider version 1.9.1. New field 'node_number' replaces it. Size pulumi.IntPtrOutput `pulumi:"size"` // The ID of load balancer where the current cluster worker node is located. SlbId pulumi.StringOutput `pulumi:"slbId"` // The ID of VPC where the current cluster is located. VpcId pulumi.StringOutput `pulumi:"vpcId"` // The password of ECS instance node. If it is not specified, the container cluster's network mode will be `Classic`. VswitchId pulumi.StringOutput `pulumi:"vswitchId"` }
> **DEPRECATED:** This resource manages swarm cluster, which is being deprecated and will be replaced by Kubernetes cluster.
This resource will help you to manager a Swarm Cluster.
> **NOTE:** Swarm cluster only supports VPC network and you can specify a VPC network by filed `vswitchId`.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v2/go/alicloud/cs" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cs.NewSwarm(ctx, "myCluster", &cs.SwarmArgs{ Password: pulumi.String("Yourpassword1234"), InstanceType: pulumi.String("ecs.n4.small"), NodeNumber: pulumi.Int(2), DiskCategory: pulumi.String("cloud_efficiency"), DiskSize: pulumi.Int(20), CidrBlock: pulumi.String("172.18.0.0/24"), ImageId: pulumi.Any(_var.Image_id), VswitchId: pulumi.Any(_var.Vswitch_id), }) if err != nil { return err } return nil }) }
```
func GetSwarm ¶
func GetSwarm(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SwarmState, opts ...pulumi.ResourceOption) (*Swarm, error)
GetSwarm gets an existing Swarm resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
type SwarmArgs ¶
type SwarmArgs struct { // The CIDR block for the Container. It can not be same as the CIDR used by the VPC. // Valid value: // - 192.168.0.0/16 // - 172.19-30.0.0/16 // - 10.0.0.0/16 CidrBlock pulumi.StringInput // The data disk category of ECS instance node. Its valid value are `cloud`, `cloudSsd`, `cloudEssd`, `ephemeralEssd` and `cloudEfficiency`. Default to `cloudEfficiency`. DiskCategory pulumi.StringPtrInput // The data disk size of ECS instance node. Its valid value is 20~32768 GB. Default to 20. DiskSize pulumi.IntPtrInput // The image ID of ECS instance node used. Default to System automate allocated. ImageId pulumi.StringPtrInput // The type of ECS instance node. InstanceType pulumi.StringInput // Whether to use outdated instance type. Default to false. IsOutdated pulumi.BoolPtrInput // The container cluster's name. It is the only in one Alicloud account. Name pulumi.StringPtrInput NamePrefix pulumi.StringPtrInput // Whether to create the default simple routing Server Load Balancer instance for the cluster. The default value is true. NeedSlb pulumi.BoolPtrInput // The ECS node number of the container cluster. Its value choices are 1~50, and default to 1. NodeNumber pulumi.IntPtrInput // The password of ECS instance node. Password pulumi.StringInput // Whether to release EIP after creating swarm cluster successfully. Default to false. ReleaseEip pulumi.BoolPtrInput // Field 'size' has been deprecated from provider version 1.9.1. New field 'node_number' replaces it. // // Deprecated: Field 'size' has been deprecated from provider version 1.9.1. New field 'node_number' replaces it. Size pulumi.IntPtrInput // The password of ECS instance node. If it is not specified, the container cluster's network mode will be `Classic`. VswitchId pulumi.StringInput }
The set of arguments for constructing a Swarm resource.
func (SwarmArgs) ElementType ¶
type SwarmNode ¶
type SwarmNode struct { // The Elastic IP address of node. Eip *string `pulumi:"eip"` // ID of the node. Id *string `pulumi:"id"` // The container cluster's name. It is the only in one Alicloud account. Name *string `pulumi:"name"` // The private IP address of node. PrivateIp *string `pulumi:"privateIp"` // The node current status. It is different with instance status. Status *string `pulumi:"status"` }
type SwarmNodeArgs ¶
type SwarmNodeArgs struct { // The Elastic IP address of node. Eip pulumi.StringPtrInput `pulumi:"eip"` // ID of the node. Id pulumi.StringPtrInput `pulumi:"id"` // The container cluster's name. It is the only in one Alicloud account. Name pulumi.StringPtrInput `pulumi:"name"` // The private IP address of node. PrivateIp pulumi.StringPtrInput `pulumi:"privateIp"` // The node current status. It is different with instance status. Status pulumi.StringPtrInput `pulumi:"status"` }
func (SwarmNodeArgs) ElementType ¶
func (SwarmNodeArgs) ElementType() reflect.Type
func (SwarmNodeArgs) ToSwarmNodeOutput ¶
func (i SwarmNodeArgs) ToSwarmNodeOutput() SwarmNodeOutput
func (SwarmNodeArgs) ToSwarmNodeOutputWithContext ¶
func (i SwarmNodeArgs) ToSwarmNodeOutputWithContext(ctx context.Context) SwarmNodeOutput
type SwarmNodeArray ¶
type SwarmNodeArray []SwarmNodeInput
func (SwarmNodeArray) ElementType ¶
func (SwarmNodeArray) ElementType() reflect.Type
func (SwarmNodeArray) ToSwarmNodeArrayOutput ¶
func (i SwarmNodeArray) ToSwarmNodeArrayOutput() SwarmNodeArrayOutput
func (SwarmNodeArray) ToSwarmNodeArrayOutputWithContext ¶
func (i SwarmNodeArray) ToSwarmNodeArrayOutputWithContext(ctx context.Context) SwarmNodeArrayOutput
type SwarmNodeArrayInput ¶
type SwarmNodeArrayInput interface { pulumi.Input ToSwarmNodeArrayOutput() SwarmNodeArrayOutput ToSwarmNodeArrayOutputWithContext(context.Context) SwarmNodeArrayOutput }
SwarmNodeArrayInput is an input type that accepts SwarmNodeArray and SwarmNodeArrayOutput values. You can construct a concrete instance of `SwarmNodeArrayInput` via:
SwarmNodeArray{ SwarmNodeArgs{...} }
type SwarmNodeArrayOutput ¶
type SwarmNodeArrayOutput struct{ *pulumi.OutputState }
func (SwarmNodeArrayOutput) ElementType ¶
func (SwarmNodeArrayOutput) ElementType() reflect.Type
func (SwarmNodeArrayOutput) Index ¶
func (o SwarmNodeArrayOutput) Index(i pulumi.IntInput) SwarmNodeOutput
func (SwarmNodeArrayOutput) ToSwarmNodeArrayOutput ¶
func (o SwarmNodeArrayOutput) ToSwarmNodeArrayOutput() SwarmNodeArrayOutput
func (SwarmNodeArrayOutput) ToSwarmNodeArrayOutputWithContext ¶
func (o SwarmNodeArrayOutput) ToSwarmNodeArrayOutputWithContext(ctx context.Context) SwarmNodeArrayOutput
type SwarmNodeInput ¶
type SwarmNodeInput interface { pulumi.Input ToSwarmNodeOutput() SwarmNodeOutput ToSwarmNodeOutputWithContext(context.Context) SwarmNodeOutput }
SwarmNodeInput is an input type that accepts SwarmNodeArgs and SwarmNodeOutput values. You can construct a concrete instance of `SwarmNodeInput` via:
SwarmNodeArgs{...}
type SwarmNodeOutput ¶
type SwarmNodeOutput struct{ *pulumi.OutputState }
func (SwarmNodeOutput) Eip ¶
func (o SwarmNodeOutput) Eip() pulumi.StringPtrOutput
The Elastic IP address of node.
func (SwarmNodeOutput) ElementType ¶
func (SwarmNodeOutput) ElementType() reflect.Type
func (SwarmNodeOutput) Name ¶
func (o SwarmNodeOutput) Name() pulumi.StringPtrOutput
The container cluster's name. It is the only in one Alicloud account.
func (SwarmNodeOutput) PrivateIp ¶
func (o SwarmNodeOutput) PrivateIp() pulumi.StringPtrOutput
The private IP address of node.
func (SwarmNodeOutput) Status ¶
func (o SwarmNodeOutput) Status() pulumi.StringPtrOutput
The node current status. It is different with instance status.
func (SwarmNodeOutput) ToSwarmNodeOutput ¶
func (o SwarmNodeOutput) ToSwarmNodeOutput() SwarmNodeOutput
func (SwarmNodeOutput) ToSwarmNodeOutputWithContext ¶
func (o SwarmNodeOutput) ToSwarmNodeOutputWithContext(ctx context.Context) SwarmNodeOutput
type SwarmState ¶
type SwarmState struct { // The nodes agent version. AgentVersion pulumi.StringPtrInput // The CIDR block for the Container. It can not be same as the CIDR used by the VPC. // Valid value: // - 192.168.0.0/16 // - 172.19-30.0.0/16 // - 10.0.0.0/16 CidrBlock pulumi.StringPtrInput // The data disk category of ECS instance node. Its valid value are `cloud`, `cloudSsd`, `cloudEssd`, `ephemeralEssd` and `cloudEfficiency`. Default to `cloudEfficiency`. DiskCategory pulumi.StringPtrInput // The data disk size of ECS instance node. Its valid value is 20~32768 GB. Default to 20. DiskSize pulumi.IntPtrInput // The image ID of ECS instance node used. Default to System automate allocated. ImageId pulumi.StringPtrInput // The type of ECS instance node. InstanceType pulumi.StringPtrInput // Whether to use outdated instance type. Default to false. IsOutdated pulumi.BoolPtrInput // The container cluster's name. It is the only in one Alicloud account. Name pulumi.StringPtrInput NamePrefix pulumi.StringPtrInput // Whether to create the default simple routing Server Load Balancer instance for the cluster. The default value is true. NeedSlb pulumi.BoolPtrInput // The ECS node number of the container cluster. Its value choices are 1~50, and default to 1. NodeNumber pulumi.IntPtrInput // List of cluster nodes. It contains several attributes to `Block Nodes`. Nodes SwarmNodeArrayInput // The password of ECS instance node. Password pulumi.StringPtrInput // Whether to release EIP after creating swarm cluster successfully. Default to false. ReleaseEip pulumi.BoolPtrInput // The ID of security group where the current cluster worker node is located. SecurityGroupId pulumi.StringPtrInput // Field 'size' has been deprecated from provider version 1.9.1. New field 'node_number' replaces it. // // Deprecated: Field 'size' has been deprecated from provider version 1.9.1. New field 'node_number' replaces it. Size pulumi.IntPtrInput // The ID of load balancer where the current cluster worker node is located. SlbId pulumi.StringPtrInput // The ID of VPC where the current cluster is located. VpcId pulumi.StringPtrInput // The password of ECS instance node. If it is not specified, the container cluster's network mode will be `Classic`. VswitchId pulumi.StringPtrInput }
func (SwarmState) ElementType ¶
func (SwarmState) ElementType() reflect.Type
Source Files
¶
- application.go
- cluster.go
- getKubernetesClusters.go
- getManagedKubernetesClusters.go
- getRegistryEnterpriseInstances.go
- getRegistryEnterpriseNamespaces.go
- getRegistryEnterpriseRepos.go
- getRegistryEnterpriseSyncRules.go
- getServerlessKubernetesClusters.go
- kubernetes.go
- kubernetesAutoscaler.go
- managedKubernetes.go
- nodePool.go
- pulumiTypes.go
- registryEnterpriseNamespace.go
- registryEnterpriseRepo.go
- registryEnterpriseSyncRule.go
- serverlessKubernetes.go
- swarm.go