Documentation ¶
Index ¶
- Constants
- type AccessKey
- type AccessKeyLastUsage
- type AccessKeyType
- type Account
- type AddMachineUserToGroupRequest
- func (m *AddMachineUserToGroupRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AddMachineUserToGroupRequest) MarshalBinary() ([]byte, error)
- func (m *AddMachineUserToGroupRequest) UnmarshalBinary(b []byte) error
- func (m *AddMachineUserToGroupRequest) Validate(formats strfmt.Registry) error
- type AddMachineUserToGroupResponse
- type AddSSHPublicKeyRequest
- func (m *AddSSHPublicKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AddSSHPublicKeyRequest) MarshalBinary() ([]byte, error)
- func (m *AddSSHPublicKeyRequest) UnmarshalBinary(b []byte) error
- func (m *AddSSHPublicKeyRequest) Validate(formats strfmt.Registry) error
- type AddSSHPublicKeyResponse
- func (m *AddSSHPublicKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AddSSHPublicKeyResponse) MarshalBinary() ([]byte, error)
- func (m *AddSSHPublicKeyResponse) UnmarshalBinary(b []byte) error
- func (m *AddSSHPublicKeyResponse) Validate(formats strfmt.Registry) error
- type AddUserToGroupRequest
- type AddUserToGroupResponse
- type AssignAzureCloudIdentityRequest
- func (m *AssignAzureCloudIdentityRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AssignAzureCloudIdentityRequest) MarshalBinary() ([]byte, error)
- func (m *AssignAzureCloudIdentityRequest) UnmarshalBinary(b []byte) error
- func (m *AssignAzureCloudIdentityRequest) Validate(formats strfmt.Registry) error
- type AssignAzureCloudIdentityResponse
- type AssignGroupResourceRoleRequest
- func (m *AssignGroupResourceRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AssignGroupResourceRoleRequest) MarshalBinary() ([]byte, error)
- func (m *AssignGroupResourceRoleRequest) UnmarshalBinary(b []byte) error
- func (m *AssignGroupResourceRoleRequest) Validate(formats strfmt.Registry) error
- type AssignGroupResourceRoleResponse
- type AssignGroupRoleRequest
- func (m *AssignGroupRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AssignGroupRoleRequest) MarshalBinary() ([]byte, error)
- func (m *AssignGroupRoleRequest) UnmarshalBinary(b []byte) error
- func (m *AssignGroupRoleRequest) Validate(formats strfmt.Registry) error
- type AssignGroupRoleResponse
- type AssignMachineUserResourceRoleRequest
- func (m *AssignMachineUserResourceRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AssignMachineUserResourceRoleRequest) MarshalBinary() ([]byte, error)
- func (m *AssignMachineUserResourceRoleRequest) UnmarshalBinary(b []byte) error
- func (m *AssignMachineUserResourceRoleRequest) Validate(formats strfmt.Registry) error
- type AssignMachineUserResourceRoleResponse
- type AssignMachineUserRoleRequest
- func (m *AssignMachineUserRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AssignMachineUserRoleRequest) MarshalBinary() ([]byte, error)
- func (m *AssignMachineUserRoleRequest) UnmarshalBinary(b []byte) error
- func (m *AssignMachineUserRoleRequest) Validate(formats strfmt.Registry) error
- type AssignMachineUserRoleResponse
- type AssignServicePrincipalAzureCloudIdentityRequest
- func (m *AssignServicePrincipalAzureCloudIdentityRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AssignServicePrincipalAzureCloudIdentityRequest) MarshalBinary() ([]byte, error)
- func (m *AssignServicePrincipalAzureCloudIdentityRequest) UnmarshalBinary(b []byte) error
- func (m *AssignServicePrincipalAzureCloudIdentityRequest) Validate(formats strfmt.Registry) error
- type AssignServicePrincipalAzureCloudIdentityResponse
- type AssignUserResourceRoleRequest
- func (m *AssignUserResourceRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AssignUserResourceRoleRequest) MarshalBinary() ([]byte, error)
- func (m *AssignUserResourceRoleRequest) UnmarshalBinary(b []byte) error
- func (m *AssignUserResourceRoleRequest) Validate(formats strfmt.Registry) error
- type AssignUserResourceRoleResponse
- type AssignUserRoleRequest
- type AssignUserRoleResponse
- type AuthenticationPolicy
- type AzureCloudIdentity
- type CreateGroupRequest
- type CreateGroupResponse
- type CreateMachineUserAccessKeyRequest
- func (m *CreateMachineUserAccessKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateMachineUserAccessKeyRequest) MarshalBinary() ([]byte, error)
- func (m *CreateMachineUserAccessKeyRequest) UnmarshalBinary(b []byte) error
- func (m *CreateMachineUserAccessKeyRequest) Validate(formats strfmt.Registry) error
- type CreateMachineUserAccessKeyResponse
- func (m *CreateMachineUserAccessKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateMachineUserAccessKeyResponse) MarshalBinary() ([]byte, error)
- func (m *CreateMachineUserAccessKeyResponse) UnmarshalBinary(b []byte) error
- func (m *CreateMachineUserAccessKeyResponse) Validate(formats strfmt.Registry) error
- type CreateMachineUserRequest
- func (m *CreateMachineUserRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateMachineUserRequest) MarshalBinary() ([]byte, error)
- func (m *CreateMachineUserRequest) UnmarshalBinary(b []byte) error
- func (m *CreateMachineUserRequest) Validate(formats strfmt.Registry) error
- type CreateMachineUserResponse
- func (m *CreateMachineUserResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateMachineUserResponse) MarshalBinary() ([]byte, error)
- func (m *CreateMachineUserResponse) UnmarshalBinary(b []byte) error
- func (m *CreateMachineUserResponse) Validate(formats strfmt.Registry) error
- type CreateSamlProviderRequest
- func (m *CreateSamlProviderRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateSamlProviderRequest) MarshalBinary() ([]byte, error)
- func (m *CreateSamlProviderRequest) UnmarshalBinary(b []byte) error
- func (m *CreateSamlProviderRequest) Validate(formats strfmt.Registry) error
- type CreateSamlProviderResponse
- func (m *CreateSamlProviderResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateSamlProviderResponse) MarshalBinary() ([]byte, error)
- func (m *CreateSamlProviderResponse) UnmarshalBinary(b []byte) error
- func (m *CreateSamlProviderResponse) Validate(formats strfmt.Registry) error
- type CreateScimAccessTokenRequest
- func (m *CreateScimAccessTokenRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateScimAccessTokenRequest) MarshalBinary() ([]byte, error)
- func (m *CreateScimAccessTokenRequest) UnmarshalBinary(b []byte) error
- func (m *CreateScimAccessTokenRequest) Validate(formats strfmt.Registry) error
- type CreateScimAccessTokenResponse
- func (m *CreateScimAccessTokenResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateScimAccessTokenResponse) MarshalBinary() ([]byte, error)
- func (m *CreateScimAccessTokenResponse) UnmarshalBinary(b []byte) error
- func (m *CreateScimAccessTokenResponse) Validate(formats strfmt.Registry) error
- type CreateUserAccessKeyRequest
- func (m *CreateUserAccessKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateUserAccessKeyRequest) MarshalBinary() ([]byte, error)
- func (m *CreateUserAccessKeyRequest) UnmarshalBinary(b []byte) error
- func (m *CreateUserAccessKeyRequest) Validate(formats strfmt.Registry) error
- type CreateUserAccessKeyResponse
- func (m *CreateUserAccessKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateUserAccessKeyResponse) MarshalBinary() ([]byte, error)
- func (m *CreateUserAccessKeyResponse) UnmarshalBinary(b []byte) error
- func (m *CreateUserAccessKeyResponse) Validate(formats strfmt.Registry) error
- type CreateUserRequest
- type CreateUserResponse
- type DeleteAccessKeyRequest
- func (m *DeleteAccessKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DeleteAccessKeyRequest) MarshalBinary() ([]byte, error)
- func (m *DeleteAccessKeyRequest) UnmarshalBinary(b []byte) error
- func (m *DeleteAccessKeyRequest) Validate(formats strfmt.Registry) error
- type DeleteAccessKeyResponse
- type DeleteGroupRequest
- type DeleteGroupResponse
- type DeleteMachineUserRequest
- func (m *DeleteMachineUserRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DeleteMachineUserRequest) MarshalBinary() ([]byte, error)
- func (m *DeleteMachineUserRequest) UnmarshalBinary(b []byte) error
- func (m *DeleteMachineUserRequest) Validate(formats strfmt.Registry) error
- type DeleteMachineUserResponse
- func (m *DeleteMachineUserResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DeleteMachineUserResponse) MarshalBinary() ([]byte, error)
- func (m *DeleteMachineUserResponse) UnmarshalBinary(b []byte) error
- func (m *DeleteMachineUserResponse) Validate(formats strfmt.Registry) error
- type DeleteSSHPublicKeyRequest
- func (m *DeleteSSHPublicKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DeleteSSHPublicKeyRequest) MarshalBinary() ([]byte, error)
- func (m *DeleteSSHPublicKeyRequest) UnmarshalBinary(b []byte) error
- func (m *DeleteSSHPublicKeyRequest) Validate(formats strfmt.Registry) error
- type DeleteSSHPublicKeyResponse
- type DeleteSamlProviderRequest
- func (m *DeleteSamlProviderRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DeleteSamlProviderRequest) MarshalBinary() ([]byte, error)
- func (m *DeleteSamlProviderRequest) UnmarshalBinary(b []byte) error
- func (m *DeleteSamlProviderRequest) Validate(formats strfmt.Registry) error
- type DeleteSamlProviderResponse
- type DeleteScimAccessTokenRequest
- func (m *DeleteScimAccessTokenRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DeleteScimAccessTokenRequest) MarshalBinary() ([]byte, error)
- func (m *DeleteScimAccessTokenRequest) UnmarshalBinary(b []byte) error
- func (m *DeleteScimAccessTokenRequest) Validate(formats strfmt.Registry) error
- type DeleteScimAccessTokenResponse
- type DeleteUserRequest
- type DeleteUserResponse
- type DescribeSSHPublicKeyRequest
- func (m *DescribeSSHPublicKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DescribeSSHPublicKeyRequest) MarshalBinary() ([]byte, error)
- func (m *DescribeSSHPublicKeyRequest) UnmarshalBinary(b []byte) error
- func (m *DescribeSSHPublicKeyRequest) Validate(formats strfmt.Registry) error
- type DescribeSSHPublicKeyResponse
- func (m *DescribeSSHPublicKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DescribeSSHPublicKeyResponse) MarshalBinary() ([]byte, error)
- func (m *DescribeSSHPublicKeyResponse) UnmarshalBinary(b []byte) error
- func (m *DescribeSSHPublicKeyResponse) Validate(formats strfmt.Registry) error
- type DescribeSamlProviderRequest
- func (m *DescribeSamlProviderRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DescribeSamlProviderRequest) MarshalBinary() ([]byte, error)
- func (m *DescribeSamlProviderRequest) UnmarshalBinary(b []byte) error
- func (m *DescribeSamlProviderRequest) Validate(formats strfmt.Registry) error
- type DescribeSamlProviderResponse
- func (m *DescribeSamlProviderResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DescribeSamlProviderResponse) MarshalBinary() ([]byte, error)
- func (m *DescribeSamlProviderResponse) UnmarshalBinary(b []byte) error
- func (m *DescribeSamlProviderResponse) Validate(formats strfmt.Registry) error
- type DisableClouderaSSOLoginRequest
- type DisableClouderaSSOLoginResponse
- type EnableClouderaSSOLoginRequest
- type EnableClouderaSSOLoginResponse
- type Error
- type GenerateWorkloadAuthTokenRequest
- func (m *GenerateWorkloadAuthTokenRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GenerateWorkloadAuthTokenRequest) MarshalBinary() ([]byte, error)
- func (m *GenerateWorkloadAuthTokenRequest) UnmarshalBinary(b []byte) error
- func (m *GenerateWorkloadAuthTokenRequest) Validate(formats strfmt.Registry) error
- type GenerateWorkloadAuthTokenResponse
- func (m *GenerateWorkloadAuthTokenResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GenerateWorkloadAuthTokenResponse) MarshalBinary() ([]byte, error)
- func (m *GenerateWorkloadAuthTokenResponse) UnmarshalBinary(b []byte) error
- func (m *GenerateWorkloadAuthTokenResponse) Validate(formats strfmt.Registry) error
- type GetAccessKeyRequest
- type GetAccessKeyResponse
- type GetAccountMessagesRequest
- type GetAccountMessagesResponse
- func (m *GetAccountMessagesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetAccountMessagesResponse) MarshalBinary() ([]byte, error)
- func (m *GetAccountMessagesResponse) UnmarshalBinary(b []byte) error
- func (m *GetAccountMessagesResponse) Validate(formats strfmt.Registry) error
- type GetAccountRequest
- type GetAccountResponse
- type GetDefaultIdentityProviderRequest
- type GetDefaultIdentityProviderResponse
- func (m *GetDefaultIdentityProviderResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetDefaultIdentityProviderResponse) MarshalBinary() ([]byte, error)
- func (m *GetDefaultIdentityProviderResponse) UnmarshalBinary(b []byte) error
- func (m *GetDefaultIdentityProviderResponse) Validate(formats strfmt.Registry) error
- type GetUserRequest
- type GetUserResponse
- type Group
- type ListAccessKeysRequest
- type ListAccessKeysResponse
- func (m *ListAccessKeysResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListAccessKeysResponse) MarshalBinary() ([]byte, error)
- func (m *ListAccessKeysResponse) UnmarshalBinary(b []byte) error
- func (m *ListAccessKeysResponse) Validate(formats strfmt.Registry) error
- type ListGroupAssignedResourceRolesRequest
- func (m *ListGroupAssignedResourceRolesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListGroupAssignedResourceRolesRequest) MarshalBinary() ([]byte, error)
- func (m *ListGroupAssignedResourceRolesRequest) UnmarshalBinary(b []byte) error
- func (m *ListGroupAssignedResourceRolesRequest) Validate(formats strfmt.Registry) error
- type ListGroupAssignedResourceRolesResponse
- func (m *ListGroupAssignedResourceRolesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListGroupAssignedResourceRolesResponse) MarshalBinary() ([]byte, error)
- func (m *ListGroupAssignedResourceRolesResponse) UnmarshalBinary(b []byte) error
- func (m *ListGroupAssignedResourceRolesResponse) Validate(formats strfmt.Registry) error
- type ListGroupAssignedRolesRequest
- func (m *ListGroupAssignedRolesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListGroupAssignedRolesRequest) MarshalBinary() ([]byte, error)
- func (m *ListGroupAssignedRolesRequest) UnmarshalBinary(b []byte) error
- func (m *ListGroupAssignedRolesRequest) Validate(formats strfmt.Registry) error
- type ListGroupAssignedRolesResponse
- func (m *ListGroupAssignedRolesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListGroupAssignedRolesResponse) MarshalBinary() ([]byte, error)
- func (m *ListGroupAssignedRolesResponse) UnmarshalBinary(b []byte) error
- func (m *ListGroupAssignedRolesResponse) Validate(formats strfmt.Registry) error
- type ListGroupMembersRequest
- func (m *ListGroupMembersRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListGroupMembersRequest) MarshalBinary() ([]byte, error)
- func (m *ListGroupMembersRequest) UnmarshalBinary(b []byte) error
- func (m *ListGroupMembersRequest) Validate(formats strfmt.Registry) error
- type ListGroupMembersResponse
- func (m *ListGroupMembersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListGroupMembersResponse) MarshalBinary() ([]byte, error)
- func (m *ListGroupMembersResponse) UnmarshalBinary(b []byte) error
- func (m *ListGroupMembersResponse) Validate(formats strfmt.Registry) error
- type ListGroupsForMachineUserRequest
- func (m *ListGroupsForMachineUserRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListGroupsForMachineUserRequest) MarshalBinary() ([]byte, error)
- func (m *ListGroupsForMachineUserRequest) UnmarshalBinary(b []byte) error
- func (m *ListGroupsForMachineUserRequest) Validate(formats strfmt.Registry) error
- type ListGroupsForMachineUserResponse
- func (m *ListGroupsForMachineUserResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListGroupsForMachineUserResponse) MarshalBinary() ([]byte, error)
- func (m *ListGroupsForMachineUserResponse) UnmarshalBinary(b []byte) error
- func (m *ListGroupsForMachineUserResponse) Validate(formats strfmt.Registry) error
- type ListGroupsForUserRequest
- func (m *ListGroupsForUserRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListGroupsForUserRequest) MarshalBinary() ([]byte, error)
- func (m *ListGroupsForUserRequest) UnmarshalBinary(b []byte) error
- func (m *ListGroupsForUserRequest) Validate(formats strfmt.Registry) error
- type ListGroupsForUserResponse
- func (m *ListGroupsForUserResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListGroupsForUserResponse) MarshalBinary() ([]byte, error)
- func (m *ListGroupsForUserResponse) UnmarshalBinary(b []byte) error
- func (m *ListGroupsForUserResponse) Validate(formats strfmt.Registry) error
- type ListGroupsRequest
- type ListGroupsResponse
- type ListMachineUserAssignedResourceRolesRequest
- func (m *ListMachineUserAssignedResourceRolesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListMachineUserAssignedResourceRolesRequest) MarshalBinary() ([]byte, error)
- func (m *ListMachineUserAssignedResourceRolesRequest) UnmarshalBinary(b []byte) error
- func (m *ListMachineUserAssignedResourceRolesRequest) Validate(formats strfmt.Registry) error
- type ListMachineUserAssignedResourceRolesResponse
- func (m *ListMachineUserAssignedResourceRolesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListMachineUserAssignedResourceRolesResponse) MarshalBinary() ([]byte, error)
- func (m *ListMachineUserAssignedResourceRolesResponse) UnmarshalBinary(b []byte) error
- func (m *ListMachineUserAssignedResourceRolesResponse) Validate(formats strfmt.Registry) error
- type ListMachineUserAssignedRolesRequest
- func (m *ListMachineUserAssignedRolesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListMachineUserAssignedRolesRequest) MarshalBinary() ([]byte, error)
- func (m *ListMachineUserAssignedRolesRequest) UnmarshalBinary(b []byte) error
- func (m *ListMachineUserAssignedRolesRequest) Validate(formats strfmt.Registry) error
- type ListMachineUserAssignedRolesResponse
- func (m *ListMachineUserAssignedRolesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListMachineUserAssignedRolesResponse) MarshalBinary() ([]byte, error)
- func (m *ListMachineUserAssignedRolesResponse) UnmarshalBinary(b []byte) error
- func (m *ListMachineUserAssignedRolesResponse) Validate(formats strfmt.Registry) error
- type ListMachineUsersRequest
- func (m *ListMachineUsersRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListMachineUsersRequest) MarshalBinary() ([]byte, error)
- func (m *ListMachineUsersRequest) UnmarshalBinary(b []byte) error
- func (m *ListMachineUsersRequest) Validate(formats strfmt.Registry) error
- type ListMachineUsersResponse
- func (m *ListMachineUsersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListMachineUsersResponse) MarshalBinary() ([]byte, error)
- func (m *ListMachineUsersResponse) UnmarshalBinary(b []byte) error
- func (m *ListMachineUsersResponse) Validate(formats strfmt.Registry) error
- type ListResourceAssigneesRequest
- func (m *ListResourceAssigneesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListResourceAssigneesRequest) MarshalBinary() ([]byte, error)
- func (m *ListResourceAssigneesRequest) UnmarshalBinary(b []byte) error
- func (m *ListResourceAssigneesRequest) Validate(formats strfmt.Registry) error
- type ListResourceAssigneesResponse
- func (m *ListResourceAssigneesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListResourceAssigneesResponse) MarshalBinary() ([]byte, error)
- func (m *ListResourceAssigneesResponse) UnmarshalBinary(b []byte) error
- func (m *ListResourceAssigneesResponse) Validate(formats strfmt.Registry) error
- type ListResourceRolesRequest
- func (m *ListResourceRolesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListResourceRolesRequest) MarshalBinary() ([]byte, error)
- func (m *ListResourceRolesRequest) UnmarshalBinary(b []byte) error
- func (m *ListResourceRolesRequest) Validate(formats strfmt.Registry) error
- type ListResourceRolesResponse
- func (m *ListResourceRolesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListResourceRolesResponse) MarshalBinary() ([]byte, error)
- func (m *ListResourceRolesResponse) UnmarshalBinary(b []byte) error
- func (m *ListResourceRolesResponse) Validate(formats strfmt.Registry) error
- type ListRolesRequest
- type ListRolesResponse
- type ListSSHPublicKeysRequest
- func (m *ListSSHPublicKeysRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListSSHPublicKeysRequest) MarshalBinary() ([]byte, error)
- func (m *ListSSHPublicKeysRequest) UnmarshalBinary(b []byte) error
- func (m *ListSSHPublicKeysRequest) Validate(formats strfmt.Registry) error
- type ListSSHPublicKeysResponse
- func (m *ListSSHPublicKeysResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListSSHPublicKeysResponse) MarshalBinary() ([]byte, error)
- func (m *ListSSHPublicKeysResponse) UnmarshalBinary(b []byte) error
- func (m *ListSSHPublicKeysResponse) Validate(formats strfmt.Registry) error
- type ListSamlProvidersRequest
- func (m *ListSamlProvidersRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListSamlProvidersRequest) MarshalBinary() ([]byte, error)
- func (m *ListSamlProvidersRequest) UnmarshalBinary(b []byte) error
- func (m *ListSamlProvidersRequest) Validate(formats strfmt.Registry) error
- type ListSamlProvidersResponse
- func (m *ListSamlProvidersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListSamlProvidersResponse) MarshalBinary() ([]byte, error)
- func (m *ListSamlProvidersResponse) UnmarshalBinary(b []byte) error
- func (m *ListSamlProvidersResponse) Validate(formats strfmt.Registry) error
- type ListScimAccessTokensRequest
- func (m *ListScimAccessTokensRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListScimAccessTokensRequest) MarshalBinary() ([]byte, error)
- func (m *ListScimAccessTokensRequest) UnmarshalBinary(b []byte) error
- func (m *ListScimAccessTokensRequest) Validate(formats strfmt.Registry) error
- type ListScimAccessTokensResponse
- func (m *ListScimAccessTokensResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListScimAccessTokensResponse) MarshalBinary() ([]byte, error)
- func (m *ListScimAccessTokensResponse) UnmarshalBinary(b []byte) error
- func (m *ListScimAccessTokensResponse) Validate(formats strfmt.Registry) error
- type ListServicePrincipalCloudIdentitiesRequest
- func (m *ListServicePrincipalCloudIdentitiesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListServicePrincipalCloudIdentitiesRequest) MarshalBinary() ([]byte, error)
- func (m *ListServicePrincipalCloudIdentitiesRequest) UnmarshalBinary(b []byte) error
- func (m *ListServicePrincipalCloudIdentitiesRequest) Validate(formats strfmt.Registry) error
- type ListServicePrincipalCloudIdentitiesResponse
- func (m *ListServicePrincipalCloudIdentitiesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListServicePrincipalCloudIdentitiesResponse) MarshalBinary() ([]byte, error)
- func (m *ListServicePrincipalCloudIdentitiesResponse) UnmarshalBinary(b []byte) error
- func (m *ListServicePrincipalCloudIdentitiesResponse) Validate(formats strfmt.Registry) error
- type ListUserAssignedResourceRolesRequest
- func (m *ListUserAssignedResourceRolesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListUserAssignedResourceRolesRequest) MarshalBinary() ([]byte, error)
- func (m *ListUserAssignedResourceRolesRequest) UnmarshalBinary(b []byte) error
- func (m *ListUserAssignedResourceRolesRequest) Validate(formats strfmt.Registry) error
- type ListUserAssignedResourceRolesResponse
- func (m *ListUserAssignedResourceRolesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListUserAssignedResourceRolesResponse) MarshalBinary() ([]byte, error)
- func (m *ListUserAssignedResourceRolesResponse) UnmarshalBinary(b []byte) error
- func (m *ListUserAssignedResourceRolesResponse) Validate(formats strfmt.Registry) error
- type ListUserAssignedRolesRequest
- func (m *ListUserAssignedRolesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListUserAssignedRolesRequest) MarshalBinary() ([]byte, error)
- func (m *ListUserAssignedRolesRequest) UnmarshalBinary(b []byte) error
- func (m *ListUserAssignedRolesRequest) Validate(formats strfmt.Registry) error
- type ListUserAssignedRolesResponse
- func (m *ListUserAssignedRolesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListUserAssignedRolesResponse) MarshalBinary() ([]byte, error)
- func (m *ListUserAssignedRolesResponse) UnmarshalBinary(b []byte) error
- func (m *ListUserAssignedRolesResponse) Validate(formats strfmt.Registry) error
- type ListUsersRequest
- type ListUsersResponse
- type MachineUser
- type PasswordPolicy
- type Policy
- type PolicyStatement
- type RemoveMachineUserFromGroupRequest
- func (m *RemoveMachineUserFromGroupRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RemoveMachineUserFromGroupRequest) MarshalBinary() ([]byte, error)
- func (m *RemoveMachineUserFromGroupRequest) UnmarshalBinary(b []byte) error
- func (m *RemoveMachineUserFromGroupRequest) Validate(formats strfmt.Registry) error
- type RemoveMachineUserFromGroupResponse
- type RemoveUserFromGroupRequest
- func (m *RemoveUserFromGroupRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RemoveUserFromGroupRequest) MarshalBinary() ([]byte, error)
- func (m *RemoveUserFromGroupRequest) UnmarshalBinary(b []byte) error
- func (m *RemoveUserFromGroupRequest) Validate(formats strfmt.Registry) error
- type RemoveUserFromGroupResponse
- type ResourceAssignee
- type ResourceAssignment
- type ResourceRole
- type Role
- type SSHPublicKey
- type SamlProvider
- type ScimAccessToken
- type ServicePrincipalCloudIdentities
- func (m *ServicePrincipalCloudIdentities) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServicePrincipalCloudIdentities) MarshalBinary() ([]byte, error)
- func (m *ServicePrincipalCloudIdentities) UnmarshalBinary(b []byte) error
- func (m *ServicePrincipalCloudIdentities) Validate(formats strfmt.Registry) error
- type SetAccountMessagesRequest
- func (m *SetAccountMessagesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SetAccountMessagesRequest) MarshalBinary() ([]byte, error)
- func (m *SetAccountMessagesRequest) UnmarshalBinary(b []byte) error
- func (m *SetAccountMessagesRequest) Validate(formats strfmt.Registry) error
- type SetAccountMessagesResponse
- type SetAuthenticationPolicyRequest
- func (m *SetAuthenticationPolicyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SetAuthenticationPolicyRequest) MarshalBinary() ([]byte, error)
- func (m *SetAuthenticationPolicyRequest) UnmarshalBinary(b []byte) error
- func (m *SetAuthenticationPolicyRequest) Validate(formats strfmt.Registry) error
- type SetAuthenticationPolicyResponse
- type SetDefaultIdentityProviderRequest
- func (m *SetDefaultIdentityProviderRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SetDefaultIdentityProviderRequest) MarshalBinary() ([]byte, error)
- func (m *SetDefaultIdentityProviderRequest) UnmarshalBinary(b []byte) error
- func (m *SetDefaultIdentityProviderRequest) Validate(formats strfmt.Registry) error
- type SetDefaultIdentityProviderResponse
- type SetWorkloadPasswordPolicyRequest
- func (m *SetWorkloadPasswordPolicyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SetWorkloadPasswordPolicyRequest) MarshalBinary() ([]byte, error)
- func (m *SetWorkloadPasswordPolicyRequest) UnmarshalBinary(b []byte) error
- func (m *SetWorkloadPasswordPolicyRequest) Validate(formats strfmt.Registry) error
- type SetWorkloadPasswordPolicyResponse
- type SetWorkloadPasswordRequest
- func (m *SetWorkloadPasswordRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SetWorkloadPasswordRequest) MarshalBinary() ([]byte, error)
- func (m *SetWorkloadPasswordRequest) UnmarshalBinary(b []byte) error
- func (m *SetWorkloadPasswordRequest) Validate(formats strfmt.Registry) error
- type SetWorkloadPasswordResponse
- type UnassignAzureCloudIdentityRequest
- func (m *UnassignAzureCloudIdentityRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UnassignAzureCloudIdentityRequest) MarshalBinary() ([]byte, error)
- func (m *UnassignAzureCloudIdentityRequest) UnmarshalBinary(b []byte) error
- func (m *UnassignAzureCloudIdentityRequest) Validate(formats strfmt.Registry) error
- type UnassignAzureCloudIdentityResponse
- type UnassignGroupResourceRoleRequest
- func (m *UnassignGroupResourceRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UnassignGroupResourceRoleRequest) MarshalBinary() ([]byte, error)
- func (m *UnassignGroupResourceRoleRequest) UnmarshalBinary(b []byte) error
- func (m *UnassignGroupResourceRoleRequest) Validate(formats strfmt.Registry) error
- type UnassignGroupResourceRoleResponse
- type UnassignGroupRoleRequest
- func (m *UnassignGroupRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UnassignGroupRoleRequest) MarshalBinary() ([]byte, error)
- func (m *UnassignGroupRoleRequest) UnmarshalBinary(b []byte) error
- func (m *UnassignGroupRoleRequest) Validate(formats strfmt.Registry) error
- type UnassignGroupRoleResponse
- type UnassignMachineUserResourceRoleRequest
- func (m *UnassignMachineUserResourceRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UnassignMachineUserResourceRoleRequest) MarshalBinary() ([]byte, error)
- func (m *UnassignMachineUserResourceRoleRequest) UnmarshalBinary(b []byte) error
- func (m *UnassignMachineUserResourceRoleRequest) Validate(formats strfmt.Registry) error
- type UnassignMachineUserResourceRoleResponse
- type UnassignMachineUserRoleRequest
- func (m *UnassignMachineUserRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UnassignMachineUserRoleRequest) MarshalBinary() ([]byte, error)
- func (m *UnassignMachineUserRoleRequest) UnmarshalBinary(b []byte) error
- func (m *UnassignMachineUserRoleRequest) Validate(formats strfmt.Registry) error
- type UnassignMachineUserRoleResponse
- type UnassignServicePrincipalAzureCloudIdentityRequest
- func (m *UnassignServicePrincipalAzureCloudIdentityRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UnassignServicePrincipalAzureCloudIdentityRequest) MarshalBinary() ([]byte, error)
- func (m *UnassignServicePrincipalAzureCloudIdentityRequest) UnmarshalBinary(b []byte) error
- func (m *UnassignServicePrincipalAzureCloudIdentityRequest) Validate(formats strfmt.Registry) error
- type UnassignServicePrincipalAzureCloudIdentityResponse
- type UnassignUserResourceRoleRequest
- func (m *UnassignUserResourceRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UnassignUserResourceRoleRequest) MarshalBinary() ([]byte, error)
- func (m *UnassignUserResourceRoleRequest) UnmarshalBinary(b []byte) error
- func (m *UnassignUserResourceRoleRequest) Validate(formats strfmt.Registry) error
- type UnassignUserResourceRoleResponse
- type UnassignUserRoleRequest
- func (m *UnassignUserRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UnassignUserRoleRequest) MarshalBinary() ([]byte, error)
- func (m *UnassignUserRoleRequest) UnmarshalBinary(b []byte) error
- func (m *UnassignUserRoleRequest) Validate(formats strfmt.Registry) error
- type UnassignUserRoleResponse
- type UnlockMachineUserInControlPlaneRequest
- func (m *UnlockMachineUserInControlPlaneRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UnlockMachineUserInControlPlaneRequest) MarshalBinary() ([]byte, error)
- func (m *UnlockMachineUserInControlPlaneRequest) UnmarshalBinary(b []byte) error
- func (m *UnlockMachineUserInControlPlaneRequest) Validate(formats strfmt.Registry) error
- type UnlockMachineUserInControlPlaneResponse
- func (m *UnlockMachineUserInControlPlaneResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UnlockMachineUserInControlPlaneResponse) MarshalBinary() ([]byte, error)
- func (m *UnlockMachineUserInControlPlaneResponse) UnmarshalBinary(b []byte) error
- func (m *UnlockMachineUserInControlPlaneResponse) Validate(formats strfmt.Registry) error
- type UnlockUserInControlPlaneRequest
- func (m *UnlockUserInControlPlaneRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UnlockUserInControlPlaneRequest) MarshalBinary() ([]byte, error)
- func (m *UnlockUserInControlPlaneRequest) UnmarshalBinary(b []byte) error
- func (m *UnlockUserInControlPlaneRequest) Validate(formats strfmt.Registry) error
- type UnlockUserInControlPlaneResponse
- func (m *UnlockUserInControlPlaneResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UnlockUserInControlPlaneResponse) MarshalBinary() ([]byte, error)
- func (m *UnlockUserInControlPlaneResponse) UnmarshalBinary(b []byte) error
- func (m *UnlockUserInControlPlaneResponse) Validate(formats strfmt.Registry) error
- type UnsetWorkloadPasswordMinLifetimeRequest
- func (m *UnsetWorkloadPasswordMinLifetimeRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UnsetWorkloadPasswordMinLifetimeRequest) MarshalBinary() ([]byte, error)
- func (m *UnsetWorkloadPasswordMinLifetimeRequest) UnmarshalBinary(b []byte) error
- func (m *UnsetWorkloadPasswordMinLifetimeRequest) Validate(formats strfmt.Registry) error
- type UnsetWorkloadPasswordMinLifetimeResponse
- type UnsetWorkloadPasswordPolicyRequest
- func (m *UnsetWorkloadPasswordPolicyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UnsetWorkloadPasswordPolicyRequest) MarshalBinary() ([]byte, error)
- func (m *UnsetWorkloadPasswordPolicyRequest) UnmarshalBinary(b []byte) error
- func (m *UnsetWorkloadPasswordPolicyRequest) Validate(formats strfmt.Registry) error
- type UnsetWorkloadPasswordPolicyResponse
- type UpdateAccessKeyRequest
- func (m *UpdateAccessKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateAccessKeyRequest) MarshalBinary() ([]byte, error)
- func (m *UpdateAccessKeyRequest) UnmarshalBinary(b []byte) error
- func (m *UpdateAccessKeyRequest) Validate(formats strfmt.Registry) error
- type UpdateAccessKeyResponse
- func (m *UpdateAccessKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateAccessKeyResponse) MarshalBinary() ([]byte, error)
- func (m *UpdateAccessKeyResponse) UnmarshalBinary(b []byte) error
- func (m *UpdateAccessKeyResponse) Validate(formats strfmt.Registry) error
- type UpdateGroupRequest
- type UpdateGroupResponse
- type UpdateSamlProviderRequest
- func (m *UpdateSamlProviderRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateSamlProviderRequest) MarshalBinary() ([]byte, error)
- func (m *UpdateSamlProviderRequest) UnmarshalBinary(b []byte) error
- func (m *UpdateSamlProviderRequest) Validate(formats strfmt.Registry) error
- type UpdateSamlProviderResponse
- func (m *UpdateSamlProviderResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateSamlProviderResponse) MarshalBinary() ([]byte, error)
- func (m *UpdateSamlProviderResponse) UnmarshalBinary(b []byte) error
- func (m *UpdateSamlProviderResponse) Validate(formats strfmt.Registry) error
- type UpdateUserRequest
- type UpdateUserResponse
- type User
- type WorkloadName
- type WorkloadPasswordDetails
- func (m *WorkloadPasswordDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *WorkloadPasswordDetails) MarshalBinary() ([]byte, error)
- func (m *WorkloadPasswordDetails) UnmarshalBinary(b []byte) error
- func (m *WorkloadPasswordDetails) Validate(formats strfmt.Registry) error
- type WorkloadPasswordPolicy
- func (m *WorkloadPasswordPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *WorkloadPasswordPolicy) MarshalBinary() ([]byte, error)
- func (m *WorkloadPasswordPolicy) UnmarshalBinary(b []byte) error
- func (m *WorkloadPasswordPolicy) Validate(formats strfmt.Registry) error
Constants ¶
const ( // AccessKeyStatusACTIVE captures enum value "ACTIVE" AccessKeyStatusACTIVE string = "ACTIVE" // AccessKeyStatusINACTIVE captures enum value "INACTIVE" AccessKeyStatusINACTIVE string = "INACTIVE" )
const ( // UpdateAccessKeyRequestStatusACTIVE captures enum value "ACTIVE" UpdateAccessKeyRequestStatusACTIVE string = "ACTIVE" // UpdateAccessKeyRequestStatusINACTIVE captures enum value "INACTIVE" UpdateAccessKeyRequestStatusINACTIVE string = "INACTIVE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessKey ¶
type AccessKey struct { // The ID of the access key. // Required: true AccessKeyID *string `json:"accessKeyId"` // The CRN of the actor with which this access key is associated. // Required: true ActorCrn *string `json:"actorCrn"` // The date when the access key was created. // Required: true // Format: date-time CreationDate *strfmt.DateTime `json:"creationDate"` // The CRN of the access key. // Required: true Crn *string `json:"crn"` // Information on the last time this access key was used. LastUsage *AccessKeyLastUsage `json:"lastUsage,omitempty"` // The status of an access key. // Enum: ["ACTIVE","INACTIVE"] Status string `json:"status,omitempty"` // The type of an access key. Type AccessKeyType `json:"type,omitempty"` }
AccessKey Information about a Cloudera CDP access key.
swagger:model AccessKey
func (*AccessKey) ContextValidate ¶
ContextValidate validate this access key based on the context it is used
func (*AccessKey) MarshalBinary ¶
MarshalBinary interface implementation
func (*AccessKey) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AccessKeyLastUsage ¶
type AccessKeyLastUsage struct { // The date when the access key was last used. // Format: date-time LastUsageDate strfmt.DateTime `json:"lastUsageDate,omitempty"` // The name of the service with which this access key was most recently used. ServiceName string `json:"serviceName,omitempty"` }
AccessKeyLastUsage Information on the last time an access key was used.
swagger:model AccessKeyLastUsage
func (*AccessKeyLastUsage) ContextValidate ¶
ContextValidate validates this access key last usage based on context it is used
func (*AccessKeyLastUsage) MarshalBinary ¶
func (m *AccessKeyLastUsage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccessKeyLastUsage) UnmarshalBinary ¶
func (m *AccessKeyLastUsage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccessKeyType ¶
type AccessKeyType string
AccessKeyType The version of an access key. `V1` - Deprecated, use RSA as the request signing algorithm. `V2` - Use ED25519 as the request signing algorithm. `V3` - Use ECDSA as the request signing algorithm. `DEFAULT` - Use the system default signing algorithm (V3 in GovCloud, V2 in other regions).
swagger:model AccessKeyType
const ( // AccessKeyTypeV1 captures enum value "V1" AccessKeyTypeV1 AccessKeyType = "V1" // AccessKeyTypeV2 captures enum value "V2" AccessKeyTypeV2 AccessKeyType = "V2" // AccessKeyTypeV3 captures enum value "V3" AccessKeyTypeV3 AccessKeyType = "V3" )
func NewAccessKeyType ¶
func NewAccessKeyType(value AccessKeyType) *AccessKeyType
func (AccessKeyType) ContextValidate ¶
ContextValidate validates this access key type based on context it is used
func (AccessKeyType) Pointer ¶
func (m AccessKeyType) Pointer() *AccessKeyType
Pointer returns a pointer to a freshly-allocated AccessKeyType.
type Account ¶
type Account struct { // The authentication policy object. May be omitted if no such policy was defined. AuthenticationPolicy *AuthenticationPolicy `json:"authenticationPolicy,omitempty"` // Whether login is enabled for Cloudera SSO users. It can only be set by Cloudera upon request and disables interactive login through Cloudera SSO. Note that restricting Cloudera SSO login will prevent account administrators from logging in interactively. Its default value is 'true'. When it is 'true', the Cloudera SSO interactive login behavior is controlled according to the existing `clouderaSSOLoginEnabled` flag. When it is 'false', it overrides the setting for `clouderaSSOLoginEnabled`. // Required: true ClouderaSSOAllLoginEnabled *bool `json:"clouderaSSOAllLoginEnabled"` // Whether interactive login using Cloudera SSO is enabled for users who are not account administrators. Its default value is 'true'. When it is 'true', the account administrators, as well as non-administrator users can login through Cloudera SSO. When it is 'false', Cloudera SSO users who are not account administrators will not be able to login. // Required: true ClouderaSSOLoginEnabled *bool `json:"clouderaSSOLoginEnabled"` // The machine user workload password policy object. May be omitted if no such policy was defined. MachineUserWorkloadPasswordPolicy *WorkloadPasswordPolicy `json:"machineUserWorkloadPasswordPolicy,omitempty"` // The workload password policy object. // Required: true WorkloadPasswordPolicy *WorkloadPasswordPolicy `json:"workloadPasswordPolicy"` }
Account Information about a Cloudera CDP account.
swagger:model Account
func (*Account) ContextValidate ¶
ContextValidate validate this account based on the context it is used
func (*Account) MarshalBinary ¶
MarshalBinary interface implementation
func (*Account) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AddMachineUserToGroupRequest ¶
type AddMachineUserToGroupRequest struct { // The name or CRN of the group to add the machine user to. // Required: true GroupName *string `json:"groupName"` // The name or CRN of the machine user to add to the group. // Required: true MachineUserName *string `json:"machineUserName"` }
AddMachineUserToGroupRequest Request object for an add machine user to group request.
swagger:model AddMachineUserToGroupRequest
func (*AddMachineUserToGroupRequest) ContextValidate ¶
func (m *AddMachineUserToGroupRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this add machine user to group request based on context it is used
func (*AddMachineUserToGroupRequest) MarshalBinary ¶
func (m *AddMachineUserToGroupRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddMachineUserToGroupRequest) UnmarshalBinary ¶
func (m *AddMachineUserToGroupRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddMachineUserToGroupResponse ¶
type AddMachineUserToGroupResponse interface{}
AddMachineUserToGroupResponse Response object for add machine user to group request.
swagger:model AddMachineUserToGroupResponse
type AddSSHPublicKeyRequest ¶
type AddSSHPublicKeyRequest struct { // The CRN of the user or machine user for whom the SSH public key will be added. If it is not included, it defaults to the user making the request. ActorCrn string `json:"actorCrn,omitempty"` // An optional description for the public key. Description string `json:"description,omitempty"` // The RSA or ED25519 public ssh key to add. DSA and ECDSA public keys are not supported. The public key should be in RFC4253 format. (e.g. ssh-rsa AAAAB3NzaC1yc2EAAA.. user@host) as produced, for example, by ssh-keygen. // Required: true PublicKey *string `json:"publicKey"` }
AddSSHPublicKeyRequest Request object for add user ssh public key.
swagger:model AddSshPublicKeyRequest
func (*AddSSHPublicKeyRequest) ContextValidate ¶
func (m *AddSSHPublicKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this add Ssh public key request based on context it is used
func (*AddSSHPublicKeyRequest) MarshalBinary ¶
func (m *AddSSHPublicKeyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddSSHPublicKeyRequest) UnmarshalBinary ¶
func (m *AddSSHPublicKeyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddSSHPublicKeyResponse ¶
type AddSSHPublicKeyResponse struct { // Information about the SSH public key. // Required: true SSHPublicKey *SSHPublicKey `json:"sshPublicKey"` }
AddSSHPublicKeyResponse Response object for add ssh public key.
swagger:model AddSshPublicKeyResponse
func (*AddSSHPublicKeyResponse) ContextValidate ¶
func (m *AddSSHPublicKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this add Ssh public key response based on the context it is used
func (*AddSSHPublicKeyResponse) MarshalBinary ¶
func (m *AddSSHPublicKeyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddSSHPublicKeyResponse) UnmarshalBinary ¶
func (m *AddSSHPublicKeyResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddUserToGroupRequest ¶
type AddUserToGroupRequest struct { // The name or CRN of the group to add the user to. // Required: true GroupName *string `json:"groupName"` // The ID or CRN of the user to add to the group. // Required: true UserID *string `json:"userId"` }
AddUserToGroupRequest Request object for an add user to group request.
swagger:model AddUserToGroupRequest
func (*AddUserToGroupRequest) ContextValidate ¶
ContextValidate validates this add user to group request based on context it is used
func (*AddUserToGroupRequest) MarshalBinary ¶
func (m *AddUserToGroupRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddUserToGroupRequest) UnmarshalBinary ¶
func (m *AddUserToGroupRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddUserToGroupResponse ¶
type AddUserToGroupResponse interface{}
AddUserToGroupResponse Response object for an add user to group request.
swagger:model AddUserToGroupResponse
type AssignAzureCloudIdentityRequest ¶
type AssignAzureCloudIdentityRequest struct { // The CRN of the actor or group that the cloud identity will be assigned to. // Required: true AssigneeCrn *string `json:"assigneeCrn"` // The Azure object ID (OID) to assign to the actor or group. // Required: true ObjectID *string `json:"objectId"` }
AssignAzureCloudIdentityRequest Request object for an assign Azure cloud identity request.
swagger:model AssignAzureCloudIdentityRequest
func (*AssignAzureCloudIdentityRequest) ContextValidate ¶
func (m *AssignAzureCloudIdentityRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this assign azure cloud identity request based on context it is used
func (*AssignAzureCloudIdentityRequest) MarshalBinary ¶
func (m *AssignAzureCloudIdentityRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AssignAzureCloudIdentityRequest) UnmarshalBinary ¶
func (m *AssignAzureCloudIdentityRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AssignAzureCloudIdentityResponse ¶
type AssignAzureCloudIdentityResponse interface{}
AssignAzureCloudIdentityResponse Response object for an assign Azure cloud identity request.
swagger:model AssignAzureCloudIdentityResponse
type AssignGroupResourceRoleRequest ¶
type AssignGroupResourceRoleRequest struct { // The group to assign the resource role to. Can be the group's name or CRN. // Required: true GroupName *string `json:"groupName"` // The resource for which the resource role rights are granted. // Required: true ResourceCrn *string `json:"resourceCrn"` // The CRN of the resource role being assigned to the group. // Required: true ResourceRoleCrn *string `json:"resourceRoleCrn"` }
AssignGroupResourceRoleRequest Request object for an assign group resource role request.
swagger:model AssignGroupResourceRoleRequest
func (*AssignGroupResourceRoleRequest) ContextValidate ¶
func (m *AssignGroupResourceRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this assign group resource role request based on context it is used
func (*AssignGroupResourceRoleRequest) MarshalBinary ¶
func (m *AssignGroupResourceRoleRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AssignGroupResourceRoleRequest) UnmarshalBinary ¶
func (m *AssignGroupResourceRoleRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AssignGroupResourceRoleResponse ¶
type AssignGroupResourceRoleResponse interface{}
AssignGroupResourceRoleResponse Response object for an assign group resource role request.
swagger:model AssignGroupResourceRoleResponse
type AssignGroupRoleRequest ¶
type AssignGroupRoleRequest struct { // The group to which the role is assigned to. Can be the group name or CRN. // Required: true GroupName *string `json:"groupName"` // The role being assigned to the group. Can be the role's CRN or name. // Required: true Role *string `json:"role"` }
AssignGroupRoleRequest Request object for an assign group role request.
swagger:model AssignGroupRoleRequest
func (*AssignGroupRoleRequest) ContextValidate ¶
func (m *AssignGroupRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this assign group role request based on context it is used
func (*AssignGroupRoleRequest) MarshalBinary ¶
func (m *AssignGroupRoleRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AssignGroupRoleRequest) UnmarshalBinary ¶
func (m *AssignGroupRoleRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AssignGroupRoleResponse ¶
type AssignGroupRoleResponse interface{}
AssignGroupRoleResponse Response object for an assign group role request.
swagger:model AssignGroupRoleResponse
type AssignMachineUserResourceRoleRequest ¶
type AssignMachineUserResourceRoleRequest struct { // The machine user to assign the resource role to. Can be the machine user's name or CRN. // Required: true MachineUserName *string `json:"machineUserName"` // The resource for which the resource role rights are granted. // Required: true ResourceCrn *string `json:"resourceCrn"` // The CRN of the resource role to assign to the machine user. // Required: true ResourceRoleCrn *string `json:"resourceRoleCrn"` }
AssignMachineUserResourceRoleRequest Request object for an assign machine user resource role request.
swagger:model AssignMachineUserResourceRoleRequest
func (*AssignMachineUserResourceRoleRequest) ContextValidate ¶
func (m *AssignMachineUserResourceRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this assign machine user resource role request based on context it is used
func (*AssignMachineUserResourceRoleRequest) MarshalBinary ¶
func (m *AssignMachineUserResourceRoleRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AssignMachineUserResourceRoleRequest) UnmarshalBinary ¶
func (m *AssignMachineUserResourceRoleRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AssignMachineUserResourceRoleResponse ¶
type AssignMachineUserResourceRoleResponse interface{}
AssignMachineUserResourceRoleResponse Response object for an assign machine user resource role request.
swagger:model AssignMachineUserResourceRoleResponse
type AssignMachineUserRoleRequest ¶
type AssignMachineUserRoleRequest struct { // The machine user the role is assigned to. Can be the machine user's name or CRN. // Required: true MachineUserName *string `json:"machineUserName"` // The role to assign to the machine user. Can be the role's name or CRN. // Required: true Role *string `json:"role"` }
AssignMachineUserRoleRequest Request object for an assign machine user role request.
swagger:model AssignMachineUserRoleRequest
func (*AssignMachineUserRoleRequest) ContextValidate ¶
func (m *AssignMachineUserRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this assign machine user role request based on context it is used
func (*AssignMachineUserRoleRequest) MarshalBinary ¶
func (m *AssignMachineUserRoleRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AssignMachineUserRoleRequest) UnmarshalBinary ¶
func (m *AssignMachineUserRoleRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AssignMachineUserRoleResponse ¶
type AssignMachineUserRoleResponse interface{}
AssignMachineUserRoleResponse Response object for an assign machine user role request.
swagger:model AssignMachineUserRoleResponse
type AssignServicePrincipalAzureCloudIdentityRequest ¶
type AssignServicePrincipalAzureCloudIdentityRequest struct { // The CRN of the environment for which the cloud identity assignment will be in effect. // Required: true EnvironmentCrn *string `json:"environmentCrn"` // The Azure object ID (OID) to assign to the service principal. // Required: true ObjectID *string `json:"objectId"` // The name of the service principal that the cloud identity will be assigned to. // Required: true ServicePrincipal *string `json:"servicePrincipal"` }
AssignServicePrincipalAzureCloudIdentityRequest Request object for an assign service principal Azure cloud identity request.
swagger:model AssignServicePrincipalAzureCloudIdentityRequest
func (*AssignServicePrincipalAzureCloudIdentityRequest) ContextValidate ¶
func (m *AssignServicePrincipalAzureCloudIdentityRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this assign service principal azure cloud identity request based on context it is used
func (*AssignServicePrincipalAzureCloudIdentityRequest) MarshalBinary ¶
func (m *AssignServicePrincipalAzureCloudIdentityRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AssignServicePrincipalAzureCloudIdentityRequest) UnmarshalBinary ¶
func (m *AssignServicePrincipalAzureCloudIdentityRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AssignServicePrincipalAzureCloudIdentityResponse ¶
type AssignServicePrincipalAzureCloudIdentityResponse interface{}
AssignServicePrincipalAzureCloudIdentityResponse Response object for an assign service principal Azure cloud identity request.
swagger:model AssignServicePrincipalAzureCloudIdentityResponse
type AssignUserResourceRoleRequest ¶
type AssignUserResourceRoleRequest struct { // The resource for which the resource role rights are granted. // Required: true ResourceCrn *string `json:"resourceCrn"` // The CRN of the resource role to assign to the user. // Required: true ResourceRoleCrn *string `json:"resourceRoleCrn"` // The user to assign the resource role to. Can be the user's CRN or id. // Required: true User *string `json:"user"` }
AssignUserResourceRoleRequest Request object for an assign user resource role request.
swagger:model AssignUserResourceRoleRequest
func (*AssignUserResourceRoleRequest) ContextValidate ¶
func (m *AssignUserResourceRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this assign user resource role request based on context it is used
func (*AssignUserResourceRoleRequest) MarshalBinary ¶
func (m *AssignUserResourceRoleRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AssignUserResourceRoleRequest) UnmarshalBinary ¶
func (m *AssignUserResourceRoleRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AssignUserResourceRoleResponse ¶
type AssignUserResourceRoleResponse interface{}
AssignUserResourceRoleResponse Response object for an assign user resource role request.
swagger:model AssignUserResourceRoleResponse
type AssignUserRoleRequest ¶
type AssignUserRoleRequest struct { // The role to assign to the user. Can be the role's CRN or name. // Required: true Role *string `json:"role"` // The user the role is assigned to. Can be the user's CRN or id. // Required: true User *string `json:"user"` }
AssignUserRoleRequest Request object for an assign user role request.
swagger:model AssignUserRoleRequest
func (*AssignUserRoleRequest) ContextValidate ¶
ContextValidate validates this assign user role request based on context it is used
func (*AssignUserRoleRequest) MarshalBinary ¶
func (m *AssignUserRoleRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AssignUserRoleRequest) UnmarshalBinary ¶
func (m *AssignUserRoleRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AssignUserRoleResponse ¶
type AssignUserRoleResponse interface{}
AssignUserRoleResponse Response object for an assign user role request.
swagger:model AssignUserRoleResponse
type AuthenticationPolicy ¶
type AuthenticationPolicy struct { // The expiration, in seconds, of the access key. The value of '0' indicates the system default expiration (which is 12 hours). AccessKeyExpirationSec int32 `json:"accessKeyExpirationSec,omitempty"` // The inactivity duration, in seconds, of the access key, which would invalidate the access key due to no activity. The value of '0' indicates default inactivity duration (which is 1 hour normally and 15 minutes for Cloudera for Government). There's no access key invalidation from no activity if the value is greater or equal to expiration. AccessKeyInactivityDurationSec int32 `json:"accessKeyInactivityDurationSec,omitempty"` // The list of IP addresses and/or CIDRs used for allowing client access to the UI and API services. Both the allowed list and the blocked list will be used to determine whether to grant or block the client's access. The blocked list takes precedence over the allowed list. When the list is empty or not set, client IP address will not be validated to be present in the allowed list. ClientIPAddressesAllowed []string `json:"clientIpAddressesAllowed"` // The list of IP addresses and/or CIDRs used for blocking client access to the UI and API services. Both the allowed list and the blocked list will be used to determine whether to grant or block the client's access. The blocked list takes precedence over the allowed list. When the list is empty or not set, client IP address will not be validated to be absent from the blocked list. ClientIPAddressesBlocked []string `json:"clientIpAddressesBlocked"` // The expiration, in seconds, of the UI session token. The value of '0' indicates the system default expiration (which is 12 hours). SessionTokenExpirationSec int32 `json:"sessionTokenExpirationSec,omitempty"` // The inactivity duration, in seconds, of the UI session token, which would invalidate the session token due to no activity. The value of '0' indicates default inactivity duration (which is 1 hour normally and 15 minutes for Cloudera for Government). There's no session token invalidation from no activity if the value is greater or equal to expiration. SessionTokenInactivityDurationSec int32 `json:"sessionTokenInactivityDurationSec,omitempty"` }
AuthenticationPolicy Information about the authentication policy for an account.
swagger:model AuthenticationPolicy
func (*AuthenticationPolicy) ContextValidate ¶
ContextValidate validates this authentication policy based on context it is used
func (*AuthenticationPolicy) MarshalBinary ¶
func (m *AuthenticationPolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AuthenticationPolicy) UnmarshalBinary ¶
func (m *AuthenticationPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureCloudIdentity ¶
type AzureCloudIdentity struct { // The CRN of the environment this Azure cloud identity is associated with. If omitted, this cloud identity is associated with all Azure environments. EnvironmentCrn string `json:"environmentCrn,omitempty"` // The Azure object ID (OID). // Required: true ObjectID *string `json:"objectId"` }
AzureCloudIdentity An Azure cloud identity.
swagger:model AzureCloudIdentity
func (*AzureCloudIdentity) ContextValidate ¶
ContextValidate validates this azure cloud identity based on context it is used
func (*AzureCloudIdentity) MarshalBinary ¶
func (m *AzureCloudIdentity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureCloudIdentity) UnmarshalBinary ¶
func (m *AzureCloudIdentity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateGroupRequest ¶
type CreateGroupRequest struct { // The name of the group. This name must be unique. There are certain restrictions on the group name. Refer to the How To > User Management section in the Management Console documentation for the details. // Required: true GroupName *string `json:"groupName"` // Whether group membership is synced when a user logs in. The default is to sync group membership. SyncMembershipOnUserLogin *bool `json:"syncMembershipOnUserLogin,omitempty"` }
CreateGroupRequest Request object for create group request.
swagger:model CreateGroupRequest
func (*CreateGroupRequest) ContextValidate ¶
ContextValidate validates this create group request based on context it is used
func (*CreateGroupRequest) MarshalBinary ¶
func (m *CreateGroupRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateGroupRequest) UnmarshalBinary ¶
func (m *CreateGroupRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateGroupResponse ¶
type CreateGroupResponse struct { // Information about the group. // Required: true Group *Group `json:"group"` }
CreateGroupResponse Response object for create group request.
swagger:model CreateGroupResponse
func (*CreateGroupResponse) ContextValidate ¶
ContextValidate validate this create group response based on the context it is used
func (*CreateGroupResponse) MarshalBinary ¶
func (m *CreateGroupResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateGroupResponse) UnmarshalBinary ¶
func (m *CreateGroupResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateMachineUserAccessKeyRequest ¶
type CreateMachineUserAccessKeyRequest struct { // The name or CRN of the machine user to whom this access key will be associated. // Required: true MachineUserName *string `json:"machineUserName"` // The version of an access key to create. Type AccessKeyType `json:"type,omitempty"` }
CreateMachineUserAccessKeyRequest Request object for a create machine user access key request.
swagger:model CreateMachineUserAccessKeyRequest
func (*CreateMachineUserAccessKeyRequest) ContextValidate ¶
func (m *CreateMachineUserAccessKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create machine user access key request based on the context it is used
func (*CreateMachineUserAccessKeyRequest) MarshalBinary ¶
func (m *CreateMachineUserAccessKeyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateMachineUserAccessKeyRequest) UnmarshalBinary ¶
func (m *CreateMachineUserAccessKeyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateMachineUserAccessKeyResponse ¶
type CreateMachineUserAccessKeyResponse struct { // The access key that was created. // Required: true AccessKey *AccessKey `json:"accessKey"` // The private key associated with this access key. This string is the contents of a PEM file containing a PKCS#8 private key. // Required: true PrivateKey *string `json:"privateKey"` }
CreateMachineUserAccessKeyResponse Response object for a create machine user access key request.
swagger:model CreateMachineUserAccessKeyResponse
func (*CreateMachineUserAccessKeyResponse) ContextValidate ¶
func (m *CreateMachineUserAccessKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create machine user access key response based on the context it is used
func (*CreateMachineUserAccessKeyResponse) MarshalBinary ¶
func (m *CreateMachineUserAccessKeyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateMachineUserAccessKeyResponse) UnmarshalBinary ¶
func (m *CreateMachineUserAccessKeyResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateMachineUserRequest ¶
type CreateMachineUserRequest struct { // The name to use for the new machine user. The name must be an alpha numeric string, including '-' and '_', cannot start with '__' (double underscore) and cannot be longer than 128 characters. Only one machine user with this name can exist in an account at a given time. // Required: true MachineUserName *string `json:"machineUserName"` }
CreateMachineUserRequest Request object for create machine user request.
swagger:model CreateMachineUserRequest
func (*CreateMachineUserRequest) ContextValidate ¶
func (m *CreateMachineUserRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create machine user request based on context it is used
func (*CreateMachineUserRequest) MarshalBinary ¶
func (m *CreateMachineUserRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateMachineUserRequest) UnmarshalBinary ¶
func (m *CreateMachineUserRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateMachineUserResponse ¶
type CreateMachineUserResponse struct { // Information about the machine user. // Required: true MachineUser *MachineUser `json:"machineUser"` }
CreateMachineUserResponse Response object for create machine user request.
swagger:model CreateMachineUserResponse
func (*CreateMachineUserResponse) ContextValidate ¶
func (m *CreateMachineUserResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create machine user response based on the context it is used
func (*CreateMachineUserResponse) MarshalBinary ¶
func (m *CreateMachineUserResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateMachineUserResponse) UnmarshalBinary ¶
func (m *CreateMachineUserResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateSamlProviderRequest ¶
type CreateSamlProviderRequest struct { // Whether to enable SCIM on this SAML provider. System for Cross-domain Identity Management (SCIM) version 2.0 is a standard for automating the provisioning of user and group identity information from identity provider to CDP. It is not supported for Cloudera for Government. EnableScim bool `json:"enableScim,omitempty"` // Whether to generate users' workload username by email . The default is to generate workload usernames by identity provider user ID (SAML NameID). GenerateWorkloadUsernameByEmail bool `json:"generateWorkloadUsernameByEmail,omitempty"` // SAML metadata document XML file. Length of meta data document cannot be more than 200 KB (200,000 bytes). // Max Length: 200000 SamlMetadataDocument string `json:"samlMetadataDocument,omitempty"` // The name of SAML provider. The name must be unique, must have a maximum of 128 characters, and must contain only alphanumeric characters, "-" and "_". Names are are not case-sensitive. // Required: true SamlProviderName *string `json:"samlProviderName"` // Whether to sync group information for users federated with this SAML provider. Group membership can be passed using the https://cdp.cloudera.com/SAML/Attributes/groups SAML assertion. The default is to synchronize group membership. SyncGroupsOnLogin bool `json:"syncGroupsOnLogin,omitempty"` }
CreateSamlProviderRequest Request object for creating SAML provider request.
swagger:model CreateSamlProviderRequest
func (*CreateSamlProviderRequest) ContextValidate ¶
func (m *CreateSamlProviderRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create saml provider request based on context it is used
func (*CreateSamlProviderRequest) MarshalBinary ¶
func (m *CreateSamlProviderRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateSamlProviderRequest) UnmarshalBinary ¶
func (m *CreateSamlProviderRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateSamlProviderResponse ¶
type CreateSamlProviderResponse struct { // The SAML provider. // Required: true SamlProvider *SamlProvider `json:"samlProvider"` }
CreateSamlProviderResponse Response object for a creating SAML provider request.
swagger:model CreateSamlProviderResponse
func (*CreateSamlProviderResponse) ContextValidate ¶
func (m *CreateSamlProviderResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create saml provider response based on the context it is used
func (*CreateSamlProviderResponse) MarshalBinary ¶
func (m *CreateSamlProviderResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateSamlProviderResponse) UnmarshalBinary ¶
func (m *CreateSamlProviderResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateScimAccessTokenRequest ¶
type CreateScimAccessTokenRequest struct { // The lifetime, in days, of the access token. // Required: true // Minimum: 1 AccessTokenLifetimeDays *int32 `json:"accessTokenLifetimeDays"` // The name or CRN of the SCIM enabled identity provider. // Required: true IdentityProviderNameOrCrn *string `json:"identityProviderNameOrCrn"` }
CreateScimAccessTokenRequest Request object to create the SCIM access token.
swagger:model CreateScimAccessTokenRequest
func (*CreateScimAccessTokenRequest) ContextValidate ¶
func (m *CreateScimAccessTokenRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create scim access token request based on context it is used
func (*CreateScimAccessTokenRequest) MarshalBinary ¶
func (m *CreateScimAccessTokenRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateScimAccessTokenRequest) UnmarshalBinary ¶
func (m *CreateScimAccessTokenRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateScimAccessTokenResponse ¶
type CreateScimAccessTokenResponse struct { // The SCIM access token that was created. // Required: true AccessToken *ScimAccessToken `json:"accessToken"` // The SCIM access token secret. This secret could be used to authenticate requests sent to SCIM endpoints. // Required: true AccessTokenSecret *string `json:"accessTokenSecret"` }
CreateScimAccessTokenResponse Response object to create the SCIM access token.
swagger:model CreateScimAccessTokenResponse
func (*CreateScimAccessTokenResponse) ContextValidate ¶
func (m *CreateScimAccessTokenResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create scim access token response based on the context it is used
func (*CreateScimAccessTokenResponse) MarshalBinary ¶
func (m *CreateScimAccessTokenResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateScimAccessTokenResponse) UnmarshalBinary ¶
func (m *CreateScimAccessTokenResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateUserAccessKeyRequest ¶
type CreateUserAccessKeyRequest struct { // The version of an access key to create. Type AccessKeyType `json:"type,omitempty"` // The ID or CRN of the user to whom this access key will be associated. If it is not included, it defaults to the user making the request. User string `json:"user,omitempty"` }
CreateUserAccessKeyRequest Request object for a create user access key request.
swagger:model CreateUserAccessKeyRequest
func (*CreateUserAccessKeyRequest) ContextValidate ¶
func (m *CreateUserAccessKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create user access key request based on the context it is used
func (*CreateUserAccessKeyRequest) MarshalBinary ¶
func (m *CreateUserAccessKeyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateUserAccessKeyRequest) UnmarshalBinary ¶
func (m *CreateUserAccessKeyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateUserAccessKeyResponse ¶
type CreateUserAccessKeyResponse struct { // The access key that was created. // Required: true AccessKey *AccessKey `json:"accessKey"` // The private key associated with this access key. This string is the contents of a PEM file containing a PKCS#8 private key. // Required: true PrivateKey *string `json:"privateKey"` }
CreateUserAccessKeyResponse Response object for a create user access key request.
swagger:model CreateUserAccessKeyResponse
func (*CreateUserAccessKeyResponse) ContextValidate ¶
func (m *CreateUserAccessKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create user access key response based on the context it is used
func (*CreateUserAccessKeyResponse) MarshalBinary ¶
func (m *CreateUserAccessKeyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateUserAccessKeyResponse) UnmarshalBinary ¶
func (m *CreateUserAccessKeyResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateUserRequest ¶
type CreateUserRequest struct { // The email address for the user. Used for display purposes only. // Required: true Email *string `json:"email"` // The user first name. FirstName string `json:"firstName,omitempty"` // The list of groups the user belongs to. The groups will be created if they do not exist. There are certain restrictions on the group name. Refer to the How To > User Management section in the Management Console documentation for the details. Groups []string `json:"groups"` // The identity provider user id for the user. This ID must match the NameId attribute value that will be passed for the user in the SAML response using the associated SAML provider. // Required: true IdentityProviderUserID *string `json:"identityProviderUserId"` // The user last name. LastName string `json:"lastName,omitempty"` // The name or CRN of the SAML provider the user will use for login. SamlProviderName string `json:"samlProviderName,omitempty"` }
CreateUserRequest Request object for creating user request.
swagger:model CreateUserRequest
func (*CreateUserRequest) ContextValidate ¶
ContextValidate validates this create user request based on context it is used
func (*CreateUserRequest) MarshalBinary ¶
func (m *CreateUserRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateUserRequest) UnmarshalBinary ¶
func (m *CreateUserRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateUserResponse ¶
type CreateUserResponse struct { // Information about the user. // Required: true User *User `json:"user"` }
CreateUserResponse Response object for a create user request.
swagger:model CreateUserResponse
func (*CreateUserResponse) ContextValidate ¶
ContextValidate validate this create user response based on the context it is used
func (*CreateUserResponse) MarshalBinary ¶
func (m *CreateUserResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateUserResponse) UnmarshalBinary ¶
func (m *CreateUserResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteAccessKeyRequest ¶
type DeleteAccessKeyRequest struct { // The ID of the access key. // Required: true AccessKeyID *string `json:"accessKeyId"` }
DeleteAccessKeyRequest Request object for a delete access key request.
swagger:model DeleteAccessKeyRequest
func (*DeleteAccessKeyRequest) ContextValidate ¶
func (m *DeleteAccessKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete access key request based on context it is used
func (*DeleteAccessKeyRequest) MarshalBinary ¶
func (m *DeleteAccessKeyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteAccessKeyRequest) UnmarshalBinary ¶
func (m *DeleteAccessKeyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteAccessKeyResponse ¶
type DeleteAccessKeyResponse interface{}
DeleteAccessKeyResponse Response object for a delete access key request.
swagger:model DeleteAccessKeyResponse
type DeleteGroupRequest ¶
type DeleteGroupRequest struct { // The name or CRN of the group to delete. // Required: true GroupName *string `json:"groupName"` }
DeleteGroupRequest Request object for delete group request.
swagger:model DeleteGroupRequest
func (*DeleteGroupRequest) ContextValidate ¶
ContextValidate validates this delete group request based on context it is used
func (*DeleteGroupRequest) MarshalBinary ¶
func (m *DeleteGroupRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteGroupRequest) UnmarshalBinary ¶
func (m *DeleteGroupRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteGroupResponse ¶
type DeleteGroupResponse interface{}
DeleteGroupResponse Response object for delete group request.
swagger:model DeleteGroupResponse
type DeleteMachineUserRequest ¶
type DeleteMachineUserRequest struct { // The name or CRN of the machine user to delete. // Required: true MachineUserName *string `json:"machineUserName"` }
DeleteMachineUserRequest Request object for delete machine user request.
swagger:model DeleteMachineUserRequest
func (*DeleteMachineUserRequest) ContextValidate ¶
func (m *DeleteMachineUserRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete machine user request based on context it is used
func (*DeleteMachineUserRequest) MarshalBinary ¶
func (m *DeleteMachineUserRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteMachineUserRequest) UnmarshalBinary ¶
func (m *DeleteMachineUserRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteMachineUserResponse ¶
type DeleteMachineUserResponse struct { // The list of associated access key CRNs that were deleted. // Required: true AccessKeysDeleted []string `json:"accessKeysDeleted"` // The list of group CRNs from which the machine user has been removed. // Required: true GroupsModified []string `json:"groupsModified"` // The list of resource role assignments that have been unassigned from the machine user. // Required: true ResourcesUnassigned []*ResourceAssignment `json:"resourcesUnassigned"` // The list of role CRNs unassigned from the machine user. // Required: true RolesUnassigned []string `json:"rolesUnassigned"` }
DeleteMachineUserResponse Response object for delete machine user request.
swagger:model DeleteMachineUserResponse
func (*DeleteMachineUserResponse) ContextValidate ¶
func (m *DeleteMachineUserResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this delete machine user response based on the context it is used
func (*DeleteMachineUserResponse) MarshalBinary ¶
func (m *DeleteMachineUserResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteMachineUserResponse) UnmarshalBinary ¶
func (m *DeleteMachineUserResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteSSHPublicKeyRequest ¶
type DeleteSSHPublicKeyRequest struct { // The CRN of the user or machine user that the SSH public key belongs to. If it is not included, it defaults to the actor making the request. ActorCrn string `json:"actorCrn,omitempty"` // The SSH public key CRN or the keys SHA256 fingerprint to remove. // Required: true CrnOrFingerprint *string `json:"crnOrFingerprint"` }
DeleteSSHPublicKeyRequest Request object for delete SSH public key.
swagger:model DeleteSshPublicKeyRequest
func (*DeleteSSHPublicKeyRequest) ContextValidate ¶
func (m *DeleteSSHPublicKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete Ssh public key request based on context it is used
func (*DeleteSSHPublicKeyRequest) MarshalBinary ¶
func (m *DeleteSSHPublicKeyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteSSHPublicKeyRequest) UnmarshalBinary ¶
func (m *DeleteSSHPublicKeyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteSSHPublicKeyResponse ¶
type DeleteSSHPublicKeyResponse interface{}
DeleteSSHPublicKeyResponse Response object for delete SSH public key.
swagger:model DeleteSshPublicKeyResponse
type DeleteSamlProviderRequest ¶
type DeleteSamlProviderRequest struct { // The name or CRN of the SAML provider to delete. // Required: true SamlProviderName *string `json:"samlProviderName"` }
DeleteSamlProviderRequest Request object for deleting SAML provider request.
swagger:model DeleteSamlProviderRequest
func (*DeleteSamlProviderRequest) ContextValidate ¶
func (m *DeleteSamlProviderRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete saml provider request based on context it is used
func (*DeleteSamlProviderRequest) MarshalBinary ¶
func (m *DeleteSamlProviderRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteSamlProviderRequest) UnmarshalBinary ¶
func (m *DeleteSamlProviderRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteSamlProviderResponse ¶
type DeleteSamlProviderResponse interface{}
DeleteSamlProviderResponse Response object for delete SAML provider request.
swagger:model DeleteSamlProviderResponse
type DeleteScimAccessTokenRequest ¶
type DeleteScimAccessTokenRequest struct { // The ID or CRN of the SCIM access token. // Required: true AccessTokenIDOrCrn *string `json:"accessTokenIdOrCrn"` }
DeleteScimAccessTokenRequest Request object to delete the SCIM access token.
swagger:model DeleteScimAccessTokenRequest
func (*DeleteScimAccessTokenRequest) ContextValidate ¶
func (m *DeleteScimAccessTokenRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this delete scim access token request based on context it is used
func (*DeleteScimAccessTokenRequest) MarshalBinary ¶
func (m *DeleteScimAccessTokenRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteScimAccessTokenRequest) UnmarshalBinary ¶
func (m *DeleteScimAccessTokenRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteScimAccessTokenResponse ¶
type DeleteScimAccessTokenResponse interface{}
DeleteScimAccessTokenResponse Response object to delete the SCIM access token.
swagger:model DeleteScimAccessTokenResponse
type DeleteUserRequest ¶
type DeleteUserRequest struct { // The ID or CRN of the user to delete. // Required: true UserID *string `json:"userId"` }
DeleteUserRequest Request object to delete a user.
swagger:model DeleteUserRequest
func (*DeleteUserRequest) ContextValidate ¶
ContextValidate validates this delete user request based on context it is used
func (*DeleteUserRequest) MarshalBinary ¶
func (m *DeleteUserRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteUserRequest) UnmarshalBinary ¶
func (m *DeleteUserRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteUserResponse ¶
type DeleteUserResponse struct { // The list of associated access key CRNs that were deleted. // Required: true AccessKeysDeleted []string `json:"accessKeysDeleted"` // The list of group CRNs from which the user has been removed. // Required: true GroupsModified []string `json:"groupsModified"` // The list of resource role assignments that have been unassigned from the user. // Required: true ResourcesUnassigned []*ResourceAssignment `json:"resourcesUnassigned"` // The list of role CRNs unassigned from the user. // Required: true RolesUnassigned []string `json:"rolesUnassigned"` }
DeleteUserResponse Response object to delete a user.
swagger:model DeleteUserResponse
func (*DeleteUserResponse) ContextValidate ¶
ContextValidate validate this delete user response based on the context it is used
func (*DeleteUserResponse) MarshalBinary ¶
func (m *DeleteUserResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteUserResponse) UnmarshalBinary ¶
func (m *DeleteUserResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DescribeSSHPublicKeyRequest ¶
type DescribeSSHPublicKeyRequest struct { // The CRN of the user or machine user that the SSH public key belongs to. If it is not included, it defaults to the actor making the request. ActorCrn string `json:"actorCrn,omitempty"` // The SSH public key CRN or its SHA256 fingerprint. // Required: true CrnOrFingerprint *string `json:"crnOrFingerprint"` }
DescribeSSHPublicKeyRequest Request object for describe SSH public key.
swagger:model DescribeSshPublicKeyRequest
func (*DescribeSSHPublicKeyRequest) ContextValidate ¶
func (m *DescribeSSHPublicKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this describe Ssh public key request based on context it is used
func (*DescribeSSHPublicKeyRequest) MarshalBinary ¶
func (m *DescribeSSHPublicKeyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DescribeSSHPublicKeyRequest) UnmarshalBinary ¶
func (m *DescribeSSHPublicKeyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DescribeSSHPublicKeyResponse ¶
type DescribeSSHPublicKeyResponse struct { // Information about the SSH public key. // Required: true SSHPublicKey *SSHPublicKey `json:"sshPublicKey"` }
DescribeSSHPublicKeyResponse Response object for describe user SSH public key.
swagger:model DescribeSshPublicKeyResponse
func (*DescribeSSHPublicKeyResponse) ContextValidate ¶
func (m *DescribeSSHPublicKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this describe Ssh public key response based on the context it is used
func (*DescribeSSHPublicKeyResponse) MarshalBinary ¶
func (m *DescribeSSHPublicKeyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DescribeSSHPublicKeyResponse) UnmarshalBinary ¶
func (m *DescribeSSHPublicKeyResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DescribeSamlProviderRequest ¶
type DescribeSamlProviderRequest struct { // The name or CRN of the SAML provider to describe. // Required: true SamlProviderName *string `json:"samlProviderName"` }
DescribeSamlProviderRequest Request object for a describe SAML provider request.
swagger:model DescribeSamlProviderRequest
func (*DescribeSamlProviderRequest) ContextValidate ¶
func (m *DescribeSamlProviderRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this describe saml provider request based on context it is used
func (*DescribeSamlProviderRequest) MarshalBinary ¶
func (m *DescribeSamlProviderRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DescribeSamlProviderRequest) UnmarshalBinary ¶
func (m *DescribeSamlProviderRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DescribeSamlProviderResponse ¶
type DescribeSamlProviderResponse struct { // The SAML provider. // Required: true SamlProvider *SamlProvider `json:"samlProvider"` }
DescribeSamlProviderResponse Response object for a describe SAML request.
swagger:model DescribeSamlProviderResponse
func (*DescribeSamlProviderResponse) ContextValidate ¶
func (m *DescribeSamlProviderResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this describe saml provider response based on the context it is used
func (*DescribeSamlProviderResponse) MarshalBinary ¶
func (m *DescribeSamlProviderResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DescribeSamlProviderResponse) UnmarshalBinary ¶
func (m *DescribeSamlProviderResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DisableClouderaSSOLoginRequest ¶
type DisableClouderaSSOLoginRequest interface{}
DisableClouderaSSOLoginRequest Request object for a disable Cloudera SSO login request.
swagger:model DisableClouderaSSOLoginRequest
type DisableClouderaSSOLoginResponse ¶
type DisableClouderaSSOLoginResponse interface{}
DisableClouderaSSOLoginResponse Response object for a disable Cloudera SSO login request.
swagger:model DisableClouderaSSOLoginResponse
type EnableClouderaSSOLoginRequest ¶
type EnableClouderaSSOLoginRequest interface{}
EnableClouderaSSOLoginRequest Request object for an enable Cloudera SSO login request.
swagger:model EnableClouderaSSOLoginRequest
type EnableClouderaSSOLoginResponse ¶
type EnableClouderaSSOLoginResponse interface{}
EnableClouderaSSOLoginResponse Response object for an enable Cloudera SSO login request.
swagger:model EnableClouderaSSOLoginResponse
type Error ¶
type Error struct { // The error code. Code string `json:"code,omitempty"` // The error message. Message string `json:"message,omitempty"` }
Error An object returned on an error.
swagger:model Error
func (*Error) ContextValidate ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type GenerateWorkloadAuthTokenRequest ¶
type GenerateWorkloadAuthTokenRequest struct { // The environment CRN, required by DF. EnvironmentCrn string `json:"environmentCrn,omitempty"` // The workload name // Required: true WorkloadName *WorkloadName `json:"workloadName"` }
GenerateWorkloadAuthTokenRequest Request object for GenerateWorkloadAuthToken method.
swagger:model GenerateWorkloadAuthTokenRequest
func (*GenerateWorkloadAuthTokenRequest) ContextValidate ¶
func (m *GenerateWorkloadAuthTokenRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this generate workload auth token request based on the context it is used
func (*GenerateWorkloadAuthTokenRequest) MarshalBinary ¶
func (m *GenerateWorkloadAuthTokenRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GenerateWorkloadAuthTokenRequest) UnmarshalBinary ¶
func (m *GenerateWorkloadAuthTokenRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GenerateWorkloadAuthTokenResponse ¶
type GenerateWorkloadAuthTokenResponse struct { // The workload endpoint URL EndpointURL string `json:"endpointUrl,omitempty"` // When the information should expire // Format: date-time ExpireAt strfmt.DateTime `json:"expireAt,omitempty"` // The authentication token Token string `json:"token,omitempty"` }
GenerateWorkloadAuthTokenResponse Response object for GenerateWorkloadAuthToken method.
swagger:model GenerateWorkloadAuthTokenResponse
func (*GenerateWorkloadAuthTokenResponse) ContextValidate ¶
func (m *GenerateWorkloadAuthTokenResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this generate workload auth token response based on context it is used
func (*GenerateWorkloadAuthTokenResponse) MarshalBinary ¶
func (m *GenerateWorkloadAuthTokenResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GenerateWorkloadAuthTokenResponse) UnmarshalBinary ¶
func (m *GenerateWorkloadAuthTokenResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAccessKeyRequest ¶
type GetAccessKeyRequest struct { // The ID of the access key to get information about. If it is not included, it defaults to the access key used to make the request. AccessKeyID string `json:"accessKeyId,omitempty"` }
GetAccessKeyRequest Request object for a get access key request.
swagger:model GetAccessKeyRequest
func (*GetAccessKeyRequest) ContextValidate ¶
ContextValidate validates this get access key request based on context it is used
func (*GetAccessKeyRequest) MarshalBinary ¶
func (m *GetAccessKeyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAccessKeyRequest) UnmarshalBinary ¶
func (m *GetAccessKeyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAccessKeyResponse ¶
type GetAccessKeyResponse struct { // Information about the access key. // Required: true AccessKey *AccessKey `json:"accessKey"` }
GetAccessKeyResponse Response object for a get access key request.
swagger:model GetAccessKeyResponse
func (*GetAccessKeyResponse) ContextValidate ¶
ContextValidate validate this get access key response based on the context it is used
func (*GetAccessKeyResponse) MarshalBinary ¶
func (m *GetAccessKeyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAccessKeyResponse) UnmarshalBinary ¶
func (m *GetAccessKeyResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAccountMessagesRequest ¶
type GetAccountMessagesRequest interface{}
GetAccountMessagesRequest Request object for get account messages.
swagger:model GetAccountMessagesRequest
type GetAccountMessagesResponse ¶
type GetAccountMessagesResponse struct { // Message shown to user when user does not have sufficient rights. ContactYourAdministratorMessage string `json:"contactYourAdministratorMessage,omitempty"` }
GetAccountMessagesResponse Response object for get account messages.
swagger:model GetAccountMessagesResponse
func (*GetAccountMessagesResponse) ContextValidate ¶
func (m *GetAccountMessagesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get account messages response based on context it is used
func (*GetAccountMessagesResponse) MarshalBinary ¶
func (m *GetAccountMessagesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAccountMessagesResponse) UnmarshalBinary ¶
func (m *GetAccountMessagesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetAccountRequest ¶
type GetAccountRequest interface{}
GetAccountRequest Request object for a get account request.
swagger:model GetAccountRequest
type GetAccountResponse ¶
type GetAccountResponse struct { // The account object. // Required: true Account *Account `json:"account"` }
GetAccountResponse Response object for a get account response.
swagger:model GetAccountResponse
func (*GetAccountResponse) ContextValidate ¶
ContextValidate validate this get account response based on the context it is used
func (*GetAccountResponse) MarshalBinary ¶
func (m *GetAccountResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAccountResponse) UnmarshalBinary ¶
func (m *GetAccountResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDefaultIdentityProviderRequest ¶ added in v0.4.2
type GetDefaultIdentityProviderRequest interface{}
GetDefaultIdentityProviderRequest Request object to get the default identity provider.
swagger:model GetDefaultIdentityProviderRequest
type GetDefaultIdentityProviderResponse ¶ added in v0.4.2
type GetDefaultIdentityProviderResponse struct { // The CRN of the identity provider used for CDP initiated login requests. The CRN could be a user defined identity provider's CRN or one of the CDP built-ins (like Cloudera SSO). To retrieve more information about your own user-defined saml providers (or other provider types, not the default ones) call the relevant describeXXXProvider, e.g. for SAML providers call describeSamlProvider. // Required: true Crn *string `json:"crn"` }
GetDefaultIdentityProviderResponse Response object to get the default identity provider.
swagger:model GetDefaultIdentityProviderResponse
func (*GetDefaultIdentityProviderResponse) ContextValidate ¶ added in v0.4.2
func (m *GetDefaultIdentityProviderResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get default identity provider response based on context it is used
func (*GetDefaultIdentityProviderResponse) MarshalBinary ¶ added in v0.4.2
func (m *GetDefaultIdentityProviderResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDefaultIdentityProviderResponse) UnmarshalBinary ¶ added in v0.4.2
func (m *GetDefaultIdentityProviderResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetUserRequest ¶
type GetUserRequest struct { // The ID of the user to get information about. If it is not included, it defaults to the user making the request. UserID string `json:"userId,omitempty"` }
GetUserRequest Request object for a get user request.
swagger:model GetUserRequest
func (*GetUserRequest) ContextValidate ¶
ContextValidate validates this get user request based on context it is used
func (*GetUserRequest) MarshalBinary ¶
func (m *GetUserRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetUserRequest) UnmarshalBinary ¶
func (m *GetUserRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetUserResponse ¶
type GetUserResponse struct { // Information about the user. // Required: true User *User `json:"user"` }
GetUserResponse Response object for a get user request.
swagger:model GetUserResponse
func (*GetUserResponse) ContextValidate ¶
ContextValidate validate this get user response based on the context it is used
func (*GetUserResponse) MarshalBinary ¶
func (m *GetUserResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetUserResponse) UnmarshalBinary ¶
func (m *GetUserResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Group ¶
type Group struct { // The list of Azure cloud identities assigned to the group. AzureCloudIdentities []*AzureCloudIdentity `json:"azureCloudIdentities"` // The date when this group record was created. // Required: true // Format: date-time CreationDate *strfmt.DateTime `json:"creationDate"` // The CRN of the group. // Required: true Crn *string `json:"crn"` // The group name. // Required: true GroupName *string `json:"groupName"` // Whether group membership is synced when a user logs in. The default is to sync group membership. SyncMembershipOnUserLogin bool `json:"syncMembershipOnUserLogin,omitempty"` }
Group Information about a group.
swagger:model Group
func (*Group) ContextValidate ¶
ContextValidate validate this group based on the context it is used
func (*Group) MarshalBinary ¶
MarshalBinary interface implementation
func (*Group) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ListAccessKeysRequest ¶
type ListAccessKeysRequest struct { // The access key IDs or CRNs of the access keys. AccessKeyIds []string `json:"accessKeyIds"` // The size of each page. // Maximum: 500 // Minimum: 1 PageSize int32 `json:"pageSize,omitempty"` // A token to specify where to start paginating. This is the nextToken from a previously truncated response. StartingToken string `json:"startingToken,omitempty"` }
ListAccessKeysRequest Request object for a list access keys request.
swagger:model ListAccessKeysRequest
func (*ListAccessKeysRequest) ContextValidate ¶
ContextValidate validates this list access keys request based on context it is used
func (*ListAccessKeysRequest) MarshalBinary ¶
func (m *ListAccessKeysRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListAccessKeysRequest) UnmarshalBinary ¶
func (m *ListAccessKeysRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListAccessKeysResponse ¶
type ListAccessKeysResponse struct { // The access keys. // Required: true AccessKeys []*AccessKey `json:"accessKeys"` // The token to use when requesting the next set of results. If not present, there are no additional results. NextToken string `json:"nextToken,omitempty"` }
ListAccessKeysResponse Response object for a list access keys request.
swagger:model ListAccessKeysResponse
func (*ListAccessKeysResponse) ContextValidate ¶
func (m *ListAccessKeysResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list access keys response based on the context it is used
func (*ListAccessKeysResponse) MarshalBinary ¶
func (m *ListAccessKeysResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListAccessKeysResponse) UnmarshalBinary ¶
func (m *ListAccessKeysResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListGroupAssignedResourceRolesRequest ¶
type ListGroupAssignedResourceRolesRequest struct { // The group to list the assigned resource roles for. Can be the group's name or CRN. // Required: true GroupName *string `json:"groupName"` // The size of each page. // Maximum: 100 // Minimum: 1 PageSize int32 `json:"pageSize,omitempty"` // A token to specify where to start paginating. This is the nextToken from a previously truncated response. StartingToken string `json:"startingToken,omitempty"` }
ListGroupAssignedResourceRolesRequest Request object for a list group assigned resource roles request.
swagger:model ListGroupAssignedResourceRolesRequest
func (*ListGroupAssignedResourceRolesRequest) ContextValidate ¶
func (m *ListGroupAssignedResourceRolesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list group assigned resource roles request based on context it is used
func (*ListGroupAssignedResourceRolesRequest) MarshalBinary ¶
func (m *ListGroupAssignedResourceRolesRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListGroupAssignedResourceRolesRequest) UnmarshalBinary ¶
func (m *ListGroupAssignedResourceRolesRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListGroupAssignedResourceRolesResponse ¶
type ListGroupAssignedResourceRolesResponse struct { // The token to use when requesting the next set of results. If not present, there are no additional results. NextToken string `json:"nextToken,omitempty"` // The group's resource assignments. // Required: true ResourceAssignments []*ResourceAssignment `json:"resourceAssignments"` }
ListGroupAssignedResourceRolesResponse Response object for a list group assigned resource roles request.
swagger:model ListGroupAssignedResourceRolesResponse
func (*ListGroupAssignedResourceRolesResponse) ContextValidate ¶
func (m *ListGroupAssignedResourceRolesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list group assigned resource roles response based on the context it is used
func (*ListGroupAssignedResourceRolesResponse) MarshalBinary ¶
func (m *ListGroupAssignedResourceRolesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListGroupAssignedResourceRolesResponse) UnmarshalBinary ¶
func (m *ListGroupAssignedResourceRolesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListGroupAssignedRolesRequest ¶
type ListGroupAssignedRolesRequest struct { // The group to list the assigned roles for. Can be the group's name or CRN. // Required: true GroupName *string `json:"groupName"` // The size of each page. // Maximum: 100 // Minimum: 1 PageSize int32 `json:"pageSize,omitempty"` // A token to specify where to start paginating. This is the nextToken from a previously truncated response. StartingToken string `json:"startingToken,omitempty"` }
ListGroupAssignedRolesRequest Request object for a list group assigned roles request.
swagger:model ListGroupAssignedRolesRequest
func (*ListGroupAssignedRolesRequest) ContextValidate ¶
func (m *ListGroupAssignedRolesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list group assigned roles request based on context it is used
func (*ListGroupAssignedRolesRequest) MarshalBinary ¶
func (m *ListGroupAssignedRolesRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListGroupAssignedRolesRequest) UnmarshalBinary ¶
func (m *ListGroupAssignedRolesRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListGroupAssignedRolesResponse ¶
type ListGroupAssignedRolesResponse struct { // The token to use when requesting the next set of results. If not present, there are no additional results. NextToken string `json:"nextToken,omitempty"` // The role CRNs assigned to the group. // Required: true RoleCrns []string `json:"roleCrns"` }
ListGroupAssignedRolesResponse Response object for a list group assigned roles request.
swagger:model ListGroupAssignedRolesResponse
func (*ListGroupAssignedRolesResponse) ContextValidate ¶
func (m *ListGroupAssignedRolesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list group assigned roles response based on context it is used
func (*ListGroupAssignedRolesResponse) MarshalBinary ¶
func (m *ListGroupAssignedRolesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListGroupAssignedRolesResponse) UnmarshalBinary ¶
func (m *ListGroupAssignedRolesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListGroupMembersRequest ¶
type ListGroupMembersRequest struct { // The name or CRN of the group to list the membership of. // Required: true GroupName *string `json:"groupName"` // The size of each page. // Maximum: 100 // Minimum: 1 PageSize int32 `json:"pageSize,omitempty"` // A token to specify where to start paginating. This is the nextToken from a previously truncated response. StartingToken string `json:"startingToken,omitempty"` }
ListGroupMembersRequest Request object for a list group members request.
swagger:model ListGroupMembersRequest
func (*ListGroupMembersRequest) ContextValidate ¶
func (m *ListGroupMembersRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list group members request based on context it is used
func (*ListGroupMembersRequest) MarshalBinary ¶
func (m *ListGroupMembersRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListGroupMembersRequest) UnmarshalBinary ¶
func (m *ListGroupMembersRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListGroupMembersResponse ¶
type ListGroupMembersResponse struct { // The list of group members. // Required: true MemberCrns []string `json:"memberCrns"` // The token to use when requesting the next set of results. If not present, there are no additional results. NextToken string `json:"nextToken,omitempty"` }
ListGroupMembersResponse Response object for a list group members request.
swagger:model ListGroupMembersResponse
func (*ListGroupMembersResponse) ContextValidate ¶
func (m *ListGroupMembersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list group members response based on context it is used
func (*ListGroupMembersResponse) MarshalBinary ¶
func (m *ListGroupMembersResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListGroupMembersResponse) UnmarshalBinary ¶
func (m *ListGroupMembersResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListGroupsForMachineUserRequest ¶
type ListGroupsForMachineUserRequest struct { // The name or CRN of the machine user to list the groups of. // Required: true MachineUserName *string `json:"machineUserName"` // The size of each page. // Maximum: 100 // Minimum: 1 PageSize int32 `json:"pageSize,omitempty"` // A token to specify where to start paginating. This is the nextToken from a previously truncated response. StartingToken string `json:"startingToken,omitempty"` }
ListGroupsForMachineUserRequest Request object for a list groups for machine user request.
swagger:model ListGroupsForMachineUserRequest
func (*ListGroupsForMachineUserRequest) ContextValidate ¶
func (m *ListGroupsForMachineUserRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list groups for machine user request based on context it is used
func (*ListGroupsForMachineUserRequest) MarshalBinary ¶
func (m *ListGroupsForMachineUserRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListGroupsForMachineUserRequest) UnmarshalBinary ¶
func (m *ListGroupsForMachineUserRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListGroupsForMachineUserResponse ¶
type ListGroupsForMachineUserResponse struct { // The list of groups. // Required: true GroupCrns []string `json:"groupCrns"` // The token to use when requesting the next set of results. If not present, there are no additional results. NextToken string `json:"nextToken,omitempty"` }
ListGroupsForMachineUserResponse Response object for a list groups for machine user request.
swagger:model ListGroupsForMachineUserResponse
func (*ListGroupsForMachineUserResponse) ContextValidate ¶
func (m *ListGroupsForMachineUserResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list groups for machine user response based on context it is used
func (*ListGroupsForMachineUserResponse) MarshalBinary ¶
func (m *ListGroupsForMachineUserResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListGroupsForMachineUserResponse) UnmarshalBinary ¶
func (m *ListGroupsForMachineUserResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListGroupsForUserRequest ¶
type ListGroupsForUserRequest struct { // The size of each page. // Maximum: 100 // Minimum: 1 PageSize int32 `json:"pageSize,omitempty"` // A token to specify where to start paginating. This is the nextToken from a previously truncated response. StartingToken string `json:"startingToken,omitempty"` // The ID or CRN of the user to list the groups of. // Required: true UserID *string `json:"userId"` }
ListGroupsForUserRequest Request object for a list groups for user request.
swagger:model ListGroupsForUserRequest
func (*ListGroupsForUserRequest) ContextValidate ¶
func (m *ListGroupsForUserRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list groups for user request based on context it is used
func (*ListGroupsForUserRequest) MarshalBinary ¶
func (m *ListGroupsForUserRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListGroupsForUserRequest) UnmarshalBinary ¶
func (m *ListGroupsForUserRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListGroupsForUserResponse ¶
type ListGroupsForUserResponse struct { // The list of groups. // Required: true GroupCrns []string `json:"groupCrns"` // The token to use when requesting the next set of results. If not present, there are no additional results. NextToken string `json:"nextToken,omitempty"` }
ListGroupsForUserResponse Response object for a list groups for user request.
swagger:model ListGroupsForUserResponse
func (*ListGroupsForUserResponse) ContextValidate ¶
func (m *ListGroupsForUserResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list groups for user response based on context it is used
func (*ListGroupsForUserResponse) MarshalBinary ¶
func (m *ListGroupsForUserResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListGroupsForUserResponse) UnmarshalBinary ¶
func (m *ListGroupsForUserResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListGroupsRequest ¶
type ListGroupsRequest struct { // The group names or CRNs of the groups. If not provided, all groups in the account are retrieved. GroupNames []string `json:"groupNames"` // The size of each page. // Maximum: 100 // Minimum: 1 PageSize int32 `json:"pageSize,omitempty"` // A token to specify where to start paginating. This is the nextToken from a previously truncated response. StartingToken string `json:"startingToken,omitempty"` }
ListGroupsRequest Request object for a list groups request.
swagger:model ListGroupsRequest
func (*ListGroupsRequest) ContextValidate ¶
ContextValidate validates this list groups request based on context it is used
func (*ListGroupsRequest) MarshalBinary ¶
func (m *ListGroupsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListGroupsRequest) UnmarshalBinary ¶
func (m *ListGroupsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListGroupsResponse ¶
type ListGroupsResponse struct { // The list of groups. // Required: true Groups []*Group `json:"groups"` // The token to use when requesting the next set of results. If not present, there are no additional results. NextToken string `json:"nextToken,omitempty"` }
ListGroupsResponse Response object for a list groups request.
swagger:model ListGroupsResponse
func (*ListGroupsResponse) ContextValidate ¶
ContextValidate validate this list groups response based on the context it is used
func (*ListGroupsResponse) MarshalBinary ¶
func (m *ListGroupsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListGroupsResponse) UnmarshalBinary ¶
func (m *ListGroupsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListMachineUserAssignedResourceRolesRequest ¶
type ListMachineUserAssignedResourceRolesRequest struct { // The machine user to list the assigned resource roles for. Can be the machine user's name or CRN. // Required: true MachineUserName *string `json:"machineUserName"` // The size of each page. // Maximum: 100 // Minimum: 1 PageSize int32 `json:"pageSize,omitempty"` // A token to specify where to start paginating. This is the nextToken from a previously truncated response. StartingToken string `json:"startingToken,omitempty"` }
ListMachineUserAssignedResourceRolesRequest Request object for a list machine user assigned resource roles request.
swagger:model ListMachineUserAssignedResourceRolesRequest
func (*ListMachineUserAssignedResourceRolesRequest) ContextValidate ¶
func (m *ListMachineUserAssignedResourceRolesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list machine user assigned resource roles request based on context it is used
func (*ListMachineUserAssignedResourceRolesRequest) MarshalBinary ¶
func (m *ListMachineUserAssignedResourceRolesRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListMachineUserAssignedResourceRolesRequest) UnmarshalBinary ¶
func (m *ListMachineUserAssignedResourceRolesRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListMachineUserAssignedResourceRolesResponse ¶
type ListMachineUserAssignedResourceRolesResponse struct { // The token to use when requesting the next set of results. If not present, there are no additional results. NextToken string `json:"nextToken,omitempty"` // The user's resource assignments. // Required: true ResourceAssignments []*ResourceAssignment `json:"resourceAssignments"` }
ListMachineUserAssignedResourceRolesResponse Response object for a list machine user assigned roles request.
swagger:model ListMachineUserAssignedResourceRolesResponse
func (*ListMachineUserAssignedResourceRolesResponse) ContextValidate ¶
func (m *ListMachineUserAssignedResourceRolesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list machine user assigned resource roles response based on the context it is used
func (*ListMachineUserAssignedResourceRolesResponse) MarshalBinary ¶
func (m *ListMachineUserAssignedResourceRolesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListMachineUserAssignedResourceRolesResponse) UnmarshalBinary ¶
func (m *ListMachineUserAssignedResourceRolesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListMachineUserAssignedRolesRequest ¶
type ListMachineUserAssignedRolesRequest struct { // The machine user to list the assigned roles for. Can be the machine user's name or CRN. // Required: true MachineUserName *string `json:"machineUserName"` // The size of each page. // Maximum: 100 // Minimum: 1 PageSize int32 `json:"pageSize,omitempty"` // A token to specify where to start paginating. This is the nextToken from a previously truncated response. StartingToken string `json:"startingToken,omitempty"` }
ListMachineUserAssignedRolesRequest Request object for a list machine user assigned roles request.
swagger:model ListMachineUserAssignedRolesRequest
func (*ListMachineUserAssignedRolesRequest) ContextValidate ¶
func (m *ListMachineUserAssignedRolesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list machine user assigned roles request based on context it is used
func (*ListMachineUserAssignedRolesRequest) MarshalBinary ¶
func (m *ListMachineUserAssignedRolesRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListMachineUserAssignedRolesRequest) UnmarshalBinary ¶
func (m *ListMachineUserAssignedRolesRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListMachineUserAssignedRolesResponse ¶
type ListMachineUserAssignedRolesResponse struct { // The token to use when requesting the next set of results. If not present, there are no additional results. NextToken string `json:"nextToken,omitempty"` // The role CRNs assigned to the user. // Required: true RoleCrns []string `json:"roleCrns"` }
ListMachineUserAssignedRolesResponse Response object for a list machine user assigned roles request.
swagger:model ListMachineUserAssignedRolesResponse
func (*ListMachineUserAssignedRolesResponse) ContextValidate ¶
func (m *ListMachineUserAssignedRolesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list machine user assigned roles response based on context it is used
func (*ListMachineUserAssignedRolesResponse) MarshalBinary ¶
func (m *ListMachineUserAssignedRolesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListMachineUserAssignedRolesResponse) UnmarshalBinary ¶
func (m *ListMachineUserAssignedRolesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListMachineUsersRequest ¶
type ListMachineUsersRequest struct { // The names or the CRNs of the machine users. If not provided all machine users for the account are retrieved. MachineUserNames []string `json:"machineUserNames"` // The size of each page. // Maximum: 100 // Minimum: 1 PageSize int32 `json:"pageSize,omitempty"` // A token to specify where to start paginating. This is the nextToken from a previously truncated response. StartingToken string `json:"startingToken,omitempty"` }
ListMachineUsersRequest Request object for a list machine users request.
swagger:model ListMachineUsersRequest
func (*ListMachineUsersRequest) ContextValidate ¶
func (m *ListMachineUsersRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list machine users request based on context it is used
func (*ListMachineUsersRequest) MarshalBinary ¶
func (m *ListMachineUsersRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListMachineUsersRequest) UnmarshalBinary ¶
func (m *ListMachineUsersRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListMachineUsersResponse ¶
type ListMachineUsersResponse struct { // The machine users. // Required: true MachineUsers []*MachineUser `json:"machineUsers"` // The token to use when requesting the next set of results. If not present, there are no additional results. NextToken string `json:"nextToken,omitempty"` }
ListMachineUsersResponse Response object for a list machine users request.
swagger:model ListMachineUsersResponse
func (*ListMachineUsersResponse) ContextValidate ¶
func (m *ListMachineUsersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list machine users response based on the context it is used
func (*ListMachineUsersResponse) MarshalBinary ¶
func (m *ListMachineUsersResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListMachineUsersResponse) UnmarshalBinary ¶
func (m *ListMachineUsersResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListResourceAssigneesRequest ¶
type ListResourceAssigneesRequest struct { // The size of each page. // Maximum: 100 // Minimum: 1 PageSize int32 `json:"pageSize,omitempty"` // The resource CRN for which to list the assignees. // Required: true ResourceCrn *string `json:"resourceCrn"` // A token to specify where to start paginating. This is the nextToken from a previously truncated response. StartingToken string `json:"startingToken,omitempty"` }
ListResourceAssigneesRequest Request object for a list resource assignees request.
swagger:model ListResourceAssigneesRequest
func (*ListResourceAssigneesRequest) ContextValidate ¶
func (m *ListResourceAssigneesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list resource assignees request based on context it is used
func (*ListResourceAssigneesRequest) MarshalBinary ¶
func (m *ListResourceAssigneesRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListResourceAssigneesRequest) UnmarshalBinary ¶
func (m *ListResourceAssigneesRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListResourceAssigneesResponse ¶
type ListResourceAssigneesResponse struct { // The token to use when requesting the next set of results. If not present, there are no additional results. NextToken string `json:"nextToken,omitempty"` // List of resource assignees and their respective resource roles for the resource. // Required: true ResourceAssignees []*ResourceAssignee `json:"resourceAssignees"` }
ListResourceAssigneesResponse Response object for a list resource assignees request.
swagger:model ListResourceAssigneesResponse
func (*ListResourceAssigneesResponse) ContextValidate ¶
func (m *ListResourceAssigneesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list resource assignees response based on the context it is used
func (*ListResourceAssigneesResponse) MarshalBinary ¶
func (m *ListResourceAssigneesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListResourceAssigneesResponse) UnmarshalBinary ¶
func (m *ListResourceAssigneesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListResourceRolesRequest ¶
type ListResourceRolesRequest struct { // The size of each page. // Maximum: 100 // Minimum: 1 PageSize int32 `json:"pageSize,omitempty"` // The resource roles CRNs to retrieve. If empty all resource roles will be returned. ResourceRoleNames []string `json:"resourceRoleNames"` // A token to specify where to start paginating. This is the nextToken from a previously truncated response. StartingToken string `json:"startingToken,omitempty"` }
ListResourceRolesRequest Request object for a list resource roles request.
swagger:model ListResourceRolesRequest
func (*ListResourceRolesRequest) ContextValidate ¶
func (m *ListResourceRolesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list resource roles request based on context it is used
func (*ListResourceRolesRequest) MarshalBinary ¶
func (m *ListResourceRolesRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListResourceRolesRequest) UnmarshalBinary ¶
func (m *ListResourceRolesRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListResourceRolesResponse ¶
type ListResourceRolesResponse struct { // The token to use when requesting the next set of results. If not present, there are no additional results. NextToken string `json:"nextToken,omitempty"` // The list of resource roles. Cannot be empty. // Required: true ResourceRoles []*ResourceRole `json:"resourceRoles"` }
ListResourceRolesResponse Response object for a list resource roles request.
swagger:model ListResourceRolesResponse
func (*ListResourceRolesResponse) ContextValidate ¶
func (m *ListResourceRolesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list resource roles response based on the context it is used
func (*ListResourceRolesResponse) MarshalBinary ¶
func (m *ListResourceRolesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListResourceRolesResponse) UnmarshalBinary ¶
func (m *ListResourceRolesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListRolesRequest ¶
type ListRolesRequest struct { // The size of each page. // Maximum: 100 // Minimum: 1 PageSize int32 `json:"pageSize,omitempty"` // The roles names or CRNs to retrieve. If empty all roles will be returned. RoleNames []string `json:"roleNames"` // A token to specify where to start paginating. This is the nextToken from a previously truncated response. StartingToken string `json:"startingToken,omitempty"` }
ListRolesRequest Request object for a list roles request.
swagger:model ListRolesRequest
func (*ListRolesRequest) ContextValidate ¶
ContextValidate validates this list roles request based on context it is used
func (*ListRolesRequest) MarshalBinary ¶
func (m *ListRolesRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListRolesRequest) UnmarshalBinary ¶
func (m *ListRolesRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListRolesResponse ¶
type ListRolesResponse struct { // The token to use when requesting the next set of results. If not present, there are no additional results. NextToken string `json:"nextToken,omitempty"` // The list of roles in the account. // Required: true Roles []*Role `json:"roles"` }
ListRolesResponse Response object for a list roles request.
swagger:model ListRolesResponse
func (*ListRolesResponse) ContextValidate ¶
ContextValidate validate this list roles response based on the context it is used
func (*ListRolesResponse) MarshalBinary ¶
func (m *ListRolesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListRolesResponse) UnmarshalBinary ¶
func (m *ListRolesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListSSHPublicKeysRequest ¶
type ListSSHPublicKeysRequest struct { // The CRN of the user or machine user to list SSH public keys for. If it is not included, it defaults to the actor making the request. ActorCrn string `json:"actorCrn,omitempty"` }
ListSSHPublicKeysRequest Request object for list SSH public key.
swagger:model ListSshPublicKeysRequest
func (*ListSSHPublicKeysRequest) ContextValidate ¶
func (m *ListSSHPublicKeysRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list Ssh public keys request based on context it is used
func (*ListSSHPublicKeysRequest) MarshalBinary ¶
func (m *ListSSHPublicKeysRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListSSHPublicKeysRequest) UnmarshalBinary ¶
func (m *ListSSHPublicKeysRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListSSHPublicKeysResponse ¶
type ListSSHPublicKeysResponse struct { // The list of SSH Public keys. // Required: true SSHPublicKeys []*SSHPublicKey `json:"sshPublicKeys"` }
ListSSHPublicKeysResponse Response object for list SSH public key.
swagger:model ListSshPublicKeysResponse
func (*ListSSHPublicKeysResponse) ContextValidate ¶
func (m *ListSSHPublicKeysResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list Ssh public keys response based on the context it is used
func (*ListSSHPublicKeysResponse) MarshalBinary ¶
func (m *ListSSHPublicKeysResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListSSHPublicKeysResponse) UnmarshalBinary ¶
func (m *ListSSHPublicKeysResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListSamlProvidersRequest ¶
type ListSamlProvidersRequest struct { // The size of each page. // Maximum: 100 // Minimum: 1 PageSize int32 `json:"pageSize,omitempty"` // The SAML providers names or CRNs to retrieve. If empty all SAML providers will be returned. SamlProviderNames []string `json:"samlProviderNames"` // A token to specify where to start paginating. This is the nextToken from a previously truncated response. StartingToken string `json:"startingToken,omitempty"` }
ListSamlProvidersRequest Request object for a list SAML providers request.
swagger:model ListSamlProvidersRequest
func (*ListSamlProvidersRequest) ContextValidate ¶
func (m *ListSamlProvidersRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list saml providers request based on context it is used
func (*ListSamlProvidersRequest) MarshalBinary ¶
func (m *ListSamlProvidersRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListSamlProvidersRequest) UnmarshalBinary ¶
func (m *ListSamlProvidersRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListSamlProvidersResponse ¶
type ListSamlProvidersResponse struct { // The token to use when requesting the next set of results. If not present, there are no additional results. NextToken string `json:"nextToken,omitempty"` // The SAML providers. // Required: true SamlProviders []*SamlProvider `json:"samlProviders"` }
ListSamlProvidersResponse Response object for a list SAML providers request.
swagger:model ListSamlProvidersResponse
func (*ListSamlProvidersResponse) ContextValidate ¶
func (m *ListSamlProvidersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list saml providers response based on the context it is used
func (*ListSamlProvidersResponse) MarshalBinary ¶
func (m *ListSamlProvidersResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListSamlProvidersResponse) UnmarshalBinary ¶
func (m *ListSamlProvidersResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListScimAccessTokensRequest ¶
type ListScimAccessTokensRequest struct { // The name or CRN of the identity provider. // Required: true IdentityProviderNameOrCrn *string `json:"identityProviderNameOrCrn"` // The size of each page. // Maximum: 100 // Minimum: 1 PageSize int32 `json:"pageSize,omitempty"` // A token to specify where to start paginating. This is the nextToken from a previously truncated response. StartingToken string `json:"startingToken,omitempty"` }
ListScimAccessTokensRequest Request object to list the SCIM access tokens.
swagger:model ListScimAccessTokensRequest
func (*ListScimAccessTokensRequest) ContextValidate ¶
func (m *ListScimAccessTokensRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list scim access tokens request based on context it is used
func (*ListScimAccessTokensRequest) MarshalBinary ¶
func (m *ListScimAccessTokensRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListScimAccessTokensRequest) UnmarshalBinary ¶
func (m *ListScimAccessTokensRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListScimAccessTokensResponse ¶
type ListScimAccessTokensResponse struct { // The SCIM access tokens. // Required: true AccessTokens []*ScimAccessToken `json:"accessTokens"` // The token to use when requesting the next set of results. If not present, there are no additional results. NextToken string `json:"nextToken,omitempty"` }
ListScimAccessTokensResponse Response object to list the SCIM access tokens.
swagger:model ListScimAccessTokensResponse
func (*ListScimAccessTokensResponse) ContextValidate ¶
func (m *ListScimAccessTokensResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list scim access tokens response based on the context it is used
func (*ListScimAccessTokensResponse) MarshalBinary ¶
func (m *ListScimAccessTokensResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListScimAccessTokensResponse) UnmarshalBinary ¶
func (m *ListScimAccessTokensResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListServicePrincipalCloudIdentitiesRequest ¶
type ListServicePrincipalCloudIdentitiesRequest struct { // The CRN of the environment for which cloud identity mappings should be listed. If omitted, mappings for all environments are listed. EnvironmentCrn string `json:"environmentCrn,omitempty"` // The size of each page. // Maximum: 100 // Minimum: 1 PageSize int32 `json:"pageSize,omitempty"` // The service principals for which cloud identity mappings should be listed. If omitted, mappings for all service principals are listed. ServicePrincipals []string `json:"servicePrincipals"` // A token to specify where to start paginating. This is the nextToken from a previously truncated response. StartingToken string `json:"startingToken,omitempty"` }
ListServicePrincipalCloudIdentitiesRequest Request object for a list service principal cloud identities request.
swagger:model ListServicePrincipalCloudIdentitiesRequest
func (*ListServicePrincipalCloudIdentitiesRequest) ContextValidate ¶
func (m *ListServicePrincipalCloudIdentitiesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list service principal cloud identities request based on context it is used
func (*ListServicePrincipalCloudIdentitiesRequest) MarshalBinary ¶
func (m *ListServicePrincipalCloudIdentitiesRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListServicePrincipalCloudIdentitiesRequest) UnmarshalBinary ¶
func (m *ListServicePrincipalCloudIdentitiesRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListServicePrincipalCloudIdentitiesResponse ¶
type ListServicePrincipalCloudIdentitiesResponse struct { // The token to use when requesting the next set of results. If not present, there are no additional results. NextToken string `json:"nextToken,omitempty"` // The list of service principal cloud identity mappings. // Required: true ServicePrincipalCloudIdentities []*ServicePrincipalCloudIdentities `json:"servicePrincipalCloudIdentities"` }
ListServicePrincipalCloudIdentitiesResponse Response object for a list service principal cloud identities request.
swagger:model ListServicePrincipalCloudIdentitiesResponse
func (*ListServicePrincipalCloudIdentitiesResponse) ContextValidate ¶
func (m *ListServicePrincipalCloudIdentitiesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list service principal cloud identities response based on the context it is used
func (*ListServicePrincipalCloudIdentitiesResponse) MarshalBinary ¶
func (m *ListServicePrincipalCloudIdentitiesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListServicePrincipalCloudIdentitiesResponse) UnmarshalBinary ¶
func (m *ListServicePrincipalCloudIdentitiesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListUserAssignedResourceRolesRequest ¶
type ListUserAssignedResourceRolesRequest struct { // The size of each page. // Maximum: 100 // Minimum: 1 PageSize int32 `json:"pageSize,omitempty"` // A token to specify where to start paginating. This is the nextToken from a previously truncated response. StartingToken string `json:"startingToken,omitempty"` // The user to list the assigned roles for. Can be the user's CRN or id. If it is not included, it defaults to the user making the request. User string `json:"user,omitempty"` }
ListUserAssignedResourceRolesRequest Request object for a list user assigned resource roles request.
swagger:model ListUserAssignedResourceRolesRequest
func (*ListUserAssignedResourceRolesRequest) ContextValidate ¶
func (m *ListUserAssignedResourceRolesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list user assigned resource roles request based on context it is used
func (*ListUserAssignedResourceRolesRequest) MarshalBinary ¶
func (m *ListUserAssignedResourceRolesRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListUserAssignedResourceRolesRequest) UnmarshalBinary ¶
func (m *ListUserAssignedResourceRolesRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListUserAssignedResourceRolesResponse ¶
type ListUserAssignedResourceRolesResponse struct { // The token to use when requesting the next set of results. If not present, there are no additional results. NextToken string `json:"nextToken,omitempty"` // The user's resource assignments. // Required: true ResourceAssignments []*ResourceAssignment `json:"resourceAssignments"` }
ListUserAssignedResourceRolesResponse Response object for a list user assigned roles request.
swagger:model ListUserAssignedResourceRolesResponse
func (*ListUserAssignedResourceRolesResponse) ContextValidate ¶
func (m *ListUserAssignedResourceRolesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this list user assigned resource roles response based on the context it is used
func (*ListUserAssignedResourceRolesResponse) MarshalBinary ¶
func (m *ListUserAssignedResourceRolesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListUserAssignedResourceRolesResponse) UnmarshalBinary ¶
func (m *ListUserAssignedResourceRolesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListUserAssignedRolesRequest ¶
type ListUserAssignedRolesRequest struct { // The size of each page. // Maximum: 100 // Minimum: 1 PageSize int32 `json:"pageSize,omitempty"` // A token to specify where to start paginating. This is the nextToken from a previously truncated response. StartingToken string `json:"startingToken,omitempty"` // The user to list the assigned roles for. Can be the user's CRN or id. If it is not included, it defaults to the user making the request. User string `json:"user,omitempty"` }
ListUserAssignedRolesRequest Request object for a list user assigned roles request.
swagger:model ListUserAssignedRolesRequest
func (*ListUserAssignedRolesRequest) ContextValidate ¶
func (m *ListUserAssignedRolesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list user assigned roles request based on context it is used
func (*ListUserAssignedRolesRequest) MarshalBinary ¶
func (m *ListUserAssignedRolesRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListUserAssignedRolesRequest) UnmarshalBinary ¶
func (m *ListUserAssignedRolesRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListUserAssignedRolesResponse ¶
type ListUserAssignedRolesResponse struct { // The token to use when requesting the next set of results. If not present, there are no additional results. NextToken string `json:"nextToken,omitempty"` // The role CRNs assigned to the user. // Required: true RoleCrns []string `json:"roleCrns"` }
ListUserAssignedRolesResponse Response object for a list user assigned roles request.
swagger:model ListUserAssignedRolesResponse
func (*ListUserAssignedRolesResponse) ContextValidate ¶
func (m *ListUserAssignedRolesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this list user assigned roles response based on context it is used
func (*ListUserAssignedRolesResponse) MarshalBinary ¶
func (m *ListUserAssignedRolesResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListUserAssignedRolesResponse) UnmarshalBinary ¶
func (m *ListUserAssignedRolesResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListUsersRequest ¶
type ListUsersRequest struct { // The size of each page. // Maximum: 500 // Minimum: 1 PageSize int32 `json:"pageSize,omitempty"` // A token to specify where to start paginating. This is the nextToken from a previously truncated response. StartingToken string `json:"startingToken,omitempty"` // The user IDs or CRNs of the users. UserIds []string `json:"userIds"` }
ListUsersRequest Request object for a list users request.
swagger:model ListUsersRequest
func (*ListUsersRequest) ContextValidate ¶
ContextValidate validates this list users request based on context it is used
func (*ListUsersRequest) MarshalBinary ¶
func (m *ListUsersRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListUsersRequest) UnmarshalBinary ¶
func (m *ListUsersRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListUsersResponse ¶
type ListUsersResponse struct { // The token to use when requesting the next set of results. If not present, there are no additional results. NextToken string `json:"nextToken,omitempty"` // The users. // Required: true Users []*User `json:"users"` }
ListUsersResponse Response object for a list users request.
swagger:model ListUsersResponse
func (*ListUsersResponse) ContextValidate ¶
ContextValidate validate this list users response based on the context it is used
func (*ListUsersResponse) MarshalBinary ¶
func (m *ListUsersResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListUsersResponse) UnmarshalBinary ¶
func (m *ListUsersResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MachineUser ¶
type MachineUser struct { // The list of Azure cloud identities assigned to the machine user. AzureCloudIdentities []*AzureCloudIdentity `json:"azureCloudIdentities"` // The date when this machine user record was created. // Required: true // Format: date-time CreationDate *strfmt.DateTime `json:"creationDate"` // The CRN of the user. // Required: true Crn *string `json:"crn"` // The machine user name. // Required: true MachineUserName *string `json:"machineUserName"` // The current status of the machine user. The possible status values are ACTIVE and CONTROL_PLANE_LOCKED_OUT. ACTIVE indicates that the machine user is active in CDP. An active machine user can authenticate to the CDP control plane and workload clusters. CONTROL_PLANE_LOCKED_OUT indicates that the machine user is locked out of the CDP control plane. The locked-out machine user can no longer authenticate to the control plane but can authenticate to the workload clusters. Note that more statuses could be added in the future. The statuses other than ACTIVE are only returned on Cloudera for Government. Status string `json:"status,omitempty"` // Information about the workload password for the machine user. WorkloadPasswordDetails *WorkloadPasswordDetails `json:"workloadPasswordDetails,omitempty"` // The username used in all the workload clusters of the machine user. WorkloadUsername string `json:"workloadUsername,omitempty"` }
MachineUser Information about a Cloudera CDP machine user.
swagger:model MachineUser
func (*MachineUser) ContextValidate ¶
ContextValidate validate this machine user based on the context it is used
func (*MachineUser) MarshalBinary ¶
func (m *MachineUser) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MachineUser) UnmarshalBinary ¶
func (m *MachineUser) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PasswordPolicy ¶
type PasswordPolicy struct { // The maximum lifetime of passwords, in days. If set to '0' passwords never expire. The default is 0. // Minimum: 0 MaxPasswordLifetimeDays *int32 `json:"maxPasswordLifetimeDays,omitempty"` // The minimum length of a password. Can be any number between 6 and 256. The default minimum password length is 8. // Maximum: 256 // Minimum: 6 MinPasswordLength int32 `json:"minPasswordLength,omitempty"` // The minimum lifetime of passwords, in days. The password must be used for this duration before it can be changed. If set to '0' the password may be changed any time. The default is 0. The minPasswordLifetimeDays must be greater than maxPasswordLifetimeDays. // Minimum: 0 MinPasswordLifetimeDays *int32 `json:"minPasswordLifetimeDays,omitempty"` // Whether passwords must include lower case characters. The default is 'true'. MustIncludeLowerCaseCharacters bool `json:"mustIncludeLowerCaseCharacters,omitempty"` // Whether passwords must include numbers. The default is 'true'. MustIncludeNumbers bool `json:"mustIncludeNumbers,omitempty"` // Whether passwords must include symbols. The symbols are '#', '&', '*', '$', '%', '@', '^', '.', '_', and '!'. The default is 'true'. MustIncludeSymbols bool `json:"mustIncludeSymbols,omitempty"` // Whether passwords must include upper case characters. The default is 'true'. MustIncludeUpperCaseCharacters bool `json:"mustIncludeUpperCaseCharacters,omitempty"` // The number of previous passwords that should be remembered. The user or machine user is prevented from reusing these passwords. Can be any number between 0 and 20. The default is 0, this value means all previous passwords may be reused. // Maximum: 20 // Minimum: 0 PasswordHistorySize *int32 `json:"passwordHistorySize,omitempty"` }
PasswordPolicy An object representing password policy options.
swagger:model PasswordPolicy
func (*PasswordPolicy) ContextValidate ¶
ContextValidate validates this password policy based on context it is used
func (*PasswordPolicy) MarshalBinary ¶
func (m *PasswordPolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PasswordPolicy) UnmarshalBinary ¶
func (m *PasswordPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Policy ¶
type Policy struct { // The policy crn. // Required: true Crn *string `json:"crn"` // The policy statements. // Required: true PolicyStatements []*PolicyStatement `json:"policyStatements"` }
Policy A policy contains a list of one or more policy statements.
swagger:model Policy
func (*Policy) ContextValidate ¶
ContextValidate validate this policy based on the context it is used
func (*Policy) MarshalBinary ¶
MarshalBinary interface implementation
func (*Policy) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PolicyStatement ¶
type PolicyStatement struct { // The resources on which the rights are granted. // Required: true Resources []string `json:"resources"` // The list of rights in the policy statement. // Required: true Rights []string `json:"rights"` }
PolicyStatement A policy statement is a list of rights and zero or more resources on which the rights are granted.
swagger:model PolicyStatement
func (*PolicyStatement) ContextValidate ¶
ContextValidate validates this policy statement based on context it is used
func (*PolicyStatement) MarshalBinary ¶
func (m *PolicyStatement) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PolicyStatement) UnmarshalBinary ¶
func (m *PolicyStatement) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RemoveMachineUserFromGroupRequest ¶
type RemoveMachineUserFromGroupRequest struct { // The name or CRN of the group to remove the machine user from. // Required: true GroupName *string `json:"groupName"` // The name or CRN of the machine user to add to the group. // Required: true MachineUserName *string `json:"machineUserName"` }
RemoveMachineUserFromGroupRequest Request object for a remove machine user from group request.
swagger:model RemoveMachineUserFromGroupRequest
func (*RemoveMachineUserFromGroupRequest) ContextValidate ¶
func (m *RemoveMachineUserFromGroupRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this remove machine user from group request based on context it is used
func (*RemoveMachineUserFromGroupRequest) MarshalBinary ¶
func (m *RemoveMachineUserFromGroupRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RemoveMachineUserFromGroupRequest) UnmarshalBinary ¶
func (m *RemoveMachineUserFromGroupRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RemoveMachineUserFromGroupResponse ¶
type RemoveMachineUserFromGroupResponse interface{}
RemoveMachineUserFromGroupResponse Response object for a remove machine user from group request.
swagger:model RemoveMachineUserFromGroupResponse
type RemoveUserFromGroupRequest ¶
type RemoveUserFromGroupRequest struct { // The name or CRN of the group to remove the user from. // Required: true GroupName *string `json:"groupName"` // The ID or CRN of the user to remove from the group. // Required: true UserID *string `json:"userId"` }
RemoveUserFromGroupRequest Request object for a remove user from group request.
swagger:model RemoveUserFromGroupRequest
func (*RemoveUserFromGroupRequest) ContextValidate ¶
func (m *RemoveUserFromGroupRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this remove user from group request based on context it is used
func (*RemoveUserFromGroupRequest) MarshalBinary ¶
func (m *RemoveUserFromGroupRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RemoveUserFromGroupRequest) UnmarshalBinary ¶
func (m *RemoveUserFromGroupRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RemoveUserFromGroupResponse ¶
type RemoveUserFromGroupResponse interface{}
RemoveUserFromGroupResponse Response object for a remove user from group request.
swagger:model RemoveUserFromGroupResponse
type ResourceAssignee ¶
type ResourceAssignee struct { // The CRN of the assignee. // Required: true AssigneeCrn *string `json:"assigneeCrn"` // The assigned resource role CRN. // Required: true ResourceRoleCrn *string `json:"resourceRoleCrn"` }
ResourceAssignee Information about the resource role assignee for the resource.
swagger:model ResourceAssignee
func (*ResourceAssignee) ContextValidate ¶
ContextValidate validates this resource assignee based on context it is used
func (*ResourceAssignee) MarshalBinary ¶
func (m *ResourceAssignee) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourceAssignee) UnmarshalBinary ¶
func (m *ResourceAssignee) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourceAssignment ¶
type ResourceAssignment struct { // The assigned resource's CRN. // Required: true ResourceCrn *string `json:"resourceCrn"` // The assigned resource role CRN. // Required: true ResourceRoleCrn *string `json:"resourceRoleCrn"` }
ResourceAssignment Information about a resource assignment.
swagger:model ResourceAssignment
func (*ResourceAssignment) ContextValidate ¶
ContextValidate validates this resource assignment based on context it is used
func (*ResourceAssignment) MarshalBinary ¶
func (m *ResourceAssignment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourceAssignment) UnmarshalBinary ¶
func (m *ResourceAssignment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourceRole ¶
type ResourceRole struct { // The CRN of the resource role. // Required: true Crn *string `json:"crn"` // The rights granted by this role. // Required: true Rights []string `json:"rights"` }
ResourceRole Information about a resource role. A resource role is a role that grants a collection of rights to a user on resources.
swagger:model ResourceRole
func (*ResourceRole) ContextValidate ¶
ContextValidate validates this resource role based on context it is used
func (*ResourceRole) MarshalBinary ¶
func (m *ResourceRole) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourceRole) UnmarshalBinary ¶
func (m *ResourceRole) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Role ¶
type Role struct { // The role's CRN. // Required: true Crn *string `json:"crn"` // The list of policies that belong to the role. Cannot be empty. // Required: true Policies []*Policy `json:"policies"` }
Role Information about a role.
swagger:model Role
func (*Role) ContextValidate ¶
ContextValidate validate this role based on the context it is used
func (*Role) MarshalBinary ¶
MarshalBinary interface implementation
func (*Role) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SSHPublicKey ¶
type SSHPublicKey struct { // The SSH public key CRN. // Required: true Crn *string `json:"crn"` // An optional description for the public key. Description string `json:"description,omitempty"` // The SSH public key string. Only populated for DescribeSshPublicKeyResponses. This is the same string that was used when the key was added. PublicKey string `json:"publicKey,omitempty"` // The SSH public key SHA256 fingerprint. This is identical to the SHA256 produced by running the following command on a public key named 'key.pub'; ssh-keygen -l -E SHA256 -f /home/user/.ssh/key.pub. Note that ssh-keygen removes any padding bytes from the BASE64 fingerprint encoding (the '=' characters at the end of the fingerprint) which is also true for this fingerprint. // Required: true PublicKeyFingerprint *string `json:"publicKeyFingerprint"` }
SSHPublicKey Information about an SSH public key.
swagger:model SshPublicKey
func (*SSHPublicKey) ContextValidate ¶
ContextValidate validates this Ssh public key based on context it is used
func (*SSHPublicKey) MarshalBinary ¶
func (m *SSHPublicKey) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SSHPublicKey) UnmarshalBinary ¶
func (m *SSHPublicKey) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SamlProvider ¶
type SamlProvider struct { // The Service Provider SAML metadata specific to this CDP SAML provider. This field will only be set for createSamlProvider and describeSamlProvider API calls. CdpSpMetadata string `json:"cdpSpMetadata,omitempty"` // The date when this SAML provider record was created. // Required: true // Format: date-time CreationDate *strfmt.DateTime `json:"creationDate"` // CRN of the SAML provider in CDP. // Required: true Crn *string `json:"crn"` // Whether SCIM is enabled on this SAML provider. System for Cross-domain Identity Management (SCIM) version 2.0 is a standard for automating the provisioning of user and group identity information from identity provider to CDP. It is omitted for Cloudera for Government. EnableScim bool `json:"enableScim,omitempty"` // Whether to generate users' workload username by email or by identity provider user ID (SAML NameID). GenerateWorkloadUsernameByEmail bool `json:"generateWorkloadUsernameByEmail,omitempty"` // The original metadata that was passed while creating the SAML provider connector. This field will not be set when the SAML provider does not have metadata. This field will not be set for listSamlProviders API response. SamlMetadataDocument string `json:"samlMetadataDocument,omitempty"` // The unique ID of the saml provider. // Required: true SamlProviderID *string `json:"samlProviderId"` // Name of the SAML provider. // Required: true SamlProviderName *string `json:"samlProviderName"` // The SCIM URL if SCIM is enabled. It is omitted for Cloudera for Government. ScimURL string `json:"scimUrl,omitempty"` // Whether users federated with this SAML provider will have their group membership synchronized. Group membership can be passed using the https://cdp.cloudera.com/SAML/Attributes/groups SAML assertion. // Required: true SyncGroupsOnLogin *bool `json:"syncGroupsOnLogin"` }
SamlProvider Information used to connect a CDP account to an external identity provider.
swagger:model SamlProvider
func (*SamlProvider) ContextValidate ¶
ContextValidate validates this saml provider based on context it is used
func (*SamlProvider) MarshalBinary ¶
func (m *SamlProvider) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SamlProvider) UnmarshalBinary ¶
func (m *SamlProvider) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ScimAccessToken ¶
type ScimAccessToken struct { // The SCIM access token id. // Required: true AccessTokenID *string `json:"accessTokenId"` // The date when this SCIM access token was created. // Required: true // Format: date-time CreationDate *strfmt.DateTime `json:"creationDate"` // The SCIM access token CRN. // Required: true Crn *string `json:"crn"` // The SCIM access token expiration date. The access token never expires if the value is not set. // Format: date-time ExpirationDate strfmt.DateTime `json:"expirationDate,omitempty"` }
ScimAccessToken Information about the SCIM access token.
swagger:model ScimAccessToken
func (*ScimAccessToken) ContextValidate ¶
ContextValidate validates this scim access token based on context it is used
func (*ScimAccessToken) MarshalBinary ¶
func (m *ScimAccessToken) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ScimAccessToken) UnmarshalBinary ¶
func (m *ScimAccessToken) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ServicePrincipalCloudIdentities ¶
type ServicePrincipalCloudIdentities struct { // The list of Azure cloud identities assigned to the service principal. AzureCloudIdentities []*AzureCloudIdentity `json:"azureCloudIdentities"` // The name of the service principal that the cloud identities are assigned to. // Required: true ServicePrincipal *string `json:"servicePrincipal"` }
ServicePrincipalCloudIdentities Cloud identity mappings for a service principal.
swagger:model ServicePrincipalCloudIdentities
func (*ServicePrincipalCloudIdentities) ContextValidate ¶
func (m *ServicePrincipalCloudIdentities) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this service principal cloud identities based on the context it is used
func (*ServicePrincipalCloudIdentities) MarshalBinary ¶
func (m *ServicePrincipalCloudIdentities) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ServicePrincipalCloudIdentities) UnmarshalBinary ¶
func (m *ServicePrincipalCloudIdentities) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetAccountMessagesRequest ¶
type SetAccountMessagesRequest struct { // Message shown to user when user does not have sufficient rights. Length of message cannot be more than 512 characters. If string is empty, default message is displayed. ContactYourAdministratorMessage string `json:"contactYourAdministratorMessage,omitempty"` }
SetAccountMessagesRequest Request object for set account messages for account.
swagger:model SetAccountMessagesRequest
func (*SetAccountMessagesRequest) ContextValidate ¶
func (m *SetAccountMessagesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this set account messages request based on context it is used
func (*SetAccountMessagesRequest) MarshalBinary ¶
func (m *SetAccountMessagesRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetAccountMessagesRequest) UnmarshalBinary ¶
func (m *SetAccountMessagesRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetAccountMessagesResponse ¶
type SetAccountMessagesResponse interface{}
SetAccountMessagesResponse Response object for set account messages.
swagger:model SetAccountMessagesResponse
type SetAuthenticationPolicyRequest ¶
type SetAuthenticationPolicyRequest struct { // The expiration, in seconds, of the access key. Set the value to '0' to use system default expiration (which is 12 hours for CDP). The value will be set to '0' if not provided. // Minimum: 0 AccessKeyExpirationSec *int32 `json:"accessKeyExpirationSec,omitempty"` // The inactivity duration, in seconds, of the access key, which would invalidate the access key due to inactivity. Set the value to '0' to use the system's default inactivity duration (which is 1 hour normally and 15 minutes for Cloudera for Government). If set to a value longer than the value for `accessKeyExpirationSec` then there will be no inactivity timeout. The value will be set to '0' if not provided. // Minimum: 0 AccessKeyInactivityDurationSec *int32 `json:"accessKeyInactivityDurationSec,omitempty"` // The list of IP addresses and/or CIDRs used for allowing client access to the UI and API services. Duplicated values will be removed automatically. Both the allowed list and the blocked list will be used to determine whether to grant or block the client's access. The blocked list takes precedence over the allowed list. When the list is empty or not set, client IP address will not be validated to be present in the allowed list. ClientIPAddressesAllowed []string `json:"clientIpAddressesAllowed"` // The list of IP addresses and/or CIDRs used for blocking client access to the UI and API services. Duplicated values will be removed automatically. Both the allowed list and the blocked list will be used to determine whether to grant or block the client's access. The blocked list takes precedence over the allowed list. When the list is empty or not set, client IP address will not be validated to be absent from the blocked list. ClientIPAddressesBlocked []string `json:"clientIpAddressesBlocked"` // The expiration, in seconds, of the UI session token. Set the value to '0' to use system default expiration (which is 12 hours for CDP). The value will be set to '0' if not provided. // Minimum: 0 SessionTokenExpirationSec *int32 `json:"sessionTokenExpirationSec,omitempty"` // The inactivity duration, in seconds, of the UI session token, which would invalidate the session token due to inactivity. Set the value to '0' to use the system's default inactivity duration (which is 1 hour normally and 15 minutes for Cloudera for Government). If set to a value longer than the value for `sessionTokenExpirationSec` then there will be no inactivity timeout. The value will be set to '0' if not provided. // Minimum: 0 SessionTokenInactivityDurationSec *int32 `json:"sessionTokenInactivityDurationSec,omitempty"` }
SetAuthenticationPolicyRequest Request object for a set authentication policy request.
swagger:model SetAuthenticationPolicyRequest
func (*SetAuthenticationPolicyRequest) ContextValidate ¶
func (m *SetAuthenticationPolicyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this set authentication policy request based on context it is used
func (*SetAuthenticationPolicyRequest) MarshalBinary ¶
func (m *SetAuthenticationPolicyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetAuthenticationPolicyRequest) UnmarshalBinary ¶
func (m *SetAuthenticationPolicyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetAuthenticationPolicyResponse ¶
type SetAuthenticationPolicyResponse interface{}
SetAuthenticationPolicyResponse Response object for a set authentication policy request.
swagger:model SetAuthenticationPolicyResponse
type SetDefaultIdentityProviderRequest ¶ added in v0.4.2
type SetDefaultIdentityProviderRequest struct { // The name or CRN of the default identity provider. // Required: true NameOrCrn *string `json:"nameOrCrn"` }
SetDefaultIdentityProviderRequest Request object to set the default identity provider.
swagger:model SetDefaultIdentityProviderRequest
func (*SetDefaultIdentityProviderRequest) ContextValidate ¶ added in v0.4.2
func (m *SetDefaultIdentityProviderRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this set default identity provider request based on context it is used
func (*SetDefaultIdentityProviderRequest) MarshalBinary ¶ added in v0.4.2
func (m *SetDefaultIdentityProviderRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetDefaultIdentityProviderRequest) UnmarshalBinary ¶ added in v0.4.2
func (m *SetDefaultIdentityProviderRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetDefaultIdentityProviderResponse ¶ added in v0.4.2
type SetDefaultIdentityProviderResponse interface{}
SetDefaultIdentityProviderResponse Response object to set the default identity provider.
swagger:model SetDefaultIdentityProviderResponse
type SetWorkloadPasswordPolicyRequest ¶
type SetWorkloadPasswordPolicyRequest struct { // The global password policy object. If set, maxPasswordLifetimeDays is ignored, and if not set the default values for the different password policies are used. See PasswordPolicy for more details on the different default values. GlobalPasswordPolicy *PasswordPolicy `json:"globalPasswordPolicy,omitempty"` // The password policy object for machine users. If set, this will be used for enforcing password complexity for machine users instead of the global password policy. MachineUsersPasswordPolicy *PasswordPolicy `json:"machineUsersPasswordPolicy,omitempty"` }
SetWorkloadPasswordPolicyRequest Request object for a set workload password policy request.
swagger:model SetWorkloadPasswordPolicyRequest
func (*SetWorkloadPasswordPolicyRequest) ContextValidate ¶
func (m *SetWorkloadPasswordPolicyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this set workload password policy request based on the context it is used
func (*SetWorkloadPasswordPolicyRequest) MarshalBinary ¶
func (m *SetWorkloadPasswordPolicyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetWorkloadPasswordPolicyRequest) UnmarshalBinary ¶
func (m *SetWorkloadPasswordPolicyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetWorkloadPasswordPolicyResponse ¶
type SetWorkloadPasswordPolicyResponse interface{}
SetWorkloadPasswordPolicyResponse Response object for a set workload password policy request.
swagger:model SetWorkloadPasswordPolicyResponse
type SetWorkloadPasswordRequest ¶
type SetWorkloadPasswordRequest struct { // The CRN of the user or machine user for whom the password will be set. If it is not included, it defaults to the user making the request. ActorCrn string `json:"actorCrn,omitempty"` // The password value to set // Required: true Password *string `json:"password"` }
SetWorkloadPasswordRequest Request object for a set workload password request.
swagger:model SetWorkloadPasswordRequest
func (*SetWorkloadPasswordRequest) ContextValidate ¶
func (m *SetWorkloadPasswordRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this set workload password request based on context it is used
func (*SetWorkloadPasswordRequest) MarshalBinary ¶
func (m *SetWorkloadPasswordRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SetWorkloadPasswordRequest) UnmarshalBinary ¶
func (m *SetWorkloadPasswordRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SetWorkloadPasswordResponse ¶
type SetWorkloadPasswordResponse interface{}
SetWorkloadPasswordResponse Response object for a set workload password request.
swagger:model SetWorkloadPasswordResponse
type UnassignAzureCloudIdentityRequest ¶
type UnassignAzureCloudIdentityRequest struct { // The CRN of the actor or group from which the cloud identity will be unassigned. // Required: true AssigneeCrn *string `json:"assigneeCrn"` }
UnassignAzureCloudIdentityRequest Request object for an unassign Azure cloud identity request.
swagger:model UnassignAzureCloudIdentityRequest
func (*UnassignAzureCloudIdentityRequest) ContextValidate ¶
func (m *UnassignAzureCloudIdentityRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this unassign azure cloud identity request based on context it is used
func (*UnassignAzureCloudIdentityRequest) MarshalBinary ¶
func (m *UnassignAzureCloudIdentityRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UnassignAzureCloudIdentityRequest) UnmarshalBinary ¶
func (m *UnassignAzureCloudIdentityRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UnassignAzureCloudIdentityResponse ¶
type UnassignAzureCloudIdentityResponse interface{}
UnassignAzureCloudIdentityResponse Response object for an unassign Azure cloud identity request.
swagger:model UnassignAzureCloudIdentityResponse
type UnassignGroupResourceRoleRequest ¶
type UnassignGroupResourceRoleRequest struct { // The group to unassign the resource role from. // Required: true GroupName *string `json:"groupName"` // The CRN of the resource for which the resource role rights will be unassigned. // Required: true ResourceCrn *string `json:"resourceCrn"` // The CRN of the resource role to unassign from the group. // Required: true ResourceRoleCrn *string `json:"resourceRoleCrn"` }
UnassignGroupResourceRoleRequest Request object for an unassign group resource role request.
swagger:model UnassignGroupResourceRoleRequest
func (*UnassignGroupResourceRoleRequest) ContextValidate ¶
func (m *UnassignGroupResourceRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this unassign group resource role request based on context it is used
func (*UnassignGroupResourceRoleRequest) MarshalBinary ¶
func (m *UnassignGroupResourceRoleRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UnassignGroupResourceRoleRequest) UnmarshalBinary ¶
func (m *UnassignGroupResourceRoleRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UnassignGroupResourceRoleResponse ¶
type UnassignGroupResourceRoleResponse interface{}
UnassignGroupResourceRoleResponse Response object for an unassign group role request.
swagger:model UnassignGroupResourceRoleResponse
type UnassignGroupRoleRequest ¶
type UnassignGroupRoleRequest struct { // The group to unassign the role from. Can be the group name or CRN. // Required: true GroupName *string `json:"groupName"` // The role to unassign from the group. Can be the role's CRN or name. // Required: true Role *string `json:"role"` }
UnassignGroupRoleRequest Request object for an unassign group role request.
swagger:model UnassignGroupRoleRequest
func (*UnassignGroupRoleRequest) ContextValidate ¶
func (m *UnassignGroupRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this unassign group role request based on context it is used
func (*UnassignGroupRoleRequest) MarshalBinary ¶
func (m *UnassignGroupRoleRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UnassignGroupRoleRequest) UnmarshalBinary ¶
func (m *UnassignGroupRoleRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UnassignGroupRoleResponse ¶
type UnassignGroupRoleResponse interface{}
UnassignGroupRoleResponse Response object for an unassign group role request.
swagger:model UnassignGroupRoleResponse
type UnassignMachineUserResourceRoleRequest ¶
type UnassignMachineUserResourceRoleRequest struct { // The machine user to unassign the resource role from. Can be the machine user's name or CRN. // Required: true MachineUserName *string `json:"machineUserName"` // The CRN of the resource for which the resource role rights will be unassigned. // Required: true ResourceCrn *string `json:"resourceCrn"` // The CRN of the resource role to unassigned from the machine user. // Required: true ResourceRoleCrn *string `json:"resourceRoleCrn"` }
UnassignMachineUserResourceRoleRequest Request object for an unassign machine user role request.
swagger:model UnassignMachineUserResourceRoleRequest
func (*UnassignMachineUserResourceRoleRequest) ContextValidate ¶
func (m *UnassignMachineUserResourceRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this unassign machine user resource role request based on context it is used
func (*UnassignMachineUserResourceRoleRequest) MarshalBinary ¶
func (m *UnassignMachineUserResourceRoleRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UnassignMachineUserResourceRoleRequest) UnmarshalBinary ¶
func (m *UnassignMachineUserResourceRoleRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UnassignMachineUserResourceRoleResponse ¶
type UnassignMachineUserResourceRoleResponse interface{}
UnassignMachineUserResourceRoleResponse Response object for an unassign machine user role request.
swagger:model UnassignMachineUserResourceRoleResponse
type UnassignMachineUserRoleRequest ¶
type UnassignMachineUserRoleRequest struct { // The machine user to unassigned the roles from. Can be the machine user's name or CRN. // Required: true MachineUserName *string `json:"machineUserName"` // The role to unassigned from the user. Can be the role's name or CRN. // Required: true Role *string `json:"role"` }
UnassignMachineUserRoleRequest Request object for an unassign machine user role request.
swagger:model UnassignMachineUserRoleRequest
func (*UnassignMachineUserRoleRequest) ContextValidate ¶
func (m *UnassignMachineUserRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this unassign machine user role request based on context it is used
func (*UnassignMachineUserRoleRequest) MarshalBinary ¶
func (m *UnassignMachineUserRoleRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UnassignMachineUserRoleRequest) UnmarshalBinary ¶
func (m *UnassignMachineUserRoleRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UnassignMachineUserRoleResponse ¶
type UnassignMachineUserRoleResponse interface{}
UnassignMachineUserRoleResponse Response object for an unassign machine user role request.
swagger:model UnassignMachineUserRoleResponse
type UnassignServicePrincipalAzureCloudIdentityRequest ¶
type UnassignServicePrincipalAzureCloudIdentityRequest struct { // The CRN of the environment for which the cloud identity to unassign is in effect. // Required: true EnvironmentCrn *string `json:"environmentCrn"` // The name of the service principal from which the cloud identity will be unassigned. // Required: true ServicePrincipal *string `json:"servicePrincipal"` }
UnassignServicePrincipalAzureCloudIdentityRequest Request object for an unassign service principal Azure cloud identity request.
swagger:model UnassignServicePrincipalAzureCloudIdentityRequest
func (*UnassignServicePrincipalAzureCloudIdentityRequest) ContextValidate ¶
func (m *UnassignServicePrincipalAzureCloudIdentityRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this unassign service principal azure cloud identity request based on context it is used
func (*UnassignServicePrincipalAzureCloudIdentityRequest) MarshalBinary ¶
func (m *UnassignServicePrincipalAzureCloudIdentityRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UnassignServicePrincipalAzureCloudIdentityRequest) UnmarshalBinary ¶
func (m *UnassignServicePrincipalAzureCloudIdentityRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UnassignServicePrincipalAzureCloudIdentityResponse ¶
type UnassignServicePrincipalAzureCloudIdentityResponse interface{}
UnassignServicePrincipalAzureCloudIdentityResponse Response object for an unassign service principal Azure cloud identity request.
swagger:model UnassignServicePrincipalAzureCloudIdentityResponse
type UnassignUserResourceRoleRequest ¶
type UnassignUserResourceRoleRequest struct { // The CRN of the resource for which the resource role rights will be unassigned. // Required: true ResourceCrn *string `json:"resourceCrn"` // The CRN of the resource role to unassigned from the user. // Required: true ResourceRoleCrn *string `json:"resourceRoleCrn"` // The user to unassign the resource role from. // Required: true User *string `json:"user"` }
UnassignUserResourceRoleRequest Request object for an unassign user role request.
swagger:model UnassignUserResourceRoleRequest
func (*UnassignUserResourceRoleRequest) ContextValidate ¶
func (m *UnassignUserResourceRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this unassign user resource role request based on context it is used
func (*UnassignUserResourceRoleRequest) MarshalBinary ¶
func (m *UnassignUserResourceRoleRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UnassignUserResourceRoleRequest) UnmarshalBinary ¶
func (m *UnassignUserResourceRoleRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UnassignUserResourceRoleResponse ¶
type UnassignUserResourceRoleResponse interface{}
UnassignUserResourceRoleResponse Response object for an unassign user role request.
swagger:model UnassignUserResourceRoleResponse
type UnassignUserRoleRequest ¶
type UnassignUserRoleRequest struct { // The role to unassigned from the user. Can be the role's CRN or name. // Required: true Role *string `json:"role"` // The user to unassigned the roles from. Can be the user CRN or id. // Required: true User *string `json:"user"` }
UnassignUserRoleRequest Request object for an unassign user role request.
swagger:model UnassignUserRoleRequest
func (*UnassignUserRoleRequest) ContextValidate ¶
func (m *UnassignUserRoleRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this unassign user role request based on context it is used
func (*UnassignUserRoleRequest) MarshalBinary ¶
func (m *UnassignUserRoleRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UnassignUserRoleRequest) UnmarshalBinary ¶
func (m *UnassignUserRoleRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UnassignUserRoleResponse ¶
type UnassignUserRoleResponse interface{}
UnassignUserRoleResponse Response object for an unassign user role request.
swagger:model UnassignUserRoleResponse
type UnlockMachineUserInControlPlaneRequest ¶
type UnlockMachineUserInControlPlaneRequest struct { // The name or CRN of the machine user to be unlocked in the CDP control plane. // Required: true MachineUser *string `json:"machineUser"` }
UnlockMachineUserInControlPlaneRequest Request object for unlocking the machine user in the control plane.
swagger:model UnlockMachineUserInControlPlaneRequest
func (*UnlockMachineUserInControlPlaneRequest) ContextValidate ¶
func (m *UnlockMachineUserInControlPlaneRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this unlock machine user in control plane request based on context it is used
func (*UnlockMachineUserInControlPlaneRequest) MarshalBinary ¶
func (m *UnlockMachineUserInControlPlaneRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UnlockMachineUserInControlPlaneRequest) UnmarshalBinary ¶
func (m *UnlockMachineUserInControlPlaneRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UnlockMachineUserInControlPlaneResponse ¶
type UnlockMachineUserInControlPlaneResponse struct { // The unlocked machine user. // Required: true MachineUser *MachineUser `json:"machineUser"` }
UnlockMachineUserInControlPlaneResponse Response object for unlocking the machine user in the CDP control plane.
swagger:model UnlockMachineUserInControlPlaneResponse
func (*UnlockMachineUserInControlPlaneResponse) ContextValidate ¶
func (m *UnlockMachineUserInControlPlaneResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this unlock machine user in control plane response based on the context it is used
func (*UnlockMachineUserInControlPlaneResponse) MarshalBinary ¶
func (m *UnlockMachineUserInControlPlaneResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UnlockMachineUserInControlPlaneResponse) UnmarshalBinary ¶
func (m *UnlockMachineUserInControlPlaneResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UnlockUserInControlPlaneRequest ¶
type UnlockUserInControlPlaneRequest struct { // The ID or CRN of the user to be unlocked in the CDP control plane. // Required: true User *string `json:"user"` }
UnlockUserInControlPlaneRequest Request object for unlocking the user in the CDP control plane.
swagger:model UnlockUserInControlPlaneRequest
func (*UnlockUserInControlPlaneRequest) ContextValidate ¶
func (m *UnlockUserInControlPlaneRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this unlock user in control plane request based on context it is used
func (*UnlockUserInControlPlaneRequest) MarshalBinary ¶
func (m *UnlockUserInControlPlaneRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UnlockUserInControlPlaneRequest) UnmarshalBinary ¶
func (m *UnlockUserInControlPlaneRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UnlockUserInControlPlaneResponse ¶
type UnlockUserInControlPlaneResponse struct { // The unlocked user. // Required: true User *User `json:"user"` }
UnlockUserInControlPlaneResponse Response object for unlocking the user in the CDP control plane.
swagger:model UnlockUserInControlPlaneResponse
func (*UnlockUserInControlPlaneResponse) ContextValidate ¶
func (m *UnlockUserInControlPlaneResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this unlock user in control plane response based on the context it is used
func (*UnlockUserInControlPlaneResponse) MarshalBinary ¶
func (m *UnlockUserInControlPlaneResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UnlockUserInControlPlaneResponse) UnmarshalBinary ¶
func (m *UnlockUserInControlPlaneResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UnsetWorkloadPasswordMinLifetimeRequest ¶
type UnsetWorkloadPasswordMinLifetimeRequest struct { // The CRN of the actor for whom to unset the workload password minimum lifetime date. // Required: true ActorCrn *string `json:"actorCrn"` }
UnsetWorkloadPasswordMinLifetimeRequest Request object for a unset workload password min lifetime request.
swagger:model UnsetWorkloadPasswordMinLifetimeRequest
func (*UnsetWorkloadPasswordMinLifetimeRequest) ContextValidate ¶
func (m *UnsetWorkloadPasswordMinLifetimeRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this unset workload password min lifetime request based on context it is used
func (*UnsetWorkloadPasswordMinLifetimeRequest) MarshalBinary ¶
func (m *UnsetWorkloadPasswordMinLifetimeRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UnsetWorkloadPasswordMinLifetimeRequest) UnmarshalBinary ¶
func (m *UnsetWorkloadPasswordMinLifetimeRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UnsetWorkloadPasswordMinLifetimeResponse ¶
type UnsetWorkloadPasswordMinLifetimeResponse interface{}
UnsetWorkloadPasswordMinLifetimeResponse Response object for an unset workload password minimum lifetime request.
swagger:model UnsetWorkloadPasswordMinLifetimeResponse
type UnsetWorkloadPasswordPolicyRequest ¶
type UnsetWorkloadPasswordPolicyRequest struct { // Whether to unset the global password policy. This will reset the global policy to its defaults. UnsetGlobalPasswordPolicy bool `json:"unsetGlobalPasswordPolicy,omitempty"` // Whether to unset the machine user password policy, if one exists. UnsetMachineUsersPasswordPolicy bool `json:"unsetMachineUsersPasswordPolicy,omitempty"` }
UnsetWorkloadPasswordPolicyRequest Request object for a unset workload password policy request.
swagger:model UnsetWorkloadPasswordPolicyRequest
func (*UnsetWorkloadPasswordPolicyRequest) ContextValidate ¶
func (m *UnsetWorkloadPasswordPolicyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this unset workload password policy request based on context it is used
func (*UnsetWorkloadPasswordPolicyRequest) MarshalBinary ¶
func (m *UnsetWorkloadPasswordPolicyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UnsetWorkloadPasswordPolicyRequest) UnmarshalBinary ¶
func (m *UnsetWorkloadPasswordPolicyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UnsetWorkloadPasswordPolicyResponse ¶
type UnsetWorkloadPasswordPolicyResponse interface{}
UnsetWorkloadPasswordPolicyResponse Response object for a unset workload password policy request.
swagger:model UnsetWorkloadPasswordPolicyResponse
type UpdateAccessKeyRequest ¶
type UpdateAccessKeyRequest struct { // The ID of the access key to update. // Required: true AccessKeyID *string `json:"accessKeyId"` // The status to assign to the access key. // Required: true // Enum: ["ACTIVE","INACTIVE"] Status *string `json:"status"` }
UpdateAccessKeyRequest Request object for an update access key request.
swagger:model UpdateAccessKeyRequest
func (*UpdateAccessKeyRequest) ContextValidate ¶
func (m *UpdateAccessKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update access key request based on context it is used
func (*UpdateAccessKeyRequest) MarshalBinary ¶
func (m *UpdateAccessKeyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateAccessKeyRequest) UnmarshalBinary ¶
func (m *UpdateAccessKeyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateAccessKeyResponse ¶
type UpdateAccessKeyResponse struct { // The access key that was updated. // Required: true AccessKey *AccessKey `json:"accessKey"` }
UpdateAccessKeyResponse Response object for an update access key request.
swagger:model UpdateAccessKeyResponse
func (*UpdateAccessKeyResponse) ContextValidate ¶
func (m *UpdateAccessKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update access key response based on the context it is used
func (*UpdateAccessKeyResponse) MarshalBinary ¶
func (m *UpdateAccessKeyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateAccessKeyResponse) UnmarshalBinary ¶
func (m *UpdateAccessKeyResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateGroupRequest ¶
type UpdateGroupRequest struct { // The name or CRN of the group to update. // Required: true GroupName *string `json:"groupName"` // Whether group membership is synced when a user logs in. Can be omitted if no update is required. SyncMembershipOnUserLogin bool `json:"syncMembershipOnUserLogin,omitempty"` }
UpdateGroupRequest Request object for update group request.
swagger:model UpdateGroupRequest
func (*UpdateGroupRequest) ContextValidate ¶
ContextValidate validates this update group request based on context it is used
func (*UpdateGroupRequest) MarshalBinary ¶
func (m *UpdateGroupRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateGroupRequest) UnmarshalBinary ¶
func (m *UpdateGroupRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateGroupResponse ¶
type UpdateGroupResponse struct { // Information about the updated group. // Required: true Group *Group `json:"group"` }
UpdateGroupResponse Response object for update group request.
swagger:model UpdateGroupResponse
func (*UpdateGroupResponse) ContextValidate ¶
ContextValidate validate this update group response based on the context it is used
func (*UpdateGroupResponse) MarshalBinary ¶
func (m *UpdateGroupResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateGroupResponse) UnmarshalBinary ¶
func (m *UpdateGroupResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateSamlProviderRequest ¶
type UpdateSamlProviderRequest struct { // Whether to enable SCIM on this SAML provider. System for Cross-domain Identity Management (SCIM) version 2.0 is a standard for automating the provisioning of user and group identity information from identity provider to CDP. It is not supported for Cloudera for Government. EnableScim bool `json:"enableScim,omitempty"` // Whether to generate users' workload username by email. The default is to generate workload usernames by identity provider user ID (SAML NameID). GenerateWorkloadUsernameByEmail bool `json:"generateWorkloadUsernameByEmail,omitempty"` // SAML metadata document XML file. Length of meta data document cannot be more than 200 KB (200,000 bytes). Can be omitted if no update is required. // Max Length: 200000 SamlMetadataDocument string `json:"samlMetadataDocument,omitempty"` // The name or CRN of SAML provider to update. // Required: true SamlProviderName *string `json:"samlProviderName"` // Whether to sync group information for users federated with this SAML provider. Group membership can be passed using the https://cdp.cloudera.com/SAML/Attributes/groups SAML assertion. The default is to synchronize group membership. Can be omitted if no update is required. SyncGroupsOnLogin bool `json:"syncGroupsOnLogin,omitempty"` }
UpdateSamlProviderRequest Request object for an updating SAML provider request.
swagger:model UpdateSamlProviderRequest
func (*UpdateSamlProviderRequest) ContextValidate ¶
func (m *UpdateSamlProviderRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update saml provider request based on context it is used
func (*UpdateSamlProviderRequest) MarshalBinary ¶
func (m *UpdateSamlProviderRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateSamlProviderRequest) UnmarshalBinary ¶
func (m *UpdateSamlProviderRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateSamlProviderResponse ¶
type UpdateSamlProviderResponse struct { // The SAML provider. // Required: true SamlProvider *SamlProvider `json:"samlProvider"` }
UpdateSamlProviderResponse Response object for an updating SAML provider request.
swagger:model UpdateSamlProviderResponse
func (*UpdateSamlProviderResponse) ContextValidate ¶
func (m *UpdateSamlProviderResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update saml provider response based on the context it is used
func (*UpdateSamlProviderResponse) MarshalBinary ¶
func (m *UpdateSamlProviderResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateSamlProviderResponse) UnmarshalBinary ¶
func (m *UpdateSamlProviderResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateUserRequest ¶
type UpdateUserRequest struct { // The active state to which to set the user. When it is 'true', the user will be activated. When it is 'false' the user will be deactivated. Active bool `json:"active,omitempty"` // The CRN or userId of the user to be updated. // Required: true User *string `json:"user"` }
UpdateUserRequest Request object to update a user.
swagger:model UpdateUserRequest
func (*UpdateUserRequest) ContextValidate ¶
ContextValidate validates this update user request based on context it is used
func (*UpdateUserRequest) MarshalBinary ¶
func (m *UpdateUserRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateUserRequest) UnmarshalBinary ¶
func (m *UpdateUserRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateUserResponse ¶
type UpdateUserResponse struct { // Information about the updated user. // Required: true User *User `json:"user"` }
UpdateUserResponse Response object to update a user.
swagger:model UpdateUserResponse
func (*UpdateUserResponse) ContextValidate ¶
ContextValidate validate this update user response based on the context it is used
func (*UpdateUserResponse) MarshalBinary ¶
func (m *UpdateUserResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateUserResponse) UnmarshalBinary ¶
func (m *UpdateUserResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type User ¶
type User struct { // Whether the user is an administrator of their CDP account. // Required: true AccountAdmin *bool `json:"accountAdmin"` // The list of Azure cloud identities assigned to the user. AzureCloudIdentities []*AzureCloudIdentity `json:"azureCloudIdentities"` // The date when this user record was created. // Required: true // Format: date-time CreationDate *strfmt.DateTime `json:"creationDate"` // The CRN of the user. // Required: true Crn *string `json:"crn"` // The user's email address. // Required: true Email *string `json:"email"` // The user's first name. // Required: true FirstName *string `json:"firstName"` // The identity provider that the user belongs to. It can be "Cloudera-Default", "Cloudera-Administration", or a customer defined IdP. // Required: true IdentityProviderCrn *string `json:"identityProviderCrn"` // The date of the user's last interactive login. // Format: date-time LastInteractiveLogin strfmt.DateTime `json:"lastInteractiveLogin,omitempty"` // The user's last name. // Required: true LastName *string `json:"lastName"` // The current status of the user. The possible status values are ACTIVE, CONTROL_PLANE_LOCKED_OUT, and DEACTIVATED. ACTIVE indicates that the user is active in CDP. An active user can authenticate to the CDP control plane and workload clusters. CONTROL_PLANE_LOCKED_OUT indicates that the user is locked out of the CDP control plane. The locked-out user can no longer authenticate to the control plane but can authenticate to the workload clusters. DEACTIVATED indicates that the user is deactivated in CDP. A deactivated user can neither authenticate to the control plane nor to the workload clusters. Note that more statuses could be added in the future. The statuses other than ACTIVE are only returned on Cloudera for Government. Status string `json:"status,omitempty"` // The stable, unique identifier of the user. // Required: true UserID *string `json:"userId"` // Information about the workload password for the user. WorkloadPasswordDetails *WorkloadPasswordDetails `json:"workloadPasswordDetails,omitempty"` // The username used in all the workload clusters of the user. WorkloadUsername string `json:"workloadUsername,omitempty"` }
User Information about a Cloudera CDP user.
swagger:model User
func (*User) ContextValidate ¶
ContextValidate validate this user based on the context it is used
func (*User) MarshalBinary ¶
MarshalBinary interface implementation
func (*User) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type WorkloadName ¶
type WorkloadName string
WorkloadName The workload name.
swagger:model WorkloadName
const ( // WorkloadNameDE captures enum value "DE" WorkloadNameDE WorkloadName = "DE" // WorkloadNameDF captures enum value "DF" WorkloadNameDF WorkloadName = "DF" // WorkloadNameOPDB captures enum value "OPDB" WorkloadNameOPDB WorkloadName = "OPDB" )
func NewWorkloadName ¶
func NewWorkloadName(value WorkloadName) *WorkloadName
func (WorkloadName) ContextValidate ¶
ContextValidate validates this workload name based on context it is used
func (WorkloadName) Pointer ¶
func (m WorkloadName) Pointer() *WorkloadName
Pointer returns a pointer to a freshly-allocated WorkloadName.
type WorkloadPasswordDetails ¶
type WorkloadPasswordDetails struct { // Whether a workload password is set. // Required: true IsPasswordSet *bool `json:"isPasswordSet"` // The date at which the workload password will expire. // Format: date-time PasswordExpirationDate strfmt.DateTime `json:"passwordExpirationDate,omitempty"` // The minimum lifetime date of the workload password. A new password can't be set until this date. // Format: date-time PasswordMinLifetimeDate strfmt.DateTime `json:"passwordMinLifetimeDate,omitempty"` }
WorkloadPasswordDetails Information about the workload password for a user or machine user.
swagger:model WorkloadPasswordDetails
func (*WorkloadPasswordDetails) ContextValidate ¶
func (m *WorkloadPasswordDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this workload password details based on context it is used
func (*WorkloadPasswordDetails) MarshalBinary ¶
func (m *WorkloadPasswordDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WorkloadPasswordDetails) UnmarshalBinary ¶
func (m *WorkloadPasswordDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WorkloadPasswordPolicy ¶
type WorkloadPasswordPolicy struct { // The maximum lifetime, in days, of the password. If '0' passwords never expire. // Required: true MaxPasswordLifetimeDays *int32 `json:"maxPasswordLifetimeDays"` // The minimum length of a password. // Required: true MinPasswordLength *int32 `json:"minPasswordLength"` // The minimum lifetime of passwords, in days. The password must be used for this duration before it can be changed. If set to '0' the password may be changed any time. The default is 0. // Required: true MinPasswordLifetimeDays *int32 `json:"minPasswordLifetimeDays"` // Whether passwords must include lower case characters. // Required: true MustIncludeLowerCaseCharacters *bool `json:"mustIncludeLowerCaseCharacters"` // Whether passwords must include numbers. // Required: true MustIncludeNumbers *bool `json:"mustIncludeNumbers"` // Whether passwords must include symbols. The symbols are '#', '&', '*', '$', '%', '@', '^', '.', '_', and '!'. // Required: true MustIncludeSymbols *bool `json:"mustIncludeSymbols"` // Whether passwords must include upper case characters. // Required: true MustIncludeUpperCaseCharacters *bool `json:"mustIncludeUpperCaseCharacters"` // The number of previous passwords that should be remembered. The user or machine user is prevented from reusing these passwords. Can be any number between 0 and 20. The default is 0, this value means all previous passwords may be reused. // Required: true PasswordHistorySize *int32 `json:"passwordHistorySize"` }
WorkloadPasswordPolicy Information about the workload password policy for an account.
swagger:model WorkloadPasswordPolicy
func (*WorkloadPasswordPolicy) ContextValidate ¶
func (m *WorkloadPasswordPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this workload password policy based on context it is used
func (*WorkloadPasswordPolicy) MarshalBinary ¶
func (m *WorkloadPasswordPolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WorkloadPasswordPolicy) UnmarshalBinary ¶
func (m *WorkloadPasswordPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- access_key.go
- access_key_last_usage.go
- access_key_type.go
- account.go
- add_machine_user_to_group_request.go
- add_machine_user_to_group_response.go
- add_ssh_public_key_request.go
- add_ssh_public_key_response.go
- add_user_to_group_request.go
- add_user_to_group_response.go
- assign_azure_cloud_identity_request.go
- assign_azure_cloud_identity_response.go
- assign_group_resource_role_request.go
- assign_group_resource_role_response.go
- assign_group_role_request.go
- assign_group_role_response.go
- assign_machine_user_resource_role_request.go
- assign_machine_user_resource_role_response.go
- assign_machine_user_role_request.go
- assign_machine_user_role_response.go
- assign_service_principal_azure_cloud_identity_request.go
- assign_service_principal_azure_cloud_identity_response.go
- assign_user_resource_role_request.go
- assign_user_resource_role_response.go
- assign_user_role_request.go
- assign_user_role_response.go
- authentication_policy.go
- azure_cloud_identity.go
- create_group_request.go
- create_group_response.go
- create_machine_user_access_key_request.go
- create_machine_user_access_key_response.go
- create_machine_user_request.go
- create_machine_user_response.go
- create_saml_provider_request.go
- create_saml_provider_response.go
- create_scim_access_token_request.go
- create_scim_access_token_response.go
- create_user_access_key_request.go
- create_user_access_key_response.go
- create_user_request.go
- create_user_response.go
- delete_access_key_request.go
- delete_access_key_response.go
- delete_group_request.go
- delete_group_response.go
- delete_machine_user_request.go
- delete_machine_user_response.go
- delete_saml_provider_request.go
- delete_saml_provider_response.go
- delete_scim_access_token_request.go
- delete_scim_access_token_response.go
- delete_ssh_public_key_request.go
- delete_ssh_public_key_response.go
- delete_user_request.go
- delete_user_response.go
- describe_saml_provider_request.go
- describe_saml_provider_response.go
- describe_ssh_public_key_request.go
- describe_ssh_public_key_response.go
- disable_cloudera_s_s_o_login_request.go
- disable_cloudera_s_s_o_login_response.go
- enable_cloudera_s_s_o_login_request.go
- enable_cloudera_s_s_o_login_response.go
- error.go
- generate_workload_auth_token_request.go
- generate_workload_auth_token_response.go
- get_access_key_request.go
- get_access_key_response.go
- get_account_messages_request.go
- get_account_messages_response.go
- get_account_request.go
- get_account_response.go
- get_default_identity_provider_request.go
- get_default_identity_provider_response.go
- get_user_request.go
- get_user_response.go
- group.go
- list_access_keys_request.go
- list_access_keys_response.go
- list_group_assigned_resource_roles_request.go
- list_group_assigned_resource_roles_response.go
- list_group_assigned_roles_request.go
- list_group_assigned_roles_response.go
- list_group_members_request.go
- list_group_members_response.go
- list_groups_for_machine_user_request.go
- list_groups_for_machine_user_response.go
- list_groups_for_user_request.go
- list_groups_for_user_response.go
- list_groups_request.go
- list_groups_response.go
- list_machine_user_assigned_resource_roles_request.go
- list_machine_user_assigned_resource_roles_response.go
- list_machine_user_assigned_roles_request.go
- list_machine_user_assigned_roles_response.go
- list_machine_users_request.go
- list_machine_users_response.go
- list_resource_assignees_request.go
- list_resource_assignees_response.go
- list_resource_roles_request.go
- list_resource_roles_response.go
- list_roles_request.go
- list_roles_response.go
- list_saml_providers_request.go
- list_saml_providers_response.go
- list_scim_access_tokens_request.go
- list_scim_access_tokens_response.go
- list_service_principal_cloud_identities_request.go
- list_service_principal_cloud_identities_response.go
- list_ssh_public_keys_request.go
- list_ssh_public_keys_response.go
- list_user_assigned_resource_roles_request.go
- list_user_assigned_resource_roles_response.go
- list_user_assigned_roles_request.go
- list_user_assigned_roles_response.go
- list_users_request.go
- list_users_response.go
- machine_user.go
- password_policy.go
- policy.go
- policy_statement.go
- remove_machine_user_from_group_request.go
- remove_machine_user_from_group_response.go
- remove_user_from_group_request.go
- remove_user_from_group_response.go
- resource_assignee.go
- resource_assignment.go
- resource_role.go
- role.go
- saml_provider.go
- scim_access_token.go
- service_principal_cloud_identities.go
- set_account_messages_request.go
- set_account_messages_response.go
- set_authentication_policy_request.go
- set_authentication_policy_response.go
- set_default_identity_provider_request.go
- set_default_identity_provider_response.go
- set_workload_password_policy_request.go
- set_workload_password_policy_response.go
- set_workload_password_request.go
- set_workload_password_response.go
- ssh_public_key.go
- unassign_azure_cloud_identity_request.go
- unassign_azure_cloud_identity_response.go
- unassign_group_resource_role_request.go
- unassign_group_resource_role_response.go
- unassign_group_role_request.go
- unassign_group_role_response.go
- unassign_machine_user_resource_role_request.go
- unassign_machine_user_resource_role_response.go
- unassign_machine_user_role_request.go
- unassign_machine_user_role_response.go
- unassign_service_principal_azure_cloud_identity_request.go
- unassign_service_principal_azure_cloud_identity_response.go
- unassign_user_resource_role_request.go
- unassign_user_resource_role_response.go
- unassign_user_role_request.go
- unassign_user_role_response.go
- unlock_machine_user_in_control_plane_request.go
- unlock_machine_user_in_control_plane_response.go
- unlock_user_in_control_plane_request.go
- unlock_user_in_control_plane_response.go
- unset_workload_password_min_lifetime_request.go
- unset_workload_password_min_lifetime_response.go
- unset_workload_password_policy_request.go
- unset_workload_password_policy_response.go
- update_access_key_request.go
- update_access_key_response.go
- update_group_request.go
- update_group_response.go
- update_saml_provider_request.go
- update_saml_provider_response.go
- update_user_request.go
- update_user_response.go
- user.go
- workload_name.go
- workload_password_details.go
- workload_password_policy.go