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 getPostgresRole
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 getPostgresRole(args: GetPostgresRoleArgs, opts?: InvokeOptions): Promise<GetPostgresRoleResult>
function getPostgresRoleOutput(args: GetPostgresRoleOutputArgs, opts?: InvokeOptions): Output<GetPostgresRoleResult>def get_postgres_role(name: Optional[str] = None,
provider_config: Optional[GetPostgresRoleProviderConfig] = None,
opts: Optional[InvokeOptions] = None) -> GetPostgresRoleResult
def get_postgres_role_output(name: Optional[pulumi.Input[str]] = None,
provider_config: Optional[pulumi.Input[GetPostgresRoleProviderConfigArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPostgresRoleResult]func LookupPostgresRole(ctx *Context, args *LookupPostgresRoleArgs, opts ...InvokeOption) (*LookupPostgresRoleResult, error)
func LookupPostgresRoleOutput(ctx *Context, args *LookupPostgresRoleOutputArgs, opts ...InvokeOption) LookupPostgresRoleResultOutput> Note: This function is named LookupPostgresRole in the Go SDK.
public static class GetPostgresRole
{
public static Task<GetPostgresRoleResult> InvokeAsync(GetPostgresRoleArgs args, InvokeOptions? opts = null)
public static Output<GetPostgresRoleResult> Invoke(GetPostgresRoleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPostgresRoleResult> getPostgresRole(GetPostgresRoleArgs args, InvokeOptions options)
public static Output<GetPostgresRoleResult> getPostgresRole(GetPostgresRoleArgs args, InvokeOptions options)
fn::invoke:
function: databricks:index/getPostgresRole:getPostgresRole
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
- Output only. The full resource path of the role. Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
- Provider
Config GetPostgres Role Provider Config - Configure the provider for management through account provider.
- Name string
- Output only. The full resource path of the role. Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
- Provider
Config GetPostgres Role Provider Config - Configure the provider for management through account provider.
- name String
- Output only. The full resource path of the role. Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
- provider
Config GetPostgres Role Provider Config - Configure the provider for management through account provider.
- name string
- Output only. The full resource path of the role. Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
- provider
Config GetPostgres Role Provider Config - Configure the provider for management through account provider.
- name str
- Output only. The full resource path of the role. Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
- provider_
config GetPostgres Role Provider Config - Configure the provider for management through account provider.
- name String
- Output only. The full resource path of the role. Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
- provider
Config Property Map - Configure the provider for management through account provider.
getPostgresRole Result
The following output properties are available:
- Create
Time string - (string)
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- (string) - Output only. The full resource path of the role. Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
- Parent string
- (string) - The Branch where this Role exists. Format: projects/{project_id}/branches/{branch_id}
- Spec
Get
Postgres Role Spec - (RoleRoleSpec) - The spec contains the role configuration, including identity type, authentication method, and role attributes
- Status
Get
Postgres Role Status - (RoleRoleStatus) - Current status of the role, including its identity type, authentication method, and role attributes
- Update
Time string - (string)
- Provider
Config GetPostgres Role Provider Config
- Create
Time string - (string)
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- (string) - Output only. The full resource path of the role. Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
- Parent string
- (string) - The Branch where this Role exists. Format: projects/{project_id}/branches/{branch_id}
- Spec
Get
Postgres Role Spec - (RoleRoleSpec) - The spec contains the role configuration, including identity type, authentication method, and role attributes
- Status
Get
Postgres Role Status - (RoleRoleStatus) - Current status of the role, including its identity type, authentication method, and role attributes
- Update
Time string - (string)
- Provider
Config GetPostgres Role Provider Config
- create
Time String - (string)
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- (string) - Output only. The full resource path of the role. Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
- parent String
- (string) - The Branch where this Role exists. Format: projects/{project_id}/branches/{branch_id}
- spec
Get
Postgres Role Spec - (RoleRoleSpec) - The spec contains the role configuration, including identity type, authentication method, and role attributes
- status
Get
Postgres Role Status - (RoleRoleStatus) - Current status of the role, including its identity type, authentication method, and role attributes
- update
Time String - (string)
- provider
Config GetPostgres Role Provider Config
- create
Time string - (string)
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- (string) - Output only. The full resource path of the role. Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
- parent string
- (string) - The Branch where this Role exists. Format: projects/{project_id}/branches/{branch_id}
- spec
Get
Postgres Role Spec - (RoleRoleSpec) - The spec contains the role configuration, including identity type, authentication method, and role attributes
- status
Get
Postgres Role Status - (RoleRoleStatus) - Current status of the role, including its identity type, authentication method, and role attributes
- update
Time string - (string)
- provider
Config GetPostgres Role Provider Config
- create_
time str - (string)
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- (string) - Output only. The full resource path of the role. Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
- parent str
- (string) - The Branch where this Role exists. Format: projects/{project_id}/branches/{branch_id}
- spec
Get
Postgres Role Spec - (RoleRoleSpec) - The spec contains the role configuration, including identity type, authentication method, and role attributes
- status
Get
Postgres Role Status - (RoleRoleStatus) - Current status of the role, including its identity type, authentication method, and role attributes
- update_
time str - (string)
- provider_
config GetPostgres Role Provider Config
- create
Time String - (string)
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- (string) - Output only. The full resource path of the role. Format: projects/{project_id}/branches/{branch_id}/roles/{role_id}
- parent String
- (string) - The Branch where this Role exists. 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
Supporting Types
GetPostgresRoleProviderConfig
- 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.
GetPostgresRoleSpec
- Attributes
Get
Postgres 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 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 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 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 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
GetPostgresRoleSpecAttributes
- 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)
GetPostgresRoleStatus
- Attributes
Get
Postgres 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 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 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 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 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
GetPostgresRoleStatusAttributes
- 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
