1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. CloudBridge
  5. AssetSource
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.CloudBridge.AssetSource

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

    This resource provides the Asset Source resource in Oracle Cloud Infrastructure Cloud Bridge service.

    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,
        vcenterEndpoint: assetSourceVcenterEndpoint,
        areHistoricalMetricsCollected: assetSourceAreHistoricalMetricsCollected,
        areRealtimeMetricsCollected: assetSourceAreRealtimeMetricsCollected,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        discoveryScheduleId: testDiscoverySchedule.id,
        displayName: assetSourceDisplayName,
        freeformTags: {
            Department: "Finance",
        },
        replicationCredentials: {
            secretId: testSecret.id,
            type: assetSourceReplicationCredentialsType,
        },
        systemTags: assetSourceSystemTags,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_asset_source = oci.cloud_bridge.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,
        vcenter_endpoint=asset_source_vcenter_endpoint,
        are_historical_metrics_collected=asset_source_are_historical_metrics_collected,
        are_realtime_metrics_collected=asset_source_are_realtime_metrics_collected,
        defined_tags={
            "Operations.CostCenter": "42",
        },
        discovery_schedule_id=test_discovery_schedule["id"],
        display_name=asset_source_display_name,
        freeform_tags={
            "Department": "Finance",
        },
        replication_credentials={
            "secret_id": test_secret["id"],
            "type": asset_source_replication_credentials_type,
        },
        system_tags=asset_source_system_tags)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/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),
    			VcenterEndpoint:               pulumi.Any(assetSourceVcenterEndpoint),
    			AreHistoricalMetricsCollected: pulumi.Any(assetSourceAreHistoricalMetricsCollected),
    			AreRealtimeMetricsCollected:   pulumi.Any(assetSourceAreRealtimeMetricsCollected),
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			DiscoveryScheduleId: pulumi.Any(testDiscoverySchedule.Id),
    			DisplayName:         pulumi.Any(assetSourceDisplayName),
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("Finance"),
    			},
    			ReplicationCredentials: &cloudbridge.AssetSourceReplicationCredentialsArgs{
    				SecretId: pulumi.Any(testSecret.Id),
    				Type:     pulumi.Any(assetSourceReplicationCredentialsType),
    			},
    			SystemTags: pulumi.Any(assetSourceSystemTags),
    		})
    		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,
            VcenterEndpoint = assetSourceVcenterEndpoint,
            AreHistoricalMetricsCollected = assetSourceAreHistoricalMetricsCollected,
            AreRealtimeMetricsCollected = assetSourceAreRealtimeMetricsCollected,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            DiscoveryScheduleId = testDiscoverySchedule.Id,
            DisplayName = assetSourceDisplayName,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            ReplicationCredentials = new Oci.CloudBridge.Inputs.AssetSourceReplicationCredentialsArgs
            {
                SecretId = testSecret.Id,
                Type = assetSourceReplicationCredentialsType,
            },
            SystemTags = assetSourceSystemTags,
        });
    
    });
    
    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.List;
    import java.util.ArrayList;
    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)
                .vcenterEndpoint(assetSourceVcenterEndpoint)
                .areHistoricalMetricsCollected(assetSourceAreHistoricalMetricsCollected)
                .areRealtimeMetricsCollected(assetSourceAreRealtimeMetricsCollected)
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .discoveryScheduleId(testDiscoverySchedule.id())
                .displayName(assetSourceDisplayName)
                .freeformTags(Map.of("Department", "Finance"))
                .replicationCredentials(AssetSourceReplicationCredentialsArgs.builder()
                    .secretId(testSecret.id())
                    .type(assetSourceReplicationCredentialsType)
                    .build())
                .systemTags(assetSourceSystemTags)
                .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}
          vcenterEndpoint: ${assetSourceVcenterEndpoint}
          areHistoricalMetricsCollected: ${assetSourceAreHistoricalMetricsCollected}
          areRealtimeMetricsCollected: ${assetSourceAreRealtimeMetricsCollected}
          definedTags:
            Operations.CostCenter: '42'
          discoveryScheduleId: ${testDiscoverySchedule.id}
          displayName: ${assetSourceDisplayName}
          freeformTags:
            Department: Finance
          replicationCredentials:
            secretId: ${testSecret.id}
            type: ${assetSourceReplicationCredentialsType}
          systemTags: ${assetSourceSystemTags}
    

    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,
                    vcenter_endpoint: Optional[str] = None,
                    assets_compartment_id: Optional[str] = None,
                    compartment_id: Optional[str] = None,
                    type: Optional[str] = None,
                    discovery_credentials: Optional[_cloudbridge.AssetSourceDiscoveryCredentialsArgs] = None,
                    inventory_id: Optional[str] = None,
                    discovery_schedule_id: Optional[str] = None,
                    display_name: Optional[str] = None,
                    freeform_tags: Optional[Mapping[str, str]] = None,
                    are_historical_metrics_collected: Optional[bool] = None,
                    replication_credentials: Optional[_cloudbridge.AssetSourceReplicationCredentialsArgs] = None,
                    system_tags: Optional[Mapping[str, str]] = None,
                    defined_tags: Optional[Mapping[str, str]] = None,
                    are_realtime_metrics_collected: Optional[bool] = 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.
    
    

    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",
        VcenterEndpoint = "string",
        AssetsCompartmentId = "string",
        CompartmentId = "string",
        Type = "string",
        DiscoveryCredentials = new Oci.CloudBridge.Inputs.AssetSourceDiscoveryCredentialsArgs
        {
            SecretId = "string",
            Type = "string",
        },
        InventoryId = "string",
        DiscoveryScheduleId = "string",
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
        AreHistoricalMetricsCollected = false,
        ReplicationCredentials = new Oci.CloudBridge.Inputs.AssetSourceReplicationCredentialsArgs
        {
            SecretId = "string",
            Type = "string",
        },
        SystemTags = 
        {
            { "string", "string" },
        },
        DefinedTags = 
        {
            { "string", "string" },
        },
        AreRealtimeMetricsCollected = false,
    });
    
    example, err := CloudBridge.NewAssetSource(ctx, "assetSourceResource", &CloudBridge.AssetSourceArgs{
    	EnvironmentId:       pulumi.String("string"),
    	VcenterEndpoint:     pulumi.String("string"),
    	AssetsCompartmentId: pulumi.String("string"),
    	CompartmentId:       pulumi.String("string"),
    	Type:                pulumi.String("string"),
    	DiscoveryCredentials: &cloudbridge.AssetSourceDiscoveryCredentialsArgs{
    		SecretId: pulumi.String("string"),
    		Type:     pulumi.String("string"),
    	},
    	InventoryId:         pulumi.String("string"),
    	DiscoveryScheduleId: pulumi.String("string"),
    	DisplayName:         pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": 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"),
    	},
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	AreRealtimeMetricsCollected: pulumi.Bool(false),
    })
    
    var assetSourceResource = new AssetSource("assetSourceResource", AssetSourceArgs.builder()
        .environmentId("string")
        .vcenterEndpoint("string")
        .assetsCompartmentId("string")
        .compartmentId("string")
        .type("string")
        .discoveryCredentials(AssetSourceDiscoveryCredentialsArgs.builder()
            .secretId("string")
            .type("string")
            .build())
        .inventoryId("string")
        .discoveryScheduleId("string")
        .displayName("string")
        .freeformTags(Map.of("string", "string"))
        .areHistoricalMetricsCollected(false)
        .replicationCredentials(AssetSourceReplicationCredentialsArgs.builder()
            .secretId("string")
            .type("string")
            .build())
        .systemTags(Map.of("string", "string"))
        .definedTags(Map.of("string", "string"))
        .areRealtimeMetricsCollected(false)
        .build());
    
    asset_source_resource = oci.cloud_bridge.AssetSource("assetSourceResource",
        environment_id="string",
        vcenter_endpoint="string",
        assets_compartment_id="string",
        compartment_id="string",
        type="string",
        discovery_credentials=oci.cloud_bridge.AssetSourceDiscoveryCredentialsArgs(
            secret_id="string",
            type="string",
        ),
        inventory_id="string",
        discovery_schedule_id="string",
        display_name="string",
        freeform_tags={
            "string": "string",
        },
        are_historical_metrics_collected=False,
        replication_credentials=oci.cloud_bridge.AssetSourceReplicationCredentialsArgs(
            secret_id="string",
            type="string",
        ),
        system_tags={
            "string": "string",
        },
        defined_tags={
            "string": "string",
        },
        are_realtime_metrics_collected=False)
    
    const assetSourceResource = new oci.cloudbridge.AssetSource("assetSourceResource", {
        environmentId: "string",
        vcenterEndpoint: "string",
        assetsCompartmentId: "string",
        compartmentId: "string",
        type: "string",
        discoveryCredentials: {
            secretId: "string",
            type: "string",
        },
        inventoryId: "string",
        discoveryScheduleId: "string",
        displayName: "string",
        freeformTags: {
            string: "string",
        },
        areHistoricalMetricsCollected: false,
        replicationCredentials: {
            secretId: "string",
            type: "string",
        },
        systemTags: {
            string: "string",
        },
        definedTags: {
            string: "string",
        },
        areRealtimeMetricsCollected: false,
    });
    
    type: oci:CloudBridge:AssetSource
    properties:
        areHistoricalMetricsCollected: false
        areRealtimeMetricsCollected: false
        assetsCompartmentId: string
        compartmentId: string
        definedTags:
            string: string
        discoveryCredentials:
            secretId: string
            type: string
        discoveryScheduleId: string
        displayName: string
        environmentId: string
        freeformTags:
            string: string
        inventoryId: 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

    The AssetSource resource accepts the following input properties:

    AssetsCompartmentId string
    (Updatable) The OCID of the compartment that is going to be used to create assets.
    CompartmentId string
    (Updatable) The OCID of the compartment for the resource.
    DiscoveryCredentials AssetSourceDiscoveryCredentials
    (Updatable) Credentials for an asset source.
    EnvironmentId string
    The OCID of the environment.
    InventoryId string
    The OCID of the inventory that will contain created assets.
    Type string
    (Updatable) Asset source type.
    VcenterEndpoint 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

    AreHistoricalMetricsCollected bool
    (Updatable) Flag indicating whether historical metrics are collected for assets, originating from this asset source.
    AreRealtimeMetricsCollected bool
    (Updatable) Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
    DefinedTags 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"}
    DiscoveryScheduleId string
    (Updatable) The OCID of the discovery schedule that is going to be attached to the created asset.
    DisplayName 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.
    FreeformTags 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"}
    ReplicationCredentials AssetSourceReplicationCredentials
    (Updatable) Credentials for an asset source.
    SystemTags 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}}
    AssetsCompartmentId string
    (Updatable) The OCID of the compartment that is going to be used to create assets.
    CompartmentId string
    (Updatable) The OCID of the compartment for the resource.
    DiscoveryCredentials AssetSourceDiscoveryCredentialsArgs
    (Updatable) Credentials for an asset source.
    EnvironmentId string
    The OCID of the environment.
    InventoryId string
    The OCID of the inventory that will contain created assets.
    Type string
    (Updatable) Asset source type.
    VcenterEndpoint 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

    AreHistoricalMetricsCollected bool
    (Updatable) Flag indicating whether historical metrics are collected for assets, originating from this asset source.
    AreRealtimeMetricsCollected bool
    (Updatable) Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
    DefinedTags 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"}
    DiscoveryScheduleId string
    (Updatable) The OCID of the discovery schedule that is going to be attached to the created asset.
    DisplayName 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.
    FreeformTags 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"}
    ReplicationCredentials AssetSourceReplicationCredentialsArgs
    (Updatable) Credentials for an asset source.
    SystemTags 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}}
    assetsCompartmentId String
    (Updatable) The OCID of the compartment that is going to be used to create assets.
    compartmentId String
    (Updatable) The OCID of the compartment for the resource.
    discoveryCredentials AssetSourceDiscoveryCredentials
    (Updatable) Credentials for an asset source.
    environmentId String
    The OCID of the environment.
    inventoryId String
    The OCID of the inventory that will contain created assets.
    type String
    (Updatable) Asset source type.
    vcenterEndpoint 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

    areHistoricalMetricsCollected Boolean
    (Updatable) Flag indicating whether historical metrics are collected for assets, originating from this asset source.
    areRealtimeMetricsCollected Boolean
    (Updatable) Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
    definedTags 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"}
    discoveryScheduleId String
    (Updatable) The OCID of the discovery schedule that is going to be attached to the created asset.
    displayName 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.
    freeformTags 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"}
    replicationCredentials AssetSourceReplicationCredentials
    (Updatable) Credentials for an asset source.
    systemTags 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}}
    assetsCompartmentId string
    (Updatable) The OCID of the compartment that is going to be used to create assets.
    compartmentId string
    (Updatable) The OCID of the compartment for the resource.
    discoveryCredentials AssetSourceDiscoveryCredentials
    (Updatable) Credentials for an asset source.
    environmentId string
    The OCID of the environment.
    inventoryId string
    The OCID of the inventory that will contain created assets.
    type string
    (Updatable) Asset source type.
    vcenterEndpoint 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

    areHistoricalMetricsCollected boolean
    (Updatable) Flag indicating whether historical metrics are collected for assets, originating from this asset source.
    areRealtimeMetricsCollected boolean
    (Updatable) Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
    definedTags {[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"}
    discoveryScheduleId string
    (Updatable) The OCID of the discovery schedule that is going to be attached to the created asset.
    displayName 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.
    freeformTags {[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"}
    replicationCredentials AssetSourceReplicationCredentials
    (Updatable) Credentials for an asset source.
    systemTags {[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}}
    assets_compartment_id str
    (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 cloudbridge.AssetSourceDiscoveryCredentialsArgs
    (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.
    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_metrics_collected bool
    (Updatable) Flag indicating whether historical metrics are collected for assets, originating from this asset source.
    are_realtime_metrics_collected bool
    (Updatable) Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
    defined_tags 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_id str
    (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.
    freeform_tags 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"}
    replication_credentials cloudbridge.AssetSourceReplicationCredentialsArgs
    (Updatable) Credentials for an asset source.
    system_tags 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}}
    assetsCompartmentId String
    (Updatable) The OCID of the compartment that is going to be used to create assets.
    compartmentId String
    (Updatable) The OCID of the compartment for the resource.
    discoveryCredentials Property Map
    (Updatable) Credentials for an asset source.
    environmentId String
    The OCID of the environment.
    inventoryId String
    The OCID of the inventory that will contain created assets.
    type String
    (Updatable) Asset source type.
    vcenterEndpoint 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

    areHistoricalMetricsCollected Boolean
    (Updatable) Flag indicating whether historical metrics are collected for assets, originating from this asset source.
    areRealtimeMetricsCollected Boolean
    (Updatable) Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
    definedTags 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"}
    discoveryScheduleId String
    (Updatable) The OCID of the discovery schedule that is going to be attached to the created asset.
    displayName 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.
    freeformTags 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"}
    replicationCredentials Property Map
    (Updatable) Credentials for an asset source.
    systemTags 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}}

    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.
    LifecycleDetails string
    The detailed state of the asset source.
    State string
    The current state of the asset source.
    TimeCreated string
    The time when the asset source was created in the RFC3339 format.
    TimeUpdated 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.
    LifecycleDetails string
    The detailed state of the asset source.
    State string
    The current state of the asset source.
    TimeCreated string
    The time when the asset source was created in the RFC3339 format.
    TimeUpdated 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.
    lifecycleDetails String
    The detailed state of the asset source.
    state String
    The current state of the asset source.
    timeCreated String
    The time when the asset source was created in the RFC3339 format.
    timeUpdated 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.
    lifecycleDetails string
    The detailed state of the asset source.
    state string
    The current state of the asset source.
    timeCreated string
    The time when the asset source was created in the RFC3339 format.
    timeUpdated 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.
    lifecycleDetails String
    The detailed state of the asset source.
    state String
    The current state of the asset source.
    timeCreated String
    The time when the asset source was created in the RFC3339 format.
    timeUpdated 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,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            discovery_credentials: Optional[_cloudbridge.AssetSourceDiscoveryCredentialsArgs] = None,
            discovery_schedule_id: Optional[str] = None,
            display_name: Optional[str] = None,
            environment_id: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            inventory_id: Optional[str] = None,
            lifecycle_details: Optional[str] = None,
            replication_credentials: Optional[_cloudbridge.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) -> AssetSource
    func 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)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    AreHistoricalMetricsCollected bool
    (Updatable) Flag indicating whether historical metrics are collected for assets, originating from this asset source.
    AreRealtimeMetricsCollected bool
    (Updatable) Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
    AssetsCompartmentId string
    (Updatable) The OCID of the compartment that is going to be used to create assets.
    CompartmentId string
    (Updatable) The OCID of the compartment for the resource.
    DefinedTags 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"}
    DiscoveryCredentials AssetSourceDiscoveryCredentials
    (Updatable) Credentials for an asset source.
    DiscoveryScheduleId string
    (Updatable) The OCID of the discovery schedule that is going to be attached to the created asset.
    DisplayName 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.
    EnvironmentId string
    The OCID of the environment.
    FreeformTags 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"}
    InventoryId string
    The OCID of the inventory that will contain created assets.
    LifecycleDetails string
    The detailed state of the asset source.
    ReplicationCredentials AssetSourceReplicationCredentials
    (Updatable) Credentials for an asset source.
    State string
    The current state of the asset source.
    SystemTags 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}}
    TimeCreated string
    The time when the asset source was created in the RFC3339 format.
    TimeUpdated string
    The point in time that the asset source was last updated in the RFC3339 format.
    Type string
    (Updatable) Asset source type.
    VcenterEndpoint 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

    AreHistoricalMetricsCollected bool
    (Updatable) Flag indicating whether historical metrics are collected for assets, originating from this asset source.
    AreRealtimeMetricsCollected bool
    (Updatable) Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
    AssetsCompartmentId string
    (Updatable) The OCID of the compartment that is going to be used to create assets.
    CompartmentId string
    (Updatable) The OCID of the compartment for the resource.
    DefinedTags 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"}
    DiscoveryCredentials AssetSourceDiscoveryCredentialsArgs
    (Updatable) Credentials for an asset source.
    DiscoveryScheduleId string
    (Updatable) The OCID of the discovery schedule that is going to be attached to the created asset.
    DisplayName 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.
    EnvironmentId string
    The OCID of the environment.
    FreeformTags 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"}
    InventoryId string
    The OCID of the inventory that will contain created assets.
    LifecycleDetails string
    The detailed state of the asset source.
    ReplicationCredentials AssetSourceReplicationCredentialsArgs
    (Updatable) Credentials for an asset source.
    State string
    The current state of the asset source.
    SystemTags 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}}
    TimeCreated string
    The time when the asset source was created in the RFC3339 format.
    TimeUpdated string
    The point in time that the asset source was last updated in the RFC3339 format.
    Type string
    (Updatable) Asset source type.
    VcenterEndpoint 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

    areHistoricalMetricsCollected Boolean
    (Updatable) Flag indicating whether historical metrics are collected for assets, originating from this asset source.
    areRealtimeMetricsCollected Boolean
    (Updatable) Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
    assetsCompartmentId String
    (Updatable) The OCID of the compartment that is going to be used to create assets.
    compartmentId String
    (Updatable) The OCID of the compartment for the resource.
    definedTags 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"}
    discoveryCredentials AssetSourceDiscoveryCredentials
    (Updatable) Credentials for an asset source.
    discoveryScheduleId String
    (Updatable) The OCID of the discovery schedule that is going to be attached to the created asset.
    displayName 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.
    environmentId String
    The OCID of the environment.
    freeformTags 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"}
    inventoryId String
    The OCID of the inventory that will contain created assets.
    lifecycleDetails String
    The detailed state of the asset source.
    replicationCredentials AssetSourceReplicationCredentials
    (Updatable) Credentials for an asset source.
    state String
    The current state of the asset source.
    systemTags 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}}
    timeCreated String
    The time when the asset source was created in the RFC3339 format.
    timeUpdated String
    The point in time that the asset source was last updated in the RFC3339 format.
    type String
    (Updatable) Asset source type.
    vcenterEndpoint 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

    areHistoricalMetricsCollected boolean
    (Updatable) Flag indicating whether historical metrics are collected for assets, originating from this asset source.
    areRealtimeMetricsCollected boolean
    (Updatable) Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
    assetsCompartmentId string
    (Updatable) The OCID of the compartment that is going to be used to create assets.
    compartmentId string
    (Updatable) The OCID of the compartment for the resource.
    definedTags {[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"}
    discoveryCredentials AssetSourceDiscoveryCredentials
    (Updatable) Credentials for an asset source.
    discoveryScheduleId string
    (Updatable) The OCID of the discovery schedule that is going to be attached to the created asset.
    displayName 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.
    environmentId string
    The OCID of the environment.
    freeformTags {[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"}
    inventoryId string
    The OCID of the inventory that will contain created assets.
    lifecycleDetails string
    The detailed state of the asset source.
    replicationCredentials AssetSourceReplicationCredentials
    (Updatable) Credentials for an asset source.
    state string
    The current state of the asset source.
    systemTags {[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}}
    timeCreated string
    The time when the asset source was created in the RFC3339 format.
    timeUpdated string
    The point in time that the asset source was last updated in the RFC3339 format.
    type string
    (Updatable) Asset source type.
    vcenterEndpoint 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_metrics_collected bool
    (Updatable) Flag indicating whether historical metrics are collected for assets, originating from this asset source.
    are_realtime_metrics_collected bool
    (Updatable) Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
    assets_compartment_id str
    (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.
    defined_tags 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 cloudbridge.AssetSourceDiscoveryCredentialsArgs
    (Updatable) Credentials for an asset source.
    discovery_schedule_id str
    (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.
    freeform_tags 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.
    lifecycle_details str
    The detailed state of the asset source.
    replication_credentials cloudbridge.AssetSourceReplicationCredentialsArgs
    (Updatable) Credentials for an asset source.
    state str
    The current state of the asset source.
    system_tags 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

    areHistoricalMetricsCollected Boolean
    (Updatable) Flag indicating whether historical metrics are collected for assets, originating from this asset source.
    areRealtimeMetricsCollected Boolean
    (Updatable) Flag indicating whether real-time metrics are collected for assets, originating from this asset source.
    assetsCompartmentId String
    (Updatable) The OCID of the compartment that is going to be used to create assets.
    compartmentId String
    (Updatable) The OCID of the compartment for the resource.
    definedTags 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"}
    discoveryCredentials Property Map
    (Updatable) Credentials for an asset source.
    discoveryScheduleId String
    (Updatable) The OCID of the discovery schedule that is going to be attached to the created asset.
    displayName 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.
    environmentId String
    The OCID of the environment.
    freeformTags 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"}
    inventoryId String
    The OCID of the inventory that will contain created assets.
    lifecycleDetails String
    The detailed state of the asset source.
    replicationCredentials Property Map
    (Updatable) Credentials for an asset source.
    state String
    The current state of the asset source.
    systemTags 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}}
    timeCreated String
    The time when the asset source was created in the RFC3339 format.
    timeUpdated String
    The point in time that the asset source was last updated in the RFC3339 format.
    type String
    (Updatable) Asset source type.
    vcenterEndpoint 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

    SecretId string
    (Updatable) The OCID of the secret in a vault. If the 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": "", "password": "" }`.
    Type string
    (Updatable) Authentication type
    SecretId string
    (Updatable) The OCID of the secret in a vault. If the 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": "", "password": "" }`.
    Type string
    (Updatable) Authentication type
    secretId String
    (Updatable) The OCID of the secret in a vault. If the 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": "", "password": "" }`.
    type String
    (Updatable) Authentication type
    secretId string
    (Updatable) The OCID of the secret in a vault. If the 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": "", "password": "" }`.
    type string
    (Updatable) Authentication type
    secret_id str
    (Updatable) The OCID of the secret in a vault. If the 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": "", "password": "" }`.
    type str
    (Updatable) Authentication type
    secretId String
    (Updatable) The OCID of the secret in a vault. If the 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": "", "password": "" }`.
    type String
    (Updatable) Authentication type

    AssetSourceReplicationCredentials, AssetSourceReplicationCredentialsArgs

    SecretId string
    (Updatable) The OCID of the secret in a vault. If the 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": "", "password": "" }`.
    Type string
    (Updatable) Authentication type
    SecretId string
    (Updatable) The OCID of the secret in a vault. If the 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": "", "password": "" }`.
    Type string
    (Updatable) Authentication type
    secretId String
    (Updatable) The OCID of the secret in a vault. If the 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": "", "password": "" }`.
    type String
    (Updatable) Authentication type
    secretId string
    (Updatable) The OCID of the secret in a vault. If the 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": "", "password": "" }`.
    type string
    (Updatable) Authentication type
    secret_id str
    (Updatable) The OCID of the secret in a vault. If the 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": "", "password": "" }`.
    type str
    (Updatable) Authentication type
    secretId String
    (Updatable) The OCID of the secret in a vault. If the 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": "", "password": "" }`.
    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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi