Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.StackMonitoring.getMonitoredResources
Explore with Pulumi AI
This data source provides the list of Monitored Resources in Oracle Cloud Infrastructure Stack Monitoring service.
Returns a list of monitored resources.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMonitoredResources = oci.StackMonitoring.getMonitoredResources({
compartmentId: compartmentId,
name: monitoredResourceName,
status: monitoredResourceStatus,
workRequestId: testWorkRequest.id,
});
import pulumi
import pulumi_oci as oci
test_monitored_resources = oci.StackMonitoring.get_monitored_resources(compartment_id=compartment_id,
name=monitored_resource_name,
status=monitored_resource_status,
work_request_id=test_work_request["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.GetMonitoredResources(ctx, &stackmonitoring.GetMonitoredResourcesArgs{
CompartmentId: compartmentId,
Name: pulumi.StringRef(monitoredResourceName),
Status: pulumi.StringRef(monitoredResourceStatus),
WorkRequestId: pulumi.StringRef(testWorkRequest.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 testMonitoredResources = Oci.StackMonitoring.GetMonitoredResources.Invoke(new()
{
CompartmentId = compartmentId,
Name = monitoredResourceName,
Status = monitoredResourceStatus,
WorkRequestId = testWorkRequest.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.GetMonitoredResourcesArgs;
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 testMonitoredResources = StackMonitoringFunctions.getMonitoredResources(GetMonitoredResourcesArgs.builder()
.compartmentId(compartmentId)
.name(monitoredResourceName)
.status(monitoredResourceStatus)
.workRequestId(testWorkRequest.id())
.build());
}
}
variables:
testMonitoredResources:
fn::invoke:
Function: oci:StackMonitoring:getMonitoredResources
Arguments:
compartmentId: ${compartmentId}
name: ${monitoredResourceName}
status: ${monitoredResourceStatus}
workRequestId: ${testWorkRequest.id}
Using getMonitoredResources
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 getMonitoredResources(args: GetMonitoredResourcesArgs, opts?: InvokeOptions): Promise<GetMonitoredResourcesResult>
function getMonitoredResourcesOutput(args: GetMonitoredResourcesOutputArgs, opts?: InvokeOptions): Output<GetMonitoredResourcesResult>
def get_monitored_resources(compartment_id: Optional[str] = None,
filters: Optional[Sequence[_stackmonitoring.GetMonitoredResourcesFilter]] = None,
name: Optional[str] = None,
status: Optional[str] = None,
work_request_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMonitoredResourcesResult
def get_monitored_resources_output(compartment_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_stackmonitoring.GetMonitoredResourcesFilterArgs]]]] = None,
name: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
work_request_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMonitoredResourcesResult]
func GetMonitoredResources(ctx *Context, args *GetMonitoredResourcesArgs, opts ...InvokeOption) (*GetMonitoredResourcesResult, error)
func GetMonitoredResourcesOutput(ctx *Context, args *GetMonitoredResourcesOutputArgs, opts ...InvokeOption) GetMonitoredResourcesResultOutput
> Note: This function is named GetMonitoredResources
in the Go SDK.
public static class GetMonitoredResources
{
public static Task<GetMonitoredResourcesResult> InvokeAsync(GetMonitoredResourcesArgs args, InvokeOptions? opts = null)
public static Output<GetMonitoredResourcesResult> Invoke(GetMonitoredResourcesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetMonitoredResourcesResult> getMonitoredResources(GetMonitoredResourcesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:StackMonitoring/getMonitoredResources:getMonitoredResources
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The ID of the compartment in which data is listed.
- Filters
List<Get
Monitored Resources Filter> - Name string
- A filter to return resources that match exact resource name.
- Status string
- A filter to return only resources with matching lifecycleState.
- Work
Request stringId - A filter to return resources which were impacted as part of this work request identifier.
- Compartment
Id string - The ID of the compartment in which data is listed.
- Filters
[]Get
Monitored Resources Filter - Name string
- A filter to return resources that match exact resource name.
- Status string
- A filter to return only resources with matching lifecycleState.
- Work
Request stringId - A filter to return resources which were impacted as part of this work request identifier.
- compartment
Id String - The ID of the compartment in which data is listed.
- filters
List<Get
Monitored Resources Filter> - name String
- A filter to return resources that match exact resource name.
- status String
- A filter to return only resources with matching lifecycleState.
- work
Request StringId - A filter to return resources which were impacted as part of this work request identifier.
- compartment
Id string - The ID of the compartment in which data is listed.
- filters
Get
Monitored Resources Filter[] - name string
- A filter to return resources that match exact resource name.
- status string
- A filter to return only resources with matching lifecycleState.
- work
Request stringId - A filter to return resources which were impacted as part of this work request identifier.
- compartment_
id str - The ID of the compartment in which data is listed.
- filters
Sequence[stackmonitoring.
Get Monitored Resources Filter] - name str
- A filter to return resources that match exact resource name.
- status str
- A filter to return only resources with matching lifecycleState.
- work_
request_ strid - A filter to return resources which were impacted as part of this work request identifier.
- compartment
Id String - The ID of the compartment in which data is listed.
- filters List<Property Map>
- name String
- A filter to return resources that match exact resource name.
- status String
- A filter to return only resources with matching lifecycleState.
- work
Request StringId - A filter to return resources which were impacted as part of this work request identifier.
getMonitoredResources Result
The following output properties are available:
- Compartment
Id string - Compartment Identifier OCID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Monitored
Resource List<GetCollections Monitored Resources Monitored Resource Collection> - The list of monitored_resource_collection.
- Filters
List<Get
Monitored Resources Filter> - Name string
- Property Name.
- Status string
- Work
Request stringId
- Compartment
Id string - Compartment Identifier OCID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Monitored
Resource []GetCollections Monitored Resources Monitored Resource Collection - The list of monitored_resource_collection.
- Filters
[]Get
Monitored Resources Filter - Name string
- Property Name.
- Status string
- Work
Request stringId
- compartment
Id String - Compartment Identifier OCID.
- id String
- The provider-assigned unique ID for this managed resource.
- monitored
Resource List<GetCollections Monitored Resources Monitored Resource Collection> - The list of monitored_resource_collection.
- filters
List<Get
Monitored Resources Filter> - name String
- Property Name.
- status String
- work
Request StringId
- compartment
Id string - Compartment Identifier OCID.
- id string
- The provider-assigned unique ID for this managed resource.
- monitored
Resource GetCollections Monitored Resources Monitored Resource Collection[] - The list of monitored_resource_collection.
- filters
Get
Monitored Resources Filter[] - name string
- Property Name.
- status string
- work
Request stringId
- compartment_
id str - Compartment Identifier OCID.
- id str
- The provider-assigned unique ID for this managed resource.
- monitored_
resource_ Sequence[stackmonitoring.collections Get Monitored Resources Monitored Resource Collection] - The list of monitored_resource_collection.
- filters
Sequence[stackmonitoring.
Get Monitored Resources Filter] - name str
- Property Name.
- status str
- work_
request_ strid
- compartment
Id String - Compartment Identifier OCID.
- id String
- The provider-assigned unique ID for this managed resource.
- monitored
Resource List<Property Map>Collections - The list of monitored_resource_collection.
- filters List<Property Map>
- name String
- Property Name.
- status String
- work
Request StringId
Supporting Types
GetMonitoredResourcesFilter
GetMonitoredResourcesMonitoredResourceCollection
GetMonitoredResourcesMonitoredResourceCollectionItem
- Additional
Aliases List<GetMonitored Resources Monitored Resource Collection Item Additional Alias> - Additional
Credentials List<GetMonitored Resources Monitored Resource Collection Item Additional Credential> - Aliases
List<Get
Monitored Resources Monitored Resource Collection Item Alias> - Monitored Resource Alias Credential Details
- Compartment
Id string - The ID of the compartment in which data is listed.
- Credentials
List<Get
Monitored Resources Monitored Resource Collection Item Credential> - Monitored Resource Credential Details.
- Database
Connection List<GetDetails Monitored Resources Monitored Resource Collection Item 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"}
- Display
Name string - Monitored resource display name.
- External
Id 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.
- External
Resource 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"}
- Host
Name string - Monitored resource host name.
- Id string
- Monitored resource identifier OCID.
- License string
- Management
Agent stringId - Management Agent Identifier OCID.
- Name string
- A filter to return resources that match exact resource name.
- Properties
List<Get
Monitored Resources Monitored Resource Collection Item Property> - List of monitored resource properties.
- Resource
Category string - Resource Category to indicate the kind of resource type.
- Resource
Time stringZone - Time zone in the form of tz database canonical zone ID.
- Source
Type 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"}
- Tenant
Id string - Tenancy Identifier OCID.
- Time
Created string - The date and time when the monitored resource was created, expressed in RFC 3339 timestamp format.
- Time
Updated 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 []GetMonitored Resources Monitored Resource Collection Item Additional Alias - Additional
Credentials []GetMonitored Resources Monitored Resource Collection Item Additional Credential - Aliases
[]Get
Monitored Resources Monitored Resource Collection Item Alias - Monitored Resource Alias Credential Details
- Compartment
Id string - The ID of the compartment in which data is listed.
- Credentials
[]Get
Monitored Resources Monitored Resource Collection Item Credential - Monitored Resource Credential Details.
- Database
Connection []GetDetails Monitored Resources Monitored Resource Collection Item 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"}
- Display
Name string - Monitored resource display name.
- External
Id 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.
- External
Resource 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"}
- Host
Name string - Monitored resource host name.
- Id string
- Monitored resource identifier OCID.
- License string
- Management
Agent stringId - Management Agent Identifier OCID.
- Name string
- A filter to return resources that match exact resource name.
- Properties
[]Get
Monitored Resources Monitored Resource Collection Item Property - List of monitored resource properties.
- Resource
Category string - Resource Category to indicate the kind of resource type.
- Resource
Time stringZone - Time zone in the form of tz database canonical zone ID.
- Source
Type 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"}
- Tenant
Id string - Tenancy Identifier OCID.
- Time
Created string - The date and time when the monitored resource was created, expressed in RFC 3339 timestamp format.
- Time
Updated 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 List<GetMonitored Resources Monitored Resource Collection Item Additional Alias> - additional
Credentials List<GetMonitored Resources Monitored Resource Collection Item Additional Credential> - aliases
List<Get
Monitored Resources Monitored Resource Collection Item Alias> - Monitored Resource Alias Credential Details
- compartment
Id String - The ID of the compartment in which data is listed.
- credentials
List<Get
Monitored Resources Monitored Resource Collection Item Credential> - Monitored Resource Credential Details.
- database
Connection List<GetDetails Monitored Resources Monitored Resource Collection Item 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"}
- display
Name String - Monitored resource display name.
- external
Id 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.
- external
Resource 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"}
- host
Name String - Monitored resource host name.
- id String
- Monitored resource identifier OCID.
- license String
- management
Agent StringId - Management Agent Identifier OCID.
- name String
- A filter to return resources that match exact resource name.
- properties
List<Get
Monitored Resources Monitored Resource Collection Item Property> - List of monitored resource properties.
- resource
Category String - Resource Category to indicate the kind of resource type.
- resource
Time StringZone - Time zone in the form of tz database canonical zone ID.
- source
Type 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"}
- tenant
Id String - Tenancy Identifier OCID.
- time
Created String - The date and time when the monitored resource was created, expressed in RFC 3339 timestamp format.
- time
Updated 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 GetMonitored Resources Monitored Resource Collection Item Additional Alias[] - additional
Credentials GetMonitored Resources Monitored Resource Collection Item Additional Credential[] - aliases
Get
Monitored Resources Monitored Resource Collection Item Alias[] - Monitored Resource Alias Credential Details
- compartment
Id string - The ID of the compartment in which data is listed.
- credentials
Get
Monitored Resources Monitored Resource Collection Item Credential[] - Monitored Resource Credential Details.
- database
Connection GetDetails Monitored Resources Monitored Resource Collection Item 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"}
- display
Name string - Monitored resource display name.
- external
Id 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.
- external
Resource 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"}
- host
Name string - Monitored resource host name.
- id string
- Monitored resource identifier OCID.
- license string
- management
Agent stringId - Management Agent Identifier OCID.
- name string
- A filter to return resources that match exact resource name.
- properties
Get
Monitored Resources Monitored Resource Collection Item Property[] - List of monitored resource properties.
- resource
Category string - Resource Category to indicate the kind of resource type.
- resource
Time stringZone - Time zone in the form of tz database canonical zone ID.
- source
Type 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"}
- tenant
Id string - Tenancy Identifier OCID.
- time
Created string - The date and time when the monitored resource was created, expressed in RFC 3339 timestamp format.
- time
Updated 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.Get Monitored Resources Monitored Resource Collection Item Additional Alias] - additional_
credentials Sequence[stackmonitoring.Get Monitored Resources Monitored Resource Collection Item Additional Credential] - aliases
Sequence[stackmonitoring.
Get Monitored Resources Monitored Resource Collection Item Alias] - Monitored Resource Alias Credential Details
- compartment_
id str - The ID of the compartment in which data is listed.
- credentials
Sequence[stackmonitoring.
Get Monitored Resources Monitored Resource Collection Item Credential] - Monitored Resource Credential Details.
- database_
connection_ Sequence[stackmonitoring.details Get Monitored Resources Monitored Resource Collection Item 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
- management_
agent_ strid - Management Agent Identifier OCID.
- name str
- A filter to return resources that match exact resource name.
- properties
Sequence[stackmonitoring.
Get Monitored Resources Monitored Resource Collection Item 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.
- additional
Aliases List<Property Map> - additional
Credentials List<Property Map> - aliases List<Property Map>
- Monitored Resource Alias Credential Details
- compartment
Id String - The ID of the compartment in which data is listed.
- credentials List<Property Map>
- Monitored Resource Credential Details.
- database
Connection 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"}
- display
Name String - Monitored resource display name.
- external
Id 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.
- external
Resource 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"}
- host
Name String - Monitored resource host name.
- id String
- Monitored resource identifier OCID.
- license String
- management
Agent StringId - Management Agent Identifier OCID.
- name String
- A filter to return resources that match exact resource name.
- properties List<Property Map>
- List of monitored resource properties.
- resource
Category String - Resource Category to indicate the kind of resource type.
- resource
Time StringZone - Time zone in the form of tz database canonical zone ID.
- source
Type 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"}
- tenant
Id String - Tenancy Identifier OCID.
- time
Created String - The date and time when the monitored resource was created, expressed in RFC 3339 timestamp format.
- time
Updated String - The date and time when the monitored resource was last updated, expressed in RFC 3339 timestamp format.
- type String
- Monitored Resource Type.
GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAlias
- Credentials
List<Get
Monitored Resources Monitored Resource Collection Item Additional Alias Credential> - Monitored Resource Alias Reference Source Credential.
- Name string
- A filter to return resources that match exact resource 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
[]Get
Monitored Resources Monitored Resource Collection Item Additional Alias Credential - Monitored Resource Alias Reference Source Credential.
- Name string
- A filter to return resources that match exact resource 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<Get
Monitored Resources Monitored Resource Collection Item Additional Alias Credential> - Monitored Resource Alias Reference Source Credential.
- name String
- A filter to return resources that match exact resource 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
Get
Monitored Resources Monitored Resource Collection Item Additional Alias Credential[] - Monitored Resource Alias Reference Source Credential.
- name string
- A filter to return resources that match exact resource 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.
Get Monitored Resources Monitored Resource Collection Item Additional Alias Credential] - Monitored Resource Alias Reference Source Credential.
- name str
- A filter to return resources that match exact resource 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
- A filter to return resources that match exact resource 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.
GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalAliasCredential
- Name string
- A filter to return resources that match exact resource 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
- A filter to return resources that match exact resource 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
- A filter to return resources that match exact resource 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
- A filter to return resources that match exact resource 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
- A filter to return resources that match exact resource 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
- A filter to return resources that match exact resource 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.
GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredential
- Credential
Type 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.
- Key
Id 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
- A filter to return resources that match exact resource name.
- Properties
List<Get
Monitored Resources Monitored Resource Collection Item 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 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.
- Key
Id 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
- A filter to return resources that match exact resource name.
- Properties
[]Get
Monitored Resources Monitored Resource Collection Item 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 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.
- key
Id 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
- A filter to return resources that match exact resource name.
- properties
List<Get
Monitored Resources Monitored Resource Collection Item 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 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.
- key
Id 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
- A filter to return resources that match exact resource name.
- properties
Get
Monitored Resources Monitored Resource Collection Item 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
- A filter to return resources that match exact resource name.
- properties
Sequence[stackmonitoring.
Get Monitored Resources Monitored Resource Collection Item 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.
- credential
Type 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.
- key
Id 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
- A filter to return resources that match exact resource 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.
GetMonitoredResourcesMonitoredResourceCollectionItemAdditionalCredentialProperty
GetMonitoredResourcesMonitoredResourceCollectionItemAlias
- Credentials
List<Get
Monitored Resources Monitored Resource Collection Item Alias Credential> - Monitored Resource Alias Reference Source Credential.
- Name string
- A filter to return resources that match exact resource 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
[]Get
Monitored Resources Monitored Resource Collection Item Alias Credential - Monitored Resource Alias Reference Source Credential.
- Name string
- A filter to return resources that match exact resource 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<Get
Monitored Resources Monitored Resource Collection Item Alias Credential> - Monitored Resource Alias Reference Source Credential.
- name String
- A filter to return resources that match exact resource 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
Get
Monitored Resources Monitored Resource Collection Item Alias Credential[] - Monitored Resource Alias Reference Source Credential.
- name string
- A filter to return resources that match exact resource 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.
Get Monitored Resources Monitored Resource Collection Item Alias Credential] - Monitored Resource Alias Reference Source Credential.
- name str
- A filter to return resources that match exact resource 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
- A filter to return resources that match exact resource 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.
GetMonitoredResourcesMonitoredResourceCollectionItemAliasCredential
- Name string
- A filter to return resources that match exact resource 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
- A filter to return resources that match exact resource 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
- A filter to return resources that match exact resource 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
- A filter to return resources that match exact resource 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
- A filter to return resources that match exact resource 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
- A filter to return resources that match exact resource 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.
GetMonitoredResourcesMonitoredResourceCollectionItemCredential
- Credential
Type 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.
- Key
Id 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
- A filter to return resources that match exact resource name.
- Properties
List<Get
Monitored Resources Monitored Resource Collection Item 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 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.
- Key
Id 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
- A filter to return resources that match exact resource name.
- Properties
[]Get
Monitored Resources Monitored Resource Collection Item 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 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.
- key
Id 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
- A filter to return resources that match exact resource name.
- properties
List<Get
Monitored Resources Monitored Resource Collection Item 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 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.
- key
Id 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
- A filter to return resources that match exact resource name.
- properties
Get
Monitored Resources Monitored Resource Collection Item 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
- A filter to return resources that match exact resource name.
- properties
Sequence[stackmonitoring.
Get Monitored Resources Monitored Resource Collection Item 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.
- credential
Type 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.
- key
Id 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
- A filter to return resources that match exact resource 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.
GetMonitoredResourcesMonitoredResourceCollectionItemCredentialProperty
GetMonitoredResourcesMonitoredResourceCollectionItemDatabaseConnectionDetail
- Connector
Id string - Database connector Identifier OCID.
- Db
Id string - dbId of the database.
- Db
Unique 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.
- Service
Name string - Service name used for connection requests.
- Ssl
Secret stringId - SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure VaultOCID.
- Connector
Id string - Database connector Identifier OCID.
- Db
Id string - dbId of the database.
- Db
Unique 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.
- Service
Name string - Service name used for connection requests.
- Ssl
Secret stringId - SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure VaultOCID.
- connector
Id String - Database connector Identifier OCID.
- db
Id String - dbId of the database.
- db
Unique 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.
- service
Name String - Service name used for connection requests.
- ssl
Secret StringId - SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure VaultOCID.
- connector
Id string - Database connector Identifier OCID.
- db
Id string - dbId of the database.
- db
Unique 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.
- service
Name string - Service name used for connection requests.
- ssl
Secret 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.
- connector
Id String - Database connector Identifier OCID.
- db
Id String - dbId of the database.
- db
Unique 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.
- service
Name String - Service name used for connection requests.
- ssl
Secret StringId - SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure VaultOCID.
GetMonitoredResourcesMonitoredResourceCollectionItemProperty
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.