zonev1

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 (
	ZoneService_CreateZone_FullMethodName                = "/cloudstack.management.zone.v1.ZoneService/CreateZone"
	ZoneService_DeleteZone_FullMethodName                = "/cloudstack.management.zone.v1.ZoneService/DeleteZone"
	ZoneService_ListZones_FullMethodName                 = "/cloudstack.management.zone.v1.ZoneService/ListZones"
	ZoneService_ListZonesCmdByAdmin_FullMethodName       = "/cloudstack.management.zone.v1.ZoneService/ListZonesCmdByAdmin"
	ZoneService_MarkDefaultZoneForAccount_FullMethodName = "/cloudstack.management.zone.v1.ZoneService/MarkDefaultZoneForAccount"
	ZoneService_UpdateZone_FullMethodName                = "/cloudstack.management.zone.v1.ZoneService/UpdateZone"
)

Variables

View Source
var File_cloudstack_management_zone_v1_zone_gen_proto protoreflect.FileDescriptor
View Source
var ZoneService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cloudstack.management.zone.v1.ZoneService",
	HandlerType: (*ZoneServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateZone",
			Handler:    _ZoneService_CreateZone_Handler,
		},
		{
			MethodName: "DeleteZone",
			Handler:    _ZoneService_DeleteZone_Handler,
		},
		{
			MethodName: "ListZones",
			Handler:    _ZoneService_ListZones_Handler,
		},
		{
			MethodName: "ListZonesCmdByAdmin",
			Handler:    _ZoneService_ListZonesCmdByAdmin_Handler,
		},
		{
			MethodName: "MarkDefaultZoneForAccount",
			Handler:    _ZoneService_MarkDefaultZoneForAccount_Handler,
		},
		{
			MethodName: "UpdateZone",
			Handler:    _ZoneService_UpdateZone_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cloudstack/management/zone/v1/zone.gen.proto",
}

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

Functions

func RegisterZoneServiceServer

func RegisterZoneServiceServer(s grpc.ServiceRegistrar, srv ZoneServiceServer)

Types

type CreateZoneRequest

type CreateZoneRequest struct {

	// the first DNS for the Zone
	Dns1 *string `protobuf:"bytes,1,opt,name=dns1" json:"dns1,omitempty"`
	// the second DNS for the Zone
	Dns2 *string `protobuf:"bytes,2,opt,name=dns2" json:"dns2,omitempty"`
	// the first DNS for IPv6 network in the Zone
	Ip6Dns1 *string `protobuf:"bytes,3,opt,name=ip6_dns1,json=ip6Dns1" json:"ip6_dns1,omitempty"`
	// the second DNS for IPv6 network in the Zone
	Ip6Dns2 *string `protobuf:"bytes,4,opt,name=ip6_dns2,json=ip6Dns2" json:"ip6_dns2,omitempty"`
	// the guest CIDR address for the Zone
	GuestCidrAddress *string `protobuf:"bytes,5,opt,name=guest_cidr_address,json=guestCidrAddress" json:"guest_cidr_address,omitempty"`
	// the first internal DNS for the Zone
	InternalDns1 *string `protobuf:"bytes,6,opt,name=internal_dns1,json=internalDns1" json:"internal_dns1,omitempty"`
	// the second internal DNS for the Zone
	InternalDns2 *string `protobuf:"bytes,7,opt,name=internal_dns2,json=internalDns2" json:"internal_dns2,omitempty"`
	// the name of the Zone
	ZoneName *string `protobuf:"bytes,8,opt,name=zone_name,json=zoneName" json:"zone_name,omitempty"`
	// Network domain name for the networks in the zone
	Domain *string `protobuf:"bytes,9,opt,name=domain" json:"domain,omitempty"`
	// the ID of the containing domain, null for public zones
	DomainId *int64 `protobuf:"varint,10,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
	// network type of the zone, can be Basic or Advanced
	NetworkType *string `protobuf:"bytes,11,opt,name=network_type,json=networkType" json:"network_type,omitempty"`
	// Allocation state of this Zone for allocation of new resources
	AllocationState *string `protobuf:"bytes,12,opt,name=allocation_state,json=allocationState" json:"allocation_state,omitempty"`
	// true if network is security group enabled, false otherwise
	Securitygroupenabled *bool `protobuf:"varint,13,opt,name=securitygroupenabled" json:"securitygroupenabled,omitempty"`
	// true if local storage offering enabled, false otherwise
	LocalStorageEnabled *bool `protobuf:"varint,14,opt,name=local_storage_enabled,json=localStorageEnabled" json:"local_storage_enabled,omitempty"`
	// true if the zone is an edge zone, false otherwise
	IsEdge       *bool   `protobuf:"varint,15,opt,name=is_edge,json=isEdge" json:"is_edge,omitempty"`
	ResponseType *string `protobuf:"bytes,16,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

CreateZoneRequest represents the parameters for creates a zone.

func (*CreateZoneRequest) Descriptor deprecated

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

Deprecated: Use CreateZoneRequest.ProtoReflect.Descriptor instead.

func (*CreateZoneRequest) GetAllocationState

func (x *CreateZoneRequest) GetAllocationState() string

func (*CreateZoneRequest) GetDns1

func (x *CreateZoneRequest) GetDns1() string

func (*CreateZoneRequest) GetDns2

func (x *CreateZoneRequest) GetDns2() string

func (*CreateZoneRequest) GetDomain

func (x *CreateZoneRequest) GetDomain() string

func (*CreateZoneRequest) GetDomainId

func (x *CreateZoneRequest) GetDomainId() int64

func (*CreateZoneRequest) GetGuestCidrAddress

func (x *CreateZoneRequest) GetGuestCidrAddress() string

func (*CreateZoneRequest) GetInternalDns1

func (x *CreateZoneRequest) GetInternalDns1() string

func (*CreateZoneRequest) GetInternalDns2

func (x *CreateZoneRequest) GetInternalDns2() string

func (*CreateZoneRequest) GetIp6Dns1

func (x *CreateZoneRequest) GetIp6Dns1() string

func (*CreateZoneRequest) GetIp6Dns2

func (x *CreateZoneRequest) GetIp6Dns2() string

func (*CreateZoneRequest) GetIsEdge

func (x *CreateZoneRequest) GetIsEdge() bool

func (*CreateZoneRequest) GetLocalStorageEnabled

func (x *CreateZoneRequest) GetLocalStorageEnabled() bool

func (*CreateZoneRequest) GetNetworkType

func (x *CreateZoneRequest) GetNetworkType() string

func (*CreateZoneRequest) GetResponseType

func (x *CreateZoneRequest) GetResponseType() string

func (*CreateZoneRequest) GetSecuritygroupenabled

func (x *CreateZoneRequest) GetSecuritygroupenabled() bool

func (*CreateZoneRequest) GetZoneName

func (x *CreateZoneRequest) GetZoneName() string

func (*CreateZoneRequest) ProtoMessage

func (*CreateZoneRequest) ProtoMessage()

func (*CreateZoneRequest) ProtoReflect

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

func (*CreateZoneRequest) Reset

func (x *CreateZoneRequest) Reset()

func (*CreateZoneRequest) String

func (x *CreateZoneRequest) String() string

type CreateZoneResponse

type CreateZoneResponse struct {

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

CreateZoneResponse represents the response from creates a zone.

func (*CreateZoneResponse) Descriptor deprecated

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

Deprecated: Use CreateZoneResponse.ProtoReflect.Descriptor instead.

func (*CreateZoneResponse) GetResult

func (x *CreateZoneResponse) GetResult() *Result

func (*CreateZoneResponse) ProtoMessage

func (*CreateZoneResponse) ProtoMessage()

func (*CreateZoneResponse) ProtoReflect

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

func (*CreateZoneResponse) Reset

func (x *CreateZoneResponse) Reset()

func (*CreateZoneResponse) String

func (x *CreateZoneResponse) String() string

type DeleteZoneRequest

type DeleteZoneRequest struct {

	// the ID of the Zone
	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
}

DeleteZoneRequest represents the parameters for deletes a zone.

func (*DeleteZoneRequest) Descriptor deprecated

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

Deprecated: Use DeleteZoneRequest.ProtoReflect.Descriptor instead.

func (*DeleteZoneRequest) GetId

func (x *DeleteZoneRequest) GetId() int64

func (*DeleteZoneRequest) GetResponseType

func (x *DeleteZoneRequest) GetResponseType() string

func (*DeleteZoneRequest) ProtoMessage

func (*DeleteZoneRequest) ProtoMessage()

func (*DeleteZoneRequest) ProtoReflect

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

func (*DeleteZoneRequest) Reset

func (x *DeleteZoneRequest) Reset()

func (*DeleteZoneRequest) String

func (x *DeleteZoneRequest) String() string

type DeleteZoneResponse

type DeleteZoneResponse struct {

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

DeleteZoneResponse represents the response from deletes a zone.

func (*DeleteZoneResponse) Descriptor deprecated

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

Deprecated: Use DeleteZoneResponse.ProtoReflect.Descriptor instead.

func (*DeleteZoneResponse) GetResult

func (x *DeleteZoneResponse) GetResult() *Result

func (*DeleteZoneResponse) ProtoMessage

func (*DeleteZoneResponse) ProtoMessage()

func (*DeleteZoneResponse) ProtoReflect

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

func (*DeleteZoneResponse) Reset

func (x *DeleteZoneResponse) Reset()

func (*DeleteZoneResponse) String

func (x *DeleteZoneResponse) String() string

type ListZonesCmdByAdminRequest

type ListZonesCmdByAdminRequest struct {

	// the ID of the zone
	Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// the IDs of the zones, mutually exclusive with id
	Ids []string `protobuf:"bytes,2,rep,name=ids" json:"ids,omitempty"`
	// true if you want to retrieve all available Zones. False if you only want to return the Zones from which you have at least one VM. Default is false.
	Available *bool `protobuf:"varint,3,opt,name=available" json:"available,omitempty"`
	// the ID of the domain associated with the zone
	DomainId *int64 `protobuf:"varint,4,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
	// the name of the zone
	Name *string `protobuf:"bytes,5,opt,name=name" json:"name,omitempty"`
	// the network type of the zone that the virtual machine belongs to
	NetworkType *string `protobuf:"bytes,6,opt,name=network_type,json=networkType" json:"network_type,omitempty"`
	// flag to display the capacity of the zones
	ShowCapacities *bool `protobuf:"varint,7,opt,name=show_capacities,json=showCapacities" json:"show_capacities,omitempty"`
	// List zones by resource tags (key/value pairs)
	Tags map[string]string `` /* 128-byte string literal not displayed */
	// flag to display the resource image for the zones
	ShowIcon *bool `protobuf:"varint,9,opt,name=show_icon,json=showIcon" json:"show_icon,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
}

ListZonesCmdByAdminRequest represents the parameters for lists zones

func (*ListZonesCmdByAdminRequest) Descriptor deprecated

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

Deprecated: Use ListZonesCmdByAdminRequest.ProtoReflect.Descriptor instead.

func (*ListZonesCmdByAdminRequest) GetAvailable

func (x *ListZonesCmdByAdminRequest) GetAvailable() bool

func (*ListZonesCmdByAdminRequest) GetDomainId

func (x *ListZonesCmdByAdminRequest) GetDomainId() int64

func (*ListZonesCmdByAdminRequest) GetId

func (x *ListZonesCmdByAdminRequest) GetId() int64

func (*ListZonesCmdByAdminRequest) GetIds

func (x *ListZonesCmdByAdminRequest) GetIds() []string

func (*ListZonesCmdByAdminRequest) GetKeyword

func (x *ListZonesCmdByAdminRequest) GetKeyword() string

func (*ListZonesCmdByAdminRequest) GetName

func (x *ListZonesCmdByAdminRequest) GetName() string

func (*ListZonesCmdByAdminRequest) GetNetworkType

func (x *ListZonesCmdByAdminRequest) GetNetworkType() string

func (*ListZonesCmdByAdminRequest) GetPage

func (x *ListZonesCmdByAdminRequest) GetPage() int32

func (*ListZonesCmdByAdminRequest) GetPageSize

func (x *ListZonesCmdByAdminRequest) GetPageSize() int32

func (*ListZonesCmdByAdminRequest) GetResponseType

func (x *ListZonesCmdByAdminRequest) GetResponseType() string

func (*ListZonesCmdByAdminRequest) GetShowCapacities

func (x *ListZonesCmdByAdminRequest) GetShowCapacities() bool

func (*ListZonesCmdByAdminRequest) GetShowIcon

func (x *ListZonesCmdByAdminRequest) GetShowIcon() bool

func (*ListZonesCmdByAdminRequest) GetTags

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

func (*ListZonesCmdByAdminRequest) ProtoMessage

func (*ListZonesCmdByAdminRequest) ProtoMessage()

func (*ListZonesCmdByAdminRequest) ProtoReflect

func (*ListZonesCmdByAdminRequest) Reset

func (x *ListZonesCmdByAdminRequest) Reset()

func (*ListZonesCmdByAdminRequest) String

func (x *ListZonesCmdByAdminRequest) String() string

type ListZonesCmdByAdminResponse

type ListZonesCmdByAdminResponse struct {

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

ListZonesCmdByAdminResponse represents the response from lists zones

func (*ListZonesCmdByAdminResponse) Descriptor deprecated

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

Deprecated: Use ListZonesCmdByAdminResponse.ProtoReflect.Descriptor instead.

func (*ListZonesCmdByAdminResponse) GetItems

func (x *ListZonesCmdByAdminResponse) GetItems() []*Zone

func (*ListZonesCmdByAdminResponse) GetTotalCount

func (x *ListZonesCmdByAdminResponse) GetTotalCount() int32

func (*ListZonesCmdByAdminResponse) ProtoMessage

func (*ListZonesCmdByAdminResponse) ProtoMessage()

func (*ListZonesCmdByAdminResponse) ProtoReflect

func (*ListZonesCmdByAdminResponse) Reset

func (x *ListZonesCmdByAdminResponse) Reset()

func (*ListZonesCmdByAdminResponse) String

func (x *ListZonesCmdByAdminResponse) String() string

type ListZonesRequest

type ListZonesRequest struct {

	// Whether to run this operation as an administrator
	RunAsAdmin *bool `protobuf:"varint,1,opt,name=run_as_admin,json=runAsAdmin" json:"run_as_admin,omitempty"`
	// the ID of the zone
	Id *int64 `protobuf:"varint,2,opt,name=id" json:"id,omitempty"`
	// the IDs of the zones, mutually exclusive with id
	Ids []string `protobuf:"bytes,3,rep,name=ids" json:"ids,omitempty"`
	// true if you want to retrieve all available Zones. False if you only want to return the Zones from which you have at least one VM. Default is false.
	Available *bool `protobuf:"varint,4,opt,name=available" json:"available,omitempty"`
	// the ID of the domain associated with the zone
	DomainId *int64 `protobuf:"varint,5,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
	// the name of the zone
	Name *string `protobuf:"bytes,6,opt,name=name" json:"name,omitempty"`
	// the network type of the zone that the virtual machine belongs to
	NetworkType *string `protobuf:"bytes,7,opt,name=network_type,json=networkType" json:"network_type,omitempty"`
	// flag to display the capacity of the zones
	ShowCapacities *bool `protobuf:"varint,8,opt,name=show_capacities,json=showCapacities" json:"show_capacities,omitempty"`
	// List zones by resource tags (key/value pairs)
	Tags map[string]string `` /* 128-byte string literal not displayed */
	// flag to display the resource image for the zones
	ShowIcon *bool `protobuf:"varint,10,opt,name=show_icon,json=showIcon" json:"show_icon,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
}

ListZonesRequest represents the parameters for lists zones

func (*ListZonesRequest) Descriptor deprecated

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

Deprecated: Use ListZonesRequest.ProtoReflect.Descriptor instead.

func (*ListZonesRequest) GetAvailable

func (x *ListZonesRequest) GetAvailable() bool

func (*ListZonesRequest) GetDomainId

func (x *ListZonesRequest) GetDomainId() int64

func (*ListZonesRequest) GetId

func (x *ListZonesRequest) GetId() int64

func (*ListZonesRequest) GetIds

func (x *ListZonesRequest) GetIds() []string

func (*ListZonesRequest) GetKeyword

func (x *ListZonesRequest) GetKeyword() string

func (*ListZonesRequest) GetName

func (x *ListZonesRequest) GetName() string

func (*ListZonesRequest) GetNetworkType

func (x *ListZonesRequest) GetNetworkType() string

func (*ListZonesRequest) GetPage

func (x *ListZonesRequest) GetPage() int32

func (*ListZonesRequest) GetPageSize

func (x *ListZonesRequest) GetPageSize() int32

func (*ListZonesRequest) GetResponseType

func (x *ListZonesRequest) GetResponseType() string

func (*ListZonesRequest) GetRunAsAdmin

func (x *ListZonesRequest) GetRunAsAdmin() bool

func (*ListZonesRequest) GetShowCapacities

func (x *ListZonesRequest) GetShowCapacities() bool

func (*ListZonesRequest) GetShowIcon

func (x *ListZonesRequest) GetShowIcon() bool

func (*ListZonesRequest) GetTags

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

func (*ListZonesRequest) ProtoMessage

func (*ListZonesRequest) ProtoMessage()

func (*ListZonesRequest) ProtoReflect

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

func (*ListZonesRequest) Reset

func (x *ListZonesRequest) Reset()

func (*ListZonesRequest) String

func (x *ListZonesRequest) String() string

type ListZonesResponse

type ListZonesResponse struct {

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

ListZonesResponse represents the response from lists zones

func (*ListZonesResponse) Descriptor deprecated

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

Deprecated: Use ListZonesResponse.ProtoReflect.Descriptor instead.

func (*ListZonesResponse) GetItems

func (x *ListZonesResponse) GetItems() []*Zone

func (*ListZonesResponse) GetTotalCount

func (x *ListZonesResponse) GetTotalCount() int32

func (*ListZonesResponse) ProtoMessage

func (*ListZonesResponse) ProtoMessage()

func (*ListZonesResponse) ProtoReflect

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

func (*ListZonesResponse) Reset

func (x *ListZonesResponse) Reset()

func (*ListZonesResponse) String

func (x *ListZonesResponse) String() string

type MarkDefaultZoneForAccountRequest

type MarkDefaultZoneForAccountRequest struct {

	// Name of the account that is to be marked.
	AccountName *string `protobuf:"bytes,1,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
	// Marks the account that belongs to the specified domain.
	DomainId *int64 `protobuf:"varint,2,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
	// The Zone ID with which the account is to be marked.
	DefaultZoneId *int64  `protobuf:"varint,3,opt,name=default_zone_id,json=defaultZoneId" json:"default_zone_id,omitempty"`
	StartEventId  *int64  `protobuf:"varint,4,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,5,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,6,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

MarkDefaultZoneForAccountRequest represents the parameters for marks a default zone for this account

func (*MarkDefaultZoneForAccountRequest) Descriptor deprecated

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

Deprecated: Use MarkDefaultZoneForAccountRequest.ProtoReflect.Descriptor instead.

func (*MarkDefaultZoneForAccountRequest) GetAccountName

func (x *MarkDefaultZoneForAccountRequest) GetAccountName() string

func (*MarkDefaultZoneForAccountRequest) GetDefaultZoneId

func (x *MarkDefaultZoneForAccountRequest) GetDefaultZoneId() int64

func (*MarkDefaultZoneForAccountRequest) GetDomainId

func (x *MarkDefaultZoneForAccountRequest) GetDomainId() int64

func (*MarkDefaultZoneForAccountRequest) GetInjectedJobId

func (x *MarkDefaultZoneForAccountRequest) GetInjectedJobId() string

func (*MarkDefaultZoneForAccountRequest) GetResponseType

func (x *MarkDefaultZoneForAccountRequest) GetResponseType() string

func (*MarkDefaultZoneForAccountRequest) GetStartEventId

func (x *MarkDefaultZoneForAccountRequest) GetStartEventId() int64

func (*MarkDefaultZoneForAccountRequest) ProtoMessage

func (*MarkDefaultZoneForAccountRequest) ProtoMessage()

func (*MarkDefaultZoneForAccountRequest) ProtoReflect

func (*MarkDefaultZoneForAccountRequest) Reset

func (*MarkDefaultZoneForAccountRequest) String

type MarkDefaultZoneForAccountResponse

type MarkDefaultZoneForAccountResponse struct {

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

MarkDefaultZoneForAccountResponse represents the response from marks a default zone for this account

func (*MarkDefaultZoneForAccountResponse) Descriptor deprecated

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

Deprecated: Use MarkDefaultZoneForAccountResponse.ProtoReflect.Descriptor instead.

func (*MarkDefaultZoneForAccountResponse) GetResult

func (x *MarkDefaultZoneForAccountResponse) GetResult() *Result

func (*MarkDefaultZoneForAccountResponse) ProtoMessage

func (*MarkDefaultZoneForAccountResponse) ProtoMessage()

func (*MarkDefaultZoneForAccountResponse) ProtoReflect

func (*MarkDefaultZoneForAccountResponse) Reset

func (*MarkDefaultZoneForAccountResponse) 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 UnimplementedZoneServiceServer

type UnimplementedZoneServiceServer struct{}

UnimplementedZoneServiceServer 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 (UnimplementedZoneServiceServer) CreateZone

func (UnimplementedZoneServiceServer) DeleteZone

func (UnimplementedZoneServiceServer) ListZones

func (UnimplementedZoneServiceServer) UpdateZone

type UnsafeZoneServiceServer

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

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

type UpdateZoneRequest

type UpdateZoneRequest struct {

	// the first DNS for the Zone
	Dns1 *string `protobuf:"bytes,1,opt,name=dns1" json:"dns1,omitempty"`
	// the second DNS for the Zone
	Dns2 *string `protobuf:"bytes,2,opt,name=dns2" json:"dns2,omitempty"`
	// the first DNS for IPv6 network in the Zone
	Ip6Dns1 *string `protobuf:"bytes,3,opt,name=ip6_dns1,json=ip6Dns1" json:"ip6_dns1,omitempty"`
	// the second DNS for IPv6 network in the Zone
	Ip6Dns2 *string `protobuf:"bytes,4,opt,name=ip6_dns2,json=ip6Dns2" json:"ip6_dns2,omitempty"`
	// the guest CIDR address for the Zone
	GuestCidrAddress *string `protobuf:"bytes,5,opt,name=guest_cidr_address,json=guestCidrAddress" json:"guest_cidr_address,omitempty"`
	// the ID of the Zone
	Id *int64 `protobuf:"varint,6,opt,name=id" json:"id,omitempty"`
	// the first internal DNS for the Zone
	InternalDns1 *string `protobuf:"bytes,7,opt,name=internal_dns1,json=internalDns1" json:"internal_dns1,omitempty"`
	// the second internal DNS for the Zone
	InternalDns2 *string `protobuf:"bytes,8,opt,name=internal_dns2,json=internalDns2" json:"internal_dns2,omitempty"`
	// the name of the Zone
	ZoneName *string `protobuf:"bytes,9,opt,name=zone_name,json=zoneName" json:"zone_name,omitempty"`
	// updates a private zone to public if set, but not vice-versa
	IsPublic *bool `protobuf:"varint,10,opt,name=is_public,json=isPublic" json:"is_public,omitempty"`
	// Allocation state of this cluster for allocation of new resources
	AllocationState *string `protobuf:"bytes,11,opt,name=allocation_state,json=allocationState" json:"allocation_state,omitempty"`
	// the details for the Zone
	Details map[string]string `` /* 135-byte string literal not displayed */
	// the dhcp Provider for the Zone
	DhcpProvider *string `protobuf:"bytes,13,opt,name=dhcp_provider,json=dhcpProvider" json:"dhcp_provider,omitempty"`
	// Network domain name for the networks in the zone; empty string will update domain with NULL value
	Domain *string `protobuf:"bytes,14,opt,name=domain" json:"domain,omitempty"`
	// the dns search order list
	DnsSearchOrder []string `protobuf:"bytes,15,rep,name=dns_search_order,json=dnsSearchOrder" json:"dns_search_order,omitempty"`
	// true if local storage offering enabled, false otherwise
	LocalStorageEnabled *bool `protobuf:"varint,16,opt,name=local_storage_enabled,json=localStorageEnabled" json:"local_storage_enabled,omitempty"`
	// sort key of the zone, integer
	SortKey      *int32  `protobuf:"varint,17,opt,name=sort_key,json=sortKey" json:"sort_key,omitempty"`
	ResponseType *string `protobuf:"bytes,18,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

UpdateZoneRequest represents the parameters for updates a zone.

func (*UpdateZoneRequest) Descriptor deprecated

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

Deprecated: Use UpdateZoneRequest.ProtoReflect.Descriptor instead.

func (*UpdateZoneRequest) GetAllocationState

func (x *UpdateZoneRequest) GetAllocationState() string

func (*UpdateZoneRequest) GetDetails

func (x *UpdateZoneRequest) GetDetails() map[string]string

func (*UpdateZoneRequest) GetDhcpProvider

func (x *UpdateZoneRequest) GetDhcpProvider() string

func (*UpdateZoneRequest) GetDns1

func (x *UpdateZoneRequest) GetDns1() string

func (*UpdateZoneRequest) GetDns2

func (x *UpdateZoneRequest) GetDns2() string

func (*UpdateZoneRequest) GetDnsSearchOrder

func (x *UpdateZoneRequest) GetDnsSearchOrder() []string

func (*UpdateZoneRequest) GetDomain

func (x *UpdateZoneRequest) GetDomain() string

func (*UpdateZoneRequest) GetGuestCidrAddress

func (x *UpdateZoneRequest) GetGuestCidrAddress() string

func (*UpdateZoneRequest) GetId

func (x *UpdateZoneRequest) GetId() int64

func (*UpdateZoneRequest) GetInternalDns1

func (x *UpdateZoneRequest) GetInternalDns1() string

func (*UpdateZoneRequest) GetInternalDns2

func (x *UpdateZoneRequest) GetInternalDns2() string

func (*UpdateZoneRequest) GetIp6Dns1

func (x *UpdateZoneRequest) GetIp6Dns1() string

func (*UpdateZoneRequest) GetIp6Dns2

func (x *UpdateZoneRequest) GetIp6Dns2() string

func (*UpdateZoneRequest) GetIsPublic

func (x *UpdateZoneRequest) GetIsPublic() bool

func (*UpdateZoneRequest) GetLocalStorageEnabled

func (x *UpdateZoneRequest) GetLocalStorageEnabled() bool

func (*UpdateZoneRequest) GetResponseType

func (x *UpdateZoneRequest) GetResponseType() string

func (*UpdateZoneRequest) GetSortKey

func (x *UpdateZoneRequest) GetSortKey() int32

func (*UpdateZoneRequest) GetZoneName

func (x *UpdateZoneRequest) GetZoneName() string

func (*UpdateZoneRequest) ProtoMessage

func (*UpdateZoneRequest) ProtoMessage()

func (*UpdateZoneRequest) ProtoReflect

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

func (*UpdateZoneRequest) Reset

func (x *UpdateZoneRequest) Reset()

func (*UpdateZoneRequest) String

func (x *UpdateZoneRequest) String() string

type UpdateZoneResponse

type UpdateZoneResponse struct {

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

UpdateZoneResponse represents the response from updates a zone.

func (*UpdateZoneResponse) Descriptor deprecated

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

Deprecated: Use UpdateZoneResponse.ProtoReflect.Descriptor instead.

func (*UpdateZoneResponse) GetResult

func (x *UpdateZoneResponse) GetResult() *Result

func (*UpdateZoneResponse) ProtoMessage

func (*UpdateZoneResponse) ProtoMessage()

func (*UpdateZoneResponse) ProtoReflect

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

func (*UpdateZoneResponse) Reset

func (x *UpdateZoneResponse) Reset()

func (*UpdateZoneResponse) String

func (x *UpdateZoneResponse) String() string

type Zone

type Zone struct {

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

Zone represents a Zone Item

func (*Zone) Descriptor deprecated

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

Deprecated: Use Zone.ProtoReflect.Descriptor instead.

func (*Zone) GetCreated

func (x *Zone) GetCreated() string

func (*Zone) GetDescription

func (x *Zone) GetDescription() string

func (*Zone) GetDisplayName

func (x *Zone) GetDisplayName() string

func (*Zone) GetId

func (x *Zone) GetId() string

func (*Zone) GetName

func (x *Zone) GetName() string

func (*Zone) ProtoMessage

func (*Zone) ProtoMessage()

func (*Zone) ProtoReflect

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

func (*Zone) Reset

func (x *Zone) Reset()

func (*Zone) String

func (x *Zone) String() string

type ZoneServiceClient

type ZoneServiceClient interface {
	// CreateZone Creates a Zone.
	CreateZone(ctx context.Context, in *CreateZoneRequest, opts ...grpc.CallOption) (*CreateZoneResponse, error)
	// DeleteZone Deletes a Zone.
	DeleteZone(ctx context.Context, in *DeleteZoneRequest, opts ...grpc.CallOption) (*DeleteZoneResponse, error)
	// ListZones Lists zones
	ListZones(ctx context.Context, in *ListZonesRequest, opts ...grpc.CallOption) (*ListZonesResponse, error)
	// ListZonesCmdByAdmin Lists zones
	ListZonesCmdByAdmin(ctx context.Context, in *ListZonesCmdByAdminRequest, opts ...grpc.CallOption) (*ListZonesCmdByAdminResponse, error)
	// MarkDefaultZoneForAccount Marks a default zone for this account
	MarkDefaultZoneForAccount(ctx context.Context, in *MarkDefaultZoneForAccountRequest, opts ...grpc.CallOption) (*MarkDefaultZoneForAccountResponse, error)
	// UpdateZone Updates a Zone.
	UpdateZone(ctx context.Context, in *UpdateZoneRequest, opts ...grpc.CallOption) (*UpdateZoneResponse, error)
}

ZoneServiceClient is the client API for ZoneService 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.

ZoneService provides operations for managing Zones

type ZoneServiceServer

type ZoneServiceServer interface {
	// CreateZone Creates a Zone.
	CreateZone(context.Context, *CreateZoneRequest) (*CreateZoneResponse, error)
	// DeleteZone Deletes a Zone.
	DeleteZone(context.Context, *DeleteZoneRequest) (*DeleteZoneResponse, error)
	// ListZones Lists zones
	ListZones(context.Context, *ListZonesRequest) (*ListZonesResponse, error)
	// ListZonesCmdByAdmin Lists zones
	ListZonesCmdByAdmin(context.Context, *ListZonesCmdByAdminRequest) (*ListZonesCmdByAdminResponse, error)
	// MarkDefaultZoneForAccount Marks a default zone for this account
	MarkDefaultZoneForAccount(context.Context, *MarkDefaultZoneForAccountRequest) (*MarkDefaultZoneForAccountResponse, error)
	// UpdateZone Updates a Zone.
	UpdateZone(context.Context, *UpdateZoneRequest) (*UpdateZoneResponse, error)
	// contains filtered or unexported methods
}

ZoneServiceServer is the server API for ZoneService service. All implementations must embed UnimplementedZoneServiceServer for forward compatibility.

ZoneService provides operations for managing Zones

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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