Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterSecuritygroupServiceServer(s grpc.ServiceRegistrar, srv SecuritygroupServiceServer)
- type AuthorizeSecurityGroupEgressRequest
- func (*AuthorizeSecurityGroupEgressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizeSecurityGroupEgressRequest) GetAccountName() string
- func (x *AuthorizeSecurityGroupEgressRequest) GetCidrList() []string
- func (x *AuthorizeSecurityGroupEgressRequest) GetDomainId() int64
- func (x *AuthorizeSecurityGroupEgressRequest) GetEndPort() int32
- func (x *AuthorizeSecurityGroupEgressRequest) GetIcmpCode() int32
- func (x *AuthorizeSecurityGroupEgressRequest) GetIcmpType() int32
- func (x *AuthorizeSecurityGroupEgressRequest) GetInjectedJobId() string
- func (x *AuthorizeSecurityGroupEgressRequest) GetProjectId() int64
- func (x *AuthorizeSecurityGroupEgressRequest) GetProtocol() string
- func (x *AuthorizeSecurityGroupEgressRequest) GetResponseType() string
- func (x *AuthorizeSecurityGroupEgressRequest) GetSecurityGroupId() int64
- func (x *AuthorizeSecurityGroupEgressRequest) GetSecurityGroupName() string
- func (x *AuthorizeSecurityGroupEgressRequest) GetStartEventId() int64
- func (x *AuthorizeSecurityGroupEgressRequest) GetStartPort() int32
- func (x *AuthorizeSecurityGroupEgressRequest) GetUserSecurityGroupList() map[string]string
- func (*AuthorizeSecurityGroupEgressRequest) ProtoMessage()
- func (x *AuthorizeSecurityGroupEgressRequest) ProtoReflect() protoreflect.Message
- func (x *AuthorizeSecurityGroupEgressRequest) Reset()
- func (x *AuthorizeSecurityGroupEgressRequest) String() string
- type AuthorizeSecurityGroupEgressResponse
- func (*AuthorizeSecurityGroupEgressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizeSecurityGroupEgressResponse) GetResult() *Result
- func (*AuthorizeSecurityGroupEgressResponse) ProtoMessage()
- func (x *AuthorizeSecurityGroupEgressResponse) ProtoReflect() protoreflect.Message
- func (x *AuthorizeSecurityGroupEgressResponse) Reset()
- func (x *AuthorizeSecurityGroupEgressResponse) String() string
- type AuthorizeSecurityGroupIngressRequest
- func (*AuthorizeSecurityGroupIngressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizeSecurityGroupIngressRequest) GetAccountName() string
- func (x *AuthorizeSecurityGroupIngressRequest) GetCidrList() []string
- func (x *AuthorizeSecurityGroupIngressRequest) GetDomainId() int64
- func (x *AuthorizeSecurityGroupIngressRequest) GetEndPort() int32
- func (x *AuthorizeSecurityGroupIngressRequest) GetIcmpCode() int32
- func (x *AuthorizeSecurityGroupIngressRequest) GetIcmpType() int32
- func (x *AuthorizeSecurityGroupIngressRequest) GetInjectedJobId() string
- func (x *AuthorizeSecurityGroupIngressRequest) GetProjectId() int64
- func (x *AuthorizeSecurityGroupIngressRequest) GetProtocol() string
- func (x *AuthorizeSecurityGroupIngressRequest) GetResponseType() string
- func (x *AuthorizeSecurityGroupIngressRequest) GetSecurityGroupId() int64
- func (x *AuthorizeSecurityGroupIngressRequest) GetSecurityGroupName() string
- func (x *AuthorizeSecurityGroupIngressRequest) GetStartEventId() int64
- func (x *AuthorizeSecurityGroupIngressRequest) GetStartPort() int32
- func (x *AuthorizeSecurityGroupIngressRequest) GetUserSecurityGroupList() map[string]string
- func (*AuthorizeSecurityGroupIngressRequest) ProtoMessage()
- func (x *AuthorizeSecurityGroupIngressRequest) ProtoReflect() protoreflect.Message
- func (x *AuthorizeSecurityGroupIngressRequest) Reset()
- func (x *AuthorizeSecurityGroupIngressRequest) String() string
- type AuthorizeSecurityGroupIngressResponse
- func (*AuthorizeSecurityGroupIngressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizeSecurityGroupIngressResponse) GetResult() *Result
- func (*AuthorizeSecurityGroupIngressResponse) ProtoMessage()
- func (x *AuthorizeSecurityGroupIngressResponse) ProtoReflect() protoreflect.Message
- func (x *AuthorizeSecurityGroupIngressResponse) Reset()
- func (x *AuthorizeSecurityGroupIngressResponse) String() string
- type CreateSecurityGroupRequest
- func (*CreateSecurityGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSecurityGroupRequest) GetAccountName() string
- func (x *CreateSecurityGroupRequest) GetDescription() string
- func (x *CreateSecurityGroupRequest) GetDomainId() int64
- func (x *CreateSecurityGroupRequest) GetProjectId() int64
- func (x *CreateSecurityGroupRequest) GetResponseType() string
- func (x *CreateSecurityGroupRequest) GetSecurityGroupName() string
- func (*CreateSecurityGroupRequest) ProtoMessage()
- func (x *CreateSecurityGroupRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSecurityGroupRequest) Reset()
- func (x *CreateSecurityGroupRequest) String() string
- type CreateSecurityGroupResponse
- func (*CreateSecurityGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSecurityGroupResponse) GetResult() *Result
- func (*CreateSecurityGroupResponse) ProtoMessage()
- func (x *CreateSecurityGroupResponse) ProtoReflect() protoreflect.Message
- func (x *CreateSecurityGroupResponse) Reset()
- func (x *CreateSecurityGroupResponse) String() string
- type DeleteSecurityGroupRequest
- func (*DeleteSecurityGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSecurityGroupRequest) GetAccountName() string
- func (x *DeleteSecurityGroupRequest) GetDomainId() int64
- func (x *DeleteSecurityGroupRequest) GetId() int64
- func (x *DeleteSecurityGroupRequest) GetName() string
- func (x *DeleteSecurityGroupRequest) GetProjectId() int64
- func (x *DeleteSecurityGroupRequest) GetResponseType() string
- func (*DeleteSecurityGroupRequest) ProtoMessage()
- func (x *DeleteSecurityGroupRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSecurityGroupRequest) Reset()
- func (x *DeleteSecurityGroupRequest) String() string
- type DeleteSecurityGroupResponse
- func (*DeleteSecurityGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSecurityGroupResponse) GetResult() *Result
- func (*DeleteSecurityGroupResponse) ProtoMessage()
- func (x *DeleteSecurityGroupResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteSecurityGroupResponse) Reset()
- func (x *DeleteSecurityGroupResponse) String() string
- type ListSecurityGroupsRequest
- func (*ListSecurityGroupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSecurityGroupsRequest) GetAccountName() string
- func (x *ListSecurityGroupsRequest) GetDomainId() int64
- func (x *ListSecurityGroupsRequest) GetId() int64
- func (x *ListSecurityGroupsRequest) GetKeyword() string
- func (x *ListSecurityGroupsRequest) GetListAll() bool
- func (x *ListSecurityGroupsRequest) GetPage() int32
- func (x *ListSecurityGroupsRequest) GetPageSize() int32
- func (x *ListSecurityGroupsRequest) GetProjectId() int64
- func (x *ListSecurityGroupsRequest) GetRecursive() bool
- func (x *ListSecurityGroupsRequest) GetResponseType() string
- func (x *ListSecurityGroupsRequest) GetSecurityGroupName() string
- func (x *ListSecurityGroupsRequest) GetTags() map[string]string
- func (x *ListSecurityGroupsRequest) GetVirtualMachineId() int64
- func (*ListSecurityGroupsRequest) ProtoMessage()
- func (x *ListSecurityGroupsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSecurityGroupsRequest) Reset()
- func (x *ListSecurityGroupsRequest) String() string
- type ListSecurityGroupsResponse
- func (*ListSecurityGroupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSecurityGroupsResponse) GetItems() []*SecurityGroup
- func (x *ListSecurityGroupsResponse) GetTotalCount() int32
- func (*ListSecurityGroupsResponse) ProtoMessage()
- func (x *ListSecurityGroupsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSecurityGroupsResponse) Reset()
- func (x *ListSecurityGroupsResponse) String() string
- type ProtocolType
- func (ProtocolType) Descriptor() protoreflect.EnumDescriptor
- func (x ProtocolType) Enum() *ProtocolType
- func (ProtocolType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProtocolType) Number() protoreflect.EnumNumber
- func (x ProtocolType) String() string
- func (ProtocolType) Type() protoreflect.EnumType
- type Result
- func (*Result) Descriptor() ([]byte, []int)deprecated
- func (x *Result) GetDisplayText() string
- func (x *Result) GetId() string
- func (x *Result) GetJobId() string
- func (x *Result) GetJobStatus() string
- func (x *Result) GetSuccess() bool
- func (*Result) ProtoMessage()
- func (x *Result) ProtoReflect() protoreflect.Message
- func (x *Result) Reset()
- func (x *Result) String() string
- type RevokeSecurityGroupEgressRequest
- func (*RevokeSecurityGroupEgressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeSecurityGroupEgressRequest) GetId() int64
- func (x *RevokeSecurityGroupEgressRequest) GetInjectedJobId() string
- func (x *RevokeSecurityGroupEgressRequest) GetResponseType() string
- func (x *RevokeSecurityGroupEgressRequest) GetStartEventId() int64
- func (*RevokeSecurityGroupEgressRequest) ProtoMessage()
- func (x *RevokeSecurityGroupEgressRequest) ProtoReflect() protoreflect.Message
- func (x *RevokeSecurityGroupEgressRequest) Reset()
- func (x *RevokeSecurityGroupEgressRequest) String() string
- type RevokeSecurityGroupEgressResponse
- func (*RevokeSecurityGroupEgressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeSecurityGroupEgressResponse) GetResult() *Result
- func (*RevokeSecurityGroupEgressResponse) ProtoMessage()
- func (x *RevokeSecurityGroupEgressResponse) ProtoReflect() protoreflect.Message
- func (x *RevokeSecurityGroupEgressResponse) Reset()
- func (x *RevokeSecurityGroupEgressResponse) String() string
- type RevokeSecurityGroupIngressRequest
- func (*RevokeSecurityGroupIngressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeSecurityGroupIngressRequest) GetId() int64
- func (x *RevokeSecurityGroupIngressRequest) GetInjectedJobId() string
- func (x *RevokeSecurityGroupIngressRequest) GetResponseType() string
- func (x *RevokeSecurityGroupIngressRequest) GetStartEventId() int64
- func (*RevokeSecurityGroupIngressRequest) ProtoMessage()
- func (x *RevokeSecurityGroupIngressRequest) ProtoReflect() protoreflect.Message
- func (x *RevokeSecurityGroupIngressRequest) Reset()
- func (x *RevokeSecurityGroupIngressRequest) String() string
- type RevokeSecurityGroupIngressResponse
- func (*RevokeSecurityGroupIngressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeSecurityGroupIngressResponse) GetResult() *Result
- func (*RevokeSecurityGroupIngressResponse) ProtoMessage()
- func (x *RevokeSecurityGroupIngressResponse) ProtoReflect() protoreflect.Message
- func (x *RevokeSecurityGroupIngressResponse) Reset()
- func (x *RevokeSecurityGroupIngressResponse) String() string
- type SecurityGroup
- func (*SecurityGroup) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityGroup) GetCreated() string
- func (x *SecurityGroup) GetDescription() string
- func (x *SecurityGroup) GetDisplayName() string
- func (x *SecurityGroup) GetId() string
- func (x *SecurityGroup) GetName() string
- func (*SecurityGroup) ProtoMessage()
- func (x *SecurityGroup) ProtoReflect() protoreflect.Message
- func (x *SecurityGroup) Reset()
- func (x *SecurityGroup) String() string
- type SecuritygroupServiceClient
- type SecuritygroupServiceServer
- type Success
- type UnimplementedSecuritygroupServiceServer
- func (UnimplementedSecuritygroupServiceServer) AuthorizeSecurityGroupEgress(context.Context, *AuthorizeSecurityGroupEgressRequest) (*AuthorizeSecurityGroupEgressResponse, error)
- func (UnimplementedSecuritygroupServiceServer) AuthorizeSecurityGroupIngress(context.Context, *AuthorizeSecurityGroupIngressRequest) (*AuthorizeSecurityGroupIngressResponse, error)
- func (UnimplementedSecuritygroupServiceServer) CreateSecurityGroup(context.Context, *CreateSecurityGroupRequest) (*CreateSecurityGroupResponse, error)
- func (UnimplementedSecuritygroupServiceServer) DeleteSecurityGroup(context.Context, *DeleteSecurityGroupRequest) (*DeleteSecurityGroupResponse, error)
- func (UnimplementedSecuritygroupServiceServer) ListSecurityGroups(context.Context, *ListSecurityGroupsRequest) (*ListSecurityGroupsResponse, error)
- func (UnimplementedSecuritygroupServiceServer) RevokeSecurityGroupEgress(context.Context, *RevokeSecurityGroupEgressRequest) (*RevokeSecurityGroupEgressResponse, error)
- func (UnimplementedSecuritygroupServiceServer) RevokeSecurityGroupIngress(context.Context, *RevokeSecurityGroupIngressRequest) (*RevokeSecurityGroupIngressResponse, error)
- func (UnimplementedSecuritygroupServiceServer) UpdateSecurityGroup(context.Context, *UpdateSecurityGroupRequest) (*UpdateSecurityGroupResponse, error)
- type UnsafeSecuritygroupServiceServer
- type UpdateSecurityGroupRequest
- func (*UpdateSecurityGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSecurityGroupRequest) GetCustomId() string
- func (x *UpdateSecurityGroupRequest) GetId() int64
- func (x *UpdateSecurityGroupRequest) GetName() string
- func (x *UpdateSecurityGroupRequest) GetResponseType() string
- func (*UpdateSecurityGroupRequest) ProtoMessage()
- func (x *UpdateSecurityGroupRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSecurityGroupRequest) Reset()
- func (x *UpdateSecurityGroupRequest) String() string
- type UpdateSecurityGroupResponse
- func (*UpdateSecurityGroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSecurityGroupResponse) GetResult() *Result
- func (*UpdateSecurityGroupResponse) ProtoMessage()
- func (x *UpdateSecurityGroupResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateSecurityGroupResponse) Reset()
- func (x *UpdateSecurityGroupResponse) String() string
Constants ¶
const ( SecuritygroupService_AuthorizeSecurityGroupEgress_FullMethodName = "/cloudstack.management.securitygroup.v1.SecuritygroupService/AuthorizeSecurityGroupEgress" SecuritygroupService_AuthorizeSecurityGroupIngress_FullMethodName = "/cloudstack.management.securitygroup.v1.SecuritygroupService/AuthorizeSecurityGroupIngress" SecuritygroupService_CreateSecurityGroup_FullMethodName = "/cloudstack.management.securitygroup.v1.SecuritygroupService/CreateSecurityGroup" SecuritygroupService_DeleteSecurityGroup_FullMethodName = "/cloudstack.management.securitygroup.v1.SecuritygroupService/DeleteSecurityGroup" SecuritygroupService_ListSecurityGroups_FullMethodName = "/cloudstack.management.securitygroup.v1.SecuritygroupService/ListSecurityGroups" SecuritygroupService_RevokeSecurityGroupEgress_FullMethodName = "/cloudstack.management.securitygroup.v1.SecuritygroupService/RevokeSecurityGroupEgress" SecuritygroupService_RevokeSecurityGroupIngress_FullMethodName = "/cloudstack.management.securitygroup.v1.SecuritygroupService/RevokeSecurityGroupIngress" SecuritygroupService_UpdateSecurityGroup_FullMethodName = "/cloudstack.management.securitygroup.v1.SecuritygroupService/UpdateSecurityGroup" )
Variables ¶
var ( ProtocolType_name = map[int32]string{ 0: "PROTOCOL_TYPE_UNSPECIFIED", 1: "PROTOCOL_TYPE_ALL", 2: "PROTOCOL_TYPE_ETC", 3: "PROTOCOL_TYPE_ICMP", 4: "PROTOCOL_TYPE_TCP", 5: "PROTOCOL_TYPE_UDP", } ProtocolType_value = map[string]int32{ "PROTOCOL_TYPE_UNSPECIFIED": 0, "PROTOCOL_TYPE_ALL": 1, "PROTOCOL_TYPE_ETC": 2, "PROTOCOL_TYPE_ICMP": 3, "PROTOCOL_TYPE_TCP": 4, "PROTOCOL_TYPE_UDP": 5, } )
Enum value maps for ProtocolType.
var File_cloudstack_management_securitygroup_v1_securitygroup_gen_proto protoreflect.FileDescriptor
var SecuritygroupService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cloudstack.management.securitygroup.v1.SecuritygroupService", HandlerType: (*SecuritygroupServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AuthorizeSecurityGroupEgress", Handler: _SecuritygroupService_AuthorizeSecurityGroupEgress_Handler, }, { MethodName: "AuthorizeSecurityGroupIngress", Handler: _SecuritygroupService_AuthorizeSecurityGroupIngress_Handler, }, { MethodName: "CreateSecurityGroup", Handler: _SecuritygroupService_CreateSecurityGroup_Handler, }, { MethodName: "DeleteSecurityGroup", Handler: _SecuritygroupService_DeleteSecurityGroup_Handler, }, { MethodName: "ListSecurityGroups", Handler: _SecuritygroupService_ListSecurityGroups_Handler, }, { MethodName: "RevokeSecurityGroupEgress", Handler: _SecuritygroupService_RevokeSecurityGroupEgress_Handler, }, { MethodName: "RevokeSecurityGroupIngress", Handler: _SecuritygroupService_RevokeSecurityGroupIngress_Handler, }, { MethodName: "UpdateSecurityGroup", Handler: _SecuritygroupService_UpdateSecurityGroup_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cloudstack/management/securitygroup/v1/securitygroup.gen.proto", }
SecuritygroupService_ServiceDesc is the grpc.ServiceDesc for SecuritygroupService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSecuritygroupServiceServer ¶
func RegisterSecuritygroupServiceServer(s grpc.ServiceRegistrar, srv SecuritygroupServiceServer)
Types ¶
type AuthorizeSecurityGroupEgressRequest ¶
type AuthorizeSecurityGroupEgressRequest struct {
// TCP is default. UDP is the other supported protocol
Protocol *string `protobuf:"bytes,1,opt,name=protocol" json:"protocol,omitempty"`
// start port for this egress rule
StartPort *int32 `protobuf:"varint,2,opt,name=start_port,json=startPort" json:"start_port,omitempty"`
// end port for this egress rule
EndPort *int32 `protobuf:"varint,3,opt,name=end_port,json=endPort" json:"end_port,omitempty"`
// type of the icmp message being sent
IcmpType *int32 `protobuf:"varint,4,opt,name=icmp_type,json=icmpType" json:"icmp_type,omitempty"`
// error code for this icmp message
IcmpCode *int32 `protobuf:"varint,5,opt,name=icmp_code,json=icmpCode" json:"icmp_code,omitempty"`
// the cidr list associated. Multiple entries must be separated by a single comma character (,).
CidrList []string `protobuf:"bytes,6,rep,name=cidr_list,json=cidrList" json:"cidr_list,omitempty"`
// user to security group mapping
UserSecurityGroupList map[string]string `` /* 195-byte string literal not displayed */
// an optional domainId for the security group. If the account parameter is used, domainId must also be used.
DomainId *int64 `protobuf:"varint,8,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
// an optional account for the security group. Must be used with domainId.
AccountName *string `protobuf:"bytes,9,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
// an optional project of the security group
ProjectId *int64 `protobuf:"varint,10,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
// The ID of the security group. Mutually exclusive with securityGroupName parameter
SecurityGroupId *int64 `protobuf:"varint,11,opt,name=security_group_id,json=securityGroupId" json:"security_group_id,omitempty"`
// The name of the security group. Mutually exclusive with securityGroupId parameter
SecurityGroupName *string `protobuf:"bytes,12,opt,name=security_group_name,json=securityGroupName" json:"security_group_name,omitempty"`
StartEventId *int64 `protobuf:"varint,13,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
InjectedJobId *string `protobuf:"bytes,14,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
ResponseType *string `protobuf:"bytes,15,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
AuthorizeSecurityGroupEgressRequest represents the parameters for authorizes a particular egress rule for this security group
func (*AuthorizeSecurityGroupEgressRequest) Descriptor
deprecated
func (*AuthorizeSecurityGroupEgressRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizeSecurityGroupEgressRequest.ProtoReflect.Descriptor instead.
func (*AuthorizeSecurityGroupEgressRequest) GetAccountName ¶
func (x *AuthorizeSecurityGroupEgressRequest) GetAccountName() string
func (*AuthorizeSecurityGroupEgressRequest) GetCidrList ¶
func (x *AuthorizeSecurityGroupEgressRequest) GetCidrList() []string
func (*AuthorizeSecurityGroupEgressRequest) GetDomainId ¶
func (x *AuthorizeSecurityGroupEgressRequest) GetDomainId() int64
func (*AuthorizeSecurityGroupEgressRequest) GetEndPort ¶
func (x *AuthorizeSecurityGroupEgressRequest) GetEndPort() int32
func (*AuthorizeSecurityGroupEgressRequest) GetIcmpCode ¶
func (x *AuthorizeSecurityGroupEgressRequest) GetIcmpCode() int32
func (*AuthorizeSecurityGroupEgressRequest) GetIcmpType ¶
func (x *AuthorizeSecurityGroupEgressRequest) GetIcmpType() int32
func (*AuthorizeSecurityGroupEgressRequest) GetInjectedJobId ¶
func (x *AuthorizeSecurityGroupEgressRequest) GetInjectedJobId() string
func (*AuthorizeSecurityGroupEgressRequest) GetProjectId ¶
func (x *AuthorizeSecurityGroupEgressRequest) GetProjectId() int64
func (*AuthorizeSecurityGroupEgressRequest) GetProtocol ¶
func (x *AuthorizeSecurityGroupEgressRequest) GetProtocol() string
func (*AuthorizeSecurityGroupEgressRequest) GetResponseType ¶
func (x *AuthorizeSecurityGroupEgressRequest) GetResponseType() string
func (*AuthorizeSecurityGroupEgressRequest) GetSecurityGroupId ¶
func (x *AuthorizeSecurityGroupEgressRequest) GetSecurityGroupId() int64
func (*AuthorizeSecurityGroupEgressRequest) GetSecurityGroupName ¶
func (x *AuthorizeSecurityGroupEgressRequest) GetSecurityGroupName() string
func (*AuthorizeSecurityGroupEgressRequest) GetStartEventId ¶
func (x *AuthorizeSecurityGroupEgressRequest) GetStartEventId() int64
func (*AuthorizeSecurityGroupEgressRequest) GetStartPort ¶
func (x *AuthorizeSecurityGroupEgressRequest) GetStartPort() int32
func (*AuthorizeSecurityGroupEgressRequest) GetUserSecurityGroupList ¶
func (x *AuthorizeSecurityGroupEgressRequest) GetUserSecurityGroupList() map[string]string
func (*AuthorizeSecurityGroupEgressRequest) ProtoMessage ¶
func (*AuthorizeSecurityGroupEgressRequest) ProtoMessage()
func (*AuthorizeSecurityGroupEgressRequest) ProtoReflect ¶
func (x *AuthorizeSecurityGroupEgressRequest) ProtoReflect() protoreflect.Message
func (*AuthorizeSecurityGroupEgressRequest) Reset ¶
func (x *AuthorizeSecurityGroupEgressRequest) Reset()
func (*AuthorizeSecurityGroupEgressRequest) String ¶
func (x *AuthorizeSecurityGroupEgressRequest) String() string
type AuthorizeSecurityGroupEgressResponse ¶
type AuthorizeSecurityGroupEgressResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
AuthorizeSecurityGroupEgressResponse represents the response from authorizes a particular egress rule for this security group
func (*AuthorizeSecurityGroupEgressResponse) Descriptor
deprecated
func (*AuthorizeSecurityGroupEgressResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizeSecurityGroupEgressResponse.ProtoReflect.Descriptor instead.
func (*AuthorizeSecurityGroupEgressResponse) GetResult ¶
func (x *AuthorizeSecurityGroupEgressResponse) GetResult() *Result
func (*AuthorizeSecurityGroupEgressResponse) ProtoMessage ¶
func (*AuthorizeSecurityGroupEgressResponse) ProtoMessage()
func (*AuthorizeSecurityGroupEgressResponse) ProtoReflect ¶
func (x *AuthorizeSecurityGroupEgressResponse) ProtoReflect() protoreflect.Message
func (*AuthorizeSecurityGroupEgressResponse) Reset ¶
func (x *AuthorizeSecurityGroupEgressResponse) Reset()
func (*AuthorizeSecurityGroupEgressResponse) String ¶
func (x *AuthorizeSecurityGroupEgressResponse) String() string
type AuthorizeSecurityGroupIngressRequest ¶
type AuthorizeSecurityGroupIngressRequest struct {
// the protocol for the ACL rule. Valid values are TCP/UDP/ICMP/ALL or valid protocol number (see /etc/protocols). ALL is default.
Protocol *string `protobuf:"bytes,1,opt,name=protocol" json:"protocol,omitempty"`
// start port for this ingress rule
StartPort *int32 `protobuf:"varint,2,opt,name=start_port,json=startPort" json:"start_port,omitempty"`
// end port for this ingress rule
EndPort *int32 `protobuf:"varint,3,opt,name=end_port,json=endPort" json:"end_port,omitempty"`
// type of the icmp message being sent
IcmpType *int32 `protobuf:"varint,4,opt,name=icmp_type,json=icmpType" json:"icmp_type,omitempty"`
// error code for this icmp message
IcmpCode *int32 `protobuf:"varint,5,opt,name=icmp_code,json=icmpCode" json:"icmp_code,omitempty"`
// the cidr list associated. Multiple entries must be separated by a single comma character (,).
CidrList []string `protobuf:"bytes,6,rep,name=cidr_list,json=cidrList" json:"cidr_list,omitempty"`
// user to security group mapping
UserSecurityGroupList map[string]string `` /* 195-byte string literal not displayed */
// an optional domainId for the security group. If the account parameter is used, domainId must also be used.
DomainId *int64 `protobuf:"varint,8,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
// an optional account for the security group. Must be used with domainId.
AccountName *string `protobuf:"bytes,9,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
// an optional project of the security group
ProjectId *int64 `protobuf:"varint,10,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
// The ID of the security group. Mutually exclusive with securityGroupName parameter
SecurityGroupId *int64 `protobuf:"varint,11,opt,name=security_group_id,json=securityGroupId" json:"security_group_id,omitempty"`
// The name of the security group. Mutually exclusive with securityGroupId parameter
SecurityGroupName *string `protobuf:"bytes,12,opt,name=security_group_name,json=securityGroupName" json:"security_group_name,omitempty"`
StartEventId *int64 `protobuf:"varint,13,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
InjectedJobId *string `protobuf:"bytes,14,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
ResponseType *string `protobuf:"bytes,15,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
AuthorizeSecurityGroupIngressRequest represents the parameters for authorizes a particular ingress rule for this security group
func (*AuthorizeSecurityGroupIngressRequest) Descriptor
deprecated
func (*AuthorizeSecurityGroupIngressRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizeSecurityGroupIngressRequest.ProtoReflect.Descriptor instead.
func (*AuthorizeSecurityGroupIngressRequest) GetAccountName ¶
func (x *AuthorizeSecurityGroupIngressRequest) GetAccountName() string
func (*AuthorizeSecurityGroupIngressRequest) GetCidrList ¶
func (x *AuthorizeSecurityGroupIngressRequest) GetCidrList() []string
func (*AuthorizeSecurityGroupIngressRequest) GetDomainId ¶
func (x *AuthorizeSecurityGroupIngressRequest) GetDomainId() int64
func (*AuthorizeSecurityGroupIngressRequest) GetEndPort ¶
func (x *AuthorizeSecurityGroupIngressRequest) GetEndPort() int32
func (*AuthorizeSecurityGroupIngressRequest) GetIcmpCode ¶
func (x *AuthorizeSecurityGroupIngressRequest) GetIcmpCode() int32
func (*AuthorizeSecurityGroupIngressRequest) GetIcmpType ¶
func (x *AuthorizeSecurityGroupIngressRequest) GetIcmpType() int32
func (*AuthorizeSecurityGroupIngressRequest) GetInjectedJobId ¶
func (x *AuthorizeSecurityGroupIngressRequest) GetInjectedJobId() string
func (*AuthorizeSecurityGroupIngressRequest) GetProjectId ¶
func (x *AuthorizeSecurityGroupIngressRequest) GetProjectId() int64
func (*AuthorizeSecurityGroupIngressRequest) GetProtocol ¶
func (x *AuthorizeSecurityGroupIngressRequest) GetProtocol() string
func (*AuthorizeSecurityGroupIngressRequest) GetResponseType ¶
func (x *AuthorizeSecurityGroupIngressRequest) GetResponseType() string
func (*AuthorizeSecurityGroupIngressRequest) GetSecurityGroupId ¶
func (x *AuthorizeSecurityGroupIngressRequest) GetSecurityGroupId() int64
func (*AuthorizeSecurityGroupIngressRequest) GetSecurityGroupName ¶
func (x *AuthorizeSecurityGroupIngressRequest) GetSecurityGroupName() string
func (*AuthorizeSecurityGroupIngressRequest) GetStartEventId ¶
func (x *AuthorizeSecurityGroupIngressRequest) GetStartEventId() int64
func (*AuthorizeSecurityGroupIngressRequest) GetStartPort ¶
func (x *AuthorizeSecurityGroupIngressRequest) GetStartPort() int32
func (*AuthorizeSecurityGroupIngressRequest) GetUserSecurityGroupList ¶
func (x *AuthorizeSecurityGroupIngressRequest) GetUserSecurityGroupList() map[string]string
func (*AuthorizeSecurityGroupIngressRequest) ProtoMessage ¶
func (*AuthorizeSecurityGroupIngressRequest) ProtoMessage()
func (*AuthorizeSecurityGroupIngressRequest) ProtoReflect ¶
func (x *AuthorizeSecurityGroupIngressRequest) ProtoReflect() protoreflect.Message
func (*AuthorizeSecurityGroupIngressRequest) Reset ¶
func (x *AuthorizeSecurityGroupIngressRequest) Reset()
func (*AuthorizeSecurityGroupIngressRequest) String ¶
func (x *AuthorizeSecurityGroupIngressRequest) String() string
type AuthorizeSecurityGroupIngressResponse ¶
type AuthorizeSecurityGroupIngressResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
AuthorizeSecurityGroupIngressResponse represents the response from authorizes a particular ingress rule for this security group
func (*AuthorizeSecurityGroupIngressResponse) Descriptor
deprecated
func (*AuthorizeSecurityGroupIngressResponse) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizeSecurityGroupIngressResponse.ProtoReflect.Descriptor instead.
func (*AuthorizeSecurityGroupIngressResponse) GetResult ¶
func (x *AuthorizeSecurityGroupIngressResponse) GetResult() *Result
func (*AuthorizeSecurityGroupIngressResponse) ProtoMessage ¶
func (*AuthorizeSecurityGroupIngressResponse) ProtoMessage()
func (*AuthorizeSecurityGroupIngressResponse) ProtoReflect ¶
func (x *AuthorizeSecurityGroupIngressResponse) ProtoReflect() protoreflect.Message
func (*AuthorizeSecurityGroupIngressResponse) Reset ¶
func (x *AuthorizeSecurityGroupIngressResponse) Reset()
func (*AuthorizeSecurityGroupIngressResponse) String ¶
func (x *AuthorizeSecurityGroupIngressResponse) String() string
type CreateSecurityGroupRequest ¶
type CreateSecurityGroupRequest struct {
// an optional account for the security group. Must be used with domainId.
AccountName *string `protobuf:"bytes,1,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
// an optional domainId for the security group. If the account parameter is used, domainId must also be used.
DomainId *int64 `protobuf:"varint,2,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
// the description of the security group
Description *string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
// name of the security group
SecurityGroupName *string `protobuf:"bytes,4,opt,name=security_group_name,json=securityGroupName" json:"security_group_name,omitempty"`
// Create security group for project
ProjectId *int64 `protobuf:"varint,5,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
ResponseType *string `protobuf:"bytes,6,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
CreateSecurityGroupRequest represents the parameters for creates a security group
func (*CreateSecurityGroupRequest) Descriptor
deprecated
func (*CreateSecurityGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSecurityGroupRequest.ProtoReflect.Descriptor instead.
func (*CreateSecurityGroupRequest) GetAccountName ¶
func (x *CreateSecurityGroupRequest) GetAccountName() string
func (*CreateSecurityGroupRequest) GetDescription ¶
func (x *CreateSecurityGroupRequest) GetDescription() string
func (*CreateSecurityGroupRequest) GetDomainId ¶
func (x *CreateSecurityGroupRequest) GetDomainId() int64
func (*CreateSecurityGroupRequest) GetProjectId ¶
func (x *CreateSecurityGroupRequest) GetProjectId() int64
func (*CreateSecurityGroupRequest) GetResponseType ¶
func (x *CreateSecurityGroupRequest) GetResponseType() string
func (*CreateSecurityGroupRequest) GetSecurityGroupName ¶
func (x *CreateSecurityGroupRequest) GetSecurityGroupName() string
func (*CreateSecurityGroupRequest) ProtoMessage ¶
func (*CreateSecurityGroupRequest) ProtoMessage()
func (*CreateSecurityGroupRequest) ProtoReflect ¶
func (x *CreateSecurityGroupRequest) ProtoReflect() protoreflect.Message
func (*CreateSecurityGroupRequest) Reset ¶
func (x *CreateSecurityGroupRequest) Reset()
func (*CreateSecurityGroupRequest) String ¶
func (x *CreateSecurityGroupRequest) String() string
type CreateSecurityGroupResponse ¶
type CreateSecurityGroupResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
CreateSecurityGroupResponse represents the response from creates a security group
func (*CreateSecurityGroupResponse) Descriptor
deprecated
func (*CreateSecurityGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateSecurityGroupResponse.ProtoReflect.Descriptor instead.
func (*CreateSecurityGroupResponse) GetResult ¶
func (x *CreateSecurityGroupResponse) GetResult() *Result
func (*CreateSecurityGroupResponse) ProtoMessage ¶
func (*CreateSecurityGroupResponse) ProtoMessage()
func (*CreateSecurityGroupResponse) ProtoReflect ¶
func (x *CreateSecurityGroupResponse) ProtoReflect() protoreflect.Message
func (*CreateSecurityGroupResponse) Reset ¶
func (x *CreateSecurityGroupResponse) Reset()
func (*CreateSecurityGroupResponse) String ¶
func (x *CreateSecurityGroupResponse) String() string
type DeleteSecurityGroupRequest ¶
type DeleteSecurityGroupRequest struct {
// the account of the security group. Must be specified with domain ID
AccountName *string `protobuf:"bytes,1,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
// the domain ID of account owning the security group
DomainId *int64 `protobuf:"varint,2,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
// the project of the security group
ProjectId *int64 `protobuf:"varint,3,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
// The ID of the security group. Mutually exclusive with name parameter
Id *int64 `protobuf:"varint,4,opt,name=id" json:"id,omitempty"`
// The ID of the security group. Mutually exclusive with id parameter
Name *string `protobuf:"bytes,5,opt,name=name" json:"name,omitempty"`
ResponseType *string `protobuf:"bytes,6,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
DeleteSecurityGroupRequest represents the parameters for deletes security group
func (*DeleteSecurityGroupRequest) Descriptor
deprecated
func (*DeleteSecurityGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSecurityGroupRequest.ProtoReflect.Descriptor instead.
func (*DeleteSecurityGroupRequest) GetAccountName ¶
func (x *DeleteSecurityGroupRequest) GetAccountName() string
func (*DeleteSecurityGroupRequest) GetDomainId ¶
func (x *DeleteSecurityGroupRequest) GetDomainId() int64
func (*DeleteSecurityGroupRequest) GetId ¶
func (x *DeleteSecurityGroupRequest) GetId() int64
func (*DeleteSecurityGroupRequest) GetName ¶
func (x *DeleteSecurityGroupRequest) GetName() string
func (*DeleteSecurityGroupRequest) GetProjectId ¶
func (x *DeleteSecurityGroupRequest) GetProjectId() int64
func (*DeleteSecurityGroupRequest) GetResponseType ¶
func (x *DeleteSecurityGroupRequest) GetResponseType() string
func (*DeleteSecurityGroupRequest) ProtoMessage ¶
func (*DeleteSecurityGroupRequest) ProtoMessage()
func (*DeleteSecurityGroupRequest) ProtoReflect ¶
func (x *DeleteSecurityGroupRequest) ProtoReflect() protoreflect.Message
func (*DeleteSecurityGroupRequest) Reset ¶
func (x *DeleteSecurityGroupRequest) Reset()
func (*DeleteSecurityGroupRequest) String ¶
func (x *DeleteSecurityGroupRequest) String() string
type DeleteSecurityGroupResponse ¶
type DeleteSecurityGroupResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
DeleteSecurityGroupResponse represents the response from deletes security group
func (*DeleteSecurityGroupResponse) Descriptor
deprecated
func (*DeleteSecurityGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSecurityGroupResponse.ProtoReflect.Descriptor instead.
func (*DeleteSecurityGroupResponse) GetResult ¶
func (x *DeleteSecurityGroupResponse) GetResult() *Result
func (*DeleteSecurityGroupResponse) ProtoMessage ¶
func (*DeleteSecurityGroupResponse) ProtoMessage()
func (*DeleteSecurityGroupResponse) ProtoReflect ¶
func (x *DeleteSecurityGroupResponse) ProtoReflect() protoreflect.Message
func (*DeleteSecurityGroupResponse) Reset ¶
func (x *DeleteSecurityGroupResponse) Reset()
func (*DeleteSecurityGroupResponse) String ¶
func (x *DeleteSecurityGroupResponse) String() string
type ListSecurityGroupsRequest ¶
type ListSecurityGroupsRequest struct {
// lists security groups by name
SecurityGroupName *string `protobuf:"bytes,1,opt,name=security_group_name,json=securityGroupName" json:"security_group_name,omitempty"`
// lists security groups by virtual machine id
VirtualMachineId *int64 `protobuf:"varint,2,opt,name=virtual_machine_id,json=virtualMachineId" json:"virtual_machine_id,omitempty"`
// list the security group by the id provided
Id *int64 `protobuf:"varint,3,opt,name=id" json:"id,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,5,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,6,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,7,opt,name=list_all,json=listAll" json:"list_all,omitempty"`
// list only resources belonging to the domain specified
DomainId *int64 `protobuf:"varint,8,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,9,opt,name=recursive" json:"recursive,omitempty"`
// List by keyword
Keyword *string `protobuf:"bytes,10,opt,name=keyword" json:"keyword,omitempty"`
Page *int32 `protobuf:"varint,11,opt,name=page" json:"page,omitempty"`
PageSize *int32 `protobuf:"varint,12,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
ResponseType *string `protobuf:"bytes,13,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
ListSecurityGroupsRequest represents the parameters for lists security groups
func (*ListSecurityGroupsRequest) Descriptor
deprecated
func (*ListSecurityGroupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSecurityGroupsRequest.ProtoReflect.Descriptor instead.
func (*ListSecurityGroupsRequest) GetAccountName ¶
func (x *ListSecurityGroupsRequest) GetAccountName() string
func (*ListSecurityGroupsRequest) GetDomainId ¶
func (x *ListSecurityGroupsRequest) GetDomainId() int64
func (*ListSecurityGroupsRequest) GetId ¶
func (x *ListSecurityGroupsRequest) GetId() int64
func (*ListSecurityGroupsRequest) GetKeyword ¶
func (x *ListSecurityGroupsRequest) GetKeyword() string
func (*ListSecurityGroupsRequest) GetListAll ¶
func (x *ListSecurityGroupsRequest) GetListAll() bool
func (*ListSecurityGroupsRequest) GetPage ¶
func (x *ListSecurityGroupsRequest) GetPage() int32
func (*ListSecurityGroupsRequest) GetPageSize ¶
func (x *ListSecurityGroupsRequest) GetPageSize() int32
func (*ListSecurityGroupsRequest) GetProjectId ¶
func (x *ListSecurityGroupsRequest) GetProjectId() int64
func (*ListSecurityGroupsRequest) GetRecursive ¶
func (x *ListSecurityGroupsRequest) GetRecursive() bool
func (*ListSecurityGroupsRequest) GetResponseType ¶
func (x *ListSecurityGroupsRequest) GetResponseType() string
func (*ListSecurityGroupsRequest) GetSecurityGroupName ¶
func (x *ListSecurityGroupsRequest) GetSecurityGroupName() string
func (*ListSecurityGroupsRequest) GetTags ¶
func (x *ListSecurityGroupsRequest) GetTags() map[string]string
func (*ListSecurityGroupsRequest) GetVirtualMachineId ¶
func (x *ListSecurityGroupsRequest) GetVirtualMachineId() int64
func (*ListSecurityGroupsRequest) ProtoMessage ¶
func (*ListSecurityGroupsRequest) ProtoMessage()
func (*ListSecurityGroupsRequest) ProtoReflect ¶
func (x *ListSecurityGroupsRequest) ProtoReflect() protoreflect.Message
func (*ListSecurityGroupsRequest) Reset ¶
func (x *ListSecurityGroupsRequest) Reset()
func (*ListSecurityGroupsRequest) String ¶
func (x *ListSecurityGroupsRequest) String() string
type ListSecurityGroupsResponse ¶
type ListSecurityGroupsResponse struct {
// The list of SecurityGroups
Items []*SecurityGroup `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
// The total count of SecurityGroups
TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
// contains filtered or unexported fields
}
ListSecurityGroupsResponse represents the response from lists security groups
func (*ListSecurityGroupsResponse) Descriptor
deprecated
func (*ListSecurityGroupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSecurityGroupsResponse.ProtoReflect.Descriptor instead.
func (*ListSecurityGroupsResponse) GetItems ¶
func (x *ListSecurityGroupsResponse) GetItems() []*SecurityGroup
func (*ListSecurityGroupsResponse) GetTotalCount ¶
func (x *ListSecurityGroupsResponse) GetTotalCount() int32
func (*ListSecurityGroupsResponse) ProtoMessage ¶
func (*ListSecurityGroupsResponse) ProtoMessage()
func (*ListSecurityGroupsResponse) ProtoReflect ¶
func (x *ListSecurityGroupsResponse) ProtoReflect() protoreflect.Message
func (*ListSecurityGroupsResponse) Reset ¶
func (x *ListSecurityGroupsResponse) Reset()
func (*ListSecurityGroupsResponse) String ¶
func (x *ListSecurityGroupsResponse) String() string
type ProtocolType ¶
type ProtocolType int32
ProtocolType represents the possible values for the protocol for the ACL rule. Valid values are TCP/UDP/ICMP/ALL or valid protocol number (see /etc/protocols). ALL is default.
const ( // Default unspecified value ProtocolType_PROTOCOL_TYPE_UNSPECIFIED ProtocolType = 0 // ALL value ProtocolType_PROTOCOL_TYPE_ALL ProtocolType = 1 // ETC value ProtocolType_PROTOCOL_TYPE_ETC ProtocolType = 2 // ICMP value ProtocolType_PROTOCOL_TYPE_ICMP ProtocolType = 3 // TCP value ProtocolType_PROTOCOL_TYPE_TCP ProtocolType = 4 // UDP value ProtocolType_PROTOCOL_TYPE_UDP ProtocolType = 5 )
func (ProtocolType) Descriptor ¶
func (ProtocolType) Descriptor() protoreflect.EnumDescriptor
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 (x ProtocolType) Number() protoreflect.EnumNumber
func (ProtocolType) String ¶
func (x ProtocolType) String() string
func (ProtocolType) Type ¶
func (ProtocolType) Type() protoreflect.EnumType
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) GetDisplayText ¶
func (*Result) GetJobStatus ¶
func (*Result) GetSuccess ¶
func (*Result) ProtoMessage ¶
func (*Result) ProtoMessage()
func (*Result) ProtoReflect ¶
func (x *Result) ProtoReflect() protoreflect.Message
type RevokeSecurityGroupEgressRequest ¶
type RevokeSecurityGroupEgressRequest struct {
// The ID of the egress 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
}
RevokeSecurityGroupEgressRequest represents the parameters for deletes a particular egress rule from this security group
func (*RevokeSecurityGroupEgressRequest) Descriptor
deprecated
func (*RevokeSecurityGroupEgressRequest) Descriptor() ([]byte, []int)
Deprecated: Use RevokeSecurityGroupEgressRequest.ProtoReflect.Descriptor instead.
func (*RevokeSecurityGroupEgressRequest) GetId ¶
func (x *RevokeSecurityGroupEgressRequest) GetId() int64
func (*RevokeSecurityGroupEgressRequest) GetInjectedJobId ¶
func (x *RevokeSecurityGroupEgressRequest) GetInjectedJobId() string
func (*RevokeSecurityGroupEgressRequest) GetResponseType ¶
func (x *RevokeSecurityGroupEgressRequest) GetResponseType() string
func (*RevokeSecurityGroupEgressRequest) GetStartEventId ¶
func (x *RevokeSecurityGroupEgressRequest) GetStartEventId() int64
func (*RevokeSecurityGroupEgressRequest) ProtoMessage ¶
func (*RevokeSecurityGroupEgressRequest) ProtoMessage()
func (*RevokeSecurityGroupEgressRequest) ProtoReflect ¶
func (x *RevokeSecurityGroupEgressRequest) ProtoReflect() protoreflect.Message
func (*RevokeSecurityGroupEgressRequest) Reset ¶
func (x *RevokeSecurityGroupEgressRequest) Reset()
func (*RevokeSecurityGroupEgressRequest) String ¶
func (x *RevokeSecurityGroupEgressRequest) String() string
type RevokeSecurityGroupEgressResponse ¶
type RevokeSecurityGroupEgressResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
RevokeSecurityGroupEgressResponse represents the response from deletes a particular egress rule from this security group
func (*RevokeSecurityGroupEgressResponse) Descriptor
deprecated
func (*RevokeSecurityGroupEgressResponse) Descriptor() ([]byte, []int)
Deprecated: Use RevokeSecurityGroupEgressResponse.ProtoReflect.Descriptor instead.
func (*RevokeSecurityGroupEgressResponse) GetResult ¶
func (x *RevokeSecurityGroupEgressResponse) GetResult() *Result
func (*RevokeSecurityGroupEgressResponse) ProtoMessage ¶
func (*RevokeSecurityGroupEgressResponse) ProtoMessage()
func (*RevokeSecurityGroupEgressResponse) ProtoReflect ¶
func (x *RevokeSecurityGroupEgressResponse) ProtoReflect() protoreflect.Message
func (*RevokeSecurityGroupEgressResponse) Reset ¶
func (x *RevokeSecurityGroupEgressResponse) Reset()
func (*RevokeSecurityGroupEgressResponse) String ¶
func (x *RevokeSecurityGroupEgressResponse) String() string
type RevokeSecurityGroupIngressRequest ¶
type RevokeSecurityGroupIngressRequest struct {
// The ID of the ingress 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
}
RevokeSecurityGroupIngressRequest represents the parameters for deletes a particular ingress rule from this security group
func (*RevokeSecurityGroupIngressRequest) Descriptor
deprecated
func (*RevokeSecurityGroupIngressRequest) Descriptor() ([]byte, []int)
Deprecated: Use RevokeSecurityGroupIngressRequest.ProtoReflect.Descriptor instead.
func (*RevokeSecurityGroupIngressRequest) GetId ¶
func (x *RevokeSecurityGroupIngressRequest) GetId() int64
func (*RevokeSecurityGroupIngressRequest) GetInjectedJobId ¶
func (x *RevokeSecurityGroupIngressRequest) GetInjectedJobId() string
func (*RevokeSecurityGroupIngressRequest) GetResponseType ¶
func (x *RevokeSecurityGroupIngressRequest) GetResponseType() string
func (*RevokeSecurityGroupIngressRequest) GetStartEventId ¶
func (x *RevokeSecurityGroupIngressRequest) GetStartEventId() int64
func (*RevokeSecurityGroupIngressRequest) ProtoMessage ¶
func (*RevokeSecurityGroupIngressRequest) ProtoMessage()
func (*RevokeSecurityGroupIngressRequest) ProtoReflect ¶
func (x *RevokeSecurityGroupIngressRequest) ProtoReflect() protoreflect.Message
func (*RevokeSecurityGroupIngressRequest) Reset ¶
func (x *RevokeSecurityGroupIngressRequest) Reset()
func (*RevokeSecurityGroupIngressRequest) String ¶
func (x *RevokeSecurityGroupIngressRequest) String() string
type RevokeSecurityGroupIngressResponse ¶
type RevokeSecurityGroupIngressResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
RevokeSecurityGroupIngressResponse represents the response from deletes a particular ingress rule from this security group
func (*RevokeSecurityGroupIngressResponse) Descriptor
deprecated
func (*RevokeSecurityGroupIngressResponse) Descriptor() ([]byte, []int)
Deprecated: Use RevokeSecurityGroupIngressResponse.ProtoReflect.Descriptor instead.
func (*RevokeSecurityGroupIngressResponse) GetResult ¶
func (x *RevokeSecurityGroupIngressResponse) GetResult() *Result
func (*RevokeSecurityGroupIngressResponse) ProtoMessage ¶
func (*RevokeSecurityGroupIngressResponse) ProtoMessage()
func (*RevokeSecurityGroupIngressResponse) ProtoReflect ¶
func (x *RevokeSecurityGroupIngressResponse) ProtoReflect() protoreflect.Message
func (*RevokeSecurityGroupIngressResponse) Reset ¶
func (x *RevokeSecurityGroupIngressResponse) Reset()
func (*RevokeSecurityGroupIngressResponse) String ¶
func (x *RevokeSecurityGroupIngressResponse) String() string
type SecurityGroup ¶
type SecurityGroup struct {
// The ID of the SecurityGroup
Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
// The name of the SecurityGroup
Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
// The display name of the SecurityGroup
DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
// The description of the SecurityGroup
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
}
SecurityGroup represents a SecurityGroup Item
func (*SecurityGroup) Descriptor
deprecated
func (*SecurityGroup) Descriptor() ([]byte, []int)
Deprecated: Use SecurityGroup.ProtoReflect.Descriptor instead.
func (*SecurityGroup) GetCreated ¶
func (x *SecurityGroup) GetCreated() string
func (*SecurityGroup) GetDescription ¶
func (x *SecurityGroup) GetDescription() string
func (*SecurityGroup) GetDisplayName ¶
func (x *SecurityGroup) GetDisplayName() string
func (*SecurityGroup) GetId ¶
func (x *SecurityGroup) GetId() string
func (*SecurityGroup) GetName ¶
func (x *SecurityGroup) GetName() string
func (*SecurityGroup) ProtoMessage ¶
func (*SecurityGroup) ProtoMessage()
func (*SecurityGroup) ProtoReflect ¶
func (x *SecurityGroup) ProtoReflect() protoreflect.Message
func (*SecurityGroup) Reset ¶
func (x *SecurityGroup) Reset()
func (*SecurityGroup) String ¶
func (x *SecurityGroup) String() string
type SecuritygroupServiceClient ¶
type SecuritygroupServiceClient interface {
// AuthorizeSecurityGroupEgress Authorizes a particular egress rule for this security group
AuthorizeSecurityGroupEgress(ctx context.Context, in *AuthorizeSecurityGroupEgressRequest, opts ...grpc.CallOption) (*AuthorizeSecurityGroupEgressResponse, error)
// AuthorizeSecurityGroupIngress Authorizes a particular ingress rule for this security group
AuthorizeSecurityGroupIngress(ctx context.Context, in *AuthorizeSecurityGroupIngressRequest, opts ...grpc.CallOption) (*AuthorizeSecurityGroupIngressResponse, error)
// CreateSecurityGroup Creates a security group
CreateSecurityGroup(ctx context.Context, in *CreateSecurityGroupRequest, opts ...grpc.CallOption) (*CreateSecurityGroupResponse, error)
// DeleteSecurityGroup Deletes security group
DeleteSecurityGroup(ctx context.Context, in *DeleteSecurityGroupRequest, opts ...grpc.CallOption) (*DeleteSecurityGroupResponse, error)
// ListSecurityGroups Lists security groups
ListSecurityGroups(ctx context.Context, in *ListSecurityGroupsRequest, opts ...grpc.CallOption) (*ListSecurityGroupsResponse, error)
// RevokeSecurityGroupEgress Deletes a particular egress rule from this security group
RevokeSecurityGroupEgress(ctx context.Context, in *RevokeSecurityGroupEgressRequest, opts ...grpc.CallOption) (*RevokeSecurityGroupEgressResponse, error)
// RevokeSecurityGroupIngress Deletes a particular ingress rule from this security group
RevokeSecurityGroupIngress(ctx context.Context, in *RevokeSecurityGroupIngressRequest, opts ...grpc.CallOption) (*RevokeSecurityGroupIngressResponse, error)
// UpdateSecurityGroup Updates a security group
UpdateSecurityGroup(ctx context.Context, in *UpdateSecurityGroupRequest, opts ...grpc.CallOption) (*UpdateSecurityGroupResponse, error)
}
SecuritygroupServiceClient is the client API for SecuritygroupService 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.
SecuritygroupService provides operations for managing Securitygroups
func NewSecuritygroupServiceClient ¶
func NewSecuritygroupServiceClient(cc grpc.ClientConnInterface) SecuritygroupServiceClient
type SecuritygroupServiceServer ¶
type SecuritygroupServiceServer interface {
// AuthorizeSecurityGroupEgress Authorizes a particular egress rule for this security group
AuthorizeSecurityGroupEgress(context.Context, *AuthorizeSecurityGroupEgressRequest) (*AuthorizeSecurityGroupEgressResponse, error)
// AuthorizeSecurityGroupIngress Authorizes a particular ingress rule for this security group
AuthorizeSecurityGroupIngress(context.Context, *AuthorizeSecurityGroupIngressRequest) (*AuthorizeSecurityGroupIngressResponse, error)
// CreateSecurityGroup Creates a security group
CreateSecurityGroup(context.Context, *CreateSecurityGroupRequest) (*CreateSecurityGroupResponse, error)
// DeleteSecurityGroup Deletes security group
DeleteSecurityGroup(context.Context, *DeleteSecurityGroupRequest) (*DeleteSecurityGroupResponse, error)
// ListSecurityGroups Lists security groups
ListSecurityGroups(context.Context, *ListSecurityGroupsRequest) (*ListSecurityGroupsResponse, error)
// RevokeSecurityGroupEgress Deletes a particular egress rule from this security group
RevokeSecurityGroupEgress(context.Context, *RevokeSecurityGroupEgressRequest) (*RevokeSecurityGroupEgressResponse, error)
// RevokeSecurityGroupIngress Deletes a particular ingress rule from this security group
RevokeSecurityGroupIngress(context.Context, *RevokeSecurityGroupIngressRequest) (*RevokeSecurityGroupIngressResponse, error)
// UpdateSecurityGroup Updates a security group
UpdateSecurityGroup(context.Context, *UpdateSecurityGroupRequest) (*UpdateSecurityGroupResponse, error)
// contains filtered or unexported methods
}
SecuritygroupServiceServer is the server API for SecuritygroupService service. All implementations must embed UnimplementedSecuritygroupServiceServer for forward compatibility.
SecuritygroupService provides operations for managing Securitygroups
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) GetDisplayText ¶
func (*Success) GetSuccess ¶
func (*Success) ProtoMessage ¶
func (*Success) ProtoMessage()
func (*Success) ProtoReflect ¶
func (x *Success) ProtoReflect() protoreflect.Message
type UnimplementedSecuritygroupServiceServer ¶
type UnimplementedSecuritygroupServiceServer struct{}
UnimplementedSecuritygroupServiceServer 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 (UnimplementedSecuritygroupServiceServer) AuthorizeSecurityGroupEgress ¶
func (UnimplementedSecuritygroupServiceServer) AuthorizeSecurityGroupEgress(context.Context, *AuthorizeSecurityGroupEgressRequest) (*AuthorizeSecurityGroupEgressResponse, error)
func (UnimplementedSecuritygroupServiceServer) AuthorizeSecurityGroupIngress ¶
func (UnimplementedSecuritygroupServiceServer) AuthorizeSecurityGroupIngress(context.Context, *AuthorizeSecurityGroupIngressRequest) (*AuthorizeSecurityGroupIngressResponse, error)
func (UnimplementedSecuritygroupServiceServer) CreateSecurityGroup ¶
func (UnimplementedSecuritygroupServiceServer) CreateSecurityGroup(context.Context, *CreateSecurityGroupRequest) (*CreateSecurityGroupResponse, error)
func (UnimplementedSecuritygroupServiceServer) DeleteSecurityGroup ¶
func (UnimplementedSecuritygroupServiceServer) DeleteSecurityGroup(context.Context, *DeleteSecurityGroupRequest) (*DeleteSecurityGroupResponse, error)
func (UnimplementedSecuritygroupServiceServer) ListSecurityGroups ¶
func (UnimplementedSecuritygroupServiceServer) ListSecurityGroups(context.Context, *ListSecurityGroupsRequest) (*ListSecurityGroupsResponse, error)
func (UnimplementedSecuritygroupServiceServer) RevokeSecurityGroupEgress ¶
func (UnimplementedSecuritygroupServiceServer) RevokeSecurityGroupEgress(context.Context, *RevokeSecurityGroupEgressRequest) (*RevokeSecurityGroupEgressResponse, error)
func (UnimplementedSecuritygroupServiceServer) RevokeSecurityGroupIngress ¶
func (UnimplementedSecuritygroupServiceServer) RevokeSecurityGroupIngress(context.Context, *RevokeSecurityGroupIngressRequest) (*RevokeSecurityGroupIngressResponse, error)
func (UnimplementedSecuritygroupServiceServer) UpdateSecurityGroup ¶
func (UnimplementedSecuritygroupServiceServer) UpdateSecurityGroup(context.Context, *UpdateSecurityGroupRequest) (*UpdateSecurityGroupResponse, error)
type UnsafeSecuritygroupServiceServer ¶
type UnsafeSecuritygroupServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSecuritygroupServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SecuritygroupServiceServer will result in compilation errors.
type UpdateSecurityGroupRequest ¶
type UpdateSecurityGroupRequest struct {
// The ID of the security group.
Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
// The new name of the security group.
Name *string `protobuf:"bytes,2,opt,name=name" json:"name,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,3,opt,name=custom_id,json=customId" json:"custom_id,omitempty"`
ResponseType *string `protobuf:"bytes,4,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
// contains filtered or unexported fields
}
UpdateSecurityGroupRequest represents the parameters for updates a security group
func (*UpdateSecurityGroupRequest) Descriptor
deprecated
func (*UpdateSecurityGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSecurityGroupRequest.ProtoReflect.Descriptor instead.
func (*UpdateSecurityGroupRequest) GetCustomId ¶
func (x *UpdateSecurityGroupRequest) GetCustomId() string
func (*UpdateSecurityGroupRequest) GetId ¶
func (x *UpdateSecurityGroupRequest) GetId() int64
func (*UpdateSecurityGroupRequest) GetName ¶
func (x *UpdateSecurityGroupRequest) GetName() string
func (*UpdateSecurityGroupRequest) GetResponseType ¶
func (x *UpdateSecurityGroupRequest) GetResponseType() string
func (*UpdateSecurityGroupRequest) ProtoMessage ¶
func (*UpdateSecurityGroupRequest) ProtoMessage()
func (*UpdateSecurityGroupRequest) ProtoReflect ¶
func (x *UpdateSecurityGroupRequest) ProtoReflect() protoreflect.Message
func (*UpdateSecurityGroupRequest) Reset ¶
func (x *UpdateSecurityGroupRequest) Reset()
func (*UpdateSecurityGroupRequest) String ¶
func (x *UpdateSecurityGroupRequest) String() string
type UpdateSecurityGroupResponse ¶
type UpdateSecurityGroupResponse struct {
// The Result
Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
// contains filtered or unexported fields
}
UpdateSecurityGroupResponse represents the response from updates a security group
func (*UpdateSecurityGroupResponse) Descriptor
deprecated
func (*UpdateSecurityGroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSecurityGroupResponse.ProtoReflect.Descriptor instead.
func (*UpdateSecurityGroupResponse) GetResult ¶
func (x *UpdateSecurityGroupResponse) GetResult() *Result
func (*UpdateSecurityGroupResponse) ProtoMessage ¶
func (*UpdateSecurityGroupResponse) ProtoMessage()
func (*UpdateSecurityGroupResponse) ProtoReflect ¶
func (x *UpdateSecurityGroupResponse) ProtoReflect() protoreflect.Message
func (*UpdateSecurityGroupResponse) Reset ¶
func (x *UpdateSecurityGroupResponse) Reset()
func (*UpdateSecurityGroupResponse) String ¶
func (x *UpdateSecurityGroupResponse) String() string