groups

package
v1.68.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ScopeTypes = struct {
	Account        ScopeType
	Tenant         ScopeType
	ManagementZone ScopeType
}{
	ScopeType("account"),
	ScopeType("tenant"),
	ScopeType("management-zone"),
}

Functions

This section is empty.

Types

type Group

type Group struct {
	Name                     string      `json:"name"`
	Description              string      `json:"description"`
	FederatedAttributeValues []string    `json:"federatedAttributeValues"`
	Permissions              Permissions `json:"-"`
}

func (*Group) MarshalHCL

func (me *Group) MarshalHCL(properties hcl.Properties) error

func (*Group) Schema

func (me *Group) Schema() map[string]*schema.Schema

func (*Group) UnmarshalHCL

func (me *Group) UnmarshalHCL(decoder hcl.Decoder) error

type Permission

type Permission struct {
	Name      string `json:"permissionName"` // The name of the permission. Possible values are account-company-info, account-user-management, account-viewer, tenant-viewer, tenant-manage-settings, tenant-agent-install, tenant-logviewer, tenant-view-sensitive-request-data, tenant-configure-request-capture-data, tenant-replay-sessions-with-masking, tenant-replay-sessions-without-masking, tenant-manage-security-problems, tenant-manage-support-tickets.
	Scope     string `json:"scope"`          // The scope of the permission. Depending on the scope type, it is defined by the UUID of the account (scopeType = `account`), the ID of the environment (scopeType = `tenant`) or the ID of the management zone from an environment in `{environment-id}-{management-zone-id}` format (scopeType = `management-zone`)
	ScopeType string `json:"scopeType"`      // The type of the permission scope. Possible values are `account`, `tenant` and `management-zone`
}

func (*Permission) MarshalHCL

func (me *Permission) MarshalHCL(properties hcl.Properties) error

func (*Permission) Schema

func (me *Permission) Schema() map[string]*schema.Schema

func (*Permission) UnmarshalHCL

func (me *Permission) UnmarshalHCL(decoder hcl.Decoder) error

type Permissions

type Permissions []*Permission

func (Permissions) MarshalHCL

func (me Permissions) MarshalHCL(properties hcl.Properties) error

func (*Permissions) Schema

func (me *Permissions) Schema() map[string]*schema.Schema

func (*Permissions) UnmarshalHCL

func (me *Permissions) UnmarshalHCL(decoder hcl.Decoder) error

type ScopeType

type ScopeType string

Jump to

Keyboard shortcuts

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