goldengate_deployments
Creates, updates, deletes, gets or lists a goldengate_deployments resource.
Overview
| Name | goldengate_deployments |
| Type | Resource |
| Id | google.oracledatabase.goldengate_deployments |
Fields
The following fields are returned by SELECT queries:
- get
- list
| Name | Datatype | Description |
|---|---|---|
name | string | Identifier. The name of the GoldengateDeployment resource in the following format: projects/{project}/locations/{region}/goldengateDeployments/{goldengate_deployment} |
createTime | string (google-datetime) | Output only. The date and time that the GoldengateDeployment was created. |
displayName | string | Required. The display name for the GoldengateDeployment. |
entitlementId | string | Output only. The ID of the subscription entitlement associated with the GoldengateDeployment |
gcpOracleZone | string | Optional. 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. |
labels | object | Optional. The labels or tags associated with the GoldengateDeployment. |
ociUrl | string | Output only. HTTPS link to OCI resources exposed to Customer via UI Interface. |
odbNetwork | string | Optional. The name of the OdbNetwork associated with the GoldengateDeployment. |
odbSubnet | string | Required. The name of the OdbSubnet associated with the GoldengateDeployment for IP allocation. |
properties | object | Required. The properties of the GoldengateDeployment. (id: GoldengateDeploymentProperties) |
| Name | Datatype | Description |
|---|
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | projectsId, locationsId, goldengateDeploymentsId | Gets details of a single GoldengateDeployment. | |
list | select | projectsId, locationsId | filter, pageToken, pageSize, orderBy | Lists all the GoldengateDeployments for the given project and location. |
create | insert | projectsId, locationsId | requestId, goldengateDeploymentId | Creates a new GoldengateDeployment in a given project and location. |
delete | delete | projectsId, locationsId, goldengateDeploymentsId | requestId | Deletes a single GoldengateDeployment. |
stop | exec | projectsId, locationsId, goldengateDeploymentsId | Stops a single GoldengateDeployment. | |
start | exec | projectsId, locationsId, goldengateDeploymentsId | Starts 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.
| Name | Datatype | Description |
|---|---|---|
goldengateDeploymentsId | string | |
locationsId | string | |
projectsId | string | |
filter | string | |
goldengateDeploymentId | string | |
orderBy | string | |
pageSize | integer (int32) | |
pageToken | string | |
requestId | string |
SELECT examples
- get
- list
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
;
Lists all the GoldengateDeployments for the given project and location.
SELECT
*
FROM google.oracledatabase.goldengate_deployments
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND filter = '{{ filter }}'
AND pageToken = '{{ pageToken }}'
AND pageSize = '{{ pageSize }}'
AND orderBy = '{{ orderBy }}'
;
INSERT examples
- create
- Manifest
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
;
# Description fields are for documentation purposes
- name: goldengate_deployments
props:
- name: projectsId
value: "{{ projectsId }}"
description: Required parameter for the goldengate_deployments resource.
- name: locationsId
value: "{{ locationsId }}"
description: Required parameter for the goldengate_deployments resource.
- name: displayName
value: "{{ displayName }}"
description: |
Required. The display name for the GoldengateDeployment.
- name: odbNetwork
value: "{{ odbNetwork }}"
description: |
Optional. The name of the OdbNetwork associated with the GoldengateDeployment.
- name: odbSubnet
value: "{{ odbSubnet }}"
description: |
Required. The name of the OdbSubnet associated with the GoldengateDeployment for IP allocation.
- name: labels
value: "{{ labels }}"
description: |
Optional. The labels or tags associated with the GoldengateDeployment.
- name: name
value: "{{ name }}"
description: |
Identifier. The name of the GoldengateDeployment resource in the following format: projects/{project}/locations/{region}/goldengateDeployments/{goldengate_deployment}
- name: gcpOracleZone
value: "{{ gcpOracleZone }}"
description: |
Optional. 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.
- name: properties
description: |
Required. The properties of the GoldengateDeployment.
value:
lifecycleDetails: "{{ lifecycleDetails }}"
ingressIps:
- ingressIpAddress: "{{ ingressIpAddress }}"
deploymentType: "{{ deploymentType }}"
isPublic: {{ isPublic }}
storageUtilizationBytes: "{{ storageUtilizationBytes }}"
nextBackupScheduleTime: "{{ nextBackupScheduleTime }}"
nextMaintenanceDescription: "{{ nextMaintenanceDescription }}"
deploymentDiagnosticData:
diagnosticState: "{{ diagnosticState }}"
diagnosticEndTime: "{{ diagnosticEndTime }}"
namespace: "{{ namespace }}"
object: "{{ object }}"
bucket: "{{ bucket }}"
diagnosticStartTime: "{{ diagnosticStartTime }}"
fqdn: "{{ fqdn }}"
deploymentBackupId: "{{ deploymentBackupId }}"
loadBalancerSubnetId: "{{ loadBalancerSubnetId }}"
backupSchedule:
compartmentId: "{{ compartmentId }}"
metadataOnly: {{ metadataOnly }}
backupScheduledTime: "{{ backupScheduledTime }}"
frequencyBackupScheduled: "{{ frequencyBackupScheduled }}"
bucket: "{{ bucket }}"
namespace: "{{ namespace }}"
locks:
- relatedResourceId: "{{ relatedResourceId }}"
compartmentId: "{{ compartmentId }}"
message: "{{ message }}"
type: "{{ type }}"
createTime: "{{ createTime }}"
isStorageUtilizationLimitExceeded: {{ isStorageUtilizationLimitExceeded }}
roleChangeTime: "{{ roleChangeTime }}"
maintenanceConfig:
majorReleaseUpgradePeriodDays: {{ majorReleaseUpgradePeriodDays }}
isInterimReleaseAutoUpgradeEnabled: {{ isInterimReleaseAutoUpgradeEnabled }}
interimReleaseUpgradePeriodDays: {{ interimReleaseUpgradePeriodDays }}
bundleReleaseUpgradePeriodDays: {{ bundleReleaseUpgradePeriodDays }}
securityPatchUpgradePeriodDays: {{ securityPatchUpgradePeriodDays }}
category: "{{ category }}"
deploymentRole: "{{ deploymentRole }}"
cpuCoreCount: {{ cpuCoreCount }}
loadBalancerId: "{{ loadBalancerId }}"
publicIpAddress: "{{ publicIpAddress }}"
upgradeRequiredTime: "{{ upgradeRequiredTime }}"
maintenanceWindow:
day: "{{ day }}"
startHour: {{ startHour }}
isLatestVersion: {{ isLatestVersion }}
description: "{{ description }}"
licenseModel: "{{ licenseModel }}"
lifecycleSubState: "{{ lifecycleSubState }}"
ocid: "{{ ocid }}"
nextMaintenanceTime: "{{ nextMaintenanceTime }}"
oggVersionSupportEndTime: "{{ oggVersionSupportEndTime }}"
isAutoScalingEnabled: {{ isAutoScalingEnabled }}
privateIpAddress: "{{ privateIpAddress }}"
nextMaintenanceActionType: "{{ nextMaintenanceActionType }}"
deploymentUrl: "{{ deploymentUrl }}"
environmentType: "{{ environmentType }}"
lifecycleState: "{{ lifecycleState }}"
nsgIds:
- "{{ nsgIds }}"
healthy: {{ healthy }}
lastBackupScheduleTime: "{{ lastBackupScheduleTime }}"
placements:
- availabilityDomain: "{{ availabilityDomain }}"
faultDomain: "{{ faultDomain }}"
oggData:
certificate: "{{ certificate }}"
deployment: "{{ deployment }}"
credentialStore: "{{ credentialStore }}"
adminPasswordSecretVersion: "{{ adminPasswordSecretVersion }}"
oggVersion: "{{ oggVersion }}"
passwordSecretId: "{{ passwordSecretId }}"
adminPassword: "{{ adminPassword }}"
identityDomainId: "{{ identityDomainId }}"
groupRolesMapping:
operatorGroupId: "{{ operatorGroupId }}"
administratorGroupId: "{{ administratorGroupId }}"
securityGroupId: "{{ securityGroupId }}"
userGroupId: "{{ userGroupId }}"
adminUsername: "{{ adminUsername }}"
updateTime: "{{ updateTime }}"
- name: requestId
value: "{{ requestId }}"
- name: goldengateDeploymentId
value: "{{ goldengateDeploymentId }}"
DELETE examples
- delete
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
- stop
- start
Stops a single GoldengateDeployment.
EXEC google.oracledatabase.goldengate_deployments.stop
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@goldengateDeploymentsId='{{ goldengateDeploymentsId }}' --required
;
Starts a single GoldengateDeployment.
EXEC google.oracledatabase.goldengate_deployments.start
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@goldengateDeploymentsId='{{ goldengateDeploymentsId }}' --required
;