UpdateDeploymentDetails¶
- class oci.golden_gate.models.UpdateDeploymentDetails(**kwargs)¶
Bases:
objectThe information to use to update a Deployment.
Attributes:
A constant which can be used with the environment_type property of a UpdateDeploymentDetails.
A constant which can be used with the environment_type property of a UpdateDeploymentDetails.
A constant which can be used with the license_model property of a UpdateDeploymentDetails.
A constant which can be used with the license_model property of a UpdateDeploymentDetails.
Gets the backup_schedule of this UpdateDeploymentDetails.
Gets the byol_cpu_core_count_limit of this UpdateDeploymentDetails.
Gets the cpu_core_count of this UpdateDeploymentDetails.
Gets the defined_tags of this UpdateDeploymentDetails.
Gets the description of this UpdateDeploymentDetails.
Gets the display_name of this UpdateDeploymentDetails.
Gets the environment_type of this UpdateDeploymentDetails.
Gets the fqdn of this UpdateDeploymentDetails.
Gets the freeform_tags of this UpdateDeploymentDetails.
Gets the is_auto_scaling_enabled of this UpdateDeploymentDetails.
Gets the is_byol_cpu_core_count_limit_enabled of this UpdateDeploymentDetails.
Gets the is_public of this UpdateDeploymentDetails.
Gets the license_model of this UpdateDeploymentDetails.
Gets the load_balancer_subnet_id of this UpdateDeploymentDetails.
Gets the maintenance_configuration of this UpdateDeploymentDetails.
Gets the maintenance_window of this UpdateDeploymentDetails.
Gets the nsg_ids of this UpdateDeploymentDetails.
Gets the ogg_data of this UpdateDeploymentDetails.
Gets the placements of this UpdateDeploymentDetails.
Gets the security_attributes of this UpdateDeploymentDetails.
Gets the subnet_id of this UpdateDeploymentDetails.
Methods:
__init__(**kwargs)Initializes a new UpdateDeploymentDetails object with values from keyword arguments.
- ENVIRONMENT_TYPE_DEVELOPMENT_OR_TESTING = 'DEVELOPMENT_OR_TESTING'¶
A constant which can be used with the environment_type property of a UpdateDeploymentDetails. This constant has a value of “DEVELOPMENT_OR_TESTING”
- ENVIRONMENT_TYPE_PRODUCTION = 'PRODUCTION'¶
A constant which can be used with the environment_type property of a UpdateDeploymentDetails. This constant has a value of “PRODUCTION”
- LICENSE_MODEL_BRING_YOUR_OWN_LICENSE = 'BRING_YOUR_OWN_LICENSE'¶
A constant which can be used with the license_model property of a UpdateDeploymentDetails. This constant has a value of “BRING_YOUR_OWN_LICENSE”
- LICENSE_MODEL_LICENSE_INCLUDED = 'LICENSE_INCLUDED'¶
A constant which can be used with the license_model property of a UpdateDeploymentDetails. This constant has a value of “LICENSE_INCLUDED”
- __init__(**kwargs)¶
Initializes a new UpdateDeploymentDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
display_name (str) – The value to assign to the display_name property of this UpdateDeploymentDetails.
license_model (str) – The value to assign to the license_model property of this UpdateDeploymentDetails. Allowed values for this property are: “LICENSE_INCLUDED”, “BRING_YOUR_OWN_LICENSE”
is_byol_cpu_core_count_limit_enabled (bool) – The value to assign to the is_byol_cpu_core_count_limit_enabled property of this UpdateDeploymentDetails.
byol_cpu_core_count_limit (int) – The value to assign to the byol_cpu_core_count_limit property of this UpdateDeploymentDetails.
environment_type (str) – The value to assign to the environment_type property of this UpdateDeploymentDetails. Allowed values for this property are: “PRODUCTION”, “DEVELOPMENT_OR_TESTING”
description (str) – The value to assign to the description property of this UpdateDeploymentDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateDeploymentDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateDeploymentDetails.
nsg_ids (list[str]) – The value to assign to the nsg_ids property of this UpdateDeploymentDetails.
subnet_id (str) – The value to assign to the subnet_id property of this UpdateDeploymentDetails.
load_balancer_subnet_id (str) – The value to assign to the load_balancer_subnet_id property of this UpdateDeploymentDetails.
is_public (bool) – The value to assign to the is_public property of this UpdateDeploymentDetails.
fqdn (str) – The value to assign to the fqdn property of this UpdateDeploymentDetails.
cpu_core_count (int) – The value to assign to the cpu_core_count property of this UpdateDeploymentDetails.
is_auto_scaling_enabled (bool) – The value to assign to the is_auto_scaling_enabled property of this UpdateDeploymentDetails.
placements (list[oci.golden_gate.models.DeploymentPlacementDetails]) – The value to assign to the placements property of this UpdateDeploymentDetails.
security_attributes (dict(str, dict(str, object))) – The value to assign to the security_attributes property of this UpdateDeploymentDetails.
ogg_data (oci.golden_gate.models.UpdateOggDeploymentDetails) – The value to assign to the ogg_data property of this UpdateDeploymentDetails.
maintenance_window (oci.golden_gate.models.UpdateMaintenanceWindowDetails) – The value to assign to the maintenance_window property of this UpdateDeploymentDetails.
maintenance_configuration (oci.golden_gate.models.UpdateMaintenanceConfigurationDetails) – The value to assign to the maintenance_configuration property of this UpdateDeploymentDetails.
backup_schedule (oci.golden_gate.models.UpdateBackupScheduleDetails) – The value to assign to the backup_schedule property of this UpdateDeploymentDetails.
- property backup_schedule¶
Gets the backup_schedule of this UpdateDeploymentDetails.
- Returns
The backup_schedule of this UpdateDeploymentDetails.
- Return type
- property byol_cpu_core_count_limit¶
Gets the byol_cpu_core_count_limit of this UpdateDeploymentDetails. The maximum number of CPUs allowed with a ‘Bring Your Own License’ (BYOL) license type. Any CPU usage above this limit is considered as License Included and billed.
- Returns
The byol_cpu_core_count_limit of this UpdateDeploymentDetails.
- Return type
int
- property cpu_core_count¶
Gets the cpu_core_count of this UpdateDeploymentDetails. The Minimum number of OCPUs to be made available for this Deployment.
- Returns
The cpu_core_count of this UpdateDeploymentDetails.
- Return type
int
- property defined_tags¶
Gets the defined_tags of this UpdateDeploymentDetails. Tags defined for this resource. Each key is predefined and scoped to a namespace.
Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns
The defined_tags of this UpdateDeploymentDetails.
- Return type
dict(str, dict(str, object))
- property description¶
Gets the description of this UpdateDeploymentDetails. Metadata about this specific object.
- Returns
The description of this UpdateDeploymentDetails.
- Return type
str
- property display_name¶
Gets the display_name of this UpdateDeploymentDetails. An object’s Display Name.
- Returns
The display_name of this UpdateDeploymentDetails.
- Return type
str
- property environment_type¶
Gets the environment_type of this UpdateDeploymentDetails. Specifies whether the deployment is used in a production or development/testing environment.
Allowed values for this property are: “PRODUCTION”, “DEVELOPMENT_OR_TESTING”
- Returns
The environment_type of this UpdateDeploymentDetails.
- Return type
str
- property fqdn¶
Gets the fqdn of this UpdateDeploymentDetails. A three-label Fully Qualified Domain Name (FQDN) for a resource.
- Returns
The fqdn of this UpdateDeploymentDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this UpdateDeploymentDetails. A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only.
Example: {“bar-key”: “value”}
- Returns
The freeform_tags of this UpdateDeploymentDetails.
- Return type
dict(str, str)
- property is_auto_scaling_enabled¶
Gets the is_auto_scaling_enabled of this UpdateDeploymentDetails. Indicates if auto scaling is enabled for the Deployment’s CPU core count.
- Returns
The is_auto_scaling_enabled of this UpdateDeploymentDetails.
- Return type
bool
- property is_byol_cpu_core_count_limit_enabled¶
Gets the is_byol_cpu_core_count_limit_enabled of this UpdateDeploymentDetails. Flag to allow to configure the ‘Bring Your Own License’ (BYOL) license type CPU limit. If enabled, the exact number of CPUs must be provided via byolCpuCoreCountLimit.
- Returns
The is_byol_cpu_core_count_limit_enabled of this UpdateDeploymentDetails.
- Return type
bool
- property is_public¶
Gets the is_public of this UpdateDeploymentDetails. True if this object is publicly available.
- Returns
The is_public of this UpdateDeploymentDetails.
- Return type
bool
- property license_model¶
Gets the license_model of this UpdateDeploymentDetails. The Oracle license model that applies to a Deployment.
Allowed values for this property are: “LICENSE_INCLUDED”, “BRING_YOUR_OWN_LICENSE”
- Returns
The license_model of this UpdateDeploymentDetails.
- Return type
str
- property load_balancer_subnet_id¶
Gets the load_balancer_subnet_id of this UpdateDeploymentDetails. The OCID of a public subnet in the customer tenancy used to host the public load balancer of the deployment.
Rules: - Create: Mandatory when isPublic is true. Must be a public, regional subnet in the same VCN as subnetId. - Update:
For public deployments, this property must be present and is immutable once set (cannot be changed to a different subnet).
Legacy exception: a public deployment created without this property may continue to be updated without providing it; once set, it becomes immutable.
Validation: - Must reference a public subnet. - Must be a regional subnet. - Must be in the same VCN as subnetId.
- Returns
The load_balancer_subnet_id of this UpdateDeploymentDetails.
- Return type
str
- property maintenance_configuration¶
Gets the maintenance_configuration of this UpdateDeploymentDetails.
- Returns
The maintenance_configuration of this UpdateDeploymentDetails.
- Return type
oci.golden_gate.models.UpdateMaintenanceConfigurationDetails
- property maintenance_window¶
Gets the maintenance_window of this UpdateDeploymentDetails.
- Returns
The maintenance_window of this UpdateDeploymentDetails.
- Return type
- property nsg_ids¶
Gets the nsg_ids of this UpdateDeploymentDetails. An array of Network Security Group OCIDs used to define network access for either Deployments or Connections.
- Returns
The nsg_ids of this UpdateDeploymentDetails.
- Return type
list[str]
- property ogg_data¶
Gets the ogg_data of this UpdateDeploymentDetails.
- Returns
The ogg_data of this UpdateDeploymentDetails.
- Return type
- property placements¶
Gets the placements of this UpdateDeploymentDetails. An array of local peers of deployment
- Returns
The placements of this UpdateDeploymentDetails.
- Return type
- property security_attributes¶
Gets the security_attributes of this UpdateDeploymentDetails. Security attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“Oracle-ZPR”: {“MaxEgressCount”: {“value”: “42”, “mode”: “enforce”}}}
- Returns
The security_attributes of this UpdateDeploymentDetails.
- Return type
dict(str, dict(str, object))
- property subnet_id¶
Gets the subnet_id of this UpdateDeploymentDetails. The OCID of the subnet of the deployment’s private endpoint. The subnet must be a private subnet. For backward compatibility, public subnets are allowed until May 31 2025, after which the private subnet will be enforced.
- Returns
The subnet_id of this UpdateDeploymentDetails.
- Return type
str