oci.DataSafe.getTargetDatabaseGroups
Explore with Pulumi AI
This data source provides the list of Target Database Groups in Oracle Cloud Infrastructure Data Safe service.
Retrieves a list of target database groups according to the specified query parameters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testTargetDatabaseGroups = oci.DataSafe.getTargetDatabaseGroups({
compartmentId: compartmentId,
accessLevel: targetDatabaseGroupAccessLevel,
compartmentIdInSubtree: targetDatabaseGroupCompartmentIdInSubtree,
displayName: targetDatabaseGroupDisplayName,
state: targetDatabaseGroupState,
targetDatabaseGroupId: testTargetDatabaseGroup.id,
targetDatabaseGroupFilter: targetDatabaseGroupTargetDatabaseGroupFilter,
timeCreatedGreaterThanOrEqualTo: targetDatabaseGroupTimeCreatedGreaterThanOrEqualTo,
timeCreatedLessThan: targetDatabaseGroupTimeCreatedLessThan,
});
import pulumi
import pulumi_oci as oci
test_target_database_groups = oci.DataSafe.get_target_database_groups(compartment_id=compartment_id,
access_level=target_database_group_access_level,
compartment_id_in_subtree=target_database_group_compartment_id_in_subtree,
display_name=target_database_group_display_name,
state=target_database_group_state,
target_database_group_id=test_target_database_group["id"],
target_database_group_filter=target_database_group_target_database_group_filter,
time_created_greater_than_or_equal_to=target_database_group_time_created_greater_than_or_equal_to,
time_created_less_than=target_database_group_time_created_less_than)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/datasafe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datasafe.GetTargetDatabaseGroups(ctx, &datasafe.GetTargetDatabaseGroupsArgs{
CompartmentId: compartmentId,
AccessLevel: pulumi.StringRef(targetDatabaseGroupAccessLevel),
CompartmentIdInSubtree: pulumi.BoolRef(targetDatabaseGroupCompartmentIdInSubtree),
DisplayName: pulumi.StringRef(targetDatabaseGroupDisplayName),
State: pulumi.StringRef(targetDatabaseGroupState),
TargetDatabaseGroupId: pulumi.StringRef(testTargetDatabaseGroup.Id),
TargetDatabaseGroupFilter: pulumi.StringRef(targetDatabaseGroupTargetDatabaseGroupFilter),
TimeCreatedGreaterThanOrEqualTo: pulumi.StringRef(targetDatabaseGroupTimeCreatedGreaterThanOrEqualTo),
TimeCreatedLessThan: pulumi.StringRef(targetDatabaseGroupTimeCreatedLessThan),
}, 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 testTargetDatabaseGroups = Oci.DataSafe.GetTargetDatabaseGroups.Invoke(new()
{
CompartmentId = compartmentId,
AccessLevel = targetDatabaseGroupAccessLevel,
CompartmentIdInSubtree = targetDatabaseGroupCompartmentIdInSubtree,
DisplayName = targetDatabaseGroupDisplayName,
State = targetDatabaseGroupState,
TargetDatabaseGroupId = testTargetDatabaseGroup.Id,
TargetDatabaseGroupFilter = targetDatabaseGroupTargetDatabaseGroupFilter,
TimeCreatedGreaterThanOrEqualTo = targetDatabaseGroupTimeCreatedGreaterThanOrEqualTo,
TimeCreatedLessThan = targetDatabaseGroupTimeCreatedLessThan,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataSafe.DataSafeFunctions;
import com.pulumi.oci.DataSafe.inputs.GetTargetDatabaseGroupsArgs;
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 testTargetDatabaseGroups = DataSafeFunctions.getTargetDatabaseGroups(GetTargetDatabaseGroupsArgs.builder()
.compartmentId(compartmentId)
.accessLevel(targetDatabaseGroupAccessLevel)
.compartmentIdInSubtree(targetDatabaseGroupCompartmentIdInSubtree)
.displayName(targetDatabaseGroupDisplayName)
.state(targetDatabaseGroupState)
.targetDatabaseGroupId(testTargetDatabaseGroup.id())
.targetDatabaseGroupFilter(targetDatabaseGroupTargetDatabaseGroupFilter)
.timeCreatedGreaterThanOrEqualTo(targetDatabaseGroupTimeCreatedGreaterThanOrEqualTo)
.timeCreatedLessThan(targetDatabaseGroupTimeCreatedLessThan)
.build());
}
}
variables:
testTargetDatabaseGroups:
fn::invoke:
function: oci:DataSafe:getTargetDatabaseGroups
arguments:
compartmentId: ${compartmentId}
accessLevel: ${targetDatabaseGroupAccessLevel}
compartmentIdInSubtree: ${targetDatabaseGroupCompartmentIdInSubtree}
displayName: ${targetDatabaseGroupDisplayName}
state: ${targetDatabaseGroupState}
targetDatabaseGroupId: ${testTargetDatabaseGroup.id}
targetDatabaseGroupFilter: ${targetDatabaseGroupTargetDatabaseGroupFilter}
timeCreatedGreaterThanOrEqualTo: ${targetDatabaseGroupTimeCreatedGreaterThanOrEqualTo}
timeCreatedLessThan: ${targetDatabaseGroupTimeCreatedLessThan}
Using getTargetDatabaseGroups
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 getTargetDatabaseGroups(args: GetTargetDatabaseGroupsArgs, opts?: InvokeOptions): Promise<GetTargetDatabaseGroupsResult>
function getTargetDatabaseGroupsOutput(args: GetTargetDatabaseGroupsOutputArgs, opts?: InvokeOptions): Output<GetTargetDatabaseGroupsResult>
def get_target_database_groups(access_level: Optional[str] = None,
compartment_id: Optional[str] = None,
compartment_id_in_subtree: Optional[bool] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[GetTargetDatabaseGroupsFilter]] = None,
state: Optional[str] = None,
target_database_group_filter: Optional[str] = None,
target_database_group_id: Optional[str] = None,
time_created_greater_than_or_equal_to: Optional[str] = None,
time_created_less_than: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTargetDatabaseGroupsResult
def get_target_database_groups_output(access_level: Optional[pulumi.Input[str]] = None,
compartment_id: Optional[pulumi.Input[str]] = None,
compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetTargetDatabaseGroupsFilterArgs]]]] = None,
state: Optional[pulumi.Input[str]] = None,
target_database_group_filter: Optional[pulumi.Input[str]] = None,
target_database_group_id: Optional[pulumi.Input[str]] = None,
time_created_greater_than_or_equal_to: Optional[pulumi.Input[str]] = None,
time_created_less_than: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTargetDatabaseGroupsResult]
func GetTargetDatabaseGroups(ctx *Context, args *GetTargetDatabaseGroupsArgs, opts ...InvokeOption) (*GetTargetDatabaseGroupsResult, error)
func GetTargetDatabaseGroupsOutput(ctx *Context, args *GetTargetDatabaseGroupsOutputArgs, opts ...InvokeOption) GetTargetDatabaseGroupsResultOutput
> Note: This function is named GetTargetDatabaseGroups
in the Go SDK.
public static class GetTargetDatabaseGroups
{
public static Task<GetTargetDatabaseGroupsResult> InvokeAsync(GetTargetDatabaseGroupsArgs args, InvokeOptions? opts = null)
public static Output<GetTargetDatabaseGroupsResult> Invoke(GetTargetDatabaseGroupsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTargetDatabaseGroupsResult> getTargetDatabaseGroups(GetTargetDatabaseGroupsArgs args, InvokeOptions options)
public static Output<GetTargetDatabaseGroupsResult> getTargetDatabaseGroups(GetTargetDatabaseGroupsArgs args, InvokeOptions options)
fn::invoke:
function: oci:DataSafe/getTargetDatabaseGroups:getTargetDatabaseGroups
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- Access
Level string - Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
- Compartment
Id boolIn Subtree - Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
- Display
Name string - A filter to return only resources that match the specified display name.
- Filters
List<Get
Target Database Groups Filter> - State string
- A filter to retrieve resources that exclusively align with the designated lifecycle state.
- Target
Database stringGroup Filter - The scim query filter parameter accepts filter expressions that use the syntax described in Section 3.2.2.2 of the System for Cross-Domain Identity Management (SCIM) specification, which is available at RFC3339. In SCIM filtering expressions, text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format. (Numeric and boolean values should not be quoted.) Ex:** filter=(targetDatabaseId eq 'ocid1.datasafetargetdatabase.oc1.iad.abuwcljr3u2va4ba5wek53idpe5qq5kkbigzclscc6mysfecxzjt5dgmxqza')
- Target
Database stringGroup Id - A filter to return the target database group that matches the specified OCID.
- Time
Created stringGreater Than Or Equal To A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
Example: 2016-12-19T16:39:57.600Z
- Time
Created stringLess Than Search for resources that were created before a specific date. Specifying this parameter corresponding
timeCreatedLessThan
parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.Example: 2016-12-19T16:39:57.600Z
- Compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- Access
Level string - Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
- Compartment
Id boolIn Subtree - Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
- Display
Name string - A filter to return only resources that match the specified display name.
- Filters
[]Get
Target Database Groups Filter - State string
- A filter to retrieve resources that exclusively align with the designated lifecycle state.
- Target
Database stringGroup Filter - The scim query filter parameter accepts filter expressions that use the syntax described in Section 3.2.2.2 of the System for Cross-Domain Identity Management (SCIM) specification, which is available at RFC3339. In SCIM filtering expressions, text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format. (Numeric and boolean values should not be quoted.) Ex:** filter=(targetDatabaseId eq 'ocid1.datasafetargetdatabase.oc1.iad.abuwcljr3u2va4ba5wek53idpe5qq5kkbigzclscc6mysfecxzjt5dgmxqza')
- Target
Database stringGroup Id - A filter to return the target database group that matches the specified OCID.
- Time
Created stringGreater Than Or Equal To A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
Example: 2016-12-19T16:39:57.600Z
- Time
Created stringLess Than Search for resources that were created before a specific date. Specifying this parameter corresponding
timeCreatedLessThan
parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.Example: 2016-12-19T16:39:57.600Z
- compartment
Id String - A filter to return only resources that match the specified compartment OCID.
- access
Level String - Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
- compartment
Id BooleanIn Subtree - Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
- display
Name String - A filter to return only resources that match the specified display name.
- filters
List<Get
Target Database Groups Filter> - state String
- A filter to retrieve resources that exclusively align with the designated lifecycle state.
- target
Database StringGroup Filter - The scim query filter parameter accepts filter expressions that use the syntax described in Section 3.2.2.2 of the System for Cross-Domain Identity Management (SCIM) specification, which is available at RFC3339. In SCIM filtering expressions, text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format. (Numeric and boolean values should not be quoted.) Ex:** filter=(targetDatabaseId eq 'ocid1.datasafetargetdatabase.oc1.iad.abuwcljr3u2va4ba5wek53idpe5qq5kkbigzclscc6mysfecxzjt5dgmxqza')
- target
Database StringGroup Id - A filter to return the target database group that matches the specified OCID.
- time
Created StringGreater Than Or Equal To A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
Example: 2016-12-19T16:39:57.600Z
- time
Created StringLess Than Search for resources that were created before a specific date. Specifying this parameter corresponding
timeCreatedLessThan
parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.Example: 2016-12-19T16:39:57.600Z
- compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- access
Level string - Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
- compartment
Id booleanIn Subtree - Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
- display
Name string - A filter to return only resources that match the specified display name.
- filters
Get
Target Database Groups Filter[] - state string
- A filter to retrieve resources that exclusively align with the designated lifecycle state.
- target
Database stringGroup Filter - The scim query filter parameter accepts filter expressions that use the syntax described in Section 3.2.2.2 of the System for Cross-Domain Identity Management (SCIM) specification, which is available at RFC3339. In SCIM filtering expressions, text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format. (Numeric and boolean values should not be quoted.) Ex:** filter=(targetDatabaseId eq 'ocid1.datasafetargetdatabase.oc1.iad.abuwcljr3u2va4ba5wek53idpe5qq5kkbigzclscc6mysfecxzjt5dgmxqza')
- target
Database stringGroup Id - A filter to return the target database group that matches the specified OCID.
- time
Created stringGreater Than Or Equal To A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
Example: 2016-12-19T16:39:57.600Z
- time
Created stringLess Than Search for resources that were created before a specific date. Specifying this parameter corresponding
timeCreatedLessThan
parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.Example: 2016-12-19T16:39:57.600Z
- compartment_
id str - A filter to return only resources that match the specified compartment OCID.
- access_
level str - Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
- compartment_
id_ boolin_ subtree - Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
- display_
name str - A filter to return only resources that match the specified display name.
- filters
Sequence[Get
Target Database Groups Filter] - state str
- A filter to retrieve resources that exclusively align with the designated lifecycle state.
- target_
database_ strgroup_ filter - The scim query filter parameter accepts filter expressions that use the syntax described in Section 3.2.2.2 of the System for Cross-Domain Identity Management (SCIM) specification, which is available at RFC3339. In SCIM filtering expressions, text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format. (Numeric and boolean values should not be quoted.) Ex:** filter=(targetDatabaseId eq 'ocid1.datasafetargetdatabase.oc1.iad.abuwcljr3u2va4ba5wek53idpe5qq5kkbigzclscc6mysfecxzjt5dgmxqza')
- target_
database_ strgroup_ id - A filter to return the target database group that matches the specified OCID.
- time_
created_ strgreater_ than_ or_ equal_ to A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
Example: 2016-12-19T16:39:57.600Z
- time_
created_ strless_ than Search for resources that were created before a specific date. Specifying this parameter corresponding
timeCreatedLessThan
parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.Example: 2016-12-19T16:39:57.600Z
- compartment
Id String - A filter to return only resources that match the specified compartment OCID.
- access
Level String - Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
- compartment
Id BooleanIn Subtree - Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
- display
Name String - A filter to return only resources that match the specified display name.
- filters List<Property Map>
- state String
- A filter to retrieve resources that exclusively align with the designated lifecycle state.
- target
Database StringGroup Filter - The scim query filter parameter accepts filter expressions that use the syntax described in Section 3.2.2.2 of the System for Cross-Domain Identity Management (SCIM) specification, which is available at RFC3339. In SCIM filtering expressions, text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format. (Numeric and boolean values should not be quoted.) Ex:** filter=(targetDatabaseId eq 'ocid1.datasafetargetdatabase.oc1.iad.abuwcljr3u2va4ba5wek53idpe5qq5kkbigzclscc6mysfecxzjt5dgmxqza')
- target
Database StringGroup Id - A filter to return the target database group that matches the specified OCID.
- time
Created StringGreater Than Or Equal To A filter to return only the resources that were created after the specified date and time, as defined by RFC3339. Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
Example: 2016-12-19T16:39:57.600Z
- time
Created StringLess Than Search for resources that were created before a specific date. Specifying this parameter corresponding
timeCreatedLessThan
parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.Example: 2016-12-19T16:39:57.600Z
getTargetDatabaseGroups Result
The following output properties are available:
- Compartment
Id string - The OCID for the compartment containing the target database group.
- Id string
- The provider-assigned unique ID for this managed resource.
- Target
Database List<GetGroup Collections Target Database Groups Target Database Group Collection> - The list of target_database_group_collection.
- Access
Level string - Compartment
Id boolIn Subtree - Display
Name string - The name of the target database group.
- Filters
List<Get
Target Database Groups Filter> - State string
- The lifecycle status of the target database group.
- Target
Database stringGroup Filter - Target
Database stringGroup Id - Time
Created stringGreater Than Or Equal To - Time
Created stringLess Than
- Compartment
Id string - The OCID for the compartment containing the target database group.
- Id string
- The provider-assigned unique ID for this managed resource.
- Target
Database []GetGroup Collections Target Database Groups Target Database Group Collection - The list of target_database_group_collection.
- Access
Level string - Compartment
Id boolIn Subtree - Display
Name string - The name of the target database group.
- Filters
[]Get
Target Database Groups Filter - State string
- The lifecycle status of the target database group.
- Target
Database stringGroup Filter - Target
Database stringGroup Id - Time
Created stringGreater Than Or Equal To - Time
Created stringLess Than
- compartment
Id String - The OCID for the compartment containing the target database group.
- id String
- The provider-assigned unique ID for this managed resource.
- target
Database List<GetGroup Collections Target Database Groups Target Database Group Collection> - The list of target_database_group_collection.
- access
Level String - compartment
Id BooleanIn Subtree - display
Name String - The name of the target database group.
- filters
List<Get
Target Database Groups Filter> - state String
- The lifecycle status of the target database group.
- target
Database StringGroup Filter - target
Database StringGroup Id - time
Created StringGreater Than Or Equal To - time
Created StringLess Than
- compartment
Id string - The OCID for the compartment containing the target database group.
- id string
- The provider-assigned unique ID for this managed resource.
- target
Database GetGroup Collections Target Database Groups Target Database Group Collection[] - The list of target_database_group_collection.
- access
Level string - compartment
Id booleanIn Subtree - display
Name string - The name of the target database group.
- filters
Get
Target Database Groups Filter[] - state string
- The lifecycle status of the target database group.
- target
Database stringGroup Filter - target
Database stringGroup Id - time
Created stringGreater Than Or Equal To - time
Created stringLess Than
- compartment_
id str - The OCID for the compartment containing the target database group.
- id str
- The provider-assigned unique ID for this managed resource.
- target_
database_ Sequence[Getgroup_ collections Target Database Groups Target Database Group Collection] - The list of target_database_group_collection.
- access_
level str - compartment_
id_ boolin_ subtree - display_
name str - The name of the target database group.
- filters
Sequence[Get
Target Database Groups Filter] - state str
- The lifecycle status of the target database group.
- target_
database_ strgroup_ filter - target_
database_ strgroup_ id - time_
created_ strgreater_ than_ or_ equal_ to - time_
created_ strless_ than
- compartment
Id String - The OCID for the compartment containing the target database group.
- id String
- The provider-assigned unique ID for this managed resource.
- target
Database List<Property Map>Group Collections - The list of target_database_group_collection.
- access
Level String - compartment
Id BooleanIn Subtree - display
Name String - The name of the target database group.
- filters List<Property Map>
- state String
- The lifecycle status of the target database group.
- target
Database StringGroup Filter - target
Database StringGroup Id - time
Created StringGreater Than Or Equal To - time
Created StringLess Than
Supporting Types
GetTargetDatabaseGroupsFilter
GetTargetDatabaseGroupsTargetDatabaseGroupCollection
GetTargetDatabaseGroupsTargetDatabaseGroupCollectionItem
- Compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- Description string
- Description of the target database group.
- Display
Name string - A filter to return only resources that match the specified display name.
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- Id string
- The OCID of the compartment for including target databases to the target database group. All target databases in the compartment will be members of the target database group.
- Lifecycle
Details string - Details for the lifecycle status of the target database group.
- Matching
Criterias List<GetTarget Database Groups Target Database Group Collection Item Matching Criteria> - Criteria to either include or exclude target databases from the target database group. These criteria can be based on compartments or tags or a list of target databases. See examples below for more details. Include: Target databases will be added to the target database group if they match at least one of the include criteria. Exclude: Target databases that will be excluded from the target database group (even if they match any of the include criteria).
- Membership
Count int - The number of target databases in the specified target database group.
- Membership
Update stringTime - Time when the members of the target database group were last changed, i.e. the list was refreshed, a target database was added or removed.
- State string
- A filter to retrieve resources that exclusively align with the designated lifecycle state.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - Time when the target database group was created.
- Time
Updated string - Time when the target database group was last updated.
- Compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- Description string
- Description of the target database group.
- Display
Name string - A filter to return only resources that match the specified display name.
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- Id string
- The OCID of the compartment for including target databases to the target database group. All target databases in the compartment will be members of the target database group.
- Lifecycle
Details string - Details for the lifecycle status of the target database group.
- Matching
Criterias []GetTarget Database Groups Target Database Group Collection Item Matching Criteria - Criteria to either include or exclude target databases from the target database group. These criteria can be based on compartments or tags or a list of target databases. See examples below for more details. Include: Target databases will be added to the target database group if they match at least one of the include criteria. Exclude: Target databases that will be excluded from the target database group (even if they match any of the include criteria).
- Membership
Count int - The number of target databases in the specified target database group.
- Membership
Update stringTime - Time when the members of the target database group were last changed, i.e. the list was refreshed, a target database was added or removed.
- State string
- A filter to retrieve resources that exclusively align with the designated lifecycle state.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - Time when the target database group was created.
- Time
Updated string - Time when the target database group was last updated.
- compartment
Id String - A filter to return only resources that match the specified compartment OCID.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description String
- Description of the target database group.
- display
Name String - A filter to return only resources that match the specified display name.
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- id String
- The OCID of the compartment for including target databases to the target database group. All target databases in the compartment will be members of the target database group.
- lifecycle
Details String - Details for the lifecycle status of the target database group.
- matching
Criterias List<GetTarget Database Groups Target Database Group Collection Item Matching Criteria> - Criteria to either include or exclude target databases from the target database group. These criteria can be based on compartments or tags or a list of target databases. See examples below for more details. Include: Target databases will be added to the target database group if they match at least one of the include criteria. Exclude: Target databases that will be excluded from the target database group (even if they match any of the include criteria).
- membership
Count Integer - The number of target databases in the specified target database group.
- membership
Update StringTime - Time when the members of the target database group were last changed, i.e. the list was refreshed, a target database was added or removed.
- state String
- A filter to retrieve resources that exclusively align with the designated lifecycle state.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - Time when the target database group was created.
- time
Updated String - Time when the target database group was last updated.
- compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description string
- Description of the target database group.
- display
Name string - A filter to return only resources that match the specified display name.
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- id string
- The OCID of the compartment for including target databases to the target database group. All target databases in the compartment will be members of the target database group.
- lifecycle
Details string - Details for the lifecycle status of the target database group.
- matching
Criterias GetTarget Database Groups Target Database Group Collection Item Matching Criteria[] - Criteria to either include or exclude target databases from the target database group. These criteria can be based on compartments or tags or a list of target databases. See examples below for more details. Include: Target databases will be added to the target database group if they match at least one of the include criteria. Exclude: Target databases that will be excluded from the target database group (even if they match any of the include criteria).
- membership
Count number - The number of target databases in the specified target database group.
- membership
Update stringTime - Time when the members of the target database group were last changed, i.e. the list was refreshed, a target database was added or removed.
- state string
- A filter to retrieve resources that exclusively align with the designated lifecycle state.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - Time when the target database group was created.
- time
Updated string - Time when the target database group was last updated.
- compartment_
id str - A filter to return only resources that match the specified compartment OCID.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description str
- Description of the target database group.
- display_
name str - A filter to return only resources that match the specified display name.
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- id str
- The OCID of the compartment for including target databases to the target database group. All target databases in the compartment will be members of the target database group.
- lifecycle_
details str - Details for the lifecycle status of the target database group.
- matching_
criterias Sequence[GetTarget Database Groups Target Database Group Collection Item Matching Criteria] - Criteria to either include or exclude target databases from the target database group. These criteria can be based on compartments or tags or a list of target databases. See examples below for more details. Include: Target databases will be added to the target database group if they match at least one of the include criteria. Exclude: Target databases that will be excluded from the target database group (even if they match any of the include criteria).
- membership_
count int - The number of target databases in the specified target database group.
- membership_
update_ strtime - Time when the members of the target database group were last changed, i.e. the list was refreshed, a target database was added or removed.
- state str
- A filter to retrieve resources that exclusively align with the designated lifecycle state.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - Time when the target database group was created.
- time_
updated str - Time when the target database group was last updated.
- compartment
Id String - A filter to return only resources that match the specified compartment OCID.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description String
- Description of the target database group.
- display
Name String - A filter to return only resources that match the specified display name.
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- id String
- The OCID of the compartment for including target databases to the target database group. All target databases in the compartment will be members of the target database group.
- lifecycle
Details String - Details for the lifecycle status of the target database group.
- matching
Criterias List<Property Map> - Criteria to either include or exclude target databases from the target database group. These criteria can be based on compartments or tags or a list of target databases. See examples below for more details. Include: Target databases will be added to the target database group if they match at least one of the include criteria. Exclude: Target databases that will be excluded from the target database group (even if they match any of the include criteria).
- membership
Count Number - The number of target databases in the specified target database group.
- membership
Update StringTime - Time when the members of the target database group were last changed, i.e. the list was refreshed, a target database was added or removed.
- state String
- A filter to retrieve resources that exclusively align with the designated lifecycle state.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - Time when the target database group was created.
- time
Updated String - Time when the target database group was last updated.
GetTargetDatabaseGroupsTargetDatabaseGroupCollectionItemMatchingCriteria
- Excludes
List<Get
Target Database Groups Target Database Group Collection Item Matching Criteria Exclude> - Criteria to exclude certain target databases from the target database group.
- Includes
List<Get
Target Database Groups Target Database Group Collection Item Matching Criteria Include> - Criteria to determine whether a target database should be included in the target database group. If the database satisfies any of compartments, targetDatabaseIds, freeformTags, or definedTags criteria, it qualifies for inclusion in the target database group
- Excludes
[]Get
Target Database Groups Target Database Group Collection Item Matching Criteria Exclude - Criteria to exclude certain target databases from the target database group.
- Includes
[]Get
Target Database Groups Target Database Group Collection Item Matching Criteria Include - Criteria to determine whether a target database should be included in the target database group. If the database satisfies any of compartments, targetDatabaseIds, freeformTags, or definedTags criteria, it qualifies for inclusion in the target database group
- excludes
List<Get
Target Database Groups Target Database Group Collection Item Matching Criteria Exclude> - Criteria to exclude certain target databases from the target database group.
- includes
List<Get
Target Database Groups Target Database Group Collection Item Matching Criteria Include> - Criteria to determine whether a target database should be included in the target database group. If the database satisfies any of compartments, targetDatabaseIds, freeformTags, or definedTags criteria, it qualifies for inclusion in the target database group
- excludes
Get
Target Database Groups Target Database Group Collection Item Matching Criteria Exclude[] - Criteria to exclude certain target databases from the target database group.
- includes
Get
Target Database Groups Target Database Group Collection Item Matching Criteria Include[] - Criteria to determine whether a target database should be included in the target database group. If the database satisfies any of compartments, targetDatabaseIds, freeformTags, or definedTags criteria, it qualifies for inclusion in the target database group
- excludes
Sequence[Get
Target Database Groups Target Database Group Collection Item Matching Criteria Exclude] - Criteria to exclude certain target databases from the target database group.
- includes
Sequence[Get
Target Database Groups Target Database Group Collection Item Matching Criteria Include] - Criteria to determine whether a target database should be included in the target database group. If the database satisfies any of compartments, targetDatabaseIds, freeformTags, or definedTags criteria, it qualifies for inclusion in the target database group
- excludes List<Property Map>
- Criteria to exclude certain target databases from the target database group.
- includes List<Property Map>
- Criteria to determine whether a target database should be included in the target database group. If the database satisfies any of compartments, targetDatabaseIds, freeformTags, or definedTags criteria, it qualifies for inclusion in the target database group
GetTargetDatabaseGroupsTargetDatabaseGroupCollectionItemMatchingCriteriaExclude
- Target
Database List<string>Ids - The list of target database OCIDs to be included in the target database group.
- Target
Database []stringIds - The list of target database OCIDs to be included in the target database group.
- target
Database List<String>Ids - The list of target database OCIDs to be included in the target database group.
- target
Database string[]Ids - The list of target database OCIDs to be included in the target database group.
- target_
database_ Sequence[str]ids - The list of target database OCIDs to be included in the target database group.
- target
Database List<String>Ids - The list of target database OCIDs to be included in the target database group.
GetTargetDatabaseGroupsTargetDatabaseGroupCollectionItemMatchingCriteriaInclude
- Compartments
List<Get
Target Database Groups Target Database Group Collection Item Matching Criteria Include Compartment> - List of compartment objects, each containing the OCID of the compartment and a boolean value that indicates whether the target databases in the compartments and sub-compartments should also be included in the target database group.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- Target
Database List<string>Ids - The list of target database OCIDs to be included in the target database group.
- Compartments
[]Get
Target Database Groups Target Database Group Collection Item Matching Criteria Include Compartment - List of compartment objects, each containing the OCID of the compartment and a boolean value that indicates whether the target databases in the compartments and sub-compartments should also be included in the target database group.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- Target
Database []stringIds - The list of target database OCIDs to be included in the target database group.
- compartments
List<Get
Target Database Groups Target Database Group Collection Item Matching Criteria Include Compartment> - List of compartment objects, each containing the OCID of the compartment and a boolean value that indicates whether the target databases in the compartments and sub-compartments should also be included in the target database group.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- target
Database List<String>Ids - The list of target database OCIDs to be included in the target database group.
- compartments
Get
Target Database Groups Target Database Group Collection Item Matching Criteria Include Compartment[] - List of compartment objects, each containing the OCID of the compartment and a boolean value that indicates whether the target databases in the compartments and sub-compartments should also be included in the target database group.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- target
Database string[]Ids - The list of target database OCIDs to be included in the target database group.
- compartments
Sequence[Get
Target Database Groups Target Database Group Collection Item Matching Criteria Include Compartment] - List of compartment objects, each containing the OCID of the compartment and a boolean value that indicates whether the target databases in the compartments and sub-compartments should also be included in the target database group.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- target_
database_ Sequence[str]ids - The list of target database OCIDs to be included in the target database group.
- compartments List<Property Map>
- List of compartment objects, each containing the OCID of the compartment and a boolean value that indicates whether the target databases in the compartments and sub-compartments should also be included in the target database group.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- target
Database List<String>Ids - The list of target database OCIDs to be included in the target database group.
GetTargetDatabaseGroupsTargetDatabaseGroupCollectionItemMatchingCriteriaIncludeCompartment
- Id string
- The OCID of the compartment for including target databases to the target database group. All target databases in the compartment will be members of the target database group.
- Is
Include boolSubtree - This indicates whether the target databases of sub-compartments should also be included in the target database group. By default, this parameter is set to false.
- Id string
- The OCID of the compartment for including target databases to the target database group. All target databases in the compartment will be members of the target database group.
- Is
Include boolSubtree - This indicates whether the target databases of sub-compartments should also be included in the target database group. By default, this parameter is set to false.
- id String
- The OCID of the compartment for including target databases to the target database group. All target databases in the compartment will be members of the target database group.
- is
Include BooleanSubtree - This indicates whether the target databases of sub-compartments should also be included in the target database group. By default, this parameter is set to false.
- id string
- The OCID of the compartment for including target databases to the target database group. All target databases in the compartment will be members of the target database group.
- is
Include booleanSubtree - This indicates whether the target databases of sub-compartments should also be included in the target database group. By default, this parameter is set to false.
- id str
- The OCID of the compartment for including target databases to the target database group. All target databases in the compartment will be members of the target database group.
- is_
include_ boolsubtree - This indicates whether the target databases of sub-compartments should also be included in the target database group. By default, this parameter is set to false.
- id String
- The OCID of the compartment for including target databases to the target database group. All target databases in the compartment will be members of the target database group.
- is
Include BooleanSubtree - This indicates whether the target databases of sub-compartments should also be included in the target database group. By default, this parameter is set to false.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.