Creating an Asset Source
Use a phrase or use values as tags to organize and track asset source tags within your tenancy.
You are redirected to the Asset source details page after the asset source is created successfully. Under Connections, you can view each connector to the source environment. These connectors are automatically instantiated using the discovery plugin in the external environment. The connectors change their state to active after they have verified their connection and credentials with the vCenter server.
You can now create a discovery work request. To create an asset source, use the
create
command.oci cloud-bridge discovery asset-source create --assets-compartment-id asset_compartment_ID --compartment-id target_compartment_ID --environment-id target_environment_ID --inventory-id assets_inventory_ID --type asset_source_type --discoveryCredentials credentials --vcenterEndpoint vcenterendpoint [OPTIONS]
create
command are:--assets-compartment-id
: Specifies the OCID of the compartment that is used to create assets.--compartment-id
: Specifies the OCID of the compartment for the resource.--environment-id
: Specifies the OCID of the environment.--inventory-id
: Specifies the OCID of the inventory that contains the created assets.--type
: Specifies the type of asset in the external environment. The accepted value isVMWARE
.--discovery-credentials
: Specifies the credentials information such as username and password of the vSphere login credentials. The value cannot be null.--vcenter-endpoint
: Specifies the path to the VMware vCenter SDK endpoint of the external environment. The value cannot be null.
To get all the commands for
discovery asset-source
, run:oci cloud-bridge discovery asset-source -h
To get help for the
create
command, run:oci cloud-bridge discovery asset-source create -h
For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
To create an asset source, use the
CreateAssetSource
operation.