hostsets

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2021 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_controller_api_resources_hostsets_v1_host_set_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type HostSet

type HostSet struct {

	// Output only. The ID of the Host Set.
	Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"`
	// The Host Catalog of which this Host Set is a part.
	HostCatalogId string `protobuf:"bytes,20,opt,name=host_catalog_id,proto3" json:"host_catalog_id,omitempty"`
	// Output only. Scope information for this resource.
	Scope *scopes.ScopeInfo `protobuf:"bytes,30,opt,name=scope,proto3" json:"scope,omitempty"`
	// Optional name for identification purposes.
	Name *wrapperspb.StringValue `protobuf:"bytes,40,opt,name=name,proto3" json:"name,omitempty"`
	// Optional user-set description for identification purposes.
	Description *wrapperspb.StringValue `protobuf:"bytes,50,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. The time this resource was created.
	CreatedTime *timestamppb.Timestamp `protobuf:"bytes,60,opt,name=created_time,proto3" json:"created_time,omitempty"`
	// Output only. The time this resource was last updated.
	UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,70,opt,name=updated_time,proto3" json:"updated_time,omitempty"`
	// Version is used in mutation requests, after the initial creation, to ensure this resource has not changed.
	// The mutation will fail if the version does not match the latest known good version.
	Version uint32 `protobuf:"varint,80,opt,name=version,proto3" json:"version,omitempty"`
	// The type of the Host Set.
	Type string `protobuf:"bytes,90,opt,name=type,proto3" json:"type,omitempty"`
	// Output only. A list of Hosts in this Host Set.
	HostIds []string `protobuf:"bytes,100,rep,name=host_ids,proto3" json:"host_ids,omitempty"`
	// The attributes that are applicable for the specific Host Set type.
	Attributes *structpb.Struct `protobuf:"bytes,110,opt,name=attributes,proto3" json:"attributes,omitempty"`
	// Output only. The available actions on this resource for this user.
	AuthorizedActions []string `protobuf:"bytes,300,rep,name=authorized_actions,proto3" json:"authorized_actions,omitempty"`
	// contains filtered or unexported fields
}

HostSet is a collection of Hosts created and managed by a Host Catalog

func (*HostSet) Descriptor deprecated

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

Deprecated: Use HostSet.ProtoReflect.Descriptor instead.

func (*HostSet) GetAttributes

func (x *HostSet) GetAttributes() *structpb.Struct

func (*HostSet) GetAuthorizedActions added in v0.1.5

func (x *HostSet) GetAuthorizedActions() []string

func (*HostSet) GetCreatedTime

func (x *HostSet) GetCreatedTime() *timestamppb.Timestamp

func (*HostSet) GetDescription

func (x *HostSet) GetDescription() *wrapperspb.StringValue

func (*HostSet) GetHostCatalogId

func (x *HostSet) GetHostCatalogId() string

func (*HostSet) GetHostIds

func (x *HostSet) GetHostIds() []string

func (*HostSet) GetId

func (x *HostSet) GetId() string

func (*HostSet) GetName

func (x *HostSet) GetName() *wrapperspb.StringValue

func (*HostSet) GetScope

func (x *HostSet) GetScope() *scopes.ScopeInfo

func (*HostSet) GetType

func (x *HostSet) GetType() string

func (*HostSet) GetUpdatedTime

func (x *HostSet) GetUpdatedTime() *timestamppb.Timestamp

func (*HostSet) GetVersion

func (x *HostSet) GetVersion() uint32

func (*HostSet) ProtoMessage

func (*HostSet) ProtoMessage()

func (*HostSet) ProtoReflect

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

func (*HostSet) Reset

func (x *HostSet) Reset()

func (*HostSet) String

func (x *HostSet) String() string

Jump to

Keyboard shortcuts

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