Create PostgresEndpoint Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PostgresEndpoint(name: string, args: PostgresEndpointArgs, opts?: CustomResourceOptions);@overload
def PostgresEndpoint(resource_name: str,
args: PostgresEndpointArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PostgresEndpoint(resource_name: str,
opts: Optional[ResourceOptions] = None,
endpoint_id: Optional[str] = None,
parent: Optional[str] = None,
spec: Optional[PostgresEndpointSpecArgs] = None)func NewPostgresEndpoint(ctx *Context, name string, args PostgresEndpointArgs, opts ...ResourceOption) (*PostgresEndpoint, error)public PostgresEndpoint(string name, PostgresEndpointArgs args, CustomResourceOptions? opts = null)
public PostgresEndpoint(String name, PostgresEndpointArgs args)
public PostgresEndpoint(String name, PostgresEndpointArgs args, CustomResourceOptions options)
type: databricks:PostgresEndpoint
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PostgresEndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PostgresEndpointArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PostgresEndpointArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PostgresEndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PostgresEndpointArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var postgresEndpointResource = new Databricks.PostgresEndpoint("postgresEndpointResource", new()
{
EndpointId = "string",
Parent = "string",
Spec = new Databricks.Inputs.PostgresEndpointSpecArgs
{
EndpointType = "string",
AutoscalingLimitMaxCu = 0,
AutoscalingLimitMinCu = 0,
Disabled = false,
Settings = new Databricks.Inputs.PostgresEndpointSpecSettingsArgs
{
PgSettings =
{
{ "string", "string" },
},
},
SuspendTimeoutDuration = "string",
},
});
example, err := databricks.NewPostgresEndpoint(ctx, "postgresEndpointResource", &databricks.PostgresEndpointArgs{
EndpointId: pulumi.String("string"),
Parent: pulumi.String("string"),
Spec: &databricks.PostgresEndpointSpecArgs{
EndpointType: pulumi.String("string"),
AutoscalingLimitMaxCu: pulumi.Float64(0),
AutoscalingLimitMinCu: pulumi.Float64(0),
Disabled: pulumi.Bool(false),
Settings: &databricks.PostgresEndpointSpecSettingsArgs{
PgSettings: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
SuspendTimeoutDuration: pulumi.String("string"),
},
})
var postgresEndpointResource = new PostgresEndpoint("postgresEndpointResource", PostgresEndpointArgs.builder()
.endpointId("string")
.parent("string")
.spec(PostgresEndpointSpecArgs.builder()
.endpointType("string")
.autoscalingLimitMaxCu(0.0)
.autoscalingLimitMinCu(0.0)
.disabled(false)
.settings(PostgresEndpointSpecSettingsArgs.builder()
.pgSettings(Map.of("string", "string"))
.build())
.suspendTimeoutDuration("string")
.build())
.build());
postgres_endpoint_resource = databricks.PostgresEndpoint("postgresEndpointResource",
endpoint_id="string",
parent="string",
spec={
"endpoint_type": "string",
"autoscaling_limit_max_cu": 0,
"autoscaling_limit_min_cu": 0,
"disabled": False,
"settings": {
"pg_settings": {
"string": "string",
},
},
"suspend_timeout_duration": "string",
})
const postgresEndpointResource = new databricks.PostgresEndpoint("postgresEndpointResource", {
endpointId: "string",
parent: "string",
spec: {
endpointType: "string",
autoscalingLimitMaxCu: 0,
autoscalingLimitMinCu: 0,
disabled: false,
settings: {
pgSettings: {
string: "string",
},
},
suspendTimeoutDuration: "string",
},
});
type: databricks:PostgresEndpoint
properties:
endpointId: string
parent: string
spec:
autoscalingLimitMaxCu: 0
autoscalingLimitMinCu: 0
disabled: false
endpointType: string
settings:
pgSettings:
string: string
suspendTimeoutDuration: string
PostgresEndpoint Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PostgresEndpoint resource accepts the following input properties:
- Endpoint
Id string The ID to use for the Endpoint, which will become the final component of the endpoint's resource name.
This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/
- Parent string
- The branch containing this endpoint. Format: projects/{project_id}/branches/{branch_id}
- Spec
Postgres
Endpoint Spec - The desired state of an Endpoint
- Endpoint
Id string The ID to use for the Endpoint, which will become the final component of the endpoint's resource name.
This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/
- Parent string
- The branch containing this endpoint. Format: projects/{project_id}/branches/{branch_id}
- Spec
Postgres
Endpoint Spec Args - The desired state of an Endpoint
- endpoint
Id String The ID to use for the Endpoint, which will become the final component of the endpoint's resource name.
This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/
- parent String
- The branch containing this endpoint. Format: projects/{project_id}/branches/{branch_id}
- spec
Postgres
Endpoint Spec - The desired state of an Endpoint
- endpoint
Id string The ID to use for the Endpoint, which will become the final component of the endpoint's resource name.
This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/
- parent string
- The branch containing this endpoint. Format: projects/{project_id}/branches/{branch_id}
- spec
Postgres
Endpoint Spec - The desired state of an Endpoint
- endpoint_
id str The ID to use for the Endpoint, which will become the final component of the endpoint's resource name.
This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/
- parent str
- The branch containing this endpoint. Format: projects/{project_id}/branches/{branch_id}
- spec
Postgres
Endpoint Spec Args - The desired state of an Endpoint
- endpoint
Id String The ID to use for the Endpoint, which will become the final component of the endpoint's resource name.
This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/
- parent String
- The branch containing this endpoint. Format: projects/{project_id}/branches/{branch_id}
- spec Property Map
- The desired state of an Endpoint
Outputs
All input properties are implicitly available as output properties. Additionally, the PostgresEndpoint resource produces the following output properties:
- Create
Time string - (string) - A timestamp indicating when the compute endpoint was created
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- (string) - The resource name of the endpoint. Format: projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
- Status
Postgres
Endpoint Status - (EndpointStatus) - The current status of an Endpoint
- Uid string
- (string) - System generated unique ID for the endpoint
- Update
Time string - (string) - A timestamp indicating when the compute endpoint was last updated
- Create
Time string - (string) - A timestamp indicating when the compute endpoint was created
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- (string) - The resource name of the endpoint. Format: projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
- Status
Postgres
Endpoint Status - (EndpointStatus) - The current status of an Endpoint
- Uid string
- (string) - System generated unique ID for the endpoint
- Update
Time string - (string) - A timestamp indicating when the compute endpoint was last updated
- create
Time String - (string) - A timestamp indicating when the compute endpoint was created
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- (string) - The resource name of the endpoint. Format: projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
- status
Postgres
Endpoint Status - (EndpointStatus) - The current status of an Endpoint
- uid String
- (string) - System generated unique ID for the endpoint
- update
Time String - (string) - A timestamp indicating when the compute endpoint was last updated
- create
Time string - (string) - A timestamp indicating when the compute endpoint was created
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- (string) - The resource name of the endpoint. Format: projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
- status
Postgres
Endpoint Status - (EndpointStatus) - The current status of an Endpoint
- uid string
- (string) - System generated unique ID for the endpoint
- update
Time string - (string) - A timestamp indicating when the compute endpoint was last updated
- create_
time str - (string) - A timestamp indicating when the compute endpoint was created
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- (string) - The resource name of the endpoint. Format: projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
- status
Postgres
Endpoint Status - (EndpointStatus) - The current status of an Endpoint
- uid str
- (string) - System generated unique ID for the endpoint
- update_
time str - (string) - A timestamp indicating when the compute endpoint was last updated
- create
Time String - (string) - A timestamp indicating when the compute endpoint was created
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- (string) - The resource name of the endpoint. Format: projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
- status Property Map
- (EndpointStatus) - The current status of an Endpoint
- uid String
- (string) - System generated unique ID for the endpoint
- update
Time String - (string) - A timestamp indicating when the compute endpoint was last updated
Look up Existing PostgresEndpoint Resource
Get an existing PostgresEndpoint resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: PostgresEndpointState, opts?: CustomResourceOptions): PostgresEndpoint@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
create_time: Optional[str] = None,
endpoint_id: Optional[str] = None,
name: Optional[str] = None,
parent: Optional[str] = None,
spec: Optional[PostgresEndpointSpecArgs] = None,
status: Optional[PostgresEndpointStatusArgs] = None,
uid: Optional[str] = None,
update_time: Optional[str] = None) -> PostgresEndpointfunc GetPostgresEndpoint(ctx *Context, name string, id IDInput, state *PostgresEndpointState, opts ...ResourceOption) (*PostgresEndpoint, error)public static PostgresEndpoint Get(string name, Input<string> id, PostgresEndpointState? state, CustomResourceOptions? opts = null)public static PostgresEndpoint get(String name, Output<String> id, PostgresEndpointState state, CustomResourceOptions options)resources: _: type: databricks:PostgresEndpoint get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Create
Time string - (string) - A timestamp indicating when the compute endpoint was created
- Endpoint
Id string The ID to use for the Endpoint, which will become the final component of the endpoint's resource name.
This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/
- Name string
- (string) - The resource name of the endpoint. Format: projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
- Parent string
- The branch containing this endpoint. Format: projects/{project_id}/branches/{branch_id}
- Spec
Postgres
Endpoint Spec - The desired state of an Endpoint
- Status
Postgres
Endpoint Status - (EndpointStatus) - The current status of an Endpoint
- Uid string
- (string) - System generated unique ID for the endpoint
- Update
Time string - (string) - A timestamp indicating when the compute endpoint was last updated
- Create
Time string - (string) - A timestamp indicating when the compute endpoint was created
- Endpoint
Id string The ID to use for the Endpoint, which will become the final component of the endpoint's resource name.
This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/
- Name string
- (string) - The resource name of the endpoint. Format: projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
- Parent string
- The branch containing this endpoint. Format: projects/{project_id}/branches/{branch_id}
- Spec
Postgres
Endpoint Spec Args - The desired state of an Endpoint
- Status
Postgres
Endpoint Status Args - (EndpointStatus) - The current status of an Endpoint
- Uid string
- (string) - System generated unique ID for the endpoint
- Update
Time string - (string) - A timestamp indicating when the compute endpoint was last updated
- create
Time String - (string) - A timestamp indicating when the compute endpoint was created
- endpoint
Id String The ID to use for the Endpoint, which will become the final component of the endpoint's resource name.
This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/
- name String
- (string) - The resource name of the endpoint. Format: projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
- parent String
- The branch containing this endpoint. Format: projects/{project_id}/branches/{branch_id}
- spec
Postgres
Endpoint Spec - The desired state of an Endpoint
- status
Postgres
Endpoint Status - (EndpointStatus) - The current status of an Endpoint
- uid String
- (string) - System generated unique ID for the endpoint
- update
Time String - (string) - A timestamp indicating when the compute endpoint was last updated
- create
Time string - (string) - A timestamp indicating when the compute endpoint was created
- endpoint
Id string The ID to use for the Endpoint, which will become the final component of the endpoint's resource name.
This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/
- name string
- (string) - The resource name of the endpoint. Format: projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
- parent string
- The branch containing this endpoint. Format: projects/{project_id}/branches/{branch_id}
- spec
Postgres
Endpoint Spec - The desired state of an Endpoint
- status
Postgres
Endpoint Status - (EndpointStatus) - The current status of an Endpoint
- uid string
- (string) - System generated unique ID for the endpoint
- update
Time string - (string) - A timestamp indicating when the compute endpoint was last updated
- create_
time str - (string) - A timestamp indicating when the compute endpoint was created
- endpoint_
id str The ID to use for the Endpoint, which will become the final component of the endpoint's resource name.
This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/
- name str
- (string) - The resource name of the endpoint. Format: projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
- parent str
- The branch containing this endpoint. Format: projects/{project_id}/branches/{branch_id}
- spec
Postgres
Endpoint Spec Args - The desired state of an Endpoint
- status
Postgres
Endpoint Status Args - (EndpointStatus) - The current status of an Endpoint
- uid str
- (string) - System generated unique ID for the endpoint
- update_
time str - (string) - A timestamp indicating when the compute endpoint was last updated
- create
Time String - (string) - A timestamp indicating when the compute endpoint was created
- endpoint
Id String The ID to use for the Endpoint, which will become the final component of the endpoint's resource name.
This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/
- name String
- (string) - The resource name of the endpoint. Format: projects/{project_id}/branches/{branch_id}/endpoints/{endpoint_id}
- parent String
- The branch containing this endpoint. Format: projects/{project_id}/branches/{branch_id}
- spec Property Map
- The desired state of an Endpoint
- status Property Map
- (EndpointStatus) - The current status of an Endpoint
- uid String
- (string) - System generated unique ID for the endpoint
- update
Time String - (string) - A timestamp indicating when the compute endpoint was last updated
Supporting Types
PostgresEndpointSpec, PostgresEndpointSpecArgs
- Endpoint
Type string - (string) - The endpoint type. A branch can only have one READ_WRITE endpoint. Possible values are:
READ_ONLY,READ_WRITE - Autoscaling
Limit doubleMax Cu - (number) - The maximum number of Compute Units
- Autoscaling
Limit doubleMin Cu - (number) - The minimum number of Compute Units
- Disabled bool
- (boolean) - Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action
- Settings
Postgres
Endpoint Spec Settings - (EndpointSettings)
- Suspend
Timeout stringDuration - (string) - Duration of inactivity after which the compute endpoint is automatically suspended
- Endpoint
Type string - (string) - The endpoint type. A branch can only have one READ_WRITE endpoint. Possible values are:
READ_ONLY,READ_WRITE - Autoscaling
Limit float64Max Cu - (number) - The maximum number of Compute Units
- Autoscaling
Limit float64Min Cu - (number) - The minimum number of Compute Units
- Disabled bool
- (boolean) - Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action
- Settings
Postgres
Endpoint Spec Settings - (EndpointSettings)
- Suspend
Timeout stringDuration - (string) - Duration of inactivity after which the compute endpoint is automatically suspended
- endpoint
Type String - (string) - The endpoint type. A branch can only have one READ_WRITE endpoint. Possible values are:
READ_ONLY,READ_WRITE - autoscaling
Limit DoubleMax Cu - (number) - The maximum number of Compute Units
- autoscaling
Limit DoubleMin Cu - (number) - The minimum number of Compute Units
- disabled Boolean
- (boolean) - Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action
- settings
Postgres
Endpoint Spec Settings - (EndpointSettings)
- suspend
Timeout StringDuration - (string) - Duration of inactivity after which the compute endpoint is automatically suspended
- endpoint
Type string - (string) - The endpoint type. A branch can only have one READ_WRITE endpoint. Possible values are:
READ_ONLY,READ_WRITE - autoscaling
Limit numberMax Cu - (number) - The maximum number of Compute Units
- autoscaling
Limit numberMin Cu - (number) - The minimum number of Compute Units
- disabled boolean
- (boolean) - Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action
- settings
Postgres
Endpoint Spec Settings - (EndpointSettings)
- suspend
Timeout stringDuration - (string) - Duration of inactivity after which the compute endpoint is automatically suspended
- endpoint_
type str - (string) - The endpoint type. A branch can only have one READ_WRITE endpoint. Possible values are:
READ_ONLY,READ_WRITE - autoscaling_
limit_ floatmax_ cu - (number) - The maximum number of Compute Units
- autoscaling_
limit_ floatmin_ cu - (number) - The minimum number of Compute Units
- disabled bool
- (boolean) - Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action
- settings
Postgres
Endpoint Spec Settings - (EndpointSettings)
- suspend_
timeout_ strduration - (string) - Duration of inactivity after which the compute endpoint is automatically suspended
- endpoint
Type String - (string) - The endpoint type. A branch can only have one READ_WRITE endpoint. Possible values are:
READ_ONLY,READ_WRITE - autoscaling
Limit NumberMax Cu - (number) - The maximum number of Compute Units
- autoscaling
Limit NumberMin Cu - (number) - The minimum number of Compute Units
- disabled Boolean
- (boolean) - Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action
- settings Property Map
- (EndpointSettings)
- suspend
Timeout StringDuration - (string) - Duration of inactivity after which the compute endpoint is automatically suspended
PostgresEndpointSpecSettings, PostgresEndpointSpecSettingsArgs
- Pg
Settings Dictionary<string, string> - A raw representation of Postgres settings
- Pg
Settings map[string]string - A raw representation of Postgres settings
- pg
Settings Map<String,String> - A raw representation of Postgres settings
- pg
Settings {[key: string]: string} - A raw representation of Postgres settings
- pg_
settings Mapping[str, str] - A raw representation of Postgres settings
- pg
Settings Map<String> - A raw representation of Postgres settings
PostgresEndpointStatus, PostgresEndpointStatusArgs
- Autoscaling
Limit doubleMax Cu - (number) - The maximum number of Compute Units
- Autoscaling
Limit doubleMin Cu - (number) - The minimum number of Compute Units
- Current
State string - (string) - Possible values are:
ACTIVE,IDLE,INIT - Disabled bool
- (boolean) - Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action
- Endpoint
Type string - (string) - The endpoint type. A branch can only have one READ_WRITE endpoint. Possible values are:
READ_ONLY,READ_WRITE - Host string
- (string) - The hostname of the compute endpoint. This is the hostname specified when connecting to a database
- Last
Active stringTime - (string) - A timestamp indicating when the compute endpoint was last active
- Pending
State string - (string) - Possible values are:
ACTIVE,IDLE,INIT - Settings
Postgres
Endpoint Status Settings - (EndpointSettings)
- Start
Time string - (string) - A timestamp indicating when the compute endpoint was last started
- Suspend
Time string - (string) - A timestamp indicating when the compute endpoint was last suspended
- Suspend
Timeout stringDuration - (string) - Duration of inactivity after which the compute endpoint is automatically suspended
- Autoscaling
Limit float64Max Cu - (number) - The maximum number of Compute Units
- Autoscaling
Limit float64Min Cu - (number) - The minimum number of Compute Units
- Current
State string - (string) - Possible values are:
ACTIVE,IDLE,INIT - Disabled bool
- (boolean) - Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action
- Endpoint
Type string - (string) - The endpoint type. A branch can only have one READ_WRITE endpoint. Possible values are:
READ_ONLY,READ_WRITE - Host string
- (string) - The hostname of the compute endpoint. This is the hostname specified when connecting to a database
- Last
Active stringTime - (string) - A timestamp indicating when the compute endpoint was last active
- Pending
State string - (string) - Possible values are:
ACTIVE,IDLE,INIT - Settings
Postgres
Endpoint Status Settings - (EndpointSettings)
- Start
Time string - (string) - A timestamp indicating when the compute endpoint was last started
- Suspend
Time string - (string) - A timestamp indicating when the compute endpoint was last suspended
- Suspend
Timeout stringDuration - (string) - Duration of inactivity after which the compute endpoint is automatically suspended
- autoscaling
Limit DoubleMax Cu - (number) - The maximum number of Compute Units
- autoscaling
Limit DoubleMin Cu - (number) - The minimum number of Compute Units
- current
State String - (string) - Possible values are:
ACTIVE,IDLE,INIT - disabled Boolean
- (boolean) - Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action
- endpoint
Type String - (string) - The endpoint type. A branch can only have one READ_WRITE endpoint. Possible values are:
READ_ONLY,READ_WRITE - host String
- (string) - The hostname of the compute endpoint. This is the hostname specified when connecting to a database
- last
Active StringTime - (string) - A timestamp indicating when the compute endpoint was last active
- pending
State String - (string) - Possible values are:
ACTIVE,IDLE,INIT - settings
Postgres
Endpoint Status Settings - (EndpointSettings)
- start
Time String - (string) - A timestamp indicating when the compute endpoint was last started
- suspend
Time String - (string) - A timestamp indicating when the compute endpoint was last suspended
- suspend
Timeout StringDuration - (string) - Duration of inactivity after which the compute endpoint is automatically suspended
- autoscaling
Limit numberMax Cu - (number) - The maximum number of Compute Units
- autoscaling
Limit numberMin Cu - (number) - The minimum number of Compute Units
- current
State string - (string) - Possible values are:
ACTIVE,IDLE,INIT - disabled boolean
- (boolean) - Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action
- endpoint
Type string - (string) - The endpoint type. A branch can only have one READ_WRITE endpoint. Possible values are:
READ_ONLY,READ_WRITE - host string
- (string) - The hostname of the compute endpoint. This is the hostname specified when connecting to a database
- last
Active stringTime - (string) - A timestamp indicating when the compute endpoint was last active
- pending
State string - (string) - Possible values are:
ACTIVE,IDLE,INIT - settings
Postgres
Endpoint Status Settings - (EndpointSettings)
- start
Time string - (string) - A timestamp indicating when the compute endpoint was last started
- suspend
Time string - (string) - A timestamp indicating when the compute endpoint was last suspended
- suspend
Timeout stringDuration - (string) - Duration of inactivity after which the compute endpoint is automatically suspended
- autoscaling_
limit_ floatmax_ cu - (number) - The maximum number of Compute Units
- autoscaling_
limit_ floatmin_ cu - (number) - The minimum number of Compute Units
- current_
state str - (string) - Possible values are:
ACTIVE,IDLE,INIT - disabled bool
- (boolean) - Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action
- endpoint_
type str - (string) - The endpoint type. A branch can only have one READ_WRITE endpoint. Possible values are:
READ_ONLY,READ_WRITE - host str
- (string) - The hostname of the compute endpoint. This is the hostname specified when connecting to a database
- last_
active_ strtime - (string) - A timestamp indicating when the compute endpoint was last active
- pending_
state str - (string) - Possible values are:
ACTIVE,IDLE,INIT - settings
Postgres
Endpoint Status Settings - (EndpointSettings)
- start_
time str - (string) - A timestamp indicating when the compute endpoint was last started
- suspend_
time str - (string) - A timestamp indicating when the compute endpoint was last suspended
- suspend_
timeout_ strduration - (string) - Duration of inactivity after which the compute endpoint is automatically suspended
- autoscaling
Limit NumberMax Cu - (number) - The maximum number of Compute Units
- autoscaling
Limit NumberMin Cu - (number) - The minimum number of Compute Units
- current
State String - (string) - Possible values are:
ACTIVE,IDLE,INIT - disabled Boolean
- (boolean) - Whether to restrict connections to the compute endpoint. Enabling this option schedules a suspend compute operation. A disabled compute endpoint cannot be enabled by a connection or console action
- endpoint
Type String - (string) - The endpoint type. A branch can only have one READ_WRITE endpoint. Possible values are:
READ_ONLY,READ_WRITE - host String
- (string) - The hostname of the compute endpoint. This is the hostname specified when connecting to a database
- last
Active StringTime - (string) - A timestamp indicating when the compute endpoint was last active
- pending
State String - (string) - Possible values are:
ACTIVE,IDLE,INIT - settings Property Map
- (EndpointSettings)
- start
Time String - (string) - A timestamp indicating when the compute endpoint was last started
- suspend
Time String - (string) - A timestamp indicating when the compute endpoint was last suspended
- suspend
Timeout StringDuration - (string) - Duration of inactivity after which the compute endpoint is automatically suspended
PostgresEndpointStatusSettings, PostgresEndpointStatusSettingsArgs
- Pg
Settings Dictionary<string, string> - A raw representation of Postgres settings
- Pg
Settings map[string]string - A raw representation of Postgres settings
- pg
Settings Map<String,String> - A raw representation of Postgres settings
- pg
Settings {[key: string]: string} - A raw representation of Postgres settings
- pg_
settings Mapping[str, str] - A raw representation of Postgres settings
- pg
Settings Map<String> - A raw representation of Postgres settings
Import
As of Pulumi v1.5, resources can be imported through configuration.
hcl
import {
id = “name”
to = databricks_postgres_endpoint.this
}
If you are using an older version of Pulumi, import the resource using the pulumi import command as follows:
$ pulumi import databricks:index/postgresEndpoint:PostgresEndpoint this "name"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- databricks pulumi/pulumi-databricks
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
databricksTerraform Provider.
