oci.DatabaseManagement.ExternalExadataInfrastructureExadataManagement
Explore with Pulumi AI
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
The ExternalExadataInfrastructureExadataManagement resource accepts the following input properties:
- Enable
Exadata bool (Updatable) A required field when set to
true
calls enable action and when set tofalse
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 stringInfrastructure Id - The OCID of the Exadata infrastructure.
- License
Model string - The Oracle license model.
- Enable
Exadata bool (Updatable) A required field when set to
true
calls enable action and when set tofalse
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 stringInfrastructure Id - The OCID of the Exadata infrastructure.
- License
Model string - The Oracle license model.
- enable
Exadata Boolean (Updatable) A required field when set to
true
calls enable action and when set tofalse
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 StringInfrastructure Id - The OCID of the Exadata infrastructure.
- license
Model String - The Oracle license model.
- enable
Exadata boolean (Updatable) A required field when set to
true
calls enable action and when set tofalse
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 stringInfrastructure Id - The OCID of the Exadata infrastructure.
- license
Model string - The Oracle license model.
- enable_
exadata bool (Updatable) A required field when set to
true
calls enable action and when set tofalse
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_ strinfrastructure_ id - The OCID of the Exadata infrastructure.
- license_
model str - The Oracle license model.
- enable
Exadata Boolean (Updatable) A required field when set to
true
calls enable action and when set tofalse
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 StringInfrastructure Id - The OCID of the Exadata infrastructure.
- license
Model 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.
- Enable
Exadata bool (Updatable) A required field when set to
true
calls enable action and when set tofalse
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 stringInfrastructure Id - The OCID of the Exadata infrastructure.
- License
Model string - The Oracle license model.
- Enable
Exadata bool (Updatable) A required field when set to
true
calls enable action and when set tofalse
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 stringInfrastructure Id - The OCID of the Exadata infrastructure.
- License
Model string - The Oracle license model.
- enable
Exadata Boolean (Updatable) A required field when set to
true
calls enable action and when set tofalse
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 StringInfrastructure Id - The OCID of the Exadata infrastructure.
- license
Model String - The Oracle license model.
- enable
Exadata boolean (Updatable) A required field when set to
true
calls enable action and when set tofalse
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 stringInfrastructure Id - The OCID of the Exadata infrastructure.
- license
Model string - The Oracle license model.
- enable_
exadata bool (Updatable) A required field when set to
true
calls enable action and when set tofalse
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_ strinfrastructure_ id - The OCID of the Exadata infrastructure.
- license_
model str - The Oracle license model.
- enable
Exadata Boolean (Updatable) A required field when set to
true
calls enable action and when set tofalse
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 StringInfrastructure Id - The OCID of the Exadata infrastructure.
- license
Model 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.