1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. StackMonitoring
  5. MonitoredResourcesSearchAssociation
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.StackMonitoring.MonitoredResourcesSearchAssociation

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    This resource provides the Monitored Resources Search Association resource in Oracle Cloud Infrastructure Stack Monitoring service.

    Search associations in the given compartment based on the search criteria.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testMonitoredResourcesSearchAssociation = new oci.stackmonitoring.MonitoredResourcesSearchAssociation("test_monitored_resources_search_association", {
        compartmentId: compartmentId,
        associationType: monitoredResourcesSearchAssociationAssociationType,
        destinationResourceId: testDestinationResource.id,
        destinationResourceName: monitoredResourcesSearchAssociationDestinationResourceName,
        destinationResourceType: monitoredResourcesSearchAssociationDestinationResourceType,
        sourceResourceId: testSourceResource.id,
        sourceResourceName: monitoredResourcesSearchAssociationSourceResourceName,
        sourceResourceType: monitoredResourcesSearchAssociationSourceResourceType,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_monitored_resources_search_association = oci.stack_monitoring.MonitoredResourcesSearchAssociation("test_monitored_resources_search_association",
        compartment_id=compartment_id,
        association_type=monitored_resources_search_association_association_type,
        destination_resource_id=test_destination_resource["id"],
        destination_resource_name=monitored_resources_search_association_destination_resource_name,
        destination_resource_type=monitored_resources_search_association_destination_resource_type,
        source_resource_id=test_source_resource["id"],
        source_resource_name=monitored_resources_search_association_source_resource_name,
        source_resource_type=monitored_resources_search_association_source_resource_type)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/StackMonitoring"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := StackMonitoring.NewMonitoredResourcesSearchAssociation(ctx, "test_monitored_resources_search_association", &StackMonitoring.MonitoredResourcesSearchAssociationArgs{
    			CompartmentId:           pulumi.Any(compartmentId),
    			AssociationType:         pulumi.Any(monitoredResourcesSearchAssociationAssociationType),
    			DestinationResourceId:   pulumi.Any(testDestinationResource.Id),
    			DestinationResourceName: pulumi.Any(monitoredResourcesSearchAssociationDestinationResourceName),
    			DestinationResourceType: pulumi.Any(monitoredResourcesSearchAssociationDestinationResourceType),
    			SourceResourceId:        pulumi.Any(testSourceResource.Id),
    			SourceResourceName:      pulumi.Any(monitoredResourcesSearchAssociationSourceResourceName),
    			SourceResourceType:      pulumi.Any(monitoredResourcesSearchAssociationSourceResourceType),
    		})
    		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 testMonitoredResourcesSearchAssociation = new Oci.StackMonitoring.MonitoredResourcesSearchAssociation("test_monitored_resources_search_association", new()
        {
            CompartmentId = compartmentId,
            AssociationType = monitoredResourcesSearchAssociationAssociationType,
            DestinationResourceId = testDestinationResource.Id,
            DestinationResourceName = monitoredResourcesSearchAssociationDestinationResourceName,
            DestinationResourceType = monitoredResourcesSearchAssociationDestinationResourceType,
            SourceResourceId = testSourceResource.Id,
            SourceResourceName = monitoredResourcesSearchAssociationSourceResourceName,
            SourceResourceType = monitoredResourcesSearchAssociationSourceResourceType,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.StackMonitoring.MonitoredResourcesSearchAssociation;
    import com.pulumi.oci.StackMonitoring.MonitoredResourcesSearchAssociationArgs;
    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 testMonitoredResourcesSearchAssociation = new MonitoredResourcesSearchAssociation("testMonitoredResourcesSearchAssociation", MonitoredResourcesSearchAssociationArgs.builder()
                .compartmentId(compartmentId)
                .associationType(monitoredResourcesSearchAssociationAssociationType)
                .destinationResourceId(testDestinationResource.id())
                .destinationResourceName(monitoredResourcesSearchAssociationDestinationResourceName)
                .destinationResourceType(monitoredResourcesSearchAssociationDestinationResourceType)
                .sourceResourceId(testSourceResource.id())
                .sourceResourceName(monitoredResourcesSearchAssociationSourceResourceName)
                .sourceResourceType(monitoredResourcesSearchAssociationSourceResourceType)
                .build());
    
        }
    }
    
    resources:
      testMonitoredResourcesSearchAssociation:
        type: oci:StackMonitoring:MonitoredResourcesSearchAssociation
        name: test_monitored_resources_search_association
        properties:
          compartmentId: ${compartmentId}
          associationType: ${monitoredResourcesSearchAssociationAssociationType}
          destinationResourceId: ${testDestinationResource.id}
          destinationResourceName: ${monitoredResourcesSearchAssociationDestinationResourceName}
          destinationResourceType: ${monitoredResourcesSearchAssociationDestinationResourceType}
          sourceResourceId: ${testSourceResource.id}
          sourceResourceName: ${monitoredResourcesSearchAssociationSourceResourceName}
          sourceResourceType: ${monitoredResourcesSearchAssociationSourceResourceType}
    

    Create MonitoredResourcesSearchAssociation Resource

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

    Constructor syntax

    new MonitoredResourcesSearchAssociation(name: string, args: MonitoredResourcesSearchAssociationArgs, opts?: CustomResourceOptions);
    @overload
    def MonitoredResourcesSearchAssociation(resource_name: str,
                                            args: MonitoredResourcesSearchAssociationArgs,
                                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def MonitoredResourcesSearchAssociation(resource_name: str,
                                            opts: Optional[ResourceOptions] = None,
                                            compartment_id: Optional[str] = None,
                                            association_type: Optional[str] = None,
                                            destination_resource_id: Optional[str] = None,
                                            destination_resource_name: Optional[str] = None,
                                            destination_resource_type: Optional[str] = None,
                                            source_resource_id: Optional[str] = None,
                                            source_resource_name: Optional[str] = None,
                                            source_resource_type: Optional[str] = None)
    func NewMonitoredResourcesSearchAssociation(ctx *Context, name string, args MonitoredResourcesSearchAssociationArgs, opts ...ResourceOption) (*MonitoredResourcesSearchAssociation, error)
    public MonitoredResourcesSearchAssociation(string name, MonitoredResourcesSearchAssociationArgs args, CustomResourceOptions? opts = null)
    public MonitoredResourcesSearchAssociation(String name, MonitoredResourcesSearchAssociationArgs args)
    public MonitoredResourcesSearchAssociation(String name, MonitoredResourcesSearchAssociationArgs args, CustomResourceOptions options)
    
    type: oci:StackMonitoring:MonitoredResourcesSearchAssociation
    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 MonitoredResourcesSearchAssociationArgs
    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 MonitoredResourcesSearchAssociationArgs
    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 MonitoredResourcesSearchAssociationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MonitoredResourcesSearchAssociationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MonitoredResourcesSearchAssociationArgs
    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 monitoredResourcesSearchAssociationResource = new Oci.StackMonitoring.MonitoredResourcesSearchAssociation("monitoredResourcesSearchAssociationResource", new()
    {
        CompartmentId = "string",
        AssociationType = "string",
        DestinationResourceId = "string",
        DestinationResourceName = "string",
        DestinationResourceType = "string",
        SourceResourceId = "string",
        SourceResourceName = "string",
        SourceResourceType = "string",
    });
    
    example, err := StackMonitoring.NewMonitoredResourcesSearchAssociation(ctx, "monitoredResourcesSearchAssociationResource", &StackMonitoring.MonitoredResourcesSearchAssociationArgs{
    	CompartmentId:           pulumi.String("string"),
    	AssociationType:         pulumi.String("string"),
    	DestinationResourceId:   pulumi.String("string"),
    	DestinationResourceName: pulumi.String("string"),
    	DestinationResourceType: pulumi.String("string"),
    	SourceResourceId:        pulumi.String("string"),
    	SourceResourceName:      pulumi.String("string"),
    	SourceResourceType:      pulumi.String("string"),
    })
    
    var monitoredResourcesSearchAssociationResource = new MonitoredResourcesSearchAssociation("monitoredResourcesSearchAssociationResource", MonitoredResourcesSearchAssociationArgs.builder()
        .compartmentId("string")
        .associationType("string")
        .destinationResourceId("string")
        .destinationResourceName("string")
        .destinationResourceType("string")
        .sourceResourceId("string")
        .sourceResourceName("string")
        .sourceResourceType("string")
        .build());
    
    monitored_resources_search_association_resource = oci.stack_monitoring.MonitoredResourcesSearchAssociation("monitoredResourcesSearchAssociationResource",
        compartment_id="string",
        association_type="string",
        destination_resource_id="string",
        destination_resource_name="string",
        destination_resource_type="string",
        source_resource_id="string",
        source_resource_name="string",
        source_resource_type="string")
    
    const monitoredResourcesSearchAssociationResource = new oci.stackmonitoring.MonitoredResourcesSearchAssociation("monitoredResourcesSearchAssociationResource", {
        compartmentId: "string",
        associationType: "string",
        destinationResourceId: "string",
        destinationResourceName: "string",
        destinationResourceType: "string",
        sourceResourceId: "string",
        sourceResourceName: "string",
        sourceResourceType: "string",
    });
    
    type: oci:StackMonitoring:MonitoredResourcesSearchAssociation
    properties:
        associationType: string
        compartmentId: string
        destinationResourceId: string
        destinationResourceName: string
        destinationResourceType: string
        sourceResourceId: string
        sourceResourceName: string
        sourceResourceType: string
    

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

    CompartmentId string
    Compartment Identifier OCID.
    AssociationType string
    Association type filter to search associated resources.
    DestinationResourceId string
    Destination Monitored Resource Identifier OCID.
    DestinationResourceName string
    Source Monitored Resource Name.
    DestinationResourceType string
    Source Monitored Resource Type.
    SourceResourceId string
    Source Monitored Resource Identifier OCID.
    SourceResourceName string
    Source Monitored Resource Name.
    SourceResourceType string

    Source Monitored Resource Type.

    ** 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
    Compartment Identifier OCID.
    AssociationType string
    Association type filter to search associated resources.
    DestinationResourceId string
    Destination Monitored Resource Identifier OCID.
    DestinationResourceName string
    Source Monitored Resource Name.
    DestinationResourceType string
    Source Monitored Resource Type.
    SourceResourceId string
    Source Monitored Resource Identifier OCID.
    SourceResourceName string
    Source Monitored Resource Name.
    SourceResourceType string

    Source Monitored Resource Type.

    ** 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
    Compartment Identifier OCID.
    associationType String
    Association type filter to search associated resources.
    destinationResourceId String
    Destination Monitored Resource Identifier OCID.
    destinationResourceName String
    Source Monitored Resource Name.
    destinationResourceType String
    Source Monitored Resource Type.
    sourceResourceId String
    Source Monitored Resource Identifier OCID.
    sourceResourceName String
    Source Monitored Resource Name.
    sourceResourceType String

    Source Monitored Resource Type.

    ** 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
    Compartment Identifier OCID.
    associationType string
    Association type filter to search associated resources.
    destinationResourceId string
    Destination Monitored Resource Identifier OCID.
    destinationResourceName string
    Source Monitored Resource Name.
    destinationResourceType string
    Source Monitored Resource Type.
    sourceResourceId string
    Source Monitored Resource Identifier OCID.
    sourceResourceName string
    Source Monitored Resource Name.
    sourceResourceType string

    Source Monitored Resource Type.

    ** 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
    Compartment Identifier OCID.
    association_type str
    Association type filter to search associated resources.
    destination_resource_id str
    Destination Monitored Resource Identifier OCID.
    destination_resource_name str
    Source Monitored Resource Name.
    destination_resource_type str
    Source Monitored Resource Type.
    source_resource_id str
    Source Monitored Resource Identifier OCID.
    source_resource_name str
    Source Monitored Resource Name.
    source_resource_type str

    Source Monitored Resource Type.

    ** 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
    Compartment Identifier OCID.
    associationType String
    Association type filter to search associated resources.
    destinationResourceId String
    Destination Monitored Resource Identifier OCID.
    destinationResourceName String
    Source Monitored Resource Name.
    destinationResourceType String
    Source Monitored Resource Type.
    sourceResourceId String
    Source Monitored Resource Identifier OCID.
    sourceResourceName String
    Source Monitored Resource Name.
    sourceResourceType String

    Source Monitored Resource Type.

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Items List<MonitoredResourcesSearchAssociationItem>
    List of Monitored Resource Associations.
    Id string
    The provider-assigned unique ID for this managed resource.
    Items []MonitoredResourcesSearchAssociationItem
    List of Monitored Resource Associations.
    id String
    The provider-assigned unique ID for this managed resource.
    items List<MonitoredResourcesSearchAssociationItem>
    List of Monitored Resource Associations.
    id string
    The provider-assigned unique ID for this managed resource.
    items MonitoredResourcesSearchAssociationItem[]
    List of Monitored Resource Associations.
    id str
    The provider-assigned unique ID for this managed resource.
    items Sequence[stackmonitoring.MonitoredResourcesSearchAssociationItem]
    List of Monitored Resource Associations.
    id String
    The provider-assigned unique ID for this managed resource.
    items List<Property Map>
    List of Monitored Resource Associations.

    Look up Existing MonitoredResourcesSearchAssociation Resource

    Get an existing MonitoredResourcesSearchAssociation 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?: MonitoredResourcesSearchAssociationState, opts?: CustomResourceOptions): MonitoredResourcesSearchAssociation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            association_type: Optional[str] = None,
            compartment_id: Optional[str] = None,
            destination_resource_id: Optional[str] = None,
            destination_resource_name: Optional[str] = None,
            destination_resource_type: Optional[str] = None,
            items: Optional[Sequence[_stackmonitoring.MonitoredResourcesSearchAssociationItemArgs]] = None,
            source_resource_id: Optional[str] = None,
            source_resource_name: Optional[str] = None,
            source_resource_type: Optional[str] = None) -> MonitoredResourcesSearchAssociation
    func GetMonitoredResourcesSearchAssociation(ctx *Context, name string, id IDInput, state *MonitoredResourcesSearchAssociationState, opts ...ResourceOption) (*MonitoredResourcesSearchAssociation, error)
    public static MonitoredResourcesSearchAssociation Get(string name, Input<string> id, MonitoredResourcesSearchAssociationState? state, CustomResourceOptions? opts = null)
    public static MonitoredResourcesSearchAssociation get(String name, Output<String> id, MonitoredResourcesSearchAssociationState 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:
    AssociationType string
    Association type filter to search associated resources.
    CompartmentId string
    Compartment Identifier OCID.
    DestinationResourceId string
    Destination Monitored Resource Identifier OCID.
    DestinationResourceName string
    Source Monitored Resource Name.
    DestinationResourceType string
    Source Monitored Resource Type.
    Items List<MonitoredResourcesSearchAssociationItem>
    List of Monitored Resource Associations.
    SourceResourceId string
    Source Monitored Resource Identifier OCID.
    SourceResourceName string
    Source Monitored Resource Name.
    SourceResourceType string

    Source Monitored Resource Type.

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

    AssociationType string
    Association type filter to search associated resources.
    CompartmentId string
    Compartment Identifier OCID.
    DestinationResourceId string
    Destination Monitored Resource Identifier OCID.
    DestinationResourceName string
    Source Monitored Resource Name.
    DestinationResourceType string
    Source Monitored Resource Type.
    Items []MonitoredResourcesSearchAssociationItemArgs
    List of Monitored Resource Associations.
    SourceResourceId string
    Source Monitored Resource Identifier OCID.
    SourceResourceName string
    Source Monitored Resource Name.
    SourceResourceType string

    Source Monitored Resource Type.

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

    associationType String
    Association type filter to search associated resources.
    compartmentId String
    Compartment Identifier OCID.
    destinationResourceId String
    Destination Monitored Resource Identifier OCID.
    destinationResourceName String
    Source Monitored Resource Name.
    destinationResourceType String
    Source Monitored Resource Type.
    items List<MonitoredResourcesSearchAssociationItem>
    List of Monitored Resource Associations.
    sourceResourceId String
    Source Monitored Resource Identifier OCID.
    sourceResourceName String
    Source Monitored Resource Name.
    sourceResourceType String

    Source Monitored Resource Type.

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

    associationType string
    Association type filter to search associated resources.
    compartmentId string
    Compartment Identifier OCID.
    destinationResourceId string
    Destination Monitored Resource Identifier OCID.
    destinationResourceName string
    Source Monitored Resource Name.
    destinationResourceType string
    Source Monitored Resource Type.
    items MonitoredResourcesSearchAssociationItem[]
    List of Monitored Resource Associations.
    sourceResourceId string
    Source Monitored Resource Identifier OCID.
    sourceResourceName string
    Source Monitored Resource Name.
    sourceResourceType string

    Source Monitored Resource Type.

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

    association_type str
    Association type filter to search associated resources.
    compartment_id str
    Compartment Identifier OCID.
    destination_resource_id str
    Destination Monitored Resource Identifier OCID.
    destination_resource_name str
    Source Monitored Resource Name.
    destination_resource_type str
    Source Monitored Resource Type.
    items Sequence[stackmonitoring.MonitoredResourcesSearchAssociationItemArgs]
    List of Monitored Resource Associations.
    source_resource_id str
    Source Monitored Resource Identifier OCID.
    source_resource_name str
    Source Monitored Resource Name.
    source_resource_type str

    Source Monitored Resource Type.

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

    associationType String
    Association type filter to search associated resources.
    compartmentId String
    Compartment Identifier OCID.
    destinationResourceId String
    Destination Monitored Resource Identifier OCID.
    destinationResourceName String
    Source Monitored Resource Name.
    destinationResourceType String
    Source Monitored Resource Type.
    items List<Property Map>
    List of Monitored Resource Associations.
    sourceResourceId String
    Source Monitored Resource Identifier OCID.
    sourceResourceName String
    Source Monitored Resource Name.
    sourceResourceType String

    Source Monitored Resource Type.

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

    MonitoredResourcesSearchAssociationItem, MonitoredResourcesSearchAssociationItemArgs

    AssociationType string
    Association type filter to search associated resources.
    DestinationResourceDetails List<MonitoredResourcesSearchAssociationItemDestinationResourceDetail>
    Association Resource Details.
    DestinationResourceId string
    Destination Monitored Resource Identifier OCID.
    SourceResourceDetails List<MonitoredResourcesSearchAssociationItemSourceResourceDetail>
    Association Resource Details.
    SourceResourceId string
    Source Monitored Resource Identifier OCID.
    TimeCreated string
    The association creation time. An RFC3339 formatted datetime string.
    AssociationType string
    Association type filter to search associated resources.
    DestinationResourceDetails []MonitoredResourcesSearchAssociationItemDestinationResourceDetail
    Association Resource Details.
    DestinationResourceId string
    Destination Monitored Resource Identifier OCID.
    SourceResourceDetails []MonitoredResourcesSearchAssociationItemSourceResourceDetail
    Association Resource Details.
    SourceResourceId string
    Source Monitored Resource Identifier OCID.
    TimeCreated string
    The association creation time. An RFC3339 formatted datetime string.
    associationType String
    Association type filter to search associated resources.
    destinationResourceDetails List<MonitoredResourcesSearchAssociationItemDestinationResourceDetail>
    Association Resource Details.
    destinationResourceId String
    Destination Monitored Resource Identifier OCID.
    sourceResourceDetails List<MonitoredResourcesSearchAssociationItemSourceResourceDetail>
    Association Resource Details.
    sourceResourceId String
    Source Monitored Resource Identifier OCID.
    timeCreated String
    The association creation time. An RFC3339 formatted datetime string.
    associationType string
    Association type filter to search associated resources.
    destinationResourceDetails MonitoredResourcesSearchAssociationItemDestinationResourceDetail[]
    Association Resource Details.
    destinationResourceId string
    Destination Monitored Resource Identifier OCID.
    sourceResourceDetails MonitoredResourcesSearchAssociationItemSourceResourceDetail[]
    Association Resource Details.
    sourceResourceId string
    Source Monitored Resource Identifier OCID.
    timeCreated string
    The association creation time. An RFC3339 formatted datetime string.
    association_type str
    Association type filter to search associated resources.
    destination_resource_details Sequence[stackmonitoring.MonitoredResourcesSearchAssociationItemDestinationResourceDetail]
    Association Resource Details.
    destination_resource_id str
    Destination Monitored Resource Identifier OCID.
    source_resource_details Sequence[stackmonitoring.MonitoredResourcesSearchAssociationItemSourceResourceDetail]
    Association Resource Details.
    source_resource_id str
    Source Monitored Resource Identifier OCID.
    time_created str
    The association creation time. An RFC3339 formatted datetime string.
    associationType String
    Association type filter to search associated resources.
    destinationResourceDetails List<Property Map>
    Association Resource Details.
    destinationResourceId String
    Destination Monitored Resource Identifier OCID.
    sourceResourceDetails List<Property Map>
    Association Resource Details.
    sourceResourceId String
    Source Monitored Resource Identifier OCID.
    timeCreated String
    The association creation time. An RFC3339 formatted datetime string.

    MonitoredResourcesSearchAssociationItemDestinationResourceDetail, MonitoredResourcesSearchAssociationItemDestinationResourceDetailArgs

    CompartmentId string
    Compartment Identifier OCID.
    Name string
    Monitored Resource Name.
    Type string
    Monitored Resource Type.
    CompartmentId string
    Compartment Identifier OCID.
    Name string
    Monitored Resource Name.
    Type string
    Monitored Resource Type.
    compartmentId String
    Compartment Identifier OCID.
    name String
    Monitored Resource Name.
    type String
    Monitored Resource Type.
    compartmentId string
    Compartment Identifier OCID.
    name string
    Monitored Resource Name.
    type string
    Monitored Resource Type.
    compartment_id str
    Compartment Identifier OCID.
    name str
    Monitored Resource Name.
    type str
    Monitored Resource Type.
    compartmentId String
    Compartment Identifier OCID.
    name String
    Monitored Resource Name.
    type String
    Monitored Resource Type.

    MonitoredResourcesSearchAssociationItemSourceResourceDetail, MonitoredResourcesSearchAssociationItemSourceResourceDetailArgs

    CompartmentId string
    Compartment Identifier OCID.
    Name string
    Monitored Resource Name.
    Type string
    Monitored Resource Type.
    CompartmentId string
    Compartment Identifier OCID.
    Name string
    Monitored Resource Name.
    Type string
    Monitored Resource Type.
    compartmentId String
    Compartment Identifier OCID.
    name String
    Monitored Resource Name.
    type String
    Monitored Resource Type.
    compartmentId string
    Compartment Identifier OCID.
    name string
    Monitored Resource Name.
    type string
    Monitored Resource Type.
    compartment_id str
    Compartment Identifier OCID.
    name str
    Monitored Resource Name.
    type str
    Monitored Resource Type.
    compartmentId String
    Compartment Identifier OCID.
    name String
    Monitored Resource Name.
    type String
    Monitored Resource Type.

    Import

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

    $ pulumi import oci:StackMonitoring/monitoredResourcesSearchAssociation:MonitoredResourcesSearchAssociation test_monitored_resources_search_association "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.41.0 published on Wednesday, Jun 19, 2024 by Pulumi