oracle / oracle.oci / 4.43.0 / module / oci_database_autonomous_vm_cluster_actions Perform actions on an AutonomousVmCluster resource in Oracle Cloud Infrastructure | "added in version" 2.9.0 of oracle.oci" Authors: Oracle (@oracle) preview | supported by communityoracle.oci.oci_database_autonomous_vm_cluster_actions (4.43.0) — module
Install with ansible-galaxy collection install oracle.oci:==4.43.0
collections: - name: oracle.oci version: 4.43.0
Perform actions on an AutonomousVmCluster resource in Oracle Cloud Infrastructure
For I(action=change_compartment), moves an Autonomous VM cluster and its dependent resources to another compartment. Applies to Exadata Cloud@Customer only. For systems in the Oracle cloud, see L(ChangeAutonomousVmClusterCompartment,https://docs.cloud.oracle.com/en- us/iaas/api/#/en/database/latest/AutonomousVmCluster/ChangeAutonomousVmClusterCompartment).
For I(action=rotate_autonomous_vm_cluster_ords_certs), rotates the Oracle REST Data Services (ORDS) certificates for Autonomous Exadata VM cluster.
For I(action=rotate_autonomous_vm_cluster_ssl_certs), rotates the SSL certificates for Autonomous Exadata VM cluster.
- name: Perform action change_compartment on autonomous_vm_cluster oci_database_autonomous_vm_cluster_actions: # required compartment_id: "ocid1.compartment.oc1..xxxxxxEXAMPLExxxxxx" autonomous_vm_cluster_id: "ocid1.autonomousvmcluster.oc1..xxxxxxEXAMPLExxxxxx" action: change_compartment
- name: Perform action rotate_autonomous_vm_cluster_ords_certs on autonomous_vm_cluster oci_database_autonomous_vm_cluster_actions: # required certificate_generation_type: SYSTEM autonomous_vm_cluster_id: "ocid1.autonomousvmcluster.oc1..xxxxxxEXAMPLExxxxxx" action: rotate_autonomous_vm_cluster_ords_certs # optional certificate_id: "ocid1.certificate.oc1..xxxxxxEXAMPLExxxxxx" certificate_authority_id: "ocid1.certificateauthority.oc1..xxxxxxEXAMPLExxxxxx" ca_bundle_id: "ocid1.cabundle.oc1..xxxxxxEXAMPLExxxxxx"
- name: Perform action rotate_autonomous_vm_cluster_ssl_certs on autonomous_vm_cluster oci_database_autonomous_vm_cluster_actions: # required certificate_generation_type: SYSTEM autonomous_vm_cluster_id: "ocid1.autonomousvmcluster.oc1..xxxxxxEXAMPLExxxxxx" action: rotate_autonomous_vm_cluster_ssl_certs # optional certificate_id: "ocid1.certificate.oc1..xxxxxxEXAMPLExxxxxx" certificate_authority_id: "ocid1.certificateauthority.oc1..xxxxxxEXAMPLExxxxxx" ca_bundle_id: "ocid1.cabundle.oc1..xxxxxxEXAMPLExxxxxx"
wait: default: true description: Whether to wait for create or delete operation to complete. type: bool action: choices: - change_compartment - rotate_autonomous_vm_cluster_ords_certs - rotate_autonomous_vm_cluster_ssl_certs description: - The action to perform on the AutonomousVmCluster. required: true type: str region: description: - The Oracle Cloud Infrastructure region to use for all OCI API requests. If not set, then the value of the OCI_REGION variable, if any, is used. This option is required if the region is not specified through a configuration file (See C(config_file_location)). Please refer to U(https://docs.us-phoenix-1.oraclecloud.com/Content/General/Concepts/regions.htm) for more information on OCI regions. type: str tenancy: description: - OCID of your tenancy. If not set, then the value of the OCI_TENANCY variable, if any, is used. This option is required if the tenancy OCID is not specified through a configuration file (See C(config_file_location)). To get the tenancy OCID, please refer U(https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm) type: str api_user: description: - The OCID of the user, on whose behalf, OCI APIs are invoked. If not set, then the value of the OCI_USER_ID environment variable, if any, is used. This option is required if the user is not specified through a configuration file (See C(config_file_location)). To get the user's OCID, please refer U(https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm). type: str auth_type: choices: - api_key - instance_principal - instance_obo_user - resource_principal - security_token default: api_key description: - The type of authentication to use for making API requests. By default C(auth_type="api_key") based authentication is performed and the API key (see I(api_user_key_file)) in your config file will be used. If this 'auth_type' module option is not specified, the value of the OCI_ANSIBLE_AUTH_TYPE, if any, is used. Use C(auth_type="instance_principal") to use instance principal based authentication when running ansible playbooks within an OCI compute instance. type: str cert_bundle: description: - The full path to a CA certificate bundle to be used for SSL verification. This will override the default CA certificate bundle. If not set, then the value of the OCI_ANSIBLE_CERT_BUNDLE variable, if any, is used. type: str auth_purpose: choices: - service_principal description: - The auth purpose which can be used in conjunction with 'auth_type=instance_principal'. The default auth_purpose for instance_principal is None. type: str ca_bundle_id: description: - The L(OCID,https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the certificate bundle. - Applicable only for I(action=rotate_autonomous_vm_cluster_ords_certs)I(action=rotate_autonomous_vm_cluster_ssl_certs). type: str wait_timeout: description: Time, in seconds, to wait when I(wait=yes). Defaults to 1200 for most of the services but some services might have a longer wait timeout. type: int certificate_id: description: - The L(OCID,https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the certificate to use. - Applicable only for I(action=rotate_autonomous_vm_cluster_ords_certs)I(action=rotate_autonomous_vm_cluster_ssl_certs). type: str compartment_id: description: - The L(OCID,https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the Autonomous VM cluster to. - Required for I(action=change_compartment). type: str api_user_key_file: description: - Full path and filename of the private key (in PEM format). If not set, then the value of the OCI_USER_KEY_FILE variable, if any, is used. This option is required if the private key is not specified through a configuration file (See C(config_file_location)). If the key is encrypted with a pass-phrase, the C(api_user_key_pass_phrase) option must also be provided. type: str config_profile_name: description: - The profile to load from the config file referenced by C(config_file_location). If not set, then the value of the OCI_CONFIG_PROFILE environment variable, if any, is used. Otherwise, defaults to the "DEFAULT" profile in C(config_file_location). type: str api_user_fingerprint: description: - Fingerprint for the key pair being used. If not set, then the value of the OCI_USER_FINGERPRINT environment variable, if any, is used. This option is required if the key fingerprint is not specified through a configuration file (See C(config_file_location)). To get the key pair's fingerprint value please refer U(https://docs.us-phoenix-1.oraclecloud.com/Content/API/Concepts/apisigningkey.htm). type: str config_file_location: description: - Path to configuration file. If not set then the value of the OCI_CONFIG_FILE environment variable, if any, is used. Otherwise, defaults to ~/.oci/config. type: str api_user_key_pass_phrase: description: - Passphrase used by the key referenced in C(api_user_key_file), if it is encrypted. If not set, then the value of the OCI_USER_KEY_PASS_PHRASE variable, if any, is used. This option is required if the key passphrase is not specified through a configuration file (See C(config_file_location)). type: str autonomous_vm_cluster_id: aliases: - id description: - The autonomous VM cluster L(OCID,https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). required: true type: str certificate_authority_id: description: - The L(OCID,https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the certificate authority. - Applicable only for I(action=rotate_autonomous_vm_cluster_ords_certs)I(action=rotate_autonomous_vm_cluster_ssl_certs). type: str certificate_generation_type: choices: - SYSTEM - BYOC description: - Specify SYSTEM to use Oracle-managed certificates. Specify BYOC when you want to bring your own certificate. - Required for I(action=rotate_autonomous_vm_cluster_ords_certs), I(action=rotate_autonomous_vm_cluster_ssl_certs). type: str realm_specific_endpoint_template_enabled: description: - Enable/Disable realm specific endpoint template for service client. By Default, realm specific endpoint template is disabled. If not set, then the value of the OCI_REALM_SPECIFIC_SERVICE_ENDPOINT_TEMPLATE_ENABLED variable, if any, is used. type: bool
autonomous_vm_cluster: contains: autonomous_data_storage_size_in_tbs: description: - The data disk group size allocated for Autonomous Databases, in TBs. returned: on success sample: 1.2 type: float available_autonomous_data_storage_size_in_tbs: description: - The data disk group size available for Autonomous Databases, in TBs. returned: on success sample: 1.2 type: float available_container_databases: description: - The number of Autonomous Container Databases that can be created with the currently available local storage. returned: on success sample: 56 type: int available_cpus: description: - The numnber of CPU cores available. returned: on success sample: 56 type: int available_data_storage_size_in_tbs: description: - '**Deprecated.** Use `availableAutonomousDataStorageSizeInTBs` for Autonomous Databases'' data storage availability in TBs.' returned: on success sample: 1.2 type: float compartment_id: description: - The L(OCID,https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. returned: on success sample: ocid1.compartment.oc1..xxxxxxEXAMPLExxxxxx type: str compute_model: description: - 'The compute model of the Autonomous VM Cluster. ECPU compute model is the recommended model and OCPU compute model is legacy. See L(Compute Models in Autonomous Database on Dedicated Exadata #Infrastructure,https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details.' returned: on success sample: ECPU type: str cpu_core_count_per_node: description: - The number of CPU cores enabled per VM cluster node. returned: on success sample: 56 type: int cpus_enabled: description: - The number of enabled CPU cores. returned: on success sample: 56 type: int data_storage_size_in_gbs: description: - The total data storage allocated in GBs. returned: on success sample: 1.2 type: float data_storage_size_in_tbs: description: - The total data storage allocated in TBs returned: on success sample: 1.2 type: float db_node_storage_size_in_gbs: description: - The local node storage allocated in GBs. returned: on success sample: 56 type: int db_servers: description: - The list of L(OCIDs,https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Db servers. returned: on success sample: [] type: list defined_tags: description: - Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see L(Resource Tags,https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). returned: on success sample: Operations: CostCenter: US type: dict display_name: description: - The user-friendly name for the Autonomous VM cluster. The name does not need to be unique. returned: on success sample: display_name_example type: str exadata_infrastructure_id: description: - The L(OCID,https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Exadata infrastructure. returned: on success sample: ocid1.exadatainfrastructure.oc1..xxxxxxEXAMPLExxxxxx type: str freeform_tags: description: - Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see L(Resource Tags,https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). - 'Example: `{"Department": "Finance"}`' returned: on success sample: Department: Finance type: dict id: description: - The L(OCID,https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Autonomous VM cluster. returned: on success sample: ocid1.resource.oc1..xxxxxxEXAMPLExxxxxx type: str is_local_backup_enabled: description: - If true, database backup on local Exadata storage is configured for the Autonomous VM cluster. If false, database backup on local Exadata storage is not available in the Autonomous VM cluster. returned: on success sample: true type: bool is_mtls_enabled: description: - Enable mutual TLS(mTLS) authentication for database while provisioning a VMCluster. Default is TLS. returned: on success sample: true type: bool last_maintenance_run_id: description: - The L(OCID,https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the last maintenance run. returned: on success sample: ocid1.lastmaintenancerun.oc1..xxxxxxEXAMPLExxxxxx type: str license_model: description: - The Oracle license model that applies to the Autonomous VM cluster. The default is LICENSE_INCLUDED. returned: on success sample: LICENSE_INCLUDED type: str lifecycle_details: description: - Additional information about the current lifecycle state. returned: on success sample: lifecycle_details_example type: str lifecycle_state: description: - The current state of the Autonomous VM cluster. returned: on success sample: PROVISIONING type: str maintenance_window: contains: custom_action_timeout_in_mins: description: - Determines the amount of time the system will wait before the start of each database server patching operation. Custom action timeout is in minutes and valid value is between 15 to 120 (inclusive). returned: on success sample: 56 type: int days_of_week: contains: name: description: - Name of the day of the week. returned: on success sample: MONDAY type: str description: - Days during the week when maintenance should be performed. returned: on success type: complex hours_of_day: description: - The window of hours during the day when maintenance should be performed. The window is a 4 hour slot. Valid values are - 0 - represents time slot 0:00 - 3:59 UTC - 4 - represents time slot 4:00 - 7:59 UTC - 8 - represents time slot 8:00 - 11:59 UTC - 12 - represents time slot 12:00 - 15:59 UTC - 16 - represents time slot 16:00 - 19:59 UTC - 20 - represents time slot 20:00 - 23:59 UTC returned: on success sample: [] type: list is_custom_action_timeout_enabled: description: - If true, enables the configuration of a custom action timeout (waiting period) between database server patching operations. returned: on success sample: true type: bool is_monthly_patching_enabled: description: - If true, enables the monthly patching option. returned: on success sample: true type: bool lead_time_in_weeks: description: - Lead time window allows user to set a lead time to prepare for a down time. The lead time is in weeks and valid value is between 1 to 4. returned: on success sample: 56 type: int months: contains: name: description: - Name of the month of the year. returned: on success sample: JANUARY type: str description: - Months during the year when maintenance should be performed. returned: on success type: complex patching_mode: description: - Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING. - '*IMPORTANT*: Non-rolling infrastructure patching involves system down time. See L(Oracle-Managed Infrastructure Maintenance Updates,https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/examaintenance.htm#Oracle) for more information.' returned: on success sample: ROLLING type: str preference: description: - The maintenance window scheduling preference. returned: on success sample: NO_PREFERENCE type: str weeks_of_month: description: - Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. returned: on success sample: [] type: list description: - '' returned: on success type: complex memory_per_oracle_compute_unit_in_gbs: description: - The amount of memory (in GBs) to be enabled per OCPU or ECPU. returned: on success sample: 56 type: int memory_size_in_gbs: description: - The memory allocated in GBs. returned: on success sample: 56 type: int next_maintenance_run_id: description: - The L(OCID,https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the next maintenance run. returned: on success sample: ocid1.nextmaintenancerun.oc1..xxxxxxEXAMPLExxxxxx type: str node_count: description: - The number of nodes in the Autonomous VM Cluster. returned: on success sample: 56 type: int ocpus_enabled: description: - The number of enabled OCPU cores. returned: on success sample: 3.4 type: float reclaimable_cpus: description: - CPUs that continue to be included in the count of CPUs available to the Autonomous Container Database even after one of its Autonomous Database is terminated or scaled down. You can release them to the available CPUs at its parent Autonomous VM Cluster level by restarting the Autonomous Container Database. returned: on success sample: 56 type: int scan_listener_port_non_tls: description: - The SCAN Listener Non TLS port number. Default value is 1521. returned: on success sample: 56 type: int scan_listener_port_tls: description: - The SCAN Listener TLS port number. Default value is 2484. returned: on success sample: 56 type: int time_created: description: - The date and time that the Autonomous VM cluster was created. returned: on success sample: '2013-10-20T19:20:30+01:00' type: str time_database_ssl_certificate_expires: description: - The date and time of the Database SSL certificate expiration. returned: on success sample: '2013-10-20T19:20:30+01:00' type: str time_ords_certificate_expires: description: - The date and time of the ORDS certificate expiration. returned: on success sample: '2013-10-20T19:20:30+01:00' type: str time_zone: description: - The time zone to use for the Autonomous VM cluster. For details, see L(DB System Time Zones,https://docs.cloud.oracle.com/Content/Database/References/timezones.htm). returned: on success sample: time_zone_example type: str total_container_databases: description: - The total number of Autonomous Container Databases that can be created. returned: on success sample: 56 type: int vm_cluster_network_id: description: - The L(OCID,https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the VM cluster network. returned: on success sample: ocid1.vmclusternetwork.oc1..xxxxxxEXAMPLExxxxxx type: str description: - Details of the AutonomousVmCluster resource acted upon by the current operation returned: on success sample: autonomous_data_storage_size_in_tbs: 1.2 available_autonomous_data_storage_size_in_tbs: 1.2 available_container_databases: 56 available_cpus: 56 available_data_storage_size_in_tbs: 1.2 compartment_id: ocid1.compartment.oc1..xxxxxxEXAMPLExxxxxx compute_model: ECPU cpu_core_count_per_node: 56 cpus_enabled: 56 data_storage_size_in_gbs: 1.2 data_storage_size_in_tbs: 1.2 db_node_storage_size_in_gbs: 56 db_servers: [] defined_tags: Operations: CostCenter: US display_name: display_name_example exadata_infrastructure_id: ocid1.exadatainfrastructure.oc1..xxxxxxEXAMPLExxxxxx freeform_tags: Department: Finance id: ocid1.resource.oc1..xxxxxxEXAMPLExxxxxx is_local_backup_enabled: true is_mtls_enabled: true last_maintenance_run_id: ocid1.lastmaintenancerun.oc1..xxxxxxEXAMPLExxxxxx license_model: LICENSE_INCLUDED lifecycle_details: lifecycle_details_example lifecycle_state: PROVISIONING maintenance_window: custom_action_timeout_in_mins: 56 days_of_week: - name: MONDAY hours_of_day: [] is_custom_action_timeout_enabled: true is_monthly_patching_enabled: true lead_time_in_weeks: 56 months: - name: JANUARY patching_mode: ROLLING preference: NO_PREFERENCE weeks_of_month: [] memory_per_oracle_compute_unit_in_gbs: 56 memory_size_in_gbs: 56 next_maintenance_run_id: ocid1.nextmaintenancerun.oc1..xxxxxxEXAMPLExxxxxx node_count: 56 ocpus_enabled: 3.4 reclaimable_cpus: 56 scan_listener_port_non_tls: 56 scan_listener_port_tls: 56 time_created: '2013-10-20T19:20:30+01:00' time_database_ssl_certificate_expires: '2013-10-20T19:20:30+01:00' time_ords_certificate_expires: '2013-10-20T19:20:30+01:00' time_zone: time_zone_example total_container_databases: 56 vm_cluster_network_id: ocid1.vmclusternetwork.oc1..xxxxxxEXAMPLExxxxxx type: complex