Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly
rootly.getAuthorization
Explore with Pulumi AI
Using getAuthorization
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAuthorization(args: GetAuthorizationArgs, opts?: InvokeOptions): Promise<GetAuthorizationResult>
function getAuthorizationOutput(args: GetAuthorizationOutputArgs, opts?: InvokeOptions): Output<GetAuthorizationResult>
def get_authorization(authorizable_id: Optional[str] = None,
authorizable_type: Optional[str] = None,
created_at: Optional[Mapping[str, Any]] = None,
grantee_id: Optional[str] = None,
grantee_type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAuthorizationResult
def get_authorization_output(authorizable_id: Optional[pulumi.Input[str]] = None,
authorizable_type: Optional[pulumi.Input[str]] = None,
created_at: Optional[pulumi.Input[Mapping[str, Any]]] = None,
grantee_id: Optional[pulumi.Input[str]] = None,
grantee_type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAuthorizationResult]
func LookupAuthorization(ctx *Context, args *LookupAuthorizationArgs, opts ...InvokeOption) (*LookupAuthorizationResult, error)
func LookupAuthorizationOutput(ctx *Context, args *LookupAuthorizationOutputArgs, opts ...InvokeOption) LookupAuthorizationResultOutput
> Note: This function is named LookupAuthorization
in the Go SDK.
public static class GetAuthorization
{
public static Task<GetAuthorizationResult> InvokeAsync(GetAuthorizationArgs args, InvokeOptions? opts = null)
public static Output<GetAuthorizationResult> Invoke(GetAuthorizationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAuthorizationResult> getAuthorization(GetAuthorizationArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: rootly:index/getAuthorization:getAuthorization
arguments:
# arguments dictionary
The following arguments are supported:
- string
- string
- Created
At Dictionary<string, object> - Filter by date range using 'lt' and 'gt'.
- Grantee
Id string - Grantee
Type string
- string
- string
- Created
At map[string]interface{} - Filter by date range using 'lt' and 'gt'.
- Grantee
Id string - Grantee
Type string
- String
- String
- created
At Map<String,Object> - Filter by date range using 'lt' and 'gt'.
- grantee
Id String - grantee
Type String
- string
- string
- created
At {[key: string]: any} - Filter by date range using 'lt' and 'gt'.
- grantee
Id string - grantee
Type string
- str
- str
- created_
at Mapping[str, Any] - Filter by date range using 'lt' and 'gt'.
- grantee_
id str - grantee_
type str
- String
- String
- created
At Map<Any> - Filter by date range using 'lt' and 'gt'.
- grantee
Id String - grantee
Type String
getAuthorization Result
The following output properties are available:
- string
- string
- Grantee
Id string - Grantee
Type string - Id string
- The ID of this resource.
- Created
At Dictionary<string, object> - Filter by date range using 'lt' and 'gt'.
- string
- string
- Grantee
Id string - Grantee
Type string - Id string
- The ID of this resource.
- Created
At map[string]interface{} - Filter by date range using 'lt' and 'gt'.
- String
- String
- grantee
Id String - grantee
Type String - id String
- The ID of this resource.
- created
At Map<String,Object> - Filter by date range using 'lt' and 'gt'.
- string
- string
- grantee
Id string - grantee
Type string - id string
- The ID of this resource.
- created
At {[key: string]: any} - Filter by date range using 'lt' and 'gt'.
- str
- str
- grantee_
id str - grantee_
type str - id str
- The ID of this resource.
- created_
at Mapping[str, Any] - Filter by date range using 'lt' and 'gt'.
- String
- String
- grantee
Id String - grantee
Type String - id String
- The ID of this resource.
- created
At Map<Any> - Filter by date range using 'lt' and 'gt'.
Package Details
- Repository
- rootly rootlyhq/pulumi-rootly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
rootly
Terraform Provider.