Skip to main content

goldengate_deployments

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

Overview

Namegoldengate_deployments
TypeResource
Idgoogle.oracledatabase.goldengate_deployments

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringIdentifier. The name of the GoldengateDeployment resource in the following format: projects/{project}/locations/{region}/goldengateDeployments/{goldengate_deployment}
createTimestring (google-datetime)Output only. The date and time that the GoldengateDeployment was created.
displayNamestringRequired. The display name for the GoldengateDeployment.
entitlementIdstringOutput only. The ID of the subscription entitlement associated with the GoldengateDeployment
gcpOracleZonestringOptional. The GCP Oracle zone where Oracle GoldengateDeployment is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
labelsobjectOptional. The labels or tags associated with the GoldengateDeployment.
ociUrlstringOutput only. HTTPS link to OCI resources exposed to Customer via UI Interface.
odbNetworkstringOptional. The name of the OdbNetwork associated with the GoldengateDeployment.
odbSubnetstringRequired. The name of the OdbSubnet associated with the GoldengateDeployment for IP allocation.
propertiesobjectRequired. The properties of the GoldengateDeployment. (id: GoldengateDeploymentProperties)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, locationsId, goldengateDeploymentsIdGets details of a single GoldengateDeployment.
listselectprojectsId, locationsIdfilter, pageToken, pageSize, orderByLists all the GoldengateDeployments for the given project and location.
createinsertprojectsId, locationsIdrequestId, goldengateDeploymentIdCreates a new GoldengateDeployment in a given project and location.
deletedeleteprojectsId, locationsId, goldengateDeploymentsIdrequestIdDeletes a single GoldengateDeployment.
stopexecprojectsId, locationsId, goldengateDeploymentsIdStops a single GoldengateDeployment.
startexecprojectsId, locationsId, goldengateDeploymentsIdStarts a single GoldengateDeployment.

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
goldengateDeploymentsIdstring
locationsIdstring
projectsIdstring
filterstring
goldengateDeploymentIdstring
orderBystring
pageSizeinteger (int32)
pageTokenstring
requestIdstring

SELECT examples

Gets details of a single GoldengateDeployment.

SELECT
name,
createTime,
displayName,
entitlementId,
gcpOracleZone,
labels,
ociUrl,
odbNetwork,
odbSubnet,
properties
FROM google.oracledatabase.goldengate_deployments
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND goldengateDeploymentsId = '{{ goldengateDeploymentsId }}' -- required
;

INSERT examples

Creates a new GoldengateDeployment in a given project and location.

INSERT INTO google.oracledatabase.goldengate_deployments (
data__displayName,
data__odbNetwork,
data__odbSubnet,
data__labels,
data__name,
data__gcpOracleZone,
data__properties,
projectsId,
locationsId,
requestId,
goldengateDeploymentId
)
SELECT
'{{ displayName }}',
'{{ odbNetwork }}',
'{{ odbSubnet }}',
'{{ labels }}',
'{{ name }}',
'{{ gcpOracleZone }}',
'{{ properties }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ requestId }}',
'{{ goldengateDeploymentId }}'
RETURNING
name,
done,
error,
metadata,
response
;

DELETE examples

Deletes a single GoldengateDeployment.

DELETE FROM google.oracledatabase.goldengate_deployments
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND goldengateDeploymentsId = '{{ goldengateDeploymentsId }}' --required
AND requestId = '{{ requestId }}'
;

Lifecycle Methods

Stops a single GoldengateDeployment.

EXEC google.oracledatabase.goldengate_deployments.stop
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@goldengateDeploymentsId='{{ goldengateDeploymentsId }}' --required
;