Documentation ¶
Index ¶
- type GetRuleArgs
- type GetRuleResult
- type GetTestablePermissionsArgs
- type GetTestablePermissionsPermission
- type GetTestablePermissionsPermissionArgs
- func (GetTestablePermissionsPermissionArgs) ElementType() reflect.Type
- func (i GetTestablePermissionsPermissionArgs) ToGetTestablePermissionsPermissionOutput() GetTestablePermissionsPermissionOutput
- func (i GetTestablePermissionsPermissionArgs) ToGetTestablePermissionsPermissionOutputWithContext(ctx context.Context) GetTestablePermissionsPermissionOutput
- type GetTestablePermissionsPermissionArray
- func (GetTestablePermissionsPermissionArray) ElementType() reflect.Type
- func (i GetTestablePermissionsPermissionArray) ToGetTestablePermissionsPermissionArrayOutput() GetTestablePermissionsPermissionArrayOutput
- func (i GetTestablePermissionsPermissionArray) ToGetTestablePermissionsPermissionArrayOutputWithContext(ctx context.Context) GetTestablePermissionsPermissionArrayOutput
- type GetTestablePermissionsPermissionArrayInput
- type GetTestablePermissionsPermissionArrayOutput
- func (GetTestablePermissionsPermissionArrayOutput) ElementType() reflect.Type
- func (o GetTestablePermissionsPermissionArrayOutput) Index(i pulumi.IntInput) GetTestablePermissionsPermissionOutput
- func (o GetTestablePermissionsPermissionArrayOutput) ToGetTestablePermissionsPermissionArrayOutput() GetTestablePermissionsPermissionArrayOutput
- func (o GetTestablePermissionsPermissionArrayOutput) ToGetTestablePermissionsPermissionArrayOutputWithContext(ctx context.Context) GetTestablePermissionsPermissionArrayOutput
- type GetTestablePermissionsPermissionInput
- type GetTestablePermissionsPermissionOutput
- func (o GetTestablePermissionsPermissionOutput) ApiDisabled() pulumi.BoolOutput
- func (o GetTestablePermissionsPermissionOutput) CustomSupportLevel() pulumi.StringOutput
- func (GetTestablePermissionsPermissionOutput) ElementType() reflect.Type
- func (o GetTestablePermissionsPermissionOutput) Name() pulumi.StringOutput
- func (o GetTestablePermissionsPermissionOutput) Stage() pulumi.StringOutput
- func (o GetTestablePermissionsPermissionOutput) Title() pulumi.StringOutput
- func (o GetTestablePermissionsPermissionOutput) ToGetTestablePermissionsPermissionOutput() GetTestablePermissionsPermissionOutput
- func (o GetTestablePermissionsPermissionOutput) ToGetTestablePermissionsPermissionOutputWithContext(ctx context.Context) GetTestablePermissionsPermissionOutput
- type GetTestablePermissionsResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetRuleArgs ¶
type GetRuleArgs struct { // The name of the Role to lookup in the form `roles/{ROLE_NAME}`, `organizations/{ORGANIZATION_ID}/roles/{ROLE_NAME}` or `projects/{PROJECT_ID}/roles/{ROLE_NAME}` Name string `pulumi:"name"` }
A collection of arguments for invoking getRule.
type GetRuleResult ¶
type GetRuleResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // specifies the list of one or more permissions to include in the custom role, such as - `iam.roles.get` IncludedPermissions []string `pulumi:"includedPermissions"` Name string `pulumi:"name"` // indicates the stage of a role in the launch lifecycle, such as `GA`, `BETA` or `ALPHA`. Stage string `pulumi:"stage"` // is a friendly title for the role, such as "Role Viewer" Title string `pulumi:"title"` }
A collection of values returned by getRule.
func GetRule ¶
func GetRule(ctx *pulumi.Context, args *GetRuleArgs, opts ...pulumi.InvokeOption) (*GetRuleResult, error)
Use this data source to get information about a Google IAM Role.
type GetTestablePermissionsArgs ¶ added in v3.7.0
type GetTestablePermissionsArgs struct { // The level of support for custom roles. Can be one of `"NOT_SUPPORTED"`, `"SUPPORTED"`, `"TESTING"`. Default is `"SUPPORTED"` CustomSupportLevel *string `pulumi:"customSupportLevel"` // See [full resource name documentation](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more detail. FullResourceName string `pulumi:"fullResourceName"` // The acceptable release stages of the permission in the output. Note that `BETA` does not include permissions in `GA`, but you can specify both with `["GA", "BETA"]` for example. Can be a list of `"ALPHA"`, `"BETA"`, `"GA"`, `"DEPRECATED"`. Default is `["GA"]`. Stages []string `pulumi:"stages"` }
A collection of arguments for invoking getTestablePermissions.
type GetTestablePermissionsPermission ¶ added in v3.7.0
type GetTestablePermissionsPermission struct { // Whether the corresponding API has been enabled for the resource. ApiDisabled bool `pulumi:"apiDisabled"` // The level of support for custom roles. Can be one of `"NOT_SUPPORTED"`, `"SUPPORTED"`, `"TESTING"`. Default is `"SUPPORTED"` CustomSupportLevel string `pulumi:"customSupportLevel"` // Name of the permission. Name string `pulumi:"name"` // Release stage of the permission. Stage string `pulumi:"stage"` // Human readable title of the permission. Title string `pulumi:"title"` }
type GetTestablePermissionsPermissionArgs ¶ added in v3.7.0
type GetTestablePermissionsPermissionArgs struct { // Whether the corresponding API has been enabled for the resource. ApiDisabled pulumi.BoolInput `pulumi:"apiDisabled"` // The level of support for custom roles. Can be one of `"NOT_SUPPORTED"`, `"SUPPORTED"`, `"TESTING"`. Default is `"SUPPORTED"` CustomSupportLevel pulumi.StringInput `pulumi:"customSupportLevel"` // Name of the permission. Name pulumi.StringInput `pulumi:"name"` // Release stage of the permission. Stage pulumi.StringInput `pulumi:"stage"` // Human readable title of the permission. Title pulumi.StringInput `pulumi:"title"` }
func (GetTestablePermissionsPermissionArgs) ElementType ¶ added in v3.7.0
func (GetTestablePermissionsPermissionArgs) ElementType() reflect.Type
func (GetTestablePermissionsPermissionArgs) ToGetTestablePermissionsPermissionOutput ¶ added in v3.7.0
func (i GetTestablePermissionsPermissionArgs) ToGetTestablePermissionsPermissionOutput() GetTestablePermissionsPermissionOutput
func (GetTestablePermissionsPermissionArgs) ToGetTestablePermissionsPermissionOutputWithContext ¶ added in v3.7.0
func (i GetTestablePermissionsPermissionArgs) ToGetTestablePermissionsPermissionOutputWithContext(ctx context.Context) GetTestablePermissionsPermissionOutput
type GetTestablePermissionsPermissionArray ¶ added in v3.7.0
type GetTestablePermissionsPermissionArray []GetTestablePermissionsPermissionInput
func (GetTestablePermissionsPermissionArray) ElementType ¶ added in v3.7.0
func (GetTestablePermissionsPermissionArray) ElementType() reflect.Type
func (GetTestablePermissionsPermissionArray) ToGetTestablePermissionsPermissionArrayOutput ¶ added in v3.7.0
func (i GetTestablePermissionsPermissionArray) ToGetTestablePermissionsPermissionArrayOutput() GetTestablePermissionsPermissionArrayOutput
func (GetTestablePermissionsPermissionArray) ToGetTestablePermissionsPermissionArrayOutputWithContext ¶ added in v3.7.0
func (i GetTestablePermissionsPermissionArray) ToGetTestablePermissionsPermissionArrayOutputWithContext(ctx context.Context) GetTestablePermissionsPermissionArrayOutput
type GetTestablePermissionsPermissionArrayInput ¶ added in v3.7.0
type GetTestablePermissionsPermissionArrayInput interface { pulumi.Input ToGetTestablePermissionsPermissionArrayOutput() GetTestablePermissionsPermissionArrayOutput ToGetTestablePermissionsPermissionArrayOutputWithContext(context.Context) GetTestablePermissionsPermissionArrayOutput }
GetTestablePermissionsPermissionArrayInput is an input type that accepts GetTestablePermissionsPermissionArray and GetTestablePermissionsPermissionArrayOutput values. You can construct a concrete instance of `GetTestablePermissionsPermissionArrayInput` via:
GetTestablePermissionsPermissionArray{ GetTestablePermissionsPermissionArgs{...} }
type GetTestablePermissionsPermissionArrayOutput ¶ added in v3.7.0
type GetTestablePermissionsPermissionArrayOutput struct{ *pulumi.OutputState }
func (GetTestablePermissionsPermissionArrayOutput) ElementType ¶ added in v3.7.0
func (GetTestablePermissionsPermissionArrayOutput) ElementType() reflect.Type
func (GetTestablePermissionsPermissionArrayOutput) ToGetTestablePermissionsPermissionArrayOutput ¶ added in v3.7.0
func (o GetTestablePermissionsPermissionArrayOutput) ToGetTestablePermissionsPermissionArrayOutput() GetTestablePermissionsPermissionArrayOutput
func (GetTestablePermissionsPermissionArrayOutput) ToGetTestablePermissionsPermissionArrayOutputWithContext ¶ added in v3.7.0
func (o GetTestablePermissionsPermissionArrayOutput) ToGetTestablePermissionsPermissionArrayOutputWithContext(ctx context.Context) GetTestablePermissionsPermissionArrayOutput
type GetTestablePermissionsPermissionInput ¶ added in v3.7.0
type GetTestablePermissionsPermissionInput interface { pulumi.Input ToGetTestablePermissionsPermissionOutput() GetTestablePermissionsPermissionOutput ToGetTestablePermissionsPermissionOutputWithContext(context.Context) GetTestablePermissionsPermissionOutput }
GetTestablePermissionsPermissionInput is an input type that accepts GetTestablePermissionsPermissionArgs and GetTestablePermissionsPermissionOutput values. You can construct a concrete instance of `GetTestablePermissionsPermissionInput` via:
GetTestablePermissionsPermissionArgs{...}
type GetTestablePermissionsPermissionOutput ¶ added in v3.7.0
type GetTestablePermissionsPermissionOutput struct{ *pulumi.OutputState }
func (GetTestablePermissionsPermissionOutput) ApiDisabled ¶ added in v3.7.0
func (o GetTestablePermissionsPermissionOutput) ApiDisabled() pulumi.BoolOutput
Whether the corresponding API has been enabled for the resource.
func (GetTestablePermissionsPermissionOutput) CustomSupportLevel ¶ added in v3.7.0
func (o GetTestablePermissionsPermissionOutput) CustomSupportLevel() pulumi.StringOutput
The level of support for custom roles. Can be one of `"NOT_SUPPORTED"`, `"SUPPORTED"`, `"TESTING"`. Default is `"SUPPORTED"`
func (GetTestablePermissionsPermissionOutput) ElementType ¶ added in v3.7.0
func (GetTestablePermissionsPermissionOutput) ElementType() reflect.Type
func (GetTestablePermissionsPermissionOutput) Name ¶ added in v3.7.0
func (o GetTestablePermissionsPermissionOutput) Name() pulumi.StringOutput
Name of the permission.
func (GetTestablePermissionsPermissionOutput) Stage ¶ added in v3.7.0
func (o GetTestablePermissionsPermissionOutput) Stage() pulumi.StringOutput
Release stage of the permission.
func (GetTestablePermissionsPermissionOutput) Title ¶ added in v3.7.0
func (o GetTestablePermissionsPermissionOutput) Title() pulumi.StringOutput
Human readable title of the permission.
func (GetTestablePermissionsPermissionOutput) ToGetTestablePermissionsPermissionOutput ¶ added in v3.7.0
func (o GetTestablePermissionsPermissionOutput) ToGetTestablePermissionsPermissionOutput() GetTestablePermissionsPermissionOutput
func (GetTestablePermissionsPermissionOutput) ToGetTestablePermissionsPermissionOutputWithContext ¶ added in v3.7.0
func (o GetTestablePermissionsPermissionOutput) ToGetTestablePermissionsPermissionOutputWithContext(ctx context.Context) GetTestablePermissionsPermissionOutput
type GetTestablePermissionsResult ¶ added in v3.7.0
type GetTestablePermissionsResult struct { // The the support level of this permission for custom roles. CustomSupportLevel *string `pulumi:"customSupportLevel"` FullResourceName string `pulumi:"fullResourceName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A list of permissions matching the provided input. Structure is defined below. Permissions []GetTestablePermissionsPermission `pulumi:"permissions"` Stages []string `pulumi:"stages"` }
A collection of values returned by getTestablePermissions.
func GetTestablePermissions ¶ added in v3.7.0
func GetTestablePermissions(ctx *pulumi.Context, args *GetTestablePermissionsArgs, opts ...pulumi.InvokeOption) (*GetTestablePermissionsResult, error)
Retrieve a list of testable permissions for a resource. Testable permissions mean the permissions that user can add or remove in a role at a given resource. The resource can be referenced either via the full resource name or via a URI.