1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DatabaseManagement
  5. ExternalExadataInfrastructureExadataManagement
Oracle Cloud Infrastructure v1.11.0 published on Wednesday, Sep 27, 2023 by Pulumi

oci.DatabaseManagement.ExternalExadataInfrastructureExadataManagement

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.11.0 published on Wednesday, Sep 27, 2023 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

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testExternalExadataInfrastructureExadataManagement = new Oci.DatabaseManagement.ExternalExadataInfrastructureExadataManagement("testExternalExadataInfrastructureExadataManagement", new()
        {
            ExternalExadataInfrastructureId = oci_database_management_external_exadata_infrastructure.Test_external_exadata_infrastructure.Id,
            EnableExadata = @var.Enable_exadata,
            LicenseModel = @var.External_exadata_infrastructure_exadata_management_license_model,
        });
    
    });
    
    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.NewExternalExadataInfrastructureExadataManagement(ctx, "testExternalExadataInfrastructureExadataManagement", &DatabaseManagement.ExternalExadataInfrastructureExadataManagementArgs{
    			ExternalExadataInfrastructureId: pulumi.Any(oci_database_management_external_exadata_infrastructure.Test_external_exadata_infrastructure.Id),
    			EnableExadata:                   pulumi.Any(_var.Enable_exadata),
    			LicenseModel:                    pulumi.Any(_var.External_exadata_infrastructure_exadata_management_license_model),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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(oci_database_management_external_exadata_infrastructure.test_external_exadata_infrastructure().id())
                .enableExadata(var_.enable_exadata())
                .licenseModel(var_.external_exadata_infrastructure_exadata_management_license_model())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_oci as oci
    
    test_external_exadata_infrastructure_exadata_management = oci.database_management.ExternalExadataInfrastructureExadataManagement("testExternalExadataInfrastructureExadataManagement",
        external_exadata_infrastructure_id=oci_database_management_external_exadata_infrastructure["test_external_exadata_infrastructure"]["id"],
        enable_exadata=var["enable_exadata"],
        license_model=var["external_exadata_infrastructure_exadata_management_license_model"])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testExternalExadataInfrastructureExadataManagement = new oci.databasemanagement.ExternalExadataInfrastructureExadataManagement("testExternalExadataInfrastructureExadataManagement", {
        externalExadataInfrastructureId: oci_database_management_external_exadata_infrastructure.test_external_exadata_infrastructure.id,
        enableExadata: _var.enable_exadata,
        licenseModel: _var.external_exadata_infrastructure_exadata_management_license_model,
    });
    
    resources:
      testExternalExadataInfrastructureExadataManagement:
        type: oci:DatabaseManagement:ExternalExadataInfrastructureExadataManagement
        properties:
          #Required
          externalExadataInfrastructureId: ${oci_database_management_external_exadata_infrastructure.test_external_exadata_infrastructure.id}
          enableExadata: ${var.enable_exadata}
          #Optional
          licenseModel: ${var.external_exadata_infrastructure_exadata_management_license_model}
    

    Create ExternalExadataInfrastructureExadataManagement Resource

    new ExternalExadataInfrastructureExadataManagement(name: string, args: ExternalExadataInfrastructureExadataManagementArgs, opts?: CustomResourceOptions);
    @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)
    @overload
    def ExternalExadataInfrastructureExadataManagement(resource_name: str,
                                                       args: ExternalExadataInfrastructureExadataManagementArgs,
                                                       opts: Optional[ResourceOptions] = 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.
    
    
    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.

    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

    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 v1.11.0 published on Wednesday, Sep 27, 2023 by Pulumi