import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Vm Cluster Network resource in Oracle Cloud Infrastructure Database service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database/latest/VmClusterNetwork * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/database * * Creates the VM cluster network. Applies to Exadata Cloud@Customer instances only. * To create a cloud VM cluster in an Exadata Cloud Service instance, use the [CreateCloudVmCluster ](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/CloudVmCluster/CreateCloudVmCluster) operation. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVmClusterNetwork = new oci.database.VmClusterNetwork("test_vm_cluster_network", { * compartmentId: compartmentId, * displayName: vmClusterNetworkDisplayName, * exadataInfrastructureId: testExadataInfrastructure.id, * scans: [{ * hostname: vmClusterNetworkScansHostname, * ips: vmClusterNetworkScansIps, * port: Number(vmClusterNetworkScansPort), * scanListenerPortTcp: Number(vmClusterNetworkScansScanListenerPortTcp), * scanListenerPortTcpSsl: Number(vmClusterNetworkScansScanListenerPortTcpSsl), * }], * vmNetworks: [{ * networkType: vmClusterNetworkVmNetworksNetworkType, * nodes: [{ * hostname: vmClusterNetworkVmNetworksNodesHostname, * ip: vmClusterNetworkVmNetworksNodesIp, * dbServerId: testDbServer.id, * state: vmClusterNetworkVmNetworksNodesState, * vip: vmClusterNetworkVmNetworksNodesVip, * vipHostname: vmClusterNetworkVmNetworksNodesVipHostname, * }], * domainName: testDomain.name, * gateway: vmClusterNetworkVmNetworksGateway, * netmask: vmClusterNetworkVmNetworksNetmask, * vlanId: vmClusterNetworkVmNetworksVlanId, * }], * definedTags: vmClusterNetworkDefinedTags, * dns: vmClusterNetworkDns, * drScans: [{ * hostname: vmClusterNetworkDrScansHostname, * ips: vmClusterNetworkDrScansIps, * scanListenerPortTcp: Number(vmClusterNetworkDrScansScanListenerPortTcp), * scanListenerPortTcpSsl: Number(vmClusterNetworkDrScansScanListenerPortTcpSsl), * }], * freeformTags: { * Department: "Finance", * }, * ntps: vmClusterNetworkNtp, * validateVmClusterNetwork: vmClusterNetworkValidateVmClusterNetwork === "true", * }); * ``` * * ## Import * * VmClusterNetworks can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Database/vmClusterNetwork:VmClusterNetwork test_vm_cluster_network "exadataInfrastructures/{exadataInfrastructureId}/vmClusterNetworks/{vmClusterNetworkId}" * ``` */ export declare class VmClusterNetwork extends pulumi.CustomResource { /** * Get an existing VmClusterNetwork resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: VmClusterNetworkState, opts?: pulumi.CustomResourceOptions): VmClusterNetwork; /** * Returns true if the given object is an instance of VmClusterNetwork. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is VmClusterNetwork; readonly action: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * The user-friendly name for the Exadata Cloud@Customer VM cluster network. The name does not need to be unique. */ readonly displayName: pulumi.Output; /** * (Updatable) The list of DNS server IP addresses. Maximum of 3 allowed. */ readonly dns: pulumi.Output; /** * (Updatable) The SCAN details for DR network */ readonly drScans: pulumi.Output; /** * The Exadata infrastructure [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ readonly exadataInfrastructureId: pulumi.Output; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * Additional information about the current lifecycle state. */ readonly lifecycleDetails: pulumi.Output; /** * (Updatable) The list of NTP server IP addresses. Maximum of 3 allowed. */ readonly ntps: pulumi.Output; /** * (Updatable) The SCAN details. */ readonly scans: pulumi.Output; /** * The current state of the VM cluster network nodes. CREATING - The resource is being created REQUIRES_VALIDATION - The resource is created and may not be usable until it is validated. VALIDATING - The resource is being validated and not available to use. VALIDATED - The resource is validated and is available for consumption by VM cluster. VALIDATION_FAILED - The resource validation has failed and might require user input to be corrected. UPDATING - The resource is being updated and not available to use. ALLOCATED - The resource is currently being used by VM cluster. TERMINATING - The resource is being deleted and not available to use. TERMINATED - The resource is deleted and unavailable. FAILED - The resource is in a failed state due to validation or other errors. */ readonly state: pulumi.Output; /** * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The date and time when the VM cluster network was created. */ readonly timeCreated: pulumi.Output; /** * (Updatable) A boolean flag indicating whether or not to validate VM cluster network after creation. Updates are not allowed on validated exadata VM cluster network. Note: Deleting a VM Cluster resource puts a VM Cluster Network in `REQUIRES_VALIDATION` state. This results in `After applying this step and refreshing, the plan was not empty` error and users should apply the terraform configuration again to validate the VM Cluster Network. */ readonly validateVmClusterNetwork: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated VM Cluster. */ readonly vmClusterId: pulumi.Output; /** * (Updatable) Details of the client and backup networks. */ readonly vmNetworks: pulumi.Output; /** * Create a VmClusterNetwork resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: VmClusterNetworkArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering VmClusterNetwork resources. */ export interface VmClusterNetworkState { action?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The user-friendly name for the Exadata Cloud@Customer VM cluster network. The name does not need to be unique. */ displayName?: pulumi.Input; /** * (Updatable) The list of DNS server IP addresses. Maximum of 3 allowed. */ dns?: pulumi.Input[] | undefined>; /** * (Updatable) The SCAN details for DR network */ drScans?: pulumi.Input[] | undefined>; /** * The Exadata infrastructure [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ exadataInfrastructureId?: pulumi.Input; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Additional information about the current lifecycle state. */ lifecycleDetails?: pulumi.Input; /** * (Updatable) The list of NTP server IP addresses. Maximum of 3 allowed. */ ntps?: pulumi.Input[] | undefined>; /** * (Updatable) The SCAN details. */ scans?: pulumi.Input[] | undefined>; /** * The current state of the VM cluster network nodes. CREATING - The resource is being created REQUIRES_VALIDATION - The resource is created and may not be usable until it is validated. VALIDATING - The resource is being validated and not available to use. VALIDATED - The resource is validated and is available for consumption by VM cluster. VALIDATION_FAILED - The resource validation has failed and might require user input to be corrected. UPDATING - The resource is being updated and not available to use. ALLOCATED - The resource is currently being used by VM cluster. TERMINATING - The resource is being deleted and not available to use. TERMINATED - The resource is deleted and unavailable. FAILED - The resource is in a failed state due to validation or other errors. */ state?: pulumi.Input; /** * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The date and time when the VM cluster network was created. */ timeCreated?: pulumi.Input; /** * (Updatable) A boolean flag indicating whether or not to validate VM cluster network after creation. Updates are not allowed on validated exadata VM cluster network. Note: Deleting a VM Cluster resource puts a VM Cluster Network in `REQUIRES_VALIDATION` state. This results in `After applying this step and refreshing, the plan was not empty` error and users should apply the terraform configuration again to validate the VM Cluster Network. */ validateVmClusterNetwork?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated VM Cluster. */ vmClusterId?: pulumi.Input; /** * (Updatable) Details of the client and backup networks. */ vmNetworks?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a VmClusterNetwork resource. */ export interface VmClusterNetworkArgs { action?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The user-friendly name for the Exadata Cloud@Customer VM cluster network. The name does not need to be unique. */ displayName: pulumi.Input; /** * (Updatable) The list of DNS server IP addresses. Maximum of 3 allowed. */ dns?: pulumi.Input[] | undefined>; /** * (Updatable) The SCAN details for DR network */ drScans?: pulumi.Input[] | undefined>; /** * The Exadata infrastructure [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ exadataInfrastructureId: pulumi.Input; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) The list of NTP server IP addresses. Maximum of 3 allowed. */ ntps?: pulumi.Input[] | undefined>; /** * (Updatable) The SCAN details. */ scans: pulumi.Input[]>; /** * (Updatable) A boolean flag indicating whether or not to validate VM cluster network after creation. Updates are not allowed on validated exadata VM cluster network. Note: Deleting a VM Cluster resource puts a VM Cluster Network in `REQUIRES_VALIDATION` state. This results in `After applying this step and refreshing, the plan was not empty` error and users should apply the terraform configuration again to validate the VM Cluster Network. */ validateVmClusterNetwork?: pulumi.Input; /** * (Updatable) Details of the client and backup networks. */ vmNetworks: pulumi.Input[]>; } //# sourceMappingURL=vmClusterNetwork.d.ts.map