Viewing docs for Databricks v1.109.0
published on Tuesday, Sep 8, 2026 by Pulumi
published on Tuesday, Sep 8, 2026 by Pulumi
Viewing docs for Databricks v1.109.0
published on Tuesday, Sep 8, 2026 by Pulumi
published on Tuesday, Sep 8, 2026 by Pulumi
Lists the service principals in an account.
Example Usage
Example usage:
List all account service principals.
import * as pulumi from "@pulumi/pulumi";
import * as databricks from "@pulumi/databricks";
const _this = databricks.getAccountIamServicePrincipalsV2({});
import pulumi
import pulumi_databricks as databricks
this = databricks.get_account_iam_service_principals_v2()
package main
import (
"github.com/pulumi/pulumi-databricks/sdk/go/databricks"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databricks.GetAccountIamServicePrincipalsV2(ctx, &databricks.GetAccountIamServicePrincipalsV2Args{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Databricks = Pulumi.Databricks;
return await Deployment.RunAsync(() =>
{
var @this = Databricks.GetAccountIamServicePrincipalsV2.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.databricks.DatabricksFunctions;
import com.pulumi.databricks.inputs.GetAccountIamServicePrincipalsV2Args;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var this = DatabricksFunctions.getAccountIamServicePrincipalsV2(GetAccountIamServicePrincipalsV2Args.builder()
.build());
}
}
variables:
this:
fn::invoke:
function: databricks:getAccountIamServicePrincipalsV2
arguments: {}
pulumi {
required_providers {
databricks = {
source = "pulumi/databricks"
}
}
}
data "databricks_getaccountiamserviceprincipalsv2" "this" {
}
Using getAccountIamServicePrincipalsV2
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 getAccountIamServicePrincipalsV2(args: GetAccountIamServicePrincipalsV2Args, opts?: InvokeOptions): Promise<GetAccountIamServicePrincipalsV2Result>
function getAccountIamServicePrincipalsV2Output(args: GetAccountIamServicePrincipalsV2OutputArgs, opts?: InvokeOutputOptions): Output<GetAccountIamServicePrincipalsV2Result>def get_account_iam_service_principals_v2(filter: Optional[str] = None,
page_size: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetAccountIamServicePrincipalsV2Result
def get_account_iam_service_principals_v2_output(filter: pulumi.Input[Optional[str]] = None,
page_size: pulumi.Input[Optional[int]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetAccountIamServicePrincipalsV2Result]func GetAccountIamServicePrincipalsV2(ctx *Context, args *GetAccountIamServicePrincipalsV2Args, opts ...InvokeOption) (*GetAccountIamServicePrincipalsV2Result, error)
func GetAccountIamServicePrincipalsV2Output(ctx *Context, args *GetAccountIamServicePrincipalsV2OutputArgs, opts ...InvokeOption) GetAccountIamServicePrincipalsV2ResultOutput> Note: This function is named GetAccountIamServicePrincipalsV2 in the Go SDK.
public static class GetAccountIamServicePrincipalsV2
{
public static Task<GetAccountIamServicePrincipalsV2Result> InvokeAsync(GetAccountIamServicePrincipalsV2Args args, InvokeOptions? opts = null)
public static Output<GetAccountIamServicePrincipalsV2Result> Invoke(GetAccountIamServicePrincipalsV2InvokeArgs args, InvokeOptions? opts = null)
public static Output<GetAccountIamServicePrincipalsV2Result> Invoke(GetAccountIamServicePrincipalsV2InvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetAccountIamServicePrincipalsV2Result> getAccountIamServicePrincipalsV2(GetAccountIamServicePrincipalsV2Args args, InvokeOptions options)
public static Output<GetAccountIamServicePrincipalsV2Result> getAccountIamServicePrincipalsV2(GetAccountIamServicePrincipalsV2Args args, InvokeOptions options)
public static Output<GetAccountIamServicePrincipalsV2Result> getAccountIamServicePrincipalsV2(GetAccountIamServicePrincipalsV2Args args, InvokeOutputOptions options)
fn::invoke:
function: databricks:index/getAccountIamServicePrincipalsV2:getAccountIamServicePrincipalsV2
arguments:
# arguments dictionarydata "databricks_get_account_iam_service_principals_v2" "name" {
# arguments
}The following arguments are supported:
- Filter string
- Optional. Allows filtering service principals by application id or external id
- Page
Size int - The maximum number of service principals to return. The service may return fewer than this value. If not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000
- Filter string
- Optional. Allows filtering service principals by application id or external id
- Page
Size int - The maximum number of service principals to return. The service may return fewer than this value. If not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000
- filter string
- Optional. Allows filtering service principals by application id or external id
- page_
size number - The maximum number of service principals to return. The service may return fewer than this value. If not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000
- filter String
- Optional. Allows filtering service principals by application id or external id
- page
Size Integer - The maximum number of service principals to return. The service may return fewer than this value. If not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000
- filter string
- Optional. Allows filtering service principals by application id or external id
- page
Size number - The maximum number of service principals to return. The service may return fewer than this value. If not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000
- filter str
- Optional. Allows filtering service principals by application id or external id
- page_
size int - The maximum number of service principals to return. The service may return fewer than this value. If not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000
- filter String
- Optional. Allows filtering service principals by application id or external id
- page
Size Number - The maximum number of service principals to return. The service may return fewer than this value. If not provided, defaults to 1000, which is also the maximum allowed. Requests for more than the maximum are clamped to 1000
getAccountIamServicePrincipalsV2 Result
The following output properties are available:
- service_
principals list(object) - filter string
- page_
size number
- service
Principals List<Property Map> - filter String
- page
Size Number
Supporting Types
GetAccountIamServicePrincipalsV2ServicePrincipal
- Account
Id string - (string) - The parent account ID for the service principal in Databricks
- Account
Sp stringStatus - (string) - The activity status of a service principal in a Databricks account. Possible values are:
ACTIVE,INACTIVE - Application
Id string - (string) - Application ID of the service principal. Set at creation time and cannot be changed afterwards; when omitted, the server generates one
- Display
Name string - (string) - Display name of the service principal
- External
Id string - (string) - ExternalId of the service principal in the customer's IdP
- Service
Principal stringId - (string) - Internal service principal ID of the service principal in Databricks
- Account
Id string - (string) - The parent account ID for the service principal in Databricks
- Account
Sp stringStatus - (string) - The activity status of a service principal in a Databricks account. Possible values are:
ACTIVE,INACTIVE - Application
Id string - (string) - Application ID of the service principal. Set at creation time and cannot be changed afterwards; when omitted, the server generates one
- Display
Name string - (string) - Display name of the service principal
- External
Id string - (string) - ExternalId of the service principal in the customer's IdP
- Service
Principal stringId - (string) - Internal service principal ID of the service principal in Databricks
- account_
id string - (string) - The parent account ID for the service principal in Databricks
- account_
sp_ stringstatus - (string) - The activity status of a service principal in a Databricks account. Possible values are:
ACTIVE,INACTIVE - application_
id string - (string) - Application ID of the service principal. Set at creation time and cannot be changed afterwards; when omitted, the server generates one
- display_
name string - (string) - Display name of the service principal
- external_
id string - (string) - ExternalId of the service principal in the customer's IdP
- service_
principal_ stringid - (string) - Internal service principal ID of the service principal in Databricks
- account
Id String - (string) - The parent account ID for the service principal in Databricks
- account
Sp StringStatus - (string) - The activity status of a service principal in a Databricks account. Possible values are:
ACTIVE,INACTIVE - application
Id String - (string) - Application ID of the service principal. Set at creation time and cannot be changed afterwards; when omitted, the server generates one
- display
Name String - (string) - Display name of the service principal
- external
Id String - (string) - ExternalId of the service principal in the customer's IdP
- service
Principal StringId - (string) - Internal service principal ID of the service principal in Databricks
- account
Id string - (string) - The parent account ID for the service principal in Databricks
- account
Sp stringStatus - (string) - The activity status of a service principal in a Databricks account. Possible values are:
ACTIVE,INACTIVE - application
Id string - (string) - Application ID of the service principal. Set at creation time and cannot be changed afterwards; when omitted, the server generates one
- display
Name string - (string) - Display name of the service principal
- external
Id string - (string) - ExternalId of the service principal in the customer's IdP
- service
Principal stringId - (string) - Internal service principal ID of the service principal in Databricks
- account_
id str - (string) - The parent account ID for the service principal in Databricks
- account_
sp_ strstatus - (string) - The activity status of a service principal in a Databricks account. Possible values are:
ACTIVE,INACTIVE - application_
id str - (string) - Application ID of the service principal. Set at creation time and cannot be changed afterwards; when omitted, the server generates one
- display_
name str - (string) - Display name of the service principal
- external_
id str - (string) - ExternalId of the service principal in the customer's IdP
- service_
principal_ strid - (string) - Internal service principal ID of the service principal in Databricks
- account
Id String - (string) - The parent account ID for the service principal in Databricks
- account
Sp StringStatus - (string) - The activity status of a service principal in a Databricks account. Possible values are:
ACTIVE,INACTIVE - application
Id String - (string) - Application ID of the service principal. Set at creation time and cannot be changed afterwards; when omitted, the server generates one
- display
Name String - (string) - Display name of the service principal
- external
Id String - (string) - ExternalId of the service principal in the customer's IdP
- service
Principal StringId - (string) - Internal service principal ID of the service principal in Databricks
Package Details
- Repository
- databricks pulumi/pulumi-databricks
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
databricksTerraform Provider.
Viewing docs for Databricks v1.109.0
published on Tuesday, Sep 8, 2026 by Pulumi
published on Tuesday, Sep 8, 2026 by Pulumi