Documentation
¶
Overview ¶
Nutanix Standard Configuration
Index ¶
- type AmazonS3Bucket
- type AzureBlobStorageContainer
- type AzureSharedKeyCredentials
- type EntityReference
- type EntityType
- type FileDetail
- type Flag
- type IPAddress
- type IPv4Address
- type IPv6Address
- type KVPair
- type MapOfStringWrapper
- type Message
- type MessageSeverity
- type NutanixObjectsBucket
- type ObjectStoreBucket
- type ObjectStoreProvider
- type OneOfAmazonS3BucketAuthCredentials
- type OneOfAzureBlobStorageContainerAuthCredentials
- func (p *OneOfAzureBlobStorageContainerAuthCredentials) GetValue() interface{}
- func (p *OneOfAzureBlobStorageContainerAuthCredentials) MarshalJSON() ([]byte, error)
- func (p *OneOfAzureBlobStorageContainerAuthCredentials) SetValue(v interface{}) error
- func (p *OneOfAzureBlobStorageContainerAuthCredentials) UnmarshalJSON(b []byte) error
- type OneOfKVPairValue
- type OneOfNutanixObjectsBucketAuthCredentials
- func (p *OneOfNutanixObjectsBucketAuthCredentials) GetValue() interface{}
- func (p *OneOfNutanixObjectsBucketAuthCredentials) MarshalJSON() ([]byte, error)
- func (p *OneOfNutanixObjectsBucketAuthCredentials) SetValue(v interface{}) error
- func (p *OneOfNutanixObjectsBucketAuthCredentials) UnmarshalJSON(b []byte) error
- type OneOfObjectStoreBucketProviderConfig
- func (p *OneOfObjectStoreBucketProviderConfig) GetValue() interface{}
- func (p *OneOfObjectStoreBucketProviderConfig) MarshalJSON() ([]byte, error)
- func (p *OneOfObjectStoreBucketProviderConfig) SetValue(v interface{}) error
- func (p *OneOfObjectStoreBucketProviderConfig) UnmarshalJSON(b []byte) error
- type SigV4Credentials
- type TenantAwareModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AmazonS3Bucket ¶ added in v4.4.1
type AmazonS3Bucket struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
*/
AuthCredentialsItemDiscriminator_ *string `json:"$authCredentialsItemDiscriminator,omitempty"`
/*
Authentication credentials for accessing the object store.
*/
AuthCredentials *OneOfAmazonS3BucketAuthCredentials `json:"authCredentials"`
/*
Name of the Amazon S3 bucket.
*/
BucketName *string `json:"bucketName"`
/*
AWS region.
*/
Region *string `json:"region"`
}
Reference to the Amazon S3 bucket.
func NewAmazonS3Bucket ¶ added in v4.4.1
func NewAmazonS3Bucket() *AmazonS3Bucket
func (*AmazonS3Bucket) GetAuthCredentials ¶ added in v4.4.1
func (p *AmazonS3Bucket) GetAuthCredentials() interface{}
func (*AmazonS3Bucket) MarshalJSON ¶ added in v4.4.1
func (p *AmazonS3Bucket) MarshalJSON() ([]byte, error)
func (*AmazonS3Bucket) SetAuthCredentials ¶ added in v4.4.1
func (p *AmazonS3Bucket) SetAuthCredentials(v interface{}) error
func (*AmazonS3Bucket) UnmarshalJSON ¶ added in v4.4.1
func (p *AmazonS3Bucket) UnmarshalJSON(b []byte) error
type AzureBlobStorageContainer ¶ added in v4.4.1
type AzureBlobStorageContainer struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
*/
AuthCredentialsItemDiscriminator_ *string `json:"$authCredentialsItemDiscriminator,omitempty"`
/*
Authentication credentials for accessing the object store.
*/
AuthCredentials *OneOfAzureBlobStorageContainerAuthCredentials `json:"authCredentials"`
/*
Name of the Microsoft Azure Blob Storage container.
*/
ContainerName *string `json:"containerName"`
/*
Name of the Microsoft Azure Blob Storage account.
*/
StorageAccountName *string `json:"storageAccountName"`
}
Reference to the Microsoft Azure Blob Storage container.
func NewAzureBlobStorageContainer ¶ added in v4.4.1
func NewAzureBlobStorageContainer() *AzureBlobStorageContainer
func (*AzureBlobStorageContainer) GetAuthCredentials ¶ added in v4.4.1
func (p *AzureBlobStorageContainer) GetAuthCredentials() interface{}
func (*AzureBlobStorageContainer) MarshalJSON ¶ added in v4.4.1
func (p *AzureBlobStorageContainer) MarshalJSON() ([]byte, error)
func (*AzureBlobStorageContainer) SetAuthCredentials ¶ added in v4.4.1
func (p *AzureBlobStorageContainer) SetAuthCredentials(v interface{}) error
func (*AzureBlobStorageContainer) UnmarshalJSON ¶ added in v4.4.1
func (p *AzureBlobStorageContainer) UnmarshalJSON(b []byte) error
type AzureSharedKeyCredentials ¶ added in v4.4.1
type AzureSharedKeyCredentials struct {
AccountKey *string `json:"accountKey"`
}
Azure shared key credentials for storage account authentication.
func NewAzureSharedKeyCredentials ¶ added in v4.4.1
func NewAzureSharedKeyCredentials() *AzureSharedKeyCredentials
func (*AzureSharedKeyCredentials) MarshalJSON ¶ added in v4.4.1
func (p *AzureSharedKeyCredentials) MarshalJSON() ([]byte, error)
func (*AzureSharedKeyCredentials) UnmarshalJSON ¶ added in v4.4.1
func (p *AzureSharedKeyCredentials) UnmarshalJSON(b []byte) error
type EntityReference ¶ added in v4.2.1
type EntityReference struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
EntityType *EntityType `json:"entityType,omitempty"`
/*
A globally unique identifier of an instance that is suitable for external consumption.
*/
ExtId *string `json:"extId,omitempty"`
/*
Name of the entity represented by this reference.
*/
Name *string `json:"name,omitempty"`
/*
URI of entity represented by this reference.
*/
Uris []string `json:"uris,omitempty"`
}
Represents another entity that has been referenced by this entity.
func NewEntityReference ¶ added in v4.2.1
func NewEntityReference() *EntityReference
func (*EntityReference) MarshalJSON ¶ added in v4.2.1
func (p *EntityReference) MarshalJSON() ([]byte, error)
func (*EntityReference) UnmarshalJSON ¶ added in v4.2.1
func (p *EntityReference) UnmarshalJSON(b []byte) error
type EntityType ¶ added in v4.2.1
type EntityType int
Type of entity represented by this reference, e.g., VPC.
const ( ENTITYTYPE_UNKNOWN EntityType = 0 ENTITYTYPE_REDACTED EntityType = 1 ENTITYTYPE_CLUSTER EntityType = 2 ENTITYTYPE_VM EntityType = 3 ENTITYTYPE_STORAGE_CONTAINER EntityType = 4 ENTITYTYPE_VOLUME_GROUP EntityType = 5 ENTITYTYPE_TASK EntityType = 6 ENTITYTYPE_IMAGE EntityType = 7 ENTITYTYPE_CATEGORY EntityType = 8 ENTITYTYPE_NODE EntityType = 9 ENTITYTYPE_VPC EntityType = 10 ENTITYTYPE_SUBNET EntityType = 11 ENTITYTYPE_ROUTING_POLICY EntityType = 12 ENTITYTYPE_FLOATING_IP EntityType = 13 ENTITYTYPE_VPN_GATEWAY EntityType = 14 ENTITYTYPE_VPN_CONNECTION EntityType = 15 ENTITYTYPE_DIRECT_CONNECT EntityType = 16 ENTITYTYPE_DIRECT_CONNECT_VIF EntityType = 17 ENTITYTYPE_VIRTUAL_NIC EntityType = 18 ENTITYTYPE_VIRTUAL_SWITCH EntityType = 19 ENTITYTYPE_VM_DISK EntityType = 20 ENTITYTYPE_VOLUME_DISK EntityType = 21 ENTITYTYPE_DISK_RECOVERY_POINT EntityType = 22 ENTITYTYPE_VTEP_GATEWAY EntityType = 23 ENTITYTYPE_RECOVERY_PLAN EntityType = 24 ENTITYTYPE_RECOVERY_PLAN_JOB EntityType = 25 ENTITYTYPE_AVAILABILITY_ZONE EntityType = 26 ENTITYTYPE_VIRTUAL_NETWORK EntityType = 27 ENTITYTYPE_CONSISTENCY_GROUP EntityType = 28 ENTITYTYPE_SUBNET_EXTENSION EntityType = 29 )
func (EntityType) GetName ¶ added in v4.2.1
func (e EntityType) GetName() string
Returns the name of the enum
func (*EntityType) MarshalJSON ¶ added in v4.2.1
func (e *EntityType) MarshalJSON() ([]byte, error)
func (EntityType) Ref ¶ added in v4.2.1
func (e EntityType) Ref() *EntityType
func (*EntityType) UnmarshalJSON ¶ added in v4.2.1
func (e *EntityType) UnmarshalJSON(b []byte) error
type FileDetail ¶
func NewFileDetail ¶
func NewFileDetail() *FileDetail
type Flag ¶
type Flag struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
Name of the flag.
*/
Name *string `json:"name,omitempty"`
/*
Value of the flag.
*/
Value *bool `json:"value,omitempty"`
}
Many entities in the Nutanix APIs carry flags. This object captures all the flags associated with that entity through this object. The field that hosts this type of object must have an attribute called x-bounded-map-keys that tells which flags are actually present for that entity.
func (*Flag) MarshalJSON ¶ added in v4.1.1
func (*Flag) UnmarshalJSON ¶ added in v4.1.1
type IPAddress ¶
type IPAddress struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
Ipv4 *IPv4Address `json:"ipv4,omitempty"`
Ipv6 *IPv6Address `json:"ipv6,omitempty"`
}
An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.
func NewIPAddress ¶
func NewIPAddress() *IPAddress
func (*IPAddress) MarshalJSON ¶ added in v4.1.1
func (*IPAddress) UnmarshalJSON ¶ added in v4.1.1
type IPv4Address ¶
type IPv4Address struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
The prefix length of the network to which this host IPv4 address belongs.
*/
PrefixLength *int `json:"prefixLength,omitempty"`
/*
The IPv4 address of the host.
*/
Value *string `json:"value"`
}
An unique address that identifies a device on the internet or a local network in IPv4 format.
func NewIPv4Address ¶
func NewIPv4Address() *IPv4Address
func (*IPv4Address) MarshalJSON ¶
func (p *IPv4Address) MarshalJSON() ([]byte, error)
func (*IPv4Address) UnmarshalJSON ¶ added in v4.1.1
func (p *IPv4Address) UnmarshalJSON(b []byte) error
type IPv6Address ¶
type IPv6Address struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
The prefix length of the network to which this host IPv6 address belongs.
*/
PrefixLength *int `json:"prefixLength,omitempty"`
/*
The IPv6 address of the host.
*/
Value *string `json:"value"`
}
An unique address that identifies a device on the internet or a local network in IPv6 format.
func NewIPv6Address ¶
func NewIPv6Address() *IPv6Address
func (*IPv6Address) MarshalJSON ¶
func (p *IPv6Address) MarshalJSON() ([]byte, error)
func (*IPv6Address) UnmarshalJSON ¶ added in v4.1.1
func (p *IPv6Address) UnmarshalJSON(b []byte) error
type KVPair ¶
type KVPair struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
The key of the key-value pair.
*/
Name *string `json:"name,omitempty"`
/*
*/
ValueItemDiscriminator_ *string `json:"$valueItemDiscriminator,omitempty"`
/*
The value associated with the key for this key-value pair
*/
Value *OneOfKVPairValue `json:"value,omitempty"`
}
A map describing a set of keys and their corresponding values.
func (*KVPair) MarshalJSON ¶ added in v4.1.1
func (*KVPair) UnmarshalJSON ¶ added in v4.1.1
type MapOfStringWrapper ¶
type MapOfStringWrapper struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
A map with string keys and values.
*/
Map map[string]string `json:"map,omitempty"`
}
A wrapper schema containing a map with string keys and values.
func NewMapOfStringWrapper ¶
func NewMapOfStringWrapper() *MapOfStringWrapper
func (*MapOfStringWrapper) MarshalJSON ¶ added in v4.1.1
func (p *MapOfStringWrapper) MarshalJSON() ([]byte, error)
func (*MapOfStringWrapper) UnmarshalJSON ¶ added in v4.1.1
func (p *MapOfStringWrapper) UnmarshalJSON(b []byte) error
type Message ¶
type Message struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
A code that uniquely identifies a message.
*/
Code *string `json:"code,omitempty"`
/*
The locale for the message description.
*/
Locale *string `json:"locale,omitempty"`
/*
The description of the message.
*/
Message *string `json:"message,omitempty"`
Severity *MessageSeverity `json:"severity,omitempty"`
}
func NewMessage ¶
func NewMessage() *Message
func (*Message) MarshalJSON ¶ added in v4.1.1
func (*Message) UnmarshalJSON ¶ added in v4.1.1
type MessageSeverity ¶
type MessageSeverity int
The message severity.
const ( MESSAGESEVERITY_UNKNOWN MessageSeverity = 0 MESSAGESEVERITY_REDACTED MessageSeverity = 1 MESSAGESEVERITY_INFO MessageSeverity = 2 MESSAGESEVERITY_WARNING MessageSeverity = 3 MESSAGESEVERITY_ERROR MessageSeverity = 4 )
func (MessageSeverity) GetName ¶
func (e MessageSeverity) GetName() string
Returns the name of the enum
func (*MessageSeverity) MarshalJSON ¶
func (e *MessageSeverity) MarshalJSON() ([]byte, error)
func (MessageSeverity) Ref ¶
func (e MessageSeverity) Ref() *MessageSeverity
func (*MessageSeverity) UnmarshalJSON ¶
func (e *MessageSeverity) UnmarshalJSON(b []byte) error
type NutanixObjectsBucket ¶ added in v4.4.1
type NutanixObjectsBucket struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
*/
AuthCredentialsItemDiscriminator_ *string `json:"$authCredentialsItemDiscriminator,omitempty"`
/*
Authentication credentials for accessing the object store.
*/
AuthCredentials *OneOfNutanixObjectsBucketAuthCredentials `json:"authCredentials"`
/*
Nutanix Objects bucket name.
*/
BucketName *string `json:"bucketName"`
/*
Complete endpoint URL of the Nutanix Objects account including protocol (http/https) and hostname or IP address. Example: https://10.1.2.100
*/
EndPoint *string `json:"endPoint"`
}
Reference to the Nutanix Objects bucket.
func NewNutanixObjectsBucket ¶ added in v4.4.1
func NewNutanixObjectsBucket() *NutanixObjectsBucket
func (*NutanixObjectsBucket) GetAuthCredentials ¶ added in v4.4.1
func (p *NutanixObjectsBucket) GetAuthCredentials() interface{}
func (*NutanixObjectsBucket) MarshalJSON ¶ added in v4.4.1
func (p *NutanixObjectsBucket) MarshalJSON() ([]byte, error)
func (*NutanixObjectsBucket) SetAuthCredentials ¶ added in v4.4.1
func (p *NutanixObjectsBucket) SetAuthCredentials(v interface{}) error
func (*NutanixObjectsBucket) UnmarshalJSON ¶ added in v4.4.1
func (p *NutanixObjectsBucket) UnmarshalJSON(b []byte) error
type ObjectStoreBucket ¶ added in v4.4.1
type ObjectStoreBucket struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
Name of the object store bucket. In case of Azure blob store, this refers to the container name.
*/
BucketName *string `json:"bucketName,omitempty"`
Provider *ObjectStoreProvider `json:"provider,omitempty"`
/*
*/
ProviderConfigItemDiscriminator_ *string `json:"$providerConfigItemDiscriminator,omitempty"`
/*
Configuration details specific to the selected object store provider.
*/
ProviderConfig *OneOfObjectStoreBucketProviderConfig `json:"providerConfig"`
}
Object store bucket.
func NewObjectStoreBucket ¶ added in v4.4.1
func NewObjectStoreBucket() *ObjectStoreBucket
func (*ObjectStoreBucket) GetProviderConfig ¶ added in v4.4.1
func (p *ObjectStoreBucket) GetProviderConfig() interface{}
func (*ObjectStoreBucket) MarshalJSON ¶ added in v4.4.1
func (p *ObjectStoreBucket) MarshalJSON() ([]byte, error)
func (*ObjectStoreBucket) SetProviderConfig ¶ added in v4.4.1
func (p *ObjectStoreBucket) SetProviderConfig(v interface{}) error
func (*ObjectStoreBucket) UnmarshalJSON ¶ added in v4.4.1
func (p *ObjectStoreBucket) UnmarshalJSON(b []byte) error
type ObjectStoreProvider ¶ added in v4.4.1
type ObjectStoreProvider int
Object store provider like Azure, AWS, Nutanix etc.
const ( OBJECTSTOREPROVIDER_UNKNOWN ObjectStoreProvider = 0 OBJECTSTOREPROVIDER_REDACTED ObjectStoreProvider = 1 OBJECTSTOREPROVIDER_AZURE ObjectStoreProvider = 2 OBJECTSTOREPROVIDER_AWS ObjectStoreProvider = 3 OBJECTSTOREPROVIDER_NUTANIX ObjectStoreProvider = 4 )
func (ObjectStoreProvider) GetName ¶ added in v4.4.1
func (e ObjectStoreProvider) GetName() string
Returns the name of the enum
func (*ObjectStoreProvider) MarshalJSON ¶ added in v4.4.1
func (e *ObjectStoreProvider) MarshalJSON() ([]byte, error)
func (ObjectStoreProvider) Ref ¶ added in v4.4.1
func (e ObjectStoreProvider) Ref() *ObjectStoreProvider
func (*ObjectStoreProvider) UnmarshalJSON ¶ added in v4.4.1
func (e *ObjectStoreProvider) UnmarshalJSON(b []byte) error
type OneOfAmazonS3BucketAuthCredentials ¶ added in v4.4.1
type OneOfAmazonS3BucketAuthCredentials struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// Holds data with unknown oneOf types
UnknownValue_ interface{} `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfAmazonS3BucketAuthCredentials ¶ added in v4.4.1
func NewOneOfAmazonS3BucketAuthCredentials() *OneOfAmazonS3BucketAuthCredentials
func (*OneOfAmazonS3BucketAuthCredentials) GetValue ¶ added in v4.4.1
func (p *OneOfAmazonS3BucketAuthCredentials) GetValue() interface{}
func (*OneOfAmazonS3BucketAuthCredentials) MarshalJSON ¶ added in v4.4.1
func (p *OneOfAmazonS3BucketAuthCredentials) MarshalJSON() ([]byte, error)
func (*OneOfAmazonS3BucketAuthCredentials) SetValue ¶ added in v4.4.1
func (p *OneOfAmazonS3BucketAuthCredentials) SetValue(v interface{}) error
func (*OneOfAmazonS3BucketAuthCredentials) UnmarshalJSON ¶ added in v4.4.1
func (p *OneOfAmazonS3BucketAuthCredentials) UnmarshalJSON(b []byte) error
type OneOfAzureBlobStorageContainerAuthCredentials ¶ added in v4.4.1
type OneOfAzureBlobStorageContainerAuthCredentials struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// Holds data with unknown oneOf types
UnknownValue_ interface{} `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfAzureBlobStorageContainerAuthCredentials ¶ added in v4.4.1
func NewOneOfAzureBlobStorageContainerAuthCredentials() *OneOfAzureBlobStorageContainerAuthCredentials
func (*OneOfAzureBlobStorageContainerAuthCredentials) GetValue ¶ added in v4.4.1
func (p *OneOfAzureBlobStorageContainerAuthCredentials) GetValue() interface{}
func (*OneOfAzureBlobStorageContainerAuthCredentials) MarshalJSON ¶ added in v4.4.1
func (p *OneOfAzureBlobStorageContainerAuthCredentials) MarshalJSON() ([]byte, error)
func (*OneOfAzureBlobStorageContainerAuthCredentials) SetValue ¶ added in v4.4.1
func (p *OneOfAzureBlobStorageContainerAuthCredentials) SetValue(v interface{}) error
func (*OneOfAzureBlobStorageContainerAuthCredentials) UnmarshalJSON ¶ added in v4.4.1
func (p *OneOfAzureBlobStorageContainerAuthCredentials) UnmarshalJSON(b []byte) error
type OneOfKVPairValue ¶
type OneOfKVPairValue struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// Holds data with unknown oneOf types
UnknownValue_ interface{} `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfKVPairValue ¶
func NewOneOfKVPairValue() *OneOfKVPairValue
func (*OneOfKVPairValue) GetValue ¶
func (p *OneOfKVPairValue) GetValue() interface{}
func (*OneOfKVPairValue) MarshalJSON ¶
func (p *OneOfKVPairValue) MarshalJSON() ([]byte, error)
func (*OneOfKVPairValue) SetValue ¶
func (p *OneOfKVPairValue) SetValue(v interface{}) error
func (*OneOfKVPairValue) UnmarshalJSON ¶
func (p *OneOfKVPairValue) UnmarshalJSON(b []byte) error
type OneOfNutanixObjectsBucketAuthCredentials ¶ added in v4.4.1
type OneOfNutanixObjectsBucketAuthCredentials struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// Holds data with unknown oneOf types
UnknownValue_ interface{} `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfNutanixObjectsBucketAuthCredentials ¶ added in v4.4.1
func NewOneOfNutanixObjectsBucketAuthCredentials() *OneOfNutanixObjectsBucketAuthCredentials
func (*OneOfNutanixObjectsBucketAuthCredentials) GetValue ¶ added in v4.4.1
func (p *OneOfNutanixObjectsBucketAuthCredentials) GetValue() interface{}
func (*OneOfNutanixObjectsBucketAuthCredentials) MarshalJSON ¶ added in v4.4.1
func (p *OneOfNutanixObjectsBucketAuthCredentials) MarshalJSON() ([]byte, error)
func (*OneOfNutanixObjectsBucketAuthCredentials) SetValue ¶ added in v4.4.1
func (p *OneOfNutanixObjectsBucketAuthCredentials) SetValue(v interface{}) error
func (*OneOfNutanixObjectsBucketAuthCredentials) UnmarshalJSON ¶ added in v4.4.1
func (p *OneOfNutanixObjectsBucketAuthCredentials) UnmarshalJSON(b []byte) error
type OneOfObjectStoreBucketProviderConfig ¶ added in v4.4.1
type OneOfObjectStoreBucketProviderConfig struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// Holds data with unknown oneOf types
UnknownValue_ interface{} `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfObjectStoreBucketProviderConfig ¶ added in v4.4.1
func NewOneOfObjectStoreBucketProviderConfig() *OneOfObjectStoreBucketProviderConfig
func (*OneOfObjectStoreBucketProviderConfig) GetValue ¶ added in v4.4.1
func (p *OneOfObjectStoreBucketProviderConfig) GetValue() interface{}
func (*OneOfObjectStoreBucketProviderConfig) MarshalJSON ¶ added in v4.4.1
func (p *OneOfObjectStoreBucketProviderConfig) MarshalJSON() ([]byte, error)
func (*OneOfObjectStoreBucketProviderConfig) SetValue ¶ added in v4.4.1
func (p *OneOfObjectStoreBucketProviderConfig) SetValue(v interface{}) error
func (*OneOfObjectStoreBucketProviderConfig) UnmarshalJSON ¶ added in v4.4.1
func (p *OneOfObjectStoreBucketProviderConfig) UnmarshalJSON(b []byte) error
type SigV4Credentials ¶ added in v4.4.1
type SigV4Credentials struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
Access key identifier for authentication.
*/
AccessKeyId *string `json:"accessKeyId"`
/*
Secret access key for authentication.
*/
SecretAccessKey *string `json:"secretAccessKey"`
}
AWS Signature Version 4 credentials for authentication.
func NewSigV4Credentials ¶ added in v4.4.1
func NewSigV4Credentials() *SigV4Credentials
func (*SigV4Credentials) MarshalJSON ¶ added in v4.4.1
func (p *SigV4Credentials) MarshalJSON() ([]byte, error)
func (*SigV4Credentials) UnmarshalJSON ¶ added in v4.4.1
func (p *SigV4Credentials) UnmarshalJSON(b []byte) error
type TenantAwareModel ¶
type TenantAwareModel struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this ID to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
*/
TenantId *string `json:"tenantId,omitempty"`
}
A model base class whose instances are bound to a specific tenant. This model adds a tenantId to the base model class that it extends and is automatically set by the server.
func NewTenantAwareModel ¶
func NewTenantAwareModel() *TenantAwareModel
func (*TenantAwareModel) MarshalJSON ¶ added in v4.1.1
func (p *TenantAwareModel) MarshalJSON() ([]byte, error)
func (*TenantAwareModel) UnmarshalJSON ¶ added in v4.1.1
func (p *TenantAwareModel) UnmarshalJSON(b []byte) error