iam

package
v0.5.10 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MachineUserResourceRoleAssignmentSchema = schema.Schema{
	Attributes: map[string]schema.Attribute{
		"id": schema.StringAttribute{
			Computed: true,
		},
		"machine_user": schema.StringAttribute{
			Required:            true,
			MarkdownDescription: "The machine user the role is assigned to. Can be the machine user’s name or CRN.",
		},
		"resource_crn": schema.StringAttribute{
			Required:            true,
			MarkdownDescription: "The resource for which the resource role rights are granted.",
		},
		"resource_role_crn": schema.StringAttribute{
			Required:            true,
			MarkdownDescription: "The CRN of the resource role to assign to the machine user.",
		},
	},
}
View Source
var MachineUserRoleAssignmentSchema = schema.Schema{
	Attributes: map[string]schema.Attribute{
		"id": schema.StringAttribute{
			Computed: true,
		},
		"machine_user": schema.StringAttribute{
			Required:            true,
			MarkdownDescription: "The machine user the role is assigned to. Can be the machine user’s name or CRN.",
		},
		"role": schema.StringAttribute{
			Required:            true,
			MarkdownDescription: "The role to assign to the machine user. Can be the role’s name or CRN.",
		},
	},
}

Functions

func NewGroupDataSource

func NewGroupDataSource() datasource.DataSource

func NewGroupResource

func NewGroupResource() resource.Resource

func NewMachineUserGroupAssignmentResource added in v0.5.9

func NewMachineUserGroupAssignmentResource() resource.Resource

func NewMachineUserResource added in v0.5.9

func NewMachineUserResource() resource.Resource

func NewMachineUserResourceRoleAssignmentResource added in v0.5.9

func NewMachineUserResourceRoleAssignmentResource() resource.Resource

func NewMachineUserRoleAssignmentResource added in v0.5.9

func NewMachineUserRoleAssignmentResource() resource.Resource

func PerformSchemaValidationForResource added in v0.5.9

func PerformSchemaValidationForResource(t *testing.T, test SchemaTestCaseStructure, attr schema.Attribute)

Types

type SchemaTestCaseStructure added in v0.5.9

type SchemaTestCaseStructure struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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