Documentation ¶
Index ¶
- type HashicorpCloudVault20201125AuditConfig
- type HashicorpCloudVault20201125AuditLog
- type HashicorpCloudVault20201125AuditLogState
- type HashicorpCloudVault20201125CORSConfig
- type HashicorpCloudVault20201125CapacityConfig
- type HashicorpCloudVault20201125Cluster
- type HashicorpCloudVault20201125ClusterConfig
- type HashicorpCloudVault20201125ClusterDNSNames
- type HashicorpCloudVault20201125ClusterState
- type HashicorpCloudVault20201125CreateRequest
- type HashicorpCloudVault20201125CreateResponse
- type HashicorpCloudVault20201125CreateSnapshotRequest
- type HashicorpCloudVault20201125CreateSnapshotResponse
- type HashicorpCloudVault20201125DeleteResponse
- type HashicorpCloudVault20201125DeleteSnapshotResponse
- type HashicorpCloudVault20201125DisableCORSResponse
- type HashicorpCloudVault20201125FetchAuditLogRequest
- type HashicorpCloudVault20201125FetchAuditLogResponse
- type HashicorpCloudVault20201125GetAdminTokenResponse
- type HashicorpCloudVault20201125GetAuditLogStatusResponse
- type HashicorpCloudVault20201125GetCORSConfigResponse
- type HashicorpCloudVault20201125GetClientCountsResponse
- type HashicorpCloudVault20201125GetResponse
- type HashicorpCloudVault20201125GetSnapshotResponse
- type HashicorpCloudVault20201125InputCluster
- type HashicorpCloudVault20201125InputClusterConfig
- type HashicorpCloudVault20201125InputNetworkConfig
- type HashicorpCloudVault20201125ListResponse
- type HashicorpCloudVault20201125ListSnapshotsResponse
- type HashicorpCloudVault20201125MaintenanceConfig
- type HashicorpCloudVault20201125NetworkConfig
- type HashicorpCloudVault20201125RestoreSnapshotRequest
- type HashicorpCloudVault20201125RestoreSnapshotResponse
- type HashicorpCloudVault20201125SealRequest
- type HashicorpCloudVault20201125SealResponse
- type HashicorpCloudVault20201125Snapshot
- type HashicorpCloudVault20201125SnapshotConfig
- type HashicorpCloudVault20201125SnapshotState
- type HashicorpCloudVault20201125SnapshotType
- type HashicorpCloudVault20201125Tier
- type HashicorpCloudVault20201125UnsealRequest
- type HashicorpCloudVault20201125UnsealResponse
- type HashicorpCloudVault20201125UpdateCORSConfigRequest
- type HashicorpCloudVault20201125UpdateCORSConfigResponse
- type HashicorpCloudVault20201125UpdatePublicIpsRequest
- type HashicorpCloudVault20201125UpdatePublicIpsResponse
- type HashicorpCloudVault20201125UpdateSnapshotRequest
- type HashicorpCloudVault20201125UpdateSnapshotResponse
- type HashicorpCloudVault20201125VaultAccess
- type HashicorpCloudVault20201125VaultConfig
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
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
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" )
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
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
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
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"` // 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
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
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" )
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
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
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 ¶
func (m *HashicorpCloudVault20201125CreateSnapshotRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20201125CreateSnapshotRequest) UnmarshalBinary ¶
func (m *HashicorpCloudVault20201125CreateSnapshotRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (m *HashicorpCloudVault20201125CreateSnapshotResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20201125CreateSnapshotResponse) UnmarshalBinary ¶
func (m *HashicorpCloudVault20201125CreateSnapshotResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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 ¶
func (m *HashicorpCloudVault20201125DeleteSnapshotResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20201125DeleteSnapshotResponse) UnmarshalBinary ¶
func (m *HashicorpCloudVault20201125DeleteSnapshotResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (m *HashicorpCloudVault20201125FetchAuditLogRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20201125FetchAuditLogRequest) UnmarshalBinary ¶
func (m *HashicorpCloudVault20201125FetchAuditLogRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (m *HashicorpCloudVault20201125FetchAuditLogResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20201125FetchAuditLogResponse) UnmarshalBinary ¶
func (m *HashicorpCloudVault20201125FetchAuditLogResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (m *HashicorpCloudVault20201125GetAdminTokenResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20201125GetAdminTokenResponse) UnmarshalBinary ¶
func (m *HashicorpCloudVault20201125GetAdminTokenResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (m *HashicorpCloudVault20201125GetAuditLogStatusResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20201125GetAuditLogStatusResponse) UnmarshalBinary ¶
func (m *HashicorpCloudVault20201125GetAuditLogStatusResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (m *HashicorpCloudVault20201125GetCORSConfigResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20201125GetCORSConfigResponse) UnmarshalBinary ¶
func (m *HashicorpCloudVault20201125GetCORSConfigResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (m *HashicorpCloudVault20201125GetClientCountsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20201125GetClientCountsResponse) UnmarshalBinary ¶
func (m *HashicorpCloudVault20201125GetClientCountsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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 ¶
func (m *HashicorpCloudVault20201125GetSnapshotResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20201125GetSnapshotResponse) UnmarshalBinary ¶
func (m *HashicorpCloudVault20201125GetSnapshotResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
type HashicorpCloudVault20201125InputClusterConfig ¶
type HashicorpCloudVault20201125InputClusterConfig struct { // 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 ¶
func (m *HashicorpCloudVault20201125InputClusterConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20201125InputClusterConfig) UnmarshalBinary ¶
func (m *HashicorpCloudVault20201125InputClusterConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (m *HashicorpCloudVault20201125InputNetworkConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20201125InputNetworkConfig) UnmarshalBinary ¶
func (m *HashicorpCloudVault20201125InputNetworkConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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 ¶
func (m *HashicorpCloudVault20201125ListSnapshotsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20201125ListSnapshotsResponse) UnmarshalBinary ¶
func (m *HashicorpCloudVault20201125ListSnapshotsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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 ¶
func (m *HashicorpCloudVault20201125RestoreSnapshotRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20201125RestoreSnapshotRequest) UnmarshalBinary ¶
func (m *HashicorpCloudVault20201125RestoreSnapshotRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (m *HashicorpCloudVault20201125RestoreSnapshotResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20201125RestoreSnapshotResponse) UnmarshalBinary ¶
func (m *HashicorpCloudVault20201125RestoreSnapshotResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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
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
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
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" )
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" )
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" )
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
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
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 ¶
func (m *HashicorpCloudVault20201125UpdateCORSConfigRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20201125UpdateCORSConfigRequest) UnmarshalBinary ¶
func (m *HashicorpCloudVault20201125UpdateCORSConfigRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (m *HashicorpCloudVault20201125UpdatePublicIpsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20201125UpdatePublicIpsRequest) UnmarshalBinary ¶
func (m *HashicorpCloudVault20201125UpdatePublicIpsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (m *HashicorpCloudVault20201125UpdatePublicIpsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20201125UpdatePublicIpsResponse) UnmarshalBinary ¶
func (m *HashicorpCloudVault20201125UpdatePublicIpsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (m *HashicorpCloudVault20201125UpdateSnapshotRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20201125UpdateSnapshotRequest) UnmarshalBinary ¶
func (m *HashicorpCloudVault20201125UpdateSnapshotRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (m *HashicorpCloudVault20201125UpdateSnapshotResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HashicorpCloudVault20201125UpdateSnapshotResponse) UnmarshalBinary ¶
func (m *HashicorpCloudVault20201125UpdateSnapshotResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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
Source Files ¶
- hashicorp_cloud_vault20201125_audit_config.go
- hashicorp_cloud_vault20201125_audit_log.go
- hashicorp_cloud_vault20201125_audit_log_state.go
- hashicorp_cloud_vault20201125_c_o_r_s_config.go
- hashicorp_cloud_vault20201125_capacity_config.go
- hashicorp_cloud_vault20201125_cluster.go
- hashicorp_cloud_vault20201125_cluster_config.go
- hashicorp_cloud_vault20201125_cluster_dns_names.go
- hashicorp_cloud_vault20201125_cluster_state.go
- hashicorp_cloud_vault20201125_create_request.go
- hashicorp_cloud_vault20201125_create_response.go
- hashicorp_cloud_vault20201125_create_snapshot_request.go
- hashicorp_cloud_vault20201125_create_snapshot_response.go
- hashicorp_cloud_vault20201125_delete_response.go
- hashicorp_cloud_vault20201125_delete_snapshot_response.go
- hashicorp_cloud_vault20201125_disable_c_o_r_s_response.go
- hashicorp_cloud_vault20201125_fetch_audit_log_request.go
- hashicorp_cloud_vault20201125_fetch_audit_log_response.go
- hashicorp_cloud_vault20201125_get_admin_token_response.go
- hashicorp_cloud_vault20201125_get_audit_log_status_response.go
- hashicorp_cloud_vault20201125_get_c_o_r_s_config_response.go
- hashicorp_cloud_vault20201125_get_client_counts_response.go
- hashicorp_cloud_vault20201125_get_response.go
- hashicorp_cloud_vault20201125_get_snapshot_response.go
- hashicorp_cloud_vault20201125_input_cluster.go
- hashicorp_cloud_vault20201125_input_cluster_config.go
- hashicorp_cloud_vault20201125_input_network_config.go
- hashicorp_cloud_vault20201125_list_response.go
- hashicorp_cloud_vault20201125_list_snapshots_response.go
- hashicorp_cloud_vault20201125_maintenance_config.go
- hashicorp_cloud_vault20201125_network_config.go
- hashicorp_cloud_vault20201125_restore_snapshot_request.go
- hashicorp_cloud_vault20201125_restore_snapshot_response.go
- hashicorp_cloud_vault20201125_seal_request.go
- hashicorp_cloud_vault20201125_seal_response.go
- hashicorp_cloud_vault20201125_snapshot.go
- hashicorp_cloud_vault20201125_snapshot_config.go
- hashicorp_cloud_vault20201125_snapshot_state.go
- hashicorp_cloud_vault20201125_snapshot_type.go
- hashicorp_cloud_vault20201125_tier.go
- hashicorp_cloud_vault20201125_unseal_request.go
- hashicorp_cloud_vault20201125_unseal_response.go
- hashicorp_cloud_vault20201125_update_c_o_r_s_config_request.go
- hashicorp_cloud_vault20201125_update_c_o_r_s_config_response.go
- hashicorp_cloud_vault20201125_update_public_ips_request.go
- hashicorp_cloud_vault20201125_update_public_ips_response.go
- hashicorp_cloud_vault20201125_update_snapshot_request.go
- hashicorp_cloud_vault20201125_update_snapshot_response.go
- hashicorp_cloud_vault20201125_vault_access.go
- hashicorp_cloud_vault20201125_vault_config.go