This commit is contained in:
Shreyas Goenka 2024-10-10 15:38:10 +02:00
parent 62d60a251d
commit ce984254fa
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
2 changed files with 3 additions and 4 deletions

View File

@ -9,7 +9,6 @@ import (
"github.com/databricks/databricks-sdk-go/service/{{.Package.Name}}"
"github.com/spf13/cobra"
{{range .Subservices -}}
{{.SnakeName}} "github.com/databricks/cli/cmd/{{ if .ParentService.IsAccounts }}account{{ else }}workspace{{ end }}/{{.KebabName}}"
{{end}}

View File

@ -61,7 +61,7 @@ func newGetAssignableRolesForResource() *cobra.Command {
cmd.Use = "get-assignable-roles-for-resource RESOURCE"
cmd.Short = `Get assignable roles for a resource.`
cmd.Long = `Get assignable roles for a resource.
Gets all the roles that can be granted on an account level resource. A role is
grantable if the rule set on the resource can contain an access rule of the
role.
@ -121,7 +121,7 @@ func newGetRuleSet() *cobra.Command {
cmd.Use = "get-rule-set NAME ETAG"
cmd.Short = `Get a rule set.`
cmd.Long = `Get a rule set.
Get a rule set by its name. A rule set is always attached to a resource and
contains a list of access rules on the said resource. Currently only a default
rule set for each resource is supported.
@ -192,7 +192,7 @@ func newUpdateRuleSet() *cobra.Command {
cmd.Use = "update-rule-set"
cmd.Short = `Update a rule set.`
cmd.Long = `Update a rule set.
Replace the rules of a rule set. First, use get to read the current version of
the rule set before modifying it. This pattern helps prevent conflicts between
concurrent updates.`