Documentation ¶
Index ¶
- Variables
- func EqualStringSlice(a []string, b []string) bool
- func EqualStringSliceMap(a map[string][]string, b map[string][]string) bool
- type GroupConfig
- func (me *GroupConfig) Anonymize() *GroupConfig
- func (me *GroupConfig) Equals(other *GroupConfig) bool
- func (me *GroupConfig) MarshalHCL(properties hcl.Properties) error
- func (me *GroupConfig) Schema() map[string]*schema.Schema
- func (me *GroupConfig) Slim() *GroupConfig
- func (me *GroupConfig) UnmarshalHCL(decoder hcl.Decoder) error
- type Permission
- type PermissionAssignment
- type PermissionAssignments
Constants ¶
This section is empty.
Variables ¶
View Source
var Permissions = struct { Viewer Permission ManageSettings Permission AgentInstall Permission LogViewer Permission ViewSensitiveRequestData Permission ConfigureRequestCaptureData Permission ReplaySessionData Permission ReplaySessionDataWithoutMasking Permission ManageSecurityProblems Permission ManageSupportTickets Permission }{ "VIEWER", "MANAGE_SETTINGS", "AGENT_INSTALL", "LOG_VIEWER", "VIEW_SENSITIVE_REQUEST_DATA", "CONFIGURE_REQUEST_CAPTURE_DATA", "REPLAY_SESSION_DATA", "REPLAY_SESSION_DATA_WITHOUT_MASKING", "MANAGE_SECURITY_PROBLEMS", "MANAGE_SUPPORT_TICKETS", }
Functions ¶
func EqualStringSlice ¶
Types ¶
type GroupConfig ¶
type GroupConfig struct { ID *string `json:"id"` // Group ID. Leave empty if creating group. Set if updating group Name string `json:"name"` // Group name IsClusterAdminGroup bool `json:"isClusterAdminGroup"` // If true, then the group has the cluster administrator rights LDAPGroupNames []string `json:"ldapGroupNames,omitempty"` // LDAP group names SSOGroupNames []string `json:"ssoGroupNames,omitempty"` // SSO group names. If defined it's used to map SSO group name to Dynatrace group name, otherwise mapping is done by group name AccessRight map[string][]string `json:"accessRight,omitempty"` // Access rights AccessAccount bool `json:"accessAccount,omitempty"` // write-only - no documentation available ManageAccount bool `json:"manageAccount,omitempty"` // write-only - no documentation available }
GroupConfig represents the configuration of the group
func (*GroupConfig) Anonymize ¶
func (me *GroupConfig) Anonymize() *GroupConfig
func (*GroupConfig) Equals ¶
func (me *GroupConfig) Equals(other *GroupConfig) bool
func (*GroupConfig) MarshalHCL ¶
func (me *GroupConfig) MarshalHCL(properties hcl.Properties) error
func (*GroupConfig) Slim ¶
func (me *GroupConfig) Slim() *GroupConfig
func (*GroupConfig) UnmarshalHCL ¶
func (me *GroupConfig) UnmarshalHCL(decoder hcl.Decoder) error
type Permission ¶
type Permission string
type PermissionAssignment ¶
type PermissionAssignment struct { Permission Permission Environments []string }
func (*PermissionAssignment) MarshalHCL ¶
func (me *PermissionAssignment) MarshalHCL(properties hcl.Properties) error
func (*PermissionAssignment) Schema ¶
func (me *PermissionAssignment) Schema() map[string]*schema.Schema
func (*PermissionAssignment) UnmarshalHCL ¶
func (me *PermissionAssignment) UnmarshalHCL(decoder hcl.Decoder) error
type PermissionAssignments ¶
type PermissionAssignments []*PermissionAssignment
func (PermissionAssignments) MarshalHCL ¶
func (me PermissionAssignments) MarshalHCL(properties hcl.Properties) error
func (*PermissionAssignments) Schema ¶
func (me *PermissionAssignments) Schema() map[string]*schema.Schema
func (*PermissionAssignments) UnmarshalHCL ¶
func (me *PermissionAssignments) UnmarshalHCL(decoder hcl.Decoder) error
Click to show internal directories.
Click to hide internal directories.