1. Packages
  2. Grafana Cloud
  3. API Docs
  4. getServiceAccount
Grafana v0.5.1 published on Wednesday, Jun 12, 2024 by pulumiverse

grafana.getServiceAccount

Explore with Pulumi AI

grafana logo
Grafana v0.5.1 published on Wednesday, Jun 12, 2024 by pulumiverse

    Using getServiceAccount

    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 getServiceAccount(args: GetServiceAccountArgs, opts?: InvokeOptions): Promise<GetServiceAccountResult>
    function getServiceAccountOutput(args: GetServiceAccountOutputArgs, opts?: InvokeOptions): Output<GetServiceAccountResult>
    def get_service_account(name: Optional[str] = None,
                            org_id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetServiceAccountResult
    def get_service_account_output(name: Optional[pulumi.Input[str]] = None,
                            org_id: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetServiceAccountResult]
    func LookupServiceAccount(ctx *Context, args *LookupServiceAccountArgs, opts ...InvokeOption) (*LookupServiceAccountResult, error)
    func LookupServiceAccountOutput(ctx *Context, args *LookupServiceAccountOutputArgs, opts ...InvokeOption) LookupServiceAccountResultOutput

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

    public static class GetServiceAccount 
    {
        public static Task<GetServiceAccountResult> InvokeAsync(GetServiceAccountArgs args, InvokeOptions? opts = null)
        public static Output<GetServiceAccountResult> Invoke(GetServiceAccountInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServiceAccountResult> getServiceAccount(GetServiceAccountArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: grafana:index/getServiceAccount:getServiceAccount
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of the Service Account.
    OrgId string
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    Name string
    The name of the Service Account.
    OrgId string
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    name String
    The name of the Service Account.
    orgId String
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    name string
    The name of the Service Account.
    orgId string
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    name str
    The name of the Service Account.
    org_id str
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    name String
    The name of the Service Account.
    orgId String
    The Organization ID. If not set, the Org ID defined in the provider block will be used.

    getServiceAccount Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    IsDisabled bool
    The disabled status for the service account.
    Name string
    The name of the Service Account.
    Role string
    The basic role of the service account in the organization.
    OrgId string
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsDisabled bool
    The disabled status for the service account.
    Name string
    The name of the Service Account.
    Role string
    The basic role of the service account in the organization.
    OrgId string
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    id String
    The provider-assigned unique ID for this managed resource.
    isDisabled Boolean
    The disabled status for the service account.
    name String
    The name of the Service Account.
    role String
    The basic role of the service account in the organization.
    orgId String
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    id string
    The provider-assigned unique ID for this managed resource.
    isDisabled boolean
    The disabled status for the service account.
    name string
    The name of the Service Account.
    role string
    The basic role of the service account in the organization.
    orgId string
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    id str
    The provider-assigned unique ID for this managed resource.
    is_disabled bool
    The disabled status for the service account.
    name str
    The name of the Service Account.
    role str
    The basic role of the service account in the organization.
    org_id str
    The Organization ID. If not set, the Org ID defined in the provider block will be used.
    id String
    The provider-assigned unique ID for this managed resource.
    isDisabled Boolean
    The disabled status for the service account.
    name String
    The name of the Service Account.
    role String
    The basic role of the service account in the organization.
    orgId String
    The Organization ID. If not set, the Org ID defined in the provider block will be used.

    Package Details

    Repository
    grafana pulumiverse/pulumi-grafana
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the grafana Terraform Provider.
    grafana logo
    Grafana v0.5.1 published on Wednesday, Jun 12, 2024 by pulumiverse