# 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
ocvp_client = oci.ocvp.SddcClient(config)


# Send the request to service, some parameters are not required, see API
# doc for more info
create_sddc_response = ocvp_client.create_sddc(
    create_sddc_details=oci.ocvp.models.CreateSddcDetails(
        compute_availability_domain="EXAMPLE-computeAvailabilityDomain-Value",
        vmware_software_version="EXAMPLE-vmwareSoftwareVersion-Value",
        compartment_id="ocid1.test.oc1..<unique_ID>EXAMPLE-compartmentId-Value",
        esxi_hosts_count=954,
        ssh_authorized_keys="EXAMPLE-sshAuthorizedKeys-Value",
        provisioning_subnet_id="ocid1.test.oc1..<unique_ID>EXAMPLE-provisioningSubnetId-Value",
        vsphere_vlan_id="ocid1.test.oc1..<unique_ID>EXAMPLE-vsphereVlanId-Value",
        vmotion_vlan_id="ocid1.test.oc1..<unique_ID>EXAMPLE-vmotionVlanId-Value",
        vsan_vlan_id="ocid1.test.oc1..<unique_ID>EXAMPLE-vsanVlanId-Value",
        nsx_v_tep_vlan_id="ocid1.test.oc1..<unique_ID>EXAMPLE-nsxVTepVlanId-Value",
        nsx_edge_v_tep_vlan_id="ocid1.test.oc1..<unique_ID>EXAMPLE-nsxEdgeVTepVlanId-Value",
        nsx_edge_uplink1_vlan_id="ocid1.test.oc1..<unique_ID>EXAMPLE-nsxEdgeUplink1VlanId-Value",
        nsx_edge_uplink2_vlan_id="ocid1.test.oc1..<unique_ID>EXAMPLE-nsxEdgeUplink2VlanId-Value",
        display_name="EXAMPLE-displayName-Value",
        instance_display_name_prefix="EXAMPLE-instanceDisplayNamePrefix-Value",
        initial_sku="ONE_YEAR",
        is_hcx_enabled=False,
        hcx_vlan_id="ocid1.test.oc1..<unique_ID>EXAMPLE-hcxVlanId-Value",
        is_hcx_enterprise_enabled=True,
        workload_network_cidr="EXAMPLE-workloadNetworkCidr-Value",
        replication_vlan_id="ocid1.test.oc1..<unique_ID>EXAMPLE-replicationVlanId-Value",
        provisioning_vlan_id="ocid1.test.oc1..<unique_ID>EXAMPLE-provisioningVlanId-Value",
        freeform_tags={
            'EXAMPLE_KEY_jp632': 'EXAMPLE_VALUE_KHvymEFBFcSCtMgJk0Es'},
        defined_tags={
            'EXAMPLE_KEY_Y5VxJ': {
                'EXAMPLE_KEY_PAwTr': 'EXAMPLE--Value'}}),
    opc_retry_token="EXAMPLE-opcRetryToken-Value",
    opc_request_id="XGKLCXA8FUUJIWTIJVAT<unique_ID>")

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