Documentation ¶
Index ¶
- type CephAcl
- type CephAclArgs
- type CephAclArray
- type CephAclArrayInput
- type CephAclArrayOutput
- type CephAclInput
- type CephAclMap
- type CephAclMapInput
- type CephAclMapOutput
- type CephAclOutput
- func (CephAclOutput) ElementType() reflect.Type
- func (o CephAclOutput) Family() pulumi.StringOutput
- func (o CephAclOutput) Netmask() pulumi.StringOutput
- func (o CephAclOutput) Network() pulumi.StringOutput
- func (o CephAclOutput) ServiceName() pulumi.StringOutput
- func (o CephAclOutput) ToCephAclOutput() CephAclOutput
- func (o CephAclOutput) ToCephAclOutputWithContext(ctx context.Context) CephAclOutput
- type CephAclState
- type GetCephArgs
- type GetCephOutputArgs
- type GetCephResult
- type GetCephResultOutput
- func (o GetCephResultOutput) CephMons() pulumi.StringArrayOutput
- func (o GetCephResultOutput) CephVersion() pulumi.StringOutput
- func (o GetCephResultOutput) CrushTunables() pulumi.StringOutput
- func (GetCephResultOutput) ElementType() reflect.Type
- func (o GetCephResultOutput) Id() pulumi.StringOutput
- func (o GetCephResultOutput) Label() pulumi.StringOutput
- func (o GetCephResultOutput) Region() pulumi.StringOutput
- func (o GetCephResultOutput) ServiceName() pulumi.StringOutput
- func (o GetCephResultOutput) Size() pulumi.Float64Output
- func (o GetCephResultOutput) State() pulumi.StringOutput
- func (o GetCephResultOutput) Status() pulumi.StringOutput
- func (o GetCephResultOutput) ToGetCephResultOutput() GetCephResultOutput
- func (o GetCephResultOutput) ToGetCephResultOutputWithContext(ctx context.Context) GetCephResultOutput
- func (o GetCephResultOutput) Urn() pulumi.StringOutput
- type GetNasHAArgs
- type GetNasHAOutputArgs
- type GetNasHAResult
- type GetNasHAResultOutput
- func (o GetNasHAResultOutput) CanCreatePartition() pulumi.BoolOutput
- func (o GetNasHAResultOutput) CustomName() pulumi.StringOutput
- func (o GetNasHAResultOutput) Datacenter() pulumi.StringOutput
- func (o GetNasHAResultOutput) DiskType() pulumi.StringOutput
- func (GetNasHAResultOutput) ElementType() reflect.Type
- func (o GetNasHAResultOutput) Id() pulumi.StringOutput
- func (o GetNasHAResultOutput) Ip() pulumi.StringOutput
- func (o GetNasHAResultOutput) Monitored() pulumi.BoolOutput
- func (o GetNasHAResultOutput) ServiceName() pulumi.StringOutput
- func (o GetNasHAResultOutput) ToGetNasHAResultOutput() GetNasHAResultOutput
- func (o GetNasHAResultOutput) ToGetNasHAResultOutputWithContext(ctx context.Context) GetNasHAResultOutput
- func (o GetNasHAResultOutput) Urn() pulumi.StringOutput
- func (o GetNasHAResultOutput) ZpoolCapacity() pulumi.Float64Output
- func (o GetNasHAResultOutput) ZpoolSize() pulumi.Float64Output
- type GetServerBootsArgs
- type GetServerBootsOutputArgs
- type GetServerBootsResult
- type GetServerBootsResultOutput
- func (o GetServerBootsResultOutput) BootType() pulumi.StringPtrOutput
- func (GetServerBootsResultOutput) ElementType() reflect.Type
- func (o GetServerBootsResultOutput) Id() pulumi.StringOutput
- func (o GetServerBootsResultOutput) Kernel() pulumi.StringPtrOutput
- func (o GetServerBootsResultOutput) Results() pulumi.IntArrayOutput
- func (o GetServerBootsResultOutput) ServiceName() pulumi.StringOutput
- func (o GetServerBootsResultOutput) ToGetServerBootsResultOutput() GetServerBootsResultOutput
- func (o GetServerBootsResultOutput) ToGetServerBootsResultOutputWithContext(ctx context.Context) GetServerBootsResultOutput
- type NasHAPartition
- type NasHAPartitionAccess
- type NasHAPartitionAccessArgs
- type NasHAPartitionAccessArray
- type NasHAPartitionAccessArrayInput
- type NasHAPartitionAccessArrayOutput
- func (NasHAPartitionAccessArrayOutput) ElementType() reflect.Type
- func (o NasHAPartitionAccessArrayOutput) Index(i pulumi.IntInput) NasHAPartitionAccessOutput
- func (o NasHAPartitionAccessArrayOutput) ToNasHAPartitionAccessArrayOutput() NasHAPartitionAccessArrayOutput
- func (o NasHAPartitionAccessArrayOutput) ToNasHAPartitionAccessArrayOutputWithContext(ctx context.Context) NasHAPartitionAccessArrayOutput
- type NasHAPartitionAccessInput
- type NasHAPartitionAccessMap
- type NasHAPartitionAccessMapInput
- type NasHAPartitionAccessMapOutput
- func (NasHAPartitionAccessMapOutput) ElementType() reflect.Type
- func (o NasHAPartitionAccessMapOutput) MapIndex(k pulumi.StringInput) NasHAPartitionAccessOutput
- func (o NasHAPartitionAccessMapOutput) ToNasHAPartitionAccessMapOutput() NasHAPartitionAccessMapOutput
- func (o NasHAPartitionAccessMapOutput) ToNasHAPartitionAccessMapOutputWithContext(ctx context.Context) NasHAPartitionAccessMapOutput
- type NasHAPartitionAccessOutput
- func (NasHAPartitionAccessOutput) ElementType() reflect.Type
- func (o NasHAPartitionAccessOutput) Ip() pulumi.StringOutput
- func (o NasHAPartitionAccessOutput) PartitionName() pulumi.StringOutput
- func (o NasHAPartitionAccessOutput) ServiceName() pulumi.StringOutput
- func (o NasHAPartitionAccessOutput) ToNasHAPartitionAccessOutput() NasHAPartitionAccessOutput
- func (o NasHAPartitionAccessOutput) ToNasHAPartitionAccessOutputWithContext(ctx context.Context) NasHAPartitionAccessOutput
- func (o NasHAPartitionAccessOutput) Type() pulumi.StringPtrOutput
- type NasHAPartitionAccessState
- type NasHAPartitionArgs
- type NasHAPartitionArray
- type NasHAPartitionArrayInput
- type NasHAPartitionArrayOutput
- func (NasHAPartitionArrayOutput) ElementType() reflect.Type
- func (o NasHAPartitionArrayOutput) Index(i pulumi.IntInput) NasHAPartitionOutput
- func (o NasHAPartitionArrayOutput) ToNasHAPartitionArrayOutput() NasHAPartitionArrayOutput
- func (o NasHAPartitionArrayOutput) ToNasHAPartitionArrayOutputWithContext(ctx context.Context) NasHAPartitionArrayOutput
- type NasHAPartitionInput
- type NasHAPartitionMap
- type NasHAPartitionMapInput
- type NasHAPartitionMapOutput
- func (NasHAPartitionMapOutput) ElementType() reflect.Type
- func (o NasHAPartitionMapOutput) MapIndex(k pulumi.StringInput) NasHAPartitionOutput
- func (o NasHAPartitionMapOutput) ToNasHAPartitionMapOutput() NasHAPartitionMapOutput
- func (o NasHAPartitionMapOutput) ToNasHAPartitionMapOutputWithContext(ctx context.Context) NasHAPartitionMapOutput
- type NasHAPartitionOutput
- func (o NasHAPartitionOutput) Capacity() pulumi.IntOutput
- func (o NasHAPartitionOutput) Description() pulumi.StringPtrOutput
- func (NasHAPartitionOutput) ElementType() reflect.Type
- func (o NasHAPartitionOutput) Name() pulumi.StringOutput
- func (o NasHAPartitionOutput) Protocol() pulumi.StringOutput
- func (o NasHAPartitionOutput) ServiceName() pulumi.StringOutput
- func (o NasHAPartitionOutput) Size() pulumi.IntOutput
- func (o NasHAPartitionOutput) ToNasHAPartitionOutput() NasHAPartitionOutput
- func (o NasHAPartitionOutput) ToNasHAPartitionOutputWithContext(ctx context.Context) NasHAPartitionOutput
- func (o NasHAPartitionOutput) UsedBySnapshots() pulumi.IntOutput
- type NasHAPartitionSnapshot
- type NasHAPartitionSnapshotArgs
- type NasHAPartitionSnapshotArray
- func (NasHAPartitionSnapshotArray) ElementType() reflect.Type
- func (i NasHAPartitionSnapshotArray) ToNasHAPartitionSnapshotArrayOutput() NasHAPartitionSnapshotArrayOutput
- func (i NasHAPartitionSnapshotArray) ToNasHAPartitionSnapshotArrayOutputWithContext(ctx context.Context) NasHAPartitionSnapshotArrayOutput
- type NasHAPartitionSnapshotArrayInput
- type NasHAPartitionSnapshotArrayOutput
- func (NasHAPartitionSnapshotArrayOutput) ElementType() reflect.Type
- func (o NasHAPartitionSnapshotArrayOutput) Index(i pulumi.IntInput) NasHAPartitionSnapshotOutput
- func (o NasHAPartitionSnapshotArrayOutput) ToNasHAPartitionSnapshotArrayOutput() NasHAPartitionSnapshotArrayOutput
- func (o NasHAPartitionSnapshotArrayOutput) ToNasHAPartitionSnapshotArrayOutputWithContext(ctx context.Context) NasHAPartitionSnapshotArrayOutput
- type NasHAPartitionSnapshotInput
- type NasHAPartitionSnapshotMap
- type NasHAPartitionSnapshotMapInput
- type NasHAPartitionSnapshotMapOutput
- func (NasHAPartitionSnapshotMapOutput) ElementType() reflect.Type
- func (o NasHAPartitionSnapshotMapOutput) MapIndex(k pulumi.StringInput) NasHAPartitionSnapshotOutput
- func (o NasHAPartitionSnapshotMapOutput) ToNasHAPartitionSnapshotMapOutput() NasHAPartitionSnapshotMapOutput
- func (o NasHAPartitionSnapshotMapOutput) ToNasHAPartitionSnapshotMapOutputWithContext(ctx context.Context) NasHAPartitionSnapshotMapOutput
- type NasHAPartitionSnapshotOutput
- func (NasHAPartitionSnapshotOutput) ElementType() reflect.Type
- func (o NasHAPartitionSnapshotOutput) PartitionName() pulumi.StringOutput
- func (o NasHAPartitionSnapshotOutput) ServiceName() pulumi.StringOutput
- func (o NasHAPartitionSnapshotOutput) ToNasHAPartitionSnapshotOutput() NasHAPartitionSnapshotOutput
- func (o NasHAPartitionSnapshotOutput) ToNasHAPartitionSnapshotOutputWithContext(ctx context.Context) NasHAPartitionSnapshotOutput
- func (o NasHAPartitionSnapshotOutput) Type() pulumi.StringOutput
- type NasHAPartitionSnapshotState
- type NasHAPartitionState
- type ServerInstallTask
- type ServerInstallTaskArgs
- type ServerInstallTaskArray
- type ServerInstallTaskArrayInput
- type ServerInstallTaskArrayOutput
- func (ServerInstallTaskArrayOutput) ElementType() reflect.Type
- func (o ServerInstallTaskArrayOutput) Index(i pulumi.IntInput) ServerInstallTaskOutput
- func (o ServerInstallTaskArrayOutput) ToServerInstallTaskArrayOutput() ServerInstallTaskArrayOutput
- func (o ServerInstallTaskArrayOutput) ToServerInstallTaskArrayOutputWithContext(ctx context.Context) ServerInstallTaskArrayOutput
- type ServerInstallTaskDetails
- type ServerInstallTaskDetailsArgs
- func (ServerInstallTaskDetailsArgs) ElementType() reflect.Type
- func (i ServerInstallTaskDetailsArgs) ToServerInstallTaskDetailsOutput() ServerInstallTaskDetailsOutput
- func (i ServerInstallTaskDetailsArgs) ToServerInstallTaskDetailsOutputWithContext(ctx context.Context) ServerInstallTaskDetailsOutput
- func (i ServerInstallTaskDetailsArgs) ToServerInstallTaskDetailsPtrOutput() ServerInstallTaskDetailsPtrOutput
- func (i ServerInstallTaskDetailsArgs) ToServerInstallTaskDetailsPtrOutputWithContext(ctx context.Context) ServerInstallTaskDetailsPtrOutput
- type ServerInstallTaskDetailsInput
- type ServerInstallTaskDetailsOutput
- func (o ServerInstallTaskDetailsOutput) ChangeLog() pulumi.StringPtrOutputdeprecated
- func (o ServerInstallTaskDetailsOutput) CustomHostname() pulumi.StringPtrOutput
- func (o ServerInstallTaskDetailsOutput) DiskGroupId() pulumi.IntPtrOutput
- func (ServerInstallTaskDetailsOutput) ElementType() reflect.Type
- func (o ServerInstallTaskDetailsOutput) InstallRtm() pulumi.BoolPtrOutput
- func (o ServerInstallTaskDetailsOutput) InstallSqlServer() pulumi.BoolPtrOutput
- func (o ServerInstallTaskDetailsOutput) Language() pulumi.StringPtrOutput
- func (o ServerInstallTaskDetailsOutput) NoRaid() pulumi.BoolPtrOutput
- func (o ServerInstallTaskDetailsOutput) PostInstallationScriptLink() pulumi.StringPtrOutput
- func (o ServerInstallTaskDetailsOutput) PostInstallationScriptReturn() pulumi.StringPtrOutput
- func (o ServerInstallTaskDetailsOutput) ResetHwRaid() pulumi.BoolPtrOutput
- func (o ServerInstallTaskDetailsOutput) SoftRaidDevices() pulumi.IntPtrOutput
- func (o ServerInstallTaskDetailsOutput) SshKeyName() pulumi.StringPtrOutput
- func (o ServerInstallTaskDetailsOutput) ToServerInstallTaskDetailsOutput() ServerInstallTaskDetailsOutput
- func (o ServerInstallTaskDetailsOutput) ToServerInstallTaskDetailsOutputWithContext(ctx context.Context) ServerInstallTaskDetailsOutput
- func (o ServerInstallTaskDetailsOutput) ToServerInstallTaskDetailsPtrOutput() ServerInstallTaskDetailsPtrOutput
- func (o ServerInstallTaskDetailsOutput) ToServerInstallTaskDetailsPtrOutputWithContext(ctx context.Context) ServerInstallTaskDetailsPtrOutput
- func (o ServerInstallTaskDetailsOutput) UseDistribKernel() pulumi.BoolPtrOutput
- func (o ServerInstallTaskDetailsOutput) UseSpla() pulumi.BoolPtrOutput
- type ServerInstallTaskDetailsPtrInput
- type ServerInstallTaskDetailsPtrOutput
- func (o ServerInstallTaskDetailsPtrOutput) ChangeLog() pulumi.StringPtrOutputdeprecated
- func (o ServerInstallTaskDetailsPtrOutput) CustomHostname() pulumi.StringPtrOutput
- func (o ServerInstallTaskDetailsPtrOutput) DiskGroupId() pulumi.IntPtrOutput
- func (o ServerInstallTaskDetailsPtrOutput) Elem() ServerInstallTaskDetailsOutput
- func (ServerInstallTaskDetailsPtrOutput) ElementType() reflect.Type
- func (o ServerInstallTaskDetailsPtrOutput) InstallRtm() pulumi.BoolPtrOutput
- func (o ServerInstallTaskDetailsPtrOutput) InstallSqlServer() pulumi.BoolPtrOutput
- func (o ServerInstallTaskDetailsPtrOutput) Language() pulumi.StringPtrOutput
- func (o ServerInstallTaskDetailsPtrOutput) NoRaid() pulumi.BoolPtrOutput
- func (o ServerInstallTaskDetailsPtrOutput) PostInstallationScriptLink() pulumi.StringPtrOutput
- func (o ServerInstallTaskDetailsPtrOutput) PostInstallationScriptReturn() pulumi.StringPtrOutput
- func (o ServerInstallTaskDetailsPtrOutput) ResetHwRaid() pulumi.BoolPtrOutput
- func (o ServerInstallTaskDetailsPtrOutput) SoftRaidDevices() pulumi.IntPtrOutput
- func (o ServerInstallTaskDetailsPtrOutput) SshKeyName() pulumi.StringPtrOutput
- func (o ServerInstallTaskDetailsPtrOutput) ToServerInstallTaskDetailsPtrOutput() ServerInstallTaskDetailsPtrOutput
- func (o ServerInstallTaskDetailsPtrOutput) ToServerInstallTaskDetailsPtrOutputWithContext(ctx context.Context) ServerInstallTaskDetailsPtrOutput
- func (o ServerInstallTaskDetailsPtrOutput) UseDistribKernel() pulumi.BoolPtrOutput
- func (o ServerInstallTaskDetailsPtrOutput) UseSpla() pulumi.BoolPtrOutput
- type ServerInstallTaskInput
- type ServerInstallTaskMap
- type ServerInstallTaskMapInput
- type ServerInstallTaskMapOutput
- func (ServerInstallTaskMapOutput) ElementType() reflect.Type
- func (o ServerInstallTaskMapOutput) MapIndex(k pulumi.StringInput) ServerInstallTaskOutput
- func (o ServerInstallTaskMapOutput) ToServerInstallTaskMapOutput() ServerInstallTaskMapOutput
- func (o ServerInstallTaskMapOutput) ToServerInstallTaskMapOutputWithContext(ctx context.Context) ServerInstallTaskMapOutput
- type ServerInstallTaskOutput
- func (o ServerInstallTaskOutput) BootidOnDestroy() pulumi.IntPtrOutput
- func (o ServerInstallTaskOutput) Comment() pulumi.StringOutput
- func (o ServerInstallTaskOutput) Details() ServerInstallTaskDetailsPtrOutput
- func (o ServerInstallTaskOutput) DoneDate() pulumi.StringOutput
- func (ServerInstallTaskOutput) ElementType() reflect.Type
- func (o ServerInstallTaskOutput) Function() pulumi.StringOutput
- func (o ServerInstallTaskOutput) LastUpdate() pulumi.StringOutput
- func (o ServerInstallTaskOutput) PartitionSchemeName() pulumi.StringPtrOutput
- func (o ServerInstallTaskOutput) ServiceName() pulumi.StringOutput
- func (o ServerInstallTaskOutput) StartDate() pulumi.StringOutput
- func (o ServerInstallTaskOutput) Status() pulumi.StringOutput
- func (o ServerInstallTaskOutput) TemplateName() pulumi.StringOutput
- func (o ServerInstallTaskOutput) ToServerInstallTaskOutput() ServerInstallTaskOutput
- func (o ServerInstallTaskOutput) ToServerInstallTaskOutputWithContext(ctx context.Context) ServerInstallTaskOutput
- type ServerInstallTaskState
- type ServerNetworking
- type ServerNetworkingArgs
- type ServerNetworkingArray
- type ServerNetworkingArrayInput
- type ServerNetworkingArrayOutput
- func (ServerNetworkingArrayOutput) ElementType() reflect.Type
- func (o ServerNetworkingArrayOutput) Index(i pulumi.IntInput) ServerNetworkingOutput
- func (o ServerNetworkingArrayOutput) ToServerNetworkingArrayOutput() ServerNetworkingArrayOutput
- func (o ServerNetworkingArrayOutput) ToServerNetworkingArrayOutputWithContext(ctx context.Context) ServerNetworkingArrayOutput
- type ServerNetworkingInput
- type ServerNetworkingInterface
- type ServerNetworkingInterfaceArgs
- func (ServerNetworkingInterfaceArgs) ElementType() reflect.Type
- func (i ServerNetworkingInterfaceArgs) ToServerNetworkingInterfaceOutput() ServerNetworkingInterfaceOutput
- func (i ServerNetworkingInterfaceArgs) ToServerNetworkingInterfaceOutputWithContext(ctx context.Context) ServerNetworkingInterfaceOutput
- type ServerNetworkingInterfaceArray
- func (ServerNetworkingInterfaceArray) ElementType() reflect.Type
- func (i ServerNetworkingInterfaceArray) ToServerNetworkingInterfaceArrayOutput() ServerNetworkingInterfaceArrayOutput
- func (i ServerNetworkingInterfaceArray) ToServerNetworkingInterfaceArrayOutputWithContext(ctx context.Context) ServerNetworkingInterfaceArrayOutput
- type ServerNetworkingInterfaceArrayInput
- type ServerNetworkingInterfaceArrayOutput
- func (ServerNetworkingInterfaceArrayOutput) ElementType() reflect.Type
- func (o ServerNetworkingInterfaceArrayOutput) Index(i pulumi.IntInput) ServerNetworkingInterfaceOutput
- func (o ServerNetworkingInterfaceArrayOutput) ToServerNetworkingInterfaceArrayOutput() ServerNetworkingInterfaceArrayOutput
- func (o ServerNetworkingInterfaceArrayOutput) ToServerNetworkingInterfaceArrayOutputWithContext(ctx context.Context) ServerNetworkingInterfaceArrayOutput
- type ServerNetworkingInterfaceInput
- type ServerNetworkingInterfaceOutput
- func (ServerNetworkingInterfaceOutput) ElementType() reflect.Type
- func (o ServerNetworkingInterfaceOutput) Macs() pulumi.StringArrayOutput
- func (o ServerNetworkingInterfaceOutput) ToServerNetworkingInterfaceOutput() ServerNetworkingInterfaceOutput
- func (o ServerNetworkingInterfaceOutput) ToServerNetworkingInterfaceOutputWithContext(ctx context.Context) ServerNetworkingInterfaceOutput
- func (o ServerNetworkingInterfaceOutput) Type() pulumi.StringOutput
- type ServerNetworkingMap
- type ServerNetworkingMapInput
- type ServerNetworkingMapOutput
- func (ServerNetworkingMapOutput) ElementType() reflect.Type
- func (o ServerNetworkingMapOutput) MapIndex(k pulumi.StringInput) ServerNetworkingOutput
- func (o ServerNetworkingMapOutput) ToServerNetworkingMapOutput() ServerNetworkingMapOutput
- func (o ServerNetworkingMapOutput) ToServerNetworkingMapOutputWithContext(ctx context.Context) ServerNetworkingMapOutput
- type ServerNetworkingOutput
- func (o ServerNetworkingOutput) Description() pulumi.StringOutput
- func (ServerNetworkingOutput) ElementType() reflect.Type
- func (o ServerNetworkingOutput) Interfaces() ServerNetworkingInterfaceArrayOutput
- func (o ServerNetworkingOutput) ServiceName() pulumi.StringOutput
- func (o ServerNetworkingOutput) Status() pulumi.StringOutput
- func (o ServerNetworkingOutput) ToServerNetworkingOutput() ServerNetworkingOutput
- func (o ServerNetworkingOutput) ToServerNetworkingOutputWithContext(ctx context.Context) ServerNetworkingOutput
- type ServerNetworkingState
- type ServerRebootTask
- type ServerRebootTaskArgs
- type ServerRebootTaskArray
- type ServerRebootTaskArrayInput
- type ServerRebootTaskArrayOutput
- func (ServerRebootTaskArrayOutput) ElementType() reflect.Type
- func (o ServerRebootTaskArrayOutput) Index(i pulumi.IntInput) ServerRebootTaskOutput
- func (o ServerRebootTaskArrayOutput) ToServerRebootTaskArrayOutput() ServerRebootTaskArrayOutput
- func (o ServerRebootTaskArrayOutput) ToServerRebootTaskArrayOutputWithContext(ctx context.Context) ServerRebootTaskArrayOutput
- type ServerRebootTaskInput
- type ServerRebootTaskMap
- type ServerRebootTaskMapInput
- type ServerRebootTaskMapOutput
- func (ServerRebootTaskMapOutput) ElementType() reflect.Type
- func (o ServerRebootTaskMapOutput) MapIndex(k pulumi.StringInput) ServerRebootTaskOutput
- func (o ServerRebootTaskMapOutput) ToServerRebootTaskMapOutput() ServerRebootTaskMapOutput
- func (o ServerRebootTaskMapOutput) ToServerRebootTaskMapOutputWithContext(ctx context.Context) ServerRebootTaskMapOutput
- type ServerRebootTaskOutput
- func (o ServerRebootTaskOutput) Comment() pulumi.StringOutput
- func (o ServerRebootTaskOutput) DoneDate() pulumi.StringOutput
- func (ServerRebootTaskOutput) ElementType() reflect.Type
- func (o ServerRebootTaskOutput) Function() pulumi.StringOutput
- func (o ServerRebootTaskOutput) Keepers() pulumi.StringArrayOutput
- func (o ServerRebootTaskOutput) LastUpdate() pulumi.StringOutput
- func (o ServerRebootTaskOutput) ServiceName() pulumi.StringOutput
- func (o ServerRebootTaskOutput) StartDate() pulumi.StringOutput
- func (o ServerRebootTaskOutput) Status() pulumi.StringOutput
- func (o ServerRebootTaskOutput) ToServerRebootTaskOutput() ServerRebootTaskOutput
- func (o ServerRebootTaskOutput) ToServerRebootTaskOutputWithContext(ctx context.Context) ServerRebootTaskOutput
- type ServerRebootTaskState
- type ServerUpdate
- type ServerUpdateArgs
- type ServerUpdateArray
- type ServerUpdateArrayInput
- type ServerUpdateArrayOutput
- func (ServerUpdateArrayOutput) ElementType() reflect.Type
- func (o ServerUpdateArrayOutput) Index(i pulumi.IntInput) ServerUpdateOutput
- func (o ServerUpdateArrayOutput) ToServerUpdateArrayOutput() ServerUpdateArrayOutput
- func (o ServerUpdateArrayOutput) ToServerUpdateArrayOutputWithContext(ctx context.Context) ServerUpdateArrayOutput
- type ServerUpdateInput
- type ServerUpdateMap
- type ServerUpdateMapInput
- type ServerUpdateMapOutput
- func (ServerUpdateMapOutput) ElementType() reflect.Type
- func (o ServerUpdateMapOutput) MapIndex(k pulumi.StringInput) ServerUpdateOutput
- func (o ServerUpdateMapOutput) ToServerUpdateMapOutput() ServerUpdateMapOutput
- func (o ServerUpdateMapOutput) ToServerUpdateMapOutputWithContext(ctx context.Context) ServerUpdateMapOutput
- type ServerUpdateOutput
- func (o ServerUpdateOutput) BootId() pulumi.IntOutput
- func (ServerUpdateOutput) ElementType() reflect.Type
- func (o ServerUpdateOutput) Monitoring() pulumi.BoolOutput
- func (o ServerUpdateOutput) ServiceName() pulumi.StringOutput
- func (o ServerUpdateOutput) State() pulumi.StringOutput
- func (o ServerUpdateOutput) ToServerUpdateOutput() ServerUpdateOutput
- func (o ServerUpdateOutput) ToServerUpdateOutputWithContext(ctx context.Context) ServerUpdateOutput
- type ServerUpdateState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CephAcl ¶
type CephAcl struct { pulumi.CustomResourceState // IP family. `IPv4` or `IPv6` Family pulumi.StringOutput `pulumi:"family"` // The network mask to apply Netmask pulumi.StringOutput `pulumi:"netmask"` // The network IP to authorize Network pulumi.StringOutput `pulumi:"network"` // The internal name of your dedicated CEPH ServiceName pulumi.StringOutput `pulumi:"serviceName"` }
Add a new access ACL for the given network/mask.
## Example Usage
```go package main
import (
"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/Dedicated" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { my_ceph, err := Dedicated.GetCeph(ctx, &dedicated.GetCephArgs{ ServiceName: "94d423da-0e55-45f2-9812-836460a19939", }, nil) if err != nil { return err } _, err = Dedicated.NewCephAcl(ctx, "my-acl", &Dedicated.CephAclArgs{ ServiceName: *pulumi.String(my_ceph.Id), Network: pulumi.String("1.2.3.4"), Netmask: pulumi.String("255.255.255.255"), }) if err != nil { return err } return nil }) }
```
func GetCephAcl ¶
func GetCephAcl(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CephAclState, opts ...pulumi.ResourceOption) (*CephAcl, error)
GetCephAcl gets an existing CephAcl 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 NewCephAcl ¶
func NewCephAcl(ctx *pulumi.Context, name string, args *CephAclArgs, opts ...pulumi.ResourceOption) (*CephAcl, error)
NewCephAcl registers a new resource with the given unique name, arguments, and options.
func (*CephAcl) ElementType ¶
func (*CephAcl) ToCephAclOutput ¶
func (i *CephAcl) ToCephAclOutput() CephAclOutput
func (*CephAcl) ToCephAclOutputWithContext ¶
func (i *CephAcl) ToCephAclOutputWithContext(ctx context.Context) CephAclOutput
type CephAclArgs ¶
type CephAclArgs struct { // The network mask to apply Netmask pulumi.StringInput // The network IP to authorize Network pulumi.StringInput // The internal name of your dedicated CEPH ServiceName pulumi.StringInput }
The set of arguments for constructing a CephAcl resource.
func (CephAclArgs) ElementType ¶
func (CephAclArgs) ElementType() reflect.Type
type CephAclArray ¶
type CephAclArray []CephAclInput
func (CephAclArray) ElementType ¶
func (CephAclArray) ElementType() reflect.Type
func (CephAclArray) ToCephAclArrayOutput ¶
func (i CephAclArray) ToCephAclArrayOutput() CephAclArrayOutput
func (CephAclArray) ToCephAclArrayOutputWithContext ¶
func (i CephAclArray) ToCephAclArrayOutputWithContext(ctx context.Context) CephAclArrayOutput
type CephAclArrayInput ¶
type CephAclArrayInput interface { pulumi.Input ToCephAclArrayOutput() CephAclArrayOutput ToCephAclArrayOutputWithContext(context.Context) CephAclArrayOutput }
CephAclArrayInput is an input type that accepts CephAclArray and CephAclArrayOutput values. You can construct a concrete instance of `CephAclArrayInput` via:
CephAclArray{ CephAclArgs{...} }
type CephAclArrayOutput ¶
type CephAclArrayOutput struct{ *pulumi.OutputState }
func (CephAclArrayOutput) ElementType ¶
func (CephAclArrayOutput) ElementType() reflect.Type
func (CephAclArrayOutput) Index ¶
func (o CephAclArrayOutput) Index(i pulumi.IntInput) CephAclOutput
func (CephAclArrayOutput) ToCephAclArrayOutput ¶
func (o CephAclArrayOutput) ToCephAclArrayOutput() CephAclArrayOutput
func (CephAclArrayOutput) ToCephAclArrayOutputWithContext ¶
func (o CephAclArrayOutput) ToCephAclArrayOutputWithContext(ctx context.Context) CephAclArrayOutput
type CephAclInput ¶
type CephAclInput interface { pulumi.Input ToCephAclOutput() CephAclOutput ToCephAclOutputWithContext(ctx context.Context) CephAclOutput }
type CephAclMap ¶
type CephAclMap map[string]CephAclInput
func (CephAclMap) ElementType ¶
func (CephAclMap) ElementType() reflect.Type
func (CephAclMap) ToCephAclMapOutput ¶
func (i CephAclMap) ToCephAclMapOutput() CephAclMapOutput
func (CephAclMap) ToCephAclMapOutputWithContext ¶
func (i CephAclMap) ToCephAclMapOutputWithContext(ctx context.Context) CephAclMapOutput
type CephAclMapInput ¶
type CephAclMapInput interface { pulumi.Input ToCephAclMapOutput() CephAclMapOutput ToCephAclMapOutputWithContext(context.Context) CephAclMapOutput }
CephAclMapInput is an input type that accepts CephAclMap and CephAclMapOutput values. You can construct a concrete instance of `CephAclMapInput` via:
CephAclMap{ "key": CephAclArgs{...} }
type CephAclMapOutput ¶
type CephAclMapOutput struct{ *pulumi.OutputState }
func (CephAclMapOutput) ElementType ¶
func (CephAclMapOutput) ElementType() reflect.Type
func (CephAclMapOutput) MapIndex ¶
func (o CephAclMapOutput) MapIndex(k pulumi.StringInput) CephAclOutput
func (CephAclMapOutput) ToCephAclMapOutput ¶
func (o CephAclMapOutput) ToCephAclMapOutput() CephAclMapOutput
func (CephAclMapOutput) ToCephAclMapOutputWithContext ¶
func (o CephAclMapOutput) ToCephAclMapOutputWithContext(ctx context.Context) CephAclMapOutput
type CephAclOutput ¶
type CephAclOutput struct{ *pulumi.OutputState }
func (CephAclOutput) ElementType ¶
func (CephAclOutput) ElementType() reflect.Type
func (CephAclOutput) Family ¶
func (o CephAclOutput) Family() pulumi.StringOutput
IP family. `IPv4` or `IPv6`
func (CephAclOutput) Netmask ¶
func (o CephAclOutput) Netmask() pulumi.StringOutput
The network mask to apply
func (CephAclOutput) Network ¶
func (o CephAclOutput) Network() pulumi.StringOutput
The network IP to authorize
func (CephAclOutput) ServiceName ¶
func (o CephAclOutput) ServiceName() pulumi.StringOutput
The internal name of your dedicated CEPH
func (CephAclOutput) ToCephAclOutput ¶
func (o CephAclOutput) ToCephAclOutput() CephAclOutput
func (CephAclOutput) ToCephAclOutputWithContext ¶
func (o CephAclOutput) ToCephAclOutputWithContext(ctx context.Context) CephAclOutput
type CephAclState ¶
type CephAclState struct { // IP family. `IPv4` or `IPv6` Family pulumi.StringPtrInput // The network mask to apply Netmask pulumi.StringPtrInput // The network IP to authorize Network pulumi.StringPtrInput // The internal name of your dedicated CEPH ServiceName pulumi.StringPtrInput }
func (CephAclState) ElementType ¶
func (CephAclState) ElementType() reflect.Type
type GetCephArgs ¶
type GetCephArgs struct { // CEPH cluster version CephVersion *string `pulumi:"cephVersion"` // The service name of the dedicated CEPH cluster. ServiceName string `pulumi:"serviceName"` // the status of the service Status *string `pulumi:"status"` }
A collection of arguments for invoking getCeph.
type GetCephOutputArgs ¶
type GetCephOutputArgs struct { // CEPH cluster version CephVersion pulumi.StringPtrInput `pulumi:"cephVersion"` // The service name of the dedicated CEPH cluster. ServiceName pulumi.StringInput `pulumi:"serviceName"` // the status of the service Status pulumi.StringPtrInput `pulumi:"status"` }
A collection of arguments for invoking getCeph.
func (GetCephOutputArgs) ElementType ¶
func (GetCephOutputArgs) ElementType() reflect.Type
type GetCephResult ¶
type GetCephResult struct { // list of CEPH monitors IPs CephMons []string `pulumi:"cephMons"` // CEPH cluster version CephVersion string `pulumi:"cephVersion"` // CRUSH algorithm settings. Possible values // * OPTIMAL // * DEFAULT // * LEGACY // * BOBTAIL // * ARGONAUT // * FIREFLY // * HAMMER // * JEWEL CrushTunables string `pulumi:"crushTunables"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // CEPH cluster label Label string `pulumi:"label"` // cluster region Region string `pulumi:"region"` ServiceName string `pulumi:"serviceName"` // Cluster size in TB Size float64 `pulumi:"size"` // the state of the cluster State string `pulumi:"state"` // the status of the service Status string `pulumi:"status"` // URN of the CEPH instance Urn string `pulumi:"urn"` }
A collection of values returned by getCeph.
func GetCeph ¶
func GetCeph(ctx *pulumi.Context, args *GetCephArgs, opts ...pulumi.InvokeOption) (*GetCephResult, error)
Use this data source to retrieve information about a dedicated CEPH.
## Example Usage
```go package main
import (
"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/Dedicated" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dedicated.GetCeph(ctx, &dedicated.GetCephArgs{ ServiceName: "XXXXXX", }, nil) if err != nil { return err } return nil }) }
```
type GetCephResultOutput ¶
type GetCephResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCeph.
func GetCephOutput ¶
func GetCephOutput(ctx *pulumi.Context, args GetCephOutputArgs, opts ...pulumi.InvokeOption) GetCephResultOutput
func (GetCephResultOutput) CephMons ¶
func (o GetCephResultOutput) CephMons() pulumi.StringArrayOutput
list of CEPH monitors IPs
func (GetCephResultOutput) CephVersion ¶
func (o GetCephResultOutput) CephVersion() pulumi.StringOutput
CEPH cluster version
func (GetCephResultOutput) CrushTunables ¶
func (o GetCephResultOutput) CrushTunables() pulumi.StringOutput
CRUSH algorithm settings. Possible values * OPTIMAL * DEFAULT * LEGACY * BOBTAIL * ARGONAUT * FIREFLY * HAMMER * JEWEL
func (GetCephResultOutput) ElementType ¶
func (GetCephResultOutput) ElementType() reflect.Type
func (GetCephResultOutput) Id ¶
func (o GetCephResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetCephResultOutput) Label ¶
func (o GetCephResultOutput) Label() pulumi.StringOutput
CEPH cluster label
func (GetCephResultOutput) Region ¶
func (o GetCephResultOutput) Region() pulumi.StringOutput
cluster region
func (GetCephResultOutput) ServiceName ¶
func (o GetCephResultOutput) ServiceName() pulumi.StringOutput
func (GetCephResultOutput) Size ¶
func (o GetCephResultOutput) Size() pulumi.Float64Output
Cluster size in TB
func (GetCephResultOutput) State ¶
func (o GetCephResultOutput) State() pulumi.StringOutput
the state of the cluster
func (GetCephResultOutput) Status ¶
func (o GetCephResultOutput) Status() pulumi.StringOutput
the status of the service
func (GetCephResultOutput) ToGetCephResultOutput ¶
func (o GetCephResultOutput) ToGetCephResultOutput() GetCephResultOutput
func (GetCephResultOutput) ToGetCephResultOutputWithContext ¶
func (o GetCephResultOutput) ToGetCephResultOutputWithContext(ctx context.Context) GetCephResultOutput
func (GetCephResultOutput) Urn ¶ added in v0.32.0
func (o GetCephResultOutput) Urn() pulumi.StringOutput
URN of the CEPH instance
type GetNasHAArgs ¶
type GetNasHAArgs struct { // The serviceName of your dedicated HA-NAS. ServiceName string `pulumi:"serviceName"` }
A collection of arguments for invoking getNasHA.
type GetNasHAOutputArgs ¶
type GetNasHAOutputArgs struct { // The serviceName of your dedicated HA-NAS. ServiceName pulumi.StringInput `pulumi:"serviceName"` }
A collection of arguments for invoking getNasHA.
func (GetNasHAOutputArgs) ElementType ¶
func (GetNasHAOutputArgs) ElementType() reflect.Type
type GetNasHAResult ¶
type GetNasHAResult struct { // True, if partition creation is allowed on this HA-NAS CanCreatePartition bool `pulumi:"canCreatePartition"` // The name you give to the HA-NAS CustomName string `pulumi:"customName"` // area of HA-NAS Datacenter string `pulumi:"datacenter"` // the disk type of the HA-NAS. Possible values are: `hdd`, `ssd`, `nvme` DiskType string `pulumi:"diskType"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Access IP of HA-NAS Ip string `pulumi:"ip"` // Send an email to customer if any issue is detected Monitored bool `pulumi:"monitored"` // The storage service name ServiceName string `pulumi:"serviceName"` // the URN of the HA-NAS instance Urn string `pulumi:"urn"` // percentage of HA-NAS space used in % ZpoolCapacity float64 `pulumi:"zpoolCapacity"` // the size of the HA-NAS in GB ZpoolSize float64 `pulumi:"zpoolSize"` }
A collection of values returned by getNasHA.
func GetNasHA ¶
func GetNasHA(ctx *pulumi.Context, args *GetNasHAArgs, opts ...pulumi.InvokeOption) (*GetNasHAResult, error)
Use this data source to retrieve information about a dedicated HA-NAS.
## Example Usage
```go package main
import (
"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/Dedicated" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dedicated.GetNasHA(ctx, &dedicated.GetNasHAArgs{ ServiceName: "zpool-12345", }, nil) if err != nil { return err } return nil }) }
```
type GetNasHAResultOutput ¶
type GetNasHAResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getNasHA.
func GetNasHAOutput ¶
func GetNasHAOutput(ctx *pulumi.Context, args GetNasHAOutputArgs, opts ...pulumi.InvokeOption) GetNasHAResultOutput
func (GetNasHAResultOutput) CanCreatePartition ¶
func (o GetNasHAResultOutput) CanCreatePartition() pulumi.BoolOutput
True, if partition creation is allowed on this HA-NAS
func (GetNasHAResultOutput) CustomName ¶
func (o GetNasHAResultOutput) CustomName() pulumi.StringOutput
The name you give to the HA-NAS
func (GetNasHAResultOutput) Datacenter ¶
func (o GetNasHAResultOutput) Datacenter() pulumi.StringOutput
area of HA-NAS
func (GetNasHAResultOutput) DiskType ¶
func (o GetNasHAResultOutput) DiskType() pulumi.StringOutput
the disk type of the HA-NAS. Possible values are: `hdd`, `ssd`, `nvme`
func (GetNasHAResultOutput) ElementType ¶
func (GetNasHAResultOutput) ElementType() reflect.Type
func (GetNasHAResultOutput) Id ¶
func (o GetNasHAResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetNasHAResultOutput) Ip ¶
func (o GetNasHAResultOutput) Ip() pulumi.StringOutput
Access IP of HA-NAS
func (GetNasHAResultOutput) Monitored ¶
func (o GetNasHAResultOutput) Monitored() pulumi.BoolOutput
Send an email to customer if any issue is detected
func (GetNasHAResultOutput) ServiceName ¶
func (o GetNasHAResultOutput) ServiceName() pulumi.StringOutput
The storage service name
func (GetNasHAResultOutput) ToGetNasHAResultOutput ¶
func (o GetNasHAResultOutput) ToGetNasHAResultOutput() GetNasHAResultOutput
func (GetNasHAResultOutput) ToGetNasHAResultOutputWithContext ¶
func (o GetNasHAResultOutput) ToGetNasHAResultOutputWithContext(ctx context.Context) GetNasHAResultOutput
func (GetNasHAResultOutput) Urn ¶ added in v0.32.0
func (o GetNasHAResultOutput) Urn() pulumi.StringOutput
the URN of the HA-NAS instance
func (GetNasHAResultOutput) ZpoolCapacity ¶
func (o GetNasHAResultOutput) ZpoolCapacity() pulumi.Float64Output
percentage of HA-NAS space used in %
func (GetNasHAResultOutput) ZpoolSize ¶
func (o GetNasHAResultOutput) ZpoolSize() pulumi.Float64Output
the size of the HA-NAS in GB
type GetServerBootsArgs ¶
type GetServerBootsArgs struct { // Filter the value of bootType property (harddisk, rescue, ipxeCustomerScript, internal, network) BootType *string `pulumi:"bootType"` Kernel *string `pulumi:"kernel"` // The internal name of your dedicated server. ServiceName string `pulumi:"serviceName"` }
A collection of arguments for invoking getServerBoots.
type GetServerBootsOutputArgs ¶
type GetServerBootsOutputArgs struct { // Filter the value of bootType property (harddisk, rescue, ipxeCustomerScript, internal, network) BootType pulumi.StringPtrInput `pulumi:"bootType"` Kernel pulumi.StringPtrInput `pulumi:"kernel"` // The internal name of your dedicated server. ServiceName pulumi.StringInput `pulumi:"serviceName"` }
A collection of arguments for invoking getServerBoots.
func (GetServerBootsOutputArgs) ElementType ¶
func (GetServerBootsOutputArgs) ElementType() reflect.Type
type GetServerBootsResult ¶
type GetServerBootsResult struct { BootType *string `pulumi:"bootType"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Kernel *string `pulumi:"kernel"` // The list of dedicated server netboots. Results []int `pulumi:"results"` ServiceName string `pulumi:"serviceName"` }
A collection of values returned by getServerBoots.
func GetServerBoots ¶
func GetServerBoots(ctx *pulumi.Context, args *GetServerBootsArgs, opts ...pulumi.InvokeOption) (*GetServerBootsResult, error)
Use this data source to get the list of compatible netboots for a dedicated server associated with your OVHcloud Account.
## Example Usage
```go package main
import (
"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/Dedicated" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dedicated.GetServerBoots(ctx, &dedicated.GetServerBootsArgs{ BootType: pulumi.StringRef("harddisk"), ServiceName: "myserver", }, nil) if err != nil { return err } return nil }) }
```
type GetServerBootsResultOutput ¶
type GetServerBootsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getServerBoots.
func GetServerBootsOutput ¶
func GetServerBootsOutput(ctx *pulumi.Context, args GetServerBootsOutputArgs, opts ...pulumi.InvokeOption) GetServerBootsResultOutput
func (GetServerBootsResultOutput) BootType ¶
func (o GetServerBootsResultOutput) BootType() pulumi.StringPtrOutput
func (GetServerBootsResultOutput) ElementType ¶
func (GetServerBootsResultOutput) ElementType() reflect.Type
func (GetServerBootsResultOutput) Id ¶
func (o GetServerBootsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetServerBootsResultOutput) Kernel ¶
func (o GetServerBootsResultOutput) Kernel() pulumi.StringPtrOutput
func (GetServerBootsResultOutput) Results ¶
func (o GetServerBootsResultOutput) Results() pulumi.IntArrayOutput
The list of dedicated server netboots.
func (GetServerBootsResultOutput) ServiceName ¶
func (o GetServerBootsResultOutput) ServiceName() pulumi.StringOutput
func (GetServerBootsResultOutput) ToGetServerBootsResultOutput ¶
func (o GetServerBootsResultOutput) ToGetServerBootsResultOutput() GetServerBootsResultOutput
func (GetServerBootsResultOutput) ToGetServerBootsResultOutputWithContext ¶
func (o GetServerBootsResultOutput) ToGetServerBootsResultOutputWithContext(ctx context.Context) GetServerBootsResultOutput
type NasHAPartition ¶
type NasHAPartition struct { pulumi.CustomResourceState // Percentage of partition space used in % Capacity pulumi.IntOutput `pulumi:"capacity"` // A brief description of the partition Description pulumi.StringPtrOutput `pulumi:"description"` // name of the partition Name pulumi.StringOutput `pulumi:"name"` // one of "NFS", "CIFS" or "NFS_CIFS" Protocol pulumi.StringOutput `pulumi:"protocol"` // The internal name of your HA-NAS (it has to be ordered via OVHcloud interface) ServiceName pulumi.StringOutput `pulumi:"serviceName"` // size of the partition in GB Size pulumi.IntOutput `pulumi:"size"` // Percentage of partition space used by snapshots in % UsedBySnapshots pulumi.IntOutput `pulumi:"usedBySnapshots"` }
Provides a resource for managing partitions on HA-NAS services
## Example Usage
```go package main
import (
"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/Dedicated" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dedicated.NewNasHAPartition(ctx, "my-partition", &Dedicated.NasHAPartitionArgs{ Protocol: pulumi.String("NFS"), ServiceName: pulumi.String("zpool-12345"), Size: pulumi.Int(20), }) if err != nil { return err } return nil }) }
```
## Import
HA-NAS can be imported using the `{service_name}/{name}`, e.g.
```sh
$ pulumi import ovh:Dedicated/nasHAPartition:NasHAPartition my-partition zpool-12345/my-partition`
```
func GetNasHAPartition ¶
func GetNasHAPartition(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NasHAPartitionState, opts ...pulumi.ResourceOption) (*NasHAPartition, error)
GetNasHAPartition gets an existing NasHAPartition 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 NewNasHAPartition ¶
func NewNasHAPartition(ctx *pulumi.Context, name string, args *NasHAPartitionArgs, opts ...pulumi.ResourceOption) (*NasHAPartition, error)
NewNasHAPartition registers a new resource with the given unique name, arguments, and options.
func (*NasHAPartition) ElementType ¶
func (*NasHAPartition) ElementType() reflect.Type
func (*NasHAPartition) ToNasHAPartitionOutput ¶
func (i *NasHAPartition) ToNasHAPartitionOutput() NasHAPartitionOutput
func (*NasHAPartition) ToNasHAPartitionOutputWithContext ¶
func (i *NasHAPartition) ToNasHAPartitionOutputWithContext(ctx context.Context) NasHAPartitionOutput
type NasHAPartitionAccess ¶
type NasHAPartitionAccess struct { pulumi.CustomResourceState // ip block in x.x.x.x/x format Ip pulumi.StringOutput `pulumi:"ip"` // name of the partition PartitionName pulumi.StringOutput `pulumi:"partitionName"` // The internal name of your HA-NAS (it has to be ordered via OVHcloud interface) ServiceName pulumi.StringOutput `pulumi:"serviceName"` // one of "readwrite", "readonly" Type pulumi.StringPtrOutput `pulumi:"type"` }
Provides a resource for managing access rights to partitions on HA-NAS services
## Example Usage
```go package main
import (
"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/Dedicated" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dedicated.NewNasHAPartitionAccess(ctx, "my-partition", &Dedicated.NasHAPartitionAccessArgs{ Ip: pulumi.String("123.123.123.123/32"), PartitionName: pulumi.String("my-partition"), ServiceName: pulumi.String("zpool-12345"), Type: pulumi.String("readwrite"), }) if err != nil { return err } return nil }) }
```
## Import
HA-NAS partition access can be imported using the `{service_name}/{partition_name}/{ip}`, e.g.
```sh
$ pulumi import ovh:Dedicated/nasHAPartitionAccess:NasHAPartitionAccess my-partition zpool-12345/my-partition/123.123.123.123%2F32`
```
func GetNasHAPartitionAccess ¶
func GetNasHAPartitionAccess(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NasHAPartitionAccessState, opts ...pulumi.ResourceOption) (*NasHAPartitionAccess, error)
GetNasHAPartitionAccess gets an existing NasHAPartitionAccess 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 NewNasHAPartitionAccess ¶
func NewNasHAPartitionAccess(ctx *pulumi.Context, name string, args *NasHAPartitionAccessArgs, opts ...pulumi.ResourceOption) (*NasHAPartitionAccess, error)
NewNasHAPartitionAccess registers a new resource with the given unique name, arguments, and options.
func (*NasHAPartitionAccess) ElementType ¶
func (*NasHAPartitionAccess) ElementType() reflect.Type
func (*NasHAPartitionAccess) ToNasHAPartitionAccessOutput ¶
func (i *NasHAPartitionAccess) ToNasHAPartitionAccessOutput() NasHAPartitionAccessOutput
func (*NasHAPartitionAccess) ToNasHAPartitionAccessOutputWithContext ¶
func (i *NasHAPartitionAccess) ToNasHAPartitionAccessOutputWithContext(ctx context.Context) NasHAPartitionAccessOutput
type NasHAPartitionAccessArgs ¶
type NasHAPartitionAccessArgs struct { // ip block in x.x.x.x/x format Ip pulumi.StringInput // name of the partition PartitionName pulumi.StringInput // The internal name of your HA-NAS (it has to be ordered via OVHcloud interface) ServiceName pulumi.StringInput // one of "readwrite", "readonly" Type pulumi.StringPtrInput }
The set of arguments for constructing a NasHAPartitionAccess resource.
func (NasHAPartitionAccessArgs) ElementType ¶
func (NasHAPartitionAccessArgs) ElementType() reflect.Type
type NasHAPartitionAccessArray ¶
type NasHAPartitionAccessArray []NasHAPartitionAccessInput
func (NasHAPartitionAccessArray) ElementType ¶
func (NasHAPartitionAccessArray) ElementType() reflect.Type
func (NasHAPartitionAccessArray) ToNasHAPartitionAccessArrayOutput ¶
func (i NasHAPartitionAccessArray) ToNasHAPartitionAccessArrayOutput() NasHAPartitionAccessArrayOutput
func (NasHAPartitionAccessArray) ToNasHAPartitionAccessArrayOutputWithContext ¶
func (i NasHAPartitionAccessArray) ToNasHAPartitionAccessArrayOutputWithContext(ctx context.Context) NasHAPartitionAccessArrayOutput
type NasHAPartitionAccessArrayInput ¶
type NasHAPartitionAccessArrayInput interface { pulumi.Input ToNasHAPartitionAccessArrayOutput() NasHAPartitionAccessArrayOutput ToNasHAPartitionAccessArrayOutputWithContext(context.Context) NasHAPartitionAccessArrayOutput }
NasHAPartitionAccessArrayInput is an input type that accepts NasHAPartitionAccessArray and NasHAPartitionAccessArrayOutput values. You can construct a concrete instance of `NasHAPartitionAccessArrayInput` via:
NasHAPartitionAccessArray{ NasHAPartitionAccessArgs{...} }
type NasHAPartitionAccessArrayOutput ¶
type NasHAPartitionAccessArrayOutput struct{ *pulumi.OutputState }
func (NasHAPartitionAccessArrayOutput) ElementType ¶
func (NasHAPartitionAccessArrayOutput) ElementType() reflect.Type
func (NasHAPartitionAccessArrayOutput) Index ¶
func (o NasHAPartitionAccessArrayOutput) Index(i pulumi.IntInput) NasHAPartitionAccessOutput
func (NasHAPartitionAccessArrayOutput) ToNasHAPartitionAccessArrayOutput ¶
func (o NasHAPartitionAccessArrayOutput) ToNasHAPartitionAccessArrayOutput() NasHAPartitionAccessArrayOutput
func (NasHAPartitionAccessArrayOutput) ToNasHAPartitionAccessArrayOutputWithContext ¶
func (o NasHAPartitionAccessArrayOutput) ToNasHAPartitionAccessArrayOutputWithContext(ctx context.Context) NasHAPartitionAccessArrayOutput
type NasHAPartitionAccessInput ¶
type NasHAPartitionAccessInput interface { pulumi.Input ToNasHAPartitionAccessOutput() NasHAPartitionAccessOutput ToNasHAPartitionAccessOutputWithContext(ctx context.Context) NasHAPartitionAccessOutput }
type NasHAPartitionAccessMap ¶
type NasHAPartitionAccessMap map[string]NasHAPartitionAccessInput
func (NasHAPartitionAccessMap) ElementType ¶
func (NasHAPartitionAccessMap) ElementType() reflect.Type
func (NasHAPartitionAccessMap) ToNasHAPartitionAccessMapOutput ¶
func (i NasHAPartitionAccessMap) ToNasHAPartitionAccessMapOutput() NasHAPartitionAccessMapOutput
func (NasHAPartitionAccessMap) ToNasHAPartitionAccessMapOutputWithContext ¶
func (i NasHAPartitionAccessMap) ToNasHAPartitionAccessMapOutputWithContext(ctx context.Context) NasHAPartitionAccessMapOutput
type NasHAPartitionAccessMapInput ¶
type NasHAPartitionAccessMapInput interface { pulumi.Input ToNasHAPartitionAccessMapOutput() NasHAPartitionAccessMapOutput ToNasHAPartitionAccessMapOutputWithContext(context.Context) NasHAPartitionAccessMapOutput }
NasHAPartitionAccessMapInput is an input type that accepts NasHAPartitionAccessMap and NasHAPartitionAccessMapOutput values. You can construct a concrete instance of `NasHAPartitionAccessMapInput` via:
NasHAPartitionAccessMap{ "key": NasHAPartitionAccessArgs{...} }
type NasHAPartitionAccessMapOutput ¶
type NasHAPartitionAccessMapOutput struct{ *pulumi.OutputState }
func (NasHAPartitionAccessMapOutput) ElementType ¶
func (NasHAPartitionAccessMapOutput) ElementType() reflect.Type
func (NasHAPartitionAccessMapOutput) MapIndex ¶
func (o NasHAPartitionAccessMapOutput) MapIndex(k pulumi.StringInput) NasHAPartitionAccessOutput
func (NasHAPartitionAccessMapOutput) ToNasHAPartitionAccessMapOutput ¶
func (o NasHAPartitionAccessMapOutput) ToNasHAPartitionAccessMapOutput() NasHAPartitionAccessMapOutput
func (NasHAPartitionAccessMapOutput) ToNasHAPartitionAccessMapOutputWithContext ¶
func (o NasHAPartitionAccessMapOutput) ToNasHAPartitionAccessMapOutputWithContext(ctx context.Context) NasHAPartitionAccessMapOutput
type NasHAPartitionAccessOutput ¶
type NasHAPartitionAccessOutput struct{ *pulumi.OutputState }
func (NasHAPartitionAccessOutput) ElementType ¶
func (NasHAPartitionAccessOutput) ElementType() reflect.Type
func (NasHAPartitionAccessOutput) Ip ¶
func (o NasHAPartitionAccessOutput) Ip() pulumi.StringOutput
ip block in x.x.x.x/x format
func (NasHAPartitionAccessOutput) PartitionName ¶
func (o NasHAPartitionAccessOutput) PartitionName() pulumi.StringOutput
name of the partition
func (NasHAPartitionAccessOutput) ServiceName ¶
func (o NasHAPartitionAccessOutput) ServiceName() pulumi.StringOutput
The internal name of your HA-NAS (it has to be ordered via OVHcloud interface)
func (NasHAPartitionAccessOutput) ToNasHAPartitionAccessOutput ¶
func (o NasHAPartitionAccessOutput) ToNasHAPartitionAccessOutput() NasHAPartitionAccessOutput
func (NasHAPartitionAccessOutput) ToNasHAPartitionAccessOutputWithContext ¶
func (o NasHAPartitionAccessOutput) ToNasHAPartitionAccessOutputWithContext(ctx context.Context) NasHAPartitionAccessOutput
func (NasHAPartitionAccessOutput) Type ¶
func (o NasHAPartitionAccessOutput) Type() pulumi.StringPtrOutput
one of "readwrite", "readonly"
type NasHAPartitionAccessState ¶
type NasHAPartitionAccessState struct { // ip block in x.x.x.x/x format Ip pulumi.StringPtrInput // name of the partition PartitionName pulumi.StringPtrInput // The internal name of your HA-NAS (it has to be ordered via OVHcloud interface) ServiceName pulumi.StringPtrInput // one of "readwrite", "readonly" Type pulumi.StringPtrInput }
func (NasHAPartitionAccessState) ElementType ¶
func (NasHAPartitionAccessState) ElementType() reflect.Type
type NasHAPartitionArgs ¶
type NasHAPartitionArgs struct { // A brief description of the partition Description pulumi.StringPtrInput // name of the partition Name pulumi.StringPtrInput // one of "NFS", "CIFS" or "NFS_CIFS" Protocol pulumi.StringInput // The internal name of your HA-NAS (it has to be ordered via OVHcloud interface) ServiceName pulumi.StringInput // size of the partition in GB Size pulumi.IntInput }
The set of arguments for constructing a NasHAPartition resource.
func (NasHAPartitionArgs) ElementType ¶
func (NasHAPartitionArgs) ElementType() reflect.Type
type NasHAPartitionArray ¶
type NasHAPartitionArray []NasHAPartitionInput
func (NasHAPartitionArray) ElementType ¶
func (NasHAPartitionArray) ElementType() reflect.Type
func (NasHAPartitionArray) ToNasHAPartitionArrayOutput ¶
func (i NasHAPartitionArray) ToNasHAPartitionArrayOutput() NasHAPartitionArrayOutput
func (NasHAPartitionArray) ToNasHAPartitionArrayOutputWithContext ¶
func (i NasHAPartitionArray) ToNasHAPartitionArrayOutputWithContext(ctx context.Context) NasHAPartitionArrayOutput
type NasHAPartitionArrayInput ¶
type NasHAPartitionArrayInput interface { pulumi.Input ToNasHAPartitionArrayOutput() NasHAPartitionArrayOutput ToNasHAPartitionArrayOutputWithContext(context.Context) NasHAPartitionArrayOutput }
NasHAPartitionArrayInput is an input type that accepts NasHAPartitionArray and NasHAPartitionArrayOutput values. You can construct a concrete instance of `NasHAPartitionArrayInput` via:
NasHAPartitionArray{ NasHAPartitionArgs{...} }
type NasHAPartitionArrayOutput ¶
type NasHAPartitionArrayOutput struct{ *pulumi.OutputState }
func (NasHAPartitionArrayOutput) ElementType ¶
func (NasHAPartitionArrayOutput) ElementType() reflect.Type
func (NasHAPartitionArrayOutput) Index ¶
func (o NasHAPartitionArrayOutput) Index(i pulumi.IntInput) NasHAPartitionOutput
func (NasHAPartitionArrayOutput) ToNasHAPartitionArrayOutput ¶
func (o NasHAPartitionArrayOutput) ToNasHAPartitionArrayOutput() NasHAPartitionArrayOutput
func (NasHAPartitionArrayOutput) ToNasHAPartitionArrayOutputWithContext ¶
func (o NasHAPartitionArrayOutput) ToNasHAPartitionArrayOutputWithContext(ctx context.Context) NasHAPartitionArrayOutput
type NasHAPartitionInput ¶
type NasHAPartitionInput interface { pulumi.Input ToNasHAPartitionOutput() NasHAPartitionOutput ToNasHAPartitionOutputWithContext(ctx context.Context) NasHAPartitionOutput }
type NasHAPartitionMap ¶
type NasHAPartitionMap map[string]NasHAPartitionInput
func (NasHAPartitionMap) ElementType ¶
func (NasHAPartitionMap) ElementType() reflect.Type
func (NasHAPartitionMap) ToNasHAPartitionMapOutput ¶
func (i NasHAPartitionMap) ToNasHAPartitionMapOutput() NasHAPartitionMapOutput
func (NasHAPartitionMap) ToNasHAPartitionMapOutputWithContext ¶
func (i NasHAPartitionMap) ToNasHAPartitionMapOutputWithContext(ctx context.Context) NasHAPartitionMapOutput
type NasHAPartitionMapInput ¶
type NasHAPartitionMapInput interface { pulumi.Input ToNasHAPartitionMapOutput() NasHAPartitionMapOutput ToNasHAPartitionMapOutputWithContext(context.Context) NasHAPartitionMapOutput }
NasHAPartitionMapInput is an input type that accepts NasHAPartitionMap and NasHAPartitionMapOutput values. You can construct a concrete instance of `NasHAPartitionMapInput` via:
NasHAPartitionMap{ "key": NasHAPartitionArgs{...} }
type NasHAPartitionMapOutput ¶
type NasHAPartitionMapOutput struct{ *pulumi.OutputState }
func (NasHAPartitionMapOutput) ElementType ¶
func (NasHAPartitionMapOutput) ElementType() reflect.Type
func (NasHAPartitionMapOutput) MapIndex ¶
func (o NasHAPartitionMapOutput) MapIndex(k pulumi.StringInput) NasHAPartitionOutput
func (NasHAPartitionMapOutput) ToNasHAPartitionMapOutput ¶
func (o NasHAPartitionMapOutput) ToNasHAPartitionMapOutput() NasHAPartitionMapOutput
func (NasHAPartitionMapOutput) ToNasHAPartitionMapOutputWithContext ¶
func (o NasHAPartitionMapOutput) ToNasHAPartitionMapOutputWithContext(ctx context.Context) NasHAPartitionMapOutput
type NasHAPartitionOutput ¶
type NasHAPartitionOutput struct{ *pulumi.OutputState }
func (NasHAPartitionOutput) Capacity ¶
func (o NasHAPartitionOutput) Capacity() pulumi.IntOutput
Percentage of partition space used in %
func (NasHAPartitionOutput) Description ¶
func (o NasHAPartitionOutput) Description() pulumi.StringPtrOutput
A brief description of the partition
func (NasHAPartitionOutput) ElementType ¶
func (NasHAPartitionOutput) ElementType() reflect.Type
func (NasHAPartitionOutput) Name ¶
func (o NasHAPartitionOutput) Name() pulumi.StringOutput
name of the partition
func (NasHAPartitionOutput) Protocol ¶
func (o NasHAPartitionOutput) Protocol() pulumi.StringOutput
one of "NFS", "CIFS" or "NFS_CIFS"
func (NasHAPartitionOutput) ServiceName ¶
func (o NasHAPartitionOutput) ServiceName() pulumi.StringOutput
The internal name of your HA-NAS (it has to be ordered via OVHcloud interface)
func (NasHAPartitionOutput) Size ¶
func (o NasHAPartitionOutput) Size() pulumi.IntOutput
size of the partition in GB
func (NasHAPartitionOutput) ToNasHAPartitionOutput ¶
func (o NasHAPartitionOutput) ToNasHAPartitionOutput() NasHAPartitionOutput
func (NasHAPartitionOutput) ToNasHAPartitionOutputWithContext ¶
func (o NasHAPartitionOutput) ToNasHAPartitionOutputWithContext(ctx context.Context) NasHAPartitionOutput
func (NasHAPartitionOutput) UsedBySnapshots ¶
func (o NasHAPartitionOutput) UsedBySnapshots() pulumi.IntOutput
Percentage of partition space used by snapshots in %
type NasHAPartitionSnapshot ¶
type NasHAPartitionSnapshot struct { pulumi.CustomResourceState // name of the partition PartitionName pulumi.StringOutput `pulumi:"partitionName"` // The internal name of your HA-NAS (it has to be ordered via OVHcloud interface) ServiceName pulumi.StringOutput `pulumi:"serviceName"` // Snapshot interval, allowed : day-1, day-2, day-3, day-7, hour-1, hour-6 Type pulumi.StringOutput `pulumi:"type"` }
Provides a resource for managing **snapshot** to partitions on HA-NAS services
## Example Usage
```go package main
import (
"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/Dedicated" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dedicated.NewNasHAPartitionSnapshot(ctx, "my-partition", &Dedicated.NasHAPartitionSnapshotArgs{ PartitionName: pulumi.String("my-partition"), ServiceName: pulumi.String("zpool-12345"), Type: pulumi.String("day-3"), }) if err != nil { return err } return nil }) }
```
## Import
HA-NAS partition snapshot can be imported using the `{service_name}/{partition_name}/{type}`, e.g.
```sh
$ pulumi import ovh:Dedicated/nasHAPartitionSnapshot:NasHAPartitionSnapshot my-partition zpool-12345/my-partition/day-3`
```
func GetNasHAPartitionSnapshot ¶
func GetNasHAPartitionSnapshot(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NasHAPartitionSnapshotState, opts ...pulumi.ResourceOption) (*NasHAPartitionSnapshot, error)
GetNasHAPartitionSnapshot gets an existing NasHAPartitionSnapshot 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 NewNasHAPartitionSnapshot ¶
func NewNasHAPartitionSnapshot(ctx *pulumi.Context, name string, args *NasHAPartitionSnapshotArgs, opts ...pulumi.ResourceOption) (*NasHAPartitionSnapshot, error)
NewNasHAPartitionSnapshot registers a new resource with the given unique name, arguments, and options.
func (*NasHAPartitionSnapshot) ElementType ¶
func (*NasHAPartitionSnapshot) ElementType() reflect.Type
func (*NasHAPartitionSnapshot) ToNasHAPartitionSnapshotOutput ¶
func (i *NasHAPartitionSnapshot) ToNasHAPartitionSnapshotOutput() NasHAPartitionSnapshotOutput
func (*NasHAPartitionSnapshot) ToNasHAPartitionSnapshotOutputWithContext ¶
func (i *NasHAPartitionSnapshot) ToNasHAPartitionSnapshotOutputWithContext(ctx context.Context) NasHAPartitionSnapshotOutput
type NasHAPartitionSnapshotArgs ¶
type NasHAPartitionSnapshotArgs struct { // name of the partition PartitionName pulumi.StringInput // The internal name of your HA-NAS (it has to be ordered via OVHcloud interface) ServiceName pulumi.StringInput // Snapshot interval, allowed : day-1, day-2, day-3, day-7, hour-1, hour-6 Type pulumi.StringInput }
The set of arguments for constructing a NasHAPartitionSnapshot resource.
func (NasHAPartitionSnapshotArgs) ElementType ¶
func (NasHAPartitionSnapshotArgs) ElementType() reflect.Type
type NasHAPartitionSnapshotArray ¶
type NasHAPartitionSnapshotArray []NasHAPartitionSnapshotInput
func (NasHAPartitionSnapshotArray) ElementType ¶
func (NasHAPartitionSnapshotArray) ElementType() reflect.Type
func (NasHAPartitionSnapshotArray) ToNasHAPartitionSnapshotArrayOutput ¶
func (i NasHAPartitionSnapshotArray) ToNasHAPartitionSnapshotArrayOutput() NasHAPartitionSnapshotArrayOutput
func (NasHAPartitionSnapshotArray) ToNasHAPartitionSnapshotArrayOutputWithContext ¶
func (i NasHAPartitionSnapshotArray) ToNasHAPartitionSnapshotArrayOutputWithContext(ctx context.Context) NasHAPartitionSnapshotArrayOutput
type NasHAPartitionSnapshotArrayInput ¶
type NasHAPartitionSnapshotArrayInput interface { pulumi.Input ToNasHAPartitionSnapshotArrayOutput() NasHAPartitionSnapshotArrayOutput ToNasHAPartitionSnapshotArrayOutputWithContext(context.Context) NasHAPartitionSnapshotArrayOutput }
NasHAPartitionSnapshotArrayInput is an input type that accepts NasHAPartitionSnapshotArray and NasHAPartitionSnapshotArrayOutput values. You can construct a concrete instance of `NasHAPartitionSnapshotArrayInput` via:
NasHAPartitionSnapshotArray{ NasHAPartitionSnapshotArgs{...} }
type NasHAPartitionSnapshotArrayOutput ¶
type NasHAPartitionSnapshotArrayOutput struct{ *pulumi.OutputState }
func (NasHAPartitionSnapshotArrayOutput) ElementType ¶
func (NasHAPartitionSnapshotArrayOutput) ElementType() reflect.Type
func (NasHAPartitionSnapshotArrayOutput) Index ¶
func (o NasHAPartitionSnapshotArrayOutput) Index(i pulumi.IntInput) NasHAPartitionSnapshotOutput
func (NasHAPartitionSnapshotArrayOutput) ToNasHAPartitionSnapshotArrayOutput ¶
func (o NasHAPartitionSnapshotArrayOutput) ToNasHAPartitionSnapshotArrayOutput() NasHAPartitionSnapshotArrayOutput
func (NasHAPartitionSnapshotArrayOutput) ToNasHAPartitionSnapshotArrayOutputWithContext ¶
func (o NasHAPartitionSnapshotArrayOutput) ToNasHAPartitionSnapshotArrayOutputWithContext(ctx context.Context) NasHAPartitionSnapshotArrayOutput
type NasHAPartitionSnapshotInput ¶
type NasHAPartitionSnapshotInput interface { pulumi.Input ToNasHAPartitionSnapshotOutput() NasHAPartitionSnapshotOutput ToNasHAPartitionSnapshotOutputWithContext(ctx context.Context) NasHAPartitionSnapshotOutput }
type NasHAPartitionSnapshotMap ¶
type NasHAPartitionSnapshotMap map[string]NasHAPartitionSnapshotInput
func (NasHAPartitionSnapshotMap) ElementType ¶
func (NasHAPartitionSnapshotMap) ElementType() reflect.Type
func (NasHAPartitionSnapshotMap) ToNasHAPartitionSnapshotMapOutput ¶
func (i NasHAPartitionSnapshotMap) ToNasHAPartitionSnapshotMapOutput() NasHAPartitionSnapshotMapOutput
func (NasHAPartitionSnapshotMap) ToNasHAPartitionSnapshotMapOutputWithContext ¶
func (i NasHAPartitionSnapshotMap) ToNasHAPartitionSnapshotMapOutputWithContext(ctx context.Context) NasHAPartitionSnapshotMapOutput
type NasHAPartitionSnapshotMapInput ¶
type NasHAPartitionSnapshotMapInput interface { pulumi.Input ToNasHAPartitionSnapshotMapOutput() NasHAPartitionSnapshotMapOutput ToNasHAPartitionSnapshotMapOutputWithContext(context.Context) NasHAPartitionSnapshotMapOutput }
NasHAPartitionSnapshotMapInput is an input type that accepts NasHAPartitionSnapshotMap and NasHAPartitionSnapshotMapOutput values. You can construct a concrete instance of `NasHAPartitionSnapshotMapInput` via:
NasHAPartitionSnapshotMap{ "key": NasHAPartitionSnapshotArgs{...} }
type NasHAPartitionSnapshotMapOutput ¶
type NasHAPartitionSnapshotMapOutput struct{ *pulumi.OutputState }
func (NasHAPartitionSnapshotMapOutput) ElementType ¶
func (NasHAPartitionSnapshotMapOutput) ElementType() reflect.Type
func (NasHAPartitionSnapshotMapOutput) MapIndex ¶
func (o NasHAPartitionSnapshotMapOutput) MapIndex(k pulumi.StringInput) NasHAPartitionSnapshotOutput
func (NasHAPartitionSnapshotMapOutput) ToNasHAPartitionSnapshotMapOutput ¶
func (o NasHAPartitionSnapshotMapOutput) ToNasHAPartitionSnapshotMapOutput() NasHAPartitionSnapshotMapOutput
func (NasHAPartitionSnapshotMapOutput) ToNasHAPartitionSnapshotMapOutputWithContext ¶
func (o NasHAPartitionSnapshotMapOutput) ToNasHAPartitionSnapshotMapOutputWithContext(ctx context.Context) NasHAPartitionSnapshotMapOutput
type NasHAPartitionSnapshotOutput ¶
type NasHAPartitionSnapshotOutput struct{ *pulumi.OutputState }
func (NasHAPartitionSnapshotOutput) ElementType ¶
func (NasHAPartitionSnapshotOutput) ElementType() reflect.Type
func (NasHAPartitionSnapshotOutput) PartitionName ¶
func (o NasHAPartitionSnapshotOutput) PartitionName() pulumi.StringOutput
name of the partition
func (NasHAPartitionSnapshotOutput) ServiceName ¶
func (o NasHAPartitionSnapshotOutput) ServiceName() pulumi.StringOutput
The internal name of your HA-NAS (it has to be ordered via OVHcloud interface)
func (NasHAPartitionSnapshotOutput) ToNasHAPartitionSnapshotOutput ¶
func (o NasHAPartitionSnapshotOutput) ToNasHAPartitionSnapshotOutput() NasHAPartitionSnapshotOutput
func (NasHAPartitionSnapshotOutput) ToNasHAPartitionSnapshotOutputWithContext ¶
func (o NasHAPartitionSnapshotOutput) ToNasHAPartitionSnapshotOutputWithContext(ctx context.Context) NasHAPartitionSnapshotOutput
func (NasHAPartitionSnapshotOutput) Type ¶
func (o NasHAPartitionSnapshotOutput) Type() pulumi.StringOutput
Snapshot interval, allowed : day-1, day-2, day-3, day-7, hour-1, hour-6
type NasHAPartitionSnapshotState ¶
type NasHAPartitionSnapshotState struct { // name of the partition PartitionName pulumi.StringPtrInput // The internal name of your HA-NAS (it has to be ordered via OVHcloud interface) ServiceName pulumi.StringPtrInput // Snapshot interval, allowed : day-1, day-2, day-3, day-7, hour-1, hour-6 Type pulumi.StringPtrInput }
func (NasHAPartitionSnapshotState) ElementType ¶
func (NasHAPartitionSnapshotState) ElementType() reflect.Type
type NasHAPartitionState ¶
type NasHAPartitionState struct { // Percentage of partition space used in % Capacity pulumi.IntPtrInput // A brief description of the partition Description pulumi.StringPtrInput // name of the partition Name pulumi.StringPtrInput // one of "NFS", "CIFS" or "NFS_CIFS" Protocol pulumi.StringPtrInput // The internal name of your HA-NAS (it has to be ordered via OVHcloud interface) ServiceName pulumi.StringPtrInput // size of the partition in GB Size pulumi.IntPtrInput // Percentage of partition space used by snapshots in % UsedBySnapshots pulumi.IntPtrInput }
func (NasHAPartitionState) ElementType ¶
func (NasHAPartitionState) ElementType() reflect.Type
type ServerInstallTask ¶
type ServerInstallTask struct { pulumi.CustomResourceState // If set, reboot the server on the specified boot id during destroy phase. BootidOnDestroy pulumi.IntPtrOutput `pulumi:"bootidOnDestroy"` // Details of this task. (should be `Install asked`) Comment pulumi.StringOutput `pulumi:"comment"` // see `details` block below. Details ServerInstallTaskDetailsPtrOutput `pulumi:"details"` // Completion date in RFC3339 format. DoneDate pulumi.StringOutput `pulumi:"doneDate"` // Function name (should be `hardInstall`). Function pulumi.StringOutput `pulumi:"function"` // Last update in RFC3339 format. LastUpdate pulumi.StringOutput `pulumi:"lastUpdate"` // Partition scheme name. PartitionSchemeName pulumi.StringPtrOutput `pulumi:"partitionSchemeName"` // The serviceName of your dedicated server. ServiceName pulumi.StringOutput `pulumi:"serviceName"` // Task creation date in RFC3339 format. StartDate pulumi.StringOutput `pulumi:"startDate"` // Task status (should be `done`) Status pulumi.StringOutput `pulumi:"status"` // Template name. TemplateName pulumi.StringOutput `pulumi:"templateName"` }
## Example Usage
```go package main
import (
"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/Dedicated" "github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/Me" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { rescue, err := Dedicated.GetServerBoots(ctx, &dedicated.GetServerBootsArgs{ ServiceName: "nsxxxxxxx.ip-xx-xx-xx.eu", BootType: pulumi.StringRef("rescue"), }, nil) if err != nil { return err } key, err := Me.NewSshKey(ctx, "key", &Me.SshKeyArgs{ KeyName: pulumi.String("mykey"), Key: pulumi.String("ssh-ed25519 AAAAC3..."), }) if err != nil { return err } debian, err := Me.NewInstallationTemplate(ctx, "debian", &Me.InstallationTemplateArgs{ BaseTemplateName: pulumi.String("debian11_64"), TemplateName: pulumi.String("mydebian11"), DefaultLanguage: pulumi.String("en"), Customization: &me.InstallationTemplateCustomizationArgs{ SshKeyName: key.KeyName, }, }) if err != nil { return err } _, err = Dedicated.NewServerInstallTask(ctx, "serverInstall", &Dedicated.ServerInstallTaskArgs{ ServiceName: pulumi.String("nsxxxxxxx.ip-xx-xx-xx.eu"), TemplateName: debian.TemplateName, BootidOnDestroy: *pulumi.Int(rescue.Results[0]), Details: &dedicated.ServerInstallTaskDetailsArgs{ CustomHostname: pulumi.String("mytest"), }, }) if err != nil { return err } return nil }) }
```
## Import
Installation task can be imported using the `service_name` (`nsXXXX.ip...`) of the baremetal server, the `template_name` used
and ths `task_id`, separated by "/" E.g., bash
```sh
$ pulumi import ovh:Dedicated/serverInstallTask:ServerInstallTask ovh_dedicated_server_install_task nsXXXX.ipXXXX/template_name/12345
```
func GetServerInstallTask ¶
func GetServerInstallTask(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServerInstallTaskState, opts ...pulumi.ResourceOption) (*ServerInstallTask, error)
GetServerInstallTask gets an existing ServerInstallTask 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 NewServerInstallTask ¶
func NewServerInstallTask(ctx *pulumi.Context, name string, args *ServerInstallTaskArgs, opts ...pulumi.ResourceOption) (*ServerInstallTask, error)
NewServerInstallTask registers a new resource with the given unique name, arguments, and options.
func (*ServerInstallTask) ElementType ¶
func (*ServerInstallTask) ElementType() reflect.Type
func (*ServerInstallTask) ToServerInstallTaskOutput ¶
func (i *ServerInstallTask) ToServerInstallTaskOutput() ServerInstallTaskOutput
func (*ServerInstallTask) ToServerInstallTaskOutputWithContext ¶
func (i *ServerInstallTask) ToServerInstallTaskOutputWithContext(ctx context.Context) ServerInstallTaskOutput
type ServerInstallTaskArgs ¶
type ServerInstallTaskArgs struct { // If set, reboot the server on the specified boot id during destroy phase. BootidOnDestroy pulumi.IntPtrInput // see `details` block below. Details ServerInstallTaskDetailsPtrInput // Partition scheme name. PartitionSchemeName pulumi.StringPtrInput // The serviceName of your dedicated server. ServiceName pulumi.StringInput // Template name. TemplateName pulumi.StringInput }
The set of arguments for constructing a ServerInstallTask resource.
func (ServerInstallTaskArgs) ElementType ¶
func (ServerInstallTaskArgs) ElementType() reflect.Type
type ServerInstallTaskArray ¶
type ServerInstallTaskArray []ServerInstallTaskInput
func (ServerInstallTaskArray) ElementType ¶
func (ServerInstallTaskArray) ElementType() reflect.Type
func (ServerInstallTaskArray) ToServerInstallTaskArrayOutput ¶
func (i ServerInstallTaskArray) ToServerInstallTaskArrayOutput() ServerInstallTaskArrayOutput
func (ServerInstallTaskArray) ToServerInstallTaskArrayOutputWithContext ¶
func (i ServerInstallTaskArray) ToServerInstallTaskArrayOutputWithContext(ctx context.Context) ServerInstallTaskArrayOutput
type ServerInstallTaskArrayInput ¶
type ServerInstallTaskArrayInput interface { pulumi.Input ToServerInstallTaskArrayOutput() ServerInstallTaskArrayOutput ToServerInstallTaskArrayOutputWithContext(context.Context) ServerInstallTaskArrayOutput }
ServerInstallTaskArrayInput is an input type that accepts ServerInstallTaskArray and ServerInstallTaskArrayOutput values. You can construct a concrete instance of `ServerInstallTaskArrayInput` via:
ServerInstallTaskArray{ ServerInstallTaskArgs{...} }
type ServerInstallTaskArrayOutput ¶
type ServerInstallTaskArrayOutput struct{ *pulumi.OutputState }
func (ServerInstallTaskArrayOutput) ElementType ¶
func (ServerInstallTaskArrayOutput) ElementType() reflect.Type
func (ServerInstallTaskArrayOutput) Index ¶
func (o ServerInstallTaskArrayOutput) Index(i pulumi.IntInput) ServerInstallTaskOutput
func (ServerInstallTaskArrayOutput) ToServerInstallTaskArrayOutput ¶
func (o ServerInstallTaskArrayOutput) ToServerInstallTaskArrayOutput() ServerInstallTaskArrayOutput
func (ServerInstallTaskArrayOutput) ToServerInstallTaskArrayOutputWithContext ¶
func (o ServerInstallTaskArrayOutput) ToServerInstallTaskArrayOutputWithContext(ctx context.Context) ServerInstallTaskArrayOutput
type ServerInstallTaskDetails ¶
type ServerInstallTaskDetails struct { // Template change log details. // // Deprecated: field is not used anymore ChangeLog *string `pulumi:"changeLog"` // Set up the server using the provided hostname instead of the default hostname. CustomHostname *string `pulumi:"customHostname"` // Disk group id. DiskGroupId *int `pulumi:"diskGroupId"` // set to true to install RTM. InstallRtm *bool `pulumi:"installRtm"` // set to true to install sql server (Windows template only). InstallSqlServer *bool `pulumi:"installSqlServer"` // language. Language *string `pulumi:"language"` // set to true to disable RAID. NoRaid *bool `pulumi:"noRaid"` // Indicate the URL where your postinstall customisation script is located. PostInstallationScriptLink *string `pulumi:"postInstallationScriptLink"` // Indicate the string returned by your postinstall customisation script on successful execution. Advice: your script should return a unique validation string in case of succes. A good example is 'loh1Xee7eo OK OK OK UGh8Ang1Gu'. PostInstallationScriptReturn *string `pulumi:"postInstallationScriptReturn"` // set to true to make a hardware raid reset. ResetHwRaid *bool `pulumi:"resetHwRaid"` // soft raid devices. SoftRaidDevices *int `pulumi:"softRaidDevices"` // Name of the ssh key that should be installed. Password login will be disabled. SshKeyName *string `pulumi:"sshKeyName"` // Use the distribution's native kernel instead of the recommended OVHcloud Kernel. UseDistribKernel *bool `pulumi:"useDistribKernel"` // set to true to use SPLA. UseSpla *bool `pulumi:"useSpla"` }
type ServerInstallTaskDetailsArgs ¶
type ServerInstallTaskDetailsArgs struct { // Template change log details. // // Deprecated: field is not used anymore ChangeLog pulumi.StringPtrInput `pulumi:"changeLog"` // Set up the server using the provided hostname instead of the default hostname. CustomHostname pulumi.StringPtrInput `pulumi:"customHostname"` // Disk group id. DiskGroupId pulumi.IntPtrInput `pulumi:"diskGroupId"` // set to true to install RTM. InstallRtm pulumi.BoolPtrInput `pulumi:"installRtm"` // set to true to install sql server (Windows template only). InstallSqlServer pulumi.BoolPtrInput `pulumi:"installSqlServer"` // language. Language pulumi.StringPtrInput `pulumi:"language"` // set to true to disable RAID. NoRaid pulumi.BoolPtrInput `pulumi:"noRaid"` // Indicate the URL where your postinstall customisation script is located. PostInstallationScriptLink pulumi.StringPtrInput `pulumi:"postInstallationScriptLink"` // Indicate the string returned by your postinstall customisation script on successful execution. Advice: your script should return a unique validation string in case of succes. A good example is 'loh1Xee7eo OK OK OK UGh8Ang1Gu'. PostInstallationScriptReturn pulumi.StringPtrInput `pulumi:"postInstallationScriptReturn"` // set to true to make a hardware raid reset. ResetHwRaid pulumi.BoolPtrInput `pulumi:"resetHwRaid"` // soft raid devices. SoftRaidDevices pulumi.IntPtrInput `pulumi:"softRaidDevices"` // Name of the ssh key that should be installed. Password login will be disabled. SshKeyName pulumi.StringPtrInput `pulumi:"sshKeyName"` // Use the distribution's native kernel instead of the recommended OVHcloud Kernel. UseDistribKernel pulumi.BoolPtrInput `pulumi:"useDistribKernel"` // set to true to use SPLA. UseSpla pulumi.BoolPtrInput `pulumi:"useSpla"` }
func (ServerInstallTaskDetailsArgs) ElementType ¶
func (ServerInstallTaskDetailsArgs) ElementType() reflect.Type
func (ServerInstallTaskDetailsArgs) ToServerInstallTaskDetailsOutput ¶
func (i ServerInstallTaskDetailsArgs) ToServerInstallTaskDetailsOutput() ServerInstallTaskDetailsOutput
func (ServerInstallTaskDetailsArgs) ToServerInstallTaskDetailsOutputWithContext ¶
func (i ServerInstallTaskDetailsArgs) ToServerInstallTaskDetailsOutputWithContext(ctx context.Context) ServerInstallTaskDetailsOutput
func (ServerInstallTaskDetailsArgs) ToServerInstallTaskDetailsPtrOutput ¶
func (i ServerInstallTaskDetailsArgs) ToServerInstallTaskDetailsPtrOutput() ServerInstallTaskDetailsPtrOutput
func (ServerInstallTaskDetailsArgs) ToServerInstallTaskDetailsPtrOutputWithContext ¶
func (i ServerInstallTaskDetailsArgs) ToServerInstallTaskDetailsPtrOutputWithContext(ctx context.Context) ServerInstallTaskDetailsPtrOutput
type ServerInstallTaskDetailsInput ¶
type ServerInstallTaskDetailsInput interface { pulumi.Input ToServerInstallTaskDetailsOutput() ServerInstallTaskDetailsOutput ToServerInstallTaskDetailsOutputWithContext(context.Context) ServerInstallTaskDetailsOutput }
ServerInstallTaskDetailsInput is an input type that accepts ServerInstallTaskDetailsArgs and ServerInstallTaskDetailsOutput values. You can construct a concrete instance of `ServerInstallTaskDetailsInput` via:
ServerInstallTaskDetailsArgs{...}
type ServerInstallTaskDetailsOutput ¶
type ServerInstallTaskDetailsOutput struct{ *pulumi.OutputState }
func (ServerInstallTaskDetailsOutput) ChangeLog
deprecated
func (o ServerInstallTaskDetailsOutput) ChangeLog() pulumi.StringPtrOutput
Template change log details.
Deprecated: field is not used anymore
func (ServerInstallTaskDetailsOutput) CustomHostname ¶
func (o ServerInstallTaskDetailsOutput) CustomHostname() pulumi.StringPtrOutput
Set up the server using the provided hostname instead of the default hostname.
func (ServerInstallTaskDetailsOutput) DiskGroupId ¶
func (o ServerInstallTaskDetailsOutput) DiskGroupId() pulumi.IntPtrOutput
Disk group id.
func (ServerInstallTaskDetailsOutput) ElementType ¶
func (ServerInstallTaskDetailsOutput) ElementType() reflect.Type
func (ServerInstallTaskDetailsOutput) InstallRtm ¶
func (o ServerInstallTaskDetailsOutput) InstallRtm() pulumi.BoolPtrOutput
set to true to install RTM.
func (ServerInstallTaskDetailsOutput) InstallSqlServer ¶
func (o ServerInstallTaskDetailsOutput) InstallSqlServer() pulumi.BoolPtrOutput
set to true to install sql server (Windows template only).
func (ServerInstallTaskDetailsOutput) Language ¶
func (o ServerInstallTaskDetailsOutput) Language() pulumi.StringPtrOutput
language.
func (ServerInstallTaskDetailsOutput) NoRaid ¶
func (o ServerInstallTaskDetailsOutput) NoRaid() pulumi.BoolPtrOutput
set to true to disable RAID.
func (ServerInstallTaskDetailsOutput) PostInstallationScriptLink ¶
func (o ServerInstallTaskDetailsOutput) PostInstallationScriptLink() pulumi.StringPtrOutput
Indicate the URL where your postinstall customisation script is located.
func (ServerInstallTaskDetailsOutput) PostInstallationScriptReturn ¶
func (o ServerInstallTaskDetailsOutput) PostInstallationScriptReturn() pulumi.StringPtrOutput
Indicate the string returned by your postinstall customisation script on successful execution. Advice: your script should return a unique validation string in case of succes. A good example is 'loh1Xee7eo OK OK OK UGh8Ang1Gu'.
func (ServerInstallTaskDetailsOutput) ResetHwRaid ¶
func (o ServerInstallTaskDetailsOutput) ResetHwRaid() pulumi.BoolPtrOutput
set to true to make a hardware raid reset.
func (ServerInstallTaskDetailsOutput) SoftRaidDevices ¶
func (o ServerInstallTaskDetailsOutput) SoftRaidDevices() pulumi.IntPtrOutput
soft raid devices.
func (ServerInstallTaskDetailsOutput) SshKeyName ¶
func (o ServerInstallTaskDetailsOutput) SshKeyName() pulumi.StringPtrOutput
Name of the ssh key that should be installed. Password login will be disabled.
func (ServerInstallTaskDetailsOutput) ToServerInstallTaskDetailsOutput ¶
func (o ServerInstallTaskDetailsOutput) ToServerInstallTaskDetailsOutput() ServerInstallTaskDetailsOutput
func (ServerInstallTaskDetailsOutput) ToServerInstallTaskDetailsOutputWithContext ¶
func (o ServerInstallTaskDetailsOutput) ToServerInstallTaskDetailsOutputWithContext(ctx context.Context) ServerInstallTaskDetailsOutput
func (ServerInstallTaskDetailsOutput) ToServerInstallTaskDetailsPtrOutput ¶
func (o ServerInstallTaskDetailsOutput) ToServerInstallTaskDetailsPtrOutput() ServerInstallTaskDetailsPtrOutput
func (ServerInstallTaskDetailsOutput) ToServerInstallTaskDetailsPtrOutputWithContext ¶
func (o ServerInstallTaskDetailsOutput) ToServerInstallTaskDetailsPtrOutputWithContext(ctx context.Context) ServerInstallTaskDetailsPtrOutput
func (ServerInstallTaskDetailsOutput) UseDistribKernel ¶
func (o ServerInstallTaskDetailsOutput) UseDistribKernel() pulumi.BoolPtrOutput
Use the distribution's native kernel instead of the recommended OVHcloud Kernel.
func (ServerInstallTaskDetailsOutput) UseSpla ¶
func (o ServerInstallTaskDetailsOutput) UseSpla() pulumi.BoolPtrOutput
set to true to use SPLA.
type ServerInstallTaskDetailsPtrInput ¶
type ServerInstallTaskDetailsPtrInput interface { pulumi.Input ToServerInstallTaskDetailsPtrOutput() ServerInstallTaskDetailsPtrOutput ToServerInstallTaskDetailsPtrOutputWithContext(context.Context) ServerInstallTaskDetailsPtrOutput }
ServerInstallTaskDetailsPtrInput is an input type that accepts ServerInstallTaskDetailsArgs, ServerInstallTaskDetailsPtr and ServerInstallTaskDetailsPtrOutput values. You can construct a concrete instance of `ServerInstallTaskDetailsPtrInput` via:
ServerInstallTaskDetailsArgs{...} or: nil
func ServerInstallTaskDetailsPtr ¶
func ServerInstallTaskDetailsPtr(v *ServerInstallTaskDetailsArgs) ServerInstallTaskDetailsPtrInput
type ServerInstallTaskDetailsPtrOutput ¶
type ServerInstallTaskDetailsPtrOutput struct{ *pulumi.OutputState }
func (ServerInstallTaskDetailsPtrOutput) ChangeLog
deprecated
func (o ServerInstallTaskDetailsPtrOutput) ChangeLog() pulumi.StringPtrOutput
Template change log details.
Deprecated: field is not used anymore
func (ServerInstallTaskDetailsPtrOutput) CustomHostname ¶
func (o ServerInstallTaskDetailsPtrOutput) CustomHostname() pulumi.StringPtrOutput
Set up the server using the provided hostname instead of the default hostname.
func (ServerInstallTaskDetailsPtrOutput) DiskGroupId ¶
func (o ServerInstallTaskDetailsPtrOutput) DiskGroupId() pulumi.IntPtrOutput
Disk group id.
func (ServerInstallTaskDetailsPtrOutput) Elem ¶
func (o ServerInstallTaskDetailsPtrOutput) Elem() ServerInstallTaskDetailsOutput
func (ServerInstallTaskDetailsPtrOutput) ElementType ¶
func (ServerInstallTaskDetailsPtrOutput) ElementType() reflect.Type
func (ServerInstallTaskDetailsPtrOutput) InstallRtm ¶
func (o ServerInstallTaskDetailsPtrOutput) InstallRtm() pulumi.BoolPtrOutput
set to true to install RTM.
func (ServerInstallTaskDetailsPtrOutput) InstallSqlServer ¶
func (o ServerInstallTaskDetailsPtrOutput) InstallSqlServer() pulumi.BoolPtrOutput
set to true to install sql server (Windows template only).
func (ServerInstallTaskDetailsPtrOutput) Language ¶
func (o ServerInstallTaskDetailsPtrOutput) Language() pulumi.StringPtrOutput
language.
func (ServerInstallTaskDetailsPtrOutput) NoRaid ¶
func (o ServerInstallTaskDetailsPtrOutput) NoRaid() pulumi.BoolPtrOutput
set to true to disable RAID.
func (ServerInstallTaskDetailsPtrOutput) PostInstallationScriptLink ¶
func (o ServerInstallTaskDetailsPtrOutput) PostInstallationScriptLink() pulumi.StringPtrOutput
Indicate the URL where your postinstall customisation script is located.
func (ServerInstallTaskDetailsPtrOutput) PostInstallationScriptReturn ¶
func (o ServerInstallTaskDetailsPtrOutput) PostInstallationScriptReturn() pulumi.StringPtrOutput
Indicate the string returned by your postinstall customisation script on successful execution. Advice: your script should return a unique validation string in case of succes. A good example is 'loh1Xee7eo OK OK OK UGh8Ang1Gu'.
func (ServerInstallTaskDetailsPtrOutput) ResetHwRaid ¶
func (o ServerInstallTaskDetailsPtrOutput) ResetHwRaid() pulumi.BoolPtrOutput
set to true to make a hardware raid reset.
func (ServerInstallTaskDetailsPtrOutput) SoftRaidDevices ¶
func (o ServerInstallTaskDetailsPtrOutput) SoftRaidDevices() pulumi.IntPtrOutput
soft raid devices.
func (ServerInstallTaskDetailsPtrOutput) SshKeyName ¶
func (o ServerInstallTaskDetailsPtrOutput) SshKeyName() pulumi.StringPtrOutput
Name of the ssh key that should be installed. Password login will be disabled.
func (ServerInstallTaskDetailsPtrOutput) ToServerInstallTaskDetailsPtrOutput ¶
func (o ServerInstallTaskDetailsPtrOutput) ToServerInstallTaskDetailsPtrOutput() ServerInstallTaskDetailsPtrOutput
func (ServerInstallTaskDetailsPtrOutput) ToServerInstallTaskDetailsPtrOutputWithContext ¶
func (o ServerInstallTaskDetailsPtrOutput) ToServerInstallTaskDetailsPtrOutputWithContext(ctx context.Context) ServerInstallTaskDetailsPtrOutput
func (ServerInstallTaskDetailsPtrOutput) UseDistribKernel ¶
func (o ServerInstallTaskDetailsPtrOutput) UseDistribKernel() pulumi.BoolPtrOutput
Use the distribution's native kernel instead of the recommended OVHcloud Kernel.
func (ServerInstallTaskDetailsPtrOutput) UseSpla ¶
func (o ServerInstallTaskDetailsPtrOutput) UseSpla() pulumi.BoolPtrOutput
set to true to use SPLA.
type ServerInstallTaskInput ¶
type ServerInstallTaskInput interface { pulumi.Input ToServerInstallTaskOutput() ServerInstallTaskOutput ToServerInstallTaskOutputWithContext(ctx context.Context) ServerInstallTaskOutput }
type ServerInstallTaskMap ¶
type ServerInstallTaskMap map[string]ServerInstallTaskInput
func (ServerInstallTaskMap) ElementType ¶
func (ServerInstallTaskMap) ElementType() reflect.Type
func (ServerInstallTaskMap) ToServerInstallTaskMapOutput ¶
func (i ServerInstallTaskMap) ToServerInstallTaskMapOutput() ServerInstallTaskMapOutput
func (ServerInstallTaskMap) ToServerInstallTaskMapOutputWithContext ¶
func (i ServerInstallTaskMap) ToServerInstallTaskMapOutputWithContext(ctx context.Context) ServerInstallTaskMapOutput
type ServerInstallTaskMapInput ¶
type ServerInstallTaskMapInput interface { pulumi.Input ToServerInstallTaskMapOutput() ServerInstallTaskMapOutput ToServerInstallTaskMapOutputWithContext(context.Context) ServerInstallTaskMapOutput }
ServerInstallTaskMapInput is an input type that accepts ServerInstallTaskMap and ServerInstallTaskMapOutput values. You can construct a concrete instance of `ServerInstallTaskMapInput` via:
ServerInstallTaskMap{ "key": ServerInstallTaskArgs{...} }
type ServerInstallTaskMapOutput ¶
type ServerInstallTaskMapOutput struct{ *pulumi.OutputState }
func (ServerInstallTaskMapOutput) ElementType ¶
func (ServerInstallTaskMapOutput) ElementType() reflect.Type
func (ServerInstallTaskMapOutput) MapIndex ¶
func (o ServerInstallTaskMapOutput) MapIndex(k pulumi.StringInput) ServerInstallTaskOutput
func (ServerInstallTaskMapOutput) ToServerInstallTaskMapOutput ¶
func (o ServerInstallTaskMapOutput) ToServerInstallTaskMapOutput() ServerInstallTaskMapOutput
func (ServerInstallTaskMapOutput) ToServerInstallTaskMapOutputWithContext ¶
func (o ServerInstallTaskMapOutput) ToServerInstallTaskMapOutputWithContext(ctx context.Context) ServerInstallTaskMapOutput
type ServerInstallTaskOutput ¶
type ServerInstallTaskOutput struct{ *pulumi.OutputState }
func (ServerInstallTaskOutput) BootidOnDestroy ¶
func (o ServerInstallTaskOutput) BootidOnDestroy() pulumi.IntPtrOutput
If set, reboot the server on the specified boot id during destroy phase.
func (ServerInstallTaskOutput) Comment ¶
func (o ServerInstallTaskOutput) Comment() pulumi.StringOutput
Details of this task. (should be `Install asked`)
func (ServerInstallTaskOutput) Details ¶
func (o ServerInstallTaskOutput) Details() ServerInstallTaskDetailsPtrOutput
see `details` block below.
func (ServerInstallTaskOutput) DoneDate ¶
func (o ServerInstallTaskOutput) DoneDate() pulumi.StringOutput
Completion date in RFC3339 format.
func (ServerInstallTaskOutput) ElementType ¶
func (ServerInstallTaskOutput) ElementType() reflect.Type
func (ServerInstallTaskOutput) Function ¶
func (o ServerInstallTaskOutput) Function() pulumi.StringOutput
Function name (should be `hardInstall`).
func (ServerInstallTaskOutput) LastUpdate ¶
func (o ServerInstallTaskOutput) LastUpdate() pulumi.StringOutput
Last update in RFC3339 format.
func (ServerInstallTaskOutput) PartitionSchemeName ¶
func (o ServerInstallTaskOutput) PartitionSchemeName() pulumi.StringPtrOutput
Partition scheme name.
func (ServerInstallTaskOutput) ServiceName ¶
func (o ServerInstallTaskOutput) ServiceName() pulumi.StringOutput
The serviceName of your dedicated server.
func (ServerInstallTaskOutput) StartDate ¶
func (o ServerInstallTaskOutput) StartDate() pulumi.StringOutput
Task creation date in RFC3339 format.
func (ServerInstallTaskOutput) Status ¶
func (o ServerInstallTaskOutput) Status() pulumi.StringOutput
Task status (should be `done`)
func (ServerInstallTaskOutput) TemplateName ¶
func (o ServerInstallTaskOutput) TemplateName() pulumi.StringOutput
Template name.
func (ServerInstallTaskOutput) ToServerInstallTaskOutput ¶
func (o ServerInstallTaskOutput) ToServerInstallTaskOutput() ServerInstallTaskOutput
func (ServerInstallTaskOutput) ToServerInstallTaskOutputWithContext ¶
func (o ServerInstallTaskOutput) ToServerInstallTaskOutputWithContext(ctx context.Context) ServerInstallTaskOutput
type ServerInstallTaskState ¶
type ServerInstallTaskState struct { // If set, reboot the server on the specified boot id during destroy phase. BootidOnDestroy pulumi.IntPtrInput // Details of this task. (should be `Install asked`) Comment pulumi.StringPtrInput // see `details` block below. Details ServerInstallTaskDetailsPtrInput // Completion date in RFC3339 format. DoneDate pulumi.StringPtrInput // Function name (should be `hardInstall`). Function pulumi.StringPtrInput // Last update in RFC3339 format. LastUpdate pulumi.StringPtrInput // Partition scheme name. PartitionSchemeName pulumi.StringPtrInput // The serviceName of your dedicated server. ServiceName pulumi.StringPtrInput // Task creation date in RFC3339 format. StartDate pulumi.StringPtrInput // Task status (should be `done`) Status pulumi.StringPtrInput // Template name. TemplateName pulumi.StringPtrInput }
func (ServerInstallTaskState) ElementType ¶
func (ServerInstallTaskState) ElementType() reflect.Type
type ServerNetworking ¶
type ServerNetworking struct { pulumi.CustomResourceState // Operation description. Description pulumi.StringOutput `pulumi:"description"` // Interface or interfaces aggregation. Interfaces ServerNetworkingInterfaceArrayOutput `pulumi:"interfaces"` // The serviceName of your dedicated server. The full list of available dedicated servers can be found using the `getServers` datasource. ServiceName pulumi.StringOutput `pulumi:"serviceName"` // status of the networking configuration (should be `active`). Status pulumi.StringOutput `pulumi:"status"` }
Manage dedicated server networking interface on SCALE and HIGH-GRADE range.
## Import
A dedicated server networking configuration can be imported using the `service_name`. bash
```sh
$ pulumi import ovh:Dedicated/serverNetworking:ServerNetworking server service_name
```
func GetServerNetworking ¶
func GetServerNetworking(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServerNetworkingState, opts ...pulumi.ResourceOption) (*ServerNetworking, error)
GetServerNetworking gets an existing ServerNetworking 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 NewServerNetworking ¶
func NewServerNetworking(ctx *pulumi.Context, name string, args *ServerNetworkingArgs, opts ...pulumi.ResourceOption) (*ServerNetworking, error)
NewServerNetworking registers a new resource with the given unique name, arguments, and options.
func (*ServerNetworking) ElementType ¶
func (*ServerNetworking) ElementType() reflect.Type
func (*ServerNetworking) ToServerNetworkingOutput ¶
func (i *ServerNetworking) ToServerNetworkingOutput() ServerNetworkingOutput
func (*ServerNetworking) ToServerNetworkingOutputWithContext ¶
func (i *ServerNetworking) ToServerNetworkingOutputWithContext(ctx context.Context) ServerNetworkingOutput
type ServerNetworkingArgs ¶
type ServerNetworkingArgs struct { // Interface or interfaces aggregation. Interfaces ServerNetworkingInterfaceArrayInput // The serviceName of your dedicated server. The full list of available dedicated servers can be found using the `getServers` datasource. ServiceName pulumi.StringInput }
The set of arguments for constructing a ServerNetworking resource.
func (ServerNetworkingArgs) ElementType ¶
func (ServerNetworkingArgs) ElementType() reflect.Type
type ServerNetworkingArray ¶
type ServerNetworkingArray []ServerNetworkingInput
func (ServerNetworkingArray) ElementType ¶
func (ServerNetworkingArray) ElementType() reflect.Type
func (ServerNetworkingArray) ToServerNetworkingArrayOutput ¶
func (i ServerNetworkingArray) ToServerNetworkingArrayOutput() ServerNetworkingArrayOutput
func (ServerNetworkingArray) ToServerNetworkingArrayOutputWithContext ¶
func (i ServerNetworkingArray) ToServerNetworkingArrayOutputWithContext(ctx context.Context) ServerNetworkingArrayOutput
type ServerNetworkingArrayInput ¶
type ServerNetworkingArrayInput interface { pulumi.Input ToServerNetworkingArrayOutput() ServerNetworkingArrayOutput ToServerNetworkingArrayOutputWithContext(context.Context) ServerNetworkingArrayOutput }
ServerNetworkingArrayInput is an input type that accepts ServerNetworkingArray and ServerNetworkingArrayOutput values. You can construct a concrete instance of `ServerNetworkingArrayInput` via:
ServerNetworkingArray{ ServerNetworkingArgs{...} }
type ServerNetworkingArrayOutput ¶
type ServerNetworkingArrayOutput struct{ *pulumi.OutputState }
func (ServerNetworkingArrayOutput) ElementType ¶
func (ServerNetworkingArrayOutput) ElementType() reflect.Type
func (ServerNetworkingArrayOutput) Index ¶
func (o ServerNetworkingArrayOutput) Index(i pulumi.IntInput) ServerNetworkingOutput
func (ServerNetworkingArrayOutput) ToServerNetworkingArrayOutput ¶
func (o ServerNetworkingArrayOutput) ToServerNetworkingArrayOutput() ServerNetworkingArrayOutput
func (ServerNetworkingArrayOutput) ToServerNetworkingArrayOutputWithContext ¶
func (o ServerNetworkingArrayOutput) ToServerNetworkingArrayOutputWithContext(ctx context.Context) ServerNetworkingArrayOutput
type ServerNetworkingInput ¶
type ServerNetworkingInput interface { pulumi.Input ToServerNetworkingOutput() ServerNetworkingOutput ToServerNetworkingOutputWithContext(ctx context.Context) ServerNetworkingOutput }
type ServerNetworkingInterfaceArgs ¶
type ServerNetworkingInterfaceArgs struct { // List of mac addresses to bind together. Macs pulumi.StringArrayInput `pulumi:"macs"` // Type of bonding to create. Type pulumi.StringInput `pulumi:"type"` }
func (ServerNetworkingInterfaceArgs) ElementType ¶
func (ServerNetworkingInterfaceArgs) ElementType() reflect.Type
func (ServerNetworkingInterfaceArgs) ToServerNetworkingInterfaceOutput ¶
func (i ServerNetworkingInterfaceArgs) ToServerNetworkingInterfaceOutput() ServerNetworkingInterfaceOutput
func (ServerNetworkingInterfaceArgs) ToServerNetworkingInterfaceOutputWithContext ¶
func (i ServerNetworkingInterfaceArgs) ToServerNetworkingInterfaceOutputWithContext(ctx context.Context) ServerNetworkingInterfaceOutput
type ServerNetworkingInterfaceArray ¶
type ServerNetworkingInterfaceArray []ServerNetworkingInterfaceInput
func (ServerNetworkingInterfaceArray) ElementType ¶
func (ServerNetworkingInterfaceArray) ElementType() reflect.Type
func (ServerNetworkingInterfaceArray) ToServerNetworkingInterfaceArrayOutput ¶
func (i ServerNetworkingInterfaceArray) ToServerNetworkingInterfaceArrayOutput() ServerNetworkingInterfaceArrayOutput
func (ServerNetworkingInterfaceArray) ToServerNetworkingInterfaceArrayOutputWithContext ¶
func (i ServerNetworkingInterfaceArray) ToServerNetworkingInterfaceArrayOutputWithContext(ctx context.Context) ServerNetworkingInterfaceArrayOutput
type ServerNetworkingInterfaceArrayInput ¶
type ServerNetworkingInterfaceArrayInput interface { pulumi.Input ToServerNetworkingInterfaceArrayOutput() ServerNetworkingInterfaceArrayOutput ToServerNetworkingInterfaceArrayOutputWithContext(context.Context) ServerNetworkingInterfaceArrayOutput }
ServerNetworkingInterfaceArrayInput is an input type that accepts ServerNetworkingInterfaceArray and ServerNetworkingInterfaceArrayOutput values. You can construct a concrete instance of `ServerNetworkingInterfaceArrayInput` via:
ServerNetworkingInterfaceArray{ ServerNetworkingInterfaceArgs{...} }
type ServerNetworkingInterfaceArrayOutput ¶
type ServerNetworkingInterfaceArrayOutput struct{ *pulumi.OutputState }
func (ServerNetworkingInterfaceArrayOutput) ElementType ¶
func (ServerNetworkingInterfaceArrayOutput) ElementType() reflect.Type
func (ServerNetworkingInterfaceArrayOutput) Index ¶
func (o ServerNetworkingInterfaceArrayOutput) Index(i pulumi.IntInput) ServerNetworkingInterfaceOutput
func (ServerNetworkingInterfaceArrayOutput) ToServerNetworkingInterfaceArrayOutput ¶
func (o ServerNetworkingInterfaceArrayOutput) ToServerNetworkingInterfaceArrayOutput() ServerNetworkingInterfaceArrayOutput
func (ServerNetworkingInterfaceArrayOutput) ToServerNetworkingInterfaceArrayOutputWithContext ¶
func (o ServerNetworkingInterfaceArrayOutput) ToServerNetworkingInterfaceArrayOutputWithContext(ctx context.Context) ServerNetworkingInterfaceArrayOutput
type ServerNetworkingInterfaceInput ¶
type ServerNetworkingInterfaceInput interface { pulumi.Input ToServerNetworkingInterfaceOutput() ServerNetworkingInterfaceOutput ToServerNetworkingInterfaceOutputWithContext(context.Context) ServerNetworkingInterfaceOutput }
ServerNetworkingInterfaceInput is an input type that accepts ServerNetworkingInterfaceArgs and ServerNetworkingInterfaceOutput values. You can construct a concrete instance of `ServerNetworkingInterfaceInput` via:
ServerNetworkingInterfaceArgs{...}
type ServerNetworkingInterfaceOutput ¶
type ServerNetworkingInterfaceOutput struct{ *pulumi.OutputState }
func (ServerNetworkingInterfaceOutput) ElementType ¶
func (ServerNetworkingInterfaceOutput) ElementType() reflect.Type
func (ServerNetworkingInterfaceOutput) Macs ¶
func (o ServerNetworkingInterfaceOutput) Macs() pulumi.StringArrayOutput
List of mac addresses to bind together.
func (ServerNetworkingInterfaceOutput) ToServerNetworkingInterfaceOutput ¶
func (o ServerNetworkingInterfaceOutput) ToServerNetworkingInterfaceOutput() ServerNetworkingInterfaceOutput
func (ServerNetworkingInterfaceOutput) ToServerNetworkingInterfaceOutputWithContext ¶
func (o ServerNetworkingInterfaceOutput) ToServerNetworkingInterfaceOutputWithContext(ctx context.Context) ServerNetworkingInterfaceOutput
func (ServerNetworkingInterfaceOutput) Type ¶
func (o ServerNetworkingInterfaceOutput) Type() pulumi.StringOutput
Type of bonding to create.
type ServerNetworkingMap ¶
type ServerNetworkingMap map[string]ServerNetworkingInput
func (ServerNetworkingMap) ElementType ¶
func (ServerNetworkingMap) ElementType() reflect.Type
func (ServerNetworkingMap) ToServerNetworkingMapOutput ¶
func (i ServerNetworkingMap) ToServerNetworkingMapOutput() ServerNetworkingMapOutput
func (ServerNetworkingMap) ToServerNetworkingMapOutputWithContext ¶
func (i ServerNetworkingMap) ToServerNetworkingMapOutputWithContext(ctx context.Context) ServerNetworkingMapOutput
type ServerNetworkingMapInput ¶
type ServerNetworkingMapInput interface { pulumi.Input ToServerNetworkingMapOutput() ServerNetworkingMapOutput ToServerNetworkingMapOutputWithContext(context.Context) ServerNetworkingMapOutput }
ServerNetworkingMapInput is an input type that accepts ServerNetworkingMap and ServerNetworkingMapOutput values. You can construct a concrete instance of `ServerNetworkingMapInput` via:
ServerNetworkingMap{ "key": ServerNetworkingArgs{...} }
type ServerNetworkingMapOutput ¶
type ServerNetworkingMapOutput struct{ *pulumi.OutputState }
func (ServerNetworkingMapOutput) ElementType ¶
func (ServerNetworkingMapOutput) ElementType() reflect.Type
func (ServerNetworkingMapOutput) MapIndex ¶
func (o ServerNetworkingMapOutput) MapIndex(k pulumi.StringInput) ServerNetworkingOutput
func (ServerNetworkingMapOutput) ToServerNetworkingMapOutput ¶
func (o ServerNetworkingMapOutput) ToServerNetworkingMapOutput() ServerNetworkingMapOutput
func (ServerNetworkingMapOutput) ToServerNetworkingMapOutputWithContext ¶
func (o ServerNetworkingMapOutput) ToServerNetworkingMapOutputWithContext(ctx context.Context) ServerNetworkingMapOutput
type ServerNetworkingOutput ¶
type ServerNetworkingOutput struct{ *pulumi.OutputState }
func (ServerNetworkingOutput) Description ¶
func (o ServerNetworkingOutput) Description() pulumi.StringOutput
Operation description.
func (ServerNetworkingOutput) ElementType ¶
func (ServerNetworkingOutput) ElementType() reflect.Type
func (ServerNetworkingOutput) Interfaces ¶
func (o ServerNetworkingOutput) Interfaces() ServerNetworkingInterfaceArrayOutput
Interface or interfaces aggregation.
func (ServerNetworkingOutput) ServiceName ¶
func (o ServerNetworkingOutput) ServiceName() pulumi.StringOutput
The serviceName of your dedicated server. The full list of available dedicated servers can be found using the `getServers` datasource.
func (ServerNetworkingOutput) Status ¶
func (o ServerNetworkingOutput) Status() pulumi.StringOutput
status of the networking configuration (should be `active`).
func (ServerNetworkingOutput) ToServerNetworkingOutput ¶
func (o ServerNetworkingOutput) ToServerNetworkingOutput() ServerNetworkingOutput
func (ServerNetworkingOutput) ToServerNetworkingOutputWithContext ¶
func (o ServerNetworkingOutput) ToServerNetworkingOutputWithContext(ctx context.Context) ServerNetworkingOutput
type ServerNetworkingState ¶
type ServerNetworkingState struct { // Operation description. Description pulumi.StringPtrInput // Interface or interfaces aggregation. Interfaces ServerNetworkingInterfaceArrayInput // The serviceName of your dedicated server. The full list of available dedicated servers can be found using the `getServers` datasource. ServiceName pulumi.StringPtrInput // status of the networking configuration (should be `active`). Status pulumi.StringPtrInput }
func (ServerNetworkingState) ElementType ¶
func (ServerNetworkingState) ElementType() reflect.Type
type ServerRebootTask ¶
type ServerRebootTask struct { pulumi.CustomResourceState // Details of this task. (should be `Reboot asked`) Comment pulumi.StringOutput `pulumi:"comment"` // Completion date in RFC3339 format. DoneDate pulumi.StringOutput `pulumi:"doneDate"` // Function name (should be `hardReboot`). Function pulumi.StringOutput `pulumi:"function"` // List of values tracked to trigger reboot, used also to form implicit dependencies. Keepers pulumi.StringArrayOutput `pulumi:"keepers"` // Last update in RFC3339 format. LastUpdate pulumi.StringOutput `pulumi:"lastUpdate"` // The serviceName of your dedicated server. ServiceName pulumi.StringOutput `pulumi:"serviceName"` // Task creation date in RFC3339 format. StartDate pulumi.StringOutput `pulumi:"startDate"` // Task status (should be `done`) Status pulumi.StringOutput `pulumi:"status"` }
## Example Usage
```go package main
import (
"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/Dedicated" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { rescue, err := Dedicated.GetServerBoots(ctx, &dedicated.GetServerBootsArgs{ ServiceName: "nsxxxxxxx.ip-xx-xx-xx.eu", BootType: pulumi.StringRef("rescue"), Kernel: pulumi.StringRef("rescue64-pro"), }, nil) if err != nil { return err } serverOnRescue, err := Dedicated.NewServerUpdate(ctx, "serverOnRescue", &Dedicated.ServerUpdateArgs{ ServiceName: pulumi.String("nsxxxxxxx.ip-xx-xx-xx.eu"), BootId: *pulumi.Int(rescue.Results[0]), Monitoring: pulumi.Bool(true), State: pulumi.String("ok"), }) if err != nil { return err } _, err = Dedicated.NewServerRebootTask(ctx, "serverReboot", &Dedicated.ServerRebootTaskArgs{ ServiceName: *pulumi.String(rescue.ServiceName), Keepers: pulumi.StringArray{ serverOnRescue.BootId, }, }) if err != nil { return err } return nil }) }
```
func GetServerRebootTask ¶
func GetServerRebootTask(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServerRebootTaskState, opts ...pulumi.ResourceOption) (*ServerRebootTask, error)
GetServerRebootTask gets an existing ServerRebootTask 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 NewServerRebootTask ¶
func NewServerRebootTask(ctx *pulumi.Context, name string, args *ServerRebootTaskArgs, opts ...pulumi.ResourceOption) (*ServerRebootTask, error)
NewServerRebootTask registers a new resource with the given unique name, arguments, and options.
func (*ServerRebootTask) ElementType ¶
func (*ServerRebootTask) ElementType() reflect.Type
func (*ServerRebootTask) ToServerRebootTaskOutput ¶
func (i *ServerRebootTask) ToServerRebootTaskOutput() ServerRebootTaskOutput
func (*ServerRebootTask) ToServerRebootTaskOutputWithContext ¶
func (i *ServerRebootTask) ToServerRebootTaskOutputWithContext(ctx context.Context) ServerRebootTaskOutput
type ServerRebootTaskArgs ¶
type ServerRebootTaskArgs struct { // List of values tracked to trigger reboot, used also to form implicit dependencies. Keepers pulumi.StringArrayInput // The serviceName of your dedicated server. ServiceName pulumi.StringInput }
The set of arguments for constructing a ServerRebootTask resource.
func (ServerRebootTaskArgs) ElementType ¶
func (ServerRebootTaskArgs) ElementType() reflect.Type
type ServerRebootTaskArray ¶
type ServerRebootTaskArray []ServerRebootTaskInput
func (ServerRebootTaskArray) ElementType ¶
func (ServerRebootTaskArray) ElementType() reflect.Type
func (ServerRebootTaskArray) ToServerRebootTaskArrayOutput ¶
func (i ServerRebootTaskArray) ToServerRebootTaskArrayOutput() ServerRebootTaskArrayOutput
func (ServerRebootTaskArray) ToServerRebootTaskArrayOutputWithContext ¶
func (i ServerRebootTaskArray) ToServerRebootTaskArrayOutputWithContext(ctx context.Context) ServerRebootTaskArrayOutput
type ServerRebootTaskArrayInput ¶
type ServerRebootTaskArrayInput interface { pulumi.Input ToServerRebootTaskArrayOutput() ServerRebootTaskArrayOutput ToServerRebootTaskArrayOutputWithContext(context.Context) ServerRebootTaskArrayOutput }
ServerRebootTaskArrayInput is an input type that accepts ServerRebootTaskArray and ServerRebootTaskArrayOutput values. You can construct a concrete instance of `ServerRebootTaskArrayInput` via:
ServerRebootTaskArray{ ServerRebootTaskArgs{...} }
type ServerRebootTaskArrayOutput ¶
type ServerRebootTaskArrayOutput struct{ *pulumi.OutputState }
func (ServerRebootTaskArrayOutput) ElementType ¶
func (ServerRebootTaskArrayOutput) ElementType() reflect.Type
func (ServerRebootTaskArrayOutput) Index ¶
func (o ServerRebootTaskArrayOutput) Index(i pulumi.IntInput) ServerRebootTaskOutput
func (ServerRebootTaskArrayOutput) ToServerRebootTaskArrayOutput ¶
func (o ServerRebootTaskArrayOutput) ToServerRebootTaskArrayOutput() ServerRebootTaskArrayOutput
func (ServerRebootTaskArrayOutput) ToServerRebootTaskArrayOutputWithContext ¶
func (o ServerRebootTaskArrayOutput) ToServerRebootTaskArrayOutputWithContext(ctx context.Context) ServerRebootTaskArrayOutput
type ServerRebootTaskInput ¶
type ServerRebootTaskInput interface { pulumi.Input ToServerRebootTaskOutput() ServerRebootTaskOutput ToServerRebootTaskOutputWithContext(ctx context.Context) ServerRebootTaskOutput }
type ServerRebootTaskMap ¶
type ServerRebootTaskMap map[string]ServerRebootTaskInput
func (ServerRebootTaskMap) ElementType ¶
func (ServerRebootTaskMap) ElementType() reflect.Type
func (ServerRebootTaskMap) ToServerRebootTaskMapOutput ¶
func (i ServerRebootTaskMap) ToServerRebootTaskMapOutput() ServerRebootTaskMapOutput
func (ServerRebootTaskMap) ToServerRebootTaskMapOutputWithContext ¶
func (i ServerRebootTaskMap) ToServerRebootTaskMapOutputWithContext(ctx context.Context) ServerRebootTaskMapOutput
type ServerRebootTaskMapInput ¶
type ServerRebootTaskMapInput interface { pulumi.Input ToServerRebootTaskMapOutput() ServerRebootTaskMapOutput ToServerRebootTaskMapOutputWithContext(context.Context) ServerRebootTaskMapOutput }
ServerRebootTaskMapInput is an input type that accepts ServerRebootTaskMap and ServerRebootTaskMapOutput values. You can construct a concrete instance of `ServerRebootTaskMapInput` via:
ServerRebootTaskMap{ "key": ServerRebootTaskArgs{...} }
type ServerRebootTaskMapOutput ¶
type ServerRebootTaskMapOutput struct{ *pulumi.OutputState }
func (ServerRebootTaskMapOutput) ElementType ¶
func (ServerRebootTaskMapOutput) ElementType() reflect.Type
func (ServerRebootTaskMapOutput) MapIndex ¶
func (o ServerRebootTaskMapOutput) MapIndex(k pulumi.StringInput) ServerRebootTaskOutput
func (ServerRebootTaskMapOutput) ToServerRebootTaskMapOutput ¶
func (o ServerRebootTaskMapOutput) ToServerRebootTaskMapOutput() ServerRebootTaskMapOutput
func (ServerRebootTaskMapOutput) ToServerRebootTaskMapOutputWithContext ¶
func (o ServerRebootTaskMapOutput) ToServerRebootTaskMapOutputWithContext(ctx context.Context) ServerRebootTaskMapOutput
type ServerRebootTaskOutput ¶
type ServerRebootTaskOutput struct{ *pulumi.OutputState }
func (ServerRebootTaskOutput) Comment ¶
func (o ServerRebootTaskOutput) Comment() pulumi.StringOutput
Details of this task. (should be `Reboot asked`)
func (ServerRebootTaskOutput) DoneDate ¶
func (o ServerRebootTaskOutput) DoneDate() pulumi.StringOutput
Completion date in RFC3339 format.
func (ServerRebootTaskOutput) ElementType ¶
func (ServerRebootTaskOutput) ElementType() reflect.Type
func (ServerRebootTaskOutput) Function ¶
func (o ServerRebootTaskOutput) Function() pulumi.StringOutput
Function name (should be `hardReboot`).
func (ServerRebootTaskOutput) Keepers ¶
func (o ServerRebootTaskOutput) Keepers() pulumi.StringArrayOutput
List of values tracked to trigger reboot, used also to form implicit dependencies.
func (ServerRebootTaskOutput) LastUpdate ¶
func (o ServerRebootTaskOutput) LastUpdate() pulumi.StringOutput
Last update in RFC3339 format.
func (ServerRebootTaskOutput) ServiceName ¶
func (o ServerRebootTaskOutput) ServiceName() pulumi.StringOutput
The serviceName of your dedicated server.
func (ServerRebootTaskOutput) StartDate ¶
func (o ServerRebootTaskOutput) StartDate() pulumi.StringOutput
Task creation date in RFC3339 format.
func (ServerRebootTaskOutput) Status ¶
func (o ServerRebootTaskOutput) Status() pulumi.StringOutput
Task status (should be `done`)
func (ServerRebootTaskOutput) ToServerRebootTaskOutput ¶
func (o ServerRebootTaskOutput) ToServerRebootTaskOutput() ServerRebootTaskOutput
func (ServerRebootTaskOutput) ToServerRebootTaskOutputWithContext ¶
func (o ServerRebootTaskOutput) ToServerRebootTaskOutputWithContext(ctx context.Context) ServerRebootTaskOutput
type ServerRebootTaskState ¶
type ServerRebootTaskState struct { // Details of this task. (should be `Reboot asked`) Comment pulumi.StringPtrInput // Completion date in RFC3339 format. DoneDate pulumi.StringPtrInput // Function name (should be `hardReboot`). Function pulumi.StringPtrInput // List of values tracked to trigger reboot, used also to form implicit dependencies. Keepers pulumi.StringArrayInput // Last update in RFC3339 format. LastUpdate pulumi.StringPtrInput // The serviceName of your dedicated server. ServiceName pulumi.StringPtrInput // Task creation date in RFC3339 format. StartDate pulumi.StringPtrInput // Task status (should be `done`) Status pulumi.StringPtrInput }
func (ServerRebootTaskState) ElementType ¶
func (ServerRebootTaskState) ElementType() reflect.Type
type ServerUpdate ¶
type ServerUpdate struct { pulumi.CustomResourceState // boot id of the server BootId pulumi.IntOutput `pulumi:"bootId"` // Icmp monitoring state Monitoring pulumi.BoolOutput `pulumi:"monitoring"` // The serviceName of your dedicated server. ServiceName pulumi.StringOutput `pulumi:"serviceName"` // error, hacked, hackedBlocked, ok State pulumi.StringOutput `pulumi:"state"` }
## Example Usage
```go package main
import (
"github.com/lbrlabs/pulumi-ovh/sdk/go/ovh/Dedicated" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { rescue, err := Dedicated.GetServerBoots(ctx, &dedicated.GetServerBootsArgs{ ServiceName: "nsxxxxxxx.ip-xx-xx-xx.eu", BootType: pulumi.StringRef("rescue"), Kernel: pulumi.StringRef("rescue64-pro"), }, nil) if err != nil { return err } _, err = Dedicated.NewServerUpdate(ctx, "server", &Dedicated.ServerUpdateArgs{ ServiceName: pulumi.String("nsxxxxxxx.ip-xx-xx-xx.eu"), BootId: *pulumi.Int(rescue.Results[0]), Monitoring: pulumi.Bool(true), State: pulumi.String("ok"), }) if err != nil { return err } return nil }) }
```
func GetServerUpdate ¶
func GetServerUpdate(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServerUpdateState, opts ...pulumi.ResourceOption) (*ServerUpdate, error)
GetServerUpdate gets an existing ServerUpdate 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 NewServerUpdate ¶
func NewServerUpdate(ctx *pulumi.Context, name string, args *ServerUpdateArgs, opts ...pulumi.ResourceOption) (*ServerUpdate, error)
NewServerUpdate registers a new resource with the given unique name, arguments, and options.
func (*ServerUpdate) ElementType ¶
func (*ServerUpdate) ElementType() reflect.Type
func (*ServerUpdate) ToServerUpdateOutput ¶
func (i *ServerUpdate) ToServerUpdateOutput() ServerUpdateOutput
func (*ServerUpdate) ToServerUpdateOutputWithContext ¶
func (i *ServerUpdate) ToServerUpdateOutputWithContext(ctx context.Context) ServerUpdateOutput
type ServerUpdateArgs ¶
type ServerUpdateArgs struct { // boot id of the server BootId pulumi.IntPtrInput // Icmp monitoring state Monitoring pulumi.BoolPtrInput // The serviceName of your dedicated server. ServiceName pulumi.StringInput // error, hacked, hackedBlocked, ok State pulumi.StringPtrInput }
The set of arguments for constructing a ServerUpdate resource.
func (ServerUpdateArgs) ElementType ¶
func (ServerUpdateArgs) ElementType() reflect.Type
type ServerUpdateArray ¶
type ServerUpdateArray []ServerUpdateInput
func (ServerUpdateArray) ElementType ¶
func (ServerUpdateArray) ElementType() reflect.Type
func (ServerUpdateArray) ToServerUpdateArrayOutput ¶
func (i ServerUpdateArray) ToServerUpdateArrayOutput() ServerUpdateArrayOutput
func (ServerUpdateArray) ToServerUpdateArrayOutputWithContext ¶
func (i ServerUpdateArray) ToServerUpdateArrayOutputWithContext(ctx context.Context) ServerUpdateArrayOutput
type ServerUpdateArrayInput ¶
type ServerUpdateArrayInput interface { pulumi.Input ToServerUpdateArrayOutput() ServerUpdateArrayOutput ToServerUpdateArrayOutputWithContext(context.Context) ServerUpdateArrayOutput }
ServerUpdateArrayInput is an input type that accepts ServerUpdateArray and ServerUpdateArrayOutput values. You can construct a concrete instance of `ServerUpdateArrayInput` via:
ServerUpdateArray{ ServerUpdateArgs{...} }
type ServerUpdateArrayOutput ¶
type ServerUpdateArrayOutput struct{ *pulumi.OutputState }
func (ServerUpdateArrayOutput) ElementType ¶
func (ServerUpdateArrayOutput) ElementType() reflect.Type
func (ServerUpdateArrayOutput) Index ¶
func (o ServerUpdateArrayOutput) Index(i pulumi.IntInput) ServerUpdateOutput
func (ServerUpdateArrayOutput) ToServerUpdateArrayOutput ¶
func (o ServerUpdateArrayOutput) ToServerUpdateArrayOutput() ServerUpdateArrayOutput
func (ServerUpdateArrayOutput) ToServerUpdateArrayOutputWithContext ¶
func (o ServerUpdateArrayOutput) ToServerUpdateArrayOutputWithContext(ctx context.Context) ServerUpdateArrayOutput
type ServerUpdateInput ¶
type ServerUpdateInput interface { pulumi.Input ToServerUpdateOutput() ServerUpdateOutput ToServerUpdateOutputWithContext(ctx context.Context) ServerUpdateOutput }
type ServerUpdateMap ¶
type ServerUpdateMap map[string]ServerUpdateInput
func (ServerUpdateMap) ElementType ¶
func (ServerUpdateMap) ElementType() reflect.Type
func (ServerUpdateMap) ToServerUpdateMapOutput ¶
func (i ServerUpdateMap) ToServerUpdateMapOutput() ServerUpdateMapOutput
func (ServerUpdateMap) ToServerUpdateMapOutputWithContext ¶
func (i ServerUpdateMap) ToServerUpdateMapOutputWithContext(ctx context.Context) ServerUpdateMapOutput
type ServerUpdateMapInput ¶
type ServerUpdateMapInput interface { pulumi.Input ToServerUpdateMapOutput() ServerUpdateMapOutput ToServerUpdateMapOutputWithContext(context.Context) ServerUpdateMapOutput }
ServerUpdateMapInput is an input type that accepts ServerUpdateMap and ServerUpdateMapOutput values. You can construct a concrete instance of `ServerUpdateMapInput` via:
ServerUpdateMap{ "key": ServerUpdateArgs{...} }
type ServerUpdateMapOutput ¶
type ServerUpdateMapOutput struct{ *pulumi.OutputState }
func (ServerUpdateMapOutput) ElementType ¶
func (ServerUpdateMapOutput) ElementType() reflect.Type
func (ServerUpdateMapOutput) MapIndex ¶
func (o ServerUpdateMapOutput) MapIndex(k pulumi.StringInput) ServerUpdateOutput
func (ServerUpdateMapOutput) ToServerUpdateMapOutput ¶
func (o ServerUpdateMapOutput) ToServerUpdateMapOutput() ServerUpdateMapOutput
func (ServerUpdateMapOutput) ToServerUpdateMapOutputWithContext ¶
func (o ServerUpdateMapOutput) ToServerUpdateMapOutputWithContext(ctx context.Context) ServerUpdateMapOutput
type ServerUpdateOutput ¶
type ServerUpdateOutput struct{ *pulumi.OutputState }
func (ServerUpdateOutput) BootId ¶
func (o ServerUpdateOutput) BootId() pulumi.IntOutput
boot id of the server
func (ServerUpdateOutput) ElementType ¶
func (ServerUpdateOutput) ElementType() reflect.Type
func (ServerUpdateOutput) Monitoring ¶
func (o ServerUpdateOutput) Monitoring() pulumi.BoolOutput
Icmp monitoring state
func (ServerUpdateOutput) ServiceName ¶
func (o ServerUpdateOutput) ServiceName() pulumi.StringOutput
The serviceName of your dedicated server.
func (ServerUpdateOutput) State ¶
func (o ServerUpdateOutput) State() pulumi.StringOutput
error, hacked, hackedBlocked, ok
func (ServerUpdateOutput) ToServerUpdateOutput ¶
func (o ServerUpdateOutput) ToServerUpdateOutput() ServerUpdateOutput
func (ServerUpdateOutput) ToServerUpdateOutputWithContext ¶
func (o ServerUpdateOutput) ToServerUpdateOutputWithContext(ctx context.Context) ServerUpdateOutput
type ServerUpdateState ¶
type ServerUpdateState struct { // boot id of the server BootId pulumi.IntPtrInput // Icmp monitoring state Monitoring pulumi.BoolPtrInput // The serviceName of your dedicated server. ServiceName pulumi.StringPtrInput // error, hacked, hackedBlocked, ok State pulumi.StringPtrInput }
func (ServerUpdateState) ElementType ¶
func (ServerUpdateState) ElementType() reflect.Type