authn

package
v4.0.1-beta.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: UNKNOWN not legal advice Imports: 7 Imported by: 0

Documentation

Overview

Module iam.v4.authn of Nutanix VMM 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"`
	/*
	  Creation time for the Bucket Access Key.
	*/
	CreatedTime *time.Time `json:"createdTime,omitempty"`
	/*
	  A globally unique identifier of an instance that is suitable for external consumption.
	*/
	ExtId *string `json:"extId,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"`
	/*
	  Secret Access Key, it will be returned only during Bucket Access Key creation.
	*/
	SecretAccessKey *string `json:"secretAccessKey,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"`
}

Information of Bucket Access Key.

func NewBucketsAccessKey

func NewBucketsAccessKey() *BucketsAccessKey

func (*BucketsAccessKey) MarshalJSON

func (p *BucketsAccessKey) MarshalJSON() ([]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"`
	/*
	  Any additional attribute for 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"`
	/*
	  Display name for the User.
	*/
	DisplayName *string `json:"displayName,omitempty"`
	/*
	  Email Id for 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 for 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"`
	/*
	  Last successful logged in time for the User.
	*/
	LastLoginTime *time.Time `json:"lastLoginTime,omitempty"`
	/*
	  Last name for the User.
	*/
	LastName *string `json:"lastName,omitempty"`
	/*
	  Last updated by this User ID.
	*/
	LastUpdatedBy *string `json:"lastUpdatedBy,omitempty"`
	/*
	  Last updated time of 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 for the User.
	*/
	Locale *string `json:"locale,omitempty"`
	/*
	  Middle name for the User.
	*/
	MiddleInitial *string `json:"middleInitial,omitempty"`
	/*
	  Password for the User.
	*/
	Password *string `json:"password,omitempty"`
	/*
	  Default Region for 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 for the User in the form an email address.
	*/
	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

Type of the User.

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
)

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