authn

package
v4.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

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)

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 (*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) GetName

func (e CreationType) GetName() string

Returns the name of the enum

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

type FileDetail struct {
	Path        *string `json:"-"`
	ObjectType_ *string `json:"-"`
}

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 NewUser

func NewUser() *User

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.

const (
	USERTYPE_UNKNOWN         UserType = 0
	USERTYPE_REDACTED        UserType = 1
	USERTYPE_LOCAL           UserType = 2
	USERTYPE_SAML            UserType = 3
	USERTYPE_LDAP            UserType = 4
	USERTYPE_EXTERNAL        UserType = 5
	USERTYPE_SERVICE_ACCOUNT UserType = 6
)

func (UserType) GetName

func (e UserType) GetName() string

Returns the name of the enum

func (*UserType) MarshalJSON

func (e *UserType) MarshalJSON() ([]byte, error)

func (UserType) Ref

func (e UserType) Ref() *UserType

func (*UserType) UnmarshalJSON

func (e *UserType) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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