Documentation
¶
Overview ¶
Module iam.v4.authn of Nutanix Virtual Machine Management APIs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BucketsAccessKey ¶
type BucketsAccessKey struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
Name of the bucket access key.
*/
AccessKeyName *string `json:"accessKeyName"`
/*
External client to whom this key is allocated.
*/
AssignedTo *string `json:"assignedTo,omitempty"`
/*
Service account user who created the buckets access key.
*/
CreatedBy *string `json:"createdBy,omitempty"`
/*
Creation time for the bucket access key.
*/
CreatedTime *time.Time `json:"createdTime,omitempty"`
CreationType *CreationType `json:"creationType,omitempty"`
/*
The expiry time of the buckets access Key.
*/
ExpiryTime *time.Time `json:"expiryTime,omitempty"`
/*
A globally unique identifier of an instance that is suitable for external consumption.
*/
ExtId *string `json:"extId,omitempty"`
/*
Entity that updated the buckets access key.
*/
LastUpdatedBy *string `json:"lastUpdatedBy,omitempty"`
/*
Creation time for the bucket access key.
*/
LastUpdatedTime *time.Time `json:"lastUpdatedTime,omitempty"`
/*
A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
*/
Links []import1.ApiLink `json:"links,omitempty"`
/*
This represents secret access key, which will be returned only during access key creation.
*/
SecretAccessKey *string `json:"secretAccessKey,omitempty"`
Status *BucketsAccessKeyStatusType `json:"status,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"`
/*
User identifier who owns the bucket access key.
*/
UserId *string `json:"userId,omitempty"`
}
Information of bucket access key.
func NewBucketsAccessKey ¶
func NewBucketsAccessKey() *BucketsAccessKey
func (*BucketsAccessKey) MarshalJSON ¶
func (p *BucketsAccessKey) MarshalJSON() ([]byte, error)
func (*BucketsAccessKey) UnmarshalJSON ¶ added in v4.1.1
func (p *BucketsAccessKey) UnmarshalJSON(b []byte) error
type BucketsAccessKeyStatusType ¶
type BucketsAccessKeyStatusType int
The status of the buckets access key, that is, valid, expired or revoked.
const ( BUCKETSACCESSKEYSTATUSTYPE_UNKNOWN BucketsAccessKeyStatusType = 0 BUCKETSACCESSKEYSTATUSTYPE_REDACTED BucketsAccessKeyStatusType = 1 BUCKETSACCESSKEYSTATUSTYPE_VALID BucketsAccessKeyStatusType = 2 BUCKETSACCESSKEYSTATUSTYPE_REVOKED BucketsAccessKeyStatusType = 3 BUCKETSACCESSKEYSTATUSTYPE_EXPIRED BucketsAccessKeyStatusType = 4 )
func (BucketsAccessKeyStatusType) GetName ¶
func (e BucketsAccessKeyStatusType) GetName() string
Returns the name of the enum
func (*BucketsAccessKeyStatusType) MarshalJSON ¶
func (e *BucketsAccessKeyStatusType) MarshalJSON() ([]byte, error)
func (BucketsAccessKeyStatusType) Ref ¶
func (e BucketsAccessKeyStatusType) Ref() *BucketsAccessKeyStatusType
func (*BucketsAccessKeyStatusType) UnmarshalJSON ¶
func (e *BucketsAccessKeyStatusType) UnmarshalJSON(b []byte) error
type CreationType ¶
type CreationType int
The creation mechanism of this entity.
const ( CREATIONTYPE_UNKNOWN CreationType = 0 CREATIONTYPE_REDACTED CreationType = 1 CREATIONTYPE_PREDEFINED CreationType = 2 CREATIONTYPE_USERDEFINED CreationType = 3 CREATIONTYPE_SERVICEDEFINED CreationType = 4 )
func (*CreationType) MarshalJSON ¶
func (e *CreationType) MarshalJSON() ([]byte, error)
func (CreationType) Ref ¶
func (e CreationType) Ref() *CreationType
func (*CreationType) UnmarshalJSON ¶
func (e *CreationType) UnmarshalJSON(b []byte) error
type FileDetail ¶
func NewFileDetail ¶
func NewFileDetail() *FileDetail
type User ¶
type User struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
Indicates additional attributes of the user.
*/
AdditionalAttributes []import2.KVPair `json:"additionalAttributes,omitempty"`
/*
Bucket access keys for the user.
*/
BucketsAccessKeys []BucketsAccessKey `json:"bucketsAccessKeys,omitempty"`
/*
User or Service who created the user.
*/
CreatedBy *string `json:"createdBy,omitempty"`
/*
Creation time of the user.
*/
CreatedTime *time.Time `json:"createdTime,omitempty"`
CreationType *CreationType `json:"creationType,omitempty"`
/*
Description of the user.
*/
Description *string `json:"description,omitempty"`
/*
Display name of the user. For LDAP and SAML users, this is set from AD config.
*/
DisplayName *string `json:"displayName,omitempty"`
/*
Email ID of the user.
*/
EmailId *string `json:"emailId,omitempty"`
/*
A globally unique identifier of an instance that is suitable for external consumption.
*/
ExtId *string `json:"extId,omitempty"`
/*
First name of the user.
*/
FirstName *string `json:"firstName,omitempty"`
/*
Identifier of the IDP for the user.
*/
IdpId *string `json:"idpId,omitempty"`
/*
Flag to force the user to reset password.
*/
IsForceResetPasswordEnabled *bool `json:"isForceResetPasswordEnabled,omitempty"`
/*
The last successful login time for the user.
*/
LastLoginTime *time.Time `json:"lastLoginTime,omitempty"`
/*
Last name of the user.
*/
LastName *string `json:"lastName,omitempty"`
/*
Last updated by this user ID.
*/
LastUpdatedBy *string `json:"lastUpdatedBy,omitempty"`
/*
The last updated time for the user.
*/
LastUpdatedTime *time.Time `json:"lastUpdatedTime,omitempty"`
/*
A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
*/
Links []import1.ApiLink `json:"links,omitempty"`
/*
Default locale of the user.
*/
Locale *string `json:"locale,omitempty"`
/*
Middle name of the user.
*/
MiddleInitial *string `json:"middleInitial,omitempty"`
/*
Password of the user.
*/
Password *string `json:"password,omitempty"`
/*
Default region of the user.
*/
Region *string `json:"region,omitempty"`
Status *UserStatusType `json:"status,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"`
UserType *UserType `json:"userType,omitempty"`
/*
Identifier of the user.
*/
Username *string `json:"username,omitempty"`
}
Information of the user.
func (*User) MarshalJSON ¶ added in v4.1.1
func (*User) UnmarshalJSON ¶ added in v4.1.1
type UserStatusType ¶
type UserStatusType int
Status of the user.
const ( USERSTATUSTYPE_UNKNOWN UserStatusType = 0 USERSTATUSTYPE_REDACTED UserStatusType = 1 USERSTATUSTYPE_ACTIVE UserStatusType = 2 USERSTATUSTYPE_INACTIVE UserStatusType = 3 )
func (UserStatusType) GetName ¶
func (e UserStatusType) GetName() string
Returns the name of the enum
func (*UserStatusType) MarshalJSON ¶
func (e *UserStatusType) MarshalJSON() ([]byte, error)
func (UserStatusType) Ref ¶
func (e UserStatusType) Ref() *UserStatusType
func (*UserStatusType) UnmarshalJSON ¶
func (e *UserStatusType) UnmarshalJSON(b []byte) error
type UserType ¶
type UserType int
User type like SAML user or local user, and so on.
func (*UserType) MarshalJSON ¶
func (*UserType) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.