# This is an automatically generated code sample.
# To make this code sample work in your Oracle Cloud tenancy,
# please replace the values for any parameters whose current values do not fit
# your use case (such as resource IDs, strings containing ‘EXAMPLE’ or ‘unique_id’, and
# boolean, number, and enum parameters with values not fitting your use case).

import oci

# Create a default config using DEFAULT profile in default location
# Refer to
# https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/sdkconfig.htm#SDK_and_CLI_Configuration_File
# for more info
config = oci.config.from_file()


# Initialize service client with default config file
vbs_inst_client = oci.vbs_inst.VbsInstanceClient(config)


# Send the request to service, some parameters are not required, see API
# doc for more info
create_vbs_instance_response = vbs_inst_client.create_vbs_instance(
    create_vbs_instance_details=oci.vbs_inst.models.CreateVbsInstanceDetails(
        compartment_id="ocid1.test.oc1..<unique_ID>EXAMPLE-compartmentId-Value",
        name="EXAMPLE-name-Value",
        display_name="EXAMPLE-displayName-Value",
        is_resource_usage_agreement_granted=True,
        resource_compartment_id="ocid1.test.oc1..<unique_ID>EXAMPLE-resourceCompartmentId-Value",
        freeform_tags={
            'EXAMPLE_KEY_Cg1ro': 'EXAMPLE_VALUE_3OcMDCktlp8GsUOx8yub'},
        defined_tags={
            'EXAMPLE_KEY_zDCDp': {
                'EXAMPLE_KEY_URMXa': 'EXAMPLE--Value'}}),
    idcs_access_token="EXAMPLE-idcsAccessToken-Value",
    opc_retry_token="EXAMPLE-opcRetryToken-Value",
    opc_request_id="KZ4ROVU1ZU0J3LBJSC7N<unique_ID>")

# Get the data from response
print(create_vbs_instance_response.headers)