ipv6v1

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 (
	Ipv6Service_CreateIpv6FirewallRule_FullMethodName = "/cloudstack.management.ipv6.v1.Ipv6Service/CreateIpv6FirewallRule"
	Ipv6Service_DeleteIpv6FirewallRule_FullMethodName = "/cloudstack.management.ipv6.v1.Ipv6Service/DeleteIpv6FirewallRule"
	Ipv6Service_ListIpv6FirewallRules_FullMethodName  = "/cloudstack.management.ipv6.v1.Ipv6Service/ListIpv6FirewallRules"
	Ipv6Service_UpdateIpv6FirewallRule_FullMethodName = "/cloudstack.management.ipv6.v1.Ipv6Service/UpdateIpv6FirewallRule"
)

Variables

View Source
var (
	ProtocolType_name = map[int32]string{
		0: "PROTOCOL_TYPE_UNSPECIFIED",
		1: "PROTOCOL_TYPE_ALL",
		2: "PROTOCOL_TYPE_ICMP",
		3: "PROTOCOL_TYPE_TCP",
		4: "PROTOCOL_TYPE_UDP",
	}
	ProtocolType_value = map[string]int32{
		"PROTOCOL_TYPE_UNSPECIFIED": 0,
		"PROTOCOL_TYPE_ALL":         1,
		"PROTOCOL_TYPE_ICMP":        2,
		"PROTOCOL_TYPE_TCP":         3,
		"PROTOCOL_TYPE_UDP":         4,
	}
)

Enum value maps for ProtocolType.

View Source
var File_cloudstack_management_ipv6_v1_ipv6_gen_proto protoreflect.FileDescriptor
View Source
var Ipv6Service_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cloudstack.management.ipv6.v1.Ipv6Service",
	HandlerType: (*Ipv6ServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateIpv6FirewallRule",
			Handler:    _Ipv6Service_CreateIpv6FirewallRule_Handler,
		},
		{
			MethodName: "DeleteIpv6FirewallRule",
			Handler:    _Ipv6Service_DeleteIpv6FirewallRule_Handler,
		},
		{
			MethodName: "ListIpv6FirewallRules",
			Handler:    _Ipv6Service_ListIpv6FirewallRules_Handler,
		},
		{
			MethodName: "UpdateIpv6FirewallRule",
			Handler:    _Ipv6Service_UpdateIpv6FirewallRule_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cloudstack/management/ipv6/v1/ipv6.gen.proto",
}

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

Functions

func RegisterIpv6ServiceServer

func RegisterIpv6ServiceServer(s grpc.ServiceRegistrar, srv Ipv6ServiceServer)

Types

type CreateIpv6FirewallRuleRequest

type CreateIpv6FirewallRuleRequest struct {

	// the protocol for the Ipv6 firewall rule. Valid values are TCP/UDP/ICMP/ALL or valid protocol number
	Protocol *string `protobuf:"bytes,1,opt,name=protocol" json:"protocol,omitempty"`
	// the starting port of Ipv6 firewall rule
	PublicStartPort *int32 `protobuf:"varint,2,opt,name=public_start_port,json=publicStartPort" json:"public_start_port,omitempty"`
	// the ending port of Ipv6 firewall rule
	PublicEndPort *int32 `protobuf:"varint,3,opt,name=public_end_port,json=publicEndPort" json:"public_end_port,omitempty"`
	// the source CIDR list to allow traffic from. Multiple entries must be separated by a single comma character (,).
	SourceCidrList []string `protobuf:"bytes,4,rep,name=source_cidr_list,json=sourceCidrList" json:"source_cidr_list,omitempty"`
	// the destination CIDR list to allow traffic to. Multiple entries must be separated by a single comma character (,).
	DestinationCidrlist []string `protobuf:"bytes,5,rep,name=destination_cidrlist,json=destinationCidrlist" json:"destination_cidrlist,omitempty"`
	// type of the ICMP message being sent
	IcmpType *int32 `protobuf:"varint,6,opt,name=icmp_type,json=icmpType" json:"icmp_type,omitempty"`
	// error code for this ICMP message
	IcmpCode *int32 `protobuf:"varint,7,opt,name=icmp_code,json=icmpCode" json:"icmp_code,omitempty"`
	// The network of the VM the Ipv6 firewall rule will be created for
	NetworkId *int64 `protobuf:"varint,8,opt,name=network_id,json=networkId" json:"network_id,omitempty"`
	// the traffic type for the Ipv6 firewall rule, can be ingress or egress, defaulted to ingress if not specified
	TrafficType *string `protobuf:"bytes,9,opt,name=traffic_type,json=trafficType" json:"traffic_type,omitempty"`
	// an optional field, whether to the display the rule to the end user or not
	Display       *bool   `protobuf:"varint,10,opt,name=display" json:"display,omitempty"`
	StartEventId  *int64  `protobuf:"varint,11,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,12,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,13,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

CreateIpv6FirewallRuleRequest represents the parameters for creates an ipv6 firewall rule in the given network (the network must not belong to vpc)

func (*CreateIpv6FirewallRuleRequest) Descriptor deprecated

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

Deprecated: Use CreateIpv6FirewallRuleRequest.ProtoReflect.Descriptor instead.

func (*CreateIpv6FirewallRuleRequest) GetDestinationCidrlist

func (x *CreateIpv6FirewallRuleRequest) GetDestinationCidrlist() []string

func (*CreateIpv6FirewallRuleRequest) GetDisplay

func (x *CreateIpv6FirewallRuleRequest) GetDisplay() bool

func (*CreateIpv6FirewallRuleRequest) GetIcmpCode

func (x *CreateIpv6FirewallRuleRequest) GetIcmpCode() int32

func (*CreateIpv6FirewallRuleRequest) GetIcmpType

func (x *CreateIpv6FirewallRuleRequest) GetIcmpType() int32

func (*CreateIpv6FirewallRuleRequest) GetInjectedJobId

func (x *CreateIpv6FirewallRuleRequest) GetInjectedJobId() string

func (*CreateIpv6FirewallRuleRequest) GetNetworkId

func (x *CreateIpv6FirewallRuleRequest) GetNetworkId() int64

func (*CreateIpv6FirewallRuleRequest) GetProtocol

func (x *CreateIpv6FirewallRuleRequest) GetProtocol() string

func (*CreateIpv6FirewallRuleRequest) GetPublicEndPort

func (x *CreateIpv6FirewallRuleRequest) GetPublicEndPort() int32

func (*CreateIpv6FirewallRuleRequest) GetPublicStartPort

func (x *CreateIpv6FirewallRuleRequest) GetPublicStartPort() int32

func (*CreateIpv6FirewallRuleRequest) GetResponseType

func (x *CreateIpv6FirewallRuleRequest) GetResponseType() string

func (*CreateIpv6FirewallRuleRequest) GetSourceCidrList

func (x *CreateIpv6FirewallRuleRequest) GetSourceCidrList() []string

func (*CreateIpv6FirewallRuleRequest) GetStartEventId

func (x *CreateIpv6FirewallRuleRequest) GetStartEventId() int64

func (*CreateIpv6FirewallRuleRequest) GetTrafficType

func (x *CreateIpv6FirewallRuleRequest) GetTrafficType() string

func (*CreateIpv6FirewallRuleRequest) ProtoMessage

func (*CreateIpv6FirewallRuleRequest) ProtoMessage()

func (*CreateIpv6FirewallRuleRequest) ProtoReflect

func (*CreateIpv6FirewallRuleRequest) Reset

func (x *CreateIpv6FirewallRuleRequest) Reset()

func (*CreateIpv6FirewallRuleRequest) String

type CreateIpv6FirewallRuleResponse

type CreateIpv6FirewallRuleResponse struct {

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

CreateIpv6FirewallRuleResponse represents the response from creates an ipv6 firewall rule in the given network (the network must not belong to vpc)

func (*CreateIpv6FirewallRuleResponse) Descriptor deprecated

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

Deprecated: Use CreateIpv6FirewallRuleResponse.ProtoReflect.Descriptor instead.

func (*CreateIpv6FirewallRuleResponse) GetResult

func (x *CreateIpv6FirewallRuleResponse) GetResult() *Result

func (*CreateIpv6FirewallRuleResponse) ProtoMessage

func (*CreateIpv6FirewallRuleResponse) ProtoMessage()

func (*CreateIpv6FirewallRuleResponse) ProtoReflect

func (*CreateIpv6FirewallRuleResponse) Reset

func (x *CreateIpv6FirewallRuleResponse) Reset()

func (*CreateIpv6FirewallRuleResponse) String

type DeleteIpv6FirewallRuleRequest

type DeleteIpv6FirewallRuleRequest struct {

	// the ID of the IPv6 firewall rule
	Id            *int64  `protobuf:"varint,1,opt,name=id" json:"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
}

DeleteIpv6FirewallRuleRequest represents the parameters for deletes a ipv6 firewall rule

func (*DeleteIpv6FirewallRuleRequest) Descriptor deprecated

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

Deprecated: Use DeleteIpv6FirewallRuleRequest.ProtoReflect.Descriptor instead.

func (*DeleteIpv6FirewallRuleRequest) GetId

func (*DeleteIpv6FirewallRuleRequest) GetInjectedJobId

func (x *DeleteIpv6FirewallRuleRequest) GetInjectedJobId() string

func (*DeleteIpv6FirewallRuleRequest) GetResponseType

func (x *DeleteIpv6FirewallRuleRequest) GetResponseType() string

func (*DeleteIpv6FirewallRuleRequest) GetStartEventId

func (x *DeleteIpv6FirewallRuleRequest) GetStartEventId() int64

func (*DeleteIpv6FirewallRuleRequest) ProtoMessage

func (*DeleteIpv6FirewallRuleRequest) ProtoMessage()

func (*DeleteIpv6FirewallRuleRequest) ProtoReflect

func (*DeleteIpv6FirewallRuleRequest) Reset

func (x *DeleteIpv6FirewallRuleRequest) Reset()

func (*DeleteIpv6FirewallRuleRequest) String

type DeleteIpv6FirewallRuleResponse

type DeleteIpv6FirewallRuleResponse struct {

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

DeleteIpv6FirewallRuleResponse represents the response from deletes a ipv6 firewall rule

func (*DeleteIpv6FirewallRuleResponse) Descriptor deprecated

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

Deprecated: Use DeleteIpv6FirewallRuleResponse.ProtoReflect.Descriptor instead.

func (*DeleteIpv6FirewallRuleResponse) GetResult

func (x *DeleteIpv6FirewallRuleResponse) GetResult() *Result

func (*DeleteIpv6FirewallRuleResponse) ProtoMessage

func (*DeleteIpv6FirewallRuleResponse) ProtoMessage()

func (*DeleteIpv6FirewallRuleResponse) ProtoReflect

func (*DeleteIpv6FirewallRuleResponse) Reset

func (x *DeleteIpv6FirewallRuleResponse) Reset()

func (*DeleteIpv6FirewallRuleResponse) String

type FirewallRule

type FirewallRule struct {

	// The ID of the FirewallRule
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// The name of the FirewallRule
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// The display name of the FirewallRule
	DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
	// The description of the FirewallRule
	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
}

FirewallRule represents a FirewallRule Item

func (*FirewallRule) Descriptor deprecated

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

Deprecated: Use FirewallRule.ProtoReflect.Descriptor instead.

func (*FirewallRule) GetCreated

func (x *FirewallRule) GetCreated() string

func (*FirewallRule) GetDescription

func (x *FirewallRule) GetDescription() string

func (*FirewallRule) GetDisplayName

func (x *FirewallRule) GetDisplayName() string

func (*FirewallRule) GetId

func (x *FirewallRule) GetId() string

func (*FirewallRule) GetName

func (x *FirewallRule) GetName() string

func (*FirewallRule) ProtoMessage

func (*FirewallRule) ProtoMessage()

func (*FirewallRule) ProtoReflect

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

func (*FirewallRule) Reset

func (x *FirewallRule) Reset()

func (*FirewallRule) String

func (x *FirewallRule) String() string

type Ipv6ServiceClient

type Ipv6ServiceClient interface {
	// CreateIpv6FirewallRule Creates an Ipv6 firewall rule in the given network (the network must not belong to VPC)
	CreateIpv6FirewallRule(ctx context.Context, in *CreateIpv6FirewallRuleRequest, opts ...grpc.CallOption) (*CreateIpv6FirewallRuleResponse, error)
	// DeleteIpv6FirewallRule Deletes a IPv6 firewall rule
	DeleteIpv6FirewallRule(ctx context.Context, in *DeleteIpv6FirewallRuleRequest, opts ...grpc.CallOption) (*DeleteIpv6FirewallRuleResponse, error)
	// ListIpv6FirewallRules Lists all IPv6 firewall rules
	ListIpv6FirewallRules(ctx context.Context, in *ListIpv6FirewallRulesRequest, opts ...grpc.CallOption) (*ListIpv6FirewallRulesResponse, error)
	// UpdateIpv6FirewallRule Updates Ipv6 firewall rule with specified ID
	UpdateIpv6FirewallRule(ctx context.Context, in *UpdateIpv6FirewallRuleRequest, opts ...grpc.CallOption) (*UpdateIpv6FirewallRuleResponse, error)
}

Ipv6ServiceClient is the client API for Ipv6Service 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.

Ipv6Service provides operations for managing Ipv6s

type Ipv6ServiceServer

type Ipv6ServiceServer interface {
	// CreateIpv6FirewallRule Creates an Ipv6 firewall rule in the given network (the network must not belong to VPC)
	CreateIpv6FirewallRule(context.Context, *CreateIpv6FirewallRuleRequest) (*CreateIpv6FirewallRuleResponse, error)
	// DeleteIpv6FirewallRule Deletes a IPv6 firewall rule
	DeleteIpv6FirewallRule(context.Context, *DeleteIpv6FirewallRuleRequest) (*DeleteIpv6FirewallRuleResponse, error)
	// ListIpv6FirewallRules Lists all IPv6 firewall rules
	ListIpv6FirewallRules(context.Context, *ListIpv6FirewallRulesRequest) (*ListIpv6FirewallRulesResponse, error)
	// UpdateIpv6FirewallRule Updates Ipv6 firewall rule with specified ID
	UpdateIpv6FirewallRule(context.Context, *UpdateIpv6FirewallRuleRequest) (*UpdateIpv6FirewallRuleResponse, error)
	// contains filtered or unexported methods
}

Ipv6ServiceServer is the server API for Ipv6Service service. All implementations must embed UnimplementedIpv6ServiceServer for forward compatibility.

Ipv6Service provides operations for managing Ipv6s

type ListIpv6FirewallRulesRequest

type ListIpv6FirewallRulesRequest struct {

	// Lists ipv6 firewall rule with the specified ID
	Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// list ipv6 firewall rules by network ID
	NetworkId *int64 `protobuf:"varint,2,opt,name=network_id,json=networkId" json:"network_id,omitempty"`
	// list ipv6 firewall rules by traffic type - ingress or egress
	TrafficType *string `protobuf:"bytes,3,opt,name=traffic_type,json=trafficType" json:"traffic_type,omitempty"`
	// list resources by display flag; only ROOT admin is eligible to pass this parameter
	Display *bool `protobuf:"varint,4,opt,name=display" json:"display,omitempty"`
	// List resources by tags (key/value pairs)
	Tags map[string]string `` /* 128-byte string literal not displayed */
	// list objects by project; if projectid=-1 lists All VMs
	ProjectId *int64 `protobuf:"varint,6,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
	// list resources by account. Must be used with the domainId parameter.
	AccountName *string `protobuf:"bytes,7,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
	// If set to false, list only resources belonging to the command's caller; if set to true - list resources that the caller is authorized to see. Default value is false. Resources dedicated to a project are listed only if using the projectid parameter.
	ListAll *bool `protobuf:"varint,8,opt,name=list_all,json=listAll" json:"list_all,omitempty"`
	// list only resources belonging to the domain specified
	DomainId *int64 `protobuf:"varint,9,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
	// defaults to false, but if true, lists all resources from the parent specified by the domainId till leaves.
	Recursive *bool `protobuf:"varint,10,opt,name=recursive" json:"recursive,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
}

ListIpv6FirewallRulesRequest represents the parameters for lists all ipv6 firewall rules

func (*ListIpv6FirewallRulesRequest) Descriptor deprecated

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

Deprecated: Use ListIpv6FirewallRulesRequest.ProtoReflect.Descriptor instead.

func (*ListIpv6FirewallRulesRequest) GetAccountName

func (x *ListIpv6FirewallRulesRequest) GetAccountName() string

func (*ListIpv6FirewallRulesRequest) GetDisplay

func (x *ListIpv6FirewallRulesRequest) GetDisplay() bool

func (*ListIpv6FirewallRulesRequest) GetDomainId

func (x *ListIpv6FirewallRulesRequest) GetDomainId() int64

func (*ListIpv6FirewallRulesRequest) GetId

func (*ListIpv6FirewallRulesRequest) GetKeyword

func (x *ListIpv6FirewallRulesRequest) GetKeyword() string

func (*ListIpv6FirewallRulesRequest) GetListAll

func (x *ListIpv6FirewallRulesRequest) GetListAll() bool

func (*ListIpv6FirewallRulesRequest) GetNetworkId

func (x *ListIpv6FirewallRulesRequest) GetNetworkId() int64

func (*ListIpv6FirewallRulesRequest) GetPage

func (x *ListIpv6FirewallRulesRequest) GetPage() int32

func (*ListIpv6FirewallRulesRequest) GetPageSize

func (x *ListIpv6FirewallRulesRequest) GetPageSize() int32

func (*ListIpv6FirewallRulesRequest) GetProjectId

func (x *ListIpv6FirewallRulesRequest) GetProjectId() int64

func (*ListIpv6FirewallRulesRequest) GetRecursive

func (x *ListIpv6FirewallRulesRequest) GetRecursive() bool

func (*ListIpv6FirewallRulesRequest) GetResponseType

func (x *ListIpv6FirewallRulesRequest) GetResponseType() string

func (*ListIpv6FirewallRulesRequest) GetTags

func (x *ListIpv6FirewallRulesRequest) GetTags() map[string]string

func (*ListIpv6FirewallRulesRequest) GetTrafficType

func (x *ListIpv6FirewallRulesRequest) GetTrafficType() string

func (*ListIpv6FirewallRulesRequest) ProtoMessage

func (*ListIpv6FirewallRulesRequest) ProtoMessage()

func (*ListIpv6FirewallRulesRequest) ProtoReflect

func (*ListIpv6FirewallRulesRequest) Reset

func (x *ListIpv6FirewallRulesRequest) Reset()

func (*ListIpv6FirewallRulesRequest) String

type ListIpv6FirewallRulesResponse

type ListIpv6FirewallRulesResponse struct {

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

ListIpv6FirewallRulesResponse represents the response from lists all ipv6 firewall rules

func (*ListIpv6FirewallRulesResponse) Descriptor deprecated

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

Deprecated: Use ListIpv6FirewallRulesResponse.ProtoReflect.Descriptor instead.

func (*ListIpv6FirewallRulesResponse) GetItems

func (*ListIpv6FirewallRulesResponse) GetTotalCount

func (x *ListIpv6FirewallRulesResponse) GetTotalCount() int32

func (*ListIpv6FirewallRulesResponse) ProtoMessage

func (*ListIpv6FirewallRulesResponse) ProtoMessage()

func (*ListIpv6FirewallRulesResponse) ProtoReflect

func (*ListIpv6FirewallRulesResponse) Reset

func (x *ListIpv6FirewallRulesResponse) Reset()

func (*ListIpv6FirewallRulesResponse) String

type ProtocolType

type ProtocolType int32

ProtocolType represents the possible values for the protocol for the Ipv6 firewall rule. Valid values are TCP/UDP/ICMP/ALL or valid protocol number

const (
	// Default unspecified value
	ProtocolType_PROTOCOL_TYPE_UNSPECIFIED ProtocolType = 0
	// ALL value
	ProtocolType_PROTOCOL_TYPE_ALL ProtocolType = 1
	// ICMP value
	ProtocolType_PROTOCOL_TYPE_ICMP ProtocolType = 2
	// TCP value
	ProtocolType_PROTOCOL_TYPE_TCP ProtocolType = 3
	// UDP value
	ProtocolType_PROTOCOL_TYPE_UDP ProtocolType = 4
)

func (ProtocolType) Descriptor

func (ProtocolType) Enum

func (x ProtocolType) Enum() *ProtocolType

func (ProtocolType) EnumDescriptor deprecated

func (ProtocolType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ProtocolType.Descriptor instead.

func (ProtocolType) Number

func (ProtocolType) String

func (x ProtocolType) String() string

func (ProtocolType) Type

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 UnimplementedIpv6ServiceServer

type UnimplementedIpv6ServiceServer struct{}

UnimplementedIpv6ServiceServer 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 UnsafeIpv6ServiceServer

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

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

type UpdateIpv6FirewallRuleRequest

type UpdateIpv6FirewallRuleRequest struct {

	// the ID of the ipv6 firewall rule
	Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// the protocol for the Ipv6 firewall rule. Valid values are TCP/UDP/ICMP/ALL or valid protocol number
	Protocol *string `protobuf:"bytes,2,opt,name=protocol" json:"protocol,omitempty"`
	// the starting port of Ipv6 firewall rule
	PublicStartPort *int32 `protobuf:"varint,3,opt,name=public_start_port,json=publicStartPort" json:"public_start_port,omitempty"`
	// the ending port of Ipv6 firewall rule
	PublicEndPort *int32 `protobuf:"varint,4,opt,name=public_end_port,json=publicEndPort" json:"public_end_port,omitempty"`
	// the cidr list to allow traffic from/to. Multiple entries must be separated by a single comma character (,).
	Cidrlist []string `protobuf:"bytes,5,rep,name=cidrlist" json:"cidrlist,omitempty"`
	// type of the ICMP message being sent
	IcmpType *int32 `protobuf:"varint,6,opt,name=icmp_type,json=icmpType" json:"icmp_type,omitempty"`
	// error code for this ICMP message
	IcmpCode *int32 `protobuf:"varint,7,opt,name=icmp_code,json=icmpCode" json:"icmp_code,omitempty"`
	// the traffic type for the Ipv6 firewall rule, can be Ingress or Egress, defaulted to Ingress if not specified
	TrafficType *string `protobuf:"bytes,8,opt,name=traffic_type,json=trafficType" json:"traffic_type,omitempty"`
	// an optional field, whether to the display the Ipv6 firewall rule to the end user or not
	Display *bool `protobuf:"varint,9,opt,name=display" json:"display,omitempty"`
	// an optional field, in case you want to set a custom id to the resource. Allowed to Root Admins only
	CustomId      *string `protobuf:"bytes,10,opt,name=custom_id,json=customId" json:"custom_id,omitempty"`
	StartEventId  *int64  `protobuf:"varint,11,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,12,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,13,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

UpdateIpv6FirewallRuleRequest represents the parameters for updates ipv6 firewall rule with specified id

func (*UpdateIpv6FirewallRuleRequest) Descriptor deprecated

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

Deprecated: Use UpdateIpv6FirewallRuleRequest.ProtoReflect.Descriptor instead.

func (*UpdateIpv6FirewallRuleRequest) GetCidrlist

func (x *UpdateIpv6FirewallRuleRequest) GetCidrlist() []string

func (*UpdateIpv6FirewallRuleRequest) GetCustomId

func (x *UpdateIpv6FirewallRuleRequest) GetCustomId() string

func (*UpdateIpv6FirewallRuleRequest) GetDisplay

func (x *UpdateIpv6FirewallRuleRequest) GetDisplay() bool

func (*UpdateIpv6FirewallRuleRequest) GetIcmpCode

func (x *UpdateIpv6FirewallRuleRequest) GetIcmpCode() int32

func (*UpdateIpv6FirewallRuleRequest) GetIcmpType

func (x *UpdateIpv6FirewallRuleRequest) GetIcmpType() int32

func (*UpdateIpv6FirewallRuleRequest) GetId

func (*UpdateIpv6FirewallRuleRequest) GetInjectedJobId

func (x *UpdateIpv6FirewallRuleRequest) GetInjectedJobId() string

func (*UpdateIpv6FirewallRuleRequest) GetProtocol

func (x *UpdateIpv6FirewallRuleRequest) GetProtocol() string

func (*UpdateIpv6FirewallRuleRequest) GetPublicEndPort

func (x *UpdateIpv6FirewallRuleRequest) GetPublicEndPort() int32

func (*UpdateIpv6FirewallRuleRequest) GetPublicStartPort

func (x *UpdateIpv6FirewallRuleRequest) GetPublicStartPort() int32

func (*UpdateIpv6FirewallRuleRequest) GetResponseType

func (x *UpdateIpv6FirewallRuleRequest) GetResponseType() string

func (*UpdateIpv6FirewallRuleRequest) GetStartEventId

func (x *UpdateIpv6FirewallRuleRequest) GetStartEventId() int64

func (*UpdateIpv6FirewallRuleRequest) GetTrafficType

func (x *UpdateIpv6FirewallRuleRequest) GetTrafficType() string

func (*UpdateIpv6FirewallRuleRequest) ProtoMessage

func (*UpdateIpv6FirewallRuleRequest) ProtoMessage()

func (*UpdateIpv6FirewallRuleRequest) ProtoReflect

func (*UpdateIpv6FirewallRuleRequest) Reset

func (x *UpdateIpv6FirewallRuleRequest) Reset()

func (*UpdateIpv6FirewallRuleRequest) String

type UpdateIpv6FirewallRuleResponse

type UpdateIpv6FirewallRuleResponse struct {

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

UpdateIpv6FirewallRuleResponse represents the response from updates ipv6 firewall rule with specified id

func (*UpdateIpv6FirewallRuleResponse) Descriptor deprecated

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

Deprecated: Use UpdateIpv6FirewallRuleResponse.ProtoReflect.Descriptor instead.

func (*UpdateIpv6FirewallRuleResponse) GetResult

func (x *UpdateIpv6FirewallRuleResponse) GetResult() *Result

func (*UpdateIpv6FirewallRuleResponse) ProtoMessage

func (*UpdateIpv6FirewallRuleResponse) ProtoMessage()

func (*UpdateIpv6FirewallRuleResponse) ProtoReflect

func (*UpdateIpv6FirewallRuleResponse) Reset

func (x *UpdateIpv6FirewallRuleResponse) Reset()

func (*UpdateIpv6FirewallRuleResponse) String

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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