models

package
v0.5.10 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (

	// AccessKeyStatusACTIVE captures enum value "ACTIVE"
	AccessKeyStatusACTIVE string = "ACTIVE"

	// AccessKeyStatusINACTIVE captures enum value "INACTIVE"
	AccessKeyStatusINACTIVE string = "INACTIVE"
)
View Source
const (

	// UpdateAccessKeyRequestStatusACTIVE captures enum value "ACTIVE"
	UpdateAccessKeyRequestStatusACTIVE string = "ACTIVE"

	// UpdateAccessKeyRequestStatusINACTIVE captures enum value "INACTIVE"
	UpdateAccessKeyRequestStatusINACTIVE string = "INACTIVE"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessKey

type AccessKey struct {

	// The ID of the access key.
	// Required: true
	AccessKeyID *string `json:"accessKeyId"`

	// The CRN of the actor with which this access key is associated.
	// Required: true
	ActorCrn *string `json:"actorCrn"`

	// The date when the access key was created.
	// Required: true
	// Format: date-time
	CreationDate *strfmt.DateTime `json:"creationDate"`

	// The CRN of the access key.
	// Required: true
	Crn *string `json:"crn"`

	// Information on the last time this access key was used.
	LastUsage *AccessKeyLastUsage `json:"lastUsage,omitempty"`

	// The status of an access key.
	// Enum: [ACTIVE INACTIVE]
	Status string `json:"status,omitempty"`

	// The type of an access key.
	Type AccessKeyType `json:"type,omitempty"`
}

AccessKey Information about a Cloudera CDP access key.

swagger:model AccessKey

func (*AccessKey) ContextValidate

func (m *AccessKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this access key based on the context it is used

func (*AccessKey) MarshalBinary

func (m *AccessKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccessKey) UnmarshalBinary

func (m *AccessKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccessKey) Validate

func (m *AccessKey) Validate(formats strfmt.Registry) error

Validate validates this access key

type AccessKeyLastUsage

type AccessKeyLastUsage struct {

	// The date when the access key was last used.
	// Format: date-time
	LastUsageDate strfmt.DateTime `json:"lastUsageDate,omitempty"`

	// The name of the service with which this access key was most recently used.
	ServiceName string `json:"serviceName,omitempty"`
}

AccessKeyLastUsage Information on the last time an access key was used.

swagger:model AccessKeyLastUsage

func (*AccessKeyLastUsage) ContextValidate

func (m *AccessKeyLastUsage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this access key last usage based on context it is used

func (*AccessKeyLastUsage) MarshalBinary

func (m *AccessKeyLastUsage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccessKeyLastUsage) UnmarshalBinary

func (m *AccessKeyLastUsage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccessKeyLastUsage) Validate

func (m *AccessKeyLastUsage) Validate(formats strfmt.Registry) error

Validate validates this access key last usage

type AccessKeyType

type AccessKeyType string

AccessKeyType The version of an access key. `V1` - Deprecated, use RSA as the request signing algorithm. `V2` - Use ED25519 as the request signing algorithm. `V3` - Use ECDSA as the request signing algorithm. `DEFAULT` - Use the system default signing algorithm (V3 in GovCloud, V2 in other regions).

swagger:model AccessKeyType

const (

	// AccessKeyTypeV1 captures enum value "V1"
	AccessKeyTypeV1 AccessKeyType = "V1"

	// AccessKeyTypeV2 captures enum value "V2"
	AccessKeyTypeV2 AccessKeyType = "V2"

	// AccessKeyTypeV3 captures enum value "V3"
	AccessKeyTypeV3 AccessKeyType = "V3"
)

func NewAccessKeyType

func NewAccessKeyType(value AccessKeyType) *AccessKeyType

func (AccessKeyType) ContextValidate

func (m AccessKeyType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this access key type based on context it is used

func (AccessKeyType) Pointer

func (m AccessKeyType) Pointer() *AccessKeyType

Pointer returns a pointer to a freshly-allocated AccessKeyType.

func (AccessKeyType) Validate

func (m AccessKeyType) Validate(formats strfmt.Registry) error

Validate validates this access key type

type Account

type Account struct {

	// The authentication policy object. May be omitted if no such policy was defined.
	AuthenticationPolicy *AuthenticationPolicy `json:"authenticationPolicy,omitempty"`

	// Whether login is enabled for Cloudera SSO users. It can only be set by Cloudera upon request and disables interactive login through Cloudera SSO. Note that restricting Cloudera SSO login will prevent account administrators from logging in interactively. Its default value is 'true'. When it is 'true', the Cloudera SSO interactive login behavior is controlled according to the existing `clouderaSSOLoginEnabled` flag. When it is 'false', it overrides the setting for `clouderaSSOLoginEnabled`.
	// Required: true
	ClouderaSSOAllLoginEnabled *bool `json:"clouderaSSOAllLoginEnabled"`

	// Whether interactive login using Cloudera SSO is enabled for users who are not account administrators. Its default value is 'true'. When it is 'true', the account administrators, as well as non-administrator users can login through Cloudera SSO. When it is 'false', Cloudera SSO users who are not account administrators will not be able to login.
	// Required: true
	ClouderaSSOLoginEnabled *bool `json:"clouderaSSOLoginEnabled"`

	// The machine user workload password policy object. May be omitted if no such policy was defined.
	MachineUserWorkloadPasswordPolicy *WorkloadPasswordPolicy `json:"machineUserWorkloadPasswordPolicy,omitempty"`

	// The workload password policy object.
	// Required: true
	WorkloadPasswordPolicy *WorkloadPasswordPolicy `json:"workloadPasswordPolicy"`
}

Account Information about a Cloudera CDP account.

swagger:model Account

func (*Account) ContextValidate

func (m *Account) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this account based on the context it is used

func (*Account) MarshalBinary

func (m *Account) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Account) UnmarshalBinary

func (m *Account) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Account) Validate

func (m *Account) Validate(formats strfmt.Registry) error

Validate validates this account

type AddMachineUserToGroupRequest

type AddMachineUserToGroupRequest struct {

	// The name or CRN of the group to add the machine user to.
	// Required: true
	GroupName *string `json:"groupName"`

	// The name or CRN of the machine user to add to the group.
	// Required: true
	MachineUserName *string `json:"machineUserName"`
}

AddMachineUserToGroupRequest Request object for an add machine user to group request.

swagger:model AddMachineUserToGroupRequest

func (*AddMachineUserToGroupRequest) ContextValidate

func (m *AddMachineUserToGroupRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this add machine user to group request based on context it is used

func (*AddMachineUserToGroupRequest) MarshalBinary

func (m *AddMachineUserToGroupRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AddMachineUserToGroupRequest) UnmarshalBinary

func (m *AddMachineUserToGroupRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AddMachineUserToGroupRequest) Validate

func (m *AddMachineUserToGroupRequest) Validate(formats strfmt.Registry) error

Validate validates this add machine user to group request

type AddMachineUserToGroupResponse

type AddMachineUserToGroupResponse interface{}

AddMachineUserToGroupResponse Response object for add machine user to group request.

swagger:model AddMachineUserToGroupResponse

type AddSSHPublicKeyRequest

type AddSSHPublicKeyRequest struct {

	// The CRN of the user or machine user for whom the SSH public key will be added. If it is not included, it defaults to the user making the request.
	ActorCrn string `json:"actorCrn,omitempty"`

	// An optional description for the public key.
	Description string `json:"description,omitempty"`

	// The RSA or ED25519 public ssh key to add. DSA and ECDSA public keys are not supported. The public key should be in RFC4253 format. (e.g. ssh-rsa AAAAB3NzaC1yc2EAAA.. user@host) as produced, for example, by ssh-keygen.
	// Required: true
	PublicKey *string `json:"publicKey"`
}

AddSSHPublicKeyRequest Request object for add user ssh public key.

swagger:model AddSshPublicKeyRequest

func (*AddSSHPublicKeyRequest) ContextValidate

func (m *AddSSHPublicKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this add Ssh public key request based on context it is used

func (*AddSSHPublicKeyRequest) MarshalBinary

func (m *AddSSHPublicKeyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AddSSHPublicKeyRequest) UnmarshalBinary

func (m *AddSSHPublicKeyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AddSSHPublicKeyRequest) Validate

func (m *AddSSHPublicKeyRequest) Validate(formats strfmt.Registry) error

Validate validates this add Ssh public key request

type AddSSHPublicKeyResponse

type AddSSHPublicKeyResponse struct {

	// Information about the SSH public key.
	// Required: true
	SSHPublicKey *SSHPublicKey `json:"sshPublicKey"`
}

AddSSHPublicKeyResponse Response object for add ssh public key.

swagger:model AddSshPublicKeyResponse

func (*AddSSHPublicKeyResponse) ContextValidate

func (m *AddSSHPublicKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this add Ssh public key response based on the context it is used

func (*AddSSHPublicKeyResponse) MarshalBinary

func (m *AddSSHPublicKeyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AddSSHPublicKeyResponse) UnmarshalBinary

func (m *AddSSHPublicKeyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AddSSHPublicKeyResponse) Validate

func (m *AddSSHPublicKeyResponse) Validate(formats strfmt.Registry) error

Validate validates this add Ssh public key response

type AddUserToGroupRequest

type AddUserToGroupRequest struct {

	// The name or CRN of the group to add the user to.
	// Required: true
	GroupName *string `json:"groupName"`

	// The ID or CRN of the user to add to the group.
	// Required: true
	UserID *string `json:"userId"`
}

AddUserToGroupRequest Request object for an add user to group request.

swagger:model AddUserToGroupRequest

func (*AddUserToGroupRequest) ContextValidate

func (m *AddUserToGroupRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this add user to group request based on context it is used

func (*AddUserToGroupRequest) MarshalBinary

func (m *AddUserToGroupRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AddUserToGroupRequest) UnmarshalBinary

func (m *AddUserToGroupRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AddUserToGroupRequest) Validate

func (m *AddUserToGroupRequest) Validate(formats strfmt.Registry) error

Validate validates this add user to group request

type AddUserToGroupResponse

type AddUserToGroupResponse interface{}

AddUserToGroupResponse Response object for an add user to group request.

swagger:model AddUserToGroupResponse

type AssignAzureCloudIdentityRequest

type AssignAzureCloudIdentityRequest struct {

	// The CRN of the actor or group that the cloud identity will be assigned to.
	// Required: true
	AssigneeCrn *string `json:"assigneeCrn"`

	// The Azure object ID (OID) to assign to the actor or group.
	// Required: true
	ObjectID *string `json:"objectId"`
}

AssignAzureCloudIdentityRequest Request object for an assign Azure cloud identity request.

swagger:model AssignAzureCloudIdentityRequest

func (*AssignAzureCloudIdentityRequest) ContextValidate

func (m *AssignAzureCloudIdentityRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this assign azure cloud identity request based on context it is used

func (*AssignAzureCloudIdentityRequest) MarshalBinary

func (m *AssignAzureCloudIdentityRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AssignAzureCloudIdentityRequest) UnmarshalBinary

func (m *AssignAzureCloudIdentityRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AssignAzureCloudIdentityRequest) Validate

Validate validates this assign azure cloud identity request

type AssignAzureCloudIdentityResponse

type AssignAzureCloudIdentityResponse interface{}

AssignAzureCloudIdentityResponse Response object for an assign Azure cloud identity request.

swagger:model AssignAzureCloudIdentityResponse

type AssignGroupResourceRoleRequest

type AssignGroupResourceRoleRequest struct {

	// The group to assign the resource role to. Can be the group's name or CRN.
	// Required: true
	GroupName *string `json:"groupName"`

	// The resource for which the resource role rights are granted.
	// Required: true
	ResourceCrn *string `json:"resourceCrn"`

	// The CRN of the resource role being assigned to the group.
	// Required: true
	ResourceRoleCrn *string `json:"resourceRoleCrn"`
}

AssignGroupResourceRoleRequest Request object for an assign group resource role request.

swagger:model AssignGroupResourceRoleRequest

func (*AssignGroupResourceRoleRequest) ContextValidate

func (m *AssignGroupResourceRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this assign group resource role request based on context it is used

func (*AssignGroupResourceRoleRequest) MarshalBinary

func (m *AssignGroupResourceRoleRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AssignGroupResourceRoleRequest) UnmarshalBinary

func (m *AssignGroupResourceRoleRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AssignGroupResourceRoleRequest) Validate

func (m *AssignGroupResourceRoleRequest) Validate(formats strfmt.Registry) error

Validate validates this assign group resource role request

type AssignGroupResourceRoleResponse

type AssignGroupResourceRoleResponse interface{}

AssignGroupResourceRoleResponse Response object for an assign group resource role request.

swagger:model AssignGroupResourceRoleResponse

type AssignGroupRoleRequest

type AssignGroupRoleRequest struct {

	// The group to which the role is assigned to. Can be the group name or CRN.
	// Required: true
	GroupName *string `json:"groupName"`

	// The role being assigned to the group. Can be the role's CRN or name.
	// Required: true
	Role *string `json:"role"`
}

AssignGroupRoleRequest Request object for an assign group role request.

swagger:model AssignGroupRoleRequest

func (*AssignGroupRoleRequest) ContextValidate

func (m *AssignGroupRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this assign group role request based on context it is used

func (*AssignGroupRoleRequest) MarshalBinary

func (m *AssignGroupRoleRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AssignGroupRoleRequest) UnmarshalBinary

func (m *AssignGroupRoleRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AssignGroupRoleRequest) Validate

func (m *AssignGroupRoleRequest) Validate(formats strfmt.Registry) error

Validate validates this assign group role request

type AssignGroupRoleResponse

type AssignGroupRoleResponse interface{}

AssignGroupRoleResponse Response object for an assign group role request.

swagger:model AssignGroupRoleResponse

type AssignMachineUserResourceRoleRequest

type AssignMachineUserResourceRoleRequest struct {

	// The machine user to assign the resource role to. Can be the machine user's name or CRN.
	// Required: true
	MachineUserName *string `json:"machineUserName"`

	// The resource for which the resource role rights are granted.
	// Required: true
	ResourceCrn *string `json:"resourceCrn"`

	// The CRN of the resource role to assign to the machine user.
	// Required: true
	ResourceRoleCrn *string `json:"resourceRoleCrn"`
}

AssignMachineUserResourceRoleRequest Request object for an assign machine user resource role request.

swagger:model AssignMachineUserResourceRoleRequest

func (*AssignMachineUserResourceRoleRequest) ContextValidate

func (m *AssignMachineUserResourceRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this assign machine user resource role request based on context it is used

func (*AssignMachineUserResourceRoleRequest) MarshalBinary

func (m *AssignMachineUserResourceRoleRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AssignMachineUserResourceRoleRequest) UnmarshalBinary

func (m *AssignMachineUserResourceRoleRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AssignMachineUserResourceRoleRequest) Validate

Validate validates this assign machine user resource role request

type AssignMachineUserResourceRoleResponse

type AssignMachineUserResourceRoleResponse interface{}

AssignMachineUserResourceRoleResponse Response object for an assign machine user resource role request.

swagger:model AssignMachineUserResourceRoleResponse

type AssignMachineUserRoleRequest

type AssignMachineUserRoleRequest struct {

	// The machine user the role is assigned to. Can be the machine user's name or CRN.
	// Required: true
	MachineUserName *string `json:"machineUserName"`

	// The role to assign to the machine user. Can be the role's name or CRN.
	// Required: true
	Role *string `json:"role"`
}

AssignMachineUserRoleRequest Request object for an assign machine user role request.

swagger:model AssignMachineUserRoleRequest

func (*AssignMachineUserRoleRequest) ContextValidate

func (m *AssignMachineUserRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this assign machine user role request based on context it is used

func (*AssignMachineUserRoleRequest) MarshalBinary

func (m *AssignMachineUserRoleRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AssignMachineUserRoleRequest) UnmarshalBinary

func (m *AssignMachineUserRoleRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AssignMachineUserRoleRequest) Validate

func (m *AssignMachineUserRoleRequest) Validate(formats strfmt.Registry) error

Validate validates this assign machine user role request

type AssignMachineUserRoleResponse

type AssignMachineUserRoleResponse interface{}

AssignMachineUserRoleResponse Response object for an assign machine user role request.

swagger:model AssignMachineUserRoleResponse

type AssignServicePrincipalAzureCloudIdentityRequest

type AssignServicePrincipalAzureCloudIdentityRequest struct {

	// The CRN of the environment for which the cloud identity assignment will be in effect.
	// Required: true
	EnvironmentCrn *string `json:"environmentCrn"`

	// The Azure object ID (OID) to assign to the service principal.
	// Required: true
	ObjectID *string `json:"objectId"`

	// The name of the service principal that the cloud identity will be assigned to.
	// Required: true
	ServicePrincipal *string `json:"servicePrincipal"`
}

AssignServicePrincipalAzureCloudIdentityRequest Request object for an assign service principal Azure cloud identity request.

swagger:model AssignServicePrincipalAzureCloudIdentityRequest

func (*AssignServicePrincipalAzureCloudIdentityRequest) ContextValidate

ContextValidate validates this assign service principal azure cloud identity request based on context it is used

func (*AssignServicePrincipalAzureCloudIdentityRequest) MarshalBinary

MarshalBinary interface implementation

func (*AssignServicePrincipalAzureCloudIdentityRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*AssignServicePrincipalAzureCloudIdentityRequest) Validate

Validate validates this assign service principal azure cloud identity request

type AssignServicePrincipalAzureCloudIdentityResponse

type AssignServicePrincipalAzureCloudIdentityResponse interface{}

AssignServicePrincipalAzureCloudIdentityResponse Response object for an assign service principal Azure cloud identity request.

swagger:model AssignServicePrincipalAzureCloudIdentityResponse

type AssignUserResourceRoleRequest

type AssignUserResourceRoleRequest struct {

	// The resource for which the resource role rights are granted.
	// Required: true
	ResourceCrn *string `json:"resourceCrn"`

	// The CRN of the resource role to assign to the user.
	// Required: true
	ResourceRoleCrn *string `json:"resourceRoleCrn"`

	// The user to assign the resource role to. Can be the user's CRN or id.
	// Required: true
	User *string `json:"user"`
}

AssignUserResourceRoleRequest Request object for an assign user resource role request.

swagger:model AssignUserResourceRoleRequest

func (*AssignUserResourceRoleRequest) ContextValidate

func (m *AssignUserResourceRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this assign user resource role request based on context it is used

func (*AssignUserResourceRoleRequest) MarshalBinary

func (m *AssignUserResourceRoleRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AssignUserResourceRoleRequest) UnmarshalBinary

func (m *AssignUserResourceRoleRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AssignUserResourceRoleRequest) Validate

func (m *AssignUserResourceRoleRequest) Validate(formats strfmt.Registry) error

Validate validates this assign user resource role request

type AssignUserResourceRoleResponse

type AssignUserResourceRoleResponse interface{}

AssignUserResourceRoleResponse Response object for an assign user resource role request.

swagger:model AssignUserResourceRoleResponse

type AssignUserRoleRequest

type AssignUserRoleRequest struct {

	// The role to assign to the user. Can be the role's CRN or name.
	// Required: true
	Role *string `json:"role"`

	// The user the role is assigned to. Can be the user's CRN or id.
	// Required: true
	User *string `json:"user"`
}

AssignUserRoleRequest Request object for an assign user role request.

swagger:model AssignUserRoleRequest

func (*AssignUserRoleRequest) ContextValidate

func (m *AssignUserRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this assign user role request based on context it is used

func (*AssignUserRoleRequest) MarshalBinary

func (m *AssignUserRoleRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AssignUserRoleRequest) UnmarshalBinary

func (m *AssignUserRoleRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AssignUserRoleRequest) Validate

func (m *AssignUserRoleRequest) Validate(formats strfmt.Registry) error

Validate validates this assign user role request

type AssignUserRoleResponse

type AssignUserRoleResponse interface{}

AssignUserRoleResponse Response object for an assign user role request.

swagger:model AssignUserRoleResponse

type AuthenticationPolicy

type AuthenticationPolicy struct {

	// The expiration, in seconds, of the access key. The value of '0' indicates the system default expiration (which is 12 hours).
	AccessKeyExpirationSec int32 `json:"accessKeyExpirationSec,omitempty"`

	// The inactivity duration, in seconds, of the access key, which would invalidate the access key due to no activity. The value of '0' indicates default inactivity duration (which is 1 hour normally and 15 minutes for Cloudera for Government). There's no access key invalidation from no activity if the value is greater or equal to expiration.
	AccessKeyInactivityDurationSec int32 `json:"accessKeyInactivityDurationSec,omitempty"`

	// The list of IP addresses and/or CIDRs used for allowing client access to the UI and API services. Both the allowed list and the blocked list will be used to determine whether to grant or block the client's access. The blocked list takes precedence over the allowed list. When the list is empty or not set, client IP address will not be validated to be present in the allowed list.
	ClientIPAddressesAllowed []string `json:"clientIpAddressesAllowed"`

	// The list of IP addresses and/or CIDRs used for blocking client access to the UI and API services. Both the allowed list and the blocked list will be used to determine whether to grant or block the client's access. The blocked list takes precedence over the allowed list. When the list is empty or not set, client IP address will not be validated to be absent from the blocked list.
	ClientIPAddressesBlocked []string `json:"clientIpAddressesBlocked"`

	// The expiration, in seconds, of the UI session token. The value of '0' indicates the system default expiration (which is 12 hours).
	SessionTokenExpirationSec int32 `json:"sessionTokenExpirationSec,omitempty"`

	// The inactivity duration, in seconds, of the UI session token, which would invalidate the session token due to no activity. The value of '0' indicates default inactivity duration (which is 1 hour normally and 15 minutes for Cloudera for Government). There's no session token invalidation from no activity if the value is greater or equal to expiration.
	SessionTokenInactivityDurationSec int32 `json:"sessionTokenInactivityDurationSec,omitempty"`
}

AuthenticationPolicy Information about the authentication policy for an account.

swagger:model AuthenticationPolicy

func (*AuthenticationPolicy) ContextValidate

func (m *AuthenticationPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this authentication policy based on context it is used

func (*AuthenticationPolicy) MarshalBinary

func (m *AuthenticationPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthenticationPolicy) UnmarshalBinary

func (m *AuthenticationPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthenticationPolicy) Validate

func (m *AuthenticationPolicy) Validate(formats strfmt.Registry) error

Validate validates this authentication policy

type AzureCloudIdentity

type AzureCloudIdentity struct {

	// The CRN of the environment this Azure cloud identity is associated with. If omitted, this cloud identity is associated with all Azure environments.
	EnvironmentCrn string `json:"environmentCrn,omitempty"`

	// The Azure object ID (OID).
	// Required: true
	ObjectID *string `json:"objectId"`
}

AzureCloudIdentity An Azure cloud identity.

swagger:model AzureCloudIdentity

func (*AzureCloudIdentity) ContextValidate

func (m *AzureCloudIdentity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this azure cloud identity based on context it is used

func (*AzureCloudIdentity) MarshalBinary

func (m *AzureCloudIdentity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AzureCloudIdentity) UnmarshalBinary

func (m *AzureCloudIdentity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AzureCloudIdentity) Validate

func (m *AzureCloudIdentity) Validate(formats strfmt.Registry) error

Validate validates this azure cloud identity

type CreateGroupRequest

type CreateGroupRequest struct {

	// The name of the group. This name must be unique. There are certain restrictions on the group name. Refer to the How To > User Management section in the Management Console documentation for the details.
	// Required: true
	GroupName *string `json:"groupName"`

	// Whether group membership is synced when a user logs in. The default is to sync group membership.
	SyncMembershipOnUserLogin *bool `json:"syncMembershipOnUserLogin,omitempty"`
}

CreateGroupRequest Request object for create group request.

swagger:model CreateGroupRequest

func (*CreateGroupRequest) ContextValidate

func (m *CreateGroupRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create group request based on context it is used

func (*CreateGroupRequest) MarshalBinary

func (m *CreateGroupRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateGroupRequest) UnmarshalBinary

func (m *CreateGroupRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateGroupRequest) Validate

func (m *CreateGroupRequest) Validate(formats strfmt.Registry) error

Validate validates this create group request

type CreateGroupResponse

type CreateGroupResponse struct {

	// Information about the group.
	// Required: true
	Group *Group `json:"group"`
}

CreateGroupResponse Response object for create group request.

swagger:model CreateGroupResponse

func (*CreateGroupResponse) ContextValidate

func (m *CreateGroupResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create group response based on the context it is used

func (*CreateGroupResponse) MarshalBinary

func (m *CreateGroupResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateGroupResponse) UnmarshalBinary

func (m *CreateGroupResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateGroupResponse) Validate

func (m *CreateGroupResponse) Validate(formats strfmt.Registry) error

Validate validates this create group response

type CreateMachineUserAccessKeyRequest

type CreateMachineUserAccessKeyRequest struct {

	// The name or CRN of the machine user to whom this access key will be associated.
	// Required: true
	MachineUserName *string `json:"machineUserName"`

	// The version of an access key to create.
	Type AccessKeyType `json:"type,omitempty"`
}

CreateMachineUserAccessKeyRequest Request object for a create machine user access key request.

swagger:model CreateMachineUserAccessKeyRequest

func (*CreateMachineUserAccessKeyRequest) ContextValidate

func (m *CreateMachineUserAccessKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create machine user access key request based on the context it is used

func (*CreateMachineUserAccessKeyRequest) MarshalBinary

func (m *CreateMachineUserAccessKeyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateMachineUserAccessKeyRequest) UnmarshalBinary

func (m *CreateMachineUserAccessKeyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateMachineUserAccessKeyRequest) Validate

Validate validates this create machine user access key request

type CreateMachineUserAccessKeyResponse

type CreateMachineUserAccessKeyResponse struct {

	// The access key that was created.
	// Required: true
	AccessKey *AccessKey `json:"accessKey"`

	// The private key associated with this access key. This string is the contents of a PEM file containing a PKCS#8 private key.
	// Required: true
	PrivateKey *string `json:"privateKey"`
}

CreateMachineUserAccessKeyResponse Response object for a create machine user access key request.

swagger:model CreateMachineUserAccessKeyResponse

func (*CreateMachineUserAccessKeyResponse) ContextValidate

func (m *CreateMachineUserAccessKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create machine user access key response based on the context it is used

func (*CreateMachineUserAccessKeyResponse) MarshalBinary

func (m *CreateMachineUserAccessKeyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateMachineUserAccessKeyResponse) UnmarshalBinary

func (m *CreateMachineUserAccessKeyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateMachineUserAccessKeyResponse) Validate

Validate validates this create machine user access key response

type CreateMachineUserRequest

type CreateMachineUserRequest struct {

	// The name to use for the new machine user. The name must be an alpha numeric string, including '-' and '_', cannot start with '__' (double underscore) and cannot be longer than 128 characters. Only one machine user with this name can exist in an account at a given time.
	// Required: true
	MachineUserName *string `json:"machineUserName"`
}

CreateMachineUserRequest Request object for create machine user request.

swagger:model CreateMachineUserRequest

func (*CreateMachineUserRequest) ContextValidate

func (m *CreateMachineUserRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create machine user request based on context it is used

func (*CreateMachineUserRequest) MarshalBinary

func (m *CreateMachineUserRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateMachineUserRequest) UnmarshalBinary

func (m *CreateMachineUserRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateMachineUserRequest) Validate

func (m *CreateMachineUserRequest) Validate(formats strfmt.Registry) error

Validate validates this create machine user request

type CreateMachineUserResponse

type CreateMachineUserResponse struct {

	// Information about the machine user.
	// Required: true
	MachineUser *MachineUser `json:"machineUser"`
}

CreateMachineUserResponse Response object for create machine user request.

swagger:model CreateMachineUserResponse

func (*CreateMachineUserResponse) ContextValidate

func (m *CreateMachineUserResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create machine user response based on the context it is used

func (*CreateMachineUserResponse) MarshalBinary

func (m *CreateMachineUserResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateMachineUserResponse) UnmarshalBinary

func (m *CreateMachineUserResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateMachineUserResponse) Validate

func (m *CreateMachineUserResponse) Validate(formats strfmt.Registry) error

Validate validates this create machine user response

type CreateSamlProviderRequest

type CreateSamlProviderRequest struct {

	// Whether to enable SCIM on this SAML provider. System for Cross-domain Identity Management (SCIM) version 2.0 is a standard for automating the provisioning of user and group identity information from identity provider to CDP. It is not supported for Cloudera for Government.
	EnableScim bool `json:"enableScim,omitempty"`

	// Whether to generate users' workload username by email . The default is to generate workload usernames by identity provider user ID (SAML NameID).
	GenerateWorkloadUsernameByEmail bool `json:"generateWorkloadUsernameByEmail,omitempty"`

	// SAML metadata document XML file. Length of meta data document cannot be more than 200 KB (200,000 bytes).
	// Max Length: 200000
	SamlMetadataDocument string `json:"samlMetadataDocument,omitempty"`

	// The name of SAML provider. The name must be unique, must have a maximum of 128 characters, and must contain only alphanumeric characters, "-" and "_". Names are are not case-sensitive.
	// Required: true
	SamlProviderName *string `json:"samlProviderName"`

	// Whether to sync group information for users federated with this SAML provider. Group membership can be passed using the https://cdp.cloudera.com/SAML/Attributes/groups SAML assertion. The default is to synchronize group membership.
	SyncGroupsOnLogin bool `json:"syncGroupsOnLogin,omitempty"`
}

CreateSamlProviderRequest Request object for creating SAML provider request.

swagger:model CreateSamlProviderRequest

func (*CreateSamlProviderRequest) ContextValidate

func (m *CreateSamlProviderRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create saml provider request based on context it is used

func (*CreateSamlProviderRequest) MarshalBinary

func (m *CreateSamlProviderRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSamlProviderRequest) UnmarshalBinary

func (m *CreateSamlProviderRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSamlProviderRequest) Validate

func (m *CreateSamlProviderRequest) Validate(formats strfmt.Registry) error

Validate validates this create saml provider request

type CreateSamlProviderResponse

type CreateSamlProviderResponse struct {

	// The SAML provider.
	// Required: true
	SamlProvider *SamlProvider `json:"samlProvider"`
}

CreateSamlProviderResponse Response object for a creating SAML provider request.

swagger:model CreateSamlProviderResponse

func (*CreateSamlProviderResponse) ContextValidate

func (m *CreateSamlProviderResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create saml provider response based on the context it is used

func (*CreateSamlProviderResponse) MarshalBinary

func (m *CreateSamlProviderResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSamlProviderResponse) UnmarshalBinary

func (m *CreateSamlProviderResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSamlProviderResponse) Validate

func (m *CreateSamlProviderResponse) Validate(formats strfmt.Registry) error

Validate validates this create saml provider response

type CreateScimAccessTokenRequest

type CreateScimAccessTokenRequest struct {

	// The lifetime, in days, of the access token.
	// Required: true
	// Minimum: 1
	AccessTokenLifetimeDays *int32 `json:"accessTokenLifetimeDays"`

	// The name or CRN of the SCIM enabled identity provider.
	// Required: true
	IdentityProviderNameOrCrn *string `json:"identityProviderNameOrCrn"`
}

CreateScimAccessTokenRequest Request object to create the SCIM access token.

swagger:model CreateScimAccessTokenRequest

func (*CreateScimAccessTokenRequest) ContextValidate

func (m *CreateScimAccessTokenRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create scim access token request based on context it is used

func (*CreateScimAccessTokenRequest) MarshalBinary

func (m *CreateScimAccessTokenRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateScimAccessTokenRequest) UnmarshalBinary

func (m *CreateScimAccessTokenRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateScimAccessTokenRequest) Validate

func (m *CreateScimAccessTokenRequest) Validate(formats strfmt.Registry) error

Validate validates this create scim access token request

type CreateScimAccessTokenResponse

type CreateScimAccessTokenResponse struct {

	// The SCIM access token that was created.
	// Required: true
	AccessToken *ScimAccessToken `json:"accessToken"`

	// The SCIM access token secret. This secret could be used to authenticate requests sent to SCIM endpoints.
	// Required: true
	AccessTokenSecret *string `json:"accessTokenSecret"`
}

CreateScimAccessTokenResponse Response object to create the SCIM access token.

swagger:model CreateScimAccessTokenResponse

func (*CreateScimAccessTokenResponse) ContextValidate

func (m *CreateScimAccessTokenResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create scim access token response based on the context it is used

func (*CreateScimAccessTokenResponse) MarshalBinary

func (m *CreateScimAccessTokenResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateScimAccessTokenResponse) UnmarshalBinary

func (m *CreateScimAccessTokenResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateScimAccessTokenResponse) Validate

func (m *CreateScimAccessTokenResponse) Validate(formats strfmt.Registry) error

Validate validates this create scim access token response

type CreateUserAccessKeyRequest

type CreateUserAccessKeyRequest struct {

	// The version of an access key to create.
	Type AccessKeyType `json:"type,omitempty"`

	// The ID or CRN of the user to whom this access key will be associated. If it is not included, it defaults to the user making the request.
	User string `json:"user,omitempty"`
}

CreateUserAccessKeyRequest Request object for a create user access key request.

swagger:model CreateUserAccessKeyRequest

func (*CreateUserAccessKeyRequest) ContextValidate

func (m *CreateUserAccessKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create user access key request based on the context it is used

func (*CreateUserAccessKeyRequest) MarshalBinary

func (m *CreateUserAccessKeyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateUserAccessKeyRequest) UnmarshalBinary

func (m *CreateUserAccessKeyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateUserAccessKeyRequest) Validate

func (m *CreateUserAccessKeyRequest) Validate(formats strfmt.Registry) error

Validate validates this create user access key request

type CreateUserAccessKeyResponse

type CreateUserAccessKeyResponse struct {

	// The access key that was created.
	// Required: true
	AccessKey *AccessKey `json:"accessKey"`

	// The private key associated with this access key. This string is the contents of a PEM file containing a PKCS#8 private key.
	// Required: true
	PrivateKey *string `json:"privateKey"`
}

CreateUserAccessKeyResponse Response object for a create user access key request.

swagger:model CreateUserAccessKeyResponse

func (*CreateUserAccessKeyResponse) ContextValidate

func (m *CreateUserAccessKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create user access key response based on the context it is used

func (*CreateUserAccessKeyResponse) MarshalBinary

func (m *CreateUserAccessKeyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateUserAccessKeyResponse) UnmarshalBinary

func (m *CreateUserAccessKeyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateUserAccessKeyResponse) Validate

func (m *CreateUserAccessKeyResponse) Validate(formats strfmt.Registry) error

Validate validates this create user access key response

type CreateUserRequest

type CreateUserRequest struct {

	// The email address for the user. Used for display purposes only.
	// Required: true
	Email *string `json:"email"`

	// The user first name.
	FirstName string `json:"firstName,omitempty"`

	// The list of groups the user belongs to. The groups will be created if they do not exist. There are certain restrictions on the group name. Refer to the How To > User Management section in the Management Console documentation for the details.
	Groups []string `json:"groups"`

	// The identity provider user id for the user. This ID must match the NameId attribute value that will be passed for the user in the SAML response using the associated SAML provider.
	// Required: true
	IdentityProviderUserID *string `json:"identityProviderUserId"`

	// The user last name.
	LastName string `json:"lastName,omitempty"`

	// The name or CRN of the SAML provider the user will use for login.
	SamlProviderName string `json:"samlProviderName,omitempty"`
}

CreateUserRequest Request object for creating user request.

swagger:model CreateUserRequest

func (*CreateUserRequest) ContextValidate

func (m *CreateUserRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create user request based on context it is used

func (*CreateUserRequest) MarshalBinary

func (m *CreateUserRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateUserRequest) UnmarshalBinary

func (m *CreateUserRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateUserRequest) Validate

func (m *CreateUserRequest) Validate(formats strfmt.Registry) error

Validate validates this create user request

type CreateUserResponse

type CreateUserResponse struct {

	// Information about the user.
	// Required: true
	User *User `json:"user"`
}

CreateUserResponse Response object for a create user request.

swagger:model CreateUserResponse

func (*CreateUserResponse) ContextValidate

func (m *CreateUserResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create user response based on the context it is used

func (*CreateUserResponse) MarshalBinary

func (m *CreateUserResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateUserResponse) UnmarshalBinary

func (m *CreateUserResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateUserResponse) Validate

func (m *CreateUserResponse) Validate(formats strfmt.Registry) error

Validate validates this create user response

type DeleteAccessKeyRequest

type DeleteAccessKeyRequest struct {

	// The ID of the access key.
	// Required: true
	AccessKeyID *string `json:"accessKeyId"`
}

DeleteAccessKeyRequest Request object for a delete access key request.

swagger:model DeleteAccessKeyRequest

func (*DeleteAccessKeyRequest) ContextValidate

func (m *DeleteAccessKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete access key request based on context it is used

func (*DeleteAccessKeyRequest) MarshalBinary

func (m *DeleteAccessKeyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteAccessKeyRequest) UnmarshalBinary

func (m *DeleteAccessKeyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteAccessKeyRequest) Validate

func (m *DeleteAccessKeyRequest) Validate(formats strfmt.Registry) error

Validate validates this delete access key request

type DeleteAccessKeyResponse

type DeleteAccessKeyResponse interface{}

DeleteAccessKeyResponse Response object for a delete access key request.

swagger:model DeleteAccessKeyResponse

type DeleteGroupRequest

type DeleteGroupRequest struct {

	// The name or CRN of the group to delete.
	// Required: true
	GroupName *string `json:"groupName"`
}

DeleteGroupRequest Request object for delete group request.

swagger:model DeleteGroupRequest

func (*DeleteGroupRequest) ContextValidate

func (m *DeleteGroupRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete group request based on context it is used

func (*DeleteGroupRequest) MarshalBinary

func (m *DeleteGroupRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteGroupRequest) UnmarshalBinary

func (m *DeleteGroupRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteGroupRequest) Validate

func (m *DeleteGroupRequest) Validate(formats strfmt.Registry) error

Validate validates this delete group request

type DeleteGroupResponse

type DeleteGroupResponse interface{}

DeleteGroupResponse Response object for delete group request.

swagger:model DeleteGroupResponse

type DeleteMachineUserRequest

type DeleteMachineUserRequest struct {

	// The name or CRN of the machine user to delete.
	// Required: true
	MachineUserName *string `json:"machineUserName"`
}

DeleteMachineUserRequest Request object for delete machine user request.

swagger:model DeleteMachineUserRequest

func (*DeleteMachineUserRequest) ContextValidate

func (m *DeleteMachineUserRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete machine user request based on context it is used

func (*DeleteMachineUserRequest) MarshalBinary

func (m *DeleteMachineUserRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteMachineUserRequest) UnmarshalBinary

func (m *DeleteMachineUserRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteMachineUserRequest) Validate

func (m *DeleteMachineUserRequest) Validate(formats strfmt.Registry) error

Validate validates this delete machine user request

type DeleteMachineUserResponse

type DeleteMachineUserResponse struct {

	// The list of associated access key CRNs that were deleted.
	// Required: true
	AccessKeysDeleted []string `json:"accessKeysDeleted"`

	// The list of group CRNs from which the machine user has been removed.
	// Required: true
	GroupsModified []string `json:"groupsModified"`

	// The list of resource role assignments that have been unassigned from the machine user.
	// Required: true
	ResourcesUnassigned []*ResourceAssignment `json:"resourcesUnassigned"`

	// The list of role CRNs unassigned from the machine user.
	// Required: true
	RolesUnassigned []string `json:"rolesUnassigned"`
}

DeleteMachineUserResponse Response object for delete machine user request.

swagger:model DeleteMachineUserResponse

func (*DeleteMachineUserResponse) ContextValidate

func (m *DeleteMachineUserResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete machine user response based on the context it is used

func (*DeleteMachineUserResponse) MarshalBinary

func (m *DeleteMachineUserResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteMachineUserResponse) UnmarshalBinary

func (m *DeleteMachineUserResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteMachineUserResponse) Validate

func (m *DeleteMachineUserResponse) Validate(formats strfmt.Registry) error

Validate validates this delete machine user response

type DeleteSSHPublicKeyRequest

type DeleteSSHPublicKeyRequest struct {

	// The CRN of the user or machine user that the SSH public key belongs to. If it is not included, it defaults to the actor making the request.
	ActorCrn string `json:"actorCrn,omitempty"`

	// The SSH public key CRN or the keys SHA256 fingerprint to remove.
	// Required: true
	CrnOrFingerprint *string `json:"crnOrFingerprint"`
}

DeleteSSHPublicKeyRequest Request object for delete SSH public key.

swagger:model DeleteSshPublicKeyRequest

func (*DeleteSSHPublicKeyRequest) ContextValidate

func (m *DeleteSSHPublicKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete Ssh public key request based on context it is used

func (*DeleteSSHPublicKeyRequest) MarshalBinary

func (m *DeleteSSHPublicKeyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteSSHPublicKeyRequest) UnmarshalBinary

func (m *DeleteSSHPublicKeyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteSSHPublicKeyRequest) Validate

func (m *DeleteSSHPublicKeyRequest) Validate(formats strfmt.Registry) error

Validate validates this delete Ssh public key request

type DeleteSSHPublicKeyResponse

type DeleteSSHPublicKeyResponse interface{}

DeleteSSHPublicKeyResponse Response object for delete SSH public key.

swagger:model DeleteSshPublicKeyResponse

type DeleteSamlProviderRequest

type DeleteSamlProviderRequest struct {

	// The name or CRN of the SAML provider to delete.
	// Required: true
	SamlProviderName *string `json:"samlProviderName"`
}

DeleteSamlProviderRequest Request object for deleting SAML provider request.

swagger:model DeleteSamlProviderRequest

func (*DeleteSamlProviderRequest) ContextValidate

func (m *DeleteSamlProviderRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete saml provider request based on context it is used

func (*DeleteSamlProviderRequest) MarshalBinary

func (m *DeleteSamlProviderRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteSamlProviderRequest) UnmarshalBinary

func (m *DeleteSamlProviderRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteSamlProviderRequest) Validate

func (m *DeleteSamlProviderRequest) Validate(formats strfmt.Registry) error

Validate validates this delete saml provider request

type DeleteSamlProviderResponse

type DeleteSamlProviderResponse interface{}

DeleteSamlProviderResponse Response object for delete SAML provider request.

swagger:model DeleteSamlProviderResponse

type DeleteScimAccessTokenRequest

type DeleteScimAccessTokenRequest struct {

	// The ID or CRN of the SCIM access token.
	// Required: true
	AccessTokenIDOrCrn *string `json:"accessTokenIdOrCrn"`
}

DeleteScimAccessTokenRequest Request object to delete the SCIM access token.

swagger:model DeleteScimAccessTokenRequest

func (*DeleteScimAccessTokenRequest) ContextValidate

func (m *DeleteScimAccessTokenRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete scim access token request based on context it is used

func (*DeleteScimAccessTokenRequest) MarshalBinary

func (m *DeleteScimAccessTokenRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteScimAccessTokenRequest) UnmarshalBinary

func (m *DeleteScimAccessTokenRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteScimAccessTokenRequest) Validate

func (m *DeleteScimAccessTokenRequest) Validate(formats strfmt.Registry) error

Validate validates this delete scim access token request

type DeleteScimAccessTokenResponse

type DeleteScimAccessTokenResponse interface{}

DeleteScimAccessTokenResponse Response object to delete the SCIM access token.

swagger:model DeleteScimAccessTokenResponse

type DeleteUserRequest

type DeleteUserRequest struct {

	// The ID or CRN of the user to delete.
	// Required: true
	UserID *string `json:"userId"`
}

DeleteUserRequest Request object to delete a user.

swagger:model DeleteUserRequest

func (*DeleteUserRequest) ContextValidate

func (m *DeleteUserRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete user request based on context it is used

func (*DeleteUserRequest) MarshalBinary

func (m *DeleteUserRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteUserRequest) UnmarshalBinary

func (m *DeleteUserRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteUserRequest) Validate

func (m *DeleteUserRequest) Validate(formats strfmt.Registry) error

Validate validates this delete user request

type DeleteUserResponse

type DeleteUserResponse struct {

	// The list of associated access key CRNs that were deleted.
	// Required: true
	AccessKeysDeleted []string `json:"accessKeysDeleted"`

	// The list of group CRNs from which the user has been removed.
	// Required: true
	GroupsModified []string `json:"groupsModified"`

	// The list of resource role assignments that have been unassigned from the user.
	// Required: true
	ResourcesUnassigned []*ResourceAssignment `json:"resourcesUnassigned"`

	// The list of role CRNs unassigned from the user.
	// Required: true
	RolesUnassigned []string `json:"rolesUnassigned"`
}

DeleteUserResponse Response object to delete a user.

swagger:model DeleteUserResponse

func (*DeleteUserResponse) ContextValidate

func (m *DeleteUserResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete user response based on the context it is used

func (*DeleteUserResponse) MarshalBinary

func (m *DeleteUserResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteUserResponse) UnmarshalBinary

func (m *DeleteUserResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteUserResponse) Validate

func (m *DeleteUserResponse) Validate(formats strfmt.Registry) error

Validate validates this delete user response

type DescribeSSHPublicKeyRequest

type DescribeSSHPublicKeyRequest struct {

	// The CRN of the user or machine user that the SSH public key belongs to. If it is not included, it defaults to the actor making the request.
	ActorCrn string `json:"actorCrn,omitempty"`

	// The SSH public key CRN or its SHA256 fingerprint.
	// Required: true
	CrnOrFingerprint *string `json:"crnOrFingerprint"`
}

DescribeSSHPublicKeyRequest Request object for describe SSH public key.

swagger:model DescribeSshPublicKeyRequest

func (*DescribeSSHPublicKeyRequest) ContextValidate

func (m *DescribeSSHPublicKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this describe Ssh public key request based on context it is used

func (*DescribeSSHPublicKeyRequest) MarshalBinary

func (m *DescribeSSHPublicKeyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DescribeSSHPublicKeyRequest) UnmarshalBinary

func (m *DescribeSSHPublicKeyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DescribeSSHPublicKeyRequest) Validate

func (m *DescribeSSHPublicKeyRequest) Validate(formats strfmt.Registry) error

Validate validates this describe Ssh public key request

type DescribeSSHPublicKeyResponse

type DescribeSSHPublicKeyResponse struct {

	// Information about the SSH public key.
	// Required: true
	SSHPublicKey *SSHPublicKey `json:"sshPublicKey"`
}

DescribeSSHPublicKeyResponse Response object for describe user SSH public key.

swagger:model DescribeSshPublicKeyResponse

func (*DescribeSSHPublicKeyResponse) ContextValidate

func (m *DescribeSSHPublicKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this describe Ssh public key response based on the context it is used

func (*DescribeSSHPublicKeyResponse) MarshalBinary

func (m *DescribeSSHPublicKeyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DescribeSSHPublicKeyResponse) UnmarshalBinary

func (m *DescribeSSHPublicKeyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DescribeSSHPublicKeyResponse) Validate

func (m *DescribeSSHPublicKeyResponse) Validate(formats strfmt.Registry) error

Validate validates this describe Ssh public key response

type DescribeSamlProviderRequest

type DescribeSamlProviderRequest struct {

	// The name or CRN of the SAML provider to describe.
	// Required: true
	SamlProviderName *string `json:"samlProviderName"`
}

DescribeSamlProviderRequest Request object for a describe SAML provider request.

swagger:model DescribeSamlProviderRequest

func (*DescribeSamlProviderRequest) ContextValidate

func (m *DescribeSamlProviderRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this describe saml provider request based on context it is used

func (*DescribeSamlProviderRequest) MarshalBinary

func (m *DescribeSamlProviderRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DescribeSamlProviderRequest) UnmarshalBinary

func (m *DescribeSamlProviderRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DescribeSamlProviderRequest) Validate

func (m *DescribeSamlProviderRequest) Validate(formats strfmt.Registry) error

Validate validates this describe saml provider request

type DescribeSamlProviderResponse

type DescribeSamlProviderResponse struct {

	// The SAML provider.
	// Required: true
	SamlProvider *SamlProvider `json:"samlProvider"`
}

DescribeSamlProviderResponse Response object for a describe SAML request.

swagger:model DescribeSamlProviderResponse

func (*DescribeSamlProviderResponse) ContextValidate

func (m *DescribeSamlProviderResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this describe saml provider response based on the context it is used

func (*DescribeSamlProviderResponse) MarshalBinary

func (m *DescribeSamlProviderResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DescribeSamlProviderResponse) UnmarshalBinary

func (m *DescribeSamlProviderResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DescribeSamlProviderResponse) Validate

func (m *DescribeSamlProviderResponse) Validate(formats strfmt.Registry) error

Validate validates this describe saml provider response

type DisableClouderaSSOLoginRequest

type DisableClouderaSSOLoginRequest interface{}

DisableClouderaSSOLoginRequest Request object for a disable Cloudera SSO login request.

swagger:model DisableClouderaSSOLoginRequest

type DisableClouderaSSOLoginResponse

type DisableClouderaSSOLoginResponse interface{}

DisableClouderaSSOLoginResponse Response object for a disable Cloudera SSO login request.

swagger:model DisableClouderaSSOLoginResponse

type EnableClouderaSSOLoginRequest

type EnableClouderaSSOLoginRequest interface{}

EnableClouderaSSOLoginRequest Request object for an enable Cloudera SSO login request.

swagger:model EnableClouderaSSOLoginRequest

type EnableClouderaSSOLoginResponse

type EnableClouderaSSOLoginResponse interface{}

EnableClouderaSSOLoginResponse Response object for an enable Cloudera SSO login request.

swagger:model EnableClouderaSSOLoginResponse

type Error

type Error struct {

	// The error code.
	Code string `json:"code,omitempty"`

	// The error message.
	Message string `json:"message,omitempty"`
}

Error An object returned on an error.

swagger:model Error

func (*Error) ContextValidate

func (m *Error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this error based on context it is used

func (*Error) MarshalBinary

func (m *Error) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

func (m *Error) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Error) Validate

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

type GenerateWorkloadAuthTokenRequest

type GenerateWorkloadAuthTokenRequest struct {

	// The environment CRN, required by DF.
	EnvironmentCrn string `json:"environmentCrn,omitempty"`

	// The workload name
	// Required: true
	WorkloadName *WorkloadName `json:"workloadName"`
}

GenerateWorkloadAuthTokenRequest Request object for GenerateWorkloadAuthToken method.

swagger:model GenerateWorkloadAuthTokenRequest

func (*GenerateWorkloadAuthTokenRequest) ContextValidate

func (m *GenerateWorkloadAuthTokenRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this generate workload auth token request based on the context it is used

func (*GenerateWorkloadAuthTokenRequest) MarshalBinary

func (m *GenerateWorkloadAuthTokenRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GenerateWorkloadAuthTokenRequest) UnmarshalBinary

func (m *GenerateWorkloadAuthTokenRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GenerateWorkloadAuthTokenRequest) Validate

Validate validates this generate workload auth token request

type GenerateWorkloadAuthTokenResponse

type GenerateWorkloadAuthTokenResponse struct {

	// The workload endpoint URL
	EndpointURL string `json:"endpointUrl,omitempty"`

	// When the information should expire
	// Format: date-time
	ExpireAt strfmt.DateTime `json:"expireAt,omitempty"`

	// The authentication token
	Token string `json:"token,omitempty"`
}

GenerateWorkloadAuthTokenResponse Response object for GenerateWorkloadAuthToken method.

swagger:model GenerateWorkloadAuthTokenResponse

func (*GenerateWorkloadAuthTokenResponse) ContextValidate

func (m *GenerateWorkloadAuthTokenResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this generate workload auth token response based on context it is used

func (*GenerateWorkloadAuthTokenResponse) MarshalBinary

func (m *GenerateWorkloadAuthTokenResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GenerateWorkloadAuthTokenResponse) UnmarshalBinary

func (m *GenerateWorkloadAuthTokenResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GenerateWorkloadAuthTokenResponse) Validate

Validate validates this generate workload auth token response

type GetAccessKeyRequest

type GetAccessKeyRequest struct {

	// The ID of the access key to get information about. If it is not included, it defaults to the access key used to make the request.
	AccessKeyID string `json:"accessKeyId,omitempty"`
}

GetAccessKeyRequest Request object for a get access key request.

swagger:model GetAccessKeyRequest

func (*GetAccessKeyRequest) ContextValidate

func (m *GetAccessKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get access key request based on context it is used

func (*GetAccessKeyRequest) MarshalBinary

func (m *GetAccessKeyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAccessKeyRequest) UnmarshalBinary

func (m *GetAccessKeyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAccessKeyRequest) Validate

func (m *GetAccessKeyRequest) Validate(formats strfmt.Registry) error

Validate validates this get access key request

type GetAccessKeyResponse

type GetAccessKeyResponse struct {

	// Information about the access key.
	// Required: true
	AccessKey *AccessKey `json:"accessKey"`
}

GetAccessKeyResponse Response object for a get access key request.

swagger:model GetAccessKeyResponse

func (*GetAccessKeyResponse) ContextValidate

func (m *GetAccessKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get access key response based on the context it is used

func (*GetAccessKeyResponse) MarshalBinary

func (m *GetAccessKeyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAccessKeyResponse) UnmarshalBinary

func (m *GetAccessKeyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAccessKeyResponse) Validate

func (m *GetAccessKeyResponse) Validate(formats strfmt.Registry) error

Validate validates this get access key response

type GetAccountMessagesRequest

type GetAccountMessagesRequest interface{}

GetAccountMessagesRequest Request object for get account messages.

swagger:model GetAccountMessagesRequest

type GetAccountMessagesResponse

type GetAccountMessagesResponse struct {

	// Message shown to user when user does not have sufficient rights.
	ContactYourAdministratorMessage string `json:"contactYourAdministratorMessage,omitempty"`
}

GetAccountMessagesResponse Response object for get account messages.

swagger:model GetAccountMessagesResponse

func (*GetAccountMessagesResponse) ContextValidate

func (m *GetAccountMessagesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get account messages response based on context it is used

func (*GetAccountMessagesResponse) MarshalBinary

func (m *GetAccountMessagesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAccountMessagesResponse) UnmarshalBinary

func (m *GetAccountMessagesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAccountMessagesResponse) Validate

func (m *GetAccountMessagesResponse) Validate(formats strfmt.Registry) error

Validate validates this get account messages response

type GetAccountRequest

type GetAccountRequest interface{}

GetAccountRequest Request object for a get account request.

swagger:model GetAccountRequest

type GetAccountResponse

type GetAccountResponse struct {

	// The account object.
	// Required: true
	Account *Account `json:"account"`
}

GetAccountResponse Response object for a get account response.

swagger:model GetAccountResponse

func (*GetAccountResponse) ContextValidate

func (m *GetAccountResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get account response based on the context it is used

func (*GetAccountResponse) MarshalBinary

func (m *GetAccountResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAccountResponse) UnmarshalBinary

func (m *GetAccountResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAccountResponse) Validate

func (m *GetAccountResponse) Validate(formats strfmt.Registry) error

Validate validates this get account response

type GetDefaultIdentityProviderRequest added in v0.4.2

type GetDefaultIdentityProviderRequest interface{}

GetDefaultIdentityProviderRequest Request object to get the default identity provider.

swagger:model GetDefaultIdentityProviderRequest

type GetDefaultIdentityProviderResponse added in v0.4.2

type GetDefaultIdentityProviderResponse struct {

	// The CRN of the identity provider used for CDP initiated login requests. The CRN could be a user defined identity provider's CRN or one of the CDP built-ins (like Cloudera SSO). To retrieve more information about your own user-defined saml providers (or other provider types, not the default ones) call the relevant describeXXXProvider, e.g. for SAML providers call describeSamlProvider.
	// Required: true
	Crn *string `json:"crn"`
}

GetDefaultIdentityProviderResponse Response object to get the default identity provider.

swagger:model GetDefaultIdentityProviderResponse

func (*GetDefaultIdentityProviderResponse) ContextValidate added in v0.4.2

func (m *GetDefaultIdentityProviderResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get default identity provider response based on context it is used

func (*GetDefaultIdentityProviderResponse) MarshalBinary added in v0.4.2

func (m *GetDefaultIdentityProviderResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetDefaultIdentityProviderResponse) UnmarshalBinary added in v0.4.2

func (m *GetDefaultIdentityProviderResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetDefaultIdentityProviderResponse) Validate added in v0.4.2

Validate validates this get default identity provider response

type GetUserRequest

type GetUserRequest struct {

	// The ID of the user to get information about. If it is not included, it defaults to the user making the request.
	UserID string `json:"userId,omitempty"`
}

GetUserRequest Request object for a get user request.

swagger:model GetUserRequest

func (*GetUserRequest) ContextValidate

func (m *GetUserRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get user request based on context it is used

func (*GetUserRequest) MarshalBinary

func (m *GetUserRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetUserRequest) UnmarshalBinary

func (m *GetUserRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetUserRequest) Validate

func (m *GetUserRequest) Validate(formats strfmt.Registry) error

Validate validates this get user request

type GetUserResponse

type GetUserResponse struct {

	// Information about the user.
	// Required: true
	User *User `json:"user"`
}

GetUserResponse Response object for a get user request.

swagger:model GetUserResponse

func (*GetUserResponse) ContextValidate

func (m *GetUserResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get user response based on the context it is used

func (*GetUserResponse) MarshalBinary

func (m *GetUserResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetUserResponse) UnmarshalBinary

func (m *GetUserResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetUserResponse) Validate

func (m *GetUserResponse) Validate(formats strfmt.Registry) error

Validate validates this get user response

type Group

type Group struct {

	// The list of Azure cloud identities assigned to the group.
	AzureCloudIdentities []*AzureCloudIdentity `json:"azureCloudIdentities"`

	// The date when this group record was created.
	// Required: true
	// Format: date-time
	CreationDate *strfmt.DateTime `json:"creationDate"`

	// The CRN of the group.
	// Required: true
	Crn *string `json:"crn"`

	// The group name.
	// Required: true
	GroupName *string `json:"groupName"`

	// Whether group membership is synced when a user logs in. The default is to sync group membership.
	SyncMembershipOnUserLogin bool `json:"syncMembershipOnUserLogin,omitempty"`
}

Group Information about a group.

swagger:model Group

func (*Group) ContextValidate

func (m *Group) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this group based on the context it is used

func (*Group) MarshalBinary

func (m *Group) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Group) UnmarshalBinary

func (m *Group) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Group) Validate

func (m *Group) Validate(formats strfmt.Registry) error

Validate validates this group

type ListAccessKeysRequest

type ListAccessKeysRequest struct {

	// The access key IDs or CRNs of the access keys.
	AccessKeyIds []string `json:"accessKeyIds"`

	// The size of each page.
	// Maximum: 500
	// Minimum: 1
	PageSize int32 `json:"pageSize,omitempty"`

	// A token to specify where to start paginating. This is the nextToken from a previously truncated response.
	StartingToken string `json:"startingToken,omitempty"`
}

ListAccessKeysRequest Request object for a list access keys request.

swagger:model ListAccessKeysRequest

func (*ListAccessKeysRequest) ContextValidate

func (m *ListAccessKeysRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list access keys request based on context it is used

func (*ListAccessKeysRequest) MarshalBinary

func (m *ListAccessKeysRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListAccessKeysRequest) UnmarshalBinary

func (m *ListAccessKeysRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListAccessKeysRequest) Validate

func (m *ListAccessKeysRequest) Validate(formats strfmt.Registry) error

Validate validates this list access keys request

type ListAccessKeysResponse

type ListAccessKeysResponse struct {

	// The access keys.
	// Required: true
	AccessKeys []*AccessKey `json:"accessKeys"`

	// The token to use when requesting the next set of results. If not present, there are no additional results.
	NextToken string `json:"nextToken,omitempty"`
}

ListAccessKeysResponse Response object for a list access keys request.

swagger:model ListAccessKeysResponse

func (*ListAccessKeysResponse) ContextValidate

func (m *ListAccessKeysResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list access keys response based on the context it is used

func (*ListAccessKeysResponse) MarshalBinary

func (m *ListAccessKeysResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListAccessKeysResponse) UnmarshalBinary

func (m *ListAccessKeysResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListAccessKeysResponse) Validate

func (m *ListAccessKeysResponse) Validate(formats strfmt.Registry) error

Validate validates this list access keys response

type ListGroupAssignedResourceRolesRequest

type ListGroupAssignedResourceRolesRequest struct {

	// The group to list the assigned resource roles for. Can be the group's name or CRN.
	// Required: true
	GroupName *string `json:"groupName"`

	// The size of each page.
	// Maximum: 100
	// Minimum: 1
	PageSize int32 `json:"pageSize,omitempty"`

	// A token to specify where to start paginating. This is the nextToken from a previously truncated response.
	StartingToken string `json:"startingToken,omitempty"`
}

ListGroupAssignedResourceRolesRequest Request object for a list group assigned resource roles request.

swagger:model ListGroupAssignedResourceRolesRequest

func (*ListGroupAssignedResourceRolesRequest) ContextValidate

func (m *ListGroupAssignedResourceRolesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list group assigned resource roles request based on context it is used

func (*ListGroupAssignedResourceRolesRequest) MarshalBinary

func (m *ListGroupAssignedResourceRolesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListGroupAssignedResourceRolesRequest) UnmarshalBinary

func (m *ListGroupAssignedResourceRolesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListGroupAssignedResourceRolesRequest) Validate

Validate validates this list group assigned resource roles request

type ListGroupAssignedResourceRolesResponse

type ListGroupAssignedResourceRolesResponse struct {

	// The token to use when requesting the next set of results. If not present, there are no additional results.
	NextToken string `json:"nextToken,omitempty"`

	// The group's resource assignments.
	// Required: true
	ResourceAssignments []*ResourceAssignment `json:"resourceAssignments"`
}

ListGroupAssignedResourceRolesResponse Response object for a list group assigned resource roles request.

swagger:model ListGroupAssignedResourceRolesResponse

func (*ListGroupAssignedResourceRolesResponse) ContextValidate

ContextValidate validate this list group assigned resource roles response based on the context it is used

func (*ListGroupAssignedResourceRolesResponse) MarshalBinary

func (m *ListGroupAssignedResourceRolesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListGroupAssignedResourceRolesResponse) UnmarshalBinary

func (m *ListGroupAssignedResourceRolesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListGroupAssignedResourceRolesResponse) Validate

Validate validates this list group assigned resource roles response

type ListGroupAssignedRolesRequest

type ListGroupAssignedRolesRequest struct {

	// The group to list the assigned roles for. Can be the group's name or CRN.
	// Required: true
	GroupName *string `json:"groupName"`

	// The size of each page.
	// Maximum: 100
	// Minimum: 1
	PageSize int32 `json:"pageSize,omitempty"`

	// A token to specify where to start paginating. This is the nextToken from a previously truncated response.
	StartingToken string `json:"startingToken,omitempty"`
}

ListGroupAssignedRolesRequest Request object for a list group assigned roles request.

swagger:model ListGroupAssignedRolesRequest

func (*ListGroupAssignedRolesRequest) ContextValidate

func (m *ListGroupAssignedRolesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list group assigned roles request based on context it is used

func (*ListGroupAssignedRolesRequest) MarshalBinary

func (m *ListGroupAssignedRolesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListGroupAssignedRolesRequest) UnmarshalBinary

func (m *ListGroupAssignedRolesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListGroupAssignedRolesRequest) Validate

func (m *ListGroupAssignedRolesRequest) Validate(formats strfmt.Registry) error

Validate validates this list group assigned roles request

type ListGroupAssignedRolesResponse

type ListGroupAssignedRolesResponse struct {

	// The token to use when requesting the next set of results. If not present, there are no additional results.
	NextToken string `json:"nextToken,omitempty"`

	// The role CRNs assigned to the group.
	// Required: true
	RoleCrns []string `json:"roleCrns"`
}

ListGroupAssignedRolesResponse Response object for a list group assigned roles request.

swagger:model ListGroupAssignedRolesResponse

func (*ListGroupAssignedRolesResponse) ContextValidate

func (m *ListGroupAssignedRolesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list group assigned roles response based on context it is used

func (*ListGroupAssignedRolesResponse) MarshalBinary

func (m *ListGroupAssignedRolesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListGroupAssignedRolesResponse) UnmarshalBinary

func (m *ListGroupAssignedRolesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListGroupAssignedRolesResponse) Validate

func (m *ListGroupAssignedRolesResponse) Validate(formats strfmt.Registry) error

Validate validates this list group assigned roles response

type ListGroupMembersRequest

type ListGroupMembersRequest struct {

	// The name or CRN of the group to list the membership of.
	// Required: true
	GroupName *string `json:"groupName"`

	// The size of each page.
	// Maximum: 100
	// Minimum: 1
	PageSize int32 `json:"pageSize,omitempty"`

	// A token to specify where to start paginating. This is the nextToken from a previously truncated response.
	StartingToken string `json:"startingToken,omitempty"`
}

ListGroupMembersRequest Request object for a list group members request.

swagger:model ListGroupMembersRequest

func (*ListGroupMembersRequest) ContextValidate

func (m *ListGroupMembersRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list group members request based on context it is used

func (*ListGroupMembersRequest) MarshalBinary

func (m *ListGroupMembersRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListGroupMembersRequest) UnmarshalBinary

func (m *ListGroupMembersRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListGroupMembersRequest) Validate

func (m *ListGroupMembersRequest) Validate(formats strfmt.Registry) error

Validate validates this list group members request

type ListGroupMembersResponse

type ListGroupMembersResponse struct {

	// The list of group members.
	// Required: true
	MemberCrns []string `json:"memberCrns"`

	// The token to use when requesting the next set of results. If not present, there are no additional results.
	NextToken string `json:"nextToken,omitempty"`
}

ListGroupMembersResponse Response object for a list group members request.

swagger:model ListGroupMembersResponse

func (*ListGroupMembersResponse) ContextValidate

func (m *ListGroupMembersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list group members response based on context it is used

func (*ListGroupMembersResponse) MarshalBinary

func (m *ListGroupMembersResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListGroupMembersResponse) UnmarshalBinary

func (m *ListGroupMembersResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListGroupMembersResponse) Validate

func (m *ListGroupMembersResponse) Validate(formats strfmt.Registry) error

Validate validates this list group members response

type ListGroupsForMachineUserRequest

type ListGroupsForMachineUserRequest struct {

	// The name or CRN of the machine user to list the groups of.
	// Required: true
	MachineUserName *string `json:"machineUserName"`

	// The size of each page.
	// Maximum: 100
	// Minimum: 1
	PageSize int32 `json:"pageSize,omitempty"`

	// A token to specify where to start paginating. This is the nextToken from a previously truncated response.
	StartingToken string `json:"startingToken,omitempty"`
}

ListGroupsForMachineUserRequest Request object for a list groups for machine user request.

swagger:model ListGroupsForMachineUserRequest

func (*ListGroupsForMachineUserRequest) ContextValidate

func (m *ListGroupsForMachineUserRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list groups for machine user request based on context it is used

func (*ListGroupsForMachineUserRequest) MarshalBinary

func (m *ListGroupsForMachineUserRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListGroupsForMachineUserRequest) UnmarshalBinary

func (m *ListGroupsForMachineUserRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListGroupsForMachineUserRequest) Validate

Validate validates this list groups for machine user request

type ListGroupsForMachineUserResponse

type ListGroupsForMachineUserResponse struct {

	// The list of groups.
	// Required: true
	GroupCrns []string `json:"groupCrns"`

	// The token to use when requesting the next set of results. If not present, there are no additional results.
	NextToken string `json:"nextToken,omitempty"`
}

ListGroupsForMachineUserResponse Response object for a list groups for machine user request.

swagger:model ListGroupsForMachineUserResponse

func (*ListGroupsForMachineUserResponse) ContextValidate

func (m *ListGroupsForMachineUserResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list groups for machine user response based on context it is used

func (*ListGroupsForMachineUserResponse) MarshalBinary

func (m *ListGroupsForMachineUserResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListGroupsForMachineUserResponse) UnmarshalBinary

func (m *ListGroupsForMachineUserResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListGroupsForMachineUserResponse) Validate

Validate validates this list groups for machine user response

type ListGroupsForUserRequest

type ListGroupsForUserRequest struct {

	// The size of each page.
	// Maximum: 100
	// Minimum: 1
	PageSize int32 `json:"pageSize,omitempty"`

	// A token to specify where to start paginating. This is the nextToken from a previously truncated response.
	StartingToken string `json:"startingToken,omitempty"`

	// The ID or CRN of the user to list the groups of.
	// Required: true
	UserID *string `json:"userId"`
}

ListGroupsForUserRequest Request object for a list groups for user request.

swagger:model ListGroupsForUserRequest

func (*ListGroupsForUserRequest) ContextValidate

func (m *ListGroupsForUserRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list groups for user request based on context it is used

func (*ListGroupsForUserRequest) MarshalBinary

func (m *ListGroupsForUserRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListGroupsForUserRequest) UnmarshalBinary

func (m *ListGroupsForUserRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListGroupsForUserRequest) Validate

func (m *ListGroupsForUserRequest) Validate(formats strfmt.Registry) error

Validate validates this list groups for user request

type ListGroupsForUserResponse

type ListGroupsForUserResponse struct {

	// The list of groups.
	// Required: true
	GroupCrns []string `json:"groupCrns"`

	// The token to use when requesting the next set of results. If not present, there are no additional results.
	NextToken string `json:"nextToken,omitempty"`
}

ListGroupsForUserResponse Response object for a list groups for user request.

swagger:model ListGroupsForUserResponse

func (*ListGroupsForUserResponse) ContextValidate

func (m *ListGroupsForUserResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list groups for user response based on context it is used

func (*ListGroupsForUserResponse) MarshalBinary

func (m *ListGroupsForUserResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListGroupsForUserResponse) UnmarshalBinary

func (m *ListGroupsForUserResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListGroupsForUserResponse) Validate

func (m *ListGroupsForUserResponse) Validate(formats strfmt.Registry) error

Validate validates this list groups for user response

type ListGroupsRequest

type ListGroupsRequest struct {

	// The group names or CRNs of the groups. If not provided, all groups in the account are retrieved.
	GroupNames []string `json:"groupNames"`

	// The size of each page.
	// Maximum: 100
	// Minimum: 1
	PageSize int32 `json:"pageSize,omitempty"`

	// A token to specify where to start paginating. This is the nextToken from a previously truncated response.
	StartingToken string `json:"startingToken,omitempty"`
}

ListGroupsRequest Request object for a list groups request.

swagger:model ListGroupsRequest

func (*ListGroupsRequest) ContextValidate

func (m *ListGroupsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list groups request based on context it is used

func (*ListGroupsRequest) MarshalBinary

func (m *ListGroupsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListGroupsRequest) UnmarshalBinary

func (m *ListGroupsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListGroupsRequest) Validate

func (m *ListGroupsRequest) Validate(formats strfmt.Registry) error

Validate validates this list groups request

type ListGroupsResponse

type ListGroupsResponse struct {

	// The list of groups.
	// Required: true
	Groups []*Group `json:"groups"`

	// The token to use when requesting the next set of results. If not present, there are no additional results.
	NextToken string `json:"nextToken,omitempty"`
}

ListGroupsResponse Response object for a list groups request.

swagger:model ListGroupsResponse

func (*ListGroupsResponse) ContextValidate

func (m *ListGroupsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list groups response based on the context it is used

func (*ListGroupsResponse) MarshalBinary

func (m *ListGroupsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListGroupsResponse) UnmarshalBinary

func (m *ListGroupsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListGroupsResponse) Validate

func (m *ListGroupsResponse) Validate(formats strfmt.Registry) error

Validate validates this list groups response

type ListMachineUserAssignedResourceRolesRequest

type ListMachineUserAssignedResourceRolesRequest struct {

	// The machine user to list the assigned resource roles for. Can be the machine user's name or CRN.
	// Required: true
	MachineUserName *string `json:"machineUserName"`

	// The size of each page.
	// Maximum: 100
	// Minimum: 1
	PageSize int32 `json:"pageSize,omitempty"`

	// A token to specify where to start paginating. This is the nextToken from a previously truncated response.
	StartingToken string `json:"startingToken,omitempty"`
}

ListMachineUserAssignedResourceRolesRequest Request object for a list machine user assigned resource roles request.

swagger:model ListMachineUserAssignedResourceRolesRequest

func (*ListMachineUserAssignedResourceRolesRequest) ContextValidate

ContextValidate validates this list machine user assigned resource roles request based on context it is used

func (*ListMachineUserAssignedResourceRolesRequest) MarshalBinary

func (m *ListMachineUserAssignedResourceRolesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListMachineUserAssignedResourceRolesRequest) UnmarshalBinary

func (m *ListMachineUserAssignedResourceRolesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListMachineUserAssignedResourceRolesRequest) Validate

Validate validates this list machine user assigned resource roles request

type ListMachineUserAssignedResourceRolesResponse

type ListMachineUserAssignedResourceRolesResponse struct {

	// The token to use when requesting the next set of results. If not present, there are no additional results.
	NextToken string `json:"nextToken,omitempty"`

	// The user's resource assignments.
	// Required: true
	ResourceAssignments []*ResourceAssignment `json:"resourceAssignments"`
}

ListMachineUserAssignedResourceRolesResponse Response object for a list machine user assigned roles request.

swagger:model ListMachineUserAssignedResourceRolesResponse

func (*ListMachineUserAssignedResourceRolesResponse) ContextValidate

ContextValidate validate this list machine user assigned resource roles response based on the context it is used

func (*ListMachineUserAssignedResourceRolesResponse) MarshalBinary

MarshalBinary interface implementation

func (*ListMachineUserAssignedResourceRolesResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*ListMachineUserAssignedResourceRolesResponse) Validate

Validate validates this list machine user assigned resource roles response

type ListMachineUserAssignedRolesRequest

type ListMachineUserAssignedRolesRequest struct {

	// The machine user to list the assigned roles for. Can be the machine user's name or CRN.
	// Required: true
	MachineUserName *string `json:"machineUserName"`

	// The size of each page.
	// Maximum: 100
	// Minimum: 1
	PageSize int32 `json:"pageSize,omitempty"`

	// A token to specify where to start paginating. This is the nextToken from a previously truncated response.
	StartingToken string `json:"startingToken,omitempty"`
}

ListMachineUserAssignedRolesRequest Request object for a list machine user assigned roles request.

swagger:model ListMachineUserAssignedRolesRequest

func (*ListMachineUserAssignedRolesRequest) ContextValidate

func (m *ListMachineUserAssignedRolesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list machine user assigned roles request based on context it is used

func (*ListMachineUserAssignedRolesRequest) MarshalBinary

func (m *ListMachineUserAssignedRolesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListMachineUserAssignedRolesRequest) UnmarshalBinary

func (m *ListMachineUserAssignedRolesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListMachineUserAssignedRolesRequest) Validate

Validate validates this list machine user assigned roles request

type ListMachineUserAssignedRolesResponse

type ListMachineUserAssignedRolesResponse struct {

	// The token to use when requesting the next set of results. If not present, there are no additional results.
	NextToken string `json:"nextToken,omitempty"`

	// The role CRNs assigned to the user.
	// Required: true
	RoleCrns []string `json:"roleCrns"`
}

ListMachineUserAssignedRolesResponse Response object for a list machine user assigned roles request.

swagger:model ListMachineUserAssignedRolesResponse

func (*ListMachineUserAssignedRolesResponse) ContextValidate

func (m *ListMachineUserAssignedRolesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list machine user assigned roles response based on context it is used

func (*ListMachineUserAssignedRolesResponse) MarshalBinary

func (m *ListMachineUserAssignedRolesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListMachineUserAssignedRolesResponse) UnmarshalBinary

func (m *ListMachineUserAssignedRolesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListMachineUserAssignedRolesResponse) Validate

Validate validates this list machine user assigned roles response

type ListMachineUsersRequest

type ListMachineUsersRequest struct {

	// The names or the CRNs of the machine users. If not provided all machine users for the account are retrieved.
	MachineUserNames []string `json:"machineUserNames"`

	// The size of each page.
	// Maximum: 100
	// Minimum: 1
	PageSize int32 `json:"pageSize,omitempty"`

	// A token to specify where to start paginating. This is the nextToken from a previously truncated response.
	StartingToken string `json:"startingToken,omitempty"`
}

ListMachineUsersRequest Request object for a list machine users request.

swagger:model ListMachineUsersRequest

func (*ListMachineUsersRequest) ContextValidate

func (m *ListMachineUsersRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list machine users request based on context it is used

func (*ListMachineUsersRequest) MarshalBinary

func (m *ListMachineUsersRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListMachineUsersRequest) UnmarshalBinary

func (m *ListMachineUsersRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListMachineUsersRequest) Validate

func (m *ListMachineUsersRequest) Validate(formats strfmt.Registry) error

Validate validates this list machine users request

type ListMachineUsersResponse

type ListMachineUsersResponse struct {

	// The machine users.
	// Required: true
	MachineUsers []*MachineUser `json:"machineUsers"`

	// The token to use when requesting the next set of results. If not present, there are no additional results.
	NextToken string `json:"nextToken,omitempty"`
}

ListMachineUsersResponse Response object for a list machine users request.

swagger:model ListMachineUsersResponse

func (*ListMachineUsersResponse) ContextValidate

func (m *ListMachineUsersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list machine users response based on the context it is used

func (*ListMachineUsersResponse) MarshalBinary

func (m *ListMachineUsersResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListMachineUsersResponse) UnmarshalBinary

func (m *ListMachineUsersResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListMachineUsersResponse) Validate

func (m *ListMachineUsersResponse) Validate(formats strfmt.Registry) error

Validate validates this list machine users response

type ListResourceAssigneesRequest

type ListResourceAssigneesRequest struct {

	// The size of each page.
	// Maximum: 100
	// Minimum: 1
	PageSize int32 `json:"pageSize,omitempty"`

	// The resource CRN for which to list the assignees.
	// Required: true
	ResourceCrn *string `json:"resourceCrn"`

	// A token to specify where to start paginating. This is the nextToken from a previously truncated response.
	StartingToken string `json:"startingToken,omitempty"`
}

ListResourceAssigneesRequest Request object for a list resource assignees request.

swagger:model ListResourceAssigneesRequest

func (*ListResourceAssigneesRequest) ContextValidate

func (m *ListResourceAssigneesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list resource assignees request based on context it is used

func (*ListResourceAssigneesRequest) MarshalBinary

func (m *ListResourceAssigneesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListResourceAssigneesRequest) UnmarshalBinary

func (m *ListResourceAssigneesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListResourceAssigneesRequest) Validate

func (m *ListResourceAssigneesRequest) Validate(formats strfmt.Registry) error

Validate validates this list resource assignees request

type ListResourceAssigneesResponse

type ListResourceAssigneesResponse struct {

	// The token to use when requesting the next set of results. If not present, there are no additional results.
	NextToken string `json:"nextToken,omitempty"`

	// List of resource assignees and their respective resource roles for the resource.
	// Required: true
	ResourceAssignees []*ResourceAssignee `json:"resourceAssignees"`
}

ListResourceAssigneesResponse Response object for a list resource assignees request.

swagger:model ListResourceAssigneesResponse

func (*ListResourceAssigneesResponse) ContextValidate

func (m *ListResourceAssigneesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list resource assignees response based on the context it is used

func (*ListResourceAssigneesResponse) MarshalBinary

func (m *ListResourceAssigneesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListResourceAssigneesResponse) UnmarshalBinary

func (m *ListResourceAssigneesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListResourceAssigneesResponse) Validate

func (m *ListResourceAssigneesResponse) Validate(formats strfmt.Registry) error

Validate validates this list resource assignees response

type ListResourceRolesRequest

type ListResourceRolesRequest struct {

	// The size of each page.
	// Maximum: 100
	// Minimum: 1
	PageSize int32 `json:"pageSize,omitempty"`

	// The resource roles CRNs to retrieve. If empty all resource roles will be returned.
	ResourceRoleNames []string `json:"resourceRoleNames"`

	// A token to specify where to start paginating. This is the nextToken from a previously truncated response.
	StartingToken string `json:"startingToken,omitempty"`
}

ListResourceRolesRequest Request object for a list resource roles request.

swagger:model ListResourceRolesRequest

func (*ListResourceRolesRequest) ContextValidate

func (m *ListResourceRolesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list resource roles request based on context it is used

func (*ListResourceRolesRequest) MarshalBinary

func (m *ListResourceRolesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListResourceRolesRequest) UnmarshalBinary

func (m *ListResourceRolesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListResourceRolesRequest) Validate

func (m *ListResourceRolesRequest) Validate(formats strfmt.Registry) error

Validate validates this list resource roles request

type ListResourceRolesResponse

type ListResourceRolesResponse struct {

	// The token to use when requesting the next set of results. If not present, there are no additional results.
	NextToken string `json:"nextToken,omitempty"`

	// The list of resource roles. Cannot be empty.
	// Required: true
	ResourceRoles []*ResourceRole `json:"resourceRoles"`
}

ListResourceRolesResponse Response object for a list resource roles request.

swagger:model ListResourceRolesResponse

func (*ListResourceRolesResponse) ContextValidate

func (m *ListResourceRolesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list resource roles response based on the context it is used

func (*ListResourceRolesResponse) MarshalBinary

func (m *ListResourceRolesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListResourceRolesResponse) UnmarshalBinary

func (m *ListResourceRolesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListResourceRolesResponse) Validate

func (m *ListResourceRolesResponse) Validate(formats strfmt.Registry) error

Validate validates this list resource roles response

type ListRolesRequest

type ListRolesRequest struct {

	// The size of each page.
	// Maximum: 100
	// Minimum: 1
	PageSize int32 `json:"pageSize,omitempty"`

	// The roles names or CRNs to retrieve. If empty all roles will be returned.
	RoleNames []string `json:"roleNames"`

	// A token to specify where to start paginating. This is the nextToken from a previously truncated response.
	StartingToken string `json:"startingToken,omitempty"`
}

ListRolesRequest Request object for a list roles request.

swagger:model ListRolesRequest

func (*ListRolesRequest) ContextValidate

func (m *ListRolesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list roles request based on context it is used

func (*ListRolesRequest) MarshalBinary

func (m *ListRolesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListRolesRequest) UnmarshalBinary

func (m *ListRolesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListRolesRequest) Validate

func (m *ListRolesRequest) Validate(formats strfmt.Registry) error

Validate validates this list roles request

type ListRolesResponse

type ListRolesResponse struct {

	// The token to use when requesting the next set of results. If not present, there are no additional results.
	NextToken string `json:"nextToken,omitempty"`

	// The list of roles in the account.
	// Required: true
	Roles []*Role `json:"roles"`
}

ListRolesResponse Response object for a list roles request.

swagger:model ListRolesResponse

func (*ListRolesResponse) ContextValidate

func (m *ListRolesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list roles response based on the context it is used

func (*ListRolesResponse) MarshalBinary

func (m *ListRolesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListRolesResponse) UnmarshalBinary

func (m *ListRolesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListRolesResponse) Validate

func (m *ListRolesResponse) Validate(formats strfmt.Registry) error

Validate validates this list roles response

type ListSSHPublicKeysRequest

type ListSSHPublicKeysRequest struct {

	// The CRN of the user or machine user to list SSH public keys for. If it is not included, it defaults to the actor making the request.
	ActorCrn string `json:"actorCrn,omitempty"`
}

ListSSHPublicKeysRequest Request object for list SSH public key.

swagger:model ListSshPublicKeysRequest

func (*ListSSHPublicKeysRequest) ContextValidate

func (m *ListSSHPublicKeysRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list Ssh public keys request based on context it is used

func (*ListSSHPublicKeysRequest) MarshalBinary

func (m *ListSSHPublicKeysRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListSSHPublicKeysRequest) UnmarshalBinary

func (m *ListSSHPublicKeysRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListSSHPublicKeysRequest) Validate

func (m *ListSSHPublicKeysRequest) Validate(formats strfmt.Registry) error

Validate validates this list Ssh public keys request

type ListSSHPublicKeysResponse

type ListSSHPublicKeysResponse struct {

	// The list of SSH Public keys.
	// Required: true
	SSHPublicKeys []*SSHPublicKey `json:"sshPublicKeys"`
}

ListSSHPublicKeysResponse Response object for list SSH public key.

swagger:model ListSshPublicKeysResponse

func (*ListSSHPublicKeysResponse) ContextValidate

func (m *ListSSHPublicKeysResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list Ssh public keys response based on the context it is used

func (*ListSSHPublicKeysResponse) MarshalBinary

func (m *ListSSHPublicKeysResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListSSHPublicKeysResponse) UnmarshalBinary

func (m *ListSSHPublicKeysResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListSSHPublicKeysResponse) Validate

func (m *ListSSHPublicKeysResponse) Validate(formats strfmt.Registry) error

Validate validates this list Ssh public keys response

type ListSamlProvidersRequest

type ListSamlProvidersRequest struct {

	// The size of each page.
	// Maximum: 100
	// Minimum: 1
	PageSize int32 `json:"pageSize,omitempty"`

	// The SAML providers names or CRNs to retrieve. If empty all SAML providers will be returned.
	SamlProviderNames []string `json:"samlProviderNames"`

	// A token to specify where to start paginating. This is the nextToken from a previously truncated response.
	StartingToken string `json:"startingToken,omitempty"`
}

ListSamlProvidersRequest Request object for a list SAML providers request.

swagger:model ListSamlProvidersRequest

func (*ListSamlProvidersRequest) ContextValidate

func (m *ListSamlProvidersRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list saml providers request based on context it is used

func (*ListSamlProvidersRequest) MarshalBinary

func (m *ListSamlProvidersRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListSamlProvidersRequest) UnmarshalBinary

func (m *ListSamlProvidersRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListSamlProvidersRequest) Validate

func (m *ListSamlProvidersRequest) Validate(formats strfmt.Registry) error

Validate validates this list saml providers request

type ListSamlProvidersResponse

type ListSamlProvidersResponse struct {

	// The token to use when requesting the next set of results. If not present, there are no additional results.
	NextToken string `json:"nextToken,omitempty"`

	// The SAML providers.
	// Required: true
	SamlProviders []*SamlProvider `json:"samlProviders"`
}

ListSamlProvidersResponse Response object for a list SAML providers request.

swagger:model ListSamlProvidersResponse

func (*ListSamlProvidersResponse) ContextValidate

func (m *ListSamlProvidersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list saml providers response based on the context it is used

func (*ListSamlProvidersResponse) MarshalBinary

func (m *ListSamlProvidersResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListSamlProvidersResponse) UnmarshalBinary

func (m *ListSamlProvidersResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListSamlProvidersResponse) Validate

func (m *ListSamlProvidersResponse) Validate(formats strfmt.Registry) error

Validate validates this list saml providers response

type ListScimAccessTokensRequest

type ListScimAccessTokensRequest struct {

	// The name or CRN of the identity provider.
	// Required: true
	IdentityProviderNameOrCrn *string `json:"identityProviderNameOrCrn"`

	// The size of each page.
	// Maximum: 100
	// Minimum: 1
	PageSize int32 `json:"pageSize,omitempty"`

	// A token to specify where to start paginating. This is the nextToken from a previously truncated response.
	StartingToken string `json:"startingToken,omitempty"`
}

ListScimAccessTokensRequest Request object to list the SCIM access tokens.

swagger:model ListScimAccessTokensRequest

func (*ListScimAccessTokensRequest) ContextValidate

func (m *ListScimAccessTokensRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list scim access tokens request based on context it is used

func (*ListScimAccessTokensRequest) MarshalBinary

func (m *ListScimAccessTokensRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListScimAccessTokensRequest) UnmarshalBinary

func (m *ListScimAccessTokensRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListScimAccessTokensRequest) Validate

func (m *ListScimAccessTokensRequest) Validate(formats strfmt.Registry) error

Validate validates this list scim access tokens request

type ListScimAccessTokensResponse

type ListScimAccessTokensResponse struct {

	// The SCIM access tokens.
	// Required: true
	AccessTokens []*ScimAccessToken `json:"accessTokens"`

	// The token to use when requesting the next set of results. If not present, there are no additional results.
	NextToken string `json:"nextToken,omitempty"`
}

ListScimAccessTokensResponse Response object to list the SCIM access tokens.

swagger:model ListScimAccessTokensResponse

func (*ListScimAccessTokensResponse) ContextValidate

func (m *ListScimAccessTokensResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list scim access tokens response based on the context it is used

func (*ListScimAccessTokensResponse) MarshalBinary

func (m *ListScimAccessTokensResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListScimAccessTokensResponse) UnmarshalBinary

func (m *ListScimAccessTokensResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListScimAccessTokensResponse) Validate

func (m *ListScimAccessTokensResponse) Validate(formats strfmt.Registry) error

Validate validates this list scim access tokens response

type ListServicePrincipalCloudIdentitiesRequest

type ListServicePrincipalCloudIdentitiesRequest struct {

	// The CRN of the environment for which cloud identity mappings should be listed. If omitted, mappings for all environments are listed.
	EnvironmentCrn string `json:"environmentCrn,omitempty"`

	// The size of each page.
	// Maximum: 100
	// Minimum: 1
	PageSize int32 `json:"pageSize,omitempty"`

	// The service principals for which cloud identity mappings should be listed. If omitted, mappings for all service principals are listed.
	ServicePrincipals []string `json:"servicePrincipals"`

	// A token to specify where to start paginating. This is the nextToken from a previously truncated response.
	StartingToken string `json:"startingToken,omitempty"`
}

ListServicePrincipalCloudIdentitiesRequest Request object for a list service principal cloud identities request.

swagger:model ListServicePrincipalCloudIdentitiesRequest

func (*ListServicePrincipalCloudIdentitiesRequest) ContextValidate

ContextValidate validates this list service principal cloud identities request based on context it is used

func (*ListServicePrincipalCloudIdentitiesRequest) MarshalBinary

func (m *ListServicePrincipalCloudIdentitiesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListServicePrincipalCloudIdentitiesRequest) UnmarshalBinary

func (m *ListServicePrincipalCloudIdentitiesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListServicePrincipalCloudIdentitiesRequest) Validate

Validate validates this list service principal cloud identities request

type ListServicePrincipalCloudIdentitiesResponse

type ListServicePrincipalCloudIdentitiesResponse struct {

	// The token to use when requesting the next set of results. If not present, there are no additional results.
	NextToken string `json:"nextToken,omitempty"`

	// The list of service principal cloud identity mappings.
	// Required: true
	ServicePrincipalCloudIdentities []*ServicePrincipalCloudIdentities `json:"servicePrincipalCloudIdentities"`
}

ListServicePrincipalCloudIdentitiesResponse Response object for a list service principal cloud identities request.

swagger:model ListServicePrincipalCloudIdentitiesResponse

func (*ListServicePrincipalCloudIdentitiesResponse) ContextValidate

ContextValidate validate this list service principal cloud identities response based on the context it is used

func (*ListServicePrincipalCloudIdentitiesResponse) MarshalBinary

func (m *ListServicePrincipalCloudIdentitiesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListServicePrincipalCloudIdentitiesResponse) UnmarshalBinary

func (m *ListServicePrincipalCloudIdentitiesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListServicePrincipalCloudIdentitiesResponse) Validate

Validate validates this list service principal cloud identities response

type ListUserAssignedResourceRolesRequest

type ListUserAssignedResourceRolesRequest struct {

	// The size of each page.
	// Maximum: 100
	// Minimum: 1
	PageSize int32 `json:"pageSize,omitempty"`

	// A token to specify where to start paginating. This is the nextToken from a previously truncated response.
	StartingToken string `json:"startingToken,omitempty"`

	// The user to list the assigned roles for. Can be the user's CRN or id. If it is not included, it defaults to the user making the request.
	User string `json:"user,omitempty"`
}

ListUserAssignedResourceRolesRequest Request object for a list user assigned resource roles request.

swagger:model ListUserAssignedResourceRolesRequest

func (*ListUserAssignedResourceRolesRequest) ContextValidate

func (m *ListUserAssignedResourceRolesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list user assigned resource roles request based on context it is used

func (*ListUserAssignedResourceRolesRequest) MarshalBinary

func (m *ListUserAssignedResourceRolesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListUserAssignedResourceRolesRequest) UnmarshalBinary

func (m *ListUserAssignedResourceRolesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListUserAssignedResourceRolesRequest) Validate

Validate validates this list user assigned resource roles request

type ListUserAssignedResourceRolesResponse

type ListUserAssignedResourceRolesResponse struct {

	// The token to use when requesting the next set of results. If not present, there are no additional results.
	NextToken string `json:"nextToken,omitempty"`

	// The user's resource assignments.
	// Required: true
	ResourceAssignments []*ResourceAssignment `json:"resourceAssignments"`
}

ListUserAssignedResourceRolesResponse Response object for a list user assigned roles request.

swagger:model ListUserAssignedResourceRolesResponse

func (*ListUserAssignedResourceRolesResponse) ContextValidate

func (m *ListUserAssignedResourceRolesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list user assigned resource roles response based on the context it is used

func (*ListUserAssignedResourceRolesResponse) MarshalBinary

func (m *ListUserAssignedResourceRolesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListUserAssignedResourceRolesResponse) UnmarshalBinary

func (m *ListUserAssignedResourceRolesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListUserAssignedResourceRolesResponse) Validate

Validate validates this list user assigned resource roles response

type ListUserAssignedRolesRequest

type ListUserAssignedRolesRequest struct {

	// The size of each page.
	// Maximum: 100
	// Minimum: 1
	PageSize int32 `json:"pageSize,omitempty"`

	// A token to specify where to start paginating. This is the nextToken from a previously truncated response.
	StartingToken string `json:"startingToken,omitempty"`

	// The user to list the assigned roles for. Can be the user's CRN or id. If it is not included, it defaults to the user making the request.
	User string `json:"user,omitempty"`
}

ListUserAssignedRolesRequest Request object for a list user assigned roles request.

swagger:model ListUserAssignedRolesRequest

func (*ListUserAssignedRolesRequest) ContextValidate

func (m *ListUserAssignedRolesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list user assigned roles request based on context it is used

func (*ListUserAssignedRolesRequest) MarshalBinary

func (m *ListUserAssignedRolesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListUserAssignedRolesRequest) UnmarshalBinary

func (m *ListUserAssignedRolesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListUserAssignedRolesRequest) Validate

func (m *ListUserAssignedRolesRequest) Validate(formats strfmt.Registry) error

Validate validates this list user assigned roles request

type ListUserAssignedRolesResponse

type ListUserAssignedRolesResponse struct {

	// The token to use when requesting the next set of results. If not present, there are no additional results.
	NextToken string `json:"nextToken,omitempty"`

	// The role CRNs assigned to the user.
	// Required: true
	RoleCrns []string `json:"roleCrns"`
}

ListUserAssignedRolesResponse Response object for a list user assigned roles request.

swagger:model ListUserAssignedRolesResponse

func (*ListUserAssignedRolesResponse) ContextValidate

func (m *ListUserAssignedRolesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list user assigned roles response based on context it is used

func (*ListUserAssignedRolesResponse) MarshalBinary

func (m *ListUserAssignedRolesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListUserAssignedRolesResponse) UnmarshalBinary

func (m *ListUserAssignedRolesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListUserAssignedRolesResponse) Validate

func (m *ListUserAssignedRolesResponse) Validate(formats strfmt.Registry) error

Validate validates this list user assigned roles response

type ListUsersRequest

type ListUsersRequest struct {

	// The size of each page.
	// Maximum: 500
	// Minimum: 1
	PageSize int32 `json:"pageSize,omitempty"`

	// A token to specify where to start paginating. This is the nextToken from a previously truncated response.
	StartingToken string `json:"startingToken,omitempty"`

	// The user IDs or CRNs of the users.
	UserIds []string `json:"userIds"`
}

ListUsersRequest Request object for a list users request.

swagger:model ListUsersRequest

func (*ListUsersRequest) ContextValidate

func (m *ListUsersRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list users request based on context it is used

func (*ListUsersRequest) MarshalBinary

func (m *ListUsersRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListUsersRequest) UnmarshalBinary

func (m *ListUsersRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListUsersRequest) Validate

func (m *ListUsersRequest) Validate(formats strfmt.Registry) error

Validate validates this list users request

type ListUsersResponse

type ListUsersResponse struct {

	// The token to use when requesting the next set of results. If not present, there are no additional results.
	NextToken string `json:"nextToken,omitempty"`

	// The users.
	// Required: true
	Users []*User `json:"users"`
}

ListUsersResponse Response object for a list users request.

swagger:model ListUsersResponse

func (*ListUsersResponse) ContextValidate

func (m *ListUsersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list users response based on the context it is used

func (*ListUsersResponse) MarshalBinary

func (m *ListUsersResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListUsersResponse) UnmarshalBinary

func (m *ListUsersResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListUsersResponse) Validate

func (m *ListUsersResponse) Validate(formats strfmt.Registry) error

Validate validates this list users response

type MachineUser

type MachineUser struct {

	// The list of Azure cloud identities assigned to the machine user.
	AzureCloudIdentities []*AzureCloudIdentity `json:"azureCloudIdentities"`

	// The date when this machine user record was created.
	// Required: true
	// Format: date-time
	CreationDate *strfmt.DateTime `json:"creationDate"`

	// The CRN of the user.
	// Required: true
	Crn *string `json:"crn"`

	// The machine user name.
	// Required: true
	MachineUserName *string `json:"machineUserName"`

	// The current status of the machine user. The possible status values are ACTIVE and CONTROL_PLANE_LOCKED_OUT. ACTIVE indicates that the machine user is active in CDP. An active machine user can authenticate to the CDP control plane and workload clusters. CONTROL_PLANE_LOCKED_OUT indicates that the machine user is locked out of the CDP control plane. The locked-out machine user can no longer authenticate to the control plane but can authenticate to the workload clusters. Note that more statuses could be added in the future. The statuses other than ACTIVE are only returned on Cloudera for Government.
	Status string `json:"status,omitempty"`

	// Information about the workload password for the machine user.
	WorkloadPasswordDetails *WorkloadPasswordDetails `json:"workloadPasswordDetails,omitempty"`

	// The username used in all the workload clusters of the machine user.
	WorkloadUsername string `json:"workloadUsername,omitempty"`
}

MachineUser Information about a Cloudera CDP machine user.

swagger:model MachineUser

func (*MachineUser) ContextValidate

func (m *MachineUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this machine user based on the context it is used

func (*MachineUser) MarshalBinary

func (m *MachineUser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MachineUser) UnmarshalBinary

func (m *MachineUser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MachineUser) Validate

func (m *MachineUser) Validate(formats strfmt.Registry) error

Validate validates this machine user

type PasswordPolicy

type PasswordPolicy struct {

	// The maximum lifetime of passwords, in days. If set to '0' passwords never expire. The default is 0.
	// Minimum: 0
	MaxPasswordLifetimeDays *int32 `json:"maxPasswordLifetimeDays,omitempty"`

	// The minimum length of a password. Can be any number between 6 and 256. The default minimum password length is 8.
	// Maximum: 256
	// Minimum: 6
	MinPasswordLength int32 `json:"minPasswordLength,omitempty"`

	// The minimum lifetime of passwords, in days. The password must be used for this duration before it can be changed. If set to '0' the password may be changed any time. The default is 0. The minPasswordLifetimeDays must be greater than maxPasswordLifetimeDays.
	// Minimum: 0
	MinPasswordLifetimeDays *int32 `json:"minPasswordLifetimeDays,omitempty"`

	// Whether passwords must include lower case characters. The default is 'true'.
	MustIncludeLowerCaseCharacters bool `json:"mustIncludeLowerCaseCharacters,omitempty"`

	// Whether passwords must include numbers. The default is 'true'.
	MustIncludeNumbers bool `json:"mustIncludeNumbers,omitempty"`

	// Whether passwords must include symbols. The symbols are '#', '&', '*', '$', '%', '@', '^', '.', '_', and '!'. The default is 'true'.
	MustIncludeSymbols bool `json:"mustIncludeSymbols,omitempty"`

	// Whether passwords must include upper case characters. The default is 'true'.
	MustIncludeUpperCaseCharacters bool `json:"mustIncludeUpperCaseCharacters,omitempty"`

	// The number of previous passwords that should be remembered. The user or machine user is prevented from reusing these passwords. Can be any number between 0 and 20. The default is 0, this value means all previous passwords may be reused.
	// Maximum: 20
	// Minimum: 0
	PasswordHistorySize *int32 `json:"passwordHistorySize,omitempty"`
}

PasswordPolicy An object representing password policy options.

swagger:model PasswordPolicy

func (*PasswordPolicy) ContextValidate

func (m *PasswordPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this password policy based on context it is used

func (*PasswordPolicy) MarshalBinary

func (m *PasswordPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PasswordPolicy) UnmarshalBinary

func (m *PasswordPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PasswordPolicy) Validate

func (m *PasswordPolicy) Validate(formats strfmt.Registry) error

Validate validates this password policy

type Policy

type Policy struct {

	// The policy crn.
	// Required: true
	Crn *string `json:"crn"`

	// The policy statements.
	// Required: true
	PolicyStatements []*PolicyStatement `json:"policyStatements"`
}

Policy A policy contains a list of one or more policy statements.

swagger:model Policy

func (*Policy) ContextValidate

func (m *Policy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this policy based on the context it is used

func (*Policy) MarshalBinary

func (m *Policy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Policy) UnmarshalBinary

func (m *Policy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Policy) Validate

func (m *Policy) Validate(formats strfmt.Registry) error

Validate validates this policy

type PolicyStatement

type PolicyStatement struct {

	// The resources on which the rights are granted.
	// Required: true
	Resources []string `json:"resources"`

	// The list of rights in the policy statement.
	// Required: true
	Rights []string `json:"rights"`
}

PolicyStatement A policy statement is a list of rights and zero or more resources on which the rights are granted.

swagger:model PolicyStatement

func (*PolicyStatement) ContextValidate

func (m *PolicyStatement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this policy statement based on context it is used

func (*PolicyStatement) MarshalBinary

func (m *PolicyStatement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PolicyStatement) UnmarshalBinary

func (m *PolicyStatement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PolicyStatement) Validate

func (m *PolicyStatement) Validate(formats strfmt.Registry) error

Validate validates this policy statement

type RemoveMachineUserFromGroupRequest

type RemoveMachineUserFromGroupRequest struct {

	// The name or CRN of the group to remove the machine user from.
	// Required: true
	GroupName *string `json:"groupName"`

	// The name or CRN of the machine user to add to the group.
	// Required: true
	MachineUserName *string `json:"machineUserName"`
}

RemoveMachineUserFromGroupRequest Request object for a remove machine user from group request.

swagger:model RemoveMachineUserFromGroupRequest

func (*RemoveMachineUserFromGroupRequest) ContextValidate

func (m *RemoveMachineUserFromGroupRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this remove machine user from group request based on context it is used

func (*RemoveMachineUserFromGroupRequest) MarshalBinary

func (m *RemoveMachineUserFromGroupRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemoveMachineUserFromGroupRequest) UnmarshalBinary

func (m *RemoveMachineUserFromGroupRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemoveMachineUserFromGroupRequest) Validate

Validate validates this remove machine user from group request

type RemoveMachineUserFromGroupResponse

type RemoveMachineUserFromGroupResponse interface{}

RemoveMachineUserFromGroupResponse Response object for a remove machine user from group request.

swagger:model RemoveMachineUserFromGroupResponse

type RemoveUserFromGroupRequest

type RemoveUserFromGroupRequest struct {

	// The name or CRN of the group to remove the user from.
	// Required: true
	GroupName *string `json:"groupName"`

	// The ID or CRN of the user to remove from the group.
	// Required: true
	UserID *string `json:"userId"`
}

RemoveUserFromGroupRequest Request object for a remove user from group request.

swagger:model RemoveUserFromGroupRequest

func (*RemoveUserFromGroupRequest) ContextValidate

func (m *RemoveUserFromGroupRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this remove user from group request based on context it is used

func (*RemoveUserFromGroupRequest) MarshalBinary

func (m *RemoveUserFromGroupRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemoveUserFromGroupRequest) UnmarshalBinary

func (m *RemoveUserFromGroupRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemoveUserFromGroupRequest) Validate

func (m *RemoveUserFromGroupRequest) Validate(formats strfmt.Registry) error

Validate validates this remove user from group request

type RemoveUserFromGroupResponse

type RemoveUserFromGroupResponse interface{}

RemoveUserFromGroupResponse Response object for a remove user from group request.

swagger:model RemoveUserFromGroupResponse

type ResourceAssignee

type ResourceAssignee struct {

	// The CRN of the assignee.
	// Required: true
	AssigneeCrn *string `json:"assigneeCrn"`

	// The assigned resource role CRN.
	// Required: true
	ResourceRoleCrn *string `json:"resourceRoleCrn"`
}

ResourceAssignee Information about the resource role assignee for the resource.

swagger:model ResourceAssignee

func (*ResourceAssignee) ContextValidate

func (m *ResourceAssignee) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this resource assignee based on context it is used

func (*ResourceAssignee) MarshalBinary

func (m *ResourceAssignee) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourceAssignee) UnmarshalBinary

func (m *ResourceAssignee) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourceAssignee) Validate

func (m *ResourceAssignee) Validate(formats strfmt.Registry) error

Validate validates this resource assignee

type ResourceAssignment

type ResourceAssignment struct {

	// The assigned resource's CRN.
	// Required: true
	ResourceCrn *string `json:"resourceCrn"`

	// The assigned resource role CRN.
	// Required: true
	ResourceRoleCrn *string `json:"resourceRoleCrn"`
}

ResourceAssignment Information about a resource assignment.

swagger:model ResourceAssignment

func (*ResourceAssignment) ContextValidate

func (m *ResourceAssignment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this resource assignment based on context it is used

func (*ResourceAssignment) MarshalBinary

func (m *ResourceAssignment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourceAssignment) UnmarshalBinary

func (m *ResourceAssignment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourceAssignment) Validate

func (m *ResourceAssignment) Validate(formats strfmt.Registry) error

Validate validates this resource assignment

type ResourceRole

type ResourceRole struct {

	// The CRN of the resource role.
	// Required: true
	Crn *string `json:"crn"`

	// The rights granted by this role.
	// Required: true
	Rights []string `json:"rights"`
}

ResourceRole Information about a resource role. A resource role is a role that grants a collection of rights to a user on resources.

swagger:model ResourceRole

func (*ResourceRole) ContextValidate

func (m *ResourceRole) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this resource role based on context it is used

func (*ResourceRole) MarshalBinary

func (m *ResourceRole) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourceRole) UnmarshalBinary

func (m *ResourceRole) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourceRole) Validate

func (m *ResourceRole) Validate(formats strfmt.Registry) error

Validate validates this resource role

type Role

type Role struct {

	// The role's CRN.
	// Required: true
	Crn *string `json:"crn"`

	// The list of policies that belong to the role. Cannot be empty.
	// Required: true
	Policies []*Policy `json:"policies"`
}

Role Information about a role.

swagger:model Role

func (*Role) ContextValidate

func (m *Role) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this role based on the context it is used

func (*Role) MarshalBinary

func (m *Role) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Role) UnmarshalBinary

func (m *Role) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Role) Validate

func (m *Role) Validate(formats strfmt.Registry) error

Validate validates this role

type SSHPublicKey

type SSHPublicKey struct {

	// The SSH public key CRN.
	// Required: true
	Crn *string `json:"crn"`

	// An optional description for the public key.
	Description string `json:"description,omitempty"`

	// The SSH public key string. Only populated for DescribeSshPublicKeyResponses. This is the same string that was used when the key was added.
	PublicKey string `json:"publicKey,omitempty"`

	// The SSH public key SHA256 fingerprint. This is identical to the SHA256 produced by running the following command on a public key named 'key.pub'; ssh-keygen -l -E SHA256 -f /home/user/.ssh/key.pub. Note that ssh-keygen removes any padding bytes from the BASE64 fingerprint encoding (the '=' characters at the end of the fingerprint) which is also true for this fingerprint.
	// Required: true
	PublicKeyFingerprint *string `json:"publicKeyFingerprint"`
}

SSHPublicKey Information about an SSH public key.

swagger:model SshPublicKey

func (*SSHPublicKey) ContextValidate

func (m *SSHPublicKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this Ssh public key based on context it is used

func (*SSHPublicKey) MarshalBinary

func (m *SSHPublicKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SSHPublicKey) UnmarshalBinary

func (m *SSHPublicKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SSHPublicKey) Validate

func (m *SSHPublicKey) Validate(formats strfmt.Registry) error

Validate validates this Ssh public key

type SamlProvider

type SamlProvider struct {

	// The Service Provider SAML metadata specific to this CDP SAML provider. This field will only be set for createSamlProvider and describeSamlProvider API calls.
	CdpSpMetadata string `json:"cdpSpMetadata,omitempty"`

	// The date when this SAML provider record was created.
	// Required: true
	// Format: date-time
	CreationDate *strfmt.DateTime `json:"creationDate"`

	// CRN of the SAML provider in CDP.
	// Required: true
	Crn *string `json:"crn"`

	// Whether SCIM is enabled on this SAML provider. System for Cross-domain Identity Management (SCIM) version 2.0 is a standard for automating the provisioning of user and group identity information from identity provider to CDP. It is omitted for Cloudera for Government.
	EnableScim bool `json:"enableScim,omitempty"`

	// Whether to generate users' workload username by email or by identity provider user ID (SAML NameID).
	GenerateWorkloadUsernameByEmail bool `json:"generateWorkloadUsernameByEmail,omitempty"`

	// The original metadata that was passed while creating the SAML provider connector. This field will not be set when the SAML provider does not have metadata. This field will not be set for listSamlProviders API response.
	SamlMetadataDocument string `json:"samlMetadataDocument,omitempty"`

	// The unique ID of the saml provider.
	// Required: true
	SamlProviderID *string `json:"samlProviderId"`

	// Name of the SAML provider.
	// Required: true
	SamlProviderName *string `json:"samlProviderName"`

	// The SCIM URL if SCIM is enabled. It is omitted for Cloudera for Government.
	ScimURL string `json:"scimUrl,omitempty"`

	// Whether users federated with this SAML provider will have their group membership synchronized. Group membership can be passed using the https://cdp.cloudera.com/SAML/Attributes/groups SAML assertion.
	// Required: true
	SyncGroupsOnLogin *bool `json:"syncGroupsOnLogin"`
}

SamlProvider Information used to connect a CDP account to an external identity provider.

swagger:model SamlProvider

func (*SamlProvider) ContextValidate

func (m *SamlProvider) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this saml provider based on context it is used

func (*SamlProvider) MarshalBinary

func (m *SamlProvider) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SamlProvider) UnmarshalBinary

func (m *SamlProvider) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SamlProvider) Validate

func (m *SamlProvider) Validate(formats strfmt.Registry) error

Validate validates this saml provider

type ScimAccessToken

type ScimAccessToken struct {

	// The SCIM access token id.
	// Required: true
	AccessTokenID *string `json:"accessTokenId"`

	// The date when this SCIM access token was created.
	// Required: true
	// Format: date-time
	CreationDate *strfmt.DateTime `json:"creationDate"`

	// The SCIM access token CRN.
	// Required: true
	Crn *string `json:"crn"`

	// The SCIM access token expiration date. The access token never expires if the value is not set.
	// Format: date-time
	ExpirationDate strfmt.DateTime `json:"expirationDate,omitempty"`
}

ScimAccessToken Information about the SCIM access token.

swagger:model ScimAccessToken

func (*ScimAccessToken) ContextValidate

func (m *ScimAccessToken) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this scim access token based on context it is used

func (*ScimAccessToken) MarshalBinary

func (m *ScimAccessToken) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ScimAccessToken) UnmarshalBinary

func (m *ScimAccessToken) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ScimAccessToken) Validate

func (m *ScimAccessToken) Validate(formats strfmt.Registry) error

Validate validates this scim access token

type ServicePrincipalCloudIdentities

type ServicePrincipalCloudIdentities struct {

	// The list of Azure cloud identities assigned to the service principal.
	AzureCloudIdentities []*AzureCloudIdentity `json:"azureCloudIdentities"`

	// The name of the service principal that the cloud identities are assigned to.
	// Required: true
	ServicePrincipal *string `json:"servicePrincipal"`
}

ServicePrincipalCloudIdentities Cloud identity mappings for a service principal.

swagger:model ServicePrincipalCloudIdentities

func (*ServicePrincipalCloudIdentities) ContextValidate

func (m *ServicePrincipalCloudIdentities) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service principal cloud identities based on the context it is used

func (*ServicePrincipalCloudIdentities) MarshalBinary

func (m *ServicePrincipalCloudIdentities) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServicePrincipalCloudIdentities) UnmarshalBinary

func (m *ServicePrincipalCloudIdentities) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServicePrincipalCloudIdentities) Validate

Validate validates this service principal cloud identities

type SetAccountMessagesRequest

type SetAccountMessagesRequest struct {

	// Message shown to user when user does not have sufficient rights. Length of message cannot be more than 512 characters. If string is empty, default message is displayed.
	ContactYourAdministratorMessage string `json:"contactYourAdministratorMessage,omitempty"`
}

SetAccountMessagesRequest Request object for set account messages for account.

swagger:model SetAccountMessagesRequest

func (*SetAccountMessagesRequest) ContextValidate

func (m *SetAccountMessagesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this set account messages request based on context it is used

func (*SetAccountMessagesRequest) MarshalBinary

func (m *SetAccountMessagesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SetAccountMessagesRequest) UnmarshalBinary

func (m *SetAccountMessagesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SetAccountMessagesRequest) Validate

func (m *SetAccountMessagesRequest) Validate(formats strfmt.Registry) error

Validate validates this set account messages request

type SetAccountMessagesResponse

type SetAccountMessagesResponse interface{}

SetAccountMessagesResponse Response object for set account messages.

swagger:model SetAccountMessagesResponse

type SetAuthenticationPolicyRequest

type SetAuthenticationPolicyRequest struct {

	// The expiration, in seconds, of the access key. Set the value to '0' to use system default expiration (which is 12 hours for CDP). The value will be set to '0' if not provided.
	// Minimum: 0
	AccessKeyExpirationSec *int32 `json:"accessKeyExpirationSec,omitempty"`

	// The inactivity duration, in seconds, of the access key, which would invalidate the access key due to inactivity. Set the value to '0' to use the system's default inactivity duration (which is 1 hour normally and 15 minutes for Cloudera for Government). If set to a value longer than the value for `accessKeyExpirationSec` then there will be no inactivity timeout. The value will be set to '0' if not provided.
	// Minimum: 0
	AccessKeyInactivityDurationSec *int32 `json:"accessKeyInactivityDurationSec,omitempty"`

	// The list of IP addresses and/or CIDRs used for allowing client access to the UI and API services. Duplicated values will be removed automatically. Both the allowed list and the blocked list will be used to determine whether to grant or block the client's access. The blocked list takes precedence over the allowed list. When the list is empty or not set, client IP address will not be validated to be present in the allowed list.
	ClientIPAddressesAllowed []string `json:"clientIpAddressesAllowed"`

	// The list of IP addresses and/or CIDRs used for blocking client access to the UI and API services. Duplicated values will be removed automatically. Both the allowed list and the blocked list will be used to determine whether to grant or block the client's access. The blocked list takes precedence over the allowed list. When the list is empty or not set, client IP address will not be validated to be absent from the blocked list.
	ClientIPAddressesBlocked []string `json:"clientIpAddressesBlocked"`

	// The expiration, in seconds, of the UI session token. Set the value to '0' to use system default expiration (which is 12 hours for CDP). The value will be set to '0' if not provided.
	// Minimum: 0
	SessionTokenExpirationSec *int32 `json:"sessionTokenExpirationSec,omitempty"`

	// The inactivity duration, in seconds, of the UI session token, which would invalidate the session token due to inactivity. Set the value to '0' to use the system's default inactivity duration (which is 1 hour normally and 15 minutes for Cloudera for Government). If set to a value longer than the value for `sessionTokenExpirationSec` then there will be no inactivity timeout. The value will be set to '0' if not provided.
	// Minimum: 0
	SessionTokenInactivityDurationSec *int32 `json:"sessionTokenInactivityDurationSec,omitempty"`
}

SetAuthenticationPolicyRequest Request object for a set authentication policy request.

swagger:model SetAuthenticationPolicyRequest

func (*SetAuthenticationPolicyRequest) ContextValidate

func (m *SetAuthenticationPolicyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this set authentication policy request based on context it is used

func (*SetAuthenticationPolicyRequest) MarshalBinary

func (m *SetAuthenticationPolicyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SetAuthenticationPolicyRequest) UnmarshalBinary

func (m *SetAuthenticationPolicyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SetAuthenticationPolicyRequest) Validate

func (m *SetAuthenticationPolicyRequest) Validate(formats strfmt.Registry) error

Validate validates this set authentication policy request

type SetAuthenticationPolicyResponse

type SetAuthenticationPolicyResponse interface{}

SetAuthenticationPolicyResponse Response object for a set authentication policy request.

swagger:model SetAuthenticationPolicyResponse

type SetDefaultIdentityProviderRequest added in v0.4.2

type SetDefaultIdentityProviderRequest struct {

	// The name or CRN of the default identity provider.
	// Required: true
	NameOrCrn *string `json:"nameOrCrn"`
}

SetDefaultIdentityProviderRequest Request object to set the default identity provider.

swagger:model SetDefaultIdentityProviderRequest

func (*SetDefaultIdentityProviderRequest) ContextValidate added in v0.4.2

func (m *SetDefaultIdentityProviderRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this set default identity provider request based on context it is used

func (*SetDefaultIdentityProviderRequest) MarshalBinary added in v0.4.2

func (m *SetDefaultIdentityProviderRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SetDefaultIdentityProviderRequest) UnmarshalBinary added in v0.4.2

func (m *SetDefaultIdentityProviderRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SetDefaultIdentityProviderRequest) Validate added in v0.4.2

Validate validates this set default identity provider request

type SetDefaultIdentityProviderResponse added in v0.4.2

type SetDefaultIdentityProviderResponse interface{}

SetDefaultIdentityProviderResponse Response object to set the default identity provider.

swagger:model SetDefaultIdentityProviderResponse

type SetWorkloadPasswordPolicyRequest

type SetWorkloadPasswordPolicyRequest struct {

	// The global password policy object. If set, maxPasswordLifetimeDays is ignored, and if not set the default values for the different password policies are used. See PasswordPolicy for more details on the different default values.
	GlobalPasswordPolicy *PasswordPolicy `json:"globalPasswordPolicy,omitempty"`

	// The password policy object for machine users. If set, this will be used for enforcing password complexity for machine users instead of the global password policy.
	MachineUsersPasswordPolicy *PasswordPolicy `json:"machineUsersPasswordPolicy,omitempty"`
}

SetWorkloadPasswordPolicyRequest Request object for a set workload password policy request.

swagger:model SetWorkloadPasswordPolicyRequest

func (*SetWorkloadPasswordPolicyRequest) ContextValidate

func (m *SetWorkloadPasswordPolicyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this set workload password policy request based on the context it is used

func (*SetWorkloadPasswordPolicyRequest) MarshalBinary

func (m *SetWorkloadPasswordPolicyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SetWorkloadPasswordPolicyRequest) UnmarshalBinary

func (m *SetWorkloadPasswordPolicyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SetWorkloadPasswordPolicyRequest) Validate

Validate validates this set workload password policy request

type SetWorkloadPasswordPolicyResponse

type SetWorkloadPasswordPolicyResponse interface{}

SetWorkloadPasswordPolicyResponse Response object for a set workload password policy request.

swagger:model SetWorkloadPasswordPolicyResponse

type SetWorkloadPasswordRequest

type SetWorkloadPasswordRequest struct {

	// The CRN of the user or machine user for whom the password will be set. If it is not included, it defaults to the user making the request.
	ActorCrn string `json:"actorCrn,omitempty"`

	// The password value to set
	// Required: true
	Password *string `json:"password"`
}

SetWorkloadPasswordRequest Request object for a set workload password request.

swagger:model SetWorkloadPasswordRequest

func (*SetWorkloadPasswordRequest) ContextValidate

func (m *SetWorkloadPasswordRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this set workload password request based on context it is used

func (*SetWorkloadPasswordRequest) MarshalBinary

func (m *SetWorkloadPasswordRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SetWorkloadPasswordRequest) UnmarshalBinary

func (m *SetWorkloadPasswordRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SetWorkloadPasswordRequest) Validate

func (m *SetWorkloadPasswordRequest) Validate(formats strfmt.Registry) error

Validate validates this set workload password request

type SetWorkloadPasswordResponse

type SetWorkloadPasswordResponse interface{}

SetWorkloadPasswordResponse Response object for a set workload password request.

swagger:model SetWorkloadPasswordResponse

type UnassignAzureCloudIdentityRequest

type UnassignAzureCloudIdentityRequest struct {

	// The CRN of the actor or group from which the cloud identity will be unassigned.
	// Required: true
	AssigneeCrn *string `json:"assigneeCrn"`
}

UnassignAzureCloudIdentityRequest Request object for an unassign Azure cloud identity request.

swagger:model UnassignAzureCloudIdentityRequest

func (*UnassignAzureCloudIdentityRequest) ContextValidate

func (m *UnassignAzureCloudIdentityRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this unassign azure cloud identity request based on context it is used

func (*UnassignAzureCloudIdentityRequest) MarshalBinary

func (m *UnassignAzureCloudIdentityRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UnassignAzureCloudIdentityRequest) UnmarshalBinary

func (m *UnassignAzureCloudIdentityRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UnassignAzureCloudIdentityRequest) Validate

Validate validates this unassign azure cloud identity request

type UnassignAzureCloudIdentityResponse

type UnassignAzureCloudIdentityResponse interface{}

UnassignAzureCloudIdentityResponse Response object for an unassign Azure cloud identity request.

swagger:model UnassignAzureCloudIdentityResponse

type UnassignGroupResourceRoleRequest

type UnassignGroupResourceRoleRequest struct {

	// The group to unassign the resource role from.
	// Required: true
	GroupName *string `json:"groupName"`

	// The CRN of the resource for which the resource role rights will be unassigned.
	// Required: true
	ResourceCrn *string `json:"resourceCrn"`

	// The CRN of the resource role to unassign from the group.
	// Required: true
	ResourceRoleCrn *string `json:"resourceRoleCrn"`
}

UnassignGroupResourceRoleRequest Request object for an unassign group resource role request.

swagger:model UnassignGroupResourceRoleRequest

func (*UnassignGroupResourceRoleRequest) ContextValidate

func (m *UnassignGroupResourceRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this unassign group resource role request based on context it is used

func (*UnassignGroupResourceRoleRequest) MarshalBinary

func (m *UnassignGroupResourceRoleRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UnassignGroupResourceRoleRequest) UnmarshalBinary

func (m *UnassignGroupResourceRoleRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UnassignGroupResourceRoleRequest) Validate

Validate validates this unassign group resource role request

type UnassignGroupResourceRoleResponse

type UnassignGroupResourceRoleResponse interface{}

UnassignGroupResourceRoleResponse Response object for an unassign group role request.

swagger:model UnassignGroupResourceRoleResponse

type UnassignGroupRoleRequest

type UnassignGroupRoleRequest struct {

	// The group to unassign the role from. Can be the group name or CRN.
	// Required: true
	GroupName *string `json:"groupName"`

	// The role to unassign from the group. Can be the role's CRN or name.
	// Required: true
	Role *string `json:"role"`
}

UnassignGroupRoleRequest Request object for an unassign group role request.

swagger:model UnassignGroupRoleRequest

func (*UnassignGroupRoleRequest) ContextValidate

func (m *UnassignGroupRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this unassign group role request based on context it is used

func (*UnassignGroupRoleRequest) MarshalBinary

func (m *UnassignGroupRoleRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UnassignGroupRoleRequest) UnmarshalBinary

func (m *UnassignGroupRoleRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UnassignGroupRoleRequest) Validate

func (m *UnassignGroupRoleRequest) Validate(formats strfmt.Registry) error

Validate validates this unassign group role request

type UnassignGroupRoleResponse

type UnassignGroupRoleResponse interface{}

UnassignGroupRoleResponse Response object for an unassign group role request.

swagger:model UnassignGroupRoleResponse

type UnassignMachineUserResourceRoleRequest

type UnassignMachineUserResourceRoleRequest struct {

	// The machine user to unassign the resource role from. Can be the machine user's name or CRN.
	// Required: true
	MachineUserName *string `json:"machineUserName"`

	// The CRN of the resource for which the resource role rights will be unassigned.
	// Required: true
	ResourceCrn *string `json:"resourceCrn"`

	// The CRN of the resource role to unassigned from the machine user.
	// Required: true
	ResourceRoleCrn *string `json:"resourceRoleCrn"`
}

UnassignMachineUserResourceRoleRequest Request object for an unassign machine user role request.

swagger:model UnassignMachineUserResourceRoleRequest

func (*UnassignMachineUserResourceRoleRequest) ContextValidate

ContextValidate validates this unassign machine user resource role request based on context it is used

func (*UnassignMachineUserResourceRoleRequest) MarshalBinary

func (m *UnassignMachineUserResourceRoleRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UnassignMachineUserResourceRoleRequest) UnmarshalBinary

func (m *UnassignMachineUserResourceRoleRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UnassignMachineUserResourceRoleRequest) Validate

Validate validates this unassign machine user resource role request

type UnassignMachineUserResourceRoleResponse

type UnassignMachineUserResourceRoleResponse interface{}

UnassignMachineUserResourceRoleResponse Response object for an unassign machine user role request.

swagger:model UnassignMachineUserResourceRoleResponse

type UnassignMachineUserRoleRequest

type UnassignMachineUserRoleRequest struct {

	// The machine user to unassigned the roles from. Can be the machine user's name or CRN.
	// Required: true
	MachineUserName *string `json:"machineUserName"`

	// The role to unassigned from the user. Can be the role's name or CRN.
	// Required: true
	Role *string `json:"role"`
}

UnassignMachineUserRoleRequest Request object for an unassign machine user role request.

swagger:model UnassignMachineUserRoleRequest

func (*UnassignMachineUserRoleRequest) ContextValidate

func (m *UnassignMachineUserRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this unassign machine user role request based on context it is used

func (*UnassignMachineUserRoleRequest) MarshalBinary

func (m *UnassignMachineUserRoleRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UnassignMachineUserRoleRequest) UnmarshalBinary

func (m *UnassignMachineUserRoleRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UnassignMachineUserRoleRequest) Validate

func (m *UnassignMachineUserRoleRequest) Validate(formats strfmt.Registry) error

Validate validates this unassign machine user role request

type UnassignMachineUserRoleResponse

type UnassignMachineUserRoleResponse interface{}

UnassignMachineUserRoleResponse Response object for an unassign machine user role request.

swagger:model UnassignMachineUserRoleResponse

type UnassignServicePrincipalAzureCloudIdentityRequest

type UnassignServicePrincipalAzureCloudIdentityRequest struct {

	// The CRN of the environment for which the cloud identity to unassign is in effect.
	// Required: true
	EnvironmentCrn *string `json:"environmentCrn"`

	// The name of the service principal from which the cloud identity will be unassigned.
	// Required: true
	ServicePrincipal *string `json:"servicePrincipal"`
}

UnassignServicePrincipalAzureCloudIdentityRequest Request object for an unassign service principal Azure cloud identity request.

swagger:model UnassignServicePrincipalAzureCloudIdentityRequest

func (*UnassignServicePrincipalAzureCloudIdentityRequest) ContextValidate

ContextValidate validates this unassign service principal azure cloud identity request based on context it is used

func (*UnassignServicePrincipalAzureCloudIdentityRequest) MarshalBinary

MarshalBinary interface implementation

func (*UnassignServicePrincipalAzureCloudIdentityRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UnassignServicePrincipalAzureCloudIdentityRequest) Validate

Validate validates this unassign service principal azure cloud identity request

type UnassignServicePrincipalAzureCloudIdentityResponse

type UnassignServicePrincipalAzureCloudIdentityResponse interface{}

UnassignServicePrincipalAzureCloudIdentityResponse Response object for an unassign service principal Azure cloud identity request.

swagger:model UnassignServicePrincipalAzureCloudIdentityResponse

type UnassignUserResourceRoleRequest

type UnassignUserResourceRoleRequest struct {

	// The CRN of the resource for which the resource role rights will be unassigned.
	// Required: true
	ResourceCrn *string `json:"resourceCrn"`

	// The CRN of the resource role to unassigned from the user.
	// Required: true
	ResourceRoleCrn *string `json:"resourceRoleCrn"`

	// The user to unassign the resource role from.
	// Required: true
	User *string `json:"user"`
}

UnassignUserResourceRoleRequest Request object for an unassign user role request.

swagger:model UnassignUserResourceRoleRequest

func (*UnassignUserResourceRoleRequest) ContextValidate

func (m *UnassignUserResourceRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this unassign user resource role request based on context it is used

func (*UnassignUserResourceRoleRequest) MarshalBinary

func (m *UnassignUserResourceRoleRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UnassignUserResourceRoleRequest) UnmarshalBinary

func (m *UnassignUserResourceRoleRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UnassignUserResourceRoleRequest) Validate

Validate validates this unassign user resource role request

type UnassignUserResourceRoleResponse

type UnassignUserResourceRoleResponse interface{}

UnassignUserResourceRoleResponse Response object for an unassign user role request.

swagger:model UnassignUserResourceRoleResponse

type UnassignUserRoleRequest

type UnassignUserRoleRequest struct {

	// The role to unassigned from the user. Can be the role's CRN or name.
	// Required: true
	Role *string `json:"role"`

	// The user to unassigned the roles from. Can be the user CRN or id.
	// Required: true
	User *string `json:"user"`
}

UnassignUserRoleRequest Request object for an unassign user role request.

swagger:model UnassignUserRoleRequest

func (*UnassignUserRoleRequest) ContextValidate

func (m *UnassignUserRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this unassign user role request based on context it is used

func (*UnassignUserRoleRequest) MarshalBinary

func (m *UnassignUserRoleRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UnassignUserRoleRequest) UnmarshalBinary

func (m *UnassignUserRoleRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UnassignUserRoleRequest) Validate

func (m *UnassignUserRoleRequest) Validate(formats strfmt.Registry) error

Validate validates this unassign user role request

type UnassignUserRoleResponse

type UnassignUserRoleResponse interface{}

UnassignUserRoleResponse Response object for an unassign user role request.

swagger:model UnassignUserRoleResponse

type UnlockMachineUserInControlPlaneRequest

type UnlockMachineUserInControlPlaneRequest struct {

	// The name or CRN of the machine user to be unlocked in the CDP control plane.
	// Required: true
	MachineUser *string `json:"machineUser"`
}

UnlockMachineUserInControlPlaneRequest Request object for unlocking the machine user in the control plane.

swagger:model UnlockMachineUserInControlPlaneRequest

func (*UnlockMachineUserInControlPlaneRequest) ContextValidate

ContextValidate validates this unlock machine user in control plane request based on context it is used

func (*UnlockMachineUserInControlPlaneRequest) MarshalBinary

func (m *UnlockMachineUserInControlPlaneRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UnlockMachineUserInControlPlaneRequest) UnmarshalBinary

func (m *UnlockMachineUserInControlPlaneRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UnlockMachineUserInControlPlaneRequest) Validate

Validate validates this unlock machine user in control plane request

type UnlockMachineUserInControlPlaneResponse

type UnlockMachineUserInControlPlaneResponse struct {

	// The unlocked machine user.
	// Required: true
	MachineUser *MachineUser `json:"machineUser"`
}

UnlockMachineUserInControlPlaneResponse Response object for unlocking the machine user in the CDP control plane.

swagger:model UnlockMachineUserInControlPlaneResponse

func (*UnlockMachineUserInControlPlaneResponse) ContextValidate

ContextValidate validate this unlock machine user in control plane response based on the context it is used

func (*UnlockMachineUserInControlPlaneResponse) MarshalBinary

func (m *UnlockMachineUserInControlPlaneResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UnlockMachineUserInControlPlaneResponse) UnmarshalBinary

func (m *UnlockMachineUserInControlPlaneResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UnlockMachineUserInControlPlaneResponse) Validate

Validate validates this unlock machine user in control plane response

type UnlockUserInControlPlaneRequest

type UnlockUserInControlPlaneRequest struct {

	// The ID or CRN of the user to be unlocked in the CDP control plane.
	// Required: true
	User *string `json:"user"`
}

UnlockUserInControlPlaneRequest Request object for unlocking the user in the CDP control plane.

swagger:model UnlockUserInControlPlaneRequest

func (*UnlockUserInControlPlaneRequest) ContextValidate

func (m *UnlockUserInControlPlaneRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this unlock user in control plane request based on context it is used

func (*UnlockUserInControlPlaneRequest) MarshalBinary

func (m *UnlockUserInControlPlaneRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UnlockUserInControlPlaneRequest) UnmarshalBinary

func (m *UnlockUserInControlPlaneRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UnlockUserInControlPlaneRequest) Validate

Validate validates this unlock user in control plane request

type UnlockUserInControlPlaneResponse

type UnlockUserInControlPlaneResponse struct {

	// The unlocked user.
	// Required: true
	User *User `json:"user"`
}

UnlockUserInControlPlaneResponse Response object for unlocking the user in the CDP control plane.

swagger:model UnlockUserInControlPlaneResponse

func (*UnlockUserInControlPlaneResponse) ContextValidate

func (m *UnlockUserInControlPlaneResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this unlock user in control plane response based on the context it is used

func (*UnlockUserInControlPlaneResponse) MarshalBinary

func (m *UnlockUserInControlPlaneResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UnlockUserInControlPlaneResponse) UnmarshalBinary

func (m *UnlockUserInControlPlaneResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UnlockUserInControlPlaneResponse) Validate

Validate validates this unlock user in control plane response

type UnsetWorkloadPasswordMinLifetimeRequest

type UnsetWorkloadPasswordMinLifetimeRequest struct {

	// The CRN of the actor for whom to unset the workload password minimum lifetime date.
	// Required: true
	ActorCrn *string `json:"actorCrn"`
}

UnsetWorkloadPasswordMinLifetimeRequest Request object for a unset workload password min lifetime request.

swagger:model UnsetWorkloadPasswordMinLifetimeRequest

func (*UnsetWorkloadPasswordMinLifetimeRequest) ContextValidate

ContextValidate validates this unset workload password min lifetime request based on context it is used

func (*UnsetWorkloadPasswordMinLifetimeRequest) MarshalBinary

func (m *UnsetWorkloadPasswordMinLifetimeRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UnsetWorkloadPasswordMinLifetimeRequest) UnmarshalBinary

func (m *UnsetWorkloadPasswordMinLifetimeRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UnsetWorkloadPasswordMinLifetimeRequest) Validate

Validate validates this unset workload password min lifetime request

type UnsetWorkloadPasswordMinLifetimeResponse

type UnsetWorkloadPasswordMinLifetimeResponse interface{}

UnsetWorkloadPasswordMinLifetimeResponse Response object for an unset workload password minimum lifetime request.

swagger:model UnsetWorkloadPasswordMinLifetimeResponse

type UnsetWorkloadPasswordPolicyRequest

type UnsetWorkloadPasswordPolicyRequest struct {

	// Whether to unset the global password policy. This will reset the global policy to its defaults.
	UnsetGlobalPasswordPolicy bool `json:"unsetGlobalPasswordPolicy,omitempty"`

	// Whether to unset the machine user password policy, if one exists.
	UnsetMachineUsersPasswordPolicy bool `json:"unsetMachineUsersPasswordPolicy,omitempty"`
}

UnsetWorkloadPasswordPolicyRequest Request object for a unset workload password policy request.

swagger:model UnsetWorkloadPasswordPolicyRequest

func (*UnsetWorkloadPasswordPolicyRequest) ContextValidate

func (m *UnsetWorkloadPasswordPolicyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this unset workload password policy request based on context it is used

func (*UnsetWorkloadPasswordPolicyRequest) MarshalBinary

func (m *UnsetWorkloadPasswordPolicyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UnsetWorkloadPasswordPolicyRequest) UnmarshalBinary

func (m *UnsetWorkloadPasswordPolicyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UnsetWorkloadPasswordPolicyRequest) Validate

Validate validates this unset workload password policy request

type UnsetWorkloadPasswordPolicyResponse

type UnsetWorkloadPasswordPolicyResponse interface{}

UnsetWorkloadPasswordPolicyResponse Response object for a unset workload password policy request.

swagger:model UnsetWorkloadPasswordPolicyResponse

type UpdateAccessKeyRequest

type UpdateAccessKeyRequest struct {

	// The ID of the access key to update.
	// Required: true
	AccessKeyID *string `json:"accessKeyId"`

	// The status to assign to the access key.
	// Required: true
	// Enum: [ACTIVE INACTIVE]
	Status *string `json:"status"`
}

UpdateAccessKeyRequest Request object for an update access key request.

swagger:model UpdateAccessKeyRequest

func (*UpdateAccessKeyRequest) ContextValidate

func (m *UpdateAccessKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update access key request based on context it is used

func (*UpdateAccessKeyRequest) MarshalBinary

func (m *UpdateAccessKeyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateAccessKeyRequest) UnmarshalBinary

func (m *UpdateAccessKeyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateAccessKeyRequest) Validate

func (m *UpdateAccessKeyRequest) Validate(formats strfmt.Registry) error

Validate validates this update access key request

type UpdateAccessKeyResponse

type UpdateAccessKeyResponse struct {

	// The access key that was updated.
	// Required: true
	AccessKey *AccessKey `json:"accessKey"`
}

UpdateAccessKeyResponse Response object for an update access key request.

swagger:model UpdateAccessKeyResponse

func (*UpdateAccessKeyResponse) ContextValidate

func (m *UpdateAccessKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update access key response based on the context it is used

func (*UpdateAccessKeyResponse) MarshalBinary

func (m *UpdateAccessKeyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateAccessKeyResponse) UnmarshalBinary

func (m *UpdateAccessKeyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateAccessKeyResponse) Validate

func (m *UpdateAccessKeyResponse) Validate(formats strfmt.Registry) error

Validate validates this update access key response

type UpdateGroupRequest

type UpdateGroupRequest struct {

	// The name or CRN of the group to update.
	// Required: true
	GroupName *string `json:"groupName"`

	// Whether group membership is synced when a user logs in. Can be omitted if no update is required.
	SyncMembershipOnUserLogin bool `json:"syncMembershipOnUserLogin,omitempty"`
}

UpdateGroupRequest Request object for update group request.

swagger:model UpdateGroupRequest

func (*UpdateGroupRequest) ContextValidate

func (m *UpdateGroupRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update group request based on context it is used

func (*UpdateGroupRequest) MarshalBinary

func (m *UpdateGroupRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateGroupRequest) UnmarshalBinary

func (m *UpdateGroupRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateGroupRequest) Validate

func (m *UpdateGroupRequest) Validate(formats strfmt.Registry) error

Validate validates this update group request

type UpdateGroupResponse

type UpdateGroupResponse struct {

	// Information about the updated group.
	// Required: true
	Group *Group `json:"group"`
}

UpdateGroupResponse Response object for update group request.

swagger:model UpdateGroupResponse

func (*UpdateGroupResponse) ContextValidate

func (m *UpdateGroupResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update group response based on the context it is used

func (*UpdateGroupResponse) MarshalBinary

func (m *UpdateGroupResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateGroupResponse) UnmarshalBinary

func (m *UpdateGroupResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateGroupResponse) Validate

func (m *UpdateGroupResponse) Validate(formats strfmt.Registry) error

Validate validates this update group response

type UpdateSamlProviderRequest

type UpdateSamlProviderRequest struct {

	// Whether to enable SCIM on this SAML provider. System for Cross-domain Identity Management (SCIM) version 2.0 is a standard for automating the provisioning of user and group identity information from identity provider to CDP. It is not supported for Cloudera for Government.
	EnableScim bool `json:"enableScim,omitempty"`

	// Whether to generate users' workload username by email. The default is to generate workload usernames by identity provider user ID (SAML NameID).
	GenerateWorkloadUsernameByEmail bool `json:"generateWorkloadUsernameByEmail,omitempty"`

	// SAML metadata document XML file. Length of meta data document cannot be more than 200 KB (200,000 bytes). Can be omitted if no update is required.
	// Max Length: 200000
	SamlMetadataDocument string `json:"samlMetadataDocument,omitempty"`

	// The name or CRN of SAML provider to update.
	// Required: true
	SamlProviderName *string `json:"samlProviderName"`

	// Whether to sync group information for users federated with this SAML provider. Group membership can be passed using the https://cdp.cloudera.com/SAML/Attributes/groups SAML assertion. The default is to synchronize group membership. Can be omitted if no update is required.
	SyncGroupsOnLogin bool `json:"syncGroupsOnLogin,omitempty"`
}

UpdateSamlProviderRequest Request object for an updating SAML provider request.

swagger:model UpdateSamlProviderRequest

func (*UpdateSamlProviderRequest) ContextValidate

func (m *UpdateSamlProviderRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update saml provider request based on context it is used

func (*UpdateSamlProviderRequest) MarshalBinary

func (m *UpdateSamlProviderRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateSamlProviderRequest) UnmarshalBinary

func (m *UpdateSamlProviderRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateSamlProviderRequest) Validate

func (m *UpdateSamlProviderRequest) Validate(formats strfmt.Registry) error

Validate validates this update saml provider request

type UpdateSamlProviderResponse

type UpdateSamlProviderResponse struct {

	// The SAML provider.
	// Required: true
	SamlProvider *SamlProvider `json:"samlProvider"`
}

UpdateSamlProviderResponse Response object for an updating SAML provider request.

swagger:model UpdateSamlProviderResponse

func (*UpdateSamlProviderResponse) ContextValidate

func (m *UpdateSamlProviderResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update saml provider response based on the context it is used

func (*UpdateSamlProviderResponse) MarshalBinary

func (m *UpdateSamlProviderResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateSamlProviderResponse) UnmarshalBinary

func (m *UpdateSamlProviderResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateSamlProviderResponse) Validate

func (m *UpdateSamlProviderResponse) Validate(formats strfmt.Registry) error

Validate validates this update saml provider response

type UpdateUserRequest

type UpdateUserRequest struct {

	// The active state to which to set the user. When it is 'true', the user will be activated. When it is 'false' the user will be deactivated.
	Active bool `json:"active,omitempty"`

	// The CRN or userId of the user to be updated.
	// Required: true
	User *string `json:"user"`
}

UpdateUserRequest Request object to update a user.

swagger:model UpdateUserRequest

func (*UpdateUserRequest) ContextValidate

func (m *UpdateUserRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update user request based on context it is used

func (*UpdateUserRequest) MarshalBinary

func (m *UpdateUserRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateUserRequest) UnmarshalBinary

func (m *UpdateUserRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateUserRequest) Validate

func (m *UpdateUserRequest) Validate(formats strfmt.Registry) error

Validate validates this update user request

type UpdateUserResponse

type UpdateUserResponse struct {

	// Information about the updated user.
	// Required: true
	User *User `json:"user"`
}

UpdateUserResponse Response object to update a user.

swagger:model UpdateUserResponse

func (*UpdateUserResponse) ContextValidate

func (m *UpdateUserResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update user response based on the context it is used

func (*UpdateUserResponse) MarshalBinary

func (m *UpdateUserResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateUserResponse) UnmarshalBinary

func (m *UpdateUserResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateUserResponse) Validate

func (m *UpdateUserResponse) Validate(formats strfmt.Registry) error

Validate validates this update user response

type User

type User struct {

	// Whether the user is an administrator of their CDP account.
	// Required: true
	AccountAdmin *bool `json:"accountAdmin"`

	// The list of Azure cloud identities assigned to the user.
	AzureCloudIdentities []*AzureCloudIdentity `json:"azureCloudIdentities"`

	// The date when this user record was created.
	// Required: true
	// Format: date-time
	CreationDate *strfmt.DateTime `json:"creationDate"`

	// The CRN of the user.
	// Required: true
	Crn *string `json:"crn"`

	// The user's email address.
	// Required: true
	Email *string `json:"email"`

	// The user's first name.
	// Required: true
	FirstName *string `json:"firstName"`

	// The identity provider that the user belongs to. It can be "Cloudera-Default", "Cloudera-Administration", or a customer defined IdP.
	// Required: true
	IdentityProviderCrn *string `json:"identityProviderCrn"`

	// The date of the user's last interactive login.
	// Format: date-time
	LastInteractiveLogin strfmt.DateTime `json:"lastInteractiveLogin,omitempty"`

	// The user's last name.
	// Required: true
	LastName *string `json:"lastName"`

	// The current status of the user. The possible status values are ACTIVE, CONTROL_PLANE_LOCKED_OUT, and DEACTIVATED. ACTIVE indicates that the user is active in CDP. An active user can authenticate to the CDP control plane and workload clusters. CONTROL_PLANE_LOCKED_OUT indicates that the user is locked out of the CDP control plane. The locked-out user can no longer authenticate to the control plane but can authenticate to the workload clusters. DEACTIVATED indicates that the user is deactivated in CDP. A deactivated user can neither authenticate to the control plane nor to the workload clusters. Note that more statuses could be added in the future. The statuses other than ACTIVE are only returned on Cloudera for Government.
	Status string `json:"status,omitempty"`

	// The stable, unique identifier of the user.
	// Required: true
	UserID *string `json:"userId"`

	// Information about the workload password for the user.
	WorkloadPasswordDetails *WorkloadPasswordDetails `json:"workloadPasswordDetails,omitempty"`

	// The username used in all the workload clusters of the user.
	WorkloadUsername string `json:"workloadUsername,omitempty"`
}

User Information about a Cloudera CDP user.

swagger:model User

func (*User) ContextValidate

func (m *User) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user based on the context it is used

func (*User) MarshalBinary

func (m *User) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*User) UnmarshalBinary

func (m *User) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*User) Validate

func (m *User) Validate(formats strfmt.Registry) error

Validate validates this user

type WorkloadName

type WorkloadName string

WorkloadName The workload name.

swagger:model WorkloadName

const (

	// WorkloadNameDE captures enum value "DE"
	WorkloadNameDE WorkloadName = "DE"

	// WorkloadNameDF captures enum value "DF"
	WorkloadNameDF WorkloadName = "DF"

	// WorkloadNameOPDB captures enum value "OPDB"
	WorkloadNameOPDB WorkloadName = "OPDB"
)

func NewWorkloadName

func NewWorkloadName(value WorkloadName) *WorkloadName

func (WorkloadName) ContextValidate

func (m WorkloadName) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this workload name based on context it is used

func (WorkloadName) Pointer

func (m WorkloadName) Pointer() *WorkloadName

Pointer returns a pointer to a freshly-allocated WorkloadName.

func (WorkloadName) Validate

func (m WorkloadName) Validate(formats strfmt.Registry) error

Validate validates this workload name

type WorkloadPasswordDetails

type WorkloadPasswordDetails struct {

	// Whether a workload password is set.
	// Required: true
	IsPasswordSet *bool `json:"isPasswordSet"`

	// The date at which the workload password will expire.
	// Format: date-time
	PasswordExpirationDate strfmt.DateTime `json:"passwordExpirationDate,omitempty"`

	// The minimum lifetime date of the workload password. A new password can't be set until this date.
	// Format: date-time
	PasswordMinLifetimeDate strfmt.DateTime `json:"passwordMinLifetimeDate,omitempty"`
}

WorkloadPasswordDetails Information about the workload password for a user or machine user.

swagger:model WorkloadPasswordDetails

func (*WorkloadPasswordDetails) ContextValidate

func (m *WorkloadPasswordDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this workload password details based on context it is used

func (*WorkloadPasswordDetails) MarshalBinary

func (m *WorkloadPasswordDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WorkloadPasswordDetails) UnmarshalBinary

func (m *WorkloadPasswordDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WorkloadPasswordDetails) Validate

func (m *WorkloadPasswordDetails) Validate(formats strfmt.Registry) error

Validate validates this workload password details

type WorkloadPasswordPolicy

type WorkloadPasswordPolicy struct {

	// The maximum lifetime, in days, of the password. If '0' passwords never expire.
	// Required: true
	MaxPasswordLifetimeDays *int32 `json:"maxPasswordLifetimeDays"`

	// The minimum length of a password.
	// Required: true
	MinPasswordLength *int32 `json:"minPasswordLength"`

	// The minimum lifetime of passwords, in days. The password must be used for this duration before it can be changed. If set to '0' the password may be changed any time. The default is 0.
	// Required: true
	MinPasswordLifetimeDays *int32 `json:"minPasswordLifetimeDays"`

	// Whether passwords must include lower case characters.
	// Required: true
	MustIncludeLowerCaseCharacters *bool `json:"mustIncludeLowerCaseCharacters"`

	// Whether passwords must include numbers.
	// Required: true
	MustIncludeNumbers *bool `json:"mustIncludeNumbers"`

	// Whether passwords must include symbols. The symbols are '#', '&', '*', '$', '%', '@', '^', '.', '_', and '!'.
	// Required: true
	MustIncludeSymbols *bool `json:"mustIncludeSymbols"`

	// Whether passwords must include upper case characters.
	// Required: true
	MustIncludeUpperCaseCharacters *bool `json:"mustIncludeUpperCaseCharacters"`

	// The number of previous passwords that should be remembered. The user or machine user is prevented from reusing these passwords. Can be any number between 0 and 20. The default is 0, this value means all previous passwords may be reused.
	// Required: true
	PasswordHistorySize *int32 `json:"passwordHistorySize"`
}

WorkloadPasswordPolicy Information about the workload password policy for an account.

swagger:model WorkloadPasswordPolicy

func (*WorkloadPasswordPolicy) ContextValidate

func (m *WorkloadPasswordPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this workload password policy based on context it is used

func (*WorkloadPasswordPolicy) MarshalBinary

func (m *WorkloadPasswordPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WorkloadPasswordPolicy) UnmarshalBinary

func (m *WorkloadPasswordPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WorkloadPasswordPolicy) Validate

func (m *WorkloadPasswordPolicy) Validate(formats strfmt.Registry) error

Validate validates this workload password policy

Source Files

Jump to

Keyboard shortcuts

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