1. Packages
  2. InfluxDB
  3. API Docs
  4. getAuthorizations
InfluxDB v1.2.0 published on Tuesday, Apr 16, 2024 by komminarlabs

influxdb.getAuthorizations

Explore with Pulumi AI

influxdb logo
InfluxDB v1.2.0 published on Tuesday, Apr 16, 2024 by komminarlabs

    Lists all authorizations.

    Using getAuthorizations

    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 getAuthorizations(opts?: InvokeOptions): Promise<GetAuthorizationsResult>
    function getAuthorizationsOutput(opts?: InvokeOptions): Output<GetAuthorizationsResult>
    def get_authorizations(opts: Optional[InvokeOptions] = None) -> GetAuthorizationsResult
    def get_authorizations_output(opts: Optional[InvokeOptions] = None) -> Output[GetAuthorizationsResult]
    func GetAuthorizations(ctx *Context, opts ...InvokeOption) (*GetAuthorizationsResult, error)
    func GetAuthorizationsOutput(ctx *Context, opts ...InvokeOption) GetAuthorizationsResultOutput

    > Note: This function is named GetAuthorizations in the Go SDK.

    public static class GetAuthorizations 
    {
        public static Task<GetAuthorizationsResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetAuthorizationsResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAuthorizationsResult> getAuthorizations(InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: influxdb:index/getAuthorizations:getAuthorizations
      arguments:
        # arguments dictionary

    getAuthorizations Result

    The following output properties are available:

    Authorizations List<KomminarLabs.InfluxDB.Outputs.GetAuthorizationsAuthorization>
    Id string
    The provider-assigned unique ID for this managed resource.
    Authorizations []GetAuthorizationsAuthorization
    Id string
    The provider-assigned unique ID for this managed resource.
    authorizations List<GetAuthorizationsAuthorization>
    id String
    The provider-assigned unique ID for this managed resource.
    authorizations GetAuthorizationsAuthorization[]
    id string
    The provider-assigned unique ID for this managed resource.
    authorizations Sequence[GetAuthorizationsAuthorization]
    id str
    The provider-assigned unique ID for this managed resource.
    authorizations List<Property Map>
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    GetAuthorizationsAuthorization

    CreatedAt string
    Authorizations creation date.
    Description string
    A description of the token.
    Id string
    The authorization ID.
    Org string
    An Organization name. Specifies the organization that owns the authorization.
    OrgId string
    An organization ID. Specifies the organization that owns the authorization.
    Permissions List<KomminarLabs.InfluxDB.Inputs.GetAuthorizationsAuthorizationPermission>
    A list of permissions for an authorization.
    Status string
    Status of the token.
    Token string
    The API token.
    UpdatedAt string
    Last Authorizations update date.
    User string
    A user name. Specifies the user that the authorization is scoped to.
    UserId string
    A user ID. Specifies the user that the authorization is scoped to.
    CreatedAt string
    Authorizations creation date.
    Description string
    A description of the token.
    Id string
    The authorization ID.
    Org string
    An Organization name. Specifies the organization that owns the authorization.
    OrgId string
    An organization ID. Specifies the organization that owns the authorization.
    Permissions []GetAuthorizationsAuthorizationPermission
    A list of permissions for an authorization.
    Status string
    Status of the token.
    Token string
    The API token.
    UpdatedAt string
    Last Authorizations update date.
    User string
    A user name. Specifies the user that the authorization is scoped to.
    UserId string
    A user ID. Specifies the user that the authorization is scoped to.
    createdAt String
    Authorizations creation date.
    description String
    A description of the token.
    id String
    The authorization ID.
    org String
    An Organization name. Specifies the organization that owns the authorization.
    orgId String
    An organization ID. Specifies the organization that owns the authorization.
    permissions List<GetAuthorizationsAuthorizationPermission>
    A list of permissions for an authorization.
    status String
    Status of the token.
    token String
    The API token.
    updatedAt String
    Last Authorizations update date.
    user String
    A user name. Specifies the user that the authorization is scoped to.
    userId String
    A user ID. Specifies the user that the authorization is scoped to.
    createdAt string
    Authorizations creation date.
    description string
    A description of the token.
    id string
    The authorization ID.
    org string
    An Organization name. Specifies the organization that owns the authorization.
    orgId string
    An organization ID. Specifies the organization that owns the authorization.
    permissions GetAuthorizationsAuthorizationPermission[]
    A list of permissions for an authorization.
    status string
    Status of the token.
    token string
    The API token.
    updatedAt string
    Last Authorizations update date.
    user string
    A user name. Specifies the user that the authorization is scoped to.
    userId string
    A user ID. Specifies the user that the authorization is scoped to.
    created_at str
    Authorizations creation date.
    description str
    A description of the token.
    id str
    The authorization ID.
    org str
    An Organization name. Specifies the organization that owns the authorization.
    org_id str
    An organization ID. Specifies the organization that owns the authorization.
    permissions Sequence[GetAuthorizationsAuthorizationPermission]
    A list of permissions for an authorization.
    status str
    Status of the token.
    token str
    The API token.
    updated_at str
    Last Authorizations update date.
    user str
    A user name. Specifies the user that the authorization is scoped to.
    user_id str
    A user ID. Specifies the user that the authorization is scoped to.
    createdAt String
    Authorizations creation date.
    description String
    A description of the token.
    id String
    The authorization ID.
    org String
    An Organization name. Specifies the organization that owns the authorization.
    orgId String
    An organization ID. Specifies the organization that owns the authorization.
    permissions List<Property Map>
    A list of permissions for an authorization.
    status String
    Status of the token.
    token String
    The API token.
    updatedAt String
    Last Authorizations update date.
    user String
    A user name. Specifies the user that the authorization is scoped to.
    userId String
    A user ID. Specifies the user that the authorization is scoped to.

    GetAuthorizationsAuthorizationPermission

    action String
    Permission action.
    resource Property Map

    GetAuthorizationsAuthorizationPermissionResource

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

    Package Details

    Repository
    influxdb komminarlabs/pulumi-influxdb
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the influxdb Terraform Provider.
    influxdb logo
    InfluxDB v1.2.0 published on Tuesday, Apr 16, 2024 by komminarlabs