Skip to content

Latest commit

 

History

History
337 lines (182 loc) · 9.58 KB

TargetUpdateHashiVault.md

File metadata and controls

337 lines (182 loc) · 9.58 KB

TargetUpdateHashiVault

Properties

Name Type Description Notes
Description Pointer to string Description of the object [optional]
HashiUrl Pointer to string HashiCorp Vault API URL, e.g. https://vault-mgr01:8200 [optional]
Json Pointer to bool Set output format to JSON [optional] [default to false]
KeepPrevVersion Pointer to string Whether to keep previous version [true/false]. If not set, use default according to account settings [optional]
Key Pointer to string The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) [optional]
MaxVersions Pointer to string Set the maximum number of versions, limited by the account settings defaults. [optional]
Name string Target name
Namespace Pointer to []string Comma-separated list of vault namespaces [optional]
NewName Pointer to string New target name [optional]
Token Pointer to string Authentication token (see `/auth` and `/configure`) [optional]
UidToken Pointer to string The universal identity token, Required only for universal_identity authentication [optional]
VaultToken Pointer to string Vault access token with sufficient permissions [optional]

Methods

NewTargetUpdateHashiVault

func NewTargetUpdateHashiVault(name string, ) *TargetUpdateHashiVault

NewTargetUpdateHashiVault instantiates a new TargetUpdateHashiVault object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewTargetUpdateHashiVaultWithDefaults

func NewTargetUpdateHashiVaultWithDefaults() *TargetUpdateHashiVault

NewTargetUpdateHashiVaultWithDefaults instantiates a new TargetUpdateHashiVault object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetDescription

func (o *TargetUpdateHashiVault) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *TargetUpdateHashiVault) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDescription

func (o *TargetUpdateHashiVault) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *TargetUpdateHashiVault) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetHashiUrl

func (o *TargetUpdateHashiVault) GetHashiUrl() string

GetHashiUrl returns the HashiUrl field if non-nil, zero value otherwise.

GetHashiUrlOk

func (o *TargetUpdateHashiVault) GetHashiUrlOk() (*string, bool)

GetHashiUrlOk returns a tuple with the HashiUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetHashiUrl

func (o *TargetUpdateHashiVault) SetHashiUrl(v string)

SetHashiUrl sets HashiUrl field to given value.

HasHashiUrl

func (o *TargetUpdateHashiVault) HasHashiUrl() bool

HasHashiUrl returns a boolean if a field has been set.

GetJson

func (o *TargetUpdateHashiVault) GetJson() bool

GetJson returns the Json field if non-nil, zero value otherwise.

GetJsonOk

func (o *TargetUpdateHashiVault) GetJsonOk() (*bool, bool)

GetJsonOk returns a tuple with the Json field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetJson

func (o *TargetUpdateHashiVault) SetJson(v bool)

SetJson sets Json field to given value.

HasJson

func (o *TargetUpdateHashiVault) HasJson() bool

HasJson returns a boolean if a field has been set.

GetKeepPrevVersion

func (o *TargetUpdateHashiVault) GetKeepPrevVersion() string

GetKeepPrevVersion returns the KeepPrevVersion field if non-nil, zero value otherwise.

GetKeepPrevVersionOk

func (o *TargetUpdateHashiVault) GetKeepPrevVersionOk() (*string, bool)

GetKeepPrevVersionOk returns a tuple with the KeepPrevVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetKeepPrevVersion

func (o *TargetUpdateHashiVault) SetKeepPrevVersion(v string)

SetKeepPrevVersion sets KeepPrevVersion field to given value.

HasKeepPrevVersion

func (o *TargetUpdateHashiVault) HasKeepPrevVersion() bool

HasKeepPrevVersion returns a boolean if a field has been set.

GetKey

func (o *TargetUpdateHashiVault) GetKey() string

GetKey returns the Key field if non-nil, zero value otherwise.

GetKeyOk

func (o *TargetUpdateHashiVault) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetKey

func (o *TargetUpdateHashiVault) SetKey(v string)

SetKey sets Key field to given value.

HasKey

func (o *TargetUpdateHashiVault) HasKey() bool

HasKey returns a boolean if a field has been set.

GetMaxVersions

func (o *TargetUpdateHashiVault) GetMaxVersions() string

GetMaxVersions returns the MaxVersions field if non-nil, zero value otherwise.

GetMaxVersionsOk

func (o *TargetUpdateHashiVault) GetMaxVersionsOk() (*string, bool)

GetMaxVersionsOk returns a tuple with the MaxVersions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMaxVersions

func (o *TargetUpdateHashiVault) SetMaxVersions(v string)

SetMaxVersions sets MaxVersions field to given value.

HasMaxVersions

func (o *TargetUpdateHashiVault) HasMaxVersions() bool

HasMaxVersions returns a boolean if a field has been set.

GetName

func (o *TargetUpdateHashiVault) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *TargetUpdateHashiVault) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetName

func (o *TargetUpdateHashiVault) SetName(v string)

SetName sets Name field to given value.

GetNamespace

func (o *TargetUpdateHashiVault) GetNamespace() []string

GetNamespace returns the Namespace field if non-nil, zero value otherwise.

GetNamespaceOk

func (o *TargetUpdateHashiVault) GetNamespaceOk() (*[]string, bool)

GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetNamespace

func (o *TargetUpdateHashiVault) SetNamespace(v []string)

SetNamespace sets Namespace field to given value.

HasNamespace

func (o *TargetUpdateHashiVault) HasNamespace() bool

HasNamespace returns a boolean if a field has been set.

GetNewName

func (o *TargetUpdateHashiVault) GetNewName() string

GetNewName returns the NewName field if non-nil, zero value otherwise.

GetNewNameOk

func (o *TargetUpdateHashiVault) GetNewNameOk() (*string, bool)

GetNewNameOk returns a tuple with the NewName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetNewName

func (o *TargetUpdateHashiVault) SetNewName(v string)

SetNewName sets NewName field to given value.

HasNewName

func (o *TargetUpdateHashiVault) HasNewName() bool

HasNewName returns a boolean if a field has been set.

GetToken

func (o *TargetUpdateHashiVault) GetToken() string

GetToken returns the Token field if non-nil, zero value otherwise.

GetTokenOk

func (o *TargetUpdateHashiVault) GetTokenOk() (*string, bool)

GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetToken

func (o *TargetUpdateHashiVault) SetToken(v string)

SetToken sets Token field to given value.

HasToken

func (o *TargetUpdateHashiVault) HasToken() bool

HasToken returns a boolean if a field has been set.

GetUidToken

func (o *TargetUpdateHashiVault) GetUidToken() string

GetUidToken returns the UidToken field if non-nil, zero value otherwise.

GetUidTokenOk

func (o *TargetUpdateHashiVault) GetUidTokenOk() (*string, bool)

GetUidTokenOk returns a tuple with the UidToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUidToken

func (o *TargetUpdateHashiVault) SetUidToken(v string)

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *TargetUpdateHashiVault) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

GetVaultToken

func (o *TargetUpdateHashiVault) GetVaultToken() string

GetVaultToken returns the VaultToken field if non-nil, zero value otherwise.

GetVaultTokenOk

func (o *TargetUpdateHashiVault) GetVaultTokenOk() (*string, bool)

GetVaultTokenOk returns a tuple with the VaultToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetVaultToken

func (o *TargetUpdateHashiVault) SetVaultToken(v string)

SetVaultToken sets VaultToken field to given value.

HasVaultToken

func (o *TargetUpdateHashiVault) HasVaultToken() bool

HasVaultToken returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]