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 Datacc service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/ * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/datacc * * Create an VM cluster on Database Infrastructure network using the specified details. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVmClusterNetwork = new oci.oci.DataccVmClusterNetwork("test_vm_cluster_network", { * compartmentId: compartmentId, * displayName: vmClusterNetworkDisplayName, * infrastructureId: testInfrastructure.id, * vmNetworks: [{ * domainName: testDomain.name, * gateway: vmClusterNetworkVmNetworksGateway, * netmask: vmClusterNetworkVmNetworksNetmask, * networkType: vmClusterNetworkVmNetworksNetworkType, * nodes: [{ * hostname: vmClusterNetworkVmNetworksNodesHostname, * ip: vmClusterNetworkVmNetworksNodesIp, * vip: vmClusterNetworkVmNetworksNodesVip, * vipHostname: vmClusterNetworkVmNetworksNodesVipHostname, * }], * prefix: vmClusterNetworkVmNetworksPrefix, * vlanId: testVlan.id, * }], * consumerType: vmClusterNetworkConsumerType, * definedTags: { * "foo-namespace.bar-key": "value", * }, * dnsServers: vmClusterNetworkDnsServers, * freeformTags: { * "bar-key": "value", * }, * listenerPort: Number(vmClusterNetworkListenerPort), * listenerPortSsl: Number(vmClusterNetworkListenerPortSsl), * nodeCount: Number(vmClusterNetworkNodeCount), * ntpServers: vmClusterNetworkNtpServers, * scans: [{ * hostname: vmClusterNetworkScansHostname, * ips: vmClusterNetworkScansIps, * }], * }); * ``` * * ## Import * * VmClusterNetworks can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:oci/dataccVmClusterNetwork:DataccVmClusterNetwork test_vm_cluster_network "id" * ``` */ export declare class DataccVmClusterNetwork extends pulumi.CustomResource { /** * Get an existing DataccVmClusterNetwork 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?: DataccVmClusterNetworkState, opts?: pulumi.CustomResourceOptions): DataccVmClusterNetwork; /** * Returns true if the given object is an instance of DataccVmClusterNetwork. 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 DataccVmClusterNetwork; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated resource. */ readonly associatedResourceId: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated VM cluster. */ readonly baseVmClusterId: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the VM cluster network. */ readonly compartmentId: pulumi.Output; /** * Consumer type for the VM cluster network. */ readonly consumerType: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) The user-friendly name for the 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 dnsServers: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure. */ readonly infrastructureId: pulumi.Output; /** * Indicates whether Single Client Access Name (SCAN) is enabled on the VM cluster. */ readonly isScanEnabled: pulumi.Output; /** * Lifecycle state details of the VM cluster network. */ readonly lifecycleDetails: pulumi.Output; /** * (Updatable) The listener TCP/IP port. */ readonly listenerPort: pulumi.Output; /** * (Updatable) The listener TCP/IP SSL port. Default is 2484. */ readonly listenerPortSsl: pulumi.Output; /** * Count of virtual machines in this VM cluster. */ readonly nodeCount: pulumi.Output; /** * (Updatable) The list of NTP server IP addresses. Maximum of 3 allowed. */ readonly ntpServers: pulumi.Output; /** * (Updatable) The SCAN details. */ readonly scans: pulumi.Output; /** * The current state of the virtual machine cluster network. */ readonly state: pulumi.Output; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The time that the VM cluster network was created. An RFC3339 formatted datetime string. */ readonly timeCreated: pulumi.Output; /** * The time that the VM cluster network was last updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: pulumi.Output; /** * (Updatable) Details of the client and backup networks. */ readonly vmNetworks: pulumi.Output; /** * Create a DataccVmClusterNetwork 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: DataccVmClusterNetworkArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DataccVmClusterNetwork resources. */ export interface DataccVmClusterNetworkState { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated resource. */ associatedResourceId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated VM cluster. */ baseVmClusterId?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the VM cluster network. */ compartmentId?: pulumi.Input; /** * Consumer type for the VM cluster network. */ consumerType?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) The user-friendly name for the 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. */ dnsServers?: pulumi.Input[] | undefined>; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure. */ infrastructureId?: pulumi.Input; /** * Indicates whether Single Client Access Name (SCAN) is enabled on the VM cluster. */ isScanEnabled?: pulumi.Input; /** * Lifecycle state details of the VM cluster network. */ lifecycleDetails?: pulumi.Input; /** * (Updatable) The listener TCP/IP port. */ listenerPort?: pulumi.Input; /** * (Updatable) The listener TCP/IP SSL port. Default is 2484. */ listenerPortSsl?: pulumi.Input; /** * Count of virtual machines in this VM cluster. */ nodeCount?: pulumi.Input; /** * (Updatable) The list of NTP server IP addresses. Maximum of 3 allowed. */ ntpServers?: pulumi.Input[] | undefined>; /** * (Updatable) The SCAN details. */ scans?: pulumi.Input[] | undefined>; /** * The current state of the virtual machine cluster network. */ state?: pulumi.Input; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The time that the VM cluster network was created. An RFC3339 formatted datetime string. */ timeCreated?: pulumi.Input; /** * The time that the VM cluster network was last updated. An RFC3339 formatted datetime string. */ timeUpdated?: pulumi.Input; /** * (Updatable) Details of the client and backup networks. */ vmNetworks?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a DataccVmClusterNetwork resource. */ export interface DataccVmClusterNetworkArgs { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the VM cluster network. */ compartmentId: pulumi.Input; /** * Consumer type for the VM cluster network. */ consumerType?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) The user-friendly name for the 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. */ dnsServers?: pulumi.Input[] | undefined>; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure. */ infrastructureId: pulumi.Input; /** * (Updatable) The listener TCP/IP port. */ listenerPort?: pulumi.Input; /** * (Updatable) The listener TCP/IP SSL port. Default is 2484. */ listenerPortSsl?: pulumi.Input; /** * Count of virtual machines in this VM cluster. */ nodeCount?: pulumi.Input; /** * (Updatable) The list of NTP server IP addresses. Maximum of 3 allowed. */ ntpServers?: pulumi.Input[] | undefined>; /** * (Updatable) The SCAN details. */ scans?: pulumi.Input[] | undefined>; /** * (Updatable) Details of the client and backup networks. */ vmNetworks: pulumi.Input[]>; } //# sourceMappingURL=dataccVmClusterNetwork.d.ts.map