published on Thursday, May 21, 2026 by Pulumi
published on Thursday, May 21, 2026 by Pulumi
This resource provides the Asset Source resource in Oracle Cloud Infrastructure Cloud Bridge service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/OCB/latest/AssetSource
Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/cloudBridge
Creates an asset source.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAssetSource = new oci.cloudbridge.AssetSource("test_asset_source", {
assetsCompartmentId: testCompartment.id,
compartmentId: compartmentId,
discoveryCredentials: {
secretId: testSecret.id,
type: assetSourceDiscoveryCredentialsType,
},
environmentId: testEnvironment.id,
inventoryId: testInventory.id,
type: assetSourceType,
areHistoricalMetricsCollected: assetSourceAreHistoricalMetricsCollected === "true",
areRealtimeMetricsCollected: assetSourceAreRealtimeMetricsCollected === "true",
awsAccountKey: assetSourceAwsAccountKey,
awsRegion: assetSourceAwsRegion,
definedTags: {
"Operations.CostCenter": "42",
},
discoveryScheduleId: testDiscoverySchedule.id,
displayName: assetSourceDisplayName,
environmentType: assetSourceEnvironmentType,
freeformTags: {
Department: "Finance",
},
isCostInformationCollected: assetSourceIsCostInformationCollected === "true",
olvmEndpoint: assetSourceOlvmEndpoint,
replicationCredentials: {
secretId: testSecret.id,
type: assetSourceReplicationCredentialsType,
},
systemTags: assetSourceSystemTags,
vcenterEndpoint: assetSourceVcenterEndpoint,
});
import pulumi
import pulumi_oci as oci
test_asset_source = oci.cloudbridge.AssetSource("test_asset_source",
assets_compartment_id=test_compartment["id"],
compartment_id=compartment_id,
discovery_credentials={
"secret_id": test_secret["id"],
"type": asset_source_discovery_credentials_type,
},
environment_id=test_environment["id"],
inventory_id=test_inventory["id"],
type=asset_source_type,
are_historical_metrics_collected=asset_source_are_historical_metrics_collected == "true",
are_realtime_metrics_collected=asset_source_are_realtime_metrics_collected == "true",
aws_account_key=asset_source_aws_account_key,
aws_region=asset_source_aws_region,
defined_tags={
"Operations.CostCenter": "42",
},
discovery_schedule_id=test_discovery_schedule["id"],
display_name=asset_source_display_name,
environment_type=asset_source_environment_type,
freeform_tags={
"Department": "Finance",
},
is_cost_information_collected=asset_source_is_cost_information_collected == "true",
olvm_endpoint=asset_source_olvm_endpoint,
replication_credentials={
"secret_id": test_secret["id"],
"type": asset_source_replication_credentials_type,
},
system_tags=asset_source_system_tags,
vcenter_endpoint=asset_source_vcenter_endpoint)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/cloudbridge"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudbridge.NewAssetSource(ctx, "test_asset_source", &cloudbridge.AssetSourceArgs{
AssetsCompartmentId: pulumi.Any(testCompartment.Id),
CompartmentId: pulumi.Any(compartmentId),
DiscoveryCredentials: &cloudbridge.AssetSourceDiscoveryCredentialsArgs{
SecretId: pulumi.Any(testSecret.Id),
Type: pulumi.Any(assetSourceDiscoveryCredentialsType),
},
EnvironmentId: pulumi.Any(testEnvironment.Id),
InventoryId: pulumi.Any(testInventory.Id),
Type: pulumi.Any(assetSourceType),
AreHistoricalMetricsCollected: pulumi.Any(assetSourceAreHistoricalMetricsCollected),
AreRealtimeMetricsCollected: pulumi.Any(assetSourceAreRealtimeMetricsCollected),
AwsAccountKey: pulumi.Any(assetSourceAwsAccountKey),
AwsRegion: pulumi.Any(assetSourceAwsRegion),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
DiscoveryScheduleId: pulumi.Any(testDiscoverySchedule.Id),
DisplayName: pulumi.Any(assetSourceDisplayName),
EnvironmentType: pulumi.Any(assetSourceEnvironmentType),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
IsCostInformationCollected: pulumi.Any(assetSourceIsCostInformationCollected),
OlvmEndpoint: pulumi.Any(assetSourceOlvmEndpoint),
ReplicationCredentials: &cloudbridge.AssetSourceReplicationCredentialsArgs{
SecretId: pulumi.Any(testSecret.Id),
Type: pulumi.Any(assetSourceReplicationCredentialsType),
},
SystemTags: pulumi.Any(assetSourceSystemTags),
VcenterEndpoint: pulumi.Any(assetSourceVcenterEndpoint),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testAssetSource = new Oci.CloudBridge.AssetSource("test_asset_source", new()
{
AssetsCompartmentId = testCompartment.Id,
CompartmentId = compartmentId,
DiscoveryCredentials = new Oci.CloudBridge.Inputs.AssetSourceDiscoveryCredentialsArgs
{
SecretId = testSecret.Id,
Type = assetSourceDiscoveryCredentialsType,
},
EnvironmentId = testEnvironment.Id,
InventoryId = testInventory.Id,
Type = assetSourceType,
AreHistoricalMetricsCollected = assetSourceAreHistoricalMetricsCollected,
AreRealtimeMetricsCollected = assetSourceAreRealtimeMetricsCollected,
AwsAccountKey = assetSourceAwsAccountKey,
AwsRegion = assetSourceAwsRegion,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
DiscoveryScheduleId = testDiscoverySchedule.Id,
DisplayName = assetSourceDisplayName,
EnvironmentType = assetSourceEnvironmentType,
FreeformTags =
{
{ "Department", "Finance" },
},
IsCostInformationCollected = assetSourceIsCostInformationCollected,
OlvmEndpoint = assetSourceOlvmEndpoint,
ReplicationCredentials = new Oci.CloudBridge.Inputs.AssetSourceReplicationCredentialsArgs
{
SecretId = testSecret.Id,
Type = assetSourceReplicationCredentialsType,
},
SystemTags = assetSourceSystemTags,
VcenterEndpoint = assetSourceVcenterEndpoint,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.CloudBridge.AssetSource;
import com.pulumi.oci.CloudBridge.AssetSourceArgs;
import com.pulumi.oci.CloudBridge.inputs.AssetSourceDiscoveryCredentialsArgs;
import com.pulumi.oci.CloudBridge.inputs.AssetSourceReplicationCredentialsArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testAssetSource = new AssetSource("testAssetSource", AssetSourceArgs.builder()
.assetsCompartmentId(testCompartment.id())
.compartmentId(compartmentId)
.discoveryCredentials(AssetSourceDiscoveryCredentialsArgs.builder()
.secretId(testSecret.id())
.type(assetSourceDiscoveryCredentialsType)
.build())
.environmentId(testEnvironment.id())
.inventoryId(testInventory.id())
.type(assetSourceType)
.areHistoricalMetricsCollected(assetSourceAreHistoricalMetricsCollected)
.areRealtimeMetricsCollected(assetSourceAreRealtimeMetricsCollected)
.awsAccountKey(assetSourceAwsAccountKey)
.awsRegion(assetSourceAwsRegion)
.definedTags(Map.of("Operations.CostCenter", "42"))
.discoveryScheduleId(testDiscoverySchedule.id())
.displayName(assetSourceDisplayName)
.environmentType(assetSourceEnvironmentType)
.freeformTags(Map.of("Department", "Finance"))
.isCostInformationCollected(assetSourceIsCostInformationCollected)
.olvmEndpoint(assetSourceOlvmEndpoint)
.replicationCredentials(AssetSourceReplicationCredentialsArgs.builder()
.secretId(testSecret.id())
.type(assetSourceReplicationCredentialsType)
.build())
.systemTags(assetSourceSystemTags)
.vcenterEndpoint(assetSourceVcenterEndpoint)
.build());
}
}
resources:
testAssetSource:
type: oci:CloudBridge:AssetSource
name: test_asset_source
properties:
assetsCompartmentId: ${testCompartment.id}
compartmentId: ${compartmentId}
discoveryCredentials:
secretId: ${testSecret.id}
type: ${assetSourceDiscoveryCredentialsType}
environmentId: ${testEnvironment.id}
inventoryId: ${testInventory.id}
type: ${assetSourceType}
areHistoricalMetricsCollected: ${assetSourceAreHistoricalMetricsCollected}
areRealtimeMetricsCollected: ${assetSourceAreRealtimeMetricsCollected}
awsAccountKey: ${assetSourceAwsAccountKey}
awsRegion: ${assetSourceAwsRegion}
definedTags:
Operations.CostCenter: '42'
discoveryScheduleId: ${testDiscoverySchedule.id}
displayName: ${assetSourceDisplayName}
environmentType: ${assetSourceEnvironmentType}
freeformTags:
Department: Finance
isCostInformationCollected: ${assetSourceIsCostInformationCollected}
olvmEndpoint: ${assetSourceOlvmEndpoint}
replicationCredentials:
secretId: ${testSecret.id}
type: ${assetSourceReplicationCredentialsType}
systemTags: ${assetSourceSystemTags}
vcenterEndpoint: ${assetSourceVcenterEndpoint}
Example coming soon!
Create AssetSource Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AssetSource(name: string, args: AssetSourceArgs, opts?: CustomResourceOptions);@overload
def AssetSource(resource_name: str,
args: AssetSourceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AssetSource(resource_name: str,
opts: Optional[ResourceOptions] = None,
environment_id: Optional[str] = None,
inventory_id: Optional[str] = None,
assets_compartment_id: Optional[str] = None,
type: Optional[str] = None,
discovery_credentials: Optional[AssetSourceDiscoveryCredentialsArgs] = None,
compartment_id: Optional[str] = None,
olvm_endpoint: Optional[str] = None,
aws_account_key: Optional[str] = None,
display_name: Optional[str] = None,
are_realtime_metrics_collected: Optional[bool] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
defined_tags: Optional[Mapping[str, str]] = None,
is_cost_information_collected: Optional[bool] = None,
discovery_schedule_id: Optional[str] = None,
aws_region: Optional[str] = None,
are_historical_metrics_collected: Optional[bool] = None,
replication_credentials: Optional[AssetSourceReplicationCredentialsArgs] = None,
system_tags: Optional[Mapping[str, str]] = None,
environment_type: Optional[str] = None,
vcenter_endpoint: Optional[str] = None)func NewAssetSource(ctx *Context, name string, args AssetSourceArgs, opts ...ResourceOption) (*AssetSource, error)public AssetSource(string name, AssetSourceArgs args, CustomResourceOptions? opts = null)
public AssetSource(String name, AssetSourceArgs args)
public AssetSource(String name, AssetSourceArgs args, CustomResourceOptions options)
type: oci:CloudBridge:AssetSource
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "oci_cloudbridge_assetsource" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args AssetSourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AssetSourceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AssetSourceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AssetSourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AssetSourceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var assetSourceResource = new Oci.CloudBridge.AssetSource("assetSourceResource", new()
{
EnvironmentId = "string",
InventoryId = "string",
AssetsCompartmentId = "string",
Type = "string",
DiscoveryCredentials = new Oci.CloudBridge.Inputs.AssetSourceDiscoveryCredentialsArgs
{
SecretId = "string",
Type = "string",
},
CompartmentId = "string",
OlvmEndpoint = "string",
AwsAccountKey = "string",
DisplayName = "string",
AreRealtimeMetricsCollected = false,
FreeformTags =
{
{ "string", "string" },
},
DefinedTags =
{
{ "string", "string" },
},
IsCostInformationCollected = false,
DiscoveryScheduleId = "string",
AwsRegion = "string",
AreHistoricalMetricsCollected = false,
ReplicationCredentials = new Oci.CloudBridge.Inputs.AssetSourceReplicationCredentialsArgs
{
SecretId = "string",
Type = "string",
},
SystemTags =
{
{ "string", "string" },
},
EnvironmentType = "string",
VcenterEndpoint = "string",
});
example, err := cloudbridge.NewAssetSource(ctx, "assetSourceResource", &cloudbridge.AssetSourceArgs{
EnvironmentId: pulumi.String("string"),
InventoryId: pulumi.String("string"),
AssetsCompartmentId: pulumi.String("string"),
Type: pulumi.String("string"),
DiscoveryCredentials: &cloudbridge.AssetSourceDiscoveryCredentialsArgs{
SecretId: pulumi.String("string"),
Type: pulumi.String("string"),
},
CompartmentId: pulumi.String("string"),
OlvmEndpoint: pulumi.String("string"),
AwsAccountKey: pulumi.String("string"),
DisplayName: pulumi.String("string"),
AreRealtimeMetricsCollected: pulumi.Bool(false),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
IsCostInformationCollected: pulumi.Bool(false),
DiscoveryScheduleId: pulumi.String("string"),
AwsRegion: pulumi.String("string"),
AreHistoricalMetricsCollected: pulumi.Bool(false),
ReplicationCredentials: &cloudbridge.AssetSourceReplicationCredentialsArgs{
SecretId: pulumi.String("string"),
Type: pulumi.String("string"),
},
SystemTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
EnvironmentType: pulumi.String("string"),
VcenterEndpoint: pulumi.String("string"),
})
resource "oci_cloudbridge_assetsource" "assetSourceResource" {
environment_id = "string"
inventory_id = "string"
assets_compartment_id = "string"
type = "string"
discovery_credentials = {
secret_id = "string"
type = "string"
}
compartment_id = "string"
olvm_endpoint = "string"
aws_account_key = "string"
display_name = "string"
are_realtime_metrics_collected = false
freeform_tags = {
"string" = "string"
}
defined_tags = {
"string" = "string"
}
is_cost_information_collected = false
discovery_schedule_id = "string"
aws_region = "string"
are_historical_metrics_collected = false
replication_credentials = {
secret_id = "string"
type = "string"
}
system_tags = {
"string" = "string"
}
environment_type = "string"
vcenter_endpoint = "string"
}
var assetSourceResource = new AssetSource("assetSourceResource", AssetSourceArgs.builder()
.environmentId("string")
.inventoryId("string")
.assetsCompartmentId("string")
.type("string")
.discoveryCredentials(AssetSourceDiscoveryCredentialsArgs.builder()
.secretId("string")
.type("string")
.build())
.compartmentId("string")
.olvmEndpoint("string")
.awsAccountKey("string")
.displayName("string")
.areRealtimeMetricsCollected(false)
.freeformTags(Map.of("string", "string"))
.definedTags(Map.of("string", "string"))
.isCostInformationCollected(false)
.discoveryScheduleId("string")
.awsRegion("string")
.areHistoricalMetricsCollected(false)
.replicationCredentials(AssetSourceReplicationCredentialsArgs.builder()
.secretId("string")
.type("string")
.build())
.systemTags(Map.of("string", "string"))
.environmentType("string")
.vcenterEndpoint("string")
.build());
asset_source_resource = oci.cloudbridge.AssetSource("assetSourceResource",
environment_id="string",
inventory_id="string",
assets_compartment_id="string",
type="string",
discovery_credentials={
"secret_id": "string",
"type": "string",
},
compartment_id="string",
olvm_endpoint="string",
aws_account_key="string",
display_name="string",
are_realtime_metrics_collected=False,
freeform_tags={
"string": "string",
},
defined_tags={
"string": "string",
},
is_cost_information_collected=False,
discovery_schedule_id="string",
aws_region="string",
are_historical_metrics_collected=False,
replication_credentials={
"secret_id": "string",
"type": "string",
},
system_tags={
"string": "string",
},
environment_type="string",
vcenter_endpoint="string")
const assetSourceResource = new oci.cloudbridge.AssetSource("assetSourceResource", {
environmentId: "string",
inventoryId: "string",
assetsCompartmentId: "string",
type: "string",
discoveryCredentials: {
secretId: "string",
type: "string",
},
compartmentId: "string",
olvmEndpoint: "string",
awsAccountKey: "string",
displayName: "string",
areRealtimeMetricsCollected: false,
freeformTags: {
string: "string",
},
definedTags: {
string: "string",
},
isCostInformationCollected: false,
discoveryScheduleId: "string",
awsRegion: "string",
areHistoricalMetricsCollected: false,
replicationCredentials: {
secretId: "string",
type: "string",
},
systemTags: {
string: "string",
},
environmentType: "string",
vcenterEndpoint: "string",
});
type: oci:CloudBridge:AssetSource
properties:
areHistoricalMetricsCollected: false
areRealtimeMetricsCollected: false
assetsCompartmentId: string
awsAccountKey: string
awsRegion: string
compartmentId: string
definedTags:
string: string
discoveryCredentials:
secretId: string
type: string
discoveryScheduleId: string
displayName: string
environmentId: string
environmentType: string
freeformTags:
string: string
inventoryId: string
isCostInformationCollected: false
olvmEndpoint: string
replicationCredentials:
secretId: string
type: string
systemTags:
string: string
type: string
vcenterEndpoint: string
AssetSource Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AssetSource resource accepts the following input properties:
- Assets
Compartment stringId - (Updatable) The OCID of the compartment that is going to be used to create assets.
- Compartment
Id string - (Updatable) The OCID of the compartment for the resource.
- Discovery
Credentials AssetSource Discovery Credentials - (Updatable) Credentials for an asset source.
- Environment
Id string - The OCID of the environment.
- Inventory
Id string - The OCID of the inventory that will contain created assets.
- Type string
- (Updatable) Asset source type.
- Are
Historical boolMetrics Collected - (Updatable) Flag indicating whether historical metrics are collected for assets, originating from this asset source.
- Are
Realtime boolMetrics Collected - (Updatable) Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
- Aws
Account stringKey - The key of customer's aws account to be discovered/migrated.
- Aws
Region string - AWS region information, from where the resources are discovered.
- Dictionary<string, string>
- (Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Discovery
Schedule stringId - (Updatable) The OCID of the discovery schedule that is going to be attached to the created asset.
- Display
Name string - (Updatable) A user-friendly name for the asset source. Does not have to be unique, and it's mutable. Avoid entering confidential information. The name is generated by the service if it is not explicitly provided.
- Environment
Type string - (Updatable) Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
- Dictionary<string, string>
- (Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Is
Cost boolInformation Collected - (Updatable) Flag indicating whether cost data collection is enabled for assets, originating from this asset source.
- Olvm
Endpoint string - (Updatable) Endpoint for OLVM asset discovery and replication in the form of
https://<host>:<port> - Replication
Credentials AssetSource Replication Credentials - (Updatable) Credentials for an asset source.
- Dictionary<string, string>
- (Updatable) The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}} - Vcenter
Endpoint string (Updatable) Endpoint for VMware asset discovery and replication in the form of
https://<host>:<port>/sdk** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Assets
Compartment stringId - (Updatable) The OCID of the compartment that is going to be used to create assets.
- Compartment
Id string - (Updatable) The OCID of the compartment for the resource.
- Discovery
Credentials AssetSource Discovery Credentials Args - (Updatable) Credentials for an asset source.
- Environment
Id string - The OCID of the environment.
- Inventory
Id string - The OCID of the inventory that will contain created assets.
- Type string
- (Updatable) Asset source type.
- Are
Historical boolMetrics Collected - (Updatable) Flag indicating whether historical metrics are collected for assets, originating from this asset source.
- Are
Realtime boolMetrics Collected - (Updatable) Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
- Aws
Account stringKey - The key of customer's aws account to be discovered/migrated.
- Aws
Region string - AWS region information, from where the resources are discovered.
- map[string]string
- (Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Discovery
Schedule stringId - (Updatable) The OCID of the discovery schedule that is going to be attached to the created asset.
- Display
Name string - (Updatable) A user-friendly name for the asset source. Does not have to be unique, and it's mutable. Avoid entering confidential information. The name is generated by the service if it is not explicitly provided.
- Environment
Type string - (Updatable) Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
- map[string]string
- (Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Is
Cost boolInformation Collected - (Updatable) Flag indicating whether cost data collection is enabled for assets, originating from this asset source.
- Olvm
Endpoint string - (Updatable) Endpoint for OLVM asset discovery and replication in the form of
https://<host>:<port> - Replication
Credentials AssetSource Replication Credentials Args - (Updatable) Credentials for an asset source.
- map[string]string
- (Updatable) The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}} - Vcenter
Endpoint string (Updatable) Endpoint for VMware asset discovery and replication in the form of
https://<host>:<port>/sdk** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- assets_
compartment_ stringid - (Updatable) The OCID of the compartment that is going to be used to create assets.
- compartment_
id string - (Updatable) The OCID of the compartment for the resource.
- discovery_
credentials object - (Updatable) Credentials for an asset source.
- environment_
id string - The OCID of the environment.
- inventory_
id string - The OCID of the inventory that will contain created assets.
- type string
- (Updatable) Asset source type.
- are_
historical_ boolmetrics_ collected - (Updatable) Flag indicating whether historical metrics are collected for assets, originating from this asset source.
- are_
realtime_ boolmetrics_ collected - (Updatable) Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
- aws_
account_ stringkey - The key of customer's aws account to be discovered/migrated.
- aws_
region string - AWS region information, from where the resources are discovered.
- map(string)
- (Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - discovery_
schedule_ stringid - (Updatable) The OCID of the discovery schedule that is going to be attached to the created asset.
- display_
name string - (Updatable) A user-friendly name for the asset source. Does not have to be unique, and it's mutable. Avoid entering confidential information. The name is generated by the service if it is not explicitly provided.
- environment_
type string - (Updatable) Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
- map(string)
- (Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example:
{"Department": "Finance"} - is_
cost_ boolinformation_ collected - (Updatable) Flag indicating whether cost data collection is enabled for assets, originating from this asset source.
- olvm_
endpoint string - (Updatable) Endpoint for OLVM asset discovery and replication in the form of
https://<host>:<port> - replication_
credentials object - (Updatable) Credentials for an asset source.
- map(string)
- (Updatable) The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}} - vcenter_
endpoint string (Updatable) Endpoint for VMware asset discovery and replication in the form of
https://<host>:<port>/sdk** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- assets
Compartment StringId - (Updatable) The OCID of the compartment that is going to be used to create assets.
- compartment
Id String - (Updatable) The OCID of the compartment for the resource.
- discovery
Credentials AssetSource Discovery Credentials - (Updatable) Credentials for an asset source.
- environment
Id String - The OCID of the environment.
- inventory
Id String - The OCID of the inventory that will contain created assets.
- type String
- (Updatable) Asset source type.
- are
Historical BooleanMetrics Collected - (Updatable) Flag indicating whether historical metrics are collected for assets, originating from this asset source.
- are
Realtime BooleanMetrics Collected - (Updatable) Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
- aws
Account StringKey - The key of customer's aws account to be discovered/migrated.
- aws
Region String - AWS region information, from where the resources are discovered.
- Map<String,String>
- (Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - discovery
Schedule StringId - (Updatable) The OCID of the discovery schedule that is going to be attached to the created asset.
- display
Name String - (Updatable) A user-friendly name for the asset source. Does not have to be unique, and it's mutable. Avoid entering confidential information. The name is generated by the service if it is not explicitly provided.
- environment
Type String - (Updatable) Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
- Map<String,String>
- (Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example:
{"Department": "Finance"} - is
Cost BooleanInformation Collected - (Updatable) Flag indicating whether cost data collection is enabled for assets, originating from this asset source.
- olvm
Endpoint String - (Updatable) Endpoint for OLVM asset discovery and replication in the form of
https://<host>:<port> - replication
Credentials AssetSource Replication Credentials - (Updatable) Credentials for an asset source.
- Map<String,String>
- (Updatable) The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}} - vcenter
Endpoint String (Updatable) Endpoint for VMware asset discovery and replication in the form of
https://<host>:<port>/sdk** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- assets
Compartment stringId - (Updatable) The OCID of the compartment that is going to be used to create assets.
- compartment
Id string - (Updatable) The OCID of the compartment for the resource.
- discovery
Credentials AssetSource Discovery Credentials - (Updatable) Credentials for an asset source.
- environment
Id string - The OCID of the environment.
- inventory
Id string - The OCID of the inventory that will contain created assets.
- type string
- (Updatable) Asset source type.
- are
Historical booleanMetrics Collected - (Updatable) Flag indicating whether historical metrics are collected for assets, originating from this asset source.
- are
Realtime booleanMetrics Collected - (Updatable) Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
- aws
Account stringKey - The key of customer's aws account to be discovered/migrated.
- aws
Region string - AWS region information, from where the resources are discovered.
- {[key: string]: string}
- (Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - discovery
Schedule stringId - (Updatable) The OCID of the discovery schedule that is going to be attached to the created asset.
- display
Name string - (Updatable) A user-friendly name for the asset source. Does not have to be unique, and it's mutable. Avoid entering confidential information. The name is generated by the service if it is not explicitly provided.
- environment
Type string - (Updatable) Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
- {[key: string]: string}
- (Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example:
{"Department": "Finance"} - is
Cost booleanInformation Collected - (Updatable) Flag indicating whether cost data collection is enabled for assets, originating from this asset source.
- olvm
Endpoint string - (Updatable) Endpoint for OLVM asset discovery and replication in the form of
https://<host>:<port> - replication
Credentials AssetSource Replication Credentials - (Updatable) Credentials for an asset source.
- {[key: string]: string}
- (Updatable) The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}} - vcenter
Endpoint string (Updatable) Endpoint for VMware asset discovery and replication in the form of
https://<host>:<port>/sdk** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- assets_
compartment_ strid - (Updatable) The OCID of the compartment that is going to be used to create assets.
- compartment_
id str - (Updatable) The OCID of the compartment for the resource.
- discovery_
credentials AssetSource Discovery Credentials Args - (Updatable) Credentials for an asset source.
- environment_
id str - The OCID of the environment.
- inventory_
id str - The OCID of the inventory that will contain created assets.
- type str
- (Updatable) Asset source type.
- are_
historical_ boolmetrics_ collected - (Updatable) Flag indicating whether historical metrics are collected for assets, originating from this asset source.
- are_
realtime_ boolmetrics_ collected - (Updatable) Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
- aws_
account_ strkey - The key of customer's aws account to be discovered/migrated.
- aws_
region str - AWS region information, from where the resources are discovered.
- Mapping[str, str]
- (Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - discovery_
schedule_ strid - (Updatable) The OCID of the discovery schedule that is going to be attached to the created asset.
- display_
name str - (Updatable) A user-friendly name for the asset source. Does not have to be unique, and it's mutable. Avoid entering confidential information. The name is generated by the service if it is not explicitly provided.
- environment_
type str - (Updatable) Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
- Mapping[str, str]
- (Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example:
{"Department": "Finance"} - is_
cost_ boolinformation_ collected - (Updatable) Flag indicating whether cost data collection is enabled for assets, originating from this asset source.
- olvm_
endpoint str - (Updatable) Endpoint for OLVM asset discovery and replication in the form of
https://<host>:<port> - replication_
credentials AssetSource Replication Credentials Args - (Updatable) Credentials for an asset source.
- Mapping[str, str]
- (Updatable) The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}} - vcenter_
endpoint str (Updatable) Endpoint for VMware asset discovery and replication in the form of
https://<host>:<port>/sdk** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- assets
Compartment StringId - (Updatable) The OCID of the compartment that is going to be used to create assets.
- compartment
Id String - (Updatable) The OCID of the compartment for the resource.
- discovery
Credentials Property Map - (Updatable) Credentials for an asset source.
- environment
Id String - The OCID of the environment.
- inventory
Id String - The OCID of the inventory that will contain created assets.
- type String
- (Updatable) Asset source type.
- are
Historical BooleanMetrics Collected - (Updatable) Flag indicating whether historical metrics are collected for assets, originating from this asset source.
- are
Realtime BooleanMetrics Collected - (Updatable) Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
- aws
Account StringKey - The key of customer's aws account to be discovered/migrated.
- aws
Region String - AWS region information, from where the resources are discovered.
- Map<String>
- (Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - discovery
Schedule StringId - (Updatable) The OCID of the discovery schedule that is going to be attached to the created asset.
- display
Name String - (Updatable) A user-friendly name for the asset source. Does not have to be unique, and it's mutable. Avoid entering confidential information. The name is generated by the service if it is not explicitly provided.
- environment
Type String - (Updatable) Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
- Map<String>
- (Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example:
{"Department": "Finance"} - is
Cost BooleanInformation Collected - (Updatable) Flag indicating whether cost data collection is enabled for assets, originating from this asset source.
- olvm
Endpoint String - (Updatable) Endpoint for OLVM asset discovery and replication in the form of
https://<host>:<port> - replication
Credentials Property Map - (Updatable) Credentials for an asset source.
- Map<String>
- (Updatable) The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}} - vcenter
Endpoint String (Updatable) Endpoint for VMware asset discovery and replication in the form of
https://<host>:<port>/sdk** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Outputs
All input properties are implicitly available as output properties. Additionally, the AssetSource resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - The detailed state of the asset source.
- State string
- The current state of the asset source.
- Time
Created string - The time when the asset source was created in the RFC3339 format.
- Time
Updated string - The point in time that the asset source was last updated in the RFC3339 format.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - The detailed state of the asset source.
- State string
- The current state of the asset source.
- Time
Created string - The time when the asset source was created in the RFC3339 format.
- Time
Updated string - The point in time that the asset source was last updated in the RFC3339 format.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details string - The detailed state of the asset source.
- state string
- The current state of the asset source.
- time_
created string - The time when the asset source was created in the RFC3339 format.
- time_
updated string - The point in time that the asset source was last updated in the RFC3339 format.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - The detailed state of the asset source.
- state String
- The current state of the asset source.
- time
Created String - The time when the asset source was created in the RFC3339 format.
- time
Updated String - The point in time that the asset source was last updated in the RFC3339 format.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - The detailed state of the asset source.
- state string
- The current state of the asset source.
- time
Created string - The time when the asset source was created in the RFC3339 format.
- time
Updated string - The point in time that the asset source was last updated in the RFC3339 format.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details str - The detailed state of the asset source.
- state str
- The current state of the asset source.
- time_
created str - The time when the asset source was created in the RFC3339 format.
- time_
updated str - The point in time that the asset source was last updated in the RFC3339 format.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - The detailed state of the asset source.
- state String
- The current state of the asset source.
- time
Created String - The time when the asset source was created in the RFC3339 format.
- time
Updated String - The point in time that the asset source was last updated in the RFC3339 format.
Look up Existing AssetSource Resource
Get an existing AssetSource resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AssetSourceState, opts?: CustomResourceOptions): AssetSource@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
are_historical_metrics_collected: Optional[bool] = None,
are_realtime_metrics_collected: Optional[bool] = None,
assets_compartment_id: Optional[str] = None,
aws_account_key: Optional[str] = None,
aws_region: Optional[str] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
discovery_credentials: Optional[AssetSourceDiscoveryCredentialsArgs] = None,
discovery_schedule_id: Optional[str] = None,
display_name: Optional[str] = None,
environment_id: Optional[str] = None,
environment_type: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
inventory_id: Optional[str] = None,
is_cost_information_collected: Optional[bool] = None,
lifecycle_details: Optional[str] = None,
olvm_endpoint: Optional[str] = None,
replication_credentials: Optional[AssetSourceReplicationCredentialsArgs] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None,
type: Optional[str] = None,
vcenter_endpoint: Optional[str] = None) -> AssetSourcefunc GetAssetSource(ctx *Context, name string, id IDInput, state *AssetSourceState, opts ...ResourceOption) (*AssetSource, error)public static AssetSource Get(string name, Input<string> id, AssetSourceState? state, CustomResourceOptions? opts = null)public static AssetSource get(String name, Output<String> id, AssetSourceState state, CustomResourceOptions options)resources: _: type: oci:CloudBridge:AssetSource get: id: ${id}import {
to = oci_cloudbridge_assetsource.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Are
Historical boolMetrics Collected - (Updatable) Flag indicating whether historical metrics are collected for assets, originating from this asset source.
- Are
Realtime boolMetrics Collected - (Updatable) Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
- Assets
Compartment stringId - (Updatable) The OCID of the compartment that is going to be used to create assets.
- Aws
Account stringKey - The key of customer's aws account to be discovered/migrated.
- Aws
Region string - AWS region information, from where the resources are discovered.
- Compartment
Id string - (Updatable) The OCID of the compartment for the resource.
- Dictionary<string, string>
- (Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Discovery
Credentials AssetSource Discovery Credentials - (Updatable) Credentials for an asset source.
- Discovery
Schedule stringId - (Updatable) The OCID of the discovery schedule that is going to be attached to the created asset.
- Display
Name string - (Updatable) A user-friendly name for the asset source. Does not have to be unique, and it's mutable. Avoid entering confidential information. The name is generated by the service if it is not explicitly provided.
- Environment
Id string - The OCID of the environment.
- Environment
Type string - (Updatable) Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
- Dictionary<string, string>
- (Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Inventory
Id string - The OCID of the inventory that will contain created assets.
- Is
Cost boolInformation Collected - (Updatable) Flag indicating whether cost data collection is enabled for assets, originating from this asset source.
- Lifecycle
Details string - The detailed state of the asset source.
- Olvm
Endpoint string - (Updatable) Endpoint for OLVM asset discovery and replication in the form of
https://<host>:<port> - Replication
Credentials AssetSource Replication Credentials - (Updatable) Credentials for an asset source.
- State string
- The current state of the asset source.
- Dictionary<string, string>
- (Updatable) The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}} - Time
Created string - The time when the asset source was created in the RFC3339 format.
- Time
Updated string - The point in time that the asset source was last updated in the RFC3339 format.
- Type string
- (Updatable) Asset source type.
- Vcenter
Endpoint string (Updatable) Endpoint for VMware asset discovery and replication in the form of
https://<host>:<port>/sdk** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Are
Historical boolMetrics Collected - (Updatable) Flag indicating whether historical metrics are collected for assets, originating from this asset source.
- Are
Realtime boolMetrics Collected - (Updatable) Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
- Assets
Compartment stringId - (Updatable) The OCID of the compartment that is going to be used to create assets.
- Aws
Account stringKey - The key of customer's aws account to be discovered/migrated.
- Aws
Region string - AWS region information, from where the resources are discovered.
- Compartment
Id string - (Updatable) The OCID of the compartment for the resource.
- map[string]string
- (Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Discovery
Credentials AssetSource Discovery Credentials Args - (Updatable) Credentials for an asset source.
- Discovery
Schedule stringId - (Updatable) The OCID of the discovery schedule that is going to be attached to the created asset.
- Display
Name string - (Updatable) A user-friendly name for the asset source. Does not have to be unique, and it's mutable. Avoid entering confidential information. The name is generated by the service if it is not explicitly provided.
- Environment
Id string - The OCID of the environment.
- Environment
Type string - (Updatable) Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
- map[string]string
- (Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Inventory
Id string - The OCID of the inventory that will contain created assets.
- Is
Cost boolInformation Collected - (Updatable) Flag indicating whether cost data collection is enabled for assets, originating from this asset source.
- Lifecycle
Details string - The detailed state of the asset source.
- Olvm
Endpoint string - (Updatable) Endpoint for OLVM asset discovery and replication in the form of
https://<host>:<port> - Replication
Credentials AssetSource Replication Credentials Args - (Updatable) Credentials for an asset source.
- State string
- The current state of the asset source.
- map[string]string
- (Updatable) The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}} - Time
Created string - The time when the asset source was created in the RFC3339 format.
- Time
Updated string - The point in time that the asset source was last updated in the RFC3339 format.
- Type string
- (Updatable) Asset source type.
- Vcenter
Endpoint string (Updatable) Endpoint for VMware asset discovery and replication in the form of
https://<host>:<port>/sdk** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- are_
historical_ boolmetrics_ collected - (Updatable) Flag indicating whether historical metrics are collected for assets, originating from this asset source.
- are_
realtime_ boolmetrics_ collected - (Updatable) Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
- assets_
compartment_ stringid - (Updatable) The OCID of the compartment that is going to be used to create assets.
- aws_
account_ stringkey - The key of customer's aws account to be discovered/migrated.
- aws_
region string - AWS region information, from where the resources are discovered.
- compartment_
id string - (Updatable) The OCID of the compartment for the resource.
- map(string)
- (Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - discovery_
credentials object - (Updatable) Credentials for an asset source.
- discovery_
schedule_ stringid - (Updatable) The OCID of the discovery schedule that is going to be attached to the created asset.
- display_
name string - (Updatable) A user-friendly name for the asset source. Does not have to be unique, and it's mutable. Avoid entering confidential information. The name is generated by the service if it is not explicitly provided.
- environment_
id string - The OCID of the environment.
- environment_
type string - (Updatable) Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
- map(string)
- (Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example:
{"Department": "Finance"} - inventory_
id string - The OCID of the inventory that will contain created assets.
- is_
cost_ boolinformation_ collected - (Updatable) Flag indicating whether cost data collection is enabled for assets, originating from this asset source.
- lifecycle_
details string - The detailed state of the asset source.
- olvm_
endpoint string - (Updatable) Endpoint for OLVM asset discovery and replication in the form of
https://<host>:<port> - replication_
credentials object - (Updatable) Credentials for an asset source.
- state string
- The current state of the asset source.
- map(string)
- (Updatable) The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}} - time_
created string - The time when the asset source was created in the RFC3339 format.
- time_
updated string - The point in time that the asset source was last updated in the RFC3339 format.
- type string
- (Updatable) Asset source type.
- vcenter_
endpoint string (Updatable) Endpoint for VMware asset discovery and replication in the form of
https://<host>:<port>/sdk** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- are
Historical BooleanMetrics Collected - (Updatable) Flag indicating whether historical metrics are collected for assets, originating from this asset source.
- are
Realtime BooleanMetrics Collected - (Updatable) Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
- assets
Compartment StringId - (Updatable) The OCID of the compartment that is going to be used to create assets.
- aws
Account StringKey - The key of customer's aws account to be discovered/migrated.
- aws
Region String - AWS region information, from where the resources are discovered.
- compartment
Id String - (Updatable) The OCID of the compartment for the resource.
- Map<String,String>
- (Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - discovery
Credentials AssetSource Discovery Credentials - (Updatable) Credentials for an asset source.
- discovery
Schedule StringId - (Updatable) The OCID of the discovery schedule that is going to be attached to the created asset.
- display
Name String - (Updatable) A user-friendly name for the asset source. Does not have to be unique, and it's mutable. Avoid entering confidential information. The name is generated by the service if it is not explicitly provided.
- environment
Id String - The OCID of the environment.
- environment
Type String - (Updatable) Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
- Map<String,String>
- (Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example:
{"Department": "Finance"} - inventory
Id String - The OCID of the inventory that will contain created assets.
- is
Cost BooleanInformation Collected - (Updatable) Flag indicating whether cost data collection is enabled for assets, originating from this asset source.
- lifecycle
Details String - The detailed state of the asset source.
- olvm
Endpoint String - (Updatable) Endpoint for OLVM asset discovery and replication in the form of
https://<host>:<port> - replication
Credentials AssetSource Replication Credentials - (Updatable) Credentials for an asset source.
- state String
- The current state of the asset source.
- Map<String,String>
- (Updatable) The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}} - time
Created String - The time when the asset source was created in the RFC3339 format.
- time
Updated String - The point in time that the asset source was last updated in the RFC3339 format.
- type String
- (Updatable) Asset source type.
- vcenter
Endpoint String (Updatable) Endpoint for VMware asset discovery and replication in the form of
https://<host>:<port>/sdk** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- are
Historical booleanMetrics Collected - (Updatable) Flag indicating whether historical metrics are collected for assets, originating from this asset source.
- are
Realtime booleanMetrics Collected - (Updatable) Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
- assets
Compartment stringId - (Updatable) The OCID of the compartment that is going to be used to create assets.
- aws
Account stringKey - The key of customer's aws account to be discovered/migrated.
- aws
Region string - AWS region information, from where the resources are discovered.
- compartment
Id string - (Updatable) The OCID of the compartment for the resource.
- {[key: string]: string}
- (Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - discovery
Credentials AssetSource Discovery Credentials - (Updatable) Credentials for an asset source.
- discovery
Schedule stringId - (Updatable) The OCID of the discovery schedule that is going to be attached to the created asset.
- display
Name string - (Updatable) A user-friendly name for the asset source. Does not have to be unique, and it's mutable. Avoid entering confidential information. The name is generated by the service if it is not explicitly provided.
- environment
Id string - The OCID of the environment.
- environment
Type string - (Updatable) Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
- {[key: string]: string}
- (Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example:
{"Department": "Finance"} - inventory
Id string - The OCID of the inventory that will contain created assets.
- is
Cost booleanInformation Collected - (Updatable) Flag indicating whether cost data collection is enabled for assets, originating from this asset source.
- lifecycle
Details string - The detailed state of the asset source.
- olvm
Endpoint string - (Updatable) Endpoint for OLVM asset discovery and replication in the form of
https://<host>:<port> - replication
Credentials AssetSource Replication Credentials - (Updatable) Credentials for an asset source.
- state string
- The current state of the asset source.
- {[key: string]: string}
- (Updatable) The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}} - time
Created string - The time when the asset source was created in the RFC3339 format.
- time
Updated string - The point in time that the asset source was last updated in the RFC3339 format.
- type string
- (Updatable) Asset source type.
- vcenter
Endpoint string (Updatable) Endpoint for VMware asset discovery and replication in the form of
https://<host>:<port>/sdk** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- are_
historical_ boolmetrics_ collected - (Updatable) Flag indicating whether historical metrics are collected for assets, originating from this asset source.
- are_
realtime_ boolmetrics_ collected - (Updatable) Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
- assets_
compartment_ strid - (Updatable) The OCID of the compartment that is going to be used to create assets.
- aws_
account_ strkey - The key of customer's aws account to be discovered/migrated.
- aws_
region str - AWS region information, from where the resources are discovered.
- compartment_
id str - (Updatable) The OCID of the compartment for the resource.
- Mapping[str, str]
- (Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - discovery_
credentials AssetSource Discovery Credentials Args - (Updatable) Credentials for an asset source.
- discovery_
schedule_ strid - (Updatable) The OCID of the discovery schedule that is going to be attached to the created asset.
- display_
name str - (Updatable) A user-friendly name for the asset source. Does not have to be unique, and it's mutable. Avoid entering confidential information. The name is generated by the service if it is not explicitly provided.
- environment_
id str - The OCID of the environment.
- environment_
type str - (Updatable) Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
- Mapping[str, str]
- (Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example:
{"Department": "Finance"} - inventory_
id str - The OCID of the inventory that will contain created assets.
- is_
cost_ boolinformation_ collected - (Updatable) Flag indicating whether cost data collection is enabled for assets, originating from this asset source.
- lifecycle_
details str - The detailed state of the asset source.
- olvm_
endpoint str - (Updatable) Endpoint for OLVM asset discovery and replication in the form of
https://<host>:<port> - replication_
credentials AssetSource Replication Credentials Args - (Updatable) Credentials for an asset source.
- state str
- The current state of the asset source.
- Mapping[str, str]
- (Updatable) The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}} - time_
created str - The time when the asset source was created in the RFC3339 format.
- time_
updated str - The point in time that the asset source was last updated in the RFC3339 format.
- type str
- (Updatable) Asset source type.
- vcenter_
endpoint str (Updatable) Endpoint for VMware asset discovery and replication in the form of
https://<host>:<port>/sdk** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- are
Historical BooleanMetrics Collected - (Updatable) Flag indicating whether historical metrics are collected for assets, originating from this asset source.
- are
Realtime BooleanMetrics Collected - (Updatable) Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
- assets
Compartment StringId - (Updatable) The OCID of the compartment that is going to be used to create assets.
- aws
Account StringKey - The key of customer's aws account to be discovered/migrated.
- aws
Region String - AWS region information, from where the resources are discovered.
- compartment
Id String - (Updatable) The OCID of the compartment for the resource.
- Map<String>
- (Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - discovery
Credentials Property Map - (Updatable) Credentials for an asset source.
- discovery
Schedule StringId - (Updatable) The OCID of the discovery schedule that is going to be attached to the created asset.
- display
Name String - (Updatable) A user-friendly name for the asset source. Does not have to be unique, and it's mutable. Avoid entering confidential information. The name is generated by the service if it is not explicitly provided.
- environment
Id String - The OCID of the environment.
- environment
Type String - (Updatable) Specifies if this is the Source or Destination point for migration - different assets may be discovered depending on setting.
- Map<String>
- (Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example:
{"Department": "Finance"} - inventory
Id String - The OCID of the inventory that will contain created assets.
- is
Cost BooleanInformation Collected - (Updatable) Flag indicating whether cost data collection is enabled for assets, originating from this asset source.
- lifecycle
Details String - The detailed state of the asset source.
- olvm
Endpoint String - (Updatable) Endpoint for OLVM asset discovery and replication in the form of
https://<host>:<port> - replication
Credentials Property Map - (Updatable) Credentials for an asset source.
- state String
- The current state of the asset source.
- Map<String>
- (Updatable) The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{orcl-cloud: {free-tier-retain: true}} - time
Created String - The time when the asset source was created in the RFC3339 format.
- time
Updated String - The point in time that the asset source was last updated in the RFC3339 format.
- type String
- (Updatable) Asset source type.
- vcenter
Endpoint String (Updatable) Endpoint for VMware asset discovery and replication in the form of
https://<host>:<port>/sdk** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Supporting Types
AssetSourceDiscoveryCredentials, AssetSourceDiscoveryCredentialsArgs
- Secret
Id string - (Updatable) The OCID of the secret in a vault. If the type of the credentials is
BASIC, the secret must contain the username and password in JSON format, which is in the form of{ "username": "<User>", "password": "example-password" }. If the type of the credentials isAPI_KEY, the secret must contain the accessKeyId and secretAccessKey in JSON format, which is in the form of{ "accessKeyId": "<AccessKey>", "secretAccessKey": "<AccessKeyValue>" }. - Type string
- (Updatable) Authentication type
- Secret
Id string - (Updatable) The OCID of the secret in a vault. If the type of the credentials is
BASIC, the secret must contain the username and password in JSON format, which is in the form of{ "username": "<User>", "password": "example-password" }. If the type of the credentials isAPI_KEY, the secret must contain the accessKeyId and secretAccessKey in JSON format, which is in the form of{ "accessKeyId": "<AccessKey>", "secretAccessKey": "<AccessKeyValue>" }. - Type string
- (Updatable) Authentication type
- secret_
id string - (Updatable) The OCID of the secret in a vault. If the type of the credentials is
BASIC, the secret must contain the username and password in JSON format, which is in the form of{ "username": "<User>", "password": "example-password" }. If the type of the credentials isAPI_KEY, the secret must contain the accessKeyId and secretAccessKey in JSON format, which is in the form of{ "accessKeyId": "<AccessKey>", "secretAccessKey": "<AccessKeyValue>" }. - type string
- (Updatable) Authentication type
- secret
Id String - (Updatable) The OCID of the secret in a vault. If the type of the credentials is
BASIC, the secret must contain the username and password in JSON format, which is in the form of{ "username": "<User>", "password": "example-password" }. If the type of the credentials isAPI_KEY, the secret must contain the accessKeyId and secretAccessKey in JSON format, which is in the form of{ "accessKeyId": "<AccessKey>", "secretAccessKey": "<AccessKeyValue>" }. - type String
- (Updatable) Authentication type
- secret
Id string - (Updatable) The OCID of the secret in a vault. If the type of the credentials is
BASIC, the secret must contain the username and password in JSON format, which is in the form of{ "username": "<User>", "password": "example-password" }. If the type of the credentials isAPI_KEY, the secret must contain the accessKeyId and secretAccessKey in JSON format, which is in the form of{ "accessKeyId": "<AccessKey>", "secretAccessKey": "<AccessKeyValue>" }. - type string
- (Updatable) Authentication type
- secret_
id str - (Updatable) The OCID of the secret in a vault. If the type of the credentials is
BASIC, the secret must contain the username and password in JSON format, which is in the form of{ "username": "<User>", "password": "example-password" }. If the type of the credentials isAPI_KEY, the secret must contain the accessKeyId and secretAccessKey in JSON format, which is in the form of{ "accessKeyId": "<AccessKey>", "secretAccessKey": "<AccessKeyValue>" }. - type str
- (Updatable) Authentication type
- secret
Id String - (Updatable) The OCID of the secret in a vault. If the type of the credentials is
BASIC, the secret must contain the username and password in JSON format, which is in the form of{ "username": "<User>", "password": "example-password" }. If the type of the credentials isAPI_KEY, the secret must contain the accessKeyId and secretAccessKey in JSON format, which is in the form of{ "accessKeyId": "<AccessKey>", "secretAccessKey": "<AccessKeyValue>" }. - type String
- (Updatable) Authentication type
AssetSourceReplicationCredentials, AssetSourceReplicationCredentialsArgs
- Secret
Id string - (Updatable) The OCID of the secret in a vault. If the type of the credentials is
BASIC, the secret must contain the username and password in JSON format, which is in the form of{ "username": "<User>", "password": "example-password" }. If the type of the credentials isAPI_KEY, the secret must contain the accessKeyId and secretAccessKey in JSON format, which is in the form of{ "accessKeyId": "<AccessKey>", "secretAccessKey": "<AccessKeyValue>" }. - Type string
- (Updatable) Authentication type
- Secret
Id string - (Updatable) The OCID of the secret in a vault. If the type of the credentials is
BASIC, the secret must contain the username and password in JSON format, which is in the form of{ "username": "<User>", "password": "example-password" }. If the type of the credentials isAPI_KEY, the secret must contain the accessKeyId and secretAccessKey in JSON format, which is in the form of{ "accessKeyId": "<AccessKey>", "secretAccessKey": "<AccessKeyValue>" }. - Type string
- (Updatable) Authentication type
- secret_
id string - (Updatable) The OCID of the secret in a vault. If the type of the credentials is
BASIC, the secret must contain the username and password in JSON format, which is in the form of{ "username": "<User>", "password": "example-password" }. If the type of the credentials isAPI_KEY, the secret must contain the accessKeyId and secretAccessKey in JSON format, which is in the form of{ "accessKeyId": "<AccessKey>", "secretAccessKey": "<AccessKeyValue>" }. - type string
- (Updatable) Authentication type
- secret
Id String - (Updatable) The OCID of the secret in a vault. If the type of the credentials is
BASIC, the secret must contain the username and password in JSON format, which is in the form of{ "username": "<User>", "password": "example-password" }. If the type of the credentials isAPI_KEY, the secret must contain the accessKeyId and secretAccessKey in JSON format, which is in the form of{ "accessKeyId": "<AccessKey>", "secretAccessKey": "<AccessKeyValue>" }. - type String
- (Updatable) Authentication type
- secret
Id string - (Updatable) The OCID of the secret in a vault. If the type of the credentials is
BASIC, the secret must contain the username and password in JSON format, which is in the form of{ "username": "<User>", "password": "example-password" }. If the type of the credentials isAPI_KEY, the secret must contain the accessKeyId and secretAccessKey in JSON format, which is in the form of{ "accessKeyId": "<AccessKey>", "secretAccessKey": "<AccessKeyValue>" }. - type string
- (Updatable) Authentication type
- secret_
id str - (Updatable) The OCID of the secret in a vault. If the type of the credentials is
BASIC, the secret must contain the username and password in JSON format, which is in the form of{ "username": "<User>", "password": "example-password" }. If the type of the credentials isAPI_KEY, the secret must contain the accessKeyId and secretAccessKey in JSON format, which is in the form of{ "accessKeyId": "<AccessKey>", "secretAccessKey": "<AccessKeyValue>" }. - type str
- (Updatable) Authentication type
- secret
Id String - (Updatable) The OCID of the secret in a vault. If the type of the credentials is
BASIC, the secret must contain the username and password in JSON format, which is in the form of{ "username": "<User>", "password": "example-password" }. If the type of the credentials isAPI_KEY, the secret must contain the accessKeyId and secretAccessKey in JSON format, which is in the form of{ "accessKeyId": "<AccessKey>", "secretAccessKey": "<AccessKeyValue>" }. - type String
- (Updatable) Authentication type
Import
AssetSources can be imported using the id, e.g.
$ pulumi import oci:CloudBridge/assetSource:AssetSource test_asset_source "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
published on Thursday, May 21, 2026 by Pulumi
