> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# stopInstance (OCI)

> Stops an OCI instance that is running Target Properties Property Name Property Code Required Description OCI Account Code FDOCI CLOUD ACCOUNT CODE No

Stops an OCI instance that is running

# Target Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>OCI Account Code</td><td>`FDOCI_CLOUD_ACCOUNT_CODE`</td><td>No</td><td>OCI account with all the required properties like Tenancy Id, User OCID, Private Key, etc.</td></tr><tr><td>OCI Region</td><td>`FDOCI_REGION`</td><td>No</td><td>OCI region where instances are managed `(US_ASHBURN_1, EU_FRANKFURT_1, UK_LONDON_1, US_PHOENIX_1)`</td></tr></tbody></table>

1 - Property must be defined either by a Target property or by the corresponding plugin input. If both are defined, input will take precedence.

# Cloud Account Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>OCI Tenancy Id</td><td>`FDOCIACCT_TENANCY_ID`</td><td>Yes</td><td>The tenancy Id of the Oracle Cloud account used to connect</td></tr><tr><td>OCI User OCID</td><td>`FDOCIACCT_USER_OCID`</td><td>Yes</td><td>The OCID of the user used to connect to Oracle Cloud</td></tr><tr><td>OCI Private Key</td><td>`FDOCIACCT_PRIVATE_KEY_PATH`</td><td>Yes</td><td>The private key to use for authentication</td></tr><tr><td>OCI Key Fingerprint</td><td>`FDOCIACCT_KEY_FINGERPRINT`</td><td>Yes</td><td>The fingerprint of the key being used for authentication</td></tr><tr><td>OCI Private Key Passphrase</td><td>`FDOCIACCT_KEY_PASSPHRASE`</td><td>No</td><td>A passphrase for the private key if required</td></tr></tbody></table>

# Inputs

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Input Name**</th><th>**Input Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>OCI Account</td><td>`FDOCI_INP_CLOUD_ACCOUNT_CODE`</td><td>No</td><td>OCI account with all the required properties like Tenancy Id, User OCID, Private Key, etc.</td></tr><tr><td>OCI Region</td><td>`FDOCI_INP_REGION`</td><td>No</td><td>OCI region where instances are managed `(US_ASHBURN_1, EU_FRANKFURT_1, UK_LONDON_1, US_PHOENIX_1)`</td></tr><tr><td>OCI Compartment Name</td><td>`FDOCI_COMPARTMENT_NAME`</td><td>No</td><td>OCI compartment where instances are managed. Leave blank for root compartment. For example, Sandbox</td></tr><tr><td>OCI Instance Name</td><td>`FDOCI_INSTANCE_NAME`</td><td>Yes</td><td>OCI instance name. For example, soaoci01</td></tr></tbody></table>

2 - Input must be defined either by a plugin input or by the corresponding Target property. If both are defined, input will take precedence.

# Artifacts

This operation doesn’t consume or produce any artifacts.

# Endpoint Selection

This operation will select all available endpoints associated to the Target.

# Endpoint Execution 

This operation will execute on any one of the selected endpoints and will be random in the determination of which one.

# Special Considerations

Java 8 is required for this plugin operation.
