Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.StackMonitoring.getMonitoredResource
Explore with Pulumi AI
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 LookupMonitoredResource(ctx *Context, args *LookupMonitoredResourceArgs, opts ...InvokeOption) (*LookupMonitoredResourceResult, error)
func LookupMonitoredResourceOutput(ctx *Context, args *LookupMonitoredResourceOutputArgs, opts ...InvokeOption) LookupMonitoredResourceResultOutput> Note: This function is named LookupMonitoredResource 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)
public static Output<GetMonitoredResourceResult> getMonitoredResource(GetMonitoredResourceArgs args, InvokeOptions options)
fn::invoke:
  function: oci:StackMonitoring/getMonitoredResource:getMonitoredResource
  arguments:
    # arguments dictionaryThe following arguments are supported:
- MonitoredResource stringId 
- The OCID of monitored resource.
- MonitoredResource stringId 
- The OCID of monitored resource.
- monitoredResource StringId 
- The OCID of monitored resource.
- monitoredResource stringId 
- The OCID of monitored resource.
- monitored_resource_ strid 
- The OCID of monitored resource.
- monitoredResource StringId 
- The OCID of monitored resource.
getMonitoredResource Result
The following output properties are available:
- AdditionalAliases List<GetMonitored Resource Additional Alias> 
- AdditionalCredentials List<GetMonitored Resource Additional Credential> 
- Aliases
List<GetMonitored Resource Alias> 
- Monitored Resource Alias Credential Details
- CompartmentId string
- Compartment Identifier OCID.
- Credentials
List<GetMonitored Resource Credential> 
- Monitored Resource Credential Details.
- DatabaseConnection List<GetDetails Monitored Resource Database Connection Detail> 
- Connection details for the database.
- 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.
- ExternalResource stringId 
- 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.
- ManagementAgent stringId 
- Management Agent Identifier OCID.
- MonitoredResource stringId 
- Name string
- Property Name.
- Properties
List<GetMonitored Resource Property> 
- List of monitored resource properties.
- ResourceCategory string
- Resource Category to indicate the kind of resource type.
- ResourceTime stringZone 
- 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.
- 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 []GetMonitored Resource Additional Alias 
- AdditionalCredentials []GetMonitored Resource Additional Credential 
- Aliases
[]GetMonitored Resource Alias 
- Monitored Resource Alias Credential Details
- CompartmentId string
- Compartment Identifier OCID.
- Credentials
[]GetMonitored Resource Credential 
- Monitored Resource Credential Details.
- DatabaseConnection []GetDetails Monitored Resource Database Connection Detail 
- Connection details for the database.
- 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.
- ExternalResource stringId 
- 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.
- ManagementAgent stringId 
- Management Agent Identifier OCID.
- MonitoredResource stringId 
- Name string
- Property Name.
- Properties
[]GetMonitored Resource Property 
- List of monitored resource properties.
- ResourceCategory string
- Resource Category to indicate the kind of resource type.
- ResourceTime stringZone 
- 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.
- 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<GetMonitored Resource Additional Alias> 
- additionalCredentials List<GetMonitored Resource Additional Credential> 
- aliases
List<GetMonitored Resource Alias> 
- Monitored Resource Alias Credential Details
- compartmentId String
- Compartment Identifier OCID.
- credentials
List<GetMonitored Resource Credential> 
- Monitored Resource Credential Details.
- databaseConnection List<GetDetails Monitored Resource Database Connection Detail> 
- Connection details for the database.
- 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.
- externalResource StringId 
- 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.
- managementAgent StringId 
- Management Agent Identifier OCID.
- monitoredResource StringId 
- name String
- Property Name.
- properties
List<GetMonitored Resource Property> 
- List of monitored resource properties.
- resourceCategory String
- Resource Category to indicate the kind of resource type.
- resourceTime StringZone 
- 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.
- 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 GetMonitored Resource Additional Alias[] 
- additionalCredentials GetMonitored Resource Additional Credential[] 
- aliases
GetMonitored Resource Alias[] 
- Monitored Resource Alias Credential Details
- compartmentId string
- Compartment Identifier OCID.
- credentials
GetMonitored Resource Credential[] 
- Monitored Resource Credential Details.
- databaseConnection GetDetails Monitored Resource Database Connection Detail[] 
- Connection details for the database.
- {[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.
- externalResource stringId 
- {[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.
- managementAgent stringId 
- Management Agent Identifier OCID.
- monitoredResource stringId 
- name string
- Property Name.
- properties
GetMonitored Resource Property[] 
- List of monitored resource properties.
- resourceCategory string
- Resource Category to indicate the kind of resource type.
- resourceTime stringZone 
- 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.
- {[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[GetMonitored Resource Additional Alias] 
- additional_credentials Sequence[GetMonitored Resource Additional Credential] 
- aliases
Sequence[GetMonitored Resource Alias] 
- Monitored Resource Alias Credential Details
- compartment_id str
- Compartment Identifier OCID.
- credentials
Sequence[GetMonitored Resource Credential] 
- Monitored Resource Credential Details.
- database_connection_ Sequence[Getdetails Monitored Resource Database Connection Detail] 
- Connection details for the database.
- 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_ strid 
- 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_ strid 
- Management Agent Identifier OCID.
- monitored_resource_ strid 
- name str
- Property Name.
- properties
Sequence[GetMonitored Resource Property] 
- List of monitored resource properties.
- resource_category str
- Resource Category to indicate the kind of resource type.
- resource_time_ strzone 
- 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.
- 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.
- databaseConnection List<Property Map>Details 
- Connection details for the database.
- 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.
- externalResource StringId 
- 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.
- managementAgent StringId 
- Management Agent Identifier OCID.
- monitoredResource StringId 
- name String
- Property Name.
- properties List<Property Map>
- List of monitored resource properties.
- resourceCategory String
- Resource Category to indicate the kind of resource type.
- resourceTime StringZone 
- 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.
- 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<GetMonitored Resource Additional Alias Credential> 
- 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
[]GetMonitored Resource Additional Alias Credential 
- 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<GetMonitored Resource Additional Alias Credential> 
- 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
GetMonitored Resource Additional Alias Credential[] 
- 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[GetMonitored Resource Additional Alias Credential] 
- 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     
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<GetMonitored Resource Additional Credential Property> 
- 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
[]GetMonitored Resource Additional Credential Property 
- 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<GetMonitored Resource Additional Credential Property> 
- 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
GetMonitored Resource Additional Credential Property[] 
- 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[GetMonitored Resource Additional Credential Property] 
- 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     
GetMonitoredResourceAlias   
- Credentials
List<GetMonitored Resource Alias Credential> 
- 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
[]GetMonitored Resource Alias Credential 
- 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<GetMonitored Resource Alias Credential> 
- 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
GetMonitored Resource Alias Credential[] 
- 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[GetMonitored Resource Alias Credential] 
- 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    
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<GetMonitored Resource Credential Property> 
- 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
[]GetMonitored Resource Credential Property 
- 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<GetMonitored Resource Credential Property> 
- 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
GetMonitored Resource Credential Property[] 
- 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[GetMonitored Resource Credential Property] 
- 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    
GetMonitoredResourceDatabaseConnectionDetail     
- ConnectorId string
- Database connector Identifier OCID.
- DbId string
- dbId of the database.
- DbUnique stringName 
- 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.
- SslSecret stringId 
- SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure VaultOCID.
- ConnectorId string
- Database connector Identifier OCID.
- DbId string
- dbId of the database.
- DbUnique stringName 
- 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.
- SslSecret stringId 
- SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure VaultOCID.
- connectorId String
- Database connector Identifier OCID.
- dbId String
- dbId of the database.
- dbUnique StringName 
- 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.
- sslSecret StringId 
- SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure VaultOCID.
- connectorId string
- Database connector Identifier OCID.
- dbId string
- dbId of the database.
- dbUnique stringName 
- 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.
- sslSecret stringId 
- 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_ strname 
- 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_ strid 
- SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure VaultOCID.
- connectorId String
- Database connector Identifier OCID.
- dbId String
- dbId of the database.
- dbUnique StringName 
- 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.
- sslSecret StringId 
- SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure VaultOCID.
GetMonitoredResourceProperty   
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.