models

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HashicorpCloudVault20201125AuditConfig

type HashicorpCloudVault20201125AuditConfig struct {

	// audit logs disabled
	AuditLogsDisabled bool `json:"audit_logs_disabled,omitempty"`
}

HashicorpCloudVault20201125AuditConfig hashicorp cloud vault 20201125 audit config

swagger:model hashicorp.cloud.vault_20201125.AuditConfig

func (*HashicorpCloudVault20201125AuditConfig) MarshalBinary

func (m *HashicorpCloudVault20201125AuditConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125AuditConfig) UnmarshalBinary

func (m *HashicorpCloudVault20201125AuditConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125AuditConfig) Validate

Validate validates this hashicorp cloud vault 20201125 audit config

type HashicorpCloudVault20201125AuditLog

type HashicorpCloudVault20201125AuditLog struct {

	// cluster_id is the cluster id that this download backs
	ClusterID string `json:"cluster_id,omitempty"`

	// download_url is the URL which can be used to retrieve the audit logs.
	DownloadURL string `json:"download_url,omitempty"`

	// expires_at is the timestamp of when the cluster was first created.
	// Format: date-time
	ExpiresAt strfmt.DateTime `json:"expires_at,omitempty"`

	// finished_at is the timestamp of when the download was ready.
	// Format: date-time
	FinishedAt strfmt.DateTime `json:"finished_at,omitempty"`

	// id is the id of the audit log download
	ID string `json:"id,omitempty"`

	// interval_end
	// Format: date-time
	IntervalEnd strfmt.DateTime `json:"interval_end,omitempty"`

	// interval_start
	// Format: date-time
	IntervalStart strfmt.DateTime `json:"interval_start,omitempty"`

	// location is the location of the cluster.
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`

	// state is the current state of the download
	State HashicorpCloudVault20201125AuditLogState `json:"state,omitempty"`
}

HashicorpCloudVault20201125AuditLog AuditLog represents a request for audit logs to download

swagger:model hashicorp.cloud.vault_20201125.AuditLog

func (*HashicorpCloudVault20201125AuditLog) MarshalBinary

func (m *HashicorpCloudVault20201125AuditLog) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125AuditLog) UnmarshalBinary

func (m *HashicorpCloudVault20201125AuditLog) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125AuditLog) Validate

Validate validates this hashicorp cloud vault 20201125 audit log

type HashicorpCloudVault20201125AuditLogState

type HashicorpCloudVault20201125AuditLogState string

HashicorpCloudVault20201125AuditLogState State is the state of download.

  • UNSET: UNSET is a sentinel zero value so that an uninitialized value can be

detected.

  • PENDING: PENDING is the initial state before the workflow starts.
  • CREATING: CREATING is the state used when the download is being prepared.
  • READY: READY is the completed state when the download is ready
  • FAILED: FAILED is a failure state in which the download is not created
  • EXPIRED: EXPIRED is the state that the download hits when it is no longer

accessible for download

swagger:model hashicorp.cloud.vault_20201125.AuditLog.State

const (

	// HashicorpCloudVault20201125AuditLogStateUNSET captures enum value "UNSET"
	HashicorpCloudVault20201125AuditLogStateUNSET HashicorpCloudVault20201125AuditLogState = "UNSET"

	// HashicorpCloudVault20201125AuditLogStatePENDING captures enum value "PENDING"
	HashicorpCloudVault20201125AuditLogStatePENDING HashicorpCloudVault20201125AuditLogState = "PENDING"

	// HashicorpCloudVault20201125AuditLogStateCREATING captures enum value "CREATING"
	HashicorpCloudVault20201125AuditLogStateCREATING HashicorpCloudVault20201125AuditLogState = "CREATING"

	// HashicorpCloudVault20201125AuditLogStateREADY captures enum value "READY"
	HashicorpCloudVault20201125AuditLogStateREADY HashicorpCloudVault20201125AuditLogState = "READY"

	// HashicorpCloudVault20201125AuditLogStateFAILED captures enum value "FAILED"
	HashicorpCloudVault20201125AuditLogStateFAILED HashicorpCloudVault20201125AuditLogState = "FAILED"

	// HashicorpCloudVault20201125AuditLogStateEXPIRED captures enum value "EXPIRED"
	HashicorpCloudVault20201125AuditLogStateEXPIRED HashicorpCloudVault20201125AuditLogState = "EXPIRED"
)

func (HashicorpCloudVault20201125AuditLogState) Validate

Validate validates this hashicorp cloud vault 20201125 audit log state

type HashicorpCloudVault20201125CORSConfig

type HashicorpCloudVault20201125CORSConfig struct {

	// allowed_headers returns the allowed headers.
	AllowedHeaders []string `json:"allowed_headers"`

	// allowed_origins returns the allowed origins.
	AllowedOrigins []string `json:"allowed_origins"`

	// enabled is true if CORS is enabled for this cluster.
	Enabled bool `json:"enabled,omitempty"`
}

HashicorpCloudVault20201125CORSConfig CORSConfig is the response CORS settings on the Vault cluster

swagger:model hashicorp.cloud.vault_20201125.CORSConfig

func (*HashicorpCloudVault20201125CORSConfig) MarshalBinary

func (m *HashicorpCloudVault20201125CORSConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125CORSConfig) UnmarshalBinary

func (m *HashicorpCloudVault20201125CORSConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125CORSConfig) Validate

Validate validates this hashicorp cloud vault 20201125 c o r s config

type HashicorpCloudVault20201125CapacityConfig

type HashicorpCloudVault20201125CapacityConfig struct {

	// num_servers is the number of nodes this Vault cluster should have.
	NumServers int32 `json:"num_servers,omitempty"`
}

HashicorpCloudVault20201125CapacityConfig hashicorp cloud vault 20201125 capacity config

swagger:model hashicorp.cloud.vault_20201125.CapacityConfig

func (*HashicorpCloudVault20201125CapacityConfig) MarshalBinary

func (m *HashicorpCloudVault20201125CapacityConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125CapacityConfig) UnmarshalBinary

func (m *HashicorpCloudVault20201125CapacityConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125CapacityConfig) Validate

Validate validates this hashicorp cloud vault 20201125 capacity config

type HashicorpCloudVault20201125Cluster

type HashicorpCloudVault20201125Cluster struct {

	// config holds the configuration of the cluster.
	Config *HashicorpCloudVault20201125ClusterConfig `json:"config,omitempty"`

	// created_at is the timestamp of when the cluster was first created.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// currently_deployed_version is the version of the currrent Vault deployment.
	CurrentVersion string `json:"current_version,omitempty"`

	// DNSNames holds all of the cluster's DNS names.
	DNSNames *HashicorpCloudVault20201125ClusterDNSNames `json:"dns_names,omitempty"`

	// id is ID of the Vault cluster.
	ID string `json:"id,omitempty"`

	// location is the location of the cluster.
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`

	// state is the current state of the cluster.
	State HashicorpCloudVault20201125ClusterState `json:"state,omitempty"`
}

HashicorpCloudVault20201125Cluster Cluster represents a single Vault cluster.

swagger:model hashicorp.cloud.vault_20201125.Cluster

func (*HashicorpCloudVault20201125Cluster) MarshalBinary

func (m *HashicorpCloudVault20201125Cluster) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125Cluster) UnmarshalBinary

func (m *HashicorpCloudVault20201125Cluster) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125Cluster) Validate

Validate validates this hashicorp cloud vault 20201125 cluster

type HashicorpCloudVault20201125ClusterConfig

type HashicorpCloudVault20201125ClusterConfig struct {

	// audit config
	AuditConfig *HashicorpCloudVault20201125AuditConfig `json:"audit_config,omitempty"`

	// capacity config
	CapacityConfig *HashicorpCloudVault20201125CapacityConfig `json:"capacity_config,omitempty"`

	// maintenance config
	MaintenanceConfig HashicorpCloudVault20201125MaintenanceConfig `json:"maintenance_config,omitempty"`

	// metrics config
	MetricsConfig *HashicorpCloudVault20201125ObservabilityConfig `json:"metrics_config,omitempty"`

	// network config
	NetworkConfig *HashicorpCloudVault20201125NetworkConfig `json:"network_config,omitempty"`

	// snapshot config
	SnapshotConfig *HashicorpCloudVault20201125SnapshotConfig `json:"snapshot_config,omitempty"`

	// tier
	Tier HashicorpCloudVault20201125Tier `json:"tier,omitempty"`

	// vault access
	VaultAccess *HashicorpCloudVault20201125VaultAccess `json:"vault_access,omitempty"`

	// vault config
	VaultConfig *HashicorpCloudVault20201125VaultConfig `json:"vault_config,omitempty"`
}

HashicorpCloudVault20201125ClusterConfig hashicorp cloud vault 20201125 cluster config

swagger:model hashicorp.cloud.vault_20201125.ClusterConfig

func (*HashicorpCloudVault20201125ClusterConfig) MarshalBinary

func (m *HashicorpCloudVault20201125ClusterConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125ClusterConfig) UnmarshalBinary

func (m *HashicorpCloudVault20201125ClusterConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125ClusterConfig) Validate

Validate validates this hashicorp cloud vault 20201125 cluster config

type HashicorpCloudVault20201125ClusterDNSNames

type HashicorpCloudVault20201125ClusterDNSNames struct {

	// private is the DNS name pointing to the cluster's private IP addresses.
	Private string `json:"private,omitempty"`

	// public is the DNS name pointing to the cluster's public IP addresses.
	Public string `json:"public,omitempty"`
}

HashicorpCloudVault20201125ClusterDNSNames DNSNames holds all of the cluster's DNS names.

swagger:model hashicorp.cloud.vault_20201125.Cluster.DNSNames

func (*HashicorpCloudVault20201125ClusterDNSNames) MarshalBinary

func (m *HashicorpCloudVault20201125ClusterDNSNames) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125ClusterDNSNames) UnmarshalBinary

func (m *HashicorpCloudVault20201125ClusterDNSNames) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125ClusterDNSNames) Validate

Validate validates this hashicorp cloud vault 20201125 cluster DNS names

type HashicorpCloudVault20201125ClusterState

type HashicorpCloudVault20201125ClusterState string

HashicorpCloudVault20201125ClusterState State is the state of the Vault cluster. Note that this state represents the abstract Vault cluster itself, not necessarily whether Vault cluster is currently available or not.

  • UNSET: UNSET is a sentinel zero value so that an uninitialized value can be

detected.

  • PENDING: PENDING is the state the cluster is in while it is waiting to be created.
  • CREATING: CREATING is the state the cluster is in while it is being provisioned for

the first time.

  • RUNNING: RUNNING is the steady state while the cluster is running.
  • FAILED: FAILED is a failure state in which the cluster is unavailable and may

required an operator restore action to recover.

  • UPDATING: UPDATING is the state the cluster is in while undergoing a version

update.

  • RESTORING: RESTORING is the state the cluster is in while restoring from a snapshot.
  • DELETING: DELETING is the state the cluster is in while it is being de-provisioned.
  • DELETED: DELETED is the state the cluster is in when it has been de-provisioned. At

this point, the cluster is eligible for garbage collection.

  • SEALING: SEALING is the state the cluster is in when it is about to get sealed.
  • SEALED: SEALED is the state the cluster is in while a cluster is sealed.
  • UNSEALING: UNSEALING is the state the cluster is in when it is about to get unsealed.

swagger:model hashicorp.cloud.vault_20201125.Cluster.State

const (

	// HashicorpCloudVault20201125ClusterStateUNSET captures enum value "UNSET"
	HashicorpCloudVault20201125ClusterStateUNSET HashicorpCloudVault20201125ClusterState = "UNSET"

	// HashicorpCloudVault20201125ClusterStatePENDING captures enum value "PENDING"
	HashicorpCloudVault20201125ClusterStatePENDING HashicorpCloudVault20201125ClusterState = "PENDING"

	// HashicorpCloudVault20201125ClusterStateCREATING captures enum value "CREATING"
	HashicorpCloudVault20201125ClusterStateCREATING HashicorpCloudVault20201125ClusterState = "CREATING"

	// HashicorpCloudVault20201125ClusterStateRUNNING captures enum value "RUNNING"
	HashicorpCloudVault20201125ClusterStateRUNNING HashicorpCloudVault20201125ClusterState = "RUNNING"

	// HashicorpCloudVault20201125ClusterStateFAILED captures enum value "FAILED"
	HashicorpCloudVault20201125ClusterStateFAILED HashicorpCloudVault20201125ClusterState = "FAILED"

	// HashicorpCloudVault20201125ClusterStateUPDATING captures enum value "UPDATING"
	HashicorpCloudVault20201125ClusterStateUPDATING HashicorpCloudVault20201125ClusterState = "UPDATING"

	// HashicorpCloudVault20201125ClusterStateRESTORING captures enum value "RESTORING"
	HashicorpCloudVault20201125ClusterStateRESTORING HashicorpCloudVault20201125ClusterState = "RESTORING"

	// HashicorpCloudVault20201125ClusterStateDELETING captures enum value "DELETING"
	HashicorpCloudVault20201125ClusterStateDELETING HashicorpCloudVault20201125ClusterState = "DELETING"

	// HashicorpCloudVault20201125ClusterStateDELETED captures enum value "DELETED"
	HashicorpCloudVault20201125ClusterStateDELETED HashicorpCloudVault20201125ClusterState = "DELETED"

	// HashicorpCloudVault20201125ClusterStateSEALING captures enum value "SEALING"
	HashicorpCloudVault20201125ClusterStateSEALING HashicorpCloudVault20201125ClusterState = "SEALING"

	// HashicorpCloudVault20201125ClusterStateSEALED captures enum value "SEALED"
	HashicorpCloudVault20201125ClusterStateSEALED HashicorpCloudVault20201125ClusterState = "SEALED"

	// HashicorpCloudVault20201125ClusterStateUNSEALING captures enum value "UNSEALING"
	HashicorpCloudVault20201125ClusterStateUNSEALING HashicorpCloudVault20201125ClusterState = "UNSEALING"
)

func (HashicorpCloudVault20201125ClusterState) Validate

Validate validates this hashicorp cloud vault 20201125 cluster state

type HashicorpCloudVault20201125CreateRequest

type HashicorpCloudVault20201125CreateRequest struct {

	// cluster
	Cluster *HashicorpCloudVault20201125InputCluster `json:"cluster,omitempty"`
}

HashicorpCloudVault20201125CreateRequest hashicorp cloud vault 20201125 create request

swagger:model hashicorp.cloud.vault_20201125.CreateRequest

func (*HashicorpCloudVault20201125CreateRequest) MarshalBinary

func (m *HashicorpCloudVault20201125CreateRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125CreateRequest) UnmarshalBinary

func (m *HashicorpCloudVault20201125CreateRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125CreateRequest) Validate

Validate validates this hashicorp cloud vault 20201125 create request

type HashicorpCloudVault20201125CreateResponse

type HashicorpCloudVault20201125CreateResponse struct {

	// cluster id
	ClusterID string `json:"cluster_id,omitempty"`

	// operation
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`
}

HashicorpCloudVault20201125CreateResponse hashicorp cloud vault 20201125 create response

swagger:model hashicorp.cloud.vault_20201125.CreateResponse

func (*HashicorpCloudVault20201125CreateResponse) MarshalBinary

func (m *HashicorpCloudVault20201125CreateResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125CreateResponse) UnmarshalBinary

func (m *HashicorpCloudVault20201125CreateResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125CreateResponse) Validate

Validate validates this hashicorp cloud vault 20201125 create response

type HashicorpCloudVault20201125CreateSnapshotRequest

type HashicorpCloudVault20201125CreateSnapshotRequest struct {

	// name is the user provided name of the snapshot.
	Name string `json:"name,omitempty"`

	// resource specifies the link to the resource to snapshot
	Resource *cloud.HashicorpCloudLocationLink `json:"resource,omitempty"`
}

HashicorpCloudVault20201125CreateSnapshotRequest hashicorp cloud vault 20201125 create snapshot request

swagger:model hashicorp.cloud.vault_20201125.CreateSnapshotRequest

func (*HashicorpCloudVault20201125CreateSnapshotRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125CreateSnapshotRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125CreateSnapshotRequest) Validate

Validate validates this hashicorp cloud vault 20201125 create snapshot request

type HashicorpCloudVault20201125CreateSnapshotResponse

type HashicorpCloudVault20201125CreateSnapshotResponse struct {

	// operation
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`

	// snapshot id
	SnapshotID string `json:"snapshot_id,omitempty"`
}

HashicorpCloudVault20201125CreateSnapshotResponse hashicorp cloud vault 20201125 create snapshot response

swagger:model hashicorp.cloud.vault_20201125.CreateSnapshotResponse

func (*HashicorpCloudVault20201125CreateSnapshotResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125CreateSnapshotResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125CreateSnapshotResponse) Validate

Validate validates this hashicorp cloud vault 20201125 create snapshot response

type HashicorpCloudVault20201125Datadog added in v0.12.0

type HashicorpCloudVault20201125Datadog struct {

	// api key
	APIKey string `json:"api_key,omitempty"`

	// region
	Region string `json:"region,omitempty"`
}

HashicorpCloudVault20201125Datadog hashicorp cloud vault 20201125 datadog

swagger:model hashicorp.cloud.vault_20201125.Datadog

func (*HashicorpCloudVault20201125Datadog) MarshalBinary added in v0.12.0

func (m *HashicorpCloudVault20201125Datadog) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125Datadog) UnmarshalBinary added in v0.12.0

func (m *HashicorpCloudVault20201125Datadog) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125Datadog) Validate added in v0.12.0

Validate validates this hashicorp cloud vault 20201125 datadog

type HashicorpCloudVault20201125DeleteResponse

type HashicorpCloudVault20201125DeleteResponse struct {

	// operation
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`
}

HashicorpCloudVault20201125DeleteResponse hashicorp cloud vault 20201125 delete response

swagger:model hashicorp.cloud.vault_20201125.DeleteResponse

func (*HashicorpCloudVault20201125DeleteResponse) MarshalBinary

func (m *HashicorpCloudVault20201125DeleteResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125DeleteResponse) UnmarshalBinary

func (m *HashicorpCloudVault20201125DeleteResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125DeleteResponse) Validate

Validate validates this hashicorp cloud vault 20201125 delete response

type HashicorpCloudVault20201125DeleteSnapshotResponse

type HashicorpCloudVault20201125DeleteSnapshotResponse struct {

	// operation represents the deletion of the requested snapshot.
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`
}

HashicorpCloudVault20201125DeleteSnapshotResponse DeleteSnapshotResponse is a response to deleting a snapshot.

swagger:model hashicorp.cloud.vault_20201125.DeleteSnapshotResponse

func (*HashicorpCloudVault20201125DeleteSnapshotResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125DeleteSnapshotResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125DeleteSnapshotResponse) Validate

Validate validates this hashicorp cloud vault 20201125 delete snapshot response

type HashicorpCloudVault20201125DisableCORSResponse

type HashicorpCloudVault20201125DisableCORSResponse interface{}

HashicorpCloudVault20201125DisableCORSResponse hashicorp cloud vault 20201125 disable c o r s response

swagger:model hashicorp.cloud.vault_20201125.DisableCORSResponse

type HashicorpCloudVault20201125FetchAuditLogRequest

type HashicorpCloudVault20201125FetchAuditLogRequest struct {

	// cluster id
	ClusterID string `json:"cluster_id,omitempty"`

	// interval end
	// Format: date-time
	IntervalEnd strfmt.DateTime `json:"interval_end,omitempty"`

	// interval start
	// Format: date-time
	IntervalStart strfmt.DateTime `json:"interval_start,omitempty"`

	// location
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`
}

HashicorpCloudVault20201125FetchAuditLogRequest hashicorp cloud vault 20201125 fetch audit log request

swagger:model hashicorp.cloud.vault_20201125.FetchAuditLogRequest

func (*HashicorpCloudVault20201125FetchAuditLogRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125FetchAuditLogRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125FetchAuditLogRequest) Validate

Validate validates this hashicorp cloud vault 20201125 fetch audit log request

type HashicorpCloudVault20201125FetchAuditLogResponse

type HashicorpCloudVault20201125FetchAuditLogResponse struct {

	// log id
	LogID string `json:"log_id,omitempty"`

	// operation
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`
}

HashicorpCloudVault20201125FetchAuditLogResponse hashicorp cloud vault 20201125 fetch audit log response

swagger:model hashicorp.cloud.vault_20201125.FetchAuditLogResponse

func (*HashicorpCloudVault20201125FetchAuditLogResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125FetchAuditLogResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125FetchAuditLogResponse) Validate

Validate validates this hashicorp cloud vault 20201125 fetch audit log response

type HashicorpCloudVault20201125GetAdminTokenResponse

type HashicorpCloudVault20201125GetAdminTokenResponse struct {

	// token
	Token string `json:"token,omitempty"`
}

HashicorpCloudVault20201125GetAdminTokenResponse hashicorp cloud vault 20201125 get admin token response

swagger:model hashicorp.cloud.vault_20201125.GetAdminTokenResponse

func (*HashicorpCloudVault20201125GetAdminTokenResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125GetAdminTokenResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125GetAdminTokenResponse) Validate

Validate validates this hashicorp cloud vault 20201125 get admin token response

type HashicorpCloudVault20201125GetAuditLogStatusResponse

type HashicorpCloudVault20201125GetAuditLogStatusResponse struct {

	// log
	Log *HashicorpCloudVault20201125AuditLog `json:"log,omitempty"`
}

HashicorpCloudVault20201125GetAuditLogStatusResponse hashicorp cloud vault 20201125 get audit log status response

swagger:model hashicorp.cloud.vault_20201125.GetAuditLogStatusResponse

func (*HashicorpCloudVault20201125GetAuditLogStatusResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125GetAuditLogStatusResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125GetAuditLogStatusResponse) Validate

Validate validates this hashicorp cloud vault 20201125 get audit log status response

type HashicorpCloudVault20201125GetCORSConfigResponse

type HashicorpCloudVault20201125GetCORSConfigResponse struct {

	// allowed_headers are the allowed headers.
	AllowedHeaders []string `json:"allowed_headers"`

	// allowed_origins are the allowed origins.
	AllowedOrigins []string `json:"allowed_origins"`

	// enabled returns true if CORS is enabled.
	Enabled bool `json:"enabled,omitempty"`
}

HashicorpCloudVault20201125GetCORSConfigResponse hashicorp cloud vault 20201125 get c o r s config response

swagger:model hashicorp.cloud.vault_20201125.GetCORSConfigResponse

func (*HashicorpCloudVault20201125GetCORSConfigResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125GetCORSConfigResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125GetCORSConfigResponse) Validate

Validate validates this hashicorp cloud vault 20201125 get c o r s config response

type HashicorpCloudVault20201125GetClientCountsResponse

type HashicorpCloudVault20201125GetClientCountsResponse struct {

	// clients
	Clients string `json:"clients,omitempty"`

	// distinct entities
	DistinctEntities string `json:"distinct_entities,omitempty"`

	// non entity tokens
	NonEntityTokens string `json:"non_entity_tokens,omitempty"`
}

HashicorpCloudVault20201125GetClientCountsResponse hashicorp cloud vault 20201125 get client counts response

swagger:model hashicorp.cloud.vault_20201125.GetClientCountsResponse

func (*HashicorpCloudVault20201125GetClientCountsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125GetClientCountsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125GetClientCountsResponse) Validate

Validate validates this hashicorp cloud vault 20201125 get client counts response

type HashicorpCloudVault20201125GetResponse

type HashicorpCloudVault20201125GetResponse struct {

	// cluster
	Cluster *HashicorpCloudVault20201125Cluster `json:"cluster,omitempty"`
}

HashicorpCloudVault20201125GetResponse hashicorp cloud vault 20201125 get response

swagger:model hashicorp.cloud.vault_20201125.GetResponse

func (*HashicorpCloudVault20201125GetResponse) MarshalBinary

func (m *HashicorpCloudVault20201125GetResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125GetResponse) UnmarshalBinary

func (m *HashicorpCloudVault20201125GetResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125GetResponse) Validate

Validate validates this hashicorp cloud vault 20201125 get response

type HashicorpCloudVault20201125GetSnapshotResponse

type HashicorpCloudVault20201125GetSnapshotResponse struct {

	// snapshot is the requested snapshot.
	Snapshot *HashicorpCloudVault20201125Snapshot `json:"snapshot,omitempty"`
}

HashicorpCloudVault20201125GetSnapshotResponse GetSnapshotResponse is a response for retrieving a snapshot's information.

swagger:model hashicorp.cloud.vault_20201125.GetSnapshotResponse

func (*HashicorpCloudVault20201125GetSnapshotResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125GetSnapshotResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125GetSnapshotResponse) Validate

Validate validates this hashicorp cloud vault 20201125 get snapshot response

type HashicorpCloudVault20201125Grafana added in v0.12.0

type HashicorpCloudVault20201125Grafana struct {

	// endpoint
	Endpoint string `json:"endpoint,omitempty"`

	// password
	Password string `json:"password,omitempty"`

	// user
	User string `json:"user,omitempty"`
}

HashicorpCloudVault20201125Grafana hashicorp cloud vault 20201125 grafana

swagger:model hashicorp.cloud.vault_20201125.Grafana

func (*HashicorpCloudVault20201125Grafana) MarshalBinary added in v0.12.0

func (m *HashicorpCloudVault20201125Grafana) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125Grafana) UnmarshalBinary added in v0.12.0

func (m *HashicorpCloudVault20201125Grafana) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125Grafana) Validate added in v0.12.0

Validate validates this hashicorp cloud vault 20201125 grafana

type HashicorpCloudVault20201125InputCluster

type HashicorpCloudVault20201125InputCluster struct {

	// config for the cluster
	Config *HashicorpCloudVault20201125InputClusterConfig `json:"config,omitempty"`

	// id is ID of the Vault cluster.
	ID string `json:"id,omitempty"`

	// location is the location of the cluster.
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`
}

HashicorpCloudVault20201125InputCluster hashicorp cloud vault 20201125 input cluster

swagger:model hashicorp.cloud.vault_20201125.InputCluster

func (*HashicorpCloudVault20201125InputCluster) MarshalBinary

func (m *HashicorpCloudVault20201125InputCluster) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125InputCluster) UnmarshalBinary

func (m *HashicorpCloudVault20201125InputCluster) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125InputCluster) Validate

Validate validates this hashicorp cloud vault 20201125 input cluster

type HashicorpCloudVault20201125InputClusterConfig

type HashicorpCloudVault20201125InputClusterConfig struct {

	// metrics_config is the configuration settings for exporting Vault's observability information
	MetricsConfig *HashicorpCloudVault20201125ObservabilityConfig `json:"metrics_config,omitempty"`

	// network_config is the network configuration for the cluster
	NetworkConfig *HashicorpCloudVault20201125InputNetworkConfig `json:"network_config,omitempty"`

	// Tier is the type of Vault cluster that should be provisioned
	Tier HashicorpCloudVault20201125Tier `json:"tier,omitempty"`

	// vault_config is the Vault specific configuration
	VaultConfig *HashicorpCloudVault20201125VaultConfig `json:"vault_config,omitempty"`
}

HashicorpCloudVault20201125InputClusterConfig hashicorp cloud vault 20201125 input cluster config

swagger:model hashicorp.cloud.vault_20201125.InputClusterConfig

func (*HashicorpCloudVault20201125InputClusterConfig) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125InputClusterConfig) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125InputClusterConfig) Validate

Validate validates this hashicorp cloud vault 20201125 input cluster config

type HashicorpCloudVault20201125InputNetworkConfig

type HashicorpCloudVault20201125InputNetworkConfig struct {

	// network_id is the ID of the network the Vault cluster belongs to.
	NetworkID string `json:"network_id,omitempty"`

	// public indicates if this cluster's instances should be externally accessible.
	PublicIpsEnabled bool `json:"public_ips_enabled,omitempty"`
}

HashicorpCloudVault20201125InputNetworkConfig hashicorp cloud vault 20201125 input network config

swagger:model hashicorp.cloud.vault_20201125.InputNetworkConfig

func (*HashicorpCloudVault20201125InputNetworkConfig) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125InputNetworkConfig) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125InputNetworkConfig) Validate

Validate validates this hashicorp cloud vault 20201125 input network config

type HashicorpCloudVault20201125ListResponse

type HashicorpCloudVault20201125ListResponse struct {

	// clusters
	Clusters []*HashicorpCloudVault20201125Cluster `json:"clusters"`

	// pagination
	Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"`
}

HashicorpCloudVault20201125ListResponse hashicorp cloud vault 20201125 list response

swagger:model hashicorp.cloud.vault_20201125.ListResponse

func (*HashicorpCloudVault20201125ListResponse) MarshalBinary

func (m *HashicorpCloudVault20201125ListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125ListResponse) UnmarshalBinary

func (m *HashicorpCloudVault20201125ListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125ListResponse) Validate

Validate validates this hashicorp cloud vault 20201125 list response

type HashicorpCloudVault20201125ListSnapshotsResponse

type HashicorpCloudVault20201125ListSnapshotsResponse struct {

	// Pagination contains the pagination tokens for a subsequent request.
	Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"`

	// snapshots is a list of available snapshots.
	Snapshots []*HashicorpCloudVault20201125Snapshot `json:"snapshots"`
}

HashicorpCloudVault20201125ListSnapshotsResponse ListSnapshotsResponse is a response from listing snapshots.

swagger:model hashicorp.cloud.vault_20201125.ListSnapshotsResponse

func (*HashicorpCloudVault20201125ListSnapshotsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125ListSnapshotsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125ListSnapshotsResponse) Validate

Validate validates this hashicorp cloud vault 20201125 list snapshots response

type HashicorpCloudVault20201125MaintenanceConfig

type HashicorpCloudVault20201125MaintenanceConfig interface{}

HashicorpCloudVault20201125MaintenanceConfig hashicorp cloud vault 20201125 maintenance config

swagger:model hashicorp.cloud.vault_20201125.MaintenanceConfig

type HashicorpCloudVault20201125NetworkConfig

type HashicorpCloudVault20201125NetworkConfig struct {

	// cors config
	CorsConfig *HashicorpCloudVault20201125CORSConfig `json:"cors_config,omitempty"`

	// network_id is the ID of the network the Vault cluster belongs to.
	NetworkID string `json:"network_id,omitempty"`

	// public_ips_enabled indicates if public IP's are enabled.
	PublicIpsEnabled bool `json:"public_ips_enabled,omitempty"`
}

HashicorpCloudVault20201125NetworkConfig hashicorp cloud vault 20201125 network config

swagger:model hashicorp.cloud.vault_20201125.NetworkConfig

func (*HashicorpCloudVault20201125NetworkConfig) MarshalBinary

func (m *HashicorpCloudVault20201125NetworkConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125NetworkConfig) UnmarshalBinary

func (m *HashicorpCloudVault20201125NetworkConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125NetworkConfig) Validate

Validate validates this hashicorp cloud vault 20201125 network config

type HashicorpCloudVault20201125ObservabilityConfig added in v0.12.0

type HashicorpCloudVault20201125ObservabilityConfig struct {

	// datadog
	Datadog *HashicorpCloudVault20201125Datadog `json:"datadog,omitempty"`

	// grafana
	Grafana *HashicorpCloudVault20201125Grafana `json:"grafana,omitempty"`

	// splunk
	Splunk *HashicorpCloudVault20201125Splunk `json:"splunk,omitempty"`
}

HashicorpCloudVault20201125ObservabilityConfig ObservabilityConfig is the config for observability settings

swagger:model hashicorp.cloud.vault_20201125.ObservabilityConfig

func (*HashicorpCloudVault20201125ObservabilityConfig) MarshalBinary added in v0.12.0

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125ObservabilityConfig) UnmarshalBinary added in v0.12.0

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125ObservabilityConfig) Validate added in v0.12.0

Validate validates this hashicorp cloud vault 20201125 observability config

type HashicorpCloudVault20201125RestoreSnapshotRequest

type HashicorpCloudVault20201125RestoreSnapshotRequest struct {

	// cluster id
	ClusterID string `json:"cluster_id,omitempty"`

	// location
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`

	// snapshot id
	SnapshotID string `json:"snapshot_id,omitempty"`
}

HashicorpCloudVault20201125RestoreSnapshotRequest hashicorp cloud vault 20201125 restore snapshot request

swagger:model hashicorp.cloud.vault_20201125.RestoreSnapshotRequest

func (*HashicorpCloudVault20201125RestoreSnapshotRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125RestoreSnapshotRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125RestoreSnapshotRequest) Validate

Validate validates this hashicorp cloud vault 20201125 restore snapshot request

type HashicorpCloudVault20201125RestoreSnapshotResponse

type HashicorpCloudVault20201125RestoreSnapshotResponse struct {

	// operation
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`
}

HashicorpCloudVault20201125RestoreSnapshotResponse hashicorp cloud vault 20201125 restore snapshot response

swagger:model hashicorp.cloud.vault_20201125.RestoreSnapshotResponse

func (*HashicorpCloudVault20201125RestoreSnapshotResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125RestoreSnapshotResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125RestoreSnapshotResponse) Validate

Validate validates this hashicorp cloud vault 20201125 restore snapshot response

type HashicorpCloudVault20201125SealRequest

type HashicorpCloudVault20201125SealRequest struct {

	// cluster id
	ClusterID string `json:"cluster_id,omitempty"`

	// location
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`
}

HashicorpCloudVault20201125SealRequest hashicorp cloud vault 20201125 seal request

swagger:model hashicorp.cloud.vault_20201125.SealRequest

func (*HashicorpCloudVault20201125SealRequest) MarshalBinary

func (m *HashicorpCloudVault20201125SealRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125SealRequest) UnmarshalBinary

func (m *HashicorpCloudVault20201125SealRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125SealRequest) Validate

Validate validates this hashicorp cloud vault 20201125 seal request

type HashicorpCloudVault20201125SealResponse

type HashicorpCloudVault20201125SealResponse struct {

	// operation
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`
}

HashicorpCloudVault20201125SealResponse hashicorp cloud vault 20201125 seal response

swagger:model hashicorp.cloud.vault_20201125.SealResponse

func (*HashicorpCloudVault20201125SealResponse) MarshalBinary

func (m *HashicorpCloudVault20201125SealResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125SealResponse) UnmarshalBinary

func (m *HashicorpCloudVault20201125SealResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125SealResponse) Validate

Validate validates this hashicorp cloud vault 20201125 seal response

type HashicorpCloudVault20201125Snapshot

type HashicorpCloudVault20201125Snapshot struct {

	// cluster_id is the cluster id that this snapshot backs.
	ClusterID string `json:"cluster_id,omitempty"`

	// finished_at notes the time that this snapshot was finished.
	// Format: date-time
	FinishedAt strfmt.DateTime `json:"finished_at,omitempty"`

	// location is the location of the Snapshot.
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`

	// Name of the snapshot
	Name string `json:"name,omitempty"`

	// requested_at notes the time that this snapshot was requested.
	// Format: date-time
	RequestedAt strfmt.DateTime `json:"requested_at,omitempty"`

	// snapshot_id is the snapshots UUID.
	SnapshotID string `json:"snapshot_id,omitempty"`

	// state is represents the current status for this snapshot.
	State HashicorpCloudVault20201125SnapshotState `json:"state,omitempty"`

	// type is the type of snapshot.
	Type HashicorpCloudVault20201125SnapshotType `json:"type,omitempty"`

	// vault_version is the version of the Vault cluster this snapshot was taken from.
	VaultVersion string `json:"vault_version,omitempty"`
}

HashicorpCloudVault20201125Snapshot Snapshot is our representation needed to back-up a Vault cluster.

swagger:model hashicorp.cloud.vault_20201125.Snapshot

func (*HashicorpCloudVault20201125Snapshot) MarshalBinary

func (m *HashicorpCloudVault20201125Snapshot) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125Snapshot) UnmarshalBinary

func (m *HashicorpCloudVault20201125Snapshot) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125Snapshot) Validate

Validate validates this hashicorp cloud vault 20201125 snapshot

type HashicorpCloudVault20201125SnapshotConfig

type HashicorpCloudVault20201125SnapshotConfig struct {

	// periodic_snapshots_disabled indicates if automated periodic snapshots should be disabled
	PeriodicSnapshotsDisabled bool `json:"periodic_snapshots_disabled,omitempty"`
}

HashicorpCloudVault20201125SnapshotConfig hashicorp cloud vault 20201125 snapshot config

swagger:model hashicorp.cloud.vault_20201125.SnapshotConfig

func (*HashicorpCloudVault20201125SnapshotConfig) MarshalBinary

func (m *HashicorpCloudVault20201125SnapshotConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125SnapshotConfig) UnmarshalBinary

func (m *HashicorpCloudVault20201125SnapshotConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125SnapshotConfig) Validate

Validate validates this hashicorp cloud vault 20201125 snapshot config

type HashicorpCloudVault20201125SnapshotState

type HashicorpCloudVault20201125SnapshotState string

HashicorpCloudVault20201125SnapshotState SnapshotState represents the lifecycle of snapshots

swagger:model hashicorp.cloud.vault_20201125.Snapshot.State

const (

	// HashicorpCloudVault20201125SnapshotStateUNSET captures enum value "UNSET"
	HashicorpCloudVault20201125SnapshotStateUNSET HashicorpCloudVault20201125SnapshotState = "UNSET"

	// HashicorpCloudVault20201125SnapshotStatePENDING captures enum value "PENDING"
	HashicorpCloudVault20201125SnapshotStatePENDING HashicorpCloudVault20201125SnapshotState = "PENDING"

	// HashicorpCloudVault20201125SnapshotStateCREATING captures enum value "CREATING"
	HashicorpCloudVault20201125SnapshotStateCREATING HashicorpCloudVault20201125SnapshotState = "CREATING"

	// HashicorpCloudVault20201125SnapshotStateSTORED captures enum value "STORED"
	HashicorpCloudVault20201125SnapshotStateSTORED HashicorpCloudVault20201125SnapshotState = "STORED"

	// HashicorpCloudVault20201125SnapshotStateFAILED captures enum value "FAILED"
	HashicorpCloudVault20201125SnapshotStateFAILED HashicorpCloudVault20201125SnapshotState = "FAILED"

	// HashicorpCloudVault20201125SnapshotStateDELETING captures enum value "DELETING"
	HashicorpCloudVault20201125SnapshotStateDELETING HashicorpCloudVault20201125SnapshotState = "DELETING"
)

func (HashicorpCloudVault20201125SnapshotState) Validate

Validate validates this hashicorp cloud vault 20201125 snapshot state

type HashicorpCloudVault20201125SnapshotType

type HashicorpCloudVault20201125SnapshotType string

HashicorpCloudVault20201125SnapshotType Type represents the type of snapshots.

swagger:model hashicorp.cloud.vault_20201125.Snapshot.Type

const (

	// HashicorpCloudVault20201125SnapshotTypeTYPEUNSET captures enum value "TYPE_UNSET"
	HashicorpCloudVault20201125SnapshotTypeTYPEUNSET HashicorpCloudVault20201125SnapshotType = "TYPE_UNSET"

	// HashicorpCloudVault20201125SnapshotTypeAUTOMATIC captures enum value "AUTOMATIC"
	HashicorpCloudVault20201125SnapshotTypeAUTOMATIC HashicorpCloudVault20201125SnapshotType = "AUTOMATIC"

	// HashicorpCloudVault20201125SnapshotTypeSCHEDULED captures enum value "SCHEDULED"
	HashicorpCloudVault20201125SnapshotTypeSCHEDULED HashicorpCloudVault20201125SnapshotType = "SCHEDULED"

	// HashicorpCloudVault20201125SnapshotTypeMANUAL captures enum value "MANUAL"
	HashicorpCloudVault20201125SnapshotTypeMANUAL HashicorpCloudVault20201125SnapshotType = "MANUAL"

	// HashicorpCloudVault20201125SnapshotTypeBEFOREUPGRADE captures enum value "BEFORE_UPGRADE"
	HashicorpCloudVault20201125SnapshotTypeBEFOREUPGRADE HashicorpCloudVault20201125SnapshotType = "BEFORE_UPGRADE"
)

func (HashicorpCloudVault20201125SnapshotType) Validate

Validate validates this hashicorp cloud vault 20201125 snapshot type

type HashicorpCloudVault20201125Splunk added in v0.12.0

type HashicorpCloudVault20201125Splunk struct {

	// hec endpoint
	HecEndpoint string `json:"hec_endpoint,omitempty"`

	// token
	Token string `json:"token,omitempty"`
}

HashicorpCloudVault20201125Splunk hashicorp cloud vault 20201125 splunk

swagger:model hashicorp.cloud.vault_20201125.Splunk

func (*HashicorpCloudVault20201125Splunk) MarshalBinary added in v0.12.0

func (m *HashicorpCloudVault20201125Splunk) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125Splunk) UnmarshalBinary added in v0.12.0

func (m *HashicorpCloudVault20201125Splunk) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125Splunk) Validate added in v0.12.0

Validate validates this hashicorp cloud vault 20201125 splunk

type HashicorpCloudVault20201125Tier

type HashicorpCloudVault20201125Tier string

HashicorpCloudVault20201125Tier hashicorp cloud vault 20201125 tier

swagger:model hashicorp.cloud.vault_20201125.Tier

const (

	// HashicorpCloudVault20201125TierDEV captures enum value "DEV"
	HashicorpCloudVault20201125TierDEV HashicorpCloudVault20201125Tier = "DEV"

	// HashicorpCloudVault20201125TierSTANDARDSMALL captures enum value "STANDARD_SMALL"
	HashicorpCloudVault20201125TierSTANDARDSMALL HashicorpCloudVault20201125Tier = "STANDARD_SMALL"

	// HashicorpCloudVault20201125TierSTANDARDMEDIUM captures enum value "STANDARD_MEDIUM"
	HashicorpCloudVault20201125TierSTANDARDMEDIUM HashicorpCloudVault20201125Tier = "STANDARD_MEDIUM"

	// HashicorpCloudVault20201125TierSTANDARDLARGE captures enum value "STANDARD_LARGE"
	HashicorpCloudVault20201125TierSTANDARDLARGE HashicorpCloudVault20201125Tier = "STANDARD_LARGE"

	// HashicorpCloudVault20201125TierSTARTERSMALL captures enum value "STARTER_SMALL"
	HashicorpCloudVault20201125TierSTARTERSMALL HashicorpCloudVault20201125Tier = "STARTER_SMALL"
)

func (HashicorpCloudVault20201125Tier) Validate

Validate validates this hashicorp cloud vault 20201125 tier

type HashicorpCloudVault20201125UnsealRequest

type HashicorpCloudVault20201125UnsealRequest struct {

	// cluster id
	ClusterID string `json:"cluster_id,omitempty"`

	// location
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`
}

HashicorpCloudVault20201125UnsealRequest hashicorp cloud vault 20201125 unseal request

swagger:model hashicorp.cloud.vault_20201125.UnsealRequest

func (*HashicorpCloudVault20201125UnsealRequest) MarshalBinary

func (m *HashicorpCloudVault20201125UnsealRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125UnsealRequest) UnmarshalBinary

func (m *HashicorpCloudVault20201125UnsealRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125UnsealRequest) Validate

Validate validates this hashicorp cloud vault 20201125 unseal request

type HashicorpCloudVault20201125UnsealResponse

type HashicorpCloudVault20201125UnsealResponse struct {

	// operation
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`
}

HashicorpCloudVault20201125UnsealResponse hashicorp cloud vault 20201125 unseal response

swagger:model hashicorp.cloud.vault_20201125.UnsealResponse

func (*HashicorpCloudVault20201125UnsealResponse) MarshalBinary

func (m *HashicorpCloudVault20201125UnsealResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125UnsealResponse) UnmarshalBinary

func (m *HashicorpCloudVault20201125UnsealResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125UnsealResponse) Validate

Validate validates this hashicorp cloud vault 20201125 unseal response

type HashicorpCloudVault20201125UpdateCORSConfigRequest

type HashicorpCloudVault20201125UpdateCORSConfigRequest struct {

	// allowed_headers sets the allowed headers.
	AllowedHeaders []string `json:"allowed_headers"`

	// allowed_origins sets the allowed origins.
	AllowedOrigins []string `json:"allowed_origins"`

	// cluster id
	ClusterID string `json:"cluster_id,omitempty"`

	// location
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`
}

HashicorpCloudVault20201125UpdateCORSConfigRequest hashicorp cloud vault 20201125 update c o r s config request

swagger:model hashicorp.cloud.vault_20201125.UpdateCORSConfigRequest

func (*HashicorpCloudVault20201125UpdateCORSConfigRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125UpdateCORSConfigRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125UpdateCORSConfigRequest) Validate

Validate validates this hashicorp cloud vault 20201125 update c o r s config request

type HashicorpCloudVault20201125UpdateCORSConfigResponse

type HashicorpCloudVault20201125UpdateCORSConfigResponse interface{}

HashicorpCloudVault20201125UpdateCORSConfigResponse hashicorp cloud vault 20201125 update c o r s config response

swagger:model hashicorp.cloud.vault_20201125.UpdateCORSConfigResponse

type HashicorpCloudVault20201125UpdatePublicIpsRequest

type HashicorpCloudVault20201125UpdatePublicIpsRequest struct {

	// cluster id
	ClusterID string `json:"cluster_id,omitempty"`

	// enable public ips
	EnablePublicIps bool `json:"enable_public_ips,omitempty"`

	// location
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`
}

HashicorpCloudVault20201125UpdatePublicIpsRequest hashicorp cloud vault 20201125 update public ips request

swagger:model hashicorp.cloud.vault_20201125.UpdatePublicIpsRequest

func (*HashicorpCloudVault20201125UpdatePublicIpsRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125UpdatePublicIpsRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125UpdatePublicIpsRequest) Validate

Validate validates this hashicorp cloud vault 20201125 update public ips request

type HashicorpCloudVault20201125UpdatePublicIpsResponse

type HashicorpCloudVault20201125UpdatePublicIpsResponse struct {

	// operation represents the operation of the request.
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`
}

HashicorpCloudVault20201125UpdatePublicIpsResponse hashicorp cloud vault 20201125 update public ips response

swagger:model hashicorp.cloud.vault_20201125.UpdatePublicIpsResponse

func (*HashicorpCloudVault20201125UpdatePublicIpsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125UpdatePublicIpsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125UpdatePublicIpsResponse) Validate

Validate validates this hashicorp cloud vault 20201125 update public ips response

type HashicorpCloudVault20201125UpdateResponse added in v0.12.0

type HashicorpCloudVault20201125UpdateResponse struct {

	// operation is used to track the progress of the asynchronous update.
	// Depending on what was updated in the configuration the update may
	// require deploying new server nodes which may take some time to complete.
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`
}

HashicorpCloudVault20201125UpdateResponse hashicorp cloud vault 20201125 update response

swagger:model hashicorp.cloud.vault_20201125.UpdateResponse

func (*HashicorpCloudVault20201125UpdateResponse) MarshalBinary added in v0.12.0

func (m *HashicorpCloudVault20201125UpdateResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125UpdateResponse) UnmarshalBinary added in v0.12.0

func (m *HashicorpCloudVault20201125UpdateResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125UpdateResponse) Validate added in v0.12.0

Validate validates this hashicorp cloud vault 20201125 update response

type HashicorpCloudVault20201125UpdateSnapshotRequest

type HashicorpCloudVault20201125UpdateSnapshotRequest struct {

	// mask is the mask of fields to update.
	Mask *cloud.GoogleProtobufFieldMask `json:"mask,omitempty"`

	// snapshot contains the fields to update.
	//
	// Supported fields: name
	Snapshot *HashicorpCloudVault20201125Snapshot `json:"snapshot,omitempty"`
}

HashicorpCloudVault20201125UpdateSnapshotRequest UpdateSnapshotRequest is a request to update a snapshot.

swagger:model hashicorp.cloud.vault_20201125.UpdateSnapshotRequest

func (*HashicorpCloudVault20201125UpdateSnapshotRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125UpdateSnapshotRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125UpdateSnapshotRequest) Validate

Validate validates this hashicorp cloud vault 20201125 update snapshot request

type HashicorpCloudVault20201125UpdateSnapshotResponse

type HashicorpCloudVault20201125UpdateSnapshotResponse struct {

	// snapshot is the updated snapshot.
	Snapshot *HashicorpCloudVault20201125Snapshot `json:"snapshot,omitempty"`
}

HashicorpCloudVault20201125UpdateSnapshotResponse UpdateSnapshotResponse is a response to updating a snapshot.

swagger:model hashicorp.cloud.vault_20201125.UpdateSnapshotResponse

func (*HashicorpCloudVault20201125UpdateSnapshotResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125UpdateSnapshotResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125UpdateSnapshotResponse) Validate

Validate validates this hashicorp cloud vault 20201125 update snapshot response

type HashicorpCloudVault20201125UpdateVersionRequest added in v0.12.0

type HashicorpCloudVault20201125UpdateVersionRequest struct {

	// cluster id
	ClusterID string `json:"cluster_id,omitempty"`

	// location
	Location *cloud.HashicorpCloudLocationLocation `json:"location,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

HashicorpCloudVault20201125UpdateVersionRequest hashicorp cloud vault 20201125 update version request

swagger:model hashicorp.cloud.vault_20201125.UpdateVersionRequest

func (*HashicorpCloudVault20201125UpdateVersionRequest) MarshalBinary added in v0.12.0

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125UpdateVersionRequest) UnmarshalBinary added in v0.12.0

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125UpdateVersionRequest) Validate added in v0.12.0

Validate validates this hashicorp cloud vault 20201125 update version request

type HashicorpCloudVault20201125UpdateVersionResponse added in v0.12.0

type HashicorpCloudVault20201125UpdateVersionResponse struct {

	// operation
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`
}

HashicorpCloudVault20201125UpdateVersionResponse hashicorp cloud vault 20201125 update version response

swagger:model hashicorp.cloud.vault_20201125.UpdateVersionResponse

func (*HashicorpCloudVault20201125UpdateVersionResponse) MarshalBinary added in v0.12.0

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125UpdateVersionResponse) UnmarshalBinary added in v0.12.0

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125UpdateVersionResponse) Validate added in v0.12.0

Validate validates this hashicorp cloud vault 20201125 update version response

type HashicorpCloudVault20201125VaultAccess

type HashicorpCloudVault20201125VaultAccess struct {

	// recovery key
	RecoveryKey string `json:"recovery_key,omitempty"`

	// root token
	RootToken string `json:"root_token,omitempty"`

	// url
	URL string `json:"url,omitempty"`
}

HashicorpCloudVault20201125VaultAccess hashicorp cloud vault 20201125 vault access

swagger:model hashicorp.cloud.vault_20201125.VaultAccess

func (*HashicorpCloudVault20201125VaultAccess) MarshalBinary

func (m *HashicorpCloudVault20201125VaultAccess) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125VaultAccess) UnmarshalBinary

func (m *HashicorpCloudVault20201125VaultAccess) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125VaultAccess) Validate

Validate validates this hashicorp cloud vault 20201125 vault access

type HashicorpCloudVault20201125VaultConfig

type HashicorpCloudVault20201125VaultConfig struct {

	// initial_version is the initial Vault version to use when creating the
	// cluster. Once the cluster is created, this value is no longer used.
	InitialVersion string `json:"initial_version,omitempty"`

	// max_lease_ttl is the max lease ttl for this Vault cluster.
	MaxLeaseTTL string `json:"max_lease_ttl,omitempty"`

	// namespace is the name of the customer namespace.
	Namespace string `json:"namespace,omitempty"`
}

HashicorpCloudVault20201125VaultConfig hashicorp cloud vault 20201125 vault config

swagger:model hashicorp.cloud.vault_20201125.VaultConfig

func (*HashicorpCloudVault20201125VaultConfig) MarshalBinary

func (m *HashicorpCloudVault20201125VaultConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudVault20201125VaultConfig) UnmarshalBinary

func (m *HashicorpCloudVault20201125VaultConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20201125VaultConfig) Validate

Validate validates this hashicorp cloud vault 20201125 vault config

Source Files

Jump to

Keyboard shortcuts

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