1. Packages
  2. Rootly
  3. API Docs
  4. getAuthorization
Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly

rootly.getAuthorization

Explore with Pulumi AI

rootly logo
Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly

    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:

    AuthorizableId string
    AuthorizableType string
    CreatedAt Dictionary<string, object>
    Filter by date range using 'lt' and 'gt'.
    GranteeId string
    GranteeType string
    AuthorizableId string
    AuthorizableType string
    CreatedAt map[string]interface{}
    Filter by date range using 'lt' and 'gt'.
    GranteeId string
    GranteeType string
    authorizableId String
    authorizableType String
    createdAt Map<String,Object>
    Filter by date range using 'lt' and 'gt'.
    granteeId String
    granteeType String
    authorizableId string
    authorizableType string
    createdAt {[key: string]: any}
    Filter by date range using 'lt' and 'gt'.
    granteeId string
    granteeType string
    authorizable_id str
    authorizable_type str
    created_at Mapping[str, Any]
    Filter by date range using 'lt' and 'gt'.
    grantee_id str
    grantee_type str
    authorizableId String
    authorizableType String
    createdAt Map<Any>
    Filter by date range using 'lt' and 'gt'.
    granteeId String
    granteeType String

    getAuthorization Result

    The following output properties are available:

    AuthorizableId string
    AuthorizableType string
    GranteeId string
    GranteeType string
    Id string
    The ID of this resource.
    CreatedAt Dictionary<string, object>
    Filter by date range using 'lt' and 'gt'.
    AuthorizableId string
    AuthorizableType string
    GranteeId string
    GranteeType string
    Id string
    The ID of this resource.
    CreatedAt map[string]interface{}
    Filter by date range using 'lt' and 'gt'.
    authorizableId String
    authorizableType String
    granteeId String
    granteeType String
    id String
    The ID of this resource.
    createdAt Map<String,Object>
    Filter by date range using 'lt' and 'gt'.
    authorizableId string
    authorizableType string
    granteeId string
    granteeType string
    id string
    The ID of this resource.
    createdAt {[key: string]: any}
    Filter by date range using 'lt' and 'gt'.
    authorizable_id str
    authorizable_type 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'.
    authorizableId String
    authorizableType String
    granteeId String
    granteeType String
    id String
    The ID of this resource.
    createdAt 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.
    rootly logo
    Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly