Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.DatabaseMigration.getMigrationObjectTypes
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMigrationObjectTypes = oci.DatabaseMigration.getMigrationObjectTypes({
connectionType: migrationObjectTypeConnectionType,
});
import pulumi
import pulumi_oci as oci
test_migration_object_types = oci.DatabaseMigration.get_migration_object_types(connection_type=migration_object_type_connection_type)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DatabaseMigration"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := DatabaseMigration.GetMigrationObjectTypes(ctx, &databasemigration.GetMigrationObjectTypesArgs{
ConnectionType: migrationObjectTypeConnectionType,
}, 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 testMigrationObjectTypes = Oci.DatabaseMigration.GetMigrationObjectTypes.Invoke(new()
{
ConnectionType = migrationObjectTypeConnectionType,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DatabaseMigration.DatabaseMigrationFunctions;
import com.pulumi.oci.DatabaseMigration.inputs.GetMigrationObjectTypesArgs;
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 testMigrationObjectTypes = DatabaseMigrationFunctions.getMigrationObjectTypes(GetMigrationObjectTypesArgs.builder()
.connectionType(migrationObjectTypeConnectionType)
.build());
}
}
variables:
testMigrationObjectTypes:
fn::invoke:
Function: oci:DatabaseMigration:getMigrationObjectTypes
Arguments:
connectionType: ${migrationObjectTypeConnectionType}
Using getMigrationObjectTypes
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 getMigrationObjectTypes(args: GetMigrationObjectTypesArgs, opts?: InvokeOptions): Promise<GetMigrationObjectTypesResult>
function getMigrationObjectTypesOutput(args: GetMigrationObjectTypesOutputArgs, opts?: InvokeOptions): Output<GetMigrationObjectTypesResult>
def get_migration_object_types(connection_type: Optional[str] = None,
filters: Optional[Sequence[_databasemigration.GetMigrationObjectTypesFilter]] = None,
opts: Optional[InvokeOptions] = None) -> GetMigrationObjectTypesResult
def get_migration_object_types_output(connection_type: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_databasemigration.GetMigrationObjectTypesFilterArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMigrationObjectTypesResult]
func GetMigrationObjectTypes(ctx *Context, args *GetMigrationObjectTypesArgs, opts ...InvokeOption) (*GetMigrationObjectTypesResult, error)
func GetMigrationObjectTypesOutput(ctx *Context, args *GetMigrationObjectTypesOutputArgs, opts ...InvokeOption) GetMigrationObjectTypesResultOutput
> Note: This function is named GetMigrationObjectTypes
in the Go SDK.
public static class GetMigrationObjectTypes
{
public static Task<GetMigrationObjectTypesResult> InvokeAsync(GetMigrationObjectTypesArgs args, InvokeOptions? opts = null)
public static Output<GetMigrationObjectTypesResult> Invoke(GetMigrationObjectTypesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetMigrationObjectTypesResult> getMigrationObjectTypes(GetMigrationObjectTypesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:DatabaseMigration/getMigrationObjectTypes:getMigrationObjectTypes
arguments:
# arguments dictionary
The following arguments are supported:
- Connection
Type string - The connection type for migration objects.
- Filters
List<Get
Migration Object Types Filter>
- Connection
Type string - The connection type for migration objects.
- Filters
[]Get
Migration Object Types Filter
- connection
Type String - The connection type for migration objects.
- filters
List<Get
Migration Object Types Filter>
- connection
Type string - The connection type for migration objects.
- filters
Get
Migration Object Types Filter[]
- connection_
type str - The connection type for migration objects.
- filters
Sequence[databasemigration.
Get Migration Object Types Filter]
- connection
Type String - The connection type for migration objects.
- filters List<Property Map>
getMigrationObjectTypes Result
The following output properties are available:
- Connection
Type string - Id string
- The provider-assigned unique ID for this managed resource.
- Migration
Object List<GetType Summary Collections Migration Object Types Migration Object Type Summary Collection> - The list of migration_object_type_summary_collection.
- Filters
List<Get
Migration Object Types Filter>
- Connection
Type string - Id string
- The provider-assigned unique ID for this managed resource.
- Migration
Object []GetType Summary Collections Migration Object Types Migration Object Type Summary Collection - The list of migration_object_type_summary_collection.
- Filters
[]Get
Migration Object Types Filter
- connection
Type String - id String
- The provider-assigned unique ID for this managed resource.
- migration
Object List<GetType Summary Collections Migration Object Types Migration Object Type Summary Collection> - The list of migration_object_type_summary_collection.
- filters
List<Get
Migration Object Types Filter>
- connection
Type string - id string
- The provider-assigned unique ID for this managed resource.
- migration
Object GetType Summary Collections Migration Object Types Migration Object Type Summary Collection[] - The list of migration_object_type_summary_collection.
- filters
Get
Migration Object Types Filter[]
- connection_
type str - id str
- The provider-assigned unique ID for this managed resource.
- migration_
object_ Sequence[databasemigration.type_ summary_ collections Get Migration Object Types Migration Object Type Summary Collection] - The list of migration_object_type_summary_collection.
- filters
Sequence[databasemigration.
Get Migration Object Types Filter]
- connection
Type String - id String
- The provider-assigned unique ID for this managed resource.
- migration
Object List<Property Map>Type Summary Collections - The list of migration_object_type_summary_collection.
- filters List<Property Map>
Supporting Types
GetMigrationObjectTypesFilter
GetMigrationObjectTypesMigrationObjectTypeSummaryCollection
- Items
List<Get
Migration Object Types Migration Object Type Summary Collection Item> - Items in collection.
- Items
[]Get
Migration Object Types Migration Object Type Summary Collection Item - Items in collection.
- items
List<Get
Migration Object Types Migration Object Type Summary Collection Item> - Items in collection.
- items
Get
Migration Object Types Migration Object Type Summary Collection Item[] - Items in collection.
- items List<Property Map>
- Items in collection.
GetMigrationObjectTypesMigrationObjectTypeSummaryCollectionItem
- Name string
- Object type name
- Name string
- Object type name
- name String
- Object type name
- name string
- Object type name
- name str
- Object type name
- name String
- Object type name
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.