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

oci.StackMonitoring.getMonitoredResource

Explore with Pulumi AI

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

    This data source provides details about a specific Monitored Resource resource in Oracle Cloud Infrastructure Stack Monitoring service.

    Get monitored resource for the given identifier OCID.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testMonitoredResource = oci.StackMonitoring.getMonitoredResource({
        monitoredResourceId: testMonitoredResourceOciStackMonitoringMonitoredResource.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_monitored_resource = oci.StackMonitoring.get_monitored_resource(monitored_resource_id=test_monitored_resource_oci_stack_monitoring_monitored_resource["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/StackMonitoring"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := StackMonitoring.GetMonitoredResource(ctx, &stackmonitoring.GetMonitoredResourceArgs{
    			MonitoredResourceId: testMonitoredResourceOciStackMonitoringMonitoredResource.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 testMonitoredResource = Oci.StackMonitoring.GetMonitoredResource.Invoke(new()
        {
            MonitoredResourceId = testMonitoredResourceOciStackMonitoringMonitoredResource.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.StackMonitoring.StackMonitoringFunctions;
    import com.pulumi.oci.StackMonitoring.inputs.GetMonitoredResourceArgs;
    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 testMonitoredResource = StackMonitoringFunctions.getMonitoredResource(GetMonitoredResourceArgs.builder()
                .monitoredResourceId(testMonitoredResourceOciStackMonitoringMonitoredResource.id())
                .build());
    
        }
    }
    
    variables:
      testMonitoredResource:
        fn::invoke:
          Function: oci:StackMonitoring:getMonitoredResource
          Arguments:
            monitoredResourceId: ${testMonitoredResourceOciStackMonitoringMonitoredResource.id}
    

    Using getMonitoredResource

    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 getMonitoredResource(args: GetMonitoredResourceArgs, opts?: InvokeOptions): Promise<GetMonitoredResourceResult>
    function getMonitoredResourceOutput(args: GetMonitoredResourceOutputArgs, opts?: InvokeOptions): Output<GetMonitoredResourceResult>
    def get_monitored_resource(monitored_resource_id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetMonitoredResourceResult
    def get_monitored_resource_output(monitored_resource_id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetMonitoredResourceResult]
    func GetMonitoredResource(ctx *Context, args *GetMonitoredResourceArgs, opts ...InvokeOption) (*GetMonitoredResourceResult, error)
    func GetMonitoredResourceOutput(ctx *Context, args *GetMonitoredResourceOutputArgs, opts ...InvokeOption) GetMonitoredResourceResultOutput

    > Note: This function is named GetMonitoredResource in the Go SDK.

    public static class GetMonitoredResource 
    {
        public static Task<GetMonitoredResourceResult> InvokeAsync(GetMonitoredResourceArgs args, InvokeOptions? opts = null)
        public static Output<GetMonitoredResourceResult> Invoke(GetMonitoredResourceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMonitoredResourceResult> getMonitoredResource(GetMonitoredResourceArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:StackMonitoring/getMonitoredResource:getMonitoredResource
      arguments:
        # arguments dictionary

    The following arguments are supported:

    MonitoredResourceId string
    The OCID of monitored resource.
    MonitoredResourceId string
    The OCID of monitored resource.
    monitoredResourceId String
    The OCID of monitored resource.
    monitoredResourceId string
    The OCID of monitored resource.
    monitored_resource_id str
    The OCID of monitored resource.
    monitoredResourceId String
    The OCID of monitored resource.

    getMonitoredResource Result

    The following output properties are available:

    AdditionalAliases List<GetMonitoredResourceAdditionalAlias>
    AdditionalCredentials List<GetMonitoredResourceAdditionalCredential>
    Aliases List<GetMonitoredResourceAlias>
    Monitored Resource Alias Credential Details
    CompartmentId string
    Compartment Identifier OCID.
    Credentials List<GetMonitoredResourceCredential>
    Monitored Resource Credential Details.
    DatabaseConnectionDetails List<GetMonitoredResourceDatabaseConnectionDetail>
    Connection details for the database.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    Monitored resource display name.
    ExternalId string
    The external resource identifier OCID. External resource is any Oracle Cloud Infrastructure resource which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance.
    ExternalResourceId string
    FreeformTags Dictionary<string, string>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    HostName string
    Monitored resource host name.
    Id string
    Monitored resource identifier OCID.
    License string
    License edition of the monitored resource.
    ManagementAgentId string
    Management Agent Identifier OCID.
    MonitoredResourceId string
    Name string
    Property Name.
    Properties List<GetMonitoredResourceProperty>
    List of monitored resource properties.
    ResourceCategory string
    Resource Category to indicate the kind of resource type.
    ResourceTimeZone string
    Time zone in the form of tz database canonical zone ID.
    SourceType string
    Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.
    State string
    Lifecycle state of the monitored resource.
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TenantId string
    Tenancy Identifier OCID.
    TimeCreated string
    The date and time when the monitored resource was created, expressed in RFC 3339 timestamp format.
    TimeUpdated string
    The date and time when the monitored resource was last updated, expressed in RFC 3339 timestamp format.
    Type string
    Monitored Resource Type.
    AdditionalAliases []GetMonitoredResourceAdditionalAlias
    AdditionalCredentials []GetMonitoredResourceAdditionalCredential
    Aliases []GetMonitoredResourceAlias
    Monitored Resource Alias Credential Details
    CompartmentId string
    Compartment Identifier OCID.
    Credentials []GetMonitoredResourceCredential
    Monitored Resource Credential Details.
    DatabaseConnectionDetails []GetMonitoredResourceDatabaseConnectionDetail
    Connection details for the database.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    Monitored resource display name.
    ExternalId string
    The external resource identifier OCID. External resource is any Oracle Cloud Infrastructure resource which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance.
    ExternalResourceId string
    FreeformTags map[string]string
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    HostName string
    Monitored resource host name.
    Id string
    Monitored resource identifier OCID.
    License string
    License edition of the monitored resource.
    ManagementAgentId string
    Management Agent Identifier OCID.
    MonitoredResourceId string
    Name string
    Property Name.
    Properties []GetMonitoredResourceProperty
    List of monitored resource properties.
    ResourceCategory string
    Resource Category to indicate the kind of resource type.
    ResourceTimeZone string
    Time zone in the form of tz database canonical zone ID.
    SourceType string
    Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.
    State string
    Lifecycle state of the monitored resource.
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TenantId string
    Tenancy Identifier OCID.
    TimeCreated string
    The date and time when the monitored resource was created, expressed in RFC 3339 timestamp format.
    TimeUpdated string
    The date and time when the monitored resource was last updated, expressed in RFC 3339 timestamp format.
    Type string
    Monitored Resource Type.
    additionalAliases List<GetMonitoredResourceAdditionalAlias>
    additionalCredentials List<GetMonitoredResourceAdditionalCredential>
    aliases List<GetMonitoredResourceAlias>
    Monitored Resource Alias Credential Details
    compartmentId String
    Compartment Identifier OCID.
    credentials List<GetMonitoredResourceCredential>
    Monitored Resource Credential Details.
    databaseConnectionDetails List<GetMonitoredResourceDatabaseConnectionDetail>
    Connection details for the database.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    Monitored resource display name.
    externalId String
    The external resource identifier OCID. External resource is any Oracle Cloud Infrastructure resource which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance.
    externalResourceId String
    freeformTags Map<String,String>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    hostName String
    Monitored resource host name.
    id String
    Monitored resource identifier OCID.
    license String
    License edition of the monitored resource.
    managementAgentId String
    Management Agent Identifier OCID.
    monitoredResourceId String
    name String
    Property Name.
    properties List<GetMonitoredResourceProperty>
    List of monitored resource properties.
    resourceCategory String
    Resource Category to indicate the kind of resource type.
    resourceTimeZone String
    Time zone in the form of tz database canonical zone ID.
    sourceType String
    Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.
    state String
    Lifecycle state of the monitored resource.
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    tenantId String
    Tenancy Identifier OCID.
    timeCreated String
    The date and time when the monitored resource was created, expressed in RFC 3339 timestamp format.
    timeUpdated String
    The date and time when the monitored resource was last updated, expressed in RFC 3339 timestamp format.
    type String
    Monitored Resource Type.
    additionalAliases GetMonitoredResourceAdditionalAlias[]
    additionalCredentials GetMonitoredResourceAdditionalCredential[]
    aliases GetMonitoredResourceAlias[]
    Monitored Resource Alias Credential Details
    compartmentId string
    Compartment Identifier OCID.
    credentials GetMonitoredResourceCredential[]
    Monitored Resource Credential Details.
    databaseConnectionDetails GetMonitoredResourceDatabaseConnectionDetail[]
    Connection details for the database.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName string
    Monitored resource display name.
    externalId string
    The external resource identifier OCID. External resource is any Oracle Cloud Infrastructure resource which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance.
    externalResourceId string
    freeformTags {[key: string]: string}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    hostName string
    Monitored resource host name.
    id string
    Monitored resource identifier OCID.
    license string
    License edition of the monitored resource.
    managementAgentId string
    Management Agent Identifier OCID.
    monitoredResourceId string
    name string
    Property Name.
    properties GetMonitoredResourceProperty[]
    List of monitored resource properties.
    resourceCategory string
    Resource Category to indicate the kind of resource type.
    resourceTimeZone string
    Time zone in the form of tz database canonical zone ID.
    sourceType string
    Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.
    state string
    Lifecycle state of the monitored resource.
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    tenantId string
    Tenancy Identifier OCID.
    timeCreated string
    The date and time when the monitored resource was created, expressed in RFC 3339 timestamp format.
    timeUpdated string
    The date and time when the monitored resource was last updated, expressed in RFC 3339 timestamp format.
    type string
    Monitored Resource Type.
    additional_aliases Sequence[stackmonitoring.GetMonitoredResourceAdditionalAlias]
    additional_credentials Sequence[stackmonitoring.GetMonitoredResourceAdditionalCredential]
    aliases Sequence[stackmonitoring.GetMonitoredResourceAlias]
    Monitored Resource Alias Credential Details
    compartment_id str
    Compartment Identifier OCID.
    credentials Sequence[stackmonitoring.GetMonitoredResourceCredential]
    Monitored Resource Credential Details.
    database_connection_details Sequence[stackmonitoring.GetMonitoredResourceDatabaseConnectionDetail]
    Connection details for the database.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    display_name str
    Monitored resource display name.
    external_id str
    The external resource identifier OCID. External resource is any Oracle Cloud Infrastructure resource which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance.
    external_resource_id str
    freeform_tags Mapping[str, str]
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    host_name str
    Monitored resource host name.
    id str
    Monitored resource identifier OCID.
    license str
    License edition of the monitored resource.
    management_agent_id str
    Management Agent Identifier OCID.
    monitored_resource_id str
    name str
    Property Name.
    properties Sequence[stackmonitoring.GetMonitoredResourceProperty]
    List of monitored resource properties.
    resource_category str
    Resource Category to indicate the kind of resource type.
    resource_time_zone str
    Time zone in the form of tz database canonical zone ID.
    source_type str
    Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.
    state str
    Lifecycle state of the monitored resource.
    system_tags Mapping[str, str]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    tenant_id str
    Tenancy Identifier OCID.
    time_created str
    The date and time when the monitored resource was created, expressed in RFC 3339 timestamp format.
    time_updated str
    The date and time when the monitored resource was last updated, expressed in RFC 3339 timestamp format.
    type str
    Monitored Resource Type.
    additionalAliases List<Property Map>
    additionalCredentials List<Property Map>
    aliases List<Property Map>
    Monitored Resource Alias Credential Details
    compartmentId String
    Compartment Identifier OCID.
    credentials List<Property Map>
    Monitored Resource Credential Details.
    databaseConnectionDetails List<Property Map>
    Connection details for the database.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    Monitored resource display name.
    externalId String
    The external resource identifier OCID. External resource is any Oracle Cloud Infrastructure resource which is not a Stack Monitoring service resource. Currently supports only following resource types - Container database, non-container database, pluggable database and Oracle Cloud Infrastructure compute instance.
    externalResourceId String
    freeformTags Map<String>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    hostName String
    Monitored resource host name.
    id String
    Monitored resource identifier OCID.
    license String
    License edition of the monitored resource.
    managementAgentId String
    Management Agent Identifier OCID.
    monitoredResourceId String
    name String
    Property Name.
    properties List<Property Map>
    List of monitored resource properties.
    resourceCategory String
    Resource Category to indicate the kind of resource type.
    resourceTimeZone String
    Time zone in the form of tz database canonical zone ID.
    sourceType String
    Source type to indicate if the resource is stack monitoring discovered, Oracle Cloud Infrastructure native resource, etc.
    state String
    Lifecycle state of the monitored resource.
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    tenantId String
    Tenancy Identifier OCID.
    timeCreated String
    The date and time when the monitored resource was created, expressed in RFC 3339 timestamp format.
    timeUpdated String
    The date and time when the monitored resource was last updated, expressed in RFC 3339 timestamp format.
    type String
    Monitored Resource Type.

    Supporting Types

    GetMonitoredResourceAdditionalAlias

    Credentials List<GetMonitoredResourceAdditionalAliasCredential>
    Monitored Resource Alias Reference Source Credential.
    Name string
    Property Name.
    Source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    Credentials []GetMonitoredResourceAdditionalAliasCredential
    Monitored Resource Alias Reference Source Credential.
    Name string
    Property Name.
    Source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    credentials List<GetMonitoredResourceAdditionalAliasCredential>
    Monitored Resource Alias Reference Source Credential.
    name String
    Property Name.
    source String
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    credentials GetMonitoredResourceAdditionalAliasCredential[]
    Monitored Resource Alias Reference Source Credential.
    name string
    Property Name.
    source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    credentials Sequence[stackmonitoring.GetMonitoredResourceAdditionalAliasCredential]
    Monitored Resource Alias Reference Source Credential.
    name str
    Property Name.
    source str
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    credentials List<Property Map>
    Monitored Resource Alias Reference Source Credential.
    name String
    Property Name.
    source String
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.

    GetMonitoredResourceAdditionalAliasCredential

    Name string
    Property Name.
    Service string
    The name of the service owning the credential. Example: stack-monitoring or dbmgmt
    Source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    Name string
    Property Name.
    Service string
    The name of the service owning the credential. Example: stack-monitoring or dbmgmt
    Source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    name String
    Property Name.
    service String
    The name of the service owning the credential. Example: stack-monitoring or dbmgmt
    source String
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    name string
    Property Name.
    service string
    The name of the service owning the credential. Example: stack-monitoring or dbmgmt
    source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    name str
    Property Name.
    service str
    The name of the service owning the credential. Example: stack-monitoring or dbmgmt
    source str
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    name String
    Property Name.
    service String
    The name of the service owning the credential. Example: stack-monitoring or dbmgmt
    source String
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.

    GetMonitoredResourceAdditionalCredential

    CredentialType string
    Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED.

    • EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential.
    • PLAINTEXT - The credential properties will have credentials in plain text format.
    • ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent.
    Description string
    The user-specified textual description of the credential.
    KeyId string
    The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key.
    Name string
    Property Name.
    Properties List<GetMonitoredResourceAdditionalCredentialProperty>
    List of monitored resource properties.
    Source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    Type string
    Monitored Resource Type.
    CredentialType string
    Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED.

    • EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential.
    • PLAINTEXT - The credential properties will have credentials in plain text format.
    • ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent.
    Description string
    The user-specified textual description of the credential.
    KeyId string
    The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key.
    Name string
    Property Name.
    Properties []GetMonitoredResourceAdditionalCredentialProperty
    List of monitored resource properties.
    Source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    Type string
    Monitored Resource Type.
    credentialType String
    Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED.

    • EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential.
    • PLAINTEXT - The credential properties will have credentials in plain text format.
    • ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent.
    description String
    The user-specified textual description of the credential.
    keyId String
    The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key.
    name String
    Property Name.
    properties List<GetMonitoredResourceAdditionalCredentialProperty>
    List of monitored resource properties.
    source String
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    type String
    Monitored Resource Type.
    credentialType string
    Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED.

    • EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential.
    • PLAINTEXT - The credential properties will have credentials in plain text format.
    • ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent.
    description string
    The user-specified textual description of the credential.
    keyId string
    The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key.
    name string
    Property Name.
    properties GetMonitoredResourceAdditionalCredentialProperty[]
    List of monitored resource properties.
    source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    type string
    Monitored Resource Type.
    credential_type str
    Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED.

    • EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential.
    • PLAINTEXT - The credential properties will have credentials in plain text format.
    • ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent.
    description str
    The user-specified textual description of the credential.
    key_id str
    The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key.
    name str
    Property Name.
    properties Sequence[stackmonitoring.GetMonitoredResourceAdditionalCredentialProperty]
    List of monitored resource properties.
    source str
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    type str
    Monitored Resource Type.
    credentialType String
    Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED.

    • EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential.
    • PLAINTEXT - The credential properties will have credentials in plain text format.
    • ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent.
    description String
    The user-specified textual description of the credential.
    keyId String
    The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key.
    name String
    Property Name.
    properties List<Property Map>
    List of monitored resource properties.
    source String
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    type String
    Monitored Resource Type.

    GetMonitoredResourceAdditionalCredentialProperty

    Name string
    Property Name.
    Value string
    Property Value.
    Name string
    Property Name.
    Value string
    Property Value.
    name String
    Property Name.
    value String
    Property Value.
    name string
    Property Name.
    value string
    Property Value.
    name str
    Property Name.
    value str
    Property Value.
    name String
    Property Name.
    value String
    Property Value.

    GetMonitoredResourceAlias

    Credentials List<GetMonitoredResourceAliasCredential>
    Monitored Resource Alias Reference Source Credential.
    Name string
    Property Name.
    Source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    Credentials []GetMonitoredResourceAliasCredential
    Monitored Resource Alias Reference Source Credential.
    Name string
    Property Name.
    Source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    credentials List<GetMonitoredResourceAliasCredential>
    Monitored Resource Alias Reference Source Credential.
    name String
    Property Name.
    source String
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    credentials GetMonitoredResourceAliasCredential[]
    Monitored Resource Alias Reference Source Credential.
    name string
    Property Name.
    source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    credentials Sequence[stackmonitoring.GetMonitoredResourceAliasCredential]
    Monitored Resource Alias Reference Source Credential.
    name str
    Property Name.
    source str
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    credentials List<Property Map>
    Monitored Resource Alias Reference Source Credential.
    name String
    Property Name.
    source String
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.

    GetMonitoredResourceAliasCredential

    Name string
    Property Name.
    Service string
    The name of the service owning the credential. Example: stack-monitoring or dbmgmt
    Source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    Name string
    Property Name.
    Service string
    The name of the service owning the credential. Example: stack-monitoring or dbmgmt
    Source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    name String
    Property Name.
    service String
    The name of the service owning the credential. Example: stack-monitoring or dbmgmt
    source String
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    name string
    Property Name.
    service string
    The name of the service owning the credential. Example: stack-monitoring or dbmgmt
    source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    name str
    Property Name.
    service str
    The name of the service owning the credential. Example: stack-monitoring or dbmgmt
    source str
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    name String
    Property Name.
    service String
    The name of the service owning the credential. Example: stack-monitoring or dbmgmt
    source String
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.

    GetMonitoredResourceCredential

    CredentialType string
    Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED.

    • EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential.
    • PLAINTEXT - The credential properties will have credentials in plain text format.
    • ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent.
    Description string
    The user-specified textual description of the credential.
    KeyId string
    The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key.
    Name string
    Property Name.
    Properties List<GetMonitoredResourceCredentialProperty>
    List of monitored resource properties.
    Source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    Type string
    Monitored Resource Type.
    CredentialType string
    Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED.

    • EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential.
    • PLAINTEXT - The credential properties will have credentials in plain text format.
    • ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent.
    Description string
    The user-specified textual description of the credential.
    KeyId string
    The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key.
    Name string
    Property Name.
    Properties []GetMonitoredResourceCredentialProperty
    List of monitored resource properties.
    Source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    Type string
    Monitored Resource Type.
    credentialType String
    Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED.

    • EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential.
    • PLAINTEXT - The credential properties will have credentials in plain text format.
    • ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent.
    description String
    The user-specified textual description of the credential.
    keyId String
    The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key.
    name String
    Property Name.
    properties List<GetMonitoredResourceCredentialProperty>
    List of monitored resource properties.
    source String
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    type String
    Monitored Resource Type.
    credentialType string
    Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED.

    • EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential.
    • PLAINTEXT - The credential properties will have credentials in plain text format.
    • ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent.
    description string
    The user-specified textual description of the credential.
    keyId string
    The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key.
    name string
    Property Name.
    properties GetMonitoredResourceCredentialProperty[]
    List of monitored resource properties.
    source string
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    type string
    Monitored Resource Type.
    credential_type str
    Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED.

    • EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential.
    • PLAINTEXT - The credential properties will have credentials in plain text format.
    • ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent.
    description str
    The user-specified textual description of the credential.
    key_id str
    The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key.
    name str
    Property Name.
    properties Sequence[stackmonitoring.GetMonitoredResourceCredentialProperty]
    List of monitored resource properties.
    source str
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    type str
    Monitored Resource Type.
    credentialType String
    Type of credentials specified in the credentials element. Three possible values - EXISTING, PLAINTEXT and ENCRYPTED.

    • EXISTING - Credential is already stored in agent and only credential name need to be passed for existing credential.
    • PLAINTEXT - The credential properties will have credentials in plain text format.
    • ENCRYPTED - The credential properties will have credentials stored in vault in encrypted format using KMS client which uses master key for encryption. The same master key will be used to decrypt the credentials before passing on to the management agent.
    description String
    The user-specified textual description of the credential.
    keyId String
    The master key should be created in Oracle Cloud Infrastructure Vault owned by the client of this API. The user should have permission to access the vault key.
    name String
    Property Name.
    properties List<Property Map>
    List of monitored resource properties.
    source String
    The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63.
    type String
    Monitored Resource Type.

    GetMonitoredResourceCredentialProperty

    Name string
    Property Name.
    Value string
    Property Value.
    Name string
    Property Name.
    Value string
    Property Value.
    name String
    Property Name.
    value String
    Property Value.
    name string
    Property Name.
    value string
    Property Value.
    name str
    Property Name.
    value str
    Property Value.
    name String
    Property Name.
    value String
    Property Value.

    GetMonitoredResourceDatabaseConnectionDetail

    ConnectorId string
    Database connector Identifier OCID.
    DbId string
    dbId of the database.
    DbUniqueName string
    UniqueName used for database connection requests.
    Port int
    Listener Port number used for connection requests.
    Protocol string
    Protocol used in DB connection string when connecting to external database service.
    ServiceName string
    Service name used for connection requests.
    SslSecretId string
    SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure VaultOCID.
    ConnectorId string
    Database connector Identifier OCID.
    DbId string
    dbId of the database.
    DbUniqueName string
    UniqueName used for database connection requests.
    Port int
    Listener Port number used for connection requests.
    Protocol string
    Protocol used in DB connection string when connecting to external database service.
    ServiceName string
    Service name used for connection requests.
    SslSecretId string
    SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure VaultOCID.
    connectorId String
    Database connector Identifier OCID.
    dbId String
    dbId of the database.
    dbUniqueName String
    UniqueName used for database connection requests.
    port Integer
    Listener Port number used for connection requests.
    protocol String
    Protocol used in DB connection string when connecting to external database service.
    serviceName String
    Service name used for connection requests.
    sslSecretId String
    SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure VaultOCID.
    connectorId string
    Database connector Identifier OCID.
    dbId string
    dbId of the database.
    dbUniqueName string
    UniqueName used for database connection requests.
    port number
    Listener Port number used for connection requests.
    protocol string
    Protocol used in DB connection string when connecting to external database service.
    serviceName string
    Service name used for connection requests.
    sslSecretId string
    SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure VaultOCID.
    connector_id str
    Database connector Identifier OCID.
    db_id str
    dbId of the database.
    db_unique_name str
    UniqueName used for database connection requests.
    port int
    Listener Port number used for connection requests.
    protocol str
    Protocol used in DB connection string when connecting to external database service.
    service_name str
    Service name used for connection requests.
    ssl_secret_id str
    SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure VaultOCID.
    connectorId String
    Database connector Identifier OCID.
    dbId String
    dbId of the database.
    dbUniqueName String
    UniqueName used for database connection requests.
    port Number
    Listener Port number used for connection requests.
    protocol String
    Protocol used in DB connection string when connecting to external database service.
    serviceName String
    Service name used for connection requests.
    sslSecretId String
    SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure VaultOCID.

    GetMonitoredResourceProperty

    Name string
    Property Name.
    Value string
    Property Value.
    Name string
    Property Name.
    Value string
    Property Value.
    name String
    Property Name.
    value String
    Property Value.
    name string
    Property Name.
    value string
    Property Value.
    name str
    Property Name.
    value str
    Property Value.
    name String
    Property Name.
    value String
    Property Value.

    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