Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getManagedDatabasesAsmProperties

This data source provides the list of Managed Databases Asm Properties in Oracle Cloud Infrastructure Database Management service.

Gets the list of ASM properties for the specified managedDatabaseId.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testManagedDatabasesAsmProperties = Output.Create(Oci.DatabaseManagement.GetManagedDatabasesAsmProperties.InvokeAsync(new Oci.DatabaseManagement.GetManagedDatabasesAsmPropertiesArgs
        {
            ManagedDatabaseId = oci_database_management_managed_database.Test_managed_database.Id,
            Name = @var.Managed_databases_asm_property_name,
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/DatabaseManagement"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := DatabaseManagement.GetManagedDatabasesAsmProperties(ctx, &databasemanagement.GetManagedDatabasesAsmPropertiesArgs{
			ManagedDatabaseId: oci_database_management_managed_database.Test_managed_database.Id,
			Name:              pulumi.StringRef(_var.Managed_databases_asm_property_name),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_managed_databases_asm_properties = oci.DatabaseManagement.get_managed_databases_asm_properties(managed_database_id=oci_database_management_managed_database["test_managed_database"]["id"],
    name=var["managed_databases_asm_property_name"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testManagedDatabasesAsmProperties = oci.DatabaseManagement.getManagedDatabasesAsmProperties({
    managedDatabaseId: oci_database_management_managed_database.test_managed_database.id,
    name: _var.managed_databases_asm_property_name,
});

Coming soon!

Using getManagedDatabasesAsmProperties

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 getManagedDatabasesAsmProperties(args: GetManagedDatabasesAsmPropertiesArgs, opts?: InvokeOptions): Promise<GetManagedDatabasesAsmPropertiesResult>
function getManagedDatabasesAsmPropertiesOutput(args: GetManagedDatabasesAsmPropertiesOutputArgs, opts?: InvokeOptions): Output<GetManagedDatabasesAsmPropertiesResult>
def get_managed_databases_asm_properties(filters: Optional[Sequence[_databasemanagement.GetManagedDatabasesAsmPropertiesFilter]] = None,
                                         managed_database_id: Optional[str] = None,
                                         name: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetManagedDatabasesAsmPropertiesResult
def get_managed_databases_asm_properties_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_databasemanagement.GetManagedDatabasesAsmPropertiesFilterArgs]]]] = None,
                                         managed_database_id: Optional[pulumi.Input[str]] = None,
                                         name: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetManagedDatabasesAsmPropertiesResult]
func GetManagedDatabasesAsmProperties(ctx *Context, args *GetManagedDatabasesAsmPropertiesArgs, opts ...InvokeOption) (*GetManagedDatabasesAsmPropertiesResult, error)
func GetManagedDatabasesAsmPropertiesOutput(ctx *Context, args *GetManagedDatabasesAsmPropertiesOutputArgs, opts ...InvokeOption) GetManagedDatabasesAsmPropertiesResultOutput

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

public static class GetManagedDatabasesAsmProperties 
{
    public static Task<GetManagedDatabasesAsmPropertiesResult> InvokeAsync(GetManagedDatabasesAsmPropertiesArgs args, InvokeOptions? opts = null)
    public static Output<GetManagedDatabasesAsmPropertiesResult> Invoke(GetManagedDatabasesAsmPropertiesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetManagedDatabasesAsmPropertiesResult> getManagedDatabasesAsmProperties(GetManagedDatabasesAsmPropertiesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:DatabaseManagement/getManagedDatabasesAsmProperties:getManagedDatabasesAsmProperties
  Arguments:
    # Arguments dictionary

The following arguments are supported:

ManagedDatabaseId string

The OCID of the Managed Database.

Filters List<GetManagedDatabasesAsmPropertiesFilter>
Name string

A filter to return only resources that match the entire name.

ManagedDatabaseId string

The OCID of the Managed Database.

Filters []GetManagedDatabasesAsmPropertiesFilter
Name string

A filter to return only resources that match the entire name.

managedDatabaseId String

The OCID of the Managed Database.

filters List<GetManagedDatabasesAsmPropertiesFilter>
name String

A filter to return only resources that match the entire name.

managedDatabaseId string

The OCID of the Managed Database.

filters GetManagedDatabasesAsmPropertiesFilter[]
name string

A filter to return only resources that match the entire name.

managed_database_id str

The OCID of the Managed Database.

filters GetManagedDatabasesAsmPropertiesFilter]
name str

A filter to return only resources that match the entire name.

managedDatabaseId String

The OCID of the Managed Database.

filters List<Property Map>
name String

A filter to return only resources that match the entire name.

getManagedDatabasesAsmProperties Result

The following output properties are available:

AsmPropertyCollections List<GetManagedDatabasesAsmPropertiesAsmPropertyCollection>

The list of asm_property_collection.

Id string

The provider-assigned unique ID for this managed resource.

ManagedDatabaseId string
Filters List<GetManagedDatabasesAsmPropertiesFilter>
Name string
AsmPropertyCollections []GetManagedDatabasesAsmPropertiesAsmPropertyCollection

The list of asm_property_collection.

Id string

The provider-assigned unique ID for this managed resource.

ManagedDatabaseId string
Filters []GetManagedDatabasesAsmPropertiesFilter
Name string
asmPropertyCollections List<GetManagedDatabasesAsmPropertiesAsmPropertyCollection>

The list of asm_property_collection.

id String

The provider-assigned unique ID for this managed resource.

managedDatabaseId String
filters List<GetManagedDatabasesAsmPropertiesFilter>
name String
asmPropertyCollections GetManagedDatabasesAsmPropertiesAsmPropertyCollection[]

The list of asm_property_collection.

id string

The provider-assigned unique ID for this managed resource.

managedDatabaseId string
filters GetManagedDatabasesAsmPropertiesFilter[]
name string
asm_property_collections GetManagedDatabasesAsmPropertiesAsmPropertyCollection]

The list of asm_property_collection.

id str

The provider-assigned unique ID for this managed resource.

managed_database_id str
filters GetManagedDatabasesAsmPropertiesFilter]
name str
asmPropertyCollections List<Property Map>

The list of asm_property_collection.

id String

The provider-assigned unique ID for this managed resource.

managedDatabaseId String
filters List<Property Map>
name String

Supporting Types

GetManagedDatabasesAsmPropertiesAsmPropertyCollection

items GetManagedDatabasesAsmPropertiesAsmPropertyCollectionItem]

An array of AsmPropertySummary resources.

items List<Property Map>

An array of AsmPropertySummary resources.

GetManagedDatabasesAsmPropertiesAsmPropertyCollectionItem

DiskGroup string

The name of the disk group.

DiskGroup string

The name of the disk group.

diskGroup String

The name of the disk group.

diskGroup string

The name of the disk group.

disk_group str

The name of the disk group.

diskGroup String

The name of the disk group.

GetManagedDatabasesAsmPropertiesFilter

Name string

A filter to return only resources that match the entire name.

Values List<string>
Regex bool
Name string

A filter to return only resources that match the entire name.

Values []string
Regex bool
name String

A filter to return only resources that match the entire name.

values List<String>
regex Boolean
name string

A filter to return only resources that match the entire name.

values string[]
regex boolean
name str

A filter to return only resources that match the entire name.

values Sequence[str]
regex bool
name String

A filter to return only resources that match the entire name.

values List<String>
regex Boolean

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.