templatev1

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 (
	TemplateService_CopyTemplate_FullMethodName                      = "/cloudstack.management.template.v1.TemplateService/CopyTemplate"
	TemplateService_CopyTemplateCmdByAdmin_FullMethodName            = "/cloudstack.management.template.v1.TemplateService/CopyTemplateCmdByAdmin"
	TemplateService_CreateTemplate_FullMethodName                    = "/cloudstack.management.template.v1.TemplateService/CreateTemplate"
	TemplateService_CreateTemplateCmdByAdmin_FullMethodName          = "/cloudstack.management.template.v1.TemplateService/CreateTemplateCmdByAdmin"
	TemplateService_DeleteTemplate_FullMethodName                    = "/cloudstack.management.template.v1.TemplateService/DeleteTemplate"
	TemplateService_DeleteVnfTemplate_FullMethodName                 = "/cloudstack.management.template.v1.TemplateService/DeleteVnfTemplate"
	TemplateService_ExtractTemplate_FullMethodName                   = "/cloudstack.management.template.v1.TemplateService/ExtractTemplate"
	TemplateService_GetUploadParamsForTemplate_FullMethodName        = "/cloudstack.management.template.v1.TemplateService/GetUploadParamsForTemplate"
	TemplateService_ListTemplatePermissions_FullMethodName           = "/cloudstack.management.template.v1.TemplateService/ListTemplatePermissions"
	TemplateService_ListTemplatePermissionsCmdByAdmin_FullMethodName = "/cloudstack.management.template.v1.TemplateService/ListTemplatePermissionsCmdByAdmin"
	TemplateService_ListTemplates_FullMethodName                     = "/cloudstack.management.template.v1.TemplateService/ListTemplates"
	TemplateService_ListTemplatesCmdByAdmin_FullMethodName           = "/cloudstack.management.template.v1.TemplateService/ListTemplatesCmdByAdmin"
	TemplateService_ListVnfTemplates_FullMethodName                  = "/cloudstack.management.template.v1.TemplateService/ListVnfTemplates"
	TemplateService_ListVnfTemplatesCmdByAdmin_FullMethodName        = "/cloudstack.management.template.v1.TemplateService/ListVnfTemplatesCmdByAdmin"
	TemplateService_PrepareTemplate_FullMethodName                   = "/cloudstack.management.template.v1.TemplateService/PrepareTemplate"
	TemplateService_RegisterTemplate_FullMethodName                  = "/cloudstack.management.template.v1.TemplateService/RegisterTemplate"
	TemplateService_RegisterTemplateCmdByAdmin_FullMethodName        = "/cloudstack.management.template.v1.TemplateService/RegisterTemplateCmdByAdmin"
	TemplateService_RegisterVnfTemplate_FullMethodName               = "/cloudstack.management.template.v1.TemplateService/RegisterVnfTemplate"
	TemplateService_RegisterVnfTemplateCmdByAdmin_FullMethodName     = "/cloudstack.management.template.v1.TemplateService/RegisterVnfTemplateCmdByAdmin"
	TemplateService_UpdateTemplate_FullMethodName                    = "/cloudstack.management.template.v1.TemplateService/UpdateTemplate"
	TemplateService_UpdateTemplateCmdByAdmin_FullMethodName          = "/cloudstack.management.template.v1.TemplateService/UpdateTemplateCmdByAdmin"
	TemplateService_UpdateTemplatePermissions_FullMethodName         = "/cloudstack.management.template.v1.TemplateService/UpdateTemplatePermissions"
	TemplateService_UpdateVnfTemplate_FullMethodName                 = "/cloudstack.management.template.v1.TemplateService/UpdateVnfTemplate"
	TemplateService_UpdateVnfTemplateCmdByAdmin_FullMethodName       = "/cloudstack.management.template.v1.TemplateService/UpdateVnfTemplateCmdByAdmin"
)

Variables

View Source
var File_cloudstack_management_template_v1_template_gen_proto protoreflect.FileDescriptor
View Source
var TemplateService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cloudstack.management.template.v1.TemplateService",
	HandlerType: (*TemplateServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CopyTemplate",
			Handler:    _TemplateService_CopyTemplate_Handler,
		},
		{
			MethodName: "CopyTemplateCmdByAdmin",
			Handler:    _TemplateService_CopyTemplateCmdByAdmin_Handler,
		},
		{
			MethodName: "CreateTemplate",
			Handler:    _TemplateService_CreateTemplate_Handler,
		},
		{
			MethodName: "CreateTemplateCmdByAdmin",
			Handler:    _TemplateService_CreateTemplateCmdByAdmin_Handler,
		},
		{
			MethodName: "DeleteTemplate",
			Handler:    _TemplateService_DeleteTemplate_Handler,
		},
		{
			MethodName: "DeleteVnfTemplate",
			Handler:    _TemplateService_DeleteVnfTemplate_Handler,
		},
		{
			MethodName: "ExtractTemplate",
			Handler:    _TemplateService_ExtractTemplate_Handler,
		},
		{
			MethodName: "GetUploadParamsForTemplate",
			Handler:    _TemplateService_GetUploadParamsForTemplate_Handler,
		},
		{
			MethodName: "ListTemplatePermissions",
			Handler:    _TemplateService_ListTemplatePermissions_Handler,
		},
		{
			MethodName: "ListTemplatePermissionsCmdByAdmin",
			Handler:    _TemplateService_ListTemplatePermissionsCmdByAdmin_Handler,
		},
		{
			MethodName: "ListTemplates",
			Handler:    _TemplateService_ListTemplates_Handler,
		},
		{
			MethodName: "ListTemplatesCmdByAdmin",
			Handler:    _TemplateService_ListTemplatesCmdByAdmin_Handler,
		},
		{
			MethodName: "ListVnfTemplates",
			Handler:    _TemplateService_ListVnfTemplates_Handler,
		},
		{
			MethodName: "ListVnfTemplatesCmdByAdmin",
			Handler:    _TemplateService_ListVnfTemplatesCmdByAdmin_Handler,
		},
		{
			MethodName: "PrepareTemplate",
			Handler:    _TemplateService_PrepareTemplate_Handler,
		},
		{
			MethodName: "RegisterTemplate",
			Handler:    _TemplateService_RegisterTemplate_Handler,
		},
		{
			MethodName: "RegisterTemplateCmdByAdmin",
			Handler:    _TemplateService_RegisterTemplateCmdByAdmin_Handler,
		},
		{
			MethodName: "RegisterVnfTemplate",
			Handler:    _TemplateService_RegisterVnfTemplate_Handler,
		},
		{
			MethodName: "RegisterVnfTemplateCmdByAdmin",
			Handler:    _TemplateService_RegisterVnfTemplateCmdByAdmin_Handler,
		},
		{
			MethodName: "UpdateTemplate",
			Handler:    _TemplateService_UpdateTemplate_Handler,
		},
		{
			MethodName: "UpdateTemplateCmdByAdmin",
			Handler:    _TemplateService_UpdateTemplateCmdByAdmin_Handler,
		},
		{
			MethodName: "UpdateTemplatePermissions",
			Handler:    _TemplateService_UpdateTemplatePermissions_Handler,
		},
		{
			MethodName: "UpdateVnfTemplate",
			Handler:    _TemplateService_UpdateVnfTemplate_Handler,
		},
		{
			MethodName: "UpdateVnfTemplateCmdByAdmin",
			Handler:    _TemplateService_UpdateVnfTemplateCmdByAdmin_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cloudstack/management/template/v1/template.gen.proto",
}

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

Functions

func RegisterTemplateServiceServer

func RegisterTemplateServiceServer(s grpc.ServiceRegistrar, srv TemplateServiceServer)

Types

type CopyTemplateCmdByAdminRequest

type CopyTemplateCmdByAdminRequest struct {

	// ID of the zone the template is being copied to.
	DestZoneId *int64 `protobuf:"varint,1,opt,name=dest_zone_id,json=destZoneId" json:"dest_zone_id,omitempty"`
	// Template ID.
	Id *int64 `protobuf:"varint,2,opt,name=id" json:"id,omitempty"`
	// ID of the zone the template is currently hosted on. If not specified and template is cross-zone, then we will sync this template to region wide image store.
	SourceZoneId *int64 `protobuf:"varint,3,opt,name=source_zone_id,json=sourceZoneId" json:"source_zone_id,omitempty"`
	// A list of IDs of the zones that the template needs to be copied to.Specify this list if the template needs to copied to multiple zones in one go. Do not specify destzoneid and destzoneids together, however one of them is required.
	DestZoneIds   []string `protobuf:"bytes,4,rep,name=dest_zone_ids,json=destZoneIds" json:"dest_zone_ids,omitempty"`
	StartEventId  *int64   `protobuf:"varint,5,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string  `protobuf:"bytes,6,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string  `protobuf:"bytes,7,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

CopyTemplateCmdByAdminRequest represents the parameters for copies a template from one zone to another.

func (*CopyTemplateCmdByAdminRequest) Descriptor deprecated

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

Deprecated: Use CopyTemplateCmdByAdminRequest.ProtoReflect.Descriptor instead.

func (*CopyTemplateCmdByAdminRequest) GetDestZoneId

func (x *CopyTemplateCmdByAdminRequest) GetDestZoneId() int64

func (*CopyTemplateCmdByAdminRequest) GetDestZoneIds

func (x *CopyTemplateCmdByAdminRequest) GetDestZoneIds() []string

func (*CopyTemplateCmdByAdminRequest) GetId

func (*CopyTemplateCmdByAdminRequest) GetInjectedJobId

func (x *CopyTemplateCmdByAdminRequest) GetInjectedJobId() string

func (*CopyTemplateCmdByAdminRequest) GetResponseType

func (x *CopyTemplateCmdByAdminRequest) GetResponseType() string

func (*CopyTemplateCmdByAdminRequest) GetSourceZoneId

func (x *CopyTemplateCmdByAdminRequest) GetSourceZoneId() int64

func (*CopyTemplateCmdByAdminRequest) GetStartEventId

func (x *CopyTemplateCmdByAdminRequest) GetStartEventId() int64

func (*CopyTemplateCmdByAdminRequest) ProtoMessage

func (*CopyTemplateCmdByAdminRequest) ProtoMessage()

func (*CopyTemplateCmdByAdminRequest) ProtoReflect

func (*CopyTemplateCmdByAdminRequest) Reset

func (x *CopyTemplateCmdByAdminRequest) Reset()

func (*CopyTemplateCmdByAdminRequest) String

type CopyTemplateCmdByAdminResponse

type CopyTemplateCmdByAdminResponse struct {

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

CopyTemplateCmdByAdminResponse represents the response from copies a template from one zone to another.

func (*CopyTemplateCmdByAdminResponse) Descriptor deprecated

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

Deprecated: Use CopyTemplateCmdByAdminResponse.ProtoReflect.Descriptor instead.

func (*CopyTemplateCmdByAdminResponse) GetResult

func (x *CopyTemplateCmdByAdminResponse) GetResult() *Result

func (*CopyTemplateCmdByAdminResponse) ProtoMessage

func (*CopyTemplateCmdByAdminResponse) ProtoMessage()

func (*CopyTemplateCmdByAdminResponse) ProtoReflect

func (*CopyTemplateCmdByAdminResponse) Reset

func (x *CopyTemplateCmdByAdminResponse) Reset()

func (*CopyTemplateCmdByAdminResponse) String

type CopyTemplateRequest

type CopyTemplateRequest 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"`
	// ID of the zone the template is being copied to.
	DestZoneId *int64 `protobuf:"varint,2,opt,name=dest_zone_id,json=destZoneId" json:"dest_zone_id,omitempty"`
	// Template ID.
	Id *int64 `protobuf:"varint,3,opt,name=id" json:"id,omitempty"`
	// ID of the zone the template is currently hosted on. If not specified and template is cross-zone, then we will sync this template to region wide image store.
	SourceZoneId *int64 `protobuf:"varint,4,opt,name=source_zone_id,json=sourceZoneId" json:"source_zone_id,omitempty"`
	// A list of IDs of the zones that the template needs to be copied to.Specify this list if the template needs to copied to multiple zones in one go. Do not specify destzoneid and destzoneids together, however one of them is required.
	DestZoneIds   []string `protobuf:"bytes,5,rep,name=dest_zone_ids,json=destZoneIds" json:"dest_zone_ids,omitempty"`
	StartEventId  *int64   `protobuf:"varint,6,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string  `protobuf:"bytes,7,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string  `protobuf:"bytes,8,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

CopyTemplateRequest represents the parameters for copies a template from one zone to another.

func (*CopyTemplateRequest) Descriptor deprecated

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

Deprecated: Use CopyTemplateRequest.ProtoReflect.Descriptor instead.

func (*CopyTemplateRequest) GetDestZoneId

func (x *CopyTemplateRequest) GetDestZoneId() int64

func (*CopyTemplateRequest) GetDestZoneIds

func (x *CopyTemplateRequest) GetDestZoneIds() []string

func (*CopyTemplateRequest) GetId

func (x *CopyTemplateRequest) GetId() int64

func (*CopyTemplateRequest) GetInjectedJobId

func (x *CopyTemplateRequest) GetInjectedJobId() string

func (*CopyTemplateRequest) GetResponseType

func (x *CopyTemplateRequest) GetResponseType() string

func (*CopyTemplateRequest) GetRunAsAdmin

func (x *CopyTemplateRequest) GetRunAsAdmin() bool

func (*CopyTemplateRequest) GetSourceZoneId

func (x *CopyTemplateRequest) GetSourceZoneId() int64

func (*CopyTemplateRequest) GetStartEventId

func (x *CopyTemplateRequest) GetStartEventId() int64

func (*CopyTemplateRequest) ProtoMessage

func (*CopyTemplateRequest) ProtoMessage()

func (*CopyTemplateRequest) ProtoReflect

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

func (*CopyTemplateRequest) Reset

func (x *CopyTemplateRequest) Reset()

func (*CopyTemplateRequest) String

func (x *CopyTemplateRequest) String() string

type CopyTemplateResponse

type CopyTemplateResponse struct {

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

CopyTemplateResponse represents the response from copies a template from one zone to another.

func (*CopyTemplateResponse) Descriptor deprecated

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

Deprecated: Use CopyTemplateResponse.ProtoReflect.Descriptor instead.

func (*CopyTemplateResponse) GetResult

func (x *CopyTemplateResponse) GetResult() *Result

func (*CopyTemplateResponse) ProtoMessage

func (*CopyTemplateResponse) ProtoMessage()

func (*CopyTemplateResponse) ProtoReflect

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

func (*CopyTemplateResponse) Reset

func (x *CopyTemplateResponse) Reset()

func (*CopyTemplateResponse) String

func (x *CopyTemplateResponse) String() string

type CreateTemplateCmdByAdminRequest

type CreateTemplateCmdByAdminRequest struct {

	// 32 or 64 bit
	Bits *int32 `protobuf:"varint,1,opt,name=bits" json:"bits,omitempty"`
	// The display text of the template, defaults to the 'name'.
	DisplayText *string `protobuf:"bytes,2,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
	// true if this template is a featured template, false otherwise
	Featured *bool `protobuf:"varint,3,opt,name=featured" json:"featured,omitempty"`
	// true if this template is a public template, false otherwise
	PublicTemplate *bool `protobuf:"varint,4,opt,name=public_template,json=publicTemplate" json:"public_template,omitempty"`
	// the name of the template
	TemplateName *string `protobuf:"bytes,5,opt,name=template_name,json=templateName" json:"template_name,omitempty"`
	// the ID of the OS Type that best represents the OS of this template.
	OsTypeId *int64 `protobuf:"varint,6,opt,name=os_type_id,json=osTypeId" json:"os_type_id,omitempty"`
	// true if the template supports the password reset feature; default is false
	PasswordEnabled *bool `protobuf:"varint,7,opt,name=password_enabled,json=passwordEnabled" json:"password_enabled,omitempty"`
	// true if the template supports the sshkey upload feature; default is false
	SshKeyEnabled *bool `protobuf:"varint,8,opt,name=ssh_key_enabled,json=sshKeyEnabled" json:"ssh_key_enabled,omitempty"`
	// true if the template requires HVM, false otherwise
	RequiresHvm *bool `protobuf:"varint,9,opt,name=requires_hvm,json=requiresHvm" json:"requires_hvm,omitempty"`
	// the ID of the snapshot the template is being created from. Either this parameter, or volumeId has to be passed in
	SnapshotId *int64 `protobuf:"varint,10,opt,name=snapshot_id,json=snapshotId" json:"snapshot_id,omitempty"`
	// the ID of the disk volume the template is being created from. Either this parameter, or snapshotId has to be passed in
	VolumeId *int64 `protobuf:"varint,11,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
	// Optional, VM ID. If this presents, it is going to create a baremetal template for VM this ID refers to. This is only for VM whose hypervisor type is BareMetal
	VmId *int64 `protobuf:"varint,12,opt,name=vm_id,json=vmId" json:"vm_id,omitempty"`
	// Optional, only for baremetal hypervisor. The directory name where template stored on CIFS server
	Url *string `protobuf:"bytes,13,opt,name=url" json:"url,omitempty"`
	// the tag for this template.
	TemplateTag *string `protobuf:"bytes,14,opt,name=template_tag,json=templateTag" json:"template_tag,omitempty"`
	// Template details in key/value pairs using format details[i].keyname=keyvalue. Example: details[0].hypervisortoolsversion=xenserver61
	Details map[string]string `` /* 135-byte string literal not displayed */
	// true if template contains XS/VMWare tools inorder to support dynamic scaling of VM cpu/memory
	IsDynamicallyScalable *bool `protobuf:"varint,16,opt,name=is_dynamically_scalable,json=isDynamicallyScalable" json:"is_dynamically_scalable,omitempty"`
	// create template for the project
	ProjectId *int64 `protobuf:"varint,17,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
	// the zone for the template. Can be specified with snapshot only
	ZoneId *int64 `protobuf:"varint,18,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
	// an optional domainId. If the account parameter is used, domainId must also be used.
	DomainId *int64 `protobuf:"varint,19,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
	// an optional accountName. Must be used with domainId.
	AccountName   *string `protobuf:"bytes,20,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
	StartEventId  *int64  `protobuf:"varint,21,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,22,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,23,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

CreateTemplateCmdByAdminRequest represents the parameters for creates a template of a virtual machine. the virtual machine must be in a stopped state. a template created from this command is automatically designated as a private template visible to the account that created it.

func (*CreateTemplateCmdByAdminRequest) Descriptor deprecated

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

Deprecated: Use CreateTemplateCmdByAdminRequest.ProtoReflect.Descriptor instead.

func (*CreateTemplateCmdByAdminRequest) GetAccountName

func (x *CreateTemplateCmdByAdminRequest) GetAccountName() string

func (*CreateTemplateCmdByAdminRequest) GetBits

func (*CreateTemplateCmdByAdminRequest) GetDetails

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

func (*CreateTemplateCmdByAdminRequest) GetDisplayText

func (x *CreateTemplateCmdByAdminRequest) GetDisplayText() string

func (*CreateTemplateCmdByAdminRequest) GetDomainId

func (x *CreateTemplateCmdByAdminRequest) GetDomainId() int64

func (*CreateTemplateCmdByAdminRequest) GetFeatured

func (x *CreateTemplateCmdByAdminRequest) GetFeatured() bool

func (*CreateTemplateCmdByAdminRequest) GetInjectedJobId

func (x *CreateTemplateCmdByAdminRequest) GetInjectedJobId() string

func (*CreateTemplateCmdByAdminRequest) GetIsDynamicallyScalable

func (x *CreateTemplateCmdByAdminRequest) GetIsDynamicallyScalable() bool

func (*CreateTemplateCmdByAdminRequest) GetOsTypeId

func (x *CreateTemplateCmdByAdminRequest) GetOsTypeId() int64

func (*CreateTemplateCmdByAdminRequest) GetPasswordEnabled

func (x *CreateTemplateCmdByAdminRequest) GetPasswordEnabled() bool

func (*CreateTemplateCmdByAdminRequest) GetProjectId

func (x *CreateTemplateCmdByAdminRequest) GetProjectId() int64

func (*CreateTemplateCmdByAdminRequest) GetPublicTemplate

func (x *CreateTemplateCmdByAdminRequest) GetPublicTemplate() bool

func (*CreateTemplateCmdByAdminRequest) GetRequiresHvm

func (x *CreateTemplateCmdByAdminRequest) GetRequiresHvm() bool

func (*CreateTemplateCmdByAdminRequest) GetResponseType

func (x *CreateTemplateCmdByAdminRequest) GetResponseType() string

func (*CreateTemplateCmdByAdminRequest) GetSnapshotId

func (x *CreateTemplateCmdByAdminRequest) GetSnapshotId() int64

func (*CreateTemplateCmdByAdminRequest) GetSshKeyEnabled

func (x *CreateTemplateCmdByAdminRequest) GetSshKeyEnabled() bool

func (*CreateTemplateCmdByAdminRequest) GetStartEventId

func (x *CreateTemplateCmdByAdminRequest) GetStartEventId() int64

func (*CreateTemplateCmdByAdminRequest) GetTemplateName

func (x *CreateTemplateCmdByAdminRequest) GetTemplateName() string

func (*CreateTemplateCmdByAdminRequest) GetTemplateTag

func (x *CreateTemplateCmdByAdminRequest) GetTemplateTag() string

func (*CreateTemplateCmdByAdminRequest) GetUrl

func (*CreateTemplateCmdByAdminRequest) GetVmId

func (*CreateTemplateCmdByAdminRequest) GetVolumeId

func (x *CreateTemplateCmdByAdminRequest) GetVolumeId() int64

func (*CreateTemplateCmdByAdminRequest) GetZoneId

func (x *CreateTemplateCmdByAdminRequest) GetZoneId() int64

func (*CreateTemplateCmdByAdminRequest) ProtoMessage

func (*CreateTemplateCmdByAdminRequest) ProtoMessage()

func (*CreateTemplateCmdByAdminRequest) ProtoReflect

func (*CreateTemplateCmdByAdminRequest) Reset

func (*CreateTemplateCmdByAdminRequest) String

type CreateTemplateCmdByAdminResponse

type CreateTemplateCmdByAdminResponse struct {

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

CreateTemplateCmdByAdminResponse represents the response from creates a template of a virtual machine. the virtual machine must be in a stopped state. a template created from this command is automatically designated as a private template visible to the account that created it.

func (*CreateTemplateCmdByAdminResponse) Descriptor deprecated

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

Deprecated: Use CreateTemplateCmdByAdminResponse.ProtoReflect.Descriptor instead.

func (*CreateTemplateCmdByAdminResponse) GetResult

func (x *CreateTemplateCmdByAdminResponse) GetResult() *Result

func (*CreateTemplateCmdByAdminResponse) ProtoMessage

func (*CreateTemplateCmdByAdminResponse) ProtoMessage()

func (*CreateTemplateCmdByAdminResponse) ProtoReflect

func (*CreateTemplateCmdByAdminResponse) Reset

func (*CreateTemplateCmdByAdminResponse) String

type CreateTemplateRequest

type CreateTemplateRequest 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"`
	// 32 or 64 bit
	Bits *int32 `protobuf:"varint,2,opt,name=bits" json:"bits,omitempty"`
	// The display text of the template, defaults to the 'name'.
	DisplayText *string `protobuf:"bytes,3,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
	// true if this template is a featured template, false otherwise
	Featured *bool `protobuf:"varint,4,opt,name=featured" json:"featured,omitempty"`
	// true if this template is a public template, false otherwise
	PublicTemplate *bool `protobuf:"varint,5,opt,name=public_template,json=publicTemplate" json:"public_template,omitempty"`
	// the name of the template
	TemplateName *string `protobuf:"bytes,6,opt,name=template_name,json=templateName" json:"template_name,omitempty"`
	// the ID of the OS Type that best represents the OS of this template.
	OsTypeId *int64 `protobuf:"varint,7,opt,name=os_type_id,json=osTypeId" json:"os_type_id,omitempty"`
	// true if the template supports the password reset feature; default is false
	PasswordEnabled *bool `protobuf:"varint,8,opt,name=password_enabled,json=passwordEnabled" json:"password_enabled,omitempty"`
	// true if the template supports the sshkey upload feature; default is false
	SshKeyEnabled *bool `protobuf:"varint,9,opt,name=ssh_key_enabled,json=sshKeyEnabled" json:"ssh_key_enabled,omitempty"`
	// true if the template requires HVM, false otherwise
	RequiresHvm *bool `protobuf:"varint,10,opt,name=requires_hvm,json=requiresHvm" json:"requires_hvm,omitempty"`
	// the ID of the snapshot the template is being created from. Either this parameter, or volumeId has to be passed in
	SnapshotId *int64 `protobuf:"varint,11,opt,name=snapshot_id,json=snapshotId" json:"snapshot_id,omitempty"`
	// the ID of the disk volume the template is being created from. Either this parameter, or snapshotId has to be passed in
	VolumeId *int64 `protobuf:"varint,12,opt,name=volume_id,json=volumeId" json:"volume_id,omitempty"`
	// Optional, VM ID. If this presents, it is going to create a baremetal template for VM this ID refers to. This is only for VM whose hypervisor type is BareMetal
	VmId *int64 `protobuf:"varint,13,opt,name=vm_id,json=vmId" json:"vm_id,omitempty"`
	// Optional, only for baremetal hypervisor. The directory name where template stored on CIFS server
	Url *string `protobuf:"bytes,14,opt,name=url" json:"url,omitempty"`
	// the tag for this template.
	TemplateTag *string `protobuf:"bytes,15,opt,name=template_tag,json=templateTag" json:"template_tag,omitempty"`
	// Template details in key/value pairs using format details[i].keyname=keyvalue. Example: details[0].hypervisortoolsversion=xenserver61
	Details map[string]string `` /* 135-byte string literal not displayed */
	// true if template contains XS/VMWare tools inorder to support dynamic scaling of VM cpu/memory
	IsDynamicallyScalable *bool `protobuf:"varint,17,opt,name=is_dynamically_scalable,json=isDynamicallyScalable" json:"is_dynamically_scalable,omitempty"`
	// create template for the project
	ProjectId *int64 `protobuf:"varint,18,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
	// the zone for the template. Can be specified with snapshot only
	ZoneId *int64 `protobuf:"varint,19,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
	// an optional domainId. If the account parameter is used, domainId must also be used.
	DomainId *int64 `protobuf:"varint,20,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
	// an optional accountName. Must be used with domainId.
	AccountName   *string `protobuf:"bytes,21,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
	StartEventId  *int64  `protobuf:"varint,22,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,23,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,24,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

CreateTemplateRequest represents the parameters for creates a template of a virtual machine. the virtual machine must be in a stopped state. a template created from this command is automatically designated as a private template visible to the account that created it.

func (*CreateTemplateRequest) Descriptor deprecated

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

Deprecated: Use CreateTemplateRequest.ProtoReflect.Descriptor instead.

func (*CreateTemplateRequest) GetAccountName

func (x *CreateTemplateRequest) GetAccountName() string

func (*CreateTemplateRequest) GetBits

func (x *CreateTemplateRequest) GetBits() int32

func (*CreateTemplateRequest) GetDetails

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

func (*CreateTemplateRequest) GetDisplayText

func (x *CreateTemplateRequest) GetDisplayText() string

func (*CreateTemplateRequest) GetDomainId

func (x *CreateTemplateRequest) GetDomainId() int64

func (*CreateTemplateRequest) GetFeatured

func (x *CreateTemplateRequest) GetFeatured() bool

func (*CreateTemplateRequest) GetInjectedJobId

func (x *CreateTemplateRequest) GetInjectedJobId() string

func (*CreateTemplateRequest) GetIsDynamicallyScalable

func (x *CreateTemplateRequest) GetIsDynamicallyScalable() bool

func (*CreateTemplateRequest) GetOsTypeId

func (x *CreateTemplateRequest) GetOsTypeId() int64

func (*CreateTemplateRequest) GetPasswordEnabled

func (x *CreateTemplateRequest) GetPasswordEnabled() bool

func (*CreateTemplateRequest) GetProjectId

func (x *CreateTemplateRequest) GetProjectId() int64

func (*CreateTemplateRequest) GetPublicTemplate

func (x *CreateTemplateRequest) GetPublicTemplate() bool

func (*CreateTemplateRequest) GetRequiresHvm

func (x *CreateTemplateRequest) GetRequiresHvm() bool

func (*CreateTemplateRequest) GetResponseType

func (x *CreateTemplateRequest) GetResponseType() string

func (*CreateTemplateRequest) GetRunAsAdmin

func (x *CreateTemplateRequest) GetRunAsAdmin() bool

func (*CreateTemplateRequest) GetSnapshotId

func (x *CreateTemplateRequest) GetSnapshotId() int64

func (*CreateTemplateRequest) GetSshKeyEnabled

func (x *CreateTemplateRequest) GetSshKeyEnabled() bool

func (*CreateTemplateRequest) GetStartEventId

func (x *CreateTemplateRequest) GetStartEventId() int64

func (*CreateTemplateRequest) GetTemplateName

func (x *CreateTemplateRequest) GetTemplateName() string

func (*CreateTemplateRequest) GetTemplateTag

func (x *CreateTemplateRequest) GetTemplateTag() string

func (*CreateTemplateRequest) GetUrl

func (x *CreateTemplateRequest) GetUrl() string

func (*CreateTemplateRequest) GetVmId

func (x *CreateTemplateRequest) GetVmId() int64

func (*CreateTemplateRequest) GetVolumeId

func (x *CreateTemplateRequest) GetVolumeId() int64

func (*CreateTemplateRequest) GetZoneId

func (x *CreateTemplateRequest) GetZoneId() int64

func (*CreateTemplateRequest) ProtoMessage

func (*CreateTemplateRequest) ProtoMessage()

func (*CreateTemplateRequest) ProtoReflect

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

func (*CreateTemplateRequest) Reset

func (x *CreateTemplateRequest) Reset()

func (*CreateTemplateRequest) String

func (x *CreateTemplateRequest) String() string

type CreateTemplateResponse

type CreateTemplateResponse struct {

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

CreateTemplateResponse represents the response from creates a template of a virtual machine. the virtual machine must be in a stopped state. a template created from this command is automatically designated as a private template visible to the account that created it.

func (*CreateTemplateResponse) Descriptor deprecated

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

Deprecated: Use CreateTemplateResponse.ProtoReflect.Descriptor instead.

func (*CreateTemplateResponse) GetResult

func (x *CreateTemplateResponse) GetResult() *Result

func (*CreateTemplateResponse) ProtoMessage

func (*CreateTemplateResponse) ProtoMessage()

func (*CreateTemplateResponse) ProtoReflect

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

func (*CreateTemplateResponse) Reset

func (x *CreateTemplateResponse) Reset()

func (*CreateTemplateResponse) String

func (x *CreateTemplateResponse) String() string

type DeleteTemplateRequest

type DeleteTemplateRequest struct {

	// the ID of the template
	Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// the ID of zone of the template
	ZoneId *int64 `protobuf:"varint,2,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
	// Force delete a template.
	Forced *bool `protobuf:"varint,3,opt,name=forced" json:"forced,omitempty"`
	// Necessary if the template's type is system.
	IsSystem      *bool   `protobuf:"varint,4,opt,name=is_system,json=isSystem" json:"is_system,omitempty"`
	StartEventId  *int64  `protobuf:"varint,5,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,6,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,7,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

DeleteTemplateRequest represents the parameters for deletes a template from the system. all virtual machines using the deleted template will not be affected.

func (*DeleteTemplateRequest) Descriptor deprecated

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

Deprecated: Use DeleteTemplateRequest.ProtoReflect.Descriptor instead.

func (*DeleteTemplateRequest) GetForced

func (x *DeleteTemplateRequest) GetForced() bool

func (*DeleteTemplateRequest) GetId

func (x *DeleteTemplateRequest) GetId() int64

func (*DeleteTemplateRequest) GetInjectedJobId

func (x *DeleteTemplateRequest) GetInjectedJobId() string

func (*DeleteTemplateRequest) GetIsSystem

func (x *DeleteTemplateRequest) GetIsSystem() bool

func (*DeleteTemplateRequest) GetResponseType

func (x *DeleteTemplateRequest) GetResponseType() string

func (*DeleteTemplateRequest) GetStartEventId

func (x *DeleteTemplateRequest) GetStartEventId() int64

func (*DeleteTemplateRequest) GetZoneId

func (x *DeleteTemplateRequest) GetZoneId() int64

func (*DeleteTemplateRequest) ProtoMessage

func (*DeleteTemplateRequest) ProtoMessage()

func (*DeleteTemplateRequest) ProtoReflect

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

func (*DeleteTemplateRequest) Reset

func (x *DeleteTemplateRequest) Reset()

func (*DeleteTemplateRequest) String

func (x *DeleteTemplateRequest) String() string

type DeleteTemplateResponse

type DeleteTemplateResponse struct {

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

DeleteTemplateResponse represents the response from deletes a template from the system. all virtual machines using the deleted template will not be affected.

func (*DeleteTemplateResponse) Descriptor deprecated

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

Deprecated: Use DeleteTemplateResponse.ProtoReflect.Descriptor instead.

func (*DeleteTemplateResponse) GetResult

func (x *DeleteTemplateResponse) GetResult() *Result

func (*DeleteTemplateResponse) ProtoMessage

func (*DeleteTemplateResponse) ProtoMessage()

func (*DeleteTemplateResponse) ProtoReflect

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

func (*DeleteTemplateResponse) Reset

func (x *DeleteTemplateResponse) Reset()

func (*DeleteTemplateResponse) String

func (x *DeleteTemplateResponse) String() string

type DeleteVnfTemplateRequest

type DeleteVnfTemplateRequest struct {

	// the ID of the template
	Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// the ID of zone of the template
	ZoneId *int64 `protobuf:"varint,2,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
	// Force delete a template.
	Forced *bool `protobuf:"varint,3,opt,name=forced" json:"forced,omitempty"`
	// Necessary if the template's type is system.
	IsSystem      *bool   `protobuf:"varint,4,opt,name=is_system,json=isSystem" json:"is_system,omitempty"`
	StartEventId  *int64  `protobuf:"varint,5,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,6,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,7,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

DeleteVnfTemplateRequest represents the parameters for deletes a vnf template from the system. all virtual machines using the deleted template will not be affected.

func (*DeleteVnfTemplateRequest) Descriptor deprecated

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

Deprecated: Use DeleteVnfTemplateRequest.ProtoReflect.Descriptor instead.

func (*DeleteVnfTemplateRequest) GetForced

func (x *DeleteVnfTemplateRequest) GetForced() bool

func (*DeleteVnfTemplateRequest) GetId

func (x *DeleteVnfTemplateRequest) GetId() int64

func (*DeleteVnfTemplateRequest) GetInjectedJobId

func (x *DeleteVnfTemplateRequest) GetInjectedJobId() string

func (*DeleteVnfTemplateRequest) GetIsSystem

func (x *DeleteVnfTemplateRequest) GetIsSystem() bool

func (*DeleteVnfTemplateRequest) GetResponseType

func (x *DeleteVnfTemplateRequest) GetResponseType() string

func (*DeleteVnfTemplateRequest) GetStartEventId

func (x *DeleteVnfTemplateRequest) GetStartEventId() int64

func (*DeleteVnfTemplateRequest) GetZoneId

func (x *DeleteVnfTemplateRequest) GetZoneId() int64

func (*DeleteVnfTemplateRequest) ProtoMessage

func (*DeleteVnfTemplateRequest) ProtoMessage()

func (*DeleteVnfTemplateRequest) ProtoReflect

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

func (*DeleteVnfTemplateRequest) Reset

func (x *DeleteVnfTemplateRequest) Reset()

func (*DeleteVnfTemplateRequest) String

func (x *DeleteVnfTemplateRequest) String() string

type DeleteVnfTemplateResponse

type DeleteVnfTemplateResponse struct {

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

DeleteVnfTemplateResponse represents the response from deletes a vnf template from the system. all virtual machines using the deleted template will not be affected.

func (*DeleteVnfTemplateResponse) Descriptor deprecated

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

Deprecated: Use DeleteVnfTemplateResponse.ProtoReflect.Descriptor instead.

func (*DeleteVnfTemplateResponse) GetResult

func (x *DeleteVnfTemplateResponse) GetResult() *Result

func (*DeleteVnfTemplateResponse) ProtoMessage

func (*DeleteVnfTemplateResponse) ProtoMessage()

func (*DeleteVnfTemplateResponse) ProtoReflect

func (*DeleteVnfTemplateResponse) Reset

func (x *DeleteVnfTemplateResponse) Reset()

func (*DeleteVnfTemplateResponse) String

func (x *DeleteVnfTemplateResponse) String() string

type ExtractTemplateRequest

type ExtractTemplateRequest struct {

	// the ID of the template
	Id *int64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	// the url to which the ISO would be extracted
	Url *string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"`
	// the ID of the zone where the ISO is originally located
	ZoneId *int64 `protobuf:"varint,3,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
	// the mode of extraction - HTTP_DOWNLOAD or FTP_UPLOAD
	Mode          *string `protobuf:"bytes,4,opt,name=mode" json:"mode,omitempty"`
	StartEventId  *int64  `protobuf:"varint,5,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,6,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,7,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

ExtractTemplateRequest represents the parameters for extracts a template

func (*ExtractTemplateRequest) Descriptor deprecated

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

Deprecated: Use ExtractTemplateRequest.ProtoReflect.Descriptor instead.

func (*ExtractTemplateRequest) GetId

func (x *ExtractTemplateRequest) GetId() int64

func (*ExtractTemplateRequest) GetInjectedJobId

func (x *ExtractTemplateRequest) GetInjectedJobId() string

func (*ExtractTemplateRequest) GetMode

func (x *ExtractTemplateRequest) GetMode() string

func (*ExtractTemplateRequest) GetResponseType

func (x *ExtractTemplateRequest) GetResponseType() string

func (*ExtractTemplateRequest) GetStartEventId

func (x *ExtractTemplateRequest) GetStartEventId() int64

func (*ExtractTemplateRequest) GetUrl

func (x *ExtractTemplateRequest) GetUrl() string

func (*ExtractTemplateRequest) GetZoneId

func (x *ExtractTemplateRequest) GetZoneId() int64

func (*ExtractTemplateRequest) ProtoMessage

func (*ExtractTemplateRequest) ProtoMessage()

func (*ExtractTemplateRequest) ProtoReflect

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

func (*ExtractTemplateRequest) Reset

func (x *ExtractTemplateRequest) Reset()

func (*ExtractTemplateRequest) String

func (x *ExtractTemplateRequest) String() string

type ExtractTemplateResponse

type ExtractTemplateResponse struct {

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

ExtractTemplateResponse represents the response from extracts a template

func (*ExtractTemplateResponse) Descriptor deprecated

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

Deprecated: Use ExtractTemplateResponse.ProtoReflect.Descriptor instead.

func (*ExtractTemplateResponse) GetResult

func (x *ExtractTemplateResponse) GetResult() *Result

func (*ExtractTemplateResponse) ProtoMessage

func (*ExtractTemplateResponse) ProtoMessage()

func (*ExtractTemplateResponse) ProtoReflect

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

func (*ExtractTemplateResponse) Reset

func (x *ExtractTemplateResponse) Reset()

func (*ExtractTemplateResponse) String

func (x *ExtractTemplateResponse) String() string

type GetUploadParamsForTemplateRequest

type GetUploadParamsForTemplateRequest struct {

	// the display text of the template. This is usually used for display purposes.
	DisplayText *string `protobuf:"bytes,1,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
	// the target hypervisor for the template
	Hypervisor *string `protobuf:"bytes,2,opt,name=hypervisor" json:"hypervisor,omitempty"`
	// the ID of the OS Type that best represents the OS of this template. Not required for VMware as the guest OS is obtained from the OVF file.
	OsTypeId *int64 `protobuf:"varint,3,opt,name=os_type_id,json=osTypeId" json:"os_type_id,omitempty"`
	// the CPU arch of the template. Valid options are: x86_64, aarch64
	Arch *string `protobuf:"bytes,4,opt,name=arch" json:"arch,omitempty"`
	// 32 or 64 bits support. 64 by default
	Bits *int32 `protobuf:"varint,5,opt,name=bits" json:"bits,omitempty"`
	// Template details in key/value pairs.
	Details map[string]string `` /* 134-byte string literal not displayed */
	// true if template contains XS/VMWare tools inorder to support dynamic scaling of VM cpu/memory
	IsDynamicallyScalable *bool `protobuf:"varint,7,opt,name=is_dynamically_scalable,json=isDynamicallyScalable" json:"is_dynamically_scalable,omitempty"`
	// true if the template or its derivatives are extractable; default is false
	Extractable *bool `protobuf:"varint,8,opt,name=extractable" json:"extractable,omitempty"`
	// true if this template is a featured template, false otherwise
	Featured *bool `protobuf:"varint,9,opt,name=featured" json:"featured,omitempty"`
	// true if the template is available to all accounts; default is true
	PublicTemplate *bool `protobuf:"varint,10,opt,name=public_template,json=publicTemplate" json:"public_template,omitempty"`
	// true if the template type is routing i.e., if template is used to deploy router
	IsRoutingType *bool `protobuf:"varint,11,opt,name=is_routing_type,json=isRoutingType" json:"is_routing_type,omitempty"`
	// true if the template supports the password reset feature; default is false
	PasswordEnabled *bool `protobuf:"varint,12,opt,name=password_enabled,json=passwordEnabled" json:"password_enabled,omitempty"`
	// true if this template requires HVM
	RequiresHvm *bool `protobuf:"varint,13,opt,name=requires_hvm,json=requiresHvm" json:"requires_hvm,omitempty"`
	// true if the template supports the sshkey upload feature; default is false
	SshKeyEnabled *bool `protobuf:"varint,14,opt,name=ssh_key_enabled,json=sshKeyEnabled" json:"ssh_key_enabled,omitempty"`
	// the tag for this template.
	TemplateTag *string `protobuf:"bytes,15,opt,name=template_tag,json=templateTag" json:"template_tag,omitempty"`
	// (VMware only) true if VM deployments should preserve all the configurations defined for this template
	DeployAsIs *bool `protobuf:"varint,16,opt,name=deploy_as_is,json=deployAsIs" json:"deploy_as_is,omitempty"`
	// the name of the volume/template/iso
	Name *string `protobuf:"bytes,17,opt,name=name" json:"name,omitempty"`
	// the format for the volume/template/iso. Possible values include QCOW2, OVA, and VHD.
	Format *string `protobuf:"bytes,18,opt,name=format" json:"format,omitempty"`
	// the ID of the zone the volume/template/iso is to be hosted on
	ZoneId *int64 `protobuf:"varint,19,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
	// the checksum value of this volume/template/iso The parameter containing the checksum will be considered a MD5sum if it is not prefixed
	// and just a plain ascii/utf8 representation of a hexadecimal string. If it is required to
	// use another algorithm the hexadecimal string is to be prefixed with a string of the form,
	// "{<algorithm>}", not including the double quotes. In this <algorithm> is the exact string
	// representing the java supported algorithm, i.e. MD5 or SHA-256. Note that java does not
	// contain an algorithm called SHA256 or one called sha-256, only SHA-256.
	Checksum *string `protobuf:"bytes,20,opt,name=checksum" json:"checksum,omitempty"`
	// an optional accountName. Must be used with domainId.
	AccountName *string `protobuf:"bytes,21,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
	// an optional domainId. If the account parameter is used, domainId must also be used.
	DomainId *int64 `protobuf:"varint,22,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
	// Upload volume/template/iso for the project
	ProjectId    *int64  `protobuf:"varint,23,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
	ResponseType *string `protobuf:"bytes,24,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

GetUploadParamsForTemplateRequest represents the parameters for upload an existing template into the cloudstack cloud.

func (*GetUploadParamsForTemplateRequest) Descriptor deprecated

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

Deprecated: Use GetUploadParamsForTemplateRequest.ProtoReflect.Descriptor instead.

func (*GetUploadParamsForTemplateRequest) GetAccountName

func (x *GetUploadParamsForTemplateRequest) GetAccountName() string

func (*GetUploadParamsForTemplateRequest) GetArch

func (*GetUploadParamsForTemplateRequest) GetBits

func (*GetUploadParamsForTemplateRequest) GetChecksum

func (x *GetUploadParamsForTemplateRequest) GetChecksum() string

func (*GetUploadParamsForTemplateRequest) GetDeployAsIs

func (x *GetUploadParamsForTemplateRequest) GetDeployAsIs() bool

func (*GetUploadParamsForTemplateRequest) GetDetails

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

func (*GetUploadParamsForTemplateRequest) GetDisplayText

func (x *GetUploadParamsForTemplateRequest) GetDisplayText() string

func (*GetUploadParamsForTemplateRequest) GetDomainId

func (x *GetUploadParamsForTemplateRequest) GetDomainId() int64

func (*GetUploadParamsForTemplateRequest) GetExtractable

func (x *GetUploadParamsForTemplateRequest) GetExtractable() bool

func (*GetUploadParamsForTemplateRequest) GetFeatured

func (x *GetUploadParamsForTemplateRequest) GetFeatured() bool

func (*GetUploadParamsForTemplateRequest) GetFormat

func (*GetUploadParamsForTemplateRequest) GetHypervisor

func (x *GetUploadParamsForTemplateRequest) GetHypervisor() string

func (*GetUploadParamsForTemplateRequest) GetIsDynamicallyScalable

func (x *GetUploadParamsForTemplateRequest) GetIsDynamicallyScalable() bool

func (*GetUploadParamsForTemplateRequest) GetIsRoutingType

func (x *GetUploadParamsForTemplateRequest) GetIsRoutingType() bool

func (*GetUploadParamsForTemplateRequest) GetName

func (*GetUploadParamsForTemplateRequest) GetOsTypeId

func (x *GetUploadParamsForTemplateRequest) GetOsTypeId() int64

func (*GetUploadParamsForTemplateRequest) GetPasswordEnabled

func (x *GetUploadParamsForTemplateRequest) GetPasswordEnabled() bool

func (*GetUploadParamsForTemplateRequest) GetProjectId

func (x *GetUploadParamsForTemplateRequest) GetProjectId() int64

func (*GetUploadParamsForTemplateRequest) GetPublicTemplate

func (x *GetUploadParamsForTemplateRequest) GetPublicTemplate() bool

func (*GetUploadParamsForTemplateRequest) GetRequiresHvm

func (x *GetUploadParamsForTemplateRequest) GetRequiresHvm() bool

func (*GetUploadParamsForTemplateRequest) GetResponseType

func (x *GetUploadParamsForTemplateRequest) GetResponseType() string

func (*GetUploadParamsForTemplateRequest) GetSshKeyEnabled

func (x *GetUploadParamsForTemplateRequest) GetSshKeyEnabled() bool

func (*GetUploadParamsForTemplateRequest) GetTemplateTag

func (x *GetUploadParamsForTemplateRequest) GetTemplateTag() string

func (*GetUploadParamsForTemplateRequest) GetZoneId

func (*GetUploadParamsForTemplateRequest) ProtoMessage

func (*GetUploadParamsForTemplateRequest) ProtoMessage()

func (*GetUploadParamsForTemplateRequest) ProtoReflect

func (*GetUploadParamsForTemplateRequest) Reset

func (*GetUploadParamsForTemplateRequest) String

type GetUploadParamsForTemplateResponse

type GetUploadParamsForTemplateResponse struct {

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

GetUploadParamsForTemplateResponse represents the response from upload an existing template into the cloudstack cloud.

func (*GetUploadParamsForTemplateResponse) Descriptor deprecated

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

Deprecated: Use GetUploadParamsForTemplateResponse.ProtoReflect.Descriptor instead.

func (*GetUploadParamsForTemplateResponse) GetResult

func (*GetUploadParamsForTemplateResponse) ProtoMessage

func (*GetUploadParamsForTemplateResponse) ProtoMessage()

func (*GetUploadParamsForTemplateResponse) ProtoReflect

func (*GetUploadParamsForTemplateResponse) Reset

func (*GetUploadParamsForTemplateResponse) String

type ListTemplatePermissionsCmdByAdminRequest

type ListTemplatePermissionsCmdByAdminRequest struct {

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

ListTemplatePermissionsCmdByAdminRequest represents the parameters for list template visibility and all accounts that have permissions to view this template.

func (*ListTemplatePermissionsCmdByAdminRequest) Descriptor deprecated

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

Deprecated: Use ListTemplatePermissionsCmdByAdminRequest.ProtoReflect.Descriptor instead.

func (*ListTemplatePermissionsCmdByAdminRequest) GetId

func (*ListTemplatePermissionsCmdByAdminRequest) GetResponseType

func (x *ListTemplatePermissionsCmdByAdminRequest) GetResponseType() string

func (*ListTemplatePermissionsCmdByAdminRequest) ProtoMessage

func (*ListTemplatePermissionsCmdByAdminRequest) ProtoReflect

func (*ListTemplatePermissionsCmdByAdminRequest) Reset

func (*ListTemplatePermissionsCmdByAdminRequest) String

type ListTemplatePermissionsCmdByAdminResponse

type ListTemplatePermissionsCmdByAdminResponse struct {

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

ListTemplatePermissionsCmdByAdminResponse represents the response from list template visibility and all accounts that have permissions to view this template.

func (*ListTemplatePermissionsCmdByAdminResponse) Descriptor deprecated

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

Deprecated: Use ListTemplatePermissionsCmdByAdminResponse.ProtoReflect.Descriptor instead.

func (*ListTemplatePermissionsCmdByAdminResponse) GetItems

func (*ListTemplatePermissionsCmdByAdminResponse) GetTotalCount

func (*ListTemplatePermissionsCmdByAdminResponse) ProtoMessage

func (*ListTemplatePermissionsCmdByAdminResponse) ProtoReflect

func (*ListTemplatePermissionsCmdByAdminResponse) Reset

func (*ListTemplatePermissionsCmdByAdminResponse) String

type ListTemplatePermissionsRequest

type ListTemplatePermissionsRequest 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 template ID
	Id           *int64  `protobuf:"varint,2,opt,name=id" json:"id,omitempty"`
	ResponseType *string `protobuf:"bytes,3,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

ListTemplatePermissionsRequest represents the parameters for list template visibility and all accounts that have permissions to view this template.

func (*ListTemplatePermissionsRequest) Descriptor deprecated

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

Deprecated: Use ListTemplatePermissionsRequest.ProtoReflect.Descriptor instead.

func (*ListTemplatePermissionsRequest) GetId

func (*ListTemplatePermissionsRequest) GetResponseType

func (x *ListTemplatePermissionsRequest) GetResponseType() string

func (*ListTemplatePermissionsRequest) GetRunAsAdmin

func (x *ListTemplatePermissionsRequest) GetRunAsAdmin() bool

func (*ListTemplatePermissionsRequest) ProtoMessage

func (*ListTemplatePermissionsRequest) ProtoMessage()

func (*ListTemplatePermissionsRequest) ProtoReflect

func (*ListTemplatePermissionsRequest) Reset

func (x *ListTemplatePermissionsRequest) Reset()

func (*ListTemplatePermissionsRequest) String

type ListTemplatePermissionsResponse

type ListTemplatePermissionsResponse struct {

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

ListTemplatePermissionsResponse represents the response from list template visibility and all accounts that have permissions to view this template.

func (*ListTemplatePermissionsResponse) Descriptor deprecated

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

Deprecated: Use ListTemplatePermissionsResponse.ProtoReflect.Descriptor instead.

func (*ListTemplatePermissionsResponse) GetItems

func (*ListTemplatePermissionsResponse) GetTotalCount

func (x *ListTemplatePermissionsResponse) GetTotalCount() int32

func (*ListTemplatePermissionsResponse) ProtoMessage

func (*ListTemplatePermissionsResponse) ProtoMessage()

func (*ListTemplatePermissionsResponse) ProtoReflect

func (*ListTemplatePermissionsResponse) Reset

func (*ListTemplatePermissionsResponse) String

type ListTemplatesCmdByAdminRequest

type ListTemplatesCmdByAdminRequest struct {

	// ID of the image or image cache store
	ImageStoreId *int64 `protobuf:"varint,1,opt,name=image_store_id,json=imageStoreId" json:"image_store_id,omitempty"`
	// ID of the storage pool
	StoragePoolId *int64 `protobuf:"varint,2,opt,name=storage_pool_id,json=storagePoolId" json:"storage_pool_id,omitempty"`
	// the hypervisor for which to restrict the search
	Hypervisor *string `protobuf:"bytes,3,opt,name=hypervisor" json:"hypervisor,omitempty"`
	// the template ID
	Id *int64 `protobuf:"varint,4,opt,name=id" json:"id,omitempty"`
	// the IDs of the templates, mutually exclusive with id
	Ids []string `protobuf:"bytes,5,rep,name=ids" json:"ids,omitempty"`
	// the template name
	TemplateName *string `protobuf:"bytes,6,opt,name=template_name,json=templateName" json:"template_name,omitempty"`
	// possible values are "featured", "self", "selfexecutable","sharedexecutable","executable", and "community". * featured : templates that have been marked as featured and public. * self : templates that have been registered or created by the calling user. * selfexecutable : same as self, but only returns templates that can be used to deploy a new VM. * sharedexecutable : templates ready to be deployed that have been granted to the calling user by another user. * executable : templates that are owned by the calling user, or public templates, that can be used to deploy a VM. * community : templates that have been marked as public but not featured. * all : all templates (only usable by admins).
	TemplateFilter *string `protobuf:"bytes,7,opt,name=template_filter,json=templateFilter" json:"template_filter,omitempty"`
	// list templates by zoneId
	ZoneId *int64 `protobuf:"varint,8,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
	// show removed templates as well
	ShowRemoved *bool `protobuf:"varint,9,opt,name=show_removed,json=showRemoved" json:"show_removed,omitempty"`
	// If set to true, list only unique templates across zones
	ShowUnique *bool `protobuf:"varint,10,opt,name=show_unique,json=showUnique" json:"show_unique,omitempty"`
	// list datadisk templates by parent template id
	ParentTemplateId *int64 `protobuf:"varint,11,opt,name=parent_template_id,json=parentTemplateId" json:"parent_template_id,omitempty"`
	// comma separated list of template details requested, value can be a list of [ all, min]
	ViewDetails []string `protobuf:"bytes,12,rep,name=view_details,json=viewDetails" json:"view_details,omitempty"`
	// the type of the template
	TemplateType *string `protobuf:"bytes,13,opt,name=template_type,json=templateType" json:"template_type,omitempty"`
	// flag to list VNF templates or not; true if need to list VNF templates, false otherwise.
	IsVnf *bool `protobuf:"varint,14,opt,name=is_vnf,json=isVnf" json:"is_vnf,omitempty"`
	// the CPU arch of the template. Valid options are: x86_64, aarch64
	Arch *string `protobuf:"bytes,15,opt,name=arch" json:"arch,omitempty"`
	// flag to display the resource image for the templates
	ShowIcon *bool `protobuf:"varint,16,opt,name=show_icon,json=showIcon" json:"show_icon,omitempty"`
	// List resources by tags (key/value pairs)
	Tags map[string]string `` /* 129-byte string literal not displayed */
	// list objects by project; if projectid=-1 lists All VMs
	ProjectId *int64 `protobuf:"varint,18,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,19,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,20,opt,name=list_all,json=listAll" json:"list_all,omitempty"`
	// list only resources belonging to the domain specified
	DomainId *int64 `protobuf:"varint,21,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,22,opt,name=recursive" json:"recursive,omitempty"`
	// List by keyword
	Keyword      *string `protobuf:"bytes,23,opt,name=keyword" json:"keyword,omitempty"`
	Page         *int32  `protobuf:"varint,24,opt,name=page" json:"page,omitempty"`
	PageSize     *int32  `protobuf:"varint,25,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
	ResponseType *string `protobuf:"bytes,26,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

ListTemplatesCmdByAdminRequest represents the parameters for list all public, private, and privileged templates.

func (*ListTemplatesCmdByAdminRequest) Descriptor deprecated

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

Deprecated: Use ListTemplatesCmdByAdminRequest.ProtoReflect.Descriptor instead.

func (*ListTemplatesCmdByAdminRequest) GetAccountName

func (x *ListTemplatesCmdByAdminRequest) GetAccountName() string

func (*ListTemplatesCmdByAdminRequest) GetArch

func (*ListTemplatesCmdByAdminRequest) GetDomainId

func (x *ListTemplatesCmdByAdminRequest) GetDomainId() int64

func (*ListTemplatesCmdByAdminRequest) GetHypervisor

func (x *ListTemplatesCmdByAdminRequest) GetHypervisor() string

func (*ListTemplatesCmdByAdminRequest) GetId

func (*ListTemplatesCmdByAdminRequest) GetIds

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

func (*ListTemplatesCmdByAdminRequest) GetImageStoreId

func (x *ListTemplatesCmdByAdminRequest) GetImageStoreId() int64

func (*ListTemplatesCmdByAdminRequest) GetIsVnf

func (x *ListTemplatesCmdByAdminRequest) GetIsVnf() bool

func (*ListTemplatesCmdByAdminRequest) GetKeyword

func (x *ListTemplatesCmdByAdminRequest) GetKeyword() string

func (*ListTemplatesCmdByAdminRequest) GetListAll

func (x *ListTemplatesCmdByAdminRequest) GetListAll() bool

func (*ListTemplatesCmdByAdminRequest) GetPage

func (*ListTemplatesCmdByAdminRequest) GetPageSize

func (x *ListTemplatesCmdByAdminRequest) GetPageSize() int32

func (*ListTemplatesCmdByAdminRequest) GetParentTemplateId

func (x *ListTemplatesCmdByAdminRequest) GetParentTemplateId() int64

func (*ListTemplatesCmdByAdminRequest) GetProjectId

func (x *ListTemplatesCmdByAdminRequest) GetProjectId() int64

func (*ListTemplatesCmdByAdminRequest) GetRecursive

func (x *ListTemplatesCmdByAdminRequest) GetRecursive() bool

func (*ListTemplatesCmdByAdminRequest) GetResponseType

func (x *ListTemplatesCmdByAdminRequest) GetResponseType() string

func (*ListTemplatesCmdByAdminRequest) GetShowIcon

func (x *ListTemplatesCmdByAdminRequest) GetShowIcon() bool

func (*ListTemplatesCmdByAdminRequest) GetShowRemoved

func (x *ListTemplatesCmdByAdminRequest) GetShowRemoved() bool

func (*ListTemplatesCmdByAdminRequest) GetShowUnique

func (x *ListTemplatesCmdByAdminRequest) GetShowUnique() bool

func (*ListTemplatesCmdByAdminRequest) GetStoragePoolId

func (x *ListTemplatesCmdByAdminRequest) GetStoragePoolId() int64

func (*ListTemplatesCmdByAdminRequest) GetTags

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

func (*ListTemplatesCmdByAdminRequest) GetTemplateFilter

func (x *ListTemplatesCmdByAdminRequest) GetTemplateFilter() string

func (*ListTemplatesCmdByAdminRequest) GetTemplateName

func (x *ListTemplatesCmdByAdminRequest) GetTemplateName() string

func (*ListTemplatesCmdByAdminRequest) GetTemplateType

func (x *ListTemplatesCmdByAdminRequest) GetTemplateType() string

func (*ListTemplatesCmdByAdminRequest) GetViewDetails

func (x *ListTemplatesCmdByAdminRequest) GetViewDetails() []string

func (*ListTemplatesCmdByAdminRequest) GetZoneId

func (x *ListTemplatesCmdByAdminRequest) GetZoneId() int64

func (*ListTemplatesCmdByAdminRequest) ProtoMessage

func (*ListTemplatesCmdByAdminRequest) ProtoMessage()

func (*ListTemplatesCmdByAdminRequest) ProtoReflect

func (*ListTemplatesCmdByAdminRequest) Reset

func (x *ListTemplatesCmdByAdminRequest) Reset()

func (*ListTemplatesCmdByAdminRequest) String

type ListTemplatesCmdByAdminResponse

type ListTemplatesCmdByAdminResponse struct {

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

ListTemplatesCmdByAdminResponse represents the response from list all public, private, and privileged templates.

func (*ListTemplatesCmdByAdminResponse) Descriptor deprecated

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

Deprecated: Use ListTemplatesCmdByAdminResponse.ProtoReflect.Descriptor instead.

func (*ListTemplatesCmdByAdminResponse) GetItems

func (x *ListTemplatesCmdByAdminResponse) GetItems() []*Template

func (*ListTemplatesCmdByAdminResponse) GetTotalCount

func (x *ListTemplatesCmdByAdminResponse) GetTotalCount() int32

func (*ListTemplatesCmdByAdminResponse) ProtoMessage

func (*ListTemplatesCmdByAdminResponse) ProtoMessage()

func (*ListTemplatesCmdByAdminResponse) ProtoReflect

func (*ListTemplatesCmdByAdminResponse) Reset

func (*ListTemplatesCmdByAdminResponse) String

type ListTemplatesRequest

type ListTemplatesRequest 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 hypervisor for which to restrict the search
	Hypervisor *string `protobuf:"bytes,2,opt,name=hypervisor" json:"hypervisor,omitempty"`
	// the template ID
	Id *int64 `protobuf:"varint,3,opt,name=id" json:"id,omitempty"`
	// the IDs of the templates, mutually exclusive with id
	Ids []string `protobuf:"bytes,4,rep,name=ids" json:"ids,omitempty"`
	// the template name
	TemplateName *string `protobuf:"bytes,5,opt,name=template_name,json=templateName" json:"template_name,omitempty"`
	// possible values are "featured", "self", "selfexecutable","sharedexecutable","executable", and "community". * featured : templates that have been marked as featured and public. * self : templates that have been registered or created by the calling user. * selfexecutable : same as self, but only returns templates that can be used to deploy a new VM. * sharedexecutable : templates ready to be deployed that have been granted to the calling user by another user. * executable : templates that are owned by the calling user, or public templates, that can be used to deploy a VM. * community : templates that have been marked as public but not featured. * all : all templates (only usable by admins).
	TemplateFilter *string `protobuf:"bytes,6,opt,name=template_filter,json=templateFilter" json:"template_filter,omitempty"`
	// list templates by zoneId
	ZoneId *int64 `protobuf:"varint,7,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
	// show removed templates as well
	ShowRemoved *bool `protobuf:"varint,8,opt,name=show_removed,json=showRemoved" json:"show_removed,omitempty"`
	// If set to true, list only unique templates across zones
	ShowUnique *bool `protobuf:"varint,9,opt,name=show_unique,json=showUnique" json:"show_unique,omitempty"`
	// list datadisk templates by parent template id
	ParentTemplateId *int64 `protobuf:"varint,10,opt,name=parent_template_id,json=parentTemplateId" json:"parent_template_id,omitempty"`
	// comma separated list of template details requested, value can be a list of [ all, min]
	ViewDetails []string `protobuf:"bytes,11,rep,name=view_details,json=viewDetails" json:"view_details,omitempty"`
	// the type of the template
	TemplateType *string `protobuf:"bytes,12,opt,name=template_type,json=templateType" json:"template_type,omitempty"`
	// flag to list VNF templates or not; true if need to list VNF templates, false otherwise.
	IsVnf *bool `protobuf:"varint,13,opt,name=is_vnf,json=isVnf" json:"is_vnf,omitempty"`
	// the CPU arch of the template. Valid options are: x86_64, aarch64
	Arch *string `protobuf:"bytes,14,opt,name=arch" json:"arch,omitempty"`
	// flag to display the resource image for the templates
	ShowIcon *bool `protobuf:"varint,15,opt,name=show_icon,json=showIcon" json:"show_icon,omitempty"`
	// List resources by tags (key/value pairs)
	Tags map[string]string `` /* 129-byte string literal not displayed */
	// list objects by project; if projectid=-1 lists All VMs
	ProjectId *int64 `protobuf:"varint,17,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,18,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,19,opt,name=list_all,json=listAll" json:"list_all,omitempty"`
	// list only resources belonging to the domain specified
	DomainId *int64 `protobuf:"varint,20,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,21,opt,name=recursive" json:"recursive,omitempty"`
	// List by keyword
	Keyword      *string `protobuf:"bytes,22,opt,name=keyword" json:"keyword,omitempty"`
	Page         *int32  `protobuf:"varint,23,opt,name=page" json:"page,omitempty"`
	PageSize     *int32  `protobuf:"varint,24,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
	ResponseType *string `protobuf:"bytes,25,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

ListTemplatesRequest represents the parameters for list all public, private, and privileged templates.

func (*ListTemplatesRequest) Descriptor deprecated

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

Deprecated: Use ListTemplatesRequest.ProtoReflect.Descriptor instead.

func (*ListTemplatesRequest) GetAccountName

func (x *ListTemplatesRequest) GetAccountName() string

func (*ListTemplatesRequest) GetArch

func (x *ListTemplatesRequest) GetArch() string

func (*ListTemplatesRequest) GetDomainId

func (x *ListTemplatesRequest) GetDomainId() int64

func (*ListTemplatesRequest) GetHypervisor

func (x *ListTemplatesRequest) GetHypervisor() string

func (*ListTemplatesRequest) GetId

func (x *ListTemplatesRequest) GetId() int64

func (*ListTemplatesRequest) GetIds

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

func (*ListTemplatesRequest) GetIsVnf

func (x *ListTemplatesRequest) GetIsVnf() bool

func (*ListTemplatesRequest) GetKeyword

func (x *ListTemplatesRequest) GetKeyword() string

func (*ListTemplatesRequest) GetListAll

func (x *ListTemplatesRequest) GetListAll() bool

func (*ListTemplatesRequest) GetPage

func (x *ListTemplatesRequest) GetPage() int32

func (*ListTemplatesRequest) GetPageSize

func (x *ListTemplatesRequest) GetPageSize() int32

func (*ListTemplatesRequest) GetParentTemplateId

func (x *ListTemplatesRequest) GetParentTemplateId() int64

func (*ListTemplatesRequest) GetProjectId

func (x *ListTemplatesRequest) GetProjectId() int64

func (*ListTemplatesRequest) GetRecursive

func (x *ListTemplatesRequest) GetRecursive() bool

func (*ListTemplatesRequest) GetResponseType

func (x *ListTemplatesRequest) GetResponseType() string

func (*ListTemplatesRequest) GetRunAsAdmin

func (x *ListTemplatesRequest) GetRunAsAdmin() bool

func (*ListTemplatesRequest) GetShowIcon

func (x *ListTemplatesRequest) GetShowIcon() bool

func (*ListTemplatesRequest) GetShowRemoved

func (x *ListTemplatesRequest) GetShowRemoved() bool

func (*ListTemplatesRequest) GetShowUnique

func (x *ListTemplatesRequest) GetShowUnique() bool

func (*ListTemplatesRequest) GetTags

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

func (*ListTemplatesRequest) GetTemplateFilter

func (x *ListTemplatesRequest) GetTemplateFilter() string

func (*ListTemplatesRequest) GetTemplateName

func (x *ListTemplatesRequest) GetTemplateName() string

func (*ListTemplatesRequest) GetTemplateType

func (x *ListTemplatesRequest) GetTemplateType() string

func (*ListTemplatesRequest) GetViewDetails

func (x *ListTemplatesRequest) GetViewDetails() []string

func (*ListTemplatesRequest) GetZoneId

func (x *ListTemplatesRequest) GetZoneId() int64

func (*ListTemplatesRequest) ProtoMessage

func (*ListTemplatesRequest) ProtoMessage()

func (*ListTemplatesRequest) ProtoReflect

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

func (*ListTemplatesRequest) Reset

func (x *ListTemplatesRequest) Reset()

func (*ListTemplatesRequest) String

func (x *ListTemplatesRequest) String() string

type ListTemplatesResponse

type ListTemplatesResponse struct {

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

ListTemplatesResponse represents the response from list all public, private, and privileged templates.

func (*ListTemplatesResponse) Descriptor deprecated

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

Deprecated: Use ListTemplatesResponse.ProtoReflect.Descriptor instead.

func (*ListTemplatesResponse) GetItems

func (x *ListTemplatesResponse) GetItems() []*Template

func (*ListTemplatesResponse) GetTotalCount

func (x *ListTemplatesResponse) GetTotalCount() int32

func (*ListTemplatesResponse) ProtoMessage

func (*ListTemplatesResponse) ProtoMessage()

func (*ListTemplatesResponse) ProtoReflect

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

func (*ListTemplatesResponse) Reset

func (x *ListTemplatesResponse) Reset()

func (*ListTemplatesResponse) String

func (x *ListTemplatesResponse) String() string

type ListVnfTemplatesCmdByAdminRequest

type ListVnfTemplatesCmdByAdminRequest struct {

	// the hypervisor for which to restrict the search
	Hypervisor *string `protobuf:"bytes,1,opt,name=hypervisor" json:"hypervisor,omitempty"`
	// the template ID
	Id *int64 `protobuf:"varint,2,opt,name=id" json:"id,omitempty"`
	// the IDs of the templates, mutually exclusive with id
	Ids []string `protobuf:"bytes,3,rep,name=ids" json:"ids,omitempty"`
	// the template name
	TemplateName *string `protobuf:"bytes,4,opt,name=template_name,json=templateName" json:"template_name,omitempty"`
	// possible values are "featured", "self", "selfexecutable","sharedexecutable","executable", and "community". * featured : templates that have been marked as featured and public. * self : templates that have been registered or created by the calling user. * selfexecutable : same as self, but only returns templates that can be used to deploy a new VM. * sharedexecutable : templates ready to be deployed that have been granted to the calling user by another user. * executable : templates that are owned by the calling user, or public templates, that can be used to deploy a VM. * community : templates that have been marked as public but not featured. * all : all templates (only usable by admins).
	TemplateFilter *string `protobuf:"bytes,5,opt,name=template_filter,json=templateFilter" json:"template_filter,omitempty"`
	// list templates by zoneId
	ZoneId *int64 `protobuf:"varint,6,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
	// show removed templates as well
	ShowRemoved *bool `protobuf:"varint,7,opt,name=show_removed,json=showRemoved" json:"show_removed,omitempty"`
	// If set to true, list only unique templates across zones
	ShowUnique *bool `protobuf:"varint,8,opt,name=show_unique,json=showUnique" json:"show_unique,omitempty"`
	// list datadisk templates by parent template id
	ParentTemplateId *int64 `protobuf:"varint,9,opt,name=parent_template_id,json=parentTemplateId" json:"parent_template_id,omitempty"`
	// comma separated list of template details requested, value can be a list of [ all, min]
	ViewDetails []string `protobuf:"bytes,10,rep,name=view_details,json=viewDetails" json:"view_details,omitempty"`
	// the type of the template
	TemplateType *string `protobuf:"bytes,11,opt,name=template_type,json=templateType" json:"template_type,omitempty"`
	// flag to list VNF templates or not; true if need to list VNF templates, false otherwise.
	IsVnf *bool `protobuf:"varint,12,opt,name=is_vnf,json=isVnf" json:"is_vnf,omitempty"`
	// the CPU arch of the template. Valid options are: x86_64, aarch64
	Arch *string `protobuf:"bytes,13,opt,name=arch" json:"arch,omitempty"`
	// flag to display the resource image for the templates
	ShowIcon *bool `protobuf:"varint,14,opt,name=show_icon,json=showIcon" json:"show_icon,omitempty"`
	// List resources by tags (key/value pairs)
	Tags map[string]string `` /* 129-byte string literal not displayed */
	// list objects by project; if projectid=-1 lists All VMs
	ProjectId *int64 `protobuf:"varint,16,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,17,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,18,opt,name=list_all,json=listAll" json:"list_all,omitempty"`
	// list only resources belonging to the domain specified
	DomainId *int64 `protobuf:"varint,19,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,20,opt,name=recursive" json:"recursive,omitempty"`
	// List by keyword
	Keyword      *string `protobuf:"bytes,21,opt,name=keyword" json:"keyword,omitempty"`
	Page         *int32  `protobuf:"varint,22,opt,name=page" json:"page,omitempty"`
	PageSize     *int32  `protobuf:"varint,23,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
	ResponseType *string `protobuf:"bytes,24,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

ListVnfTemplatesCmdByAdminRequest represents the parameters for list all public, private, and privileged vnf templates.

func (*ListVnfTemplatesCmdByAdminRequest) Descriptor deprecated

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

Deprecated: Use ListVnfTemplatesCmdByAdminRequest.ProtoReflect.Descriptor instead.

func (*ListVnfTemplatesCmdByAdminRequest) GetAccountName

func (x *ListVnfTemplatesCmdByAdminRequest) GetAccountName() string

func (*ListVnfTemplatesCmdByAdminRequest) GetArch

func (*ListVnfTemplatesCmdByAdminRequest) GetDomainId

func (x *ListVnfTemplatesCmdByAdminRequest) GetDomainId() int64

func (*ListVnfTemplatesCmdByAdminRequest) GetHypervisor

func (x *ListVnfTemplatesCmdByAdminRequest) GetHypervisor() string

func (*ListVnfTemplatesCmdByAdminRequest) GetId

func (*ListVnfTemplatesCmdByAdminRequest) GetIds

func (*ListVnfTemplatesCmdByAdminRequest) GetIsVnf

func (*ListVnfTemplatesCmdByAdminRequest) GetKeyword

func (x *ListVnfTemplatesCmdByAdminRequest) GetKeyword() string

func (*ListVnfTemplatesCmdByAdminRequest) GetListAll

func (x *ListVnfTemplatesCmdByAdminRequest) GetListAll() bool

func (*ListVnfTemplatesCmdByAdminRequest) GetPage

func (*ListVnfTemplatesCmdByAdminRequest) GetPageSize

func (x *ListVnfTemplatesCmdByAdminRequest) GetPageSize() int32

func (*ListVnfTemplatesCmdByAdminRequest) GetParentTemplateId

func (x *ListVnfTemplatesCmdByAdminRequest) GetParentTemplateId() int64

func (*ListVnfTemplatesCmdByAdminRequest) GetProjectId

func (x *ListVnfTemplatesCmdByAdminRequest) GetProjectId() int64

func (*ListVnfTemplatesCmdByAdminRequest) GetRecursive

func (x *ListVnfTemplatesCmdByAdminRequest) GetRecursive() bool

func (*ListVnfTemplatesCmdByAdminRequest) GetResponseType

func (x *ListVnfTemplatesCmdByAdminRequest) GetResponseType() string

func (*ListVnfTemplatesCmdByAdminRequest) GetShowIcon

func (x *ListVnfTemplatesCmdByAdminRequest) GetShowIcon() bool

func (*ListVnfTemplatesCmdByAdminRequest) GetShowRemoved

func (x *ListVnfTemplatesCmdByAdminRequest) GetShowRemoved() bool

func (*ListVnfTemplatesCmdByAdminRequest) GetShowUnique

func (x *ListVnfTemplatesCmdByAdminRequest) GetShowUnique() bool

func (*ListVnfTemplatesCmdByAdminRequest) GetTags

func (*ListVnfTemplatesCmdByAdminRequest) GetTemplateFilter

func (x *ListVnfTemplatesCmdByAdminRequest) GetTemplateFilter() string

func (*ListVnfTemplatesCmdByAdminRequest) GetTemplateName

func (x *ListVnfTemplatesCmdByAdminRequest) GetTemplateName() string

func (*ListVnfTemplatesCmdByAdminRequest) GetTemplateType

func (x *ListVnfTemplatesCmdByAdminRequest) GetTemplateType() string

func (*ListVnfTemplatesCmdByAdminRequest) GetViewDetails

func (x *ListVnfTemplatesCmdByAdminRequest) GetViewDetails() []string

func (*ListVnfTemplatesCmdByAdminRequest) GetZoneId

func (*ListVnfTemplatesCmdByAdminRequest) ProtoMessage

func (*ListVnfTemplatesCmdByAdminRequest) ProtoMessage()

func (*ListVnfTemplatesCmdByAdminRequest) ProtoReflect

func (*ListVnfTemplatesCmdByAdminRequest) Reset

func (*ListVnfTemplatesCmdByAdminRequest) String

type ListVnfTemplatesCmdByAdminResponse

type ListVnfTemplatesCmdByAdminResponse struct {

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

ListVnfTemplatesCmdByAdminResponse represents the response from list all public, private, and privileged vnf templates.

func (*ListVnfTemplatesCmdByAdminResponse) Descriptor deprecated

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

Deprecated: Use ListVnfTemplatesCmdByAdminResponse.ProtoReflect.Descriptor instead.

func (*ListVnfTemplatesCmdByAdminResponse) GetItems

func (*ListVnfTemplatesCmdByAdminResponse) GetTotalCount

func (x *ListVnfTemplatesCmdByAdminResponse) GetTotalCount() int32

func (*ListVnfTemplatesCmdByAdminResponse) ProtoMessage

func (*ListVnfTemplatesCmdByAdminResponse) ProtoMessage()

func (*ListVnfTemplatesCmdByAdminResponse) ProtoReflect

func (*ListVnfTemplatesCmdByAdminResponse) Reset

func (*ListVnfTemplatesCmdByAdminResponse) String

type ListVnfTemplatesRequest

type ListVnfTemplatesRequest 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 hypervisor for which to restrict the search
	Hypervisor *string `protobuf:"bytes,2,opt,name=hypervisor" json:"hypervisor,omitempty"`
	// the template ID
	Id *int64 `protobuf:"varint,3,opt,name=id" json:"id,omitempty"`
	// the IDs of the templates, mutually exclusive with id
	Ids []string `protobuf:"bytes,4,rep,name=ids" json:"ids,omitempty"`
	// the template name
	TemplateName *string `protobuf:"bytes,5,opt,name=template_name,json=templateName" json:"template_name,omitempty"`
	// possible values are "featured", "self", "selfexecutable","sharedexecutable","executable", and "community". * featured : templates that have been marked as featured and public. * self : templates that have been registered or created by the calling user. * selfexecutable : same as self, but only returns templates that can be used to deploy a new VM. * sharedexecutable : templates ready to be deployed that have been granted to the calling user by another user. * executable : templates that are owned by the calling user, or public templates, that can be used to deploy a VM. * community : templates that have been marked as public but not featured. * all : all templates (only usable by admins).
	TemplateFilter *string `protobuf:"bytes,6,opt,name=template_filter,json=templateFilter" json:"template_filter,omitempty"`
	// list templates by zoneId
	ZoneId *int64 `protobuf:"varint,7,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
	// show removed templates as well
	ShowRemoved *bool `protobuf:"varint,8,opt,name=show_removed,json=showRemoved" json:"show_removed,omitempty"`
	// If set to true, list only unique templates across zones
	ShowUnique *bool `protobuf:"varint,9,opt,name=show_unique,json=showUnique" json:"show_unique,omitempty"`
	// list datadisk templates by parent template id
	ParentTemplateId *int64 `protobuf:"varint,10,opt,name=parent_template_id,json=parentTemplateId" json:"parent_template_id,omitempty"`
	// comma separated list of template details requested, value can be a list of [ all, min]
	ViewDetails []string `protobuf:"bytes,11,rep,name=view_details,json=viewDetails" json:"view_details,omitempty"`
	// the type of the template
	TemplateType *string `protobuf:"bytes,12,opt,name=template_type,json=templateType" json:"template_type,omitempty"`
	// flag to list VNF templates or not; true if need to list VNF templates, false otherwise.
	IsVnf *bool `protobuf:"varint,13,opt,name=is_vnf,json=isVnf" json:"is_vnf,omitempty"`
	// the CPU arch of the template. Valid options are: x86_64, aarch64
	Arch *string `protobuf:"bytes,14,opt,name=arch" json:"arch,omitempty"`
	// flag to display the resource image for the templates
	ShowIcon *bool `protobuf:"varint,15,opt,name=show_icon,json=showIcon" json:"show_icon,omitempty"`
	// List resources by tags (key/value pairs)
	Tags map[string]string `` /* 129-byte string literal not displayed */
	// list objects by project; if projectid=-1 lists All VMs
	ProjectId *int64 `protobuf:"varint,17,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,18,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,19,opt,name=list_all,json=listAll" json:"list_all,omitempty"`
	// list only resources belonging to the domain specified
	DomainId *int64 `protobuf:"varint,20,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,21,opt,name=recursive" json:"recursive,omitempty"`
	// List by keyword
	Keyword      *string `protobuf:"bytes,22,opt,name=keyword" json:"keyword,omitempty"`
	Page         *int32  `protobuf:"varint,23,opt,name=page" json:"page,omitempty"`
	PageSize     *int32  `protobuf:"varint,24,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
	ResponseType *string `protobuf:"bytes,25,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

ListVnfTemplatesRequest represents the parameters for list all public, private, and privileged vnf templates.

func (*ListVnfTemplatesRequest) Descriptor deprecated

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

Deprecated: Use ListVnfTemplatesRequest.ProtoReflect.Descriptor instead.

func (*ListVnfTemplatesRequest) GetAccountName

func (x *ListVnfTemplatesRequest) GetAccountName() string

func (*ListVnfTemplatesRequest) GetArch

func (x *ListVnfTemplatesRequest) GetArch() string

func (*ListVnfTemplatesRequest) GetDomainId

func (x *ListVnfTemplatesRequest) GetDomainId() int64

func (*ListVnfTemplatesRequest) GetHypervisor

func (x *ListVnfTemplatesRequest) GetHypervisor() string

func (*ListVnfTemplatesRequest) GetId

func (x *ListVnfTemplatesRequest) GetId() int64

func (*ListVnfTemplatesRequest) GetIds

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

func (*ListVnfTemplatesRequest) GetIsVnf

func (x *ListVnfTemplatesRequest) GetIsVnf() bool

func (*ListVnfTemplatesRequest) GetKeyword

func (x *ListVnfTemplatesRequest) GetKeyword() string

func (*ListVnfTemplatesRequest) GetListAll

func (x *ListVnfTemplatesRequest) GetListAll() bool

func (*ListVnfTemplatesRequest) GetPage

func (x *ListVnfTemplatesRequest) GetPage() int32

func (*ListVnfTemplatesRequest) GetPageSize

func (x *ListVnfTemplatesRequest) GetPageSize() int32

func (*ListVnfTemplatesRequest) GetParentTemplateId

func (x *ListVnfTemplatesRequest) GetParentTemplateId() int64

func (*ListVnfTemplatesRequest) GetProjectId

func (x *ListVnfTemplatesRequest) GetProjectId() int64

func (*ListVnfTemplatesRequest) GetRecursive

func (x *ListVnfTemplatesRequest) GetRecursive() bool

func (*ListVnfTemplatesRequest) GetResponseType

func (x *ListVnfTemplatesRequest) GetResponseType() string

func (*ListVnfTemplatesRequest) GetRunAsAdmin

func (x *ListVnfTemplatesRequest) GetRunAsAdmin() bool

func (*ListVnfTemplatesRequest) GetShowIcon

func (x *ListVnfTemplatesRequest) GetShowIcon() bool

func (*ListVnfTemplatesRequest) GetShowRemoved

func (x *ListVnfTemplatesRequest) GetShowRemoved() bool

func (*ListVnfTemplatesRequest) GetShowUnique

func (x *ListVnfTemplatesRequest) GetShowUnique() bool

func (*ListVnfTemplatesRequest) GetTags

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

func (*ListVnfTemplatesRequest) GetTemplateFilter

func (x *ListVnfTemplatesRequest) GetTemplateFilter() string

func (*ListVnfTemplatesRequest) GetTemplateName

func (x *ListVnfTemplatesRequest) GetTemplateName() string

func (*ListVnfTemplatesRequest) GetTemplateType

func (x *ListVnfTemplatesRequest) GetTemplateType() string

func (*ListVnfTemplatesRequest) GetViewDetails

func (x *ListVnfTemplatesRequest) GetViewDetails() []string

func (*ListVnfTemplatesRequest) GetZoneId

func (x *ListVnfTemplatesRequest) GetZoneId() int64

func (*ListVnfTemplatesRequest) ProtoMessage

func (*ListVnfTemplatesRequest) ProtoMessage()

func (*ListVnfTemplatesRequest) ProtoReflect

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

func (*ListVnfTemplatesRequest) Reset

func (x *ListVnfTemplatesRequest) Reset()

func (*ListVnfTemplatesRequest) String

func (x *ListVnfTemplatesRequest) String() string

type ListVnfTemplatesResponse

type ListVnfTemplatesResponse struct {

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

ListVnfTemplatesResponse represents the response from list all public, private, and privileged vnf templates.

func (*ListVnfTemplatesResponse) Descriptor deprecated

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

Deprecated: Use ListVnfTemplatesResponse.ProtoReflect.Descriptor instead.

func (*ListVnfTemplatesResponse) GetItems

func (x *ListVnfTemplatesResponse) GetItems() []*Template

func (*ListVnfTemplatesResponse) GetTotalCount

func (x *ListVnfTemplatesResponse) GetTotalCount() int32

func (*ListVnfTemplatesResponse) ProtoMessage

func (*ListVnfTemplatesResponse) ProtoMessage()

func (*ListVnfTemplatesResponse) ProtoReflect

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

func (*ListVnfTemplatesResponse) Reset

func (x *ListVnfTemplatesResponse) Reset()

func (*ListVnfTemplatesResponse) String

func (x *ListVnfTemplatesResponse) String() string

type PrepareTemplateRequest

type PrepareTemplateRequest struct {

	// zone ID of the template to be prepared in primary storage(s).
	ZoneId *int64 `protobuf:"varint,1,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
	// template ID of the template to be prepared in primary storage(s).
	TemplateId *int64 `protobuf:"varint,2,opt,name=template_id,json=templateId" json:"template_id,omitempty"`
	// storage pool ID of the primary storage pool to which the template should be prepared. If it is not provided the template is prepared on all the available primary storage pools.
	StorageId    *int64  `protobuf:"varint,3,opt,name=storage_id,json=storageId" json:"storage_id,omitempty"`
	ResponseType *string `protobuf:"bytes,4,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

PrepareTemplateRequest represents the parameters for load template into primary storage

func (*PrepareTemplateRequest) Descriptor deprecated

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

Deprecated: Use PrepareTemplateRequest.ProtoReflect.Descriptor instead.

func (*PrepareTemplateRequest) GetResponseType

func (x *PrepareTemplateRequest) GetResponseType() string

func (*PrepareTemplateRequest) GetStorageId

func (x *PrepareTemplateRequest) GetStorageId() int64

func (*PrepareTemplateRequest) GetTemplateId

func (x *PrepareTemplateRequest) GetTemplateId() int64

func (*PrepareTemplateRequest) GetZoneId

func (x *PrepareTemplateRequest) GetZoneId() int64

func (*PrepareTemplateRequest) ProtoMessage

func (*PrepareTemplateRequest) ProtoMessage()

func (*PrepareTemplateRequest) ProtoReflect

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

func (*PrepareTemplateRequest) Reset

func (x *PrepareTemplateRequest) Reset()

func (*PrepareTemplateRequest) String

func (x *PrepareTemplateRequest) String() string

type PrepareTemplateResponse

type PrepareTemplateResponse struct {

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

PrepareTemplateResponse represents the response from load template into primary storage

func (*PrepareTemplateResponse) Descriptor deprecated

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

Deprecated: Use PrepareTemplateResponse.ProtoReflect.Descriptor instead.

func (*PrepareTemplateResponse) GetResult

func (x *PrepareTemplateResponse) GetResult() *Result

func (*PrepareTemplateResponse) ProtoMessage

func (*PrepareTemplateResponse) ProtoMessage()

func (*PrepareTemplateResponse) ProtoReflect

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

func (*PrepareTemplateResponse) Reset

func (x *PrepareTemplateResponse) Reset()

func (*PrepareTemplateResponse) String

func (x *PrepareTemplateResponse) String() string

type RegisterTemplateCmdByAdminRequest

type RegisterTemplateCmdByAdminRequest struct {

	// 32 or 64 bits support. 64 by default
	Bits *int32 `protobuf:"varint,1,opt,name=bits" json:"bits,omitempty"`
	// The display text of the template, defaults to 'name'.
	DisplayText *string `protobuf:"bytes,2,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
	// the format for the template. Possible values include QCOW2, RAW, VHD and OVA.
	Format *string `protobuf:"bytes,3,opt,name=format" json:"format,omitempty"`
	// the target hypervisor for the template
	Hypervisor *string `protobuf:"bytes,4,opt,name=hypervisor" json:"hypervisor,omitempty"`
	// true if this template is a featured template, false otherwise
	Featured *bool `protobuf:"varint,5,opt,name=featured" json:"featured,omitempty"`
	// true if the template is available to all accounts; default is true
	PublicTemplate *bool `protobuf:"varint,6,opt,name=public_template,json=publicTemplate" json:"public_template,omitempty"`
	// the name of the template
	TemplateName *string `protobuf:"bytes,7,opt,name=template_name,json=templateName" json:"template_name,omitempty"`
	// the ID of the OS Type that best represents the OS of this template. Not applicable with VMware, as we honour what is defined in the template
	OsTypeId *int64 `protobuf:"varint,8,opt,name=os_type_id,json=osTypeId" json:"os_type_id,omitempty"`
	// true if the template supports the password reset feature; default is false
	PasswordEnabled *bool `protobuf:"varint,9,opt,name=password_enabled,json=passwordEnabled" json:"password_enabled,omitempty"`
	// true if the template supports the sshkey upload feature; default is false
	SshKeyEnabled *bool `protobuf:"varint,10,opt,name=ssh_key_enabled,json=sshKeyEnabled" json:"ssh_key_enabled,omitempty"`
	// true if the template or its derivatives are extractable; default is false
	Extractable *bool `protobuf:"varint,11,opt,name=extractable" json:"extractable,omitempty"`
	// true if this template requires HVM
	RequiresHvm *bool `protobuf:"varint,12,opt,name=requires_hvm,json=requiresHvm" json:"requires_hvm,omitempty"`
	// the URL of where the template is hosted. Possible URL include http:// and https://
	Url *string `protobuf:"bytes,13,opt,name=url" json:"url,omitempty"`
	// the ID of the zone the template is to be hosted on
	ZoneId *int64 `protobuf:"varint,14,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
	// an optional domainId. If the account parameter is used, domainId must also be used.
	DomainId *int64 `protobuf:"varint,15,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
	// an optional accountName. Must be used with domainId.
	AccountName *string `protobuf:"bytes,16,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
	// the checksum value of this template. The parameter containing the checksum will be considered a MD5sum if it is not prefixed
	// and just a plain ascii/utf8 representation of a hexadecimal string. If it is required to
	// use another algorithm the hexadecimal string is to be prefixed with a string of the form,
	// "{<algorithm>}", not including the double quotes. In this <algorithm> is the exact string
	// representing the java supported algorithm, i.e. MD5 or SHA-256. Note that java does not
	// contain an algorithm called SHA256 or one called sha-256, only SHA-256.
	Checksum *string `protobuf:"bytes,17,opt,name=checksum" json:"checksum,omitempty"`
	// the tag for this template.
	TemplateTag *string `protobuf:"bytes,18,opt,name=template_tag,json=templateTag" json:"template_tag,omitempty"`
	// Register template for the project
	ProjectId *int64 `protobuf:"varint,19,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
	// Template details in key/value pairs using format details[i].keyname=keyvalue. Example: details[0].hypervisortoolsversion=xenserver61
	Details map[string]string `` /* 135-byte string literal not displayed */
	// true if template contains XS/VMWare tools inorder to support dynamic scaling of VM cpu/memory
	IsDynamicallyScalable *bool `protobuf:"varint,21,opt,name=is_dynamically_scalable,json=isDynamicallyScalable" json:"is_dynamically_scalable,omitempty"`
	// true if the template type is routing i.e., if template is used to deploy router
	IsRoutingType *bool `protobuf:"varint,22,opt,name=is_routing_type,json=isRoutingType" json:"is_routing_type,omitempty"`
	// A list of zone ids where the template will be hosted. Use this parameter if the template needs to be registered to multiple zones in one go. Use zoneid if the template needs to be registered to only one zone.Passing only -1 to this will cause the template to be registered as a cross zone template and will be copied to all zones.
	ZoneIds []string `protobuf:"bytes,23,rep,name=zone_ids,json=zoneIds" json:"zone_ids,omitempty"`
	// true if template should bypass Secondary Storage and be downloaded to Primary Storage on deployment
	DirectDownload *bool `protobuf:"varint,24,opt,name=direct_download,json=directDownload" json:"direct_download,omitempty"`
	// (VMware only) true if VM deployments should preserve all the configurations defined for this template
	DeployAsIs *bool `protobuf:"varint,25,opt,name=deploy_as_is,json=deployAsIs" json:"deploy_as_is,omitempty"`
	// the type of the template. Valid options are: USER/VNF (for all users) and SYSTEM/ROUTING/BUILTIN (for admins only).
	TemplateType *string `protobuf:"bytes,26,opt,name=template_type,json=templateType" json:"template_type,omitempty"`
	// the CPU arch of the template. Valid options are: x86_64, aarch64
	Arch         *string `protobuf:"bytes,27,opt,name=arch" json:"arch,omitempty"`
	ResponseType *string `protobuf:"bytes,28,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

RegisterTemplateCmdByAdminRequest represents the parameters for registers an existing template into the cloudstack cloud.

func (*RegisterTemplateCmdByAdminRequest) Descriptor deprecated

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

Deprecated: Use RegisterTemplateCmdByAdminRequest.ProtoReflect.Descriptor instead.

func (*RegisterTemplateCmdByAdminRequest) GetAccountName

func (x *RegisterTemplateCmdByAdminRequest) GetAccountName() string

func (*RegisterTemplateCmdByAdminRequest) GetArch

func (*RegisterTemplateCmdByAdminRequest) GetBits

func (*RegisterTemplateCmdByAdminRequest) GetChecksum

func (x *RegisterTemplateCmdByAdminRequest) GetChecksum() string

func (*RegisterTemplateCmdByAdminRequest) GetDeployAsIs

func (x *RegisterTemplateCmdByAdminRequest) GetDeployAsIs() bool

func (*RegisterTemplateCmdByAdminRequest) GetDetails

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

func (*RegisterTemplateCmdByAdminRequest) GetDirectDownload

func (x *RegisterTemplateCmdByAdminRequest) GetDirectDownload() bool

func (*RegisterTemplateCmdByAdminRequest) GetDisplayText

func (x *RegisterTemplateCmdByAdminRequest) GetDisplayText() string

func (*RegisterTemplateCmdByAdminRequest) GetDomainId

func (x *RegisterTemplateCmdByAdminRequest) GetDomainId() int64

func (*RegisterTemplateCmdByAdminRequest) GetExtractable

func (x *RegisterTemplateCmdByAdminRequest) GetExtractable() bool

func (*RegisterTemplateCmdByAdminRequest) GetFeatured

func (x *RegisterTemplateCmdByAdminRequest) GetFeatured() bool

func (*RegisterTemplateCmdByAdminRequest) GetFormat

func (*RegisterTemplateCmdByAdminRequest) GetHypervisor

func (x *RegisterTemplateCmdByAdminRequest) GetHypervisor() string

func (*RegisterTemplateCmdByAdminRequest) GetIsDynamicallyScalable

func (x *RegisterTemplateCmdByAdminRequest) GetIsDynamicallyScalable() bool

func (*RegisterTemplateCmdByAdminRequest) GetIsRoutingType

func (x *RegisterTemplateCmdByAdminRequest) GetIsRoutingType() bool

func (*RegisterTemplateCmdByAdminRequest) GetOsTypeId

func (x *RegisterTemplateCmdByAdminRequest) GetOsTypeId() int64

func (*RegisterTemplateCmdByAdminRequest) GetPasswordEnabled

func (x *RegisterTemplateCmdByAdminRequest) GetPasswordEnabled() bool

func (*RegisterTemplateCmdByAdminRequest) GetProjectId

func (x *RegisterTemplateCmdByAdminRequest) GetProjectId() int64

func (*RegisterTemplateCmdByAdminRequest) GetPublicTemplate

func (x *RegisterTemplateCmdByAdminRequest) GetPublicTemplate() bool

func (*RegisterTemplateCmdByAdminRequest) GetRequiresHvm

func (x *RegisterTemplateCmdByAdminRequest) GetRequiresHvm() bool

func (*RegisterTemplateCmdByAdminRequest) GetResponseType

func (x *RegisterTemplateCmdByAdminRequest) GetResponseType() string

func (*RegisterTemplateCmdByAdminRequest) GetSshKeyEnabled

func (x *RegisterTemplateCmdByAdminRequest) GetSshKeyEnabled() bool

func (*RegisterTemplateCmdByAdminRequest) GetTemplateName

func (x *RegisterTemplateCmdByAdminRequest) GetTemplateName() string

func (*RegisterTemplateCmdByAdminRequest) GetTemplateTag

func (x *RegisterTemplateCmdByAdminRequest) GetTemplateTag() string

func (*RegisterTemplateCmdByAdminRequest) GetTemplateType

func (x *RegisterTemplateCmdByAdminRequest) GetTemplateType() string

func (*RegisterTemplateCmdByAdminRequest) GetUrl

func (*RegisterTemplateCmdByAdminRequest) GetZoneId

func (*RegisterTemplateCmdByAdminRequest) GetZoneIds

func (x *RegisterTemplateCmdByAdminRequest) GetZoneIds() []string

func (*RegisterTemplateCmdByAdminRequest) ProtoMessage

func (*RegisterTemplateCmdByAdminRequest) ProtoMessage()

func (*RegisterTemplateCmdByAdminRequest) ProtoReflect

func (*RegisterTemplateCmdByAdminRequest) Reset

func (*RegisterTemplateCmdByAdminRequest) String

type RegisterTemplateCmdByAdminResponse

type RegisterTemplateCmdByAdminResponse struct {

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

RegisterTemplateCmdByAdminResponse represents the response from registers an existing template into the cloudstack cloud.

func (*RegisterTemplateCmdByAdminResponse) Descriptor deprecated

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

Deprecated: Use RegisterTemplateCmdByAdminResponse.ProtoReflect.Descriptor instead.

func (*RegisterTemplateCmdByAdminResponse) GetResult

func (*RegisterTemplateCmdByAdminResponse) ProtoMessage

func (*RegisterTemplateCmdByAdminResponse) ProtoMessage()

func (*RegisterTemplateCmdByAdminResponse) ProtoReflect

func (*RegisterTemplateCmdByAdminResponse) Reset

func (*RegisterTemplateCmdByAdminResponse) String

type RegisterTemplateRequest

type RegisterTemplateRequest 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"`
	// 32 or 64 bits support. 64 by default
	Bits *int32 `protobuf:"varint,2,opt,name=bits" json:"bits,omitempty"`
	// The display text of the template, defaults to 'name'.
	DisplayText *string `protobuf:"bytes,3,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
	// the format for the template. Possible values include QCOW2, RAW, VHD and OVA.
	Format *string `protobuf:"bytes,4,opt,name=format" json:"format,omitempty"`
	// the target hypervisor for the template
	Hypervisor *string `protobuf:"bytes,5,opt,name=hypervisor" json:"hypervisor,omitempty"`
	// true if this template is a featured template, false otherwise
	Featured *bool `protobuf:"varint,6,opt,name=featured" json:"featured,omitempty"`
	// true if the template is available to all accounts; default is true
	PublicTemplate *bool `protobuf:"varint,7,opt,name=public_template,json=publicTemplate" json:"public_template,omitempty"`
	// the name of the template
	TemplateName *string `protobuf:"bytes,8,opt,name=template_name,json=templateName" json:"template_name,omitempty"`
	// the ID of the OS Type that best represents the OS of this template. Not applicable with VMware, as we honour what is defined in the template
	OsTypeId *int64 `protobuf:"varint,9,opt,name=os_type_id,json=osTypeId" json:"os_type_id,omitempty"`
	// true if the template supports the password reset feature; default is false
	PasswordEnabled *bool `protobuf:"varint,10,opt,name=password_enabled,json=passwordEnabled" json:"password_enabled,omitempty"`
	// true if the template supports the sshkey upload feature; default is false
	SshKeyEnabled *bool `protobuf:"varint,11,opt,name=ssh_key_enabled,json=sshKeyEnabled" json:"ssh_key_enabled,omitempty"`
	// true if the template or its derivatives are extractable; default is false
	Extractable *bool `protobuf:"varint,12,opt,name=extractable" json:"extractable,omitempty"`
	// true if this template requires HVM
	RequiresHvm *bool `protobuf:"varint,13,opt,name=requires_hvm,json=requiresHvm" json:"requires_hvm,omitempty"`
	// the URL of where the template is hosted. Possible URL include http:// and https://
	Url *string `protobuf:"bytes,14,opt,name=url" json:"url,omitempty"`
	// the ID of the zone the template is to be hosted on
	ZoneId *int64 `protobuf:"varint,15,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
	// an optional domainId. If the account parameter is used, domainId must also be used.
	DomainId *int64 `protobuf:"varint,16,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
	// an optional accountName. Must be used with domainId.
	AccountName *string `protobuf:"bytes,17,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
	// the checksum value of this template. The parameter containing the checksum will be considered a MD5sum if it is not prefixed
	// and just a plain ascii/utf8 representation of a hexadecimal string. If it is required to
	// use another algorithm the hexadecimal string is to be prefixed with a string of the form,
	// "{<algorithm>}", not including the double quotes. In this <algorithm> is the exact string
	// representing the java supported algorithm, i.e. MD5 or SHA-256. Note that java does not
	// contain an algorithm called SHA256 or one called sha-256, only SHA-256.
	Checksum *string `protobuf:"bytes,18,opt,name=checksum" json:"checksum,omitempty"`
	// the tag for this template.
	TemplateTag *string `protobuf:"bytes,19,opt,name=template_tag,json=templateTag" json:"template_tag,omitempty"`
	// Register template for the project
	ProjectId *int64 `protobuf:"varint,20,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
	// Template details in key/value pairs using format details[i].keyname=keyvalue. Example: details[0].hypervisortoolsversion=xenserver61
	Details map[string]string `` /* 135-byte string literal not displayed */
	// true if template contains XS/VMWare tools inorder to support dynamic scaling of VM cpu/memory
	IsDynamicallyScalable *bool `protobuf:"varint,22,opt,name=is_dynamically_scalable,json=isDynamicallyScalable" json:"is_dynamically_scalable,omitempty"`
	// true if the template type is routing i.e., if template is used to deploy router
	IsRoutingType *bool `protobuf:"varint,23,opt,name=is_routing_type,json=isRoutingType" json:"is_routing_type,omitempty"`
	// A list of zone ids where the template will be hosted. Use this parameter if the template needs to be registered to multiple zones in one go. Use zoneid if the template needs to be registered to only one zone.Passing only -1 to this will cause the template to be registered as a cross zone template and will be copied to all zones.
	ZoneIds []string `protobuf:"bytes,24,rep,name=zone_ids,json=zoneIds" json:"zone_ids,omitempty"`
	// true if template should bypass Secondary Storage and be downloaded to Primary Storage on deployment
	DirectDownload *bool `protobuf:"varint,25,opt,name=direct_download,json=directDownload" json:"direct_download,omitempty"`
	// (VMware only) true if VM deployments should preserve all the configurations defined for this template
	DeployAsIs *bool `protobuf:"varint,26,opt,name=deploy_as_is,json=deployAsIs" json:"deploy_as_is,omitempty"`
	// the type of the template. Valid options are: USER/VNF (for all users) and SYSTEM/ROUTING/BUILTIN (for admins only).
	TemplateType *string `protobuf:"bytes,27,opt,name=template_type,json=templateType" json:"template_type,omitempty"`
	// the CPU arch of the template. Valid options are: x86_64, aarch64
	Arch         *string `protobuf:"bytes,28,opt,name=arch" json:"arch,omitempty"`
	ResponseType *string `protobuf:"bytes,29,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

RegisterTemplateRequest represents the parameters for registers an existing template into the cloudstack cloud.

func (*RegisterTemplateRequest) Descriptor deprecated

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

Deprecated: Use RegisterTemplateRequest.ProtoReflect.Descriptor instead.

func (*RegisterTemplateRequest) GetAccountName

func (x *RegisterTemplateRequest) GetAccountName() string

func (*RegisterTemplateRequest) GetArch

func (x *RegisterTemplateRequest) GetArch() string

func (*RegisterTemplateRequest) GetBits

func (x *RegisterTemplateRequest) GetBits() int32

func (*RegisterTemplateRequest) GetChecksum

func (x *RegisterTemplateRequest) GetChecksum() string

func (*RegisterTemplateRequest) GetDeployAsIs

func (x *RegisterTemplateRequest) GetDeployAsIs() bool

func (*RegisterTemplateRequest) GetDetails

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

func (*RegisterTemplateRequest) GetDirectDownload

func (x *RegisterTemplateRequest) GetDirectDownload() bool

func (*RegisterTemplateRequest) GetDisplayText

func (x *RegisterTemplateRequest) GetDisplayText() string

func (*RegisterTemplateRequest) GetDomainId

func (x *RegisterTemplateRequest) GetDomainId() int64

func (*RegisterTemplateRequest) GetExtractable

func (x *RegisterTemplateRequest) GetExtractable() bool

func (*RegisterTemplateRequest) GetFeatured

func (x *RegisterTemplateRequest) GetFeatured() bool

func (*RegisterTemplateRequest) GetFormat

func (x *RegisterTemplateRequest) GetFormat() string

func (*RegisterTemplateRequest) GetHypervisor

func (x *RegisterTemplateRequest) GetHypervisor() string

func (*RegisterTemplateRequest) GetIsDynamicallyScalable

func (x *RegisterTemplateRequest) GetIsDynamicallyScalable() bool

func (*RegisterTemplateRequest) GetIsRoutingType

func (x *RegisterTemplateRequest) GetIsRoutingType() bool

func (*RegisterTemplateRequest) GetOsTypeId

func (x *RegisterTemplateRequest) GetOsTypeId() int64

func (*RegisterTemplateRequest) GetPasswordEnabled

func (x *RegisterTemplateRequest) GetPasswordEnabled() bool

func (*RegisterTemplateRequest) GetProjectId

func (x *RegisterTemplateRequest) GetProjectId() int64

func (*RegisterTemplateRequest) GetPublicTemplate

func (x *RegisterTemplateRequest) GetPublicTemplate() bool

func (*RegisterTemplateRequest) GetRequiresHvm

func (x *RegisterTemplateRequest) GetRequiresHvm() bool

func (*RegisterTemplateRequest) GetResponseType

func (x *RegisterTemplateRequest) GetResponseType() string

func (*RegisterTemplateRequest) GetRunAsAdmin

func (x *RegisterTemplateRequest) GetRunAsAdmin() bool

func (*RegisterTemplateRequest) GetSshKeyEnabled

func (x *RegisterTemplateRequest) GetSshKeyEnabled() bool

func (*RegisterTemplateRequest) GetTemplateName

func (x *RegisterTemplateRequest) GetTemplateName() string

func (*RegisterTemplateRequest) GetTemplateTag

func (x *RegisterTemplateRequest) GetTemplateTag() string

func (*RegisterTemplateRequest) GetTemplateType

func (x *RegisterTemplateRequest) GetTemplateType() string

func (*RegisterTemplateRequest) GetUrl

func (x *RegisterTemplateRequest) GetUrl() string

func (*RegisterTemplateRequest) GetZoneId

func (x *RegisterTemplateRequest) GetZoneId() int64

func (*RegisterTemplateRequest) GetZoneIds

func (x *RegisterTemplateRequest) GetZoneIds() []string

func (*RegisterTemplateRequest) ProtoMessage

func (*RegisterTemplateRequest) ProtoMessage()

func (*RegisterTemplateRequest) ProtoReflect

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

func (*RegisterTemplateRequest) Reset

func (x *RegisterTemplateRequest) Reset()

func (*RegisterTemplateRequest) String

func (x *RegisterTemplateRequest) String() string

type RegisterTemplateResponse

type RegisterTemplateResponse struct {

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

RegisterTemplateResponse represents the response from registers an existing template into the cloudstack cloud.

func (*RegisterTemplateResponse) Descriptor deprecated

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

Deprecated: Use RegisterTemplateResponse.ProtoReflect.Descriptor instead.

func (*RegisterTemplateResponse) GetResult

func (x *RegisterTemplateResponse) GetResult() *Result

func (*RegisterTemplateResponse) ProtoMessage

func (*RegisterTemplateResponse) ProtoMessage()

func (*RegisterTemplateResponse) ProtoReflect

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

func (*RegisterTemplateResponse) Reset

func (x *RegisterTemplateResponse) Reset()

func (*RegisterTemplateResponse) String

func (x *RegisterTemplateResponse) String() string

type RegisterVnfTemplateCmdByAdminRequest

type RegisterVnfTemplateCmdByAdminRequest struct {

	// VNF nics in key/value pairs using format vnfnics[i].keyname=keyvalue.  Example: vnfnics[0].deviceid=0&&vnfnics[0].name=FirstNIC&&vnfnics[0].required=true&&vnfnics[1].deviceid=1&&vnfnics[1].name=SecondNIC
	VnfNics map[string]string `` /* 149-byte string literal not displayed */
	// VNF details in key/value pairs using format vnfdetails[i].keyname=keyvalue. Example: vnfdetails[0].vendor=xxx&&vnfdetails[0].version=2.0
	VnfDetails map[string]string `` /* 158-byte string literal not displayed */
	// 32 or 64 bits support. 64 by default
	Bits *int32 `protobuf:"varint,3,opt,name=bits" json:"bits,omitempty"`
	// The display text of the template, defaults to 'name'.
	DisplayText *string `protobuf:"bytes,4,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
	// the format for the template. Possible values include QCOW2, RAW, VHD and OVA.
	Format *string `protobuf:"bytes,5,opt,name=format" json:"format,omitempty"`
	// the target hypervisor for the template
	Hypervisor *string `protobuf:"bytes,6,opt,name=hypervisor" json:"hypervisor,omitempty"`
	// true if this template is a featured template, false otherwise
	Featured *bool `protobuf:"varint,7,opt,name=featured" json:"featured,omitempty"`
	// true if the template is available to all accounts; default is true
	PublicTemplate *bool `protobuf:"varint,8,opt,name=public_template,json=publicTemplate" json:"public_template,omitempty"`
	// the name of the template
	TemplateName *string `protobuf:"bytes,9,opt,name=template_name,json=templateName" json:"template_name,omitempty"`
	// the ID of the OS Type that best represents the OS of this template. Not applicable with VMware, as we honour what is defined in the template
	OsTypeId *int64 `protobuf:"varint,10,opt,name=os_type_id,json=osTypeId" json:"os_type_id,omitempty"`
	// true if the template supports the password reset feature; default is false
	PasswordEnabled *bool `protobuf:"varint,11,opt,name=password_enabled,json=passwordEnabled" json:"password_enabled,omitempty"`
	// true if the template supports the sshkey upload feature; default is false
	SshKeyEnabled *bool `protobuf:"varint,12,opt,name=ssh_key_enabled,json=sshKeyEnabled" json:"ssh_key_enabled,omitempty"`
	// true if the template or its derivatives are extractable; default is false
	Extractable *bool `protobuf:"varint,13,opt,name=extractable" json:"extractable,omitempty"`
	// true if this template requires HVM
	RequiresHvm *bool `protobuf:"varint,14,opt,name=requires_hvm,json=requiresHvm" json:"requires_hvm,omitempty"`
	// the URL of where the template is hosted. Possible URL include http:// and https://
	Url *string `protobuf:"bytes,15,opt,name=url" json:"url,omitempty"`
	// the ID of the zone the template is to be hosted on
	ZoneId *int64 `protobuf:"varint,16,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
	// an optional domainId. If the account parameter is used, domainId must also be used.
	DomainId *int64 `protobuf:"varint,17,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
	// an optional accountName. Must be used with domainId.
	AccountName *string `protobuf:"bytes,18,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
	// the checksum value of this template. The parameter containing the checksum will be considered a MD5sum if it is not prefixed
	// and just a plain ascii/utf8 representation of a hexadecimal string. If it is required to
	// use another algorithm the hexadecimal string is to be prefixed with a string of the form,
	// "{<algorithm>}", not including the double quotes. In this <algorithm> is the exact string
	// representing the java supported algorithm, i.e. MD5 or SHA-256. Note that java does not
	// contain an algorithm called SHA256 or one called sha-256, only SHA-256.
	Checksum *string `protobuf:"bytes,19,opt,name=checksum" json:"checksum,omitempty"`
	// the tag for this template.
	TemplateTag *string `protobuf:"bytes,20,opt,name=template_tag,json=templateTag" json:"template_tag,omitempty"`
	// Register template for the project
	ProjectId *int64 `protobuf:"varint,21,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
	// Template details in key/value pairs using format details[i].keyname=keyvalue. Example: details[0].hypervisortoolsversion=xenserver61
	Details map[string]string `` /* 135-byte string literal not displayed */
	// true if template contains XS/VMWare tools inorder to support dynamic scaling of VM cpu/memory
	IsDynamicallyScalable *bool `protobuf:"varint,23,opt,name=is_dynamically_scalable,json=isDynamicallyScalable" json:"is_dynamically_scalable,omitempty"`
	// true if the template type is routing i.e., if template is used to deploy router
	IsRoutingType *bool `protobuf:"varint,24,opt,name=is_routing_type,json=isRoutingType" json:"is_routing_type,omitempty"`
	// A list of zone ids where the template will be hosted. Use this parameter if the template needs to be registered to multiple zones in one go. Use zoneid if the template needs to be registered to only one zone.Passing only -1 to this will cause the template to be registered as a cross zone template and will be copied to all zones.
	ZoneIds []string `protobuf:"bytes,25,rep,name=zone_ids,json=zoneIds" json:"zone_ids,omitempty"`
	// true if template should bypass Secondary Storage and be downloaded to Primary Storage on deployment
	DirectDownload *bool `protobuf:"varint,26,opt,name=direct_download,json=directDownload" json:"direct_download,omitempty"`
	// (VMware only) true if VM deployments should preserve all the configurations defined for this template
	DeployAsIs *bool `protobuf:"varint,27,opt,name=deploy_as_is,json=deployAsIs" json:"deploy_as_is,omitempty"`
	// the type of the template. Valid options are: USER/VNF (for all users) and SYSTEM/ROUTING/BUILTIN (for admins only).
	TemplateType *string `protobuf:"bytes,28,opt,name=template_type,json=templateType" json:"template_type,omitempty"`
	// the CPU arch of the template. Valid options are: x86_64, aarch64
	Arch         *string `protobuf:"bytes,29,opt,name=arch" json:"arch,omitempty"`
	ResponseType *string `protobuf:"bytes,30,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

RegisterVnfTemplateCmdByAdminRequest represents the parameters for registers an existing vnf template into the cloudstack cloud.

func (*RegisterVnfTemplateCmdByAdminRequest) Descriptor deprecated

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

Deprecated: Use RegisterVnfTemplateCmdByAdminRequest.ProtoReflect.Descriptor instead.

func (*RegisterVnfTemplateCmdByAdminRequest) GetAccountName

func (x *RegisterVnfTemplateCmdByAdminRequest) GetAccountName() string

func (*RegisterVnfTemplateCmdByAdminRequest) GetArch

func (*RegisterVnfTemplateCmdByAdminRequest) GetBits

func (*RegisterVnfTemplateCmdByAdminRequest) GetChecksum

func (*RegisterVnfTemplateCmdByAdminRequest) GetDeployAsIs

func (x *RegisterVnfTemplateCmdByAdminRequest) GetDeployAsIs() bool

func (*RegisterVnfTemplateCmdByAdminRequest) GetDetails

func (*RegisterVnfTemplateCmdByAdminRequest) GetDirectDownload

func (x *RegisterVnfTemplateCmdByAdminRequest) GetDirectDownload() bool

func (*RegisterVnfTemplateCmdByAdminRequest) GetDisplayText

func (x *RegisterVnfTemplateCmdByAdminRequest) GetDisplayText() string

func (*RegisterVnfTemplateCmdByAdminRequest) GetDomainId

func (*RegisterVnfTemplateCmdByAdminRequest) GetExtractable

func (x *RegisterVnfTemplateCmdByAdminRequest) GetExtractable() bool

func (*RegisterVnfTemplateCmdByAdminRequest) GetFeatured

func (x *RegisterVnfTemplateCmdByAdminRequest) GetFeatured() bool

func (*RegisterVnfTemplateCmdByAdminRequest) GetFormat

func (*RegisterVnfTemplateCmdByAdminRequest) GetHypervisor

func (x *RegisterVnfTemplateCmdByAdminRequest) GetHypervisor() string

func (*RegisterVnfTemplateCmdByAdminRequest) GetIsDynamicallyScalable

func (x *RegisterVnfTemplateCmdByAdminRequest) GetIsDynamicallyScalable() bool

func (*RegisterVnfTemplateCmdByAdminRequest) GetIsRoutingType

func (x *RegisterVnfTemplateCmdByAdminRequest) GetIsRoutingType() bool

func (*RegisterVnfTemplateCmdByAdminRequest) GetOsTypeId

func (*RegisterVnfTemplateCmdByAdminRequest) GetPasswordEnabled

func (x *RegisterVnfTemplateCmdByAdminRequest) GetPasswordEnabled() bool

func (*RegisterVnfTemplateCmdByAdminRequest) GetProjectId

func (x *RegisterVnfTemplateCmdByAdminRequest) GetProjectId() int64

func (*RegisterVnfTemplateCmdByAdminRequest) GetPublicTemplate

func (x *RegisterVnfTemplateCmdByAdminRequest) GetPublicTemplate() bool

func (*RegisterVnfTemplateCmdByAdminRequest) GetRequiresHvm

func (x *RegisterVnfTemplateCmdByAdminRequest) GetRequiresHvm() bool

func (*RegisterVnfTemplateCmdByAdminRequest) GetResponseType

func (x *RegisterVnfTemplateCmdByAdminRequest) GetResponseType() string

func (*RegisterVnfTemplateCmdByAdminRequest) GetSshKeyEnabled

func (x *RegisterVnfTemplateCmdByAdminRequest) GetSshKeyEnabled() bool

func (*RegisterVnfTemplateCmdByAdminRequest) GetTemplateName

func (x *RegisterVnfTemplateCmdByAdminRequest) GetTemplateName() string

func (*RegisterVnfTemplateCmdByAdminRequest) GetTemplateTag

func (x *RegisterVnfTemplateCmdByAdminRequest) GetTemplateTag() string

func (*RegisterVnfTemplateCmdByAdminRequest) GetTemplateType

func (x *RegisterVnfTemplateCmdByAdminRequest) GetTemplateType() string

func (*RegisterVnfTemplateCmdByAdminRequest) GetUrl

func (*RegisterVnfTemplateCmdByAdminRequest) GetVnfDetails

func (x *RegisterVnfTemplateCmdByAdminRequest) GetVnfDetails() map[string]string

func (*RegisterVnfTemplateCmdByAdminRequest) GetVnfNics

func (*RegisterVnfTemplateCmdByAdminRequest) GetZoneId

func (*RegisterVnfTemplateCmdByAdminRequest) GetZoneIds

func (x *RegisterVnfTemplateCmdByAdminRequest) GetZoneIds() []string

func (*RegisterVnfTemplateCmdByAdminRequest) ProtoMessage

func (*RegisterVnfTemplateCmdByAdminRequest) ProtoMessage()

func (*RegisterVnfTemplateCmdByAdminRequest) ProtoReflect

func (*RegisterVnfTemplateCmdByAdminRequest) Reset

func (*RegisterVnfTemplateCmdByAdminRequest) String

type RegisterVnfTemplateCmdByAdminResponse

type RegisterVnfTemplateCmdByAdminResponse struct {

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

RegisterVnfTemplateCmdByAdminResponse represents the response from registers an existing vnf template into the cloudstack cloud.

func (*RegisterVnfTemplateCmdByAdminResponse) Descriptor deprecated

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

Deprecated: Use RegisterVnfTemplateCmdByAdminResponse.ProtoReflect.Descriptor instead.

func (*RegisterVnfTemplateCmdByAdminResponse) GetResult

func (*RegisterVnfTemplateCmdByAdminResponse) ProtoMessage

func (*RegisterVnfTemplateCmdByAdminResponse) ProtoMessage()

func (*RegisterVnfTemplateCmdByAdminResponse) ProtoReflect

func (*RegisterVnfTemplateCmdByAdminResponse) Reset

func (*RegisterVnfTemplateCmdByAdminResponse) String

type RegisterVnfTemplateRequest

type RegisterVnfTemplateRequest 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"`
	// VNF nics in key/value pairs using format vnfnics[i].keyname=keyvalue.  Example: vnfnics[0].deviceid=0&&vnfnics[0].name=FirstNIC&&vnfnics[0].required=true&&vnfnics[1].deviceid=1&&vnfnics[1].name=SecondNIC
	VnfNics map[string]string `` /* 149-byte string literal not displayed */
	// VNF details in key/value pairs using format vnfdetails[i].keyname=keyvalue. Example: vnfdetails[0].vendor=xxx&&vnfdetails[0].version=2.0
	VnfDetails map[string]string `` /* 158-byte string literal not displayed */
	// 32 or 64 bits support. 64 by default
	Bits *int32 `protobuf:"varint,4,opt,name=bits" json:"bits,omitempty"`
	// The display text of the template, defaults to 'name'.
	DisplayText *string `protobuf:"bytes,5,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
	// the format for the template. Possible values include QCOW2, RAW, VHD and OVA.
	Format *string `protobuf:"bytes,6,opt,name=format" json:"format,omitempty"`
	// the target hypervisor for the template
	Hypervisor *string `protobuf:"bytes,7,opt,name=hypervisor" json:"hypervisor,omitempty"`
	// true if this template is a featured template, false otherwise
	Featured *bool `protobuf:"varint,8,opt,name=featured" json:"featured,omitempty"`
	// true if the template is available to all accounts; default is true
	PublicTemplate *bool `protobuf:"varint,9,opt,name=public_template,json=publicTemplate" json:"public_template,omitempty"`
	// the name of the template
	TemplateName *string `protobuf:"bytes,10,opt,name=template_name,json=templateName" json:"template_name,omitempty"`
	// the ID of the OS Type that best represents the OS of this template. Not applicable with VMware, as we honour what is defined in the template
	OsTypeId *int64 `protobuf:"varint,11,opt,name=os_type_id,json=osTypeId" json:"os_type_id,omitempty"`
	// true if the template supports the password reset feature; default is false
	PasswordEnabled *bool `protobuf:"varint,12,opt,name=password_enabled,json=passwordEnabled" json:"password_enabled,omitempty"`
	// true if the template supports the sshkey upload feature; default is false
	SshKeyEnabled *bool `protobuf:"varint,13,opt,name=ssh_key_enabled,json=sshKeyEnabled" json:"ssh_key_enabled,omitempty"`
	// true if the template or its derivatives are extractable; default is false
	Extractable *bool `protobuf:"varint,14,opt,name=extractable" json:"extractable,omitempty"`
	// true if this template requires HVM
	RequiresHvm *bool `protobuf:"varint,15,opt,name=requires_hvm,json=requiresHvm" json:"requires_hvm,omitempty"`
	// the URL of where the template is hosted. Possible URL include http:// and https://
	Url *string `protobuf:"bytes,16,opt,name=url" json:"url,omitempty"`
	// the ID of the zone the template is to be hosted on
	ZoneId *int64 `protobuf:"varint,17,opt,name=zone_id,json=zoneId" json:"zone_id,omitempty"`
	// an optional domainId. If the account parameter is used, domainId must also be used.
	DomainId *int64 `protobuf:"varint,18,opt,name=domain_id,json=domainId" json:"domain_id,omitempty"`
	// an optional accountName. Must be used with domainId.
	AccountName *string `protobuf:"bytes,19,opt,name=account_name,json=accountName" json:"account_name,omitempty"`
	// the checksum value of this template. The parameter containing the checksum will be considered a MD5sum if it is not prefixed
	// and just a plain ascii/utf8 representation of a hexadecimal string. If it is required to
	// use another algorithm the hexadecimal string is to be prefixed with a string of the form,
	// "{<algorithm>}", not including the double quotes. In this <algorithm> is the exact string
	// representing the java supported algorithm, i.e. MD5 or SHA-256. Note that java does not
	// contain an algorithm called SHA256 or one called sha-256, only SHA-256.
	Checksum *string `protobuf:"bytes,20,opt,name=checksum" json:"checksum,omitempty"`
	// the tag for this template.
	TemplateTag *string `protobuf:"bytes,21,opt,name=template_tag,json=templateTag" json:"template_tag,omitempty"`
	// Register template for the project
	ProjectId *int64 `protobuf:"varint,22,opt,name=project_id,json=projectId" json:"project_id,omitempty"`
	// Template details in key/value pairs using format details[i].keyname=keyvalue. Example: details[0].hypervisortoolsversion=xenserver61
	Details map[string]string `` /* 135-byte string literal not displayed */
	// true if template contains XS/VMWare tools inorder to support dynamic scaling of VM cpu/memory
	IsDynamicallyScalable *bool `protobuf:"varint,24,opt,name=is_dynamically_scalable,json=isDynamicallyScalable" json:"is_dynamically_scalable,omitempty"`
	// true if the template type is routing i.e., if template is used to deploy router
	IsRoutingType *bool `protobuf:"varint,25,opt,name=is_routing_type,json=isRoutingType" json:"is_routing_type,omitempty"`
	// A list of zone ids where the template will be hosted. Use this parameter if the template needs to be registered to multiple zones in one go. Use zoneid if the template needs to be registered to only one zone.Passing only -1 to this will cause the template to be registered as a cross zone template and will be copied to all zones.
	ZoneIds []string `protobuf:"bytes,26,rep,name=zone_ids,json=zoneIds" json:"zone_ids,omitempty"`
	// true if template should bypass Secondary Storage and be downloaded to Primary Storage on deployment
	DirectDownload *bool `protobuf:"varint,27,opt,name=direct_download,json=directDownload" json:"direct_download,omitempty"`
	// (VMware only) true if VM deployments should preserve all the configurations defined for this template
	DeployAsIs *bool `protobuf:"varint,28,opt,name=deploy_as_is,json=deployAsIs" json:"deploy_as_is,omitempty"`
	// the type of the template. Valid options are: USER/VNF (for all users) and SYSTEM/ROUTING/BUILTIN (for admins only).
	TemplateType *string `protobuf:"bytes,29,opt,name=template_type,json=templateType" json:"template_type,omitempty"`
	// the CPU arch of the template. Valid options are: x86_64, aarch64
	Arch         *string `protobuf:"bytes,30,opt,name=arch" json:"arch,omitempty"`
	ResponseType *string `protobuf:"bytes,31,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

RegisterVnfTemplateRequest represents the parameters for registers an existing vnf template into the cloudstack cloud.

func (*RegisterVnfTemplateRequest) Descriptor deprecated

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

Deprecated: Use RegisterVnfTemplateRequest.ProtoReflect.Descriptor instead.

func (*RegisterVnfTemplateRequest) GetAccountName

func (x *RegisterVnfTemplateRequest) GetAccountName() string

func (*RegisterVnfTemplateRequest) GetArch

func (x *RegisterVnfTemplateRequest) GetArch() string

func (*RegisterVnfTemplateRequest) GetBits

func (x *RegisterVnfTemplateRequest) GetBits() int32

func (*RegisterVnfTemplateRequest) GetChecksum

func (x *RegisterVnfTemplateRequest) GetChecksum() string

func (*RegisterVnfTemplateRequest) GetDeployAsIs

func (x *RegisterVnfTemplateRequest) GetDeployAsIs() bool

func (*RegisterVnfTemplateRequest) GetDetails

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

func (*RegisterVnfTemplateRequest) GetDirectDownload

func (x *RegisterVnfTemplateRequest) GetDirectDownload() bool

func (*RegisterVnfTemplateRequest) GetDisplayText

func (x *RegisterVnfTemplateRequest) GetDisplayText() string

func (*RegisterVnfTemplateRequest) GetDomainId

func (x *RegisterVnfTemplateRequest) GetDomainId() int64

func (*RegisterVnfTemplateRequest) GetExtractable

func (x *RegisterVnfTemplateRequest) GetExtractable() bool

func (*RegisterVnfTemplateRequest) GetFeatured

func (x *RegisterVnfTemplateRequest) GetFeatured() bool

func (*RegisterVnfTemplateRequest) GetFormat

func (x *RegisterVnfTemplateRequest) GetFormat() string

func (*RegisterVnfTemplateRequest) GetHypervisor

func (x *RegisterVnfTemplateRequest) GetHypervisor() string

func (*RegisterVnfTemplateRequest) GetIsDynamicallyScalable

func (x *RegisterVnfTemplateRequest) GetIsDynamicallyScalable() bool

func (*RegisterVnfTemplateRequest) GetIsRoutingType

func (x *RegisterVnfTemplateRequest) GetIsRoutingType() bool

func (*RegisterVnfTemplateRequest) GetOsTypeId

func (x *RegisterVnfTemplateRequest) GetOsTypeId() int64

func (*RegisterVnfTemplateRequest) GetPasswordEnabled

func (x *RegisterVnfTemplateRequest) GetPasswordEnabled() bool

func (*RegisterVnfTemplateRequest) GetProjectId

func (x *RegisterVnfTemplateRequest) GetProjectId() int64

func (*RegisterVnfTemplateRequest) GetPublicTemplate

func (x *RegisterVnfTemplateRequest) GetPublicTemplate() bool

func (*RegisterVnfTemplateRequest) GetRequiresHvm

func (x *RegisterVnfTemplateRequest) GetRequiresHvm() bool

func (*RegisterVnfTemplateRequest) GetResponseType

func (x *RegisterVnfTemplateRequest) GetResponseType() string

func (*RegisterVnfTemplateRequest) GetRunAsAdmin

func (x *RegisterVnfTemplateRequest) GetRunAsAdmin() bool

func (*RegisterVnfTemplateRequest) GetSshKeyEnabled

func (x *RegisterVnfTemplateRequest) GetSshKeyEnabled() bool

func (*RegisterVnfTemplateRequest) GetTemplateName

func (x *RegisterVnfTemplateRequest) GetTemplateName() string

func (*RegisterVnfTemplateRequest) GetTemplateTag

func (x *RegisterVnfTemplateRequest) GetTemplateTag() string

func (*RegisterVnfTemplateRequest) GetTemplateType

func (x *RegisterVnfTemplateRequest) GetTemplateType() string

func (*RegisterVnfTemplateRequest) GetUrl

func (x *RegisterVnfTemplateRequest) GetUrl() string

func (*RegisterVnfTemplateRequest) GetVnfDetails

func (x *RegisterVnfTemplateRequest) GetVnfDetails() map[string]string

func (*RegisterVnfTemplateRequest) GetVnfNics

func (x *RegisterVnfTemplateRequest) GetVnfNics() map[string]string

func (*RegisterVnfTemplateRequest) GetZoneId

func (x *RegisterVnfTemplateRequest) GetZoneId() int64

func (*RegisterVnfTemplateRequest) GetZoneIds

func (x *RegisterVnfTemplateRequest) GetZoneIds() []string

func (*RegisterVnfTemplateRequest) ProtoMessage

func (*RegisterVnfTemplateRequest) ProtoMessage()

func (*RegisterVnfTemplateRequest) ProtoReflect

func (*RegisterVnfTemplateRequest) Reset

func (x *RegisterVnfTemplateRequest) Reset()

func (*RegisterVnfTemplateRequest) String

func (x *RegisterVnfTemplateRequest) String() string

type RegisterVnfTemplateResponse

type RegisterVnfTemplateResponse struct {

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

RegisterVnfTemplateResponse represents the response from registers an existing vnf template into the cloudstack cloud.

func (*RegisterVnfTemplateResponse) Descriptor deprecated

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

Deprecated: Use RegisterVnfTemplateResponse.ProtoReflect.Descriptor instead.

func (*RegisterVnfTemplateResponse) GetResult

func (x *RegisterVnfTemplateResponse) GetResult() *Result

func (*RegisterVnfTemplateResponse) ProtoMessage

func (*RegisterVnfTemplateResponse) ProtoMessage()

func (*RegisterVnfTemplateResponse) ProtoReflect

func (*RegisterVnfTemplateResponse) Reset

func (x *RegisterVnfTemplateResponse) Reset()

func (*RegisterVnfTemplateResponse) String

func (x *RegisterVnfTemplateResponse) String() 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 Template

type Template struct {

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

Template represents a Template Item

func (*Template) Descriptor deprecated

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

Deprecated: Use Template.ProtoReflect.Descriptor instead.

func (*Template) GetCreated

func (x *Template) GetCreated() string

func (*Template) GetDescription

func (x *Template) GetDescription() string

func (*Template) GetDisplayName

func (x *Template) GetDisplayName() string

func (*Template) GetId

func (x *Template) GetId() string

func (*Template) GetName

func (x *Template) GetName() string

func (*Template) ProtoMessage

func (*Template) ProtoMessage()

func (*Template) ProtoReflect

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

func (*Template) Reset

func (x *Template) Reset()

func (*Template) String

func (x *Template) String() string

type TemplatePermissions

type TemplatePermissions struct {

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

TemplatePermissions represents a TemplatePermissions Item

func (*TemplatePermissions) Descriptor deprecated

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

Deprecated: Use TemplatePermissions.ProtoReflect.Descriptor instead.

func (*TemplatePermissions) GetCreated

func (x *TemplatePermissions) GetCreated() string

func (*TemplatePermissions) GetDescription

func (x *TemplatePermissions) GetDescription() string

func (*TemplatePermissions) GetDisplayName

func (x *TemplatePermissions) GetDisplayName() string

func (*TemplatePermissions) GetId

func (x *TemplatePermissions) GetId() string

func (*TemplatePermissions) GetName

func (x *TemplatePermissions) GetName() string

func (*TemplatePermissions) ProtoMessage

func (*TemplatePermissions) ProtoMessage()

func (*TemplatePermissions) ProtoReflect

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

func (*TemplatePermissions) Reset

func (x *TemplatePermissions) Reset()

func (*TemplatePermissions) String

func (x *TemplatePermissions) String() string

type TemplateServiceClient

type TemplateServiceClient interface {
	// CopyTemplate Copies a template from one zone to another.
	CopyTemplate(ctx context.Context, in *CopyTemplateRequest, opts ...grpc.CallOption) (*CopyTemplateResponse, error)
	// CopyTemplateCmdByAdmin Copies a template from one zone to another.
	CopyTemplateCmdByAdmin(ctx context.Context, in *CopyTemplateCmdByAdminRequest, opts ...grpc.CallOption) (*CopyTemplateCmdByAdminResponse, error)
	// CreateTemplate Creates a template of a virtual machine. The virtual machine must be in a STOPPED state. A template created from this command is automatically designated as a private template visible to the account that created it.
	CreateTemplate(ctx context.Context, in *CreateTemplateRequest, opts ...grpc.CallOption) (*CreateTemplateResponse, error)
	// CreateTemplateCmdByAdmin Creates a template of a virtual machine. The virtual machine must be in a STOPPED state. A template created from this command is automatically designated as a private template visible to the account that created it.
	CreateTemplateCmdByAdmin(ctx context.Context, in *CreateTemplateCmdByAdminRequest, opts ...grpc.CallOption) (*CreateTemplateCmdByAdminResponse, error)
	// DeleteTemplate Deletes a template from the system. All virtual machines using the deleted template will not be affected.
	DeleteTemplate(ctx context.Context, in *DeleteTemplateRequest, opts ...grpc.CallOption) (*DeleteTemplateResponse, error)
	// DeleteVnfTemplate Deletes a VNF template from the system. All virtual machines using the deleted template will not be affected.
	DeleteVnfTemplate(ctx context.Context, in *DeleteVnfTemplateRequest, opts ...grpc.CallOption) (*DeleteVnfTemplateResponse, error)
	// ExtractTemplate Extracts a template
	ExtractTemplate(ctx context.Context, in *ExtractTemplateRequest, opts ...grpc.CallOption) (*ExtractTemplateResponse, error)
	// GetUploadParamsForTemplate upload an existing template into the CloudStack cloud.
	GetUploadParamsForTemplate(ctx context.Context, in *GetUploadParamsForTemplateRequest, opts ...grpc.CallOption) (*GetUploadParamsForTemplateResponse, error)
	// ListTemplatePermissions List template visibility and all accounts that have permissions to view this template.
	ListTemplatePermissions(ctx context.Context, in *ListTemplatePermissionsRequest, opts ...grpc.CallOption) (*ListTemplatePermissionsResponse, error)
	// ListTemplatePermissionsCmdByAdmin List template visibility and all accounts that have permissions to view this template.
	ListTemplatePermissionsCmdByAdmin(ctx context.Context, in *ListTemplatePermissionsCmdByAdminRequest, opts ...grpc.CallOption) (*ListTemplatePermissionsCmdByAdminResponse, error)
	// ListTemplates List all public, private, and privileged templates.
	ListTemplates(ctx context.Context, in *ListTemplatesRequest, opts ...grpc.CallOption) (*ListTemplatesResponse, error)
	// ListTemplatesCmdByAdmin List all public, private, and privileged templates.
	ListTemplatesCmdByAdmin(ctx context.Context, in *ListTemplatesCmdByAdminRequest, opts ...grpc.CallOption) (*ListTemplatesCmdByAdminResponse, error)
	// ListVnfTemplates List all public, private, and privileged VNF templates.
	ListVnfTemplates(ctx context.Context, in *ListVnfTemplatesRequest, opts ...grpc.CallOption) (*ListVnfTemplatesResponse, error)
	// ListVnfTemplatesCmdByAdmin List all public, private, and privileged VNF templates.
	ListVnfTemplatesCmdByAdmin(ctx context.Context, in *ListVnfTemplatesCmdByAdminRequest, opts ...grpc.CallOption) (*ListVnfTemplatesCmdByAdminResponse, error)
	// PrepareTemplate load template into primary storage
	PrepareTemplate(ctx context.Context, in *PrepareTemplateRequest, opts ...grpc.CallOption) (*PrepareTemplateResponse, error)
	// RegisterTemplate Registers an existing template into the CloudStack cloud.
	RegisterTemplate(ctx context.Context, in *RegisterTemplateRequest, opts ...grpc.CallOption) (*RegisterTemplateResponse, error)
	// RegisterTemplateCmdByAdmin Registers an existing template into the CloudStack cloud.
	RegisterTemplateCmdByAdmin(ctx context.Context, in *RegisterTemplateCmdByAdminRequest, opts ...grpc.CallOption) (*RegisterTemplateCmdByAdminResponse, error)
	// RegisterVnfTemplate Registers an existing VNF template into the CloudStack cloud.
	RegisterVnfTemplate(ctx context.Context, in *RegisterVnfTemplateRequest, opts ...grpc.CallOption) (*RegisterVnfTemplateResponse, error)
	// RegisterVnfTemplateCmdByAdmin Registers an existing VNF template into the CloudStack cloud.
	RegisterVnfTemplateCmdByAdmin(ctx context.Context, in *RegisterVnfTemplateCmdByAdminRequest, opts ...grpc.CallOption) (*RegisterVnfTemplateCmdByAdminResponse, error)
	// UpdateTemplate Updates attributes of a template.
	UpdateTemplate(ctx context.Context, in *UpdateTemplateRequest, opts ...grpc.CallOption) (*UpdateTemplateResponse, error)
	// UpdateTemplateCmdByAdmin Updates attributes of a template.
	UpdateTemplateCmdByAdmin(ctx context.Context, in *UpdateTemplateCmdByAdminRequest, opts ...grpc.CallOption) (*UpdateTemplateCmdByAdminResponse, error)
	// UpdateTemplatePermissions Updates a template visibility permissions. A public template is visible to all accounts within the same domain. A private template is visible only to the owner of the template. A privileged template is a private template with account permissions added. Only accounts specified under the template permissions are visible to them.
	UpdateTemplatePermissions(ctx context.Context, in *UpdateTemplatePermissionsRequest, opts ...grpc.CallOption) (*UpdateTemplatePermissionsResponse, error)
	// UpdateVnfTemplate Updates a template to VNF template or attributes of a VNF template.
	UpdateVnfTemplate(ctx context.Context, in *UpdateVnfTemplateRequest, opts ...grpc.CallOption) (*UpdateVnfTemplateResponse, error)
	// UpdateVnfTemplateCmdByAdmin Updates a template to VNF template or attributes of a VNF template.
	UpdateVnfTemplateCmdByAdmin(ctx context.Context, in *UpdateVnfTemplateCmdByAdminRequest, opts ...grpc.CallOption) (*UpdateVnfTemplateCmdByAdminResponse, error)
}

TemplateServiceClient is the client API for TemplateService 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.

TemplateService provides operations for managing Templates

type TemplateServiceServer

type TemplateServiceServer interface {
	// CopyTemplate Copies a template from one zone to another.
	CopyTemplate(context.Context, *CopyTemplateRequest) (*CopyTemplateResponse, error)
	// CopyTemplateCmdByAdmin Copies a template from one zone to another.
	CopyTemplateCmdByAdmin(context.Context, *CopyTemplateCmdByAdminRequest) (*CopyTemplateCmdByAdminResponse, error)
	// CreateTemplate Creates a template of a virtual machine. The virtual machine must be in a STOPPED state. A template created from this command is automatically designated as a private template visible to the account that created it.
	CreateTemplate(context.Context, *CreateTemplateRequest) (*CreateTemplateResponse, error)
	// CreateTemplateCmdByAdmin Creates a template of a virtual machine. The virtual machine must be in a STOPPED state. A template created from this command is automatically designated as a private template visible to the account that created it.
	CreateTemplateCmdByAdmin(context.Context, *CreateTemplateCmdByAdminRequest) (*CreateTemplateCmdByAdminResponse, error)
	// DeleteTemplate Deletes a template from the system. All virtual machines using the deleted template will not be affected.
	DeleteTemplate(context.Context, *DeleteTemplateRequest) (*DeleteTemplateResponse, error)
	// DeleteVnfTemplate Deletes a VNF template from the system. All virtual machines using the deleted template will not be affected.
	DeleteVnfTemplate(context.Context, *DeleteVnfTemplateRequest) (*DeleteVnfTemplateResponse, error)
	// ExtractTemplate Extracts a template
	ExtractTemplate(context.Context, *ExtractTemplateRequest) (*ExtractTemplateResponse, error)
	// GetUploadParamsForTemplate upload an existing template into the CloudStack cloud.
	GetUploadParamsForTemplate(context.Context, *GetUploadParamsForTemplateRequest) (*GetUploadParamsForTemplateResponse, error)
	// ListTemplatePermissions List template visibility and all accounts that have permissions to view this template.
	ListTemplatePermissions(context.Context, *ListTemplatePermissionsRequest) (*ListTemplatePermissionsResponse, error)
	// ListTemplatePermissionsCmdByAdmin List template visibility and all accounts that have permissions to view this template.
	ListTemplatePermissionsCmdByAdmin(context.Context, *ListTemplatePermissionsCmdByAdminRequest) (*ListTemplatePermissionsCmdByAdminResponse, error)
	// ListTemplates List all public, private, and privileged templates.
	ListTemplates(context.Context, *ListTemplatesRequest) (*ListTemplatesResponse, error)
	// ListTemplatesCmdByAdmin List all public, private, and privileged templates.
	ListTemplatesCmdByAdmin(context.Context, *ListTemplatesCmdByAdminRequest) (*ListTemplatesCmdByAdminResponse, error)
	// ListVnfTemplates List all public, private, and privileged VNF templates.
	ListVnfTemplates(context.Context, *ListVnfTemplatesRequest) (*ListVnfTemplatesResponse, error)
	// ListVnfTemplatesCmdByAdmin List all public, private, and privileged VNF templates.
	ListVnfTemplatesCmdByAdmin(context.Context, *ListVnfTemplatesCmdByAdminRequest) (*ListVnfTemplatesCmdByAdminResponse, error)
	// PrepareTemplate load template into primary storage
	PrepareTemplate(context.Context, *PrepareTemplateRequest) (*PrepareTemplateResponse, error)
	// RegisterTemplate Registers an existing template into the CloudStack cloud.
	RegisterTemplate(context.Context, *RegisterTemplateRequest) (*RegisterTemplateResponse, error)
	// RegisterTemplateCmdByAdmin Registers an existing template into the CloudStack cloud.
	RegisterTemplateCmdByAdmin(context.Context, *RegisterTemplateCmdByAdminRequest) (*RegisterTemplateCmdByAdminResponse, error)
	// RegisterVnfTemplate Registers an existing VNF template into the CloudStack cloud.
	RegisterVnfTemplate(context.Context, *RegisterVnfTemplateRequest) (*RegisterVnfTemplateResponse, error)
	// RegisterVnfTemplateCmdByAdmin Registers an existing VNF template into the CloudStack cloud.
	RegisterVnfTemplateCmdByAdmin(context.Context, *RegisterVnfTemplateCmdByAdminRequest) (*RegisterVnfTemplateCmdByAdminResponse, error)
	// UpdateTemplate Updates attributes of a template.
	UpdateTemplate(context.Context, *UpdateTemplateRequest) (*UpdateTemplateResponse, error)
	// UpdateTemplateCmdByAdmin Updates attributes of a template.
	UpdateTemplateCmdByAdmin(context.Context, *UpdateTemplateCmdByAdminRequest) (*UpdateTemplateCmdByAdminResponse, error)
	// UpdateTemplatePermissions Updates a template visibility permissions. A public template is visible to all accounts within the same domain. A private template is visible only to the owner of the template. A privileged template is a private template with account permissions added. Only accounts specified under the template permissions are visible to them.
	UpdateTemplatePermissions(context.Context, *UpdateTemplatePermissionsRequest) (*UpdateTemplatePermissionsResponse, error)
	// UpdateVnfTemplate Updates a template to VNF template or attributes of a VNF template.
	UpdateVnfTemplate(context.Context, *UpdateVnfTemplateRequest) (*UpdateVnfTemplateResponse, error)
	// UpdateVnfTemplateCmdByAdmin Updates a template to VNF template or attributes of a VNF template.
	UpdateVnfTemplateCmdByAdmin(context.Context, *UpdateVnfTemplateCmdByAdminRequest) (*UpdateVnfTemplateCmdByAdminResponse, error)
	// contains filtered or unexported methods
}

TemplateServiceServer is the server API for TemplateService service. All implementations must embed UnimplementedTemplateServiceServer for forward compatibility.

TemplateService provides operations for managing Templates

type UnimplementedTemplateServiceServer

type UnimplementedTemplateServiceServer struct{}

UnimplementedTemplateServiceServer 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 (UnimplementedTemplateServiceServer) CopyTemplate

func (UnimplementedTemplateServiceServer) CreateTemplate

func (UnimplementedTemplateServiceServer) DeleteTemplate

func (UnimplementedTemplateServiceServer) DeleteVnfTemplate

func (UnimplementedTemplateServiceServer) ExtractTemplate

func (UnimplementedTemplateServiceServer) ListTemplates

func (UnimplementedTemplateServiceServer) ListVnfTemplates

func (UnimplementedTemplateServiceServer) PrepareTemplate

func (UnimplementedTemplateServiceServer) RegisterTemplate

func (UnimplementedTemplateServiceServer) RegisterVnfTemplate

func (UnimplementedTemplateServiceServer) UpdateTemplate

func (UnimplementedTemplateServiceServer) UpdateVnfTemplate

type UnsafeTemplateServiceServer

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

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

type UpdateTemplateCmdByAdminRequest

type UpdateTemplateCmdByAdminRequest struct {

	// the type of the template. Valid options are: USER/VNF (for all users) and SYSTEM/ROUTING/BUILTIN (for admins only).
	TemplateType *string `protobuf:"bytes,1,opt,name=template_type,json=templateType" json:"template_type,omitempty"`
	// the tag for this template.
	TemplateTag *string `protobuf:"bytes,2,opt,name=template_tag,json=templateTag" json:"template_tag,omitempty"`
	// true if image is bootable, false otherwise; available only for updateIso API
	Bootable *bool `protobuf:"varint,3,opt,name=bootable" json:"bootable,omitempty"`
	// true if the template requires HVM, false otherwise; available only for updateTemplate API
	RequiresHvm *bool `protobuf:"varint,4,opt,name=requires_hvm,json=requiresHvm" json:"requires_hvm,omitempty"`
	// the display text of the image
	DisplayText *string `protobuf:"bytes,5,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
	// the ID of the image file
	Id *int64 `protobuf:"varint,6,opt,name=id" json:"id,omitempty"`
	// the name of the image file
	TemplateName *string `protobuf:"bytes,7,opt,name=template_name,json=templateName" json:"template_name,omitempty"`
	// the ID of the OS type that best represents the OS of this image.
	OsTypeId *int64 `protobuf:"varint,8,opt,name=os_type_id,json=osTypeId" json:"os_type_id,omitempty"`
	// the format for the image
	Format *string `protobuf:"bytes,9,opt,name=format" json:"format,omitempty"`
	// true if the image supports the password reset feature; default is false
	PasswordEnabled *bool `protobuf:"varint,10,opt,name=password_enabled,json=passwordEnabled" json:"password_enabled,omitempty"`
	// true if the template supports the sshkey upload feature; default is false
	SshKeyEnabled *bool `protobuf:"varint,11,opt,name=ssh_key_enabled,json=sshKeyEnabled" json:"ssh_key_enabled,omitempty"`
	// sort key of the template, integer
	SortKey *int32 `protobuf:"varint,12,opt,name=sort_key,json=sortKey" json:"sort_key,omitempty"`
	// true if template/ISO contains XS/VMWare tools inorder to support dynamic scaling of VM cpu/memory
	IsDynamicallyScalable *bool `protobuf:"varint,13,opt,name=is_dynamically_scalable,json=isDynamicallyScalable" json:"is_dynamically_scalable,omitempty"`
	// true if the template type is routing i.e., if template is used to deploy router
	IsRoutingType *bool `protobuf:"varint,14,opt,name=is_routing_type,json=isRoutingType" json:"is_routing_type,omitempty"`
	// Details in key/value pairs using format details[i].keyname=keyvalue. Example: details[0].hypervisortoolsversion=xenserver61
	Details map[string]string `` /* 135-byte string literal not displayed */
	// optional boolean field, which indicates if details should be cleaned up or not (if set to true, details removed for this resource, details field ignored; if false or not set, no action)
	CleanupDetails *bool `protobuf:"varint,16,opt,name=cleanup_details,json=cleanupDetails" json:"cleanup_details,omitempty"`
	// the CPU arch of the template/ISO. Valid options are: x86_64, aarch64
	Arch         *string `protobuf:"bytes,17,opt,name=arch" json:"arch,omitempty"`
	ResponseType *string `protobuf:"bytes,18,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

UpdateTemplateCmdByAdminRequest represents the parameters for updates attributes of a template.

func (*UpdateTemplateCmdByAdminRequest) Descriptor deprecated

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

Deprecated: Use UpdateTemplateCmdByAdminRequest.ProtoReflect.Descriptor instead.

func (*UpdateTemplateCmdByAdminRequest) GetArch

func (*UpdateTemplateCmdByAdminRequest) GetBootable

func (x *UpdateTemplateCmdByAdminRequest) GetBootable() bool

func (*UpdateTemplateCmdByAdminRequest) GetCleanupDetails

func (x *UpdateTemplateCmdByAdminRequest) GetCleanupDetails() bool

func (*UpdateTemplateCmdByAdminRequest) GetDetails

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

func (*UpdateTemplateCmdByAdminRequest) GetDisplayText

func (x *UpdateTemplateCmdByAdminRequest) GetDisplayText() string

func (*UpdateTemplateCmdByAdminRequest) GetFormat

func (x *UpdateTemplateCmdByAdminRequest) GetFormat() string

func (*UpdateTemplateCmdByAdminRequest) GetId

func (*UpdateTemplateCmdByAdminRequest) GetIsDynamicallyScalable

func (x *UpdateTemplateCmdByAdminRequest) GetIsDynamicallyScalable() bool

func (*UpdateTemplateCmdByAdminRequest) GetIsRoutingType

func (x *UpdateTemplateCmdByAdminRequest) GetIsRoutingType() bool

func (*UpdateTemplateCmdByAdminRequest) GetOsTypeId

func (x *UpdateTemplateCmdByAdminRequest) GetOsTypeId() int64

func (*UpdateTemplateCmdByAdminRequest) GetPasswordEnabled

func (x *UpdateTemplateCmdByAdminRequest) GetPasswordEnabled() bool

func (*UpdateTemplateCmdByAdminRequest) GetRequiresHvm

func (x *UpdateTemplateCmdByAdminRequest) GetRequiresHvm() bool

func (*UpdateTemplateCmdByAdminRequest) GetResponseType

func (x *UpdateTemplateCmdByAdminRequest) GetResponseType() string

func (*UpdateTemplateCmdByAdminRequest) GetSortKey

func (x *UpdateTemplateCmdByAdminRequest) GetSortKey() int32

func (*UpdateTemplateCmdByAdminRequest) GetSshKeyEnabled

func (x *UpdateTemplateCmdByAdminRequest) GetSshKeyEnabled() bool

func (*UpdateTemplateCmdByAdminRequest) GetTemplateName

func (x *UpdateTemplateCmdByAdminRequest) GetTemplateName() string

func (*UpdateTemplateCmdByAdminRequest) GetTemplateTag

func (x *UpdateTemplateCmdByAdminRequest) GetTemplateTag() string

func (*UpdateTemplateCmdByAdminRequest) GetTemplateType

func (x *UpdateTemplateCmdByAdminRequest) GetTemplateType() string

func (*UpdateTemplateCmdByAdminRequest) ProtoMessage

func (*UpdateTemplateCmdByAdminRequest) ProtoMessage()

func (*UpdateTemplateCmdByAdminRequest) ProtoReflect

func (*UpdateTemplateCmdByAdminRequest) Reset

func (*UpdateTemplateCmdByAdminRequest) String

type UpdateTemplateCmdByAdminResponse

type UpdateTemplateCmdByAdminResponse struct {

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

UpdateTemplateCmdByAdminResponse represents the response from updates attributes of a template.

func (*UpdateTemplateCmdByAdminResponse) Descriptor deprecated

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

Deprecated: Use UpdateTemplateCmdByAdminResponse.ProtoReflect.Descriptor instead.

func (*UpdateTemplateCmdByAdminResponse) GetResult

func (x *UpdateTemplateCmdByAdminResponse) GetResult() *Result

func (*UpdateTemplateCmdByAdminResponse) ProtoMessage

func (*UpdateTemplateCmdByAdminResponse) ProtoMessage()

func (*UpdateTemplateCmdByAdminResponse) ProtoReflect

func (*UpdateTemplateCmdByAdminResponse) Reset

func (*UpdateTemplateCmdByAdminResponse) String

type UpdateTemplatePermissionsRequest

type UpdateTemplatePermissionsRequest struct {

	// a comma delimited list of accounts within caller's domain. If specified, "op" parameter has to be passed in.
	AccountNames []string `protobuf:"bytes,1,rep,name=account_names,json=accountNames" json:"account_names,omitempty"`
	// the template ID
	Id *int64 `protobuf:"varint,2,opt,name=id" json:"id,omitempty"`
	// true for featured template/iso, false otherwise
	Featured *bool `protobuf:"varint,3,opt,name=featured" json:"featured,omitempty"`
	// true for public template/iso, false for private templates/isos
	IsPublic *bool `protobuf:"varint,4,opt,name=is_public,json=isPublic" json:"is_public,omitempty"`
	// true if the template/iso is extractable, false other wise. Can be set only by root admin
	IsExtractable *bool `protobuf:"varint,5,opt,name=is_extractable,json=isExtractable" json:"is_extractable,omitempty"`
	// permission operator (add, remove, reset)
	Operation *string `protobuf:"bytes,6,opt,name=operation" json:"operation,omitempty"`
	// a comma delimited list of projects. If specified, "op" parameter has to be passed in.
	ProjectIds   []string `protobuf:"bytes,7,rep,name=project_ids,json=projectIds" json:"project_ids,omitempty"`
	ResponseType *string  `protobuf:"bytes,8,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

UpdateTemplatePermissionsRequest represents the parameters for updates a template visibility permissions. a public template is visible to all accounts within the same domain. a private template is visible only to the owner of the template. a privileged template is a private template with account permissions added. only accounts specified under the template permissions are visible to them.

func (*UpdateTemplatePermissionsRequest) Descriptor deprecated

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

Deprecated: Use UpdateTemplatePermissionsRequest.ProtoReflect.Descriptor instead.

func (*UpdateTemplatePermissionsRequest) GetAccountNames

func (x *UpdateTemplatePermissionsRequest) GetAccountNames() []string

func (*UpdateTemplatePermissionsRequest) GetFeatured

func (x *UpdateTemplatePermissionsRequest) GetFeatured() bool

func (*UpdateTemplatePermissionsRequest) GetId

func (*UpdateTemplatePermissionsRequest) GetIsExtractable

func (x *UpdateTemplatePermissionsRequest) GetIsExtractable() bool

func (*UpdateTemplatePermissionsRequest) GetIsPublic

func (x *UpdateTemplatePermissionsRequest) GetIsPublic() bool

func (*UpdateTemplatePermissionsRequest) GetOperation

func (x *UpdateTemplatePermissionsRequest) GetOperation() string

func (*UpdateTemplatePermissionsRequest) GetProjectIds

func (x *UpdateTemplatePermissionsRequest) GetProjectIds() []string

func (*UpdateTemplatePermissionsRequest) GetResponseType

func (x *UpdateTemplatePermissionsRequest) GetResponseType() string

func (*UpdateTemplatePermissionsRequest) ProtoMessage

func (*UpdateTemplatePermissionsRequest) ProtoMessage()

func (*UpdateTemplatePermissionsRequest) ProtoReflect

func (*UpdateTemplatePermissionsRequest) Reset

func (*UpdateTemplatePermissionsRequest) String

type UpdateTemplatePermissionsResponse

type UpdateTemplatePermissionsResponse struct {

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

UpdateTemplatePermissionsResponse represents the response from updates a template visibility permissions. a public template is visible to all accounts within the same domain. a private template is visible only to the owner of the template. a privileged template is a private template with account permissions added. only accounts specified under the template permissions are visible to them.

func (*UpdateTemplatePermissionsResponse) Descriptor deprecated

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

Deprecated: Use UpdateTemplatePermissionsResponse.ProtoReflect.Descriptor instead.

func (*UpdateTemplatePermissionsResponse) GetResult

func (x *UpdateTemplatePermissionsResponse) GetResult() *Result

func (*UpdateTemplatePermissionsResponse) ProtoMessage

func (*UpdateTemplatePermissionsResponse) ProtoMessage()

func (*UpdateTemplatePermissionsResponse) ProtoReflect

func (*UpdateTemplatePermissionsResponse) Reset

func (*UpdateTemplatePermissionsResponse) String

type UpdateTemplateRequest

type UpdateTemplateRequest 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 type of the template. Valid options are: USER/VNF (for all users) and SYSTEM/ROUTING/BUILTIN (for admins only).
	TemplateType *string `protobuf:"bytes,2,opt,name=template_type,json=templateType" json:"template_type,omitempty"`
	// the tag for this template.
	TemplateTag *string `protobuf:"bytes,3,opt,name=template_tag,json=templateTag" json:"template_tag,omitempty"`
	// true if image is bootable, false otherwise; available only for updateIso API
	Bootable *bool `protobuf:"varint,4,opt,name=bootable" json:"bootable,omitempty"`
	// true if the template requires HVM, false otherwise; available only for updateTemplate API
	RequiresHvm *bool `protobuf:"varint,5,opt,name=requires_hvm,json=requiresHvm" json:"requires_hvm,omitempty"`
	// the display text of the image
	DisplayText *string `protobuf:"bytes,6,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
	// the ID of the image file
	Id *int64 `protobuf:"varint,7,opt,name=id" json:"id,omitempty"`
	// the name of the image file
	TemplateName *string `protobuf:"bytes,8,opt,name=template_name,json=templateName" json:"template_name,omitempty"`
	// the ID of the OS type that best represents the OS of this image.
	OsTypeId *int64 `protobuf:"varint,9,opt,name=os_type_id,json=osTypeId" json:"os_type_id,omitempty"`
	// the format for the image
	Format *string `protobuf:"bytes,10,opt,name=format" json:"format,omitempty"`
	// true if the image supports the password reset feature; default is false
	PasswordEnabled *bool `protobuf:"varint,11,opt,name=password_enabled,json=passwordEnabled" json:"password_enabled,omitempty"`
	// true if the template supports the sshkey upload feature; default is false
	SshKeyEnabled *bool `protobuf:"varint,12,opt,name=ssh_key_enabled,json=sshKeyEnabled" json:"ssh_key_enabled,omitempty"`
	// sort key of the template, integer
	SortKey *int32 `protobuf:"varint,13,opt,name=sort_key,json=sortKey" json:"sort_key,omitempty"`
	// true if template/ISO contains XS/VMWare tools inorder to support dynamic scaling of VM cpu/memory
	IsDynamicallyScalable *bool `protobuf:"varint,14,opt,name=is_dynamically_scalable,json=isDynamicallyScalable" json:"is_dynamically_scalable,omitempty"`
	// true if the template type is routing i.e., if template is used to deploy router
	IsRoutingType *bool `protobuf:"varint,15,opt,name=is_routing_type,json=isRoutingType" json:"is_routing_type,omitempty"`
	// Details in key/value pairs using format details[i].keyname=keyvalue. Example: details[0].hypervisortoolsversion=xenserver61
	Details map[string]string `` /* 135-byte string literal not displayed */
	// optional boolean field, which indicates if details should be cleaned up or not (if set to true, details removed for this resource, details field ignored; if false or not set, no action)
	CleanupDetails *bool `protobuf:"varint,17,opt,name=cleanup_details,json=cleanupDetails" json:"cleanup_details,omitempty"`
	// the CPU arch of the template/ISO. Valid options are: x86_64, aarch64
	Arch         *string `protobuf:"bytes,18,opt,name=arch" json:"arch,omitempty"`
	ResponseType *string `protobuf:"bytes,19,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

UpdateTemplateRequest represents the parameters for updates attributes of a template.

func (*UpdateTemplateRequest) Descriptor deprecated

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

Deprecated: Use UpdateTemplateRequest.ProtoReflect.Descriptor instead.

func (*UpdateTemplateRequest) GetArch

func (x *UpdateTemplateRequest) GetArch() string

func (*UpdateTemplateRequest) GetBootable

func (x *UpdateTemplateRequest) GetBootable() bool

func (*UpdateTemplateRequest) GetCleanupDetails

func (x *UpdateTemplateRequest) GetCleanupDetails() bool

func (*UpdateTemplateRequest) GetDetails

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

func (*UpdateTemplateRequest) GetDisplayText

func (x *UpdateTemplateRequest) GetDisplayText() string

func (*UpdateTemplateRequest) GetFormat

func (x *UpdateTemplateRequest) GetFormat() string

func (*UpdateTemplateRequest) GetId

func (x *UpdateTemplateRequest) GetId() int64

func (*UpdateTemplateRequest) GetIsDynamicallyScalable

func (x *UpdateTemplateRequest) GetIsDynamicallyScalable() bool

func (*UpdateTemplateRequest) GetIsRoutingType

func (x *UpdateTemplateRequest) GetIsRoutingType() bool

func (*UpdateTemplateRequest) GetOsTypeId

func (x *UpdateTemplateRequest) GetOsTypeId() int64

func (*UpdateTemplateRequest) GetPasswordEnabled

func (x *UpdateTemplateRequest) GetPasswordEnabled() bool

func (*UpdateTemplateRequest) GetRequiresHvm

func (x *UpdateTemplateRequest) GetRequiresHvm() bool

func (*UpdateTemplateRequest) GetResponseType

func (x *UpdateTemplateRequest) GetResponseType() string

func (*UpdateTemplateRequest) GetRunAsAdmin

func (x *UpdateTemplateRequest) GetRunAsAdmin() bool

func (*UpdateTemplateRequest) GetSortKey

func (x *UpdateTemplateRequest) GetSortKey() int32

func (*UpdateTemplateRequest) GetSshKeyEnabled

func (x *UpdateTemplateRequest) GetSshKeyEnabled() bool

func (*UpdateTemplateRequest) GetTemplateName

func (x *UpdateTemplateRequest) GetTemplateName() string

func (*UpdateTemplateRequest) GetTemplateTag

func (x *UpdateTemplateRequest) GetTemplateTag() string

func (*UpdateTemplateRequest) GetTemplateType

func (x *UpdateTemplateRequest) GetTemplateType() string

func (*UpdateTemplateRequest) ProtoMessage

func (*UpdateTemplateRequest) ProtoMessage()

func (*UpdateTemplateRequest) ProtoReflect

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

func (*UpdateTemplateRequest) Reset

func (x *UpdateTemplateRequest) Reset()

func (*UpdateTemplateRequest) String

func (x *UpdateTemplateRequest) String() string

type UpdateTemplateResponse

type UpdateTemplateResponse struct {

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

UpdateTemplateResponse represents the response from updates attributes of a template.

func (*UpdateTemplateResponse) Descriptor deprecated

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

Deprecated: Use UpdateTemplateResponse.ProtoReflect.Descriptor instead.

func (*UpdateTemplateResponse) GetResult

func (x *UpdateTemplateResponse) GetResult() *Result

func (*UpdateTemplateResponse) ProtoMessage

func (*UpdateTemplateResponse) ProtoMessage()

func (*UpdateTemplateResponse) ProtoReflect

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

func (*UpdateTemplateResponse) Reset

func (x *UpdateTemplateResponse) Reset()

func (*UpdateTemplateResponse) String

func (x *UpdateTemplateResponse) String() string

type UpdateVnfTemplateCmdByAdminRequest

type UpdateVnfTemplateCmdByAdminRequest struct {

	// VNF nics in key/value pairs using format vnfnics[i].keyname=keyvalue.  Example: vnfnics[0].deviceid=0&&vnfnics[0].name=FirstNIC&&vnfnics[0].required=true&&vnfnics[1].deviceid=1&&vnfnics[1].name=SecondNIC
	VnfNics map[string]string `` /* 149-byte string literal not displayed */
	// VNF details in key/value pairs using format vnfdetails[i].keyname=keyvalue. Example: vnfdetails[0].vendor=xxx&&vnfdetails[0].version=2.0
	VnfDetails map[string]string `` /* 158-byte string literal not displayed */
	// optional boolean field, which indicates if VNF details will be cleaned up or not
	CleanupVnfDetails *bool `protobuf:"varint,3,opt,name=cleanup_vnf_details,json=cleanupVnfDetails" json:"cleanup_vnf_details,omitempty"`
	// optional boolean field, which indicates if VNF nics will be cleaned up or not
	CleanupVnfNics *bool `protobuf:"varint,4,opt,name=cleanup_vnf_nics,json=cleanupVnfNics" json:"cleanup_vnf_nics,omitempty"`
	// the type of the template. Valid options are: USER/VNF (for all users) and SYSTEM/ROUTING/BUILTIN (for admins only).
	TemplateType *string `protobuf:"bytes,5,opt,name=template_type,json=templateType" json:"template_type,omitempty"`
	// the tag for this template.
	TemplateTag *string `protobuf:"bytes,6,opt,name=template_tag,json=templateTag" json:"template_tag,omitempty"`
	// true if image is bootable, false otherwise; available only for updateIso API
	Bootable *bool `protobuf:"varint,7,opt,name=bootable" json:"bootable,omitempty"`
	// true if the template requires HVM, false otherwise; available only for updateTemplate API
	RequiresHvm *bool `protobuf:"varint,8,opt,name=requires_hvm,json=requiresHvm" json:"requires_hvm,omitempty"`
	// the display text of the image
	DisplayText *string `protobuf:"bytes,9,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
	// the ID of the image file
	Id *int64 `protobuf:"varint,10,opt,name=id" json:"id,omitempty"`
	// the name of the image file
	TemplateName *string `protobuf:"bytes,11,opt,name=template_name,json=templateName" json:"template_name,omitempty"`
	// the ID of the OS type that best represents the OS of this image.
	OsTypeId *int64 `protobuf:"varint,12,opt,name=os_type_id,json=osTypeId" json:"os_type_id,omitempty"`
	// the format for the image
	Format *string `protobuf:"bytes,13,opt,name=format" json:"format,omitempty"`
	// true if the image supports the password reset feature; default is false
	PasswordEnabled *bool `protobuf:"varint,14,opt,name=password_enabled,json=passwordEnabled" json:"password_enabled,omitempty"`
	// true if the template supports the sshkey upload feature; default is false
	SshKeyEnabled *bool `protobuf:"varint,15,opt,name=ssh_key_enabled,json=sshKeyEnabled" json:"ssh_key_enabled,omitempty"`
	// sort key of the template, integer
	SortKey *int32 `protobuf:"varint,16,opt,name=sort_key,json=sortKey" json:"sort_key,omitempty"`
	// true if template/ISO contains XS/VMWare tools inorder to support dynamic scaling of VM cpu/memory
	IsDynamicallyScalable *bool `protobuf:"varint,17,opt,name=is_dynamically_scalable,json=isDynamicallyScalable" json:"is_dynamically_scalable,omitempty"`
	// true if the template type is routing i.e., if template is used to deploy router
	IsRoutingType *bool `protobuf:"varint,18,opt,name=is_routing_type,json=isRoutingType" json:"is_routing_type,omitempty"`
	// Details in key/value pairs using format details[i].keyname=keyvalue. Example: details[0].hypervisortoolsversion=xenserver61
	Details map[string]string `` /* 135-byte string literal not displayed */
	// optional boolean field, which indicates if details should be cleaned up or not (if set to true, details removed for this resource, details field ignored; if false or not set, no action)
	CleanupDetails *bool `protobuf:"varint,20,opt,name=cleanup_details,json=cleanupDetails" json:"cleanup_details,omitempty"`
	// the CPU arch of the template/ISO. Valid options are: x86_64, aarch64
	Arch         *string `protobuf:"bytes,21,opt,name=arch" json:"arch,omitempty"`
	ResponseType *string `protobuf:"bytes,22,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

UpdateVnfTemplateCmdByAdminRequest represents the parameters for updates a template to vnf template or attributes of a vnf template.

func (*UpdateVnfTemplateCmdByAdminRequest) Descriptor deprecated

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

Deprecated: Use UpdateVnfTemplateCmdByAdminRequest.ProtoReflect.Descriptor instead.

func (*UpdateVnfTemplateCmdByAdminRequest) GetArch

func (*UpdateVnfTemplateCmdByAdminRequest) GetBootable

func (x *UpdateVnfTemplateCmdByAdminRequest) GetBootable() bool

func (*UpdateVnfTemplateCmdByAdminRequest) GetCleanupDetails

func (x *UpdateVnfTemplateCmdByAdminRequest) GetCleanupDetails() bool

func (*UpdateVnfTemplateCmdByAdminRequest) GetCleanupVnfDetails

func (x *UpdateVnfTemplateCmdByAdminRequest) GetCleanupVnfDetails() bool

func (*UpdateVnfTemplateCmdByAdminRequest) GetCleanupVnfNics

func (x *UpdateVnfTemplateCmdByAdminRequest) GetCleanupVnfNics() bool

func (*UpdateVnfTemplateCmdByAdminRequest) GetDetails

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

func (*UpdateVnfTemplateCmdByAdminRequest) GetDisplayText

func (x *UpdateVnfTemplateCmdByAdminRequest) GetDisplayText() string

func (*UpdateVnfTemplateCmdByAdminRequest) GetFormat

func (*UpdateVnfTemplateCmdByAdminRequest) GetId

func (*UpdateVnfTemplateCmdByAdminRequest) GetIsDynamicallyScalable

func (x *UpdateVnfTemplateCmdByAdminRequest) GetIsDynamicallyScalable() bool

func (*UpdateVnfTemplateCmdByAdminRequest) GetIsRoutingType

func (x *UpdateVnfTemplateCmdByAdminRequest) GetIsRoutingType() bool

func (*UpdateVnfTemplateCmdByAdminRequest) GetOsTypeId

func (x *UpdateVnfTemplateCmdByAdminRequest) GetOsTypeId() int64

func (*UpdateVnfTemplateCmdByAdminRequest) GetPasswordEnabled

func (x *UpdateVnfTemplateCmdByAdminRequest) GetPasswordEnabled() bool

func (*UpdateVnfTemplateCmdByAdminRequest) GetRequiresHvm

func (x *UpdateVnfTemplateCmdByAdminRequest) GetRequiresHvm() bool

func (*UpdateVnfTemplateCmdByAdminRequest) GetResponseType

func (x *UpdateVnfTemplateCmdByAdminRequest) GetResponseType() string

func (*UpdateVnfTemplateCmdByAdminRequest) GetSortKey

func (x *UpdateVnfTemplateCmdByAdminRequest) GetSortKey() int32

func (*UpdateVnfTemplateCmdByAdminRequest) GetSshKeyEnabled

func (x *UpdateVnfTemplateCmdByAdminRequest) GetSshKeyEnabled() bool

func (*UpdateVnfTemplateCmdByAdminRequest) GetTemplateName

func (x *UpdateVnfTemplateCmdByAdminRequest) GetTemplateName() string

func (*UpdateVnfTemplateCmdByAdminRequest) GetTemplateTag

func (x *UpdateVnfTemplateCmdByAdminRequest) GetTemplateTag() string

func (*UpdateVnfTemplateCmdByAdminRequest) GetTemplateType

func (x *UpdateVnfTemplateCmdByAdminRequest) GetTemplateType() string

func (*UpdateVnfTemplateCmdByAdminRequest) GetVnfDetails

func (x *UpdateVnfTemplateCmdByAdminRequest) GetVnfDetails() map[string]string

func (*UpdateVnfTemplateCmdByAdminRequest) GetVnfNics

func (x *UpdateVnfTemplateCmdByAdminRequest) GetVnfNics() map[string]string

func (*UpdateVnfTemplateCmdByAdminRequest) ProtoMessage

func (*UpdateVnfTemplateCmdByAdminRequest) ProtoMessage()

func (*UpdateVnfTemplateCmdByAdminRequest) ProtoReflect

func (*UpdateVnfTemplateCmdByAdminRequest) Reset

func (*UpdateVnfTemplateCmdByAdminRequest) String

type UpdateVnfTemplateCmdByAdminResponse

type UpdateVnfTemplateCmdByAdminResponse struct {

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

UpdateVnfTemplateCmdByAdminResponse represents the response from updates a template to vnf template or attributes of a vnf template.

func (*UpdateVnfTemplateCmdByAdminResponse) Descriptor deprecated

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

Deprecated: Use UpdateVnfTemplateCmdByAdminResponse.ProtoReflect.Descriptor instead.

func (*UpdateVnfTemplateCmdByAdminResponse) GetResult

func (*UpdateVnfTemplateCmdByAdminResponse) ProtoMessage

func (*UpdateVnfTemplateCmdByAdminResponse) ProtoMessage()

func (*UpdateVnfTemplateCmdByAdminResponse) ProtoReflect

func (*UpdateVnfTemplateCmdByAdminResponse) Reset

func (*UpdateVnfTemplateCmdByAdminResponse) String

type UpdateVnfTemplateRequest

type UpdateVnfTemplateRequest 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"`
	// VNF nics in key/value pairs using format vnfnics[i].keyname=keyvalue.  Example: vnfnics[0].deviceid=0&&vnfnics[0].name=FirstNIC&&vnfnics[0].required=true&&vnfnics[1].deviceid=1&&vnfnics[1].name=SecondNIC
	VnfNics map[string]string `` /* 149-byte string literal not displayed */
	// VNF details in key/value pairs using format vnfdetails[i].keyname=keyvalue. Example: vnfdetails[0].vendor=xxx&&vnfdetails[0].version=2.0
	VnfDetails map[string]string `` /* 158-byte string literal not displayed */
	// optional boolean field, which indicates if VNF details will be cleaned up or not
	CleanupVnfDetails *bool `protobuf:"varint,4,opt,name=cleanup_vnf_details,json=cleanupVnfDetails" json:"cleanup_vnf_details,omitempty"`
	// optional boolean field, which indicates if VNF nics will be cleaned up or not
	CleanupVnfNics *bool `protobuf:"varint,5,opt,name=cleanup_vnf_nics,json=cleanupVnfNics" json:"cleanup_vnf_nics,omitempty"`
	// the type of the template. Valid options are: USER/VNF (for all users) and SYSTEM/ROUTING/BUILTIN (for admins only).
	TemplateType *string `protobuf:"bytes,6,opt,name=template_type,json=templateType" json:"template_type,omitempty"`
	// the tag for this template.
	TemplateTag *string `protobuf:"bytes,7,opt,name=template_tag,json=templateTag" json:"template_tag,omitempty"`
	// true if image is bootable, false otherwise; available only for updateIso API
	Bootable *bool `protobuf:"varint,8,opt,name=bootable" json:"bootable,omitempty"`
	// true if the template requires HVM, false otherwise; available only for updateTemplate API
	RequiresHvm *bool `protobuf:"varint,9,opt,name=requires_hvm,json=requiresHvm" json:"requires_hvm,omitempty"`
	// the display text of the image
	DisplayText *string `protobuf:"bytes,10,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
	// the ID of the image file
	Id *int64 `protobuf:"varint,11,opt,name=id" json:"id,omitempty"`
	// the name of the image file
	TemplateName *string `protobuf:"bytes,12,opt,name=template_name,json=templateName" json:"template_name,omitempty"`
	// the ID of the OS type that best represents the OS of this image.
	OsTypeId *int64 `protobuf:"varint,13,opt,name=os_type_id,json=osTypeId" json:"os_type_id,omitempty"`
	// the format for the image
	Format *string `protobuf:"bytes,14,opt,name=format" json:"format,omitempty"`
	// true if the image supports the password reset feature; default is false
	PasswordEnabled *bool `protobuf:"varint,15,opt,name=password_enabled,json=passwordEnabled" json:"password_enabled,omitempty"`
	// true if the template supports the sshkey upload feature; default is false
	SshKeyEnabled *bool `protobuf:"varint,16,opt,name=ssh_key_enabled,json=sshKeyEnabled" json:"ssh_key_enabled,omitempty"`
	// sort key of the template, integer
	SortKey *int32 `protobuf:"varint,17,opt,name=sort_key,json=sortKey" json:"sort_key,omitempty"`
	// true if template/ISO contains XS/VMWare tools inorder to support dynamic scaling of VM cpu/memory
	IsDynamicallyScalable *bool `protobuf:"varint,18,opt,name=is_dynamically_scalable,json=isDynamicallyScalable" json:"is_dynamically_scalable,omitempty"`
	// true if the template type is routing i.e., if template is used to deploy router
	IsRoutingType *bool `protobuf:"varint,19,opt,name=is_routing_type,json=isRoutingType" json:"is_routing_type,omitempty"`
	// Details in key/value pairs using format details[i].keyname=keyvalue. Example: details[0].hypervisortoolsversion=xenserver61
	Details map[string]string `` /* 135-byte string literal not displayed */
	// optional boolean field, which indicates if details should be cleaned up or not (if set to true, details removed for this resource, details field ignored; if false or not set, no action)
	CleanupDetails *bool `protobuf:"varint,21,opt,name=cleanup_details,json=cleanupDetails" json:"cleanup_details,omitempty"`
	// the CPU arch of the template/ISO. Valid options are: x86_64, aarch64
	Arch         *string `protobuf:"bytes,22,opt,name=arch" json:"arch,omitempty"`
	ResponseType *string `protobuf:"bytes,23,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

UpdateVnfTemplateRequest represents the parameters for updates a template to vnf template or attributes of a vnf template.

func (*UpdateVnfTemplateRequest) Descriptor deprecated

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

Deprecated: Use UpdateVnfTemplateRequest.ProtoReflect.Descriptor instead.

func (*UpdateVnfTemplateRequest) GetArch

func (x *UpdateVnfTemplateRequest) GetArch() string

func (*UpdateVnfTemplateRequest) GetBootable

func (x *UpdateVnfTemplateRequest) GetBootable() bool

func (*UpdateVnfTemplateRequest) GetCleanupDetails

func (x *UpdateVnfTemplateRequest) GetCleanupDetails() bool

func (*UpdateVnfTemplateRequest) GetCleanupVnfDetails

func (x *UpdateVnfTemplateRequest) GetCleanupVnfDetails() bool

func (*UpdateVnfTemplateRequest) GetCleanupVnfNics

func (x *UpdateVnfTemplateRequest) GetCleanupVnfNics() bool

func (*UpdateVnfTemplateRequest) GetDetails

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

func (*UpdateVnfTemplateRequest) GetDisplayText

func (x *UpdateVnfTemplateRequest) GetDisplayText() string

func (*UpdateVnfTemplateRequest) GetFormat

func (x *UpdateVnfTemplateRequest) GetFormat() string

func (*UpdateVnfTemplateRequest) GetId

func (x *UpdateVnfTemplateRequest) GetId() int64

func (*UpdateVnfTemplateRequest) GetIsDynamicallyScalable

func (x *UpdateVnfTemplateRequest) GetIsDynamicallyScalable() bool

func (*UpdateVnfTemplateRequest) GetIsRoutingType

func (x *UpdateVnfTemplateRequest) GetIsRoutingType() bool

func (*UpdateVnfTemplateRequest) GetOsTypeId

func (x *UpdateVnfTemplateRequest) GetOsTypeId() int64

func (*UpdateVnfTemplateRequest) GetPasswordEnabled

func (x *UpdateVnfTemplateRequest) GetPasswordEnabled() bool

func (*UpdateVnfTemplateRequest) GetRequiresHvm

func (x *UpdateVnfTemplateRequest) GetRequiresHvm() bool

func (*UpdateVnfTemplateRequest) GetResponseType

func (x *UpdateVnfTemplateRequest) GetResponseType() string

func (*UpdateVnfTemplateRequest) GetRunAsAdmin

func (x *UpdateVnfTemplateRequest) GetRunAsAdmin() bool

func (*UpdateVnfTemplateRequest) GetSortKey

func (x *UpdateVnfTemplateRequest) GetSortKey() int32

func (*UpdateVnfTemplateRequest) GetSshKeyEnabled

func (x *UpdateVnfTemplateRequest) GetSshKeyEnabled() bool

func (*UpdateVnfTemplateRequest) GetTemplateName

func (x *UpdateVnfTemplateRequest) GetTemplateName() string

func (*UpdateVnfTemplateRequest) GetTemplateTag

func (x *UpdateVnfTemplateRequest) GetTemplateTag() string

func (*UpdateVnfTemplateRequest) GetTemplateType

func (x *UpdateVnfTemplateRequest) GetTemplateType() string

func (*UpdateVnfTemplateRequest) GetVnfDetails

func (x *UpdateVnfTemplateRequest) GetVnfDetails() map[string]string

func (*UpdateVnfTemplateRequest) GetVnfNics

func (x *UpdateVnfTemplateRequest) GetVnfNics() map[string]string

func (*UpdateVnfTemplateRequest) ProtoMessage

func (*UpdateVnfTemplateRequest) ProtoMessage()

func (*UpdateVnfTemplateRequest) ProtoReflect

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

func (*UpdateVnfTemplateRequest) Reset

func (x *UpdateVnfTemplateRequest) Reset()

func (*UpdateVnfTemplateRequest) String

func (x *UpdateVnfTemplateRequest) String() string

type UpdateVnfTemplateResponse

type UpdateVnfTemplateResponse struct {

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

UpdateVnfTemplateResponse represents the response from updates a template to vnf template or attributes of a vnf template.

func (*UpdateVnfTemplateResponse) Descriptor deprecated

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

Deprecated: Use UpdateVnfTemplateResponse.ProtoReflect.Descriptor instead.

func (*UpdateVnfTemplateResponse) GetResult

func (x *UpdateVnfTemplateResponse) GetResult() *Result

func (*UpdateVnfTemplateResponse) ProtoMessage

func (*UpdateVnfTemplateResponse) ProtoMessage()

func (*UpdateVnfTemplateResponse) ProtoReflect

func (*UpdateVnfTemplateResponse) Reset

func (x *UpdateVnfTemplateResponse) Reset()

func (*UpdateVnfTemplateResponse) String

func (x *UpdateVnfTemplateResponse) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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