mirror of https://github.com/databricks/cli.git
12 lines
390 B
Go
12 lines
390 B
Go
|
package resources
|
||
|
|
||
|
// Permission holds the permission level setting for a single principal.
|
||
|
// Multiple of these can be defined on any resource.
|
||
|
type Permission struct {
|
||
|
Level string `json:"level"`
|
||
|
|
||
|
UserName string `json:"user_name,omitempty"`
|
||
|
ServicePrincipalName string `json:"service_principal_name,omitempty"`
|
||
|
GroupName string `json:"group_name,omitempty"`
|
||
|
}
|