- Resource: Deployment
- SapSystemS4Config
- LocationDetails
- InternetAccess
- DatabaseDetails
- AppDetails
- Version
- EnvironmentType
- DeploymentModel
- ScalingMethod
- SqlServerWorkload
- OperatingSystemType
- DeploymentModel
- HAType
- SqlLocationDetails
- InternetAccess
- ActiveDirectory
- ActiveDirectoryType
- Database
- TenancyModel
- Pacemaker
- FciType
- SqlServerEditionType
- SqlServerVersionType
- OsImageType
- State
- Methods
Resource: Deployment
The Deployment object represents user intent for deploying a specific type of workload.
JSON representation |
---|
{ "name": string, "description": string, "createTime": string, "updateTime": string, "state": enum ( |
Fields | |
---|---|
name |
The name of deployment resource. The format will be 'projects/{projectId}/locations/{locationId}/deployments/{deploymentId}' |
description |
Description of the Deployment |
createTime |
Output only. [Output only] Create time stamp A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. [Output only] Update time stamp A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
state |
Output only. Current state of the deployment. |
serviceAccount |
User-specified Service Account (SA) credentials to be used for cloud build Format: |
workerPool |
Optional. The user-specified Cloud Build worker pool resource in which the Cloud Build job will execute. Format: |
Union field workload_config . DeploymentMetadata of the deployment workload_config can be only one of the following: |
|
sapSystemS4Config |
SAP system workload input |
sqlServerWorkload |
MS SQL workload input |
SapSystemS4Config
Message for sap system workload
JSON representation |
---|
{ "gcpProjectId": string, "location": { object ( |
Fields | |
---|---|
gcpProjectId |
the project that infrastructure deployed, current only support the same project where the deployment resource exist. |
location |
database details |
database |
database details |
app |
instance details |
allowStoppingForUpdate |
|
version |
Required. sap hana version |
environmentType |
Required. deployment environment |
deploymentModel |
Required. two model non-HA and HA supported |
scalingMethod |
Required. support scale up and scale out |
mediaBucketName |
Required. mediaBucketName |
sapBootDiskImage |
Optional. sapBootDiskImage |
vmPrefix |
vmPrefix |
ansibleRunnerServiceAccount |
Ansible runner service account - let custoemrs bring their own SA for Ansible runner |
LocationDetails
Message for sap instant details
JSON representation |
---|
{
"vpcName": string,
"zone1Name": string,
"zone2Name": string,
"dnsZoneNameSuffix": string,
"regionName": string,
"internetAccess": enum ( |
Fields | |
---|---|
vpcName |
Required. vpcName |
zone1Name |
Required. zone1Name |
zone2Name |
Optional. zone2Name |
dnsZoneNameSuffix |
Optional. dnsZoneNameSuffix |
regionName |
Required. regionName |
internetAccess |
|
subnetName |
Required. subnetName |
dnsZone |
Optional. dns zone name |
networkProject |
Optional. network project |
createCommsFirewall |
Optional. create firewall, if true, create firewall for the deployment. This field provides an option to not always create firewall for the deployment. |
InternetAccess
InternetAccess
Enums | |
---|---|
INTERNETACCESS_UNSPECIFIED |
|
ALLOW_EXTERNAL_IP |
|
CONFIGURE_NAT |
DatabaseDetails
Message for sap instant details
JSON representation |
---|
{ "sid": string, "machineType": string, "diskType": string, "secretManagerSecret": string, "image": string, "instanceId": string, "primaryDbVm": string, "secondaryDbVm": string, "databaseServiceAccount": string } |
Fields | |
---|---|
sid |
Required. The SID is a three-digit server-specific unique identification code. |
machineType |
Required. machine type |
diskType |
Required. diskType |
secretManagerSecret |
Required. secretManagerSecret |
image |
Required. image for database server |
instanceId |
Optional. instance id |
primaryDbVm |
Optional. primary db vm name |
secondaryDbVm |
Optional. secondary db vm name |
databaseServiceAccount |
Database service account - let custoemrs bring their own SA for database |
AppDetails
Message for sap instant details
JSON representation |
---|
{ "sid": string, "vmsMultiplier": integer, "machineType": string, "ascsMachineType": string, "secretManagerSecret": string, "image": string, "ascsInstanceId": string, "ersInstanceId": string, "appInstanceId": string, "ascsVm": string, "ersVm": string, "ascsImage": string, "ascsServiceAccount": string, "appServiceAccount": string } |
Fields | |
---|---|
sid |
Required. The SAP SID is a three-digit server-specific unique identification code. |
vmsMultiplier |
Required. vmsMultiplier |
machineType |
Required. machine type |
ascsMachineType |
Required. ascsMachineType |
secretManagerSecret |
Required. secretManagerSecret |
image |
Required. image for app server and ascs server |
ascsInstanceId |
Optional. instance id for ascs |
ersInstanceId |
Optional. instance id for ers |
appInstanceId |
Optional. instance id for app |
ascsVm |
Optional. ASCS vm name |
ersVm |
Optional. ERS vm name |
ascsImage |
Required. image for ascs server |
ascsServiceAccount |
ASCS service account - let custoemrs bring their own SA for ASCS |
appServiceAccount |
Application service account - let custoemrs bring their own SA for application |
Version
Version
Enums | |
---|---|
VERSION_UNSPECIFIED |
|
S4_HANA_2021 |
|
S4_HANA_2022 |
|
S4_HANA_2023 |
EnvironmentType
EnvironmentType
Enums | |
---|---|
ENVIRONMENT_TYPE_UNSPECIFIED |
Unspecified environment type |
NON_PRODUCTION |
Non-production environment type |
PRODUCTION |
Production environment type |
DeploymentModel
DeploymentModel
Enums | |
---|---|
DEPLOYMENT_MODEL_UNSPECIFIED |
|
DISTRIBUTED |
|
DISTRIBUTED_HA |
ScalingMethod
ScalingMethod
Enums | |
---|---|
SCALE_METHOD_UNSPECIFIED |
|
SCALE_UP |
Scale up: Increases the size of a physical machine by increasing the amount of RAM and CPU available for processing |
SCALE_OUT |
Scale out: Combines multiple independent computers into one system |
SqlServerWorkload
Message for MS SQL workload
JSON representation |
---|
{ "environmentType": enum ( |
Fields | |
---|---|
environmentType |
Required. deployment environment |
operatingSystemType |
Required. type of the operating system the SQL server is going to run on top of |
osImage |
Required. the image of the operating system |
deploymentModel |
Required. HIGH_AVAILABILITY or SINGLE_INSTANCE |
haType |
Optional. AOAG or FCI, it is only needed for High Availability deployment mode |
vmPrefix |
Required. should be unique in the project |
mediaBucket |
Required. name of the media storing SQL server installation files |
location |
Required. location details |
activeDirectory |
Required. active directory details |
database |
Required. database details |
pacemaker |
Optional. pacemaker configuration, only applicable for Linux HA deployments |
fciType |
Optional. SHARED_DISK or S2D |
isSqlPayg |
Required. SQL licensing type |
sqlServerEdition |
Optional. SQL Server Edition type, only applicable when Operating System is Linux |
sqlServerVersion |
Optional. 2017 or 2019 or 2022 |
osImageType |
Optional. OS image type, it's used to create boot disks for VM instances When either Windows licensing type or SQL licensing type is BYOL, this option is disabled and default to custom image |
OperatingSystemType
Operating system type
Enums | |
---|---|
OPERATING_SYSTEM_TYPE_UNSPECIFIED |
Unspecified operating system type |
WINDOWS |
Windows operating system type |
UBUNTU |
Ubuntu operating system type |
RED_HAT_ENTERPRISE_LINUX |
Red Hat Enterprise Linux operating system type |
SUSE |
Suse operating system type |
DeploymentModel
Deployment model
Enums | |
---|---|
DEPLOYMENT_MODEL_UNSPECIFIED |
Unspecified deployment model |
HIGH_AVAILABILITY |
High Availability deployment model |
SINGLE_INSTANCE |
Single Instance deployment model |
HAType
HA type
Enums | |
---|---|
HA_TYPE_UNSPECIFIED |
Unspecified HA type |
AOAG |
AOAG HA type |
FCI |
FCI HA type |
SqlLocationDetails
Location and networking details for configuring SQL server workload
JSON representation |
---|
{
"gcpProjectId": string,
"region": string,
"primaryZone": string,
"secondaryZone": string,
"network": string,
"subnetwork": string,
"internetAccess": enum ( |
Fields | |
---|---|
gcpProjectId |
Required. the project that infrastructure deployed, currently only supports the same project where the deployment resource exists. |
region |
Required. region name |
primaryZone |
Required. primary zone |
secondaryZone |
Optional. secondary zone can't be same as primaryZone and is only for High Availability deployment mode |
network |
Required. network name |
subnetwork |
Required. subnetwork name |
internetAccess |
Required. Internet Access |
dnsZone |
Optional. create a new DNS Zone when the field is empty, Only show for |
tertiaryZone |
Optional. teriary zone can't be same as primaryZone and secondary zone, and it is only for High Availability deployment mode |
InternetAccess
Internet Access options
Enums | |
---|---|
INTERNET_ACCESS_UNSPECIFIED |
Unspecified internet access |
ALLOW_EXTERNAL_IP |
Allow external IP |
CONFIGURE_NAT |
Configure NAT |
ActiveDirectory
Active directory details
JSON representation |
---|
{
"type": enum ( |
Fields | |
---|---|
type |
Required. active directory type |
domainUsername |
Optional. domain username |
secretManagerSecret |
Required. secretManagerSecret |
dnsAddress |
Optional. DNS IP address |
domain |
Optional. human readable form of a domain such as “google.com”. |
ActiveDirectoryType
active directory type options
Enums | |
---|---|
ACTIVE_DIRECTORY_TYPE_UNSPECIFIED |
Unspecified active directory type |
GCP_MANAGED |
GCP managed active directory type |
SELF_MANAGED |
Self managed active directory type |
Database
Database details
JSON representation |
---|
{
"secretManagerSecret": string,
"floatingIpAddress": string,
"machineType": string,
"smt": boolean,
"tempdbOnSsd": boolean,
"tenancyModel": enum ( |
Fields | |
---|---|
secretManagerSecret |
Required. secretManagerSecret |
floatingIpAddress |
Optional. only useful for Linux High Availability setup |
machineType |
Required. machine type |
smt |
Required. whether simultaneous multithreading is enabled or not |
tempdbOnSsd |
Required. whether to have TempDB on local SSD |
tenancyModel |
Required. SHARED or SOLE_TENANT |
soleTenantNode |
Optional. the name of a sole-tenant node/node group |
soleTenantNodeType |
Optional. the type of a sole-tenant node/node group e.g. compute.googleapis.com/node-name |
TenancyModel
Tenancy model
Enums | |
---|---|
TENANCY_MODEL_UNSPECIFIED |
Unspecified tenancy model |
SHARED |
Shared tenancy model |
SOLE_TENANT |
Sole Tenant tenancy model |
Pacemaker
pacemaker configuration
JSON representation |
---|
{ "pacemakerCluster": string, "pacemakerClusterUsername": string, "pacemakerClusterSecret": string, "sqlPacemakerUsername": string, "sqlPacemakerSecret": string, "bucketNameNodeCertificates": string } |
Fields | |
---|---|
pacemakerCluster |
Required. pacemaker cluster name |
pacemakerClusterUsername |
Required. pacemaker cluster username |
pacemakerClusterSecret |
Required. pacemaker cluster secret name |
sqlPacemakerUsername |
Required. sql pacemaker username |
sqlPacemakerSecret |
Required. sql pacemaker secret name |
bucketNameNodeCertificates |
Required. bucket location for node certificates |
FciType
FCI type, only applicable when Operating System is Windows and HA type is FCI
Enums | |
---|---|
FCI_TYPE_UNSPECIFIED |
Unspecified FCI type |
SHARED_DISK |
SHARED DISK FCI type |
S2D |
S2D FCI type |
SqlServerEditionType
SQL Server Edition type, only applicable when Operating System is Linux
Enums | |
---|---|
SQL_SERVER_EDITION_TYPE_UNSPECIFIED |
Unspecified type |
SQL_SERVER_EDITION_TYPE_DEVELOPER |
Developer type |
SQL_SERVER_EDITION_TYPE_ENTERPRISE |
Enterprise type |
SQL_SERVER_EDITION_TYPE_STANDARD |
Standard type |
SQL_SERVER_EDITION_TYPE_WEB |
Web type |
SqlServerVersionType
SQL Server Version type, only applicable when Operating System is Linux
Enums | |
---|---|
SQL_SERVER_VERSION_TYPE_UNSPECIFIED |
Unspecified type |
SQL_SERVER_VERSION_TYPE_2017 |
2017 type |
SQL_SERVER_VERSION_TYPE_2019 |
2019 type |
SQL_SERVER_VERSION_TYPE_2022 |
2022 type |
OsImageType
OS image type
Enums | |
---|---|
OS_IMAGE_TYPE_UNSPECIFIED |
Unspecified OS image type |
PUBLIC_IMAGE |
Public image |
CUSTOM_IMAGE |
Custom image |
State
The state of deployment
Enums | |
---|---|
STATE_UNSPECIFIED |
The default value. This value is used if the state is omitted. |
CREATING |
The deployment is being created. |
ACTIVE |
The deployment is healthy. |
UPDATING |
The deployment is being updated. |
DELETING |
The deployment is being deleted. |
FAILED |
The deployment has encountered an unexpected error. |
Methods |
|
---|---|
|
Creates a new Deployment in a given project and location. |
|
Deletes a single Deployment. |
|
Gets details of a single Deployment. |
|
Lists Deployments in a given project and location. |