vlanv1

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 (
	VlanService_CreateVlanIpRange_FullMethodName     = "/cloudstack.management.vlan.v1.VlanService/CreateVlanIpRange"
	VlanService_DedicatePublicIpRange_FullMethodName = "/cloudstack.management.vlan.v1.VlanService/DedicatePublicIpRange"
	VlanService_DeleteVlanIpRange_FullMethodName     = "/cloudstack.management.vlan.v1.VlanService/DeleteVlanIpRange"
	VlanService_ListVlanIpRanges_FullMethodName      = "/cloudstack.management.vlan.v1.VlanService/ListVlanIpRanges"
	VlanService_ReleasePublicIpRange_FullMethodName  = "/cloudstack.management.vlan.v1.VlanService/ReleasePublicIpRange"
	VlanService_UpdateVlanIpRange_FullMethodName     = "/cloudstack.management.vlan.v1.VlanService/UpdateVlanIpRange"
)

Variables

View Source
var File_cloudstack_management_vlan_v1_vlan_gen_proto protoreflect.FileDescriptor
View Source
var VlanService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cloudstack.management.vlan.v1.VlanService",
	HandlerType: (*VlanServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateVlanIpRange",
			Handler:    _VlanService_CreateVlanIpRange_Handler,
		},
		{
			MethodName: "DedicatePublicIpRange",
			Handler:    _VlanService_DedicatePublicIpRange_Handler,
		},
		{
			MethodName: "DeleteVlanIpRange",
			Handler:    _VlanService_DeleteVlanIpRange_Handler,
		},
		{
			MethodName: "ListVlanIpRanges",
			Handler:    _VlanService_ListVlanIpRanges_Handler,
		},
		{
			MethodName: "ReleasePublicIpRange",
			Handler:    _VlanService_ReleasePublicIpRange_Handler,
		},
		{
			MethodName: "UpdateVlanIpRange",
			Handler:    _VlanService_UpdateVlanIpRange_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cloudstack/management/vlan/v1/vlan.gen.proto",
}

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

Functions

func RegisterVlanServiceServer

func RegisterVlanServiceServer(s grpc.ServiceRegistrar, srv VlanServiceServer)

Types

type CreateVlanIpRangeRequest

type CreateVlanIpRangeRequest struct {

	// account who will own the VLAN. If VLAN is Zone wide, this parameter should be omitted
	AccountName *string `protobuf:"bytes,1,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
	// project who will own the VLAN. If VLAN is Zone wide, this parameter should be omitted
	ProjectId *int64 `protobuf:"varint,2,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
	// domain ID of the account owning a VLAN
	DomainId *int64 `protobuf:"varint,3,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
	// the ending IP address in the VLAN IP range
	EndIp *string `protobuf:"bytes,4,opt,name=end_ip,json=endIp" json:"end_ip,omitempty"`
	// true if VLAN is of Virtual type, false if Direct
	ForVirtualNetwork *bool `protobuf:"varint,5,opt,name=for_virtual_network,json=forVirtualNetwork" json:"for_virtual_network,omitempty"`
	// the gateway of the VLAN IP range
	Gateway *string `protobuf:"bytes,6,opt,name=gateway" json:"gateway,omitempty"`
	// the netmask of the VLAN IP range
	Netmask *string `protobuf:"bytes,7,opt,name=netmask" json:"netmask,omitempty"`
	// optional parameter. Have to be specified for Direct Untagged vlan only.
	PodId *int64 `protobuf:"varint,8,opt,name=pod_id,json=podId" json:"pod_id,omitempty"`
	// the beginning IP address in the VLAN IP range
	StartIp *string `protobuf:"bytes,9,opt,name=start_ip,json=startIp" json:"start_ip,omitempty"`
	// the ID or VID of the VLAN. If not specified, will be defaulted to the vlan of the network or if vlan of the network is null - to Untagged
	Vlan *string `protobuf:"bytes,10,opt,name=vlan" json:"vlan,omitempty"`
	// the Zone ID of the VLAN IP range
	ZoneId *int64 `protobuf:"varint,11,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
	// the network id
	NetworkId *int64 `protobuf:"varint,12,opt,name=network_id,json=networkId" json:"network_id,omitempty"`
	// the physical network id
	PhysicalNetworkId *int64 `protobuf:"varint,13,opt,name=physical_network_id,json=physicalNetworkId" json:"physical_network_id,omitempty"`
	// the beginning IPv6 address in the IPv6 network range
	StartIpv6 *string `protobuf:"bytes,14,opt,name=start_ipv6,json=startIpv6" json:"start_ipv6,omitempty"`
	// the ending IPv6 address in the IPv6 network range
	EndIpv6 *string `protobuf:"bytes,15,opt,name=end_ipv6,json=endIpv6" json:"end_ipv6,omitempty"`
	// the gateway of the IPv6 network. Required for Shared networks and Isolated networks when it belongs to VPC
	Ip6Gateway *string `protobuf:"bytes,16,opt,name=ip6_gateway,json=ip6Gateway" json:"ip6_gateway,omitempty"`
	// the CIDR of IPv6 network, must be at least /64
	Ip6Cidr *string `protobuf:"bytes,17,opt,name=ip6_cidr,json=ip6Cidr" json:"ip6_cidr,omitempty"`
	// true if IP range is set to system vms, false if not
	ForSystemVms *bool `protobuf:"varint,18,opt,name=for_system_vms,json=forSystemVms" json:"for_system_vms,omitempty"`
	// true if the IP range is used for NSX resource
	ForNsx       *bool   `protobuf:"varint,19,opt,name=for_nsx,json=forNsx" json:"for_nsx,omitempty"`
	ResponseType *string `protobuf:"bytes,20,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

CreateVlanIpRangeRequest represents the parameters for creates a vlan ip range.

func (*CreateVlanIpRangeRequest) Descriptor deprecated

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

Deprecated: Use CreateVlanIpRangeRequest.ProtoReflect.Descriptor instead.

func (*CreateVlanIpRangeRequest) GetAccountName

func (x *CreateVlanIpRangeRequest) GetAccountName() string

func (*CreateVlanIpRangeRequest) GetDomainId

func (x *CreateVlanIpRangeRequest) GetDomainId() int64

func (*CreateVlanIpRangeRequest) GetEndIp

func (x *CreateVlanIpRangeRequest) GetEndIp() string

func (*CreateVlanIpRangeRequest) GetEndIpv6

func (x *CreateVlanIpRangeRequest) GetEndIpv6() string

func (*CreateVlanIpRangeRequest) GetForNsx

func (x *CreateVlanIpRangeRequest) GetForNsx() bool

func (*CreateVlanIpRangeRequest) GetForSystemVms

func (x *CreateVlanIpRangeRequest) GetForSystemVms() bool

func (*CreateVlanIpRangeRequest) GetForVirtualNetwork

func (x *CreateVlanIpRangeRequest) GetForVirtualNetwork() bool

func (*CreateVlanIpRangeRequest) GetGateway

func (x *CreateVlanIpRangeRequest) GetGateway() string

func (*CreateVlanIpRangeRequest) GetIp6Cidr

func (x *CreateVlanIpRangeRequest) GetIp6Cidr() string

func (*CreateVlanIpRangeRequest) GetIp6Gateway

func (x *CreateVlanIpRangeRequest) GetIp6Gateway() string

func (*CreateVlanIpRangeRequest) GetNetmask

func (x *CreateVlanIpRangeRequest) GetNetmask() string

func (*CreateVlanIpRangeRequest) GetNetworkId

func (x *CreateVlanIpRangeRequest) GetNetworkId() int64

func (*CreateVlanIpRangeRequest) GetPhysicalNetworkId

func (x *CreateVlanIpRangeRequest) GetPhysicalNetworkId() int64

func (*CreateVlanIpRangeRequest) GetPodId

func (x *CreateVlanIpRangeRequest) GetPodId() int64

func (*CreateVlanIpRangeRequest) GetProjectId

func (x *CreateVlanIpRangeRequest) GetProjectId() int64

func (*CreateVlanIpRangeRequest) GetResponseType

func (x *CreateVlanIpRangeRequest) GetResponseType() string

func (*CreateVlanIpRangeRequest) GetStartIp

func (x *CreateVlanIpRangeRequest) GetStartIp() string

func (*CreateVlanIpRangeRequest) GetStartIpv6

func (x *CreateVlanIpRangeRequest) GetStartIpv6() string

func (*CreateVlanIpRangeRequest) GetVlan

func (x *CreateVlanIpRangeRequest) GetVlan() string

func (*CreateVlanIpRangeRequest) GetZoneId

func (x *CreateVlanIpRangeRequest) GetZoneId() int64

func (*CreateVlanIpRangeRequest) ProtoMessage

func (*CreateVlanIpRangeRequest) ProtoMessage()

func (*CreateVlanIpRangeRequest) ProtoReflect

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

func (*CreateVlanIpRangeRequest) Reset

func (x *CreateVlanIpRangeRequest) Reset()

func (*CreateVlanIpRangeRequest) String

func (x *CreateVlanIpRangeRequest) String() string

type CreateVlanIpRangeResponse

type CreateVlanIpRangeResponse struct {

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

CreateVlanIpRangeResponse represents the response from creates a vlan ip range.

func (*CreateVlanIpRangeResponse) Descriptor deprecated

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

Deprecated: Use CreateVlanIpRangeResponse.ProtoReflect.Descriptor instead.

func (*CreateVlanIpRangeResponse) GetResult

func (x *CreateVlanIpRangeResponse) GetResult() *Result

func (*CreateVlanIpRangeResponse) ProtoMessage

func (*CreateVlanIpRangeResponse) ProtoMessage()

func (*CreateVlanIpRangeResponse) ProtoReflect

func (*CreateVlanIpRangeResponse) Reset

func (x *CreateVlanIpRangeResponse) Reset()

func (*CreateVlanIpRangeResponse) String

func (x *CreateVlanIpRangeResponse) String() string

type DedicatePublicIpRangeRequest

type DedicatePublicIpRangeRequest struct {

	// the id of the VLAN IP range
	Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// account who will own the VLAN
	AccountName *string `protobuf:"bytes,2,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
	// project who will own the VLAN
	ProjectId *int64 `protobuf:"varint,3,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
	// domain ID of the account owning a VLAN
	DomainId     *int64  `protobuf:"varint,4,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
	ResponseType *string `protobuf:"bytes,5,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

DedicatePublicIpRangeRequest represents the parameters for dedicates a public ip range to an account

func (*DedicatePublicIpRangeRequest) Descriptor deprecated

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

Deprecated: Use DedicatePublicIpRangeRequest.ProtoReflect.Descriptor instead.

func (*DedicatePublicIpRangeRequest) GetAccountName

func (x *DedicatePublicIpRangeRequest) GetAccountName() string

func (*DedicatePublicIpRangeRequest) GetDomainId

func (x *DedicatePublicIpRangeRequest) GetDomainId() int64

func (*DedicatePublicIpRangeRequest) GetId

func (*DedicatePublicIpRangeRequest) GetProjectId

func (x *DedicatePublicIpRangeRequest) GetProjectId() int64

func (*DedicatePublicIpRangeRequest) GetResponseType

func (x *DedicatePublicIpRangeRequest) GetResponseType() string

func (*DedicatePublicIpRangeRequest) ProtoMessage

func (*DedicatePublicIpRangeRequest) ProtoMessage()

func (*DedicatePublicIpRangeRequest) ProtoReflect

func (*DedicatePublicIpRangeRequest) Reset

func (x *DedicatePublicIpRangeRequest) Reset()

func (*DedicatePublicIpRangeRequest) String

type DedicatePublicIpRangeResponse

type DedicatePublicIpRangeResponse struct {

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

DedicatePublicIpRangeResponse represents the response from dedicates a public ip range to an account

func (*DedicatePublicIpRangeResponse) Descriptor deprecated

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

Deprecated: Use DedicatePublicIpRangeResponse.ProtoReflect.Descriptor instead.

func (*DedicatePublicIpRangeResponse) GetResult

func (x *DedicatePublicIpRangeResponse) GetResult() *Result

func (*DedicatePublicIpRangeResponse) ProtoMessage

func (*DedicatePublicIpRangeResponse) ProtoMessage()

func (*DedicatePublicIpRangeResponse) ProtoReflect

func (*DedicatePublicIpRangeResponse) Reset

func (x *DedicatePublicIpRangeResponse) Reset()

func (*DedicatePublicIpRangeResponse) String

type DeleteVlanIpRangeRequest

type DeleteVlanIpRangeRequest struct {

	// the id of the VLAN IP range
	Id           *int64  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	ResponseType *string `protobuf:"bytes,2,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

DeleteVlanIpRangeRequest represents the parameters for deletes a vlan ip range.

func (*DeleteVlanIpRangeRequest) Descriptor deprecated

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

Deprecated: Use DeleteVlanIpRangeRequest.ProtoReflect.Descriptor instead.

func (*DeleteVlanIpRangeRequest) GetId

func (x *DeleteVlanIpRangeRequest) GetId() int64

func (*DeleteVlanIpRangeRequest) GetResponseType

func (x *DeleteVlanIpRangeRequest) GetResponseType() string

func (*DeleteVlanIpRangeRequest) ProtoMessage

func (*DeleteVlanIpRangeRequest) ProtoMessage()

func (*DeleteVlanIpRangeRequest) ProtoReflect

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

func (*DeleteVlanIpRangeRequest) Reset

func (x *DeleteVlanIpRangeRequest) Reset()

func (*DeleteVlanIpRangeRequest) String

func (x *DeleteVlanIpRangeRequest) String() string

type DeleteVlanIpRangeResponse

type DeleteVlanIpRangeResponse struct {

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

DeleteVlanIpRangeResponse represents the response from deletes a vlan ip range.

func (*DeleteVlanIpRangeResponse) Descriptor deprecated

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

Deprecated: Use DeleteVlanIpRangeResponse.ProtoReflect.Descriptor instead.

func (*DeleteVlanIpRangeResponse) GetResult

func (x *DeleteVlanIpRangeResponse) GetResult() *Result

func (*DeleteVlanIpRangeResponse) ProtoMessage

func (*DeleteVlanIpRangeResponse) ProtoMessage()

func (*DeleteVlanIpRangeResponse) ProtoReflect

func (*DeleteVlanIpRangeResponse) Reset

func (x *DeleteVlanIpRangeResponse) Reset()

func (*DeleteVlanIpRangeResponse) String

func (x *DeleteVlanIpRangeResponse) String() string

type ListVlanIpRangesRequest

type ListVlanIpRangesRequest struct {

	// the account with which the VLAN IP range is associated. Must be used with the domainId parameter.
	AccountName *string `protobuf:"bytes,1,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
	// project who will own the VLAN
	ProjectId *int64 `protobuf:"varint,2,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
	// the domain ID with which the VLAN IP range is associated.  If used with the account parameter, returns all VLAN IP ranges for that account in the specified domain.
	DomainId *int64 `protobuf:"varint,3,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
	// the ID of the VLAN IP range
	Id *int64 `protobuf:"varint,4,opt,name=id" json:"id,omitempty"`
	// the Pod ID of the VLAN IP range
	PodId *int64 `protobuf:"varint,5,opt,name=pod_id,json=podId" json:"pod_id,omitempty"`
	// the ID or VID of the VLAN. Default is an "untagged" VLAN.
	Vlan *string `protobuf:"bytes,6,opt,name=vlan" json:"vlan,omitempty"`
	// the Zone ID of the VLAN IP range
	ZoneId *int64 `protobuf:"varint,7,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
	// network id of the VLAN IP range
	NetworkId *int64 `protobuf:"varint,8,opt,name=network_id,json=networkId" json:"network_id,omitempty"`
	// true if VLAN is of Virtual type, false if Direct
	ForVirtualNetwork *bool `protobuf:"varint,9,opt,name=for_virtual_network,json=forVirtualNetwork" json:"for_virtual_network,omitempty"`
	// physical network id of the VLAN IP range
	PhysicalNetworkId *int64 `protobuf:"varint,10,opt,name=physical_network_id,json=physicalNetworkId" json:"physical_network_id,omitempty"`
	// List by keyword
	Keyword      *string `protobuf:"bytes,11,opt,name=keyword" json:"keyword,omitempty"`
	Page         *int32  `protobuf:"varint,12,opt,name=page" json:"page,omitempty"`
	PageSize     *int32  `protobuf:"varint,13,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
	ResponseType *string `protobuf:"bytes,14,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

ListVlanIpRangesRequest represents the parameters for lists all vlan ip ranges.

func (*ListVlanIpRangesRequest) Descriptor deprecated

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

Deprecated: Use ListVlanIpRangesRequest.ProtoReflect.Descriptor instead.

func (*ListVlanIpRangesRequest) GetAccountName

func (x *ListVlanIpRangesRequest) GetAccountName() string

func (*ListVlanIpRangesRequest) GetDomainId

func (x *ListVlanIpRangesRequest) GetDomainId() int64

func (*ListVlanIpRangesRequest) GetForVirtualNetwork

func (x *ListVlanIpRangesRequest) GetForVirtualNetwork() bool

func (*ListVlanIpRangesRequest) GetId

func (x *ListVlanIpRangesRequest) GetId() int64

func (*ListVlanIpRangesRequest) GetKeyword

func (x *ListVlanIpRangesRequest) GetKeyword() string

func (*ListVlanIpRangesRequest) GetNetworkId

func (x *ListVlanIpRangesRequest) GetNetworkId() int64

func (*ListVlanIpRangesRequest) GetPage

func (x *ListVlanIpRangesRequest) GetPage() int32

func (*ListVlanIpRangesRequest) GetPageSize

func (x *ListVlanIpRangesRequest) GetPageSize() int32

func (*ListVlanIpRangesRequest) GetPhysicalNetworkId

func (x *ListVlanIpRangesRequest) GetPhysicalNetworkId() int64

func (*ListVlanIpRangesRequest) GetPodId

func (x *ListVlanIpRangesRequest) GetPodId() int64

func (*ListVlanIpRangesRequest) GetProjectId

func (x *ListVlanIpRangesRequest) GetProjectId() int64

func (*ListVlanIpRangesRequest) GetResponseType

func (x *ListVlanIpRangesRequest) GetResponseType() string

func (*ListVlanIpRangesRequest) GetVlan

func (x *ListVlanIpRangesRequest) GetVlan() string

func (*ListVlanIpRangesRequest) GetZoneId

func (x *ListVlanIpRangesRequest) GetZoneId() int64

func (*ListVlanIpRangesRequest) ProtoMessage

func (*ListVlanIpRangesRequest) ProtoMessage()

func (*ListVlanIpRangesRequest) ProtoReflect

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

func (*ListVlanIpRangesRequest) Reset

func (x *ListVlanIpRangesRequest) Reset()

func (*ListVlanIpRangesRequest) String

func (x *ListVlanIpRangesRequest) String() string

type ListVlanIpRangesResponse

type ListVlanIpRangesResponse struct {

	// The list of VlanIpRanges
	Items []*VlanIpRange `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
	// The total count of VlanIpRanges
	TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
	// contains filtered or unexported fields
}

ListVlanIpRangesResponse represents the response from lists all vlan ip ranges.

func (*ListVlanIpRangesResponse) Descriptor deprecated

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

Deprecated: Use ListVlanIpRangesResponse.ProtoReflect.Descriptor instead.

func (*ListVlanIpRangesResponse) GetItems

func (x *ListVlanIpRangesResponse) GetItems() []*VlanIpRange

func (*ListVlanIpRangesResponse) GetTotalCount

func (x *ListVlanIpRangesResponse) GetTotalCount() int32

func (*ListVlanIpRangesResponse) ProtoMessage

func (*ListVlanIpRangesResponse) ProtoMessage()

func (*ListVlanIpRangesResponse) ProtoReflect

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

func (*ListVlanIpRangesResponse) Reset

func (x *ListVlanIpRangesResponse) Reset()

func (*ListVlanIpRangesResponse) String

func (x *ListVlanIpRangesResponse) String() string

type ReleasePublicIpRangeRequest

type ReleasePublicIpRangeRequest struct {

	// the id of the Public IP range
	Id           *int64  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	ResponseType *string `protobuf:"bytes,2,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

ReleasePublicIpRangeRequest represents the parameters for releases a public ip range back to the system pool

func (*ReleasePublicIpRangeRequest) Descriptor deprecated

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

Deprecated: Use ReleasePublicIpRangeRequest.ProtoReflect.Descriptor instead.

func (*ReleasePublicIpRangeRequest) GetId

func (*ReleasePublicIpRangeRequest) GetResponseType

func (x *ReleasePublicIpRangeRequest) GetResponseType() string

func (*ReleasePublicIpRangeRequest) ProtoMessage

func (*ReleasePublicIpRangeRequest) ProtoMessage()

func (*ReleasePublicIpRangeRequest) ProtoReflect

func (*ReleasePublicIpRangeRequest) Reset

func (x *ReleasePublicIpRangeRequest) Reset()

func (*ReleasePublicIpRangeRequest) String

func (x *ReleasePublicIpRangeRequest) String() string

type ReleasePublicIpRangeResponse

type ReleasePublicIpRangeResponse struct {

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

ReleasePublicIpRangeResponse represents the response from releases a public ip range back to the system pool

func (*ReleasePublicIpRangeResponse) Descriptor deprecated

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

Deprecated: Use ReleasePublicIpRangeResponse.ProtoReflect.Descriptor instead.

func (*ReleasePublicIpRangeResponse) GetResult

func (x *ReleasePublicIpRangeResponse) GetResult() *Result

func (*ReleasePublicIpRangeResponse) ProtoMessage

func (*ReleasePublicIpRangeResponse) ProtoMessage()

func (*ReleasePublicIpRangeResponse) ProtoReflect

func (*ReleasePublicIpRangeResponse) Reset

func (x *ReleasePublicIpRangeResponse) Reset()

func (*ReleasePublicIpRangeResponse) String

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 UnimplementedVlanServiceServer

type UnimplementedVlanServiceServer struct{}

UnimplementedVlanServiceServer 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.

func (UnimplementedVlanServiceServer) CreateVlanIpRange

func (UnimplementedVlanServiceServer) DeleteVlanIpRange

func (UnimplementedVlanServiceServer) ListVlanIpRanges

func (UnimplementedVlanServiceServer) UpdateVlanIpRange

type UnsafeVlanServiceServer

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

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

type UpdateVlanIpRangeRequest

type UpdateVlanIpRangeRequest struct {

	// the UUID of the VLAN IP range
	Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// the gateway of the VLAN IP range
	Gateway *string `protobuf:"bytes,2,opt,name=gateway" json:"gateway,omitempty"`
	// the netmask of the VLAN IP range
	Netmask *string `protobuf:"bytes,3,opt,name=netmask" json:"netmask,omitempty"`
	// the beginning IP address in the VLAN IP range
	StartIp *string `protobuf:"bytes,4,opt,name=start_ip,json=startIp" json:"start_ip,omitempty"`
	// the ending IP address in the VLAN IP range
	EndIp *string `protobuf:"bytes,5,opt,name=end_ip,json=endIp" json:"end_ip,omitempty"`
	// the beginning IPv6 address in the IPv6 network range
	StartIpv6 *string `protobuf:"bytes,6,opt,name=start_ipv6,json=startIpv6" json:"start_ipv6,omitempty"`
	// the ending IPv6 address in the IPv6 network range
	EndIpv6 *string `protobuf:"bytes,7,opt,name=end_ipv6,json=endIpv6" json:"end_ipv6,omitempty"`
	// the gateway of the IPv6 network
	Ip6Gateway *string `protobuf:"bytes,8,opt,name=ip6_gateway,json=ip6Gateway" json:"ip6_gateway,omitempty"`
	// the CIDR of IPv6 network, must be at least /64
	Ip6Cidr *string `protobuf:"bytes,9,opt,name=ip6_cidr,json=ip6Cidr" json:"ip6_cidr,omitempty"`
	// true if IP range is set to system vms, false if not
	ForSystemVms *bool   `protobuf:"varint,10,opt,name=for_system_vms,json=forSystemVms" json:"for_system_vms,omitempty"`
	ResponseType *string `protobuf:"bytes,11,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

UpdateVlanIpRangeRequest represents the parameters for updates a vlan ip range.

func (*UpdateVlanIpRangeRequest) Descriptor deprecated

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

Deprecated: Use UpdateVlanIpRangeRequest.ProtoReflect.Descriptor instead.

func (*UpdateVlanIpRangeRequest) GetEndIp

func (x *UpdateVlanIpRangeRequest) GetEndIp() string

func (*UpdateVlanIpRangeRequest) GetEndIpv6

func (x *UpdateVlanIpRangeRequest) GetEndIpv6() string

func (*UpdateVlanIpRangeRequest) GetForSystemVms

func (x *UpdateVlanIpRangeRequest) GetForSystemVms() bool

func (*UpdateVlanIpRangeRequest) GetGateway

func (x *UpdateVlanIpRangeRequest) GetGateway() string

func (*UpdateVlanIpRangeRequest) GetId

func (x *UpdateVlanIpRangeRequest) GetId() int64

func (*UpdateVlanIpRangeRequest) GetIp6Cidr

func (x *UpdateVlanIpRangeRequest) GetIp6Cidr() string

func (*UpdateVlanIpRangeRequest) GetIp6Gateway

func (x *UpdateVlanIpRangeRequest) GetIp6Gateway() string

func (*UpdateVlanIpRangeRequest) GetNetmask

func (x *UpdateVlanIpRangeRequest) GetNetmask() string

func (*UpdateVlanIpRangeRequest) GetResponseType

func (x *UpdateVlanIpRangeRequest) GetResponseType() string

func (*UpdateVlanIpRangeRequest) GetStartIp

func (x *UpdateVlanIpRangeRequest) GetStartIp() string

func (*UpdateVlanIpRangeRequest) GetStartIpv6

func (x *UpdateVlanIpRangeRequest) GetStartIpv6() string

func (*UpdateVlanIpRangeRequest) ProtoMessage

func (*UpdateVlanIpRangeRequest) ProtoMessage()

func (*UpdateVlanIpRangeRequest) ProtoReflect

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

func (*UpdateVlanIpRangeRequest) Reset

func (x *UpdateVlanIpRangeRequest) Reset()

func (*UpdateVlanIpRangeRequest) String

func (x *UpdateVlanIpRangeRequest) String() string

type UpdateVlanIpRangeResponse

type UpdateVlanIpRangeResponse struct {

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

UpdateVlanIpRangeResponse represents the response from updates a vlan ip range.

func (*UpdateVlanIpRangeResponse) Descriptor deprecated

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

Deprecated: Use UpdateVlanIpRangeResponse.ProtoReflect.Descriptor instead.

func (*UpdateVlanIpRangeResponse) GetResult

func (x *UpdateVlanIpRangeResponse) GetResult() *Result

func (*UpdateVlanIpRangeResponse) ProtoMessage

func (*UpdateVlanIpRangeResponse) ProtoMessage()

func (*UpdateVlanIpRangeResponse) ProtoReflect

func (*UpdateVlanIpRangeResponse) Reset

func (x *UpdateVlanIpRangeResponse) Reset()

func (*UpdateVlanIpRangeResponse) String

func (x *UpdateVlanIpRangeResponse) String() string

type VlanIpRange

type VlanIpRange struct {

	// The ID of the VlanIpRange
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// The name of the VlanIpRange
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// The display name of the VlanIpRange
	DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
	// The description of the VlanIpRange
	Description *string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"`
	// The date this entity was created
	Created *string `protobuf:"bytes,5,opt,name=created" json:"created,omitempty"`
	// contains filtered or unexported fields
}

VlanIpRange represents a VlanIpRange Item

func (*VlanIpRange) Descriptor deprecated

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

Deprecated: Use VlanIpRange.ProtoReflect.Descriptor instead.

func (*VlanIpRange) GetCreated

func (x *VlanIpRange) GetCreated() string

func (*VlanIpRange) GetDescription

func (x *VlanIpRange) GetDescription() string

func (*VlanIpRange) GetDisplayName

func (x *VlanIpRange) GetDisplayName() string

func (*VlanIpRange) GetId

func (x *VlanIpRange) GetId() string

func (*VlanIpRange) GetName

func (x *VlanIpRange) GetName() string

func (*VlanIpRange) ProtoMessage

func (*VlanIpRange) ProtoMessage()

func (*VlanIpRange) ProtoReflect

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

func (*VlanIpRange) Reset

func (x *VlanIpRange) Reset()

func (*VlanIpRange) String

func (x *VlanIpRange) String() string

type VlanServiceClient

type VlanServiceClient interface {
	// CreateVlanIpRange Creates a VLAN IP range.
	CreateVlanIpRange(ctx context.Context, in *CreateVlanIpRangeRequest, opts ...grpc.CallOption) (*CreateVlanIpRangeResponse, error)
	// DedicatePublicIpRange Dedicates a Public IP range to an account
	DedicatePublicIpRange(ctx context.Context, in *DedicatePublicIpRangeRequest, opts ...grpc.CallOption) (*DedicatePublicIpRangeResponse, error)
	// DeleteVlanIpRange Deletes a VLAN IP range.
	DeleteVlanIpRange(ctx context.Context, in *DeleteVlanIpRangeRequest, opts ...grpc.CallOption) (*DeleteVlanIpRangeResponse, error)
	// ListVlanIpRanges Lists all VLAN IP ranges.
	ListVlanIpRanges(ctx context.Context, in *ListVlanIpRangesRequest, opts ...grpc.CallOption) (*ListVlanIpRangesResponse, error)
	// ReleasePublicIpRange Releases a Public IP range back to the system pool
	ReleasePublicIpRange(ctx context.Context, in *ReleasePublicIpRangeRequest, opts ...grpc.CallOption) (*ReleasePublicIpRangeResponse, error)
	// UpdateVlanIpRange Updates a VLAN IP range.
	UpdateVlanIpRange(ctx context.Context, in *UpdateVlanIpRangeRequest, opts ...grpc.CallOption) (*UpdateVlanIpRangeResponse, error)
}

VlanServiceClient is the client API for VlanService 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.

VlanService provides operations for managing Vlans

type VlanServiceServer

type VlanServiceServer interface {
	// CreateVlanIpRange Creates a VLAN IP range.
	CreateVlanIpRange(context.Context, *CreateVlanIpRangeRequest) (*CreateVlanIpRangeResponse, error)
	// DedicatePublicIpRange Dedicates a Public IP range to an account
	DedicatePublicIpRange(context.Context, *DedicatePublicIpRangeRequest) (*DedicatePublicIpRangeResponse, error)
	// DeleteVlanIpRange Deletes a VLAN IP range.
	DeleteVlanIpRange(context.Context, *DeleteVlanIpRangeRequest) (*DeleteVlanIpRangeResponse, error)
	// ListVlanIpRanges Lists all VLAN IP ranges.
	ListVlanIpRanges(context.Context, *ListVlanIpRangesRequest) (*ListVlanIpRangesResponse, error)
	// ReleasePublicIpRange Releases a Public IP range back to the system pool
	ReleasePublicIpRange(context.Context, *ReleasePublicIpRangeRequest) (*ReleasePublicIpRangeResponse, error)
	// UpdateVlanIpRange Updates a VLAN IP range.
	UpdateVlanIpRange(context.Context, *UpdateVlanIpRangeRequest) (*UpdateVlanIpRangeResponse, error)
	// contains filtered or unexported methods
}

VlanServiceServer is the server API for VlanService service. All implementations must embed UnimplementedVlanServiceServer for forward compatibility.

VlanService provides operations for managing Vlans

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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