``configure-physical-appliance``
================================
.. contents:: :local:
 :depth: 1
Description
------------
Configure the physical appliance to copy data

Usage
-----
.. code-block:: none

  oci dts export configure-physical-appliance [OPTIONS]

Required Parameters
--------------------
.. option:: --appliance-cert-fingerprint [text]

The transfer appliance X.509/SSL certificate fingerprint.

.. option:: --appliance-ip [text]

AThe IP address of the transfer appliance.

.. option:: --job-id [text]

OCID of the Export Job

.. option:: --rw [boolean]

Read/Write option on export of dataset

.. option:: --world [boolean]

World option on export of dataset


Optional Parameters
--------------------
.. option:: --access-token [text]

the access token to authenticate with the transfer appliance.

.. option:: --appliance-port [integer]

Appliance label.

.. option:: --appliance-profile [text]

Appliance profile

.. option:: --ip [text]

IP address to export dataset to

.. option:: --subnet-mask-length [integer]

Subnet mask length for the IP address



Global Parameters
------------------
Use ``oci --help`` for help on global parameters.

:option:`--auth-purpose`, :option:`--auth`, :option:`--cert-bundle`, :option:`--cli-auto-prompt`, :option:`--cli-rc-file`, :option:`--config-file`, :option:`--connection-timeout`, :option:`--debug`, :option:`--defaults-file`, :option:`--endpoint`, :option:`--generate-full-command-json-input`, :option:`--generate-param-json-input`, :option:`--help`, :option:`--latest-version`, :option:`--max-retries`, :option:`--no-retry`, :option:`--opc-client-request-id`, :option:`--opc-request-id`, :option:`--output`, :option:`--profile`, :option:`--proxy`, :option:`--query`, :option:`--raw-output`, :option:`--read-timeout`, :option:`--realm-specific-endpoint`, :option:`--region`, :option:`--release-info`, :option:`--request-id`, :option:`--version`, :option:`-?`, :option:`-d`, :option:`-h`, :option:`-i`, :option:`-v`



Example using required parameter
------------------

Copy the following CLI commands into a file named example.sh. Run the command by typing "bash example.sh" and replacing the example parameters with your own.

Please note this sample will only work in the POSIX-compliant bash-like shell. You need to set up `the OCI configuration  <https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/cliinstall.htm#configfile>`__ and `appropriate security policies  <https://docs.oracle.com/en-us/iaas/Content/Identity/Concepts/policygetstarted.htm>`__ before trying the examples.

.. code-block:: none
    :class: copy-code-block

    
	export bucket=<substitute-value-of-bucket> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/dts/job/create.html#cmdoption-bucket
	export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/dts/job/create.html#cmdoption-compartment-id
	export device_type=<substitute-value-of-device_type> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/dts/job/create.html#cmdoption-device-type
	export display_name=<substitute-value-of-display_name> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/dts/job/create.html#cmdoption-display-name
	export appliance_cert_fingerprint=<substitute-value-of-appliance_cert_fingerprint> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/dts/export/configure-physical-appliance.html#cmdoption-appliance-cert-fingerprint
	export appliance_ip=<substitute-value-of-appliance_ip> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/dts/export/configure-physical-appliance.html#cmdoption-appliance-ip
	export rw=<substitute-value-of-rw> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/dts/export/configure-physical-appliance.html#cmdoption-rw
	export world=<substitute-value-of-world> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/dts/export/configure-physical-appliance.html#cmdoption-world
	
	job_id=$(oci dts job create --bucket $bucket --compartment-id $compartment_id --device-type $device_type --display-name $display_name --query data.id --raw-output)
	
	oci dts export configure-physical-appliance --appliance-cert-fingerprint $appliance_cert_fingerprint --appliance-ip $appliance_ip --job-id $job_id --rw $rw --world $world



