models

package
v0.98.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: MPL-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HashicorpCloudIamAWSWorkloadIdentityProviderConfig

type HashicorpCloudIamAWSWorkloadIdentityProviderConfig struct {

	// account_id is the AWS account ID allowed to exchange identities.
	AccountID string `json:"account_id,omitempty"`
}

HashicorpCloudIamAWSWorkloadIdentityProviderConfig AWSWorkloadIdentityProviderConfig configures an AWS Workload Identity Provider.

swagger:model hashicorp.cloud.iam.AWSWorkloadIdentityProviderConfig

func (*HashicorpCloudIamAWSWorkloadIdentityProviderConfig) ContextValidate

ContextValidate validates this hashicorp cloud iam a w s workload identity provider config based on context it is used

func (*HashicorpCloudIamAWSWorkloadIdentityProviderConfig) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamAWSWorkloadIdentityProviderConfig) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamAWSWorkloadIdentityProviderConfig) Validate

Validate validates this hashicorp cloud iam a w s workload identity provider config

type HashicorpCloudIamAcceptOrganizationInvitationRequest

type HashicorpCloudIamAcceptOrganizationInvitationRequest struct {

	// invitation_token is the token to be consumed on successful invitation acceptance.
	InvitationToken string `json:"invitation_token,omitempty"`
}

HashicorpCloudIamAcceptOrganizationInvitationRequest AcceptOrganizationInvitationRequest is a request to accept an organization invitation.

swagger:model hashicorp.cloud.iam.AcceptOrganizationInvitationRequest

func (*HashicorpCloudIamAcceptOrganizationInvitationRequest) ContextValidate

ContextValidate validates this hashicorp cloud iam accept organization invitation request based on context it is used

func (*HashicorpCloudIamAcceptOrganizationInvitationRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamAcceptOrganizationInvitationRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamAcceptOrganizationInvitationRequest) Validate

Validate validates this hashicorp cloud iam accept organization invitation request

type HashicorpCloudIamAcceptOrganizationInvitationResponse

type HashicorpCloudIamAcceptOrganizationInvitationResponse struct {

	// invitation is the accepted invitation.
	Invitation *HashicorpCloudIamOrganizationInvitation `json:"invitation,omitempty"`
}

HashicorpCloudIamAcceptOrganizationInvitationResponse AcceptOrganizationInvitationResponse is a response for accepting an organization invitation.

swagger:model hashicorp.cloud.iam.AcceptOrganizationInvitationResponse

func (*HashicorpCloudIamAcceptOrganizationInvitationResponse) ContextValidate

ContextValidate validate this hashicorp cloud iam accept organization invitation response based on the context it is used

func (*HashicorpCloudIamAcceptOrganizationInvitationResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamAcceptOrganizationInvitationResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamAcceptOrganizationInvitationResponse) Validate

Validate validates this hashicorp cloud iam accept organization invitation response

type HashicorpCloudIamAuthConnection

type HashicorpCloudIamAuthConnection struct {

	// client_id is the ID of the client for the connection
	ClientID string `json:"client_id,omitempty"`

	// created_ at is the time of creation for the connection
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// default_role is the RBAC role that users signing in to the
	// SSO org will get as the default.
	DefaultRole string `json:"default_role,omitempty"`

	// email_domain of the connection
	EmailDomain string `json:"email_domain,omitempty"`

	// id is the id of the connection
	ID string `json:"id,omitempty"`

	// issuer is the URL of the IDP
	Issuer string `json:"issuer,omitempty"`

	// updated_at is the time of last update of the connection
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

HashicorpCloudIamAuthConnection AuthConnection represents an authentication connection that may be used in multiple message types.

swagger:model hashicorp.cloud.iam.AuthConnection

func (*HashicorpCloudIamAuthConnection) ContextValidate

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

ContextValidate validates this hashicorp cloud iam auth connection based on context it is used

func (*HashicorpCloudIamAuthConnection) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudIamAuthConnection) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudIamAuthConnection) Validate

Validate validates this hashicorp cloud iam auth connection

type HashicorpCloudIamBatchGetPrincipalsResponse added in v0.66.0

type HashicorpCloudIamBatchGetPrincipalsResponse struct {

	// principals is the requested principals.
	Principals []*HashicorpCloudIamPrincipal `json:"principals"`
}

HashicorpCloudIamBatchGetPrincipalsResponse BatchGetPrincipalsResponse is the batch get principals response.

swagger:model hashicorp.cloud.iam.BatchGetPrincipalsResponse

func (*HashicorpCloudIamBatchGetPrincipalsResponse) ContextValidate added in v0.66.0

ContextValidate validate this hashicorp cloud iam batch get principals response based on the context it is used

func (*HashicorpCloudIamBatchGetPrincipalsResponse) MarshalBinary added in v0.66.0

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

MarshalBinary interface implementation

func (*HashicorpCloudIamBatchGetPrincipalsResponse) UnmarshalBinary added in v0.66.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudIamBatchGetPrincipalsResponse) Validate added in v0.66.0

Validate validates this hashicorp cloud iam batch get principals response

type HashicorpCloudIamConfirmMFAEnrollmentRequest

type HashicorpCloudIamConfirmMFAEnrollmentRequest struct {

	// confirmation otp
	ConfirmationOtp string `json:"confirmation_otp,omitempty"`

	// mfa token
	MfaToken string `json:"mfa_token,omitempty"`
}

HashicorpCloudIamConfirmMFAEnrollmentRequest hashicorp cloud iam confirm m f a enrollment request

swagger:model hashicorp.cloud.iam.ConfirmMFAEnrollmentRequest

func (*HashicorpCloudIamConfirmMFAEnrollmentRequest) ContextValidate

ContextValidate validates this hashicorp cloud iam confirm m f a enrollment request based on context it is used

func (*HashicorpCloudIamConfirmMFAEnrollmentRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamConfirmMFAEnrollmentRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamConfirmMFAEnrollmentRequest) Validate

Validate validates this hashicorp cloud iam confirm m f a enrollment request

type HashicorpCloudIamConfirmMFAEnrollmentResponse

type HashicorpCloudIamConfirmMFAEnrollmentResponse interface{}

HashicorpCloudIamConfirmMFAEnrollmentResponse hashicorp cloud iam confirm m f a enrollment response

swagger:model hashicorp.cloud.iam.ConfirmMFAEnrollmentResponse

type HashicorpCloudIamCountGroupsForPrincipalsResponse added in v0.64.0

type HashicorpCloudIamCountGroupsForPrincipalsResponse struct {

	// principals_counts is a list of principals and the number of groups that they are a member of.
	PrincipalsCounts []*HashicorpCloudIamCountGroupsForPrincipalsResponsePrincipalGroupCount `json:"principals_counts"`
}

HashicorpCloudIamCountGroupsForPrincipalsResponse hashicorp cloud iam count groups for principals response

swagger:model hashicorp.cloud.iam.CountGroupsForPrincipalsResponse

func (*HashicorpCloudIamCountGroupsForPrincipalsResponse) ContextValidate added in v0.64.0

ContextValidate validate this hashicorp cloud iam count groups for principals response based on the context it is used

func (*HashicorpCloudIamCountGroupsForPrincipalsResponse) MarshalBinary added in v0.64.0

MarshalBinary interface implementation

func (*HashicorpCloudIamCountGroupsForPrincipalsResponse) UnmarshalBinary added in v0.64.0

UnmarshalBinary interface implementation

func (*HashicorpCloudIamCountGroupsForPrincipalsResponse) Validate added in v0.64.0

Validate validates this hashicorp cloud iam count groups for principals response

type HashicorpCloudIamCountGroupsForPrincipalsResponsePrincipalGroupCount added in v0.64.0

type HashicorpCloudIamCountGroupsForPrincipalsResponsePrincipalGroupCount struct {

	// count is the number of groups this principal is a member of.
	Count int64 `json:"count,omitempty"`

	// id is the id of the principal.
	ID string `json:"id,omitempty"`
}

HashicorpCloudIamCountGroupsForPrincipalsResponsePrincipalGroupCount hashicorp cloud iam count groups for principals response principal group count

swagger:model hashicorp.cloud.iam.CountGroupsForPrincipalsResponse.PrincipalGroupCount

func (*HashicorpCloudIamCountGroupsForPrincipalsResponsePrincipalGroupCount) ContextValidate added in v0.64.0

ContextValidate validates this hashicorp cloud iam count groups for principals response principal group count based on context it is used

func (*HashicorpCloudIamCountGroupsForPrincipalsResponsePrincipalGroupCount) MarshalBinary added in v0.64.0

MarshalBinary interface implementation

func (*HashicorpCloudIamCountGroupsForPrincipalsResponsePrincipalGroupCount) UnmarshalBinary added in v0.64.0

UnmarshalBinary interface implementation

func (*HashicorpCloudIamCountGroupsForPrincipalsResponsePrincipalGroupCount) Validate added in v0.64.0

Validate validates this hashicorp cloud iam count groups for principals response principal group count

type HashicorpCloudIamCountMembersForGroupsResponse added in v0.64.0

type HashicorpCloudIamCountMembersForGroupsResponse struct {

	// groups_counts is a list of member counts per group.
	GroupsCounts []*HashicorpCloudIamCountMembersForGroupsResponseMembersCount `json:"groups_counts"`
}

HashicorpCloudIamCountMembersForGroupsResponse hashicorp cloud iam count members for groups response

swagger:model hashicorp.cloud.iam.CountMembersForGroupsResponse

func (*HashicorpCloudIamCountMembersForGroupsResponse) ContextValidate added in v0.64.0

ContextValidate validate this hashicorp cloud iam count members for groups response based on the context it is used

func (*HashicorpCloudIamCountMembersForGroupsResponse) MarshalBinary added in v0.64.0

MarshalBinary interface implementation

func (*HashicorpCloudIamCountMembersForGroupsResponse) UnmarshalBinary added in v0.64.0

UnmarshalBinary interface implementation

func (*HashicorpCloudIamCountMembersForGroupsResponse) Validate added in v0.64.0

Validate validates this hashicorp cloud iam count members for groups response

type HashicorpCloudIamCountMembersForGroupsResponseMembersCount added in v0.64.0

type HashicorpCloudIamCountMembersForGroupsResponseMembersCount struct {

	// count is the count of members in the group.
	Count int64 `json:"count,omitempty"`

	// resource_name refers to the group.
	ResourceName string `json:"resource_name,omitempty"`
}

HashicorpCloudIamCountMembersForGroupsResponseMembersCount hashicorp cloud iam count members for groups response members count

swagger:model hashicorp.cloud.iam.CountMembersForGroupsResponse.MembersCount

func (*HashicorpCloudIamCountMembersForGroupsResponseMembersCount) ContextValidate added in v0.64.0

ContextValidate validates this hashicorp cloud iam count members for groups response members count based on context it is used

func (*HashicorpCloudIamCountMembersForGroupsResponseMembersCount) MarshalBinary added in v0.64.0

MarshalBinary interface implementation

func (*HashicorpCloudIamCountMembersForGroupsResponseMembersCount) UnmarshalBinary added in v0.64.0

UnmarshalBinary interface implementation

func (*HashicorpCloudIamCountMembersForGroupsResponseMembersCount) Validate added in v0.64.0

Validate validates this hashicorp cloud iam count members for groups response members count

type HashicorpCloudIamCountOrganizationGroupsResponse added in v0.64.0

type HashicorpCloudIamCountOrganizationGroupsResponse struct {

	// group_count is the number of groups in the organization.
	GroupCount int64 `json:"group_count,omitempty"`
}

HashicorpCloudIamCountOrganizationGroupsResponse hashicorp cloud iam count organization groups response

swagger:model hashicorp.cloud.iam.CountOrganizationGroupsResponse

func (*HashicorpCloudIamCountOrganizationGroupsResponse) ContextValidate added in v0.64.0

ContextValidate validates this hashicorp cloud iam count organization groups response based on context it is used

func (*HashicorpCloudIamCountOrganizationGroupsResponse) MarshalBinary added in v0.64.0

MarshalBinary interface implementation

func (*HashicorpCloudIamCountOrganizationGroupsResponse) UnmarshalBinary added in v0.64.0

UnmarshalBinary interface implementation

func (*HashicorpCloudIamCountOrganizationGroupsResponse) Validate added in v0.64.0

Validate validates this hashicorp cloud iam count organization groups response

type HashicorpCloudIamCreateAuthConnectionResponse

type HashicorpCloudIamCreateAuthConnectionResponse struct {

	// auth_connection that was created
	AuthConnection *HashicorpCloudIamAuthConnection `json:"auth_connection,omitempty"`
}

HashicorpCloudIamCreateAuthConnectionResponse CreateAuthConnectionResponse for creating a new auth connection.

swagger:model hashicorp.cloud.iam.CreateAuthConnectionResponse

func (*HashicorpCloudIamCreateAuthConnectionResponse) ContextValidate

ContextValidate validate this hashicorp cloud iam create auth connection response based on the context it is used

func (*HashicorpCloudIamCreateAuthConnectionResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamCreateAuthConnectionResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamCreateAuthConnectionResponse) Validate

Validate validates this hashicorp cloud iam create auth connection response

type HashicorpCloudIamCreateGroupResponse

type HashicorpCloudIamCreateGroupResponse struct {

	// group is the newly created group.
	Group *HashicorpCloudIamGroup `json:"group,omitempty"`
}

HashicorpCloudIamCreateGroupResponse hashicorp cloud iam create group response

swagger:model hashicorp.cloud.iam.CreateGroupResponse

func (*HashicorpCloudIamCreateGroupResponse) ContextValidate

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

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

func (*HashicorpCloudIamCreateGroupResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudIamCreateGroupResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudIamCreateGroupResponse) Validate

Validate validates this hashicorp cloud iam create group response

type HashicorpCloudIamCreateOrganizationInvitationsResponse

type HashicorpCloudIamCreateOrganizationInvitationsResponse interface{}

HashicorpCloudIamCreateOrganizationInvitationsResponse CreateOrganizationInvitationsResponse is a response for a created organization invitation.

TODO: add list of the invitations that have been created.

swagger:model hashicorp.cloud.iam.CreateOrganizationInvitationsResponse

type HashicorpCloudIamCreateOrganizationServicePrincipalKeyResponse

type HashicorpCloudIamCreateOrganizationServicePrincipalKeyResponse struct {

	// client_secret is the secret part of the credential set modelled by the service
	// principal key. Its counterpart is the "client ID", which is part of the key
	// message. This is the only time that this client secret transits through our
	// systems, as after the creation of the service principal key it's forgotten.
	// Consumers of this service endpoint are expected to store the client secret
	// in order to use it later.
	ClientSecret string `json:"client_secret,omitempty"`

	// key is the service principal key that has just been created.
	Key *HashicorpCloudIamServicePrincipalKey `json:"key,omitempty"`
}

HashicorpCloudIamCreateOrganizationServicePrincipalKeyResponse CreateOrganizationServicePrincipalKeyResponse is the response message returned after creating a service principal key for a service principal on organization level.

swagger:model hashicorp.cloud.iam.CreateOrganizationServicePrincipalKeyResponse

func (*HashicorpCloudIamCreateOrganizationServicePrincipalKeyResponse) ContextValidate

ContextValidate validate this hashicorp cloud iam create organization service principal key response based on the context it is used

func (*HashicorpCloudIamCreateOrganizationServicePrincipalKeyResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamCreateOrganizationServicePrincipalKeyResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamCreateOrganizationServicePrincipalKeyResponse) Validate

Validate validates this hashicorp cloud iam create organization service principal key response

type HashicorpCloudIamCreateOrganizationServicePrincipalResponse

type HashicorpCloudIamCreateOrganizationServicePrincipalResponse struct {

	// service_principal is the just-created service principal.
	ServicePrincipal *HashicorpCloudIamServicePrincipal `json:"service_principal,omitempty"`
}

HashicorpCloudIamCreateOrganizationServicePrincipalResponse CreateOrganizationServicePrincipalResponse is the response message returned after creating a service principal on organization level.

swagger:model hashicorp.cloud.iam.CreateOrganizationServicePrincipalResponse

func (*HashicorpCloudIamCreateOrganizationServicePrincipalResponse) ContextValidate

ContextValidate validate this hashicorp cloud iam create organization service principal response based on the context it is used

func (*HashicorpCloudIamCreateOrganizationServicePrincipalResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamCreateOrganizationServicePrincipalResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamCreateOrganizationServicePrincipalResponse) Validate

Validate validates this hashicorp cloud iam create organization service principal response

type HashicorpCloudIamCreateProjectServicePrincipalKeyResponse

type HashicorpCloudIamCreateProjectServicePrincipalKeyResponse struct {

	// client_secret is the secret part of the credential set modelled by the service
	// principal key. Its counterpart is the "client ID", which is part of the key
	// message. This is the only time that this client secret transits through our
	// systems, as after the creation of the service principal key it's forgotten.
	// Consumers of this service endpoint are expected to store the client secret
	// in order to use it later.
	ClientSecret string `json:"client_secret,omitempty"`

	// key is the service principal key that has just been created.
	Key *HashicorpCloudIamServicePrincipalKey `json:"key,omitempty"`
}

HashicorpCloudIamCreateProjectServicePrincipalKeyResponse CreateProjectServicePrincipalKeyResponse is the response message returned after creating a service principal key for a service principal on project level.

swagger:model hashicorp.cloud.iam.CreateProjectServicePrincipalKeyResponse

func (*HashicorpCloudIamCreateProjectServicePrincipalKeyResponse) ContextValidate

ContextValidate validate this hashicorp cloud iam create project service principal key response based on the context it is used

func (*HashicorpCloudIamCreateProjectServicePrincipalKeyResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamCreateProjectServicePrincipalKeyResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamCreateProjectServicePrincipalKeyResponse) Validate

Validate validates this hashicorp cloud iam create project service principal key response

type HashicorpCloudIamCreateProjectServicePrincipalResponse

type HashicorpCloudIamCreateProjectServicePrincipalResponse struct {

	// service_principal is the just-created service principal.
	ServicePrincipal *HashicorpCloudIamServicePrincipal `json:"service_principal,omitempty"`
}

HashicorpCloudIamCreateProjectServicePrincipalResponse CreateProjectServicePrincipalResponse is the response message returned after creating a service principal on project level.

swagger:model hashicorp.cloud.iam.CreateProjectServicePrincipalResponse

func (*HashicorpCloudIamCreateProjectServicePrincipalResponse) ContextValidate

ContextValidate validate this hashicorp cloud iam create project service principal response based on the context it is used

func (*HashicorpCloudIamCreateProjectServicePrincipalResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamCreateProjectServicePrincipalResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamCreateProjectServicePrincipalResponse) Validate

Validate validates this hashicorp cloud iam create project service principal response

type HashicorpCloudIamCreateSSOConfigurationResponse

type HashicorpCloudIamCreateSSOConfigurationResponse interface{}

HashicorpCloudIamCreateSSOConfigurationResponse hashicorp cloud iam create s s o configuration response

swagger:model hashicorp.cloud.iam.CreateSSOConfigurationResponse

type HashicorpCloudIamCreateServicePrincipalKeyResponse

type HashicorpCloudIamCreateServicePrincipalKeyResponse struct {

	// client_secret is the secret part of the credential set modelled by the service
	// principal key. Its counterpart is the "client ID", which is part of the key
	// message. This is the only time that this client secret transits through our
	// systems, as after the creation of the service principal key it's forgotten.
	// Consumers of this service endpoint are expected to store the client secret
	// in order to use it later.
	ClientSecret string `json:"client_secret,omitempty"`

	// key is the service principal key that has just been created.
	Key *HashicorpCloudIamServicePrincipalKey `json:"key,omitempty"`
}

HashicorpCloudIamCreateServicePrincipalKeyResponse CreateServicePrincipalKeyResponse is the response message returned after creating a service principal key.

swagger:model hashicorp.cloud.iam.CreateServicePrincipalKeyResponse

func (*HashicorpCloudIamCreateServicePrincipalKeyResponse) ContextValidate

ContextValidate validate this hashicorp cloud iam create service principal key response based on the context it is used

func (*HashicorpCloudIamCreateServicePrincipalKeyResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamCreateServicePrincipalKeyResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamCreateServicePrincipalKeyResponse) Validate

Validate validates this hashicorp cloud iam create service principal key response

type HashicorpCloudIamCreateServicePrincipalResponse

type HashicorpCloudIamCreateServicePrincipalResponse struct {

	// service_principal is the just-created service principal.
	ServicePrincipal *HashicorpCloudIamServicePrincipal `json:"service_principal,omitempty"`
}

HashicorpCloudIamCreateServicePrincipalResponse CreateServicePrincipalResponse is the response message returned after creating a service principal.

swagger:model hashicorp.cloud.iam.CreateServicePrincipalResponse

func (*HashicorpCloudIamCreateServicePrincipalResponse) ContextValidate

ContextValidate validate this hashicorp cloud iam create service principal response based on the context it is used

func (*HashicorpCloudIamCreateServicePrincipalResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamCreateServicePrincipalResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamCreateServicePrincipalResponse) Validate

Validate validates this hashicorp cloud iam create service principal response

type HashicorpCloudIamCreateUserPrincipalRequest

type HashicorpCloudIamCreateUserPrincipalRequest struct {

	// accept_privacy_policy is a flag indicating user's agreement with the current Privacy Policy
	AcceptPrivacyPolicy bool `json:"accept_privacy_policy,omitempty"`

	// accept_tos is a flag indicating user's agreement with the current ToS
	AcceptTos bool `json:"accept_tos,omitempty"`
}

HashicorpCloudIamCreateUserPrincipalRequest CreateUserPrincipalRequest is the request to create a user principal on the IAM service.

swagger:model hashicorp.cloud.iam.CreateUserPrincipalRequest

func (*HashicorpCloudIamCreateUserPrincipalRequest) ContextValidate

ContextValidate validates this hashicorp cloud iam create user principal request based on context it is used

func (*HashicorpCloudIamCreateUserPrincipalRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudIamCreateUserPrincipalRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudIamCreateUserPrincipalRequest) Validate

Validate validates this hashicorp cloud iam create user principal request

type HashicorpCloudIamCreateWorkloadIdentityProviderResponse

type HashicorpCloudIamCreateWorkloadIdentityProviderResponse struct {

	// provider is the created workload identity provider.
	Provider *HashicorpCloudIamWorkloadIdentityProvider `json:"provider,omitempty"`
}

HashicorpCloudIamCreateWorkloadIdentityProviderResponse CreateWorkloadIdentityProviderResponse is the response message when creating a workload identity provider.

swagger:model hashicorp.cloud.iam.CreateWorkloadIdentityProviderResponse

func (*HashicorpCloudIamCreateWorkloadIdentityProviderResponse) ContextValidate

ContextValidate validate this hashicorp cloud iam create workload identity provider response based on the context it is used

func (*HashicorpCloudIamCreateWorkloadIdentityProviderResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamCreateWorkloadIdentityProviderResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamCreateWorkloadIdentityProviderResponse) Validate

Validate validates this hashicorp cloud iam create workload identity provider response

type HashicorpCloudIamDeleteOrganizationInvitationResponse

type HashicorpCloudIamDeleteOrganizationInvitationResponse interface{}

HashicorpCloudIamDeleteOrganizationInvitationResponse DeleteOrganizationInvitationResponse is a response for deleting an organization invitation.

swagger:model hashicorp.cloud.iam.DeleteOrganizationInvitationResponse

type HashicorpCloudIamDeleteOrganizationMembershipResponse

type HashicorpCloudIamDeleteOrganizationMembershipResponse interface{}

HashicorpCloudIamDeleteOrganizationMembershipResponse DeleteOrganizationMembershipResponse is the response from deleting a users organization membership

swagger:model hashicorp.cloud.iam.DeleteOrganizationMembershipResponse

type HashicorpCloudIamDeleteOrganizationServicePrincipalKeyResponse

type HashicorpCloudIamDeleteOrganizationServicePrincipalKeyResponse interface{}

HashicorpCloudIamDeleteOrganizationServicePrincipalKeyResponse DeleteOrganizationServicePrincipalKeyResponse is the response to a DeleteOrganizationServicePrincipalKeyRequest. It is blank as the mere presence of the response indicates a success, in all other cases the request returns an error.

swagger:model hashicorp.cloud.iam.DeleteOrganizationServicePrincipalKeyResponse

type HashicorpCloudIamDeleteOrganizationServicePrincipalResponse

type HashicorpCloudIamDeleteOrganizationServicePrincipalResponse interface{}

HashicorpCloudIamDeleteOrganizationServicePrincipalResponse DeleteOrganizationServicePrincipalResponse is the response message returned after deleting a service principal on organization level.

swagger:model hashicorp.cloud.iam.DeleteOrganizationServicePrincipalResponse

type HashicorpCloudIamDeleteProjectServicePrincipalKeyResponse

type HashicorpCloudIamDeleteProjectServicePrincipalKeyResponse interface{}

HashicorpCloudIamDeleteProjectServicePrincipalKeyResponse DeleteProjectServicePrincipalKeyResponse is the response to a DeleteServicePrincipalKeyRequest. It is blank as the mere presence of the response indicates a success, in all other cases the request returns an error.

swagger:model hashicorp.cloud.iam.DeleteProjectServicePrincipalKeyResponse

type HashicorpCloudIamDeleteProjectServicePrincipalResponse

type HashicorpCloudIamDeleteProjectServicePrincipalResponse interface{}

HashicorpCloudIamDeleteProjectServicePrincipalResponse DeleteProjectServicePrincipalResponse is the response message returned after deleting a service principal on project level.

swagger:model hashicorp.cloud.iam.DeleteProjectServicePrincipalResponse

type HashicorpCloudIamDeleteSSOConfigurationResponse

type HashicorpCloudIamDeleteSSOConfigurationResponse interface{}

HashicorpCloudIamDeleteSSOConfigurationResponse hashicorp cloud iam delete s s o configuration response

swagger:model hashicorp.cloud.iam.DeleteSSOConfigurationResponse

type HashicorpCloudIamDeleteServicePrincipalKeyResponse

type HashicorpCloudIamDeleteServicePrincipalKeyResponse interface{}

HashicorpCloudIamDeleteServicePrincipalKeyResponse DeleteServicePrincipalKeyResponse is the response to a DeleteServicePrincipalKeyRequest. It is blank as the mere presence of the response indicates a success, in all other cases the request returns an error.

swagger:model hashicorp.cloud.iam.DeleteServicePrincipalKeyResponse

type HashicorpCloudIamDeleteServicePrincipalResponse

type HashicorpCloudIamDeleteServicePrincipalResponse interface{}

HashicorpCloudIamDeleteServicePrincipalResponse DeleteServicePrincipalResponse is the response message returned after deleting a service principal.

swagger:model hashicorp.cloud.iam.DeleteServicePrincipalResponse

type HashicorpCloudIamDeleteWorkloadIdentityProviderResponse

type HashicorpCloudIamDeleteWorkloadIdentityProviderResponse struct {

	// resource_id is the resource id of the workload identity provider that
	// was deleted.
	ResourceID string `json:"resource_id,omitempty"`

	// resource_name is the resource name of the workload identity provider that
	// was deleted.
	ResourceName string `json:"resource_name,omitempty"`
}

HashicorpCloudIamDeleteWorkloadIdentityProviderResponse DeleteWorkloadIdentityProviderResponse is the response message to deleting a workload identity provider.

swagger:model hashicorp.cloud.iam.DeleteWorkloadIdentityProviderResponse

func (*HashicorpCloudIamDeleteWorkloadIdentityProviderResponse) ContextValidate

ContextValidate validates this hashicorp cloud iam delete workload identity provider response based on context it is used

func (*HashicorpCloudIamDeleteWorkloadIdentityProviderResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamDeleteWorkloadIdentityProviderResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamDeleteWorkloadIdentityProviderResponse) Validate

Validate validates this hashicorp cloud iam delete workload identity provider response

type HashicorpCloudIamDisableMFARequest

type HashicorpCloudIamDisableMFARequest struct {

	// the user token used to talk to the Auth0 MFA API
	MfaToken string `json:"mfa_token,omitempty"`
}

HashicorpCloudIamDisableMFARequest hashicorp cloud iam disable m f a request

swagger:model hashicorp.cloud.iam.DisableMFARequest

func (*HashicorpCloudIamDisableMFARequest) ContextValidate

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

ContextValidate validates this hashicorp cloud iam disable m f a request based on context it is used

func (*HashicorpCloudIamDisableMFARequest) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudIamDisableMFARequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudIamDisableMFARequest) Validate

Validate validates this hashicorp cloud iam disable m f a request

type HashicorpCloudIamDisableMFAResponse

type HashicorpCloudIamDisableMFAResponse interface{}

HashicorpCloudIamDisableMFAResponse hashicorp cloud iam disable m f a response

swagger:model hashicorp.cloud.iam.DisableMFAResponse

type HashicorpCloudIamEnableMFARequest

type HashicorpCloudIamEnableMFARequest struct {

	// mfa token
	MfaToken string `json:"mfa_token,omitempty"`
}

HashicorpCloudIamEnableMFARequest hashicorp cloud iam enable m f a request

swagger:model hashicorp.cloud.iam.EnableMFARequest

func (*HashicorpCloudIamEnableMFARequest) ContextValidate

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

ContextValidate validates this hashicorp cloud iam enable m f a request based on context it is used

func (*HashicorpCloudIamEnableMFARequest) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudIamEnableMFARequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudIamEnableMFARequest) Validate

Validate validates this hashicorp cloud iam enable m f a request

type HashicorpCloudIamEnableMFAResponse

type HashicorpCloudIamEnableMFAResponse struct {

	// qrcode uri
	QrcodeURI string `json:"qrcode_uri,omitempty"`

	// recovery codes
	RecoveryCodes []string `json:"recovery_codes"`

	// secret
	Secret string `json:"secret,omitempty"`
}

HashicorpCloudIamEnableMFAResponse hashicorp cloud iam enable m f a response

swagger:model hashicorp.cloud.iam.EnableMFAResponse

func (*HashicorpCloudIamEnableMFAResponse) ContextValidate

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

ContextValidate validates this hashicorp cloud iam enable m f a response based on context it is used

func (*HashicorpCloudIamEnableMFAResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudIamEnableMFAResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudIamEnableMFAResponse) Validate

Validate validates this hashicorp cloud iam enable m f a response

type HashicorpCloudIamExchangeWorkloadIdentityTokenRequestToken

type HashicorpCloudIamExchangeWorkloadIdentityTokenRequestToken struct {

	// AWS4Request is a signed AWS4 [0] request to the GetCallerIdentity
	// endpoint [1]
	//
	// [0] https://docs.aws.amazon.com/IAM/latest/UserGuide/signing-elements.html
	// [1] https://docs.aws.amazon.com/STS/latest/APIReference/API_GetCallerIdentity.html
	AwsGetCallerIDToken *HashicorpCloudIamExchangeWorkloadIdentityTokenRequestTokenAWS4Request `json:"aws_get_caller_id_token,omitempty"`

	// jwt_token is a JWT token.
	JwtToken string `json:"jwt_token,omitempty"`
}

HashicorpCloudIamExchangeWorkloadIdentityTokenRequestToken Token represents an external identity token.

swagger:model hashicorp.cloud.iam.ExchangeWorkloadIdentityTokenRequest.Token

func (*HashicorpCloudIamExchangeWorkloadIdentityTokenRequestToken) ContextValidate

ContextValidate validate this hashicorp cloud iam exchange workload identity token request token based on the context it is used

func (*HashicorpCloudIamExchangeWorkloadIdentityTokenRequestToken) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamExchangeWorkloadIdentityTokenRequestToken) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamExchangeWorkloadIdentityTokenRequestToken) Validate

Validate validates this hashicorp cloud iam exchange workload identity token request token

type HashicorpCloudIamExchangeWorkloadIdentityTokenRequestTokenAWS4Request

type HashicorpCloudIamExchangeWorkloadIdentityTokenRequestTokenAWS4Request struct {

	// body is the HTTP request body.
	Body string `json:"body,omitempty"`

	// headers is the HTTP request headers. This must include:
	//
	// x-amz-date: the date of the request
	//  host: the host of the request, e.g. sts.amazonaws.com
	//  x-hcp-workload-identity-provider: the resource_name of the workload
	//    identity provider the token exchange will be conducted against.
	//  Authorization: The AWS Signature for the request.
	//  X-Amz-Security-Token: The temporary security credentials' session used
	//    to sign the request. Described here:
	//    https://docs.aws.amazon.com/IAM/latest/UserGuide/create-signed-request.html#temporary-security-credentials
	Headers map[string]string `json:"headers,omitempty"`

	// method is the method of the HTTP request. Example is PUT
	Method string `json:"method,omitempty"`

	// url is the URL of the AWS endpoint being called. For example,
	// https://sts.amazonaws.com?Action=GetCallerIdentity&Version=2011-06-15
	URL string `json:"url,omitempty"`
}

HashicorpCloudIamExchangeWorkloadIdentityTokenRequestTokenAWS4Request AWS4Request represents a AWS4 signed request to an AWS service. See https://docs.aws.amazon.com/IAM/latest/UserGuide/signing-elements.html

swagger:model hashicorp.cloud.iam.ExchangeWorkloadIdentityTokenRequest.Token.AWS4Request

func (*HashicorpCloudIamExchangeWorkloadIdentityTokenRequestTokenAWS4Request) ContextValidate

ContextValidate validates this hashicorp cloud iam exchange workload identity token request token a w s4 request based on context it is used

func (*HashicorpCloudIamExchangeWorkloadIdentityTokenRequestTokenAWS4Request) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamExchangeWorkloadIdentityTokenRequestTokenAWS4Request) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamExchangeWorkloadIdentityTokenRequestTokenAWS4Request) Validate

Validate validates this hashicorp cloud iam exchange workload identity token request token a w s4 request

type HashicorpCloudIamExchangeWorkloadIdentityTokenResponse

type HashicorpCloudIamExchangeWorkloadIdentityTokenResponse struct {

	// access_token is an access_token with the subject matching that of the
	// requested service principal.
	AccessToken string `json:"access_token,omitempty"`

	// expires_in is the number of seconds the returned access token expires in.
	ExpiresIn int32 `json:"expires_in,omitempty"`
}

HashicorpCloudIamExchangeWorkloadIdentityTokenResponse ExchangeWorkloadIdentityTokenResponse is the response to the exchange of an external token for a service principal access_token.

swagger:model hashicorp.cloud.iam.ExchangeWorkloadIdentityTokenResponse

func (*HashicorpCloudIamExchangeWorkloadIdentityTokenResponse) ContextValidate

ContextValidate validates this hashicorp cloud iam exchange workload identity token response based on context it is used

func (*HashicorpCloudIamExchangeWorkloadIdentityTokenResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamExchangeWorkloadIdentityTokenResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamExchangeWorkloadIdentityTokenResponse) Validate

Validate validates this hashicorp cloud iam exchange workload identity token response

type HashicorpCloudIamGetAuthConnectionsResponse

type HashicorpCloudIamGetAuthConnectionsResponse struct {

	// auth connections
	AuthConnections []*HashicorpCloudIamAuthConnection `json:"auth_connections"`
}

HashicorpCloudIamGetAuthConnectionsResponse hashicorp cloud iam get auth connections response

swagger:model hashicorp.cloud.iam.GetAuthConnectionsResponse

func (*HashicorpCloudIamGetAuthConnectionsResponse) ContextValidate

ContextValidate validate this hashicorp cloud iam get auth connections response based on the context it is used

func (*HashicorpCloudIamGetAuthConnectionsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudIamGetAuthConnectionsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudIamGetAuthConnectionsResponse) Validate

Validate validates this hashicorp cloud iam get auth connections response

type HashicorpCloudIamGetCallerIdentityResponse added in v0.65.0

type HashicorpCloudIamGetCallerIdentityResponse struct {

	// principal is the calling principal.
	Principal *HashicorpCloudIamPrincipal `json:"principal,omitempty"`
}

HashicorpCloudIamGetCallerIdentityResponse GetCallerIdentityResponse contains user data and some extra information (for example user preferences)

swagger:model hashicorp.cloud.iam.GetCallerIdentityResponse

func (*HashicorpCloudIamGetCallerIdentityResponse) ContextValidate added in v0.65.0

ContextValidate validate this hashicorp cloud iam get caller identity response based on the context it is used

func (*HashicorpCloudIamGetCallerIdentityResponse) MarshalBinary added in v0.65.0

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

MarshalBinary interface implementation

func (*HashicorpCloudIamGetCallerIdentityResponse) UnmarshalBinary added in v0.65.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudIamGetCallerIdentityResponse) Validate added in v0.65.0

Validate validates this hashicorp cloud iam get caller identity response

type HashicorpCloudIamGetCurrentUserPrincipalResponse

type HashicorpCloudIamGetCurrentUserPrincipalResponse struct {

	// user_principal is a user principal
	UserPrincipal *HashicorpCloudIamUserPrincipal `json:"user_principal,omitempty"`

	// web_portal_preferences are the user preferences for the HCP Web Portal
	// JS application. They're only included in the response if the caller client
	// has enabled the corresponding flag in the request parameters.
	WebPortalPreferences HashicorpCloudIamWebConsolePreferences `json:"web_portal_preferences,omitempty"`
}

HashicorpCloudIamGetCurrentUserPrincipalResponse GetCurrentUserPrincipalResponse contains user data and some extra information (for example user preferences)

swagger:model hashicorp.cloud.iam.GetCurrentUserPrincipalResponse

func (*HashicorpCloudIamGetCurrentUserPrincipalResponse) ContextValidate

ContextValidate validate this hashicorp cloud iam get current user principal response based on the context it is used

func (*HashicorpCloudIamGetCurrentUserPrincipalResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamGetCurrentUserPrincipalResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamGetCurrentUserPrincipalResponse) Validate

Validate validates this hashicorp cloud iam get current user principal response

type HashicorpCloudIamGetGroupResponse

type HashicorpCloudIamGetGroupResponse struct {

	// group is the group that was fetched.
	Group *HashicorpCloudIamGroup `json:"group,omitempty"`
}

HashicorpCloudIamGetGroupResponse hashicorp cloud iam get group response

swagger:model hashicorp.cloud.iam.GetGroupResponse

func (*HashicorpCloudIamGetGroupResponse) ContextValidate

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

ContextValidate validate this hashicorp cloud iam get group response based on the context it is used

func (*HashicorpCloudIamGetGroupResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudIamGetGroupResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudIamGetGroupResponse) Validate

Validate validates this hashicorp cloud iam get group response

type HashicorpCloudIamGetMFAStatusResponse

type HashicorpCloudIamGetMFAStatusResponse struct {

	// status
	Status *HashicorpCloudIamGetMFAStatusResponseMFAStatus `json:"status,omitempty"`
}

HashicorpCloudIamGetMFAStatusResponse hashicorp cloud iam get m f a status response

swagger:model hashicorp.cloud.iam.GetMFAStatusResponse

func (*HashicorpCloudIamGetMFAStatusResponse) ContextValidate

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

ContextValidate validate this hashicorp cloud iam get m f a status response based on the context it is used

func (*HashicorpCloudIamGetMFAStatusResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudIamGetMFAStatusResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudIamGetMFAStatusResponse) Validate

Validate validates this hashicorp cloud iam get m f a status response

type HashicorpCloudIamGetMFAStatusResponseMFAStatus

type HashicorpCloudIamGetMFAStatusResponseMFAStatus string

HashicorpCloudIamGetMFAStatusResponseMFAStatus - UNSET: UNSET means the result hasn't been set and should never be seen outside of tests.

  • ENABLED: ENABLED means the user has MFA enabled.
  • DISABLED: DISABLED means the user does not have MFA enabled.
  • UNKNOWN: UNKNOWN means we do not know the status of this user's MFA. This is

the case when MFA is managed by an external party (e.g. SSO and GitHub users.)

swagger:model hashicorp.cloud.iam.GetMFAStatusResponse.MFAStatus

const (

	// HashicorpCloudIamGetMFAStatusResponseMFAStatusUNSET captures enum value "UNSET"
	HashicorpCloudIamGetMFAStatusResponseMFAStatusUNSET HashicorpCloudIamGetMFAStatusResponseMFAStatus = "UNSET"

	// HashicorpCloudIamGetMFAStatusResponseMFAStatusENABLED captures enum value "ENABLED"
	HashicorpCloudIamGetMFAStatusResponseMFAStatusENABLED HashicorpCloudIamGetMFAStatusResponseMFAStatus = "ENABLED"

	// HashicorpCloudIamGetMFAStatusResponseMFAStatusDISABLED captures enum value "DISABLED"
	HashicorpCloudIamGetMFAStatusResponseMFAStatusDISABLED HashicorpCloudIamGetMFAStatusResponseMFAStatus = "DISABLED"

	// HashicorpCloudIamGetMFAStatusResponseMFAStatusUNKNOWN captures enum value "UNKNOWN"
	HashicorpCloudIamGetMFAStatusResponseMFAStatusUNKNOWN HashicorpCloudIamGetMFAStatusResponseMFAStatus = "UNKNOWN"
)

func (HashicorpCloudIamGetMFAStatusResponseMFAStatus) ContextValidate

ContextValidate validates this hashicorp cloud iam get m f a status response m f a status based on context it is used

func (HashicorpCloudIamGetMFAStatusResponseMFAStatus) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudIamGetMFAStatusResponseMFAStatus.

func (HashicorpCloudIamGetMFAStatusResponseMFAStatus) Validate

Validate validates this hashicorp cloud iam get m f a status response m f a status

type HashicorpCloudIamGetOrganizationAuthMetadataResponse

type HashicorpCloudIamGetOrganizationAuthMetadataResponse struct {

	// sso_status indicates whether the organization has configured Single Sign-On
	// via an external IdP.
	SsoEnabled bool `json:"sso_enabled,omitempty"`
}

HashicorpCloudIamGetOrganizationAuthMetadataResponse GetOrganizationAuthMetadataResponse is the response containing metadata about an organization's configured authentication methods.

swagger:model hashicorp.cloud.iam.GetOrganizationAuthMetadataResponse

func (*HashicorpCloudIamGetOrganizationAuthMetadataResponse) ContextValidate

ContextValidate validates this hashicorp cloud iam get organization auth metadata response based on context it is used

func (*HashicorpCloudIamGetOrganizationAuthMetadataResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamGetOrganizationAuthMetadataResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamGetOrganizationAuthMetadataResponse) Validate

Validate validates this hashicorp cloud iam get organization auth metadata response

type HashicorpCloudIamGetOrganizationNameByInvitationTokenResponse

type HashicorpCloudIamGetOrganizationNameByInvitationTokenResponse struct {

	// organization name
	OrganizationName string `json:"organization_name,omitempty"`
}

HashicorpCloudIamGetOrganizationNameByInvitationTokenResponse GetOrganizationNameByInvitationTokenResponse is a response for returning the name of an organization associated with the provided invitation token

swagger:model hashicorp.cloud.iam.GetOrganizationNameByInvitationTokenResponse

func (*HashicorpCloudIamGetOrganizationNameByInvitationTokenResponse) ContextValidate

ContextValidate validates this hashicorp cloud iam get organization name by invitation token response based on context it is used

func (*HashicorpCloudIamGetOrganizationNameByInvitationTokenResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamGetOrganizationNameByInvitationTokenResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamGetOrganizationNameByInvitationTokenResponse) Validate

Validate validates this hashicorp cloud iam get organization name by invitation token response

type HashicorpCloudIamGetOrganizationServicePrincipalResponse

type HashicorpCloudIamGetOrganizationServicePrincipalResponse struct {

	// keys is the list of the service principal keys that belong to the
	// retrieved service principal.
	Keys []*HashicorpCloudIamServicePrincipalKey `json:"keys"`

	// service_principal is the retrieved service principal.
	ServicePrincipal *HashicorpCloudIamServicePrincipal `json:"service_principal,omitempty"`
}

HashicorpCloudIamGetOrganizationServicePrincipalResponse GetOrganizationServicePrincipalResponse is the response message for fetching a service principal on organization level.

swagger:model hashicorp.cloud.iam.GetOrganizationServicePrincipalResponse

func (*HashicorpCloudIamGetOrganizationServicePrincipalResponse) ContextValidate

ContextValidate validate this hashicorp cloud iam get organization service principal response based on the context it is used

func (*HashicorpCloudIamGetOrganizationServicePrincipalResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamGetOrganizationServicePrincipalResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamGetOrganizationServicePrincipalResponse) Validate

Validate validates this hashicorp cloud iam get organization service principal response

type HashicorpCloudIamGetPreconfigurationDataResponse

type HashicorpCloudIamGetPreconfigurationDataResponse struct {

	// AssertionConsumerUrl has the Assertion Consumer URL (or Post Back in
	// Auth0 parlance) for the IdP.
	AssertionConsumerURL string `json:"assertion_consumer_url,omitempty"`

	// domain_txt_verification_record is the expected value of the TXT ownership
	// verification record we require organizations to add to their email
	// domain's DNS to prove that they own/control the domain.
	DomainTxtVerificationRecord string `json:"domain_txt_verification_record,omitempty"`

	// EntityUrl has the name of the audience the IdP needs to set up on their
	// side.
	EntityID string `json:"entity_id,omitempty"`
}

HashicorpCloudIamGetPreconfigurationDataResponse GetPreconfigurationDataResponse is the response containing the preconfiguration data.

swagger:model hashicorp.cloud.iam.GetPreconfigurationDataResponse

func (*HashicorpCloudIamGetPreconfigurationDataResponse) ContextValidate

ContextValidate validates this hashicorp cloud iam get preconfiguration data response based on context it is used

func (*HashicorpCloudIamGetPreconfigurationDataResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamGetPreconfigurationDataResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamGetPreconfigurationDataResponse) Validate

Validate validates this hashicorp cloud iam get preconfiguration data response

type HashicorpCloudIamGetProjectServicePrincipalResponse

type HashicorpCloudIamGetProjectServicePrincipalResponse struct {

	// keys is the list of the service principal keys that belong to the
	// retrieved service principal.
	Keys []*HashicorpCloudIamServicePrincipalKey `json:"keys"`

	// project_id is the unique identifier (UUID) of the project that
	// owns the requested service principal.
	ProjectID string `json:"project_id,omitempty"`

	// service_principal is the retrieved service principal.
	ServicePrincipal *HashicorpCloudIamServicePrincipal `json:"service_principal,omitempty"`
}

HashicorpCloudIamGetProjectServicePrincipalResponse GetProjectServicePrincipalResponse is the response message for fetching a service principal on project level.

swagger:model hashicorp.cloud.iam.GetProjectServicePrincipalResponse

func (*HashicorpCloudIamGetProjectServicePrincipalResponse) ContextValidate

ContextValidate validate this hashicorp cloud iam get project service principal response based on the context it is used

func (*HashicorpCloudIamGetProjectServicePrincipalResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamGetProjectServicePrincipalResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamGetProjectServicePrincipalResponse) Validate

Validate validates this hashicorp cloud iam get project service principal response

type HashicorpCloudIamGetSSOConfigurationResponse

type HashicorpCloudIamGetSSOConfigurationResponse struct {

	// config
	Config *HashicorpCloudIamSSOConfig `json:"config,omitempty"`
}

HashicorpCloudIamGetSSOConfigurationResponse hashicorp cloud iam get s s o configuration response

swagger:model hashicorp.cloud.iam.GetSSOConfigurationResponse

func (*HashicorpCloudIamGetSSOConfigurationResponse) ContextValidate

ContextValidate validate this hashicorp cloud iam get s s o configuration response based on the context it is used

func (*HashicorpCloudIamGetSSOConfigurationResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamGetSSOConfigurationResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamGetSSOConfigurationResponse) Validate

Validate validates this hashicorp cloud iam get s s o configuration response

type HashicorpCloudIamGetSSOTypeResponse

type HashicorpCloudIamGetSSOTypeResponse struct {

	// Type is the type of SSO currently configured.
	Type *HashicorpCloudIamSSOType `json:"type,omitempty"`
}

HashicorpCloudIamGetSSOTypeResponse hashicorp cloud iam get s s o type response

swagger:model hashicorp.cloud.iam.GetSSOTypeResponse

func (*HashicorpCloudIamGetSSOTypeResponse) ContextValidate

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

ContextValidate validate this hashicorp cloud iam get s s o type response based on the context it is used

func (*HashicorpCloudIamGetSSOTypeResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudIamGetSSOTypeResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudIamGetSSOTypeResponse) Validate

Validate validates this hashicorp cloud iam get s s o type response

type HashicorpCloudIamGetServicePrincipalResponse

type HashicorpCloudIamGetServicePrincipalResponse struct {

	// keys is the list of the service principal keys that belong to the
	// retrieved service principal.
	Keys []*HashicorpCloudIamServicePrincipalKey `json:"keys"`

	// service_principal is the retrieved service principal.
	ServicePrincipal *HashicorpCloudIamServicePrincipal `json:"service_principal,omitempty"`
}

HashicorpCloudIamGetServicePrincipalResponse GetServicePrincipalResponse is the response message for fetching a service principal.

swagger:model hashicorp.cloud.iam.GetServicePrincipalResponse

func (*HashicorpCloudIamGetServicePrincipalResponse) ContextValidate

ContextValidate validate this hashicorp cloud iam get service principal response based on the context it is used

func (*HashicorpCloudIamGetServicePrincipalResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamGetServicePrincipalResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamGetServicePrincipalResponse) Validate

Validate validates this hashicorp cloud iam get service principal response

type HashicorpCloudIamGetUserPrincipalsByIDsInOrganizationResponse

type HashicorpCloudIamGetUserPrincipalsByIDsInOrganizationResponse struct {

	// user_principals is a list of requested users
	UserPrincipals []*HashicorpCloudIamUserPrincipal `json:"user_principals"`
}

HashicorpCloudIamGetUserPrincipalsByIDsInOrganizationResponse GetUserPrincipalsByIDsInOrganizationResponse is a response with users by ID in a given organization

swagger:model hashicorp.cloud.iam.GetUserPrincipalsByIDsInOrganizationResponse

func (*HashicorpCloudIamGetUserPrincipalsByIDsInOrganizationResponse) ContextValidate

ContextValidate validate this hashicorp cloud iam get user principals by i ds in organization response based on the context it is used

func (*HashicorpCloudIamGetUserPrincipalsByIDsInOrganizationResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamGetUserPrincipalsByIDsInOrganizationResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamGetUserPrincipalsByIDsInOrganizationResponse) Validate

Validate validates this hashicorp cloud iam get user principals by i ds in organization response

type HashicorpCloudIamGetWorkloadIdentityProviderResponse

type HashicorpCloudIamGetWorkloadIdentityProviderResponse struct {

	// provider is the requested workload identity provider.
	Provider *HashicorpCloudIamWorkloadIdentityProvider `json:"provider,omitempty"`
}

HashicorpCloudIamGetWorkloadIdentityProviderResponse GetWorkloadIdentityProviderResponse is the response message to retrieving a workload identity provider.

swagger:model hashicorp.cloud.iam.GetWorkloadIdentityProviderResponse

func (*HashicorpCloudIamGetWorkloadIdentityProviderResponse) ContextValidate

ContextValidate validate this hashicorp cloud iam get workload identity provider response based on the context it is used

func (*HashicorpCloudIamGetWorkloadIdentityProviderResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamGetWorkloadIdentityProviderResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamGetWorkloadIdentityProviderResponse) Validate

Validate validates this hashicorp cloud iam get workload identity provider response

type HashicorpCloudIamGroup

type HashicorpCloudIamGroup struct {

	// created_at is when the group was created.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// description is a description of the group.
	Description string `json:"description,omitempty"`

	// display_name is the user-specified display name of the group.
	DisplayName string `json:"display_name,omitempty"`

	// member_count is the count of members in the group.
	// We use Int32Value to make sure we return nil instead of 0 if we don't have a member count
	MemberCount int32 `json:"member_count,omitempty"`

	// resource_id is the principal ID of the group.
	ResourceID string `json:"resource_id,omitempty"`

	// resource_name is the name of the group.
	ResourceName string `json:"resource_name,omitempty"`

	// scim_synchronized denotes the group was synchronized from an upstream IdP using SCIM.
	ScimSynchronized bool `json:"scim_synchronized,omitempty"`

	// updated_at is when the group was last updated.
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

HashicorpCloudIamGroup hashicorp cloud iam group

swagger:model hashicorp.cloud.iam.Group

func (*HashicorpCloudIamGroup) ContextValidate

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

ContextValidate validates this hashicorp cloud iam group based on context it is used

func (*HashicorpCloudIamGroup) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudIamGroup) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudIamGroup) Validate

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

Validate validates this hashicorp cloud iam group

type HashicorpCloudIamGroupMember

type HashicorpCloudIamGroupMember struct {

	// email is the email address of the principal.
	Email string `json:"email,omitempty"`

	// id is the ID of the principal.
	ID string `json:"id,omitempty"`

	// name is the name of the principal.
	Name string `json:"name,omitempty"`

	// principal_type is the type of principal (user etc.) of the group member.
	PrincipalType *HashicorpCloudIamGroupMemberPrincipalType `json:"principal_type,omitempty"`
}

HashicorpCloudIamGroupMember hashicorp cloud iam group member

swagger:model hashicorp.cloud.iam.GroupMember

func (*HashicorpCloudIamGroupMember) ContextValidate

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

ContextValidate validate this hashicorp cloud iam group member based on the context it is used

func (*HashicorpCloudIamGroupMember) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudIamGroupMember) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudIamGroupMember) Validate

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

Validate validates this hashicorp cloud iam group member

type HashicorpCloudIamGroupMemberPrincipalType

type HashicorpCloudIamGroupMemberPrincipalType string

HashicorpCloudIamGroupMemberPrincipalType hashicorp cloud iam group member principal type

swagger:model hashicorp.cloud.iam.GroupMemberPrincipalType

const (

	// HashicorpCloudIamGroupMemberPrincipalTypeGROUPMEMBERPRINCIPALTYPEUNSPECIFIED captures enum value "GROUP_MEMBER_PRINCIPAL_TYPE_UNSPECIFIED"
	HashicorpCloudIamGroupMemberPrincipalTypeGROUPMEMBERPRINCIPALTYPEUNSPECIFIED HashicorpCloudIamGroupMemberPrincipalType = "GROUP_MEMBER_PRINCIPAL_TYPE_UNSPECIFIED"

	// HashicorpCloudIamGroupMemberPrincipalTypeGROUPMEMBERPRINCIPALTYPEUSER captures enum value "GROUP_MEMBER_PRINCIPAL_TYPE_USER"
	HashicorpCloudIamGroupMemberPrincipalTypeGROUPMEMBERPRINCIPALTYPEUSER HashicorpCloudIamGroupMemberPrincipalType = "GROUP_MEMBER_PRINCIPAL_TYPE_USER"
)

func (HashicorpCloudIamGroupMemberPrincipalType) ContextValidate

ContextValidate validates this hashicorp cloud iam group member principal type based on context it is used

func (HashicorpCloudIamGroupMemberPrincipalType) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudIamGroupMemberPrincipalType.

func (HashicorpCloudIamGroupMemberPrincipalType) Validate

Validate validates this hashicorp cloud iam group member principal type

type HashicorpCloudIamListGroupMembersResponse

type HashicorpCloudIamListGroupMembersResponse struct {

	// group is the group the members belong to.
	Group *HashicorpCloudIamGroup `json:"group,omitempty"`

	// members is a list of the member principals in the group.
	Members []*HashicorpCloudIamGroupMember `json:"members"`

	// pagination contains page details.
	Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"`
}

HashicorpCloudIamListGroupMembersResponse hashicorp cloud iam list group members response

swagger:model hashicorp.cloud.iam.ListGroupMembersResponse

func (*HashicorpCloudIamListGroupMembersResponse) ContextValidate

ContextValidate validate this hashicorp cloud iam list group members response based on the context it is used

func (*HashicorpCloudIamListGroupMembersResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudIamListGroupMembersResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudIamListGroupMembersResponse) Validate

Validate validates this hashicorp cloud iam list group members response

type HashicorpCloudIamListGroupsRequestFilter

type HashicorpCloudIamListGroupsRequestFilter struct {

	// group_resource_ids is a way to filter groups by a list of group
	// ids when we need to resolve group attributes (e.g. name) from a
	// list of ids we get from a project policy.
	GroupResourceIds []string `json:"group_resource_ids"`

	// member_principal_id is an optional query param to filter groups that a principal belongs to.
	MemberPrincipalID string `json:"member_principal_id,omitempty"`
}

HashicorpCloudIamListGroupsRequestFilter hashicorp cloud iam list groups request filter

swagger:model hashicorp.cloud.iam.ListGroupsRequest.Filter

func (*HashicorpCloudIamListGroupsRequestFilter) ContextValidate

ContextValidate validates this hashicorp cloud iam list groups request filter based on context it is used

func (*HashicorpCloudIamListGroupsRequestFilter) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudIamListGroupsRequestFilter) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudIamListGroupsRequestFilter) Validate

Validate validates this hashicorp cloud iam list groups request filter

type HashicorpCloudIamListGroupsResponse

type HashicorpCloudIamListGroupsResponse struct {

	// groups is the list of groups that was retrieved.
	Groups []*HashicorpCloudIamGroup `json:"groups"`

	// pagination contains result page data.
	Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"`
}

HashicorpCloudIamListGroupsResponse hashicorp cloud iam list groups response

swagger:model hashicorp.cloud.iam.ListGroupsResponse

func (*HashicorpCloudIamListGroupsResponse) ContextValidate

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

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

func (*HashicorpCloudIamListGroupsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudIamListGroupsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudIamListGroupsResponse) Validate

Validate validates this hashicorp cloud iam list groups response

type HashicorpCloudIamListOrganizationInvitationsResponse

type HashicorpCloudIamListOrganizationInvitationsResponse struct {

	// invitations
	Invitations []*HashicorpCloudIamOrganizationInvitation `json:"invitations"`

	// Pagination contains the pagination tokens for a subsequent request.
	Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"`
}

HashicorpCloudIamListOrganizationInvitationsResponse ListOrganizationInvitationsResponse is a response for listing organization invitations

swagger:model hashicorp.cloud.iam.ListOrganizationInvitationsResponse

func (*HashicorpCloudIamListOrganizationInvitationsResponse) ContextValidate

ContextValidate validate this hashicorp cloud iam list organization invitations response based on the context it is used

func (*HashicorpCloudIamListOrganizationInvitationsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamListOrganizationInvitationsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamListOrganizationInvitationsResponse) Validate

Validate validates this hashicorp cloud iam list organization invitations response

type HashicorpCloudIamListOrganizationServicePrincipalsRequestIncludeLevels

type HashicorpCloudIamListOrganizationServicePrincipalsRequestIncludeLevels string

HashicorpCloudIamListOrganizationServicePrincipalsRequestIncludeLevels IncludeLevels represents hierarchical levels below an organization under which service principals can be crated.

  • UNSET: UNSET is the default value.

UNSET will only include service principals at organization level.

  • ALL: ALL will include all service principals on all hirarchical levels

under the given organization.

  • PROJECTS: PROJECTS includes service principals at project level

in the list response.

swagger:model hashicorp.cloud.iam.ListOrganizationServicePrincipalsRequest.IncludeLevels

const (

	// HashicorpCloudIamListOrganizationServicePrincipalsRequestIncludeLevelsUNSET captures enum value "UNSET"
	HashicorpCloudIamListOrganizationServicePrincipalsRequestIncludeLevelsUNSET HashicorpCloudIamListOrganizationServicePrincipalsRequestIncludeLevels = "UNSET"

	// HashicorpCloudIamListOrganizationServicePrincipalsRequestIncludeLevelsALL captures enum value "ALL"
	HashicorpCloudIamListOrganizationServicePrincipalsRequestIncludeLevelsALL HashicorpCloudIamListOrganizationServicePrincipalsRequestIncludeLevels = "ALL"

	// HashicorpCloudIamListOrganizationServicePrincipalsRequestIncludeLevelsPROJECTS captures enum value "PROJECTS"
	HashicorpCloudIamListOrganizationServicePrincipalsRequestIncludeLevelsPROJECTS HashicorpCloudIamListOrganizationServicePrincipalsRequestIncludeLevels = "PROJECTS"
)

func (HashicorpCloudIamListOrganizationServicePrincipalsRequestIncludeLevels) ContextValidate

ContextValidate validates this hashicorp cloud iam list organization service principals request include levels based on context it is used

func (HashicorpCloudIamListOrganizationServicePrincipalsRequestIncludeLevels) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudIamListOrganizationServicePrincipalsRequestIncludeLevels.

func (HashicorpCloudIamListOrganizationServicePrincipalsRequestIncludeLevels) Validate

Validate validates this hashicorp cloud iam list organization service principals request include levels

type HashicorpCloudIamListOrganizationServicePrincipalsResponse

type HashicorpCloudIamListOrganizationServicePrincipalsResponse struct {

	// pagination contains the pagination tokens for a subsequent request.
	Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"`

	// service_principals is the list of principals in the organization.
	ServicePrincipals []*HashicorpCloudIamServicePrincipal `json:"service_principals"`
}

HashicorpCloudIamListOrganizationServicePrincipalsResponse ListOrganizationServicePrincipalsResponse is the response message for listing the service principals in an organization.

swagger:model hashicorp.cloud.iam.ListOrganizationServicePrincipalsResponse

func (*HashicorpCloudIamListOrganizationServicePrincipalsResponse) ContextValidate

ContextValidate validate this hashicorp cloud iam list organization service principals response based on the context it is used

func (*HashicorpCloudIamListOrganizationServicePrincipalsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamListOrganizationServicePrincipalsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamListOrganizationServicePrincipalsResponse) Validate

Validate validates this hashicorp cloud iam list organization service principals response

type HashicorpCloudIamListProjectServicePrincipalsResponse

type HashicorpCloudIamListProjectServicePrincipalsResponse struct {

	// pagination contains the pagination tokens for a subsequent request.
	Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"`

	// service_principals is the list of principals in the organization.
	ServicePrincipals []*HashicorpCloudIamServicePrincipal `json:"service_principals"`
}

HashicorpCloudIamListProjectServicePrincipalsResponse ListProjectServicePrincipalsResponse is the response message for listing the service principals in a project.

swagger:model hashicorp.cloud.iam.ListProjectServicePrincipalsResponse

func (*HashicorpCloudIamListProjectServicePrincipalsResponse) ContextValidate

ContextValidate validate this hashicorp cloud iam list project service principals response based on the context it is used

func (*HashicorpCloudIamListProjectServicePrincipalsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamListProjectServicePrincipalsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamListProjectServicePrincipalsResponse) Validate

Validate validates this hashicorp cloud iam list project service principals response

type HashicorpCloudIamListSSOConfigurationsResponse

type HashicorpCloudIamListSSOConfigurationsResponse struct {

	// Config holds the SSO configurations for this organization.
	Configurations []*HashicorpCloudIamSSOConfig `json:"configurations"`

	// Pagination contains the pagination tokens for a subsequent request.
	Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"`
}

HashicorpCloudIamListSSOConfigurationsResponse hashicorp cloud iam list s s o configurations response

swagger:model hashicorp.cloud.iam.ListSSOConfigurationsResponse

func (*HashicorpCloudIamListSSOConfigurationsResponse) ContextValidate

ContextValidate validate this hashicorp cloud iam list s s o configurations response based on the context it is used

func (*HashicorpCloudIamListSSOConfigurationsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamListSSOConfigurationsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamListSSOConfigurationsResponse) Validate

Validate validates this hashicorp cloud iam list s s o configurations response

type HashicorpCloudIamListServicePrincipalsResponse added in v0.64.0

type HashicorpCloudIamListServicePrincipalsResponse struct {

	// pagination contains the pagination tokens for a subsequent request.
	Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"`

	// service_principals is the list of principals in the organization.
	ServicePrincipals []*HashicorpCloudIamServicePrincipal `json:"service_principals"`
}

HashicorpCloudIamListServicePrincipalsResponse ListServicePrincipalsResponse is the response message for listing the service principals at a given scope.

swagger:model hashicorp.cloud.iam.ListServicePrincipalsResponse

func (*HashicorpCloudIamListServicePrincipalsResponse) ContextValidate added in v0.64.0

ContextValidate validate this hashicorp cloud iam list service principals response based on the context it is used

func (*HashicorpCloudIamListServicePrincipalsResponse) MarshalBinary added in v0.64.0

MarshalBinary interface implementation

func (*HashicorpCloudIamListServicePrincipalsResponse) UnmarshalBinary added in v0.64.0

UnmarshalBinary interface implementation

func (*HashicorpCloudIamListServicePrincipalsResponse) Validate added in v0.64.0

Validate validates this hashicorp cloud iam list service principals response

type HashicorpCloudIamListUserPrincipalsByOrganizationResponse

type HashicorpCloudIamListUserPrincipalsByOrganizationResponse struct {

	// Pagination contains the pagination tokens for a subsequent request.
	Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"`

	// user_principals is a list of user principals.
	UserPrincipals []*HashicorpCloudIamUserPrincipal `json:"user_principals"`
}

HashicorpCloudIamListUserPrincipalsByOrganizationResponse ListUserPrincipalsByOrganizationResponse contains lists of principals for an organization.

swagger:model hashicorp.cloud.iam.ListUserPrincipalsByOrganizationResponse

func (*HashicorpCloudIamListUserPrincipalsByOrganizationResponse) ContextValidate

ContextValidate validate this hashicorp cloud iam list user principals by organization response based on the context it is used

func (*HashicorpCloudIamListUserPrincipalsByOrganizationResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamListUserPrincipalsByOrganizationResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamListUserPrincipalsByOrganizationResponse) Validate

Validate validates this hashicorp cloud iam list user principals by organization response

type HashicorpCloudIamListWorkloadIdentityProviderResponse

type HashicorpCloudIamListWorkloadIdentityProviderResponse struct {

	// pagination contains the pagination tokens for a subsequent request.
	Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"`

	// providers is the list of workload identity provider.
	Providers []*HashicorpCloudIamWorkloadIdentityProvider `json:"providers"`
}

HashicorpCloudIamListWorkloadIdentityProviderResponse ListWorkloadIdentityProviderResponse is the response message to listing workload identity provider.

swagger:model hashicorp.cloud.iam.ListWorkloadIdentityProviderResponse

func (*HashicorpCloudIamListWorkloadIdentityProviderResponse) ContextValidate

ContextValidate validate this hashicorp cloud iam list workload identity provider response based on the context it is used

func (*HashicorpCloudIamListWorkloadIdentityProviderResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamListWorkloadIdentityProviderResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamListWorkloadIdentityProviderResponse) Validate

Validate validates this hashicorp cloud iam list workload identity provider response

type HashicorpCloudIamNewOrganizationInvitation

type HashicorpCloudIamNewOrganizationInvitation struct {

	// invitee_email is the email address of the person who is being
	// invited to join an organization.
	InviteeEmail string `json:"invitee_email,omitempty"`

	// role is the globally unique identifier that corresponds to the "id" column
	// in cloud-resource-manager roles table.
	// For now, this field can only have the values "roles/admin", "roles/viewer",
	// "roles/contributor".
	Role string `json:"role,omitempty"`
}

HashicorpCloudIamNewOrganizationInvitation NewOrganizationInvitation contains the data for the creation of a new organization invitation. It's used as part of the request to create a number of org invitations.

swagger:model hashicorp.cloud.iam.NewOrganizationInvitation

func (*HashicorpCloudIamNewOrganizationInvitation) ContextValidate

ContextValidate validates this hashicorp cloud iam new organization invitation based on context it is used

func (*HashicorpCloudIamNewOrganizationInvitation) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudIamNewOrganizationInvitation) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudIamNewOrganizationInvitation) Validate

Validate validates this hashicorp cloud iam new organization invitation

type HashicorpCloudIamOIDCWorkloadIdentityProviderConfig

type HashicorpCloudIamOIDCWorkloadIdentityProviderConfig struct {

	// allowed_audiences is the set of audiences set on the access token that
	// are allowed to exchange identities. The access token must have an
	// audience that is contained in this set. If no audience is set, the
	// default allowed audience will be the resource name of the
	// WorkloadIdentityProvider.
	AllowedAudiences []string `json:"allowed_audiences"`

	// issuer_uri is the OIDC issuer URI
	IssuerURI string `json:"issuer_uri,omitempty"`
}

HashicorpCloudIamOIDCWorkloadIdentityProviderConfig OIDCWorkloadIdentityProviderConfig configures an OIDC Workload Identity Provider.

swagger:model hashicorp.cloud.iam.OIDCWorkloadIdentityProviderConfig

func (*HashicorpCloudIamOIDCWorkloadIdentityProviderConfig) ContextValidate

ContextValidate validates this hashicorp cloud iam o ID c workload identity provider config based on context it is used

func (*HashicorpCloudIamOIDCWorkloadIdentityProviderConfig) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamOIDCWorkloadIdentityProviderConfig) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamOIDCWorkloadIdentityProviderConfig) Validate

Validate validates this hashicorp cloud iam o ID c workload identity provider config

type HashicorpCloudIamOrganizationInvitation

type HashicorpCloudIamOrganizationInvitation struct {

	// AcceptedAt is when the invitation was accepted, resulting in the invitee
	// being added to the organization. This value can be null, which marks
	// an invitation record as being still pending.
	// Format: date-time
	AcceptedAt strfmt.DateTime `json:"accepted_at,omitempty"`

	// CreatedAt is when the record was inserted, that is when the invitation was
	// created and sent.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Id is the ID of the current invitation
	ID string `json:"id,omitempty"`

	// InviteeEmail is the email address that is used as target of the invitation.
	InviteeEmail string `json:"invitee_email,omitempty"`

	// InviterUserPrincipalId the UUID of the user principal who is inviting
	// another person into the organization.
	InviterUserPrincipalID string `json:"inviter_user_principal_id,omitempty"`

	// OrganizationId is a reference to the organization that this invitation is for.
	OrganizationID string `json:"organization_id,omitempty"`

	// role is the globally unique identifier that corresponds to the "id" column
	// in cloud-resource-manager roles table.
	// For now, this field can only have the values "roles/admin", "roles/viewer",
	// "roles/contributor".
	Role string `json:"role,omitempty"`

	// state is the current state of the organization invitation. For information on what each
	// state means, see the state enum.
	State *HashicorpCloudIamOrganizationInvitationState `json:"state,omitempty"`
}

HashicorpCloudIamOrganizationInvitation OrganizationInvitation represents an organization invitation

swagger:model hashicorp.cloud.iam.OrganizationInvitation

func (*HashicorpCloudIamOrganizationInvitation) ContextValidate

ContextValidate validate this hashicorp cloud iam organization invitation based on the context it is used

func (*HashicorpCloudIamOrganizationInvitation) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudIamOrganizationInvitation) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudIamOrganizationInvitation) Validate

Validate validates this hashicorp cloud iam organization invitation

type HashicorpCloudIamOrganizationInvitationState

type HashicorpCloudIamOrganizationInvitationState string

HashicorpCloudIamOrganizationInvitationState State is one of the states that an organization invitation can be in. The public and private values for State do not map onto each other in a 1-to-1 way.

  • PENDING: PENDING is the state of an organization invitation that has been created successfully but

has not been accepted yet.

  • ACCEPTED: ACCEPTED is the state of an organization invitation that has been accepted.

swagger:model hashicorp.cloud.iam.OrganizationInvitation.State

const (

	// HashicorpCloudIamOrganizationInvitationStatePENDING captures enum value "PENDING"
	HashicorpCloudIamOrganizationInvitationStatePENDING HashicorpCloudIamOrganizationInvitationState = "PENDING"

	// HashicorpCloudIamOrganizationInvitationStateACCEPTED captures enum value "ACCEPTED"
	HashicorpCloudIamOrganizationInvitationStateACCEPTED HashicorpCloudIamOrganizationInvitationState = "ACCEPTED"
)

func (HashicorpCloudIamOrganizationInvitationState) ContextValidate

ContextValidate validates this hashicorp cloud iam organization invitation state based on context it is used

func (HashicorpCloudIamOrganizationInvitationState) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudIamOrganizationInvitationState.

func (HashicorpCloudIamOrganizationInvitationState) Validate

Validate validates this hashicorp cloud iam organization invitation state

type HashicorpCloudIamPingResponse

type HashicorpCloudIamPingResponse interface{}

HashicorpCloudIamPingResponse PingResponse is a response to pinging the HTTP healthcheck endpoint

swagger:model hashicorp.cloud.iam.PingResponse

type HashicorpCloudIamPrincipal added in v0.65.0

type HashicorpCloudIamPrincipal struct {

	// group is a group principal.
	Group *HashicorpCloudIamGroup `json:"group,omitempty"`

	// group_ids is a list of IDs of the HCP groups that this principal is a
	// member of.
	GroupIds []string `json:"group_ids"`

	// id is the identifier for the principal.
	ID string `json:"id,omitempty"`

	// service is a service principal.
	Service *HashicorpCloudIamServicePrincipal `json:"service,omitempty"`

	// type is the type of the principal.
	Type *HashicorpCloudIamPrincipalType `json:"type,omitempty"`

	// user is a user principal.
	User *HashicorpCloudIamUserPrincipal `json:"user,omitempty"`
}

HashicorpCloudIamPrincipal Principal is the common wrapper for our different types of principals.

swagger:model hashicorp.cloud.iam.Principal

func (*HashicorpCloudIamPrincipal) ContextValidate added in v0.65.0

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

ContextValidate validate this hashicorp cloud iam principal based on the context it is used

func (*HashicorpCloudIamPrincipal) MarshalBinary added in v0.65.0

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

MarshalBinary interface implementation

func (*HashicorpCloudIamPrincipal) UnmarshalBinary added in v0.65.0

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

UnmarshalBinary interface implementation

func (*HashicorpCloudIamPrincipal) Validate added in v0.65.0

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

Validate validates this hashicorp cloud iam principal

type HashicorpCloudIamPrincipalType

type HashicorpCloudIamPrincipalType string

HashicorpCloudIamPrincipalType PrincipalType represents the possible types of principals.

  • PRINCIPAL_TYPE_UNSPECIFIED: PRINCIPAL_TYPE_UNSPECIFIED is the default value.
  • PRINCIPAL_TYPE_USER: PRINCIPAL_TYPE_USER is the user principal type.
  • PRINCIPAL_TYPE_SERVICE: PRINCIPAL_TYPE_SERVICE is the service principal type.
  • PRINCIPAL_TYPE_GROUP: PRINCIPAL_TYPE_GROUP is the group principal type.
  • PRINCIPAL_TYPE_INTERNAL_OPERATOR: PRINCIPAL_TYPE_INTERNAL_OPERATOR is the internal operator principal type.

swagger:model hashicorp.cloud.iam.PrincipalType

const (

	// HashicorpCloudIamPrincipalTypePRINCIPALTYPEUNSPECIFIED captures enum value "PRINCIPAL_TYPE_UNSPECIFIED"
	HashicorpCloudIamPrincipalTypePRINCIPALTYPEUNSPECIFIED HashicorpCloudIamPrincipalType = "PRINCIPAL_TYPE_UNSPECIFIED"

	// HashicorpCloudIamPrincipalTypePRINCIPALTYPEUSER captures enum value "PRINCIPAL_TYPE_USER"
	HashicorpCloudIamPrincipalTypePRINCIPALTYPEUSER HashicorpCloudIamPrincipalType = "PRINCIPAL_TYPE_USER"

	// HashicorpCloudIamPrincipalTypePRINCIPALTYPESERVICE captures enum value "PRINCIPAL_TYPE_SERVICE"
	HashicorpCloudIamPrincipalTypePRINCIPALTYPESERVICE HashicorpCloudIamPrincipalType = "PRINCIPAL_TYPE_SERVICE"

	// HashicorpCloudIamPrincipalTypePRINCIPALTYPEGROUP captures enum value "PRINCIPAL_TYPE_GROUP"
	HashicorpCloudIamPrincipalTypePRINCIPALTYPEGROUP HashicorpCloudIamPrincipalType = "PRINCIPAL_TYPE_GROUP"

	// HashicorpCloudIamPrincipalTypePRINCIPALTYPEINTERNALOPERATOR captures enum value "PRINCIPAL_TYPE_INTERNAL_OPERATOR"
	HashicorpCloudIamPrincipalTypePRINCIPALTYPEINTERNALOPERATOR HashicorpCloudIamPrincipalType = "PRINCIPAL_TYPE_INTERNAL_OPERATOR"
)

func (HashicorpCloudIamPrincipalType) ContextValidate

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

ContextValidate validates this hashicorp cloud iam principal type based on context it is used

func (HashicorpCloudIamPrincipalType) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudIamPrincipalType.

func (HashicorpCloudIamPrincipalType) Validate

Validate validates this hashicorp cloud iam principal type

type HashicorpCloudIamPrincipalView added in v0.66.0

type HashicorpCloudIamPrincipalView string

HashicorpCloudIamPrincipalView PrincipalView allows retrieving a partial view of a Principal.

  • PRINCIPAL_VIEW_UNSPECIFIED: The default / unset value.
  • PRINCIPAL_VIEW_BASIC: Include basic metadata about the principal, but not the principal details.

This will return the Id and Type only.

  • PRINCIPAL_VIEW_FULL: Include everything.

swagger:model hashicorp.cloud.iam.PrincipalView

const (

	// HashicorpCloudIamPrincipalViewPRINCIPALVIEWUNSPECIFIED captures enum value "PRINCIPAL_VIEW_UNSPECIFIED"
	HashicorpCloudIamPrincipalViewPRINCIPALVIEWUNSPECIFIED HashicorpCloudIamPrincipalView = "PRINCIPAL_VIEW_UNSPECIFIED"

	// HashicorpCloudIamPrincipalViewPRINCIPALVIEWBASIC captures enum value "PRINCIPAL_VIEW_BASIC"
	HashicorpCloudIamPrincipalViewPRINCIPALVIEWBASIC HashicorpCloudIamPrincipalView = "PRINCIPAL_VIEW_BASIC"

	// HashicorpCloudIamPrincipalViewPRINCIPALVIEWFULL captures enum value "PRINCIPAL_VIEW_FULL"
	HashicorpCloudIamPrincipalViewPRINCIPALVIEWFULL HashicorpCloudIamPrincipalView = "PRINCIPAL_VIEW_FULL"
)

func NewHashicorpCloudIamPrincipalView added in v0.66.0

func NewHashicorpCloudIamPrincipalView(value HashicorpCloudIamPrincipalView) *HashicorpCloudIamPrincipalView

func (HashicorpCloudIamPrincipalView) ContextValidate added in v0.66.0

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

ContextValidate validates this hashicorp cloud iam principal view based on context it is used

func (HashicorpCloudIamPrincipalView) Pointer added in v0.66.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudIamPrincipalView.

func (HashicorpCloudIamPrincipalView) Validate added in v0.66.0

Validate validates this hashicorp cloud iam principal view

type HashicorpCloudIamResetPasswordResponse

type HashicorpCloudIamResetPasswordResponse interface{}

HashicorpCloudIamResetPasswordResponse hashicorp cloud iam reset password response

swagger:model hashicorp.cloud.iam.ResetPasswordResponse

type HashicorpCloudIamSAMLDetails

type HashicorpCloudIamSAMLDetails struct {

	// AssertionConsumerUrl has the Assertion Consumer URL (or Post Back in
	// Auth0 parlance) for the IdP. This is not editable.
	AssertionConsumerURL string `json:"assertion_consumer_url,omitempty"`

	// Certificate holds the signing certificate that will
	// be used to sign all SAML assertions.
	Certificate string `json:"certificate,omitempty"`

	// EmailDomains holds a list of email domains that will be associated with
	// this SAML connection. Users with emails in those domains will be
	// redirected to the SigninUrl above for authentication.
	EmailDomains []string `json:"email_domains"`

	// EntityUrl has the name of the audience the IdP needs to set up on their
	// side. This is not editable.
	EntityID string `json:"entity_id,omitempty"`

	// SigninUrl is the SAML single sign-on URL for the organization
	SigninURL string `json:"signin_url,omitempty"`

	// SignoutUrl is the optional SAML single sign-out URL for
	// the organization. If not present, then we use the
	// signin_url instead.
	SignoutURL string `json:"signout_url,omitempty"`
}

HashicorpCloudIamSAMLDetails hashicorp cloud iam s a m l details

swagger:model hashicorp.cloud.iam.SAMLDetails

func (*HashicorpCloudIamSAMLDetails) ContextValidate

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

ContextValidate validates this hashicorp cloud iam s a m l details based on context it is used

func (*HashicorpCloudIamSAMLDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudIamSAMLDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudIamSAMLDetails) Validate

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

Validate validates this hashicorp cloud iam s a m l details

type HashicorpCloudIamSSOConfig

type HashicorpCloudIamSSOConfig struct {

	// created_ at is the time of creation for the configuration
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// default_role is the default RBAC role that users joining the
	// SSO organization should get.
	DefaultRole string `json:"default_role,omitempty"`

	// SAML holds SAML SSO configuration details.
	Saml *HashicorpCloudIamSAMLDetails `json:"saml,omitempty"`

	// Type is the type of Single Sign-On.
	Type *HashicorpCloudIamSSOType `json:"type,omitempty"`

	// updated_at is the last time that the configuration was modified.
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

HashicorpCloudIamSSOConfig hashicorp cloud iam s s o config

swagger:model hashicorp.cloud.iam.SSOConfig

func (*HashicorpCloudIamSSOConfig) ContextValidate

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

ContextValidate validate this hashicorp cloud iam s s o config based on the context it is used

func (*HashicorpCloudIamSSOConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudIamSSOConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudIamSSOConfig) Validate

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

Validate validates this hashicorp cloud iam s s o config

type HashicorpCloudIamSSOType

type HashicorpCloudIamSSOType string

HashicorpCloudIamSSOType SSOType is the type of SSO.

  • UNSET: UNSET is the default value.

It should never be used at runtime for valid messages.

  • SAML: SAML is a SAML connection.
  • OIDC: OIDC is a OIDC connection stored in cloud-idp.

swagger:model hashicorp.cloud.iam.SSOType

const (

	// HashicorpCloudIamSSOTypeUNSET captures enum value "UNSET"
	HashicorpCloudIamSSOTypeUNSET HashicorpCloudIamSSOType = "UNSET"

	// HashicorpCloudIamSSOTypeSAML captures enum value "SAML"
	HashicorpCloudIamSSOTypeSAML HashicorpCloudIamSSOType = "SAML"

	// HashicorpCloudIamSSOTypeOIDC captures enum value "OIDC"
	HashicorpCloudIamSSOTypeOIDC HashicorpCloudIamSSOType = "OIDC"
)

func (HashicorpCloudIamSSOType) ContextValidate

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

ContextValidate validates this hashicorp cloud iam s s o type based on context it is used

func (HashicorpCloudIamSSOType) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudIamSSOType.

func (HashicorpCloudIamSSOType) Validate

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

Validate validates this hashicorp cloud iam s s o type

type HashicorpCloudIamSearchPrincipalsFilter

type HashicorpCloudIamSearchPrincipalsFilter struct {

	// exclude_members_of_group_names is an optional list of group resource names.
	// If a principal is a member of any of the groups specified, the principal will be excluded
	// from the search results.
	ExcludeMembersOfGroupNames []string `json:"exclude_members_of_group_names"`

	// principal_type_filter is an optional list of principal types. When specified,
	// the search results will only contain principals whose type is included in the
	// filter.
	PrincipalTypes []*HashicorpCloudIamPrincipalType `json:"principal_types"`

	// search_text is the search text which cause the results will be filtered to
	// principals whose name/email contains the text.
	SearchText string `json:"search_text,omitempty"`
}

HashicorpCloudIamSearchPrincipalsFilter SearchPrincipalsFilter contains optional filter fields when making a SearchPrincipalsRequest.

swagger:model hashicorp.cloud.iam.SearchPrincipalsFilter

func (*HashicorpCloudIamSearchPrincipalsFilter) ContextValidate

ContextValidate validate this hashicorp cloud iam search principals filter based on the context it is used

func (*HashicorpCloudIamSearchPrincipalsFilter) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudIamSearchPrincipalsFilter) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudIamSearchPrincipalsFilter) Validate

Validate validates this hashicorp cloud iam search principals filter

type HashicorpCloudIamSearchPrincipalsResponse

type HashicorpCloudIamSearchPrincipalsResponse struct {

	// pagination contains page data.
	Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"`

	// principals is a list of the principals returned from the search.
	Principals []*HashicorpCloudIamSearchPrincipalsResult `json:"principals"`
}

HashicorpCloudIamSearchPrincipalsResponse SearchPrincipalsResponse is the response to the SearchPrincipals rpc.

swagger:model hashicorp.cloud.iam.SearchPrincipalsResponse

func (*HashicorpCloudIamSearchPrincipalsResponse) ContextValidate

ContextValidate validate this hashicorp cloud iam search principals response based on the context it is used

func (*HashicorpCloudIamSearchPrincipalsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudIamSearchPrincipalsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudIamSearchPrincipalsResponse) Validate

Validate validates this hashicorp cloud iam search principals response

type HashicorpCloudIamSearchPrincipalsResult

type HashicorpCloudIamSearchPrincipalsResult struct {

	// email is the email address of the principal.
	Email string `json:"email,omitempty"`

	// id is the ID of the principal.
	ID string `json:"id,omitempty"`

	// name is the name of the principal.
	Name string `json:"name,omitempty"`

	// principal_type is the type of principal (user, service principal, group, etc.).
	PrincipalType *HashicorpCloudIamPrincipalType `json:"principal_type,omitempty"`
}

HashicorpCloudIamSearchPrincipalsResult SearchPrincipalsResult is the result type contained the response of the SearchPrincipals rpc.

swagger:model hashicorp.cloud.iam.SearchPrincipalsResult

func (*HashicorpCloudIamSearchPrincipalsResult) ContextValidate

ContextValidate validate this hashicorp cloud iam search principals result based on the context it is used

func (*HashicorpCloudIamSearchPrincipalsResult) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudIamSearchPrincipalsResult) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudIamSearchPrincipalsResult) Validate

Validate validates this hashicorp cloud iam search principals result

type HashicorpCloudIamSendVerificationEmailResponse

type HashicorpCloudIamSendVerificationEmailResponse interface{}

HashicorpCloudIamSendVerificationEmailResponse SendVerificationEmailRequest is response to SendVerificationEmail rpc and is currently empty

swagger:model hashicorp.cloud.iam.SendVerificationEmailResponse

type HashicorpCloudIamServicePrincipal

type HashicorpCloudIamServicePrincipal struct {

	// created_at is when the service principal was created.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// id is the UUID identifier for this service principal.
	ID string `json:"id,omitempty"`

	// name is the name for this service principal.
	Name string `json:"name,omitempty"`

	// organization_id is the UUID identifier of the HCP organization that this
	// service principal belongs to.
	OrganizationID string `json:"organization_id,omitempty"`

	// project_id is the UUID identifier of the HCP project that this
	// project service principal belongs to.
	ProjectID string `json:"project_id,omitempty"`

	// resource_name is the resource name for this service principal.
	ResourceName string `json:"resource_name,omitempty"`
}

HashicorpCloudIamServicePrincipal ServicePrincipal is the HCP identity for a machine user.

swagger:model hashicorp.cloud.iam.ServicePrincipal

func (*HashicorpCloudIamServicePrincipal) ContextValidate

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

ContextValidate validates this hashicorp cloud iam service principal based on context it is used

func (*HashicorpCloudIamServicePrincipal) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudIamServicePrincipal) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudIamServicePrincipal) Validate

Validate validates this hashicorp cloud iam service principal

type HashicorpCloudIamServicePrincipalKey

type HashicorpCloudIamServicePrincipalKey struct {

	// client_id is the non-secret part of the credential set.
	ClientID string `json:"client_id,omitempty"`

	// created_at is when the Key resource was created.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// resource_name is the resource name for this service principal key.
	ResourceName string `json:"resource_name,omitempty"`

	// state is the state of the key.
	State *HashicorpCloudIamServicePrincipalKeyState `json:"state,omitempty"`
}

HashicorpCloudIamServicePrincipalKey Key is a service principal key used to authenticate a service principal.

swagger:model hashicorp.cloud.iam.ServicePrincipal.Key

func (*HashicorpCloudIamServicePrincipalKey) ContextValidate

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

ContextValidate validate this hashicorp cloud iam service principal key based on the context it is used

func (*HashicorpCloudIamServicePrincipalKey) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudIamServicePrincipalKey) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudIamServicePrincipalKey) Validate

Validate validates this hashicorp cloud iam service principal key

type HashicorpCloudIamServicePrincipalKeyState

type HashicorpCloudIamServicePrincipalKeyState string

HashicorpCloudIamServicePrincipalKeyState State is the state of the key.

  • UNSET: UNSET is the default value.

Should never be used at runtime for valid messages.

  • CREATING: CREATING is a key that's just been inserted in the DB, and its

authN credentials are still being prepared. Will transition to ACTIVE on success.

  • ACTIVE: ACTIVE is a key that's been properly created and is ready to use.
  • DELETING: DELETING is a key that it's being deleted. It will be fully deleted

once its authN credentials will have been deleted from Auth0.

swagger:model hashicorp.cloud.iam.ServicePrincipal.Key.State

const (

	// HashicorpCloudIamServicePrincipalKeyStateUNSET captures enum value "UNSET"
	HashicorpCloudIamServicePrincipalKeyStateUNSET HashicorpCloudIamServicePrincipalKeyState = "UNSET"

	// HashicorpCloudIamServicePrincipalKeyStateCREATING captures enum value "CREATING"
	HashicorpCloudIamServicePrincipalKeyStateCREATING HashicorpCloudIamServicePrincipalKeyState = "CREATING"

	// HashicorpCloudIamServicePrincipalKeyStateACTIVE captures enum value "ACTIVE"
	HashicorpCloudIamServicePrincipalKeyStateACTIVE HashicorpCloudIamServicePrincipalKeyState = "ACTIVE"

	// HashicorpCloudIamServicePrincipalKeyStateDELETING captures enum value "DELETING"
	HashicorpCloudIamServicePrincipalKeyStateDELETING HashicorpCloudIamServicePrincipalKeyState = "DELETING"
)

func (HashicorpCloudIamServicePrincipalKeyState) ContextValidate

ContextValidate validates this hashicorp cloud iam service principal key state based on context it is used

func (HashicorpCloudIamServicePrincipalKeyState) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudIamServicePrincipalKeyState.

func (HashicorpCloudIamServicePrincipalKeyState) Validate

Validate validates this hashicorp cloud iam service principal key state

type HashicorpCloudIamUpdateSSOConfigurationResponse

type HashicorpCloudIamUpdateSSOConfigurationResponse interface{}

HashicorpCloudIamUpdateSSOConfigurationResponse hashicorp cloud iam update s s o configuration response

swagger:model hashicorp.cloud.iam.UpdateSSOConfigurationResponse

type HashicorpCloudIamUpdateWebConsolePreferencesRequest

type HashicorpCloudIamUpdateWebConsolePreferencesRequest struct {

	// web_portal_preferences contains the user principal's updated web portal preferences
	WebPortalPreferences HashicorpCloudIamWebConsolePreferences `json:"web_portal_preferences,omitempty"`
}

HashicorpCloudIamUpdateWebConsolePreferencesRequest UpdateWebConsolePreferencesRequest is the request to update a user principal's web portal preferences on the IAM service.

swagger:model hashicorp.cloud.iam.UpdateWebConsolePreferencesRequest

func (*HashicorpCloudIamUpdateWebConsolePreferencesRequest) ContextValidate

ContextValidate validates this hashicorp cloud iam update web console preferences request based on context it is used

func (*HashicorpCloudIamUpdateWebConsolePreferencesRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamUpdateWebConsolePreferencesRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamUpdateWebConsolePreferencesRequest) Validate

Validate validates this hashicorp cloud iam update web console preferences request

type HashicorpCloudIamUpdateWebConsolePreferencesResponse

type HashicorpCloudIamUpdateWebConsolePreferencesResponse struct {

	// web_portal_preferences are the user preferences for the HCP Web Portal
	WebPortalPreferences HashicorpCloudIamWebConsolePreferences `json:"web_portal_preferences,omitempty"`
}

HashicorpCloudIamUpdateWebConsolePreferencesResponse UpdateWebConsolePreferencesRequest is the request to update a user principal's web portal preferences on the IAM service.

swagger:model hashicorp.cloud.iam.UpdateWebConsolePreferencesResponse

func (*HashicorpCloudIamUpdateWebConsolePreferencesResponse) ContextValidate

ContextValidate validates this hashicorp cloud iam update web console preferences response based on context it is used

func (*HashicorpCloudIamUpdateWebConsolePreferencesResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamUpdateWebConsolePreferencesResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamUpdateWebConsolePreferencesResponse) Validate

Validate validates this hashicorp cloud iam update web console preferences response

type HashicorpCloudIamUpdateWorkloadIdentityProviderResponse

type HashicorpCloudIamUpdateWorkloadIdentityProviderResponse struct {

	// provider is the updated workload identity provider.
	Provider *HashicorpCloudIamWorkloadIdentityProvider `json:"provider,omitempty"`
}

HashicorpCloudIamUpdateWorkloadIdentityProviderResponse UpdateWorkloadIdentityProviderResponse is the response message when updating a workload identity provider.

swagger:model hashicorp.cloud.iam.UpdateWorkloadIdentityProviderResponse

func (*HashicorpCloudIamUpdateWorkloadIdentityProviderResponse) ContextValidate

ContextValidate validate this hashicorp cloud iam update workload identity provider response based on the context it is used

func (*HashicorpCloudIamUpdateWorkloadIdentityProviderResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamUpdateWorkloadIdentityProviderResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamUpdateWorkloadIdentityProviderResponse) Validate

Validate validates this hashicorp cloud iam update workload identity provider response

type HashicorpCloudIamUserPrincipal

type HashicorpCloudIamUserPrincipal struct {

	// email is the unique email address of this user.
	Email string `json:"email,omitempty"`

	// full_name is the name of the user, as provided by Auth0.
	FullName string `json:"full_name,omitempty"`

	// id is the UUID public identifier for a user principal. It is safe
	// to share this value with external users, and it should be how user principals
	// are commonly identified also within our platform.
	ID string `json:"id,omitempty"`

	// identity_type is the identity type for this user.
	IdentityType *HashicorpCloudIamUserPrincipalIdentityType `json:"identity_type,omitempty"`

	// identity_types is an array of the identity types for this user.
	IdentityTypes []*HashicorpCloudIamUserPrincipalIdentityType `json:"identity_types"`

	// scim_synchronized denotes the user principal was synchronized from a
	// customer's IdP using SCIM.
	ScimSynchronized bool `json:"scim_synchronized,omitempty"`

	// subject is the user ID from the authenticating IDP (e.g. Hydra).
	Subject string `json:"subject,omitempty"`

	// tfc_synchronized_at denotes the timestamp of when the user was synced to TFC when applicable.
	// Format: date-time
	TfcSynchronizedAt *strfmt.DateTime `json:"tfc_synchronized_at,omitempty"`
}

HashicorpCloudIamUserPrincipal UserPrincipal represents a human user of our platform.

swagger:model hashicorp.cloud.iam.UserPrincipal

func (*HashicorpCloudIamUserPrincipal) ContextValidate

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

ContextValidate validate this hashicorp cloud iam user principal based on the context it is used

func (*HashicorpCloudIamUserPrincipal) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudIamUserPrincipal) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudIamUserPrincipal) Validate

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

Validate validates this hashicorp cloud iam user principal

type HashicorpCloudIamUserPrincipalIdentityType

type HashicorpCloudIamUserPrincipalIdentityType string

HashicorpCloudIamUserPrincipalIdentityType IdentityType contains the identity types for users.

  • UNSET: UNSET is the default value, should not be used.
  • SOCIAL_GITHUB: SOCIAL_GITHUB is the GitHub Social login provider.
  • EMAIL_PASSWORD: EMAIL_PASSWORD is the auth0 email/password database provider.
  • SAMLP: SAMLP is the auth0 SAML provider.
  • HASHICORP_SSO: HASHICORP_SSO is the HashiCorp SSO provider.

swagger:model hashicorp.cloud.iam.UserPrincipal.IdentityType

const (

	// HashicorpCloudIamUserPrincipalIdentityTypeUNSET captures enum value "UNSET"
	HashicorpCloudIamUserPrincipalIdentityTypeUNSET HashicorpCloudIamUserPrincipalIdentityType = "UNSET"

	// HashicorpCloudIamUserPrincipalIdentityTypeSOCIALGITHUB captures enum value "SOCIAL_GITHUB"
	HashicorpCloudIamUserPrincipalIdentityTypeSOCIALGITHUB HashicorpCloudIamUserPrincipalIdentityType = "SOCIAL_GITHUB"

	// HashicorpCloudIamUserPrincipalIdentityTypeEMAILPASSWORD captures enum value "EMAIL_PASSWORD"
	HashicorpCloudIamUserPrincipalIdentityTypeEMAILPASSWORD HashicorpCloudIamUserPrincipalIdentityType = "EMAIL_PASSWORD"

	// HashicorpCloudIamUserPrincipalIdentityTypeSAMLP captures enum value "SAMLP"
	HashicorpCloudIamUserPrincipalIdentityTypeSAMLP HashicorpCloudIamUserPrincipalIdentityType = "SAMLP"

	// HashicorpCloudIamUserPrincipalIdentityTypeHASHICORPSSO captures enum value "HASHICORP_SSO"
	HashicorpCloudIamUserPrincipalIdentityTypeHASHICORPSSO HashicorpCloudIamUserPrincipalIdentityType = "HASHICORP_SSO"
)

func (HashicorpCloudIamUserPrincipalIdentityType) ContextValidate

ContextValidate validates this hashicorp cloud iam user principal identity type based on context it is used

func (HashicorpCloudIamUserPrincipalIdentityType) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudIamUserPrincipalIdentityType.

func (HashicorpCloudIamUserPrincipalIdentityType) Validate

Validate validates this hashicorp cloud iam user principal identity type

type HashicorpCloudIamUserPrincipalResponse

type HashicorpCloudIamUserPrincipalResponse struct {

	// user_principal is a user principal.
	UserPrincipal *HashicorpCloudIamUserPrincipal `json:"user_principal,omitempty"`
}

HashicorpCloudIamUserPrincipalResponse UserPrincipalResponse contains the user data.

swagger:model hashicorp.cloud.iam.UserPrincipalResponse

func (*HashicorpCloudIamUserPrincipalResponse) ContextValidate

ContextValidate validate this hashicorp cloud iam user principal response based on the context it is used

func (*HashicorpCloudIamUserPrincipalResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudIamUserPrincipalResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudIamUserPrincipalResponse) Validate

Validate validates this hashicorp cloud iam user principal response

type HashicorpCloudIamVerifyDomainOwnershipResponse

type HashicorpCloudIamVerifyDomainOwnershipResponse struct {

	// domain is the domain for which the ownership has been verified.
	Domain string `json:"domain,omitempty"`

	// reason
	Reason *HashicorpCloudIamVerifyDomainOwnershipResponseReasonDomainOwnershipUnverified `json:"reason,omitempty"`

	// verified indicates whether or not an organization's ownership/control of
	// a domain has been verified.
	Verified bool `json:"verified,omitempty"`
}

HashicorpCloudIamVerifyDomainOwnershipResponse VerifyDomainOwnershipResponse is the response containing whether an organization's ownership/control of a domain has been verified.

swagger:model hashicorp.cloud.iam.VerifyDomainOwnershipResponse

func (*HashicorpCloudIamVerifyDomainOwnershipResponse) ContextValidate

ContextValidate validate this hashicorp cloud iam verify domain ownership response based on the context it is used

func (*HashicorpCloudIamVerifyDomainOwnershipResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudIamVerifyDomainOwnershipResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudIamVerifyDomainOwnershipResponse) Validate

Validate validates this hashicorp cloud iam verify domain ownership response

type HashicorpCloudIamVerifyDomainOwnershipResponseReasonDomainOwnershipUnverified

type HashicorpCloudIamVerifyDomainOwnershipResponseReasonDomainOwnershipUnverified string

HashicorpCloudIamVerifyDomainOwnershipResponseReasonDomainOwnershipUnverified ReasonDomainOwnershipUnverified is the reason a request to verify an organizations's ownership/control of a domain failed.

  • UNSET: NOT_PROVIDED is the default value.

It should never be used when a verification failed.

  • NO_TXT_RECORD: NO_TXT_RECORD is the reason a verification failed

when a domain does not contain proof of ownership.

  • NO_SUCH_HOST: NO_SUCH_HOST is the reason a verification failed when the

given domain does not exist.

  • ALREADY_IN_USE: ALREADY_IN_USE is the reason a verfication failed when the

given domain is already in use by another organization.

swagger:model hashicorp.cloud.iam.VerifyDomainOwnershipResponse.ReasonDomainOwnershipUnverified

const (

	// HashicorpCloudIamVerifyDomainOwnershipResponseReasonDomainOwnershipUnverifiedUNSET captures enum value "UNSET"
	HashicorpCloudIamVerifyDomainOwnershipResponseReasonDomainOwnershipUnverifiedUNSET HashicorpCloudIamVerifyDomainOwnershipResponseReasonDomainOwnershipUnverified = "UNSET"

	// HashicorpCloudIamVerifyDomainOwnershipResponseReasonDomainOwnershipUnverifiedNOTXTRECORD captures enum value "NO_TXT_RECORD"
	HashicorpCloudIamVerifyDomainOwnershipResponseReasonDomainOwnershipUnverifiedNOTXTRECORD HashicorpCloudIamVerifyDomainOwnershipResponseReasonDomainOwnershipUnverified = "NO_TXT_RECORD"

	// HashicorpCloudIamVerifyDomainOwnershipResponseReasonDomainOwnershipUnverifiedNOSUCHHOST captures enum value "NO_SUCH_HOST"
	HashicorpCloudIamVerifyDomainOwnershipResponseReasonDomainOwnershipUnverifiedNOSUCHHOST HashicorpCloudIamVerifyDomainOwnershipResponseReasonDomainOwnershipUnverified = "NO_SUCH_HOST"

	// HashicorpCloudIamVerifyDomainOwnershipResponseReasonDomainOwnershipUnverifiedALREADYINUSE captures enum value "ALREADY_IN_USE"
	HashicorpCloudIamVerifyDomainOwnershipResponseReasonDomainOwnershipUnverifiedALREADYINUSE HashicorpCloudIamVerifyDomainOwnershipResponseReasonDomainOwnershipUnverified = "ALREADY_IN_USE"
)

func (HashicorpCloudIamVerifyDomainOwnershipResponseReasonDomainOwnershipUnverified) ContextValidate

ContextValidate validates this hashicorp cloud iam verify domain ownership response reason domain ownership unverified based on context it is used

func (HashicorpCloudIamVerifyDomainOwnershipResponseReasonDomainOwnershipUnverified) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudIamVerifyDomainOwnershipResponseReasonDomainOwnershipUnverified.

func (HashicorpCloudIamVerifyDomainOwnershipResponseReasonDomainOwnershipUnverified) Validate

Validate validates this hashicorp cloud iam verify domain ownership response reason domain ownership unverified

type HashicorpCloudIamWebConsolePreferences

type HashicorpCloudIamWebConsolePreferences interface{}

HashicorpCloudIamWebConsolePreferences WebConsolePreferences represents the user preferences for the web portal (fka web console).

swagger:model hashicorp.cloud.iam.WebConsolePreferences

type HashicorpCloudIamWorkloadIdentityProvider

type HashicorpCloudIamWorkloadIdentityProvider struct {

	// aws config
	AwsConfig *HashicorpCloudIamAWSWorkloadIdentityProviderConfig `json:"aws_config,omitempty"`

	// conditional_access is a go-bexpr string that is evaluated when exchanging
	// tokens. It restricts which upstream identities are allowed to access the
	// service principal.
	ConditionalAccess string `json:"conditional_access,omitempty"`

	// created_at is when the workload identity provider was created.
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"created_at,omitempty"`

	// description is an optional description for the workload identity provider.
	Description string `json:"description,omitempty"`

	// oidc config
	OidcConfig *HashicorpCloudIamOIDCWorkloadIdentityProviderConfig `json:"oidc_config,omitempty"`

	// resource_id is the resource identifier for this workload identity
	// provider.
	ResourceID string `json:"resource_id,omitempty"`

	// resource_name is the resource name for this workload identity
	// provider.
	ResourceName string `json:"resource_name,omitempty"`

	// system_managed indicates that the provider is not editable or deletable
	// by the user.
	SystemManaged bool `json:"system_managed,omitempty"`

	// updated_at is when the workload identity provider was last updated.
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updated_at,omitempty"`
}

HashicorpCloudIamWorkloadIdentityProvider WorkloadIdentityProvider is an identity provider that federates identity to a service principal.

swagger:model hashicorp.cloud.iam.WorkloadIdentityProvider

func (*HashicorpCloudIamWorkloadIdentityProvider) ContextValidate

ContextValidate validate this hashicorp cloud iam workload identity provider based on the context it is used

func (*HashicorpCloudIamWorkloadIdentityProvider) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudIamWorkloadIdentityProvider) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudIamWorkloadIdentityProvider) Validate

Validate validates this hashicorp cloud iam workload identity provider

Source Files

Jump to

Keyboard shortcuts

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