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
Using getPostgresRoles
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 getPostgresRoles(args: GetPostgresRolesArgs, opts?: InvokeOptions): Promise<GetPostgresRolesResult>
function getPostgresRolesOutput(args: GetPostgresRolesOutputArgs, opts?: InvokeOptions): Output<GetPostgresRolesResult>def get_postgres_roles(page_size: Optional[int] = None,
parent: Optional[str] = None,
provider_config: Optional[GetPostgresRolesProviderConfig] = None,
opts: Optional[InvokeOptions] = None) -> GetPostgresRolesResult
def get_postgres_roles_output(page_size: Optional[pulumi.Input[int]] = None,
parent: Optional[pulumi.Input[str]] = None,
provider_config: Optional[pulumi.Input[GetPostgresRolesProviderConfigArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPostgresRolesResult]func GetPostgresRoles(ctx *Context, args *GetPostgresRolesArgs, opts ...InvokeOption) (*GetPostgresRolesResult, error)
func GetPostgresRolesOutput(ctx *Context, args *GetPostgresRolesOutputArgs, opts ...InvokeOption) GetPostgresRolesResultOutput> Note: This function is named GetPostgresRoles in the Go SDK.
public static class GetPostgresRoles
{
public static Task<GetPostgresRolesResult> InvokeAsync(GetPostgresRolesArgs args, InvokeOptions? opts = null)
public static Output<GetPostgresRolesResult> Invoke(GetPostgresRolesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPostgresRolesResult> getPostgresRoles(GetPostgresRolesArgs args, InvokeOptions options)
public static Output<GetPostgresRolesResult> getPostgresRoles(GetPostgresRolesArgs args, InvokeOptions options)
fn::invoke:
function: databricks:index/getPostgresRoles:getPostgresRoles
arguments:
# arguments dictionaryThe following arguments are supported:
- Parent string
- The Branch that owns this collection of roles. Format: projects/{project_id}/branches/{branch_id}
- Page
Size int - Upper bound for items returned. Cannot be negative
- Provider
Config GetPostgres Roles Provider Config - Configure the provider for management through account provider.
- Parent string
- The Branch that owns this collection of roles. Format: projects/{project_id}/branches/{branch_id}
- Page
Size int - Upper bound for items returned. Cannot be negative
- Provider
Config GetPostgres Roles Provider Config - Configure the provider for management through account provider.
- parent String
- The Branch that owns this collection of roles. Format: projects/{project_id}/branches/{branch_id}
- page
Size Integer - Upper bound for items returned. Cannot be negative
- provider
Config GetPostgres Roles Provider Config - Configure the provider for management through account provider.
- parent string
- The Branch that owns this collection of roles. Format: projects/{project_id}/branches/{branch_id}
- page
Size number - Upper bound for items returned. Cannot be negative
- provider
Config GetPostgres Roles Provider Config - Configure the provider for management through account provider.
- parent str
- The Branch that owns this collection of roles. Format: projects/{project_id}/branches/{branch_id}
- page_
size int - Upper bound for items returned. Cannot be negative
- provider_
config GetPostgres Roles Provider Config - Configure the provider for management through account provider.
- parent String
- The Branch that owns this collection of roles. Format: projects/{project_id}/branches/{branch_id}
- page
Size Number - Upper bound for items returned. Cannot be negative
- provider
Config Property Map - Configure the provider for management through account provider.
getPostgresRoles Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Parent string
- (string) - The Branch where this Role exists. Format: projects/{project_id}/branches/{branch_id}
- Roles
List<Get
Postgres Roles Role> - Page
Size int - Provider
Config GetPostgres Roles Provider Config
- Id string
- The provider-assigned unique ID for this managed resource.
- Parent string
- (string) - The Branch where this Role exists. Format: projects/{project_id}/branches/{branch_id}
- Roles
[]Get
Postgres Roles Role - Page
Size int - Provider
Config GetPostgres Roles Provider Config
- id String
- The provider-assigned unique ID for this managed resource.
- parent String
- (string) - The Branch where this Role exists. Format: projects/{project_id}/branches/{branch_id}
- roles
List<Get
Postgres Roles Role> - page
Size Integer - provider
Config GetPostgres Roles Provider Config
- id string
- The provider-assigned unique ID for this managed resource.
- parent string
- (string) - The Branch where this Role exists. Format: projects/{project_id}/branches/{branch_id}
- roles
Get
Postgres Roles Role[] - page
Size number - provider
Config GetPostgres Roles Provider Config
- id str
- The provider-assigned unique ID for this managed resource.
- parent str
- (string) - The Branch where this Role exists. Format: projects/{project_id}/branches/{branch_id}
- roles
Sequence[Get
Postgres Roles Role] - page_
size int - provider_
config GetPostgres Roles Provider Config
- id String
- The provider-assigned unique ID for this managed resource.
- parent String
- (string) - The Branch where this Role exists. Format: projects/{project_id}/branches/{branch_id}
- roles List<Property Map>
- page
Size Number - provider
Config Property Map
Supporting Types
GetPostgresRolesProviderConfig
- 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.
GetPostgresRolesRole
- Create
Time string - (string)
- Name string
- (string) - Output only. The full resource path of the role. Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
- Parent string
- The Branch that owns this collection of roles. Format: projects/{project_id}/branches/{branch_id}
- Spec
Get
Postgres Roles Role Spec - (RoleRoleSpec) - The spec contains the role configuration, including identity type, authentication method, and role attributes
- Status
Get
Postgres Roles Role Status - (RoleRoleStatus) - Current status of the role, including its identity type, authentication method, and role attributes
- Update
Time string - (string)
- Provider
Config GetPostgres Roles Role Provider Config - Configure the provider for management through account provider.
- Create
Time string - (string)
- Name string
- (string) - Output only. The full resource path of the role. Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
- Parent string
- The Branch that owns this collection of roles. Format: projects/{project_id}/branches/{branch_id}
- Spec
Get
Postgres Roles Role Spec - (RoleRoleSpec) - The spec contains the role configuration, including identity type, authentication method, and role attributes
- Status
Get
Postgres Roles Role Status - (RoleRoleStatus) - Current status of the role, including its identity type, authentication method, and role attributes
- Update
Time string - (string)
- Provider
Config GetPostgres Roles Role Provider Config - Configure the provider for management through account provider.
- create
Time String - (string)
- name String
- (string) - Output only. The full resource path of the role. Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
- parent String
- The Branch that owns this collection of roles. Format: projects/{project_id}/branches/{branch_id}
- spec
Get
Postgres Roles Role Spec - (RoleRoleSpec) - The spec contains the role configuration, including identity type, authentication method, and role attributes
- status
Get
Postgres Roles Role Status - (RoleRoleStatus) - Current status of the role, including its identity type, authentication method, and role attributes
- update
Time String - (string)
- provider
Config GetPostgres Roles Role Provider Config - Configure the provider for management through account provider.
- create
Time string - (string)
- name string
- (string) - Output only. The full resource path of the role. Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
- parent string
- The Branch that owns this collection of roles. Format: projects/{project_id}/branches/{branch_id}
- spec
Get
Postgres Roles Role Spec - (RoleRoleSpec) - The spec contains the role configuration, including identity type, authentication method, and role attributes
- status
Get
Postgres Roles Role Status - (RoleRoleStatus) - Current status of the role, including its identity type, authentication method, and role attributes
- update
Time string - (string)
- provider
Config GetPostgres Roles Role Provider Config - Configure the provider for management through account provider.
- create_
time str - (string)
- name str
- (string) - Output only. The full resource path of the role. Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
- parent str
- The Branch that owns this collection of roles. Format: projects/{project_id}/branches/{branch_id}
- spec
Get
Postgres Roles Role Spec - (RoleRoleSpec) - The spec contains the role configuration, including identity type, authentication method, and role attributes
- status
Get
Postgres Roles Role Status - (RoleRoleStatus) - Current status of the role, including its identity type, authentication method, and role attributes
- update_
time str - (string)
- provider_
config GetPostgres Roles Role Provider Config - Configure the provider for management through account provider.
- create
Time String - (string)
- name String
- (string) - Output only. The full resource path of the role. Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
- parent String
- The Branch that owns this collection of roles. Format: projects/{project_id}/branches/{branch_id}
- spec Property Map
- (RoleRoleSpec) - The spec contains the role configuration, including identity type, authentication method, and role attributes
- status Property Map
- (RoleRoleStatus) - Current status of the role, including its identity type, authentication method, and role attributes
- update
Time String - (string)
- provider
Config Property Map - Configure the provider for management through account provider.
GetPostgresRolesRoleProviderConfig
- 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.
GetPostgresRolesRoleSpec
- Attributes
Get
Postgres Roles Role Spec Attributes - (RoleAttributes) - The PG role attributes associated with the role
- Auth
Method string - (string) - Possible values are:
LAKEBASE_OAUTH_V1,NO_LOGIN,PG_PASSWORD_SCRAM_SHA_256 - Identity
Type string - (string) - The type of the role. Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - Membership
Roles List<string> - (list of string) - An enum value for a standard role that this role is a member of
- Postgres
Role string - (string) - The name of the Postgres role
- Attributes
Get
Postgres Roles Role Spec Attributes - (RoleAttributes) - The PG role attributes associated with the role
- Auth
Method string - (string) - Possible values are:
LAKEBASE_OAUTH_V1,NO_LOGIN,PG_PASSWORD_SCRAM_SHA_256 - Identity
Type string - (string) - The type of the role. Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - Membership
Roles []string - (list of string) - An enum value for a standard role that this role is a member of
- Postgres
Role string - (string) - The name of the Postgres role
- attributes
Get
Postgres Roles Role Spec Attributes - (RoleAttributes) - The PG role attributes associated with the role
- auth
Method String - (string) - Possible values are:
LAKEBASE_OAUTH_V1,NO_LOGIN,PG_PASSWORD_SCRAM_SHA_256 - identity
Type String - (string) - The type of the role. Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - membership
Roles List<String> - (list of string) - An enum value for a standard role that this role is a member of
- postgres
Role String - (string) - The name of the Postgres role
- attributes
Get
Postgres Roles Role Spec Attributes - (RoleAttributes) - The PG role attributes associated with the role
- auth
Method string - (string) - Possible values are:
LAKEBASE_OAUTH_V1,NO_LOGIN,PG_PASSWORD_SCRAM_SHA_256 - identity
Type string - (string) - The type of the role. Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - membership
Roles string[] - (list of string) - An enum value for a standard role that this role is a member of
- postgres
Role string - (string) - The name of the Postgres role
- attributes
Get
Postgres Roles Role Spec Attributes - (RoleAttributes) - The PG role attributes associated with the role
- auth_
method str - (string) - Possible values are:
LAKEBASE_OAUTH_V1,NO_LOGIN,PG_PASSWORD_SCRAM_SHA_256 - identity_
type str - (string) - The type of the role. Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - membership_
roles Sequence[str] - (list of string) - An enum value for a standard role that this role is a member of
- postgres_
role str - (string) - The name of the Postgres role
- attributes Property Map
- (RoleAttributes) - The PG role attributes associated with the role
- auth
Method String - (string) - Possible values are:
LAKEBASE_OAUTH_V1,NO_LOGIN,PG_PASSWORD_SCRAM_SHA_256 - identity
Type String - (string) - The type of the role. Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - membership
Roles List<String> - (list of string) - An enum value for a standard role that this role is a member of
- postgres
Role String - (string) - The name of the Postgres role
GetPostgresRolesRoleSpecAttributes
- Bypassrls bool
- (boolean)
- Createdb bool
- (boolean)
- Createrole bool
- (boolean)
- Bypassrls bool
- (boolean)
- Createdb bool
- (boolean)
- Createrole bool
- (boolean)
- bypassrls Boolean
- (boolean)
- createdb Boolean
- (boolean)
- createrole Boolean
- (boolean)
- bypassrls boolean
- (boolean)
- createdb boolean
- (boolean)
- createrole boolean
- (boolean)
- bypassrls bool
- (boolean)
- createdb bool
- (boolean)
- createrole bool
- (boolean)
- bypassrls Boolean
- (boolean)
- createdb Boolean
- (boolean)
- createrole Boolean
- (boolean)
GetPostgresRolesRoleStatus
- Attributes
Get
Postgres Roles Role Status Attributes - (RoleAttributes) - The PG role attributes associated with the role
- Auth
Method string - (string) - Possible values are:
LAKEBASE_OAUTH_V1,NO_LOGIN,PG_PASSWORD_SCRAM_SHA_256 - Identity
Type string - (string) - The type of the role. Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - Membership
Roles List<string> - (list of string) - An enum value for a standard role that this role is a member of
- Postgres
Role string - (string) - The name of the Postgres role
- Attributes
Get
Postgres Roles Role Status Attributes - (RoleAttributes) - The PG role attributes associated with the role
- Auth
Method string - (string) - Possible values are:
LAKEBASE_OAUTH_V1,NO_LOGIN,PG_PASSWORD_SCRAM_SHA_256 - Identity
Type string - (string) - The type of the role. Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - Membership
Roles []string - (list of string) - An enum value for a standard role that this role is a member of
- Postgres
Role string - (string) - The name of the Postgres role
- attributes
Get
Postgres Roles Role Status Attributes - (RoleAttributes) - The PG role attributes associated with the role
- auth
Method String - (string) - Possible values are:
LAKEBASE_OAUTH_V1,NO_LOGIN,PG_PASSWORD_SCRAM_SHA_256 - identity
Type String - (string) - The type of the role. Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - membership
Roles List<String> - (list of string) - An enum value for a standard role that this role is a member of
- postgres
Role String - (string) - The name of the Postgres role
- attributes
Get
Postgres Roles Role Status Attributes - (RoleAttributes) - The PG role attributes associated with the role
- auth
Method string - (string) - Possible values are:
LAKEBASE_OAUTH_V1,NO_LOGIN,PG_PASSWORD_SCRAM_SHA_256 - identity
Type string - (string) - The type of the role. Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - membership
Roles string[] - (list of string) - An enum value for a standard role that this role is a member of
- postgres
Role string - (string) - The name of the Postgres role
- attributes
Get
Postgres Roles Role Status Attributes - (RoleAttributes) - The PG role attributes associated with the role
- auth_
method str - (string) - Possible values are:
LAKEBASE_OAUTH_V1,NO_LOGIN,PG_PASSWORD_SCRAM_SHA_256 - identity_
type str - (string) - The type of the role. Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - membership_
roles Sequence[str] - (list of string) - An enum value for a standard role that this role is a member of
- postgres_
role str - (string) - The name of the Postgres role
- attributes Property Map
- (RoleAttributes) - The PG role attributes associated with the role
- auth
Method String - (string) - Possible values are:
LAKEBASE_OAUTH_V1,NO_LOGIN,PG_PASSWORD_SCRAM_SHA_256 - identity
Type String - (string) - The type of the role. Possible values are:
GROUP,SERVICE_PRINCIPAL,USER - membership
Roles List<String> - (list of string) - An enum value for a standard role that this role is a member of
- postgres
Role String - (string) - The name of the Postgres role
GetPostgresRolesRoleStatusAttributes
- Bypassrls bool
- (boolean)
- Createdb bool
- (boolean)
- Createrole bool
- (boolean)
- Bypassrls bool
- (boolean)
- Createdb bool
- (boolean)
- Createrole bool
- (boolean)
- bypassrls Boolean
- (boolean)
- createdb Boolean
- (boolean)
- createrole Boolean
- (boolean)
- bypassrls boolean
- (boolean)
- createdb boolean
- (boolean)
- createrole boolean
- (boolean)
- bypassrls bool
- (boolean)
- createdb bool
- (boolean)
- createrole bool
- (boolean)
- bypassrls Boolean
- (boolean)
- createdb Boolean
- (boolean)
- createrole Boolean
- (boolean)
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
