Documentation ¶
Index ¶
- Constants
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ActionResult
- func (o *ActionResult) GetResult() string
- func (o *ActionResult) GetResultOk() (*string, bool)
- func (o ActionResult) MarshalJSON() ([]byte, error)
- func (o *ActionResult) SetResult(v string)
- func (o ActionResult) ToMap() (map[string]interface{}, error)
- func (o *ActionResult) UnmarshalJSON(data []byte) (err error)
- type ApiDeletePrivateNetworkRequest
- type ApiQuotasGetRequest
- type ApiQuotasQuotaIdActionsRequestEditPostRequest
- type ApiQuotasQuotaIdGetRequest
- type ApiServersGetRequest
- type ApiServersPostRequest
- type ApiServersServerIdActionsDeprovisionPostRequest
- type ApiServersServerIdActionsPowerOffPostRequest
- type ApiServersServerIdActionsPowerOnPostRequest
- type ApiServersServerIdActionsProvisionPostRequest
- func (r ApiServersServerIdActionsProvisionPostRequest) Execute() (*Server, *http.Response, error)
- func (r ApiServersServerIdActionsProvisionPostRequest) Force(force bool) ApiServersServerIdActionsProvisionPostRequest
- func (r ApiServersServerIdActionsProvisionPostRequest) ServerProvision(serverProvision ServerProvision) ApiServersServerIdActionsProvisionPostRequest
- type ApiServersServerIdActionsRebootPostRequest
- type ApiServersServerIdActionsReservePostRequest
- type ApiServersServerIdActionsResetPostRequest
- type ApiServersServerIdActionsShutdownPostRequest
- type ApiServersServerIdDeleteRequest
- type ApiServersServerIdGetRequest
- type ApiServersServerIdIpBlocksIpBlockIdDeleteRequest
- type ApiServersServerIdIpBlocksPostRequest
- type ApiServersServerIdPatchRequest
- type ApiServersServerIdPrivateNetworksPatchRequest
- func (r ApiServersServerIdPrivateNetworksPatchRequest) Execute() (*ServerPrivateNetwork, *http.Response, error)
- func (r ApiServersServerIdPrivateNetworksPatchRequest) Force(force bool) ApiServersServerIdPrivateNetworksPatchRequest
- func (r ApiServersServerIdPrivateNetworksPatchRequest) ServerNetworkUpdate(serverNetworkUpdate ServerNetworkUpdate) ApiServersServerIdPrivateNetworksPatchRequest
- type ApiServersServerIdPrivateNetworksPostRequest
- func (r ApiServersServerIdPrivateNetworksPostRequest) Execute() (*ServerPrivateNetwork, *http.Response, error)
- func (r ApiServersServerIdPrivateNetworksPostRequest) Force(force bool) ApiServersServerIdPrivateNetworksPostRequest
- func (r ApiServersServerIdPrivateNetworksPostRequest) ServerPrivateNetwork(serverPrivateNetwork ServerPrivateNetwork) ApiServersServerIdPrivateNetworksPostRequest
- type ApiServersServerIdPublicNetworksDeleteRequest
- type ApiServersServerIdPublicNetworksPatchRequest
- func (r ApiServersServerIdPublicNetworksPatchRequest) Execute() (*ServerPublicNetwork, *http.Response, error)
- func (r ApiServersServerIdPublicNetworksPatchRequest) Force(force bool) ApiServersServerIdPublicNetworksPatchRequest
- func (r ApiServersServerIdPublicNetworksPatchRequest) ServerNetworkUpdate(serverNetworkUpdate ServerNetworkUpdate) ApiServersServerIdPublicNetworksPatchRequest
- type ApiServersServerIdPublicNetworksPostRequest
- func (r ApiServersServerIdPublicNetworksPostRequest) Execute() (*ServerPublicNetwork, *http.Response, error)
- func (r ApiServersServerIdPublicNetworksPostRequest) Force(force bool) ApiServersServerIdPublicNetworksPostRequest
- func (r ApiServersServerIdPublicNetworksPostRequest) ServerPublicNetwork(serverPublicNetwork ServerPublicNetwork) ApiServersServerIdPublicNetworksPostRequest
- type ApiServersServerIdTagsPutRequest
- type ApiSshKeysGetRequest
- type ApiSshKeysPostRequest
- type ApiSshKeysSshKeyIdDeleteRequest
- type ApiSshKeysSshKeyIdGetRequest
- type ApiSshKeysSshKeyIdPutRequest
- type BasicAuth
- type Configuration
- type DeleteResult
- func (o *DeleteResult) GetResult() string
- func (o *DeleteResult) GetResultOk() (*string, bool)
- func (o *DeleteResult) GetServerId() string
- func (o *DeleteResult) GetServerIdOk() (*string, bool)
- func (o DeleteResult) MarshalJSON() ([]byte, error)
- func (o *DeleteResult) SetResult(v string)
- func (o *DeleteResult) SetServerId(v string)
- func (o DeleteResult) ToMap() (map[string]interface{}, error)
- func (o *DeleteResult) UnmarshalJSON(data []byte) (err error)
- type DeleteSshKeyResult
- func (o *DeleteSshKeyResult) GetResult() string
- func (o *DeleteSshKeyResult) GetResultOk() (*string, bool)
- func (o *DeleteSshKeyResult) GetSshKeyId() string
- func (o *DeleteSshKeyResult) GetSshKeyIdOk() (*string, bool)
- func (o DeleteSshKeyResult) MarshalJSON() ([]byte, error)
- func (o *DeleteSshKeyResult) SetResult(v string)
- func (o *DeleteSshKeyResult) SetSshKeyId(v string)
- func (o DeleteSshKeyResult) ToMap() (map[string]interface{}, error)
- func (o *DeleteSshKeyResult) UnmarshalJSON(data []byte) (err error)
- type Error
- func (o *Error) GetMessage() string
- func (o *Error) GetMessageOk() (*string, bool)
- func (o *Error) GetValidationErrors() []string
- func (o *Error) GetValidationErrorsOk() ([]string, bool)
- func (o *Error) HasValidationErrors() bool
- func (o Error) MarshalJSON() ([]byte, error)
- func (o *Error) SetMessage(v string)
- func (o *Error) SetValidationErrors(v []string)
- func (o Error) ToMap() (map[string]interface{}, error)
- func (o *Error) UnmarshalJSON(data []byte) (err error)
- type EsxiDatastoreConfiguration
- func (o *EsxiDatastoreConfiguration) GetDatastoreName() string
- func (o *EsxiDatastoreConfiguration) GetDatastoreNameOk() (*string, bool)
- func (o EsxiDatastoreConfiguration) MarshalJSON() ([]byte, error)
- func (o *EsxiDatastoreConfiguration) SetDatastoreName(v string)
- func (o EsxiDatastoreConfiguration) ToMap() (map[string]interface{}, error)
- func (o *EsxiDatastoreConfiguration) UnmarshalJSON(data []byte) (err error)
- type EsxiOsConfiguration
- func (o *EsxiOsConfiguration) GetDatastoreConfiguration() EsxiDatastoreConfiguration
- func (o *EsxiOsConfiguration) GetDatastoreConfigurationOk() (*EsxiDatastoreConfiguration, bool)
- func (o *EsxiOsConfiguration) HasDatastoreConfiguration() bool
- func (o EsxiOsConfiguration) MarshalJSON() ([]byte, error)
- func (o *EsxiOsConfiguration) SetDatastoreConfiguration(v EsxiDatastoreConfiguration)
- func (o EsxiOsConfiguration) ToMap() (map[string]interface{}, error)
- func (o *EsxiOsConfiguration) UnmarshalJSON(data []byte) (err error)
- type GenericOpenAPIError
- type IpBlocksConfiguration
- func (o *IpBlocksConfiguration) GetConfigurationType() string
- func (o *IpBlocksConfiguration) GetConfigurationTypeOk() (*string, bool)
- func (o *IpBlocksConfiguration) GetIpBlocks() []ServerIpBlock
- func (o *IpBlocksConfiguration) GetIpBlocksOk() ([]ServerIpBlock, bool)
- func (o *IpBlocksConfiguration) HasConfigurationType() bool
- func (o *IpBlocksConfiguration) HasIpBlocks() bool
- func (o IpBlocksConfiguration) MarshalJSON() ([]byte, error)
- func (o *IpBlocksConfiguration) SetConfigurationType(v string)
- func (o *IpBlocksConfiguration) SetIpBlocks(v []ServerIpBlock)
- func (o IpBlocksConfiguration) ToMap() (map[string]interface{}, error)
- func (o *IpBlocksConfiguration) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type NetworkConfiguration
- func (o *NetworkConfiguration) GetGatewayAddress() string
- func (o *NetworkConfiguration) GetGatewayAddressOk() (*string, bool)
- func (o *NetworkConfiguration) GetIpBlocksConfiguration() IpBlocksConfiguration
- func (o *NetworkConfiguration) GetIpBlocksConfigurationOk() (*IpBlocksConfiguration, bool)
- func (o *NetworkConfiguration) GetPrivateNetworkConfiguration() PrivateNetworkConfiguration
- func (o *NetworkConfiguration) GetPrivateNetworkConfigurationOk() (*PrivateNetworkConfiguration, bool)
- func (o *NetworkConfiguration) GetPublicNetworkConfiguration() PublicNetworkConfiguration
- func (o *NetworkConfiguration) GetPublicNetworkConfigurationOk() (*PublicNetworkConfiguration, bool)
- func (o *NetworkConfiguration) HasGatewayAddress() bool
- func (o *NetworkConfiguration) HasIpBlocksConfiguration() bool
- func (o *NetworkConfiguration) HasPrivateNetworkConfiguration() bool
- func (o *NetworkConfiguration) HasPublicNetworkConfiguration() bool
- func (o NetworkConfiguration) MarshalJSON() ([]byte, error)
- func (o *NetworkConfiguration) SetGatewayAddress(v string)
- func (o *NetworkConfiguration) SetIpBlocksConfiguration(v IpBlocksConfiguration)
- func (o *NetworkConfiguration) SetPrivateNetworkConfiguration(v PrivateNetworkConfiguration)
- func (o *NetworkConfiguration) SetPublicNetworkConfiguration(v PublicNetworkConfiguration)
- func (o NetworkConfiguration) ToMap() (map[string]interface{}, error)
- func (o *NetworkConfiguration) UnmarshalJSON(data []byte) (err error)
- type NullableActionResult
- func (v NullableActionResult) Get() *ActionResult
- func (v NullableActionResult) IsSet() bool
- func (v NullableActionResult) MarshalJSON() ([]byte, error)
- func (v *NullableActionResult) Set(val *ActionResult)
- func (v *NullableActionResult) UnmarshalJSON(src []byte) error
- func (v *NullableActionResult) Unset()
- type NullableBool
- type NullableDeleteResult
- func (v NullableDeleteResult) Get() *DeleteResult
- func (v NullableDeleteResult) IsSet() bool
- func (v NullableDeleteResult) MarshalJSON() ([]byte, error)
- func (v *NullableDeleteResult) Set(val *DeleteResult)
- func (v *NullableDeleteResult) UnmarshalJSON(src []byte) error
- func (v *NullableDeleteResult) Unset()
- type NullableDeleteSshKeyResult
- func (v NullableDeleteSshKeyResult) Get() *DeleteSshKeyResult
- func (v NullableDeleteSshKeyResult) IsSet() bool
- func (v NullableDeleteSshKeyResult) MarshalJSON() ([]byte, error)
- func (v *NullableDeleteSshKeyResult) Set(val *DeleteSshKeyResult)
- func (v *NullableDeleteSshKeyResult) UnmarshalJSON(src []byte) error
- func (v *NullableDeleteSshKeyResult) Unset()
- type NullableError
- type NullableEsxiDatastoreConfiguration
- func (v NullableEsxiDatastoreConfiguration) Get() *EsxiDatastoreConfiguration
- func (v NullableEsxiDatastoreConfiguration) IsSet() bool
- func (v NullableEsxiDatastoreConfiguration) MarshalJSON() ([]byte, error)
- func (v *NullableEsxiDatastoreConfiguration) Set(val *EsxiDatastoreConfiguration)
- func (v *NullableEsxiDatastoreConfiguration) UnmarshalJSON(src []byte) error
- func (v *NullableEsxiDatastoreConfiguration) Unset()
- type NullableEsxiOsConfiguration
- func (v NullableEsxiOsConfiguration) Get() *EsxiOsConfiguration
- func (v NullableEsxiOsConfiguration) IsSet() bool
- func (v NullableEsxiOsConfiguration) MarshalJSON() ([]byte, error)
- func (v *NullableEsxiOsConfiguration) Set(val *EsxiOsConfiguration)
- func (v *NullableEsxiOsConfiguration) UnmarshalJSON(src []byte) error
- func (v *NullableEsxiOsConfiguration) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableIpBlocksConfiguration
- func (v NullableIpBlocksConfiguration) Get() *IpBlocksConfiguration
- func (v NullableIpBlocksConfiguration) IsSet() bool
- func (v NullableIpBlocksConfiguration) MarshalJSON() ([]byte, error)
- func (v *NullableIpBlocksConfiguration) Set(val *IpBlocksConfiguration)
- func (v *NullableIpBlocksConfiguration) UnmarshalJSON(src []byte) error
- func (v *NullableIpBlocksConfiguration) Unset()
- type NullableNetworkConfiguration
- func (v NullableNetworkConfiguration) Get() *NetworkConfiguration
- func (v NullableNetworkConfiguration) IsSet() bool
- func (v NullableNetworkConfiguration) MarshalJSON() ([]byte, error)
- func (v *NullableNetworkConfiguration) Set(val *NetworkConfiguration)
- func (v *NullableNetworkConfiguration) UnmarshalJSON(src []byte) error
- func (v *NullableNetworkConfiguration) Unset()
- type NullableOsConfiguration
- func (v NullableOsConfiguration) Get() *OsConfiguration
- func (v NullableOsConfiguration) IsSet() bool
- func (v NullableOsConfiguration) MarshalJSON() ([]byte, error)
- func (v *NullableOsConfiguration) Set(val *OsConfiguration)
- func (v *NullableOsConfiguration) UnmarshalJSON(src []byte) error
- func (v *NullableOsConfiguration) Unset()
- type NullableOsConfigurationCloudInit
- func (v NullableOsConfigurationCloudInit) Get() *OsConfigurationCloudInit
- func (v NullableOsConfigurationCloudInit) IsSet() bool
- func (v NullableOsConfigurationCloudInit) MarshalJSON() ([]byte, error)
- func (v *NullableOsConfigurationCloudInit) Set(val *OsConfigurationCloudInit)
- func (v *NullableOsConfigurationCloudInit) UnmarshalJSON(src []byte) error
- func (v *NullableOsConfigurationCloudInit) Unset()
- type NullableOsConfigurationMap
- func (v NullableOsConfigurationMap) Get() *OsConfigurationMap
- func (v NullableOsConfigurationMap) IsSet() bool
- func (v NullableOsConfigurationMap) MarshalJSON() ([]byte, error)
- func (v *NullableOsConfigurationMap) Set(val *OsConfigurationMap)
- func (v *NullableOsConfigurationMap) UnmarshalJSON(src []byte) error
- func (v *NullableOsConfigurationMap) Unset()
- type NullableOsConfigurationMapEsxi
- func (v NullableOsConfigurationMapEsxi) Get() *OsConfigurationMapEsxi
- func (v NullableOsConfigurationMapEsxi) IsSet() bool
- func (v NullableOsConfigurationMapEsxi) MarshalJSON() ([]byte, error)
- func (v *NullableOsConfigurationMapEsxi) Set(val *OsConfigurationMapEsxi)
- func (v *NullableOsConfigurationMapEsxi) UnmarshalJSON(src []byte) error
- func (v *NullableOsConfigurationMapEsxi) Unset()
- type NullableOsConfigurationMapProxmox
- func (v NullableOsConfigurationMapProxmox) Get() *OsConfigurationMapProxmox
- func (v NullableOsConfigurationMapProxmox) IsSet() bool
- func (v NullableOsConfigurationMapProxmox) MarshalJSON() ([]byte, error)
- func (v *NullableOsConfigurationMapProxmox) Set(val *OsConfigurationMapProxmox)
- func (v *NullableOsConfigurationMapProxmox) UnmarshalJSON(src []byte) error
- func (v *NullableOsConfigurationMapProxmox) Unset()
- type NullableOsConfigurationNetrisController
- func (v NullableOsConfigurationNetrisController) Get() *OsConfigurationNetrisController
- func (v NullableOsConfigurationNetrisController) IsSet() bool
- func (v NullableOsConfigurationNetrisController) MarshalJSON() ([]byte, error)
- func (v *NullableOsConfigurationNetrisController) Set(val *OsConfigurationNetrisController)
- func (v *NullableOsConfigurationNetrisController) UnmarshalJSON(src []byte) error
- func (v *NullableOsConfigurationNetrisController) Unset()
- type NullableOsConfigurationNetrisSoftgate
- func (v NullableOsConfigurationNetrisSoftgate) Get() *OsConfigurationNetrisSoftgate
- func (v NullableOsConfigurationNetrisSoftgate) IsSet() bool
- func (v NullableOsConfigurationNetrisSoftgate) MarshalJSON() ([]byte, error)
- func (v *NullableOsConfigurationNetrisSoftgate) Set(val *OsConfigurationNetrisSoftgate)
- func (v *NullableOsConfigurationNetrisSoftgate) UnmarshalJSON(src []byte) error
- func (v *NullableOsConfigurationNetrisSoftgate) Unset()
- type NullableOsConfigurationWindows
- func (v NullableOsConfigurationWindows) Get() *OsConfigurationWindows
- func (v NullableOsConfigurationWindows) IsSet() bool
- func (v NullableOsConfigurationWindows) MarshalJSON() ([]byte, error)
- func (v *NullableOsConfigurationWindows) Set(val *OsConfigurationWindows)
- func (v *NullableOsConfigurationWindows) UnmarshalJSON(src []byte) error
- func (v *NullableOsConfigurationWindows) Unset()
- type NullablePrivateNetworkConfiguration
- func (v NullablePrivateNetworkConfiguration) Get() *PrivateNetworkConfiguration
- func (v NullablePrivateNetworkConfiguration) IsSet() bool
- func (v NullablePrivateNetworkConfiguration) MarshalJSON() ([]byte, error)
- func (v *NullablePrivateNetworkConfiguration) Set(val *PrivateNetworkConfiguration)
- func (v *NullablePrivateNetworkConfiguration) UnmarshalJSON(src []byte) error
- func (v *NullablePrivateNetworkConfiguration) Unset()
- type NullablePublicNetworkConfiguration
- func (v NullablePublicNetworkConfiguration) Get() *PublicNetworkConfiguration
- func (v NullablePublicNetworkConfiguration) IsSet() bool
- func (v NullablePublicNetworkConfiguration) MarshalJSON() ([]byte, error)
- func (v *NullablePublicNetworkConfiguration) Set(val *PublicNetworkConfiguration)
- func (v *NullablePublicNetworkConfiguration) UnmarshalJSON(src []byte) error
- func (v *NullablePublicNetworkConfiguration) Unset()
- type NullableQuota
- type NullableQuotaEditLimitRequest
- func (v NullableQuotaEditLimitRequest) Get() *QuotaEditLimitRequest
- func (v NullableQuotaEditLimitRequest) IsSet() bool
- func (v NullableQuotaEditLimitRequest) MarshalJSON() ([]byte, error)
- func (v *NullableQuotaEditLimitRequest) Set(val *QuotaEditLimitRequest)
- func (v *NullableQuotaEditLimitRequest) UnmarshalJSON(src []byte) error
- func (v *NullableQuotaEditLimitRequest) Unset()
- type NullableQuotaEditLimitRequestDetails
- func (v NullableQuotaEditLimitRequestDetails) Get() *QuotaEditLimitRequestDetails
- func (v NullableQuotaEditLimitRequestDetails) IsSet() bool
- func (v NullableQuotaEditLimitRequestDetails) MarshalJSON() ([]byte, error)
- func (v *NullableQuotaEditLimitRequestDetails) Set(val *QuotaEditLimitRequestDetails)
- func (v *NullableQuotaEditLimitRequestDetails) UnmarshalJSON(src []byte) error
- func (v *NullableQuotaEditLimitRequestDetails) Unset()
- type NullableRelinquishIpBlock
- func (v NullableRelinquishIpBlock) Get() *RelinquishIpBlock
- func (v NullableRelinquishIpBlock) IsSet() bool
- func (v NullableRelinquishIpBlock) MarshalJSON() ([]byte, error)
- func (v *NullableRelinquishIpBlock) Set(val *RelinquishIpBlock)
- func (v *NullableRelinquishIpBlock) UnmarshalJSON(src []byte) error
- func (v *NullableRelinquishIpBlock) Unset()
- type NullableResetResult
- func (v NullableResetResult) Get() *ResetResult
- func (v NullableResetResult) IsSet() bool
- func (v NullableResetResult) MarshalJSON() ([]byte, error)
- func (v *NullableResetResult) Set(val *ResetResult)
- func (v *NullableResetResult) UnmarshalJSON(src []byte) error
- func (v *NullableResetResult) Unset()
- type NullableServer
- type NullableServerCreate
- func (v NullableServerCreate) Get() *ServerCreate
- func (v NullableServerCreate) IsSet() bool
- func (v NullableServerCreate) MarshalJSON() ([]byte, error)
- func (v *NullableServerCreate) Set(val *ServerCreate)
- func (v *NullableServerCreate) UnmarshalJSON(src []byte) error
- func (v *NullableServerCreate) Unset()
- type NullableServerIpBlock
- func (v NullableServerIpBlock) Get() *ServerIpBlock
- func (v NullableServerIpBlock) IsSet() bool
- func (v NullableServerIpBlock) MarshalJSON() ([]byte, error)
- func (v *NullableServerIpBlock) Set(val *ServerIpBlock)
- func (v *NullableServerIpBlock) UnmarshalJSON(src []byte) error
- func (v *NullableServerIpBlock) Unset()
- type NullableServerNetworkUpdate
- func (v NullableServerNetworkUpdate) Get() *ServerNetworkUpdate
- func (v NullableServerNetworkUpdate) IsSet() bool
- func (v NullableServerNetworkUpdate) MarshalJSON() ([]byte, error)
- func (v *NullableServerNetworkUpdate) Set(val *ServerNetworkUpdate)
- func (v *NullableServerNetworkUpdate) UnmarshalJSON(src []byte) error
- func (v *NullableServerNetworkUpdate) Unset()
- type NullableServerPatch
- func (v NullableServerPatch) Get() *ServerPatch
- func (v NullableServerPatch) IsSet() bool
- func (v NullableServerPatch) MarshalJSON() ([]byte, error)
- func (v *NullableServerPatch) Set(val *ServerPatch)
- func (v *NullableServerPatch) UnmarshalJSON(src []byte) error
- func (v *NullableServerPatch) Unset()
- type NullableServerPrivateNetwork
- func (v NullableServerPrivateNetwork) Get() *ServerPrivateNetwork
- func (v NullableServerPrivateNetwork) IsSet() bool
- func (v NullableServerPrivateNetwork) MarshalJSON() ([]byte, error)
- func (v *NullableServerPrivateNetwork) Set(val *ServerPrivateNetwork)
- func (v *NullableServerPrivateNetwork) UnmarshalJSON(src []byte) error
- func (v *NullableServerPrivateNetwork) Unset()
- type NullableServerProvision
- func (v NullableServerProvision) Get() *ServerProvision
- func (v NullableServerProvision) IsSet() bool
- func (v NullableServerProvision) MarshalJSON() ([]byte, error)
- func (v *NullableServerProvision) Set(val *ServerProvision)
- func (v *NullableServerProvision) UnmarshalJSON(src []byte) error
- func (v *NullableServerProvision) Unset()
- type NullableServerPublicNetwork
- func (v NullableServerPublicNetwork) Get() *ServerPublicNetwork
- func (v NullableServerPublicNetwork) IsSet() bool
- func (v NullableServerPublicNetwork) MarshalJSON() ([]byte, error)
- func (v *NullableServerPublicNetwork) Set(val *ServerPublicNetwork)
- func (v *NullableServerPublicNetwork) UnmarshalJSON(src []byte) error
- func (v *NullableServerPublicNetwork) Unset()
- type NullableServerReserve
- func (v NullableServerReserve) Get() *ServerReserve
- func (v NullableServerReserve) IsSet() bool
- func (v NullableServerReserve) MarshalJSON() ([]byte, error)
- func (v *NullableServerReserve) Set(val *ServerReserve)
- func (v *NullableServerReserve) UnmarshalJSON(src []byte) error
- func (v *NullableServerReserve) Unset()
- type NullableServerReset
- func (v NullableServerReset) Get() *ServerReset
- func (v NullableServerReset) IsSet() bool
- func (v NullableServerReset) MarshalJSON() ([]byte, error)
- func (v *NullableServerReset) Set(val *ServerReset)
- func (v *NullableServerReset) UnmarshalJSON(src []byte) error
- func (v *NullableServerReset) Unset()
- type NullableSshKey
- type NullableSshKeyCreate
- func (v NullableSshKeyCreate) Get() *SshKeyCreate
- func (v NullableSshKeyCreate) IsSet() bool
- func (v NullableSshKeyCreate) MarshalJSON() ([]byte, error)
- func (v *NullableSshKeyCreate) Set(val *SshKeyCreate)
- func (v *NullableSshKeyCreate) UnmarshalJSON(src []byte) error
- func (v *NullableSshKeyCreate) Unset()
- type NullableSshKeyUpdate
- func (v NullableSshKeyUpdate) Get() *SshKeyUpdate
- func (v NullableSshKeyUpdate) IsSet() bool
- func (v NullableSshKeyUpdate) MarshalJSON() ([]byte, error)
- func (v *NullableSshKeyUpdate) Set(val *SshKeyUpdate)
- func (v *NullableSshKeyUpdate) UnmarshalJSON(src []byte) error
- func (v *NullableSshKeyUpdate) Unset()
- type NullableStorageConfiguration
- func (v NullableStorageConfiguration) Get() *StorageConfiguration
- func (v NullableStorageConfiguration) IsSet() bool
- func (v NullableStorageConfiguration) MarshalJSON() ([]byte, error)
- func (v *NullableStorageConfiguration) Set(val *StorageConfiguration)
- func (v *NullableStorageConfiguration) UnmarshalJSON(src []byte) error
- func (v *NullableStorageConfiguration) Unset()
- type NullableStorageConfigurationRootPartition
- func (v NullableStorageConfigurationRootPartition) Get() *StorageConfigurationRootPartition
- func (v NullableStorageConfigurationRootPartition) IsSet() bool
- func (v NullableStorageConfigurationRootPartition) MarshalJSON() ([]byte, error)
- func (v *NullableStorageConfigurationRootPartition) Set(val *StorageConfigurationRootPartition)
- func (v *NullableStorageConfigurationRootPartition) UnmarshalJSON(src []byte) error
- func (v *NullableStorageConfigurationRootPartition) Unset()
- type NullableString
- type NullableTagAssignment
- func (v NullableTagAssignment) Get() *TagAssignment
- func (v NullableTagAssignment) IsSet() bool
- func (v NullableTagAssignment) MarshalJSON() ([]byte, error)
- func (v *NullableTagAssignment) Set(val *TagAssignment)
- func (v *NullableTagAssignment) UnmarshalJSON(src []byte) error
- func (v *NullableTagAssignment) Unset()
- type NullableTagAssignmentRequest
- func (v NullableTagAssignmentRequest) Get() *TagAssignmentRequest
- func (v NullableTagAssignmentRequest) IsSet() bool
- func (v NullableTagAssignmentRequest) MarshalJSON() ([]byte, error)
- func (v *NullableTagAssignmentRequest) Set(val *TagAssignmentRequest)
- func (v *NullableTagAssignmentRequest) UnmarshalJSON(src []byte) error
- func (v *NullableTagAssignmentRequest) Unset()
- type NullableTime
- type OsConfiguration
- func (o *OsConfiguration) GetCloudInit() OsConfigurationCloudInit
- func (o *OsConfiguration) GetCloudInitOk() (*OsConfigurationCloudInit, bool)
- func (o *OsConfiguration) GetEsxi() EsxiOsConfiguration
- func (o *OsConfiguration) GetEsxiOk() (*EsxiOsConfiguration, bool)
- func (o *OsConfiguration) GetInstallOsToRam() bool
- func (o *OsConfiguration) GetInstallOsToRamOk() (*bool, bool)
- func (o *OsConfiguration) GetManagementAccessAllowedIps() []string
- func (o *OsConfiguration) GetManagementAccessAllowedIpsOk() ([]string, bool)
- func (o *OsConfiguration) GetManagementUiUrl() string
- func (o *OsConfiguration) GetManagementUiUrlOk() (*string, bool)
- func (o *OsConfiguration) GetNetrisController() OsConfigurationNetrisController
- func (o *OsConfiguration) GetNetrisControllerOk() (*OsConfigurationNetrisController, bool)
- func (o *OsConfiguration) GetNetrisSoftgate() OsConfigurationNetrisSoftgate
- func (o *OsConfiguration) GetNetrisSoftgateOk() (*OsConfigurationNetrisSoftgate, bool)
- func (o *OsConfiguration) GetRootPassword() string
- func (o *OsConfiguration) GetRootPasswordOk() (*string, bool)
- func (o *OsConfiguration) GetWindows() OsConfigurationWindows
- func (o *OsConfiguration) GetWindowsOk() (*OsConfigurationWindows, bool)
- func (o *OsConfiguration) HasCloudInit() bool
- func (o *OsConfiguration) HasEsxi() bool
- func (o *OsConfiguration) HasInstallOsToRam() bool
- func (o *OsConfiguration) HasManagementAccessAllowedIps() bool
- func (o *OsConfiguration) HasManagementUiUrl() bool
- func (o *OsConfiguration) HasNetrisController() bool
- func (o *OsConfiguration) HasNetrisSoftgate() bool
- func (o *OsConfiguration) HasRootPassword() bool
- func (o *OsConfiguration) HasWindows() bool
- func (o OsConfiguration) MarshalJSON() ([]byte, error)
- func (o *OsConfiguration) SetCloudInit(v OsConfigurationCloudInit)
- func (o *OsConfiguration) SetEsxi(v EsxiOsConfiguration)
- func (o *OsConfiguration) SetInstallOsToRam(v bool)
- func (o *OsConfiguration) SetManagementAccessAllowedIps(v []string)
- func (o *OsConfiguration) SetManagementUiUrl(v string)
- func (o *OsConfiguration) SetNetrisController(v OsConfigurationNetrisController)
- func (o *OsConfiguration) SetNetrisSoftgate(v OsConfigurationNetrisSoftgate)
- func (o *OsConfiguration) SetRootPassword(v string)
- func (o *OsConfiguration) SetWindows(v OsConfigurationWindows)
- func (o OsConfiguration) ToMap() (map[string]interface{}, error)
- func (o *OsConfiguration) UnmarshalJSON(data []byte) (err error)
- type OsConfigurationCloudInit
- func (o *OsConfigurationCloudInit) GetUserData() string
- func (o *OsConfigurationCloudInit) GetUserDataOk() (*string, bool)
- func (o *OsConfigurationCloudInit) HasUserData() bool
- func (o OsConfigurationCloudInit) MarshalJSON() ([]byte, error)
- func (o *OsConfigurationCloudInit) SetUserData(v string)
- func (o OsConfigurationCloudInit) ToMap() (map[string]interface{}, error)
- func (o *OsConfigurationCloudInit) UnmarshalJSON(data []byte) (err error)
- type OsConfigurationMap
- func (o *OsConfigurationMap) GetEsxi() OsConfigurationMapEsxi
- func (o *OsConfigurationMap) GetEsxiOk() (*OsConfigurationMapEsxi, bool)
- func (o *OsConfigurationMap) GetProxmox() OsConfigurationMapProxmox
- func (o *OsConfigurationMap) GetProxmoxOk() (*OsConfigurationMapProxmox, bool)
- func (o *OsConfigurationMap) GetWindows() OsConfigurationWindows
- func (o *OsConfigurationMap) GetWindowsOk() (*OsConfigurationWindows, bool)
- func (o *OsConfigurationMap) HasEsxi() bool
- func (o *OsConfigurationMap) HasProxmox() bool
- func (o *OsConfigurationMap) HasWindows() bool
- func (o OsConfigurationMap) MarshalJSON() ([]byte, error)
- func (o *OsConfigurationMap) SetEsxi(v OsConfigurationMapEsxi)
- func (o *OsConfigurationMap) SetProxmox(v OsConfigurationMapProxmox)
- func (o *OsConfigurationMap) SetWindows(v OsConfigurationWindows)
- func (o OsConfigurationMap) ToMap() (map[string]interface{}, error)
- func (o *OsConfigurationMap) UnmarshalJSON(data []byte) (err error)
- type OsConfigurationMapEsxi
- func (o *OsConfigurationMapEsxi) GetManagementAccessAllowedIps() []string
- func (o *OsConfigurationMapEsxi) GetManagementAccessAllowedIpsOk() ([]string, bool)
- func (o *OsConfigurationMapEsxi) GetManagementUiUrl() string
- func (o *OsConfigurationMapEsxi) GetManagementUiUrlOk() (*string, bool)
- func (o *OsConfigurationMapEsxi) GetRootPassword() string
- func (o *OsConfigurationMapEsxi) GetRootPasswordOk() (*string, bool)
- func (o *OsConfigurationMapEsxi) HasManagementAccessAllowedIps() bool
- func (o *OsConfigurationMapEsxi) HasManagementUiUrl() bool
- func (o *OsConfigurationMapEsxi) HasRootPassword() bool
- func (o OsConfigurationMapEsxi) MarshalJSON() ([]byte, error)
- func (o *OsConfigurationMapEsxi) SetManagementAccessAllowedIps(v []string)
- func (o *OsConfigurationMapEsxi) SetManagementUiUrl(v string)
- func (o *OsConfigurationMapEsxi) SetRootPassword(v string)
- func (o OsConfigurationMapEsxi) ToMap() (map[string]interface{}, error)
- func (o *OsConfigurationMapEsxi) UnmarshalJSON(data []byte) (err error)
- type OsConfigurationMapProxmox
- func (o *OsConfigurationMapProxmox) GetManagementAccessAllowedIps() []string
- func (o *OsConfigurationMapProxmox) GetManagementAccessAllowedIpsOk() ([]string, bool)
- func (o *OsConfigurationMapProxmox) GetManagementUiUrl() string
- func (o *OsConfigurationMapProxmox) GetManagementUiUrlOk() (*string, bool)
- func (o *OsConfigurationMapProxmox) GetRootPassword() string
- func (o *OsConfigurationMapProxmox) GetRootPasswordOk() (*string, bool)
- func (o *OsConfigurationMapProxmox) HasManagementAccessAllowedIps() bool
- func (o *OsConfigurationMapProxmox) HasManagementUiUrl() bool
- func (o *OsConfigurationMapProxmox) HasRootPassword() bool
- func (o OsConfigurationMapProxmox) MarshalJSON() ([]byte, error)
- func (o *OsConfigurationMapProxmox) SetManagementAccessAllowedIps(v []string)
- func (o *OsConfigurationMapProxmox) SetManagementUiUrl(v string)
- func (o *OsConfigurationMapProxmox) SetRootPassword(v string)
- func (o OsConfigurationMapProxmox) ToMap() (map[string]interface{}, error)
- func (o *OsConfigurationMapProxmox) UnmarshalJSON(data []byte) (err error)
- type OsConfigurationNetrisController
- func (o *OsConfigurationNetrisController) GetHostOs() string
- func (o *OsConfigurationNetrisController) GetHostOsOk() (*string, bool)
- func (o *OsConfigurationNetrisController) GetNetrisUserPassword() string
- func (o *OsConfigurationNetrisController) GetNetrisUserPasswordOk() (*string, bool)
- func (o *OsConfigurationNetrisController) GetNetrisWebConsoleUrl() string
- func (o *OsConfigurationNetrisController) GetNetrisWebConsoleUrlOk() (*string, bool)
- func (o *OsConfigurationNetrisController) HasHostOs() bool
- func (o *OsConfigurationNetrisController) HasNetrisUserPassword() bool
- func (o *OsConfigurationNetrisController) HasNetrisWebConsoleUrl() bool
- func (o OsConfigurationNetrisController) MarshalJSON() ([]byte, error)
- func (o *OsConfigurationNetrisController) SetHostOs(v string)
- func (o *OsConfigurationNetrisController) SetNetrisUserPassword(v string)
- func (o *OsConfigurationNetrisController) SetNetrisWebConsoleUrl(v string)
- func (o OsConfigurationNetrisController) ToMap() (map[string]interface{}, error)
- func (o *OsConfigurationNetrisController) UnmarshalJSON(data []byte) (err error)
- type OsConfigurationNetrisSoftgate
- func (o *OsConfigurationNetrisSoftgate) GetControllerAddress() string
- func (o *OsConfigurationNetrisSoftgate) GetControllerAddressOk() (*string, bool)
- func (o *OsConfigurationNetrisSoftgate) GetControllerAuthKey() string
- func (o *OsConfigurationNetrisSoftgate) GetControllerAuthKeyOk() (*string, bool)
- func (o *OsConfigurationNetrisSoftgate) GetControllerVersion() string
- func (o *OsConfigurationNetrisSoftgate) GetControllerVersionOk() (*string, bool)
- func (o *OsConfigurationNetrisSoftgate) GetHostOs() string
- func (o *OsConfigurationNetrisSoftgate) GetHostOsOk() (*string, bool)
- func (o *OsConfigurationNetrisSoftgate) HasControllerAddress() bool
- func (o *OsConfigurationNetrisSoftgate) HasControllerAuthKey() bool
- func (o *OsConfigurationNetrisSoftgate) HasControllerVersion() bool
- func (o *OsConfigurationNetrisSoftgate) HasHostOs() bool
- func (o OsConfigurationNetrisSoftgate) MarshalJSON() ([]byte, error)
- func (o *OsConfigurationNetrisSoftgate) SetControllerAddress(v string)
- func (o *OsConfigurationNetrisSoftgate) SetControllerAuthKey(v string)
- func (o *OsConfigurationNetrisSoftgate) SetControllerVersion(v string)
- func (o *OsConfigurationNetrisSoftgate) SetHostOs(v string)
- func (o OsConfigurationNetrisSoftgate) ToMap() (map[string]interface{}, error)
- func (o *OsConfigurationNetrisSoftgate) UnmarshalJSON(data []byte) (err error)
- type OsConfigurationWindows
- func (o *OsConfigurationWindows) GetRdpAllowedIps() []string
- func (o *OsConfigurationWindows) GetRdpAllowedIpsOk() ([]string, bool)
- func (o *OsConfigurationWindows) HasRdpAllowedIps() bool
- func (o OsConfigurationWindows) MarshalJSON() ([]byte, error)
- func (o *OsConfigurationWindows) SetRdpAllowedIps(v []string)
- func (o OsConfigurationWindows) ToMap() (map[string]interface{}, error)
- func (o *OsConfigurationWindows) UnmarshalJSON(data []byte) (err error)
- type PrivateNetworkConfiguration
- func (o *PrivateNetworkConfiguration) GetConfigurationType() string
- func (o *PrivateNetworkConfiguration) GetConfigurationTypeOk() (*string, bool)
- func (o *PrivateNetworkConfiguration) GetGatewayAddress() string
- func (o *PrivateNetworkConfiguration) GetGatewayAddressOk() (*string, bool)
- func (o *PrivateNetworkConfiguration) GetPrivateNetworks() []ServerPrivateNetwork
- func (o *PrivateNetworkConfiguration) GetPrivateNetworksOk() ([]ServerPrivateNetwork, bool)
- func (o *PrivateNetworkConfiguration) HasConfigurationType() bool
- func (o *PrivateNetworkConfiguration) HasGatewayAddress() bool
- func (o *PrivateNetworkConfiguration) HasPrivateNetworks() bool
- func (o PrivateNetworkConfiguration) MarshalJSON() ([]byte, error)
- func (o *PrivateNetworkConfiguration) SetConfigurationType(v string)
- func (o *PrivateNetworkConfiguration) SetGatewayAddress(v string)
- func (o *PrivateNetworkConfiguration) SetPrivateNetworks(v []ServerPrivateNetwork)
- func (o PrivateNetworkConfiguration) ToMap() (map[string]interface{}, error)
- func (o *PrivateNetworkConfiguration) UnmarshalJSON(data []byte) (err error)
- type PublicNetworkConfiguration
- func (o *PublicNetworkConfiguration) GetPublicNetworks() []ServerPublicNetwork
- func (o *PublicNetworkConfiguration) GetPublicNetworksOk() ([]ServerPublicNetwork, bool)
- func (o *PublicNetworkConfiguration) HasPublicNetworks() bool
- func (o PublicNetworkConfiguration) MarshalJSON() ([]byte, error)
- func (o *PublicNetworkConfiguration) SetPublicNetworks(v []ServerPublicNetwork)
- func (o PublicNetworkConfiguration) ToMap() (map[string]interface{}, error)
- func (o *PublicNetworkConfiguration) UnmarshalJSON(data []byte) (err error)
- type Quota
- func (o *Quota) GetDescription() string
- func (o *Quota) GetDescriptionOk() (*string, bool)
- func (o *Quota) GetId() string
- func (o *Quota) GetIdOk() (*string, bool)
- func (o *Quota) GetLimit() int32
- func (o *Quota) GetLimitOk() (*int32, bool)
- func (o *Quota) GetName() string
- func (o *Quota) GetNameOk() (*string, bool)
- func (o *Quota) GetQuotaEditLimitRequestDetails() []QuotaEditLimitRequestDetails
- func (o *Quota) GetQuotaEditLimitRequestDetailsOk() ([]QuotaEditLimitRequestDetails, bool)
- func (o *Quota) GetStatus() string
- func (o *Quota) GetStatusOk() (*string, bool)
- func (o *Quota) GetUnit() string
- func (o *Quota) GetUnitOk() (*string, bool)
- func (o *Quota) GetUsed() int32
- func (o *Quota) GetUsedOk() (*int32, bool)
- func (o Quota) MarshalJSON() ([]byte, error)
- func (o *Quota) SetDescription(v string)
- func (o *Quota) SetId(v string)
- func (o *Quota) SetLimit(v int32)
- func (o *Quota) SetName(v string)
- func (o *Quota) SetQuotaEditLimitRequestDetails(v []QuotaEditLimitRequestDetails)
- func (o *Quota) SetStatus(v string)
- func (o *Quota) SetUnit(v string)
- func (o *Quota) SetUsed(v int32)
- func (o Quota) ToMap() (map[string]interface{}, error)
- func (o *Quota) UnmarshalJSON(data []byte) (err error)
- type QuotaEditLimitRequest
- func (o *QuotaEditLimitRequest) GetLimit() int32
- func (o *QuotaEditLimitRequest) GetLimitOk() (*int32, bool)
- func (o *QuotaEditLimitRequest) GetReason() string
- func (o *QuotaEditLimitRequest) GetReasonOk() (*string, bool)
- func (o QuotaEditLimitRequest) MarshalJSON() ([]byte, error)
- func (o *QuotaEditLimitRequest) SetLimit(v int32)
- func (o *QuotaEditLimitRequest) SetReason(v string)
- func (o QuotaEditLimitRequest) ToMap() (map[string]interface{}, error)
- func (o *QuotaEditLimitRequest) UnmarshalJSON(data []byte) (err error)
- type QuotaEditLimitRequestDetails
- func (o *QuotaEditLimitRequestDetails) GetLimit() int32
- func (o *QuotaEditLimitRequestDetails) GetLimitOk() (*int32, bool)
- func (o *QuotaEditLimitRequestDetails) GetReason() string
- func (o *QuotaEditLimitRequestDetails) GetReasonOk() (*string, bool)
- func (o *QuotaEditLimitRequestDetails) GetRequestedOn() time.Time
- func (o *QuotaEditLimitRequestDetails) GetRequestedOnOk() (*time.Time, bool)
- func (o QuotaEditLimitRequestDetails) MarshalJSON() ([]byte, error)
- func (o *QuotaEditLimitRequestDetails) SetLimit(v int32)
- func (o *QuotaEditLimitRequestDetails) SetReason(v string)
- func (o *QuotaEditLimitRequestDetails) SetRequestedOn(v time.Time)
- func (o QuotaEditLimitRequestDetails) ToMap() (map[string]interface{}, error)
- func (o *QuotaEditLimitRequestDetails) UnmarshalJSON(data []byte) (err error)
- type QuotasAPI
- type QuotasAPIService
- func (a *QuotasAPIService) QuotasGet(ctx context.Context) ApiQuotasGetRequest
- func (a *QuotasAPIService) QuotasGetExecute(r ApiQuotasGetRequest) ([]Quota, *http.Response, error)
- func (a *QuotasAPIService) QuotasQuotaIdActionsRequestEditPost(ctx context.Context, quotaId string) ApiQuotasQuotaIdActionsRequestEditPostRequest
- func (a *QuotasAPIService) QuotasQuotaIdActionsRequestEditPostExecute(r ApiQuotasQuotaIdActionsRequestEditPostRequest) (*http.Response, error)
- func (a *QuotasAPIService) QuotasQuotaIdGet(ctx context.Context, quotaId string) ApiQuotasQuotaIdGetRequest
- func (a *QuotasAPIService) QuotasQuotaIdGetExecute(r ApiQuotasQuotaIdGetRequest) (*Quota, *http.Response, error)
- type RelinquishIpBlock
- func (o *RelinquishIpBlock) GetDeleteIpBlocks() bool
- func (o *RelinquishIpBlock) GetDeleteIpBlocksOk() (*bool, bool)
- func (o *RelinquishIpBlock) HasDeleteIpBlocks() bool
- func (o RelinquishIpBlock) MarshalJSON() ([]byte, error)
- func (o *RelinquishIpBlock) SetDeleteIpBlocks(v bool)
- func (o RelinquishIpBlock) ToMap() (map[string]interface{}, error)
- func (o *RelinquishIpBlock) UnmarshalJSON(data []byte) (err error)
- type ResetResult
- func (o *ResetResult) GetOsConfiguration() OsConfigurationMap
- func (o *ResetResult) GetOsConfigurationOk() (*OsConfigurationMap, bool)
- func (o *ResetResult) GetPassword() string
- func (o *ResetResult) GetPasswordOk() (*string, bool)
- func (o *ResetResult) GetResult() string
- func (o *ResetResult) GetResultOk() (*string, bool)
- func (o *ResetResult) HasOsConfiguration() bool
- func (o *ResetResult) HasPassword() bool
- func (o ResetResult) MarshalJSON() ([]byte, error)
- func (o *ResetResult) SetOsConfiguration(v OsConfigurationMap)
- func (o *ResetResult) SetPassword(v string)
- func (o *ResetResult) SetResult(v string)
- func (o ResetResult) ToMap() (map[string]interface{}, error)
- func (o *ResetResult) UnmarshalJSON(data []byte) (err error)
- type SSHKeysAPI
- type SSHKeysAPIService
- func (a *SSHKeysAPIService) SshKeysGet(ctx context.Context) ApiSshKeysGetRequest
- func (a *SSHKeysAPIService) SshKeysGetExecute(r ApiSshKeysGetRequest) ([]SshKey, *http.Response, error)
- func (a *SSHKeysAPIService) SshKeysPost(ctx context.Context) ApiSshKeysPostRequest
- func (a *SSHKeysAPIService) SshKeysPostExecute(r ApiSshKeysPostRequest) (*SshKey, *http.Response, error)
- func (a *SSHKeysAPIService) SshKeysSshKeyIdDelete(ctx context.Context, sshKeyId string) ApiSshKeysSshKeyIdDeleteRequest
- func (a *SSHKeysAPIService) SshKeysSshKeyIdDeleteExecute(r ApiSshKeysSshKeyIdDeleteRequest) (*DeleteSshKeyResult, *http.Response, error)
- func (a *SSHKeysAPIService) SshKeysSshKeyIdGet(ctx context.Context, sshKeyId string) ApiSshKeysSshKeyIdGetRequest
- func (a *SSHKeysAPIService) SshKeysSshKeyIdGetExecute(r ApiSshKeysSshKeyIdGetRequest) (*SshKey, *http.Response, error)
- func (a *SSHKeysAPIService) SshKeysSshKeyIdPut(ctx context.Context, sshKeyId string) ApiSshKeysSshKeyIdPutRequest
- func (a *SSHKeysAPIService) SshKeysSshKeyIdPutExecute(r ApiSshKeysSshKeyIdPutRequest) (*SshKey, *http.Response, error)
- type Server
- func (o *Server) GetClusterId() string
- func (o *Server) GetClusterIdOk() (*string, bool)
- func (o *Server) GetCoresPerCpu() int32
- func (o *Server) GetCoresPerCpuOk() (*int32, bool)
- func (o *Server) GetCpu() string
- func (o *Server) GetCpuCount() int32
- func (o *Server) GetCpuCountOk() (*int32, bool)
- func (o *Server) GetCpuFrequency() float32
- func (o *Server) GetCpuFrequencyOk() (*float32, bool)
- func (o *Server) GetCpuOk() (*string, bool)
- func (o *Server) GetDescription() string
- func (o *Server) GetDescriptionOk() (*string, bool)
- func (o *Server) GetHostname() string
- func (o *Server) GetHostnameOk() (*string, bool)
- func (o *Server) GetId() string
- func (o *Server) GetIdOk() (*string, bool)
- func (o *Server) GetLocation() string
- func (o *Server) GetLocationOk() (*string, bool)
- func (o *Server) GetNetworkConfiguration() NetworkConfiguration
- func (o *Server) GetNetworkConfigurationOk() (*NetworkConfiguration, bool)
- func (o *Server) GetNetworkType() string
- func (o *Server) GetNetworkTypeOk() (*string, bool)
- func (o *Server) GetOs() string
- func (o *Server) GetOsConfiguration() OsConfiguration
- func (o *Server) GetOsConfigurationOk() (*OsConfiguration, bool)
- func (o *Server) GetOsOk() (*string, bool)
- func (o *Server) GetPassword() string
- func (o *Server) GetPasswordOk() (*string, bool)
- func (o *Server) GetPricingModel() string
- func (o *Server) GetPricingModelOk() (*string, bool)
- func (o *Server) GetPrivateIpAddresses() []string
- func (o *Server) GetPrivateIpAddressesOk() ([]string, bool)
- func (o *Server) GetProvisionedOn() time.Time
- func (o *Server) GetProvisionedOnOk() (*time.Time, bool)
- func (o *Server) GetPublicIpAddresses() []string
- func (o *Server) GetPublicIpAddressesOk() ([]string, bool)
- func (o *Server) GetRam() string
- func (o *Server) GetRamOk() (*string, bool)
- func (o *Server) GetReservationId() string
- func (o *Server) GetReservationIdOk() (*string, bool)
- func (o *Server) GetStatus() string
- func (o *Server) GetStatusOk() (*string, bool)
- func (o *Server) GetStorage() string
- func (o *Server) GetStorageConfiguration() StorageConfiguration
- func (o *Server) GetStorageConfigurationOk() (*StorageConfiguration, bool)
- func (o *Server) GetStorageOk() (*string, bool)
- func (o *Server) GetSupersededBy() string
- func (o *Server) GetSupersededByOk() (*string, bool)
- func (o *Server) GetSupersedes() string
- func (o *Server) GetSupersedesOk() (*string, bool)
- func (o *Server) GetTags() []TagAssignment
- func (o *Server) GetTagsOk() ([]TagAssignment, bool)
- func (o *Server) GetType() string
- func (o *Server) GetTypeOk() (*string, bool)
- func (o *Server) HasClusterId() bool
- func (o *Server) HasDescription() bool
- func (o *Server) HasNetworkType() bool
- func (o *Server) HasOs() bool
- func (o *Server) HasOsConfiguration() bool
- func (o *Server) HasPassword() bool
- func (o *Server) HasProvisionedOn() bool
- func (o *Server) HasPublicIpAddresses() bool
- func (o *Server) HasReservationId() bool
- func (o *Server) HasSupersededBy() bool
- func (o *Server) HasSupersedes() bool
- func (o *Server) HasTags() bool
- func (o Server) MarshalJSON() ([]byte, error)
- func (o *Server) SetClusterId(v string)
- func (o *Server) SetCoresPerCpu(v int32)
- func (o *Server) SetCpu(v string)
- func (o *Server) SetCpuCount(v int32)
- func (o *Server) SetCpuFrequency(v float32)
- func (o *Server) SetDescription(v string)
- func (o *Server) SetHostname(v string)
- func (o *Server) SetId(v string)
- func (o *Server) SetLocation(v string)
- func (o *Server) SetNetworkConfiguration(v NetworkConfiguration)
- func (o *Server) SetNetworkType(v string)
- func (o *Server) SetOs(v string)
- func (o *Server) SetOsConfiguration(v OsConfiguration)
- func (o *Server) SetPassword(v string)
- func (o *Server) SetPricingModel(v string)
- func (o *Server) SetPrivateIpAddresses(v []string)
- func (o *Server) SetProvisionedOn(v time.Time)
- func (o *Server) SetPublicIpAddresses(v []string)
- func (o *Server) SetRam(v string)
- func (o *Server) SetReservationId(v string)
- func (o *Server) SetStatus(v string)
- func (o *Server) SetStorage(v string)
- func (o *Server) SetStorageConfiguration(v StorageConfiguration)
- func (o *Server) SetSupersededBy(v string)
- func (o *Server) SetSupersedes(v string)
- func (o *Server) SetTags(v []TagAssignment)
- func (o *Server) SetType(v string)
- func (o Server) ToMap() (map[string]interface{}, error)
- func (o *Server) UnmarshalJSON(data []byte) (err error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerCreate
- func (o *ServerCreate) GetDescription() string
- func (o *ServerCreate) GetDescriptionOk() (*string, bool)
- func (o *ServerCreate) GetHostname() string
- func (o *ServerCreate) GetHostnameOk() (*string, bool)
- func (o *ServerCreate) GetInstallDefaultSshKeys() bool
- func (o *ServerCreate) GetInstallDefaultSshKeysOk() (*bool, bool)
- func (o *ServerCreate) GetLocation() string
- func (o *ServerCreate) GetLocationOk() (*string, bool)
- func (o *ServerCreate) GetNetworkConfiguration() NetworkConfiguration
- func (o *ServerCreate) GetNetworkConfigurationOk() (*NetworkConfiguration, bool)
- func (o *ServerCreate) GetNetworkType() string
- func (o *ServerCreate) GetNetworkTypeOk() (*string, bool)
- func (o *ServerCreate) GetOs() string
- func (o *ServerCreate) GetOsConfiguration() OsConfiguration
- func (o *ServerCreate) GetOsConfigurationOk() (*OsConfiguration, bool)
- func (o *ServerCreate) GetOsOk() (*string, bool)
- func (o *ServerCreate) GetPricingModel() string
- func (o *ServerCreate) GetPricingModelOk() (*string, bool)
- func (o *ServerCreate) GetReservationId() string
- func (o *ServerCreate) GetReservationIdOk() (*string, bool)
- func (o *ServerCreate) GetSshKeyIds() []string
- func (o *ServerCreate) GetSshKeyIdsOk() ([]string, bool)
- func (o *ServerCreate) GetSshKeys() []string
- func (o *ServerCreate) GetSshKeysOk() ([]string, bool)
- func (o *ServerCreate) GetStorageConfiguration() StorageConfiguration
- func (o *ServerCreate) GetStorageConfigurationOk() (*StorageConfiguration, bool)
- func (o *ServerCreate) GetTags() []TagAssignmentRequest
- func (o *ServerCreate) GetTagsOk() ([]TagAssignmentRequest, bool)
- func (o *ServerCreate) GetType() string
- func (o *ServerCreate) GetTypeOk() (*string, bool)
- func (o *ServerCreate) HasDescription() bool
- func (o *ServerCreate) HasInstallDefaultSshKeys() bool
- func (o *ServerCreate) HasNetworkConfiguration() bool
- func (o *ServerCreate) HasNetworkType() bool
- func (o *ServerCreate) HasOsConfiguration() bool
- func (o *ServerCreate) HasPricingModel() bool
- func (o *ServerCreate) HasReservationId() bool
- func (o *ServerCreate) HasSshKeyIds() bool
- func (o *ServerCreate) HasSshKeys() bool
- func (o *ServerCreate) HasStorageConfiguration() bool
- func (o *ServerCreate) HasTags() bool
- func (o ServerCreate) MarshalJSON() ([]byte, error)
- func (o *ServerCreate) SetDescription(v string)
- func (o *ServerCreate) SetHostname(v string)
- func (o *ServerCreate) SetInstallDefaultSshKeys(v bool)
- func (o *ServerCreate) SetLocation(v string)
- func (o *ServerCreate) SetNetworkConfiguration(v NetworkConfiguration)
- func (o *ServerCreate) SetNetworkType(v string)
- func (o *ServerCreate) SetOs(v string)
- func (o *ServerCreate) SetOsConfiguration(v OsConfiguration)
- func (o *ServerCreate) SetPricingModel(v string)
- func (o *ServerCreate) SetReservationId(v string)
- func (o *ServerCreate) SetSshKeyIds(v []string)
- func (o *ServerCreate) SetSshKeys(v []string)
- func (o *ServerCreate) SetStorageConfiguration(v StorageConfiguration)
- func (o *ServerCreate) SetTags(v []TagAssignmentRequest)
- func (o *ServerCreate) SetType(v string)
- func (o ServerCreate) ToMap() (map[string]interface{}, error)
- func (o *ServerCreate) UnmarshalJSON(data []byte) (err error)
- type ServerIpBlock
- func (o *ServerIpBlock) GetId() string
- func (o *ServerIpBlock) GetIdOk() (*string, bool)
- func (o *ServerIpBlock) GetVlanId() int32
- func (o *ServerIpBlock) GetVlanIdOk() (*int32, bool)
- func (o *ServerIpBlock) HasVlanId() bool
- func (o ServerIpBlock) MarshalJSON() ([]byte, error)
- func (o *ServerIpBlock) SetId(v string)
- func (o *ServerIpBlock) SetVlanId(v int32)
- func (o ServerIpBlock) ToMap() (map[string]interface{}, error)
- func (o *ServerIpBlock) UnmarshalJSON(data []byte) (err error)
- type ServerNetworkUpdate
- func (o *ServerNetworkUpdate) GetIps() []string
- func (o *ServerNetworkUpdate) GetIpsOk() ([]string, bool)
- func (o *ServerNetworkUpdate) HasIps() bool
- func (o ServerNetworkUpdate) MarshalJSON() ([]byte, error)
- func (o *ServerNetworkUpdate) SetIps(v []string)
- func (o ServerNetworkUpdate) ToMap() (map[string]interface{}, error)
- func (o *ServerNetworkUpdate) UnmarshalJSON(data []byte) (err error)
- type ServerPatch
- func (o *ServerPatch) GetDescription() string
- func (o *ServerPatch) GetDescriptionOk() (*string, bool)
- func (o *ServerPatch) GetHostname() string
- func (o *ServerPatch) GetHostnameOk() (*string, bool)
- func (o *ServerPatch) HasDescription() bool
- func (o *ServerPatch) HasHostname() bool
- func (o ServerPatch) MarshalJSON() ([]byte, error)
- func (o *ServerPatch) SetDescription(v string)
- func (o *ServerPatch) SetHostname(v string)
- func (o ServerPatch) ToMap() (map[string]interface{}, error)
- func (o *ServerPatch) UnmarshalJSON(data []byte) (err error)
- type ServerPrivateNetwork
- func (o *ServerPrivateNetwork) GetDhcp() bool
- func (o *ServerPrivateNetwork) GetDhcpOk() (*bool, bool)
- func (o *ServerPrivateNetwork) GetId() string
- func (o *ServerPrivateNetwork) GetIdOk() (*string, bool)
- func (o *ServerPrivateNetwork) GetIps() []string
- func (o *ServerPrivateNetwork) GetIpsOk() ([]string, bool)
- func (o *ServerPrivateNetwork) GetStatusDescription() string
- func (o *ServerPrivateNetwork) GetStatusDescriptionOk() (*string, bool)
- func (o *ServerPrivateNetwork) HasDhcp() bool
- func (o *ServerPrivateNetwork) HasIps() bool
- func (o *ServerPrivateNetwork) HasStatusDescription() bool
- func (o ServerPrivateNetwork) MarshalJSON() ([]byte, error)
- func (o *ServerPrivateNetwork) SetDhcp(v bool)
- func (o *ServerPrivateNetwork) SetId(v string)
- func (o *ServerPrivateNetwork) SetIps(v []string)
- func (o *ServerPrivateNetwork) SetStatusDescription(v string)
- func (o ServerPrivateNetwork) ToMap() (map[string]interface{}, error)
- func (o *ServerPrivateNetwork) UnmarshalJSON(data []byte) (err error)
- type ServerProvision
- func (o *ServerProvision) GetDescription() string
- func (o *ServerProvision) GetDescriptionOk() (*string, bool)
- func (o *ServerProvision) GetHostname() string
- func (o *ServerProvision) GetHostnameOk() (*string, bool)
- func (o *ServerProvision) GetInstallDefaultSshKeys() bool
- func (o *ServerProvision) GetInstallDefaultSshKeysOk() (*bool, bool)
- func (o *ServerProvision) GetNetworkConfiguration() NetworkConfiguration
- func (o *ServerProvision) GetNetworkConfigurationOk() (*NetworkConfiguration, bool)
- func (o *ServerProvision) GetNetworkType() string
- func (o *ServerProvision) GetNetworkTypeOk() (*string, bool)
- func (o *ServerProvision) GetOs() string
- func (o *ServerProvision) GetOsConfiguration() OsConfiguration
- func (o *ServerProvision) GetOsConfigurationOk() (*OsConfiguration, bool)
- func (o *ServerProvision) GetOsOk() (*string, bool)
- func (o *ServerProvision) GetSshKeyIds() []string
- func (o *ServerProvision) GetSshKeyIdsOk() ([]string, bool)
- func (o *ServerProvision) GetSshKeys() []string
- func (o *ServerProvision) GetSshKeysOk() ([]string, bool)
- func (o *ServerProvision) GetStorageConfiguration() StorageConfiguration
- func (o *ServerProvision) GetStorageConfigurationOk() (*StorageConfiguration, bool)
- func (o *ServerProvision) GetTags() []TagAssignmentRequest
- func (o *ServerProvision) GetTagsOk() ([]TagAssignmentRequest, bool)
- func (o *ServerProvision) HasDescription() bool
- func (o *ServerProvision) HasInstallDefaultSshKeys() bool
- func (o *ServerProvision) HasNetworkConfiguration() bool
- func (o *ServerProvision) HasNetworkType() bool
- func (o *ServerProvision) HasOsConfiguration() bool
- func (o *ServerProvision) HasSshKeyIds() bool
- func (o *ServerProvision) HasSshKeys() bool
- func (o *ServerProvision) HasStorageConfiguration() bool
- func (o *ServerProvision) HasTags() bool
- func (o ServerProvision) MarshalJSON() ([]byte, error)
- func (o *ServerProvision) SetDescription(v string)
- func (o *ServerProvision) SetHostname(v string)
- func (o *ServerProvision) SetInstallDefaultSshKeys(v bool)
- func (o *ServerProvision) SetNetworkConfiguration(v NetworkConfiguration)
- func (o *ServerProvision) SetNetworkType(v string)
- func (o *ServerProvision) SetOs(v string)
- func (o *ServerProvision) SetOsConfiguration(v OsConfiguration)
- func (o *ServerProvision) SetSshKeyIds(v []string)
- func (o *ServerProvision) SetSshKeys(v []string)
- func (o *ServerProvision) SetStorageConfiguration(v StorageConfiguration)
- func (o *ServerProvision) SetTags(v []TagAssignmentRequest)
- func (o ServerProvision) ToMap() (map[string]interface{}, error)
- func (o *ServerProvision) UnmarshalJSON(data []byte) (err error)
- type ServerPublicNetwork
- func (o *ServerPublicNetwork) GetId() string
- func (o *ServerPublicNetwork) GetIdOk() (*string, bool)
- func (o *ServerPublicNetwork) GetIps() []string
- func (o *ServerPublicNetwork) GetIpsOk() ([]string, bool)
- func (o *ServerPublicNetwork) GetStatusDescription() string
- func (o *ServerPublicNetwork) GetStatusDescriptionOk() (*string, bool)
- func (o *ServerPublicNetwork) HasIps() bool
- func (o *ServerPublicNetwork) HasStatusDescription() bool
- func (o ServerPublicNetwork) MarshalJSON() ([]byte, error)
- func (o *ServerPublicNetwork) SetId(v string)
- func (o *ServerPublicNetwork) SetIps(v []string)
- func (o *ServerPublicNetwork) SetStatusDescription(v string)
- func (o ServerPublicNetwork) ToMap() (map[string]interface{}, error)
- func (o *ServerPublicNetwork) UnmarshalJSON(data []byte) (err error)
- type ServerReserve
- func (o *ServerReserve) GetPricingModel() string
- func (o *ServerReserve) GetPricingModelOk() (*string, bool)
- func (o ServerReserve) MarshalJSON() ([]byte, error)
- func (o *ServerReserve) SetPricingModel(v string)
- func (o ServerReserve) ToMap() (map[string]interface{}, error)
- func (o *ServerReserve) UnmarshalJSON(data []byte) (err error)
- type ServerReset
- func (o *ServerReset) GetInstallDefaultSshKeys() bool
- func (o *ServerReset) GetInstallDefaultSshKeysOk() (*bool, bool)
- func (o *ServerReset) GetOsConfiguration() OsConfigurationMap
- func (o *ServerReset) GetOsConfigurationOk() (*OsConfigurationMap, bool)
- func (o *ServerReset) GetSshKeyIds() []string
- func (o *ServerReset) GetSshKeyIdsOk() ([]string, bool)
- func (o *ServerReset) GetSshKeys() []string
- func (o *ServerReset) GetSshKeysOk() ([]string, bool)
- func (o *ServerReset) HasInstallDefaultSshKeys() bool
- func (o *ServerReset) HasOsConfiguration() bool
- func (o *ServerReset) HasSshKeyIds() bool
- func (o *ServerReset) HasSshKeys() bool
- func (o ServerReset) MarshalJSON() ([]byte, error)
- func (o *ServerReset) SetInstallDefaultSshKeys(v bool)
- func (o *ServerReset) SetOsConfiguration(v OsConfigurationMap)
- func (o *ServerReset) SetSshKeyIds(v []string)
- func (o *ServerReset) SetSshKeys(v []string)
- func (o ServerReset) ToMap() (map[string]interface{}, error)
- func (o *ServerReset) UnmarshalJSON(data []byte) (err error)
- type ServerVariable
- type ServersAPI
- type ServersAPIService
- func (a *ServersAPIService) DeletePrivateNetwork(ctx context.Context, serverId string, privateNetworkId string) ApiDeletePrivateNetworkRequest
- func (a *ServersAPIService) DeletePrivateNetworkExecute(r ApiDeletePrivateNetworkRequest) (string, *http.Response, error)
- func (a *ServersAPIService) ServersGet(ctx context.Context) ApiServersGetRequest
- func (a *ServersAPIService) ServersGetExecute(r ApiServersGetRequest) ([]Server, *http.Response, error)
- func (a *ServersAPIService) ServersPost(ctx context.Context) ApiServersPostRequest
- func (a *ServersAPIService) ServersPostExecute(r ApiServersPostRequest) (*Server, *http.Response, error)
- func (a *ServersAPIService) ServersServerIdActionsDeprovisionPost(ctx context.Context, serverId string) ApiServersServerIdActionsDeprovisionPostRequest
- func (a *ServersAPIService) ServersServerIdActionsDeprovisionPostExecute(r ApiServersServerIdActionsDeprovisionPostRequest) (string, *http.Response, error)
- func (a *ServersAPIService) ServersServerIdActionsPowerOffPost(ctx context.Context, serverId string) ApiServersServerIdActionsPowerOffPostRequest
- func (a *ServersAPIService) ServersServerIdActionsPowerOffPostExecute(r ApiServersServerIdActionsPowerOffPostRequest) (*ActionResult, *http.Response, error)
- func (a *ServersAPIService) ServersServerIdActionsPowerOnPost(ctx context.Context, serverId string) ApiServersServerIdActionsPowerOnPostRequest
- func (a *ServersAPIService) ServersServerIdActionsPowerOnPostExecute(r ApiServersServerIdActionsPowerOnPostRequest) (*ActionResult, *http.Response, error)
- func (a *ServersAPIService) ServersServerIdActionsProvisionPost(ctx context.Context, serverId string) ApiServersServerIdActionsProvisionPostRequest
- func (a *ServersAPIService) ServersServerIdActionsProvisionPostExecute(r ApiServersServerIdActionsProvisionPostRequest) (*Server, *http.Response, error)
- func (a *ServersAPIService) ServersServerIdActionsRebootPost(ctx context.Context, serverId string) ApiServersServerIdActionsRebootPostRequest
- func (a *ServersAPIService) ServersServerIdActionsRebootPostExecute(r ApiServersServerIdActionsRebootPostRequest) (*ActionResult, *http.Response, error)
- func (a *ServersAPIService) ServersServerIdActionsReservePost(ctx context.Context, serverId string) ApiServersServerIdActionsReservePostRequest
- func (a *ServersAPIService) ServersServerIdActionsReservePostExecute(r ApiServersServerIdActionsReservePostRequest) (*Server, *http.Response, error)
- func (a *ServersAPIService) ServersServerIdActionsResetPost(ctx context.Context, serverId string) ApiServersServerIdActionsResetPostRequestdeprecated
- func (a *ServersAPIService) ServersServerIdActionsResetPostExecute(r ApiServersServerIdActionsResetPostRequest) (*ResetResult, *http.Response, error)
- func (a *ServersAPIService) ServersServerIdActionsShutdownPost(ctx context.Context, serverId string) ApiServersServerIdActionsShutdownPostRequest
- func (a *ServersAPIService) ServersServerIdActionsShutdownPostExecute(r ApiServersServerIdActionsShutdownPostRequest) (*ActionResult, *http.Response, error)
- func (a *ServersAPIService) ServersServerIdDelete(ctx context.Context, serverId string) ApiServersServerIdDeleteRequest
- func (a *ServersAPIService) ServersServerIdDeleteExecute(r ApiServersServerIdDeleteRequest) (*DeleteResult, *http.Response, error)
- func (a *ServersAPIService) ServersServerIdGet(ctx context.Context, serverId string) ApiServersServerIdGetRequest
- func (a *ServersAPIService) ServersServerIdGetExecute(r ApiServersServerIdGetRequest) (*Server, *http.Response, error)
- func (a *ServersAPIService) ServersServerIdIpBlocksIpBlockIdDelete(ctx context.Context, serverId string, ipBlockId string) ApiServersServerIdIpBlocksIpBlockIdDeleteRequest
- func (a *ServersAPIService) ServersServerIdIpBlocksIpBlockIdDeleteExecute(r ApiServersServerIdIpBlocksIpBlockIdDeleteRequest) (string, *http.Response, error)
- func (a *ServersAPIService) ServersServerIdIpBlocksPost(ctx context.Context, serverId string) ApiServersServerIdIpBlocksPostRequest
- func (a *ServersAPIService) ServersServerIdIpBlocksPostExecute(r ApiServersServerIdIpBlocksPostRequest) (*ServerIpBlock, *http.Response, error)
- func (a *ServersAPIService) ServersServerIdPatch(ctx context.Context, serverId string) ApiServersServerIdPatchRequest
- func (a *ServersAPIService) ServersServerIdPatchExecute(r ApiServersServerIdPatchRequest) (*Server, *http.Response, error)
- func (a *ServersAPIService) ServersServerIdPrivateNetworksPatch(ctx context.Context, serverId string, privateNetworkId string) ApiServersServerIdPrivateNetworksPatchRequest
- func (a *ServersAPIService) ServersServerIdPrivateNetworksPatchExecute(r ApiServersServerIdPrivateNetworksPatchRequest) (*ServerPrivateNetwork, *http.Response, error)
- func (a *ServersAPIService) ServersServerIdPrivateNetworksPost(ctx context.Context, serverId string) ApiServersServerIdPrivateNetworksPostRequest
- func (a *ServersAPIService) ServersServerIdPrivateNetworksPostExecute(r ApiServersServerIdPrivateNetworksPostRequest) (*ServerPrivateNetwork, *http.Response, error)
- func (a *ServersAPIService) ServersServerIdPublicNetworksDelete(ctx context.Context, serverId string, publicNetworkId string) ApiServersServerIdPublicNetworksDeleteRequest
- func (a *ServersAPIService) ServersServerIdPublicNetworksDeleteExecute(r ApiServersServerIdPublicNetworksDeleteRequest) (string, *http.Response, error)
- func (a *ServersAPIService) ServersServerIdPublicNetworksPatch(ctx context.Context, serverId string, publicNetworkId string) ApiServersServerIdPublicNetworksPatchRequest
- func (a *ServersAPIService) ServersServerIdPublicNetworksPatchExecute(r ApiServersServerIdPublicNetworksPatchRequest) (*ServerPublicNetwork, *http.Response, error)
- func (a *ServersAPIService) ServersServerIdPublicNetworksPost(ctx context.Context, serverId string) ApiServersServerIdPublicNetworksPostRequest
- func (a *ServersAPIService) ServersServerIdPublicNetworksPostExecute(r ApiServersServerIdPublicNetworksPostRequest) (*ServerPublicNetwork, *http.Response, error)
- func (a *ServersAPIService) ServersServerIdTagsPut(ctx context.Context, serverId string) ApiServersServerIdTagsPutRequest
- func (a *ServersAPIService) ServersServerIdTagsPutExecute(r ApiServersServerIdTagsPutRequest) (*Server, *http.Response, error)
- type SshKey
- func (o *SshKey) GetCreatedOn() time.Time
- func (o *SshKey) GetCreatedOnOk() (*time.Time, bool)
- func (o *SshKey) GetDefault() bool
- func (o *SshKey) GetDefaultOk() (*bool, bool)
- func (o *SshKey) GetFingerprint() string
- func (o *SshKey) GetFingerprintOk() (*string, bool)
- func (o *SshKey) GetId() string
- func (o *SshKey) GetIdOk() (*string, bool)
- func (o *SshKey) GetKey() string
- func (o *SshKey) GetKeyOk() (*string, bool)
- func (o *SshKey) GetLastUpdatedOn() time.Time
- func (o *SshKey) GetLastUpdatedOnOk() (*time.Time, bool)
- func (o *SshKey) GetName() string
- func (o *SshKey) GetNameOk() (*string, bool)
- func (o SshKey) MarshalJSON() ([]byte, error)
- func (o *SshKey) SetCreatedOn(v time.Time)
- func (o *SshKey) SetDefault(v bool)
- func (o *SshKey) SetFingerprint(v string)
- func (o *SshKey) SetId(v string)
- func (o *SshKey) SetKey(v string)
- func (o *SshKey) SetLastUpdatedOn(v time.Time)
- func (o *SshKey) SetName(v string)
- func (o SshKey) ToMap() (map[string]interface{}, error)
- func (o *SshKey) UnmarshalJSON(data []byte) (err error)
- type SshKeyCreate
- func (o *SshKeyCreate) GetDefault() bool
- func (o *SshKeyCreate) GetDefaultOk() (*bool, bool)
- func (o *SshKeyCreate) GetKey() string
- func (o *SshKeyCreate) GetKeyOk() (*string, bool)
- func (o *SshKeyCreate) GetName() string
- func (o *SshKeyCreate) GetNameOk() (*string, bool)
- func (o SshKeyCreate) MarshalJSON() ([]byte, error)
- func (o *SshKeyCreate) SetDefault(v bool)
- func (o *SshKeyCreate) SetKey(v string)
- func (o *SshKeyCreate) SetName(v string)
- func (o SshKeyCreate) ToMap() (map[string]interface{}, error)
- func (o *SshKeyCreate) UnmarshalJSON(data []byte) (err error)
- type SshKeyUpdate
- func (o *SshKeyUpdate) GetDefault() bool
- func (o *SshKeyUpdate) GetDefaultOk() (*bool, bool)
- func (o *SshKeyUpdate) GetName() string
- func (o *SshKeyUpdate) GetNameOk() (*string, bool)
- func (o SshKeyUpdate) MarshalJSON() ([]byte, error)
- func (o *SshKeyUpdate) SetDefault(v bool)
- func (o *SshKeyUpdate) SetName(v string)
- func (o SshKeyUpdate) ToMap() (map[string]interface{}, error)
- func (o *SshKeyUpdate) UnmarshalJSON(data []byte) (err error)
- type StorageConfiguration
- func (o *StorageConfiguration) GetRootPartition() StorageConfigurationRootPartition
- func (o *StorageConfiguration) GetRootPartitionOk() (*StorageConfigurationRootPartition, bool)
- func (o *StorageConfiguration) HasRootPartition() bool
- func (o StorageConfiguration) MarshalJSON() ([]byte, error)
- func (o *StorageConfiguration) SetRootPartition(v StorageConfigurationRootPartition)
- func (o StorageConfiguration) ToMap() (map[string]interface{}, error)
- func (o *StorageConfiguration) UnmarshalJSON(data []byte) (err error)
- type StorageConfigurationRootPartition
- func (o *StorageConfigurationRootPartition) GetRaid() string
- func (o *StorageConfigurationRootPartition) GetRaidOk() (*string, bool)
- func (o *StorageConfigurationRootPartition) GetSize() int32
- func (o *StorageConfigurationRootPartition) GetSizeOk() (*int32, bool)
- func (o *StorageConfigurationRootPartition) HasRaid() bool
- func (o *StorageConfigurationRootPartition) HasSize() bool
- func (o StorageConfigurationRootPartition) MarshalJSON() ([]byte, error)
- func (o *StorageConfigurationRootPartition) SetRaid(v string)
- func (o *StorageConfigurationRootPartition) SetSize(v int32)
- func (o StorageConfigurationRootPartition) ToMap() (map[string]interface{}, error)
- func (o *StorageConfigurationRootPartition) UnmarshalJSON(data []byte) (err error)
- type TagAssignment
- func (o *TagAssignment) GetCreatedBy() string
- func (o *TagAssignment) GetCreatedByOk() (*string, bool)
- func (o *TagAssignment) GetId() string
- func (o *TagAssignment) GetIdOk() (*string, bool)
- func (o *TagAssignment) GetIsBillingTag() bool
- func (o *TagAssignment) GetIsBillingTagOk() (*bool, bool)
- func (o *TagAssignment) GetName() string
- func (o *TagAssignment) GetNameOk() (*string, bool)
- func (o *TagAssignment) GetValue() string
- func (o *TagAssignment) GetValueOk() (*string, bool)
- func (o *TagAssignment) HasCreatedBy() bool
- func (o *TagAssignment) HasValue() bool
- func (o TagAssignment) MarshalJSON() ([]byte, error)
- func (o *TagAssignment) SetCreatedBy(v string)
- func (o *TagAssignment) SetId(v string)
- func (o *TagAssignment) SetIsBillingTag(v bool)
- func (o *TagAssignment) SetName(v string)
- func (o *TagAssignment) SetValue(v string)
- func (o TagAssignment) ToMap() (map[string]interface{}, error)
- func (o *TagAssignment) UnmarshalJSON(data []byte) (err error)
- type TagAssignmentRequest
- func (o *TagAssignmentRequest) GetName() string
- func (o *TagAssignmentRequest) GetNameOk() (*string, bool)
- func (o *TagAssignmentRequest) GetValue() string
- func (o *TagAssignmentRequest) GetValueOk() (*string, bool)
- func (o *TagAssignmentRequest) HasValue() bool
- func (o TagAssignmentRequest) MarshalJSON() ([]byte, error)
- func (o *TagAssignmentRequest) SetName(v string)
- func (o *TagAssignmentRequest) SetValue(v string)
- func (o TagAssignmentRequest) ToMap() (map[string]interface{}, error)
- func (o *TagAssignmentRequest) UnmarshalJSON(data []byte) (err error)
Constants ¶
const SdkVersion = "3.1.0"
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { QuotasAPI QuotasAPI SSHKeysAPI SSHKeysAPI ServersAPI ServersAPI // contains filtered or unexported fields }
APIClient manages communication with the Bare Metal Cloud API API v0.1 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ActionResult ¶
type ActionResult struct { // Message describing the action's result. Result string `json:"result"` AdditionalProperties map[string]interface{} }
ActionResult Result of a successful action.
func NewActionResult ¶
func NewActionResult(result string) *ActionResult
NewActionResult instantiates a new ActionResult object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewActionResultWithDefaults ¶
func NewActionResultWithDefaults() *ActionResult
NewActionResultWithDefaults instantiates a new ActionResult object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ActionResult) GetResult ¶
func (o *ActionResult) GetResult() string
GetResult returns the Result field value
func (*ActionResult) GetResultOk ¶
func (o *ActionResult) GetResultOk() (*string, bool)
GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.
func (ActionResult) MarshalJSON ¶
func (o ActionResult) MarshalJSON() ([]byte, error)
func (*ActionResult) SetResult ¶
func (o *ActionResult) SetResult(v string)
SetResult sets field value
func (ActionResult) ToMap ¶
func (o ActionResult) ToMap() (map[string]interface{}, error)
func (*ActionResult) UnmarshalJSON ¶
func (o *ActionResult) UnmarshalJSON(data []byte) (err error)
type ApiDeletePrivateNetworkRequest ¶
type ApiDeletePrivateNetworkRequest struct { ApiService ServersAPI // contains filtered or unexported fields }
type ApiQuotasGetRequest ¶
type ApiQuotasGetRequest struct { ApiService QuotasAPI // contains filtered or unexported fields }
type ApiQuotasQuotaIdActionsRequestEditPostRequest ¶
type ApiQuotasQuotaIdActionsRequestEditPostRequest struct { ApiService QuotasAPI // contains filtered or unexported fields }
func (ApiQuotasQuotaIdActionsRequestEditPostRequest) Execute ¶
func (r ApiQuotasQuotaIdActionsRequestEditPostRequest) Execute() (*http.Response, error)
func (ApiQuotasQuotaIdActionsRequestEditPostRequest) QuotaEditLimitRequest ¶
func (r ApiQuotasQuotaIdActionsRequestEditPostRequest) QuotaEditLimitRequest(quotaEditLimitRequest QuotaEditLimitRequest) ApiQuotasQuotaIdActionsRequestEditPostRequest
type ApiQuotasQuotaIdGetRequest ¶
type ApiQuotasQuotaIdGetRequest struct { ApiService QuotasAPI // contains filtered or unexported fields }
type ApiServersGetRequest ¶
type ApiServersGetRequest struct { ApiService ServersAPI // contains filtered or unexported fields }
func (ApiServersGetRequest) Execute ¶
func (r ApiServersGetRequest) Execute() ([]Server, *http.Response, error)
func (ApiServersGetRequest) Tag ¶
func (r ApiServersGetRequest) Tag(tag []string) ApiServersGetRequest
A list of query parameters related to tags in the form of tagName.tagValue
type ApiServersPostRequest ¶
type ApiServersPostRequest struct { ApiService ServersAPI // contains filtered or unexported fields }
func (ApiServersPostRequest) Execute ¶
func (r ApiServersPostRequest) Execute() (*Server, *http.Response, error)
func (ApiServersPostRequest) Force ¶
func (r ApiServersPostRequest) Force(force bool) ApiServersPostRequest
Query parameter controlling advanced features availability. Currently applicable for networking. It is advised to use with caution since it might lead to unhealthy setups.
func (ApiServersPostRequest) ServerCreate ¶
func (r ApiServersPostRequest) ServerCreate(serverCreate ServerCreate) ApiServersPostRequest
type ApiServersServerIdActionsDeprovisionPostRequest ¶
type ApiServersServerIdActionsDeprovisionPostRequest struct { ApiService ServersAPI // contains filtered or unexported fields }
func (ApiServersServerIdActionsDeprovisionPostRequest) Execute ¶
func (r ApiServersServerIdActionsDeprovisionPostRequest) Execute() (string, *http.Response, error)
func (ApiServersServerIdActionsDeprovisionPostRequest) RelinquishIpBlock ¶
func (r ApiServersServerIdActionsDeprovisionPostRequest) RelinquishIpBlock(relinquishIpBlock RelinquishIpBlock) ApiServersServerIdActionsDeprovisionPostRequest
type ApiServersServerIdActionsPowerOffPostRequest ¶
type ApiServersServerIdActionsPowerOffPostRequest struct { ApiService ServersAPI // contains filtered or unexported fields }
func (ApiServersServerIdActionsPowerOffPostRequest) Execute ¶
func (r ApiServersServerIdActionsPowerOffPostRequest) Execute() (*ActionResult, *http.Response, error)
type ApiServersServerIdActionsPowerOnPostRequest ¶
type ApiServersServerIdActionsPowerOnPostRequest struct { ApiService ServersAPI // contains filtered or unexported fields }
func (ApiServersServerIdActionsPowerOnPostRequest) Execute ¶
func (r ApiServersServerIdActionsPowerOnPostRequest) Execute() (*ActionResult, *http.Response, error)
type ApiServersServerIdActionsProvisionPostRequest ¶
type ApiServersServerIdActionsProvisionPostRequest struct { ApiService ServersAPI // contains filtered or unexported fields }
func (ApiServersServerIdActionsProvisionPostRequest) Execute ¶
func (r ApiServersServerIdActionsProvisionPostRequest) Execute() (*Server, *http.Response, error)
func (ApiServersServerIdActionsProvisionPostRequest) Force ¶
func (r ApiServersServerIdActionsProvisionPostRequest) Force(force bool) ApiServersServerIdActionsProvisionPostRequest
Query parameter controlling advanced features availability. Currently applicable for networking. It is advised to use with caution since it might lead to unhealthy setups.
func (ApiServersServerIdActionsProvisionPostRequest) ServerProvision ¶
func (r ApiServersServerIdActionsProvisionPostRequest) ServerProvision(serverProvision ServerProvision) ApiServersServerIdActionsProvisionPostRequest
type ApiServersServerIdActionsRebootPostRequest ¶
type ApiServersServerIdActionsRebootPostRequest struct { ApiService ServersAPI // contains filtered or unexported fields }
func (ApiServersServerIdActionsRebootPostRequest) Execute ¶
func (r ApiServersServerIdActionsRebootPostRequest) Execute() (*ActionResult, *http.Response, error)
type ApiServersServerIdActionsReservePostRequest ¶
type ApiServersServerIdActionsReservePostRequest struct { ApiService ServersAPI // contains filtered or unexported fields }
func (ApiServersServerIdActionsReservePostRequest) Execute ¶
func (r ApiServersServerIdActionsReservePostRequest) Execute() (*Server, *http.Response, error)
func (ApiServersServerIdActionsReservePostRequest) ServerReserve ¶
func (r ApiServersServerIdActionsReservePostRequest) ServerReserve(serverReserve ServerReserve) ApiServersServerIdActionsReservePostRequest
type ApiServersServerIdActionsResetPostRequest ¶
type ApiServersServerIdActionsResetPostRequest struct { ApiService ServersAPI // contains filtered or unexported fields }
func (ApiServersServerIdActionsResetPostRequest) Execute ¶
func (r ApiServersServerIdActionsResetPostRequest) Execute() (*ResetResult, *http.Response, error)
func (ApiServersServerIdActionsResetPostRequest) ServerReset ¶
func (r ApiServersServerIdActionsResetPostRequest) ServerReset(serverReset ServerReset) ApiServersServerIdActionsResetPostRequest
type ApiServersServerIdActionsShutdownPostRequest ¶
type ApiServersServerIdActionsShutdownPostRequest struct { ApiService ServersAPI // contains filtered or unexported fields }
func (ApiServersServerIdActionsShutdownPostRequest) Execute ¶
func (r ApiServersServerIdActionsShutdownPostRequest) Execute() (*ActionResult, *http.Response, error)
type ApiServersServerIdDeleteRequest ¶
type ApiServersServerIdDeleteRequest struct { ApiService ServersAPI // contains filtered or unexported fields }
func (ApiServersServerIdDeleteRequest) Execute ¶
func (r ApiServersServerIdDeleteRequest) Execute() (*DeleteResult, *http.Response, error)
type ApiServersServerIdGetRequest ¶
type ApiServersServerIdGetRequest struct { ApiService ServersAPI // contains filtered or unexported fields }
type ApiServersServerIdIpBlocksIpBlockIdDeleteRequest ¶
type ApiServersServerIdIpBlocksIpBlockIdDeleteRequest struct { ApiService ServersAPI // contains filtered or unexported fields }
func (ApiServersServerIdIpBlocksIpBlockIdDeleteRequest) Execute ¶
func (r ApiServersServerIdIpBlocksIpBlockIdDeleteRequest) Execute() (string, *http.Response, error)
func (ApiServersServerIdIpBlocksIpBlockIdDeleteRequest) RelinquishIpBlock ¶
func (r ApiServersServerIdIpBlocksIpBlockIdDeleteRequest) RelinquishIpBlock(relinquishIpBlock RelinquishIpBlock) ApiServersServerIdIpBlocksIpBlockIdDeleteRequest
type ApiServersServerIdIpBlocksPostRequest ¶
type ApiServersServerIdIpBlocksPostRequest struct { ApiService ServersAPI // contains filtered or unexported fields }
func (ApiServersServerIdIpBlocksPostRequest) Execute ¶
func (r ApiServersServerIdIpBlocksPostRequest) Execute() (*ServerIpBlock, *http.Response, error)
func (ApiServersServerIdIpBlocksPostRequest) ServerIpBlock ¶
func (r ApiServersServerIdIpBlocksPostRequest) ServerIpBlock(serverIpBlock ServerIpBlock) ApiServersServerIdIpBlocksPostRequest
type ApiServersServerIdPatchRequest ¶
type ApiServersServerIdPatchRequest struct { ApiService ServersAPI // contains filtered or unexported fields }
func (ApiServersServerIdPatchRequest) Execute ¶
func (r ApiServersServerIdPatchRequest) Execute() (*Server, *http.Response, error)
func (ApiServersServerIdPatchRequest) ServerPatch ¶
func (r ApiServersServerIdPatchRequest) ServerPatch(serverPatch ServerPatch) ApiServersServerIdPatchRequest
type ApiServersServerIdPrivateNetworksPatchRequest ¶
type ApiServersServerIdPrivateNetworksPatchRequest struct { ApiService ServersAPI // contains filtered or unexported fields }
func (ApiServersServerIdPrivateNetworksPatchRequest) Execute ¶
func (r ApiServersServerIdPrivateNetworksPatchRequest) Execute() (*ServerPrivateNetwork, *http.Response, error)
func (ApiServersServerIdPrivateNetworksPatchRequest) Force ¶
func (r ApiServersServerIdPrivateNetworksPatchRequest) Force(force bool) ApiServersServerIdPrivateNetworksPatchRequest
Query parameter controlling advanced features availability. Currently applicable for networking. It is advised to use with caution since it might lead to unhealthy setups.
func (ApiServersServerIdPrivateNetworksPatchRequest) ServerNetworkUpdate ¶
func (r ApiServersServerIdPrivateNetworksPatchRequest) ServerNetworkUpdate(serverNetworkUpdate ServerNetworkUpdate) ApiServersServerIdPrivateNetworksPatchRequest
type ApiServersServerIdPrivateNetworksPostRequest ¶
type ApiServersServerIdPrivateNetworksPostRequest struct { ApiService ServersAPI // contains filtered or unexported fields }
func (ApiServersServerIdPrivateNetworksPostRequest) Execute ¶
func (r ApiServersServerIdPrivateNetworksPostRequest) Execute() (*ServerPrivateNetwork, *http.Response, error)
func (ApiServersServerIdPrivateNetworksPostRequest) Force ¶
func (r ApiServersServerIdPrivateNetworksPostRequest) Force(force bool) ApiServersServerIdPrivateNetworksPostRequest
Query parameter controlling advanced features availability. Currently applicable for networking. It is advised to use with caution since it might lead to unhealthy setups.
func (ApiServersServerIdPrivateNetworksPostRequest) ServerPrivateNetwork ¶
func (r ApiServersServerIdPrivateNetworksPostRequest) ServerPrivateNetwork(serverPrivateNetwork ServerPrivateNetwork) ApiServersServerIdPrivateNetworksPostRequest
type ApiServersServerIdPublicNetworksDeleteRequest ¶
type ApiServersServerIdPublicNetworksDeleteRequest struct { ApiService ServersAPI // contains filtered or unexported fields }
type ApiServersServerIdPublicNetworksPatchRequest ¶
type ApiServersServerIdPublicNetworksPatchRequest struct { ApiService ServersAPI // contains filtered or unexported fields }
func (ApiServersServerIdPublicNetworksPatchRequest) Execute ¶
func (r ApiServersServerIdPublicNetworksPatchRequest) Execute() (*ServerPublicNetwork, *http.Response, error)
func (ApiServersServerIdPublicNetworksPatchRequest) Force ¶
func (r ApiServersServerIdPublicNetworksPatchRequest) Force(force bool) ApiServersServerIdPublicNetworksPatchRequest
Query parameter controlling advanced features availability. Currently applicable for networking. It is advised to use with caution since it might lead to unhealthy setups.
func (ApiServersServerIdPublicNetworksPatchRequest) ServerNetworkUpdate ¶
func (r ApiServersServerIdPublicNetworksPatchRequest) ServerNetworkUpdate(serverNetworkUpdate ServerNetworkUpdate) ApiServersServerIdPublicNetworksPatchRequest
type ApiServersServerIdPublicNetworksPostRequest ¶
type ApiServersServerIdPublicNetworksPostRequest struct { ApiService ServersAPI // contains filtered or unexported fields }
func (ApiServersServerIdPublicNetworksPostRequest) Execute ¶
func (r ApiServersServerIdPublicNetworksPostRequest) Execute() (*ServerPublicNetwork, *http.Response, error)
func (ApiServersServerIdPublicNetworksPostRequest) Force ¶
func (r ApiServersServerIdPublicNetworksPostRequest) Force(force bool) ApiServersServerIdPublicNetworksPostRequest
Query parameter controlling advanced features availability. Currently applicable for networking. It is advised to use with caution since it might lead to unhealthy setups.
func (ApiServersServerIdPublicNetworksPostRequest) ServerPublicNetwork ¶
func (r ApiServersServerIdPublicNetworksPostRequest) ServerPublicNetwork(serverPublicNetwork ServerPublicNetwork) ApiServersServerIdPublicNetworksPostRequest
type ApiServersServerIdTagsPutRequest ¶
type ApiServersServerIdTagsPutRequest struct { ApiService ServersAPI // contains filtered or unexported fields }
func (ApiServersServerIdTagsPutRequest) Execute ¶
func (r ApiServersServerIdTagsPutRequest) Execute() (*Server, *http.Response, error)
func (ApiServersServerIdTagsPutRequest) TagAssignmentRequest ¶
func (r ApiServersServerIdTagsPutRequest) TagAssignmentRequest(tagAssignmentRequest []TagAssignmentRequest) ApiServersServerIdTagsPutRequest
type ApiSshKeysGetRequest ¶
type ApiSshKeysGetRequest struct { ApiService SSHKeysAPI // contains filtered or unexported fields }
type ApiSshKeysPostRequest ¶
type ApiSshKeysPostRequest struct { ApiService SSHKeysAPI // contains filtered or unexported fields }
func (ApiSshKeysPostRequest) Execute ¶
func (r ApiSshKeysPostRequest) Execute() (*SshKey, *http.Response, error)
func (ApiSshKeysPostRequest) SshKeyCreate ¶
func (r ApiSshKeysPostRequest) SshKeyCreate(sshKeyCreate SshKeyCreate) ApiSshKeysPostRequest
type ApiSshKeysSshKeyIdDeleteRequest ¶
type ApiSshKeysSshKeyIdDeleteRequest struct { ApiService SSHKeysAPI // contains filtered or unexported fields }
func (ApiSshKeysSshKeyIdDeleteRequest) Execute ¶
func (r ApiSshKeysSshKeyIdDeleteRequest) Execute() (*DeleteSshKeyResult, *http.Response, error)
type ApiSshKeysSshKeyIdGetRequest ¶
type ApiSshKeysSshKeyIdGetRequest struct { ApiService SSHKeysAPI // contains filtered or unexported fields }
type ApiSshKeysSshKeyIdPutRequest ¶
type ApiSshKeysSshKeyIdPutRequest struct { ApiService SSHKeysAPI // contains filtered or unexported fields }
func (ApiSshKeysSshKeyIdPutRequest) Execute ¶
func (r ApiSshKeysSshKeyIdPutRequest) Execute() (*SshKey, *http.Response, error)
func (ApiSshKeysSshKeyIdPutRequest) SshKeyUpdate ¶
func (r ApiSshKeysSshKeyIdPutRequest) SshKeyUpdate(sshKeyUpdate SshKeyUpdate) ApiSshKeysSshKeyIdPutRequest
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` XPoweredBy string `json:"xPoweredBy,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type DeleteResult ¶
type DeleteResult struct { // Server has been deleted. Result string `json:"result"` // The unique identifier of the server. ServerId string `json:"serverId"` AdditionalProperties map[string]interface{} }
DeleteResult Result of a successful delete action.
func NewDeleteResult ¶
func NewDeleteResult(result string, serverId string) *DeleteResult
NewDeleteResult instantiates a new DeleteResult object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDeleteResultWithDefaults ¶
func NewDeleteResultWithDefaults() *DeleteResult
NewDeleteResultWithDefaults instantiates a new DeleteResult object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DeleteResult) GetResult ¶
func (o *DeleteResult) GetResult() string
GetResult returns the Result field value
func (*DeleteResult) GetResultOk ¶
func (o *DeleteResult) GetResultOk() (*string, bool)
GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.
func (*DeleteResult) GetServerId ¶
func (o *DeleteResult) GetServerId() string
GetServerId returns the ServerId field value
func (*DeleteResult) GetServerIdOk ¶
func (o *DeleteResult) GetServerIdOk() (*string, bool)
GetServerIdOk returns a tuple with the ServerId field value and a boolean to check if the value has been set.
func (DeleteResult) MarshalJSON ¶
func (o DeleteResult) MarshalJSON() ([]byte, error)
func (*DeleteResult) SetResult ¶
func (o *DeleteResult) SetResult(v string)
SetResult sets field value
func (*DeleteResult) SetServerId ¶
func (o *DeleteResult) SetServerId(v string)
SetServerId sets field value
func (DeleteResult) ToMap ¶
func (o DeleteResult) ToMap() (map[string]interface{}, error)
func (*DeleteResult) UnmarshalJSON ¶
func (o *DeleteResult) UnmarshalJSON(data []byte) (err error)
type DeleteSshKeyResult ¶
type DeleteSshKeyResult struct { // Resource has been deleted. Result string `json:"result"` // The unique identifier of the deleted resource. SshKeyId string `json:"sshKeyId"` AdditionalProperties map[string]interface{} }
DeleteSshKeyResult Result of a successful delete action on a SSH key.
func NewDeleteSshKeyResult ¶
func NewDeleteSshKeyResult(result string, sshKeyId string) *DeleteSshKeyResult
NewDeleteSshKeyResult instantiates a new DeleteSshKeyResult object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDeleteSshKeyResultWithDefaults ¶
func NewDeleteSshKeyResultWithDefaults() *DeleteSshKeyResult
NewDeleteSshKeyResultWithDefaults instantiates a new DeleteSshKeyResult object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DeleteSshKeyResult) GetResult ¶
func (o *DeleteSshKeyResult) GetResult() string
GetResult returns the Result field value
func (*DeleteSshKeyResult) GetResultOk ¶
func (o *DeleteSshKeyResult) GetResultOk() (*string, bool)
GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.
func (*DeleteSshKeyResult) GetSshKeyId ¶
func (o *DeleteSshKeyResult) GetSshKeyId() string
GetSshKeyId returns the SshKeyId field value
func (*DeleteSshKeyResult) GetSshKeyIdOk ¶
func (o *DeleteSshKeyResult) GetSshKeyIdOk() (*string, bool)
GetSshKeyIdOk returns a tuple with the SshKeyId field value and a boolean to check if the value has been set.
func (DeleteSshKeyResult) MarshalJSON ¶
func (o DeleteSshKeyResult) MarshalJSON() ([]byte, error)
func (*DeleteSshKeyResult) SetResult ¶
func (o *DeleteSshKeyResult) SetResult(v string)
SetResult sets field value
func (*DeleteSshKeyResult) SetSshKeyId ¶
func (o *DeleteSshKeyResult) SetSshKeyId(v string)
SetSshKeyId sets field value
func (DeleteSshKeyResult) ToMap ¶
func (o DeleteSshKeyResult) ToMap() (map[string]interface{}, error)
func (*DeleteSshKeyResult) UnmarshalJSON ¶
func (o *DeleteSshKeyResult) UnmarshalJSON(data []byte) (err error)
type Error ¶
type Error struct { // The description detailing the cause of the error code. Message string `json:"message"` // Validation errors, if any. ValidationErrors []string `json:"validationErrors,omitempty"` AdditionalProperties map[string]interface{} }
Error struct for Error
func NewError ¶
NewError instantiates a new Error object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorWithDefaults ¶
func NewErrorWithDefaults() *Error
NewErrorWithDefaults instantiates a new Error object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Error) GetMessage ¶
GetMessage returns the Message field value
func (*Error) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*Error) GetValidationErrors ¶
GetValidationErrors returns the ValidationErrors field value if set, zero value otherwise.
func (*Error) GetValidationErrorsOk ¶
GetValidationErrorsOk returns a tuple with the ValidationErrors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) HasValidationErrors ¶
HasValidationErrors returns a boolean if a field has been set.
func (Error) MarshalJSON ¶
func (*Error) SetValidationErrors ¶
SetValidationErrors gets a reference to the given []string and assigns it to the ValidationErrors field.
func (*Error) UnmarshalJSON ¶
type EsxiDatastoreConfiguration ¶ added in v3.1.0
type EsxiDatastoreConfiguration struct { // Datastore name DatastoreName string `json:"datastoreName"` AdditionalProperties map[string]interface{} }
EsxiDatastoreConfiguration Esxi data storage configuration.
func NewEsxiDatastoreConfiguration ¶ added in v3.1.0
func NewEsxiDatastoreConfiguration(datastoreName string) *EsxiDatastoreConfiguration
NewEsxiDatastoreConfiguration instantiates a new EsxiDatastoreConfiguration object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEsxiDatastoreConfigurationWithDefaults ¶ added in v3.1.0
func NewEsxiDatastoreConfigurationWithDefaults() *EsxiDatastoreConfiguration
NewEsxiDatastoreConfigurationWithDefaults instantiates a new EsxiDatastoreConfiguration object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*EsxiDatastoreConfiguration) GetDatastoreName ¶ added in v3.1.0
func (o *EsxiDatastoreConfiguration) GetDatastoreName() string
GetDatastoreName returns the DatastoreName field value
func (*EsxiDatastoreConfiguration) GetDatastoreNameOk ¶ added in v3.1.0
func (o *EsxiDatastoreConfiguration) GetDatastoreNameOk() (*string, bool)
GetDatastoreNameOk returns a tuple with the DatastoreName field value and a boolean to check if the value has been set.
func (EsxiDatastoreConfiguration) MarshalJSON ¶ added in v3.1.0
func (o EsxiDatastoreConfiguration) MarshalJSON() ([]byte, error)
func (*EsxiDatastoreConfiguration) SetDatastoreName ¶ added in v3.1.0
func (o *EsxiDatastoreConfiguration) SetDatastoreName(v string)
SetDatastoreName sets field value
func (EsxiDatastoreConfiguration) ToMap ¶ added in v3.1.0
func (o EsxiDatastoreConfiguration) ToMap() (map[string]interface{}, error)
func (*EsxiDatastoreConfiguration) UnmarshalJSON ¶ added in v3.1.0
func (o *EsxiDatastoreConfiguration) UnmarshalJSON(data []byte) (err error)
type EsxiOsConfiguration ¶ added in v3.1.0
type EsxiOsConfiguration struct { DatastoreConfiguration *EsxiDatastoreConfiguration `json:"datastoreConfiguration,omitempty"` AdditionalProperties map[string]interface{} }
EsxiOsConfiguration Esxi OS configuration.
func NewEsxiOsConfiguration ¶ added in v3.1.0
func NewEsxiOsConfiguration() *EsxiOsConfiguration
NewEsxiOsConfiguration instantiates a new EsxiOsConfiguration object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEsxiOsConfigurationWithDefaults ¶ added in v3.1.0
func NewEsxiOsConfigurationWithDefaults() *EsxiOsConfiguration
NewEsxiOsConfigurationWithDefaults instantiates a new EsxiOsConfiguration object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*EsxiOsConfiguration) GetDatastoreConfiguration ¶ added in v3.1.0
func (o *EsxiOsConfiguration) GetDatastoreConfiguration() EsxiDatastoreConfiguration
GetDatastoreConfiguration returns the DatastoreConfiguration field value if set, zero value otherwise.
func (*EsxiOsConfiguration) GetDatastoreConfigurationOk ¶ added in v3.1.0
func (o *EsxiOsConfiguration) GetDatastoreConfigurationOk() (*EsxiDatastoreConfiguration, bool)
GetDatastoreConfigurationOk returns a tuple with the DatastoreConfiguration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EsxiOsConfiguration) HasDatastoreConfiguration ¶ added in v3.1.0
func (o *EsxiOsConfiguration) HasDatastoreConfiguration() bool
HasDatastoreConfiguration returns a boolean if a field has been set.
func (EsxiOsConfiguration) MarshalJSON ¶ added in v3.1.0
func (o EsxiOsConfiguration) MarshalJSON() ([]byte, error)
func (*EsxiOsConfiguration) SetDatastoreConfiguration ¶ added in v3.1.0
func (o *EsxiOsConfiguration) SetDatastoreConfiguration(v EsxiDatastoreConfiguration)
SetDatastoreConfiguration gets a reference to the given EsxiDatastoreConfiguration and assigns it to the DatastoreConfiguration field.
func (EsxiOsConfiguration) ToMap ¶ added in v3.1.0
func (o EsxiOsConfiguration) ToMap() (map[string]interface{}, error)
func (*EsxiOsConfiguration) UnmarshalJSON ¶ added in v3.1.0
func (o *EsxiOsConfiguration) UnmarshalJSON(data []byte) (err error)
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type IpBlocksConfiguration ¶
type IpBlocksConfiguration struct { // (Write-only) Determines the approach for configuring IP blocks for the server being provisioned. If PURCHASE_NEW is selected, the smallest supported range, depending on the operating system, is allocated to the server. ConfigurationType *string `json:"configurationType,omitempty"` // Used to specify the previously purchased IP blocks to assign to this server upon provisioning. Used alongside the USER_DEFINED configurationType. IpBlocks []ServerIpBlock `json:"ipBlocks,omitempty"` AdditionalProperties map[string]interface{} }
IpBlocksConfiguration The IP blocks to assign to this server. <b>This is an exclusive allocation</b>, i.e. the IP blocks cannot be shared with other servers. If IpBlocksConfiguration is not defined, the purchase of a new IP block is determined by the networkType field.
func NewIpBlocksConfiguration ¶
func NewIpBlocksConfiguration() *IpBlocksConfiguration
NewIpBlocksConfiguration instantiates a new IpBlocksConfiguration object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewIpBlocksConfigurationWithDefaults ¶
func NewIpBlocksConfigurationWithDefaults() *IpBlocksConfiguration
NewIpBlocksConfigurationWithDefaults instantiates a new IpBlocksConfiguration object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*IpBlocksConfiguration) GetConfigurationType ¶
func (o *IpBlocksConfiguration) GetConfigurationType() string
GetConfigurationType returns the ConfigurationType field value if set, zero value otherwise.
func (*IpBlocksConfiguration) GetConfigurationTypeOk ¶
func (o *IpBlocksConfiguration) GetConfigurationTypeOk() (*string, bool)
GetConfigurationTypeOk returns a tuple with the ConfigurationType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IpBlocksConfiguration) GetIpBlocks ¶
func (o *IpBlocksConfiguration) GetIpBlocks() []ServerIpBlock
GetIpBlocks returns the IpBlocks field value if set, zero value otherwise.
func (*IpBlocksConfiguration) GetIpBlocksOk ¶
func (o *IpBlocksConfiguration) GetIpBlocksOk() ([]ServerIpBlock, bool)
GetIpBlocksOk returns a tuple with the IpBlocks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*IpBlocksConfiguration) HasConfigurationType ¶
func (o *IpBlocksConfiguration) HasConfigurationType() bool
HasConfigurationType returns a boolean if a field has been set.
func (*IpBlocksConfiguration) HasIpBlocks ¶
func (o *IpBlocksConfiguration) HasIpBlocks() bool
HasIpBlocks returns a boolean if a field has been set.
func (IpBlocksConfiguration) MarshalJSON ¶
func (o IpBlocksConfiguration) MarshalJSON() ([]byte, error)
func (*IpBlocksConfiguration) SetConfigurationType ¶
func (o *IpBlocksConfiguration) SetConfigurationType(v string)
SetConfigurationType gets a reference to the given string and assigns it to the ConfigurationType field.
func (*IpBlocksConfiguration) SetIpBlocks ¶
func (o *IpBlocksConfiguration) SetIpBlocks(v []ServerIpBlock)
SetIpBlocks gets a reference to the given []ServerIpBlock and assigns it to the IpBlocks field.
func (IpBlocksConfiguration) ToMap ¶
func (o IpBlocksConfiguration) ToMap() (map[string]interface{}, error)
func (*IpBlocksConfiguration) UnmarshalJSON ¶ added in v3.0.1
func (o *IpBlocksConfiguration) UnmarshalJSON(data []byte) (err error)
type MappedNullable ¶
type NetworkConfiguration ¶
type NetworkConfiguration struct { // The address of the gateway assigned / to assign to the server.<br> When used as part of request body, IP address has to be part of a private/public network or an IP block assigned to this server.<br> Gateway address also has to be assigned on an already deployed resource unless the address matches the BMC gateway address in a public network/IP block or the `force` query parameter is true. GatewayAddress *string `json:"gatewayAddress,omitempty"` PrivateNetworkConfiguration *PrivateNetworkConfiguration `json:"privateNetworkConfiguration,omitempty"` IpBlocksConfiguration *IpBlocksConfiguration `json:"ipBlocksConfiguration,omitempty"` PublicNetworkConfiguration *PublicNetworkConfiguration `json:"publicNetworkConfiguration,omitempty"` AdditionalProperties map[string]interface{} }
NetworkConfiguration Entire network details of bare metal server.
func NewNetworkConfiguration ¶
func NewNetworkConfiguration() *NetworkConfiguration
NewNetworkConfiguration instantiates a new NetworkConfiguration object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewNetworkConfigurationWithDefaults ¶
func NewNetworkConfigurationWithDefaults() *NetworkConfiguration
NewNetworkConfigurationWithDefaults instantiates a new NetworkConfiguration object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*NetworkConfiguration) GetGatewayAddress ¶
func (o *NetworkConfiguration) GetGatewayAddress() string
GetGatewayAddress returns the GatewayAddress field value if set, zero value otherwise.
func (*NetworkConfiguration) GetGatewayAddressOk ¶
func (o *NetworkConfiguration) GetGatewayAddressOk() (*string, bool)
GetGatewayAddressOk returns a tuple with the GatewayAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkConfiguration) GetIpBlocksConfiguration ¶
func (o *NetworkConfiguration) GetIpBlocksConfiguration() IpBlocksConfiguration
GetIpBlocksConfiguration returns the IpBlocksConfiguration field value if set, zero value otherwise.
func (*NetworkConfiguration) GetIpBlocksConfigurationOk ¶
func (o *NetworkConfiguration) GetIpBlocksConfigurationOk() (*IpBlocksConfiguration, bool)
GetIpBlocksConfigurationOk returns a tuple with the IpBlocksConfiguration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkConfiguration) GetPrivateNetworkConfiguration ¶
func (o *NetworkConfiguration) GetPrivateNetworkConfiguration() PrivateNetworkConfiguration
GetPrivateNetworkConfiguration returns the PrivateNetworkConfiguration field value if set, zero value otherwise.
func (*NetworkConfiguration) GetPrivateNetworkConfigurationOk ¶
func (o *NetworkConfiguration) GetPrivateNetworkConfigurationOk() (*PrivateNetworkConfiguration, bool)
GetPrivateNetworkConfigurationOk returns a tuple with the PrivateNetworkConfiguration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkConfiguration) GetPublicNetworkConfiguration ¶
func (o *NetworkConfiguration) GetPublicNetworkConfiguration() PublicNetworkConfiguration
GetPublicNetworkConfiguration returns the PublicNetworkConfiguration field value if set, zero value otherwise.
func (*NetworkConfiguration) GetPublicNetworkConfigurationOk ¶
func (o *NetworkConfiguration) GetPublicNetworkConfigurationOk() (*PublicNetworkConfiguration, bool)
GetPublicNetworkConfigurationOk returns a tuple with the PublicNetworkConfiguration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkConfiguration) HasGatewayAddress ¶
func (o *NetworkConfiguration) HasGatewayAddress() bool
HasGatewayAddress returns a boolean if a field has been set.
func (*NetworkConfiguration) HasIpBlocksConfiguration ¶
func (o *NetworkConfiguration) HasIpBlocksConfiguration() bool
HasIpBlocksConfiguration returns a boolean if a field has been set.
func (*NetworkConfiguration) HasPrivateNetworkConfiguration ¶
func (o *NetworkConfiguration) HasPrivateNetworkConfiguration() bool
HasPrivateNetworkConfiguration returns a boolean if a field has been set.
func (*NetworkConfiguration) HasPublicNetworkConfiguration ¶
func (o *NetworkConfiguration) HasPublicNetworkConfiguration() bool
HasPublicNetworkConfiguration returns a boolean if a field has been set.
func (NetworkConfiguration) MarshalJSON ¶
func (o NetworkConfiguration) MarshalJSON() ([]byte, error)
func (*NetworkConfiguration) SetGatewayAddress ¶
func (o *NetworkConfiguration) SetGatewayAddress(v string)
SetGatewayAddress gets a reference to the given string and assigns it to the GatewayAddress field.
func (*NetworkConfiguration) SetIpBlocksConfiguration ¶
func (o *NetworkConfiguration) SetIpBlocksConfiguration(v IpBlocksConfiguration)
SetIpBlocksConfiguration gets a reference to the given IpBlocksConfiguration and assigns it to the IpBlocksConfiguration field.
func (*NetworkConfiguration) SetPrivateNetworkConfiguration ¶
func (o *NetworkConfiguration) SetPrivateNetworkConfiguration(v PrivateNetworkConfiguration)
SetPrivateNetworkConfiguration gets a reference to the given PrivateNetworkConfiguration and assigns it to the PrivateNetworkConfiguration field.
func (*NetworkConfiguration) SetPublicNetworkConfiguration ¶
func (o *NetworkConfiguration) SetPublicNetworkConfiguration(v PublicNetworkConfiguration)
SetPublicNetworkConfiguration gets a reference to the given PublicNetworkConfiguration and assigns it to the PublicNetworkConfiguration field.
func (NetworkConfiguration) ToMap ¶
func (o NetworkConfiguration) ToMap() (map[string]interface{}, error)
func (*NetworkConfiguration) UnmarshalJSON ¶ added in v3.0.1
func (o *NetworkConfiguration) UnmarshalJSON(data []byte) (err error)
type NullableActionResult ¶
type NullableActionResult struct {
// contains filtered or unexported fields
}
func NewNullableActionResult ¶
func NewNullableActionResult(val *ActionResult) *NullableActionResult
func (NullableActionResult) Get ¶
func (v NullableActionResult) Get() *ActionResult
func (NullableActionResult) IsSet ¶
func (v NullableActionResult) IsSet() bool
func (NullableActionResult) MarshalJSON ¶
func (v NullableActionResult) MarshalJSON() ([]byte, error)
func (*NullableActionResult) Set ¶
func (v *NullableActionResult) Set(val *ActionResult)
func (*NullableActionResult) UnmarshalJSON ¶
func (v *NullableActionResult) UnmarshalJSON(src []byte) error
func (*NullableActionResult) Unset ¶
func (v *NullableActionResult) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableDeleteResult ¶
type NullableDeleteResult struct {
// contains filtered or unexported fields
}
func NewNullableDeleteResult ¶
func NewNullableDeleteResult(val *DeleteResult) *NullableDeleteResult
func (NullableDeleteResult) Get ¶
func (v NullableDeleteResult) Get() *DeleteResult
func (NullableDeleteResult) IsSet ¶
func (v NullableDeleteResult) IsSet() bool
func (NullableDeleteResult) MarshalJSON ¶
func (v NullableDeleteResult) MarshalJSON() ([]byte, error)
func (*NullableDeleteResult) Set ¶
func (v *NullableDeleteResult) Set(val *DeleteResult)
func (*NullableDeleteResult) UnmarshalJSON ¶
func (v *NullableDeleteResult) UnmarshalJSON(src []byte) error
func (*NullableDeleteResult) Unset ¶
func (v *NullableDeleteResult) Unset()
type NullableDeleteSshKeyResult ¶
type NullableDeleteSshKeyResult struct {
// contains filtered or unexported fields
}
func NewNullableDeleteSshKeyResult ¶
func NewNullableDeleteSshKeyResult(val *DeleteSshKeyResult) *NullableDeleteSshKeyResult
func (NullableDeleteSshKeyResult) Get ¶
func (v NullableDeleteSshKeyResult) Get() *DeleteSshKeyResult
func (NullableDeleteSshKeyResult) IsSet ¶
func (v NullableDeleteSshKeyResult) IsSet() bool
func (NullableDeleteSshKeyResult) MarshalJSON ¶
func (v NullableDeleteSshKeyResult) MarshalJSON() ([]byte, error)
func (*NullableDeleteSshKeyResult) Set ¶
func (v *NullableDeleteSshKeyResult) Set(val *DeleteSshKeyResult)
func (*NullableDeleteSshKeyResult) UnmarshalJSON ¶
func (v *NullableDeleteSshKeyResult) UnmarshalJSON(src []byte) error
func (*NullableDeleteSshKeyResult) Unset ¶
func (v *NullableDeleteSshKeyResult) Unset()
type NullableError ¶
type NullableError struct {
// contains filtered or unexported fields
}
func NewNullableError ¶
func NewNullableError(val *Error) *NullableError
func (NullableError) Get ¶
func (v NullableError) Get() *Error
func (NullableError) IsSet ¶
func (v NullableError) IsSet() bool
func (NullableError) MarshalJSON ¶
func (v NullableError) MarshalJSON() ([]byte, error)
func (*NullableError) Set ¶
func (v *NullableError) Set(val *Error)
func (*NullableError) UnmarshalJSON ¶
func (v *NullableError) UnmarshalJSON(src []byte) error
func (*NullableError) Unset ¶
func (v *NullableError) Unset()
type NullableEsxiDatastoreConfiguration ¶ added in v3.1.0
type NullableEsxiDatastoreConfiguration struct {
// contains filtered or unexported fields
}
func NewNullableEsxiDatastoreConfiguration ¶ added in v3.1.0
func NewNullableEsxiDatastoreConfiguration(val *EsxiDatastoreConfiguration) *NullableEsxiDatastoreConfiguration
func (NullableEsxiDatastoreConfiguration) Get ¶ added in v3.1.0
func (v NullableEsxiDatastoreConfiguration) Get() *EsxiDatastoreConfiguration
func (NullableEsxiDatastoreConfiguration) IsSet ¶ added in v3.1.0
func (v NullableEsxiDatastoreConfiguration) IsSet() bool
func (NullableEsxiDatastoreConfiguration) MarshalJSON ¶ added in v3.1.0
func (v NullableEsxiDatastoreConfiguration) MarshalJSON() ([]byte, error)
func (*NullableEsxiDatastoreConfiguration) Set ¶ added in v3.1.0
func (v *NullableEsxiDatastoreConfiguration) Set(val *EsxiDatastoreConfiguration)
func (*NullableEsxiDatastoreConfiguration) UnmarshalJSON ¶ added in v3.1.0
func (v *NullableEsxiDatastoreConfiguration) UnmarshalJSON(src []byte) error
func (*NullableEsxiDatastoreConfiguration) Unset ¶ added in v3.1.0
func (v *NullableEsxiDatastoreConfiguration) Unset()
type NullableEsxiOsConfiguration ¶ added in v3.1.0
type NullableEsxiOsConfiguration struct {
// contains filtered or unexported fields
}
func NewNullableEsxiOsConfiguration ¶ added in v3.1.0
func NewNullableEsxiOsConfiguration(val *EsxiOsConfiguration) *NullableEsxiOsConfiguration
func (NullableEsxiOsConfiguration) Get ¶ added in v3.1.0
func (v NullableEsxiOsConfiguration) Get() *EsxiOsConfiguration
func (NullableEsxiOsConfiguration) IsSet ¶ added in v3.1.0
func (v NullableEsxiOsConfiguration) IsSet() bool
func (NullableEsxiOsConfiguration) MarshalJSON ¶ added in v3.1.0
func (v NullableEsxiOsConfiguration) MarshalJSON() ([]byte, error)
func (*NullableEsxiOsConfiguration) Set ¶ added in v3.1.0
func (v *NullableEsxiOsConfiguration) Set(val *EsxiOsConfiguration)
func (*NullableEsxiOsConfiguration) UnmarshalJSON ¶ added in v3.1.0
func (v *NullableEsxiOsConfiguration) UnmarshalJSON(src []byte) error
func (*NullableEsxiOsConfiguration) Unset ¶ added in v3.1.0
func (v *NullableEsxiOsConfiguration) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableIpBlocksConfiguration ¶
type NullableIpBlocksConfiguration struct {
// contains filtered or unexported fields
}
func NewNullableIpBlocksConfiguration ¶
func NewNullableIpBlocksConfiguration(val *IpBlocksConfiguration) *NullableIpBlocksConfiguration
func (NullableIpBlocksConfiguration) Get ¶
func (v NullableIpBlocksConfiguration) Get() *IpBlocksConfiguration
func (NullableIpBlocksConfiguration) IsSet ¶
func (v NullableIpBlocksConfiguration) IsSet() bool
func (NullableIpBlocksConfiguration) MarshalJSON ¶
func (v NullableIpBlocksConfiguration) MarshalJSON() ([]byte, error)
func (*NullableIpBlocksConfiguration) Set ¶
func (v *NullableIpBlocksConfiguration) Set(val *IpBlocksConfiguration)
func (*NullableIpBlocksConfiguration) UnmarshalJSON ¶
func (v *NullableIpBlocksConfiguration) UnmarshalJSON(src []byte) error
func (*NullableIpBlocksConfiguration) Unset ¶
func (v *NullableIpBlocksConfiguration) Unset()
type NullableNetworkConfiguration ¶
type NullableNetworkConfiguration struct {
// contains filtered or unexported fields
}
func NewNullableNetworkConfiguration ¶
func NewNullableNetworkConfiguration(val *NetworkConfiguration) *NullableNetworkConfiguration
func (NullableNetworkConfiguration) Get ¶
func (v NullableNetworkConfiguration) Get() *NetworkConfiguration
func (NullableNetworkConfiguration) IsSet ¶
func (v NullableNetworkConfiguration) IsSet() bool
func (NullableNetworkConfiguration) MarshalJSON ¶
func (v NullableNetworkConfiguration) MarshalJSON() ([]byte, error)
func (*NullableNetworkConfiguration) Set ¶
func (v *NullableNetworkConfiguration) Set(val *NetworkConfiguration)
func (*NullableNetworkConfiguration) UnmarshalJSON ¶
func (v *NullableNetworkConfiguration) UnmarshalJSON(src []byte) error
func (*NullableNetworkConfiguration) Unset ¶
func (v *NullableNetworkConfiguration) Unset()
type NullableOsConfiguration ¶
type NullableOsConfiguration struct {
// contains filtered or unexported fields
}
func NewNullableOsConfiguration ¶
func NewNullableOsConfiguration(val *OsConfiguration) *NullableOsConfiguration
func (NullableOsConfiguration) Get ¶
func (v NullableOsConfiguration) Get() *OsConfiguration
func (NullableOsConfiguration) IsSet ¶
func (v NullableOsConfiguration) IsSet() bool
func (NullableOsConfiguration) MarshalJSON ¶
func (v NullableOsConfiguration) MarshalJSON() ([]byte, error)
func (*NullableOsConfiguration) Set ¶
func (v *NullableOsConfiguration) Set(val *OsConfiguration)
func (*NullableOsConfiguration) UnmarshalJSON ¶
func (v *NullableOsConfiguration) UnmarshalJSON(src []byte) error
func (*NullableOsConfiguration) Unset ¶
func (v *NullableOsConfiguration) Unset()
type NullableOsConfigurationCloudInit ¶
type NullableOsConfigurationCloudInit struct {
// contains filtered or unexported fields
}
func NewNullableOsConfigurationCloudInit ¶
func NewNullableOsConfigurationCloudInit(val *OsConfigurationCloudInit) *NullableOsConfigurationCloudInit
func (NullableOsConfigurationCloudInit) Get ¶
func (v NullableOsConfigurationCloudInit) Get() *OsConfigurationCloudInit
func (NullableOsConfigurationCloudInit) IsSet ¶
func (v NullableOsConfigurationCloudInit) IsSet() bool
func (NullableOsConfigurationCloudInit) MarshalJSON ¶
func (v NullableOsConfigurationCloudInit) MarshalJSON() ([]byte, error)
func (*NullableOsConfigurationCloudInit) Set ¶
func (v *NullableOsConfigurationCloudInit) Set(val *OsConfigurationCloudInit)
func (*NullableOsConfigurationCloudInit) UnmarshalJSON ¶
func (v *NullableOsConfigurationCloudInit) UnmarshalJSON(src []byte) error
func (*NullableOsConfigurationCloudInit) Unset ¶
func (v *NullableOsConfigurationCloudInit) Unset()
type NullableOsConfigurationMap ¶
type NullableOsConfigurationMap struct {
// contains filtered or unexported fields
}
func NewNullableOsConfigurationMap ¶
func NewNullableOsConfigurationMap(val *OsConfigurationMap) *NullableOsConfigurationMap
func (NullableOsConfigurationMap) Get ¶
func (v NullableOsConfigurationMap) Get() *OsConfigurationMap
func (NullableOsConfigurationMap) IsSet ¶
func (v NullableOsConfigurationMap) IsSet() bool
func (NullableOsConfigurationMap) MarshalJSON ¶
func (v NullableOsConfigurationMap) MarshalJSON() ([]byte, error)
func (*NullableOsConfigurationMap) Set ¶
func (v *NullableOsConfigurationMap) Set(val *OsConfigurationMap)
func (*NullableOsConfigurationMap) UnmarshalJSON ¶
func (v *NullableOsConfigurationMap) UnmarshalJSON(src []byte) error
func (*NullableOsConfigurationMap) Unset ¶
func (v *NullableOsConfigurationMap) Unset()
type NullableOsConfigurationMapEsxi ¶
type NullableOsConfigurationMapEsxi struct {
// contains filtered or unexported fields
}
func NewNullableOsConfigurationMapEsxi ¶
func NewNullableOsConfigurationMapEsxi(val *OsConfigurationMapEsxi) *NullableOsConfigurationMapEsxi
func (NullableOsConfigurationMapEsxi) Get ¶
func (v NullableOsConfigurationMapEsxi) Get() *OsConfigurationMapEsxi
func (NullableOsConfigurationMapEsxi) IsSet ¶
func (v NullableOsConfigurationMapEsxi) IsSet() bool
func (NullableOsConfigurationMapEsxi) MarshalJSON ¶
func (v NullableOsConfigurationMapEsxi) MarshalJSON() ([]byte, error)
func (*NullableOsConfigurationMapEsxi) Set ¶
func (v *NullableOsConfigurationMapEsxi) Set(val *OsConfigurationMapEsxi)
func (*NullableOsConfigurationMapEsxi) UnmarshalJSON ¶
func (v *NullableOsConfigurationMapEsxi) UnmarshalJSON(src []byte) error
func (*NullableOsConfigurationMapEsxi) Unset ¶
func (v *NullableOsConfigurationMapEsxi) Unset()
type NullableOsConfigurationMapProxmox ¶
type NullableOsConfigurationMapProxmox struct {
// contains filtered or unexported fields
}
func NewNullableOsConfigurationMapProxmox ¶
func NewNullableOsConfigurationMapProxmox(val *OsConfigurationMapProxmox) *NullableOsConfigurationMapProxmox
func (NullableOsConfigurationMapProxmox) Get ¶
func (v NullableOsConfigurationMapProxmox) Get() *OsConfigurationMapProxmox
func (NullableOsConfigurationMapProxmox) IsSet ¶
func (v NullableOsConfigurationMapProxmox) IsSet() bool
func (NullableOsConfigurationMapProxmox) MarshalJSON ¶
func (v NullableOsConfigurationMapProxmox) MarshalJSON() ([]byte, error)
func (*NullableOsConfigurationMapProxmox) Set ¶
func (v *NullableOsConfigurationMapProxmox) Set(val *OsConfigurationMapProxmox)
func (*NullableOsConfigurationMapProxmox) UnmarshalJSON ¶
func (v *NullableOsConfigurationMapProxmox) UnmarshalJSON(src []byte) error
func (*NullableOsConfigurationMapProxmox) Unset ¶
func (v *NullableOsConfigurationMapProxmox) Unset()
type NullableOsConfigurationNetrisController ¶
type NullableOsConfigurationNetrisController struct {
// contains filtered or unexported fields
}
func NewNullableOsConfigurationNetrisController ¶
func NewNullableOsConfigurationNetrisController(val *OsConfigurationNetrisController) *NullableOsConfigurationNetrisController
func (NullableOsConfigurationNetrisController) IsSet ¶
func (v NullableOsConfigurationNetrisController) IsSet() bool
func (NullableOsConfigurationNetrisController) MarshalJSON ¶
func (v NullableOsConfigurationNetrisController) MarshalJSON() ([]byte, error)
func (*NullableOsConfigurationNetrisController) Set ¶
func (v *NullableOsConfigurationNetrisController) Set(val *OsConfigurationNetrisController)
func (*NullableOsConfigurationNetrisController) UnmarshalJSON ¶
func (v *NullableOsConfigurationNetrisController) UnmarshalJSON(src []byte) error
func (*NullableOsConfigurationNetrisController) Unset ¶
func (v *NullableOsConfigurationNetrisController) Unset()
type NullableOsConfigurationNetrisSoftgate ¶
type NullableOsConfigurationNetrisSoftgate struct {
// contains filtered or unexported fields
}
func NewNullableOsConfigurationNetrisSoftgate ¶
func NewNullableOsConfigurationNetrisSoftgate(val *OsConfigurationNetrisSoftgate) *NullableOsConfigurationNetrisSoftgate
func (NullableOsConfigurationNetrisSoftgate) Get ¶
func (v NullableOsConfigurationNetrisSoftgate) Get() *OsConfigurationNetrisSoftgate
func (NullableOsConfigurationNetrisSoftgate) IsSet ¶
func (v NullableOsConfigurationNetrisSoftgate) IsSet() bool
func (NullableOsConfigurationNetrisSoftgate) MarshalJSON ¶
func (v NullableOsConfigurationNetrisSoftgate) MarshalJSON() ([]byte, error)
func (*NullableOsConfigurationNetrisSoftgate) Set ¶
func (v *NullableOsConfigurationNetrisSoftgate) Set(val *OsConfigurationNetrisSoftgate)
func (*NullableOsConfigurationNetrisSoftgate) UnmarshalJSON ¶
func (v *NullableOsConfigurationNetrisSoftgate) UnmarshalJSON(src []byte) error
func (*NullableOsConfigurationNetrisSoftgate) Unset ¶
func (v *NullableOsConfigurationNetrisSoftgate) Unset()
type NullableOsConfigurationWindows ¶
type NullableOsConfigurationWindows struct {
// contains filtered or unexported fields
}
func NewNullableOsConfigurationWindows ¶
func NewNullableOsConfigurationWindows(val *OsConfigurationWindows) *NullableOsConfigurationWindows
func (NullableOsConfigurationWindows) Get ¶
func (v NullableOsConfigurationWindows) Get() *OsConfigurationWindows
func (NullableOsConfigurationWindows) IsSet ¶
func (v NullableOsConfigurationWindows) IsSet() bool
func (NullableOsConfigurationWindows) MarshalJSON ¶
func (v NullableOsConfigurationWindows) MarshalJSON() ([]byte, error)
func (*NullableOsConfigurationWindows) Set ¶
func (v *NullableOsConfigurationWindows) Set(val *OsConfigurationWindows)
func (*NullableOsConfigurationWindows) UnmarshalJSON ¶
func (v *NullableOsConfigurationWindows) UnmarshalJSON(src []byte) error
func (*NullableOsConfigurationWindows) Unset ¶
func (v *NullableOsConfigurationWindows) Unset()
type NullablePrivateNetworkConfiguration ¶
type NullablePrivateNetworkConfiguration struct {
// contains filtered or unexported fields
}
func NewNullablePrivateNetworkConfiguration ¶
func NewNullablePrivateNetworkConfiguration(val *PrivateNetworkConfiguration) *NullablePrivateNetworkConfiguration
func (NullablePrivateNetworkConfiguration) Get ¶
func (v NullablePrivateNetworkConfiguration) Get() *PrivateNetworkConfiguration
func (NullablePrivateNetworkConfiguration) IsSet ¶
func (v NullablePrivateNetworkConfiguration) IsSet() bool
func (NullablePrivateNetworkConfiguration) MarshalJSON ¶
func (v NullablePrivateNetworkConfiguration) MarshalJSON() ([]byte, error)
func (*NullablePrivateNetworkConfiguration) Set ¶
func (v *NullablePrivateNetworkConfiguration) Set(val *PrivateNetworkConfiguration)
func (*NullablePrivateNetworkConfiguration) UnmarshalJSON ¶
func (v *NullablePrivateNetworkConfiguration) UnmarshalJSON(src []byte) error
func (*NullablePrivateNetworkConfiguration) Unset ¶
func (v *NullablePrivateNetworkConfiguration) Unset()
type NullablePublicNetworkConfiguration ¶
type NullablePublicNetworkConfiguration struct {
// contains filtered or unexported fields
}
func NewNullablePublicNetworkConfiguration ¶
func NewNullablePublicNetworkConfiguration(val *PublicNetworkConfiguration) *NullablePublicNetworkConfiguration
func (NullablePublicNetworkConfiguration) Get ¶
func (v NullablePublicNetworkConfiguration) Get() *PublicNetworkConfiguration
func (NullablePublicNetworkConfiguration) IsSet ¶
func (v NullablePublicNetworkConfiguration) IsSet() bool
func (NullablePublicNetworkConfiguration) MarshalJSON ¶
func (v NullablePublicNetworkConfiguration) MarshalJSON() ([]byte, error)
func (*NullablePublicNetworkConfiguration) Set ¶
func (v *NullablePublicNetworkConfiguration) Set(val *PublicNetworkConfiguration)
func (*NullablePublicNetworkConfiguration) UnmarshalJSON ¶
func (v *NullablePublicNetworkConfiguration) UnmarshalJSON(src []byte) error
func (*NullablePublicNetworkConfiguration) Unset ¶
func (v *NullablePublicNetworkConfiguration) Unset()
type NullableQuota ¶
type NullableQuota struct {
// contains filtered or unexported fields
}
func NewNullableQuota ¶
func NewNullableQuota(val *Quota) *NullableQuota
func (NullableQuota) Get ¶
func (v NullableQuota) Get() *Quota
func (NullableQuota) IsSet ¶
func (v NullableQuota) IsSet() bool
func (NullableQuota) MarshalJSON ¶
func (v NullableQuota) MarshalJSON() ([]byte, error)
func (*NullableQuota) Set ¶
func (v *NullableQuota) Set(val *Quota)
func (*NullableQuota) UnmarshalJSON ¶
func (v *NullableQuota) UnmarshalJSON(src []byte) error
func (*NullableQuota) Unset ¶
func (v *NullableQuota) Unset()
type NullableQuotaEditLimitRequest ¶
type NullableQuotaEditLimitRequest struct {
// contains filtered or unexported fields
}
func NewNullableQuotaEditLimitRequest ¶
func NewNullableQuotaEditLimitRequest(val *QuotaEditLimitRequest) *NullableQuotaEditLimitRequest
func (NullableQuotaEditLimitRequest) Get ¶
func (v NullableQuotaEditLimitRequest) Get() *QuotaEditLimitRequest
func (NullableQuotaEditLimitRequest) IsSet ¶
func (v NullableQuotaEditLimitRequest) IsSet() bool
func (NullableQuotaEditLimitRequest) MarshalJSON ¶
func (v NullableQuotaEditLimitRequest) MarshalJSON() ([]byte, error)
func (*NullableQuotaEditLimitRequest) Set ¶
func (v *NullableQuotaEditLimitRequest) Set(val *QuotaEditLimitRequest)
func (*NullableQuotaEditLimitRequest) UnmarshalJSON ¶
func (v *NullableQuotaEditLimitRequest) UnmarshalJSON(src []byte) error
func (*NullableQuotaEditLimitRequest) Unset ¶
func (v *NullableQuotaEditLimitRequest) Unset()
type NullableQuotaEditLimitRequestDetails ¶
type NullableQuotaEditLimitRequestDetails struct {
// contains filtered or unexported fields
}
func NewNullableQuotaEditLimitRequestDetails ¶
func NewNullableQuotaEditLimitRequestDetails(val *QuotaEditLimitRequestDetails) *NullableQuotaEditLimitRequestDetails
func (NullableQuotaEditLimitRequestDetails) Get ¶
func (v NullableQuotaEditLimitRequestDetails) Get() *QuotaEditLimitRequestDetails
func (NullableQuotaEditLimitRequestDetails) IsSet ¶
func (v NullableQuotaEditLimitRequestDetails) IsSet() bool
func (NullableQuotaEditLimitRequestDetails) MarshalJSON ¶
func (v NullableQuotaEditLimitRequestDetails) MarshalJSON() ([]byte, error)
func (*NullableQuotaEditLimitRequestDetails) Set ¶
func (v *NullableQuotaEditLimitRequestDetails) Set(val *QuotaEditLimitRequestDetails)
func (*NullableQuotaEditLimitRequestDetails) UnmarshalJSON ¶
func (v *NullableQuotaEditLimitRequestDetails) UnmarshalJSON(src []byte) error
func (*NullableQuotaEditLimitRequestDetails) Unset ¶
func (v *NullableQuotaEditLimitRequestDetails) Unset()
type NullableRelinquishIpBlock ¶
type NullableRelinquishIpBlock struct {
// contains filtered or unexported fields
}
func NewNullableRelinquishIpBlock ¶
func NewNullableRelinquishIpBlock(val *RelinquishIpBlock) *NullableRelinquishIpBlock
func (NullableRelinquishIpBlock) Get ¶
func (v NullableRelinquishIpBlock) Get() *RelinquishIpBlock
func (NullableRelinquishIpBlock) IsSet ¶
func (v NullableRelinquishIpBlock) IsSet() bool
func (NullableRelinquishIpBlock) MarshalJSON ¶
func (v NullableRelinquishIpBlock) MarshalJSON() ([]byte, error)
func (*NullableRelinquishIpBlock) Set ¶
func (v *NullableRelinquishIpBlock) Set(val *RelinquishIpBlock)
func (*NullableRelinquishIpBlock) UnmarshalJSON ¶
func (v *NullableRelinquishIpBlock) UnmarshalJSON(src []byte) error
func (*NullableRelinquishIpBlock) Unset ¶
func (v *NullableRelinquishIpBlock) Unset()
type NullableResetResult ¶
type NullableResetResult struct {
// contains filtered or unexported fields
}
func NewNullableResetResult ¶
func NewNullableResetResult(val *ResetResult) *NullableResetResult
func (NullableResetResult) Get ¶
func (v NullableResetResult) Get() *ResetResult
func (NullableResetResult) IsSet ¶
func (v NullableResetResult) IsSet() bool
func (NullableResetResult) MarshalJSON ¶
func (v NullableResetResult) MarshalJSON() ([]byte, error)
func (*NullableResetResult) Set ¶
func (v *NullableResetResult) Set(val *ResetResult)
func (*NullableResetResult) UnmarshalJSON ¶
func (v *NullableResetResult) UnmarshalJSON(src []byte) error
func (*NullableResetResult) Unset ¶
func (v *NullableResetResult) Unset()
type NullableServer ¶
type NullableServer struct {
// contains filtered or unexported fields
}
func NewNullableServer ¶
func NewNullableServer(val *Server) *NullableServer
func (NullableServer) Get ¶
func (v NullableServer) Get() *Server
func (NullableServer) IsSet ¶
func (v NullableServer) IsSet() bool
func (NullableServer) MarshalJSON ¶
func (v NullableServer) MarshalJSON() ([]byte, error)
func (*NullableServer) Set ¶
func (v *NullableServer) Set(val *Server)
func (*NullableServer) UnmarshalJSON ¶
func (v *NullableServer) UnmarshalJSON(src []byte) error
func (*NullableServer) Unset ¶
func (v *NullableServer) Unset()
type NullableServerCreate ¶
type NullableServerCreate struct {
// contains filtered or unexported fields
}
func NewNullableServerCreate ¶
func NewNullableServerCreate(val *ServerCreate) *NullableServerCreate
func (NullableServerCreate) Get ¶
func (v NullableServerCreate) Get() *ServerCreate
func (NullableServerCreate) IsSet ¶
func (v NullableServerCreate) IsSet() bool
func (NullableServerCreate) MarshalJSON ¶
func (v NullableServerCreate) MarshalJSON() ([]byte, error)
func (*NullableServerCreate) Set ¶
func (v *NullableServerCreate) Set(val *ServerCreate)
func (*NullableServerCreate) UnmarshalJSON ¶
func (v *NullableServerCreate) UnmarshalJSON(src []byte) error
func (*NullableServerCreate) Unset ¶
func (v *NullableServerCreate) Unset()
type NullableServerIpBlock ¶
type NullableServerIpBlock struct {
// contains filtered or unexported fields
}
func NewNullableServerIpBlock ¶
func NewNullableServerIpBlock(val *ServerIpBlock) *NullableServerIpBlock
func (NullableServerIpBlock) Get ¶
func (v NullableServerIpBlock) Get() *ServerIpBlock
func (NullableServerIpBlock) IsSet ¶
func (v NullableServerIpBlock) IsSet() bool
func (NullableServerIpBlock) MarshalJSON ¶
func (v NullableServerIpBlock) MarshalJSON() ([]byte, error)
func (*NullableServerIpBlock) Set ¶
func (v *NullableServerIpBlock) Set(val *ServerIpBlock)
func (*NullableServerIpBlock) UnmarshalJSON ¶
func (v *NullableServerIpBlock) UnmarshalJSON(src []byte) error
func (*NullableServerIpBlock) Unset ¶
func (v *NullableServerIpBlock) Unset()
type NullableServerNetworkUpdate ¶
type NullableServerNetworkUpdate struct {
// contains filtered or unexported fields
}
func NewNullableServerNetworkUpdate ¶
func NewNullableServerNetworkUpdate(val *ServerNetworkUpdate) *NullableServerNetworkUpdate
func (NullableServerNetworkUpdate) Get ¶
func (v NullableServerNetworkUpdate) Get() *ServerNetworkUpdate
func (NullableServerNetworkUpdate) IsSet ¶
func (v NullableServerNetworkUpdate) IsSet() bool
func (NullableServerNetworkUpdate) MarshalJSON ¶
func (v NullableServerNetworkUpdate) MarshalJSON() ([]byte, error)
func (*NullableServerNetworkUpdate) Set ¶
func (v *NullableServerNetworkUpdate) Set(val *ServerNetworkUpdate)
func (*NullableServerNetworkUpdate) UnmarshalJSON ¶
func (v *NullableServerNetworkUpdate) UnmarshalJSON(src []byte) error
func (*NullableServerNetworkUpdate) Unset ¶
func (v *NullableServerNetworkUpdate) Unset()
type NullableServerPatch ¶
type NullableServerPatch struct {
// contains filtered or unexported fields
}
func NewNullableServerPatch ¶
func NewNullableServerPatch(val *ServerPatch) *NullableServerPatch
func (NullableServerPatch) Get ¶
func (v NullableServerPatch) Get() *ServerPatch
func (NullableServerPatch) IsSet ¶
func (v NullableServerPatch) IsSet() bool
func (NullableServerPatch) MarshalJSON ¶
func (v NullableServerPatch) MarshalJSON() ([]byte, error)
func (*NullableServerPatch) Set ¶
func (v *NullableServerPatch) Set(val *ServerPatch)
func (*NullableServerPatch) UnmarshalJSON ¶
func (v *NullableServerPatch) UnmarshalJSON(src []byte) error
func (*NullableServerPatch) Unset ¶
func (v *NullableServerPatch) Unset()
type NullableServerPrivateNetwork ¶
type NullableServerPrivateNetwork struct {
// contains filtered or unexported fields
}
func NewNullableServerPrivateNetwork ¶
func NewNullableServerPrivateNetwork(val *ServerPrivateNetwork) *NullableServerPrivateNetwork
func (NullableServerPrivateNetwork) Get ¶
func (v NullableServerPrivateNetwork) Get() *ServerPrivateNetwork
func (NullableServerPrivateNetwork) IsSet ¶
func (v NullableServerPrivateNetwork) IsSet() bool
func (NullableServerPrivateNetwork) MarshalJSON ¶
func (v NullableServerPrivateNetwork) MarshalJSON() ([]byte, error)
func (*NullableServerPrivateNetwork) Set ¶
func (v *NullableServerPrivateNetwork) Set(val *ServerPrivateNetwork)
func (*NullableServerPrivateNetwork) UnmarshalJSON ¶
func (v *NullableServerPrivateNetwork) UnmarshalJSON(src []byte) error
func (*NullableServerPrivateNetwork) Unset ¶
func (v *NullableServerPrivateNetwork) Unset()
type NullableServerProvision ¶
type NullableServerProvision struct {
// contains filtered or unexported fields
}
func NewNullableServerProvision ¶
func NewNullableServerProvision(val *ServerProvision) *NullableServerProvision
func (NullableServerProvision) Get ¶
func (v NullableServerProvision) Get() *ServerProvision
func (NullableServerProvision) IsSet ¶
func (v NullableServerProvision) IsSet() bool
func (NullableServerProvision) MarshalJSON ¶
func (v NullableServerProvision) MarshalJSON() ([]byte, error)
func (*NullableServerProvision) Set ¶
func (v *NullableServerProvision) Set(val *ServerProvision)
func (*NullableServerProvision) UnmarshalJSON ¶
func (v *NullableServerProvision) UnmarshalJSON(src []byte) error
func (*NullableServerProvision) Unset ¶
func (v *NullableServerProvision) Unset()
type NullableServerPublicNetwork ¶
type NullableServerPublicNetwork struct {
// contains filtered or unexported fields
}
func NewNullableServerPublicNetwork ¶
func NewNullableServerPublicNetwork(val *ServerPublicNetwork) *NullableServerPublicNetwork
func (NullableServerPublicNetwork) Get ¶
func (v NullableServerPublicNetwork) Get() *ServerPublicNetwork
func (NullableServerPublicNetwork) IsSet ¶
func (v NullableServerPublicNetwork) IsSet() bool
func (NullableServerPublicNetwork) MarshalJSON ¶
func (v NullableServerPublicNetwork) MarshalJSON() ([]byte, error)
func (*NullableServerPublicNetwork) Set ¶
func (v *NullableServerPublicNetwork) Set(val *ServerPublicNetwork)
func (*NullableServerPublicNetwork) UnmarshalJSON ¶
func (v *NullableServerPublicNetwork) UnmarshalJSON(src []byte) error
func (*NullableServerPublicNetwork) Unset ¶
func (v *NullableServerPublicNetwork) Unset()
type NullableServerReserve ¶
type NullableServerReserve struct {
// contains filtered or unexported fields
}
func NewNullableServerReserve ¶
func NewNullableServerReserve(val *ServerReserve) *NullableServerReserve
func (NullableServerReserve) Get ¶
func (v NullableServerReserve) Get() *ServerReserve
func (NullableServerReserve) IsSet ¶
func (v NullableServerReserve) IsSet() bool
func (NullableServerReserve) MarshalJSON ¶
func (v NullableServerReserve) MarshalJSON() ([]byte, error)
func (*NullableServerReserve) Set ¶
func (v *NullableServerReserve) Set(val *ServerReserve)
func (*NullableServerReserve) UnmarshalJSON ¶
func (v *NullableServerReserve) UnmarshalJSON(src []byte) error
func (*NullableServerReserve) Unset ¶
func (v *NullableServerReserve) Unset()
type NullableServerReset ¶
type NullableServerReset struct {
// contains filtered or unexported fields
}
func NewNullableServerReset ¶
func NewNullableServerReset(val *ServerReset) *NullableServerReset
func (NullableServerReset) Get ¶
func (v NullableServerReset) Get() *ServerReset
func (NullableServerReset) IsSet ¶
func (v NullableServerReset) IsSet() bool
func (NullableServerReset) MarshalJSON ¶
func (v NullableServerReset) MarshalJSON() ([]byte, error)
func (*NullableServerReset) Set ¶
func (v *NullableServerReset) Set(val *ServerReset)
func (*NullableServerReset) UnmarshalJSON ¶
func (v *NullableServerReset) UnmarshalJSON(src []byte) error
func (*NullableServerReset) Unset ¶
func (v *NullableServerReset) Unset()
type NullableSshKey ¶
type NullableSshKey struct {
// contains filtered or unexported fields
}
func NewNullableSshKey ¶
func NewNullableSshKey(val *SshKey) *NullableSshKey
func (NullableSshKey) Get ¶
func (v NullableSshKey) Get() *SshKey
func (NullableSshKey) IsSet ¶
func (v NullableSshKey) IsSet() bool
func (NullableSshKey) MarshalJSON ¶
func (v NullableSshKey) MarshalJSON() ([]byte, error)
func (*NullableSshKey) Set ¶
func (v *NullableSshKey) Set(val *SshKey)
func (*NullableSshKey) UnmarshalJSON ¶
func (v *NullableSshKey) UnmarshalJSON(src []byte) error
func (*NullableSshKey) Unset ¶
func (v *NullableSshKey) Unset()
type NullableSshKeyCreate ¶
type NullableSshKeyCreate struct {
// contains filtered or unexported fields
}
func NewNullableSshKeyCreate ¶
func NewNullableSshKeyCreate(val *SshKeyCreate) *NullableSshKeyCreate
func (NullableSshKeyCreate) Get ¶
func (v NullableSshKeyCreate) Get() *SshKeyCreate
func (NullableSshKeyCreate) IsSet ¶
func (v NullableSshKeyCreate) IsSet() bool
func (NullableSshKeyCreate) MarshalJSON ¶
func (v NullableSshKeyCreate) MarshalJSON() ([]byte, error)
func (*NullableSshKeyCreate) Set ¶
func (v *NullableSshKeyCreate) Set(val *SshKeyCreate)
func (*NullableSshKeyCreate) UnmarshalJSON ¶
func (v *NullableSshKeyCreate) UnmarshalJSON(src []byte) error
func (*NullableSshKeyCreate) Unset ¶
func (v *NullableSshKeyCreate) Unset()
type NullableSshKeyUpdate ¶
type NullableSshKeyUpdate struct {
// contains filtered or unexported fields
}
func NewNullableSshKeyUpdate ¶
func NewNullableSshKeyUpdate(val *SshKeyUpdate) *NullableSshKeyUpdate
func (NullableSshKeyUpdate) Get ¶
func (v NullableSshKeyUpdate) Get() *SshKeyUpdate
func (NullableSshKeyUpdate) IsSet ¶
func (v NullableSshKeyUpdate) IsSet() bool
func (NullableSshKeyUpdate) MarshalJSON ¶
func (v NullableSshKeyUpdate) MarshalJSON() ([]byte, error)
func (*NullableSshKeyUpdate) Set ¶
func (v *NullableSshKeyUpdate) Set(val *SshKeyUpdate)
func (*NullableSshKeyUpdate) UnmarshalJSON ¶
func (v *NullableSshKeyUpdate) UnmarshalJSON(src []byte) error
func (*NullableSshKeyUpdate) Unset ¶
func (v *NullableSshKeyUpdate) Unset()
type NullableStorageConfiguration ¶
type NullableStorageConfiguration struct {
// contains filtered or unexported fields
}
func NewNullableStorageConfiguration ¶
func NewNullableStorageConfiguration(val *StorageConfiguration) *NullableStorageConfiguration
func (NullableStorageConfiguration) Get ¶
func (v NullableStorageConfiguration) Get() *StorageConfiguration
func (NullableStorageConfiguration) IsSet ¶
func (v NullableStorageConfiguration) IsSet() bool
func (NullableStorageConfiguration) MarshalJSON ¶
func (v NullableStorageConfiguration) MarshalJSON() ([]byte, error)
func (*NullableStorageConfiguration) Set ¶
func (v *NullableStorageConfiguration) Set(val *StorageConfiguration)
func (*NullableStorageConfiguration) UnmarshalJSON ¶
func (v *NullableStorageConfiguration) UnmarshalJSON(src []byte) error
func (*NullableStorageConfiguration) Unset ¶
func (v *NullableStorageConfiguration) Unset()
type NullableStorageConfigurationRootPartition ¶
type NullableStorageConfigurationRootPartition struct {
// contains filtered or unexported fields
}
func NewNullableStorageConfigurationRootPartition ¶
func NewNullableStorageConfigurationRootPartition(val *StorageConfigurationRootPartition) *NullableStorageConfigurationRootPartition
func (NullableStorageConfigurationRootPartition) IsSet ¶
func (v NullableStorageConfigurationRootPartition) IsSet() bool
func (NullableStorageConfigurationRootPartition) MarshalJSON ¶
func (v NullableStorageConfigurationRootPartition) MarshalJSON() ([]byte, error)
func (*NullableStorageConfigurationRootPartition) Set ¶
func (v *NullableStorageConfigurationRootPartition) Set(val *StorageConfigurationRootPartition)
func (*NullableStorageConfigurationRootPartition) UnmarshalJSON ¶
func (v *NullableStorageConfigurationRootPartition) UnmarshalJSON(src []byte) error
func (*NullableStorageConfigurationRootPartition) Unset ¶
func (v *NullableStorageConfigurationRootPartition) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTagAssignment ¶
type NullableTagAssignment struct {
// contains filtered or unexported fields
}
func NewNullableTagAssignment ¶
func NewNullableTagAssignment(val *TagAssignment) *NullableTagAssignment
func (NullableTagAssignment) Get ¶
func (v NullableTagAssignment) Get() *TagAssignment
func (NullableTagAssignment) IsSet ¶
func (v NullableTagAssignment) IsSet() bool
func (NullableTagAssignment) MarshalJSON ¶
func (v NullableTagAssignment) MarshalJSON() ([]byte, error)
func (*NullableTagAssignment) Set ¶
func (v *NullableTagAssignment) Set(val *TagAssignment)
func (*NullableTagAssignment) UnmarshalJSON ¶
func (v *NullableTagAssignment) UnmarshalJSON(src []byte) error
func (*NullableTagAssignment) Unset ¶
func (v *NullableTagAssignment) Unset()
type NullableTagAssignmentRequest ¶
type NullableTagAssignmentRequest struct {
// contains filtered or unexported fields
}
func NewNullableTagAssignmentRequest ¶
func NewNullableTagAssignmentRequest(val *TagAssignmentRequest) *NullableTagAssignmentRequest
func (NullableTagAssignmentRequest) Get ¶
func (v NullableTagAssignmentRequest) Get() *TagAssignmentRequest
func (NullableTagAssignmentRequest) IsSet ¶
func (v NullableTagAssignmentRequest) IsSet() bool
func (NullableTagAssignmentRequest) MarshalJSON ¶
func (v NullableTagAssignmentRequest) MarshalJSON() ([]byte, error)
func (*NullableTagAssignmentRequest) Set ¶
func (v *NullableTagAssignmentRequest) Set(val *TagAssignmentRequest)
func (*NullableTagAssignmentRequest) UnmarshalJSON ¶
func (v *NullableTagAssignmentRequest) UnmarshalJSON(src []byte) error
func (*NullableTagAssignmentRequest) Unset ¶
func (v *NullableTagAssignmentRequest) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type OsConfiguration ¶
type OsConfiguration struct { NetrisController *OsConfigurationNetrisController `json:"netrisController,omitempty"` NetrisSoftgate *OsConfigurationNetrisSoftgate `json:"netrisSoftgate,omitempty"` Windows *OsConfigurationWindows `json:"windows,omitempty"` // (Read-only) Auto-generated password set for user 'root' on an ESXi or Proxmox server.<br> The password is not stored and therefore will only be returned in response to provisioning a server. Copy and save it for future reference. RootPassword *string `json:"rootPassword,omitempty"` // (Read-only) The URL of the management UI which will only be returned in response to provisioning a server. ManagementUiUrl *string `json:"managementUiUrl,omitempty"` // List of IPs allowed to access the Management UI. Supported in single IP, CIDR and range format. When undefined, Management UI is disabled. This will only be returned in response to provisioning a server. ManagementAccessAllowedIps []string `json:"managementAccessAllowedIps,omitempty"` // If true, OS will be installed to and booted from the server's RAM. On restart RAM OS will be lost and the server will not be reachable unless a custom bootable OS has been deployed. Follow the <a href='https://phoenixnap.com/kb/bmc-custom-os' target='_blank'>instructions</a> on how to install custom OS on BMC. Only supported for ubuntu/focal and ubuntu/jammy. InstallOsToRam *bool `json:"installOsToRam,omitempty"` Esxi *EsxiOsConfiguration `json:"esxi,omitempty"` CloudInit *OsConfigurationCloudInit `json:"cloudInit,omitempty"` AdditionalProperties map[string]interface{} }
OsConfiguration OS specific configuration properties.
func NewOsConfiguration ¶
func NewOsConfiguration() *OsConfiguration
NewOsConfiguration instantiates a new OsConfiguration object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOsConfigurationWithDefaults ¶
func NewOsConfigurationWithDefaults() *OsConfiguration
NewOsConfigurationWithDefaults instantiates a new OsConfiguration object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*OsConfiguration) GetCloudInit ¶
func (o *OsConfiguration) GetCloudInit() OsConfigurationCloudInit
GetCloudInit returns the CloudInit field value if set, zero value otherwise.
func (*OsConfiguration) GetCloudInitOk ¶
func (o *OsConfiguration) GetCloudInitOk() (*OsConfigurationCloudInit, bool)
GetCloudInitOk returns a tuple with the CloudInit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OsConfiguration) GetEsxi ¶ added in v3.1.0
func (o *OsConfiguration) GetEsxi() EsxiOsConfiguration
GetEsxi returns the Esxi field value if set, zero value otherwise.
func (*OsConfiguration) GetEsxiOk ¶ added in v3.1.0
func (o *OsConfiguration) GetEsxiOk() (*EsxiOsConfiguration, bool)
GetEsxiOk returns a tuple with the Esxi field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OsConfiguration) GetInstallOsToRam ¶
func (o *OsConfiguration) GetInstallOsToRam() bool
GetInstallOsToRam returns the InstallOsToRam field value if set, zero value otherwise.
func (*OsConfiguration) GetInstallOsToRamOk ¶
func (o *OsConfiguration) GetInstallOsToRamOk() (*bool, bool)
GetInstallOsToRamOk returns a tuple with the InstallOsToRam field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OsConfiguration) GetManagementAccessAllowedIps ¶
func (o *OsConfiguration) GetManagementAccessAllowedIps() []string
GetManagementAccessAllowedIps returns the ManagementAccessAllowedIps field value if set, zero value otherwise.
func (*OsConfiguration) GetManagementAccessAllowedIpsOk ¶
func (o *OsConfiguration) GetManagementAccessAllowedIpsOk() ([]string, bool)
GetManagementAccessAllowedIpsOk returns a tuple with the ManagementAccessAllowedIps field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OsConfiguration) GetManagementUiUrl ¶
func (o *OsConfiguration) GetManagementUiUrl() string
GetManagementUiUrl returns the ManagementUiUrl field value if set, zero value otherwise.
func (*OsConfiguration) GetManagementUiUrlOk ¶
func (o *OsConfiguration) GetManagementUiUrlOk() (*string, bool)
GetManagementUiUrlOk returns a tuple with the ManagementUiUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OsConfiguration) GetNetrisController ¶
func (o *OsConfiguration) GetNetrisController() OsConfigurationNetrisController
GetNetrisController returns the NetrisController field value if set, zero value otherwise.
func (*OsConfiguration) GetNetrisControllerOk ¶
func (o *OsConfiguration) GetNetrisControllerOk() (*OsConfigurationNetrisController, bool)
GetNetrisControllerOk returns a tuple with the NetrisController field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OsConfiguration) GetNetrisSoftgate ¶
func (o *OsConfiguration) GetNetrisSoftgate() OsConfigurationNetrisSoftgate
GetNetrisSoftgate returns the NetrisSoftgate field value if set, zero value otherwise.
func (*OsConfiguration) GetNetrisSoftgateOk ¶
func (o *OsConfiguration) GetNetrisSoftgateOk() (*OsConfigurationNetrisSoftgate, bool)
GetNetrisSoftgateOk returns a tuple with the NetrisSoftgate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OsConfiguration) GetRootPassword ¶
func (o *OsConfiguration) GetRootPassword() string
GetRootPassword returns the RootPassword field value if set, zero value otherwise.
func (*OsConfiguration) GetRootPasswordOk ¶
func (o *OsConfiguration) GetRootPasswordOk() (*string, bool)
GetRootPasswordOk returns a tuple with the RootPassword field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OsConfiguration) GetWindows ¶
func (o *OsConfiguration) GetWindows() OsConfigurationWindows
GetWindows returns the Windows field value if set, zero value otherwise.
func (*OsConfiguration) GetWindowsOk ¶
func (o *OsConfiguration) GetWindowsOk() (*OsConfigurationWindows, bool)
GetWindowsOk returns a tuple with the Windows field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OsConfiguration) HasCloudInit ¶
func (o *OsConfiguration) HasCloudInit() bool
HasCloudInit returns a boolean if a field has been set.
func (*OsConfiguration) HasEsxi ¶ added in v3.1.0
func (o *OsConfiguration) HasEsxi() bool
HasEsxi returns a boolean if a field has been set.
func (*OsConfiguration) HasInstallOsToRam ¶
func (o *OsConfiguration) HasInstallOsToRam() bool
HasInstallOsToRam returns a boolean if a field has been set.
func (*OsConfiguration) HasManagementAccessAllowedIps ¶
func (o *OsConfiguration) HasManagementAccessAllowedIps() bool
HasManagementAccessAllowedIps returns a boolean if a field has been set.
func (*OsConfiguration) HasManagementUiUrl ¶
func (o *OsConfiguration) HasManagementUiUrl() bool
HasManagementUiUrl returns a boolean if a field has been set.
func (*OsConfiguration) HasNetrisController ¶
func (o *OsConfiguration) HasNetrisController() bool
HasNetrisController returns a boolean if a field has been set.
func (*OsConfiguration) HasNetrisSoftgate ¶
func (o *OsConfiguration) HasNetrisSoftgate() bool
HasNetrisSoftgate returns a boolean if a field has been set.
func (*OsConfiguration) HasRootPassword ¶
func (o *OsConfiguration) HasRootPassword() bool
HasRootPassword returns a boolean if a field has been set.
func (*OsConfiguration) HasWindows ¶
func (o *OsConfiguration) HasWindows() bool
HasWindows returns a boolean if a field has been set.
func (OsConfiguration) MarshalJSON ¶
func (o OsConfiguration) MarshalJSON() ([]byte, error)
func (*OsConfiguration) SetCloudInit ¶
func (o *OsConfiguration) SetCloudInit(v OsConfigurationCloudInit)
SetCloudInit gets a reference to the given OsConfigurationCloudInit and assigns it to the CloudInit field.
func (*OsConfiguration) SetEsxi ¶ added in v3.1.0
func (o *OsConfiguration) SetEsxi(v EsxiOsConfiguration)
SetEsxi gets a reference to the given EsxiOsConfiguration and assigns it to the Esxi field.
func (*OsConfiguration) SetInstallOsToRam ¶
func (o *OsConfiguration) SetInstallOsToRam(v bool)
SetInstallOsToRam gets a reference to the given bool and assigns it to the InstallOsToRam field.
func (*OsConfiguration) SetManagementAccessAllowedIps ¶
func (o *OsConfiguration) SetManagementAccessAllowedIps(v []string)
SetManagementAccessAllowedIps gets a reference to the given []string and assigns it to the ManagementAccessAllowedIps field.
func (*OsConfiguration) SetManagementUiUrl ¶
func (o *OsConfiguration) SetManagementUiUrl(v string)
SetManagementUiUrl gets a reference to the given string and assigns it to the ManagementUiUrl field.
func (*OsConfiguration) SetNetrisController ¶
func (o *OsConfiguration) SetNetrisController(v OsConfigurationNetrisController)
SetNetrisController gets a reference to the given OsConfigurationNetrisController and assigns it to the NetrisController field.
func (*OsConfiguration) SetNetrisSoftgate ¶
func (o *OsConfiguration) SetNetrisSoftgate(v OsConfigurationNetrisSoftgate)
SetNetrisSoftgate gets a reference to the given OsConfigurationNetrisSoftgate and assigns it to the NetrisSoftgate field.
func (*OsConfiguration) SetRootPassword ¶
func (o *OsConfiguration) SetRootPassword(v string)
SetRootPassword gets a reference to the given string and assigns it to the RootPassword field.
func (*OsConfiguration) SetWindows ¶
func (o *OsConfiguration) SetWindows(v OsConfigurationWindows)
SetWindows gets a reference to the given OsConfigurationWindows and assigns it to the Windows field.
func (OsConfiguration) ToMap ¶
func (o OsConfiguration) ToMap() (map[string]interface{}, error)
func (*OsConfiguration) UnmarshalJSON ¶ added in v3.0.1
func (o *OsConfiguration) UnmarshalJSON(data []byte) (err error)
type OsConfigurationCloudInit ¶
type OsConfigurationCloudInit struct { // (Write-only) User data for the <a href='https://cloudinit.readthedocs.io/en/latest/' target='_blank'>cloud-init</a> configuration in base64 encoding. NoCloud format is supported. Follow the <a href='https://phoenixnap.com/kb/bmc-cloud-init' target='_blank'>instructions</a> on how to provision a server using cloud-init. Only ubuntu/bionic, ubuntu/focal and ubuntu/jammy are supported. User data will not be stored and cannot be retrieved once you deploy the server. Copy and save it for future reference. UserData *string `json:"userData,omitempty"` AdditionalProperties map[string]interface{} }
OsConfigurationCloudInit Cloud-init configuration details.
func NewOsConfigurationCloudInit ¶
func NewOsConfigurationCloudInit() *OsConfigurationCloudInit
NewOsConfigurationCloudInit instantiates a new OsConfigurationCloudInit object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOsConfigurationCloudInitWithDefaults ¶
func NewOsConfigurationCloudInitWithDefaults() *OsConfigurationCloudInit
NewOsConfigurationCloudInitWithDefaults instantiates a new OsConfigurationCloudInit object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*OsConfigurationCloudInit) GetUserData ¶
func (o *OsConfigurationCloudInit) GetUserData() string
GetUserData returns the UserData field value if set, zero value otherwise.
func (*OsConfigurationCloudInit) GetUserDataOk ¶
func (o *OsConfigurationCloudInit) GetUserDataOk() (*string, bool)
GetUserDataOk returns a tuple with the UserData field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OsConfigurationCloudInit) HasUserData ¶
func (o *OsConfigurationCloudInit) HasUserData() bool
HasUserData returns a boolean if a field has been set.
func (OsConfigurationCloudInit) MarshalJSON ¶
func (o OsConfigurationCloudInit) MarshalJSON() ([]byte, error)
func (*OsConfigurationCloudInit) SetUserData ¶
func (o *OsConfigurationCloudInit) SetUserData(v string)
SetUserData gets a reference to the given string and assigns it to the UserData field.
func (OsConfigurationCloudInit) ToMap ¶
func (o OsConfigurationCloudInit) ToMap() (map[string]interface{}, error)
func (*OsConfigurationCloudInit) UnmarshalJSON ¶ added in v3.0.1
func (o *OsConfigurationCloudInit) UnmarshalJSON(data []byte) (err error)
type OsConfigurationMap ¶
type OsConfigurationMap struct { Windows *OsConfigurationWindows `json:"windows,omitempty"` Esxi *OsConfigurationMapEsxi `json:"esxi,omitempty"` Proxmox *OsConfigurationMapProxmox `json:"proxmox,omitempty"` AdditionalProperties map[string]interface{} }
OsConfigurationMap OS specific configuration properties.
func NewOsConfigurationMap ¶
func NewOsConfigurationMap() *OsConfigurationMap
NewOsConfigurationMap instantiates a new OsConfigurationMap object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOsConfigurationMapWithDefaults ¶
func NewOsConfigurationMapWithDefaults() *OsConfigurationMap
NewOsConfigurationMapWithDefaults instantiates a new OsConfigurationMap object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*OsConfigurationMap) GetEsxi ¶
func (o *OsConfigurationMap) GetEsxi() OsConfigurationMapEsxi
GetEsxi returns the Esxi field value if set, zero value otherwise.
func (*OsConfigurationMap) GetEsxiOk ¶
func (o *OsConfigurationMap) GetEsxiOk() (*OsConfigurationMapEsxi, bool)
GetEsxiOk returns a tuple with the Esxi field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OsConfigurationMap) GetProxmox ¶
func (o *OsConfigurationMap) GetProxmox() OsConfigurationMapProxmox
GetProxmox returns the Proxmox field value if set, zero value otherwise.
func (*OsConfigurationMap) GetProxmoxOk ¶
func (o *OsConfigurationMap) GetProxmoxOk() (*OsConfigurationMapProxmox, bool)
GetProxmoxOk returns a tuple with the Proxmox field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OsConfigurationMap) GetWindows ¶
func (o *OsConfigurationMap) GetWindows() OsConfigurationWindows
GetWindows returns the Windows field value if set, zero value otherwise.
func (*OsConfigurationMap) GetWindowsOk ¶
func (o *OsConfigurationMap) GetWindowsOk() (*OsConfigurationWindows, bool)
GetWindowsOk returns a tuple with the Windows field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OsConfigurationMap) HasEsxi ¶
func (o *OsConfigurationMap) HasEsxi() bool
HasEsxi returns a boolean if a field has been set.
func (*OsConfigurationMap) HasProxmox ¶
func (o *OsConfigurationMap) HasProxmox() bool
HasProxmox returns a boolean if a field has been set.
func (*OsConfigurationMap) HasWindows ¶
func (o *OsConfigurationMap) HasWindows() bool
HasWindows returns a boolean if a field has been set.
func (OsConfigurationMap) MarshalJSON ¶
func (o OsConfigurationMap) MarshalJSON() ([]byte, error)
func (*OsConfigurationMap) SetEsxi ¶
func (o *OsConfigurationMap) SetEsxi(v OsConfigurationMapEsxi)
SetEsxi gets a reference to the given OsConfigurationMapEsxi and assigns it to the Esxi field.
func (*OsConfigurationMap) SetProxmox ¶
func (o *OsConfigurationMap) SetProxmox(v OsConfigurationMapProxmox)
SetProxmox gets a reference to the given OsConfigurationMapProxmox and assigns it to the Proxmox field.
func (*OsConfigurationMap) SetWindows ¶
func (o *OsConfigurationMap) SetWindows(v OsConfigurationWindows)
SetWindows gets a reference to the given OsConfigurationWindows and assigns it to the Windows field.
func (OsConfigurationMap) ToMap ¶
func (o OsConfigurationMap) ToMap() (map[string]interface{}, error)
func (*OsConfigurationMap) UnmarshalJSON ¶ added in v3.0.1
func (o *OsConfigurationMap) UnmarshalJSON(data []byte) (err error)
type OsConfigurationMapEsxi ¶
type OsConfigurationMapEsxi struct { // (Read-only) Password set for user root on an ESXi server which will only be returned in response to provisioning a server. RootPassword *string `json:"rootPassword,omitempty"` // (Read-only) The URL of the management UI which will only be returned in response to provisioning a server. ManagementUiUrl *string `json:"managementUiUrl,omitempty"` // List of IPs allowed to access the Management UI. Supported in single IP, CIDR and range format. When undefined, Management UI is disabled. This will only be returned in response to provisioning a server. ManagementAccessAllowedIps []string `json:"managementAccessAllowedIps,omitempty"` AdditionalProperties map[string]interface{} }
OsConfigurationMapEsxi VMWare ESXi configuration properties.
func NewOsConfigurationMapEsxi ¶
func NewOsConfigurationMapEsxi() *OsConfigurationMapEsxi
NewOsConfigurationMapEsxi instantiates a new OsConfigurationMapEsxi object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOsConfigurationMapEsxiWithDefaults ¶
func NewOsConfigurationMapEsxiWithDefaults() *OsConfigurationMapEsxi
NewOsConfigurationMapEsxiWithDefaults instantiates a new OsConfigurationMapEsxi object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*OsConfigurationMapEsxi) GetManagementAccessAllowedIps ¶
func (o *OsConfigurationMapEsxi) GetManagementAccessAllowedIps() []string
GetManagementAccessAllowedIps returns the ManagementAccessAllowedIps field value if set, zero value otherwise.
func (*OsConfigurationMapEsxi) GetManagementAccessAllowedIpsOk ¶
func (o *OsConfigurationMapEsxi) GetManagementAccessAllowedIpsOk() ([]string, bool)
GetManagementAccessAllowedIpsOk returns a tuple with the ManagementAccessAllowedIps field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OsConfigurationMapEsxi) GetManagementUiUrl ¶
func (o *OsConfigurationMapEsxi) GetManagementUiUrl() string
GetManagementUiUrl returns the ManagementUiUrl field value if set, zero value otherwise.
func (*OsConfigurationMapEsxi) GetManagementUiUrlOk ¶
func (o *OsConfigurationMapEsxi) GetManagementUiUrlOk() (*string, bool)
GetManagementUiUrlOk returns a tuple with the ManagementUiUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OsConfigurationMapEsxi) GetRootPassword ¶
func (o *OsConfigurationMapEsxi) GetRootPassword() string
GetRootPassword returns the RootPassword field value if set, zero value otherwise.
func (*OsConfigurationMapEsxi) GetRootPasswordOk ¶
func (o *OsConfigurationMapEsxi) GetRootPasswordOk() (*string, bool)
GetRootPasswordOk returns a tuple with the RootPassword field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OsConfigurationMapEsxi) HasManagementAccessAllowedIps ¶
func (o *OsConfigurationMapEsxi) HasManagementAccessAllowedIps() bool
HasManagementAccessAllowedIps returns a boolean if a field has been set.
func (*OsConfigurationMapEsxi) HasManagementUiUrl ¶
func (o *OsConfigurationMapEsxi) HasManagementUiUrl() bool
HasManagementUiUrl returns a boolean if a field has been set.
func (*OsConfigurationMapEsxi) HasRootPassword ¶
func (o *OsConfigurationMapEsxi) HasRootPassword() bool
HasRootPassword returns a boolean if a field has been set.
func (OsConfigurationMapEsxi) MarshalJSON ¶
func (o OsConfigurationMapEsxi) MarshalJSON() ([]byte, error)
func (*OsConfigurationMapEsxi) SetManagementAccessAllowedIps ¶
func (o *OsConfigurationMapEsxi) SetManagementAccessAllowedIps(v []string)
SetManagementAccessAllowedIps gets a reference to the given []string and assigns it to the ManagementAccessAllowedIps field.
func (*OsConfigurationMapEsxi) SetManagementUiUrl ¶
func (o *OsConfigurationMapEsxi) SetManagementUiUrl(v string)
SetManagementUiUrl gets a reference to the given string and assigns it to the ManagementUiUrl field.
func (*OsConfigurationMapEsxi) SetRootPassword ¶
func (o *OsConfigurationMapEsxi) SetRootPassword(v string)
SetRootPassword gets a reference to the given string and assigns it to the RootPassword field.
func (OsConfigurationMapEsxi) ToMap ¶
func (o OsConfigurationMapEsxi) ToMap() (map[string]interface{}, error)
func (*OsConfigurationMapEsxi) UnmarshalJSON ¶ added in v3.0.1
func (o *OsConfigurationMapEsxi) UnmarshalJSON(data []byte) (err error)
type OsConfigurationMapProxmox ¶
type OsConfigurationMapProxmox struct { // (Read-only) Password set for user root on a Proxmox server which will only be returned in response to provisioning a server. RootPassword *string `json:"rootPassword,omitempty"` // (Read-only) The URL of the management UI which will only be returned in response to provisioning a server. ManagementUiUrl *string `json:"managementUiUrl,omitempty"` // List of IPs allowed to access the Management UI. Supported in single IP, CIDR and range format. When undefined, Management UI is disabled. This will only be returned in response to provisioning a server. ManagementAccessAllowedIps []string `json:"managementAccessAllowedIps,omitempty"` AdditionalProperties map[string]interface{} }
OsConfigurationMapProxmox Proxmox VE configuration properties.
func NewOsConfigurationMapProxmox ¶
func NewOsConfigurationMapProxmox() *OsConfigurationMapProxmox
NewOsConfigurationMapProxmox instantiates a new OsConfigurationMapProxmox object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOsConfigurationMapProxmoxWithDefaults ¶
func NewOsConfigurationMapProxmoxWithDefaults() *OsConfigurationMapProxmox
NewOsConfigurationMapProxmoxWithDefaults instantiates a new OsConfigurationMapProxmox object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*OsConfigurationMapProxmox) GetManagementAccessAllowedIps ¶
func (o *OsConfigurationMapProxmox) GetManagementAccessAllowedIps() []string
GetManagementAccessAllowedIps returns the ManagementAccessAllowedIps field value if set, zero value otherwise.
func (*OsConfigurationMapProxmox) GetManagementAccessAllowedIpsOk ¶
func (o *OsConfigurationMapProxmox) GetManagementAccessAllowedIpsOk() ([]string, bool)
GetManagementAccessAllowedIpsOk returns a tuple with the ManagementAccessAllowedIps field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OsConfigurationMapProxmox) GetManagementUiUrl ¶
func (o *OsConfigurationMapProxmox) GetManagementUiUrl() string
GetManagementUiUrl returns the ManagementUiUrl field value if set, zero value otherwise.
func (*OsConfigurationMapProxmox) GetManagementUiUrlOk ¶
func (o *OsConfigurationMapProxmox) GetManagementUiUrlOk() (*string, bool)
GetManagementUiUrlOk returns a tuple with the ManagementUiUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OsConfigurationMapProxmox) GetRootPassword ¶
func (o *OsConfigurationMapProxmox) GetRootPassword() string
GetRootPassword returns the RootPassword field value if set, zero value otherwise.
func (*OsConfigurationMapProxmox) GetRootPasswordOk ¶
func (o *OsConfigurationMapProxmox) GetRootPasswordOk() (*string, bool)
GetRootPasswordOk returns a tuple with the RootPassword field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OsConfigurationMapProxmox) HasManagementAccessAllowedIps ¶
func (o *OsConfigurationMapProxmox) HasManagementAccessAllowedIps() bool
HasManagementAccessAllowedIps returns a boolean if a field has been set.
func (*OsConfigurationMapProxmox) HasManagementUiUrl ¶
func (o *OsConfigurationMapProxmox) HasManagementUiUrl() bool
HasManagementUiUrl returns a boolean if a field has been set.
func (*OsConfigurationMapProxmox) HasRootPassword ¶
func (o *OsConfigurationMapProxmox) HasRootPassword() bool
HasRootPassword returns a boolean if a field has been set.
func (OsConfigurationMapProxmox) MarshalJSON ¶
func (o OsConfigurationMapProxmox) MarshalJSON() ([]byte, error)
func (*OsConfigurationMapProxmox) SetManagementAccessAllowedIps ¶
func (o *OsConfigurationMapProxmox) SetManagementAccessAllowedIps(v []string)
SetManagementAccessAllowedIps gets a reference to the given []string and assigns it to the ManagementAccessAllowedIps field.
func (*OsConfigurationMapProxmox) SetManagementUiUrl ¶
func (o *OsConfigurationMapProxmox) SetManagementUiUrl(v string)
SetManagementUiUrl gets a reference to the given string and assigns it to the ManagementUiUrl field.
func (*OsConfigurationMapProxmox) SetRootPassword ¶
func (o *OsConfigurationMapProxmox) SetRootPassword(v string)
SetRootPassword gets a reference to the given string and assigns it to the RootPassword field.
func (OsConfigurationMapProxmox) ToMap ¶
func (o OsConfigurationMapProxmox) ToMap() (map[string]interface{}, error)
func (*OsConfigurationMapProxmox) UnmarshalJSON ¶ added in v3.0.1
func (o *OsConfigurationMapProxmox) UnmarshalJSON(data []byte) (err error)
type OsConfigurationNetrisController ¶
type OsConfigurationNetrisController struct { // (Read-only) Host OS on which the Netris Controller is installed. HostOs *string `json:"hostOs,omitempty"` // (Read-only) The URL for the Netris Controller web console. It will only be returned in response to provisioning a server. NetrisWebConsoleUrl *string `json:"netrisWebConsoleUrl,omitempty"` // (Read-only) Auto-generated password set for user 'netris' in the web console.<br> The password is not stored and therefore will only be returned in response to provisioning a server. Copy and save it for future reference. NetrisUserPassword *string `json:"netrisUserPassword,omitempty"` AdditionalProperties map[string]interface{} }
OsConfigurationNetrisController Netris Controller configuration properties. Knowledge base article to help you can be found <a href='https://phoenixnap.com/kb/netris-bare-metal-cloud#deploy-netris-controller' target='_blank'>here</a>.
func NewOsConfigurationNetrisController ¶
func NewOsConfigurationNetrisController() *OsConfigurationNetrisController
NewOsConfigurationNetrisController instantiates a new OsConfigurationNetrisController object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOsConfigurationNetrisControllerWithDefaults ¶
func NewOsConfigurationNetrisControllerWithDefaults() *OsConfigurationNetrisController
NewOsConfigurationNetrisControllerWithDefaults instantiates a new OsConfigurationNetrisController object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*OsConfigurationNetrisController) GetHostOs ¶
func (o *OsConfigurationNetrisController) GetHostOs() string
GetHostOs returns the HostOs field value if set, zero value otherwise.
func (*OsConfigurationNetrisController) GetHostOsOk ¶
func (o *OsConfigurationNetrisController) GetHostOsOk() (*string, bool)
GetHostOsOk returns a tuple with the HostOs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OsConfigurationNetrisController) GetNetrisUserPassword ¶
func (o *OsConfigurationNetrisController) GetNetrisUserPassword() string
GetNetrisUserPassword returns the NetrisUserPassword field value if set, zero value otherwise.
func (*OsConfigurationNetrisController) GetNetrisUserPasswordOk ¶
func (o *OsConfigurationNetrisController) GetNetrisUserPasswordOk() (*string, bool)
GetNetrisUserPasswordOk returns a tuple with the NetrisUserPassword field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OsConfigurationNetrisController) GetNetrisWebConsoleUrl ¶
func (o *OsConfigurationNetrisController) GetNetrisWebConsoleUrl() string
GetNetrisWebConsoleUrl returns the NetrisWebConsoleUrl field value if set, zero value otherwise.
func (*OsConfigurationNetrisController) GetNetrisWebConsoleUrlOk ¶
func (o *OsConfigurationNetrisController) GetNetrisWebConsoleUrlOk() (*string, bool)
GetNetrisWebConsoleUrlOk returns a tuple with the NetrisWebConsoleUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OsConfigurationNetrisController) HasHostOs ¶
func (o *OsConfigurationNetrisController) HasHostOs() bool
HasHostOs returns a boolean if a field has been set.
func (*OsConfigurationNetrisController) HasNetrisUserPassword ¶
func (o *OsConfigurationNetrisController) HasNetrisUserPassword() bool
HasNetrisUserPassword returns a boolean if a field has been set.
func (*OsConfigurationNetrisController) HasNetrisWebConsoleUrl ¶
func (o *OsConfigurationNetrisController) HasNetrisWebConsoleUrl() bool
HasNetrisWebConsoleUrl returns a boolean if a field has been set.
func (OsConfigurationNetrisController) MarshalJSON ¶
func (o OsConfigurationNetrisController) MarshalJSON() ([]byte, error)
func (*OsConfigurationNetrisController) SetHostOs ¶
func (o *OsConfigurationNetrisController) SetHostOs(v string)
SetHostOs gets a reference to the given string and assigns it to the HostOs field.
func (*OsConfigurationNetrisController) SetNetrisUserPassword ¶
func (o *OsConfigurationNetrisController) SetNetrisUserPassword(v string)
SetNetrisUserPassword gets a reference to the given string and assigns it to the NetrisUserPassword field.
func (*OsConfigurationNetrisController) SetNetrisWebConsoleUrl ¶
func (o *OsConfigurationNetrisController) SetNetrisWebConsoleUrl(v string)
SetNetrisWebConsoleUrl gets a reference to the given string and assigns it to the NetrisWebConsoleUrl field.
func (OsConfigurationNetrisController) ToMap ¶
func (o OsConfigurationNetrisController) ToMap() (map[string]interface{}, error)
func (*OsConfigurationNetrisController) UnmarshalJSON ¶ added in v3.0.1
func (o *OsConfigurationNetrisController) UnmarshalJSON(data []byte) (err error)
type OsConfigurationNetrisSoftgate ¶
type OsConfigurationNetrisSoftgate struct { // (Read-only) Host OS on which the Netris Softgate is installed. HostOs *string `json:"hostOs,omitempty"` // (Write-only) IP address or hostname through which to reach the Netris Controller. ControllerAddress *string `json:"controllerAddress,omitempty"` // (Write-only) The version of the Netris Controller to connect to. ControllerVersion *string `json:"controllerVersion,omitempty"` // (Write-only) The authentication key of the Netris Controller to connect to. Required for the softgate agent to be able to interact with the Netris Controller. ControllerAuthKey *string `json:"controllerAuthKey,omitempty"` AdditionalProperties map[string]interface{} }
OsConfigurationNetrisSoftgate Netris Softgate configuration properties. Follow <a href='https://phoenixnap.com/kb/netris-bare-metal-cloud#deploy-netris-softgate' target='_blank'>instructions</a> for retrieving the required details.
func NewOsConfigurationNetrisSoftgate ¶
func NewOsConfigurationNetrisSoftgate() *OsConfigurationNetrisSoftgate
NewOsConfigurationNetrisSoftgate instantiates a new OsConfigurationNetrisSoftgate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOsConfigurationNetrisSoftgateWithDefaults ¶
func NewOsConfigurationNetrisSoftgateWithDefaults() *OsConfigurationNetrisSoftgate
NewOsConfigurationNetrisSoftgateWithDefaults instantiates a new OsConfigurationNetrisSoftgate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*OsConfigurationNetrisSoftgate) GetControllerAddress ¶
func (o *OsConfigurationNetrisSoftgate) GetControllerAddress() string
GetControllerAddress returns the ControllerAddress field value if set, zero value otherwise.
func (*OsConfigurationNetrisSoftgate) GetControllerAddressOk ¶
func (o *OsConfigurationNetrisSoftgate) GetControllerAddressOk() (*string, bool)
GetControllerAddressOk returns a tuple with the ControllerAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OsConfigurationNetrisSoftgate) GetControllerAuthKey ¶
func (o *OsConfigurationNetrisSoftgate) GetControllerAuthKey() string
GetControllerAuthKey returns the ControllerAuthKey field value if set, zero value otherwise.
func (*OsConfigurationNetrisSoftgate) GetControllerAuthKeyOk ¶
func (o *OsConfigurationNetrisSoftgate) GetControllerAuthKeyOk() (*string, bool)
GetControllerAuthKeyOk returns a tuple with the ControllerAuthKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OsConfigurationNetrisSoftgate) GetControllerVersion ¶
func (o *OsConfigurationNetrisSoftgate) GetControllerVersion() string
GetControllerVersion returns the ControllerVersion field value if set, zero value otherwise.
func (*OsConfigurationNetrisSoftgate) GetControllerVersionOk ¶
func (o *OsConfigurationNetrisSoftgate) GetControllerVersionOk() (*string, bool)
GetControllerVersionOk returns a tuple with the ControllerVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OsConfigurationNetrisSoftgate) GetHostOs ¶
func (o *OsConfigurationNetrisSoftgate) GetHostOs() string
GetHostOs returns the HostOs field value if set, zero value otherwise.
func (*OsConfigurationNetrisSoftgate) GetHostOsOk ¶
func (o *OsConfigurationNetrisSoftgate) GetHostOsOk() (*string, bool)
GetHostOsOk returns a tuple with the HostOs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OsConfigurationNetrisSoftgate) HasControllerAddress ¶
func (o *OsConfigurationNetrisSoftgate) HasControllerAddress() bool
HasControllerAddress returns a boolean if a field has been set.
func (*OsConfigurationNetrisSoftgate) HasControllerAuthKey ¶
func (o *OsConfigurationNetrisSoftgate) HasControllerAuthKey() bool
HasControllerAuthKey returns a boolean if a field has been set.
func (*OsConfigurationNetrisSoftgate) HasControllerVersion ¶
func (o *OsConfigurationNetrisSoftgate) HasControllerVersion() bool
HasControllerVersion returns a boolean if a field has been set.
func (*OsConfigurationNetrisSoftgate) HasHostOs ¶
func (o *OsConfigurationNetrisSoftgate) HasHostOs() bool
HasHostOs returns a boolean if a field has been set.
func (OsConfigurationNetrisSoftgate) MarshalJSON ¶
func (o OsConfigurationNetrisSoftgate) MarshalJSON() ([]byte, error)
func (*OsConfigurationNetrisSoftgate) SetControllerAddress ¶
func (o *OsConfigurationNetrisSoftgate) SetControllerAddress(v string)
SetControllerAddress gets a reference to the given string and assigns it to the ControllerAddress field.
func (*OsConfigurationNetrisSoftgate) SetControllerAuthKey ¶
func (o *OsConfigurationNetrisSoftgate) SetControllerAuthKey(v string)
SetControllerAuthKey gets a reference to the given string and assigns it to the ControllerAuthKey field.
func (*OsConfigurationNetrisSoftgate) SetControllerVersion ¶
func (o *OsConfigurationNetrisSoftgate) SetControllerVersion(v string)
SetControllerVersion gets a reference to the given string and assigns it to the ControllerVersion field.
func (*OsConfigurationNetrisSoftgate) SetHostOs ¶
func (o *OsConfigurationNetrisSoftgate) SetHostOs(v string)
SetHostOs gets a reference to the given string and assigns it to the HostOs field.
func (OsConfigurationNetrisSoftgate) ToMap ¶
func (o OsConfigurationNetrisSoftgate) ToMap() (map[string]interface{}, error)
func (*OsConfigurationNetrisSoftgate) UnmarshalJSON ¶ added in v3.0.1
func (o *OsConfigurationNetrisSoftgate) UnmarshalJSON(data []byte) (err error)
type OsConfigurationWindows ¶
type OsConfigurationWindows struct { // List of IPs allowed for RDP access to Windows OS. Supported in single IP, CIDR and range format. When undefined, RDP is disabled. To allow RDP access from any IP use 0.0.0.0/0. This will only be returned in response to provisioning a server. RdpAllowedIps []string `json:"rdpAllowedIps,omitempty"` AdditionalProperties map[string]interface{} }
OsConfigurationWindows Windows OS configuration properties.
func NewOsConfigurationWindows ¶
func NewOsConfigurationWindows() *OsConfigurationWindows
NewOsConfigurationWindows instantiates a new OsConfigurationWindows object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOsConfigurationWindowsWithDefaults ¶
func NewOsConfigurationWindowsWithDefaults() *OsConfigurationWindows
NewOsConfigurationWindowsWithDefaults instantiates a new OsConfigurationWindows object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*OsConfigurationWindows) GetRdpAllowedIps ¶
func (o *OsConfigurationWindows) GetRdpAllowedIps() []string
GetRdpAllowedIps returns the RdpAllowedIps field value if set, zero value otherwise.
func (*OsConfigurationWindows) GetRdpAllowedIpsOk ¶
func (o *OsConfigurationWindows) GetRdpAllowedIpsOk() ([]string, bool)
GetRdpAllowedIpsOk returns a tuple with the RdpAllowedIps field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OsConfigurationWindows) HasRdpAllowedIps ¶
func (o *OsConfigurationWindows) HasRdpAllowedIps() bool
HasRdpAllowedIps returns a boolean if a field has been set.
func (OsConfigurationWindows) MarshalJSON ¶
func (o OsConfigurationWindows) MarshalJSON() ([]byte, error)
func (*OsConfigurationWindows) SetRdpAllowedIps ¶
func (o *OsConfigurationWindows) SetRdpAllowedIps(v []string)
SetRdpAllowedIps gets a reference to the given []string and assigns it to the RdpAllowedIps field.
func (OsConfigurationWindows) ToMap ¶
func (o OsConfigurationWindows) ToMap() (map[string]interface{}, error)
func (*OsConfigurationWindows) UnmarshalJSON ¶ added in v3.0.1
func (o *OsConfigurationWindows) UnmarshalJSON(data []byte) (err error)
type PrivateNetworkConfiguration ¶
type PrivateNetworkConfiguration struct { // Deprecated in favour of a common gateway address across all networks available under NetworkConfiguration.<br> The address of the gateway assigned / to assign to the server.<br> When used as part of request body, IP address has to be part of private network assigned to this server.<br> Gateway address also has to be assigned on an already deployed resource unless the `force` query parameter is true. // Deprecated GatewayAddress *string `json:"gatewayAddress,omitempty"` // (Write-only) Determines the approach for configuring private network(s) for the server being provisioned. Currently this field should be set to `USE_OR_CREATE_DEFAULT`, `USER_DEFINED` or `NONE`. ConfigurationType *string `json:"configurationType,omitempty"` // The list of private networks this server is member of. When this field is part of request body, it'll be used to specify the private networks to assign to this server upon provisioning. Used alongside the `USER_DEFINED` configurationType. PrivateNetworks []ServerPrivateNetwork `json:"privateNetworks,omitempty"` AdditionalProperties map[string]interface{} }
PrivateNetworkConfiguration Private network details of bare metal server.
func NewPrivateNetworkConfiguration ¶
func NewPrivateNetworkConfiguration() *PrivateNetworkConfiguration
NewPrivateNetworkConfiguration instantiates a new PrivateNetworkConfiguration object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPrivateNetworkConfigurationWithDefaults ¶
func NewPrivateNetworkConfigurationWithDefaults() *PrivateNetworkConfiguration
NewPrivateNetworkConfigurationWithDefaults instantiates a new PrivateNetworkConfiguration object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PrivateNetworkConfiguration) GetConfigurationType ¶
func (o *PrivateNetworkConfiguration) GetConfigurationType() string
GetConfigurationType returns the ConfigurationType field value if set, zero value otherwise.
func (*PrivateNetworkConfiguration) GetConfigurationTypeOk ¶
func (o *PrivateNetworkConfiguration) GetConfigurationTypeOk() (*string, bool)
GetConfigurationTypeOk returns a tuple with the ConfigurationType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PrivateNetworkConfiguration) GetGatewayAddress ¶
func (o *PrivateNetworkConfiguration) GetGatewayAddress() string
GetGatewayAddress returns the GatewayAddress field value if set, zero value otherwise. Deprecated
func (*PrivateNetworkConfiguration) GetGatewayAddressOk ¶
func (o *PrivateNetworkConfiguration) GetGatewayAddressOk() (*string, bool)
GetGatewayAddressOk returns a tuple with the GatewayAddress field value if set, nil otherwise and a boolean to check if the value has been set. Deprecated
func (*PrivateNetworkConfiguration) GetPrivateNetworks ¶
func (o *PrivateNetworkConfiguration) GetPrivateNetworks() []ServerPrivateNetwork
GetPrivateNetworks returns the PrivateNetworks field value if set, zero value otherwise.
func (*PrivateNetworkConfiguration) GetPrivateNetworksOk ¶
func (o *PrivateNetworkConfiguration) GetPrivateNetworksOk() ([]ServerPrivateNetwork, bool)
GetPrivateNetworksOk returns a tuple with the PrivateNetworks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PrivateNetworkConfiguration) HasConfigurationType ¶
func (o *PrivateNetworkConfiguration) HasConfigurationType() bool
HasConfigurationType returns a boolean if a field has been set.
func (*PrivateNetworkConfiguration) HasGatewayAddress ¶
func (o *PrivateNetworkConfiguration) HasGatewayAddress() bool
HasGatewayAddress returns a boolean if a field has been set.
func (*PrivateNetworkConfiguration) HasPrivateNetworks ¶
func (o *PrivateNetworkConfiguration) HasPrivateNetworks() bool
HasPrivateNetworks returns a boolean if a field has been set.
func (PrivateNetworkConfiguration) MarshalJSON ¶
func (o PrivateNetworkConfiguration) MarshalJSON() ([]byte, error)
func (*PrivateNetworkConfiguration) SetConfigurationType ¶
func (o *PrivateNetworkConfiguration) SetConfigurationType(v string)
SetConfigurationType gets a reference to the given string and assigns it to the ConfigurationType field.
func (*PrivateNetworkConfiguration) SetGatewayAddress ¶
func (o *PrivateNetworkConfiguration) SetGatewayAddress(v string)
SetGatewayAddress gets a reference to the given string and assigns it to the GatewayAddress field. Deprecated
func (*PrivateNetworkConfiguration) SetPrivateNetworks ¶
func (o *PrivateNetworkConfiguration) SetPrivateNetworks(v []ServerPrivateNetwork)
SetPrivateNetworks gets a reference to the given []ServerPrivateNetwork and assigns it to the PrivateNetworks field.
func (PrivateNetworkConfiguration) ToMap ¶
func (o PrivateNetworkConfiguration) ToMap() (map[string]interface{}, error)
func (*PrivateNetworkConfiguration) UnmarshalJSON ¶ added in v3.0.1
func (o *PrivateNetworkConfiguration) UnmarshalJSON(data []byte) (err error)
type PublicNetworkConfiguration ¶
type PublicNetworkConfiguration struct { // The list of public networks this server is member of. When this field is part of request body, it'll be used to specify the public networks to assign to this server upon provisioning. PublicNetworks []ServerPublicNetwork `json:"publicNetworks,omitempty"` AdditionalProperties map[string]interface{} }
PublicNetworkConfiguration Public network details of bare metal server.
func NewPublicNetworkConfiguration ¶
func NewPublicNetworkConfiguration() *PublicNetworkConfiguration
NewPublicNetworkConfiguration instantiates a new PublicNetworkConfiguration object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPublicNetworkConfigurationWithDefaults ¶
func NewPublicNetworkConfigurationWithDefaults() *PublicNetworkConfiguration
NewPublicNetworkConfigurationWithDefaults instantiates a new PublicNetworkConfiguration object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PublicNetworkConfiguration) GetPublicNetworks ¶
func (o *PublicNetworkConfiguration) GetPublicNetworks() []ServerPublicNetwork
GetPublicNetworks returns the PublicNetworks field value if set, zero value otherwise.
func (*PublicNetworkConfiguration) GetPublicNetworksOk ¶
func (o *PublicNetworkConfiguration) GetPublicNetworksOk() ([]ServerPublicNetwork, bool)
GetPublicNetworksOk returns a tuple with the PublicNetworks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PublicNetworkConfiguration) HasPublicNetworks ¶
func (o *PublicNetworkConfiguration) HasPublicNetworks() bool
HasPublicNetworks returns a boolean if a field has been set.
func (PublicNetworkConfiguration) MarshalJSON ¶
func (o PublicNetworkConfiguration) MarshalJSON() ([]byte, error)
func (*PublicNetworkConfiguration) SetPublicNetworks ¶
func (o *PublicNetworkConfiguration) SetPublicNetworks(v []ServerPublicNetwork)
SetPublicNetworks gets a reference to the given []ServerPublicNetwork and assigns it to the PublicNetworks field.
func (PublicNetworkConfiguration) ToMap ¶
func (o PublicNetworkConfiguration) ToMap() (map[string]interface{}, error)
func (*PublicNetworkConfiguration) UnmarshalJSON ¶ added in v3.0.1
func (o *PublicNetworkConfiguration) UnmarshalJSON(data []byte) (err error)
type Quota ¶
type Quota struct { // The ID of the Quota. Id string `json:"id"` // The name of the Quota. Name string `json:"name"` // The Quota description. Description string `json:"description"` // The status of the quota resource usage. Status string `json:"status"` // The limit set for the quota. Limit int32 `json:"limit"` // Unit of the quota type. Supported values are 'COUNT' and 'GB'. Unit string `json:"unit"` // The quota used expressed as a number. Used int32 `json:"used"` QuotaEditLimitRequestDetails []QuotaEditLimitRequestDetails `json:"quotaEditLimitRequestDetails"` AdditionalProperties map[string]interface{} }
Quota Quota.
func NewQuota ¶
func NewQuota(id string, name string, description string, status string, limit int32, unit string, used int32, quotaEditLimitRequestDetails []QuotaEditLimitRequestDetails) *Quota
NewQuota instantiates a new Quota object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewQuotaWithDefaults ¶
func NewQuotaWithDefaults() *Quota
NewQuotaWithDefaults instantiates a new Quota object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Quota) GetDescription ¶
GetDescription returns the Description field value
func (*Quota) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*Quota) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Quota) GetLimitOk ¶
GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.
func (*Quota) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Quota) GetQuotaEditLimitRequestDetails ¶
func (o *Quota) GetQuotaEditLimitRequestDetails() []QuotaEditLimitRequestDetails
GetQuotaEditLimitRequestDetails returns the QuotaEditLimitRequestDetails field value
func (*Quota) GetQuotaEditLimitRequestDetailsOk ¶
func (o *Quota) GetQuotaEditLimitRequestDetailsOk() ([]QuotaEditLimitRequestDetails, bool)
GetQuotaEditLimitRequestDetailsOk returns a tuple with the QuotaEditLimitRequestDetails field value and a boolean to check if the value has been set.
func (*Quota) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*Quota) GetUnitOk ¶
GetUnitOk returns a tuple with the Unit field value and a boolean to check if the value has been set.
func (*Quota) GetUsedOk ¶
GetUsedOk returns a tuple with the Used field value and a boolean to check if the value has been set.
func (Quota) MarshalJSON ¶
func (*Quota) SetDescription ¶
SetDescription sets field value
func (*Quota) SetQuotaEditLimitRequestDetails ¶
func (o *Quota) SetQuotaEditLimitRequestDetails(v []QuotaEditLimitRequestDetails)
SetQuotaEditLimitRequestDetails sets field value
func (*Quota) UnmarshalJSON ¶
type QuotaEditLimitRequest ¶
type QuotaEditLimitRequest struct { // The new limit that is requested. Minimum allowed limit values: - 0 (Server, IPs) - 1000 (Network Storage) Limit int32 `json:"limit"` // The reason for changing the limit. Reason string `json:"reason"` AdditionalProperties map[string]interface{} }
QuotaEditLimitRequest A request to change the limit on a quota.
func NewQuotaEditLimitRequest ¶
func NewQuotaEditLimitRequest(limit int32, reason string) *QuotaEditLimitRequest
NewQuotaEditLimitRequest instantiates a new QuotaEditLimitRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewQuotaEditLimitRequestWithDefaults ¶
func NewQuotaEditLimitRequestWithDefaults() *QuotaEditLimitRequest
NewQuotaEditLimitRequestWithDefaults instantiates a new QuotaEditLimitRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*QuotaEditLimitRequest) GetLimit ¶
func (o *QuotaEditLimitRequest) GetLimit() int32
GetLimit returns the Limit field value
func (*QuotaEditLimitRequest) GetLimitOk ¶
func (o *QuotaEditLimitRequest) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.
func (*QuotaEditLimitRequest) GetReason ¶
func (o *QuotaEditLimitRequest) GetReason() string
GetReason returns the Reason field value
func (*QuotaEditLimitRequest) GetReasonOk ¶
func (o *QuotaEditLimitRequest) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value and a boolean to check if the value has been set.
func (QuotaEditLimitRequest) MarshalJSON ¶
func (o QuotaEditLimitRequest) MarshalJSON() ([]byte, error)
func (*QuotaEditLimitRequest) SetLimit ¶
func (o *QuotaEditLimitRequest) SetLimit(v int32)
SetLimit sets field value
func (*QuotaEditLimitRequest) SetReason ¶
func (o *QuotaEditLimitRequest) SetReason(v string)
SetReason sets field value
func (QuotaEditLimitRequest) ToMap ¶
func (o QuotaEditLimitRequest) ToMap() (map[string]interface{}, error)
func (*QuotaEditLimitRequest) UnmarshalJSON ¶
func (o *QuotaEditLimitRequest) UnmarshalJSON(data []byte) (err error)
type QuotaEditLimitRequestDetails ¶
type QuotaEditLimitRequestDetails struct { // The new limit that is requested. Minimum allowed limit values: - 0 (Server, IPs) - 1000 (Network Storage) Limit int32 `json:"limit"` // The reason for changing the limit. Reason string `json:"reason"` // The point in time the request was submitted. RequestedOn time.Time `json:"requestedOn"` AdditionalProperties map[string]interface{} }
QuotaEditLimitRequestDetails struct for QuotaEditLimitRequestDetails
func NewQuotaEditLimitRequestDetails ¶
func NewQuotaEditLimitRequestDetails(limit int32, reason string, requestedOn time.Time) *QuotaEditLimitRequestDetails
NewQuotaEditLimitRequestDetails instantiates a new QuotaEditLimitRequestDetails object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewQuotaEditLimitRequestDetailsWithDefaults ¶
func NewQuotaEditLimitRequestDetailsWithDefaults() *QuotaEditLimitRequestDetails
NewQuotaEditLimitRequestDetailsWithDefaults instantiates a new QuotaEditLimitRequestDetails object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*QuotaEditLimitRequestDetails) GetLimit ¶
func (o *QuotaEditLimitRequestDetails) GetLimit() int32
GetLimit returns the Limit field value
func (*QuotaEditLimitRequestDetails) GetLimitOk ¶
func (o *QuotaEditLimitRequestDetails) GetLimitOk() (*int32, bool)
GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.
func (*QuotaEditLimitRequestDetails) GetReason ¶
func (o *QuotaEditLimitRequestDetails) GetReason() string
GetReason returns the Reason field value
func (*QuotaEditLimitRequestDetails) GetReasonOk ¶
func (o *QuotaEditLimitRequestDetails) GetReasonOk() (*string, bool)
GetReasonOk returns a tuple with the Reason field value and a boolean to check if the value has been set.
func (*QuotaEditLimitRequestDetails) GetRequestedOn ¶
func (o *QuotaEditLimitRequestDetails) GetRequestedOn() time.Time
GetRequestedOn returns the RequestedOn field value
func (*QuotaEditLimitRequestDetails) GetRequestedOnOk ¶
func (o *QuotaEditLimitRequestDetails) GetRequestedOnOk() (*time.Time, bool)
GetRequestedOnOk returns a tuple with the RequestedOn field value and a boolean to check if the value has been set.
func (QuotaEditLimitRequestDetails) MarshalJSON ¶
func (o QuotaEditLimitRequestDetails) MarshalJSON() ([]byte, error)
func (*QuotaEditLimitRequestDetails) SetLimit ¶
func (o *QuotaEditLimitRequestDetails) SetLimit(v int32)
SetLimit sets field value
func (*QuotaEditLimitRequestDetails) SetReason ¶
func (o *QuotaEditLimitRequestDetails) SetReason(v string)
SetReason sets field value
func (*QuotaEditLimitRequestDetails) SetRequestedOn ¶
func (o *QuotaEditLimitRequestDetails) SetRequestedOn(v time.Time)
SetRequestedOn sets field value
func (QuotaEditLimitRequestDetails) ToMap ¶
func (o QuotaEditLimitRequestDetails) ToMap() (map[string]interface{}, error)
func (*QuotaEditLimitRequestDetails) UnmarshalJSON ¶
func (o *QuotaEditLimitRequestDetails) UnmarshalJSON(data []byte) (err error)
type QuotasAPI ¶
type QuotasAPI interface { /* QuotasGet List quotas Get account quota details. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiQuotasGetRequest */ QuotasGet(ctx context.Context) ApiQuotasGetRequest // QuotasGetExecute executes the request // @return []Quota QuotasGetExecute(r ApiQuotasGetRequest) ([]Quota, *http.Response, error) /* QuotasQuotaIdActionsRequestEditPost Request quota limit change. Sends a request to edit the limit of a quota. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param quotaId The ID of the Quota. @return ApiQuotasQuotaIdActionsRequestEditPostRequest */ QuotasQuotaIdActionsRequestEditPost(ctx context.Context, quotaId string) ApiQuotasQuotaIdActionsRequestEditPostRequest // QuotasQuotaIdActionsRequestEditPostExecute executes the request QuotasQuotaIdActionsRequestEditPostExecute(r ApiQuotasQuotaIdActionsRequestEditPostRequest) (*http.Response, error) /* QuotasQuotaIdGet Get a quota. Get account quota details. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param quotaId The ID of the Quota. @return ApiQuotasQuotaIdGetRequest */ QuotasQuotaIdGet(ctx context.Context, quotaId string) ApiQuotasQuotaIdGetRequest // QuotasQuotaIdGetExecute executes the request // @return Quota QuotasQuotaIdGetExecute(r ApiQuotasQuotaIdGetRequest) (*Quota, *http.Response, error) }
type QuotasAPIService ¶
type QuotasAPIService service
QuotasAPIService QuotasAPI service
func (*QuotasAPIService) QuotasGet ¶
func (a *QuotasAPIService) QuotasGet(ctx context.Context) ApiQuotasGetRequest
QuotasGet List quotas
Get account quota details.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiQuotasGetRequest
func (*QuotasAPIService) QuotasGetExecute ¶
func (a *QuotasAPIService) QuotasGetExecute(r ApiQuotasGetRequest) ([]Quota, *http.Response, error)
Execute executes the request
@return []Quota
func (*QuotasAPIService) QuotasQuotaIdActionsRequestEditPost ¶
func (a *QuotasAPIService) QuotasQuotaIdActionsRequestEditPost(ctx context.Context, quotaId string) ApiQuotasQuotaIdActionsRequestEditPostRequest
QuotasQuotaIdActionsRequestEditPost Request quota limit change.
Sends a request to edit the limit of a quota.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param quotaId The ID of the Quota. @return ApiQuotasQuotaIdActionsRequestEditPostRequest
func (*QuotasAPIService) QuotasQuotaIdActionsRequestEditPostExecute ¶
func (a *QuotasAPIService) QuotasQuotaIdActionsRequestEditPostExecute(r ApiQuotasQuotaIdActionsRequestEditPostRequest) (*http.Response, error)
Execute executes the request
func (*QuotasAPIService) QuotasQuotaIdGet ¶
func (a *QuotasAPIService) QuotasQuotaIdGet(ctx context.Context, quotaId string) ApiQuotasQuotaIdGetRequest
QuotasQuotaIdGet Get a quota.
Get account quota details.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param quotaId The ID of the Quota. @return ApiQuotasQuotaIdGetRequest
func (*QuotasAPIService) QuotasQuotaIdGetExecute ¶
func (a *QuotasAPIService) QuotasQuotaIdGetExecute(r ApiQuotasQuotaIdGetRequest) (*Quota, *http.Response, error)
Execute executes the request
@return Quota
type RelinquishIpBlock ¶
type RelinquishIpBlock struct { // Determines whether the IP blocks assigned to the server should be deleted or not. DeleteIpBlocks *bool `json:"deleteIpBlocks,omitempty"` AdditionalProperties map[string]interface{} }
RelinquishIpBlock Object used to determine whether to relinquish ownership of the IP block upon server deletion.
func NewRelinquishIpBlock ¶
func NewRelinquishIpBlock() *RelinquishIpBlock
NewRelinquishIpBlock instantiates a new RelinquishIpBlock object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRelinquishIpBlockWithDefaults ¶
func NewRelinquishIpBlockWithDefaults() *RelinquishIpBlock
NewRelinquishIpBlockWithDefaults instantiates a new RelinquishIpBlock object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RelinquishIpBlock) GetDeleteIpBlocks ¶
func (o *RelinquishIpBlock) GetDeleteIpBlocks() bool
GetDeleteIpBlocks returns the DeleteIpBlocks field value if set, zero value otherwise.
func (*RelinquishIpBlock) GetDeleteIpBlocksOk ¶
func (o *RelinquishIpBlock) GetDeleteIpBlocksOk() (*bool, bool)
GetDeleteIpBlocksOk returns a tuple with the DeleteIpBlocks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RelinquishIpBlock) HasDeleteIpBlocks ¶
func (o *RelinquishIpBlock) HasDeleteIpBlocks() bool
HasDeleteIpBlocks returns a boolean if a field has been set.
func (RelinquishIpBlock) MarshalJSON ¶
func (o RelinquishIpBlock) MarshalJSON() ([]byte, error)
func (*RelinquishIpBlock) SetDeleteIpBlocks ¶
func (o *RelinquishIpBlock) SetDeleteIpBlocks(v bool)
SetDeleteIpBlocks gets a reference to the given bool and assigns it to the DeleteIpBlocks field.
func (RelinquishIpBlock) ToMap ¶
func (o RelinquishIpBlock) ToMap() (map[string]interface{}, error)
func (*RelinquishIpBlock) UnmarshalJSON ¶ added in v3.0.1
func (o *RelinquishIpBlock) UnmarshalJSON(data []byte) (err error)
type ResetResult ¶
type ResetResult struct { // Message describing the reset result. Result string `json:"result"` // Password set for user Admin on Windows server or user root on ESXi server. Password *string `json:"password,omitempty"` OsConfiguration *OsConfigurationMap `json:"osConfiguration,omitempty"` AdditionalProperties map[string]interface{} }
ResetResult Result of a successful reset action.
func NewResetResult ¶
func NewResetResult(result string) *ResetResult
NewResetResult instantiates a new ResetResult object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewResetResultWithDefaults ¶
func NewResetResultWithDefaults() *ResetResult
NewResetResultWithDefaults instantiates a new ResetResult object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ResetResult) GetOsConfiguration ¶
func (o *ResetResult) GetOsConfiguration() OsConfigurationMap
GetOsConfiguration returns the OsConfiguration field value if set, zero value otherwise.
func (*ResetResult) GetOsConfigurationOk ¶
func (o *ResetResult) GetOsConfigurationOk() (*OsConfigurationMap, bool)
GetOsConfigurationOk returns a tuple with the OsConfiguration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResetResult) GetPassword ¶
func (o *ResetResult) GetPassword() string
GetPassword returns the Password field value if set, zero value otherwise.
func (*ResetResult) GetPasswordOk ¶
func (o *ResetResult) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResetResult) GetResult ¶
func (o *ResetResult) GetResult() string
GetResult returns the Result field value
func (*ResetResult) GetResultOk ¶
func (o *ResetResult) GetResultOk() (*string, bool)
GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.
func (*ResetResult) HasOsConfiguration ¶
func (o *ResetResult) HasOsConfiguration() bool
HasOsConfiguration returns a boolean if a field has been set.
func (*ResetResult) HasPassword ¶
func (o *ResetResult) HasPassword() bool
HasPassword returns a boolean if a field has been set.
func (ResetResult) MarshalJSON ¶
func (o ResetResult) MarshalJSON() ([]byte, error)
func (*ResetResult) SetOsConfiguration ¶
func (o *ResetResult) SetOsConfiguration(v OsConfigurationMap)
SetOsConfiguration gets a reference to the given OsConfigurationMap and assigns it to the OsConfiguration field.
func (*ResetResult) SetPassword ¶
func (o *ResetResult) SetPassword(v string)
SetPassword gets a reference to the given string and assigns it to the Password field.
func (*ResetResult) SetResult ¶
func (o *ResetResult) SetResult(v string)
SetResult sets field value
func (ResetResult) ToMap ¶
func (o ResetResult) ToMap() (map[string]interface{}, error)
func (*ResetResult) UnmarshalJSON ¶
func (o *ResetResult) UnmarshalJSON(data []byte) (err error)
type SSHKeysAPI ¶
type SSHKeysAPI interface { /* SshKeysGet List SSH Keys. List all SSH Keys. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSshKeysGetRequest */ SshKeysGet(ctx context.Context) ApiSshKeysGetRequest // SshKeysGetExecute executes the request // @return []SshKey SshKeysGetExecute(r ApiSshKeysGetRequest) ([]SshKey, *http.Response, error) /* SshKeysPost Create SSH Key. Create an SSH Key. SSH Keys created can be used for server creation and reset functionality. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSshKeysPostRequest */ SshKeysPost(ctx context.Context) ApiSshKeysPostRequest // SshKeysPostExecute executes the request // @return SshKey SshKeysPostExecute(r ApiSshKeysPostRequest) (*SshKey, *http.Response, error) /* SshKeysSshKeyIdDelete Delete SSH Key. Delete an SSH Key. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param sshKeyId The SSH Key's ID. @return ApiSshKeysSshKeyIdDeleteRequest */ SshKeysSshKeyIdDelete(ctx context.Context, sshKeyId string) ApiSshKeysSshKeyIdDeleteRequest // SshKeysSshKeyIdDeleteExecute executes the request // @return DeleteSshKeyResult SshKeysSshKeyIdDeleteExecute(r ApiSshKeysSshKeyIdDeleteRequest) (*DeleteSshKeyResult, *http.Response, error) /* SshKeysSshKeyIdGet Get SSH Key. Get SSH Key details. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param sshKeyId The SSH Key's ID. @return ApiSshKeysSshKeyIdGetRequest */ SshKeysSshKeyIdGet(ctx context.Context, sshKeyId string) ApiSshKeysSshKeyIdGetRequest // SshKeysSshKeyIdGetExecute executes the request // @return SshKey SshKeysSshKeyIdGetExecute(r ApiSshKeysSshKeyIdGetRequest) (*SshKey, *http.Response, error) /* SshKeysSshKeyIdPut Edit SSH Key. Edit SSH Key details. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param sshKeyId The SSH Key's ID. @return ApiSshKeysSshKeyIdPutRequest */ SshKeysSshKeyIdPut(ctx context.Context, sshKeyId string) ApiSshKeysSshKeyIdPutRequest // SshKeysSshKeyIdPutExecute executes the request // @return SshKey SshKeysSshKeyIdPutExecute(r ApiSshKeysSshKeyIdPutRequest) (*SshKey, *http.Response, error) }
type SSHKeysAPIService ¶
type SSHKeysAPIService service
SSHKeysAPIService SSHKeysAPI service
func (*SSHKeysAPIService) SshKeysGet ¶
func (a *SSHKeysAPIService) SshKeysGet(ctx context.Context) ApiSshKeysGetRequest
SshKeysGet List SSH Keys.
List all SSH Keys.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSshKeysGetRequest
func (*SSHKeysAPIService) SshKeysGetExecute ¶
func (a *SSHKeysAPIService) SshKeysGetExecute(r ApiSshKeysGetRequest) ([]SshKey, *http.Response, error)
Execute executes the request
@return []SshKey
func (*SSHKeysAPIService) SshKeysPost ¶
func (a *SSHKeysAPIService) SshKeysPost(ctx context.Context) ApiSshKeysPostRequest
SshKeysPost Create SSH Key.
Create an SSH Key. SSH Keys created can be used for server creation and reset functionality.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSshKeysPostRequest
func (*SSHKeysAPIService) SshKeysPostExecute ¶
func (a *SSHKeysAPIService) SshKeysPostExecute(r ApiSshKeysPostRequest) (*SshKey, *http.Response, error)
Execute executes the request
@return SshKey
func (*SSHKeysAPIService) SshKeysSshKeyIdDelete ¶
func (a *SSHKeysAPIService) SshKeysSshKeyIdDelete(ctx context.Context, sshKeyId string) ApiSshKeysSshKeyIdDeleteRequest
SshKeysSshKeyIdDelete Delete SSH Key.
Delete an SSH Key.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param sshKeyId The SSH Key's ID. @return ApiSshKeysSshKeyIdDeleteRequest
func (*SSHKeysAPIService) SshKeysSshKeyIdDeleteExecute ¶
func (a *SSHKeysAPIService) SshKeysSshKeyIdDeleteExecute(r ApiSshKeysSshKeyIdDeleteRequest) (*DeleteSshKeyResult, *http.Response, error)
Execute executes the request
@return DeleteSshKeyResult
func (*SSHKeysAPIService) SshKeysSshKeyIdGet ¶
func (a *SSHKeysAPIService) SshKeysSshKeyIdGet(ctx context.Context, sshKeyId string) ApiSshKeysSshKeyIdGetRequest
SshKeysSshKeyIdGet Get SSH Key.
Get SSH Key details.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param sshKeyId The SSH Key's ID. @return ApiSshKeysSshKeyIdGetRequest
func (*SSHKeysAPIService) SshKeysSshKeyIdGetExecute ¶
func (a *SSHKeysAPIService) SshKeysSshKeyIdGetExecute(r ApiSshKeysSshKeyIdGetRequest) (*SshKey, *http.Response, error)
Execute executes the request
@return SshKey
func (*SSHKeysAPIService) SshKeysSshKeyIdPut ¶
func (a *SSHKeysAPIService) SshKeysSshKeyIdPut(ctx context.Context, sshKeyId string) ApiSshKeysSshKeyIdPutRequest
SshKeysSshKeyIdPut Edit SSH Key.
Edit SSH Key details.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param sshKeyId The SSH Key's ID. @return ApiSshKeysSshKeyIdPutRequest
func (*SSHKeysAPIService) SshKeysSshKeyIdPutExecute ¶
func (a *SSHKeysAPIService) SshKeysSshKeyIdPutExecute(r ApiSshKeysSshKeyIdPutRequest) (*SshKey, *http.Response, error)
Execute executes the request
@return SshKey
type Server ¶
type Server struct { // The unique identifier of the server. Id string `json:"id"` // The status of the server. Can have one of the following values: `creating` , `powered-on` , `powered-off` , `rebooting` , `resetting` , `deleting` , `reserved` , `error` or `reinstating`. Status string `json:"status"` // Hostname of server. Hostname string `json:"hostname"` // Description of server. Description *string `json:"description,omitempty"` // The server’s OS ID used when the server was created. Currently this field should be set to either `ubuntu/bionic`, `ubuntu/focal`, `ubuntu/jammy`, `centos/centos7`, `centos/centos8`, `windows/srv2019std`, `windows/srv2019dc`, `windows/srv2022std`, `windows/srv2022dc`, `esxi/esxi70`, `esxi/esxi80`, `almalinux/almalinux8`, `rockylinux/rockylinux8`, `almalinux/almalinux9`, `rockylinux/rockylinux9`, `debian/bullseye`, `debian/bookworm`, `proxmox/bullseye`, `proxmox/proxmox8`, `netris/controller`, `netris/softgate_1g`, `netris/softgate_10g` or `netris/softgate_25g`. Os *string `json:"os,omitempty"` // Server type ID. Cannot be changed once a server is created. Currently this field should be set to either `s0.d1.small`, `s0.d1.medium`, `s1.c1.small`, `s1.c1.medium`, `s1.c2.medium`, `s1.c2.large`, `s1.e1.small`, `s1.e1.medium`, `s1.e1.large`, `s2.c1.small`, `s2.c1.medium`, `s2.c1.large`, `s2.c2.small`, `s2.c2.medium`, `s2.c2.large`, `d1.c1.small`, `d1.c2.small`, `d1.c3.small`, `d1.c4.small`, `d1.c1.medium`, `d1.c2.medium`, `d1.c3.medium`, `d1.c4.medium`, `d1.c1.large`, `d1.c2.large`, `d1.c3.large`, `d1.c4.large`, `d1.m1.medium`, `d1.m2.medium`, `d1.m3.medium`, `d1.m4.medium`, `d2.c1.medium`, `d2.c2.medium`, `d2.c3.medium`, `d2.c4.medium`, `d2.c5.medium`, `d2.c1.large`, `d2.c2.large`, `d2.c3.large`, `d2.c4.large`, `d2.c5.large`, `d2.m1.xlarge`, `d2.m2.xxlarge`, `d2.m3.xlarge`, `d2.m4.xlarge`, `d2.m5.xlarge`, `d2.c4.db1.pliops1`, `d3.m4.xlarge`, `d3.m5.xlarge`, `d3.m6.xlarge`, `a1.c5.large`, `d3.s5.xlarge`, `d3.m4.xxlarge`, `d3.m5.xxlarge`, `d3.m6.xxlarge`, `s3.c3.medium`, `s3.c3.large`, `d3.c4.medium`, `d3.c5.medium` or `d3.c6.medium`. Type string `json:"type"` // Server location ID. Cannot be changed once a server is created. Currently this field should be set to `PHX`, `ASH`, `SGP`, `NLD`, `CHI`, `SEA` or `AUS`. Location string `json:"location"` // A description of the machine CPU. Cpu string `json:"cpu"` // The number of CPUs available in the system. CpuCount int32 `json:"cpuCount"` // The number of physical cores present on each CPU. CoresPerCpu int32 `json:"coresPerCpu"` // The CPU frequency in GHz. CpuFrequency float32 `json:"cpuFrequency"` // A description of the machine RAM. Ram string `json:"ram"` // A description of the machine storage. Storage string `json:"storage"` // Private IP addresses assigned to server. PrivateIpAddresses []string `json:"privateIpAddresses"` // Public IP addresses assigned to server. PublicIpAddresses []string `json:"publicIpAddresses,omitempty"` // The reservation reference id if any. ReservationId *string `json:"reservationId,omitempty"` // The pricing model this server is being billed. Currently this field should be set to `HOURLY`, `ONE_MONTH_RESERVATION`, `TWELVE_MONTHS_RESERVATION`, `TWENTY_FOUR_MONTHS_RESERVATION` or `THIRTY_SIX_MONTHS_RESERVATION`. PricingModel string `json:"pricingModel"` // Auto-generated password set for user `Admin` on Windows server, user `root` on ESXi servers, user `root` on Proxmox server and user `netris` on Netris servers.<br> The password is not stored and therefore will only be returned in response to provisioning a server. Copy and save it for future reference. Password *string `json:"password,omitempty"` // The type of network configuration for this server. Currently this field should be set to `PUBLIC_AND_PRIVATE`, `PRIVATE_ONLY`, `PUBLIC_ONLY` or `NONE`. NetworkType *string `json:"networkType,omitempty"` // The cluster reference id if any. ClusterId *string `json:"clusterId,omitempty"` // The tags assigned if any. Tags []TagAssignment `json:"tags,omitempty"` // Date and time when server was provisioned. ProvisionedOn *time.Time `json:"provisionedOn,omitempty"` OsConfiguration *OsConfiguration `json:"osConfiguration,omitempty"` NetworkConfiguration NetworkConfiguration `json:"networkConfiguration"` StorageConfiguration StorageConfiguration `json:"storageConfiguration"` // Unique identifier of the server to which the reservation has been transferred. SupersededBy *string `json:"supersededBy,omitempty"` // Unique identifier of the server from which the reservation has been transferred. Supersedes *string `json:"supersedes,omitempty"` AdditionalProperties map[string]interface{} }
Server Bare metal server.
func NewServer ¶
func NewServer(id string, status string, hostname string, type_ string, location string, cpu string, cpuCount int32, coresPerCpu int32, cpuFrequency float32, ram string, storage string, privateIpAddresses []string, pricingModel string, networkConfiguration NetworkConfiguration, storageConfiguration StorageConfiguration) *Server
NewServer instantiates a new Server object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerWithDefaults ¶
func NewServerWithDefaults() *Server
NewServerWithDefaults instantiates a new Server object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Server) GetClusterId ¶
GetClusterId returns the ClusterId field value if set, zero value otherwise.
func (*Server) GetClusterIdOk ¶
GetClusterIdOk returns a tuple with the ClusterId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetCoresPerCpu ¶
GetCoresPerCpu returns the CoresPerCpu field value
func (*Server) GetCoresPerCpuOk ¶
GetCoresPerCpuOk returns a tuple with the CoresPerCpu field value and a boolean to check if the value has been set.
func (*Server) GetCpuCount ¶
GetCpuCount returns the CpuCount field value
func (*Server) GetCpuCountOk ¶
GetCpuCountOk returns a tuple with the CpuCount field value and a boolean to check if the value has been set.
func (*Server) GetCpuFrequency ¶
GetCpuFrequency returns the CpuFrequency field value
func (*Server) GetCpuFrequencyOk ¶
GetCpuFrequencyOk returns a tuple with the CpuFrequency field value and a boolean to check if the value has been set.
func (*Server) GetCpuOk ¶
GetCpuOk returns a tuple with the Cpu field value and a boolean to check if the value has been set.
func (*Server) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Server) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetHostname ¶
GetHostname returns the Hostname field value
func (*Server) GetHostnameOk ¶
GetHostnameOk returns a tuple with the Hostname field value and a boolean to check if the value has been set.
func (*Server) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Server) GetLocation ¶
GetLocation returns the Location field value
func (*Server) GetLocationOk ¶
GetLocationOk returns a tuple with the Location field value and a boolean to check if the value has been set.
func (*Server) GetNetworkConfiguration ¶
func (o *Server) GetNetworkConfiguration() NetworkConfiguration
GetNetworkConfiguration returns the NetworkConfiguration field value
func (*Server) GetNetworkConfigurationOk ¶
func (o *Server) GetNetworkConfigurationOk() (*NetworkConfiguration, bool)
GetNetworkConfigurationOk returns a tuple with the NetworkConfiguration field value and a boolean to check if the value has been set.
func (*Server) GetNetworkType ¶
GetNetworkType returns the NetworkType field value if set, zero value otherwise.
func (*Server) GetNetworkTypeOk ¶
GetNetworkTypeOk returns a tuple with the NetworkType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetOsConfiguration ¶
func (o *Server) GetOsConfiguration() OsConfiguration
GetOsConfiguration returns the OsConfiguration field value if set, zero value otherwise.
func (*Server) GetOsConfigurationOk ¶
func (o *Server) GetOsConfigurationOk() (*OsConfiguration, bool)
GetOsConfigurationOk returns a tuple with the OsConfiguration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetOsOk ¶
GetOsOk returns a tuple with the Os field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetPassword ¶
GetPassword returns the Password field value if set, zero value otherwise.
func (*Server) GetPasswordOk ¶
GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetPricingModel ¶
GetPricingModel returns the PricingModel field value
func (*Server) GetPricingModelOk ¶
GetPricingModelOk returns a tuple with the PricingModel field value and a boolean to check if the value has been set.
func (*Server) GetPrivateIpAddresses ¶
GetPrivateIpAddresses returns the PrivateIpAddresses field value
func (*Server) GetPrivateIpAddressesOk ¶
GetPrivateIpAddressesOk returns a tuple with the PrivateIpAddresses field value and a boolean to check if the value has been set.
func (*Server) GetProvisionedOn ¶
GetProvisionedOn returns the ProvisionedOn field value if set, zero value otherwise.
func (*Server) GetProvisionedOnOk ¶
GetProvisionedOnOk returns a tuple with the ProvisionedOn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetPublicIpAddresses ¶
GetPublicIpAddresses returns the PublicIpAddresses field value if set, zero value otherwise.
func (*Server) GetPublicIpAddressesOk ¶
GetPublicIpAddressesOk returns a tuple with the PublicIpAddresses field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetRamOk ¶
GetRamOk returns a tuple with the Ram field value and a boolean to check if the value has been set.
func (*Server) GetReservationId ¶
GetReservationId returns the ReservationId field value if set, zero value otherwise.
func (*Server) GetReservationIdOk ¶
GetReservationIdOk returns a tuple with the ReservationId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*Server) GetStorage ¶
GetStorage returns the Storage field value
func (*Server) GetStorageConfiguration ¶
func (o *Server) GetStorageConfiguration() StorageConfiguration
GetStorageConfiguration returns the StorageConfiguration field value
func (*Server) GetStorageConfigurationOk ¶
func (o *Server) GetStorageConfigurationOk() (*StorageConfiguration, bool)
GetStorageConfigurationOk returns a tuple with the StorageConfiguration field value and a boolean to check if the value has been set.
func (*Server) GetStorageOk ¶
GetStorageOk returns a tuple with the Storage field value and a boolean to check if the value has been set.
func (*Server) GetSupersededBy ¶
GetSupersededBy returns the SupersededBy field value if set, zero value otherwise.
func (*Server) GetSupersededByOk ¶
GetSupersededByOk returns a tuple with the SupersededBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetSupersedes ¶
GetSupersedes returns the Supersedes field value if set, zero value otherwise.
func (*Server) GetSupersedesOk ¶
GetSupersedesOk returns a tuple with the Supersedes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetTags ¶
func (o *Server) GetTags() []TagAssignment
GetTags returns the Tags field value if set, zero value otherwise.
func (*Server) GetTagsOk ¶
func (o *Server) GetTagsOk() ([]TagAssignment, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Server) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*Server) HasClusterId ¶
HasClusterId returns a boolean if a field has been set.
func (*Server) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Server) HasNetworkType ¶
HasNetworkType returns a boolean if a field has been set.
func (*Server) HasOsConfiguration ¶
HasOsConfiguration returns a boolean if a field has been set.
func (*Server) HasPassword ¶
HasPassword returns a boolean if a field has been set.
func (*Server) HasProvisionedOn ¶
HasProvisionedOn returns a boolean if a field has been set.
func (*Server) HasPublicIpAddresses ¶
HasPublicIpAddresses returns a boolean if a field has been set.
func (*Server) HasReservationId ¶
HasReservationId returns a boolean if a field has been set.
func (*Server) HasSupersededBy ¶
HasSupersededBy returns a boolean if a field has been set.
func (*Server) HasSupersedes ¶
HasSupersedes returns a boolean if a field has been set.
func (Server) MarshalJSON ¶
func (*Server) SetClusterId ¶
SetClusterId gets a reference to the given string and assigns it to the ClusterId field.
func (*Server) SetCoresPerCpu ¶
SetCoresPerCpu sets field value
func (*Server) SetCpuFrequency ¶
SetCpuFrequency sets field value
func (*Server) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Server) SetNetworkConfiguration ¶
func (o *Server) SetNetworkConfiguration(v NetworkConfiguration)
SetNetworkConfiguration sets field value
func (*Server) SetNetworkType ¶
SetNetworkType gets a reference to the given string and assigns it to the NetworkType field.
func (*Server) SetOsConfiguration ¶
func (o *Server) SetOsConfiguration(v OsConfiguration)
SetOsConfiguration gets a reference to the given OsConfiguration and assigns it to the OsConfiguration field.
func (*Server) SetPassword ¶
SetPassword gets a reference to the given string and assigns it to the Password field.
func (*Server) SetPricingModel ¶
SetPricingModel sets field value
func (*Server) SetPrivateIpAddresses ¶
SetPrivateIpAddresses sets field value
func (*Server) SetProvisionedOn ¶
SetProvisionedOn gets a reference to the given time.Time and assigns it to the ProvisionedOn field.
func (*Server) SetPublicIpAddresses ¶
SetPublicIpAddresses gets a reference to the given []string and assigns it to the PublicIpAddresses field.
func (*Server) SetReservationId ¶
SetReservationId gets a reference to the given string and assigns it to the ReservationId field.
func (*Server) SetStorageConfiguration ¶
func (o *Server) SetStorageConfiguration(v StorageConfiguration)
SetStorageConfiguration sets field value
func (*Server) SetSupersededBy ¶
SetSupersededBy gets a reference to the given string and assigns it to the SupersededBy field.
func (*Server) SetSupersedes ¶
SetSupersedes gets a reference to the given string and assigns it to the Supersedes field.
func (*Server) SetTags ¶
func (o *Server) SetTags(v []TagAssignment)
SetTags gets a reference to the given []TagAssignment and assigns it to the Tags field.
func (*Server) UnmarshalJSON ¶
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerCreate ¶
type ServerCreate struct { // Hostname of server. Hostname string `json:"hostname"` // Description of server. Description *string `json:"description,omitempty"` // The server’s OS ID used when the server was created. Currently this field should be set to either `ubuntu/bionic`, `ubuntu/focal`, `ubuntu/jammy`, `centos/centos7`, `centos/centos8`, `windows/srv2019std`, `windows/srv2019dc`, `windows/srv2022std`, `windows/srv2022dc`, `esxi/esxi70`, `esxi/esxi80`, `almalinux/almalinux8`, `rockylinux/rockylinux8`, `almalinux/almalinux9`, `rockylinux/rockylinux9`, `virtuozzo/virtuozzo7`, `debian/bullseye`, `debian/bookworm`, `proxmox/bullseye`, `proxmox/proxmox8`, `netris/controller`, `netris/softgate_1g`, `netris/softgate_10g` or `netris/softgate_25g`. Os string `json:"os"` // Server type ID. Cannot be changed once a server is created. Currently this field should be set to either `s0.d1.small`, `s0.d1.medium`, `s1.c1.small`, `s1.c1.medium`, `s1.c2.medium`, `s1.c2.large`, `s1.e1.small`, `s1.e1.medium`, `s1.e1.large`, `s2.c1.small`, `s2.c1.medium`, `s2.c1.large`, `s2.c2.small`, `s2.c2.medium`, `s2.c2.large`, `d1.c1.small`, `d1.c2.small`, `d1.c3.small`, `d1.c4.small`, `d1.c1.medium`, `d1.c2.medium`, `d1.c3.medium`, `d1.c4.medium`, `d1.c1.large`, `d1.c2.large`, `d1.c3.large`, `d1.c4.large`, `d1.m1.medium`, `d1.m2.medium`, `d1.m3.medium`, `d1.m4.medium`, `d2.c1.medium`, `d2.c2.medium`, `d2.c3.medium`, `d2.c4.medium`, `d2.c5.medium`, `d2.c1.large`, `d2.c2.large`, `d2.c3.large`, `d2.c4.large`, `d2.c5.large`, `d2.m1.xlarge`, `d2.m2.xxlarge`, `d2.m3.xlarge`, `d2.m4.xlarge`, `d2.m5.xlarge`, `d2.c4.db1.pliops1`, `d3.m4.xlarge`, `d3.m5.xlarge`, `d3.m6.xlarge`, `a1.c5.large`, `d3.s5.xlarge`, `d3.m4.xxlarge`, `d3.m5.xxlarge`, `d3.m6.xxlarge`, `s3.c3.medium`, `s3.c3.large`, `d3.c4.medium`, `d3.c5.medium` or `d3.c6.medium`. Type string `json:"type"` // Server location ID. Cannot be changed once a server is created. Currently this field should be set to `PHX`, `ASH`, `SGP`, `NLD`, `CHI`, `SEA` or `AUS`. Location string `json:"location"` // Whether or not to install SSH keys marked as default in addition to any SSH keys specified in this request. InstallDefaultSshKeys *bool `json:"installDefaultSshKeys,omitempty"` // A list of SSH keys that will be installed on the server. SshKeys []string `json:"sshKeys,omitempty"` // A list of SSH key IDs that will be installed on the server in addition to any SSH keys specified in this request. SshKeyIds []string `json:"sshKeyIds,omitempty"` // Server reservation ID. ReservationId *string `json:"reservationId,omitempty"` // Server pricing model. Currently this field should be set to `HOURLY`, `ONE_MONTH_RESERVATION`, `TWELVE_MONTHS_RESERVATION`, `TWENTY_FOUR_MONTHS_RESERVATION` or `THIRTY_SIX_MONTHS_RESERVATION`. PricingModel *string `json:"pricingModel,omitempty"` // The type of network configuration for this server.<br> Currently this field should be set to `PUBLIC_AND_PRIVATE`, `PRIVATE_ONLY`, `PUBLIC_ONLY` or `USER_DEFINED`.<br> Setting the `force` query parameter to `true` allows you to configure network configuration type as `NONE`. NetworkType *string `json:"networkType,omitempty"` OsConfiguration *OsConfiguration `json:"osConfiguration,omitempty"` // Tags to set to the server. To create a new tag or list all the existing tags that you can use, refer to [Tags API](https://developers.phoenixnap.com/docs/tags/1/overview). Tags []TagAssignmentRequest `json:"tags,omitempty"` NetworkConfiguration *NetworkConfiguration `json:"networkConfiguration,omitempty"` StorageConfiguration *StorageConfiguration `json:"storageConfiguration,omitempty"` AdditionalProperties map[string]interface{} }
ServerCreate Provision bare metal server.
func NewServerCreate ¶
func NewServerCreate(hostname string, os string, type_ string, location string) *ServerCreate
NewServerCreate instantiates a new ServerCreate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerCreateWithDefaults ¶
func NewServerCreateWithDefaults() *ServerCreate
NewServerCreateWithDefaults instantiates a new ServerCreate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerCreate) GetDescription ¶
func (o *ServerCreate) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ServerCreate) GetDescriptionOk ¶
func (o *ServerCreate) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerCreate) GetHostname ¶
func (o *ServerCreate) GetHostname() string
GetHostname returns the Hostname field value
func (*ServerCreate) GetHostnameOk ¶
func (o *ServerCreate) GetHostnameOk() (*string, bool)
GetHostnameOk returns a tuple with the Hostname field value and a boolean to check if the value has been set.
func (*ServerCreate) GetInstallDefaultSshKeys ¶
func (o *ServerCreate) GetInstallDefaultSshKeys() bool
GetInstallDefaultSshKeys returns the InstallDefaultSshKeys field value if set, zero value otherwise.
func (*ServerCreate) GetInstallDefaultSshKeysOk ¶
func (o *ServerCreate) GetInstallDefaultSshKeysOk() (*bool, bool)
GetInstallDefaultSshKeysOk returns a tuple with the InstallDefaultSshKeys field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerCreate) GetLocation ¶
func (o *ServerCreate) GetLocation() string
GetLocation returns the Location field value
func (*ServerCreate) GetLocationOk ¶
func (o *ServerCreate) GetLocationOk() (*string, bool)
GetLocationOk returns a tuple with the Location field value and a boolean to check if the value has been set.
func (*ServerCreate) GetNetworkConfiguration ¶
func (o *ServerCreate) GetNetworkConfiguration() NetworkConfiguration
GetNetworkConfiguration returns the NetworkConfiguration field value if set, zero value otherwise.
func (*ServerCreate) GetNetworkConfigurationOk ¶
func (o *ServerCreate) GetNetworkConfigurationOk() (*NetworkConfiguration, bool)
GetNetworkConfigurationOk returns a tuple with the NetworkConfiguration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerCreate) GetNetworkType ¶
func (o *ServerCreate) GetNetworkType() string
GetNetworkType returns the NetworkType field value if set, zero value otherwise.
func (*ServerCreate) GetNetworkTypeOk ¶
func (o *ServerCreate) GetNetworkTypeOk() (*string, bool)
GetNetworkTypeOk returns a tuple with the NetworkType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerCreate) GetOsConfiguration ¶
func (o *ServerCreate) GetOsConfiguration() OsConfiguration
GetOsConfiguration returns the OsConfiguration field value if set, zero value otherwise.
func (*ServerCreate) GetOsConfigurationOk ¶
func (o *ServerCreate) GetOsConfigurationOk() (*OsConfiguration, bool)
GetOsConfigurationOk returns a tuple with the OsConfiguration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerCreate) GetOsOk ¶
func (o *ServerCreate) GetOsOk() (*string, bool)
GetOsOk returns a tuple with the Os field value and a boolean to check if the value has been set.
func (*ServerCreate) GetPricingModel ¶
func (o *ServerCreate) GetPricingModel() string
GetPricingModel returns the PricingModel field value if set, zero value otherwise.
func (*ServerCreate) GetPricingModelOk ¶
func (o *ServerCreate) GetPricingModelOk() (*string, bool)
GetPricingModelOk returns a tuple with the PricingModel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerCreate) GetReservationId ¶
func (o *ServerCreate) GetReservationId() string
GetReservationId returns the ReservationId field value if set, zero value otherwise.
func (*ServerCreate) GetReservationIdOk ¶
func (o *ServerCreate) GetReservationIdOk() (*string, bool)
GetReservationIdOk returns a tuple with the ReservationId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerCreate) GetSshKeyIds ¶
func (o *ServerCreate) GetSshKeyIds() []string
GetSshKeyIds returns the SshKeyIds field value if set, zero value otherwise.
func (*ServerCreate) GetSshKeyIdsOk ¶
func (o *ServerCreate) GetSshKeyIdsOk() ([]string, bool)
GetSshKeyIdsOk returns a tuple with the SshKeyIds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerCreate) GetSshKeys ¶
func (o *ServerCreate) GetSshKeys() []string
GetSshKeys returns the SshKeys field value if set, zero value otherwise.
func (*ServerCreate) GetSshKeysOk ¶
func (o *ServerCreate) GetSshKeysOk() ([]string, bool)
GetSshKeysOk returns a tuple with the SshKeys field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerCreate) GetStorageConfiguration ¶
func (o *ServerCreate) GetStorageConfiguration() StorageConfiguration
GetStorageConfiguration returns the StorageConfiguration field value if set, zero value otherwise.
func (*ServerCreate) GetStorageConfigurationOk ¶
func (o *ServerCreate) GetStorageConfigurationOk() (*StorageConfiguration, bool)
GetStorageConfigurationOk returns a tuple with the StorageConfiguration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerCreate) GetTags ¶
func (o *ServerCreate) GetTags() []TagAssignmentRequest
GetTags returns the Tags field value if set, zero value otherwise.
func (*ServerCreate) GetTagsOk ¶
func (o *ServerCreate) GetTagsOk() ([]TagAssignmentRequest, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerCreate) GetType ¶
func (o *ServerCreate) GetType() string
GetType returns the Type field value
func (*ServerCreate) GetTypeOk ¶
func (o *ServerCreate) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*ServerCreate) HasDescription ¶
func (o *ServerCreate) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ServerCreate) HasInstallDefaultSshKeys ¶
func (o *ServerCreate) HasInstallDefaultSshKeys() bool
HasInstallDefaultSshKeys returns a boolean if a field has been set.
func (*ServerCreate) HasNetworkConfiguration ¶
func (o *ServerCreate) HasNetworkConfiguration() bool
HasNetworkConfiguration returns a boolean if a field has been set.
func (*ServerCreate) HasNetworkType ¶
func (o *ServerCreate) HasNetworkType() bool
HasNetworkType returns a boolean if a field has been set.
func (*ServerCreate) HasOsConfiguration ¶
func (o *ServerCreate) HasOsConfiguration() bool
HasOsConfiguration returns a boolean if a field has been set.
func (*ServerCreate) HasPricingModel ¶
func (o *ServerCreate) HasPricingModel() bool
HasPricingModel returns a boolean if a field has been set.
func (*ServerCreate) HasReservationId ¶
func (o *ServerCreate) HasReservationId() bool
HasReservationId returns a boolean if a field has been set.
func (*ServerCreate) HasSshKeyIds ¶
func (o *ServerCreate) HasSshKeyIds() bool
HasSshKeyIds returns a boolean if a field has been set.
func (*ServerCreate) HasSshKeys ¶
func (o *ServerCreate) HasSshKeys() bool
HasSshKeys returns a boolean if a field has been set.
func (*ServerCreate) HasStorageConfiguration ¶
func (o *ServerCreate) HasStorageConfiguration() bool
HasStorageConfiguration returns a boolean if a field has been set.
func (*ServerCreate) HasTags ¶
func (o *ServerCreate) HasTags() bool
HasTags returns a boolean if a field has been set.
func (ServerCreate) MarshalJSON ¶
func (o ServerCreate) MarshalJSON() ([]byte, error)
func (*ServerCreate) SetDescription ¶
func (o *ServerCreate) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ServerCreate) SetHostname ¶
func (o *ServerCreate) SetHostname(v string)
SetHostname sets field value
func (*ServerCreate) SetInstallDefaultSshKeys ¶
func (o *ServerCreate) SetInstallDefaultSshKeys(v bool)
SetInstallDefaultSshKeys gets a reference to the given bool and assigns it to the InstallDefaultSshKeys field.
func (*ServerCreate) SetLocation ¶
func (o *ServerCreate) SetLocation(v string)
SetLocation sets field value
func (*ServerCreate) SetNetworkConfiguration ¶
func (o *ServerCreate) SetNetworkConfiguration(v NetworkConfiguration)
SetNetworkConfiguration gets a reference to the given NetworkConfiguration and assigns it to the NetworkConfiguration field.
func (*ServerCreate) SetNetworkType ¶
func (o *ServerCreate) SetNetworkType(v string)
SetNetworkType gets a reference to the given string and assigns it to the NetworkType field.
func (*ServerCreate) SetOsConfiguration ¶
func (o *ServerCreate) SetOsConfiguration(v OsConfiguration)
SetOsConfiguration gets a reference to the given OsConfiguration and assigns it to the OsConfiguration field.
func (*ServerCreate) SetPricingModel ¶
func (o *ServerCreate) SetPricingModel(v string)
SetPricingModel gets a reference to the given string and assigns it to the PricingModel field.
func (*ServerCreate) SetReservationId ¶
func (o *ServerCreate) SetReservationId(v string)
SetReservationId gets a reference to the given string and assigns it to the ReservationId field.
func (*ServerCreate) SetSshKeyIds ¶
func (o *ServerCreate) SetSshKeyIds(v []string)
SetSshKeyIds gets a reference to the given []string and assigns it to the SshKeyIds field.
func (*ServerCreate) SetSshKeys ¶
func (o *ServerCreate) SetSshKeys(v []string)
SetSshKeys gets a reference to the given []string and assigns it to the SshKeys field.
func (*ServerCreate) SetStorageConfiguration ¶
func (o *ServerCreate) SetStorageConfiguration(v StorageConfiguration)
SetStorageConfiguration gets a reference to the given StorageConfiguration and assigns it to the StorageConfiguration field.
func (*ServerCreate) SetTags ¶
func (o *ServerCreate) SetTags(v []TagAssignmentRequest)
SetTags gets a reference to the given []TagAssignmentRequest and assigns it to the Tags field.
func (ServerCreate) ToMap ¶
func (o ServerCreate) ToMap() (map[string]interface{}, error)
func (*ServerCreate) UnmarshalJSON ¶
func (o *ServerCreate) UnmarshalJSON(data []byte) (err error)
type ServerIpBlock ¶
type ServerIpBlock struct { // The IP block's ID. Id string `json:"id"` // (Read-only) The VLAN on which this IP block has been configured within the network switch. VlanId *int32 `json:"vlanId,omitempty"` AdditionalProperties map[string]interface{} }
ServerIpBlock IP block assigned to server
func NewServerIpBlock ¶
func NewServerIpBlock(id string) *ServerIpBlock
NewServerIpBlock instantiates a new ServerIpBlock object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerIpBlockWithDefaults ¶
func NewServerIpBlockWithDefaults() *ServerIpBlock
NewServerIpBlockWithDefaults instantiates a new ServerIpBlock object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerIpBlock) GetId ¶
func (o *ServerIpBlock) GetId() string
GetId returns the Id field value
func (*ServerIpBlock) GetIdOk ¶
func (o *ServerIpBlock) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ServerIpBlock) GetVlanId ¶
func (o *ServerIpBlock) GetVlanId() int32
GetVlanId returns the VlanId field value if set, zero value otherwise.
func (*ServerIpBlock) GetVlanIdOk ¶
func (o *ServerIpBlock) GetVlanIdOk() (*int32, bool)
GetVlanIdOk returns a tuple with the VlanId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerIpBlock) HasVlanId ¶
func (o *ServerIpBlock) HasVlanId() bool
HasVlanId returns a boolean if a field has been set.
func (ServerIpBlock) MarshalJSON ¶
func (o ServerIpBlock) MarshalJSON() ([]byte, error)
func (*ServerIpBlock) SetVlanId ¶
func (o *ServerIpBlock) SetVlanId(v int32)
SetVlanId gets a reference to the given int32 and assigns it to the VlanId field.
func (ServerIpBlock) ToMap ¶
func (o ServerIpBlock) ToMap() (map[string]interface{}, error)
func (*ServerIpBlock) UnmarshalJSON ¶
func (o *ServerIpBlock) UnmarshalJSON(data []byte) (err error)
type ServerNetworkUpdate ¶
type ServerNetworkUpdate struct { // List of IPs to be associated to the server.<br> Valid IP formats are single IPv4 addresses or IPv4 ranges. IPs must be within the network's range.<br> Setting the `force` query parameter to `true` allows you to:<ul> <li> Assign no specific IP addresses by designating an empty array of IPs. <li> Assign one or more IP addresses which are already configured on other resource(s) in network. <li> Assign IP addresses which are considered as reserved in network.</ul> Ips []string `json:"ips,omitempty"` AdditionalProperties map[string]interface{} }
ServerNetworkUpdate Update network details of bare metal server.
func NewServerNetworkUpdate ¶
func NewServerNetworkUpdate() *ServerNetworkUpdate
NewServerNetworkUpdate instantiates a new ServerNetworkUpdate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerNetworkUpdateWithDefaults ¶
func NewServerNetworkUpdateWithDefaults() *ServerNetworkUpdate
NewServerNetworkUpdateWithDefaults instantiates a new ServerNetworkUpdate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerNetworkUpdate) GetIps ¶
func (o *ServerNetworkUpdate) GetIps() []string
GetIps returns the Ips field value if set, zero value otherwise.
func (*ServerNetworkUpdate) GetIpsOk ¶
func (o *ServerNetworkUpdate) GetIpsOk() ([]string, bool)
GetIpsOk returns a tuple with the Ips field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerNetworkUpdate) HasIps ¶
func (o *ServerNetworkUpdate) HasIps() bool
HasIps returns a boolean if a field has been set.
func (ServerNetworkUpdate) MarshalJSON ¶
func (o ServerNetworkUpdate) MarshalJSON() ([]byte, error)
func (*ServerNetworkUpdate) SetIps ¶
func (o *ServerNetworkUpdate) SetIps(v []string)
SetIps gets a reference to the given []string and assigns it to the Ips field.
func (ServerNetworkUpdate) ToMap ¶
func (o ServerNetworkUpdate) ToMap() (map[string]interface{}, error)
func (*ServerNetworkUpdate) UnmarshalJSON ¶ added in v3.0.1
func (o *ServerNetworkUpdate) UnmarshalJSON(data []byte) (err error)
type ServerPatch ¶
type ServerPatch struct { // Description of server. Description *string `json:"description,omitempty"` // Hostname of server Hostname *string `json:"hostname,omitempty"` AdditionalProperties map[string]interface{} }
ServerPatch Patch bare metal server.
func NewServerPatch ¶
func NewServerPatch() *ServerPatch
NewServerPatch instantiates a new ServerPatch object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerPatchWithDefaults ¶
func NewServerPatchWithDefaults() *ServerPatch
NewServerPatchWithDefaults instantiates a new ServerPatch object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerPatch) GetDescription ¶
func (o *ServerPatch) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ServerPatch) GetDescriptionOk ¶
func (o *ServerPatch) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerPatch) GetHostname ¶
func (o *ServerPatch) GetHostname() string
GetHostname returns the Hostname field value if set, zero value otherwise.
func (*ServerPatch) GetHostnameOk ¶
func (o *ServerPatch) GetHostnameOk() (*string, bool)
GetHostnameOk returns a tuple with the Hostname field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerPatch) HasDescription ¶
func (o *ServerPatch) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ServerPatch) HasHostname ¶
func (o *ServerPatch) HasHostname() bool
HasHostname returns a boolean if a field has been set.
func (ServerPatch) MarshalJSON ¶
func (o ServerPatch) MarshalJSON() ([]byte, error)
func (*ServerPatch) SetDescription ¶
func (o *ServerPatch) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ServerPatch) SetHostname ¶
func (o *ServerPatch) SetHostname(v string)
SetHostname gets a reference to the given string and assigns it to the Hostname field.
func (ServerPatch) ToMap ¶
func (o ServerPatch) ToMap() (map[string]interface{}, error)
func (*ServerPatch) UnmarshalJSON ¶ added in v3.0.1
func (o *ServerPatch) UnmarshalJSON(data []byte) (err error)
type ServerPrivateNetwork ¶
type ServerPrivateNetwork struct { // The network identifier. Id string `json:"id"` // IPs to configure/configured on the server.<br> Valid IP formats are single IPv4 addresses or IPv4 ranges. IPs must be within the network's range. Should be null or empty list if DHCP is true. <br> If field is undefined and DHCP is false, next available IP in network will be automatically allocated.<br> If the network contains a membership of type 'storage', the first twelve IPs are already reserved by BMC and not usable.<br> Setting the `force` query parameter to `true` allows you to:<ul> <li> Assign no specific IP addresses by designating an empty array of IPs. Note that at least one IP is required for the gateway address to be selected from this network. <li> Assign one or more IP addresses which are already configured on other resource(s) in network. <li> Assign IP addresses which are considered as reserved in network.</ul> Ips []string `json:"ips,omitempty"` // Determines whether DHCP is enabled for this server. Should be false if any IPs are provided. Not supported for Proxmox OS. Dhcp *bool `json:"dhcp,omitempty"` // (Read-only) The status of the network. StatusDescription *string `json:"statusDescription,omitempty"` AdditionalProperties map[string]interface{} }
ServerPrivateNetwork Private network details of bare metal server.
func NewServerPrivateNetwork ¶
func NewServerPrivateNetwork(id string) *ServerPrivateNetwork
NewServerPrivateNetwork instantiates a new ServerPrivateNetwork object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerPrivateNetworkWithDefaults ¶
func NewServerPrivateNetworkWithDefaults() *ServerPrivateNetwork
NewServerPrivateNetworkWithDefaults instantiates a new ServerPrivateNetwork object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerPrivateNetwork) GetDhcp ¶
func (o *ServerPrivateNetwork) GetDhcp() bool
GetDhcp returns the Dhcp field value if set, zero value otherwise.
func (*ServerPrivateNetwork) GetDhcpOk ¶
func (o *ServerPrivateNetwork) GetDhcpOk() (*bool, bool)
GetDhcpOk returns a tuple with the Dhcp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerPrivateNetwork) GetId ¶
func (o *ServerPrivateNetwork) GetId() string
GetId returns the Id field value
func (*ServerPrivateNetwork) GetIdOk ¶
func (o *ServerPrivateNetwork) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ServerPrivateNetwork) GetIps ¶
func (o *ServerPrivateNetwork) GetIps() []string
GetIps returns the Ips field value if set, zero value otherwise.
func (*ServerPrivateNetwork) GetIpsOk ¶
func (o *ServerPrivateNetwork) GetIpsOk() ([]string, bool)
GetIpsOk returns a tuple with the Ips field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerPrivateNetwork) GetStatusDescription ¶
func (o *ServerPrivateNetwork) GetStatusDescription() string
GetStatusDescription returns the StatusDescription field value if set, zero value otherwise.
func (*ServerPrivateNetwork) GetStatusDescriptionOk ¶
func (o *ServerPrivateNetwork) GetStatusDescriptionOk() (*string, bool)
GetStatusDescriptionOk returns a tuple with the StatusDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerPrivateNetwork) HasDhcp ¶
func (o *ServerPrivateNetwork) HasDhcp() bool
HasDhcp returns a boolean if a field has been set.
func (*ServerPrivateNetwork) HasIps ¶
func (o *ServerPrivateNetwork) HasIps() bool
HasIps returns a boolean if a field has been set.
func (*ServerPrivateNetwork) HasStatusDescription ¶
func (o *ServerPrivateNetwork) HasStatusDescription() bool
HasStatusDescription returns a boolean if a field has been set.
func (ServerPrivateNetwork) MarshalJSON ¶
func (o ServerPrivateNetwork) MarshalJSON() ([]byte, error)
func (*ServerPrivateNetwork) SetDhcp ¶
func (o *ServerPrivateNetwork) SetDhcp(v bool)
SetDhcp gets a reference to the given bool and assigns it to the Dhcp field.
func (*ServerPrivateNetwork) SetId ¶
func (o *ServerPrivateNetwork) SetId(v string)
SetId sets field value
func (*ServerPrivateNetwork) SetIps ¶
func (o *ServerPrivateNetwork) SetIps(v []string)
SetIps gets a reference to the given []string and assigns it to the Ips field.
func (*ServerPrivateNetwork) SetStatusDescription ¶
func (o *ServerPrivateNetwork) SetStatusDescription(v string)
SetStatusDescription gets a reference to the given string and assigns it to the StatusDescription field.
func (ServerPrivateNetwork) ToMap ¶
func (o ServerPrivateNetwork) ToMap() (map[string]interface{}, error)
func (*ServerPrivateNetwork) UnmarshalJSON ¶
func (o *ServerPrivateNetwork) UnmarshalJSON(data []byte) (err error)
type ServerProvision ¶
type ServerProvision struct { // Hostname of server. Hostname string `json:"hostname"` // Description of server. Description *string `json:"description,omitempty"` // The server’s OS ID used when the server was created. Currently this field should be set to either `ubuntu/bionic`, `ubuntu/focal`, `ubuntu/jammy`, `centos/centos7`, `centos/centos8`, `windows/srv2019std`, `windows/srv2019dc`, `windows/srv2022std`, `windows/srv2022dc`, `esxi/esxi70`, `esxi/esxi80`, `almalinux/almalinux8`, `rockylinux/rockylinux8`, `debian/bullseye`, `debian/bookworm`, `proxmox/bullseye`, `proxmox/proxmox8`, `netris/controller`, `netris/softgate_1g`, `netris/softgate_10g` or `netris/softgate_25g`. Os string `json:"os"` // Whether or not to install SSH keys marked as default in addition to any SSH keys specified in this request. InstallDefaultSshKeys *bool `json:"installDefaultSshKeys,omitempty"` // A list of SSH keys that will be installed on the server. SshKeys []string `json:"sshKeys,omitempty"` // A list of SSH key IDs that will be installed on the server in addition to any SSH keys specified in this request. SshKeyIds []string `json:"sshKeyIds,omitempty"` // The type of network configuration for this server.<br> Currently this field should be set to `PUBLIC_AND_PRIVATE`, `PRIVATE_ONLY`, `PUBLIC_ONLY` or `USER_DEFINED`.<br> Setting the `force` query parameter to `true` allows you to configure network configuration type as `NONE`. NetworkType *string `json:"networkType,omitempty"` OsConfiguration *OsConfiguration `json:"osConfiguration,omitempty"` // Tags to set to the server. To create a new tag or list all the existing tags that you can use, refer to [Tags API](https://developers.phoenixnap.com/docs/tags/1/overview). Tags []TagAssignmentRequest `json:"tags,omitempty"` NetworkConfiguration *NetworkConfiguration `json:"networkConfiguration,omitempty"` StorageConfiguration *StorageConfiguration `json:"storageConfiguration,omitempty"` AdditionalProperties map[string]interface{} }
ServerProvision Provision bare metal server.
func NewServerProvision ¶
func NewServerProvision(hostname string, os string) *ServerProvision
NewServerProvision instantiates a new ServerProvision object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerProvisionWithDefaults ¶
func NewServerProvisionWithDefaults() *ServerProvision
NewServerProvisionWithDefaults instantiates a new ServerProvision object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerProvision) GetDescription ¶
func (o *ServerProvision) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ServerProvision) GetDescriptionOk ¶
func (o *ServerProvision) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerProvision) GetHostname ¶
func (o *ServerProvision) GetHostname() string
GetHostname returns the Hostname field value
func (*ServerProvision) GetHostnameOk ¶
func (o *ServerProvision) GetHostnameOk() (*string, bool)
GetHostnameOk returns a tuple with the Hostname field value and a boolean to check if the value has been set.
func (*ServerProvision) GetInstallDefaultSshKeys ¶
func (o *ServerProvision) GetInstallDefaultSshKeys() bool
GetInstallDefaultSshKeys returns the InstallDefaultSshKeys field value if set, zero value otherwise.
func (*ServerProvision) GetInstallDefaultSshKeysOk ¶
func (o *ServerProvision) GetInstallDefaultSshKeysOk() (*bool, bool)
GetInstallDefaultSshKeysOk returns a tuple with the InstallDefaultSshKeys field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerProvision) GetNetworkConfiguration ¶
func (o *ServerProvision) GetNetworkConfiguration() NetworkConfiguration
GetNetworkConfiguration returns the NetworkConfiguration field value if set, zero value otherwise.
func (*ServerProvision) GetNetworkConfigurationOk ¶
func (o *ServerProvision) GetNetworkConfigurationOk() (*NetworkConfiguration, bool)
GetNetworkConfigurationOk returns a tuple with the NetworkConfiguration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerProvision) GetNetworkType ¶
func (o *ServerProvision) GetNetworkType() string
GetNetworkType returns the NetworkType field value if set, zero value otherwise.
func (*ServerProvision) GetNetworkTypeOk ¶
func (o *ServerProvision) GetNetworkTypeOk() (*string, bool)
GetNetworkTypeOk returns a tuple with the NetworkType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerProvision) GetOs ¶
func (o *ServerProvision) GetOs() string
GetOs returns the Os field value
func (*ServerProvision) GetOsConfiguration ¶
func (o *ServerProvision) GetOsConfiguration() OsConfiguration
GetOsConfiguration returns the OsConfiguration field value if set, zero value otherwise.
func (*ServerProvision) GetOsConfigurationOk ¶
func (o *ServerProvision) GetOsConfigurationOk() (*OsConfiguration, bool)
GetOsConfigurationOk returns a tuple with the OsConfiguration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerProvision) GetOsOk ¶
func (o *ServerProvision) GetOsOk() (*string, bool)
GetOsOk returns a tuple with the Os field value and a boolean to check if the value has been set.
func (*ServerProvision) GetSshKeyIds ¶
func (o *ServerProvision) GetSshKeyIds() []string
GetSshKeyIds returns the SshKeyIds field value if set, zero value otherwise.
func (*ServerProvision) GetSshKeyIdsOk ¶
func (o *ServerProvision) GetSshKeyIdsOk() ([]string, bool)
GetSshKeyIdsOk returns a tuple with the SshKeyIds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerProvision) GetSshKeys ¶
func (o *ServerProvision) GetSshKeys() []string
GetSshKeys returns the SshKeys field value if set, zero value otherwise.
func (*ServerProvision) GetSshKeysOk ¶
func (o *ServerProvision) GetSshKeysOk() ([]string, bool)
GetSshKeysOk returns a tuple with the SshKeys field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerProvision) GetStorageConfiguration ¶
func (o *ServerProvision) GetStorageConfiguration() StorageConfiguration
GetStorageConfiguration returns the StorageConfiguration field value if set, zero value otherwise.
func (*ServerProvision) GetStorageConfigurationOk ¶
func (o *ServerProvision) GetStorageConfigurationOk() (*StorageConfiguration, bool)
GetStorageConfigurationOk returns a tuple with the StorageConfiguration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerProvision) GetTags ¶
func (o *ServerProvision) GetTags() []TagAssignmentRequest
GetTags returns the Tags field value if set, zero value otherwise.
func (*ServerProvision) GetTagsOk ¶
func (o *ServerProvision) GetTagsOk() ([]TagAssignmentRequest, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerProvision) HasDescription ¶
func (o *ServerProvision) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ServerProvision) HasInstallDefaultSshKeys ¶
func (o *ServerProvision) HasInstallDefaultSshKeys() bool
HasInstallDefaultSshKeys returns a boolean if a field has been set.
func (*ServerProvision) HasNetworkConfiguration ¶
func (o *ServerProvision) HasNetworkConfiguration() bool
HasNetworkConfiguration returns a boolean if a field has been set.
func (*ServerProvision) HasNetworkType ¶
func (o *ServerProvision) HasNetworkType() bool
HasNetworkType returns a boolean if a field has been set.
func (*ServerProvision) HasOsConfiguration ¶
func (o *ServerProvision) HasOsConfiguration() bool
HasOsConfiguration returns a boolean if a field has been set.
func (*ServerProvision) HasSshKeyIds ¶
func (o *ServerProvision) HasSshKeyIds() bool
HasSshKeyIds returns a boolean if a field has been set.
func (*ServerProvision) HasSshKeys ¶
func (o *ServerProvision) HasSshKeys() bool
HasSshKeys returns a boolean if a field has been set.
func (*ServerProvision) HasStorageConfiguration ¶
func (o *ServerProvision) HasStorageConfiguration() bool
HasStorageConfiguration returns a boolean if a field has been set.
func (*ServerProvision) HasTags ¶
func (o *ServerProvision) HasTags() bool
HasTags returns a boolean if a field has been set.
func (ServerProvision) MarshalJSON ¶
func (o ServerProvision) MarshalJSON() ([]byte, error)
func (*ServerProvision) SetDescription ¶
func (o *ServerProvision) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ServerProvision) SetHostname ¶
func (o *ServerProvision) SetHostname(v string)
SetHostname sets field value
func (*ServerProvision) SetInstallDefaultSshKeys ¶
func (o *ServerProvision) SetInstallDefaultSshKeys(v bool)
SetInstallDefaultSshKeys gets a reference to the given bool and assigns it to the InstallDefaultSshKeys field.
func (*ServerProvision) SetNetworkConfiguration ¶
func (o *ServerProvision) SetNetworkConfiguration(v NetworkConfiguration)
SetNetworkConfiguration gets a reference to the given NetworkConfiguration and assigns it to the NetworkConfiguration field.
func (*ServerProvision) SetNetworkType ¶
func (o *ServerProvision) SetNetworkType(v string)
SetNetworkType gets a reference to the given string and assigns it to the NetworkType field.
func (*ServerProvision) SetOsConfiguration ¶
func (o *ServerProvision) SetOsConfiguration(v OsConfiguration)
SetOsConfiguration gets a reference to the given OsConfiguration and assigns it to the OsConfiguration field.
func (*ServerProvision) SetSshKeyIds ¶
func (o *ServerProvision) SetSshKeyIds(v []string)
SetSshKeyIds gets a reference to the given []string and assigns it to the SshKeyIds field.
func (*ServerProvision) SetSshKeys ¶
func (o *ServerProvision) SetSshKeys(v []string)
SetSshKeys gets a reference to the given []string and assigns it to the SshKeys field.
func (*ServerProvision) SetStorageConfiguration ¶
func (o *ServerProvision) SetStorageConfiguration(v StorageConfiguration)
SetStorageConfiguration gets a reference to the given StorageConfiguration and assigns it to the StorageConfiguration field.
func (*ServerProvision) SetTags ¶
func (o *ServerProvision) SetTags(v []TagAssignmentRequest)
SetTags gets a reference to the given []TagAssignmentRequest and assigns it to the Tags field.
func (ServerProvision) ToMap ¶
func (o ServerProvision) ToMap() (map[string]interface{}, error)
func (*ServerProvision) UnmarshalJSON ¶
func (o *ServerProvision) UnmarshalJSON(data []byte) (err error)
type ServerPublicNetwork ¶
type ServerPublicNetwork struct { // The network identifier. Id string `json:"id"` // Configurable/configured IPs on the server.<br> At least 1 IP address is required. Valid IP formats are single IPv4 addresses or IPv4 ranges. All IPs must be within the network's range.<br> Setting the `force` query parameter to `true` allows you to:<ul> <li> Assign no specific IP addresses by designating an empty array of IPs. Note that at least one IP is required for the gateway address to be selected from this network. <li> Assign one or more IP addresses which are already configured on other resource(s) in network.</ul> Ips []string `json:"ips,omitempty"` // (Read-only) The status of the assignment to the network. StatusDescription *string `json:"statusDescription,omitempty"` AdditionalProperties map[string]interface{} }
ServerPublicNetwork Public network details of bare metal server.
func NewServerPublicNetwork ¶
func NewServerPublicNetwork(id string) *ServerPublicNetwork
NewServerPublicNetwork instantiates a new ServerPublicNetwork object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerPublicNetworkWithDefaults ¶
func NewServerPublicNetworkWithDefaults() *ServerPublicNetwork
NewServerPublicNetworkWithDefaults instantiates a new ServerPublicNetwork object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerPublicNetwork) GetId ¶
func (o *ServerPublicNetwork) GetId() string
GetId returns the Id field value
func (*ServerPublicNetwork) GetIdOk ¶
func (o *ServerPublicNetwork) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ServerPublicNetwork) GetIps ¶
func (o *ServerPublicNetwork) GetIps() []string
GetIps returns the Ips field value if set, zero value otherwise.
func (*ServerPublicNetwork) GetIpsOk ¶
func (o *ServerPublicNetwork) GetIpsOk() ([]string, bool)
GetIpsOk returns a tuple with the Ips field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerPublicNetwork) GetStatusDescription ¶
func (o *ServerPublicNetwork) GetStatusDescription() string
GetStatusDescription returns the StatusDescription field value if set, zero value otherwise.
func (*ServerPublicNetwork) GetStatusDescriptionOk ¶
func (o *ServerPublicNetwork) GetStatusDescriptionOk() (*string, bool)
GetStatusDescriptionOk returns a tuple with the StatusDescription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerPublicNetwork) HasIps ¶
func (o *ServerPublicNetwork) HasIps() bool
HasIps returns a boolean if a field has been set.
func (*ServerPublicNetwork) HasStatusDescription ¶
func (o *ServerPublicNetwork) HasStatusDescription() bool
HasStatusDescription returns a boolean if a field has been set.
func (ServerPublicNetwork) MarshalJSON ¶
func (o ServerPublicNetwork) MarshalJSON() ([]byte, error)
func (*ServerPublicNetwork) SetId ¶
func (o *ServerPublicNetwork) SetId(v string)
SetId sets field value
func (*ServerPublicNetwork) SetIps ¶
func (o *ServerPublicNetwork) SetIps(v []string)
SetIps gets a reference to the given []string and assigns it to the Ips field.
func (*ServerPublicNetwork) SetStatusDescription ¶
func (o *ServerPublicNetwork) SetStatusDescription(v string)
SetStatusDescription gets a reference to the given string and assigns it to the StatusDescription field.
func (ServerPublicNetwork) ToMap ¶
func (o ServerPublicNetwork) ToMap() (map[string]interface{}, error)
func (*ServerPublicNetwork) UnmarshalJSON ¶
func (o *ServerPublicNetwork) UnmarshalJSON(data []byte) (err error)
type ServerReserve ¶
type ServerReserve struct { // Server pricing model. Currently this field should be set to `ONE_MONTH_RESERVATION`, `TWELVE_MONTHS_RESERVATION`, `TWENTY_FOUR_MONTHS_RESERVATION` or `THIRTY_SIX_MONTHS_RESERVATION`. PricingModel string `json:"pricingModel"` AdditionalProperties map[string]interface{} }
ServerReserve Bare metal server reservation.
func NewServerReserve ¶
func NewServerReserve(pricingModel string) *ServerReserve
NewServerReserve instantiates a new ServerReserve object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerReserveWithDefaults ¶
func NewServerReserveWithDefaults() *ServerReserve
NewServerReserveWithDefaults instantiates a new ServerReserve object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerReserve) GetPricingModel ¶
func (o *ServerReserve) GetPricingModel() string
GetPricingModel returns the PricingModel field value
func (*ServerReserve) GetPricingModelOk ¶
func (o *ServerReserve) GetPricingModelOk() (*string, bool)
GetPricingModelOk returns a tuple with the PricingModel field value and a boolean to check if the value has been set.
func (ServerReserve) MarshalJSON ¶
func (o ServerReserve) MarshalJSON() ([]byte, error)
func (*ServerReserve) SetPricingModel ¶
func (o *ServerReserve) SetPricingModel(v string)
SetPricingModel sets field value
func (ServerReserve) ToMap ¶
func (o ServerReserve) ToMap() (map[string]interface{}, error)
func (*ServerReserve) UnmarshalJSON ¶
func (o *ServerReserve) UnmarshalJSON(data []byte) (err error)
type ServerReset ¶
type ServerReset struct { // Whether or not to install SSH keys marked as default in addition to any SSH keys specified in this request. InstallDefaultSshKeys *bool `json:"installDefaultSshKeys,omitempty"` // A list of SSH keys that will be installed on the server. SshKeys []string `json:"sshKeys,omitempty"` // A list of SSH key IDs that will be installed on the server in addition to any SSH keys specified in this request. SshKeyIds []string `json:"sshKeyIds,omitempty"` OsConfiguration *OsConfigurationMap `json:"osConfiguration,omitempty"` AdditionalProperties map[string]interface{} }
ServerReset Reset bare metal server.
func NewServerReset ¶
func NewServerReset() *ServerReset
NewServerReset instantiates a new ServerReset object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServerResetWithDefaults ¶
func NewServerResetWithDefaults() *ServerReset
NewServerResetWithDefaults instantiates a new ServerReset object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServerReset) GetInstallDefaultSshKeys ¶
func (o *ServerReset) GetInstallDefaultSshKeys() bool
GetInstallDefaultSshKeys returns the InstallDefaultSshKeys field value if set, zero value otherwise.
func (*ServerReset) GetInstallDefaultSshKeysOk ¶
func (o *ServerReset) GetInstallDefaultSshKeysOk() (*bool, bool)
GetInstallDefaultSshKeysOk returns a tuple with the InstallDefaultSshKeys field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerReset) GetOsConfiguration ¶
func (o *ServerReset) GetOsConfiguration() OsConfigurationMap
GetOsConfiguration returns the OsConfiguration field value if set, zero value otherwise.
func (*ServerReset) GetOsConfigurationOk ¶
func (o *ServerReset) GetOsConfigurationOk() (*OsConfigurationMap, bool)
GetOsConfigurationOk returns a tuple with the OsConfiguration field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerReset) GetSshKeyIds ¶
func (o *ServerReset) GetSshKeyIds() []string
GetSshKeyIds returns the SshKeyIds field value if set, zero value otherwise.
func (*ServerReset) GetSshKeyIdsOk ¶
func (o *ServerReset) GetSshKeyIdsOk() ([]string, bool)
GetSshKeyIdsOk returns a tuple with the SshKeyIds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerReset) GetSshKeys ¶
func (o *ServerReset) GetSshKeys() []string
GetSshKeys returns the SshKeys field value if set, zero value otherwise.
func (*ServerReset) GetSshKeysOk ¶
func (o *ServerReset) GetSshKeysOk() ([]string, bool)
GetSshKeysOk returns a tuple with the SshKeys field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerReset) HasInstallDefaultSshKeys ¶
func (o *ServerReset) HasInstallDefaultSshKeys() bool
HasInstallDefaultSshKeys returns a boolean if a field has been set.
func (*ServerReset) HasOsConfiguration ¶
func (o *ServerReset) HasOsConfiguration() bool
HasOsConfiguration returns a boolean if a field has been set.
func (*ServerReset) HasSshKeyIds ¶
func (o *ServerReset) HasSshKeyIds() bool
HasSshKeyIds returns a boolean if a field has been set.
func (*ServerReset) HasSshKeys ¶
func (o *ServerReset) HasSshKeys() bool
HasSshKeys returns a boolean if a field has been set.
func (ServerReset) MarshalJSON ¶
func (o ServerReset) MarshalJSON() ([]byte, error)
func (*ServerReset) SetInstallDefaultSshKeys ¶
func (o *ServerReset) SetInstallDefaultSshKeys(v bool)
SetInstallDefaultSshKeys gets a reference to the given bool and assigns it to the InstallDefaultSshKeys field.
func (*ServerReset) SetOsConfiguration ¶
func (o *ServerReset) SetOsConfiguration(v OsConfigurationMap)
SetOsConfiguration gets a reference to the given OsConfigurationMap and assigns it to the OsConfiguration field.
func (*ServerReset) SetSshKeyIds ¶
func (o *ServerReset) SetSshKeyIds(v []string)
SetSshKeyIds gets a reference to the given []string and assigns it to the SshKeyIds field.
func (*ServerReset) SetSshKeys ¶
func (o *ServerReset) SetSshKeys(v []string)
SetSshKeys gets a reference to the given []string and assigns it to the SshKeys field.
func (ServerReset) ToMap ¶
func (o ServerReset) ToMap() (map[string]interface{}, error)
func (*ServerReset) UnmarshalJSON ¶ added in v3.0.1
func (o *ServerReset) UnmarshalJSON(data []byte) (err error)
type ServerVariable ¶
ServerVariable stores the information about a server variable
type ServersAPI ¶
type ServersAPI interface { /* DeletePrivateNetwork Removes the server from private network. Removes the server from private network. <b>No actual configuration is performed on the operating system.</b> BMC configures exclusively the networking devices in the datacenter infrastructure. Manual network configuration changes in the operating system of this server are required. <b>This is an advanced network action that can make your server completely unavailable over any network. Make sure this server is reachable over remote console for guaranteed access in case of misconfiguration.</b> @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @param privateNetworkId The private network identifier. @return ApiDeletePrivateNetworkRequest */ DeletePrivateNetwork(ctx context.Context, serverId string, privateNetworkId string) ApiDeletePrivateNetworkRequest // DeletePrivateNetworkExecute executes the request // @return string DeletePrivateNetworkExecute(r ApiDeletePrivateNetworkRequest) (string, *http.Response, error) /* ServersGet List servers. List all servers owned by account. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiServersGetRequest */ ServersGet(ctx context.Context) ApiServersGetRequest // ServersGetExecute executes the request // @return []Server ServersGetExecute(r ApiServersGetRequest) ([]Server, *http.Response, error) /* ServersPost Create new server. Create (request) a new server for the account. Server DNS will be configured to access Google's public DNS at 8.8.8.8 . Note that the product availability API can be used prior to doing the provision request. Refer to https://developers.phoenixnap.com/docs/bmc-billing/1/routes/product-availability/get. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiServersPostRequest */ ServersPost(ctx context.Context) ApiServersPostRequest // ServersPostExecute executes the request // @return Server ServersPostExecute(r ApiServersPostRequest) (*Server, *http.Response, error) /* ServersServerIdActionsDeprovisionPost Deprovision a server. Deprovision the server. Supports advanced deprovision configuration. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @return ApiServersServerIdActionsDeprovisionPostRequest */ ServersServerIdActionsDeprovisionPost(ctx context.Context, serverId string) ApiServersServerIdActionsDeprovisionPostRequest // ServersServerIdActionsDeprovisionPostExecute executes the request // @return string ServersServerIdActionsDeprovisionPostExecute(r ApiServersServerIdActionsDeprovisionPostRequest) (string, *http.Response, error) /* ServersServerIdActionsPowerOffPost Power off server. Power off specific server. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @return ApiServersServerIdActionsPowerOffPostRequest */ ServersServerIdActionsPowerOffPost(ctx context.Context, serverId string) ApiServersServerIdActionsPowerOffPostRequest // ServersServerIdActionsPowerOffPostExecute executes the request // @return ActionResult ServersServerIdActionsPowerOffPostExecute(r ApiServersServerIdActionsPowerOffPostRequest) (*ActionResult, *http.Response, error) /* ServersServerIdActionsPowerOnPost Power on server. Power on specific server. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @return ApiServersServerIdActionsPowerOnPostRequest */ ServersServerIdActionsPowerOnPost(ctx context.Context, serverId string) ApiServersServerIdActionsPowerOnPostRequest // ServersServerIdActionsPowerOnPostExecute executes the request // @return ActionResult ServersServerIdActionsPowerOnPostExecute(r ApiServersServerIdActionsPowerOnPostRequest) (*ActionResult, *http.Response, error) /* ServersServerIdActionsProvisionPost Provision server. Provision reserved server. Server DNS will be configured to access Google's public DNS at 8.8.8.8. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @return ApiServersServerIdActionsProvisionPostRequest */ ServersServerIdActionsProvisionPost(ctx context.Context, serverId string) ApiServersServerIdActionsProvisionPostRequest // ServersServerIdActionsProvisionPostExecute executes the request // @return Server ServersServerIdActionsProvisionPostExecute(r ApiServersServerIdActionsProvisionPostRequest) (*Server, *http.Response, error) /* ServersServerIdActionsRebootPost Reboot server. Reboot specific server. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @return ApiServersServerIdActionsRebootPostRequest */ ServersServerIdActionsRebootPost(ctx context.Context, serverId string) ApiServersServerIdActionsRebootPostRequest // ServersServerIdActionsRebootPostExecute executes the request // @return ActionResult ServersServerIdActionsRebootPostExecute(r ApiServersServerIdActionsRebootPostRequest) (*ActionResult, *http.Response, error) /* ServersServerIdActionsReservePost Reserve server. Reserve specific server. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @return ApiServersServerIdActionsReservePostRequest */ ServersServerIdActionsReservePost(ctx context.Context, serverId string) ApiServersServerIdActionsReservePostRequest // ServersServerIdActionsReservePostExecute executes the request // @return Server ServersServerIdActionsReservePostExecute(r ApiServersServerIdActionsReservePostRequest) (*Server, *http.Response, error) /* ServersServerIdActionsResetPost Reset server. Deprecated: Reset specific server. Reset only supports network configurations of type 'private network' or 'IP blocks'. As an alternative, the suggested action is to deprovision the server and provision a new one with the same configuration. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @return ApiServersServerIdActionsResetPostRequest Deprecated */ ServersServerIdActionsResetPost(ctx context.Context, serverId string) ApiServersServerIdActionsResetPostRequest // ServersServerIdActionsResetPostExecute executes the request // @return ResetResult // Deprecated ServersServerIdActionsResetPostExecute(r ApiServersServerIdActionsResetPostRequest) (*ResetResult, *http.Response, error) /* ServersServerIdActionsShutdownPost Shutdown server. Shut down specific server. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @return ApiServersServerIdActionsShutdownPostRequest */ ServersServerIdActionsShutdownPost(ctx context.Context, serverId string) ApiServersServerIdActionsShutdownPostRequest // ServersServerIdActionsShutdownPostExecute executes the request // @return ActionResult ServersServerIdActionsShutdownPostExecute(r ApiServersServerIdActionsShutdownPostRequest) (*ActionResult, *http.Response, error) /* ServersServerIdDelete Delete server. Deprovision specific server. Any IP blocks assigned to this server will also be relinquished and deleted. Deprecated: see /servers/{serverId}/actions/deprovision @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @return ApiServersServerIdDeleteRequest Deprecated */ ServersServerIdDelete(ctx context.Context, serverId string) ApiServersServerIdDeleteRequest // ServersServerIdDeleteExecute executes the request // @return DeleteResult // Deprecated ServersServerIdDeleteExecute(r ApiServersServerIdDeleteRequest) (*DeleteResult, *http.Response, error) /* ServersServerIdGet Get server. Get server properties. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @return ApiServersServerIdGetRequest */ ServersServerIdGet(ctx context.Context, serverId string) ApiServersServerIdGetRequest // ServersServerIdGetExecute executes the request // @return Server ServersServerIdGetExecute(r ApiServersServerIdGetRequest) (*Server, *http.Response, error) /* ServersServerIdIpBlocksIpBlockIdDelete Unassign IP Block from Server. Removes the IP block from the server. <b>No actual configuration is performed on the operating system.</b> BMC configures exclusively the networking devices in the datacenter infrastructure. Manual network configuration changes in the operating system of this server are required. <b>This is an advanced network action that can make your server completely unavailable over any network. Make sure this server is reachable over remote console for guaranteed access in case of misconfiguration.</b> @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @param ipBlockId The IP Block identifier. @return ApiServersServerIdIpBlocksIpBlockIdDeleteRequest */ ServersServerIdIpBlocksIpBlockIdDelete(ctx context.Context, serverId string, ipBlockId string) ApiServersServerIdIpBlocksIpBlockIdDeleteRequest // ServersServerIdIpBlocksIpBlockIdDeleteExecute executes the request // @return string ServersServerIdIpBlocksIpBlockIdDeleteExecute(r ApiServersServerIdIpBlocksIpBlockIdDeleteRequest) (string, *http.Response, error) /* ServersServerIdIpBlocksPost Assign IP Block to Server. Adds an IP block to this server. <b>No actual configuration is performed on the operating system.</b> BMC configures exclusively the networking devices in the datacenter infrastructure. Manual network configuration changes in the operating system of this server are required. Knowledge base article to help you can be found <a href='https://phoenixnap.com/kb/configure-server-with-public-ip-block#ftoc-heading-2' target='_blank'>here</a>. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @return ApiServersServerIdIpBlocksPostRequest */ ServersServerIdIpBlocksPost(ctx context.Context, serverId string) ApiServersServerIdIpBlocksPostRequest // ServersServerIdIpBlocksPostExecute executes the request // @return ServerIpBlock ServersServerIdIpBlocksPostExecute(r ApiServersServerIdIpBlocksPostRequest) (*ServerIpBlock, *http.Response, error) /* ServersServerIdPatch Patch a Server. Any changes to the hostname or description using the BMC API will reflect solely in the BMC API and portal. The changes are intended to keep the BMC data up to date with your server. We do not have access to your server's settings. Local changes to the server's hostname will not be reflected in the API or portal. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @return ApiServersServerIdPatchRequest */ ServersServerIdPatch(ctx context.Context, serverId string) ApiServersServerIdPatchRequest // ServersServerIdPatchExecute executes the request // @return Server ServersServerIdPatchExecute(r ApiServersServerIdPatchRequest) (*Server, *http.Response, error) /* ServersServerIdPrivateNetworksPatch Updates the server's private network's IP addresses IP address changes intended to keep the BMC data up to date with server's operating system. We do not have access to the server's operating system and therefore manual configuration is required to apply the changes on the host. Knowledge base article to help you can be found <a href='https://phoenixnap.com/kb/bmc-server-management-via-api#ftoc-heading-6' target='_blank'>here</a> @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @param privateNetworkId The private network identifier. @return ApiServersServerIdPrivateNetworksPatchRequest */ ServersServerIdPrivateNetworksPatch(ctx context.Context, serverId string, privateNetworkId string) ApiServersServerIdPrivateNetworksPatchRequest // ServersServerIdPrivateNetworksPatchExecute executes the request // @return ServerPrivateNetwork ServersServerIdPrivateNetworksPatchExecute(r ApiServersServerIdPrivateNetworksPatchRequest) (*ServerPrivateNetwork, *http.Response, error) /* ServersServerIdPrivateNetworksPost Adds the server to a private network. Adds the server to a private network. <b>No actual configuration is performed on the operating system.</b> BMC configures exclusively the networking devices in the datacenter infrastructure. Manual network configuration changes in the operating system of this server are required. Knowledge base article to help you can be found <a href='https://phoenixnap.com/kb/configure-bmc-server-after-adding-to-network#ftoc-heading-3' target='_blank'>here</a>. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @return ApiServersServerIdPrivateNetworksPostRequest */ ServersServerIdPrivateNetworksPost(ctx context.Context, serverId string) ApiServersServerIdPrivateNetworksPostRequest // ServersServerIdPrivateNetworksPostExecute executes the request // @return ServerPrivateNetwork ServersServerIdPrivateNetworksPostExecute(r ApiServersServerIdPrivateNetworksPostRequest) (*ServerPrivateNetwork, *http.Response, error) /* ServersServerIdPublicNetworksDelete Removes the server from the Public Network Removes the server from the Public Network. <b>No actual configuration is performed on the operating system.</b> BMC configures exclusively the networking devices in the datacenter infrastructure. Manual network configuration changes in the operating system of this server are required. <b>This is an advanced network action that can make your server completely unavailable over any network. Make sure this server is reachable over remote console for guaranteed access in case of misconfiguration.</b> @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @param publicNetworkId The Public Network identifier. @return ApiServersServerIdPublicNetworksDeleteRequest */ ServersServerIdPublicNetworksDelete(ctx context.Context, serverId string, publicNetworkId string) ApiServersServerIdPublicNetworksDeleteRequest // ServersServerIdPublicNetworksDeleteExecute executes the request // @return string ServersServerIdPublicNetworksDeleteExecute(r ApiServersServerIdPublicNetworksDeleteRequest) (string, *http.Response, error) /* ServersServerIdPublicNetworksPatch Updates the server's public network's IP addresses. IP address changes intended to keep the BMC data up to date with server's operating system. We do not have access to the server's operating system and therefore manual configuration is required to apply the changes on the host. Knowledge base article to help you can be found <a href='https://phoenixnap.com/kb/bmc-server-management-via-api#ftoc-heading-6' target='_blank'>here</a> @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @param publicNetworkId The Public Network identifier. @return ApiServersServerIdPublicNetworksPatchRequest */ ServersServerIdPublicNetworksPatch(ctx context.Context, serverId string, publicNetworkId string) ApiServersServerIdPublicNetworksPatchRequest // ServersServerIdPublicNetworksPatchExecute executes the request // @return ServerPublicNetwork ServersServerIdPublicNetworksPatchExecute(r ApiServersServerIdPublicNetworksPatchRequest) (*ServerPublicNetwork, *http.Response, error) /* ServersServerIdPublicNetworksPost Adds the server to a Public Network. Adds the server to a Public Network. <b>No actual configuration is performed on the operating system.</b> BMC configures exclusively the networking devices in the datacenter infrastructure. Manual network configuration changes in the operating system of this server are required. Knowledge base article to help you can be found <a href='https://phoenixnap.com/kb/configure-bmc-server-after-adding-to-network#ftoc-heading-3' target='_blank'>here</a>. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @return ApiServersServerIdPublicNetworksPostRequest */ ServersServerIdPublicNetworksPost(ctx context.Context, serverId string) ApiServersServerIdPublicNetworksPostRequest // ServersServerIdPublicNetworksPostExecute executes the request // @return ServerPublicNetwork ServersServerIdPublicNetworksPostExecute(r ApiServersServerIdPublicNetworksPostRequest) (*ServerPublicNetwork, *http.Response, error) /* ServersServerIdTagsPut Overwrite tags assigned for Server. Overwrites tags assigned for Server and unassigns any tags not part of the request. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @return ApiServersServerIdTagsPutRequest */ ServersServerIdTagsPut(ctx context.Context, serverId string) ApiServersServerIdTagsPutRequest // ServersServerIdTagsPutExecute executes the request // @return Server ServersServerIdTagsPutExecute(r ApiServersServerIdTagsPutRequest) (*Server, *http.Response, error) }
type ServersAPIService ¶
type ServersAPIService service
ServersAPIService ServersAPI service
func (*ServersAPIService) DeletePrivateNetwork ¶
func (a *ServersAPIService) DeletePrivateNetwork(ctx context.Context, serverId string, privateNetworkId string) ApiDeletePrivateNetworkRequest
DeletePrivateNetwork Removes the server from private network.
Removes the server from private network. <b>No actual configuration is performed on the operating system.</b> BMC configures exclusively the networking devices in the datacenter infrastructure. Manual network configuration changes in the operating system of this server are required. <b>This is an advanced network action that can make your server completely unavailable over any network. Make sure this server is reachable over remote console for guaranteed access in case of misconfiguration.</b>
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @param privateNetworkId The private network identifier. @return ApiDeletePrivateNetworkRequest
func (*ServersAPIService) DeletePrivateNetworkExecute ¶
func (a *ServersAPIService) DeletePrivateNetworkExecute(r ApiDeletePrivateNetworkRequest) (string, *http.Response, error)
Execute executes the request
@return string
func (*ServersAPIService) ServersGet ¶
func (a *ServersAPIService) ServersGet(ctx context.Context) ApiServersGetRequest
ServersGet List servers.
List all servers owned by account.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiServersGetRequest
func (*ServersAPIService) ServersGetExecute ¶
func (a *ServersAPIService) ServersGetExecute(r ApiServersGetRequest) ([]Server, *http.Response, error)
Execute executes the request
@return []Server
func (*ServersAPIService) ServersPost ¶
func (a *ServersAPIService) ServersPost(ctx context.Context) ApiServersPostRequest
ServersPost Create new server.
Create (request) a new server for the account. Server DNS will be configured to access Google's public DNS at 8.8.8.8 . Note that the product availability API can be used prior to doing the provision request. Refer to https://developers.phoenixnap.com/docs/bmc-billing/1/routes/product-availability/get.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiServersPostRequest
func (*ServersAPIService) ServersPostExecute ¶
func (a *ServersAPIService) ServersPostExecute(r ApiServersPostRequest) (*Server, *http.Response, error)
Execute executes the request
@return Server
func (*ServersAPIService) ServersServerIdActionsDeprovisionPost ¶
func (a *ServersAPIService) ServersServerIdActionsDeprovisionPost(ctx context.Context, serverId string) ApiServersServerIdActionsDeprovisionPostRequest
ServersServerIdActionsDeprovisionPost Deprovision a server.
Deprovision the server. Supports advanced deprovision configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @return ApiServersServerIdActionsDeprovisionPostRequest
func (*ServersAPIService) ServersServerIdActionsDeprovisionPostExecute ¶
func (a *ServersAPIService) ServersServerIdActionsDeprovisionPostExecute(r ApiServersServerIdActionsDeprovisionPostRequest) (string, *http.Response, error)
Execute executes the request
@return string
func (*ServersAPIService) ServersServerIdActionsPowerOffPost ¶
func (a *ServersAPIService) ServersServerIdActionsPowerOffPost(ctx context.Context, serverId string) ApiServersServerIdActionsPowerOffPostRequest
ServersServerIdActionsPowerOffPost Power off server.
Power off specific server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @return ApiServersServerIdActionsPowerOffPostRequest
func (*ServersAPIService) ServersServerIdActionsPowerOffPostExecute ¶
func (a *ServersAPIService) ServersServerIdActionsPowerOffPostExecute(r ApiServersServerIdActionsPowerOffPostRequest) (*ActionResult, *http.Response, error)
Execute executes the request
@return ActionResult
func (*ServersAPIService) ServersServerIdActionsPowerOnPost ¶
func (a *ServersAPIService) ServersServerIdActionsPowerOnPost(ctx context.Context, serverId string) ApiServersServerIdActionsPowerOnPostRequest
ServersServerIdActionsPowerOnPost Power on server.
Power on specific server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @return ApiServersServerIdActionsPowerOnPostRequest
func (*ServersAPIService) ServersServerIdActionsPowerOnPostExecute ¶
func (a *ServersAPIService) ServersServerIdActionsPowerOnPostExecute(r ApiServersServerIdActionsPowerOnPostRequest) (*ActionResult, *http.Response, error)
Execute executes the request
@return ActionResult
func (*ServersAPIService) ServersServerIdActionsProvisionPost ¶
func (a *ServersAPIService) ServersServerIdActionsProvisionPost(ctx context.Context, serverId string) ApiServersServerIdActionsProvisionPostRequest
ServersServerIdActionsProvisionPost Provision server.
Provision reserved server. Server DNS will be configured to access Google's public DNS at 8.8.8.8.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @return ApiServersServerIdActionsProvisionPostRequest
func (*ServersAPIService) ServersServerIdActionsProvisionPostExecute ¶
func (a *ServersAPIService) ServersServerIdActionsProvisionPostExecute(r ApiServersServerIdActionsProvisionPostRequest) (*Server, *http.Response, error)
Execute executes the request
@return Server
func (*ServersAPIService) ServersServerIdActionsRebootPost ¶
func (a *ServersAPIService) ServersServerIdActionsRebootPost(ctx context.Context, serverId string) ApiServersServerIdActionsRebootPostRequest
ServersServerIdActionsRebootPost Reboot server.
Reboot specific server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @return ApiServersServerIdActionsRebootPostRequest
func (*ServersAPIService) ServersServerIdActionsRebootPostExecute ¶
func (a *ServersAPIService) ServersServerIdActionsRebootPostExecute(r ApiServersServerIdActionsRebootPostRequest) (*ActionResult, *http.Response, error)
Execute executes the request
@return ActionResult
func (*ServersAPIService) ServersServerIdActionsReservePost ¶
func (a *ServersAPIService) ServersServerIdActionsReservePost(ctx context.Context, serverId string) ApiServersServerIdActionsReservePostRequest
ServersServerIdActionsReservePost Reserve server.
Reserve specific server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @return ApiServersServerIdActionsReservePostRequest
func (*ServersAPIService) ServersServerIdActionsReservePostExecute ¶
func (a *ServersAPIService) ServersServerIdActionsReservePostExecute(r ApiServersServerIdActionsReservePostRequest) (*Server, *http.Response, error)
Execute executes the request
@return Server
func (*ServersAPIService) ServersServerIdActionsResetPost
deprecated
func (a *ServersAPIService) ServersServerIdActionsResetPost(ctx context.Context, serverId string) ApiServersServerIdActionsResetPostRequest
ServersServerIdActionsResetPost Reset server.
Deprecated: Reset specific server. Reset only supports network configurations of type 'private network' or 'IP blocks'. As an alternative, the suggested action is to deprovision the server and provision a new one with the same configuration.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @return ApiServersServerIdActionsResetPostRequest
Deprecated
func (*ServersAPIService) ServersServerIdActionsResetPostExecute ¶
func (a *ServersAPIService) ServersServerIdActionsResetPostExecute(r ApiServersServerIdActionsResetPostRequest) (*ResetResult, *http.Response, error)
Execute executes the request
@return ResetResult
Deprecated
func (*ServersAPIService) ServersServerIdActionsShutdownPost ¶
func (a *ServersAPIService) ServersServerIdActionsShutdownPost(ctx context.Context, serverId string) ApiServersServerIdActionsShutdownPostRequest
ServersServerIdActionsShutdownPost Shutdown server.
Shut down specific server.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @return ApiServersServerIdActionsShutdownPostRequest
func (*ServersAPIService) ServersServerIdActionsShutdownPostExecute ¶
func (a *ServersAPIService) ServersServerIdActionsShutdownPostExecute(r ApiServersServerIdActionsShutdownPostRequest) (*ActionResult, *http.Response, error)
Execute executes the request
@return ActionResult
func (*ServersAPIService) ServersServerIdDelete ¶
func (a *ServersAPIService) ServersServerIdDelete(ctx context.Context, serverId string) ApiServersServerIdDeleteRequest
ServersServerIdDelete Delete server.
Deprovision specific server. Any IP blocks assigned to this server will also be relinquished and deleted. Deprecated: see /servers/{serverId}/actions/deprovision
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @return ApiServersServerIdDeleteRequest
Deprecated
func (*ServersAPIService) ServersServerIdDeleteExecute ¶
func (a *ServersAPIService) ServersServerIdDeleteExecute(r ApiServersServerIdDeleteRequest) (*DeleteResult, *http.Response, error)
Execute executes the request
@return DeleteResult
Deprecated
func (*ServersAPIService) ServersServerIdGet ¶
func (a *ServersAPIService) ServersServerIdGet(ctx context.Context, serverId string) ApiServersServerIdGetRequest
ServersServerIdGet Get server.
Get server properties.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @return ApiServersServerIdGetRequest
func (*ServersAPIService) ServersServerIdGetExecute ¶
func (a *ServersAPIService) ServersServerIdGetExecute(r ApiServersServerIdGetRequest) (*Server, *http.Response, error)
Execute executes the request
@return Server
func (*ServersAPIService) ServersServerIdIpBlocksIpBlockIdDelete ¶
func (a *ServersAPIService) ServersServerIdIpBlocksIpBlockIdDelete(ctx context.Context, serverId string, ipBlockId string) ApiServersServerIdIpBlocksIpBlockIdDeleteRequest
ServersServerIdIpBlocksIpBlockIdDelete Unassign IP Block from Server.
Removes the IP block from the server. <b>No actual configuration is performed on the operating system.</b> BMC configures exclusively the networking devices in the datacenter infrastructure. Manual network configuration changes in the operating system of this server are required. <b>This is an advanced network action that can make your server completely unavailable over any network. Make sure this server is reachable over remote console for guaranteed access in case of misconfiguration.</b>
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @param ipBlockId The IP Block identifier. @return ApiServersServerIdIpBlocksIpBlockIdDeleteRequest
func (*ServersAPIService) ServersServerIdIpBlocksIpBlockIdDeleteExecute ¶
func (a *ServersAPIService) ServersServerIdIpBlocksIpBlockIdDeleteExecute(r ApiServersServerIdIpBlocksIpBlockIdDeleteRequest) (string, *http.Response, error)
Execute executes the request
@return string
func (*ServersAPIService) ServersServerIdIpBlocksPost ¶
func (a *ServersAPIService) ServersServerIdIpBlocksPost(ctx context.Context, serverId string) ApiServersServerIdIpBlocksPostRequest
ServersServerIdIpBlocksPost Assign IP Block to Server.
Adds an IP block to this server. <b>No actual configuration is performed on the operating system.</b> BMC configures exclusively the networking devices in the datacenter infrastructure. Manual network configuration changes in the operating system of this server are required. Knowledge base article to help you can be found <a href='https://phoenixnap.com/kb/configure-server-with-public-ip-block#ftoc-heading-2' target='_blank'>here</a>.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @return ApiServersServerIdIpBlocksPostRequest
func (*ServersAPIService) ServersServerIdIpBlocksPostExecute ¶
func (a *ServersAPIService) ServersServerIdIpBlocksPostExecute(r ApiServersServerIdIpBlocksPostRequest) (*ServerIpBlock, *http.Response, error)
Execute executes the request
@return ServerIpBlock
func (*ServersAPIService) ServersServerIdPatch ¶
func (a *ServersAPIService) ServersServerIdPatch(ctx context.Context, serverId string) ApiServersServerIdPatchRequest
ServersServerIdPatch Patch a Server.
Any changes to the hostname or description using the BMC API will reflect solely in the BMC API and portal. The changes are intended to keep the BMC data up to date with your server. We do not have access to your server's settings. Local changes to the server's hostname will not be reflected in the API or portal.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @return ApiServersServerIdPatchRequest
func (*ServersAPIService) ServersServerIdPatchExecute ¶
func (a *ServersAPIService) ServersServerIdPatchExecute(r ApiServersServerIdPatchRequest) (*Server, *http.Response, error)
Execute executes the request
@return Server
func (*ServersAPIService) ServersServerIdPrivateNetworksPatch ¶
func (a *ServersAPIService) ServersServerIdPrivateNetworksPatch(ctx context.Context, serverId string, privateNetworkId string) ApiServersServerIdPrivateNetworksPatchRequest
ServersServerIdPrivateNetworksPatch Updates the server's private network's IP addresses
IP address changes intended to keep the BMC data up to date with server's operating system. We do not have access to the server's operating system and therefore manual configuration is required to apply the changes on the host. Knowledge base article to help you can be found <a href='https://phoenixnap.com/kb/bmc-server-management-via-api#ftoc-heading-6' target='_blank'>here</a>
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @param privateNetworkId The private network identifier. @return ApiServersServerIdPrivateNetworksPatchRequest
func (*ServersAPIService) ServersServerIdPrivateNetworksPatchExecute ¶
func (a *ServersAPIService) ServersServerIdPrivateNetworksPatchExecute(r ApiServersServerIdPrivateNetworksPatchRequest) (*ServerPrivateNetwork, *http.Response, error)
Execute executes the request
@return ServerPrivateNetwork
func (*ServersAPIService) ServersServerIdPrivateNetworksPost ¶
func (a *ServersAPIService) ServersServerIdPrivateNetworksPost(ctx context.Context, serverId string) ApiServersServerIdPrivateNetworksPostRequest
ServersServerIdPrivateNetworksPost Adds the server to a private network.
Adds the server to a private network. <b>No actual configuration is performed on the operating system.</b> BMC configures exclusively the networking devices in the datacenter infrastructure. Manual network configuration changes in the operating system of this server are required. Knowledge base article to help you can be found <a href='https://phoenixnap.com/kb/configure-bmc-server-after-adding-to-network#ftoc-heading-3' target='_blank'>here</a>.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @return ApiServersServerIdPrivateNetworksPostRequest
func (*ServersAPIService) ServersServerIdPrivateNetworksPostExecute ¶
func (a *ServersAPIService) ServersServerIdPrivateNetworksPostExecute(r ApiServersServerIdPrivateNetworksPostRequest) (*ServerPrivateNetwork, *http.Response, error)
Execute executes the request
@return ServerPrivateNetwork
func (*ServersAPIService) ServersServerIdPublicNetworksDelete ¶
func (a *ServersAPIService) ServersServerIdPublicNetworksDelete(ctx context.Context, serverId string, publicNetworkId string) ApiServersServerIdPublicNetworksDeleteRequest
ServersServerIdPublicNetworksDelete Removes the server from the Public Network
Removes the server from the Public Network. <b>No actual configuration is performed on the operating system.</b> BMC configures exclusively the networking devices in the datacenter infrastructure. Manual network configuration changes in the operating system of this server are required. <b>This is an advanced network action that can make your server completely unavailable over any network. Make sure this server is reachable over remote console for guaranteed access in case of misconfiguration.</b>
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @param publicNetworkId The Public Network identifier. @return ApiServersServerIdPublicNetworksDeleteRequest
func (*ServersAPIService) ServersServerIdPublicNetworksDeleteExecute ¶
func (a *ServersAPIService) ServersServerIdPublicNetworksDeleteExecute(r ApiServersServerIdPublicNetworksDeleteRequest) (string, *http.Response, error)
Execute executes the request
@return string
func (*ServersAPIService) ServersServerIdPublicNetworksPatch ¶
func (a *ServersAPIService) ServersServerIdPublicNetworksPatch(ctx context.Context, serverId string, publicNetworkId string) ApiServersServerIdPublicNetworksPatchRequest
ServersServerIdPublicNetworksPatch Updates the server's public network's IP addresses.
IP address changes intended to keep the BMC data up to date with server's operating system. We do not have access to the server's operating system and therefore manual configuration is required to apply the changes on the host. Knowledge base article to help you can be found <a href='https://phoenixnap.com/kb/bmc-server-management-via-api#ftoc-heading-6' target='_blank'>here</a>
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @param publicNetworkId The Public Network identifier. @return ApiServersServerIdPublicNetworksPatchRequest
func (*ServersAPIService) ServersServerIdPublicNetworksPatchExecute ¶
func (a *ServersAPIService) ServersServerIdPublicNetworksPatchExecute(r ApiServersServerIdPublicNetworksPatchRequest) (*ServerPublicNetwork, *http.Response, error)
Execute executes the request
@return ServerPublicNetwork
func (*ServersAPIService) ServersServerIdPublicNetworksPost ¶
func (a *ServersAPIService) ServersServerIdPublicNetworksPost(ctx context.Context, serverId string) ApiServersServerIdPublicNetworksPostRequest
ServersServerIdPublicNetworksPost Adds the server to a Public Network.
Adds the server to a Public Network. <b>No actual configuration is performed on the operating system.</b> BMC configures exclusively the networking devices in the datacenter infrastructure. Manual network configuration changes in the operating system of this server are required. Knowledge base article to help you can be found <a href='https://phoenixnap.com/kb/configure-bmc-server-after-adding-to-network#ftoc-heading-3' target='_blank'>here</a>.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @return ApiServersServerIdPublicNetworksPostRequest
func (*ServersAPIService) ServersServerIdPublicNetworksPostExecute ¶
func (a *ServersAPIService) ServersServerIdPublicNetworksPostExecute(r ApiServersServerIdPublicNetworksPostRequest) (*ServerPublicNetwork, *http.Response, error)
Execute executes the request
@return ServerPublicNetwork
func (*ServersAPIService) ServersServerIdTagsPut ¶
func (a *ServersAPIService) ServersServerIdTagsPut(ctx context.Context, serverId string) ApiServersServerIdTagsPutRequest
ServersServerIdTagsPut Overwrite tags assigned for Server.
Overwrites tags assigned for Server and unassigns any tags not part of the request.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverId The server's ID. @return ApiServersServerIdTagsPutRequest
func (*ServersAPIService) ServersServerIdTagsPutExecute ¶
func (a *ServersAPIService) ServersServerIdTagsPutExecute(r ApiServersServerIdTagsPutRequest) (*Server, *http.Response, error)
Execute executes the request
@return Server
type SshKey ¶
type SshKey struct { // The unique identifier of the SSH Key. Id string `json:"id"` // Keys marked as default are always included on server creation and reset unless toggled off in creation/reset request. Default bool `json:"default"` // Friendly SSH key name to represent an SSH key. Name string `json:"name"` // SSH Key value. Key string `json:"key"` // SSH key auto-generated SHA-256 fingerprint. Fingerprint string `json:"fingerprint"` // Date and time of creation. CreatedOn time.Time `json:"createdOn"` // Date and time of last update. LastUpdatedOn time.Time `json:"lastUpdatedOn"` AdditionalProperties map[string]interface{} }
SshKey SSH Key.
func NewSshKey ¶
func NewSshKey(id string, default_ bool, name string, key string, fingerprint string, createdOn time.Time, lastUpdatedOn time.Time) *SshKey
NewSshKey instantiates a new SshKey object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSshKeyWithDefaults ¶
func NewSshKeyWithDefaults() *SshKey
NewSshKeyWithDefaults instantiates a new SshKey object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SshKey) GetCreatedOn ¶
GetCreatedOn returns the CreatedOn field value
func (*SshKey) GetCreatedOnOk ¶
GetCreatedOnOk returns a tuple with the CreatedOn field value and a boolean to check if the value has been set.
func (*SshKey) GetDefault ¶
GetDefault returns the Default field value
func (*SshKey) GetDefaultOk ¶
GetDefaultOk returns a tuple with the Default field value and a boolean to check if the value has been set.
func (*SshKey) GetFingerprint ¶
GetFingerprint returns the Fingerprint field value
func (*SshKey) GetFingerprintOk ¶
GetFingerprintOk returns a tuple with the Fingerprint field value and a boolean to check if the value has been set.
func (*SshKey) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*SshKey) GetKeyOk ¶
GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.
func (*SshKey) GetLastUpdatedOn ¶
GetLastUpdatedOn returns the LastUpdatedOn field value
func (*SshKey) GetLastUpdatedOnOk ¶
GetLastUpdatedOnOk returns a tuple with the LastUpdatedOn field value and a boolean to check if the value has been set.
func (*SshKey) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (SshKey) MarshalJSON ¶
func (*SshKey) SetCreatedOn ¶
SetCreatedOn sets field value
func (*SshKey) SetFingerprint ¶
SetFingerprint sets field value
func (*SshKey) SetLastUpdatedOn ¶
SetLastUpdatedOn sets field value
func (*SshKey) UnmarshalJSON ¶
type SshKeyCreate ¶
type SshKeyCreate struct { // Keys marked as default are always included on server creation and reset unless toggled off in creation/reset request. Default bool `json:"default"` // Friendly SSH key name to represent an SSH key. Name string `json:"name"` // SSH key actual key value. Key string `json:"key"` AdditionalProperties map[string]interface{} }
SshKeyCreate SSH key creation model.
func NewSshKeyCreate ¶
func NewSshKeyCreate(default_ bool, name string, key string) *SshKeyCreate
NewSshKeyCreate instantiates a new SshKeyCreate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSshKeyCreateWithDefaults ¶
func NewSshKeyCreateWithDefaults() *SshKeyCreate
NewSshKeyCreateWithDefaults instantiates a new SshKeyCreate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SshKeyCreate) GetDefault ¶
func (o *SshKeyCreate) GetDefault() bool
GetDefault returns the Default field value
func (*SshKeyCreate) GetDefaultOk ¶
func (o *SshKeyCreate) GetDefaultOk() (*bool, bool)
GetDefaultOk returns a tuple with the Default field value and a boolean to check if the value has been set.
func (*SshKeyCreate) GetKey ¶
func (o *SshKeyCreate) GetKey() string
GetKey returns the Key field value
func (*SshKeyCreate) GetKeyOk ¶
func (o *SshKeyCreate) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.
func (*SshKeyCreate) GetName ¶
func (o *SshKeyCreate) GetName() string
GetName returns the Name field value
func (*SshKeyCreate) GetNameOk ¶
func (o *SshKeyCreate) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (SshKeyCreate) MarshalJSON ¶
func (o SshKeyCreate) MarshalJSON() ([]byte, error)
func (*SshKeyCreate) SetDefault ¶
func (o *SshKeyCreate) SetDefault(v bool)
SetDefault sets field value
func (SshKeyCreate) ToMap ¶
func (o SshKeyCreate) ToMap() (map[string]interface{}, error)
func (*SshKeyCreate) UnmarshalJSON ¶
func (o *SshKeyCreate) UnmarshalJSON(data []byte) (err error)
type SshKeyUpdate ¶
type SshKeyUpdate struct { // Keys marked as default are always included on server creation and reset unless toggled off in creation/reset request. Default bool `json:"default"` // SSH key name that can represent the key as an alternative to its ID. Name string `json:"name"` AdditionalProperties map[string]interface{} }
SshKeyUpdate SSH key modification model.
func NewSshKeyUpdate ¶
func NewSshKeyUpdate(default_ bool, name string) *SshKeyUpdate
NewSshKeyUpdate instantiates a new SshKeyUpdate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSshKeyUpdateWithDefaults ¶
func NewSshKeyUpdateWithDefaults() *SshKeyUpdate
NewSshKeyUpdateWithDefaults instantiates a new SshKeyUpdate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SshKeyUpdate) GetDefault ¶
func (o *SshKeyUpdate) GetDefault() bool
GetDefault returns the Default field value
func (*SshKeyUpdate) GetDefaultOk ¶
func (o *SshKeyUpdate) GetDefaultOk() (*bool, bool)
GetDefaultOk returns a tuple with the Default field value and a boolean to check if the value has been set.
func (*SshKeyUpdate) GetName ¶
func (o *SshKeyUpdate) GetName() string
GetName returns the Name field value
func (*SshKeyUpdate) GetNameOk ¶
func (o *SshKeyUpdate) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (SshKeyUpdate) MarshalJSON ¶
func (o SshKeyUpdate) MarshalJSON() ([]byte, error)
func (*SshKeyUpdate) SetDefault ¶
func (o *SshKeyUpdate) SetDefault(v bool)
SetDefault sets field value
func (SshKeyUpdate) ToMap ¶
func (o SshKeyUpdate) ToMap() (map[string]interface{}, error)
func (*SshKeyUpdate) UnmarshalJSON ¶
func (o *SshKeyUpdate) UnmarshalJSON(data []byte) (err error)
type StorageConfiguration ¶
type StorageConfiguration struct { RootPartition *StorageConfigurationRootPartition `json:"rootPartition,omitempty"` AdditionalProperties map[string]interface{} }
StorageConfiguration Storage configuration.
func NewStorageConfiguration ¶
func NewStorageConfiguration() *StorageConfiguration
NewStorageConfiguration instantiates a new StorageConfiguration object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewStorageConfigurationWithDefaults ¶
func NewStorageConfigurationWithDefaults() *StorageConfiguration
NewStorageConfigurationWithDefaults instantiates a new StorageConfiguration object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*StorageConfiguration) GetRootPartition ¶
func (o *StorageConfiguration) GetRootPartition() StorageConfigurationRootPartition
GetRootPartition returns the RootPartition field value if set, zero value otherwise.
func (*StorageConfiguration) GetRootPartitionOk ¶
func (o *StorageConfiguration) GetRootPartitionOk() (*StorageConfigurationRootPartition, bool)
GetRootPartitionOk returns a tuple with the RootPartition field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageConfiguration) HasRootPartition ¶
func (o *StorageConfiguration) HasRootPartition() bool
HasRootPartition returns a boolean if a field has been set.
func (StorageConfiguration) MarshalJSON ¶
func (o StorageConfiguration) MarshalJSON() ([]byte, error)
func (*StorageConfiguration) SetRootPartition ¶
func (o *StorageConfiguration) SetRootPartition(v StorageConfigurationRootPartition)
SetRootPartition gets a reference to the given StorageConfigurationRootPartition and assigns it to the RootPartition field.
func (StorageConfiguration) ToMap ¶
func (o StorageConfiguration) ToMap() (map[string]interface{}, error)
func (*StorageConfiguration) UnmarshalJSON ¶ added in v3.0.1
func (o *StorageConfiguration) UnmarshalJSON(data []byte) (err error)
type StorageConfigurationRootPartition ¶
type StorageConfigurationRootPartition struct { // Software RAID configuration. The following RAID options are available: NO_RAID, RAID_0, RAID_1. Raid *string `json:"raid,omitempty"` // The size of the root partition in GB. -1 to use all available space. Size *int32 `json:"size,omitempty"` AdditionalProperties map[string]interface{} }
StorageConfigurationRootPartition Root partition configuration.
func NewStorageConfigurationRootPartition ¶
func NewStorageConfigurationRootPartition() *StorageConfigurationRootPartition
NewStorageConfigurationRootPartition instantiates a new StorageConfigurationRootPartition object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewStorageConfigurationRootPartitionWithDefaults ¶
func NewStorageConfigurationRootPartitionWithDefaults() *StorageConfigurationRootPartition
NewStorageConfigurationRootPartitionWithDefaults instantiates a new StorageConfigurationRootPartition object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*StorageConfigurationRootPartition) GetRaid ¶
func (o *StorageConfigurationRootPartition) GetRaid() string
GetRaid returns the Raid field value if set, zero value otherwise.
func (*StorageConfigurationRootPartition) GetRaidOk ¶
func (o *StorageConfigurationRootPartition) GetRaidOk() (*string, bool)
GetRaidOk returns a tuple with the Raid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageConfigurationRootPartition) GetSize ¶
func (o *StorageConfigurationRootPartition) GetSize() int32
GetSize returns the Size field value if set, zero value otherwise.
func (*StorageConfigurationRootPartition) GetSizeOk ¶
func (o *StorageConfigurationRootPartition) GetSizeOk() (*int32, bool)
GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StorageConfigurationRootPartition) HasRaid ¶
func (o *StorageConfigurationRootPartition) HasRaid() bool
HasRaid returns a boolean if a field has been set.
func (*StorageConfigurationRootPartition) HasSize ¶
func (o *StorageConfigurationRootPartition) HasSize() bool
HasSize returns a boolean if a field has been set.
func (StorageConfigurationRootPartition) MarshalJSON ¶
func (o StorageConfigurationRootPartition) MarshalJSON() ([]byte, error)
func (*StorageConfigurationRootPartition) SetRaid ¶
func (o *StorageConfigurationRootPartition) SetRaid(v string)
SetRaid gets a reference to the given string and assigns it to the Raid field.
func (*StorageConfigurationRootPartition) SetSize ¶
func (o *StorageConfigurationRootPartition) SetSize(v int32)
SetSize gets a reference to the given int32 and assigns it to the Size field.
func (StorageConfigurationRootPartition) ToMap ¶
func (o StorageConfigurationRootPartition) ToMap() (map[string]interface{}, error)
func (*StorageConfigurationRootPartition) UnmarshalJSON ¶ added in v3.0.1
func (o *StorageConfigurationRootPartition) UnmarshalJSON(data []byte) (err error)
type TagAssignment ¶
type TagAssignment struct { // The unique id of the tag. Id string `json:"id"` // The name of the tag. Name string `json:"name"` // The value of the tag assigned to the resource. Value *string `json:"value,omitempty"` // Whether or not to show the tag as part of billing and invoices IsBillingTag bool `json:"isBillingTag"` // Who the tag was created by. CreatedBy *string `json:"createdBy,omitempty"` AdditionalProperties map[string]interface{} }
TagAssignment Tag assigned to resource.
func NewTagAssignment ¶
func NewTagAssignment(id string, name string, isBillingTag bool) *TagAssignment
NewTagAssignment instantiates a new TagAssignment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTagAssignmentWithDefaults ¶
func NewTagAssignmentWithDefaults() *TagAssignment
NewTagAssignmentWithDefaults instantiates a new TagAssignment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TagAssignment) GetCreatedBy ¶
func (o *TagAssignment) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value if set, zero value otherwise.
func (*TagAssignment) GetCreatedByOk ¶
func (o *TagAssignment) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TagAssignment) GetId ¶
func (o *TagAssignment) GetId() string
GetId returns the Id field value
func (*TagAssignment) GetIdOk ¶
func (o *TagAssignment) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*TagAssignment) GetIsBillingTag ¶
func (o *TagAssignment) GetIsBillingTag() bool
GetIsBillingTag returns the IsBillingTag field value
func (*TagAssignment) GetIsBillingTagOk ¶
func (o *TagAssignment) GetIsBillingTagOk() (*bool, bool)
GetIsBillingTagOk returns a tuple with the IsBillingTag field value and a boolean to check if the value has been set.
func (*TagAssignment) GetName ¶
func (o *TagAssignment) GetName() string
GetName returns the Name field value
func (*TagAssignment) GetNameOk ¶
func (o *TagAssignment) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*TagAssignment) GetValue ¶
func (o *TagAssignment) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*TagAssignment) GetValueOk ¶
func (o *TagAssignment) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TagAssignment) HasCreatedBy ¶
func (o *TagAssignment) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (*TagAssignment) HasValue ¶
func (o *TagAssignment) HasValue() bool
HasValue returns a boolean if a field has been set.
func (TagAssignment) MarshalJSON ¶
func (o TagAssignment) MarshalJSON() ([]byte, error)
func (*TagAssignment) SetCreatedBy ¶
func (o *TagAssignment) SetCreatedBy(v string)
SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.
func (*TagAssignment) SetIsBillingTag ¶
func (o *TagAssignment) SetIsBillingTag(v bool)
SetIsBillingTag sets field value
func (*TagAssignment) SetValue ¶
func (o *TagAssignment) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
func (TagAssignment) ToMap ¶
func (o TagAssignment) ToMap() (map[string]interface{}, error)
func (*TagAssignment) UnmarshalJSON ¶
func (o *TagAssignment) UnmarshalJSON(data []byte) (err error)
type TagAssignmentRequest ¶
type TagAssignmentRequest struct { // The name of the tag. Tag names are case-sensitive, and should be composed of a maximum of 100 characters including UTF-8 Unicode letters, numbers, and the following symbols: '-', '_'. Regex: [A-zÀ-ú0-9_-]{1,100}. Name string `json:"name"` // The value of the tag assigned to the resource. Tag values are case-sensitive, and should be composed of a maximum of 100 characters including UTF-8 Unicode letters, numbers, and the following symbols: '-', '_'. Regex: [A-zÀ-ú0-9_-]{1,100}. Value *string `json:"value,omitempty"` AdditionalProperties map[string]interface{} }
TagAssignmentRequest Tag request to assign to resource.
func NewTagAssignmentRequest ¶
func NewTagAssignmentRequest(name string) *TagAssignmentRequest
NewTagAssignmentRequest instantiates a new TagAssignmentRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTagAssignmentRequestWithDefaults ¶
func NewTagAssignmentRequestWithDefaults() *TagAssignmentRequest
NewTagAssignmentRequestWithDefaults instantiates a new TagAssignmentRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TagAssignmentRequest) GetName ¶
func (o *TagAssignmentRequest) GetName() string
GetName returns the Name field value
func (*TagAssignmentRequest) GetNameOk ¶
func (o *TagAssignmentRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*TagAssignmentRequest) GetValue ¶
func (o *TagAssignmentRequest) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*TagAssignmentRequest) GetValueOk ¶
func (o *TagAssignmentRequest) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TagAssignmentRequest) HasValue ¶
func (o *TagAssignmentRequest) HasValue() bool
HasValue returns a boolean if a field has been set.
func (TagAssignmentRequest) MarshalJSON ¶
func (o TagAssignmentRequest) MarshalJSON() ([]byte, error)
func (*TagAssignmentRequest) SetName ¶
func (o *TagAssignmentRequest) SetName(v string)
SetName sets field value
func (*TagAssignmentRequest) SetValue ¶
func (o *TagAssignmentRequest) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
func (TagAssignmentRequest) ToMap ¶
func (o TagAssignmentRequest) ToMap() (map[string]interface{}, error)
func (*TagAssignmentRequest) UnmarshalJSON ¶
func (o *TagAssignmentRequest) UnmarshalJSON(data []byte) (err error)
Source Files ¶
- VERSION.go
- api_quotas.go
- api_servers.go
- api_ssh_keys.go
- client.go
- configuration.go
- model_action_result.go
- model_delete_result.go
- model_delete_ssh_key_result.go
- model_error.go
- model_esxi_datastore_configuration.go
- model_esxi_os_configuration.go
- model_ip_blocks_configuration.go
- model_network_configuration.go
- model_os_configuration.go
- model_os_configuration_cloud_init.go
- model_os_configuration_map.go
- model_os_configuration_map_esxi.go
- model_os_configuration_map_proxmox.go
- model_os_configuration_netris_controller.go
- model_os_configuration_netris_softgate.go
- model_os_configuration_windows_.go
- model_private_network_configuration.go
- model_public_network_configuration.go
- model_quota.go
- model_quota_edit_limit_request.go
- model_quota_edit_limit_request_details.go
- model_relinquish_ip_block.go
- model_reset_result.go
- model_server.go
- model_server_create.go
- model_server_ip_block.go
- model_server_network_update.go
- model_server_patch.go
- model_server_private_network.go
- model_server_provision.go
- model_server_public_network.go
- model_server_reserve.go
- model_server_reset.go
- model_ssh_key.go
- model_ssh_key_create.go
- model_ssh_key_update.go
- model_storage_configuration.go
- model_storage_configuration_root_partition.go
- model_tag_assignment.go
- model_tag_assignment_request.go
- response.go
- utils.go