Documentation
¶
Index ¶
- type Cluster
- type ClusterAdditionalVolume
- type ClusterAdditionalVolumeArgs
- func (ClusterAdditionalVolumeArgs) ElementType() reflect.Type
- func (i ClusterAdditionalVolumeArgs) ToClusterAdditionalVolumeOutput() ClusterAdditionalVolumeOutput
- func (i ClusterAdditionalVolumeArgs) ToClusterAdditionalVolumeOutputWithContext(ctx context.Context) ClusterAdditionalVolumeOutput
- func (i ClusterAdditionalVolumeArgs) ToOutput(ctx context.Context) pulumix.Output[ClusterAdditionalVolume]
- type ClusterAdditionalVolumeArray
- func (ClusterAdditionalVolumeArray) ElementType() reflect.Type
- func (i ClusterAdditionalVolumeArray) ToClusterAdditionalVolumeArrayOutput() ClusterAdditionalVolumeArrayOutput
- func (i ClusterAdditionalVolumeArray) ToClusterAdditionalVolumeArrayOutputWithContext(ctx context.Context) ClusterAdditionalVolumeArrayOutput
- func (i ClusterAdditionalVolumeArray) ToOutput(ctx context.Context) pulumix.Output[[]ClusterAdditionalVolume]
- type ClusterAdditionalVolumeArrayInput
- type ClusterAdditionalVolumeArrayOutput
- func (ClusterAdditionalVolumeArrayOutput) ElementType() reflect.Type
- func (o ClusterAdditionalVolumeArrayOutput) Index(i pulumi.IntInput) ClusterAdditionalVolumeOutput
- func (o ClusterAdditionalVolumeArrayOutput) ToClusterAdditionalVolumeArrayOutput() ClusterAdditionalVolumeArrayOutput
- func (o ClusterAdditionalVolumeArrayOutput) ToClusterAdditionalVolumeArrayOutputWithContext(ctx context.Context) ClusterAdditionalVolumeArrayOutput
- func (o ClusterAdditionalVolumeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ClusterAdditionalVolume]
- type ClusterAdditionalVolumeInput
- type ClusterAdditionalVolumeOutput
- func (ClusterAdditionalVolumeOutput) ElementType() reflect.Type
- func (o ClusterAdditionalVolumeOutput) JobQueue() pulumi.StringPtrOutput
- func (o ClusterAdditionalVolumeOutput) LocalDirectory() pulumi.StringPtrOutput
- func (o ClusterAdditionalVolumeOutput) Location() pulumi.StringPtrOutput
- func (o ClusterAdditionalVolumeOutput) RemoteDirectory() pulumi.StringPtrOutput
- func (o ClusterAdditionalVolumeOutput) Roles() ClusterAdditionalVolumeRoleArrayOutput
- func (o ClusterAdditionalVolumeOutput) ToClusterAdditionalVolumeOutput() ClusterAdditionalVolumeOutput
- func (o ClusterAdditionalVolumeOutput) ToClusterAdditionalVolumeOutputWithContext(ctx context.Context) ClusterAdditionalVolumeOutput
- func (o ClusterAdditionalVolumeOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterAdditionalVolume]
- func (o ClusterAdditionalVolumeOutput) VolumeId() pulumi.StringPtrOutput
- func (o ClusterAdditionalVolumeOutput) VolumeMountOption() pulumi.StringPtrOutput
- func (o ClusterAdditionalVolumeOutput) VolumeMountpoint() pulumi.StringPtrOutput
- func (o ClusterAdditionalVolumeOutput) VolumeProtocol() pulumi.StringPtrOutput
- func (o ClusterAdditionalVolumeOutput) VolumeType() pulumi.StringPtrOutput
- type ClusterAdditionalVolumeRole
- type ClusterAdditionalVolumeRoleArgs
- func (ClusterAdditionalVolumeRoleArgs) ElementType() reflect.Type
- func (i ClusterAdditionalVolumeRoleArgs) ToClusterAdditionalVolumeRoleOutput() ClusterAdditionalVolumeRoleOutput
- func (i ClusterAdditionalVolumeRoleArgs) ToClusterAdditionalVolumeRoleOutputWithContext(ctx context.Context) ClusterAdditionalVolumeRoleOutput
- func (i ClusterAdditionalVolumeRoleArgs) ToOutput(ctx context.Context) pulumix.Output[ClusterAdditionalVolumeRole]
- type ClusterAdditionalVolumeRoleArray
- func (ClusterAdditionalVolumeRoleArray) ElementType() reflect.Type
- func (i ClusterAdditionalVolumeRoleArray) ToClusterAdditionalVolumeRoleArrayOutput() ClusterAdditionalVolumeRoleArrayOutput
- func (i ClusterAdditionalVolumeRoleArray) ToClusterAdditionalVolumeRoleArrayOutputWithContext(ctx context.Context) ClusterAdditionalVolumeRoleArrayOutput
- func (i ClusterAdditionalVolumeRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]ClusterAdditionalVolumeRole]
- type ClusterAdditionalVolumeRoleArrayInput
- type ClusterAdditionalVolumeRoleArrayOutput
- func (ClusterAdditionalVolumeRoleArrayOutput) ElementType() reflect.Type
- func (o ClusterAdditionalVolumeRoleArrayOutput) Index(i pulumi.IntInput) ClusterAdditionalVolumeRoleOutput
- func (o ClusterAdditionalVolumeRoleArrayOutput) ToClusterAdditionalVolumeRoleArrayOutput() ClusterAdditionalVolumeRoleArrayOutput
- func (o ClusterAdditionalVolumeRoleArrayOutput) ToClusterAdditionalVolumeRoleArrayOutputWithContext(ctx context.Context) ClusterAdditionalVolumeRoleArrayOutput
- func (o ClusterAdditionalVolumeRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ClusterAdditionalVolumeRole]
- type ClusterAdditionalVolumeRoleInput
- type ClusterAdditionalVolumeRoleOutput
- func (ClusterAdditionalVolumeRoleOutput) ElementType() reflect.Type
- func (o ClusterAdditionalVolumeRoleOutput) Name() pulumi.StringPtrOutput
- func (o ClusterAdditionalVolumeRoleOutput) ToClusterAdditionalVolumeRoleOutput() ClusterAdditionalVolumeRoleOutput
- func (o ClusterAdditionalVolumeRoleOutput) ToClusterAdditionalVolumeRoleOutputWithContext(ctx context.Context) ClusterAdditionalVolumeRoleOutput
- func (o ClusterAdditionalVolumeRoleOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterAdditionalVolumeRole]
- type ClusterApplication
- type ClusterApplicationArgs
- func (ClusterApplicationArgs) ElementType() reflect.Type
- func (i ClusterApplicationArgs) ToClusterApplicationOutput() ClusterApplicationOutput
- func (i ClusterApplicationArgs) ToClusterApplicationOutputWithContext(ctx context.Context) ClusterApplicationOutput
- func (i ClusterApplicationArgs) ToOutput(ctx context.Context) pulumix.Output[ClusterApplication]
- type ClusterApplicationArray
- func (ClusterApplicationArray) ElementType() reflect.Type
- func (i ClusterApplicationArray) ToClusterApplicationArrayOutput() ClusterApplicationArrayOutput
- func (i ClusterApplicationArray) ToClusterApplicationArrayOutputWithContext(ctx context.Context) ClusterApplicationArrayOutput
- func (i ClusterApplicationArray) ToOutput(ctx context.Context) pulumix.Output[[]ClusterApplication]
- type ClusterApplicationArrayInput
- type ClusterApplicationArrayOutput
- func (ClusterApplicationArrayOutput) ElementType() reflect.Type
- func (o ClusterApplicationArrayOutput) Index(i pulumi.IntInput) ClusterApplicationOutput
- func (o ClusterApplicationArrayOutput) ToClusterApplicationArrayOutput() ClusterApplicationArrayOutput
- func (o ClusterApplicationArrayOutput) ToClusterApplicationArrayOutputWithContext(ctx context.Context) ClusterApplicationArrayOutput
- func (o ClusterApplicationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ClusterApplication]
- type ClusterApplicationInput
- type ClusterApplicationOutput
- func (ClusterApplicationOutput) ElementType() reflect.Type
- func (o ClusterApplicationOutput) Tag() pulumi.StringPtrOutput
- func (o ClusterApplicationOutput) ToClusterApplicationOutput() ClusterApplicationOutput
- func (o ClusterApplicationOutput) ToClusterApplicationOutputWithContext(ctx context.Context) ClusterApplicationOutput
- func (o ClusterApplicationOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterApplication]
- type ClusterArgs
- type ClusterArray
- type ClusterArrayInput
- type ClusterArrayOutput
- func (ClusterArrayOutput) ElementType() reflect.Type
- func (o ClusterArrayOutput) Index(i pulumi.IntInput) ClusterOutput
- func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput
- func (o ClusterArrayOutput) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput
- func (o ClusterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Cluster]
- type ClusterInput
- type ClusterMap
- type ClusterMapInput
- type ClusterMapOutput
- func (ClusterMapOutput) ElementType() reflect.Type
- func (o ClusterMapOutput) MapIndex(k pulumi.StringInput) ClusterOutput
- func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput
- func (o ClusterMapOutput) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput
- func (o ClusterMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Cluster]
- type ClusterOutput
- func (o ClusterOutput) AccountType() pulumi.StringOutput
- func (o ClusterOutput) AdditionalVolumes() ClusterAdditionalVolumeArrayOutput
- func (o ClusterOutput) Applications() ClusterApplicationArrayOutput
- func (o ClusterOutput) AutoRenew() pulumi.BoolPtrOutput
- func (o ClusterOutput) AutoRenewPeriod() pulumi.IntPtrOutput
- func (o ClusterOutput) ClientVersion() pulumi.StringOutput
- func (o ClusterOutput) ClusterName() pulumi.StringOutput
- func (o ClusterOutput) ClusterVersion() pulumi.StringOutput
- func (o ClusterOutput) ComputeCount() pulumi.IntOutput
- func (o ClusterOutput) ComputeEnableHt() pulumi.BoolPtrOutput
- func (o ClusterOutput) ComputeInstanceType() pulumi.StringOutput
- func (o ClusterOutput) ComputeSpotPriceLimit() pulumi.StringPtrOutput
- func (o ClusterOutput) ComputeSpotStrategy() pulumi.StringPtrOutput
- func (o ClusterOutput) DeployMode() pulumi.StringOutput
- func (o ClusterOutput) Description() pulumi.StringOutput
- func (o ClusterOutput) Domain() pulumi.StringPtrOutput
- func (o ClusterOutput) EcsChargeType() pulumi.StringOutput
- func (o ClusterOutput) EhpcVersion() pulumi.StringOutput
- func (ClusterOutput) ElementType() reflect.Type
- func (o ClusterOutput) HaEnable() pulumi.BoolOutput
- func (o ClusterOutput) ImageId() pulumi.StringOutput
- func (o ClusterOutput) ImageOwnerAlias() pulumi.StringOutput
- func (o ClusterOutput) InputFileUrl() pulumi.StringPtrOutput
- func (o ClusterOutput) IsComputeEss() pulumi.BoolPtrOutput
- func (o ClusterOutput) JobQueue() pulumi.StringPtrOutput
- func (o ClusterOutput) KeyPairName() pulumi.StringPtrOutput
- func (o ClusterOutput) LoginCount() pulumi.IntOutput
- func (o ClusterOutput) LoginInstanceType() pulumi.StringOutput
- func (o ClusterOutput) ManagerCount() pulumi.IntOutput
- func (o ClusterOutput) ManagerInstanceType() pulumi.StringOutput
- func (o ClusterOutput) OsTag() pulumi.StringOutput
- func (o ClusterOutput) Password() pulumi.StringPtrOutput
- func (o ClusterOutput) Period() pulumi.IntPtrOutput
- func (o ClusterOutput) PeriodUnit() pulumi.StringPtrOutput
- func (o ClusterOutput) Plugin() pulumi.StringPtrOutput
- func (o ClusterOutput) PostInstallScripts() ClusterPostInstallScriptArrayOutput
- func (o ClusterOutput) RamNodeTypes() pulumi.StringArrayOutput
- func (o ClusterOutput) RamRoleName() pulumi.StringPtrOutput
- func (o ClusterOutput) ReleaseInstance() pulumi.BoolPtrOutput
- func (o ClusterOutput) RemoteDirectory() pulumi.StringOutput
- func (o ClusterOutput) RemoteVisEnable() pulumi.BoolPtrOutput
- func (o ClusterOutput) ResourceGroupId() pulumi.StringPtrOutput
- func (o ClusterOutput) SccClusterId() pulumi.StringOutput
- func (o ClusterOutput) SchedulerType() pulumi.StringOutput
- func (o ClusterOutput) SecurityGroupId() pulumi.StringOutput
- func (o ClusterOutput) SecurityGroupName() pulumi.StringPtrOutput
- func (o ClusterOutput) Status() pulumi.StringOutput
- func (o ClusterOutput) SystemDiskLevel() pulumi.StringPtrOutput
- func (o ClusterOutput) SystemDiskSize() pulumi.IntPtrOutput
- func (o ClusterOutput) SystemDiskType() pulumi.StringPtrOutput
- func (o ClusterOutput) ToClusterOutput() ClusterOutput
- func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
- func (o ClusterOutput) ToOutput(ctx context.Context) pulumix.Output[*Cluster]
- func (o ClusterOutput) VolumeId() pulumi.StringOutput
- func (o ClusterOutput) VolumeMountOption() pulumi.StringPtrOutput
- func (o ClusterOutput) VolumeMountpoint() pulumi.StringOutput
- func (o ClusterOutput) VolumeProtocol() pulumi.StringOutput
- func (o ClusterOutput) VolumeType() pulumi.StringOutput
- func (o ClusterOutput) VpcId() pulumi.StringOutput
- func (o ClusterOutput) VswitchId() pulumi.StringOutput
- func (o ClusterOutput) WithoutAgent() pulumi.BoolPtrOutput
- func (o ClusterOutput) WithoutElasticIp() pulumi.BoolPtrOutput
- func (o ClusterOutput) ZoneId() pulumi.StringOutput
- type ClusterPostInstallScript
- type ClusterPostInstallScriptArgs
- func (ClusterPostInstallScriptArgs) ElementType() reflect.Type
- func (i ClusterPostInstallScriptArgs) ToClusterPostInstallScriptOutput() ClusterPostInstallScriptOutput
- func (i ClusterPostInstallScriptArgs) ToClusterPostInstallScriptOutputWithContext(ctx context.Context) ClusterPostInstallScriptOutput
- func (i ClusterPostInstallScriptArgs) ToOutput(ctx context.Context) pulumix.Output[ClusterPostInstallScript]
- type ClusterPostInstallScriptArray
- func (ClusterPostInstallScriptArray) ElementType() reflect.Type
- func (i ClusterPostInstallScriptArray) ToClusterPostInstallScriptArrayOutput() ClusterPostInstallScriptArrayOutput
- func (i ClusterPostInstallScriptArray) ToClusterPostInstallScriptArrayOutputWithContext(ctx context.Context) ClusterPostInstallScriptArrayOutput
- func (i ClusterPostInstallScriptArray) ToOutput(ctx context.Context) pulumix.Output[[]ClusterPostInstallScript]
- type ClusterPostInstallScriptArrayInput
- type ClusterPostInstallScriptArrayOutput
- func (ClusterPostInstallScriptArrayOutput) ElementType() reflect.Type
- func (o ClusterPostInstallScriptArrayOutput) Index(i pulumi.IntInput) ClusterPostInstallScriptOutput
- func (o ClusterPostInstallScriptArrayOutput) ToClusterPostInstallScriptArrayOutput() ClusterPostInstallScriptArrayOutput
- func (o ClusterPostInstallScriptArrayOutput) ToClusterPostInstallScriptArrayOutputWithContext(ctx context.Context) ClusterPostInstallScriptArrayOutput
- func (o ClusterPostInstallScriptArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ClusterPostInstallScript]
- type ClusterPostInstallScriptInput
- type ClusterPostInstallScriptOutput
- func (o ClusterPostInstallScriptOutput) Args() pulumi.StringPtrOutput
- func (ClusterPostInstallScriptOutput) ElementType() reflect.Type
- func (o ClusterPostInstallScriptOutput) ToClusterPostInstallScriptOutput() ClusterPostInstallScriptOutput
- func (o ClusterPostInstallScriptOutput) ToClusterPostInstallScriptOutputWithContext(ctx context.Context) ClusterPostInstallScriptOutput
- func (o ClusterPostInstallScriptOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterPostInstallScript]
- func (o ClusterPostInstallScriptOutput) Url() pulumi.StringPtrOutput
- type ClusterState
- type GetClustersArgs
- type GetClustersCluster
- type GetClustersClusterApplication
- type GetClustersClusterApplicationArgs
- func (GetClustersClusterApplicationArgs) ElementType() reflect.Type
- func (i GetClustersClusterApplicationArgs) ToGetClustersClusterApplicationOutput() GetClustersClusterApplicationOutput
- func (i GetClustersClusterApplicationArgs) ToGetClustersClusterApplicationOutputWithContext(ctx context.Context) GetClustersClusterApplicationOutput
- func (i GetClustersClusterApplicationArgs) ToOutput(ctx context.Context) pulumix.Output[GetClustersClusterApplication]
- type GetClustersClusterApplicationArray
- func (GetClustersClusterApplicationArray) ElementType() reflect.Type
- func (i GetClustersClusterApplicationArray) ToGetClustersClusterApplicationArrayOutput() GetClustersClusterApplicationArrayOutput
- func (i GetClustersClusterApplicationArray) ToGetClustersClusterApplicationArrayOutputWithContext(ctx context.Context) GetClustersClusterApplicationArrayOutput
- func (i GetClustersClusterApplicationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetClustersClusterApplication]
- type GetClustersClusterApplicationArrayInput
- type GetClustersClusterApplicationArrayOutput
- func (GetClustersClusterApplicationArrayOutput) ElementType() reflect.Type
- func (o GetClustersClusterApplicationArrayOutput) Index(i pulumi.IntInput) GetClustersClusterApplicationOutput
- func (o GetClustersClusterApplicationArrayOutput) ToGetClustersClusterApplicationArrayOutput() GetClustersClusterApplicationArrayOutput
- func (o GetClustersClusterApplicationArrayOutput) ToGetClustersClusterApplicationArrayOutputWithContext(ctx context.Context) GetClustersClusterApplicationArrayOutput
- func (o GetClustersClusterApplicationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetClustersClusterApplication]
- type GetClustersClusterApplicationInput
- type GetClustersClusterApplicationOutput
- func (GetClustersClusterApplicationOutput) ElementType() reflect.Type
- func (o GetClustersClusterApplicationOutput) Tag() pulumi.StringOutput
- func (o GetClustersClusterApplicationOutput) ToGetClustersClusterApplicationOutput() GetClustersClusterApplicationOutput
- func (o GetClustersClusterApplicationOutput) ToGetClustersClusterApplicationOutputWithContext(ctx context.Context) GetClustersClusterApplicationOutput
- func (o GetClustersClusterApplicationOutput) ToOutput(ctx context.Context) pulumix.Output[GetClustersClusterApplication]
- type GetClustersClusterArgs
- func (GetClustersClusterArgs) ElementType() reflect.Type
- func (i GetClustersClusterArgs) ToGetClustersClusterOutput() GetClustersClusterOutput
- func (i GetClustersClusterArgs) ToGetClustersClusterOutputWithContext(ctx context.Context) GetClustersClusterOutput
- func (i GetClustersClusterArgs) ToOutput(ctx context.Context) pulumix.Output[GetClustersCluster]
- type GetClustersClusterArray
- func (GetClustersClusterArray) ElementType() reflect.Type
- func (i GetClustersClusterArray) ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput
- func (i GetClustersClusterArray) ToGetClustersClusterArrayOutputWithContext(ctx context.Context) GetClustersClusterArrayOutput
- func (i GetClustersClusterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetClustersCluster]
- type GetClustersClusterArrayInput
- type GetClustersClusterArrayOutput
- func (GetClustersClusterArrayOutput) ElementType() reflect.Type
- func (o GetClustersClusterArrayOutput) Index(i pulumi.IntInput) GetClustersClusterOutput
- func (o GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput
- func (o GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutputWithContext(ctx context.Context) GetClustersClusterArrayOutput
- func (o GetClustersClusterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetClustersCluster]
- type GetClustersClusterInput
- type GetClustersClusterOutput
- func (o GetClustersClusterOutput) AccountType() pulumi.StringOutput
- func (o GetClustersClusterOutput) Applications() GetClustersClusterApplicationArrayOutput
- func (o GetClustersClusterOutput) ClientVersion() pulumi.StringOutput
- func (o GetClustersClusterOutput) ClusterId() pulumi.StringOutput
- func (o GetClustersClusterOutput) ClusterName() pulumi.StringOutput
- func (o GetClustersClusterOutput) ComputeCount() pulumi.IntOutput
- func (o GetClustersClusterOutput) ComputeInstanceType() pulumi.StringOutput
- func (o GetClustersClusterOutput) CreateTime() pulumi.StringOutput
- func (o GetClustersClusterOutput) DeployMode() pulumi.StringOutput
- func (o GetClustersClusterOutput) Description() pulumi.StringOutput
- func (GetClustersClusterOutput) ElementType() reflect.Type
- func (o GetClustersClusterOutput) HaEnable() pulumi.BoolOutput
- func (o GetClustersClusterOutput) Id() pulumi.StringOutput
- func (o GetClustersClusterOutput) ImageId() pulumi.StringOutput
- func (o GetClustersClusterOutput) ImageOwnerAlias() pulumi.StringOutput
- func (o GetClustersClusterOutput) LoginCount() pulumi.IntOutput
- func (o GetClustersClusterOutput) LoginInstanceType() pulumi.StringOutput
- func (o GetClustersClusterOutput) ManagerCount() pulumi.IntOutput
- func (o GetClustersClusterOutput) ManagerInstanceType() pulumi.StringOutput
- func (o GetClustersClusterOutput) OsTag() pulumi.StringOutput
- func (o GetClustersClusterOutput) PostInstallScripts() GetClustersClusterPostInstallScriptArrayOutput
- func (o GetClustersClusterOutput) RemoteDirectory() pulumi.StringOutput
- func (o GetClustersClusterOutput) SccClusterId() pulumi.StringOutput
- func (o GetClustersClusterOutput) SchedulerType() pulumi.StringOutput
- func (o GetClustersClusterOutput) SecurityGroupId() pulumi.StringOutput
- func (o GetClustersClusterOutput) Status() pulumi.StringOutput
- func (o GetClustersClusterOutput) ToGetClustersClusterOutput() GetClustersClusterOutput
- func (o GetClustersClusterOutput) ToGetClustersClusterOutputWithContext(ctx context.Context) GetClustersClusterOutput
- func (o GetClustersClusterOutput) ToOutput(ctx context.Context) pulumix.Output[GetClustersCluster]
- func (o GetClustersClusterOutput) VolumeId() pulumi.StringOutput
- func (o GetClustersClusterOutput) VolumeMountpoint() pulumi.StringOutput
- func (o GetClustersClusterOutput) VolumeProtocol() pulumi.StringOutput
- func (o GetClustersClusterOutput) VolumeType() pulumi.StringOutput
- func (o GetClustersClusterOutput) VpcId() pulumi.StringOutput
- func (o GetClustersClusterOutput) VswitchId() pulumi.StringOutput
- func (o GetClustersClusterOutput) ZoneId() pulumi.StringOutput
- type GetClustersClusterPostInstallScript
- type GetClustersClusterPostInstallScriptArgs
- func (GetClustersClusterPostInstallScriptArgs) ElementType() reflect.Type
- func (i GetClustersClusterPostInstallScriptArgs) ToGetClustersClusterPostInstallScriptOutput() GetClustersClusterPostInstallScriptOutput
- func (i GetClustersClusterPostInstallScriptArgs) ToGetClustersClusterPostInstallScriptOutputWithContext(ctx context.Context) GetClustersClusterPostInstallScriptOutput
- func (i GetClustersClusterPostInstallScriptArgs) ToOutput(ctx context.Context) pulumix.Output[GetClustersClusterPostInstallScript]
- type GetClustersClusterPostInstallScriptArray
- func (GetClustersClusterPostInstallScriptArray) ElementType() reflect.Type
- func (i GetClustersClusterPostInstallScriptArray) ToGetClustersClusterPostInstallScriptArrayOutput() GetClustersClusterPostInstallScriptArrayOutput
- func (i GetClustersClusterPostInstallScriptArray) ToGetClustersClusterPostInstallScriptArrayOutputWithContext(ctx context.Context) GetClustersClusterPostInstallScriptArrayOutput
- func (i GetClustersClusterPostInstallScriptArray) ToOutput(ctx context.Context) pulumix.Output[[]GetClustersClusterPostInstallScript]
- type GetClustersClusterPostInstallScriptArrayInput
- type GetClustersClusterPostInstallScriptArrayOutput
- func (GetClustersClusterPostInstallScriptArrayOutput) ElementType() reflect.Type
- func (o GetClustersClusterPostInstallScriptArrayOutput) Index(i pulumi.IntInput) GetClustersClusterPostInstallScriptOutput
- func (o GetClustersClusterPostInstallScriptArrayOutput) ToGetClustersClusterPostInstallScriptArrayOutput() GetClustersClusterPostInstallScriptArrayOutput
- func (o GetClustersClusterPostInstallScriptArrayOutput) ToGetClustersClusterPostInstallScriptArrayOutputWithContext(ctx context.Context) GetClustersClusterPostInstallScriptArrayOutput
- func (o GetClustersClusterPostInstallScriptArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetClustersClusterPostInstallScript]
- type GetClustersClusterPostInstallScriptInput
- type GetClustersClusterPostInstallScriptOutput
- func (o GetClustersClusterPostInstallScriptOutput) Args() pulumi.StringOutput
- func (GetClustersClusterPostInstallScriptOutput) ElementType() reflect.Type
- func (o GetClustersClusterPostInstallScriptOutput) ToGetClustersClusterPostInstallScriptOutput() GetClustersClusterPostInstallScriptOutput
- func (o GetClustersClusterPostInstallScriptOutput) ToGetClustersClusterPostInstallScriptOutputWithContext(ctx context.Context) GetClustersClusterPostInstallScriptOutput
- func (o GetClustersClusterPostInstallScriptOutput) ToOutput(ctx context.Context) pulumix.Output[GetClustersClusterPostInstallScript]
- func (o GetClustersClusterPostInstallScriptOutput) Url() pulumi.StringOutput
- type GetClustersOutputArgs
- type GetClustersResult
- type GetClustersResultOutput
- func (o GetClustersResultOutput) Clusters() GetClustersClusterArrayOutput
- func (GetClustersResultOutput) ElementType() reflect.Type
- func (o GetClustersResultOutput) EnableDetails() pulumi.BoolPtrOutput
- func (o GetClustersResultOutput) Id() pulumi.StringOutput
- func (o GetClustersResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetClustersResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetClustersResultOutput) Names() pulumi.StringArrayOutput
- func (o GetClustersResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetClustersResultOutput) Status() pulumi.StringPtrOutput
- func (o GetClustersResultOutput) ToGetClustersResultOutput() GetClustersResultOutput
- func (o GetClustersResultOutput) ToGetClustersResultOutputWithContext(ctx context.Context) GetClustersResultOutput
- func (o GetClustersResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetClustersResult]
- type GetJobTemplatesArgs
- type GetJobTemplatesOutputArgs
- type GetJobTemplatesResult
- type GetJobTemplatesResultOutput
- func (GetJobTemplatesResultOutput) ElementType() reflect.Type
- func (o GetJobTemplatesResultOutput) Id() pulumi.StringOutput
- func (o GetJobTemplatesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetJobTemplatesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetJobTemplatesResultOutput) Templates() GetJobTemplatesTemplateArrayOutput
- func (o GetJobTemplatesResultOutput) ToGetJobTemplatesResultOutput() GetJobTemplatesResultOutput
- func (o GetJobTemplatesResultOutput) ToGetJobTemplatesResultOutputWithContext(ctx context.Context) GetJobTemplatesResultOutput
- func (o GetJobTemplatesResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetJobTemplatesResult]
- type GetJobTemplatesTemplate
- type GetJobTemplatesTemplateArgs
- func (GetJobTemplatesTemplateArgs) ElementType() reflect.Type
- func (i GetJobTemplatesTemplateArgs) ToGetJobTemplatesTemplateOutput() GetJobTemplatesTemplateOutput
- func (i GetJobTemplatesTemplateArgs) ToGetJobTemplatesTemplateOutputWithContext(ctx context.Context) GetJobTemplatesTemplateOutput
- func (i GetJobTemplatesTemplateArgs) ToOutput(ctx context.Context) pulumix.Output[GetJobTemplatesTemplate]
- type GetJobTemplatesTemplateArray
- func (GetJobTemplatesTemplateArray) ElementType() reflect.Type
- func (i GetJobTemplatesTemplateArray) ToGetJobTemplatesTemplateArrayOutput() GetJobTemplatesTemplateArrayOutput
- func (i GetJobTemplatesTemplateArray) ToGetJobTemplatesTemplateArrayOutputWithContext(ctx context.Context) GetJobTemplatesTemplateArrayOutput
- func (i GetJobTemplatesTemplateArray) ToOutput(ctx context.Context) pulumix.Output[[]GetJobTemplatesTemplate]
- type GetJobTemplatesTemplateArrayInput
- type GetJobTemplatesTemplateArrayOutput
- func (GetJobTemplatesTemplateArrayOutput) ElementType() reflect.Type
- func (o GetJobTemplatesTemplateArrayOutput) Index(i pulumi.IntInput) GetJobTemplatesTemplateOutput
- func (o GetJobTemplatesTemplateArrayOutput) ToGetJobTemplatesTemplateArrayOutput() GetJobTemplatesTemplateArrayOutput
- func (o GetJobTemplatesTemplateArrayOutput) ToGetJobTemplatesTemplateArrayOutputWithContext(ctx context.Context) GetJobTemplatesTemplateArrayOutput
- func (o GetJobTemplatesTemplateArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetJobTemplatesTemplate]
- type GetJobTemplatesTemplateInput
- type GetJobTemplatesTemplateOutput
- func (o GetJobTemplatesTemplateOutput) ArrayRequest() pulumi.StringOutput
- func (o GetJobTemplatesTemplateOutput) ClockTime() pulumi.StringOutput
- func (o GetJobTemplatesTemplateOutput) CommandLine() pulumi.StringOutput
- func (GetJobTemplatesTemplateOutput) ElementType() reflect.Type
- func (o GetJobTemplatesTemplateOutput) Gpu() pulumi.IntOutput
- func (o GetJobTemplatesTemplateOutput) Id() pulumi.StringOutput
- func (o GetJobTemplatesTemplateOutput) JobTemplateId() pulumi.StringOutput
- func (o GetJobTemplatesTemplateOutput) JobTemplateName() pulumi.StringOutput
- func (o GetJobTemplatesTemplateOutput) Mem() pulumi.StringOutput
- func (o GetJobTemplatesTemplateOutput) Node() pulumi.IntOutput
- func (o GetJobTemplatesTemplateOutput) PackagePath() pulumi.StringOutput
- func (o GetJobTemplatesTemplateOutput) Priority() pulumi.IntOutput
- func (o GetJobTemplatesTemplateOutput) Queue() pulumi.StringOutput
- func (o GetJobTemplatesTemplateOutput) ReRunable() pulumi.BoolOutput
- func (o GetJobTemplatesTemplateOutput) RunasUser() pulumi.StringOutput
- func (o GetJobTemplatesTemplateOutput) StderrRedirectPath() pulumi.StringOutput
- func (o GetJobTemplatesTemplateOutput) StdoutRedirectPath() pulumi.StringOutput
- func (o GetJobTemplatesTemplateOutput) Task() pulumi.IntOutput
- func (o GetJobTemplatesTemplateOutput) Thread() pulumi.IntOutput
- func (o GetJobTemplatesTemplateOutput) ToGetJobTemplatesTemplateOutput() GetJobTemplatesTemplateOutput
- func (o GetJobTemplatesTemplateOutput) ToGetJobTemplatesTemplateOutputWithContext(ctx context.Context) GetJobTemplatesTemplateOutput
- func (o GetJobTemplatesTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[GetJobTemplatesTemplate]
- func (o GetJobTemplatesTemplateOutput) Variables() pulumi.StringOutput
- type JobTemplate
- type JobTemplateArgs
- type JobTemplateArray
- func (JobTemplateArray) ElementType() reflect.Type
- func (i JobTemplateArray) ToJobTemplateArrayOutput() JobTemplateArrayOutput
- func (i JobTemplateArray) ToJobTemplateArrayOutputWithContext(ctx context.Context) JobTemplateArrayOutput
- func (i JobTemplateArray) ToOutput(ctx context.Context) pulumix.Output[[]*JobTemplate]
- type JobTemplateArrayInput
- type JobTemplateArrayOutput
- func (JobTemplateArrayOutput) ElementType() reflect.Type
- func (o JobTemplateArrayOutput) Index(i pulumi.IntInput) JobTemplateOutput
- func (o JobTemplateArrayOutput) ToJobTemplateArrayOutput() JobTemplateArrayOutput
- func (o JobTemplateArrayOutput) ToJobTemplateArrayOutputWithContext(ctx context.Context) JobTemplateArrayOutput
- func (o JobTemplateArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*JobTemplate]
- type JobTemplateInput
- type JobTemplateMap
- func (JobTemplateMap) ElementType() reflect.Type
- func (i JobTemplateMap) ToJobTemplateMapOutput() JobTemplateMapOutput
- func (i JobTemplateMap) ToJobTemplateMapOutputWithContext(ctx context.Context) JobTemplateMapOutput
- func (i JobTemplateMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*JobTemplate]
- type JobTemplateMapInput
- type JobTemplateMapOutput
- func (JobTemplateMapOutput) ElementType() reflect.Type
- func (o JobTemplateMapOutput) MapIndex(k pulumi.StringInput) JobTemplateOutput
- func (o JobTemplateMapOutput) ToJobTemplateMapOutput() JobTemplateMapOutput
- func (o JobTemplateMapOutput) ToJobTemplateMapOutputWithContext(ctx context.Context) JobTemplateMapOutput
- func (o JobTemplateMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*JobTemplate]
- type JobTemplateOutput
- func (o JobTemplateOutput) ArrayRequest() pulumi.StringPtrOutput
- func (o JobTemplateOutput) ClockTime() pulumi.StringPtrOutput
- func (o JobTemplateOutput) CommandLine() pulumi.StringOutput
- func (JobTemplateOutput) ElementType() reflect.Type
- func (o JobTemplateOutput) Gpu() pulumi.IntPtrOutput
- func (o JobTemplateOutput) JobTemplateName() pulumi.StringOutput
- func (o JobTemplateOutput) Mem() pulumi.StringPtrOutput
- func (o JobTemplateOutput) Node() pulumi.IntPtrOutput
- func (o JobTemplateOutput) PackagePath() pulumi.StringPtrOutput
- func (o JobTemplateOutput) Priority() pulumi.IntPtrOutput
- func (o JobTemplateOutput) Queue() pulumi.StringPtrOutput
- func (o JobTemplateOutput) ReRunable() pulumi.BoolOutput
- func (o JobTemplateOutput) RunasUser() pulumi.StringPtrOutput
- func (o JobTemplateOutput) StderrRedirectPath() pulumi.StringPtrOutput
- func (o JobTemplateOutput) StdoutRedirectPath() pulumi.StringPtrOutput
- func (o JobTemplateOutput) Task() pulumi.IntPtrOutput
- func (o JobTemplateOutput) Thread() pulumi.IntPtrOutput
- func (o JobTemplateOutput) ToJobTemplateOutput() JobTemplateOutput
- func (o JobTemplateOutput) ToJobTemplateOutputWithContext(ctx context.Context) JobTemplateOutput
- func (o JobTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[*JobTemplate]
- func (o JobTemplateOutput) Variables() pulumi.StringPtrOutput
- type JobTemplateState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶ added in v3.22.0
type Cluster struct { pulumi.CustomResourceState // The type of the domain account service. Valid values: `nis`, `ldap`. Default value: `nis` AccountType pulumi.StringOutput `pulumi:"accountType"` // The additional volumes. See `additionalVolumes` below. AdditionalVolumes ClusterAdditionalVolumeArrayOutput `pulumi:"additionalVolumes"` // The application. See `application` below. Applications ClusterApplicationArrayOutput `pulumi:"applications"` // Specifies whether to enable auto-renewal for the subscription. Default value: `false`. AutoRenew pulumi.BoolPtrOutput `pulumi:"autoRenew"` // The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true. AutoRenewPeriod pulumi.IntPtrOutput `pulumi:"autoRenewPeriod"` // The version of the E-HPC client. By default, the parameter is set to the latest version number. ClientVersion pulumi.StringOutput `pulumi:"clientVersion"` // The name of the cluster. The name must be `2` to `64` characters in length. ClusterName pulumi.StringOutput `pulumi:"clusterName"` // The version of the cluster. Default value: `1.0`. ClusterVersion pulumi.StringOutput `pulumi:"clusterVersion"` // The number of the compute nodes. Valid values: `1` to `99`. ComputeCount pulumi.IntOutput `pulumi:"computeCount"` // Specifies whether the compute nodes support hyper-threading. Default value: `true`. ComputeEnableHt pulumi.BoolPtrOutput `pulumi:"computeEnableHt"` // The instance type of the compute nodes. ComputeInstanceType pulumi.StringOutput `pulumi:"computeInstanceType"` // The maximum hourly price of the compute nodes. A maximum of three decimal places can be used in the value of the parameter. The parameter is valid only when the ComputeSpotStrategy parameter is set to SpotWithPriceLimit. ComputeSpotPriceLimit pulumi.StringPtrOutput `pulumi:"computeSpotPriceLimit"` // The bidding method of the compute nodes. Default value: `NoSpot`. Valid values: ComputeSpotStrategy pulumi.StringPtrOutput `pulumi:"computeSpotStrategy"` // The mode in which the cluster is deployed. Valid values: `Standard`, `Simple`, `Tiny`. Default value: Standard. DeployMode pulumi.StringOutput `pulumi:"deployMode"` // The description of the cluster. The description must be `2` to `256` characters in length. It cannot start with `http://` or `https://`. Description pulumi.StringOutput `pulumi:"description"` // The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap. Domain pulumi.StringPtrOutput `pulumi:"domain"` // The billing method of the nodes. EcsChargeType pulumi.StringOutput `pulumi:"ecsChargeType"` // The version of E-HPC. By default, the parameter is set to the latest version number. EhpcVersion pulumi.StringOutput `pulumi:"ehpcVersion"` // Specifies whether to enable the high availability feature. Default value: `false`. **Note:** If high availability is enabled, a primary management node and a secondary management node are used. HaEnable pulumi.BoolOutput `pulumi:"haEnable"` // The ID of the image. ImageId pulumi.StringOutput `pulumi:"imageId"` // The type of the image. Valid values: `others`, `self`, `system`, `marketplace`. Default value: `system`. ImageOwnerAlias pulumi.StringOutput `pulumi:"imageOwnerAlias"` // The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket. InputFileUrl pulumi.StringPtrOutput `pulumi:"inputFileUrl"` // Specifies whether to enable auto scaling. Default value: `false`. IsComputeEss pulumi.BoolPtrOutput `pulumi:"isComputeEss"` // The queue to which the compute nodes are added. JobQueue pulumi.StringPtrOutput `pulumi:"jobQueue"` // The name of the AccessKey pair. KeyPairName pulumi.StringPtrOutput `pulumi:"keyPairName"` // The number of the logon nodes. Valid values: `1`. LoginCount pulumi.IntOutput `pulumi:"loginCount"` // The instance type of the logon nodes. LoginInstanceType pulumi.StringOutput `pulumi:"loginInstanceType"` // The number of the management nodes. Valid values: 1 and 2. ManagerCount pulumi.IntOutput `pulumi:"managerCount"` // The instance type of the management nodes. ManagerInstanceType pulumi.StringOutput `pulumi:"managerInstanceType"` // The image tag of the operating system. OsTag pulumi.StringOutput `pulumi:"osTag"` // The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters: `( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /`. You must specify either `password` or `keyPairName`. If both are specified, the Password parameter prevails. Password pulumi.StringPtrOutput `pulumi:"password"` // The duration of the subscription. The unit of the duration is specified by the `periodUnit` parameter. Default value: `1`. // * If you set PriceUnit to Year, the valid values of the Period parameter are 1, 2, and 3. // * If you set PriceUnit to Month, the valid values of the Period parameter are 1, 2, 3, 4, 5, 6, 7, 8, and 9. // * If you set PriceUnit to Hour, the valid value of the Period parameter is 1. Period pulumi.IntPtrOutput `pulumi:"period"` // The unit of the subscription duration. Valid values: `Year`, `Month`, `Hour`. Default value: `Month`. PeriodUnit pulumi.StringPtrOutput `pulumi:"periodUnit"` // The mode configurations of the plug-in. This parameter takes effect only when the SchedulerType parameter is set to custom. The value must be a JSON string. The parameter contains the following parameters: pluginMod, pluginLocalPath, and pluginOssPath. // - pluginMod: the mode of the plug-in. The following modes are supported: // - oss: The plug-in is downloaded and decompressed from OSS to a local path. The local path is specified by the pluginLocalPath parameter. // - image: By default, the plug-in is stored in a pre-defined local path. The local path is specified by the pluginLocalPath parameter. // - pluginLocalPath: the local path where the plug-in is stored. We recommend that you select a shared directory in oss mode and a non-shared directory in image mode. // - pluginOssPath: the remote path where the plug-in is stored in OSS. This parameter takes effect only when the pluginMod parameter is set to oss. Plugin pulumi.StringPtrOutput `pulumi:"plugin"` // The post install script. See `postInstallScript` below. PostInstallScripts ClusterPostInstallScriptArrayOutput `pulumi:"postInstallScripts"` // The node of the RAM role. RamNodeTypes pulumi.StringArrayOutput `pulumi:"ramNodeTypes"` // The name of the Resource Access Management (RAM) role. RamRoleName pulumi.StringPtrOutput `pulumi:"ramRoleName"` // The release instance. Valid values: `true`. ReleaseInstance pulumi.BoolPtrOutput `pulumi:"releaseInstance"` // The remote directory to which the file system is mounted. RemoteDirectory pulumi.StringOutput `pulumi:"remoteDirectory"` // Specifies whether to enable Virtual Network Computing (VNC). Default value: `false`. RemoteVisEnable pulumi.BoolPtrOutput `pulumi:"remoteVisEnable"` // The ID of the resource group. ResourceGroupId pulumi.StringPtrOutput `pulumi:"resourceGroupId"` // The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster. SccClusterId pulumi.StringOutput `pulumi:"sccClusterId"` // The type of the scheduler. Valid values: `pbs`, `slurm`, `opengridscheduler` and `deadline`. Default value: `pbs`. SchedulerType pulumi.StringOutput `pulumi:"schedulerType"` // The ID of the security group to which the cluster belongs. SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"` // If you do not use an existing security group, set the parameter to the name of a new security group. A default policy is applied to the new security group. SecurityGroupName pulumi.StringPtrOutput `pulumi:"securityGroupName"` // The status of the resource. Status pulumi.StringOutput `pulumi:"status"` // The performance level of the ESSD that is used as the system disk. Default value: `PL1` For more information, see [ESSDs](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/essds). Valid values: SystemDiskLevel pulumi.StringPtrOutput `pulumi:"systemDiskLevel"` // The size of the system disk. Unit: `GB`. Valid values: `40` to `500`. Default value: `40`. SystemDiskSize pulumi.IntPtrOutput `pulumi:"systemDiskSize"` // The type of the system disk. Valid values: `cloudEfficiency`, `cloudSsd`, `cloudEssd` or `cloud`. Default value: `cloudSsd`. SystemDiskType pulumi.StringPtrOutput `pulumi:"systemDiskType"` // The ID of the file system. If you leave the parameter empty, a Performance NAS file system is created by default. VolumeId pulumi.StringOutput `pulumi:"volumeId"` // The mount options of the file system. VolumeMountOption pulumi.StringPtrOutput `pulumi:"volumeMountOption"` // The mount target of the file system. Take note of the following information: // - If you do not specify the VolumeId parameter, you can leave the VolumeMountpoint parameter empty. A mount target is created by default. // - If you specify the VolumeId parameter, the VolumeMountpoint parameter is required. VolumeMountpoint pulumi.StringOutput `pulumi:"volumeMountpoint"` // The type of the protocol that is used by the file system. Valid values: `NFS`, `SMB`. Default value: `NFS`. VolumeProtocol pulumi.StringOutput `pulumi:"volumeProtocol"` // The type of the shared storage. Only Apsara File Storage NAS file systems are supported. VolumeType pulumi.StringOutput `pulumi:"volumeType"` // The ID of the virtual private cloud (VPC) to which the cluster belongs. VpcId pulumi.StringOutput `pulumi:"vpcId"` // The ID of the vSwitch. E-HPC supports only VPC networks. VswitchId pulumi.StringOutput `pulumi:"vswitchId"` // Specifies whether not to install the agent. Default value: `false`. WithoutAgent pulumi.BoolPtrOutput `pulumi:"withoutAgent"` // Specifies whether the logon node uses an elastic IP address (EIP). Default value: `false`. WithoutElasticIp pulumi.BoolPtrOutput `pulumi:"withoutElasticIp"` // The ID of the zone. ZoneId pulumi.StringOutput `pulumi:"zoneId"` }
Provides a Ehpc Cluster resource.
For information about Ehpc Cluster and how to use it, see [What is Cluster](https://www.alibabacloud.com/help/e-hpc/latest/createcluster).
> **NOTE:** Available since v1.173.0.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ecs" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ehpc" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/nas" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "tf-example" if param := cfg.Get("name"); param != "" { name = param } defaultZones, err := alicloud.GetZones(ctx, &alicloud.GetZonesArgs{ AvailableResourceCreation: pulumi.StringRef("VSwitch"), }, nil) if err != nil { return err } defaultImages, err := ecs.GetImages(ctx, &ecs.GetImagesArgs{ NameRegex: pulumi.StringRef("^centos_7_6_x64*"), Owners: pulumi.StringRef("system"), }, nil) if err != nil { return err } defaultInstanceTypes, err := ecs.GetInstanceTypes(ctx, &ecs.GetInstanceTypesArgs{ AvailabilityZone: pulumi.StringRef(defaultZones.Zones[0].Id), }, nil) if err != nil { return err } defaultNetwork, err := vpc.NewNetwork(ctx, "defaultNetwork", &vpc.NetworkArgs{ VpcName: pulumi.String(name), CidrBlock: pulumi.String("10.0.0.0/8"), }) if err != nil { return err } defaultSwitch, err := vpc.NewSwitch(ctx, "defaultSwitch", &vpc.SwitchArgs{ VswitchName: pulumi.String(name), CidrBlock: pulumi.String("10.1.0.0/16"), VpcId: defaultNetwork.ID(), ZoneId: *pulumi.String(defaultZones.Zones[0].Id), }) if err != nil { return err } defaultFileSystem, err := nas.NewFileSystem(ctx, "defaultFileSystem", &nas.FileSystemArgs{ StorageType: pulumi.String("Performance"), ProtocolType: pulumi.String("NFS"), }) if err != nil { return err } defaultMountTarget, err := nas.NewMountTarget(ctx, "defaultMountTarget", &nas.MountTargetArgs{ FileSystemId: defaultFileSystem.ID(), AccessGroupName: pulumi.String("DEFAULT_VPC_GROUP_NAME"), VswitchId: defaultSwitch.ID(), }) if err != nil { return err } _, err = ehpc.NewCluster(ctx, "defaultCluster", &ehpc.ClusterArgs{ ClusterName: pulumi.String(name), DeployMode: pulumi.String("Simple"), Description: pulumi.String(name), HaEnable: pulumi.Bool(false), ImageId: *pulumi.String(defaultImages.Images[0].Id), ImageOwnerAlias: pulumi.String("system"), VolumeProtocol: pulumi.String("nfs"), VolumeId: defaultFileSystem.ID(), VolumeMountpoint: defaultMountTarget.MountTargetDomain, ComputeCount: pulumi.Int(1), ComputeInstanceType: *pulumi.String(defaultInstanceTypes.InstanceTypes[0].Id), LoginCount: pulumi.Int(1), LoginInstanceType: *pulumi.String(defaultInstanceTypes.InstanceTypes[0].Id), ManagerCount: pulumi.Int(1), ManagerInstanceType: *pulumi.String(defaultInstanceTypes.InstanceTypes[0].Id), OsTag: pulumi.String("CentOS_7.6_64"), SchedulerType: pulumi.String("pbs"), Password: pulumi.String("your-password123"), VswitchId: defaultSwitch.ID(), VpcId: defaultNetwork.ID(), ZoneId: *pulumi.String(defaultZones.Zones[0].Id), }) if err != nil { return err } return nil }) }
```
## Import
Ehpc Cluster can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ehpc/cluster:Cluster example <id>
```
func GetCluster ¶ added in v3.22.0
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 ¶ added in v3.22.0
func NewCluster(ctx *pulumi.Context, name string, args *ClusterArgs, opts ...pulumi.ResourceOption) (*Cluster, error)
NewCluster registers a new resource with the given unique name, arguments, and options.
func (*Cluster) ElementType ¶ added in v3.22.0
func (*Cluster) ToClusterOutput ¶ added in v3.22.0
func (i *Cluster) ToClusterOutput() ClusterOutput
func (*Cluster) ToClusterOutputWithContext ¶ added in v3.22.0
func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
type ClusterAdditionalVolume ¶ added in v3.22.0
type ClusterAdditionalVolume struct { // The queue of the nodes to which the additional file system is attached. JobQueue *string `pulumi:"jobQueue"` // The local directory on which the additional file system is mounted. LocalDirectory *string `pulumi:"localDirectory"` // The type of the cluster. Valid value: `PublicCloud`. Location *string `pulumi:"location"` // The remote directory to which the additional file system is mounted. RemoteDirectory *string `pulumi:"remoteDirectory"` // The roles. See `roles` below. Roles []ClusterAdditionalVolumeRole `pulumi:"roles"` // The ID of the additional file system. VolumeId *string `pulumi:"volumeId"` // The mount options of the file system. VolumeMountOption *string `pulumi:"volumeMountOption"` // The mount target of the additional file system. VolumeMountpoint *string `pulumi:"volumeMountpoint"` // The type of the protocol that is used by the additional file system. Valid values: `NFS`, `SMB`. Default value: `NFS` VolumeProtocol *string `pulumi:"volumeProtocol"` // The type of the additional shared storage. Only NAS file systems are supported. VolumeType *string `pulumi:"volumeType"` }
type ClusterAdditionalVolumeArgs ¶ added in v3.22.0
type ClusterAdditionalVolumeArgs struct { // The queue of the nodes to which the additional file system is attached. JobQueue pulumi.StringPtrInput `pulumi:"jobQueue"` // The local directory on which the additional file system is mounted. LocalDirectory pulumi.StringPtrInput `pulumi:"localDirectory"` // The type of the cluster. Valid value: `PublicCloud`. Location pulumi.StringPtrInput `pulumi:"location"` // The remote directory to which the additional file system is mounted. RemoteDirectory pulumi.StringPtrInput `pulumi:"remoteDirectory"` // The roles. See `roles` below. Roles ClusterAdditionalVolumeRoleArrayInput `pulumi:"roles"` // The ID of the additional file system. VolumeId pulumi.StringPtrInput `pulumi:"volumeId"` // The mount options of the file system. VolumeMountOption pulumi.StringPtrInput `pulumi:"volumeMountOption"` // The mount target of the additional file system. VolumeMountpoint pulumi.StringPtrInput `pulumi:"volumeMountpoint"` // The type of the protocol that is used by the additional file system. Valid values: `NFS`, `SMB`. Default value: `NFS` VolumeProtocol pulumi.StringPtrInput `pulumi:"volumeProtocol"` // The type of the additional shared storage. Only NAS file systems are supported. VolumeType pulumi.StringPtrInput `pulumi:"volumeType"` }
func (ClusterAdditionalVolumeArgs) ElementType ¶ added in v3.22.0
func (ClusterAdditionalVolumeArgs) ElementType() reflect.Type
func (ClusterAdditionalVolumeArgs) ToClusterAdditionalVolumeOutput ¶ added in v3.22.0
func (i ClusterAdditionalVolumeArgs) ToClusterAdditionalVolumeOutput() ClusterAdditionalVolumeOutput
func (ClusterAdditionalVolumeArgs) ToClusterAdditionalVolumeOutputWithContext ¶ added in v3.22.0
func (i ClusterAdditionalVolumeArgs) ToClusterAdditionalVolumeOutputWithContext(ctx context.Context) ClusterAdditionalVolumeOutput
func (ClusterAdditionalVolumeArgs) ToOutput ¶ added in v3.43.1
func (i ClusterAdditionalVolumeArgs) ToOutput(ctx context.Context) pulumix.Output[ClusterAdditionalVolume]
type ClusterAdditionalVolumeArray ¶ added in v3.22.0
type ClusterAdditionalVolumeArray []ClusterAdditionalVolumeInput
func (ClusterAdditionalVolumeArray) ElementType ¶ added in v3.22.0
func (ClusterAdditionalVolumeArray) ElementType() reflect.Type
func (ClusterAdditionalVolumeArray) ToClusterAdditionalVolumeArrayOutput ¶ added in v3.22.0
func (i ClusterAdditionalVolumeArray) ToClusterAdditionalVolumeArrayOutput() ClusterAdditionalVolumeArrayOutput
func (ClusterAdditionalVolumeArray) ToClusterAdditionalVolumeArrayOutputWithContext ¶ added in v3.22.0
func (i ClusterAdditionalVolumeArray) ToClusterAdditionalVolumeArrayOutputWithContext(ctx context.Context) ClusterAdditionalVolumeArrayOutput
func (ClusterAdditionalVolumeArray) ToOutput ¶ added in v3.43.1
func (i ClusterAdditionalVolumeArray) ToOutput(ctx context.Context) pulumix.Output[[]ClusterAdditionalVolume]
type ClusterAdditionalVolumeArrayInput ¶ added in v3.22.0
type ClusterAdditionalVolumeArrayInput interface { pulumi.Input ToClusterAdditionalVolumeArrayOutput() ClusterAdditionalVolumeArrayOutput ToClusterAdditionalVolumeArrayOutputWithContext(context.Context) ClusterAdditionalVolumeArrayOutput }
ClusterAdditionalVolumeArrayInput is an input type that accepts ClusterAdditionalVolumeArray and ClusterAdditionalVolumeArrayOutput values. You can construct a concrete instance of `ClusterAdditionalVolumeArrayInput` via:
ClusterAdditionalVolumeArray{ ClusterAdditionalVolumeArgs{...} }
type ClusterAdditionalVolumeArrayOutput ¶ added in v3.22.0
type ClusterAdditionalVolumeArrayOutput struct{ *pulumi.OutputState }
func (ClusterAdditionalVolumeArrayOutput) ElementType ¶ added in v3.22.0
func (ClusterAdditionalVolumeArrayOutput) ElementType() reflect.Type
func (ClusterAdditionalVolumeArrayOutput) Index ¶ added in v3.22.0
func (o ClusterAdditionalVolumeArrayOutput) Index(i pulumi.IntInput) ClusterAdditionalVolumeOutput
func (ClusterAdditionalVolumeArrayOutput) ToClusterAdditionalVolumeArrayOutput ¶ added in v3.22.0
func (o ClusterAdditionalVolumeArrayOutput) ToClusterAdditionalVolumeArrayOutput() ClusterAdditionalVolumeArrayOutput
func (ClusterAdditionalVolumeArrayOutput) ToClusterAdditionalVolumeArrayOutputWithContext ¶ added in v3.22.0
func (o ClusterAdditionalVolumeArrayOutput) ToClusterAdditionalVolumeArrayOutputWithContext(ctx context.Context) ClusterAdditionalVolumeArrayOutput
func (ClusterAdditionalVolumeArrayOutput) ToOutput ¶ added in v3.43.1
func (o ClusterAdditionalVolumeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ClusterAdditionalVolume]
type ClusterAdditionalVolumeInput ¶ added in v3.22.0
type ClusterAdditionalVolumeInput interface { pulumi.Input ToClusterAdditionalVolumeOutput() ClusterAdditionalVolumeOutput ToClusterAdditionalVolumeOutputWithContext(context.Context) ClusterAdditionalVolumeOutput }
ClusterAdditionalVolumeInput is an input type that accepts ClusterAdditionalVolumeArgs and ClusterAdditionalVolumeOutput values. You can construct a concrete instance of `ClusterAdditionalVolumeInput` via:
ClusterAdditionalVolumeArgs{...}
type ClusterAdditionalVolumeOutput ¶ added in v3.22.0
type ClusterAdditionalVolumeOutput struct{ *pulumi.OutputState }
func (ClusterAdditionalVolumeOutput) ElementType ¶ added in v3.22.0
func (ClusterAdditionalVolumeOutput) ElementType() reflect.Type
func (ClusterAdditionalVolumeOutput) JobQueue ¶ added in v3.22.0
func (o ClusterAdditionalVolumeOutput) JobQueue() pulumi.StringPtrOutput
The queue of the nodes to which the additional file system is attached.
func (ClusterAdditionalVolumeOutput) LocalDirectory ¶ added in v3.22.0
func (o ClusterAdditionalVolumeOutput) LocalDirectory() pulumi.StringPtrOutput
The local directory on which the additional file system is mounted.
func (ClusterAdditionalVolumeOutput) Location ¶ added in v3.22.0
func (o ClusterAdditionalVolumeOutput) Location() pulumi.StringPtrOutput
The type of the cluster. Valid value: `PublicCloud`.
func (ClusterAdditionalVolumeOutput) RemoteDirectory ¶ added in v3.22.0
func (o ClusterAdditionalVolumeOutput) RemoteDirectory() pulumi.StringPtrOutput
The remote directory to which the additional file system is mounted.
func (ClusterAdditionalVolumeOutput) Roles ¶ added in v3.22.0
func (o ClusterAdditionalVolumeOutput) Roles() ClusterAdditionalVolumeRoleArrayOutput
The roles. See `roles` below.
func (ClusterAdditionalVolumeOutput) ToClusterAdditionalVolumeOutput ¶ added in v3.22.0
func (o ClusterAdditionalVolumeOutput) ToClusterAdditionalVolumeOutput() ClusterAdditionalVolumeOutput
func (ClusterAdditionalVolumeOutput) ToClusterAdditionalVolumeOutputWithContext ¶ added in v3.22.0
func (o ClusterAdditionalVolumeOutput) ToClusterAdditionalVolumeOutputWithContext(ctx context.Context) ClusterAdditionalVolumeOutput
func (ClusterAdditionalVolumeOutput) ToOutput ¶ added in v3.43.1
func (o ClusterAdditionalVolumeOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterAdditionalVolume]
func (ClusterAdditionalVolumeOutput) VolumeId ¶ added in v3.22.0
func (o ClusterAdditionalVolumeOutput) VolumeId() pulumi.StringPtrOutput
The ID of the additional file system.
func (ClusterAdditionalVolumeOutput) VolumeMountOption ¶ added in v3.22.0
func (o ClusterAdditionalVolumeOutput) VolumeMountOption() pulumi.StringPtrOutput
The mount options of the file system.
func (ClusterAdditionalVolumeOutput) VolumeMountpoint ¶ added in v3.22.0
func (o ClusterAdditionalVolumeOutput) VolumeMountpoint() pulumi.StringPtrOutput
The mount target of the additional file system.
func (ClusterAdditionalVolumeOutput) VolumeProtocol ¶ added in v3.22.0
func (o ClusterAdditionalVolumeOutput) VolumeProtocol() pulumi.StringPtrOutput
The type of the protocol that is used by the additional file system. Valid values: `NFS`, `SMB`. Default value: `NFS`
func (ClusterAdditionalVolumeOutput) VolumeType ¶ added in v3.22.0
func (o ClusterAdditionalVolumeOutput) VolumeType() pulumi.StringPtrOutput
The type of the additional shared storage. Only NAS file systems are supported.
type ClusterAdditionalVolumeRole ¶ added in v3.22.0
type ClusterAdditionalVolumeRole struct { // The type of the nodes to which the additional file system is attached. Name *string `pulumi:"name"` }
type ClusterAdditionalVolumeRoleArgs ¶ added in v3.22.0
type ClusterAdditionalVolumeRoleArgs struct { // The type of the nodes to which the additional file system is attached. Name pulumi.StringPtrInput `pulumi:"name"` }
func (ClusterAdditionalVolumeRoleArgs) ElementType ¶ added in v3.22.0
func (ClusterAdditionalVolumeRoleArgs) ElementType() reflect.Type
func (ClusterAdditionalVolumeRoleArgs) ToClusterAdditionalVolumeRoleOutput ¶ added in v3.22.0
func (i ClusterAdditionalVolumeRoleArgs) ToClusterAdditionalVolumeRoleOutput() ClusterAdditionalVolumeRoleOutput
func (ClusterAdditionalVolumeRoleArgs) ToClusterAdditionalVolumeRoleOutputWithContext ¶ added in v3.22.0
func (i ClusterAdditionalVolumeRoleArgs) ToClusterAdditionalVolumeRoleOutputWithContext(ctx context.Context) ClusterAdditionalVolumeRoleOutput
func (ClusterAdditionalVolumeRoleArgs) ToOutput ¶ added in v3.43.1
func (i ClusterAdditionalVolumeRoleArgs) ToOutput(ctx context.Context) pulumix.Output[ClusterAdditionalVolumeRole]
type ClusterAdditionalVolumeRoleArray ¶ added in v3.22.0
type ClusterAdditionalVolumeRoleArray []ClusterAdditionalVolumeRoleInput
func (ClusterAdditionalVolumeRoleArray) ElementType ¶ added in v3.22.0
func (ClusterAdditionalVolumeRoleArray) ElementType() reflect.Type
func (ClusterAdditionalVolumeRoleArray) ToClusterAdditionalVolumeRoleArrayOutput ¶ added in v3.22.0
func (i ClusterAdditionalVolumeRoleArray) ToClusterAdditionalVolumeRoleArrayOutput() ClusterAdditionalVolumeRoleArrayOutput
func (ClusterAdditionalVolumeRoleArray) ToClusterAdditionalVolumeRoleArrayOutputWithContext ¶ added in v3.22.0
func (i ClusterAdditionalVolumeRoleArray) ToClusterAdditionalVolumeRoleArrayOutputWithContext(ctx context.Context) ClusterAdditionalVolumeRoleArrayOutput
func (ClusterAdditionalVolumeRoleArray) ToOutput ¶ added in v3.43.1
func (i ClusterAdditionalVolumeRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]ClusterAdditionalVolumeRole]
type ClusterAdditionalVolumeRoleArrayInput ¶ added in v3.22.0
type ClusterAdditionalVolumeRoleArrayInput interface { pulumi.Input ToClusterAdditionalVolumeRoleArrayOutput() ClusterAdditionalVolumeRoleArrayOutput ToClusterAdditionalVolumeRoleArrayOutputWithContext(context.Context) ClusterAdditionalVolumeRoleArrayOutput }
ClusterAdditionalVolumeRoleArrayInput is an input type that accepts ClusterAdditionalVolumeRoleArray and ClusterAdditionalVolumeRoleArrayOutput values. You can construct a concrete instance of `ClusterAdditionalVolumeRoleArrayInput` via:
ClusterAdditionalVolumeRoleArray{ ClusterAdditionalVolumeRoleArgs{...} }
type ClusterAdditionalVolumeRoleArrayOutput ¶ added in v3.22.0
type ClusterAdditionalVolumeRoleArrayOutput struct{ *pulumi.OutputState }
func (ClusterAdditionalVolumeRoleArrayOutput) ElementType ¶ added in v3.22.0
func (ClusterAdditionalVolumeRoleArrayOutput) ElementType() reflect.Type
func (ClusterAdditionalVolumeRoleArrayOutput) ToClusterAdditionalVolumeRoleArrayOutput ¶ added in v3.22.0
func (o ClusterAdditionalVolumeRoleArrayOutput) ToClusterAdditionalVolumeRoleArrayOutput() ClusterAdditionalVolumeRoleArrayOutput
func (ClusterAdditionalVolumeRoleArrayOutput) ToClusterAdditionalVolumeRoleArrayOutputWithContext ¶ added in v3.22.0
func (o ClusterAdditionalVolumeRoleArrayOutput) ToClusterAdditionalVolumeRoleArrayOutputWithContext(ctx context.Context) ClusterAdditionalVolumeRoleArrayOutput
func (ClusterAdditionalVolumeRoleArrayOutput) ToOutput ¶ added in v3.43.1
func (o ClusterAdditionalVolumeRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ClusterAdditionalVolumeRole]
type ClusterAdditionalVolumeRoleInput ¶ added in v3.22.0
type ClusterAdditionalVolumeRoleInput interface { pulumi.Input ToClusterAdditionalVolumeRoleOutput() ClusterAdditionalVolumeRoleOutput ToClusterAdditionalVolumeRoleOutputWithContext(context.Context) ClusterAdditionalVolumeRoleOutput }
ClusterAdditionalVolumeRoleInput is an input type that accepts ClusterAdditionalVolumeRoleArgs and ClusterAdditionalVolumeRoleOutput values. You can construct a concrete instance of `ClusterAdditionalVolumeRoleInput` via:
ClusterAdditionalVolumeRoleArgs{...}
type ClusterAdditionalVolumeRoleOutput ¶ added in v3.22.0
type ClusterAdditionalVolumeRoleOutput struct{ *pulumi.OutputState }
func (ClusterAdditionalVolumeRoleOutput) ElementType ¶ added in v3.22.0
func (ClusterAdditionalVolumeRoleOutput) ElementType() reflect.Type
func (ClusterAdditionalVolumeRoleOutput) Name ¶ added in v3.22.0
func (o ClusterAdditionalVolumeRoleOutput) Name() pulumi.StringPtrOutput
The type of the nodes to which the additional file system is attached.
func (ClusterAdditionalVolumeRoleOutput) ToClusterAdditionalVolumeRoleOutput ¶ added in v3.22.0
func (o ClusterAdditionalVolumeRoleOutput) ToClusterAdditionalVolumeRoleOutput() ClusterAdditionalVolumeRoleOutput
func (ClusterAdditionalVolumeRoleOutput) ToClusterAdditionalVolumeRoleOutputWithContext ¶ added in v3.22.0
func (o ClusterAdditionalVolumeRoleOutput) ToClusterAdditionalVolumeRoleOutputWithContext(ctx context.Context) ClusterAdditionalVolumeRoleOutput
func (ClusterAdditionalVolumeRoleOutput) ToOutput ¶ added in v3.43.1
func (o ClusterAdditionalVolumeRoleOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterAdditionalVolumeRole]
type ClusterApplication ¶ added in v3.22.0
type ClusterApplication struct { // The tag of the software. Tag *string `pulumi:"tag"` }
type ClusterApplicationArgs ¶ added in v3.22.0
type ClusterApplicationArgs struct { // The tag of the software. Tag pulumi.StringPtrInput `pulumi:"tag"` }
func (ClusterApplicationArgs) ElementType ¶ added in v3.22.0
func (ClusterApplicationArgs) ElementType() reflect.Type
func (ClusterApplicationArgs) ToClusterApplicationOutput ¶ added in v3.22.0
func (i ClusterApplicationArgs) ToClusterApplicationOutput() ClusterApplicationOutput
func (ClusterApplicationArgs) ToClusterApplicationOutputWithContext ¶ added in v3.22.0
func (i ClusterApplicationArgs) ToClusterApplicationOutputWithContext(ctx context.Context) ClusterApplicationOutput
func (ClusterApplicationArgs) ToOutput ¶ added in v3.43.1
func (i ClusterApplicationArgs) ToOutput(ctx context.Context) pulumix.Output[ClusterApplication]
type ClusterApplicationArray ¶ added in v3.22.0
type ClusterApplicationArray []ClusterApplicationInput
func (ClusterApplicationArray) ElementType ¶ added in v3.22.0
func (ClusterApplicationArray) ElementType() reflect.Type
func (ClusterApplicationArray) ToClusterApplicationArrayOutput ¶ added in v3.22.0
func (i ClusterApplicationArray) ToClusterApplicationArrayOutput() ClusterApplicationArrayOutput
func (ClusterApplicationArray) ToClusterApplicationArrayOutputWithContext ¶ added in v3.22.0
func (i ClusterApplicationArray) ToClusterApplicationArrayOutputWithContext(ctx context.Context) ClusterApplicationArrayOutput
func (ClusterApplicationArray) ToOutput ¶ added in v3.43.1
func (i ClusterApplicationArray) ToOutput(ctx context.Context) pulumix.Output[[]ClusterApplication]
type ClusterApplicationArrayInput ¶ added in v3.22.0
type ClusterApplicationArrayInput interface { pulumi.Input ToClusterApplicationArrayOutput() ClusterApplicationArrayOutput ToClusterApplicationArrayOutputWithContext(context.Context) ClusterApplicationArrayOutput }
ClusterApplicationArrayInput is an input type that accepts ClusterApplicationArray and ClusterApplicationArrayOutput values. You can construct a concrete instance of `ClusterApplicationArrayInput` via:
ClusterApplicationArray{ ClusterApplicationArgs{...} }
type ClusterApplicationArrayOutput ¶ added in v3.22.0
type ClusterApplicationArrayOutput struct{ *pulumi.OutputState }
func (ClusterApplicationArrayOutput) ElementType ¶ added in v3.22.0
func (ClusterApplicationArrayOutput) ElementType() reflect.Type
func (ClusterApplicationArrayOutput) Index ¶ added in v3.22.0
func (o ClusterApplicationArrayOutput) Index(i pulumi.IntInput) ClusterApplicationOutput
func (ClusterApplicationArrayOutput) ToClusterApplicationArrayOutput ¶ added in v3.22.0
func (o ClusterApplicationArrayOutput) ToClusterApplicationArrayOutput() ClusterApplicationArrayOutput
func (ClusterApplicationArrayOutput) ToClusterApplicationArrayOutputWithContext ¶ added in v3.22.0
func (o ClusterApplicationArrayOutput) ToClusterApplicationArrayOutputWithContext(ctx context.Context) ClusterApplicationArrayOutput
func (ClusterApplicationArrayOutput) ToOutput ¶ added in v3.43.1
func (o ClusterApplicationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ClusterApplication]
type ClusterApplicationInput ¶ added in v3.22.0
type ClusterApplicationInput interface { pulumi.Input ToClusterApplicationOutput() ClusterApplicationOutput ToClusterApplicationOutputWithContext(context.Context) ClusterApplicationOutput }
ClusterApplicationInput is an input type that accepts ClusterApplicationArgs and ClusterApplicationOutput values. You can construct a concrete instance of `ClusterApplicationInput` via:
ClusterApplicationArgs{...}
type ClusterApplicationOutput ¶ added in v3.22.0
type ClusterApplicationOutput struct{ *pulumi.OutputState }
func (ClusterApplicationOutput) ElementType ¶ added in v3.22.0
func (ClusterApplicationOutput) ElementType() reflect.Type
func (ClusterApplicationOutput) Tag ¶ added in v3.22.0
func (o ClusterApplicationOutput) Tag() pulumi.StringPtrOutput
The tag of the software.
func (ClusterApplicationOutput) ToClusterApplicationOutput ¶ added in v3.22.0
func (o ClusterApplicationOutput) ToClusterApplicationOutput() ClusterApplicationOutput
func (ClusterApplicationOutput) ToClusterApplicationOutputWithContext ¶ added in v3.22.0
func (o ClusterApplicationOutput) ToClusterApplicationOutputWithContext(ctx context.Context) ClusterApplicationOutput
func (ClusterApplicationOutput) ToOutput ¶ added in v3.43.1
func (o ClusterApplicationOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterApplication]
type ClusterArgs ¶ added in v3.22.0
type ClusterArgs struct { // The type of the domain account service. Valid values: `nis`, `ldap`. Default value: `nis` AccountType pulumi.StringPtrInput // The additional volumes. See `additionalVolumes` below. AdditionalVolumes ClusterAdditionalVolumeArrayInput // The application. See `application` below. Applications ClusterApplicationArrayInput // Specifies whether to enable auto-renewal for the subscription. Default value: `false`. AutoRenew pulumi.BoolPtrInput // The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true. AutoRenewPeriod pulumi.IntPtrInput // The version of the E-HPC client. By default, the parameter is set to the latest version number. ClientVersion pulumi.StringPtrInput // The name of the cluster. The name must be `2` to `64` characters in length. ClusterName pulumi.StringInput // The version of the cluster. Default value: `1.0`. ClusterVersion pulumi.StringPtrInput // The number of the compute nodes. Valid values: `1` to `99`. ComputeCount pulumi.IntInput // Specifies whether the compute nodes support hyper-threading. Default value: `true`. ComputeEnableHt pulumi.BoolPtrInput // The instance type of the compute nodes. ComputeInstanceType pulumi.StringInput // The maximum hourly price of the compute nodes. A maximum of three decimal places can be used in the value of the parameter. The parameter is valid only when the ComputeSpotStrategy parameter is set to SpotWithPriceLimit. ComputeSpotPriceLimit pulumi.StringPtrInput // The bidding method of the compute nodes. Default value: `NoSpot`. Valid values: ComputeSpotStrategy pulumi.StringPtrInput // The mode in which the cluster is deployed. Valid values: `Standard`, `Simple`, `Tiny`. Default value: Standard. DeployMode pulumi.StringPtrInput // The description of the cluster. The description must be `2` to `256` characters in length. It cannot start with `http://` or `https://`. Description pulumi.StringPtrInput // The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap. Domain pulumi.StringPtrInput // The billing method of the nodes. EcsChargeType pulumi.StringPtrInput // The version of E-HPC. By default, the parameter is set to the latest version number. EhpcVersion pulumi.StringPtrInput // Specifies whether to enable the high availability feature. Default value: `false`. **Note:** If high availability is enabled, a primary management node and a secondary management node are used. HaEnable pulumi.BoolPtrInput // The ID of the image. ImageId pulumi.StringPtrInput // The type of the image. Valid values: `others`, `self`, `system`, `marketplace`. Default value: `system`. ImageOwnerAlias pulumi.StringPtrInput // The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket. InputFileUrl pulumi.StringPtrInput // Specifies whether to enable auto scaling. Default value: `false`. IsComputeEss pulumi.BoolPtrInput // The queue to which the compute nodes are added. JobQueue pulumi.StringPtrInput // The name of the AccessKey pair. KeyPairName pulumi.StringPtrInput // The number of the logon nodes. Valid values: `1`. LoginCount pulumi.IntInput // The instance type of the logon nodes. LoginInstanceType pulumi.StringInput // The number of the management nodes. Valid values: 1 and 2. ManagerCount pulumi.IntPtrInput // The instance type of the management nodes. ManagerInstanceType pulumi.StringInput // The image tag of the operating system. OsTag pulumi.StringInput // The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters: `( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /`. You must specify either `password` or `keyPairName`. If both are specified, the Password parameter prevails. Password pulumi.StringPtrInput // The duration of the subscription. The unit of the duration is specified by the `periodUnit` parameter. Default value: `1`. // * If you set PriceUnit to Year, the valid values of the Period parameter are 1, 2, and 3. // * If you set PriceUnit to Month, the valid values of the Period parameter are 1, 2, 3, 4, 5, 6, 7, 8, and 9. // * If you set PriceUnit to Hour, the valid value of the Period parameter is 1. Period pulumi.IntPtrInput // The unit of the subscription duration. Valid values: `Year`, `Month`, `Hour`. Default value: `Month`. PeriodUnit pulumi.StringPtrInput // The mode configurations of the plug-in. This parameter takes effect only when the SchedulerType parameter is set to custom. The value must be a JSON string. The parameter contains the following parameters: pluginMod, pluginLocalPath, and pluginOssPath. // - pluginMod: the mode of the plug-in. The following modes are supported: // - oss: The plug-in is downloaded and decompressed from OSS to a local path. The local path is specified by the pluginLocalPath parameter. // - image: By default, the plug-in is stored in a pre-defined local path. The local path is specified by the pluginLocalPath parameter. // - pluginLocalPath: the local path where the plug-in is stored. We recommend that you select a shared directory in oss mode and a non-shared directory in image mode. // - pluginOssPath: the remote path where the plug-in is stored in OSS. This parameter takes effect only when the pluginMod parameter is set to oss. Plugin pulumi.StringPtrInput // The post install script. See `postInstallScript` below. PostInstallScripts ClusterPostInstallScriptArrayInput // The node of the RAM role. RamNodeTypes pulumi.StringArrayInput // The name of the Resource Access Management (RAM) role. RamRoleName pulumi.StringPtrInput // The release instance. Valid values: `true`. ReleaseInstance pulumi.BoolPtrInput // The remote directory to which the file system is mounted. RemoteDirectory pulumi.StringPtrInput // Specifies whether to enable Virtual Network Computing (VNC). Default value: `false`. RemoteVisEnable pulumi.BoolPtrInput // The ID of the resource group. ResourceGroupId pulumi.StringPtrInput // The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster. SccClusterId pulumi.StringPtrInput // The type of the scheduler. Valid values: `pbs`, `slurm`, `opengridscheduler` and `deadline`. Default value: `pbs`. SchedulerType pulumi.StringPtrInput // The ID of the security group to which the cluster belongs. SecurityGroupId pulumi.StringPtrInput // If you do not use an existing security group, set the parameter to the name of a new security group. A default policy is applied to the new security group. SecurityGroupName pulumi.StringPtrInput // The performance level of the ESSD that is used as the system disk. Default value: `PL1` For more information, see [ESSDs](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/essds). Valid values: SystemDiskLevel pulumi.StringPtrInput // The size of the system disk. Unit: `GB`. Valid values: `40` to `500`. Default value: `40`. SystemDiskSize pulumi.IntPtrInput // The type of the system disk. Valid values: `cloudEfficiency`, `cloudSsd`, `cloudEssd` or `cloud`. Default value: `cloudSsd`. SystemDiskType pulumi.StringPtrInput // The ID of the file system. If you leave the parameter empty, a Performance NAS file system is created by default. VolumeId pulumi.StringPtrInput // The mount options of the file system. VolumeMountOption pulumi.StringPtrInput // The mount target of the file system. Take note of the following information: // - If you do not specify the VolumeId parameter, you can leave the VolumeMountpoint parameter empty. A mount target is created by default. // - If you specify the VolumeId parameter, the VolumeMountpoint parameter is required. VolumeMountpoint pulumi.StringPtrInput // The type of the protocol that is used by the file system. Valid values: `NFS`, `SMB`. Default value: `NFS`. VolumeProtocol pulumi.StringPtrInput // The type of the shared storage. Only Apsara File Storage NAS file systems are supported. VolumeType pulumi.StringPtrInput // The ID of the virtual private cloud (VPC) to which the cluster belongs. VpcId pulumi.StringPtrInput // The ID of the vSwitch. E-HPC supports only VPC networks. VswitchId pulumi.StringPtrInput // Specifies whether not to install the agent. Default value: `false`. WithoutAgent pulumi.BoolPtrInput // Specifies whether the logon node uses an elastic IP address (EIP). Default value: `false`. WithoutElasticIp pulumi.BoolPtrInput // The ID of the zone. ZoneId pulumi.StringPtrInput }
The set of arguments for constructing a Cluster resource.
func (ClusterArgs) ElementType ¶ added in v3.22.0
func (ClusterArgs) ElementType() reflect.Type
type ClusterArray ¶ added in v3.22.0
type ClusterArray []ClusterInput
func (ClusterArray) ElementType ¶ added in v3.22.0
func (ClusterArray) ElementType() reflect.Type
func (ClusterArray) ToClusterArrayOutput ¶ added in v3.22.0
func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput
func (ClusterArray) ToClusterArrayOutputWithContext ¶ added in v3.22.0
func (i ClusterArray) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput
type ClusterArrayInput ¶ added in v3.22.0
type ClusterArrayInput interface { pulumi.Input ToClusterArrayOutput() ClusterArrayOutput ToClusterArrayOutputWithContext(context.Context) ClusterArrayOutput }
ClusterArrayInput is an input type that accepts ClusterArray and ClusterArrayOutput values. You can construct a concrete instance of `ClusterArrayInput` via:
ClusterArray{ ClusterArgs{...} }
type ClusterArrayOutput ¶ added in v3.22.0
type ClusterArrayOutput struct{ *pulumi.OutputState }
func (ClusterArrayOutput) ElementType ¶ added in v3.22.0
func (ClusterArrayOutput) ElementType() reflect.Type
func (ClusterArrayOutput) Index ¶ added in v3.22.0
func (o ClusterArrayOutput) Index(i pulumi.IntInput) ClusterOutput
func (ClusterArrayOutput) ToClusterArrayOutput ¶ added in v3.22.0
func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput
func (ClusterArrayOutput) ToClusterArrayOutputWithContext ¶ added in v3.22.0
func (o ClusterArrayOutput) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput
type ClusterInput ¶ added in v3.22.0
type ClusterInput interface { pulumi.Input ToClusterOutput() ClusterOutput ToClusterOutputWithContext(ctx context.Context) ClusterOutput }
type ClusterMap ¶ added in v3.22.0
type ClusterMap map[string]ClusterInput
func (ClusterMap) ElementType ¶ added in v3.22.0
func (ClusterMap) ElementType() reflect.Type
func (ClusterMap) ToClusterMapOutput ¶ added in v3.22.0
func (i ClusterMap) ToClusterMapOutput() ClusterMapOutput
func (ClusterMap) ToClusterMapOutputWithContext ¶ added in v3.22.0
func (i ClusterMap) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput
type ClusterMapInput ¶ added in v3.22.0
type ClusterMapInput interface { pulumi.Input ToClusterMapOutput() ClusterMapOutput ToClusterMapOutputWithContext(context.Context) ClusterMapOutput }
ClusterMapInput is an input type that accepts ClusterMap and ClusterMapOutput values. You can construct a concrete instance of `ClusterMapInput` via:
ClusterMap{ "key": ClusterArgs{...} }
type ClusterMapOutput ¶ added in v3.22.0
type ClusterMapOutput struct{ *pulumi.OutputState }
func (ClusterMapOutput) ElementType ¶ added in v3.22.0
func (ClusterMapOutput) ElementType() reflect.Type
func (ClusterMapOutput) MapIndex ¶ added in v3.22.0
func (o ClusterMapOutput) MapIndex(k pulumi.StringInput) ClusterOutput
func (ClusterMapOutput) ToClusterMapOutput ¶ added in v3.22.0
func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput
func (ClusterMapOutput) ToClusterMapOutputWithContext ¶ added in v3.22.0
func (o ClusterMapOutput) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput
type ClusterOutput ¶ added in v3.22.0
type ClusterOutput struct{ *pulumi.OutputState }
func (ClusterOutput) AccountType ¶ added in v3.27.0
func (o ClusterOutput) AccountType() pulumi.StringOutput
The type of the domain account service. Valid values: `nis`, `ldap`. Default value: `nis`
func (ClusterOutput) AdditionalVolumes ¶ added in v3.27.0
func (o ClusterOutput) AdditionalVolumes() ClusterAdditionalVolumeArrayOutput
The additional volumes. See `additionalVolumes` below.
func (ClusterOutput) Applications ¶ added in v3.27.0
func (o ClusterOutput) Applications() ClusterApplicationArrayOutput
The application. See `application` below.
func (ClusterOutput) AutoRenew ¶ added in v3.27.0
func (o ClusterOutput) AutoRenew() pulumi.BoolPtrOutput
Specifies whether to enable auto-renewal for the subscription. Default value: `false`.
func (ClusterOutput) AutoRenewPeriod ¶ added in v3.27.0
func (o ClusterOutput) AutoRenewPeriod() pulumi.IntPtrOutput
The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true.
func (ClusterOutput) ClientVersion ¶ added in v3.27.0
func (o ClusterOutput) ClientVersion() pulumi.StringOutput
The version of the E-HPC client. By default, the parameter is set to the latest version number.
func (ClusterOutput) ClusterName ¶ added in v3.27.0
func (o ClusterOutput) ClusterName() pulumi.StringOutput
The name of the cluster. The name must be `2` to `64` characters in length.
func (ClusterOutput) ClusterVersion ¶ added in v3.27.0
func (o ClusterOutput) ClusterVersion() pulumi.StringOutput
The version of the cluster. Default value: `1.0`.
func (ClusterOutput) ComputeCount ¶ added in v3.27.0
func (o ClusterOutput) ComputeCount() pulumi.IntOutput
The number of the compute nodes. Valid values: `1` to `99`.
func (ClusterOutput) ComputeEnableHt ¶ added in v3.27.0
func (o ClusterOutput) ComputeEnableHt() pulumi.BoolPtrOutput
Specifies whether the compute nodes support hyper-threading. Default value: `true`.
func (ClusterOutput) ComputeInstanceType ¶ added in v3.27.0
func (o ClusterOutput) ComputeInstanceType() pulumi.StringOutput
The instance type of the compute nodes.
func (ClusterOutput) ComputeSpotPriceLimit ¶ added in v3.27.0
func (o ClusterOutput) ComputeSpotPriceLimit() pulumi.StringPtrOutput
The maximum hourly price of the compute nodes. A maximum of three decimal places can be used in the value of the parameter. The parameter is valid only when the ComputeSpotStrategy parameter is set to SpotWithPriceLimit.
func (ClusterOutput) ComputeSpotStrategy ¶ added in v3.27.0
func (o ClusterOutput) ComputeSpotStrategy() pulumi.StringPtrOutput
The bidding method of the compute nodes. Default value: `NoSpot`. Valid values:
func (ClusterOutput) DeployMode ¶ added in v3.27.0
func (o ClusterOutput) DeployMode() pulumi.StringOutput
The mode in which the cluster is deployed. Valid values: `Standard`, `Simple`, `Tiny`. Default value: Standard.
func (ClusterOutput) Description ¶ added in v3.27.0
func (o ClusterOutput) Description() pulumi.StringOutput
The description of the cluster. The description must be `2` to `256` characters in length. It cannot start with `http://` or `https://`.
func (ClusterOutput) Domain ¶ added in v3.27.0
func (o ClusterOutput) Domain() pulumi.StringPtrOutput
The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap.
func (ClusterOutput) EcsChargeType ¶ added in v3.27.0
func (o ClusterOutput) EcsChargeType() pulumi.StringOutput
The billing method of the nodes.
func (ClusterOutput) EhpcVersion ¶ added in v3.27.0
func (o ClusterOutput) EhpcVersion() pulumi.StringOutput
The version of E-HPC. By default, the parameter is set to the latest version number.
func (ClusterOutput) ElementType ¶ added in v3.22.0
func (ClusterOutput) ElementType() reflect.Type
func (ClusterOutput) HaEnable ¶ added in v3.27.0
func (o ClusterOutput) HaEnable() pulumi.BoolOutput
Specifies whether to enable the high availability feature. Default value: `false`. **Note:** If high availability is enabled, a primary management node and a secondary management node are used.
func (ClusterOutput) ImageId ¶ added in v3.27.0
func (o ClusterOutput) ImageId() pulumi.StringOutput
The ID of the image.
func (ClusterOutput) ImageOwnerAlias ¶ added in v3.27.0
func (o ClusterOutput) ImageOwnerAlias() pulumi.StringOutput
The type of the image. Valid values: `others`, `self`, `system`, `marketplace`. Default value: `system`.
func (ClusterOutput) InputFileUrl ¶ added in v3.27.0
func (o ClusterOutput) InputFileUrl() pulumi.StringPtrOutput
The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket.
func (ClusterOutput) IsComputeEss ¶ added in v3.27.0
func (o ClusterOutput) IsComputeEss() pulumi.BoolPtrOutput
Specifies whether to enable auto scaling. Default value: `false`.
func (ClusterOutput) JobQueue ¶ added in v3.27.0
func (o ClusterOutput) JobQueue() pulumi.StringPtrOutput
The queue to which the compute nodes are added.
func (ClusterOutput) KeyPairName ¶ added in v3.27.0
func (o ClusterOutput) KeyPairName() pulumi.StringPtrOutput
The name of the AccessKey pair.
func (ClusterOutput) LoginCount ¶ added in v3.27.0
func (o ClusterOutput) LoginCount() pulumi.IntOutput
The number of the logon nodes. Valid values: `1`.
func (ClusterOutput) LoginInstanceType ¶ added in v3.27.0
func (o ClusterOutput) LoginInstanceType() pulumi.StringOutput
The instance type of the logon nodes.
func (ClusterOutput) ManagerCount ¶ added in v3.27.0
func (o ClusterOutput) ManagerCount() pulumi.IntOutput
The number of the management nodes. Valid values: 1 and 2.
func (ClusterOutput) ManagerInstanceType ¶ added in v3.27.0
func (o ClusterOutput) ManagerInstanceType() pulumi.StringOutput
The instance type of the management nodes.
func (ClusterOutput) OsTag ¶ added in v3.27.0
func (o ClusterOutput) OsTag() pulumi.StringOutput
The image tag of the operating system.
func (ClusterOutput) Password ¶ added in v3.27.0
func (o ClusterOutput) Password() pulumi.StringPtrOutput
The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters: `( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /`. You must specify either `password` or `keyPairName`. If both are specified, the Password parameter prevails.
func (ClusterOutput) Period ¶ added in v3.27.0
func (o ClusterOutput) Period() pulumi.IntPtrOutput
The duration of the subscription. The unit of the duration is specified by the `periodUnit` parameter. Default value: `1`. * If you set PriceUnit to Year, the valid values of the Period parameter are 1, 2, and 3. * If you set PriceUnit to Month, the valid values of the Period parameter are 1, 2, 3, 4, 5, 6, 7, 8, and 9. * If you set PriceUnit to Hour, the valid value of the Period parameter is 1.
func (ClusterOutput) PeriodUnit ¶ added in v3.27.0
func (o ClusterOutput) PeriodUnit() pulumi.StringPtrOutput
The unit of the subscription duration. Valid values: `Year`, `Month`, `Hour`. Default value: `Month`.
func (ClusterOutput) Plugin ¶ added in v3.27.0
func (o ClusterOutput) Plugin() pulumi.StringPtrOutput
The mode configurations of the plug-in. This parameter takes effect only when the SchedulerType parameter is set to custom. The value must be a JSON string. The parameter contains the following parameters: pluginMod, pluginLocalPath, and pluginOssPath. - pluginMod: the mode of the plug-in. The following modes are supported: - oss: The plug-in is downloaded and decompressed from OSS to a local path. The local path is specified by the pluginLocalPath parameter. - image: By default, the plug-in is stored in a pre-defined local path. The local path is specified by the pluginLocalPath parameter. - pluginLocalPath: the local path where the plug-in is stored. We recommend that you select a shared directory in oss mode and a non-shared directory in image mode. - pluginOssPath: the remote path where the plug-in is stored in OSS. This parameter takes effect only when the pluginMod parameter is set to oss.
func (ClusterOutput) PostInstallScripts ¶ added in v3.27.0
func (o ClusterOutput) PostInstallScripts() ClusterPostInstallScriptArrayOutput
The post install script. See `postInstallScript` below.
func (ClusterOutput) RamNodeTypes ¶ added in v3.27.0
func (o ClusterOutput) RamNodeTypes() pulumi.StringArrayOutput
The node of the RAM role.
func (ClusterOutput) RamRoleName ¶ added in v3.27.0
func (o ClusterOutput) RamRoleName() pulumi.StringPtrOutput
The name of the Resource Access Management (RAM) role.
func (ClusterOutput) ReleaseInstance ¶ added in v3.27.0
func (o ClusterOutput) ReleaseInstance() pulumi.BoolPtrOutput
The release instance. Valid values: `true`.
func (ClusterOutput) RemoteDirectory ¶ added in v3.27.0
func (o ClusterOutput) RemoteDirectory() pulumi.StringOutput
The remote directory to which the file system is mounted.
func (ClusterOutput) RemoteVisEnable ¶ added in v3.27.0
func (o ClusterOutput) RemoteVisEnable() pulumi.BoolPtrOutput
Specifies whether to enable Virtual Network Computing (VNC). Default value: `false`.
func (ClusterOutput) ResourceGroupId ¶ added in v3.27.0
func (o ClusterOutput) ResourceGroupId() pulumi.StringPtrOutput
The ID of the resource group.
func (ClusterOutput) SccClusterId ¶ added in v3.27.0
func (o ClusterOutput) SccClusterId() pulumi.StringOutput
The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster.
func (ClusterOutput) SchedulerType ¶ added in v3.27.0
func (o ClusterOutput) SchedulerType() pulumi.StringOutput
The type of the scheduler. Valid values: `pbs`, `slurm`, `opengridscheduler` and `deadline`. Default value: `pbs`.
func (ClusterOutput) SecurityGroupId ¶ added in v3.27.0
func (o ClusterOutput) SecurityGroupId() pulumi.StringOutput
The ID of the security group to which the cluster belongs.
func (ClusterOutput) SecurityGroupName ¶ added in v3.27.0
func (o ClusterOutput) SecurityGroupName() pulumi.StringPtrOutput
If you do not use an existing security group, set the parameter to the name of a new security group. A default policy is applied to the new security group.
func (ClusterOutput) Status ¶ added in v3.27.0
func (o ClusterOutput) Status() pulumi.StringOutput
The status of the resource.
func (ClusterOutput) SystemDiskLevel ¶ added in v3.27.0
func (o ClusterOutput) SystemDiskLevel() pulumi.StringPtrOutput
The performance level of the ESSD that is used as the system disk. Default value: `PL1` For more information, see [ESSDs](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/essds). Valid values:
func (ClusterOutput) SystemDiskSize ¶ added in v3.27.0
func (o ClusterOutput) SystemDiskSize() pulumi.IntPtrOutput
The size of the system disk. Unit: `GB`. Valid values: `40` to `500`. Default value: `40`.
func (ClusterOutput) SystemDiskType ¶ added in v3.27.0
func (o ClusterOutput) SystemDiskType() pulumi.StringPtrOutput
The type of the system disk. Valid values: `cloudEfficiency`, `cloudSsd`, `cloudEssd` or `cloud`. Default value: `cloudSsd`.
func (ClusterOutput) ToClusterOutput ¶ added in v3.22.0
func (o ClusterOutput) ToClusterOutput() ClusterOutput
func (ClusterOutput) ToClusterOutputWithContext ¶ added in v3.22.0
func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
func (ClusterOutput) VolumeId ¶ added in v3.27.0
func (o ClusterOutput) VolumeId() pulumi.StringOutput
The ID of the file system. If you leave the parameter empty, a Performance NAS file system is created by default.
func (ClusterOutput) VolumeMountOption ¶ added in v3.27.0
func (o ClusterOutput) VolumeMountOption() pulumi.StringPtrOutput
The mount options of the file system.
func (ClusterOutput) VolumeMountpoint ¶ added in v3.27.0
func (o ClusterOutput) VolumeMountpoint() pulumi.StringOutput
The mount target of the file system. Take note of the following information: - If you do not specify the VolumeId parameter, you can leave the VolumeMountpoint parameter empty. A mount target is created by default. - If you specify the VolumeId parameter, the VolumeMountpoint parameter is required.
func (ClusterOutput) VolumeProtocol ¶ added in v3.27.0
func (o ClusterOutput) VolumeProtocol() pulumi.StringOutput
The type of the protocol that is used by the file system. Valid values: `NFS`, `SMB`. Default value: `NFS`.
func (ClusterOutput) VolumeType ¶ added in v3.27.0
func (o ClusterOutput) VolumeType() pulumi.StringOutput
The type of the shared storage. Only Apsara File Storage NAS file systems are supported.
func (ClusterOutput) VpcId ¶ added in v3.27.0
func (o ClusterOutput) VpcId() pulumi.StringOutput
The ID of the virtual private cloud (VPC) to which the cluster belongs.
func (ClusterOutput) VswitchId ¶ added in v3.27.0
func (o ClusterOutput) VswitchId() pulumi.StringOutput
The ID of the vSwitch. E-HPC supports only VPC networks.
func (ClusterOutput) WithoutAgent ¶ added in v3.27.0
func (o ClusterOutput) WithoutAgent() pulumi.BoolPtrOutput
Specifies whether not to install the agent. Default value: `false`.
func (ClusterOutput) WithoutElasticIp ¶ added in v3.27.0
func (o ClusterOutput) WithoutElasticIp() pulumi.BoolPtrOutput
Specifies whether the logon node uses an elastic IP address (EIP). Default value: `false`.
func (ClusterOutput) ZoneId ¶ added in v3.27.0
func (o ClusterOutput) ZoneId() pulumi.StringOutput
The ID of the zone.
type ClusterPostInstallScript ¶ added in v3.22.0
type ClusterPostInstallScriptArgs ¶ added in v3.22.0
type ClusterPostInstallScriptArgs struct { // The parameter that is used to run the script after the cluster is created. Args pulumi.StringPtrInput `pulumi:"args"` // The URL that is used to download the script after the cluster is created. Url pulumi.StringPtrInput `pulumi:"url"` }
func (ClusterPostInstallScriptArgs) ElementType ¶ added in v3.22.0
func (ClusterPostInstallScriptArgs) ElementType() reflect.Type
func (ClusterPostInstallScriptArgs) ToClusterPostInstallScriptOutput ¶ added in v3.22.0
func (i ClusterPostInstallScriptArgs) ToClusterPostInstallScriptOutput() ClusterPostInstallScriptOutput
func (ClusterPostInstallScriptArgs) ToClusterPostInstallScriptOutputWithContext ¶ added in v3.22.0
func (i ClusterPostInstallScriptArgs) ToClusterPostInstallScriptOutputWithContext(ctx context.Context) ClusterPostInstallScriptOutput
func (ClusterPostInstallScriptArgs) ToOutput ¶ added in v3.43.1
func (i ClusterPostInstallScriptArgs) ToOutput(ctx context.Context) pulumix.Output[ClusterPostInstallScript]
type ClusterPostInstallScriptArray ¶ added in v3.22.0
type ClusterPostInstallScriptArray []ClusterPostInstallScriptInput
func (ClusterPostInstallScriptArray) ElementType ¶ added in v3.22.0
func (ClusterPostInstallScriptArray) ElementType() reflect.Type
func (ClusterPostInstallScriptArray) ToClusterPostInstallScriptArrayOutput ¶ added in v3.22.0
func (i ClusterPostInstallScriptArray) ToClusterPostInstallScriptArrayOutput() ClusterPostInstallScriptArrayOutput
func (ClusterPostInstallScriptArray) ToClusterPostInstallScriptArrayOutputWithContext ¶ added in v3.22.0
func (i ClusterPostInstallScriptArray) ToClusterPostInstallScriptArrayOutputWithContext(ctx context.Context) ClusterPostInstallScriptArrayOutput
func (ClusterPostInstallScriptArray) ToOutput ¶ added in v3.43.1
func (i ClusterPostInstallScriptArray) ToOutput(ctx context.Context) pulumix.Output[[]ClusterPostInstallScript]
type ClusterPostInstallScriptArrayInput ¶ added in v3.22.0
type ClusterPostInstallScriptArrayInput interface { pulumi.Input ToClusterPostInstallScriptArrayOutput() ClusterPostInstallScriptArrayOutput ToClusterPostInstallScriptArrayOutputWithContext(context.Context) ClusterPostInstallScriptArrayOutput }
ClusterPostInstallScriptArrayInput is an input type that accepts ClusterPostInstallScriptArray and ClusterPostInstallScriptArrayOutput values. You can construct a concrete instance of `ClusterPostInstallScriptArrayInput` via:
ClusterPostInstallScriptArray{ ClusterPostInstallScriptArgs{...} }
type ClusterPostInstallScriptArrayOutput ¶ added in v3.22.0
type ClusterPostInstallScriptArrayOutput struct{ *pulumi.OutputState }
func (ClusterPostInstallScriptArrayOutput) ElementType ¶ added in v3.22.0
func (ClusterPostInstallScriptArrayOutput) ElementType() reflect.Type
func (ClusterPostInstallScriptArrayOutput) Index ¶ added in v3.22.0
func (o ClusterPostInstallScriptArrayOutput) Index(i pulumi.IntInput) ClusterPostInstallScriptOutput
func (ClusterPostInstallScriptArrayOutput) ToClusterPostInstallScriptArrayOutput ¶ added in v3.22.0
func (o ClusterPostInstallScriptArrayOutput) ToClusterPostInstallScriptArrayOutput() ClusterPostInstallScriptArrayOutput
func (ClusterPostInstallScriptArrayOutput) ToClusterPostInstallScriptArrayOutputWithContext ¶ added in v3.22.0
func (o ClusterPostInstallScriptArrayOutput) ToClusterPostInstallScriptArrayOutputWithContext(ctx context.Context) ClusterPostInstallScriptArrayOutput
func (ClusterPostInstallScriptArrayOutput) ToOutput ¶ added in v3.43.1
func (o ClusterPostInstallScriptArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ClusterPostInstallScript]
type ClusterPostInstallScriptInput ¶ added in v3.22.0
type ClusterPostInstallScriptInput interface { pulumi.Input ToClusterPostInstallScriptOutput() ClusterPostInstallScriptOutput ToClusterPostInstallScriptOutputWithContext(context.Context) ClusterPostInstallScriptOutput }
ClusterPostInstallScriptInput is an input type that accepts ClusterPostInstallScriptArgs and ClusterPostInstallScriptOutput values. You can construct a concrete instance of `ClusterPostInstallScriptInput` via:
ClusterPostInstallScriptArgs{...}
type ClusterPostInstallScriptOutput ¶ added in v3.22.0
type ClusterPostInstallScriptOutput struct{ *pulumi.OutputState }
func (ClusterPostInstallScriptOutput) Args ¶ added in v3.22.0
func (o ClusterPostInstallScriptOutput) Args() pulumi.StringPtrOutput
The parameter that is used to run the script after the cluster is created.
func (ClusterPostInstallScriptOutput) ElementType ¶ added in v3.22.0
func (ClusterPostInstallScriptOutput) ElementType() reflect.Type
func (ClusterPostInstallScriptOutput) ToClusterPostInstallScriptOutput ¶ added in v3.22.0
func (o ClusterPostInstallScriptOutput) ToClusterPostInstallScriptOutput() ClusterPostInstallScriptOutput
func (ClusterPostInstallScriptOutput) ToClusterPostInstallScriptOutputWithContext ¶ added in v3.22.0
func (o ClusterPostInstallScriptOutput) ToClusterPostInstallScriptOutputWithContext(ctx context.Context) ClusterPostInstallScriptOutput
func (ClusterPostInstallScriptOutput) ToOutput ¶ added in v3.43.1
func (o ClusterPostInstallScriptOutput) ToOutput(ctx context.Context) pulumix.Output[ClusterPostInstallScript]
func (ClusterPostInstallScriptOutput) Url ¶ added in v3.22.0
func (o ClusterPostInstallScriptOutput) Url() pulumi.StringPtrOutput
The URL that is used to download the script after the cluster is created.
type ClusterState ¶ added in v3.22.0
type ClusterState struct { // The type of the domain account service. Valid values: `nis`, `ldap`. Default value: `nis` AccountType pulumi.StringPtrInput // The additional volumes. See `additionalVolumes` below. AdditionalVolumes ClusterAdditionalVolumeArrayInput // The application. See `application` below. Applications ClusterApplicationArrayInput // Specifies whether to enable auto-renewal for the subscription. Default value: `false`. AutoRenew pulumi.BoolPtrInput // The auto-renewal period of the subscription compute nodes. The parameter takes effect when AutoRenew is set to true. AutoRenewPeriod pulumi.IntPtrInput // The version of the E-HPC client. By default, the parameter is set to the latest version number. ClientVersion pulumi.StringPtrInput // The name of the cluster. The name must be `2` to `64` characters in length. ClusterName pulumi.StringPtrInput // The version of the cluster. Default value: `1.0`. ClusterVersion pulumi.StringPtrInput // The number of the compute nodes. Valid values: `1` to `99`. ComputeCount pulumi.IntPtrInput // Specifies whether the compute nodes support hyper-threading. Default value: `true`. ComputeEnableHt pulumi.BoolPtrInput // The instance type of the compute nodes. ComputeInstanceType pulumi.StringPtrInput // The maximum hourly price of the compute nodes. A maximum of three decimal places can be used in the value of the parameter. The parameter is valid only when the ComputeSpotStrategy parameter is set to SpotWithPriceLimit. ComputeSpotPriceLimit pulumi.StringPtrInput // The bidding method of the compute nodes. Default value: `NoSpot`. Valid values: ComputeSpotStrategy pulumi.StringPtrInput // The mode in which the cluster is deployed. Valid values: `Standard`, `Simple`, `Tiny`. Default value: Standard. DeployMode pulumi.StringPtrInput // The description of the cluster. The description must be `2` to `256` characters in length. It cannot start with `http://` or `https://`. Description pulumi.StringPtrInput // The domain name of the on-premises cluster. This parameter takes effect only when the AccoutType parameter is set to Idap. Domain pulumi.StringPtrInput // The billing method of the nodes. EcsChargeType pulumi.StringPtrInput // The version of E-HPC. By default, the parameter is set to the latest version number. EhpcVersion pulumi.StringPtrInput // Specifies whether to enable the high availability feature. Default value: `false`. **Note:** If high availability is enabled, a primary management node and a secondary management node are used. HaEnable pulumi.BoolPtrInput // The ID of the image. ImageId pulumi.StringPtrInput // The type of the image. Valid values: `others`, `self`, `system`, `marketplace`. Default value: `system`. ImageOwnerAlias pulumi.StringPtrInput // The URL of the job files that are uploaded to an Object Storage Service (OSS) bucket. InputFileUrl pulumi.StringPtrInput // Specifies whether to enable auto scaling. Default value: `false`. IsComputeEss pulumi.BoolPtrInput // The queue to which the compute nodes are added. JobQueue pulumi.StringPtrInput // The name of the AccessKey pair. KeyPairName pulumi.StringPtrInput // The number of the logon nodes. Valid values: `1`. LoginCount pulumi.IntPtrInput // The instance type of the logon nodes. LoginInstanceType pulumi.StringPtrInput // The number of the management nodes. Valid values: 1 and 2. ManagerCount pulumi.IntPtrInput // The instance type of the management nodes. ManagerInstanceType pulumi.StringPtrInput // The image tag of the operating system. OsTag pulumi.StringPtrInput // The root password of the logon node. The password must be 8 to 30 characters in length and contain at least three of the following items: uppercase letters, lowercase letters, digits, and special characters. The password can contain the following special characters: `( ) ~ ! @ # $ % ^ & * - + = { } [ ] : ; ‘ < > , . ? /`. You must specify either `password` or `keyPairName`. If both are specified, the Password parameter prevails. Password pulumi.StringPtrInput // The duration of the subscription. The unit of the duration is specified by the `periodUnit` parameter. Default value: `1`. // * If you set PriceUnit to Year, the valid values of the Period parameter are 1, 2, and 3. // * If you set PriceUnit to Month, the valid values of the Period parameter are 1, 2, 3, 4, 5, 6, 7, 8, and 9. // * If you set PriceUnit to Hour, the valid value of the Period parameter is 1. Period pulumi.IntPtrInput // The unit of the subscription duration. Valid values: `Year`, `Month`, `Hour`. Default value: `Month`. PeriodUnit pulumi.StringPtrInput // The mode configurations of the plug-in. This parameter takes effect only when the SchedulerType parameter is set to custom. The value must be a JSON string. The parameter contains the following parameters: pluginMod, pluginLocalPath, and pluginOssPath. // - pluginMod: the mode of the plug-in. The following modes are supported: // - oss: The plug-in is downloaded and decompressed from OSS to a local path. The local path is specified by the pluginLocalPath parameter. // - image: By default, the plug-in is stored in a pre-defined local path. The local path is specified by the pluginLocalPath parameter. // - pluginLocalPath: the local path where the plug-in is stored. We recommend that you select a shared directory in oss mode and a non-shared directory in image mode. // - pluginOssPath: the remote path where the plug-in is stored in OSS. This parameter takes effect only when the pluginMod parameter is set to oss. Plugin pulumi.StringPtrInput // The post install script. See `postInstallScript` below. PostInstallScripts ClusterPostInstallScriptArrayInput // The node of the RAM role. RamNodeTypes pulumi.StringArrayInput // The name of the Resource Access Management (RAM) role. RamRoleName pulumi.StringPtrInput // The release instance. Valid values: `true`. ReleaseInstance pulumi.BoolPtrInput // The remote directory to which the file system is mounted. RemoteDirectory pulumi.StringPtrInput // Specifies whether to enable Virtual Network Computing (VNC). Default value: `false`. RemoteVisEnable pulumi.BoolPtrInput // The ID of the resource group. ResourceGroupId pulumi.StringPtrInput // The ID of the Super Computing Cluster (SCC) instance. If you specify the parameter, the SCC instance is moved to a new SCC cluster. SccClusterId pulumi.StringPtrInput // The type of the scheduler. Valid values: `pbs`, `slurm`, `opengridscheduler` and `deadline`. Default value: `pbs`. SchedulerType pulumi.StringPtrInput // The ID of the security group to which the cluster belongs. SecurityGroupId pulumi.StringPtrInput // If you do not use an existing security group, set the parameter to the name of a new security group. A default policy is applied to the new security group. SecurityGroupName pulumi.StringPtrInput // The status of the resource. Status pulumi.StringPtrInput // The performance level of the ESSD that is used as the system disk. Default value: `PL1` For more information, see [ESSDs](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/essds). Valid values: SystemDiskLevel pulumi.StringPtrInput // The size of the system disk. Unit: `GB`. Valid values: `40` to `500`. Default value: `40`. SystemDiskSize pulumi.IntPtrInput // The type of the system disk. Valid values: `cloudEfficiency`, `cloudSsd`, `cloudEssd` or `cloud`. Default value: `cloudSsd`. SystemDiskType pulumi.StringPtrInput // The ID of the file system. If you leave the parameter empty, a Performance NAS file system is created by default. VolumeId pulumi.StringPtrInput // The mount options of the file system. VolumeMountOption pulumi.StringPtrInput // The mount target of the file system. Take note of the following information: // - If you do not specify the VolumeId parameter, you can leave the VolumeMountpoint parameter empty. A mount target is created by default. // - If you specify the VolumeId parameter, the VolumeMountpoint parameter is required. VolumeMountpoint pulumi.StringPtrInput // The type of the protocol that is used by the file system. Valid values: `NFS`, `SMB`. Default value: `NFS`. VolumeProtocol pulumi.StringPtrInput // The type of the shared storage. Only Apsara File Storage NAS file systems are supported. VolumeType pulumi.StringPtrInput // The ID of the virtual private cloud (VPC) to which the cluster belongs. VpcId pulumi.StringPtrInput // The ID of the vSwitch. E-HPC supports only VPC networks. VswitchId pulumi.StringPtrInput // Specifies whether not to install the agent. Default value: `false`. WithoutAgent pulumi.BoolPtrInput // Specifies whether the logon node uses an elastic IP address (EIP). Default value: `false`. WithoutElasticIp pulumi.BoolPtrInput // The ID of the zone. ZoneId pulumi.StringPtrInput }
func (ClusterState) ElementType ¶ added in v3.22.0
func (ClusterState) ElementType() reflect.Type
type GetClustersArgs ¶ added in v3.22.0
type GetClustersArgs struct { // Default to `false`. Set it to `true` can output more details about resource attributes. EnableDetails *bool `pulumi:"enableDetails"` // A list of Cluster IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Cluster name. NameRegex *string `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` // The status of the resource. Status *string `pulumi:"status"` }
A collection of arguments for invoking getClusters.
type GetClustersCluster ¶ added in v3.22.0
type GetClustersCluster struct { // The server type of the account. AccountType string `pulumi:"accountType"` Applications []GetClustersClusterApplication `pulumi:"applications"` // The version number of the client used by the cluster. ClientVersion string `pulumi:"clientVersion"` // The id of E-HPC Cluster. ClusterId string `pulumi:"clusterId"` // The name of E-HPC cluster. ClusterName string `pulumi:"clusterName"` // The number of compute nodes in the cluster. ComputeCount int `pulumi:"computeCount"` // Cluster compute node specifications. ComputeInstanceType string `pulumi:"computeInstanceType"` // The creation time of the resource. CreateTime string `pulumi:"createTime"` // Cluster deployment mode. Possible values: // - Standard: separate deployment of account nodes, scheduling nodes, login nodes, and compute nodes. // - Advanced:HA mode deployment. // - Simple: the account node and the scheduling node are deployed on one node, and the login node and the compute node are deployed separately. // - Tiny: account nodes, scheduling nodes, and login nodes are deployed on one node, and compute nodes are deployed separately. // - OneBox: account node, scheduling node, login node and compute node are deployed on one node. DeployMode string `pulumi:"deployMode"` // The description of E-HPC cluster. Description string `pulumi:"description"` // Whether to turn on high availability. > If high availability is enabled, each control role in the cluster will use two primary and secondary instances. HaEnable bool `pulumi:"haEnable"` // The ID of the Cluster. Id string `pulumi:"id"` // The ID of the Image. ImageId string `pulumi:"imageId"` // The type of the image. ImageOwnerAlias string `pulumi:"imageOwnerAlias"` // The number of cluster login nodes. Only configuration 1 is supported. LoginCount int `pulumi:"loginCount"` // Cluster login node specifications. LoginInstanceType string `pulumi:"loginInstanceType"` ManagerCount int `pulumi:"managerCount"` // The instance type of manager nodes. ManagerInstanceType string `pulumi:"managerInstanceType"` // The image tag of the operating system. OsTag string `pulumi:"osTag"` PostInstallScripts []GetClustersClusterPostInstallScript `pulumi:"postInstallScripts"` // Mount the remote directory of the shared storage. RemoteDirectory string `pulumi:"remoteDirectory"` // The SccCluster ID used by the cluster. If the cluster is not an SCC model, it is empty. SccClusterId string `pulumi:"sccClusterId"` // Dispatch server type. SchedulerType string `pulumi:"schedulerType"` // The ID of the security group. SecurityGroupId string `pulumi:"securityGroupId"` // The status of the resource. Status string `pulumi:"status"` // The ID of the NAS instance. Currently, you cannot automatically create an Alibaba Cloud NAS instance. VolumeId string `pulumi:"volumeId"` // The mount target of the file system. Mount targets cannot be automatically created for NAS file systems. VolumeMountpoint string `pulumi:"volumeMountpoint"` // The type of the protocol that is used by the file system. VolumeProtocol string `pulumi:"volumeProtocol"` // The type of the network shared storage. Valid value: NAS. VolumeType string `pulumi:"volumeType"` // The ID of the VPC network. VpcId string `pulumi:"vpcId"` // The vswitch id. VswitchId string `pulumi:"vswitchId"` ZoneId string `pulumi:"zoneId"` }
type GetClustersClusterApplication ¶ added in v3.22.0
type GetClustersClusterApplication struct {
Tag string `pulumi:"tag"`
}
type GetClustersClusterApplicationArgs ¶ added in v3.22.0
type GetClustersClusterApplicationArgs struct {
Tag pulumi.StringInput `pulumi:"tag"`
}
func (GetClustersClusterApplicationArgs) ElementType ¶ added in v3.22.0
func (GetClustersClusterApplicationArgs) ElementType() reflect.Type
func (GetClustersClusterApplicationArgs) ToGetClustersClusterApplicationOutput ¶ added in v3.22.0
func (i GetClustersClusterApplicationArgs) ToGetClustersClusterApplicationOutput() GetClustersClusterApplicationOutput
func (GetClustersClusterApplicationArgs) ToGetClustersClusterApplicationOutputWithContext ¶ added in v3.22.0
func (i GetClustersClusterApplicationArgs) ToGetClustersClusterApplicationOutputWithContext(ctx context.Context) GetClustersClusterApplicationOutput
func (GetClustersClusterApplicationArgs) ToOutput ¶ added in v3.43.1
func (i GetClustersClusterApplicationArgs) ToOutput(ctx context.Context) pulumix.Output[GetClustersClusterApplication]
type GetClustersClusterApplicationArray ¶ added in v3.22.0
type GetClustersClusterApplicationArray []GetClustersClusterApplicationInput
func (GetClustersClusterApplicationArray) ElementType ¶ added in v3.22.0
func (GetClustersClusterApplicationArray) ElementType() reflect.Type
func (GetClustersClusterApplicationArray) ToGetClustersClusterApplicationArrayOutput ¶ added in v3.22.0
func (i GetClustersClusterApplicationArray) ToGetClustersClusterApplicationArrayOutput() GetClustersClusterApplicationArrayOutput
func (GetClustersClusterApplicationArray) ToGetClustersClusterApplicationArrayOutputWithContext ¶ added in v3.22.0
func (i GetClustersClusterApplicationArray) ToGetClustersClusterApplicationArrayOutputWithContext(ctx context.Context) GetClustersClusterApplicationArrayOutput
func (GetClustersClusterApplicationArray) ToOutput ¶ added in v3.43.1
func (i GetClustersClusterApplicationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetClustersClusterApplication]
type GetClustersClusterApplicationArrayInput ¶ added in v3.22.0
type GetClustersClusterApplicationArrayInput interface { pulumi.Input ToGetClustersClusterApplicationArrayOutput() GetClustersClusterApplicationArrayOutput ToGetClustersClusterApplicationArrayOutputWithContext(context.Context) GetClustersClusterApplicationArrayOutput }
GetClustersClusterApplicationArrayInput is an input type that accepts GetClustersClusterApplicationArray and GetClustersClusterApplicationArrayOutput values. You can construct a concrete instance of `GetClustersClusterApplicationArrayInput` via:
GetClustersClusterApplicationArray{ GetClustersClusterApplicationArgs{...} }
type GetClustersClusterApplicationArrayOutput ¶ added in v3.22.0
type GetClustersClusterApplicationArrayOutput struct{ *pulumi.OutputState }
func (GetClustersClusterApplicationArrayOutput) ElementType ¶ added in v3.22.0
func (GetClustersClusterApplicationArrayOutput) ElementType() reflect.Type
func (GetClustersClusterApplicationArrayOutput) ToGetClustersClusterApplicationArrayOutput ¶ added in v3.22.0
func (o GetClustersClusterApplicationArrayOutput) ToGetClustersClusterApplicationArrayOutput() GetClustersClusterApplicationArrayOutput
func (GetClustersClusterApplicationArrayOutput) ToGetClustersClusterApplicationArrayOutputWithContext ¶ added in v3.22.0
func (o GetClustersClusterApplicationArrayOutput) ToGetClustersClusterApplicationArrayOutputWithContext(ctx context.Context) GetClustersClusterApplicationArrayOutput
func (GetClustersClusterApplicationArrayOutput) ToOutput ¶ added in v3.43.1
func (o GetClustersClusterApplicationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetClustersClusterApplication]
type GetClustersClusterApplicationInput ¶ added in v3.22.0
type GetClustersClusterApplicationInput interface { pulumi.Input ToGetClustersClusterApplicationOutput() GetClustersClusterApplicationOutput ToGetClustersClusterApplicationOutputWithContext(context.Context) GetClustersClusterApplicationOutput }
GetClustersClusterApplicationInput is an input type that accepts GetClustersClusterApplicationArgs and GetClustersClusterApplicationOutput values. You can construct a concrete instance of `GetClustersClusterApplicationInput` via:
GetClustersClusterApplicationArgs{...}
type GetClustersClusterApplicationOutput ¶ added in v3.22.0
type GetClustersClusterApplicationOutput struct{ *pulumi.OutputState }
func (GetClustersClusterApplicationOutput) ElementType ¶ added in v3.22.0
func (GetClustersClusterApplicationOutput) ElementType() reflect.Type
func (GetClustersClusterApplicationOutput) Tag ¶ added in v3.22.0
func (o GetClustersClusterApplicationOutput) Tag() pulumi.StringOutput
func (GetClustersClusterApplicationOutput) ToGetClustersClusterApplicationOutput ¶ added in v3.22.0
func (o GetClustersClusterApplicationOutput) ToGetClustersClusterApplicationOutput() GetClustersClusterApplicationOutput
func (GetClustersClusterApplicationOutput) ToGetClustersClusterApplicationOutputWithContext ¶ added in v3.22.0
func (o GetClustersClusterApplicationOutput) ToGetClustersClusterApplicationOutputWithContext(ctx context.Context) GetClustersClusterApplicationOutput
func (GetClustersClusterApplicationOutput) ToOutput ¶ added in v3.43.1
func (o GetClustersClusterApplicationOutput) ToOutput(ctx context.Context) pulumix.Output[GetClustersClusterApplication]
type GetClustersClusterArgs ¶ added in v3.22.0
type GetClustersClusterArgs struct { // The server type of the account. AccountType pulumi.StringInput `pulumi:"accountType"` Applications GetClustersClusterApplicationArrayInput `pulumi:"applications"` // The version number of the client used by the cluster. ClientVersion pulumi.StringInput `pulumi:"clientVersion"` // The id of E-HPC Cluster. ClusterId pulumi.StringInput `pulumi:"clusterId"` // The name of E-HPC cluster. ClusterName pulumi.StringInput `pulumi:"clusterName"` // The number of compute nodes in the cluster. ComputeCount pulumi.IntInput `pulumi:"computeCount"` // Cluster compute node specifications. ComputeInstanceType pulumi.StringInput `pulumi:"computeInstanceType"` // The creation time of the resource. CreateTime pulumi.StringInput `pulumi:"createTime"` // Cluster deployment mode. Possible values: // - Standard: separate deployment of account nodes, scheduling nodes, login nodes, and compute nodes. // - Advanced:HA mode deployment. // - Simple: the account node and the scheduling node are deployed on one node, and the login node and the compute node are deployed separately. // - Tiny: account nodes, scheduling nodes, and login nodes are deployed on one node, and compute nodes are deployed separately. // - OneBox: account node, scheduling node, login node and compute node are deployed on one node. DeployMode pulumi.StringInput `pulumi:"deployMode"` // The description of E-HPC cluster. Description pulumi.StringInput `pulumi:"description"` // Whether to turn on high availability. > If high availability is enabled, each control role in the cluster will use two primary and secondary instances. HaEnable pulumi.BoolInput `pulumi:"haEnable"` // The ID of the Cluster. Id pulumi.StringInput `pulumi:"id"` // The ID of the Image. ImageId pulumi.StringInput `pulumi:"imageId"` // The type of the image. ImageOwnerAlias pulumi.StringInput `pulumi:"imageOwnerAlias"` // The number of cluster login nodes. Only configuration 1 is supported. LoginCount pulumi.IntInput `pulumi:"loginCount"` // Cluster login node specifications. LoginInstanceType pulumi.StringInput `pulumi:"loginInstanceType"` ManagerCount pulumi.IntInput `pulumi:"managerCount"` // The instance type of manager nodes. ManagerInstanceType pulumi.StringInput `pulumi:"managerInstanceType"` // The image tag of the operating system. OsTag pulumi.StringInput `pulumi:"osTag"` PostInstallScripts GetClustersClusterPostInstallScriptArrayInput `pulumi:"postInstallScripts"` // Mount the remote directory of the shared storage. RemoteDirectory pulumi.StringInput `pulumi:"remoteDirectory"` // The SccCluster ID used by the cluster. If the cluster is not an SCC model, it is empty. SccClusterId pulumi.StringInput `pulumi:"sccClusterId"` // Dispatch server type. SchedulerType pulumi.StringInput `pulumi:"schedulerType"` // The ID of the security group. SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"` // The status of the resource. Status pulumi.StringInput `pulumi:"status"` // The ID of the NAS instance. Currently, you cannot automatically create an Alibaba Cloud NAS instance. VolumeId pulumi.StringInput `pulumi:"volumeId"` // The mount target of the file system. Mount targets cannot be automatically created for NAS file systems. VolumeMountpoint pulumi.StringInput `pulumi:"volumeMountpoint"` // The type of the protocol that is used by the file system. VolumeProtocol pulumi.StringInput `pulumi:"volumeProtocol"` // The type of the network shared storage. Valid value: NAS. VolumeType pulumi.StringInput `pulumi:"volumeType"` // The ID of the VPC network. VpcId pulumi.StringInput `pulumi:"vpcId"` // The vswitch id. VswitchId pulumi.StringInput `pulumi:"vswitchId"` ZoneId pulumi.StringInput `pulumi:"zoneId"` }
func (GetClustersClusterArgs) ElementType ¶ added in v3.22.0
func (GetClustersClusterArgs) ElementType() reflect.Type
func (GetClustersClusterArgs) ToGetClustersClusterOutput ¶ added in v3.22.0
func (i GetClustersClusterArgs) ToGetClustersClusterOutput() GetClustersClusterOutput
func (GetClustersClusterArgs) ToGetClustersClusterOutputWithContext ¶ added in v3.22.0
func (i GetClustersClusterArgs) ToGetClustersClusterOutputWithContext(ctx context.Context) GetClustersClusterOutput
func (GetClustersClusterArgs) ToOutput ¶ added in v3.43.1
func (i GetClustersClusterArgs) ToOutput(ctx context.Context) pulumix.Output[GetClustersCluster]
type GetClustersClusterArray ¶ added in v3.22.0
type GetClustersClusterArray []GetClustersClusterInput
func (GetClustersClusterArray) ElementType ¶ added in v3.22.0
func (GetClustersClusterArray) ElementType() reflect.Type
func (GetClustersClusterArray) ToGetClustersClusterArrayOutput ¶ added in v3.22.0
func (i GetClustersClusterArray) ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput
func (GetClustersClusterArray) ToGetClustersClusterArrayOutputWithContext ¶ added in v3.22.0
func (i GetClustersClusterArray) ToGetClustersClusterArrayOutputWithContext(ctx context.Context) GetClustersClusterArrayOutput
func (GetClustersClusterArray) ToOutput ¶ added in v3.43.1
func (i GetClustersClusterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetClustersCluster]
type GetClustersClusterArrayInput ¶ added in v3.22.0
type GetClustersClusterArrayInput interface { pulumi.Input ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput ToGetClustersClusterArrayOutputWithContext(context.Context) GetClustersClusterArrayOutput }
GetClustersClusterArrayInput is an input type that accepts GetClustersClusterArray and GetClustersClusterArrayOutput values. You can construct a concrete instance of `GetClustersClusterArrayInput` via:
GetClustersClusterArray{ GetClustersClusterArgs{...} }
type GetClustersClusterArrayOutput ¶ added in v3.22.0
type GetClustersClusterArrayOutput struct{ *pulumi.OutputState }
func (GetClustersClusterArrayOutput) ElementType ¶ added in v3.22.0
func (GetClustersClusterArrayOutput) ElementType() reflect.Type
func (GetClustersClusterArrayOutput) Index ¶ added in v3.22.0
func (o GetClustersClusterArrayOutput) Index(i pulumi.IntInput) GetClustersClusterOutput
func (GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutput ¶ added in v3.22.0
func (o GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutput() GetClustersClusterArrayOutput
func (GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutputWithContext ¶ added in v3.22.0
func (o GetClustersClusterArrayOutput) ToGetClustersClusterArrayOutputWithContext(ctx context.Context) GetClustersClusterArrayOutput
func (GetClustersClusterArrayOutput) ToOutput ¶ added in v3.43.1
func (o GetClustersClusterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetClustersCluster]
type GetClustersClusterInput ¶ added in v3.22.0
type GetClustersClusterInput interface { pulumi.Input ToGetClustersClusterOutput() GetClustersClusterOutput ToGetClustersClusterOutputWithContext(context.Context) GetClustersClusterOutput }
GetClustersClusterInput is an input type that accepts GetClustersClusterArgs and GetClustersClusterOutput values. You can construct a concrete instance of `GetClustersClusterInput` via:
GetClustersClusterArgs{...}
type GetClustersClusterOutput ¶ added in v3.22.0
type GetClustersClusterOutput struct{ *pulumi.OutputState }
func (GetClustersClusterOutput) AccountType ¶ added in v3.22.0
func (o GetClustersClusterOutput) AccountType() pulumi.StringOutput
The server type of the account.
func (GetClustersClusterOutput) Applications ¶ added in v3.22.0
func (o GetClustersClusterOutput) Applications() GetClustersClusterApplicationArrayOutput
func (GetClustersClusterOutput) ClientVersion ¶ added in v3.22.0
func (o GetClustersClusterOutput) ClientVersion() pulumi.StringOutput
The version number of the client used by the cluster.
func (GetClustersClusterOutput) ClusterId ¶ added in v3.22.0
func (o GetClustersClusterOutput) ClusterId() pulumi.StringOutput
The id of E-HPC Cluster.
func (GetClustersClusterOutput) ClusterName ¶ added in v3.22.0
func (o GetClustersClusterOutput) ClusterName() pulumi.StringOutput
The name of E-HPC cluster.
func (GetClustersClusterOutput) ComputeCount ¶ added in v3.22.0
func (o GetClustersClusterOutput) ComputeCount() pulumi.IntOutput
The number of compute nodes in the cluster.
func (GetClustersClusterOutput) ComputeInstanceType ¶ added in v3.22.0
func (o GetClustersClusterOutput) ComputeInstanceType() pulumi.StringOutput
Cluster compute node specifications.
func (GetClustersClusterOutput) CreateTime ¶ added in v3.22.0
func (o GetClustersClusterOutput) CreateTime() pulumi.StringOutput
The creation time of the resource.
func (GetClustersClusterOutput) DeployMode ¶ added in v3.22.0
func (o GetClustersClusterOutput) DeployMode() pulumi.StringOutput
Cluster deployment mode. Possible values: - Standard: separate deployment of account nodes, scheduling nodes, login nodes, and compute nodes. - Advanced:HA mode deployment. - Simple: the account node and the scheduling node are deployed on one node, and the login node and the compute node are deployed separately. - Tiny: account nodes, scheduling nodes, and login nodes are deployed on one node, and compute nodes are deployed separately. - OneBox: account node, scheduling node, login node and compute node are deployed on one node.
func (GetClustersClusterOutput) Description ¶ added in v3.22.0
func (o GetClustersClusterOutput) Description() pulumi.StringOutput
The description of E-HPC cluster.
func (GetClustersClusterOutput) ElementType ¶ added in v3.22.0
func (GetClustersClusterOutput) ElementType() reflect.Type
func (GetClustersClusterOutput) HaEnable ¶ added in v3.22.0
func (o GetClustersClusterOutput) HaEnable() pulumi.BoolOutput
Whether to turn on high availability. > If high availability is enabled, each control role in the cluster will use two primary and secondary instances.
func (GetClustersClusterOutput) Id ¶ added in v3.22.0
func (o GetClustersClusterOutput) Id() pulumi.StringOutput
The ID of the Cluster.
func (GetClustersClusterOutput) ImageId ¶ added in v3.22.0
func (o GetClustersClusterOutput) ImageId() pulumi.StringOutput
The ID of the Image.
func (GetClustersClusterOutput) ImageOwnerAlias ¶ added in v3.22.0
func (o GetClustersClusterOutput) ImageOwnerAlias() pulumi.StringOutput
The type of the image.
func (GetClustersClusterOutput) LoginCount ¶ added in v3.22.0
func (o GetClustersClusterOutput) LoginCount() pulumi.IntOutput
The number of cluster login nodes. Only configuration 1 is supported.
func (GetClustersClusterOutput) LoginInstanceType ¶ added in v3.22.0
func (o GetClustersClusterOutput) LoginInstanceType() pulumi.StringOutput
Cluster login node specifications.
func (GetClustersClusterOutput) ManagerCount ¶ added in v3.22.0
func (o GetClustersClusterOutput) ManagerCount() pulumi.IntOutput
func (GetClustersClusterOutput) ManagerInstanceType ¶ added in v3.22.0
func (o GetClustersClusterOutput) ManagerInstanceType() pulumi.StringOutput
The instance type of manager nodes.
func (GetClustersClusterOutput) OsTag ¶ added in v3.22.0
func (o GetClustersClusterOutput) OsTag() pulumi.StringOutput
The image tag of the operating system.
func (GetClustersClusterOutput) PostInstallScripts ¶ added in v3.22.0
func (o GetClustersClusterOutput) PostInstallScripts() GetClustersClusterPostInstallScriptArrayOutput
func (GetClustersClusterOutput) RemoteDirectory ¶ added in v3.22.0
func (o GetClustersClusterOutput) RemoteDirectory() pulumi.StringOutput
Mount the remote directory of the shared storage.
func (GetClustersClusterOutput) SccClusterId ¶ added in v3.22.0
func (o GetClustersClusterOutput) SccClusterId() pulumi.StringOutput
The SccCluster ID used by the cluster. If the cluster is not an SCC model, it is empty.
func (GetClustersClusterOutput) SchedulerType ¶ added in v3.22.0
func (o GetClustersClusterOutput) SchedulerType() pulumi.StringOutput
Dispatch server type.
func (GetClustersClusterOutput) SecurityGroupId ¶ added in v3.22.0
func (o GetClustersClusterOutput) SecurityGroupId() pulumi.StringOutput
The ID of the security group.
func (GetClustersClusterOutput) Status ¶ added in v3.22.0
func (o GetClustersClusterOutput) Status() pulumi.StringOutput
The status of the resource.
func (GetClustersClusterOutput) ToGetClustersClusterOutput ¶ added in v3.22.0
func (o GetClustersClusterOutput) ToGetClustersClusterOutput() GetClustersClusterOutput
func (GetClustersClusterOutput) ToGetClustersClusterOutputWithContext ¶ added in v3.22.0
func (o GetClustersClusterOutput) ToGetClustersClusterOutputWithContext(ctx context.Context) GetClustersClusterOutput
func (GetClustersClusterOutput) ToOutput ¶ added in v3.43.1
func (o GetClustersClusterOutput) ToOutput(ctx context.Context) pulumix.Output[GetClustersCluster]
func (GetClustersClusterOutput) VolumeId ¶ added in v3.22.0
func (o GetClustersClusterOutput) VolumeId() pulumi.StringOutput
The ID of the NAS instance. Currently, you cannot automatically create an Alibaba Cloud NAS instance.
func (GetClustersClusterOutput) VolumeMountpoint ¶ added in v3.22.0
func (o GetClustersClusterOutput) VolumeMountpoint() pulumi.StringOutput
The mount target of the file system. Mount targets cannot be automatically created for NAS file systems.
func (GetClustersClusterOutput) VolumeProtocol ¶ added in v3.22.0
func (o GetClustersClusterOutput) VolumeProtocol() pulumi.StringOutput
The type of the protocol that is used by the file system.
func (GetClustersClusterOutput) VolumeType ¶ added in v3.22.0
func (o GetClustersClusterOutput) VolumeType() pulumi.StringOutput
The type of the network shared storage. Valid value: NAS.
func (GetClustersClusterOutput) VpcId ¶ added in v3.22.0
func (o GetClustersClusterOutput) VpcId() pulumi.StringOutput
The ID of the VPC network.
func (GetClustersClusterOutput) VswitchId ¶ added in v3.22.0
func (o GetClustersClusterOutput) VswitchId() pulumi.StringOutput
The vswitch id.
func (GetClustersClusterOutput) ZoneId ¶ added in v3.22.0
func (o GetClustersClusterOutput) ZoneId() pulumi.StringOutput
type GetClustersClusterPostInstallScript ¶ added in v3.22.0
type GetClustersClusterPostInstallScriptArgs ¶ added in v3.22.0
type GetClustersClusterPostInstallScriptArgs struct { Args pulumi.StringInput `pulumi:"args"` Url pulumi.StringInput `pulumi:"url"` }
func (GetClustersClusterPostInstallScriptArgs) ElementType ¶ added in v3.22.0
func (GetClustersClusterPostInstallScriptArgs) ElementType() reflect.Type
func (GetClustersClusterPostInstallScriptArgs) ToGetClustersClusterPostInstallScriptOutput ¶ added in v3.22.0
func (i GetClustersClusterPostInstallScriptArgs) ToGetClustersClusterPostInstallScriptOutput() GetClustersClusterPostInstallScriptOutput
func (GetClustersClusterPostInstallScriptArgs) ToGetClustersClusterPostInstallScriptOutputWithContext ¶ added in v3.22.0
func (i GetClustersClusterPostInstallScriptArgs) ToGetClustersClusterPostInstallScriptOutputWithContext(ctx context.Context) GetClustersClusterPostInstallScriptOutput
func (GetClustersClusterPostInstallScriptArgs) ToOutput ¶ added in v3.43.1
func (i GetClustersClusterPostInstallScriptArgs) ToOutput(ctx context.Context) pulumix.Output[GetClustersClusterPostInstallScript]
type GetClustersClusterPostInstallScriptArray ¶ added in v3.22.0
type GetClustersClusterPostInstallScriptArray []GetClustersClusterPostInstallScriptInput
func (GetClustersClusterPostInstallScriptArray) ElementType ¶ added in v3.22.0
func (GetClustersClusterPostInstallScriptArray) ElementType() reflect.Type
func (GetClustersClusterPostInstallScriptArray) ToGetClustersClusterPostInstallScriptArrayOutput ¶ added in v3.22.0
func (i GetClustersClusterPostInstallScriptArray) ToGetClustersClusterPostInstallScriptArrayOutput() GetClustersClusterPostInstallScriptArrayOutput
func (GetClustersClusterPostInstallScriptArray) ToGetClustersClusterPostInstallScriptArrayOutputWithContext ¶ added in v3.22.0
func (i GetClustersClusterPostInstallScriptArray) ToGetClustersClusterPostInstallScriptArrayOutputWithContext(ctx context.Context) GetClustersClusterPostInstallScriptArrayOutput
func (GetClustersClusterPostInstallScriptArray) ToOutput ¶ added in v3.43.1
func (i GetClustersClusterPostInstallScriptArray) ToOutput(ctx context.Context) pulumix.Output[[]GetClustersClusterPostInstallScript]
type GetClustersClusterPostInstallScriptArrayInput ¶ added in v3.22.0
type GetClustersClusterPostInstallScriptArrayInput interface { pulumi.Input ToGetClustersClusterPostInstallScriptArrayOutput() GetClustersClusterPostInstallScriptArrayOutput ToGetClustersClusterPostInstallScriptArrayOutputWithContext(context.Context) GetClustersClusterPostInstallScriptArrayOutput }
GetClustersClusterPostInstallScriptArrayInput is an input type that accepts GetClustersClusterPostInstallScriptArray and GetClustersClusterPostInstallScriptArrayOutput values. You can construct a concrete instance of `GetClustersClusterPostInstallScriptArrayInput` via:
GetClustersClusterPostInstallScriptArray{ GetClustersClusterPostInstallScriptArgs{...} }
type GetClustersClusterPostInstallScriptArrayOutput ¶ added in v3.22.0
type GetClustersClusterPostInstallScriptArrayOutput struct{ *pulumi.OutputState }
func (GetClustersClusterPostInstallScriptArrayOutput) ElementType ¶ added in v3.22.0
func (GetClustersClusterPostInstallScriptArrayOutput) ElementType() reflect.Type
func (GetClustersClusterPostInstallScriptArrayOutput) ToGetClustersClusterPostInstallScriptArrayOutput ¶ added in v3.22.0
func (o GetClustersClusterPostInstallScriptArrayOutput) ToGetClustersClusterPostInstallScriptArrayOutput() GetClustersClusterPostInstallScriptArrayOutput
func (GetClustersClusterPostInstallScriptArrayOutput) ToGetClustersClusterPostInstallScriptArrayOutputWithContext ¶ added in v3.22.0
func (o GetClustersClusterPostInstallScriptArrayOutput) ToGetClustersClusterPostInstallScriptArrayOutputWithContext(ctx context.Context) GetClustersClusterPostInstallScriptArrayOutput
func (GetClustersClusterPostInstallScriptArrayOutput) ToOutput ¶ added in v3.43.1
func (o GetClustersClusterPostInstallScriptArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetClustersClusterPostInstallScript]
type GetClustersClusterPostInstallScriptInput ¶ added in v3.22.0
type GetClustersClusterPostInstallScriptInput interface { pulumi.Input ToGetClustersClusterPostInstallScriptOutput() GetClustersClusterPostInstallScriptOutput ToGetClustersClusterPostInstallScriptOutputWithContext(context.Context) GetClustersClusterPostInstallScriptOutput }
GetClustersClusterPostInstallScriptInput is an input type that accepts GetClustersClusterPostInstallScriptArgs and GetClustersClusterPostInstallScriptOutput values. You can construct a concrete instance of `GetClustersClusterPostInstallScriptInput` via:
GetClustersClusterPostInstallScriptArgs{...}
type GetClustersClusterPostInstallScriptOutput ¶ added in v3.22.0
type GetClustersClusterPostInstallScriptOutput struct{ *pulumi.OutputState }
func (GetClustersClusterPostInstallScriptOutput) Args ¶ added in v3.22.0
func (o GetClustersClusterPostInstallScriptOutput) Args() pulumi.StringOutput
func (GetClustersClusterPostInstallScriptOutput) ElementType ¶ added in v3.22.0
func (GetClustersClusterPostInstallScriptOutput) ElementType() reflect.Type
func (GetClustersClusterPostInstallScriptOutput) ToGetClustersClusterPostInstallScriptOutput ¶ added in v3.22.0
func (o GetClustersClusterPostInstallScriptOutput) ToGetClustersClusterPostInstallScriptOutput() GetClustersClusterPostInstallScriptOutput
func (GetClustersClusterPostInstallScriptOutput) ToGetClustersClusterPostInstallScriptOutputWithContext ¶ added in v3.22.0
func (o GetClustersClusterPostInstallScriptOutput) ToGetClustersClusterPostInstallScriptOutputWithContext(ctx context.Context) GetClustersClusterPostInstallScriptOutput
func (GetClustersClusterPostInstallScriptOutput) ToOutput ¶ added in v3.43.1
func (o GetClustersClusterPostInstallScriptOutput) ToOutput(ctx context.Context) pulumix.Output[GetClustersClusterPostInstallScript]
func (GetClustersClusterPostInstallScriptOutput) Url ¶ added in v3.22.0
func (o GetClustersClusterPostInstallScriptOutput) Url() pulumi.StringOutput
type GetClustersOutputArgs ¶ added in v3.22.0
type GetClustersOutputArgs struct { // Default to `false`. Set it to `true` can output more details about resource attributes. EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"` // A list of Cluster IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Cluster name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The status of the resource. Status pulumi.StringPtrInput `pulumi:"status"` }
A collection of arguments for invoking getClusters.
func (GetClustersOutputArgs) ElementType ¶ added in v3.22.0
func (GetClustersOutputArgs) ElementType() reflect.Type
type GetClustersResult ¶ added in v3.22.0
type GetClustersResult struct { Clusters []GetClustersCluster `pulumi:"clusters"` EnableDetails *bool `pulumi:"enableDetails"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` Status *string `pulumi:"status"` }
A collection of values returned by getClusters.
func GetClusters ¶ added in v3.22.0
func GetClusters(ctx *pulumi.Context, args *GetClustersArgs, opts ...pulumi.InvokeOption) (*GetClustersResult, error)
This data source provides the Ehpc Clusters of the current Alibaba Cloud user.
> **NOTE:** Available in v1.173.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ehpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := ehpc.GetClusters(ctx, &ehpc.GetClustersArgs{ Ids: []string{ "example_id", }, }, nil) if err != nil { return err } ctx.Export("ehpcClusterId1", ids.Clusters[0].Id) nameRegex, err := ehpc.GetClusters(ctx, &ehpc.GetClustersArgs{ NameRegex: pulumi.StringRef("^my-Cluster"), }, nil) if err != nil { return err } ctx.Export("ehpcClusterId2", nameRegex.Clusters[0].Id) return nil }) }
```
type GetClustersResultOutput ¶ added in v3.22.0
type GetClustersResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getClusters.
func GetClustersOutput ¶ added in v3.22.0
func GetClustersOutput(ctx *pulumi.Context, args GetClustersOutputArgs, opts ...pulumi.InvokeOption) GetClustersResultOutput
func (GetClustersResultOutput) Clusters ¶ added in v3.22.0
func (o GetClustersResultOutput) Clusters() GetClustersClusterArrayOutput
func (GetClustersResultOutput) ElementType ¶ added in v3.22.0
func (GetClustersResultOutput) ElementType() reflect.Type
func (GetClustersResultOutput) EnableDetails ¶ added in v3.22.0
func (o GetClustersResultOutput) EnableDetails() pulumi.BoolPtrOutput
func (GetClustersResultOutput) Id ¶ added in v3.22.0
func (o GetClustersResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetClustersResultOutput) Ids ¶ added in v3.22.0
func (o GetClustersResultOutput) Ids() pulumi.StringArrayOutput
func (GetClustersResultOutput) NameRegex ¶ added in v3.22.0
func (o GetClustersResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetClustersResultOutput) Names ¶ added in v3.22.0
func (o GetClustersResultOutput) Names() pulumi.StringArrayOutput
func (GetClustersResultOutput) OutputFile ¶ added in v3.22.0
func (o GetClustersResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetClustersResultOutput) Status ¶ added in v3.22.0
func (o GetClustersResultOutput) Status() pulumi.StringPtrOutput
func (GetClustersResultOutput) ToGetClustersResultOutput ¶ added in v3.22.0
func (o GetClustersResultOutput) ToGetClustersResultOutput() GetClustersResultOutput
func (GetClustersResultOutput) ToGetClustersResultOutputWithContext ¶ added in v3.22.0
func (o GetClustersResultOutput) ToGetClustersResultOutputWithContext(ctx context.Context) GetClustersResultOutput
func (GetClustersResultOutput) ToOutput ¶ added in v3.43.1
func (o GetClustersResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetClustersResult]
type GetJobTemplatesArgs ¶
type GetJobTemplatesArgs struct { // A list of Job Template IDs. Ids []string `pulumi:"ids"` // File name where to save data source results (after running `pulumi preview`). OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getJobTemplates.
type GetJobTemplatesOutputArgs ¶ added in v3.9.0
type GetJobTemplatesOutputArgs struct { // A list of Job Template IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // File name where to save data source results (after running `pulumi preview`). OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getJobTemplates.
func (GetJobTemplatesOutputArgs) ElementType ¶ added in v3.9.0
func (GetJobTemplatesOutputArgs) ElementType() reflect.Type
type GetJobTemplatesResult ¶
type GetJobTemplatesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` OutputFile *string `pulumi:"outputFile"` Templates []GetJobTemplatesTemplate `pulumi:"templates"` }
A collection of values returned by getJobTemplates.
func GetJobTemplates ¶
func GetJobTemplates(ctx *pulumi.Context, args *GetJobTemplatesArgs, opts ...pulumi.InvokeOption) (*GetJobTemplatesResult, error)
This data source provides the Ehpc Job Templates of the current Alibaba Cloud user.
> **NOTE:** Available in v1.133.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ehpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ehpc.NewJobTemplate(ctx, "default", &ehpc.JobTemplateArgs{ JobTemplateName: pulumi.String("example_value"), CommandLine: pulumi.String("./LammpsTest/lammps.pbs"), }) if err != nil { return err } ids := ehpc.GetJobTemplatesOutput(ctx, ehpc.GetJobTemplatesOutputArgs{ Ids: pulumi.StringArray{ _default.ID(), }, }, nil) ctx.Export("ehpcJobTemplateId1", ids.ApplyT(func(ids ehpc.GetJobTemplatesResult) (*string, error) { return &ids.Id, nil }).(pulumi.StringPtrOutput)) return nil }) }
```
type GetJobTemplatesResultOutput ¶ added in v3.9.0
type GetJobTemplatesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getJobTemplates.
func GetJobTemplatesOutput ¶ added in v3.9.0
func GetJobTemplatesOutput(ctx *pulumi.Context, args GetJobTemplatesOutputArgs, opts ...pulumi.InvokeOption) GetJobTemplatesResultOutput
func (GetJobTemplatesResultOutput) ElementType ¶ added in v3.9.0
func (GetJobTemplatesResultOutput) ElementType() reflect.Type
func (GetJobTemplatesResultOutput) Id ¶ added in v3.9.0
func (o GetJobTemplatesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetJobTemplatesResultOutput) Ids ¶ added in v3.9.0
func (o GetJobTemplatesResultOutput) Ids() pulumi.StringArrayOutput
func (GetJobTemplatesResultOutput) OutputFile ¶ added in v3.9.0
func (o GetJobTemplatesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetJobTemplatesResultOutput) Templates ¶ added in v3.9.0
func (o GetJobTemplatesResultOutput) Templates() GetJobTemplatesTemplateArrayOutput
func (GetJobTemplatesResultOutput) ToGetJobTemplatesResultOutput ¶ added in v3.9.0
func (o GetJobTemplatesResultOutput) ToGetJobTemplatesResultOutput() GetJobTemplatesResultOutput
func (GetJobTemplatesResultOutput) ToGetJobTemplatesResultOutputWithContext ¶ added in v3.9.0
func (o GetJobTemplatesResultOutput) ToGetJobTemplatesResultOutputWithContext(ctx context.Context) GetJobTemplatesResultOutput
func (GetJobTemplatesResultOutput) ToOutput ¶ added in v3.43.1
func (o GetJobTemplatesResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetJobTemplatesResult]
type GetJobTemplatesTemplate ¶
type GetJobTemplatesTemplate struct { // Queue Jobs, Is of the Form: 1-10:2. ArrayRequest string `pulumi:"arrayRequest"` // Job Maximum Run Time. ClockTime string `pulumi:"clockTime"` // Job Commands. CommandLine string `pulumi:"commandLine"` // A Single Compute Node Using the GPU Number.Possible Values: 1~20000. Gpu int `pulumi:"gpu"` // The ID of the Job Template. Id string `pulumi:"id"` // The first ID of the resource. JobTemplateId string `pulumi:"jobTemplateId"` // A Job Template Name. JobTemplateName string `pulumi:"jobTemplateName"` // A Single Compute Node Maximum Memory. Mem string `pulumi:"mem"` // Submit a Task Is Required for Computing the Number of Data Nodes to Be. Possible Values: 1~5000 . Node int `pulumi:"node"` // Job Commands the Directory. PackagePath string `pulumi:"packagePath"` // The Job Priority.Possible Values: 0~9. Priority int `pulumi:"priority"` // The Job Queue. Queue string `pulumi:"queue"` // If the Job Is Support for the Re-Run. ReRunable bool `pulumi:"reRunable"` // The name of the user who performed the job. RunasUser string `pulumi:"runasUser"` // Error Output Path. StderrRedirectPath string `pulumi:"stderrRedirectPath"` // Standard Output Path and. StdoutRedirectPath string `pulumi:"stdoutRedirectPath"` // A Single Compute Node Required Number of Tasks. Possible Values: 1~20000 . Task int `pulumi:"task"` // A Single Task and the Number of Required Threads.Possible Values: 1~20000. Thread int `pulumi:"thread"` // The Job of the Environment Variable. Variables string `pulumi:"variables"` }
type GetJobTemplatesTemplateArgs ¶
type GetJobTemplatesTemplateArgs struct { // Queue Jobs, Is of the Form: 1-10:2. ArrayRequest pulumi.StringInput `pulumi:"arrayRequest"` // Job Maximum Run Time. ClockTime pulumi.StringInput `pulumi:"clockTime"` // Job Commands. CommandLine pulumi.StringInput `pulumi:"commandLine"` // A Single Compute Node Using the GPU Number.Possible Values: 1~20000. Gpu pulumi.IntInput `pulumi:"gpu"` // The ID of the Job Template. Id pulumi.StringInput `pulumi:"id"` // The first ID of the resource. JobTemplateId pulumi.StringInput `pulumi:"jobTemplateId"` // A Job Template Name. JobTemplateName pulumi.StringInput `pulumi:"jobTemplateName"` // A Single Compute Node Maximum Memory. Mem pulumi.StringInput `pulumi:"mem"` // Submit a Task Is Required for Computing the Number of Data Nodes to Be. Possible Values: 1~5000 . Node pulumi.IntInput `pulumi:"node"` // Job Commands the Directory. PackagePath pulumi.StringInput `pulumi:"packagePath"` // The Job Priority.Possible Values: 0~9. Priority pulumi.IntInput `pulumi:"priority"` // The Job Queue. Queue pulumi.StringInput `pulumi:"queue"` // If the Job Is Support for the Re-Run. ReRunable pulumi.BoolInput `pulumi:"reRunable"` // The name of the user who performed the job. RunasUser pulumi.StringInput `pulumi:"runasUser"` // Error Output Path. StderrRedirectPath pulumi.StringInput `pulumi:"stderrRedirectPath"` // Standard Output Path and. StdoutRedirectPath pulumi.StringInput `pulumi:"stdoutRedirectPath"` // A Single Compute Node Required Number of Tasks. Possible Values: 1~20000 . Task pulumi.IntInput `pulumi:"task"` // A Single Task and the Number of Required Threads.Possible Values: 1~20000. Thread pulumi.IntInput `pulumi:"thread"` // The Job of the Environment Variable. Variables pulumi.StringInput `pulumi:"variables"` }
func (GetJobTemplatesTemplateArgs) ElementType ¶
func (GetJobTemplatesTemplateArgs) ElementType() reflect.Type
func (GetJobTemplatesTemplateArgs) ToGetJobTemplatesTemplateOutput ¶
func (i GetJobTemplatesTemplateArgs) ToGetJobTemplatesTemplateOutput() GetJobTemplatesTemplateOutput
func (GetJobTemplatesTemplateArgs) ToGetJobTemplatesTemplateOutputWithContext ¶
func (i GetJobTemplatesTemplateArgs) ToGetJobTemplatesTemplateOutputWithContext(ctx context.Context) GetJobTemplatesTemplateOutput
func (GetJobTemplatesTemplateArgs) ToOutput ¶ added in v3.43.1
func (i GetJobTemplatesTemplateArgs) ToOutput(ctx context.Context) pulumix.Output[GetJobTemplatesTemplate]
type GetJobTemplatesTemplateArray ¶
type GetJobTemplatesTemplateArray []GetJobTemplatesTemplateInput
func (GetJobTemplatesTemplateArray) ElementType ¶
func (GetJobTemplatesTemplateArray) ElementType() reflect.Type
func (GetJobTemplatesTemplateArray) ToGetJobTemplatesTemplateArrayOutput ¶
func (i GetJobTemplatesTemplateArray) ToGetJobTemplatesTemplateArrayOutput() GetJobTemplatesTemplateArrayOutput
func (GetJobTemplatesTemplateArray) ToGetJobTemplatesTemplateArrayOutputWithContext ¶
func (i GetJobTemplatesTemplateArray) ToGetJobTemplatesTemplateArrayOutputWithContext(ctx context.Context) GetJobTemplatesTemplateArrayOutput
func (GetJobTemplatesTemplateArray) ToOutput ¶ added in v3.43.1
func (i GetJobTemplatesTemplateArray) ToOutput(ctx context.Context) pulumix.Output[[]GetJobTemplatesTemplate]
type GetJobTemplatesTemplateArrayInput ¶
type GetJobTemplatesTemplateArrayInput interface { pulumi.Input ToGetJobTemplatesTemplateArrayOutput() GetJobTemplatesTemplateArrayOutput ToGetJobTemplatesTemplateArrayOutputWithContext(context.Context) GetJobTemplatesTemplateArrayOutput }
GetJobTemplatesTemplateArrayInput is an input type that accepts GetJobTemplatesTemplateArray and GetJobTemplatesTemplateArrayOutput values. You can construct a concrete instance of `GetJobTemplatesTemplateArrayInput` via:
GetJobTemplatesTemplateArray{ GetJobTemplatesTemplateArgs{...} }
type GetJobTemplatesTemplateArrayOutput ¶
type GetJobTemplatesTemplateArrayOutput struct{ *pulumi.OutputState }
func (GetJobTemplatesTemplateArrayOutput) ElementType ¶
func (GetJobTemplatesTemplateArrayOutput) ElementType() reflect.Type
func (GetJobTemplatesTemplateArrayOutput) Index ¶
func (o GetJobTemplatesTemplateArrayOutput) Index(i pulumi.IntInput) GetJobTemplatesTemplateOutput
func (GetJobTemplatesTemplateArrayOutput) ToGetJobTemplatesTemplateArrayOutput ¶
func (o GetJobTemplatesTemplateArrayOutput) ToGetJobTemplatesTemplateArrayOutput() GetJobTemplatesTemplateArrayOutput
func (GetJobTemplatesTemplateArrayOutput) ToGetJobTemplatesTemplateArrayOutputWithContext ¶
func (o GetJobTemplatesTemplateArrayOutput) ToGetJobTemplatesTemplateArrayOutputWithContext(ctx context.Context) GetJobTemplatesTemplateArrayOutput
func (GetJobTemplatesTemplateArrayOutput) ToOutput ¶ added in v3.43.1
func (o GetJobTemplatesTemplateArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetJobTemplatesTemplate]
type GetJobTemplatesTemplateInput ¶
type GetJobTemplatesTemplateInput interface { pulumi.Input ToGetJobTemplatesTemplateOutput() GetJobTemplatesTemplateOutput ToGetJobTemplatesTemplateOutputWithContext(context.Context) GetJobTemplatesTemplateOutput }
GetJobTemplatesTemplateInput is an input type that accepts GetJobTemplatesTemplateArgs and GetJobTemplatesTemplateOutput values. You can construct a concrete instance of `GetJobTemplatesTemplateInput` via:
GetJobTemplatesTemplateArgs{...}
type GetJobTemplatesTemplateOutput ¶
type GetJobTemplatesTemplateOutput struct{ *pulumi.OutputState }
func (GetJobTemplatesTemplateOutput) ArrayRequest ¶
func (o GetJobTemplatesTemplateOutput) ArrayRequest() pulumi.StringOutput
Queue Jobs, Is of the Form: 1-10:2.
func (GetJobTemplatesTemplateOutput) ClockTime ¶
func (o GetJobTemplatesTemplateOutput) ClockTime() pulumi.StringOutput
Job Maximum Run Time.
func (GetJobTemplatesTemplateOutput) CommandLine ¶
func (o GetJobTemplatesTemplateOutput) CommandLine() pulumi.StringOutput
Job Commands.
func (GetJobTemplatesTemplateOutput) ElementType ¶
func (GetJobTemplatesTemplateOutput) ElementType() reflect.Type
func (GetJobTemplatesTemplateOutput) Gpu ¶
func (o GetJobTemplatesTemplateOutput) Gpu() pulumi.IntOutput
A Single Compute Node Using the GPU Number.Possible Values: 1~20000.
func (GetJobTemplatesTemplateOutput) Id ¶
func (o GetJobTemplatesTemplateOutput) Id() pulumi.StringOutput
The ID of the Job Template.
func (GetJobTemplatesTemplateOutput) JobTemplateId ¶
func (o GetJobTemplatesTemplateOutput) JobTemplateId() pulumi.StringOutput
The first ID of the resource.
func (GetJobTemplatesTemplateOutput) JobTemplateName ¶
func (o GetJobTemplatesTemplateOutput) JobTemplateName() pulumi.StringOutput
A Job Template Name.
func (GetJobTemplatesTemplateOutput) Mem ¶
func (o GetJobTemplatesTemplateOutput) Mem() pulumi.StringOutput
A Single Compute Node Maximum Memory.
func (GetJobTemplatesTemplateOutput) Node ¶
func (o GetJobTemplatesTemplateOutput) Node() pulumi.IntOutput
Submit a Task Is Required for Computing the Number of Data Nodes to Be. Possible Values: 1~5000 .
func (GetJobTemplatesTemplateOutput) PackagePath ¶
func (o GetJobTemplatesTemplateOutput) PackagePath() pulumi.StringOutput
Job Commands the Directory.
func (GetJobTemplatesTemplateOutput) Priority ¶
func (o GetJobTemplatesTemplateOutput) Priority() pulumi.IntOutput
The Job Priority.Possible Values: 0~9.
func (GetJobTemplatesTemplateOutput) Queue ¶
func (o GetJobTemplatesTemplateOutput) Queue() pulumi.StringOutput
The Job Queue.
func (GetJobTemplatesTemplateOutput) ReRunable ¶
func (o GetJobTemplatesTemplateOutput) ReRunable() pulumi.BoolOutput
If the Job Is Support for the Re-Run.
func (GetJobTemplatesTemplateOutput) RunasUser ¶
func (o GetJobTemplatesTemplateOutput) RunasUser() pulumi.StringOutput
The name of the user who performed the job.
func (GetJobTemplatesTemplateOutput) StderrRedirectPath ¶
func (o GetJobTemplatesTemplateOutput) StderrRedirectPath() pulumi.StringOutput
Error Output Path.
func (GetJobTemplatesTemplateOutput) StdoutRedirectPath ¶
func (o GetJobTemplatesTemplateOutput) StdoutRedirectPath() pulumi.StringOutput
Standard Output Path and.
func (GetJobTemplatesTemplateOutput) Task ¶
func (o GetJobTemplatesTemplateOutput) Task() pulumi.IntOutput
A Single Compute Node Required Number of Tasks. Possible Values: 1~20000 .
func (GetJobTemplatesTemplateOutput) Thread ¶
func (o GetJobTemplatesTemplateOutput) Thread() pulumi.IntOutput
A Single Task and the Number of Required Threads.Possible Values: 1~20000.
func (GetJobTemplatesTemplateOutput) ToGetJobTemplatesTemplateOutput ¶
func (o GetJobTemplatesTemplateOutput) ToGetJobTemplatesTemplateOutput() GetJobTemplatesTemplateOutput
func (GetJobTemplatesTemplateOutput) ToGetJobTemplatesTemplateOutputWithContext ¶
func (o GetJobTemplatesTemplateOutput) ToGetJobTemplatesTemplateOutputWithContext(ctx context.Context) GetJobTemplatesTemplateOutput
func (GetJobTemplatesTemplateOutput) ToOutput ¶ added in v3.43.1
func (o GetJobTemplatesTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[GetJobTemplatesTemplate]
func (GetJobTemplatesTemplateOutput) Variables ¶
func (o GetJobTemplatesTemplateOutput) Variables() pulumi.StringOutput
The Job of the Environment Variable.
type JobTemplate ¶
type JobTemplate struct { pulumi.CustomResourceState // Queue Jobs, Is of the Form: 1-10:2. ArrayRequest pulumi.StringPtrOutput `pulumi:"arrayRequest"` // Job Maximum Run Time. ClockTime pulumi.StringPtrOutput `pulumi:"clockTime"` // Job Commands. CommandLine pulumi.StringOutput `pulumi:"commandLine"` // A Single Compute Node Using the GPU Number.Possible Values: 1~20000. Gpu pulumi.IntPtrOutput `pulumi:"gpu"` // A Job Template Name. JobTemplateName pulumi.StringOutput `pulumi:"jobTemplateName"` // A Single Compute Node Maximum Memory. Mem pulumi.StringPtrOutput `pulumi:"mem"` // Submit a Task Is Required for Computing the Number of Data Nodes to Be. Possible Values: 1~5000 . Node pulumi.IntPtrOutput `pulumi:"node"` // Job Commands the Directory. PackagePath pulumi.StringPtrOutput `pulumi:"packagePath"` // The Job Priority. Priority pulumi.IntPtrOutput `pulumi:"priority"` // The Job Queue. Queue pulumi.StringPtrOutput `pulumi:"queue"` // If the Job Is Support for the Re-Run. ReRunable pulumi.BoolOutput `pulumi:"reRunable"` // The name of the user who performed the job. RunasUser pulumi.StringPtrOutput `pulumi:"runasUser"` // Error Output Path. StderrRedirectPath pulumi.StringPtrOutput `pulumi:"stderrRedirectPath"` // Standard Output Path and. StdoutRedirectPath pulumi.StringPtrOutput `pulumi:"stdoutRedirectPath"` // A Single Compute Node Required Number of Tasks. Possible Values: 1~20000 . Task pulumi.IntPtrOutput `pulumi:"task"` // A Single Task and the Number of Required Threads. Thread pulumi.IntPtrOutput `pulumi:"thread"` // The Job of the Environment Variable. Variables pulumi.StringPtrOutput `pulumi:"variables"` }
Provides a Ehpc Job Template resource.
For information about Ehpc Job Template and how to use it, see [What is Job Template](https://www.alibabacloud.com/help/product/57664.html).
> **NOTE:** Available in v1.133.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ehpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ehpc.NewJobTemplate(ctx, "default", &ehpc.JobTemplateArgs{ CommandLine: pulumi.String("./LammpsTest/lammps.pbs"), JobTemplateName: pulumi.String("example_value"), }) if err != nil { return err } return nil }) }
```
## Import
Ehpc Job Template can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ehpc/jobTemplate:JobTemplate example <id>
```
func GetJobTemplate ¶
func GetJobTemplate(ctx *pulumi.Context, name string, id pulumi.IDInput, state *JobTemplateState, opts ...pulumi.ResourceOption) (*JobTemplate, error)
GetJobTemplate gets an existing JobTemplate 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 NewJobTemplate ¶
func NewJobTemplate(ctx *pulumi.Context, name string, args *JobTemplateArgs, opts ...pulumi.ResourceOption) (*JobTemplate, error)
NewJobTemplate registers a new resource with the given unique name, arguments, and options.
func (*JobTemplate) ElementType ¶
func (*JobTemplate) ElementType() reflect.Type
func (*JobTemplate) ToJobTemplateOutput ¶
func (i *JobTemplate) ToJobTemplateOutput() JobTemplateOutput
func (*JobTemplate) ToJobTemplateOutputWithContext ¶
func (i *JobTemplate) ToJobTemplateOutputWithContext(ctx context.Context) JobTemplateOutput
func (*JobTemplate) ToOutput ¶ added in v3.43.1
func (i *JobTemplate) ToOutput(ctx context.Context) pulumix.Output[*JobTemplate]
type JobTemplateArgs ¶
type JobTemplateArgs struct { // Queue Jobs, Is of the Form: 1-10:2. ArrayRequest pulumi.StringPtrInput // Job Maximum Run Time. ClockTime pulumi.StringPtrInput // Job Commands. CommandLine pulumi.StringInput // A Single Compute Node Using the GPU Number.Possible Values: 1~20000. Gpu pulumi.IntPtrInput // A Job Template Name. JobTemplateName pulumi.StringInput // A Single Compute Node Maximum Memory. Mem pulumi.StringPtrInput // Submit a Task Is Required for Computing the Number of Data Nodes to Be. Possible Values: 1~5000 . Node pulumi.IntPtrInput // Job Commands the Directory. PackagePath pulumi.StringPtrInput // The Job Priority. Priority pulumi.IntPtrInput // The Job Queue. Queue pulumi.StringPtrInput // If the Job Is Support for the Re-Run. ReRunable pulumi.BoolPtrInput // The name of the user who performed the job. RunasUser pulumi.StringPtrInput // Error Output Path. StderrRedirectPath pulumi.StringPtrInput // Standard Output Path and. StdoutRedirectPath pulumi.StringPtrInput // A Single Compute Node Required Number of Tasks. Possible Values: 1~20000 . Task pulumi.IntPtrInput // A Single Task and the Number of Required Threads. Thread pulumi.IntPtrInput // The Job of the Environment Variable. Variables pulumi.StringPtrInput }
The set of arguments for constructing a JobTemplate resource.
func (JobTemplateArgs) ElementType ¶
func (JobTemplateArgs) ElementType() reflect.Type
type JobTemplateArray ¶
type JobTemplateArray []JobTemplateInput
func (JobTemplateArray) ElementType ¶
func (JobTemplateArray) ElementType() reflect.Type
func (JobTemplateArray) ToJobTemplateArrayOutput ¶
func (i JobTemplateArray) ToJobTemplateArrayOutput() JobTemplateArrayOutput
func (JobTemplateArray) ToJobTemplateArrayOutputWithContext ¶
func (i JobTemplateArray) ToJobTemplateArrayOutputWithContext(ctx context.Context) JobTemplateArrayOutput
func (JobTemplateArray) ToOutput ¶ added in v3.43.1
func (i JobTemplateArray) ToOutput(ctx context.Context) pulumix.Output[[]*JobTemplate]
type JobTemplateArrayInput ¶
type JobTemplateArrayInput interface { pulumi.Input ToJobTemplateArrayOutput() JobTemplateArrayOutput ToJobTemplateArrayOutputWithContext(context.Context) JobTemplateArrayOutput }
JobTemplateArrayInput is an input type that accepts JobTemplateArray and JobTemplateArrayOutput values. You can construct a concrete instance of `JobTemplateArrayInput` via:
JobTemplateArray{ JobTemplateArgs{...} }
type JobTemplateArrayOutput ¶
type JobTemplateArrayOutput struct{ *pulumi.OutputState }
func (JobTemplateArrayOutput) ElementType ¶
func (JobTemplateArrayOutput) ElementType() reflect.Type
func (JobTemplateArrayOutput) Index ¶
func (o JobTemplateArrayOutput) Index(i pulumi.IntInput) JobTemplateOutput
func (JobTemplateArrayOutput) ToJobTemplateArrayOutput ¶
func (o JobTemplateArrayOutput) ToJobTemplateArrayOutput() JobTemplateArrayOutput
func (JobTemplateArrayOutput) ToJobTemplateArrayOutputWithContext ¶
func (o JobTemplateArrayOutput) ToJobTemplateArrayOutputWithContext(ctx context.Context) JobTemplateArrayOutput
func (JobTemplateArrayOutput) ToOutput ¶ added in v3.43.1
func (o JobTemplateArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*JobTemplate]
type JobTemplateInput ¶
type JobTemplateInput interface { pulumi.Input ToJobTemplateOutput() JobTemplateOutput ToJobTemplateOutputWithContext(ctx context.Context) JobTemplateOutput }
type JobTemplateMap ¶
type JobTemplateMap map[string]JobTemplateInput
func (JobTemplateMap) ElementType ¶
func (JobTemplateMap) ElementType() reflect.Type
func (JobTemplateMap) ToJobTemplateMapOutput ¶
func (i JobTemplateMap) ToJobTemplateMapOutput() JobTemplateMapOutput
func (JobTemplateMap) ToJobTemplateMapOutputWithContext ¶
func (i JobTemplateMap) ToJobTemplateMapOutputWithContext(ctx context.Context) JobTemplateMapOutput
func (JobTemplateMap) ToOutput ¶ added in v3.43.1
func (i JobTemplateMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*JobTemplate]
type JobTemplateMapInput ¶
type JobTemplateMapInput interface { pulumi.Input ToJobTemplateMapOutput() JobTemplateMapOutput ToJobTemplateMapOutputWithContext(context.Context) JobTemplateMapOutput }
JobTemplateMapInput is an input type that accepts JobTemplateMap and JobTemplateMapOutput values. You can construct a concrete instance of `JobTemplateMapInput` via:
JobTemplateMap{ "key": JobTemplateArgs{...} }
type JobTemplateMapOutput ¶
type JobTemplateMapOutput struct{ *pulumi.OutputState }
func (JobTemplateMapOutput) ElementType ¶
func (JobTemplateMapOutput) ElementType() reflect.Type
func (JobTemplateMapOutput) MapIndex ¶
func (o JobTemplateMapOutput) MapIndex(k pulumi.StringInput) JobTemplateOutput
func (JobTemplateMapOutput) ToJobTemplateMapOutput ¶
func (o JobTemplateMapOutput) ToJobTemplateMapOutput() JobTemplateMapOutput
func (JobTemplateMapOutput) ToJobTemplateMapOutputWithContext ¶
func (o JobTemplateMapOutput) ToJobTemplateMapOutputWithContext(ctx context.Context) JobTemplateMapOutput
func (JobTemplateMapOutput) ToOutput ¶ added in v3.43.1
func (o JobTemplateMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*JobTemplate]
type JobTemplateOutput ¶
type JobTemplateOutput struct{ *pulumi.OutputState }
func (JobTemplateOutput) ArrayRequest ¶ added in v3.27.0
func (o JobTemplateOutput) ArrayRequest() pulumi.StringPtrOutput
Queue Jobs, Is of the Form: 1-10:2.
func (JobTemplateOutput) ClockTime ¶ added in v3.27.0
func (o JobTemplateOutput) ClockTime() pulumi.StringPtrOutput
Job Maximum Run Time.
func (JobTemplateOutput) CommandLine ¶ added in v3.27.0
func (o JobTemplateOutput) CommandLine() pulumi.StringOutput
Job Commands.
func (JobTemplateOutput) ElementType ¶
func (JobTemplateOutput) ElementType() reflect.Type
func (JobTemplateOutput) Gpu ¶ added in v3.27.0
func (o JobTemplateOutput) Gpu() pulumi.IntPtrOutput
A Single Compute Node Using the GPU Number.Possible Values: 1~20000.
func (JobTemplateOutput) JobTemplateName ¶ added in v3.27.0
func (o JobTemplateOutput) JobTemplateName() pulumi.StringOutput
A Job Template Name.
func (JobTemplateOutput) Mem ¶ added in v3.27.0
func (o JobTemplateOutput) Mem() pulumi.StringPtrOutput
A Single Compute Node Maximum Memory.
func (JobTemplateOutput) Node ¶ added in v3.27.0
func (o JobTemplateOutput) Node() pulumi.IntPtrOutput
Submit a Task Is Required for Computing the Number of Data Nodes to Be. Possible Values: 1~5000 .
func (JobTemplateOutput) PackagePath ¶ added in v3.27.0
func (o JobTemplateOutput) PackagePath() pulumi.StringPtrOutput
Job Commands the Directory.
func (JobTemplateOutput) Priority ¶ added in v3.27.0
func (o JobTemplateOutput) Priority() pulumi.IntPtrOutput
The Job Priority.
func (JobTemplateOutput) Queue ¶ added in v3.27.0
func (o JobTemplateOutput) Queue() pulumi.StringPtrOutput
The Job Queue.
func (JobTemplateOutput) ReRunable ¶ added in v3.27.0
func (o JobTemplateOutput) ReRunable() pulumi.BoolOutput
If the Job Is Support for the Re-Run.
func (JobTemplateOutput) RunasUser ¶ added in v3.27.0
func (o JobTemplateOutput) RunasUser() pulumi.StringPtrOutput
The name of the user who performed the job.
func (JobTemplateOutput) StderrRedirectPath ¶ added in v3.27.0
func (o JobTemplateOutput) StderrRedirectPath() pulumi.StringPtrOutput
Error Output Path.
func (JobTemplateOutput) StdoutRedirectPath ¶ added in v3.27.0
func (o JobTemplateOutput) StdoutRedirectPath() pulumi.StringPtrOutput
Standard Output Path and.
func (JobTemplateOutput) Task ¶ added in v3.27.0
func (o JobTemplateOutput) Task() pulumi.IntPtrOutput
A Single Compute Node Required Number of Tasks. Possible Values: 1~20000 .
func (JobTemplateOutput) Thread ¶ added in v3.27.0
func (o JobTemplateOutput) Thread() pulumi.IntPtrOutput
A Single Task and the Number of Required Threads.
func (JobTemplateOutput) ToJobTemplateOutput ¶
func (o JobTemplateOutput) ToJobTemplateOutput() JobTemplateOutput
func (JobTemplateOutput) ToJobTemplateOutputWithContext ¶
func (o JobTemplateOutput) ToJobTemplateOutputWithContext(ctx context.Context) JobTemplateOutput
func (JobTemplateOutput) ToOutput ¶ added in v3.43.1
func (o JobTemplateOutput) ToOutput(ctx context.Context) pulumix.Output[*JobTemplate]
func (JobTemplateOutput) Variables ¶ added in v3.27.0
func (o JobTemplateOutput) Variables() pulumi.StringPtrOutput
The Job of the Environment Variable.
type JobTemplateState ¶
type JobTemplateState struct { // Queue Jobs, Is of the Form: 1-10:2. ArrayRequest pulumi.StringPtrInput // Job Maximum Run Time. ClockTime pulumi.StringPtrInput // Job Commands. CommandLine pulumi.StringPtrInput // A Single Compute Node Using the GPU Number.Possible Values: 1~20000. Gpu pulumi.IntPtrInput // A Job Template Name. JobTemplateName pulumi.StringPtrInput // A Single Compute Node Maximum Memory. Mem pulumi.StringPtrInput // Submit a Task Is Required for Computing the Number of Data Nodes to Be. Possible Values: 1~5000 . Node pulumi.IntPtrInput // Job Commands the Directory. PackagePath pulumi.StringPtrInput // The Job Priority. Priority pulumi.IntPtrInput // The Job Queue. Queue pulumi.StringPtrInput // If the Job Is Support for the Re-Run. ReRunable pulumi.BoolPtrInput // The name of the user who performed the job. RunasUser pulumi.StringPtrInput // Error Output Path. StderrRedirectPath pulumi.StringPtrInput // Standard Output Path and. StdoutRedirectPath pulumi.StringPtrInput // A Single Compute Node Required Number of Tasks. Possible Values: 1~20000 . Task pulumi.IntPtrInput // A Single Task and the Number of Required Threads. Thread pulumi.IntPtrInput // The Job of the Environment Variable. Variables pulumi.StringPtrInput }
func (JobTemplateState) ElementType ¶
func (JobTemplateState) ElementType() reflect.Type