1. Packages
  2. InfluxDB
  3. API Docs
  4. getAuthorization
InfluxDB v1.6.0 published on Wednesday, Oct 29, 2025 by thulasirajkomminar

influxdb.getAuthorization

Get Started
influxdb logo
InfluxDB v1.6.0 published on Wednesday, Oct 29, 2025 by thulasirajkomminar

    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(id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetAuthorizationResult
    def get_authorization_output(id: 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)
    public static Output<GetAuthorizationResult> getAuthorization(GetAuthorizationArgs args, InvokeOptions options)
    
    fn::invoke:
      function: influxdb:index/getAuthorization:getAuthorization
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Id string
    id String
    id string
    id str
    id String

    getAuthorization Result

    The following output properties are available:

    CreatedAt string
    Description string
    Id string
    Org string
    OrgId string
    Permissions []GetAuthorizationPermission
    Status string
    Token string
    UpdatedAt string
    User string
    UserId string
    createdAt String
    description String
    id String
    org String
    orgId String
    permissions List<GetAuthorizationPermission>
    status String
    token String
    updatedAt String
    user String
    userId String
    createdAt string
    description string
    id string
    org string
    orgId string
    permissions GetAuthorizationPermission[]
    status string
    token string
    updatedAt string
    user string
    userId string
    createdAt String
    description String
    id String
    org String
    orgId String
    permissions List<Property Map>
    status String
    token String
    updatedAt String
    user String
    userId String

    Supporting Types

    GetAuthorizationPermission

    action String
    Permission action.
    resource Property Map

    GetAuthorizationPermissionResource

    Id string
    A resource ID. Identifies a specific resource.
    Name string
    The name of the resource. Note: not all resource types have a name property.
    Org string
    An organization name. The organization that owns the resource.
    OrgId string
    An organization ID. Identifies the organization that owns the resource.
    Type string
    A resource type. Identifies the API resource's type (or kind).
    Id string
    A resource ID. Identifies a specific resource.
    Name string
    The name of the resource. Note: not all resource types have a name property.
    Org string
    An organization name. The organization that owns the resource.
    OrgId string
    An organization ID. Identifies the organization that owns the resource.
    Type string
    A resource type. Identifies the API resource's type (or kind).
    id String
    A resource ID. Identifies a specific resource.
    name String
    The name of the resource. Note: not all resource types have a name property.
    org String
    An organization name. The organization that owns the resource.
    orgId String
    An organization ID. Identifies the organization that owns the resource.
    type String
    A resource type. Identifies the API resource's type (or kind).
    id string
    A resource ID. Identifies a specific resource.
    name string
    The name of the resource. Note: not all resource types have a name property.
    org string
    An organization name. The organization that owns the resource.
    orgId string
    An organization ID. Identifies the organization that owns the resource.
    type string
    A resource type. Identifies the API resource's type (or kind).
    id str
    A resource ID. Identifies a specific resource.
    name str
    The name of the resource. Note: not all resource types have a name property.
    org str
    An organization name. The organization that owns the resource.
    org_id str
    An organization ID. Identifies the organization that owns the resource.
    type str
    A resource type. Identifies the API resource's type (or kind).
    id String
    A resource ID. Identifies a specific resource.
    name String
    The name of the resource. Note: not all resource types have a name property.
    org String
    An organization name. The organization that owns the resource.
    orgId String
    An organization ID. Identifies the organization that owns the resource.
    type String
    A resource type. Identifies the API resource's type (or kind).

    Package Details

    Repository
    influxdb thulasirajkomminar/pulumi-influxdb
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the influxdb Terraform Provider.
    influxdb logo
    InfluxDB v1.6.0 published on Wednesday, Oct 29, 2025 by thulasirajkomminar
      Meet Neo: Your AI Platform Teammate