outofbandmanagementv1

package
v0.0.0-...-94cd6a6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OutofbandmanagementService_ChangeOutOfBandManagementPassword_FullMethodName    = "/cloudstack.management.outofbandmanagement.v1.OutofbandmanagementService/ChangeOutOfBandManagementPassword"
	OutofbandmanagementService_ConfigureOutOfBandManagement_FullMethodName         = "/cloudstack.management.outofbandmanagement.v1.OutofbandmanagementService/ConfigureOutOfBandManagement"
	OutofbandmanagementService_DisableOutOfBandManagementForCluster_FullMethodName = "/cloudstack.management.outofbandmanagement.v1.OutofbandmanagementService/DisableOutOfBandManagementForCluster"
	OutofbandmanagementService_DisableOutOfBandManagementForHost_FullMethodName    = "/cloudstack.management.outofbandmanagement.v1.OutofbandmanagementService/DisableOutOfBandManagementForHost"
	OutofbandmanagementService_DisableOutOfBandManagementForZone_FullMethodName    = "/cloudstack.management.outofbandmanagement.v1.OutofbandmanagementService/DisableOutOfBandManagementForZone"
	OutofbandmanagementService_EnableOutOfBandManagementForCluster_FullMethodName  = "/cloudstack.management.outofbandmanagement.v1.OutofbandmanagementService/EnableOutOfBandManagementForCluster"
	OutofbandmanagementService_EnableOutOfBandManagementForHost_FullMethodName     = "/cloudstack.management.outofbandmanagement.v1.OutofbandmanagementService/EnableOutOfBandManagementForHost"
	OutofbandmanagementService_EnableOutOfBandManagementForZone_FullMethodName     = "/cloudstack.management.outofbandmanagement.v1.OutofbandmanagementService/EnableOutOfBandManagementForZone"
	OutofbandmanagementService_IssueOutOfBandManagementPowerAction_FullMethodName  = "/cloudstack.management.outofbandmanagement.v1.OutofbandmanagementService/IssueOutOfBandManagementPowerAction"
)

Variables

View Source
var File_cloudstack_management_outofbandmanagement_v1_outofbandmanagement_gen_proto protoreflect.FileDescriptor
View Source
var OutofbandmanagementService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cloudstack.management.outofbandmanagement.v1.OutofbandmanagementService",
	HandlerType: (*OutofbandmanagementServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ChangeOutOfBandManagementPassword",
			Handler:    _OutofbandmanagementService_ChangeOutOfBandManagementPassword_Handler,
		},
		{
			MethodName: "ConfigureOutOfBandManagement",
			Handler:    _OutofbandmanagementService_ConfigureOutOfBandManagement_Handler,
		},
		{
			MethodName: "DisableOutOfBandManagementForCluster",
			Handler:    _OutofbandmanagementService_DisableOutOfBandManagementForCluster_Handler,
		},
		{
			MethodName: "DisableOutOfBandManagementForHost",
			Handler:    _OutofbandmanagementService_DisableOutOfBandManagementForHost_Handler,
		},
		{
			MethodName: "DisableOutOfBandManagementForZone",
			Handler:    _OutofbandmanagementService_DisableOutOfBandManagementForZone_Handler,
		},
		{
			MethodName: "EnableOutOfBandManagementForCluster",
			Handler:    _OutofbandmanagementService_EnableOutOfBandManagementForCluster_Handler,
		},
		{
			MethodName: "EnableOutOfBandManagementForHost",
			Handler:    _OutofbandmanagementService_EnableOutOfBandManagementForHost_Handler,
		},
		{
			MethodName: "EnableOutOfBandManagementForZone",
			Handler:    _OutofbandmanagementService_EnableOutOfBandManagementForZone_Handler,
		},
		{
			MethodName: "IssueOutOfBandManagementPowerAction",
			Handler:    _OutofbandmanagementService_IssueOutOfBandManagementPowerAction_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cloudstack/management/outofbandmanagement/v1/outofbandmanagement.gen.proto",
}

OutofbandmanagementService_ServiceDesc is the grpc.ServiceDesc for OutofbandmanagementService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterOutofbandmanagementServiceServer

func RegisterOutofbandmanagementServiceServer(s grpc.ServiceRegistrar, srv OutofbandmanagementServiceServer)

Types

type ChangeOutOfBandManagementPasswordRequest

type ChangeOutOfBandManagementPasswordRequest struct {

	// the ID of the host
	HostId *int64 `protobuf:"varint,1,opt,name=host_id,json=hostId" json:"host_id,omitempty"`
	// the new host management interface password of maximum length 16, if none is provided a random password would be used
	Password      *string `protobuf:"bytes,2,opt,name=password" json:"password,omitempty"`
	StartEventId  *int64  `protobuf:"varint,3,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,4,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,5,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

ChangeOutOfBandManagementPasswordRequest represents the parameters for changes out-of-band management interface password on the host and updates the interface configuration in cloudstack if the operation succeeds, else reverts the old password

func (*ChangeOutOfBandManagementPasswordRequest) Descriptor deprecated

func (*ChangeOutOfBandManagementPasswordRequest) Descriptor() ([]byte, []int)

Deprecated: Use ChangeOutOfBandManagementPasswordRequest.ProtoReflect.Descriptor instead.

func (*ChangeOutOfBandManagementPasswordRequest) GetHostId

func (*ChangeOutOfBandManagementPasswordRequest) GetInjectedJobId

func (x *ChangeOutOfBandManagementPasswordRequest) GetInjectedJobId() string

func (*ChangeOutOfBandManagementPasswordRequest) GetPassword

func (*ChangeOutOfBandManagementPasswordRequest) GetResponseType

func (x *ChangeOutOfBandManagementPasswordRequest) GetResponseType() string

func (*ChangeOutOfBandManagementPasswordRequest) GetStartEventId

func (x *ChangeOutOfBandManagementPasswordRequest) GetStartEventId() int64

func (*ChangeOutOfBandManagementPasswordRequest) ProtoMessage

func (*ChangeOutOfBandManagementPasswordRequest) ProtoReflect

func (*ChangeOutOfBandManagementPasswordRequest) Reset

func (*ChangeOutOfBandManagementPasswordRequest) String

type ChangeOutOfBandManagementPasswordResponse

type ChangeOutOfBandManagementPasswordResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

ChangeOutOfBandManagementPasswordResponse represents the response from changes out-of-band management interface password on the host and updates the interface configuration in cloudstack if the operation succeeds, else reverts the old password

func (*ChangeOutOfBandManagementPasswordResponse) Descriptor deprecated

func (*ChangeOutOfBandManagementPasswordResponse) Descriptor() ([]byte, []int)

Deprecated: Use ChangeOutOfBandManagementPasswordResponse.ProtoReflect.Descriptor instead.

func (*ChangeOutOfBandManagementPasswordResponse) GetResult

func (*ChangeOutOfBandManagementPasswordResponse) ProtoMessage

func (*ChangeOutOfBandManagementPasswordResponse) ProtoReflect

func (*ChangeOutOfBandManagementPasswordResponse) Reset

func (*ChangeOutOfBandManagementPasswordResponse) String

type ConfigureOutOfBandManagementRequest

type ConfigureOutOfBandManagementRequest struct {

	// the ID of the host
	HostId *int64 `protobuf:"varint,1,opt,name=host_id,json=hostId" json:"host_id,omitempty"`
	// the host management interface driver, for example: ipmitool
	Driver *string `protobuf:"bytes,2,opt,name=driver" json:"driver,omitempty"`
	// the host management interface IP address
	Address *string `protobuf:"bytes,3,opt,name=address" json:"address,omitempty"`
	// the host management interface port
	Port *string `protobuf:"bytes,4,opt,name=port" json:"port,omitempty"`
	// the host management interface user
	Username *string `protobuf:"bytes,5,opt,name=username" json:"username,omitempty"`
	// the host management interface password
	Password     *string `protobuf:"bytes,6,opt,name=password" json:"password,omitempty"`
	ResponseType *string `protobuf:"bytes,7,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

ConfigureOutOfBandManagementRequest represents the parameters for configures a host's out-of-band management interface

func (*ConfigureOutOfBandManagementRequest) Descriptor deprecated

func (*ConfigureOutOfBandManagementRequest) Descriptor() ([]byte, []int)

Deprecated: Use ConfigureOutOfBandManagementRequest.ProtoReflect.Descriptor instead.

func (*ConfigureOutOfBandManagementRequest) GetAddress

func (*ConfigureOutOfBandManagementRequest) GetDriver

func (*ConfigureOutOfBandManagementRequest) GetHostId

func (*ConfigureOutOfBandManagementRequest) GetPassword

func (*ConfigureOutOfBandManagementRequest) GetPort

func (*ConfigureOutOfBandManagementRequest) GetResponseType

func (x *ConfigureOutOfBandManagementRequest) GetResponseType() string

func (*ConfigureOutOfBandManagementRequest) GetUsername

func (*ConfigureOutOfBandManagementRequest) ProtoMessage

func (*ConfigureOutOfBandManagementRequest) ProtoMessage()

func (*ConfigureOutOfBandManagementRequest) ProtoReflect

func (*ConfigureOutOfBandManagementRequest) Reset

func (*ConfigureOutOfBandManagementRequest) String

type ConfigureOutOfBandManagementResponse

type ConfigureOutOfBandManagementResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

ConfigureOutOfBandManagementResponse represents the response from configures a host's out-of-band management interface

func (*ConfigureOutOfBandManagementResponse) Descriptor deprecated

func (*ConfigureOutOfBandManagementResponse) Descriptor() ([]byte, []int)

Deprecated: Use ConfigureOutOfBandManagementResponse.ProtoReflect.Descriptor instead.

func (*ConfigureOutOfBandManagementResponse) GetResult

func (*ConfigureOutOfBandManagementResponse) ProtoMessage

func (*ConfigureOutOfBandManagementResponse) ProtoMessage()

func (*ConfigureOutOfBandManagementResponse) ProtoReflect

func (*ConfigureOutOfBandManagementResponse) Reset

func (*ConfigureOutOfBandManagementResponse) String

type DisableOutOfBandManagementForClusterRequest

type DisableOutOfBandManagementForClusterRequest struct {

	// the ID of the cluster
	ClusterId     *int64  `protobuf:"varint,1,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"`
	StartEventId  *int64  `protobuf:"varint,2,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,3,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,4,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

DisableOutOfBandManagementForClusterRequest represents the parameters for disables out-of-band management for a cluster

func (*DisableOutOfBandManagementForClusterRequest) Descriptor deprecated

Deprecated: Use DisableOutOfBandManagementForClusterRequest.ProtoReflect.Descriptor instead.

func (*DisableOutOfBandManagementForClusterRequest) GetClusterId

func (*DisableOutOfBandManagementForClusterRequest) GetInjectedJobId

func (*DisableOutOfBandManagementForClusterRequest) GetResponseType

func (*DisableOutOfBandManagementForClusterRequest) GetStartEventId

func (*DisableOutOfBandManagementForClusterRequest) ProtoMessage

func (*DisableOutOfBandManagementForClusterRequest) ProtoReflect

func (*DisableOutOfBandManagementForClusterRequest) Reset

func (*DisableOutOfBandManagementForClusterRequest) String

type DisableOutOfBandManagementForClusterResponse

type DisableOutOfBandManagementForClusterResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

DisableOutOfBandManagementForClusterResponse represents the response from disables out-of-band management for a cluster

func (*DisableOutOfBandManagementForClusterResponse) Descriptor deprecated

Deprecated: Use DisableOutOfBandManagementForClusterResponse.ProtoReflect.Descriptor instead.

func (*DisableOutOfBandManagementForClusterResponse) GetResult

func (*DisableOutOfBandManagementForClusterResponse) ProtoMessage

func (*DisableOutOfBandManagementForClusterResponse) ProtoReflect

func (*DisableOutOfBandManagementForClusterResponse) Reset

func (*DisableOutOfBandManagementForClusterResponse) String

type DisableOutOfBandManagementForHostRequest

type DisableOutOfBandManagementForHostRequest struct {

	// the ID of the host
	HostId        *int64  `protobuf:"varint,1,opt,name=host_id,json=hostId" json:"host_id,omitempty"`
	StartEventId  *int64  `protobuf:"varint,2,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,3,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,4,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

DisableOutOfBandManagementForHostRequest represents the parameters for disables out-of-band management for a host

func (*DisableOutOfBandManagementForHostRequest) Descriptor deprecated

func (*DisableOutOfBandManagementForHostRequest) Descriptor() ([]byte, []int)

Deprecated: Use DisableOutOfBandManagementForHostRequest.ProtoReflect.Descriptor instead.

func (*DisableOutOfBandManagementForHostRequest) GetHostId

func (*DisableOutOfBandManagementForHostRequest) GetInjectedJobId

func (x *DisableOutOfBandManagementForHostRequest) GetInjectedJobId() string

func (*DisableOutOfBandManagementForHostRequest) GetResponseType

func (x *DisableOutOfBandManagementForHostRequest) GetResponseType() string

func (*DisableOutOfBandManagementForHostRequest) GetStartEventId

func (x *DisableOutOfBandManagementForHostRequest) GetStartEventId() int64

func (*DisableOutOfBandManagementForHostRequest) ProtoMessage

func (*DisableOutOfBandManagementForHostRequest) ProtoReflect

func (*DisableOutOfBandManagementForHostRequest) Reset

func (*DisableOutOfBandManagementForHostRequest) String

type DisableOutOfBandManagementForHostResponse

type DisableOutOfBandManagementForHostResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

DisableOutOfBandManagementForHostResponse represents the response from disables out-of-band management for a host

func (*DisableOutOfBandManagementForHostResponse) Descriptor deprecated

func (*DisableOutOfBandManagementForHostResponse) Descriptor() ([]byte, []int)

Deprecated: Use DisableOutOfBandManagementForHostResponse.ProtoReflect.Descriptor instead.

func (*DisableOutOfBandManagementForHostResponse) GetResult

func (*DisableOutOfBandManagementForHostResponse) ProtoMessage

func (*DisableOutOfBandManagementForHostResponse) ProtoReflect

func (*DisableOutOfBandManagementForHostResponse) Reset

func (*DisableOutOfBandManagementForHostResponse) String

type DisableOutOfBandManagementForZoneRequest

type DisableOutOfBandManagementForZoneRequest struct {

	// the ID of the zone
	ZoneId        *int64  `protobuf:"varint,1,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
	StartEventId  *int64  `protobuf:"varint,2,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,3,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,4,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

DisableOutOfBandManagementForZoneRequest represents the parameters for disables out-of-band management for a zone

func (*DisableOutOfBandManagementForZoneRequest) Descriptor deprecated

func (*DisableOutOfBandManagementForZoneRequest) Descriptor() ([]byte, []int)

Deprecated: Use DisableOutOfBandManagementForZoneRequest.ProtoReflect.Descriptor instead.

func (*DisableOutOfBandManagementForZoneRequest) GetInjectedJobId

func (x *DisableOutOfBandManagementForZoneRequest) GetInjectedJobId() string

func (*DisableOutOfBandManagementForZoneRequest) GetResponseType

func (x *DisableOutOfBandManagementForZoneRequest) GetResponseType() string

func (*DisableOutOfBandManagementForZoneRequest) GetStartEventId

func (x *DisableOutOfBandManagementForZoneRequest) GetStartEventId() int64

func (*DisableOutOfBandManagementForZoneRequest) GetZoneId

func (*DisableOutOfBandManagementForZoneRequest) ProtoMessage

func (*DisableOutOfBandManagementForZoneRequest) ProtoReflect

func (*DisableOutOfBandManagementForZoneRequest) Reset

func (*DisableOutOfBandManagementForZoneRequest) String

type DisableOutOfBandManagementForZoneResponse

type DisableOutOfBandManagementForZoneResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

DisableOutOfBandManagementForZoneResponse represents the response from disables out-of-band management for a zone

func (*DisableOutOfBandManagementForZoneResponse) Descriptor deprecated

func (*DisableOutOfBandManagementForZoneResponse) Descriptor() ([]byte, []int)

Deprecated: Use DisableOutOfBandManagementForZoneResponse.ProtoReflect.Descriptor instead.

func (*DisableOutOfBandManagementForZoneResponse) GetResult

func (*DisableOutOfBandManagementForZoneResponse) ProtoMessage

func (*DisableOutOfBandManagementForZoneResponse) ProtoReflect

func (*DisableOutOfBandManagementForZoneResponse) Reset

func (*DisableOutOfBandManagementForZoneResponse) String

type EnableOutOfBandManagementForClusterRequest

type EnableOutOfBandManagementForClusterRequest struct {

	// the ID of the cluster
	ClusterId     *int64  `protobuf:"varint,1,opt,name=cluster_id,json=clusterId" json:"cluster_id,omitempty"`
	StartEventId  *int64  `protobuf:"varint,2,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,3,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,4,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

EnableOutOfBandManagementForClusterRequest represents the parameters for enables out-of-band management for a cluster

func (*EnableOutOfBandManagementForClusterRequest) Descriptor deprecated

Deprecated: Use EnableOutOfBandManagementForClusterRequest.ProtoReflect.Descriptor instead.

func (*EnableOutOfBandManagementForClusterRequest) GetClusterId

func (*EnableOutOfBandManagementForClusterRequest) GetInjectedJobId

func (x *EnableOutOfBandManagementForClusterRequest) GetInjectedJobId() string

func (*EnableOutOfBandManagementForClusterRequest) GetResponseType

func (*EnableOutOfBandManagementForClusterRequest) GetStartEventId

func (*EnableOutOfBandManagementForClusterRequest) ProtoMessage

func (*EnableOutOfBandManagementForClusterRequest) ProtoReflect

func (*EnableOutOfBandManagementForClusterRequest) Reset

func (*EnableOutOfBandManagementForClusterRequest) String

type EnableOutOfBandManagementForClusterResponse

type EnableOutOfBandManagementForClusterResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

EnableOutOfBandManagementForClusterResponse represents the response from enables out-of-band management for a cluster

func (*EnableOutOfBandManagementForClusterResponse) Descriptor deprecated

Deprecated: Use EnableOutOfBandManagementForClusterResponse.ProtoReflect.Descriptor instead.

func (*EnableOutOfBandManagementForClusterResponse) GetResult

func (*EnableOutOfBandManagementForClusterResponse) ProtoMessage

func (*EnableOutOfBandManagementForClusterResponse) ProtoReflect

func (*EnableOutOfBandManagementForClusterResponse) Reset

func (*EnableOutOfBandManagementForClusterResponse) String

type EnableOutOfBandManagementForHostRequest

type EnableOutOfBandManagementForHostRequest struct {

	// the ID of the host
	HostId        *int64  `protobuf:"varint,1,opt,name=host_id,json=hostId" json:"host_id,omitempty"`
	StartEventId  *int64  `protobuf:"varint,2,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,3,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,4,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

EnableOutOfBandManagementForHostRequest represents the parameters for enables out-of-band management for a host

func (*EnableOutOfBandManagementForHostRequest) Descriptor deprecated

func (*EnableOutOfBandManagementForHostRequest) Descriptor() ([]byte, []int)

Deprecated: Use EnableOutOfBandManagementForHostRequest.ProtoReflect.Descriptor instead.

func (*EnableOutOfBandManagementForHostRequest) GetHostId

func (*EnableOutOfBandManagementForHostRequest) GetInjectedJobId

func (x *EnableOutOfBandManagementForHostRequest) GetInjectedJobId() string

func (*EnableOutOfBandManagementForHostRequest) GetResponseType

func (x *EnableOutOfBandManagementForHostRequest) GetResponseType() string

func (*EnableOutOfBandManagementForHostRequest) GetStartEventId

func (x *EnableOutOfBandManagementForHostRequest) GetStartEventId() int64

func (*EnableOutOfBandManagementForHostRequest) ProtoMessage

func (*EnableOutOfBandManagementForHostRequest) ProtoReflect

func (*EnableOutOfBandManagementForHostRequest) Reset

func (*EnableOutOfBandManagementForHostRequest) String

type EnableOutOfBandManagementForHostResponse

type EnableOutOfBandManagementForHostResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

EnableOutOfBandManagementForHostResponse represents the response from enables out-of-band management for a host

func (*EnableOutOfBandManagementForHostResponse) Descriptor deprecated

func (*EnableOutOfBandManagementForHostResponse) Descriptor() ([]byte, []int)

Deprecated: Use EnableOutOfBandManagementForHostResponse.ProtoReflect.Descriptor instead.

func (*EnableOutOfBandManagementForHostResponse) GetResult

func (*EnableOutOfBandManagementForHostResponse) ProtoMessage

func (*EnableOutOfBandManagementForHostResponse) ProtoReflect

func (*EnableOutOfBandManagementForHostResponse) Reset

func (*EnableOutOfBandManagementForHostResponse) String

type EnableOutOfBandManagementForZoneRequest

type EnableOutOfBandManagementForZoneRequest struct {

	// the ID of the zone
	ZoneId        *int64  `protobuf:"varint,1,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
	StartEventId  *int64  `protobuf:"varint,2,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,3,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,4,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

EnableOutOfBandManagementForZoneRequest represents the parameters for enables out-of-band management for a zone

func (*EnableOutOfBandManagementForZoneRequest) Descriptor deprecated

func (*EnableOutOfBandManagementForZoneRequest) Descriptor() ([]byte, []int)

Deprecated: Use EnableOutOfBandManagementForZoneRequest.ProtoReflect.Descriptor instead.

func (*EnableOutOfBandManagementForZoneRequest) GetInjectedJobId

func (x *EnableOutOfBandManagementForZoneRequest) GetInjectedJobId() string

func (*EnableOutOfBandManagementForZoneRequest) GetResponseType

func (x *EnableOutOfBandManagementForZoneRequest) GetResponseType() string

func (*EnableOutOfBandManagementForZoneRequest) GetStartEventId

func (x *EnableOutOfBandManagementForZoneRequest) GetStartEventId() int64

func (*EnableOutOfBandManagementForZoneRequest) GetZoneId

func (*EnableOutOfBandManagementForZoneRequest) ProtoMessage

func (*EnableOutOfBandManagementForZoneRequest) ProtoReflect

func (*EnableOutOfBandManagementForZoneRequest) Reset

func (*EnableOutOfBandManagementForZoneRequest) String

type EnableOutOfBandManagementForZoneResponse

type EnableOutOfBandManagementForZoneResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

EnableOutOfBandManagementForZoneResponse represents the response from enables out-of-band management for a zone

func (*EnableOutOfBandManagementForZoneResponse) Descriptor deprecated

func (*EnableOutOfBandManagementForZoneResponse) Descriptor() ([]byte, []int)

Deprecated: Use EnableOutOfBandManagementForZoneResponse.ProtoReflect.Descriptor instead.

func (*EnableOutOfBandManagementForZoneResponse) GetResult

func (*EnableOutOfBandManagementForZoneResponse) ProtoMessage

func (*EnableOutOfBandManagementForZoneResponse) ProtoReflect

func (*EnableOutOfBandManagementForZoneResponse) Reset

func (*EnableOutOfBandManagementForZoneResponse) String

type IssueOutOfBandManagementPowerActionRequest

type IssueOutOfBandManagementPowerActionRequest struct {

	// the ID of the host
	HostId *int64 `protobuf:"varint,1,opt,name=host_id,json=hostId" json:"host_id,omitempty"`
	// optional operation timeout in seconds that overrides the global or cluster-level out-of-band management timeout setting
	ActionTimeout *int64 `protobuf:"varint,2,opt,name=action_timeout,json=actionTimeout" json:"action_timeout,omitempty"`
	// out-of-band management power actions, valid actions are: ON, OFF, CYCLE, RESET, SOFT, STATUS
	PowerAction   *string `protobuf:"bytes,3,opt,name=power_action,json=powerAction" json:"power_action,omitempty"`
	StartEventId  *int64  `protobuf:"varint,4,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,5,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,6,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

IssueOutOfBandManagementPowerActionRequest represents the parameters for initiates the specified power action to the host's out-of-band management interface

func (*IssueOutOfBandManagementPowerActionRequest) Descriptor deprecated

Deprecated: Use IssueOutOfBandManagementPowerActionRequest.ProtoReflect.Descriptor instead.

func (*IssueOutOfBandManagementPowerActionRequest) GetActionTimeout

func (x *IssueOutOfBandManagementPowerActionRequest) GetActionTimeout() int64

func (*IssueOutOfBandManagementPowerActionRequest) GetHostId

func (*IssueOutOfBandManagementPowerActionRequest) GetInjectedJobId

func (x *IssueOutOfBandManagementPowerActionRequest) GetInjectedJobId() string

func (*IssueOutOfBandManagementPowerActionRequest) GetPowerAction

func (*IssueOutOfBandManagementPowerActionRequest) GetResponseType

func (*IssueOutOfBandManagementPowerActionRequest) GetStartEventId

func (*IssueOutOfBandManagementPowerActionRequest) ProtoMessage

func (*IssueOutOfBandManagementPowerActionRequest) ProtoReflect

func (*IssueOutOfBandManagementPowerActionRequest) Reset

func (*IssueOutOfBandManagementPowerActionRequest) String

type IssueOutOfBandManagementPowerActionResponse

type IssueOutOfBandManagementPowerActionResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

IssueOutOfBandManagementPowerActionResponse represents the response from initiates the specified power action to the host's out-of-band management interface

func (*IssueOutOfBandManagementPowerActionResponse) Descriptor deprecated

Deprecated: Use IssueOutOfBandManagementPowerActionResponse.ProtoReflect.Descriptor instead.

func (*IssueOutOfBandManagementPowerActionResponse) GetResult

func (*IssueOutOfBandManagementPowerActionResponse) ProtoMessage

func (*IssueOutOfBandManagementPowerActionResponse) ProtoReflect

func (*IssueOutOfBandManagementPowerActionResponse) Reset

func (*IssueOutOfBandManagementPowerActionResponse) String

type OutofbandmanagementServiceClient

type OutofbandmanagementServiceClient interface {
	// ChangeOutOfBandManagementPassword Changes out-of-band management interface password on the host and updates the interface configuration in CloudStack if the operation succeeds, else reverts the old password
	ChangeOutOfBandManagementPassword(ctx context.Context, in *ChangeOutOfBandManagementPasswordRequest, opts ...grpc.CallOption) (*ChangeOutOfBandManagementPasswordResponse, error)
	// ConfigureOutOfBandManagement Configures a host's out-of-band management interface
	ConfigureOutOfBandManagement(ctx context.Context, in *ConfigureOutOfBandManagementRequest, opts ...grpc.CallOption) (*ConfigureOutOfBandManagementResponse, error)
	// DisableOutOfBandManagementForCluster Disables out-of-band management for a cluster
	DisableOutOfBandManagementForCluster(ctx context.Context, in *DisableOutOfBandManagementForClusterRequest, opts ...grpc.CallOption) (*DisableOutOfBandManagementForClusterResponse, error)
	// DisableOutOfBandManagementForHost Disables out-of-band management for a host
	DisableOutOfBandManagementForHost(ctx context.Context, in *DisableOutOfBandManagementForHostRequest, opts ...grpc.CallOption) (*DisableOutOfBandManagementForHostResponse, error)
	// DisableOutOfBandManagementForZone Disables out-of-band management for a zone
	DisableOutOfBandManagementForZone(ctx context.Context, in *DisableOutOfBandManagementForZoneRequest, opts ...grpc.CallOption) (*DisableOutOfBandManagementForZoneResponse, error)
	// EnableOutOfBandManagementForCluster Enables out-of-band management for a cluster
	EnableOutOfBandManagementForCluster(ctx context.Context, in *EnableOutOfBandManagementForClusterRequest, opts ...grpc.CallOption) (*EnableOutOfBandManagementForClusterResponse, error)
	// EnableOutOfBandManagementForHost Enables out-of-band management for a host
	EnableOutOfBandManagementForHost(ctx context.Context, in *EnableOutOfBandManagementForHostRequest, opts ...grpc.CallOption) (*EnableOutOfBandManagementForHostResponse, error)
	// EnableOutOfBandManagementForZone Enables out-of-band management for a zone
	EnableOutOfBandManagementForZone(ctx context.Context, in *EnableOutOfBandManagementForZoneRequest, opts ...grpc.CallOption) (*EnableOutOfBandManagementForZoneResponse, error)
	// IssueOutOfBandManagementPowerAction Initiates the specified power action to the host's out-of-band management interface
	IssueOutOfBandManagementPowerAction(ctx context.Context, in *IssueOutOfBandManagementPowerActionRequest, opts ...grpc.CallOption) (*IssueOutOfBandManagementPowerActionResponse, error)
}

OutofbandmanagementServiceClient is the client API for OutofbandmanagementService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

OutofbandmanagementService provides operations for managing Outofbandmanagements

type OutofbandmanagementServiceServer

type OutofbandmanagementServiceServer interface {
	// ChangeOutOfBandManagementPassword Changes out-of-band management interface password on the host and updates the interface configuration in CloudStack if the operation succeeds, else reverts the old password
	ChangeOutOfBandManagementPassword(context.Context, *ChangeOutOfBandManagementPasswordRequest) (*ChangeOutOfBandManagementPasswordResponse, error)
	// ConfigureOutOfBandManagement Configures a host's out-of-band management interface
	ConfigureOutOfBandManagement(context.Context, *ConfigureOutOfBandManagementRequest) (*ConfigureOutOfBandManagementResponse, error)
	// DisableOutOfBandManagementForCluster Disables out-of-band management for a cluster
	DisableOutOfBandManagementForCluster(context.Context, *DisableOutOfBandManagementForClusterRequest) (*DisableOutOfBandManagementForClusterResponse, error)
	// DisableOutOfBandManagementForHost Disables out-of-band management for a host
	DisableOutOfBandManagementForHost(context.Context, *DisableOutOfBandManagementForHostRequest) (*DisableOutOfBandManagementForHostResponse, error)
	// DisableOutOfBandManagementForZone Disables out-of-band management for a zone
	DisableOutOfBandManagementForZone(context.Context, *DisableOutOfBandManagementForZoneRequest) (*DisableOutOfBandManagementForZoneResponse, error)
	// EnableOutOfBandManagementForCluster Enables out-of-band management for a cluster
	EnableOutOfBandManagementForCluster(context.Context, *EnableOutOfBandManagementForClusterRequest) (*EnableOutOfBandManagementForClusterResponse, error)
	// EnableOutOfBandManagementForHost Enables out-of-band management for a host
	EnableOutOfBandManagementForHost(context.Context, *EnableOutOfBandManagementForHostRequest) (*EnableOutOfBandManagementForHostResponse, error)
	// EnableOutOfBandManagementForZone Enables out-of-band management for a zone
	EnableOutOfBandManagementForZone(context.Context, *EnableOutOfBandManagementForZoneRequest) (*EnableOutOfBandManagementForZoneResponse, error)
	// IssueOutOfBandManagementPowerAction Initiates the specified power action to the host's out-of-band management interface
	IssueOutOfBandManagementPowerAction(context.Context, *IssueOutOfBandManagementPowerActionRequest) (*IssueOutOfBandManagementPowerActionResponse, error)
	// contains filtered or unexported methods
}

OutofbandmanagementServiceServer is the server API for OutofbandmanagementService service. All implementations must embed UnimplementedOutofbandmanagementServiceServer for forward compatibility.

OutofbandmanagementService provides operations for managing Outofbandmanagements

type Result

type Result struct {

	// Whether the operation was successful
	Success *bool `protobuf:"varint,1,opt,name=success" json:"success,omitempty"`
	// Any text associated with the success or failure
	DisplayText *string `protobuf:"bytes,2,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
	// The ID of the resource affected by the operation
	Id *string `protobuf:"bytes,3,opt,name=id" json:"id,omitempty"`
	// The job ID for an async operation
	JobId *string `protobuf:"bytes,4,opt,name=job_id,json=jobId" json:"job_id,omitempty"`
	// The status of the job
	JobStatus *string `protobuf:"bytes,5,opt,name=job_status,json=jobStatus" json:"job_status,omitempty"`
	// contains filtered or unexported fields
}

Result represents a generic operation result

func (*Result) Descriptor deprecated

func (*Result) Descriptor() ([]byte, []int)

Deprecated: Use Result.ProtoReflect.Descriptor instead.

func (*Result) GetDisplayText

func (x *Result) GetDisplayText() string

func (*Result) GetId

func (x *Result) GetId() string

func (*Result) GetJobId

func (x *Result) GetJobId() string

func (*Result) GetJobStatus

func (x *Result) GetJobStatus() string

func (*Result) GetSuccess

func (x *Result) GetSuccess() bool

func (*Result) ProtoMessage

func (*Result) ProtoMessage()

func (*Result) ProtoReflect

func (x *Result) ProtoReflect() protoreflect.Message

func (*Result) Reset

func (x *Result) Reset()

func (*Result) String

func (x *Result) String() string

type Success

type Success struct {

	// true if operation is executed successfully
	Success *bool `protobuf:"varint,1,opt,name=success" json:"success,omitempty"`
	// any text associated with the success or failure
	DisplayText *string `protobuf:"bytes,2,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
	// contains filtered or unexported fields
}

Success represents a Success Operation Response

func (*Success) Descriptor deprecated

func (*Success) Descriptor() ([]byte, []int)

Deprecated: Use Success.ProtoReflect.Descriptor instead.

func (*Success) GetDisplayText

func (x *Success) GetDisplayText() string

func (*Success) GetSuccess

func (x *Success) GetSuccess() bool

func (*Success) ProtoMessage

func (*Success) ProtoMessage()

func (*Success) ProtoReflect

func (x *Success) ProtoReflect() protoreflect.Message

func (*Success) Reset

func (x *Success) Reset()

func (*Success) String

func (x *Success) String() string

type UnimplementedOutofbandmanagementServiceServer

type UnimplementedOutofbandmanagementServiceServer struct{}

UnimplementedOutofbandmanagementServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

type UnsafeOutofbandmanagementServiceServer

type UnsafeOutofbandmanagementServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeOutofbandmanagementServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OutofbandmanagementServiceServer will result in compilation errors.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL