Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.CloudBridge.getDiscoverySchedule
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
This data source provides details about a specific Discovery Schedule resource in Oracle Cloud Infrastructure Cloud Bridge service.
Reads information about the specified discovery schedule.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDiscoverySchedule = oci.CloudBridge.getDiscoverySchedule({
discoveryScheduleId: testDiscoveryScheduleOciCloudBridgeDiscoverySchedule.id,
});
import pulumi
import pulumi_oci as oci
test_discovery_schedule = oci.CloudBridge.get_discovery_schedule(discovery_schedule_id=test_discovery_schedule_oci_cloud_bridge_discovery_schedule["id"])
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.GetDiscoverySchedule(ctx, &cloudbridge.GetDiscoveryScheduleArgs{
DiscoveryScheduleId: testDiscoveryScheduleOciCloudBridgeDiscoverySchedule.Id,
}, nil)
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 = Oci.CloudBridge.GetDiscoverySchedule.Invoke(new()
{
DiscoveryScheduleId = testDiscoveryScheduleOciCloudBridgeDiscoverySchedule.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.CloudBridge.CloudBridgeFunctions;
import com.pulumi.oci.CloudBridge.inputs.GetDiscoveryScheduleArgs;
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) {
final var testDiscoverySchedule = CloudBridgeFunctions.getDiscoverySchedule(GetDiscoveryScheduleArgs.builder()
.discoveryScheduleId(testDiscoveryScheduleOciCloudBridgeDiscoverySchedule.id())
.build());
}
}
variables:
testDiscoverySchedule:
fn::invoke:
Function: oci:CloudBridge:getDiscoverySchedule
Arguments:
discoveryScheduleId: ${testDiscoveryScheduleOciCloudBridgeDiscoverySchedule.id}
Using getDiscoverySchedule
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDiscoverySchedule(args: GetDiscoveryScheduleArgs, opts?: InvokeOptions): Promise<GetDiscoveryScheduleResult>
function getDiscoveryScheduleOutput(args: GetDiscoveryScheduleOutputArgs, opts?: InvokeOptions): Output<GetDiscoveryScheduleResult>
def get_discovery_schedule(discovery_schedule_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDiscoveryScheduleResult
def get_discovery_schedule_output(discovery_schedule_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDiscoveryScheduleResult]
func GetDiscoverySchedule(ctx *Context, args *GetDiscoveryScheduleArgs, opts ...InvokeOption) (*GetDiscoveryScheduleResult, error)
func GetDiscoveryScheduleOutput(ctx *Context, args *GetDiscoveryScheduleOutputArgs, opts ...InvokeOption) GetDiscoveryScheduleResultOutput
> Note: This function is named GetDiscoverySchedule
in the Go SDK.
public static class GetDiscoverySchedule
{
public static Task<GetDiscoveryScheduleResult> InvokeAsync(GetDiscoveryScheduleArgs args, InvokeOptions? opts = null)
public static Output<GetDiscoveryScheduleResult> Invoke(GetDiscoveryScheduleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDiscoveryScheduleResult> getDiscoverySchedule(GetDiscoveryScheduleArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:CloudBridge/getDiscoverySchedule:getDiscoverySchedule
arguments:
# arguments dictionary
The following arguments are supported:
- Discovery
Schedule stringId - The OCID of the discovery schedule.
- Discovery
Schedule stringId - The OCID of the discovery schedule.
- discovery
Schedule StringId - The OCID of the discovery schedule.
- discovery
Schedule stringId - The OCID of the discovery schedule.
- discovery_
schedule_ strid - The OCID of the discovery schedule.
- discovery
Schedule StringId - The OCID of the discovery schedule.
getDiscoverySchedule Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment in which the discovery schedule exists.
- Dictionary<string, object>
- The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Discovery
Schedule stringId - Display
Name string - A user-friendly name for the discovery schedule. Does not have to be unique, and it's mutable. Avoid entering confidential information.
- Execution
Recurrences string - Recurrence specification for the discovery schedule execution.
- Dictionary<string, object>
- 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"}
- Id string
- The OCID of the discovery schedule.
- Lifecycle
Details string - The detailed state of the discovery schedule.
- State string
- Current state of the discovery schedule.
- 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}}
- Time
Created string - The time when the discovery schedule was created in RFC3339 format.
- Time
Updated string - The time when the discovery schedule was last updated in RFC3339 format.
- Compartment
Id string - The OCID of the compartment in which the discovery schedule exists.
- map[string]interface{}
- The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Discovery
Schedule stringId - Display
Name string - A user-friendly name for the discovery schedule. Does not have to be unique, and it's mutable. Avoid entering confidential information.
- Execution
Recurrences string - Recurrence specification for the discovery schedule execution.
- map[string]interface{}
- 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"}
- Id string
- The OCID of the discovery schedule.
- Lifecycle
Details string - The detailed state of the discovery schedule.
- State string
- Current state of the discovery schedule.
- 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}}
- Time
Created string - The time when the discovery schedule was created in RFC3339 format.
- Time
Updated string - The time when the discovery schedule was last updated in RFC3339 format.
- compartment
Id String - The OCID of the compartment in which the discovery schedule exists.
- Map<String,Object>
- The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- discovery
Schedule StringId - display
Name String - A user-friendly name for the discovery schedule. Does not have to be unique, and it's mutable. Avoid entering confidential information.
- execution
Recurrences String - Recurrence specification for the discovery schedule execution.
- Map<String,Object>
- 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"}
- id String
- The OCID of the discovery schedule.
- lifecycle
Details String - The detailed state of the discovery schedule.
- state String
- Current state of the discovery schedule.
- 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}}
- time
Created String - The time when the discovery schedule was created in RFC3339 format.
- time
Updated String - The time when the discovery schedule was last updated in RFC3339 format.
- compartment
Id string - The OCID of the compartment in which the discovery schedule exists.
- {[key: string]: any}
- The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- discovery
Schedule stringId - display
Name string - A user-friendly name for the discovery schedule. Does not have to be unique, and it's mutable. Avoid entering confidential information.
- execution
Recurrences string - Recurrence specification for the discovery schedule execution.
- {[key: string]: any}
- 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"}
- id string
- The OCID of the discovery schedule.
- lifecycle
Details string - The detailed state of the discovery schedule.
- state string
- Current state of the discovery schedule.
- {[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}}
- time
Created string - The time when the discovery schedule was created in RFC3339 format.
- time
Updated string - The time when the discovery schedule was last updated in RFC3339 format.
- compartment_
id str - The OCID of the compartment in which the discovery schedule exists.
- Mapping[str, Any]
- The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- discovery_
schedule_ strid - display_
name str - A user-friendly name for the discovery schedule. Does not have to be unique, and it's mutable. Avoid entering confidential information.
- execution_
recurrences str - Recurrence specification for the discovery schedule execution.
- Mapping[str, Any]
- 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"}
- id str
- The OCID of the discovery schedule.
- lifecycle_
details str - The detailed state of the discovery schedule.
- state str
- Current state of the discovery schedule.
- 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.
- compartment
Id String - The OCID of the compartment in which the discovery schedule exists.
- Map<Any>
- The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- discovery
Schedule StringId - display
Name String - A user-friendly name for the discovery schedule. Does not have to be unique, and it's mutable. Avoid entering confidential information.
- execution
Recurrences String - Recurrence specification for the discovery schedule execution.
- Map<Any>
- 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"}
- id String
- The OCID of the discovery schedule.
- lifecycle
Details String - The detailed state of the discovery schedule.
- state String
- Current state of the discovery schedule.
- 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}}
- time
Created String - The time when the discovery schedule was created in RFC3339 format.
- time
Updated String - The time when the discovery schedule was last updated in RFC3339 format.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi