Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterTemplateServiceServer(s grpc.ServiceRegistrar, srv TemplateServiceServer)
- type CopyTemplateCmdByAdminRequest
- func (*CopyTemplateCmdByAdminRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CopyTemplateCmdByAdminRequest) GetDestZoneId() int64
- func (x *CopyTemplateCmdByAdminRequest) GetDestZoneIds() []string
- func (x *CopyTemplateCmdByAdminRequest) GetId() int64
- func (x *CopyTemplateCmdByAdminRequest) GetInjectedJobId() string
- func (x *CopyTemplateCmdByAdminRequest) GetResponseType() string
- func (x *CopyTemplateCmdByAdminRequest) GetSourceZoneId() int64
- func (x *CopyTemplateCmdByAdminRequest) GetStartEventId() int64
- func (*CopyTemplateCmdByAdminRequest) ProtoMessage()
- func (x *CopyTemplateCmdByAdminRequest) ProtoReflect() protoreflect.Message
- func (x *CopyTemplateCmdByAdminRequest) Reset()
- func (x *CopyTemplateCmdByAdminRequest) String() string
- type CopyTemplateCmdByAdminResponse
- func (*CopyTemplateCmdByAdminResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CopyTemplateCmdByAdminResponse) GetResult() *Result
- func (*CopyTemplateCmdByAdminResponse) ProtoMessage()
- func (x *CopyTemplateCmdByAdminResponse) ProtoReflect() protoreflect.Message
- func (x *CopyTemplateCmdByAdminResponse) Reset()
- func (x *CopyTemplateCmdByAdminResponse) String() string
- type CopyTemplateRequest
- func (*CopyTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CopyTemplateRequest) GetDestZoneId() int64
- func (x *CopyTemplateRequest) GetDestZoneIds() []string
- func (x *CopyTemplateRequest) GetId() int64
- func (x *CopyTemplateRequest) GetInjectedJobId() string
- func (x *CopyTemplateRequest) GetResponseType() string
- func (x *CopyTemplateRequest) GetRunAsAdmin() bool
- func (x *CopyTemplateRequest) GetSourceZoneId() int64
- func (x *CopyTemplateRequest) GetStartEventId() int64
- func (*CopyTemplateRequest) ProtoMessage()
- func (x *CopyTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *CopyTemplateRequest) Reset()
- func (x *CopyTemplateRequest) String() string
- type CopyTemplateResponse
- func (*CopyTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CopyTemplateResponse) GetResult() *Result
- func (*CopyTemplateResponse) ProtoMessage()
- func (x *CopyTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *CopyTemplateResponse) Reset()
- func (x *CopyTemplateResponse) String() string
- type CreateTemplateCmdByAdminRequest
- func (*CreateTemplateCmdByAdminRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTemplateCmdByAdminRequest) GetAccountName() string
- func (x *CreateTemplateCmdByAdminRequest) GetBits() int32
- func (x *CreateTemplateCmdByAdminRequest) GetDetails() map[string]string
- func (x *CreateTemplateCmdByAdminRequest) GetDisplayText() string
- func (x *CreateTemplateCmdByAdminRequest) GetDomainId() int64
- func (x *CreateTemplateCmdByAdminRequest) GetFeatured() bool
- func (x *CreateTemplateCmdByAdminRequest) GetInjectedJobId() string
- func (x *CreateTemplateCmdByAdminRequest) GetIsDynamicallyScalable() bool
- func (x *CreateTemplateCmdByAdminRequest) GetOsTypeId() int64
- func (x *CreateTemplateCmdByAdminRequest) GetPasswordEnabled() bool
- func (x *CreateTemplateCmdByAdminRequest) GetProjectId() int64
- func (x *CreateTemplateCmdByAdminRequest) GetPublicTemplate() bool
- func (x *CreateTemplateCmdByAdminRequest) GetRequiresHvm() bool
- func (x *CreateTemplateCmdByAdminRequest) GetResponseType() string
- func (x *CreateTemplateCmdByAdminRequest) GetSnapshotId() int64
- func (x *CreateTemplateCmdByAdminRequest) GetSshKeyEnabled() bool
- func (x *CreateTemplateCmdByAdminRequest) GetStartEventId() int64
- func (x *CreateTemplateCmdByAdminRequest) GetTemplateName() string
- func (x *CreateTemplateCmdByAdminRequest) GetTemplateTag() string
- func (x *CreateTemplateCmdByAdminRequest) GetUrl() string
- func (x *CreateTemplateCmdByAdminRequest) GetVmId() int64
- func (x *CreateTemplateCmdByAdminRequest) GetVolumeId() int64
- func (x *CreateTemplateCmdByAdminRequest) GetZoneId() int64
- func (*CreateTemplateCmdByAdminRequest) ProtoMessage()
- func (x *CreateTemplateCmdByAdminRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTemplateCmdByAdminRequest) Reset()
- func (x *CreateTemplateCmdByAdminRequest) String() string
- type CreateTemplateCmdByAdminResponse
- func (*CreateTemplateCmdByAdminResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTemplateCmdByAdminResponse) GetResult() *Result
- func (*CreateTemplateCmdByAdminResponse) ProtoMessage()
- func (x *CreateTemplateCmdByAdminResponse) ProtoReflect() protoreflect.Message
- func (x *CreateTemplateCmdByAdminResponse) Reset()
- func (x *CreateTemplateCmdByAdminResponse) String() string
- type CreateTemplateRequest
- func (*CreateTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTemplateRequest) GetAccountName() string
- func (x *CreateTemplateRequest) GetBits() int32
- func (x *CreateTemplateRequest) GetDetails() map[string]string
- func (x *CreateTemplateRequest) GetDisplayText() string
- func (x *CreateTemplateRequest) GetDomainId() int64
- func (x *CreateTemplateRequest) GetFeatured() bool
- func (x *CreateTemplateRequest) GetInjectedJobId() string
- func (x *CreateTemplateRequest) GetIsDynamicallyScalable() bool
- func (x *CreateTemplateRequest) GetOsTypeId() int64
- func (x *CreateTemplateRequest) GetPasswordEnabled() bool
- func (x *CreateTemplateRequest) GetProjectId() int64
- func (x *CreateTemplateRequest) GetPublicTemplate() bool
- func (x *CreateTemplateRequest) GetRequiresHvm() bool
- func (x *CreateTemplateRequest) GetResponseType() string
- func (x *CreateTemplateRequest) GetRunAsAdmin() bool
- func (x *CreateTemplateRequest) GetSnapshotId() int64
- func (x *CreateTemplateRequest) GetSshKeyEnabled() bool
- func (x *CreateTemplateRequest) GetStartEventId() int64
- func (x *CreateTemplateRequest) GetTemplateName() string
- func (x *CreateTemplateRequest) GetTemplateTag() string
- func (x *CreateTemplateRequest) GetUrl() string
- func (x *CreateTemplateRequest) GetVmId() int64
- func (x *CreateTemplateRequest) GetVolumeId() int64
- func (x *CreateTemplateRequest) GetZoneId() int64
- func (*CreateTemplateRequest) ProtoMessage()
- func (x *CreateTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTemplateRequest) Reset()
- func (x *CreateTemplateRequest) String() string
- type CreateTemplateResponse
- func (*CreateTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTemplateResponse) GetResult() *Result
- func (*CreateTemplateResponse) ProtoMessage()
- func (x *CreateTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *CreateTemplateResponse) Reset()
- func (x *CreateTemplateResponse) String() string
- type DeleteTemplateRequest
- func (*DeleteTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTemplateRequest) GetForced() bool
- func (x *DeleteTemplateRequest) GetId() int64
- func (x *DeleteTemplateRequest) GetInjectedJobId() string
- func (x *DeleteTemplateRequest) GetIsSystem() bool
- func (x *DeleteTemplateRequest) GetResponseType() string
- func (x *DeleteTemplateRequest) GetStartEventId() int64
- func (x *DeleteTemplateRequest) GetZoneId() int64
- func (*DeleteTemplateRequest) ProtoMessage()
- func (x *DeleteTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTemplateRequest) Reset()
- func (x *DeleteTemplateRequest) String() string
- type DeleteTemplateResponse
- func (*DeleteTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTemplateResponse) GetResult() *Result
- func (*DeleteTemplateResponse) ProtoMessage()
- func (x *DeleteTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteTemplateResponse) Reset()
- func (x *DeleteTemplateResponse) String() string
- type DeleteVnfTemplateRequest
- func (*DeleteVnfTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteVnfTemplateRequest) GetForced() bool
- func (x *DeleteVnfTemplateRequest) GetId() int64
- func (x *DeleteVnfTemplateRequest) GetInjectedJobId() string
- func (x *DeleteVnfTemplateRequest) GetIsSystem() bool
- func (x *DeleteVnfTemplateRequest) GetResponseType() string
- func (x *DeleteVnfTemplateRequest) GetStartEventId() int64
- func (x *DeleteVnfTemplateRequest) GetZoneId() int64
- func (*DeleteVnfTemplateRequest) ProtoMessage()
- func (x *DeleteVnfTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteVnfTemplateRequest) Reset()
- func (x *DeleteVnfTemplateRequest) String() string
- type DeleteVnfTemplateResponse
- func (*DeleteVnfTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteVnfTemplateResponse) GetResult() *Result
- func (*DeleteVnfTemplateResponse) ProtoMessage()
- func (x *DeleteVnfTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteVnfTemplateResponse) Reset()
- func (x *DeleteVnfTemplateResponse) String() string
- type ExtractTemplateRequest
- func (*ExtractTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExtractTemplateRequest) GetId() int64
- func (x *ExtractTemplateRequest) GetInjectedJobId() string
- func (x *ExtractTemplateRequest) GetMode() string
- func (x *ExtractTemplateRequest) GetResponseType() string
- func (x *ExtractTemplateRequest) GetStartEventId() int64
- func (x *ExtractTemplateRequest) GetUrl() string
- func (x *ExtractTemplateRequest) GetZoneId() int64
- func (*ExtractTemplateRequest) ProtoMessage()
- func (x *ExtractTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *ExtractTemplateRequest) Reset()
- func (x *ExtractTemplateRequest) String() string
- type ExtractTemplateResponse
- func (*ExtractTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExtractTemplateResponse) GetResult() *Result
- func (*ExtractTemplateResponse) ProtoMessage()
- func (x *ExtractTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *ExtractTemplateResponse) Reset()
- func (x *ExtractTemplateResponse) String() string
- type GetUploadParamsForTemplateRequest
- func (*GetUploadParamsForTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUploadParamsForTemplateRequest) GetAccountName() string
- func (x *GetUploadParamsForTemplateRequest) GetArch() string
- func (x *GetUploadParamsForTemplateRequest) GetBits() int32
- func (x *GetUploadParamsForTemplateRequest) GetChecksum() string
- func (x *GetUploadParamsForTemplateRequest) GetDeployAsIs() bool
- func (x *GetUploadParamsForTemplateRequest) GetDetails() map[string]string
- func (x *GetUploadParamsForTemplateRequest) GetDisplayText() string
- func (x *GetUploadParamsForTemplateRequest) GetDomainId() int64
- func (x *GetUploadParamsForTemplateRequest) GetExtractable() bool
- func (x *GetUploadParamsForTemplateRequest) GetFeatured() bool
- func (x *GetUploadParamsForTemplateRequest) GetFormat() string
- func (x *GetUploadParamsForTemplateRequest) GetHypervisor() string
- func (x *GetUploadParamsForTemplateRequest) GetIsDynamicallyScalable() bool
- func (x *GetUploadParamsForTemplateRequest) GetIsRoutingType() bool
- func (x *GetUploadParamsForTemplateRequest) GetName() string
- func (x *GetUploadParamsForTemplateRequest) GetOsTypeId() int64
- func (x *GetUploadParamsForTemplateRequest) GetPasswordEnabled() bool
- func (x *GetUploadParamsForTemplateRequest) GetProjectId() int64
- func (x *GetUploadParamsForTemplateRequest) GetPublicTemplate() bool
- func (x *GetUploadParamsForTemplateRequest) GetRequiresHvm() bool
- func (x *GetUploadParamsForTemplateRequest) GetResponseType() string
- func (x *GetUploadParamsForTemplateRequest) GetSshKeyEnabled() bool
- func (x *GetUploadParamsForTemplateRequest) GetTemplateTag() string
- func (x *GetUploadParamsForTemplateRequest) GetZoneId() int64
- func (*GetUploadParamsForTemplateRequest) ProtoMessage()
- func (x *GetUploadParamsForTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *GetUploadParamsForTemplateRequest) Reset()
- func (x *GetUploadParamsForTemplateRequest) String() string
- type GetUploadParamsForTemplateResponse
- func (*GetUploadParamsForTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUploadParamsForTemplateResponse) GetResult() *Result
- func (*GetUploadParamsForTemplateResponse) ProtoMessage()
- func (x *GetUploadParamsForTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *GetUploadParamsForTemplateResponse) Reset()
- func (x *GetUploadParamsForTemplateResponse) String() string
- type ListTemplatePermissionsCmdByAdminRequest
- func (*ListTemplatePermissionsCmdByAdminRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTemplatePermissionsCmdByAdminRequest) GetId() int64
- func (x *ListTemplatePermissionsCmdByAdminRequest) GetResponseType() string
- func (*ListTemplatePermissionsCmdByAdminRequest) ProtoMessage()
- func (x *ListTemplatePermissionsCmdByAdminRequest) ProtoReflect() protoreflect.Message
- func (x *ListTemplatePermissionsCmdByAdminRequest) Reset()
- func (x *ListTemplatePermissionsCmdByAdminRequest) String() string
- type ListTemplatePermissionsCmdByAdminResponse
- func (*ListTemplatePermissionsCmdByAdminResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTemplatePermissionsCmdByAdminResponse) GetItems() []*TemplatePermissions
- func (x *ListTemplatePermissionsCmdByAdminResponse) GetTotalCount() int32
- func (*ListTemplatePermissionsCmdByAdminResponse) ProtoMessage()
- func (x *ListTemplatePermissionsCmdByAdminResponse) ProtoReflect() protoreflect.Message
- func (x *ListTemplatePermissionsCmdByAdminResponse) Reset()
- func (x *ListTemplatePermissionsCmdByAdminResponse) String() string
- type ListTemplatePermissionsRequest
- func (*ListTemplatePermissionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTemplatePermissionsRequest) GetId() int64
- func (x *ListTemplatePermissionsRequest) GetResponseType() string
- func (x *ListTemplatePermissionsRequest) GetRunAsAdmin() bool
- func (*ListTemplatePermissionsRequest) ProtoMessage()
- func (x *ListTemplatePermissionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListTemplatePermissionsRequest) Reset()
- func (x *ListTemplatePermissionsRequest) String() string
- type ListTemplatePermissionsResponse
- func (*ListTemplatePermissionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTemplatePermissionsResponse) GetItems() []*TemplatePermissions
- func (x *ListTemplatePermissionsResponse) GetTotalCount() int32
- func (*ListTemplatePermissionsResponse) ProtoMessage()
- func (x *ListTemplatePermissionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListTemplatePermissionsResponse) Reset()
- func (x *ListTemplatePermissionsResponse) String() string
- type ListTemplatesCmdByAdminRequest
- func (*ListTemplatesCmdByAdminRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTemplatesCmdByAdminRequest) GetAccountName() string
- func (x *ListTemplatesCmdByAdminRequest) GetArch() string
- func (x *ListTemplatesCmdByAdminRequest) GetDomainId() int64
- func (x *ListTemplatesCmdByAdminRequest) GetHypervisor() string
- func (x *ListTemplatesCmdByAdminRequest) GetId() int64
- func (x *ListTemplatesCmdByAdminRequest) GetIds() []string
- func (x *ListTemplatesCmdByAdminRequest) GetImageStoreId() int64
- func (x *ListTemplatesCmdByAdminRequest) GetIsVnf() bool
- func (x *ListTemplatesCmdByAdminRequest) GetKeyword() string
- func (x *ListTemplatesCmdByAdminRequest) GetListAll() bool
- func (x *ListTemplatesCmdByAdminRequest) GetPage() int32
- func (x *ListTemplatesCmdByAdminRequest) GetPageSize() int32
- func (x *ListTemplatesCmdByAdminRequest) GetParentTemplateId() int64
- func (x *ListTemplatesCmdByAdminRequest) GetProjectId() int64
- func (x *ListTemplatesCmdByAdminRequest) GetRecursive() bool
- func (x *ListTemplatesCmdByAdminRequest) GetResponseType() string
- func (x *ListTemplatesCmdByAdminRequest) GetShowIcon() bool
- func (x *ListTemplatesCmdByAdminRequest) GetShowRemoved() bool
- func (x *ListTemplatesCmdByAdminRequest) GetShowUnique() bool
- func (x *ListTemplatesCmdByAdminRequest) GetStoragePoolId() int64
- func (x *ListTemplatesCmdByAdminRequest) GetTags() map[string]string
- func (x *ListTemplatesCmdByAdminRequest) GetTemplateFilter() string
- func (x *ListTemplatesCmdByAdminRequest) GetTemplateName() string
- func (x *ListTemplatesCmdByAdminRequest) GetTemplateType() string
- func (x *ListTemplatesCmdByAdminRequest) GetViewDetails() []string
- func (x *ListTemplatesCmdByAdminRequest) GetZoneId() int64
- func (*ListTemplatesCmdByAdminRequest) ProtoMessage()
- func (x *ListTemplatesCmdByAdminRequest) ProtoReflect() protoreflect.Message
- func (x *ListTemplatesCmdByAdminRequest) Reset()
- func (x *ListTemplatesCmdByAdminRequest) String() string
- type ListTemplatesCmdByAdminResponse
- func (*ListTemplatesCmdByAdminResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTemplatesCmdByAdminResponse) GetItems() []*Template
- func (x *ListTemplatesCmdByAdminResponse) GetTotalCount() int32
- func (*ListTemplatesCmdByAdminResponse) ProtoMessage()
- func (x *ListTemplatesCmdByAdminResponse) ProtoReflect() protoreflect.Message
- func (x *ListTemplatesCmdByAdminResponse) Reset()
- func (x *ListTemplatesCmdByAdminResponse) String() string
- type ListTemplatesRequest
- func (*ListTemplatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTemplatesRequest) GetAccountName() string
- func (x *ListTemplatesRequest) GetArch() string
- func (x *ListTemplatesRequest) GetDomainId() int64
- func (x *ListTemplatesRequest) GetHypervisor() string
- func (x *ListTemplatesRequest) GetId() int64
- func (x *ListTemplatesRequest) GetIds() []string
- func (x *ListTemplatesRequest) GetIsVnf() bool
- func (x *ListTemplatesRequest) GetKeyword() string
- func (x *ListTemplatesRequest) GetListAll() bool
- func (x *ListTemplatesRequest) GetPage() int32
- func (x *ListTemplatesRequest) GetPageSize() int32
- func (x *ListTemplatesRequest) GetParentTemplateId() int64
- func (x *ListTemplatesRequest) GetProjectId() int64
- func (x *ListTemplatesRequest) GetRecursive() bool
- func (x *ListTemplatesRequest) GetResponseType() string
- func (x *ListTemplatesRequest) GetRunAsAdmin() bool
- func (x *ListTemplatesRequest) GetShowIcon() bool
- func (x *ListTemplatesRequest) GetShowRemoved() bool
- func (x *ListTemplatesRequest) GetShowUnique() bool
- func (x *ListTemplatesRequest) GetTags() map[string]string
- func (x *ListTemplatesRequest) GetTemplateFilter() string
- func (x *ListTemplatesRequest) GetTemplateName() string
- func (x *ListTemplatesRequest) GetTemplateType() string
- func (x *ListTemplatesRequest) GetViewDetails() []string
- func (x *ListTemplatesRequest) GetZoneId() int64
- func (*ListTemplatesRequest) ProtoMessage()
- func (x *ListTemplatesRequest) ProtoReflect() protoreflect.Message
- func (x *ListTemplatesRequest) Reset()
- func (x *ListTemplatesRequest) String() string
- type ListTemplatesResponse
- func (*ListTemplatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTemplatesResponse) GetItems() []*Template
- func (x *ListTemplatesResponse) GetTotalCount() int32
- func (*ListTemplatesResponse) ProtoMessage()
- func (x *ListTemplatesResponse) ProtoReflect() protoreflect.Message
- func (x *ListTemplatesResponse) Reset()
- func (x *ListTemplatesResponse) String() string
- type ListVnfTemplatesCmdByAdminRequest
- func (*ListVnfTemplatesCmdByAdminRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListVnfTemplatesCmdByAdminRequest) GetAccountName() string
- func (x *ListVnfTemplatesCmdByAdminRequest) GetArch() string
- func (x *ListVnfTemplatesCmdByAdminRequest) GetDomainId() int64
- func (x *ListVnfTemplatesCmdByAdminRequest) GetHypervisor() string
- func (x *ListVnfTemplatesCmdByAdminRequest) GetId() int64
- func (x *ListVnfTemplatesCmdByAdminRequest) GetIds() []string
- func (x *ListVnfTemplatesCmdByAdminRequest) GetIsVnf() bool
- func (x *ListVnfTemplatesCmdByAdminRequest) GetKeyword() string
- func (x *ListVnfTemplatesCmdByAdminRequest) GetListAll() bool
- func (x *ListVnfTemplatesCmdByAdminRequest) GetPage() int32
- func (x *ListVnfTemplatesCmdByAdminRequest) GetPageSize() int32
- func (x *ListVnfTemplatesCmdByAdminRequest) GetParentTemplateId() int64
- func (x *ListVnfTemplatesCmdByAdminRequest) GetProjectId() int64
- func (x *ListVnfTemplatesCmdByAdminRequest) GetRecursive() bool
- func (x *ListVnfTemplatesCmdByAdminRequest) GetResponseType() string
- func (x *ListVnfTemplatesCmdByAdminRequest) GetShowIcon() bool
- func (x *ListVnfTemplatesCmdByAdminRequest) GetShowRemoved() bool
- func (x *ListVnfTemplatesCmdByAdminRequest) GetShowUnique() bool
- func (x *ListVnfTemplatesCmdByAdminRequest) GetTags() map[string]string
- func (x *ListVnfTemplatesCmdByAdminRequest) GetTemplateFilter() string
- func (x *ListVnfTemplatesCmdByAdminRequest) GetTemplateName() string
- func (x *ListVnfTemplatesCmdByAdminRequest) GetTemplateType() string
- func (x *ListVnfTemplatesCmdByAdminRequest) GetViewDetails() []string
- func (x *ListVnfTemplatesCmdByAdminRequest) GetZoneId() int64
- func (*ListVnfTemplatesCmdByAdminRequest) ProtoMessage()
- func (x *ListVnfTemplatesCmdByAdminRequest) ProtoReflect() protoreflect.Message
- func (x *ListVnfTemplatesCmdByAdminRequest) Reset()
- func (x *ListVnfTemplatesCmdByAdminRequest) String() string
- type ListVnfTemplatesCmdByAdminResponse
- func (*ListVnfTemplatesCmdByAdminResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListVnfTemplatesCmdByAdminResponse) GetItems() []*Template
- func (x *ListVnfTemplatesCmdByAdminResponse) GetTotalCount() int32
- func (*ListVnfTemplatesCmdByAdminResponse) ProtoMessage()
- func (x *ListVnfTemplatesCmdByAdminResponse) ProtoReflect() protoreflect.Message
- func (x *ListVnfTemplatesCmdByAdminResponse) Reset()
- func (x *ListVnfTemplatesCmdByAdminResponse) String() string
- type ListVnfTemplatesRequest
- func (*ListVnfTemplatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListVnfTemplatesRequest) GetAccountName() string
- func (x *ListVnfTemplatesRequest) GetArch() string
- func (x *ListVnfTemplatesRequest) GetDomainId() int64
- func (x *ListVnfTemplatesRequest) GetHypervisor() string
- func (x *ListVnfTemplatesRequest) GetId() int64
- func (x *ListVnfTemplatesRequest) GetIds() []string
- func (x *ListVnfTemplatesRequest) GetIsVnf() bool
- func (x *ListVnfTemplatesRequest) GetKeyword() string
- func (x *ListVnfTemplatesRequest) GetListAll() bool
- func (x *ListVnfTemplatesRequest) GetPage() int32
- func (x *ListVnfTemplatesRequest) GetPageSize() int32
- func (x *ListVnfTemplatesRequest) GetParentTemplateId() int64
- func (x *ListVnfTemplatesRequest) GetProjectId() int64
- func (x *ListVnfTemplatesRequest) GetRecursive() bool
- func (x *ListVnfTemplatesRequest) GetResponseType() string
- func (x *ListVnfTemplatesRequest) GetRunAsAdmin() bool
- func (x *ListVnfTemplatesRequest) GetShowIcon() bool
- func (x *ListVnfTemplatesRequest) GetShowRemoved() bool
- func (x *ListVnfTemplatesRequest) GetShowUnique() bool
- func (x *ListVnfTemplatesRequest) GetTags() map[string]string
- func (x *ListVnfTemplatesRequest) GetTemplateFilter() string
- func (x *ListVnfTemplatesRequest) GetTemplateName() string
- func (x *ListVnfTemplatesRequest) GetTemplateType() string
- func (x *ListVnfTemplatesRequest) GetViewDetails() []string
- func (x *ListVnfTemplatesRequest) GetZoneId() int64
- func (*ListVnfTemplatesRequest) ProtoMessage()
- func (x *ListVnfTemplatesRequest) ProtoReflect() protoreflect.Message
- func (x *ListVnfTemplatesRequest) Reset()
- func (x *ListVnfTemplatesRequest) String() string
- type ListVnfTemplatesResponse
- func (*ListVnfTemplatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListVnfTemplatesResponse) GetItems() []*Template
- func (x *ListVnfTemplatesResponse) GetTotalCount() int32
- func (*ListVnfTemplatesResponse) ProtoMessage()
- func (x *ListVnfTemplatesResponse) ProtoReflect() protoreflect.Message
- func (x *ListVnfTemplatesResponse) Reset()
- func (x *ListVnfTemplatesResponse) String() string
- type PrepareTemplateRequest
- func (*PrepareTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PrepareTemplateRequest) GetResponseType() string
- func (x *PrepareTemplateRequest) GetStorageId() int64
- func (x *PrepareTemplateRequest) GetTemplateId() int64
- func (x *PrepareTemplateRequest) GetZoneId() int64
- func (*PrepareTemplateRequest) ProtoMessage()
- func (x *PrepareTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *PrepareTemplateRequest) Reset()
- func (x *PrepareTemplateRequest) String() string
- type PrepareTemplateResponse
- func (*PrepareTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PrepareTemplateResponse) GetResult() *Result
- func (*PrepareTemplateResponse) ProtoMessage()
- func (x *PrepareTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *PrepareTemplateResponse) Reset()
- func (x *PrepareTemplateResponse) String() string
- type RegisterTemplateCmdByAdminRequest
- func (*RegisterTemplateCmdByAdminRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterTemplateCmdByAdminRequest) GetAccountName() string
- func (x *RegisterTemplateCmdByAdminRequest) GetArch() string
- func (x *RegisterTemplateCmdByAdminRequest) GetBits() int32
- func (x *RegisterTemplateCmdByAdminRequest) GetChecksum() string
- func (x *RegisterTemplateCmdByAdminRequest) GetDeployAsIs() bool
- func (x *RegisterTemplateCmdByAdminRequest) GetDetails() map[string]string
- func (x *RegisterTemplateCmdByAdminRequest) GetDirectDownload() bool
- func (x *RegisterTemplateCmdByAdminRequest) GetDisplayText() string
- func (x *RegisterTemplateCmdByAdminRequest) GetDomainId() int64
- func (x *RegisterTemplateCmdByAdminRequest) GetExtractable() bool
- func (x *RegisterTemplateCmdByAdminRequest) GetFeatured() bool
- func (x *RegisterTemplateCmdByAdminRequest) GetFormat() string
- func (x *RegisterTemplateCmdByAdminRequest) GetHypervisor() string
- func (x *RegisterTemplateCmdByAdminRequest) GetIsDynamicallyScalable() bool
- func (x *RegisterTemplateCmdByAdminRequest) GetIsRoutingType() bool
- func (x *RegisterTemplateCmdByAdminRequest) GetOsTypeId() int64
- func (x *RegisterTemplateCmdByAdminRequest) GetPasswordEnabled() bool
- func (x *RegisterTemplateCmdByAdminRequest) GetProjectId() int64
- func (x *RegisterTemplateCmdByAdminRequest) GetPublicTemplate() bool
- func (x *RegisterTemplateCmdByAdminRequest) GetRequiresHvm() bool
- func (x *RegisterTemplateCmdByAdminRequest) GetResponseType() string
- func (x *RegisterTemplateCmdByAdminRequest) GetSshKeyEnabled() bool
- func (x *RegisterTemplateCmdByAdminRequest) GetTemplateName() string
- func (x *RegisterTemplateCmdByAdminRequest) GetTemplateTag() string
- func (x *RegisterTemplateCmdByAdminRequest) GetTemplateType() string
- func (x *RegisterTemplateCmdByAdminRequest) GetUrl() string
- func (x *RegisterTemplateCmdByAdminRequest) GetZoneId() int64
- func (x *RegisterTemplateCmdByAdminRequest) GetZoneIds() []string
- func (*RegisterTemplateCmdByAdminRequest) ProtoMessage()
- func (x *RegisterTemplateCmdByAdminRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterTemplateCmdByAdminRequest) Reset()
- func (x *RegisterTemplateCmdByAdminRequest) String() string
- type RegisterTemplateCmdByAdminResponse
- func (*RegisterTemplateCmdByAdminResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterTemplateCmdByAdminResponse) GetResult() *Result
- func (*RegisterTemplateCmdByAdminResponse) ProtoMessage()
- func (x *RegisterTemplateCmdByAdminResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterTemplateCmdByAdminResponse) Reset()
- func (x *RegisterTemplateCmdByAdminResponse) String() string
- type RegisterTemplateRequest
- func (*RegisterTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterTemplateRequest) GetAccountName() string
- func (x *RegisterTemplateRequest) GetArch() string
- func (x *RegisterTemplateRequest) GetBits() int32
- func (x *RegisterTemplateRequest) GetChecksum() string
- func (x *RegisterTemplateRequest) GetDeployAsIs() bool
- func (x *RegisterTemplateRequest) GetDetails() map[string]string
- func (x *RegisterTemplateRequest) GetDirectDownload() bool
- func (x *RegisterTemplateRequest) GetDisplayText() string
- func (x *RegisterTemplateRequest) GetDomainId() int64
- func (x *RegisterTemplateRequest) GetExtractable() bool
- func (x *RegisterTemplateRequest) GetFeatured() bool
- func (x *RegisterTemplateRequest) GetFormat() string
- func (x *RegisterTemplateRequest) GetHypervisor() string
- func (x *RegisterTemplateRequest) GetIsDynamicallyScalable() bool
- func (x *RegisterTemplateRequest) GetIsRoutingType() bool
- func (x *RegisterTemplateRequest) GetOsTypeId() int64
- func (x *RegisterTemplateRequest) GetPasswordEnabled() bool
- func (x *RegisterTemplateRequest) GetProjectId() int64
- func (x *RegisterTemplateRequest) GetPublicTemplate() bool
- func (x *RegisterTemplateRequest) GetRequiresHvm() bool
- func (x *RegisterTemplateRequest) GetResponseType() string
- func (x *RegisterTemplateRequest) GetRunAsAdmin() bool
- func (x *RegisterTemplateRequest) GetSshKeyEnabled() bool
- func (x *RegisterTemplateRequest) GetTemplateName() string
- func (x *RegisterTemplateRequest) GetTemplateTag() string
- func (x *RegisterTemplateRequest) GetTemplateType() string
- func (x *RegisterTemplateRequest) GetUrl() string
- func (x *RegisterTemplateRequest) GetZoneId() int64
- func (x *RegisterTemplateRequest) GetZoneIds() []string
- func (*RegisterTemplateRequest) ProtoMessage()
- func (x *RegisterTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterTemplateRequest) Reset()
- func (x *RegisterTemplateRequest) String() string
- type RegisterTemplateResponse
- func (*RegisterTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterTemplateResponse) GetResult() *Result
- func (*RegisterTemplateResponse) ProtoMessage()
- func (x *RegisterTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterTemplateResponse) Reset()
- func (x *RegisterTemplateResponse) String() string
- type RegisterVnfTemplateCmdByAdminRequest
- func (*RegisterVnfTemplateCmdByAdminRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterVnfTemplateCmdByAdminRequest) GetAccountName() string
- func (x *RegisterVnfTemplateCmdByAdminRequest) GetArch() string
- func (x *RegisterVnfTemplateCmdByAdminRequest) GetBits() int32
- func (x *RegisterVnfTemplateCmdByAdminRequest) GetChecksum() string
- func (x *RegisterVnfTemplateCmdByAdminRequest) GetDeployAsIs() bool
- func (x *RegisterVnfTemplateCmdByAdminRequest) GetDetails() map[string]string
- func (x *RegisterVnfTemplateCmdByAdminRequest) GetDirectDownload() bool
- func (x *RegisterVnfTemplateCmdByAdminRequest) GetDisplayText() string
- func (x *RegisterVnfTemplateCmdByAdminRequest) GetDomainId() int64
- func (x *RegisterVnfTemplateCmdByAdminRequest) GetExtractable() bool
- func (x *RegisterVnfTemplateCmdByAdminRequest) GetFeatured() bool
- func (x *RegisterVnfTemplateCmdByAdminRequest) GetFormat() string
- func (x *RegisterVnfTemplateCmdByAdminRequest) GetHypervisor() string
- func (x *RegisterVnfTemplateCmdByAdminRequest) GetIsDynamicallyScalable() bool
- func (x *RegisterVnfTemplateCmdByAdminRequest) GetIsRoutingType() bool
- func (x *RegisterVnfTemplateCmdByAdminRequest) GetOsTypeId() int64
- func (x *RegisterVnfTemplateCmdByAdminRequest) GetPasswordEnabled() bool
- func (x *RegisterVnfTemplateCmdByAdminRequest) GetProjectId() int64
- func (x *RegisterVnfTemplateCmdByAdminRequest) GetPublicTemplate() bool
- func (x *RegisterVnfTemplateCmdByAdminRequest) GetRequiresHvm() bool
- func (x *RegisterVnfTemplateCmdByAdminRequest) GetResponseType() string
- func (x *RegisterVnfTemplateCmdByAdminRequest) GetSshKeyEnabled() bool
- func (x *RegisterVnfTemplateCmdByAdminRequest) GetTemplateName() string
- func (x *RegisterVnfTemplateCmdByAdminRequest) GetTemplateTag() string
- func (x *RegisterVnfTemplateCmdByAdminRequest) GetTemplateType() string
- func (x *RegisterVnfTemplateCmdByAdminRequest) GetUrl() string
- func (x *RegisterVnfTemplateCmdByAdminRequest) GetVnfDetails() map[string]string
- func (x *RegisterVnfTemplateCmdByAdminRequest) GetVnfNics() map[string]string
- func (x *RegisterVnfTemplateCmdByAdminRequest) GetZoneId() int64
- func (x *RegisterVnfTemplateCmdByAdminRequest) GetZoneIds() []string
- func (*RegisterVnfTemplateCmdByAdminRequest) ProtoMessage()
- func (x *RegisterVnfTemplateCmdByAdminRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterVnfTemplateCmdByAdminRequest) Reset()
- func (x *RegisterVnfTemplateCmdByAdminRequest) String() string
- type RegisterVnfTemplateCmdByAdminResponse
- func (*RegisterVnfTemplateCmdByAdminResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterVnfTemplateCmdByAdminResponse) GetResult() *Result
- func (*RegisterVnfTemplateCmdByAdminResponse) ProtoMessage()
- func (x *RegisterVnfTemplateCmdByAdminResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterVnfTemplateCmdByAdminResponse) Reset()
- func (x *RegisterVnfTemplateCmdByAdminResponse) String() string
- type RegisterVnfTemplateRequest
- func (*RegisterVnfTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterVnfTemplateRequest) GetAccountName() string
- func (x *RegisterVnfTemplateRequest) GetArch() string
- func (x *RegisterVnfTemplateRequest) GetBits() int32
- func (x *RegisterVnfTemplateRequest) GetChecksum() string
- func (x *RegisterVnfTemplateRequest) GetDeployAsIs() bool
- func (x *RegisterVnfTemplateRequest) GetDetails() map[string]string
- func (x *RegisterVnfTemplateRequest) GetDirectDownload() bool
- func (x *RegisterVnfTemplateRequest) GetDisplayText() string
- func (x *RegisterVnfTemplateRequest) GetDomainId() int64
- func (x *RegisterVnfTemplateRequest) GetExtractable() bool
- func (x *RegisterVnfTemplateRequest) GetFeatured() bool
- func (x *RegisterVnfTemplateRequest) GetFormat() string
- func (x *RegisterVnfTemplateRequest) GetHypervisor() string
- func (x *RegisterVnfTemplateRequest) GetIsDynamicallyScalable() bool
- func (x *RegisterVnfTemplateRequest) GetIsRoutingType() bool
- func (x *RegisterVnfTemplateRequest) GetOsTypeId() int64
- func (x *RegisterVnfTemplateRequest) GetPasswordEnabled() bool
- func (x *RegisterVnfTemplateRequest) GetProjectId() int64
- func (x *RegisterVnfTemplateRequest) GetPublicTemplate() bool
- func (x *RegisterVnfTemplateRequest) GetRequiresHvm() bool
- func (x *RegisterVnfTemplateRequest) GetResponseType() string
- func (x *RegisterVnfTemplateRequest) GetRunAsAdmin() bool
- func (x *RegisterVnfTemplateRequest) GetSshKeyEnabled() bool
- func (x *RegisterVnfTemplateRequest) GetTemplateName() string
- func (x *RegisterVnfTemplateRequest) GetTemplateTag() string
- func (x *RegisterVnfTemplateRequest) GetTemplateType() string
- func (x *RegisterVnfTemplateRequest) GetUrl() string
- func (x *RegisterVnfTemplateRequest) GetVnfDetails() map[string]string
- func (x *RegisterVnfTemplateRequest) GetVnfNics() map[string]string
- func (x *RegisterVnfTemplateRequest) GetZoneId() int64
- func (x *RegisterVnfTemplateRequest) GetZoneIds() []string
- func (*RegisterVnfTemplateRequest) ProtoMessage()
- func (x *RegisterVnfTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterVnfTemplateRequest) Reset()
- func (x *RegisterVnfTemplateRequest) String() string
- type RegisterVnfTemplateResponse
- func (*RegisterVnfTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterVnfTemplateResponse) GetResult() *Result
- func (*RegisterVnfTemplateResponse) ProtoMessage()
- func (x *RegisterVnfTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterVnfTemplateResponse) Reset()
- func (x *RegisterVnfTemplateResponse) String() string
- type Result
- func (*Result) Descriptor() ([]byte, []int)deprecated
- func (x *Result) GetDisplayText() string
- func (x *Result) GetId() string
- func (x *Result) GetJobId() string
- func (x *Result) GetJobStatus() string
- func (x *Result) GetSuccess() bool
- func (*Result) ProtoMessage()
- func (x *Result) ProtoReflect() protoreflect.Message
- func (x *Result) Reset()
- func (x *Result) String() string
- type Success
- type Template
- func (*Template) Descriptor() ([]byte, []int)deprecated
- func (x *Template) GetCreated() string
- func (x *Template) GetDescription() string
- func (x *Template) GetDisplayName() string
- func (x *Template) GetId() string
- func (x *Template) GetName() string
- func (*Template) ProtoMessage()
- func (x *Template) ProtoReflect() protoreflect.Message
- func (x *Template) Reset()
- func (x *Template) String() string
- type TemplatePermissions
- func (*TemplatePermissions) Descriptor() ([]byte, []int)deprecated
- func (x *TemplatePermissions) GetCreated() string
- func (x *TemplatePermissions) GetDescription() string
- func (x *TemplatePermissions) GetDisplayName() string
- func (x *TemplatePermissions) GetId() string
- func (x *TemplatePermissions) GetName() string
- func (*TemplatePermissions) ProtoMessage()
- func (x *TemplatePermissions) ProtoReflect() protoreflect.Message
- func (x *TemplatePermissions) Reset()
- func (x *TemplatePermissions) String() string
- type TemplateServiceClient
- type TemplateServiceServer
- type UnimplementedTemplateServiceServer
- func (UnimplementedTemplateServiceServer) CopyTemplate(context.Context, *CopyTemplateRequest) (*CopyTemplateResponse, error)
- func (UnimplementedTemplateServiceServer) CopyTemplateCmdByAdmin(context.Context, *CopyTemplateCmdByAdminRequest) (*CopyTemplateCmdByAdminResponse, error)
- func (UnimplementedTemplateServiceServer) CreateTemplate(context.Context, *CreateTemplateRequest) (*CreateTemplateResponse, error)
- func (UnimplementedTemplateServiceServer) CreateTemplateCmdByAdmin(context.Context, *CreateTemplateCmdByAdminRequest) (*CreateTemplateCmdByAdminResponse, error)
- func (UnimplementedTemplateServiceServer) DeleteTemplate(context.Context, *DeleteTemplateRequest) (*DeleteTemplateResponse, error)
- func (UnimplementedTemplateServiceServer) DeleteVnfTemplate(context.Context, *DeleteVnfTemplateRequest) (*DeleteVnfTemplateResponse, error)
- func (UnimplementedTemplateServiceServer) ExtractTemplate(context.Context, *ExtractTemplateRequest) (*ExtractTemplateResponse, error)
- func (UnimplementedTemplateServiceServer) GetUploadParamsForTemplate(context.Context, *GetUploadParamsForTemplateRequest) (*GetUploadParamsForTemplateResponse, error)
- func (UnimplementedTemplateServiceServer) ListTemplatePermissions(context.Context, *ListTemplatePermissionsRequest) (*ListTemplatePermissionsResponse, error)
- func (UnimplementedTemplateServiceServer) ListTemplatePermissionsCmdByAdmin(context.Context, *ListTemplatePermissionsCmdByAdminRequest) (*ListTemplatePermissionsCmdByAdminResponse, error)
- func (UnimplementedTemplateServiceServer) ListTemplates(context.Context, *ListTemplatesRequest) (*ListTemplatesResponse, error)
- func (UnimplementedTemplateServiceServer) ListTemplatesCmdByAdmin(context.Context, *ListTemplatesCmdByAdminRequest) (*ListTemplatesCmdByAdminResponse, error)
- func (UnimplementedTemplateServiceServer) ListVnfTemplates(context.Context, *ListVnfTemplatesRequest) (*ListVnfTemplatesResponse, error)
- func (UnimplementedTemplateServiceServer) ListVnfTemplatesCmdByAdmin(context.Context, *ListVnfTemplatesCmdByAdminRequest) (*ListVnfTemplatesCmdByAdminResponse, error)
- func (UnimplementedTemplateServiceServer) PrepareTemplate(context.Context, *PrepareTemplateRequest) (*PrepareTemplateResponse, error)
- func (UnimplementedTemplateServiceServer) RegisterTemplate(context.Context, *RegisterTemplateRequest) (*RegisterTemplateResponse, error)
- func (UnimplementedTemplateServiceServer) RegisterTemplateCmdByAdmin(context.Context, *RegisterTemplateCmdByAdminRequest) (*RegisterTemplateCmdByAdminResponse, error)
- func (UnimplementedTemplateServiceServer) RegisterVnfTemplate(context.Context, *RegisterVnfTemplateRequest) (*RegisterVnfTemplateResponse, error)
- func (UnimplementedTemplateServiceServer) RegisterVnfTemplateCmdByAdmin(context.Context, *RegisterVnfTemplateCmdByAdminRequest) (*RegisterVnfTemplateCmdByAdminResponse, error)
- func (UnimplementedTemplateServiceServer) UpdateTemplate(context.Context, *UpdateTemplateRequest) (*UpdateTemplateResponse, error)
- func (UnimplementedTemplateServiceServer) UpdateTemplateCmdByAdmin(context.Context, *UpdateTemplateCmdByAdminRequest) (*UpdateTemplateCmdByAdminResponse, error)
- func (UnimplementedTemplateServiceServer) UpdateTemplatePermissions(context.Context, *UpdateTemplatePermissionsRequest) (*UpdateTemplatePermissionsResponse, error)
- func (UnimplementedTemplateServiceServer) UpdateVnfTemplate(context.Context, *UpdateVnfTemplateRequest) (*UpdateVnfTemplateResponse, error)
- func (UnimplementedTemplateServiceServer) UpdateVnfTemplateCmdByAdmin(context.Context, *UpdateVnfTemplateCmdByAdminRequest) (*UpdateVnfTemplateCmdByAdminResponse, error)
- type UnsafeTemplateServiceServer
- type UpdateTemplateCmdByAdminRequest
- func (*UpdateTemplateCmdByAdminRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTemplateCmdByAdminRequest) GetArch() string
- func (x *UpdateTemplateCmdByAdminRequest) GetBootable() bool
- func (x *UpdateTemplateCmdByAdminRequest) GetCleanupDetails() bool
- func (x *UpdateTemplateCmdByAdminRequest) GetDetails() map[string]string
- func (x *UpdateTemplateCmdByAdminRequest) GetDisplayText() string
- func (x *UpdateTemplateCmdByAdminRequest) GetFormat() string
- func (x *UpdateTemplateCmdByAdminRequest) GetId() int64
- func (x *UpdateTemplateCmdByAdminRequest) GetIsDynamicallyScalable() bool
- func (x *UpdateTemplateCmdByAdminRequest) GetIsRoutingType() bool
- func (x *UpdateTemplateCmdByAdminRequest) GetOsTypeId() int64
- func (x *UpdateTemplateCmdByAdminRequest) GetPasswordEnabled() bool
- func (x *UpdateTemplateCmdByAdminRequest) GetRequiresHvm() bool
- func (x *UpdateTemplateCmdByAdminRequest) GetResponseType() string
- func (x *UpdateTemplateCmdByAdminRequest) GetSortKey() int32
- func (x *UpdateTemplateCmdByAdminRequest) GetSshKeyEnabled() bool
- func (x *UpdateTemplateCmdByAdminRequest) GetTemplateName() string
- func (x *UpdateTemplateCmdByAdminRequest) GetTemplateTag() string
- func (x *UpdateTemplateCmdByAdminRequest) GetTemplateType() string
- func (*UpdateTemplateCmdByAdminRequest) ProtoMessage()
- func (x *UpdateTemplateCmdByAdminRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTemplateCmdByAdminRequest) Reset()
- func (x *UpdateTemplateCmdByAdminRequest) String() string
- type UpdateTemplateCmdByAdminResponse
- func (*UpdateTemplateCmdByAdminResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTemplateCmdByAdminResponse) GetResult() *Result
- func (*UpdateTemplateCmdByAdminResponse) ProtoMessage()
- func (x *UpdateTemplateCmdByAdminResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateTemplateCmdByAdminResponse) Reset()
- func (x *UpdateTemplateCmdByAdminResponse) String() string
- type UpdateTemplatePermissionsRequest
- func (*UpdateTemplatePermissionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTemplatePermissionsRequest) GetAccountNames() []string
- func (x *UpdateTemplatePermissionsRequest) GetFeatured() bool
- func (x *UpdateTemplatePermissionsRequest) GetId() int64
- func (x *UpdateTemplatePermissionsRequest) GetIsExtractable() bool
- func (x *UpdateTemplatePermissionsRequest) GetIsPublic() bool
- func (x *UpdateTemplatePermissionsRequest) GetOperation() string
- func (x *UpdateTemplatePermissionsRequest) GetProjectIds() []string
- func (x *UpdateTemplatePermissionsRequest) GetResponseType() string
- func (*UpdateTemplatePermissionsRequest) ProtoMessage()
- func (x *UpdateTemplatePermissionsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTemplatePermissionsRequest) Reset()
- func (x *UpdateTemplatePermissionsRequest) String() string
- type UpdateTemplatePermissionsResponse
- func (*UpdateTemplatePermissionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTemplatePermissionsResponse) GetResult() *Result
- func (*UpdateTemplatePermissionsResponse) ProtoMessage()
- func (x *UpdateTemplatePermissionsResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateTemplatePermissionsResponse) Reset()
- func (x *UpdateTemplatePermissionsResponse) String() string
- type UpdateTemplateRequest
- func (*UpdateTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTemplateRequest) GetArch() string
- func (x *UpdateTemplateRequest) GetBootable() bool
- func (x *UpdateTemplateRequest) GetCleanupDetails() bool
- func (x *UpdateTemplateRequest) GetDetails() map[string]string
- func (x *UpdateTemplateRequest) GetDisplayText() string
- func (x *UpdateTemplateRequest) GetFormat() string
- func (x *UpdateTemplateRequest) GetId() int64
- func (x *UpdateTemplateRequest) GetIsDynamicallyScalable() bool
- func (x *UpdateTemplateRequest) GetIsRoutingType() bool
- func (x *UpdateTemplateRequest) GetOsTypeId() int64
- func (x *UpdateTemplateRequest) GetPasswordEnabled() bool
- func (x *UpdateTemplateRequest) GetRequiresHvm() bool
- func (x *UpdateTemplateRequest) GetResponseType() string
- func (x *UpdateTemplateRequest) GetRunAsAdmin() bool
- func (x *UpdateTemplateRequest) GetSortKey() int32
- func (x *UpdateTemplateRequest) GetSshKeyEnabled() bool
- func (x *UpdateTemplateRequest) GetTemplateName() string
- func (x *UpdateTemplateRequest) GetTemplateTag() string
- func (x *UpdateTemplateRequest) GetTemplateType() string
- func (*UpdateTemplateRequest) ProtoMessage()
- func (x *UpdateTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTemplateRequest) Reset()
- func (x *UpdateTemplateRequest) String() string
- type UpdateTemplateResponse
- func (*UpdateTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTemplateResponse) GetResult() *Result
- func (*UpdateTemplateResponse) ProtoMessage()
- func (x *UpdateTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateTemplateResponse) Reset()
- func (x *UpdateTemplateResponse) String() string
- type UpdateVnfTemplateCmdByAdminRequest
- func (*UpdateVnfTemplateCmdByAdminRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateVnfTemplateCmdByAdminRequest) GetArch() string
- func (x *UpdateVnfTemplateCmdByAdminRequest) GetBootable() bool
- func (x *UpdateVnfTemplateCmdByAdminRequest) GetCleanupDetails() bool
- func (x *UpdateVnfTemplateCmdByAdminRequest) GetCleanupVnfDetails() bool
- func (x *UpdateVnfTemplateCmdByAdminRequest) GetCleanupVnfNics() bool
- func (x *UpdateVnfTemplateCmdByAdminRequest) GetDetails() map[string]string
- func (x *UpdateVnfTemplateCmdByAdminRequest) GetDisplayText() string
- func (x *UpdateVnfTemplateCmdByAdminRequest) GetFormat() string
- func (x *UpdateVnfTemplateCmdByAdminRequest) GetId() int64
- func (x *UpdateVnfTemplateCmdByAdminRequest) GetIsDynamicallyScalable() bool
- func (x *UpdateVnfTemplateCmdByAdminRequest) GetIsRoutingType() bool
- func (x *UpdateVnfTemplateCmdByAdminRequest) GetOsTypeId() int64
- func (x *UpdateVnfTemplateCmdByAdminRequest) GetPasswordEnabled() bool
- func (x *UpdateVnfTemplateCmdByAdminRequest) GetRequiresHvm() bool
- func (x *UpdateVnfTemplateCmdByAdminRequest) GetResponseType() string
- func (x *UpdateVnfTemplateCmdByAdminRequest) GetSortKey() int32
- func (x *UpdateVnfTemplateCmdByAdminRequest) GetSshKeyEnabled() bool
- func (x *UpdateVnfTemplateCmdByAdminRequest) GetTemplateName() string
- func (x *UpdateVnfTemplateCmdByAdminRequest) GetTemplateTag() string
- func (x *UpdateVnfTemplateCmdByAdminRequest) GetTemplateType() string
- func (x *UpdateVnfTemplateCmdByAdminRequest) GetVnfDetails() map[string]string
- func (x *UpdateVnfTemplateCmdByAdminRequest) GetVnfNics() map[string]string
- func (*UpdateVnfTemplateCmdByAdminRequest) ProtoMessage()
- func (x *UpdateVnfTemplateCmdByAdminRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateVnfTemplateCmdByAdminRequest) Reset()
- func (x *UpdateVnfTemplateCmdByAdminRequest) String() string
- type UpdateVnfTemplateCmdByAdminResponse
- func (*UpdateVnfTemplateCmdByAdminResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateVnfTemplateCmdByAdminResponse) GetResult() *Result
- func (*UpdateVnfTemplateCmdByAdminResponse) ProtoMessage()
- func (x *UpdateVnfTemplateCmdByAdminResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateVnfTemplateCmdByAdminResponse) Reset()
- func (x *UpdateVnfTemplateCmdByAdminResponse) String() string
- type UpdateVnfTemplateRequest
- func (*UpdateVnfTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateVnfTemplateRequest) GetArch() string
- func (x *UpdateVnfTemplateRequest) GetBootable() bool
- func (x *UpdateVnfTemplateRequest) GetCleanupDetails() bool
- func (x *UpdateVnfTemplateRequest) GetCleanupVnfDetails() bool
- func (x *UpdateVnfTemplateRequest) GetCleanupVnfNics() bool
- func (x *UpdateVnfTemplateRequest) GetDetails() map[string]string
- func (x *UpdateVnfTemplateRequest) GetDisplayText() string
- func (x *UpdateVnfTemplateRequest) GetFormat() string
- func (x *UpdateVnfTemplateRequest) GetId() int64
- func (x *UpdateVnfTemplateRequest) GetIsDynamicallyScalable() bool
- func (x *UpdateVnfTemplateRequest) GetIsRoutingType() bool
- func (x *UpdateVnfTemplateRequest) GetOsTypeId() int64
- func (x *UpdateVnfTemplateRequest) GetPasswordEnabled() bool
- func (x *UpdateVnfTemplateRequest) GetRequiresHvm() bool
- func (x *UpdateVnfTemplateRequest) GetResponseType() string
- func (x *UpdateVnfTemplateRequest) GetRunAsAdmin() bool
- func (x *UpdateVnfTemplateRequest) GetSortKey() int32
- func (x *UpdateVnfTemplateRequest) GetSshKeyEnabled() bool
- func (x *UpdateVnfTemplateRequest) GetTemplateName() string
- func (x *UpdateVnfTemplateRequest) GetTemplateTag() string
- func (x *UpdateVnfTemplateRequest) GetTemplateType() string
- func (x *UpdateVnfTemplateRequest) GetVnfDetails() map[string]string
- func (x *UpdateVnfTemplateRequest) GetVnfNics() map[string]string
- func (*UpdateVnfTemplateRequest) ProtoMessage()
- func (x *UpdateVnfTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateVnfTemplateRequest) Reset()
- func (x *UpdateVnfTemplateRequest) String() string
- type UpdateVnfTemplateResponse
- func (*UpdateVnfTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateVnfTemplateResponse) GetResult() *Result
- func (*UpdateVnfTemplateResponse) ProtoMessage()
- func (x *UpdateVnfTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateVnfTemplateResponse) Reset()
- func (x *UpdateVnfTemplateResponse) String() string
Constants ¶
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 ¶
var File_cloudstack_management_template_v1_template_gen_proto protoreflect.FileDescriptor
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 (x *CopyTemplateCmdByAdminRequest) GetId() int64
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 (x *CopyTemplateCmdByAdminRequest) ProtoReflect() protoreflect.Message
func (*CopyTemplateCmdByAdminRequest) Reset ¶
func (x *CopyTemplateCmdByAdminRequest) Reset()
func (*CopyTemplateCmdByAdminRequest) String ¶
func (x *CopyTemplateCmdByAdminRequest) String() 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 (x *CopyTemplateCmdByAdminResponse) ProtoReflect() protoreflect.Message
func (*CopyTemplateCmdByAdminResponse) Reset ¶
func (x *CopyTemplateCmdByAdminResponse) Reset()
func (*CopyTemplateCmdByAdminResponse) String ¶
func (x *CopyTemplateCmdByAdminResponse) String() 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 (x *CreateTemplateCmdByAdminRequest) GetBits() int32
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 (x *CreateTemplateCmdByAdminRequest) GetUrl() string
func (*CreateTemplateCmdByAdminRequest) GetVmId ¶
func (x *CreateTemplateCmdByAdminRequest) GetVmId() int64
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 (x *CreateTemplateCmdByAdminRequest) ProtoReflect() protoreflect.Message
func (*CreateTemplateCmdByAdminRequest) Reset ¶
func (x *CreateTemplateCmdByAdminRequest) Reset()
func (*CreateTemplateCmdByAdminRequest) String ¶
func (x *CreateTemplateCmdByAdminRequest) String() 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 (x *CreateTemplateCmdByAdminResponse) ProtoReflect() protoreflect.Message
func (*CreateTemplateCmdByAdminResponse) Reset ¶
func (x *CreateTemplateCmdByAdminResponse) Reset()
func (*CreateTemplateCmdByAdminResponse) String ¶
func (x *CreateTemplateCmdByAdminResponse) String() 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 (x *DeleteVnfTemplateResponse) ProtoReflect() protoreflect.Message
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 (x *GetUploadParamsForTemplateRequest) GetArch() string
func (*GetUploadParamsForTemplateRequest) GetBits ¶
func (x *GetUploadParamsForTemplateRequest) GetBits() int32
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 (x *GetUploadParamsForTemplateRequest) GetFormat() string
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 (x *GetUploadParamsForTemplateRequest) GetName() string
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 (x *GetUploadParamsForTemplateRequest) GetZoneId() int64
func (*GetUploadParamsForTemplateRequest) ProtoMessage ¶
func (*GetUploadParamsForTemplateRequest) ProtoMessage()
func (*GetUploadParamsForTemplateRequest) ProtoReflect ¶
func (x *GetUploadParamsForTemplateRequest) ProtoReflect() protoreflect.Message
func (*GetUploadParamsForTemplateRequest) Reset ¶
func (x *GetUploadParamsForTemplateRequest) Reset()
func (*GetUploadParamsForTemplateRequest) String ¶
func (x *GetUploadParamsForTemplateRequest) String() 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 (x *GetUploadParamsForTemplateResponse) GetResult() *Result
func (*GetUploadParamsForTemplateResponse) ProtoMessage ¶
func (*GetUploadParamsForTemplateResponse) ProtoMessage()
func (*GetUploadParamsForTemplateResponse) ProtoReflect ¶
func (x *GetUploadParamsForTemplateResponse) ProtoReflect() protoreflect.Message
func (*GetUploadParamsForTemplateResponse) Reset ¶
func (x *GetUploadParamsForTemplateResponse) Reset()
func (*GetUploadParamsForTemplateResponse) String ¶
func (x *GetUploadParamsForTemplateResponse) String() 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 (x *ListTemplatePermissionsCmdByAdminRequest) GetId() int64
func (*ListTemplatePermissionsCmdByAdminRequest) GetResponseType ¶
func (x *ListTemplatePermissionsCmdByAdminRequest) GetResponseType() string
func (*ListTemplatePermissionsCmdByAdminRequest) ProtoMessage ¶
func (*ListTemplatePermissionsCmdByAdminRequest) ProtoMessage()
func (*ListTemplatePermissionsCmdByAdminRequest) ProtoReflect ¶
func (x *ListTemplatePermissionsCmdByAdminRequest) ProtoReflect() protoreflect.Message
func (*ListTemplatePermissionsCmdByAdminRequest) Reset ¶
func (x *ListTemplatePermissionsCmdByAdminRequest) Reset()
func (*ListTemplatePermissionsCmdByAdminRequest) String ¶
func (x *ListTemplatePermissionsCmdByAdminRequest) String() 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 (x *ListTemplatePermissionsCmdByAdminResponse) GetItems() []*TemplatePermissions
func (*ListTemplatePermissionsCmdByAdminResponse) GetTotalCount ¶
func (x *ListTemplatePermissionsCmdByAdminResponse) GetTotalCount() int32
func (*ListTemplatePermissionsCmdByAdminResponse) ProtoMessage ¶
func (*ListTemplatePermissionsCmdByAdminResponse) ProtoMessage()
func (*ListTemplatePermissionsCmdByAdminResponse) ProtoReflect ¶
func (x *ListTemplatePermissionsCmdByAdminResponse) ProtoReflect() protoreflect.Message
func (*ListTemplatePermissionsCmdByAdminResponse) Reset ¶
func (x *ListTemplatePermissionsCmdByAdminResponse) Reset()
func (*ListTemplatePermissionsCmdByAdminResponse) String ¶
func (x *ListTemplatePermissionsCmdByAdminResponse) String() 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 (x *ListTemplatePermissionsRequest) GetId() int64
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 (x *ListTemplatePermissionsRequest) ProtoReflect() protoreflect.Message
func (*ListTemplatePermissionsRequest) Reset ¶
func (x *ListTemplatePermissionsRequest) Reset()
func (*ListTemplatePermissionsRequest) String ¶
func (x *ListTemplatePermissionsRequest) String() 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 (x *ListTemplatePermissionsResponse) GetItems() []*TemplatePermissions
func (*ListTemplatePermissionsResponse) GetTotalCount ¶
func (x *ListTemplatePermissionsResponse) GetTotalCount() int32
func (*ListTemplatePermissionsResponse) ProtoMessage ¶
func (*ListTemplatePermissionsResponse) ProtoMessage()
func (*ListTemplatePermissionsResponse) ProtoReflect ¶
func (x *ListTemplatePermissionsResponse) ProtoReflect() protoreflect.Message
func (*ListTemplatePermissionsResponse) Reset ¶
func (x *ListTemplatePermissionsResponse) Reset()
func (*ListTemplatePermissionsResponse) String ¶
func (x *ListTemplatePermissionsResponse) String() 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 (x *ListTemplatesCmdByAdminRequest) GetArch() string
func (*ListTemplatesCmdByAdminRequest) GetDomainId ¶
func (x *ListTemplatesCmdByAdminRequest) GetDomainId() int64
func (*ListTemplatesCmdByAdminRequest) GetHypervisor ¶
func (x *ListTemplatesCmdByAdminRequest) GetHypervisor() string
func (*ListTemplatesCmdByAdminRequest) GetId ¶
func (x *ListTemplatesCmdByAdminRequest) GetId() int64
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 (x *ListTemplatesCmdByAdminRequest) GetPage() int32
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 (x *ListTemplatesCmdByAdminRequest) ProtoReflect() protoreflect.Message
func (*ListTemplatesCmdByAdminRequest) Reset ¶
func (x *ListTemplatesCmdByAdminRequest) Reset()
func (*ListTemplatesCmdByAdminRequest) String ¶
func (x *ListTemplatesCmdByAdminRequest) String() 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 (x *ListTemplatesCmdByAdminResponse) ProtoReflect() protoreflect.Message
func (*ListTemplatesCmdByAdminResponse) Reset ¶
func (x *ListTemplatesCmdByAdminResponse) Reset()
func (*ListTemplatesCmdByAdminResponse) String ¶
func (x *ListTemplatesCmdByAdminResponse) String() 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 (x *ListVnfTemplatesCmdByAdminRequest) GetArch() string
func (*ListVnfTemplatesCmdByAdminRequest) GetDomainId ¶
func (x *ListVnfTemplatesCmdByAdminRequest) GetDomainId() int64
func (*ListVnfTemplatesCmdByAdminRequest) GetHypervisor ¶
func (x *ListVnfTemplatesCmdByAdminRequest) GetHypervisor() string
func (*ListVnfTemplatesCmdByAdminRequest) GetId ¶
func (x *ListVnfTemplatesCmdByAdminRequest) GetId() int64
func (*ListVnfTemplatesCmdByAdminRequest) GetIds ¶
func (x *ListVnfTemplatesCmdByAdminRequest) GetIds() []string
func (*ListVnfTemplatesCmdByAdminRequest) GetIsVnf ¶
func (x *ListVnfTemplatesCmdByAdminRequest) GetIsVnf() bool
func (*ListVnfTemplatesCmdByAdminRequest) GetKeyword ¶
func (x *ListVnfTemplatesCmdByAdminRequest) GetKeyword() string
func (*ListVnfTemplatesCmdByAdminRequest) GetListAll ¶
func (x *ListVnfTemplatesCmdByAdminRequest) GetListAll() bool
func (*ListVnfTemplatesCmdByAdminRequest) GetPage ¶
func (x *ListVnfTemplatesCmdByAdminRequest) GetPage() int32
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 (x *ListVnfTemplatesCmdByAdminRequest) GetTags() map[string]string
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 (x *ListVnfTemplatesCmdByAdminRequest) GetZoneId() int64
func (*ListVnfTemplatesCmdByAdminRequest) ProtoMessage ¶
func (*ListVnfTemplatesCmdByAdminRequest) ProtoMessage()
func (*ListVnfTemplatesCmdByAdminRequest) ProtoReflect ¶
func (x *ListVnfTemplatesCmdByAdminRequest) ProtoReflect() protoreflect.Message
func (*ListVnfTemplatesCmdByAdminRequest) Reset ¶
func (x *ListVnfTemplatesCmdByAdminRequest) Reset()
func (*ListVnfTemplatesCmdByAdminRequest) String ¶
func (x *ListVnfTemplatesCmdByAdminRequest) String() 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 (x *ListVnfTemplatesCmdByAdminResponse) GetItems() []*Template
func (*ListVnfTemplatesCmdByAdminResponse) GetTotalCount ¶
func (x *ListVnfTemplatesCmdByAdminResponse) GetTotalCount() int32
func (*ListVnfTemplatesCmdByAdminResponse) ProtoMessage ¶
func (*ListVnfTemplatesCmdByAdminResponse) ProtoMessage()
func (*ListVnfTemplatesCmdByAdminResponse) ProtoReflect ¶
func (x *ListVnfTemplatesCmdByAdminResponse) ProtoReflect() protoreflect.Message
func (*ListVnfTemplatesCmdByAdminResponse) Reset ¶
func (x *ListVnfTemplatesCmdByAdminResponse) Reset()
func (*ListVnfTemplatesCmdByAdminResponse) String ¶
func (x *ListVnfTemplatesCmdByAdminResponse) String() 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 (x *RegisterTemplateCmdByAdminRequest) GetArch() string
func (*RegisterTemplateCmdByAdminRequest) GetBits ¶
func (x *RegisterTemplateCmdByAdminRequest) GetBits() int32
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 (x *RegisterTemplateCmdByAdminRequest) GetFormat() string
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 (x *RegisterTemplateCmdByAdminRequest) GetUrl() string
func (*RegisterTemplateCmdByAdminRequest) GetZoneId ¶
func (x *RegisterTemplateCmdByAdminRequest) GetZoneId() int64
func (*RegisterTemplateCmdByAdminRequest) GetZoneIds ¶
func (x *RegisterTemplateCmdByAdminRequest) GetZoneIds() []string
func (*RegisterTemplateCmdByAdminRequest) ProtoMessage ¶
func (*RegisterTemplateCmdByAdminRequest) ProtoMessage()
func (*RegisterTemplateCmdByAdminRequest) ProtoReflect ¶
func (x *RegisterTemplateCmdByAdminRequest) ProtoReflect() protoreflect.Message
func (*RegisterTemplateCmdByAdminRequest) Reset ¶
func (x *RegisterTemplateCmdByAdminRequest) Reset()
func (*RegisterTemplateCmdByAdminRequest) String ¶
func (x *RegisterTemplateCmdByAdminRequest) String() 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 (x *RegisterTemplateCmdByAdminResponse) GetResult() *Result
func (*RegisterTemplateCmdByAdminResponse) ProtoMessage ¶
func (*RegisterTemplateCmdByAdminResponse) ProtoMessage()
func (*RegisterTemplateCmdByAdminResponse) ProtoReflect ¶
func (x *RegisterTemplateCmdByAdminResponse) ProtoReflect() protoreflect.Message
func (*RegisterTemplateCmdByAdminResponse) Reset ¶
func (x *RegisterTemplateCmdByAdminResponse) Reset()
func (*RegisterTemplateCmdByAdminResponse) String ¶
func (x *RegisterTemplateCmdByAdminResponse) String() 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 (x *RegisterVnfTemplateCmdByAdminRequest) GetArch() string
func (*RegisterVnfTemplateCmdByAdminRequest) GetBits ¶
func (x *RegisterVnfTemplateCmdByAdminRequest) GetBits() int32
func (*RegisterVnfTemplateCmdByAdminRequest) GetChecksum ¶
func (x *RegisterVnfTemplateCmdByAdminRequest) GetChecksum() string
func (*RegisterVnfTemplateCmdByAdminRequest) GetDeployAsIs ¶
func (x *RegisterVnfTemplateCmdByAdminRequest) GetDeployAsIs() bool
func (*RegisterVnfTemplateCmdByAdminRequest) GetDetails ¶
func (x *RegisterVnfTemplateCmdByAdminRequest) GetDetails() map[string]string
func (*RegisterVnfTemplateCmdByAdminRequest) GetDirectDownload ¶
func (x *RegisterVnfTemplateCmdByAdminRequest) GetDirectDownload() bool
func (*RegisterVnfTemplateCmdByAdminRequest) GetDisplayText ¶
func (x *RegisterVnfTemplateCmdByAdminRequest) GetDisplayText() string
func (*RegisterVnfTemplateCmdByAdminRequest) GetDomainId ¶
func (x *RegisterVnfTemplateCmdByAdminRequest) GetDomainId() int64
func (*RegisterVnfTemplateCmdByAdminRequest) GetExtractable ¶
func (x *RegisterVnfTemplateCmdByAdminRequest) GetExtractable() bool
func (*RegisterVnfTemplateCmdByAdminRequest) GetFeatured ¶
func (x *RegisterVnfTemplateCmdByAdminRequest) GetFeatured() bool
func (*RegisterVnfTemplateCmdByAdminRequest) GetFormat ¶
func (x *RegisterVnfTemplateCmdByAdminRequest) GetFormat() string
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 (x *RegisterVnfTemplateCmdByAdminRequest) GetOsTypeId() int64
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 (x *RegisterVnfTemplateCmdByAdminRequest) GetUrl() string
func (*RegisterVnfTemplateCmdByAdminRequest) GetVnfDetails ¶
func (x *RegisterVnfTemplateCmdByAdminRequest) GetVnfDetails() map[string]string
func (*RegisterVnfTemplateCmdByAdminRequest) GetVnfNics ¶
func (x *RegisterVnfTemplateCmdByAdminRequest) GetVnfNics() map[string]string
func (*RegisterVnfTemplateCmdByAdminRequest) GetZoneId ¶
func (x *RegisterVnfTemplateCmdByAdminRequest) GetZoneId() int64
func (*RegisterVnfTemplateCmdByAdminRequest) GetZoneIds ¶
func (x *RegisterVnfTemplateCmdByAdminRequest) GetZoneIds() []string
func (*RegisterVnfTemplateCmdByAdminRequest) ProtoMessage ¶
func (*RegisterVnfTemplateCmdByAdminRequest) ProtoMessage()
func (*RegisterVnfTemplateCmdByAdminRequest) ProtoReflect ¶
func (x *RegisterVnfTemplateCmdByAdminRequest) ProtoReflect() protoreflect.Message
func (*RegisterVnfTemplateCmdByAdminRequest) Reset ¶
func (x *RegisterVnfTemplateCmdByAdminRequest) Reset()
func (*RegisterVnfTemplateCmdByAdminRequest) String ¶
func (x *RegisterVnfTemplateCmdByAdminRequest) String() 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 (x *RegisterVnfTemplateCmdByAdminResponse) GetResult() *Result
func (*RegisterVnfTemplateCmdByAdminResponse) ProtoMessage ¶
func (*RegisterVnfTemplateCmdByAdminResponse) ProtoMessage()
func (*RegisterVnfTemplateCmdByAdminResponse) ProtoReflect ¶
func (x *RegisterVnfTemplateCmdByAdminResponse) ProtoReflect() protoreflect.Message
func (*RegisterVnfTemplateCmdByAdminResponse) Reset ¶
func (x *RegisterVnfTemplateCmdByAdminResponse) Reset()
func (*RegisterVnfTemplateCmdByAdminResponse) String ¶
func (x *RegisterVnfTemplateCmdByAdminResponse) String() 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 (x *RegisterVnfTemplateRequest) ProtoReflect() protoreflect.Message
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 (x *RegisterVnfTemplateResponse) ProtoReflect() protoreflect.Message
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) GetDisplayText ¶
func (*Result) GetJobStatus ¶
func (*Result) GetSuccess ¶
func (*Result) ProtoMessage ¶
func (*Result) ProtoMessage()
func (*Result) ProtoReflect ¶
func (x *Result) ProtoReflect() protoreflect.Message
type Success ¶
type Success struct {
// true if operation is executed successfully
Success *bool `protobuf:"varint,1,opt,name=success" json:"success,omitempty"`
// any text associated with the success or failure
DisplayText *string `protobuf:"bytes,2,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
// contains filtered or unexported fields
}
Success represents a Success Operation Response
func (*Success) Descriptor
deprecated
func (*Success) GetDisplayText ¶
func (*Success) GetSuccess ¶
func (*Success) ProtoMessage ¶
func (*Success) ProtoMessage()
func (*Success) ProtoReflect ¶
func (x *Success) ProtoReflect() protoreflect.Message
type 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) GetCreated ¶
func (*Template) GetDescription ¶
func (*Template) GetDisplayName ¶
func (*Template) ProtoMessage ¶
func (*Template) ProtoMessage()
func (*Template) ProtoReflect ¶
func (x *Template) ProtoReflect() protoreflect.Message
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
func NewTemplateServiceClient ¶
func NewTemplateServiceClient(cc grpc.ClientConnInterface) TemplateServiceClient
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) CopyTemplate(context.Context, *CopyTemplateRequest) (*CopyTemplateResponse, error)
func (UnimplementedTemplateServiceServer) CopyTemplateCmdByAdmin ¶
func (UnimplementedTemplateServiceServer) CopyTemplateCmdByAdmin(context.Context, *CopyTemplateCmdByAdminRequest) (*CopyTemplateCmdByAdminResponse, error)
func (UnimplementedTemplateServiceServer) CreateTemplate ¶
func (UnimplementedTemplateServiceServer) CreateTemplate(context.Context, *CreateTemplateRequest) (*CreateTemplateResponse, error)
func (UnimplementedTemplateServiceServer) CreateTemplateCmdByAdmin ¶
func (UnimplementedTemplateServiceServer) CreateTemplateCmdByAdmin(context.Context, *CreateTemplateCmdByAdminRequest) (*CreateTemplateCmdByAdminResponse, error)
func (UnimplementedTemplateServiceServer) DeleteTemplate ¶
func (UnimplementedTemplateServiceServer) DeleteTemplate(context.Context, *DeleteTemplateRequest) (*DeleteTemplateResponse, error)
func (UnimplementedTemplateServiceServer) DeleteVnfTemplate ¶
func (UnimplementedTemplateServiceServer) DeleteVnfTemplate(context.Context, *DeleteVnfTemplateRequest) (*DeleteVnfTemplateResponse, error)
func (UnimplementedTemplateServiceServer) ExtractTemplate ¶
func (UnimplementedTemplateServiceServer) ExtractTemplate(context.Context, *ExtractTemplateRequest) (*ExtractTemplateResponse, error)
func (UnimplementedTemplateServiceServer) GetUploadParamsForTemplate ¶
func (UnimplementedTemplateServiceServer) GetUploadParamsForTemplate(context.Context, *GetUploadParamsForTemplateRequest) (*GetUploadParamsForTemplateResponse, error)
func (UnimplementedTemplateServiceServer) ListTemplatePermissions ¶
func (UnimplementedTemplateServiceServer) ListTemplatePermissions(context.Context, *ListTemplatePermissionsRequest) (*ListTemplatePermissionsResponse, error)
func (UnimplementedTemplateServiceServer) ListTemplatePermissionsCmdByAdmin ¶
func (UnimplementedTemplateServiceServer) ListTemplatePermissionsCmdByAdmin(context.Context, *ListTemplatePermissionsCmdByAdminRequest) (*ListTemplatePermissionsCmdByAdminResponse, error)
func (UnimplementedTemplateServiceServer) ListTemplates ¶
func (UnimplementedTemplateServiceServer) ListTemplates(context.Context, *ListTemplatesRequest) (*ListTemplatesResponse, error)
func (UnimplementedTemplateServiceServer) ListTemplatesCmdByAdmin ¶
func (UnimplementedTemplateServiceServer) ListTemplatesCmdByAdmin(context.Context, *ListTemplatesCmdByAdminRequest) (*ListTemplatesCmdByAdminResponse, error)
func (UnimplementedTemplateServiceServer) ListVnfTemplates ¶
func (UnimplementedTemplateServiceServer) ListVnfTemplates(context.Context, *ListVnfTemplatesRequest) (*ListVnfTemplatesResponse, error)
func (UnimplementedTemplateServiceServer) ListVnfTemplatesCmdByAdmin ¶
func (UnimplementedTemplateServiceServer) ListVnfTemplatesCmdByAdmin(context.Context, *ListVnfTemplatesCmdByAdminRequest) (*ListVnfTemplatesCmdByAdminResponse, error)
func (UnimplementedTemplateServiceServer) PrepareTemplate ¶
func (UnimplementedTemplateServiceServer) PrepareTemplate(context.Context, *PrepareTemplateRequest) (*PrepareTemplateResponse, error)
func (UnimplementedTemplateServiceServer) RegisterTemplate ¶
func (UnimplementedTemplateServiceServer) RegisterTemplate(context.Context, *RegisterTemplateRequest) (*RegisterTemplateResponse, error)
func (UnimplementedTemplateServiceServer) RegisterTemplateCmdByAdmin ¶
func (UnimplementedTemplateServiceServer) RegisterTemplateCmdByAdmin(context.Context, *RegisterTemplateCmdByAdminRequest) (*RegisterTemplateCmdByAdminResponse, error)
func (UnimplementedTemplateServiceServer) RegisterVnfTemplate ¶
func (UnimplementedTemplateServiceServer) RegisterVnfTemplate(context.Context, *RegisterVnfTemplateRequest) (*RegisterVnfTemplateResponse, error)
func (UnimplementedTemplateServiceServer) RegisterVnfTemplateCmdByAdmin ¶
func (UnimplementedTemplateServiceServer) RegisterVnfTemplateCmdByAdmin(context.Context, *RegisterVnfTemplateCmdByAdminRequest) (*RegisterVnfTemplateCmdByAdminResponse, error)
func (UnimplementedTemplateServiceServer) UpdateTemplate ¶
func (UnimplementedTemplateServiceServer) UpdateTemplate(context.Context, *UpdateTemplateRequest) (*UpdateTemplateResponse, error)
func (UnimplementedTemplateServiceServer) UpdateTemplateCmdByAdmin ¶
func (UnimplementedTemplateServiceServer) UpdateTemplateCmdByAdmin(context.Context, *UpdateTemplateCmdByAdminRequest) (*UpdateTemplateCmdByAdminResponse, error)
func (UnimplementedTemplateServiceServer) UpdateTemplatePermissions ¶
func (UnimplementedTemplateServiceServer) UpdateTemplatePermissions(context.Context, *UpdateTemplatePermissionsRequest) (*UpdateTemplatePermissionsResponse, error)
func (UnimplementedTemplateServiceServer) UpdateVnfTemplate ¶
func (UnimplementedTemplateServiceServer) UpdateVnfTemplate(context.Context, *UpdateVnfTemplateRequest) (*UpdateVnfTemplateResponse, error)
func (UnimplementedTemplateServiceServer) UpdateVnfTemplateCmdByAdmin ¶
func (UnimplementedTemplateServiceServer) UpdateVnfTemplateCmdByAdmin(context.Context, *UpdateVnfTemplateCmdByAdminRequest) (*UpdateVnfTemplateCmdByAdminResponse, error)
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 (x *UpdateTemplateCmdByAdminRequest) GetArch() string
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 (x *UpdateTemplateCmdByAdminRequest) GetId() int64
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 (x *UpdateTemplateCmdByAdminRequest) ProtoReflect() protoreflect.Message
func (*UpdateTemplateCmdByAdminRequest) Reset ¶
func (x *UpdateTemplateCmdByAdminRequest) Reset()
func (*UpdateTemplateCmdByAdminRequest) String ¶
func (x *UpdateTemplateCmdByAdminRequest) String() 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 (x *UpdateTemplateCmdByAdminResponse) ProtoReflect() protoreflect.Message
func (*UpdateTemplateCmdByAdminResponse) Reset ¶
func (x *UpdateTemplateCmdByAdminResponse) Reset()
func (*UpdateTemplateCmdByAdminResponse) String ¶
func (x *UpdateTemplateCmdByAdminResponse) String() 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 (x *UpdateTemplatePermissionsRequest) GetId() int64
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 (x *UpdateTemplatePermissionsRequest) ProtoReflect() protoreflect.Message
func (*UpdateTemplatePermissionsRequest) Reset ¶
func (x *UpdateTemplatePermissionsRequest) Reset()
func (*UpdateTemplatePermissionsRequest) String ¶
func (x *UpdateTemplatePermissionsRequest) String() 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 (x *UpdateTemplatePermissionsResponse) ProtoReflect() protoreflect.Message
func (*UpdateTemplatePermissionsResponse) Reset ¶
func (x *UpdateTemplatePermissionsResponse) Reset()
func (*UpdateTemplatePermissionsResponse) String ¶
func (x *UpdateTemplatePermissionsResponse) String() 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 (x *UpdateVnfTemplateCmdByAdminRequest) GetArch() string
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 (x *UpdateVnfTemplateCmdByAdminRequest) GetFormat() string
func (*UpdateVnfTemplateCmdByAdminRequest) GetId ¶
func (x *UpdateVnfTemplateCmdByAdminRequest) GetId() int64
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 (x *UpdateVnfTemplateCmdByAdminRequest) ProtoReflect() protoreflect.Message
func (*UpdateVnfTemplateCmdByAdminRequest) Reset ¶
func (x *UpdateVnfTemplateCmdByAdminRequest) Reset()
func (*UpdateVnfTemplateCmdByAdminRequest) String ¶
func (x *UpdateVnfTemplateCmdByAdminRequest) String() 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 (x *UpdateVnfTemplateCmdByAdminResponse) GetResult() *Result
func (*UpdateVnfTemplateCmdByAdminResponse) ProtoMessage ¶
func (*UpdateVnfTemplateCmdByAdminResponse) ProtoMessage()
func (*UpdateVnfTemplateCmdByAdminResponse) ProtoReflect ¶
func (x *UpdateVnfTemplateCmdByAdminResponse) ProtoReflect() protoreflect.Message
func (*UpdateVnfTemplateCmdByAdminResponse) Reset ¶
func (x *UpdateVnfTemplateCmdByAdminResponse) Reset()
func (*UpdateVnfTemplateCmdByAdminResponse) String ¶
func (x *UpdateVnfTemplateCmdByAdminResponse) String() 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 (x *UpdateVnfTemplateResponse) ProtoReflect() protoreflect.Message
func (*UpdateVnfTemplateResponse) Reset ¶
func (x *UpdateVnfTemplateResponse) Reset()
func (*UpdateVnfTemplateResponse) String ¶
func (x *UpdateVnfTemplateResponse) String() string