GetRule
Use this data source to get information about a Google IAM Role.
Using GetRule
function getRule(args: GetRuleArgs, opts?: InvokeOptions): Promise<GetRuleResult>function get_rule(name=None, opts=None)func GetRule(ctx *Context, args *GetRuleArgs, opts ...InvokeOption) (*GetRuleResult, error)public static class GetRule {
public static Task<GetRuleResult> InvokeAsync(GetRuleArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
GetRule Result
The following output properties are available:
- Id string
The provider-assigned unique ID for this managed resource.
- Included
Permissions List<string> specifies the list of one or more permissions to include in the custom role, such as -
iam.roles.get- Name string
- Stage string
indicates the stage of a role in the launch lifecycle, such as
GA,BETAorALPHA.- Title string
is a friendly title for the role, such as “Role Viewer”
- Id string
The provider-assigned unique ID for this managed resource.
- Included
Permissions []string specifies the list of one or more permissions to include in the custom role, such as -
iam.roles.get- Name string
- Stage string
indicates the stage of a role in the launch lifecycle, such as
GA,BETAorALPHA.- Title string
is a friendly title for the role, such as “Role Viewer”
- id string
The provider-assigned unique ID for this managed resource.
- included
Permissions string[] specifies the list of one or more permissions to include in the custom role, such as -
iam.roles.get- name string
- stage string
indicates the stage of a role in the launch lifecycle, such as
GA,BETAorALPHA.- title string
is a friendly title for the role, such as “Role Viewer”
- id str
The provider-assigned unique ID for this managed resource.
- included_
permissions List[str] specifies the list of one or more permissions to include in the custom role, such as -
iam.roles.get- name str
- stage str
indicates the stage of a role in the launch lifecycle, such as
GA,BETAorALPHA.- title str
is a friendly title for the role, such as “Role Viewer”
Package Details
- Repository
- https://github.com/pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.