Viewing docs for Databricks v1.90.0
published on Thursday, Mar 19, 2026 by Pulumi
published on Thursday, Mar 19, 2026 by Pulumi
Viewing docs for Databricks v1.90.0
published on Thursday, Mar 19, 2026 by Pulumi
published on Thursday, Mar 19, 2026 by Pulumi
Lists all available databricks_instance_profiles.
This data source can only be used with a workspace-level provider!
Example Usage
Get all instance profiles:
import * as pulumi from "@pulumi/pulumi";
import * as databricks from "@pulumi/databricks";
const all = databricks.getInstanceProfiles({});
export const allInstanceProfiles = all.then(all => all.instanceProfiles);
import pulumi
import pulumi_databricks as databricks
all = databricks.get_instance_profiles()
pulumi.export("allInstanceProfiles", all.instance_profiles)
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 {
all, err := databricks.GetInstanceProfiles(ctx, &databricks.GetInstanceProfilesArgs{}, nil)
if err != nil {
return err
}
ctx.Export("allInstanceProfiles", all.InstanceProfiles)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Databricks = Pulumi.Databricks;
return await Deployment.RunAsync(() =>
{
var all = Databricks.GetInstanceProfiles.Invoke();
return new Dictionary<string, object?>
{
["allInstanceProfiles"] = all.Apply(getInstanceProfilesResult => getInstanceProfilesResult.InstanceProfiles),
};
});
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.GetInstanceProfilesArgs;
import java.util.List;
import java.util.ArrayList;
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 all = DatabricksFunctions.getInstanceProfiles(GetInstanceProfilesArgs.builder()
.build());
ctx.export("allInstanceProfiles", all.instanceProfiles());
}
}
variables:
all:
fn::invoke:
function: databricks:getInstanceProfiles
arguments: {}
outputs:
allInstanceProfiles: ${all.instanceProfiles}
Using getInstanceProfiles
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 getInstanceProfiles(args: GetInstanceProfilesArgs, opts?: InvokeOptions): Promise<GetInstanceProfilesResult>
function getInstanceProfilesOutput(args: GetInstanceProfilesOutputArgs, opts?: InvokeOptions): Output<GetInstanceProfilesResult>def get_instance_profiles(instance_profiles: Optional[Sequence[GetInstanceProfilesInstanceProfile]] = None,
provider_config: Optional[GetInstanceProfilesProviderConfig] = None,
opts: Optional[InvokeOptions] = None) -> GetInstanceProfilesResult
def get_instance_profiles_output(instance_profiles: Optional[pulumi.Input[Sequence[pulumi.Input[GetInstanceProfilesInstanceProfileArgs]]]] = None,
provider_config: Optional[pulumi.Input[GetInstanceProfilesProviderConfigArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInstanceProfilesResult]func GetInstanceProfiles(ctx *Context, args *GetInstanceProfilesArgs, opts ...InvokeOption) (*GetInstanceProfilesResult, error)
func GetInstanceProfilesOutput(ctx *Context, args *GetInstanceProfilesOutputArgs, opts ...InvokeOption) GetInstanceProfilesResultOutput> Note: This function is named GetInstanceProfiles in the Go SDK.
public static class GetInstanceProfiles
{
public static Task<GetInstanceProfilesResult> InvokeAsync(GetInstanceProfilesArgs args, InvokeOptions? opts = null)
public static Output<GetInstanceProfilesResult> Invoke(GetInstanceProfilesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInstanceProfilesResult> getInstanceProfiles(GetInstanceProfilesArgs args, InvokeOptions options)
public static Output<GetInstanceProfilesResult> getInstanceProfiles(GetInstanceProfilesArgs args, InvokeOptions options)
fn::invoke:
function: databricks:index/getInstanceProfiles:getInstanceProfiles
arguments:
# arguments dictionaryThe following arguments are supported:
- Instance
Profiles List<GetInstance Profiles Instance Profile> - Set of objects for a databricks_instance_profile. This contains the following attributes:
- Provider
Config GetInstance Profiles Provider Config - Configure the provider for management through account provider. This block consists of the following fields:
- Instance
Profiles []GetInstance Profiles Instance Profile - Set of objects for a databricks_instance_profile. This contains the following attributes:
- Provider
Config GetInstance Profiles Provider Config - Configure the provider for management through account provider. This block consists of the following fields:
- instance
Profiles List<GetInstance Profiles Instance Profile> - Set of objects for a databricks_instance_profile. This contains the following attributes:
- provider
Config GetInstance Profiles Provider Config - Configure the provider for management through account provider. This block consists of the following fields:
- instance
Profiles GetInstance Profiles Instance Profile[] - Set of objects for a databricks_instance_profile. This contains the following attributes:
- provider
Config GetInstance Profiles Provider Config - Configure the provider for management through account provider. This block consists of the following fields:
- instance_
profiles Sequence[GetInstance Profiles Instance Profile] - Set of objects for a databricks_instance_profile. This contains the following attributes:
- provider_
config GetInstance Profiles Provider Config - Configure the provider for management through account provider. This block consists of the following fields:
- instance
Profiles List<Property Map> - Set of objects for a databricks_instance_profile. This contains the following attributes:
- provider
Config Property Map - Configure the provider for management through account provider. This block consists of the following fields:
getInstanceProfiles Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Profiles List<GetInstance Profiles Instance Profile> - Set of objects for a databricks_instance_profile. This contains the following attributes:
- Provider
Config GetInstance Profiles Provider Config
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Profiles []GetInstance Profiles Instance Profile - Set of objects for a databricks_instance_profile. This contains the following attributes:
- Provider
Config GetInstance Profiles Provider Config
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Profiles List<GetInstance Profiles Instance Profile> - Set of objects for a databricks_instance_profile. This contains the following attributes:
- provider
Config GetInstance Profiles Provider Config
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Profiles GetInstance Profiles Instance Profile[] - Set of objects for a databricks_instance_profile. This contains the following attributes:
- provider
Config GetInstance Profiles Provider Config
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
profiles Sequence[GetInstance Profiles Instance Profile] - Set of objects for a databricks_instance_profile. This contains the following attributes:
- provider_
config GetInstance Profiles Provider Config
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Profiles List<Property Map> - Set of objects for a databricks_instance_profile. This contains the following attributes:
- provider
Config Property Map
Supporting Types
GetInstanceProfilesInstanceProfile
GetInstanceProfilesProviderConfig
- Workspace
Id string - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- Workspace
Id string - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- workspace
Id String - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- workspace
Id string - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- workspace_
id str - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
- workspace
Id String - Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with.
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.90.0
published on Thursday, Mar 19, 2026 by Pulumi
published on Thursday, Mar 19, 2026 by Pulumi
