1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. CloudBridge
  5. DiscoverySchedule
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

oci.CloudBridge.DiscoverySchedule

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

    This resource provides the Discovery Schedule resource in Oracle Cloud Infrastructure Cloud Bridge service.

    Creates the discovery schedule.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testDiscoverySchedule = new oci.cloudbridge.DiscoverySchedule("testDiscoverySchedule", {
        compartmentId: _var.compartment_id,
        executionRecurrences: _var.discovery_schedule_execution_recurrences,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        displayName: _var.discovery_schedule_display_name,
        freeformTags: {
            Department: "Finance",
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_discovery_schedule = oci.cloud_bridge.DiscoverySchedule("testDiscoverySchedule",
        compartment_id=var["compartment_id"],
        execution_recurrences=var["discovery_schedule_execution_recurrences"],
        defined_tags={
            "Operations.CostCenter": "42",
        },
        display_name=var["discovery_schedule_display_name"],
        freeform_tags={
            "Department": "Finance",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/CloudBridge"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := CloudBridge.NewDiscoverySchedule(ctx, "testDiscoverySchedule", &CloudBridge.DiscoveryScheduleArgs{
    			CompartmentId:        pulumi.Any(_var.Compartment_id),
    			ExecutionRecurrences: pulumi.Any(_var.Discovery_schedule_execution_recurrences),
    			DefinedTags: pulumi.Map{
    				"Operations.CostCenter": pulumi.Any("42"),
    			},
    			DisplayName: pulumi.Any(_var.Discovery_schedule_display_name),
    			FreeformTags: pulumi.Map{
    				"Department": pulumi.Any("Finance"),
    			},
    		})
    		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 testDiscoverySchedule = new Oci.CloudBridge.DiscoverySchedule("testDiscoverySchedule", new()
        {
            CompartmentId = @var.Compartment_id,
            ExecutionRecurrences = @var.Discovery_schedule_execution_recurrences,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            DisplayName = @var.Discovery_schedule_display_name,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.CloudBridge.DiscoverySchedule;
    import com.pulumi.oci.CloudBridge.DiscoveryScheduleArgs;
    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 testDiscoverySchedule = new DiscoverySchedule("testDiscoverySchedule", DiscoveryScheduleArgs.builder()        
                .compartmentId(var_.compartment_id())
                .executionRecurrences(var_.discovery_schedule_execution_recurrences())
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .displayName(var_.discovery_schedule_display_name())
                .freeformTags(Map.of("Department", "Finance"))
                .build());
    
        }
    }
    
    resources:
      testDiscoverySchedule:
        type: oci:CloudBridge:DiscoverySchedule
        properties:
          #Required
          compartmentId: ${var.compartment_id}
          executionRecurrences: ${var.discovery_schedule_execution_recurrences}
          #Optional
          definedTags:
            Operations.CostCenter: '42'
          displayName: ${var.discovery_schedule_display_name}
          freeformTags:
            Department: Finance
    

    Create DiscoverySchedule Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DiscoverySchedule(name: string, args: DiscoveryScheduleArgs, opts?: CustomResourceOptions);
    @overload
    def DiscoverySchedule(resource_name: str,
                          args: DiscoveryScheduleArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def DiscoverySchedule(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          compartment_id: Optional[str] = None,
                          execution_recurrences: Optional[str] = None,
                          defined_tags: Optional[Mapping[str, Any]] = None,
                          display_name: Optional[str] = None,
                          freeform_tags: Optional[Mapping[str, Any]] = None)
    func NewDiscoverySchedule(ctx *Context, name string, args DiscoveryScheduleArgs, opts ...ResourceOption) (*DiscoverySchedule, error)
    public DiscoverySchedule(string name, DiscoveryScheduleArgs args, CustomResourceOptions? opts = null)
    public DiscoverySchedule(String name, DiscoveryScheduleArgs args)
    public DiscoverySchedule(String name, DiscoveryScheduleArgs args, CustomResourceOptions options)
    
    type: oci:CloudBridge:DiscoverySchedule
    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 DiscoveryScheduleArgs
    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 DiscoveryScheduleArgs
    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 DiscoveryScheduleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DiscoveryScheduleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DiscoveryScheduleArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var discoveryScheduleResource = new Oci.CloudBridge.DiscoverySchedule("discoveryScheduleResource", new()
    {
        CompartmentId = "string",
        ExecutionRecurrences = "string",
        DefinedTags = 
        {
            { "string", "any" },
        },
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "any" },
        },
    });
    
    example, err := CloudBridge.NewDiscoverySchedule(ctx, "discoveryScheduleResource", &CloudBridge.DiscoveryScheduleArgs{
    	CompartmentId:        pulumi.String("string"),
    	ExecutionRecurrences: pulumi.String("string"),
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    })
    
    var discoveryScheduleResource = new DiscoverySchedule("discoveryScheduleResource", DiscoveryScheduleArgs.builder()        
        .compartmentId("string")
        .executionRecurrences("string")
        .definedTags(Map.of("string", "any"))
        .displayName("string")
        .freeformTags(Map.of("string", "any"))
        .build());
    
    discovery_schedule_resource = oci.cloud_bridge.DiscoverySchedule("discoveryScheduleResource",
        compartment_id="string",
        execution_recurrences="string",
        defined_tags={
            "string": "any",
        },
        display_name="string",
        freeform_tags={
            "string": "any",
        })
    
    const discoveryScheduleResource = new oci.cloudbridge.DiscoverySchedule("discoveryScheduleResource", {
        compartmentId: "string",
        executionRecurrences: "string",
        definedTags: {
            string: "any",
        },
        displayName: "string",
        freeformTags: {
            string: "any",
        },
    });
    
    type: oci:CloudBridge:DiscoverySchedule
    properties:
        compartmentId: string
        definedTags:
            string: any
        displayName: string
        executionRecurrences: string
        freeformTags:
            string: any
    

    DiscoverySchedule 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 DiscoverySchedule resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment in which the discovery schedule is created.
    ExecutionRecurrences string
    (Updatable) Recurrence specification for the discovery schedule execution.
    DefinedTags Dictionary<string, object>
    (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"}
    DisplayName string
    (Updatable) A user-friendly name for the discovery schedule. 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, object>

    (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"}

    ** 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

    CompartmentId string
    (Updatable) The OCID of the compartment in which the discovery schedule is created.
    ExecutionRecurrences string
    (Updatable) Recurrence specification for the discovery schedule execution.
    DefinedTags map[string]interface{}
    (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"}
    DisplayName string
    (Updatable) A user-friendly name for the discovery schedule. 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]interface{}

    (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"}

    ** 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

    compartmentId String
    (Updatable) The OCID of the compartment in which the discovery schedule is created.
    executionRecurrences String
    (Updatable) Recurrence specification for the discovery schedule execution.
    definedTags Map<String,Object>
    (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"}
    displayName String
    (Updatable) A user-friendly name for the discovery schedule. 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,Object>

    (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"}

    ** 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

    compartmentId string
    (Updatable) The OCID of the compartment in which the discovery schedule is created.
    executionRecurrences string
    (Updatable) Recurrence specification for the discovery schedule execution.
    definedTags {[key: string]: any}
    (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"}
    displayName string
    (Updatable) A user-friendly name for the discovery schedule. 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]: any}

    (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"}

    ** 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

    compartment_id str
    (Updatable) The OCID of the compartment in which the discovery schedule is created.
    execution_recurrences str
    (Updatable) Recurrence specification for the discovery schedule execution.
    defined_tags Mapping[str, Any]
    (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"}
    display_name str
    (Updatable) A user-friendly name for the discovery schedule. 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, Any]

    (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"}

    ** 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

    compartmentId String
    (Updatable) The OCID of the compartment in which the discovery schedule is created.
    executionRecurrences String
    (Updatable) Recurrence specification for the discovery schedule execution.
    definedTags Map<Any>
    (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"}
    displayName String
    (Updatable) A user-friendly name for the discovery schedule. 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<Any>

    (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"}

    ** 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 DiscoverySchedule resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    The detailed state of the discovery schedule.
    State string
    Current state of the discovery schedule.
    SystemTags Dictionary<string, object>
    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 discovery schedule was created in RFC3339 format.
    TimeUpdated string
    The time when the discovery schedule was last updated in RFC3339 format.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    The detailed state of the discovery schedule.
    State string
    Current state of the discovery schedule.
    SystemTags map[string]interface{}
    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 discovery schedule was created in RFC3339 format.
    TimeUpdated string
    The time when the discovery schedule was last updated in RFC3339 format.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    The detailed state of the discovery schedule.
    state String
    Current state of the discovery schedule.
    systemTags Map<String,Object>
    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 discovery schedule was created in RFC3339 format.
    timeUpdated String
    The time when the discovery schedule was last updated in RFC3339 format.
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails string
    The detailed state of the discovery schedule.
    state string
    Current state of the discovery schedule.
    systemTags {[key: string]: any}
    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 discovery schedule was created in RFC3339 format.
    timeUpdated string
    The time when the discovery schedule was last updated in RFC3339 format.
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_details str
    The detailed state of the discovery schedule.
    state str
    Current state of the discovery schedule.
    system_tags Mapping[str, Any]
    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 discovery schedule was created in RFC3339 format.
    time_updated str
    The time when the discovery schedule was last updated in RFC3339 format.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    The detailed state of the discovery schedule.
    state String
    Current state of the discovery schedule.
    systemTags Map<Any>
    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 discovery schedule was created in RFC3339 format.
    timeUpdated String
    The time when the discovery schedule was last updated in RFC3339 format.

    Look up Existing DiscoverySchedule Resource

    Get an existing DiscoverySchedule 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?: DiscoveryScheduleState, opts?: CustomResourceOptions): DiscoverySchedule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            display_name: Optional[str] = None,
            execution_recurrences: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            lifecycle_details: Optional[str] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, Any]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> DiscoverySchedule
    func GetDiscoverySchedule(ctx *Context, name string, id IDInput, state *DiscoveryScheduleState, opts ...ResourceOption) (*DiscoverySchedule, error)
    public static DiscoverySchedule Get(string name, Input<string> id, DiscoveryScheduleState? state, CustomResourceOptions? opts = null)
    public static DiscoverySchedule get(String name, Output<String> id, DiscoveryScheduleState 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:
    CompartmentId string
    (Updatable) The OCID of the compartment in which the discovery schedule is created.
    DefinedTags Dictionary<string, object>
    (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"}
    DisplayName string
    (Updatable) A user-friendly name for the discovery schedule. 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.
    ExecutionRecurrences string
    (Updatable) Recurrence specification for the discovery schedule execution.
    FreeformTags Dictionary<string, object>

    (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"}

    ** 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

    LifecycleDetails string
    The detailed state of the discovery schedule.
    State string
    Current state of the discovery schedule.
    SystemTags Dictionary<string, object>
    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 discovery schedule was created in RFC3339 format.
    TimeUpdated string
    The time when the discovery schedule was last updated in RFC3339 format.
    CompartmentId string
    (Updatable) The OCID of the compartment in which the discovery schedule is created.
    DefinedTags map[string]interface{}
    (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"}
    DisplayName string
    (Updatable) A user-friendly name for the discovery schedule. 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.
    ExecutionRecurrences string
    (Updatable) Recurrence specification for the discovery schedule execution.
    FreeformTags map[string]interface{}

    (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"}

    ** 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

    LifecycleDetails string
    The detailed state of the discovery schedule.
    State string
    Current state of the discovery schedule.
    SystemTags map[string]interface{}
    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 discovery schedule was created in RFC3339 format.
    TimeUpdated string
    The time when the discovery schedule was last updated in RFC3339 format.
    compartmentId String
    (Updatable) The OCID of the compartment in which the discovery schedule is created.
    definedTags Map<String,Object>
    (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"}
    displayName String
    (Updatable) A user-friendly name for the discovery schedule. 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.
    executionRecurrences String
    (Updatable) Recurrence specification for the discovery schedule execution.
    freeformTags Map<String,Object>

    (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"}

    ** 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

    lifecycleDetails String
    The detailed state of the discovery schedule.
    state String
    Current state of the discovery schedule.
    systemTags Map<String,Object>
    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 discovery schedule was created in RFC3339 format.
    timeUpdated String
    The time when the discovery schedule was last updated in RFC3339 format.
    compartmentId string
    (Updatable) The OCID of the compartment in which the discovery schedule is created.
    definedTags {[key: string]: any}
    (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"}
    displayName string
    (Updatable) A user-friendly name for the discovery schedule. 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.
    executionRecurrences string
    (Updatable) Recurrence specification for the discovery schedule execution.
    freeformTags {[key: string]: any}

    (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"}

    ** 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

    lifecycleDetails string
    The detailed state of the discovery schedule.
    state string
    Current state of the discovery schedule.
    systemTags {[key: string]: any}
    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 discovery schedule was created in RFC3339 format.
    timeUpdated string
    The time when the discovery schedule was last updated in RFC3339 format.
    compartment_id str
    (Updatable) The OCID of the compartment in which the discovery schedule is created.
    defined_tags Mapping[str, Any]
    (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"}
    display_name str
    (Updatable) A user-friendly name for the discovery schedule. 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.
    execution_recurrences str
    (Updatable) Recurrence specification for the discovery schedule execution.
    freeform_tags Mapping[str, Any]

    (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"}

    ** 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

    lifecycle_details str
    The detailed state of the discovery schedule.
    state str
    Current state of the discovery schedule.
    system_tags Mapping[str, Any]
    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 discovery schedule was created in RFC3339 format.
    time_updated str
    The time when the discovery schedule was last updated in RFC3339 format.
    compartmentId String
    (Updatable) The OCID of the compartment in which the discovery schedule is created.
    definedTags Map<Any>
    (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"}
    displayName String
    (Updatable) A user-friendly name for the discovery schedule. 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.
    executionRecurrences String
    (Updatable) Recurrence specification for the discovery schedule execution.
    freeformTags Map<Any>

    (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"}

    ** 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

    lifecycleDetails String
    The detailed state of the discovery schedule.
    state String
    Current state of the discovery schedule.
    systemTags Map<Any>
    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 discovery schedule was created in RFC3339 format.
    timeUpdated String
    The time when the discovery schedule was last updated in RFC3339 format.

    Import

    DiscoverySchedules can be imported using the id, e.g.

    $ pulumi import oci:CloudBridge/discoverySchedule:DiscoverySchedule test_discovery_schedule "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 v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi