models

package
v0.87.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HashicorpCloudVault20200420AuditConfig

type HashicorpCloudVault20200420AuditConfig struct {

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

HashicorpCloudVault20200420AuditConfig hashicorp cloud vault 20200420 audit config

swagger:model hashicorp.cloud.vault_20200420.AuditConfig

func (*HashicorpCloudVault20200420AuditConfig) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud vault 20200420 audit config based on context it is used

func (*HashicorpCloudVault20200420AuditConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420AuditConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420AuditConfig) Validate

Validate validates this hashicorp cloud vault 20200420 audit config

type HashicorpCloudVault20200420AuditLog

type HashicorpCloudVault20200420AuditLog 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 *HashicorpCloudVault20200420AuditLogState `json:"state,omitempty"`
}

HashicorpCloudVault20200420AuditLog AuditLog represents a request for audit logs to download

swagger:model hashicorp.cloud.vault_20200420.AuditLog

func (*HashicorpCloudVault20200420AuditLog) ContextValidate added in v0.23.0

func (m *HashicorpCloudVault20200420AuditLog) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this hashicorp cloud vault 20200420 audit log based on the context it is used

func (*HashicorpCloudVault20200420AuditLog) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420AuditLog) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420AuditLog) Validate

Validate validates this hashicorp cloud vault 20200420 audit log

type HashicorpCloudVault20200420AuditLogState

type HashicorpCloudVault20200420AuditLogState string

HashicorpCloudVault20200420AuditLogState 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_20200420.AuditLog.State

const (

	// HashicorpCloudVault20200420AuditLogStateUNSET captures enum value "UNSET"
	HashicorpCloudVault20200420AuditLogStateUNSET HashicorpCloudVault20200420AuditLogState = "UNSET"

	// HashicorpCloudVault20200420AuditLogStatePENDING captures enum value "PENDING"
	HashicorpCloudVault20200420AuditLogStatePENDING HashicorpCloudVault20200420AuditLogState = "PENDING"

	// HashicorpCloudVault20200420AuditLogStateCREATING captures enum value "CREATING"
	HashicorpCloudVault20200420AuditLogStateCREATING HashicorpCloudVault20200420AuditLogState = "CREATING"

	// HashicorpCloudVault20200420AuditLogStateREADY captures enum value "READY"
	HashicorpCloudVault20200420AuditLogStateREADY HashicorpCloudVault20200420AuditLogState = "READY"

	// HashicorpCloudVault20200420AuditLogStateFAILED captures enum value "FAILED"
	HashicorpCloudVault20200420AuditLogStateFAILED HashicorpCloudVault20200420AuditLogState = "FAILED"

	// HashicorpCloudVault20200420AuditLogStateEXPIRED captures enum value "EXPIRED"
	HashicorpCloudVault20200420AuditLogStateEXPIRED HashicorpCloudVault20200420AuditLogState = "EXPIRED"
)

func NewHashicorpCloudVault20200420AuditLogState added in v0.23.0

func NewHashicorpCloudVault20200420AuditLogState(value HashicorpCloudVault20200420AuditLogState) *HashicorpCloudVault20200420AuditLogState

func (HashicorpCloudVault20200420AuditLogState) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud vault 20200420 audit log state based on context it is used

func (HashicorpCloudVault20200420AuditLogState) Pointer added in v0.23.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudVault20200420AuditLogState.

func (HashicorpCloudVault20200420AuditLogState) Validate

Validate validates this hashicorp cloud vault 20200420 audit log state

type HashicorpCloudVault20200420CORSConfig

type HashicorpCloudVault20200420CORSConfig 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"`
}

HashicorpCloudVault20200420CORSConfig CORSConfig is the CORS configuration on the Vault cluster

swagger:model hashicorp.cloud.vault_20200420.CORSConfig

func (*HashicorpCloudVault20200420CORSConfig) ContextValidate added in v0.23.0

func (m *HashicorpCloudVault20200420CORSConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this hashicorp cloud vault 20200420 c o r s config based on context it is used

func (*HashicorpCloudVault20200420CORSConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420CORSConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420CORSConfig) Validate

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

type HashicorpCloudVault20200420CapacityConfig

type HashicorpCloudVault20200420CapacityConfig struct {

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

HashicorpCloudVault20200420CapacityConfig hashicorp cloud vault 20200420 capacity config

swagger:model hashicorp.cloud.vault_20200420.CapacityConfig

func (*HashicorpCloudVault20200420CapacityConfig) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud vault 20200420 capacity config based on context it is used

func (*HashicorpCloudVault20200420CapacityConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420CapacityConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420CapacityConfig) Validate

Validate validates this hashicorp cloud vault 20200420 capacity config

type HashicorpCloudVault20200420Cluster

type HashicorpCloudVault20200420Cluster struct {

	// config holds the configuration of the cluster.
	Config *HashicorpCloudVault20200420ClusterConfig `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 *HashicorpCloudVault20200420ClusterDNSNames `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 *HashicorpCloudVault20200420ClusterState `json:"state,omitempty"`
}

HashicorpCloudVault20200420Cluster Cluster represents a single Vault cluster.

swagger:model hashicorp.cloud.vault_20200420.Cluster

func (*HashicorpCloudVault20200420Cluster) ContextValidate added in v0.23.0

func (m *HashicorpCloudVault20200420Cluster) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this hashicorp cloud vault 20200420 cluster based on the context it is used

func (*HashicorpCloudVault20200420Cluster) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420Cluster) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420Cluster) Validate

Validate validates this hashicorp cloud vault 20200420 cluster

type HashicorpCloudVault20200420ClusterConfig

type HashicorpCloudVault20200420ClusterConfig struct {

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

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

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

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

	// public ips disabled
	PublicIpsDisabled bool `json:"public_ips_disabled,omitempty"`

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

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

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

HashicorpCloudVault20200420ClusterConfig hashicorp cloud vault 20200420 cluster config

swagger:model hashicorp.cloud.vault_20200420.ClusterConfig

func (*HashicorpCloudVault20200420ClusterConfig) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vault 20200420 cluster config based on the context it is used

func (*HashicorpCloudVault20200420ClusterConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420ClusterConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420ClusterConfig) Validate

Validate validates this hashicorp cloud vault 20200420 cluster config

type HashicorpCloudVault20200420ClusterDNSNames

type HashicorpCloudVault20200420ClusterDNSNames 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"`
}

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

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

func (*HashicorpCloudVault20200420ClusterDNSNames) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud vault 20200420 cluster DNS names based on context it is used

func (*HashicorpCloudVault20200420ClusterDNSNames) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420ClusterDNSNames) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420ClusterDNSNames) Validate

Validate validates this hashicorp cloud vault 20200420 cluster DNS names

type HashicorpCloudVault20200420ClusterState

type HashicorpCloudVault20200420ClusterState string

HashicorpCloudVault20200420ClusterState 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_20200420.Cluster.State

const (

	// HashicorpCloudVault20200420ClusterStateUNSET captures enum value "UNSET"
	HashicorpCloudVault20200420ClusterStateUNSET HashicorpCloudVault20200420ClusterState = "UNSET"

	// HashicorpCloudVault20200420ClusterStatePENDING captures enum value "PENDING"
	HashicorpCloudVault20200420ClusterStatePENDING HashicorpCloudVault20200420ClusterState = "PENDING"

	// HashicorpCloudVault20200420ClusterStateCREATING captures enum value "CREATING"
	HashicorpCloudVault20200420ClusterStateCREATING HashicorpCloudVault20200420ClusterState = "CREATING"

	// HashicorpCloudVault20200420ClusterStateRUNNING captures enum value "RUNNING"
	HashicorpCloudVault20200420ClusterStateRUNNING HashicorpCloudVault20200420ClusterState = "RUNNING"

	// HashicorpCloudVault20200420ClusterStateFAILED captures enum value "FAILED"
	HashicorpCloudVault20200420ClusterStateFAILED HashicorpCloudVault20200420ClusterState = "FAILED"

	// HashicorpCloudVault20200420ClusterStateUPDATING captures enum value "UPDATING"
	HashicorpCloudVault20200420ClusterStateUPDATING HashicorpCloudVault20200420ClusterState = "UPDATING"

	// HashicorpCloudVault20200420ClusterStateRESTORING captures enum value "RESTORING"
	HashicorpCloudVault20200420ClusterStateRESTORING HashicorpCloudVault20200420ClusterState = "RESTORING"

	// HashicorpCloudVault20200420ClusterStateDELETING captures enum value "DELETING"
	HashicorpCloudVault20200420ClusterStateDELETING HashicorpCloudVault20200420ClusterState = "DELETING"

	// HashicorpCloudVault20200420ClusterStateDELETED captures enum value "DELETED"
	HashicorpCloudVault20200420ClusterStateDELETED HashicorpCloudVault20200420ClusterState = "DELETED"

	// HashicorpCloudVault20200420ClusterStateSEALING captures enum value "SEALING"
	HashicorpCloudVault20200420ClusterStateSEALING HashicorpCloudVault20200420ClusterState = "SEALING"

	// HashicorpCloudVault20200420ClusterStateSEALED captures enum value "SEALED"
	HashicorpCloudVault20200420ClusterStateSEALED HashicorpCloudVault20200420ClusterState = "SEALED"

	// HashicorpCloudVault20200420ClusterStateUNSEALING captures enum value "UNSEALING"
	HashicorpCloudVault20200420ClusterStateUNSEALING HashicorpCloudVault20200420ClusterState = "UNSEALING"
)

func NewHashicorpCloudVault20200420ClusterState added in v0.23.0

func NewHashicorpCloudVault20200420ClusterState(value HashicorpCloudVault20200420ClusterState) *HashicorpCloudVault20200420ClusterState

func (HashicorpCloudVault20200420ClusterState) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud vault 20200420 cluster state based on context it is used

func (HashicorpCloudVault20200420ClusterState) Pointer added in v0.23.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudVault20200420ClusterState.

func (HashicorpCloudVault20200420ClusterState) Validate

Validate validates this hashicorp cloud vault 20200420 cluster state

type HashicorpCloudVault20200420CreateRequest

type HashicorpCloudVault20200420CreateRequest struct {

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

HashicorpCloudVault20200420CreateRequest hashicorp cloud vault 20200420 create request

swagger:model hashicorp.cloud.vault_20200420.CreateRequest

func (*HashicorpCloudVault20200420CreateRequest) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vault 20200420 create request based on the context it is used

func (*HashicorpCloudVault20200420CreateRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420CreateRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420CreateRequest) Validate

Validate validates this hashicorp cloud vault 20200420 create request

type HashicorpCloudVault20200420CreateResponse

type HashicorpCloudVault20200420CreateResponse struct {

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

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

HashicorpCloudVault20200420CreateResponse hashicorp cloud vault 20200420 create response

swagger:model hashicorp.cloud.vault_20200420.CreateResponse

func (*HashicorpCloudVault20200420CreateResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vault 20200420 create response based on the context it is used

func (*HashicorpCloudVault20200420CreateResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420CreateResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420CreateResponse) Validate

Validate validates this hashicorp cloud vault 20200420 create response

type HashicorpCloudVault20200420CreateSnapshotRequest

type HashicorpCloudVault20200420CreateSnapshotRequest 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"`
}

HashicorpCloudVault20200420CreateSnapshotRequest hashicorp cloud vault 20200420 create snapshot request

swagger:model hashicorp.cloud.vault_20200420.CreateSnapshotRequest

func (*HashicorpCloudVault20200420CreateSnapshotRequest) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vault 20200420 create snapshot request based on the context it is used

func (*HashicorpCloudVault20200420CreateSnapshotRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420CreateSnapshotRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420CreateSnapshotRequest) Validate

Validate validates this hashicorp cloud vault 20200420 create snapshot request

type HashicorpCloudVault20200420CreateSnapshotResponse

type HashicorpCloudVault20200420CreateSnapshotResponse struct {

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

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

HashicorpCloudVault20200420CreateSnapshotResponse hashicorp cloud vault 20200420 create snapshot response

swagger:model hashicorp.cloud.vault_20200420.CreateSnapshotResponse

func (*HashicorpCloudVault20200420CreateSnapshotResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vault 20200420 create snapshot response based on the context it is used

func (*HashicorpCloudVault20200420CreateSnapshotResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420CreateSnapshotResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420CreateSnapshotResponse) Validate

Validate validates this hashicorp cloud vault 20200420 create snapshot response

type HashicorpCloudVault20200420DeleteResponse

type HashicorpCloudVault20200420DeleteResponse struct {

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

HashicorpCloudVault20200420DeleteResponse hashicorp cloud vault 20200420 delete response

swagger:model hashicorp.cloud.vault_20200420.DeleteResponse

func (*HashicorpCloudVault20200420DeleteResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vault 20200420 delete response based on the context it is used

func (*HashicorpCloudVault20200420DeleteResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420DeleteResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420DeleteResponse) Validate

Validate validates this hashicorp cloud vault 20200420 delete response

type HashicorpCloudVault20200420DeleteSnapshotResponse

type HashicorpCloudVault20200420DeleteSnapshotResponse struct {

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

HashicorpCloudVault20200420DeleteSnapshotResponse DeleteSnapshotResponse is a response to deleting a snapshot.

swagger:model hashicorp.cloud.vault_20200420.DeleteSnapshotResponse

func (*HashicorpCloudVault20200420DeleteSnapshotResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vault 20200420 delete snapshot response based on the context it is used

func (*HashicorpCloudVault20200420DeleteSnapshotResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420DeleteSnapshotResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420DeleteSnapshotResponse) Validate

Validate validates this hashicorp cloud vault 20200420 delete snapshot response

type HashicorpCloudVault20200420DisableCORSResponse

type HashicorpCloudVault20200420DisableCORSResponse interface{}

HashicorpCloudVault20200420DisableCORSResponse hashicorp cloud vault 20200420 disable c o r s response

swagger:model hashicorp.cloud.vault_20200420.DisableCORSResponse

type HashicorpCloudVault20200420FetchAuditLogRequest

type HashicorpCloudVault20200420FetchAuditLogRequest 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"`
}

HashicorpCloudVault20200420FetchAuditLogRequest hashicorp cloud vault 20200420 fetch audit log request

swagger:model hashicorp.cloud.vault_20200420.FetchAuditLogRequest

func (*HashicorpCloudVault20200420FetchAuditLogRequest) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vault 20200420 fetch audit log request based on the context it is used

func (*HashicorpCloudVault20200420FetchAuditLogRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420FetchAuditLogRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420FetchAuditLogRequest) Validate

Validate validates this hashicorp cloud vault 20200420 fetch audit log request

type HashicorpCloudVault20200420FetchAuditLogResponse

type HashicorpCloudVault20200420FetchAuditLogResponse struct {

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

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

HashicorpCloudVault20200420FetchAuditLogResponse hashicorp cloud vault 20200420 fetch audit log response

swagger:model hashicorp.cloud.vault_20200420.FetchAuditLogResponse

func (*HashicorpCloudVault20200420FetchAuditLogResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vault 20200420 fetch audit log response based on the context it is used

func (*HashicorpCloudVault20200420FetchAuditLogResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420FetchAuditLogResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420FetchAuditLogResponse) Validate

Validate validates this hashicorp cloud vault 20200420 fetch audit log response

type HashicorpCloudVault20200420GetAdminTokenResponse

type HashicorpCloudVault20200420GetAdminTokenResponse struct {

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

HashicorpCloudVault20200420GetAdminTokenResponse hashicorp cloud vault 20200420 get admin token response

swagger:model hashicorp.cloud.vault_20200420.GetAdminTokenResponse

func (*HashicorpCloudVault20200420GetAdminTokenResponse) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud vault 20200420 get admin token response based on context it is used

func (*HashicorpCloudVault20200420GetAdminTokenResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420GetAdminTokenResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420GetAdminTokenResponse) Validate

Validate validates this hashicorp cloud vault 20200420 get admin token response

type HashicorpCloudVault20200420GetAuditLogStatusResponse

type HashicorpCloudVault20200420GetAuditLogStatusResponse struct {

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

HashicorpCloudVault20200420GetAuditLogStatusResponse hashicorp cloud vault 20200420 get audit log status response

swagger:model hashicorp.cloud.vault_20200420.GetAuditLogStatusResponse

func (*HashicorpCloudVault20200420GetAuditLogStatusResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vault 20200420 get audit log status response based on the context it is used

func (*HashicorpCloudVault20200420GetAuditLogStatusResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420GetAuditLogStatusResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420GetAuditLogStatusResponse) Validate

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

type HashicorpCloudVault20200420GetCORSConfigResponse

type HashicorpCloudVault20200420GetCORSConfigResponse 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"`
}

HashicorpCloudVault20200420GetCORSConfigResponse hashicorp cloud vault 20200420 get c o r s config response

swagger:model hashicorp.cloud.vault_20200420.GetCORSConfigResponse

func (*HashicorpCloudVault20200420GetCORSConfigResponse) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud vault 20200420 get c o r s config response based on context it is used

func (*HashicorpCloudVault20200420GetCORSConfigResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420GetCORSConfigResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420GetCORSConfigResponse) Validate

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

type HashicorpCloudVault20200420GetResponse

type HashicorpCloudVault20200420GetResponse struct {

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

HashicorpCloudVault20200420GetResponse hashicorp cloud vault 20200420 get response

swagger:model hashicorp.cloud.vault_20200420.GetResponse

func (*HashicorpCloudVault20200420GetResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vault 20200420 get response based on the context it is used

func (*HashicorpCloudVault20200420GetResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420GetResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420GetResponse) Validate

Validate validates this hashicorp cloud vault 20200420 get response

type HashicorpCloudVault20200420GetSnapshotResponse

type HashicorpCloudVault20200420GetSnapshotResponse struct {

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

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

swagger:model hashicorp.cloud.vault_20200420.GetSnapshotResponse

func (*HashicorpCloudVault20200420GetSnapshotResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vault 20200420 get snapshot response based on the context it is used

func (*HashicorpCloudVault20200420GetSnapshotResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420GetSnapshotResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420GetSnapshotResponse) Validate

Validate validates this hashicorp cloud vault 20200420 get snapshot response

type HashicorpCloudVault20200420ListResponse

type HashicorpCloudVault20200420ListResponse struct {

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

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

HashicorpCloudVault20200420ListResponse hashicorp cloud vault 20200420 list response

swagger:model hashicorp.cloud.vault_20200420.ListResponse

func (*HashicorpCloudVault20200420ListResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vault 20200420 list response based on the context it is used

func (*HashicorpCloudVault20200420ListResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420ListResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420ListResponse) Validate

Validate validates this hashicorp cloud vault 20200420 list response

type HashicorpCloudVault20200420ListSnapshotsResponse

type HashicorpCloudVault20200420ListSnapshotsResponse struct {

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

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

HashicorpCloudVault20200420ListSnapshotsResponse ListSnapshotsResponse is a response from listing snapshots.

swagger:model hashicorp.cloud.vault_20200420.ListSnapshotsResponse

func (*HashicorpCloudVault20200420ListSnapshotsResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vault 20200420 list snapshots response based on the context it is used

func (*HashicorpCloudVault20200420ListSnapshotsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420ListSnapshotsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420ListSnapshotsResponse) Validate

Validate validates this hashicorp cloud vault 20200420 list snapshots response

type HashicorpCloudVault20200420MaintenanceConfig

type HashicorpCloudVault20200420MaintenanceConfig interface{}

HashicorpCloudVault20200420MaintenanceConfig hashicorp cloud vault 20200420 maintenance config

swagger:model hashicorp.cloud.vault_20200420.MaintenanceConfig

type HashicorpCloudVault20200420NetworkConfig

type HashicorpCloudVault20200420NetworkConfig struct {

	// cors config
	CorsConfig *HashicorpCloudVault20200420CORSConfig `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_disabled indicates if public IP's are disabled.
	PublicIpsDisabled bool `json:"public_ips_disabled,omitempty"`
}

HashicorpCloudVault20200420NetworkConfig hashicorp cloud vault 20200420 network config

swagger:model hashicorp.cloud.vault_20200420.NetworkConfig

func (*HashicorpCloudVault20200420NetworkConfig) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vault 20200420 network config based on the context it is used

func (*HashicorpCloudVault20200420NetworkConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420NetworkConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420NetworkConfig) Validate

Validate validates this hashicorp cloud vault 20200420 network config

type HashicorpCloudVault20200420RestoreSnapshotRequest

type HashicorpCloudVault20200420RestoreSnapshotRequest struct {

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

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

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

HashicorpCloudVault20200420RestoreSnapshotRequest hashicorp cloud vault 20200420 restore snapshot request

swagger:model hashicorp.cloud.vault_20200420.RestoreSnapshotRequest

func (*HashicorpCloudVault20200420RestoreSnapshotRequest) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vault 20200420 restore snapshot request based on the context it is used

func (*HashicorpCloudVault20200420RestoreSnapshotRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420RestoreSnapshotRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420RestoreSnapshotRequest) Validate

Validate validates this hashicorp cloud vault 20200420 restore snapshot request

type HashicorpCloudVault20200420RestoreSnapshotResponse

type HashicorpCloudVault20200420RestoreSnapshotResponse struct {

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

HashicorpCloudVault20200420RestoreSnapshotResponse hashicorp cloud vault 20200420 restore snapshot response

swagger:model hashicorp.cloud.vault_20200420.RestoreSnapshotResponse

func (*HashicorpCloudVault20200420RestoreSnapshotResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vault 20200420 restore snapshot response based on the context it is used

func (*HashicorpCloudVault20200420RestoreSnapshotResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420RestoreSnapshotResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420RestoreSnapshotResponse) Validate

Validate validates this hashicorp cloud vault 20200420 restore snapshot response

type HashicorpCloudVault20200420SealRequest

type HashicorpCloudVault20200420SealRequest struct {

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

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

HashicorpCloudVault20200420SealRequest hashicorp cloud vault 20200420 seal request

swagger:model hashicorp.cloud.vault_20200420.SealRequest

func (*HashicorpCloudVault20200420SealRequest) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vault 20200420 seal request based on the context it is used

func (*HashicorpCloudVault20200420SealRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420SealRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420SealRequest) Validate

Validate validates this hashicorp cloud vault 20200420 seal request

type HashicorpCloudVault20200420SealResponse

type HashicorpCloudVault20200420SealResponse struct {

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

HashicorpCloudVault20200420SealResponse hashicorp cloud vault 20200420 seal response

swagger:model hashicorp.cloud.vault_20200420.SealResponse

func (*HashicorpCloudVault20200420SealResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vault 20200420 seal response based on the context it is used

func (*HashicorpCloudVault20200420SealResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420SealResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420SealResponse) Validate

Validate validates this hashicorp cloud vault 20200420 seal response

type HashicorpCloudVault20200420Snapshot

type HashicorpCloudVault20200420Snapshot 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 *HashicorpCloudVault20200420SnapshotState `json:"state,omitempty"`

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

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

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

swagger:model hashicorp.cloud.vault_20200420.Snapshot

func (*HashicorpCloudVault20200420Snapshot) ContextValidate added in v0.23.0

func (m *HashicorpCloudVault20200420Snapshot) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this hashicorp cloud vault 20200420 snapshot based on the context it is used

func (*HashicorpCloudVault20200420Snapshot) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420Snapshot) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420Snapshot) Validate

Validate validates this hashicorp cloud vault 20200420 snapshot

type HashicorpCloudVault20200420SnapshotConfig

type HashicorpCloudVault20200420SnapshotConfig struct {

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

HashicorpCloudVault20200420SnapshotConfig hashicorp cloud vault 20200420 snapshot config

swagger:model hashicorp.cloud.vault_20200420.SnapshotConfig

func (*HashicorpCloudVault20200420SnapshotConfig) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud vault 20200420 snapshot config based on context it is used

func (*HashicorpCloudVault20200420SnapshotConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420SnapshotConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420SnapshotConfig) Validate

Validate validates this hashicorp cloud vault 20200420 snapshot config

type HashicorpCloudVault20200420SnapshotState

type HashicorpCloudVault20200420SnapshotState string

HashicorpCloudVault20200420SnapshotState SnapshotState represents the lifecycle of snapshots

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

const (

	// HashicorpCloudVault20200420SnapshotStateUNSET captures enum value "UNSET"
	HashicorpCloudVault20200420SnapshotStateUNSET HashicorpCloudVault20200420SnapshotState = "UNSET"

	// HashicorpCloudVault20200420SnapshotStatePENDING captures enum value "PENDING"
	HashicorpCloudVault20200420SnapshotStatePENDING HashicorpCloudVault20200420SnapshotState = "PENDING"

	// HashicorpCloudVault20200420SnapshotStateCREATING captures enum value "CREATING"
	HashicorpCloudVault20200420SnapshotStateCREATING HashicorpCloudVault20200420SnapshotState = "CREATING"

	// HashicorpCloudVault20200420SnapshotStateSTORED captures enum value "STORED"
	HashicorpCloudVault20200420SnapshotStateSTORED HashicorpCloudVault20200420SnapshotState = "STORED"

	// HashicorpCloudVault20200420SnapshotStateFAILED captures enum value "FAILED"
	HashicorpCloudVault20200420SnapshotStateFAILED HashicorpCloudVault20200420SnapshotState = "FAILED"

	// HashicorpCloudVault20200420SnapshotStateDELETING captures enum value "DELETING"
	HashicorpCloudVault20200420SnapshotStateDELETING HashicorpCloudVault20200420SnapshotState = "DELETING"
)

func NewHashicorpCloudVault20200420SnapshotState added in v0.23.0

func NewHashicorpCloudVault20200420SnapshotState(value HashicorpCloudVault20200420SnapshotState) *HashicorpCloudVault20200420SnapshotState

func (HashicorpCloudVault20200420SnapshotState) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud vault 20200420 snapshot state based on context it is used

func (HashicorpCloudVault20200420SnapshotState) Pointer added in v0.23.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudVault20200420SnapshotState.

func (HashicorpCloudVault20200420SnapshotState) Validate

Validate validates this hashicorp cloud vault 20200420 snapshot state

type HashicorpCloudVault20200420SnapshotType

type HashicorpCloudVault20200420SnapshotType string

HashicorpCloudVault20200420SnapshotType Type represents the type of snapshots.

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

const (

	// HashicorpCloudVault20200420SnapshotTypeTYPEUNSET captures enum value "TYPE_UNSET"
	HashicorpCloudVault20200420SnapshotTypeTYPEUNSET HashicorpCloudVault20200420SnapshotType = "TYPE_UNSET"

	// HashicorpCloudVault20200420SnapshotTypeAUTOMATIC captures enum value "AUTOMATIC"
	HashicorpCloudVault20200420SnapshotTypeAUTOMATIC HashicorpCloudVault20200420SnapshotType = "AUTOMATIC"

	// HashicorpCloudVault20200420SnapshotTypeSCHEDULED captures enum value "SCHEDULED"
	HashicorpCloudVault20200420SnapshotTypeSCHEDULED HashicorpCloudVault20200420SnapshotType = "SCHEDULED"

	// HashicorpCloudVault20200420SnapshotTypeMANUAL captures enum value "MANUAL"
	HashicorpCloudVault20200420SnapshotTypeMANUAL HashicorpCloudVault20200420SnapshotType = "MANUAL"

	// HashicorpCloudVault20200420SnapshotTypeBEFOREUPGRADE captures enum value "BEFORE_UPGRADE"
	HashicorpCloudVault20200420SnapshotTypeBEFOREUPGRADE HashicorpCloudVault20200420SnapshotType = "BEFORE_UPGRADE"
)

func NewHashicorpCloudVault20200420SnapshotType added in v0.23.0

func NewHashicorpCloudVault20200420SnapshotType(value HashicorpCloudVault20200420SnapshotType) *HashicorpCloudVault20200420SnapshotType

func (HashicorpCloudVault20200420SnapshotType) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud vault 20200420 snapshot type based on context it is used

func (HashicorpCloudVault20200420SnapshotType) Pointer added in v0.23.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudVault20200420SnapshotType.

func (HashicorpCloudVault20200420SnapshotType) Validate

Validate validates this hashicorp cloud vault 20200420 snapshot type

type HashicorpCloudVault20200420UnsealRequest

type HashicorpCloudVault20200420UnsealRequest struct {

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

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

HashicorpCloudVault20200420UnsealRequest hashicorp cloud vault 20200420 unseal request

swagger:model hashicorp.cloud.vault_20200420.UnsealRequest

func (*HashicorpCloudVault20200420UnsealRequest) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vault 20200420 unseal request based on the context it is used

func (*HashicorpCloudVault20200420UnsealRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420UnsealRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420UnsealRequest) Validate

Validate validates this hashicorp cloud vault 20200420 unseal request

type HashicorpCloudVault20200420UnsealResponse

type HashicorpCloudVault20200420UnsealResponse struct {

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

HashicorpCloudVault20200420UnsealResponse hashicorp cloud vault 20200420 unseal response

swagger:model hashicorp.cloud.vault_20200420.UnsealResponse

func (*HashicorpCloudVault20200420UnsealResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vault 20200420 unseal response based on the context it is used

func (*HashicorpCloudVault20200420UnsealResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420UnsealResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420UnsealResponse) Validate

Validate validates this hashicorp cloud vault 20200420 unseal response

type HashicorpCloudVault20200420UpdateCORSConfigRequest

type HashicorpCloudVault20200420UpdateCORSConfigRequest 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"`
}

HashicorpCloudVault20200420UpdateCORSConfigRequest hashicorp cloud vault 20200420 update c o r s config request

swagger:model hashicorp.cloud.vault_20200420.UpdateCORSConfigRequest

func (*HashicorpCloudVault20200420UpdateCORSConfigRequest) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vault 20200420 update c o r s config request based on the context it is used

func (*HashicorpCloudVault20200420UpdateCORSConfigRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420UpdateCORSConfigRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420UpdateCORSConfigRequest) Validate

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

type HashicorpCloudVault20200420UpdateCORSConfigResponse

type HashicorpCloudVault20200420UpdateCORSConfigResponse interface{}

HashicorpCloudVault20200420UpdateCORSConfigResponse hashicorp cloud vault 20200420 update c o r s config response

swagger:model hashicorp.cloud.vault_20200420.UpdateCORSConfigResponse

type HashicorpCloudVault20200420UpdatePublicIpsRequest

type HashicorpCloudVault20200420UpdatePublicIpsRequest 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"`
}

HashicorpCloudVault20200420UpdatePublicIpsRequest hashicorp cloud vault 20200420 update public ips request

swagger:model hashicorp.cloud.vault_20200420.UpdatePublicIpsRequest

func (*HashicorpCloudVault20200420UpdatePublicIpsRequest) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vault 20200420 update public ips request based on the context it is used

func (*HashicorpCloudVault20200420UpdatePublicIpsRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420UpdatePublicIpsRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420UpdatePublicIpsRequest) Validate

Validate validates this hashicorp cloud vault 20200420 update public ips request

type HashicorpCloudVault20200420UpdatePublicIpsResponse

type HashicorpCloudVault20200420UpdatePublicIpsResponse struct {

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

HashicorpCloudVault20200420UpdatePublicIpsResponse hashicorp cloud vault 20200420 update public ips response

swagger:model hashicorp.cloud.vault_20200420.UpdatePublicIpsResponse

func (*HashicorpCloudVault20200420UpdatePublicIpsResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vault 20200420 update public ips response based on the context it is used

func (*HashicorpCloudVault20200420UpdatePublicIpsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420UpdatePublicIpsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420UpdatePublicIpsResponse) Validate

Validate validates this hashicorp cloud vault 20200420 update public ips response

type HashicorpCloudVault20200420UpdateSnapshotRequest

type HashicorpCloudVault20200420UpdateSnapshotRequest 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 *HashicorpCloudVault20200420Snapshot `json:"snapshot,omitempty"`
}

HashicorpCloudVault20200420UpdateSnapshotRequest UpdateSnapshotRequest is a request to update a snapshot.

swagger:model hashicorp.cloud.vault_20200420.UpdateSnapshotRequest

func (*HashicorpCloudVault20200420UpdateSnapshotRequest) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vault 20200420 update snapshot request based on the context it is used

func (*HashicorpCloudVault20200420UpdateSnapshotRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420UpdateSnapshotRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420UpdateSnapshotRequest) Validate

Validate validates this hashicorp cloud vault 20200420 update snapshot request

type HashicorpCloudVault20200420UpdateSnapshotResponse

type HashicorpCloudVault20200420UpdateSnapshotResponse struct {

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

HashicorpCloudVault20200420UpdateSnapshotResponse UpdateSnapshotResponse is a response to updating a snapshot.

swagger:model hashicorp.cloud.vault_20200420.UpdateSnapshotResponse

func (*HashicorpCloudVault20200420UpdateSnapshotResponse) ContextValidate added in v0.23.0

ContextValidate validate this hashicorp cloud vault 20200420 update snapshot response based on the context it is used

func (*HashicorpCloudVault20200420UpdateSnapshotResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420UpdateSnapshotResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420UpdateSnapshotResponse) Validate

Validate validates this hashicorp cloud vault 20200420 update snapshot response

type HashicorpCloudVault20200420VaultAccess

type HashicorpCloudVault20200420VaultAccess struct {

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

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

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

HashicorpCloudVault20200420VaultAccess hashicorp cloud vault 20200420 vault access

swagger:model hashicorp.cloud.vault_20200420.VaultAccess

func (*HashicorpCloudVault20200420VaultAccess) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud vault 20200420 vault access based on context it is used

func (*HashicorpCloudVault20200420VaultAccess) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420VaultAccess) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420VaultAccess) Validate

Validate validates this hashicorp cloud vault 20200420 vault access

type HashicorpCloudVault20200420VaultConfig

type HashicorpCloudVault20200420VaultConfig 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"`
}

HashicorpCloudVault20200420VaultConfig hashicorp cloud vault 20200420 vault config

swagger:model hashicorp.cloud.vault_20200420.VaultConfig

func (*HashicorpCloudVault20200420VaultConfig) ContextValidate added in v0.23.0

ContextValidate validates this hashicorp cloud vault 20200420 vault config based on context it is used

func (*HashicorpCloudVault20200420VaultConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudVault20200420VaultConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudVault20200420VaultConfig) Validate

Validate validates this hashicorp cloud vault 20200420 vault config

Source Files

Jump to

Keyboard shortcuts

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