Skip to main content

private_network_gateway_operations

Creates, updates, deletes, gets or lists a private_network_gateway_operations resource.

Overview​

Nameprivate_network_gateway_operations
TypeResource
Iddatabricks_account.networking.private_network_gateway_operations

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the ``name`` should be a resource name ending with ``operations/{unique_id}``.
donebooleanIf the value is ``false``, it means the operation is still in progress. If ``true``, the operation is completed, and either ``error`` or ``response`` is available.
â–¶errorobjectThe error result of the operation in case of failure or cancellation.
metadataobjectService-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata.
responseobjectThe normal, successful response of the operation.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectname, account_hostGets the status of a private network gateway create operation.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
account_hoststringThe Databricks account console host. Selected by DATABRICKS_CLOUD (aws, azure or gcp; default aws), or set explicitly with DATABRICKS_ACCOUNT_HOST (bare host, no scheme). (default: accounts.cloud.databricks.com, x-stackQL-envVar: DATABRICKS_ACCOUNT_HOST, x-stackQL-envVarSelector: {"envVar":"DATABRICKS_CLOUD","default":"aws","values":{"aws":"accounts.cloud.databricks.com","azure":"accounts.azuredatabricks.net","gcp":"accounts.gcp.databricks.com"}})
namestringThe name of the operation resource.

SELECT examples​

Gets the status of a private network gateway create operation.

SELECT
name,
done,
error,
metadata,
response
FROM databricks_account.networking.private_network_gateway_operations
WHERE name = '{{ name }}' -- required
AND account_host = '{{ account_host }}' -- required
;