1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DatabaseManagement
  5. ExternalExadataInfrastructureExadataManagement
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.DatabaseManagement.ExternalExadataInfrastructureExadataManagement

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This resource provides the External Exadata Infrastructure Exadata Management resource in Oracle Cloud Infrastructure Database Management service.

    Enables Database Management for the Exadata infrastructure specified by externalExadataInfrastructureId. It covers the following components:

    • Exadata infrastructure
    • Exadata storage grid
    • Exadata storage server

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testExternalExadataInfrastructureExadataManagement = new oci.databasemanagement.ExternalExadataInfrastructureExadataManagement("test_external_exadata_infrastructure_exadata_management", {
        externalExadataInfrastructureId: testExternalExadataInfrastructure.id,
        enableExadata: enableExadata,
        licenseModel: externalExadataInfrastructureExadataManagementLicenseModel,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_external_exadata_infrastructure_exadata_management = oci.database_management.ExternalExadataInfrastructureExadataManagement("test_external_exadata_infrastructure_exadata_management",
        external_exadata_infrastructure_id=test_external_exadata_infrastructure["id"],
        enable_exadata=enable_exadata,
        license_model=external_exadata_infrastructure_exadata_management_license_model)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DatabaseManagement"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := DatabaseManagement.NewExternalExadataInfrastructureExadataManagement(ctx, "test_external_exadata_infrastructure_exadata_management", &DatabaseManagement.ExternalExadataInfrastructureExadataManagementArgs{
    			ExternalExadataInfrastructureId: pulumi.Any(testExternalExadataInfrastructure.Id),
    			EnableExadata:                   pulumi.Any(enableExadata),
    			LicenseModel:                    pulumi.Any(externalExadataInfrastructureExadataManagementLicenseModel),
    		})
    		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 testExternalExadataInfrastructureExadataManagement = new Oci.DatabaseManagement.ExternalExadataInfrastructureExadataManagement("test_external_exadata_infrastructure_exadata_management", new()
        {
            ExternalExadataInfrastructureId = testExternalExadataInfrastructure.Id,
            EnableExadata = enableExadata,
            LicenseModel = externalExadataInfrastructureExadataManagementLicenseModel,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DatabaseManagement.ExternalExadataInfrastructureExadataManagement;
    import com.pulumi.oci.DatabaseManagement.ExternalExadataInfrastructureExadataManagementArgs;
    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) {
            var testExternalExadataInfrastructureExadataManagement = new ExternalExadataInfrastructureExadataManagement("testExternalExadataInfrastructureExadataManagement", ExternalExadataInfrastructureExadataManagementArgs.builder()
                .externalExadataInfrastructureId(testExternalExadataInfrastructure.id())
                .enableExadata(enableExadata)
                .licenseModel(externalExadataInfrastructureExadataManagementLicenseModel)
                .build());
    
        }
    }
    
    resources:
      testExternalExadataInfrastructureExadataManagement:
        type: oci:DatabaseManagement:ExternalExadataInfrastructureExadataManagement
        name: test_external_exadata_infrastructure_exadata_management
        properties:
          externalExadataInfrastructureId: ${testExternalExadataInfrastructure.id}
          enableExadata: ${enableExadata}
          licenseModel: ${externalExadataInfrastructureExadataManagementLicenseModel}
    

    Create ExternalExadataInfrastructureExadataManagement Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ExternalExadataInfrastructureExadataManagement(name: string, args: ExternalExadataInfrastructureExadataManagementArgs, opts?: CustomResourceOptions);
    @overload
    def ExternalExadataInfrastructureExadataManagement(resource_name: str,
                                                       args: ExternalExadataInfrastructureExadataManagementArgs,
                                                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def ExternalExadataInfrastructureExadataManagement(resource_name: str,
                                                       opts: Optional[ResourceOptions] = None,
                                                       enable_exadata: Optional[bool] = None,
                                                       external_exadata_infrastructure_id: Optional[str] = None,
                                                       license_model: Optional[str] = None)
    func NewExternalExadataInfrastructureExadataManagement(ctx *Context, name string, args ExternalExadataInfrastructureExadataManagementArgs, opts ...ResourceOption) (*ExternalExadataInfrastructureExadataManagement, error)
    public ExternalExadataInfrastructureExadataManagement(string name, ExternalExadataInfrastructureExadataManagementArgs args, CustomResourceOptions? opts = null)
    public ExternalExadataInfrastructureExadataManagement(String name, ExternalExadataInfrastructureExadataManagementArgs args)
    public ExternalExadataInfrastructureExadataManagement(String name, ExternalExadataInfrastructureExadataManagementArgs args, CustomResourceOptions options)
    
    type: oci:DatabaseManagement:ExternalExadataInfrastructureExadataManagement
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ExternalExadataInfrastructureExadataManagementArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ExternalExadataInfrastructureExadataManagementArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ExternalExadataInfrastructureExadataManagementArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ExternalExadataInfrastructureExadataManagementArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ExternalExadataInfrastructureExadataManagementArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var externalExadataInfrastructureExadataManagementResource = new Oci.DatabaseManagement.ExternalExadataInfrastructureExadataManagement("externalExadataInfrastructureExadataManagementResource", new()
    {
        EnableExadata = false,
        ExternalExadataInfrastructureId = "string",
        LicenseModel = "string",
    });
    
    example, err := DatabaseManagement.NewExternalExadataInfrastructureExadataManagement(ctx, "externalExadataInfrastructureExadataManagementResource", &DatabaseManagement.ExternalExadataInfrastructureExadataManagementArgs{
    	EnableExadata:                   pulumi.Bool(false),
    	ExternalExadataInfrastructureId: pulumi.String("string"),
    	LicenseModel:                    pulumi.String("string"),
    })
    
    var externalExadataInfrastructureExadataManagementResource = new ExternalExadataInfrastructureExadataManagement("externalExadataInfrastructureExadataManagementResource", ExternalExadataInfrastructureExadataManagementArgs.builder()
        .enableExadata(false)
        .externalExadataInfrastructureId("string")
        .licenseModel("string")
        .build());
    
    external_exadata_infrastructure_exadata_management_resource = oci.database_management.ExternalExadataInfrastructureExadataManagement("externalExadataInfrastructureExadataManagementResource",
        enable_exadata=False,
        external_exadata_infrastructure_id="string",
        license_model="string")
    
    const externalExadataInfrastructureExadataManagementResource = new oci.databasemanagement.ExternalExadataInfrastructureExadataManagement("externalExadataInfrastructureExadataManagementResource", {
        enableExadata: false,
        externalExadataInfrastructureId: "string",
        licenseModel: "string",
    });
    
    type: oci:DatabaseManagement:ExternalExadataInfrastructureExadataManagement
    properties:
        enableExadata: false
        externalExadataInfrastructureId: string
        licenseModel: string
    

    ExternalExadataInfrastructureExadataManagement Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ExternalExadataInfrastructureExadataManagement resource accepts the following input properties:

    EnableExadata bool

    (Updatable) A required field when set to true calls enable action and when set to false calls disable action.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    ExternalExadataInfrastructureId string
    The OCID of the Exadata infrastructure.
    LicenseModel string
    The Oracle license model.
    EnableExadata bool

    (Updatable) A required field when set to true calls enable action and when set to false calls disable action.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    ExternalExadataInfrastructureId string
    The OCID of the Exadata infrastructure.
    LicenseModel string
    The Oracle license model.
    enableExadata Boolean

    (Updatable) A required field when set to true calls enable action and when set to false calls disable action.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    externalExadataInfrastructureId String
    The OCID of the Exadata infrastructure.
    licenseModel String
    The Oracle license model.
    enableExadata boolean

    (Updatable) A required field when set to true calls enable action and when set to false calls disable action.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    externalExadataInfrastructureId string
    The OCID of the Exadata infrastructure.
    licenseModel string
    The Oracle license model.
    enable_exadata bool

    (Updatable) A required field when set to true calls enable action and when set to false calls disable action.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    external_exadata_infrastructure_id str
    The OCID of the Exadata infrastructure.
    license_model str
    The Oracle license model.
    enableExadata Boolean

    (Updatable) A required field when set to true calls enable action and when set to false calls disable action.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    externalExadataInfrastructureId String
    The OCID of the Exadata infrastructure.
    licenseModel String
    The Oracle license model.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ExternalExadataInfrastructureExadataManagement resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ExternalExadataInfrastructureExadataManagement Resource

    Get an existing ExternalExadataInfrastructureExadataManagement resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ExternalExadataInfrastructureExadataManagementState, opts?: CustomResourceOptions): ExternalExadataInfrastructureExadataManagement
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            enable_exadata: Optional[bool] = None,
            external_exadata_infrastructure_id: Optional[str] = None,
            license_model: Optional[str] = None) -> ExternalExadataInfrastructureExadataManagement
    func GetExternalExadataInfrastructureExadataManagement(ctx *Context, name string, id IDInput, state *ExternalExadataInfrastructureExadataManagementState, opts ...ResourceOption) (*ExternalExadataInfrastructureExadataManagement, error)
    public static ExternalExadataInfrastructureExadataManagement Get(string name, Input<string> id, ExternalExadataInfrastructureExadataManagementState? state, CustomResourceOptions? opts = null)
    public static ExternalExadataInfrastructureExadataManagement get(String name, Output<String> id, ExternalExadataInfrastructureExadataManagementState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    EnableExadata bool

    (Updatable) A required field when set to true calls enable action and when set to false calls disable action.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    ExternalExadataInfrastructureId string
    The OCID of the Exadata infrastructure.
    LicenseModel string
    The Oracle license model.
    EnableExadata bool

    (Updatable) A required field when set to true calls enable action and when set to false calls disable action.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    ExternalExadataInfrastructureId string
    The OCID of the Exadata infrastructure.
    LicenseModel string
    The Oracle license model.
    enableExadata Boolean

    (Updatable) A required field when set to true calls enable action and when set to false calls disable action.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    externalExadataInfrastructureId String
    The OCID of the Exadata infrastructure.
    licenseModel String
    The Oracle license model.
    enableExadata boolean

    (Updatable) A required field when set to true calls enable action and when set to false calls disable action.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    externalExadataInfrastructureId string
    The OCID of the Exadata infrastructure.
    licenseModel string
    The Oracle license model.
    enable_exadata bool

    (Updatable) A required field when set to true calls enable action and when set to false calls disable action.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    external_exadata_infrastructure_id str
    The OCID of the Exadata infrastructure.
    license_model str
    The Oracle license model.
    enableExadata Boolean

    (Updatable) A required field when set to true calls enable action and when set to false calls disable action.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    externalExadataInfrastructureId String
    The OCID of the Exadata infrastructure.
    licenseModel String
    The Oracle license model.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi