import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Vm Instance 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 instance on Database Infrastructure using the specified details. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVmInstance = new oci.oci.DataccVmInstance("test_vm_instance", { * compartmentId: compartmentId, * cpusEnabled: Number(vmInstanceCpusEnabled), * infrastructureId: testInfrastructure.id, * sshPublicKeys: vmInstanceSshPublicKeys, * bootStorageSizeInGbs: vmInstanceBootStorageSizeInGbs, * dataStorageSizeInGb: vmInstanceDataStorageSizeInGb, * definedTags: { * "foo-namespace.bar-key": "value", * }, * description: vmInstanceDescription, * displayName: vmInstanceDisplayName, * dnsServers: vmInstanceDnsServers, * domainName: testDomain.name, * freeformTags: { * "bar-key": "value", * }, * gateway: vmInstanceGateway, * hostname: vmInstanceHostname, * imageId: testImage.id, * ipAddress: vmInstanceIpAddress, * memorySizeInGbs: vmInstanceMemorySizeInGbs, * metadata: vmInstanceMetadata, * netmask: vmInstanceNetmask, * ntpServers: vmInstanceNtpServers, * serverId: testServer.id, * systemTags: vmInstanceSystemTags, * timeZone: vmInstanceTimeZone, * userdata: vmInstanceUserdata, * vlanId: testVlan.id, * vmNetworkId: testVmNetwork.id, * }); * ``` * * ## Import * * VmInstances can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:oci/dataccVmInstance:DataccVmInstance test_vm_instance "id" * ``` */ export declare class DataccVmInstance extends pulumi.CustomResource { /** * Get an existing DataccVmInstance 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?: DataccVmInstanceState, opts?: pulumi.CustomResourceOptions): DataccVmInstance; /** * Returns true if the given object is an instance of DataccVmInstance. 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 DataccVmInstance; /** * Boot storage memory to be allocated in GBs. */ readonly bootStorageSizeInGbs: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the VM instance. */ readonly compartmentId: pulumi.Output; /** * The number of CPU cores enabled for each VM instance. */ readonly cpusEnabled: pulumi.Output; /** * (Updatable) Data storage to be allocated in GBs. */ readonly dataStorageSizeInGb: 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) VM instance description. */ readonly description: pulumi.Output; /** * (Updatable) VM instance display name. This name does not have to be unique, and is changeable. */ readonly displayName: pulumi.Output; /** * The list of DNS server IP addresses. Maximum of 3 allowed. */ readonly dnsServers: pulumi.Output; /** * The domain name of the VM instance. */ readonly domainName: 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 gateway IP address of the VM instance network */ readonly gateway: pulumi.Output; /** * The host name of the instance. */ readonly hostname: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM custom instance uploaded. */ readonly imageId: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure. */ readonly infrastructureId: pulumi.Output; /** * The IP address of the instance. */ readonly ipAddress: pulumi.Output; /** * Lifecycle state details of the VM instance. */ readonly lifecycleDetails: pulumi.Output; /** * The memory to be allocated in GBs. */ readonly memorySizeInGbs: pulumi.Output; /** * Custom metadata key/value pairs which can be used to: * * Provide information to [Cloud-Init](https://cloudinit.readthedocs.org/en/latest/) to be used for various system initialization tasks. * * Provide additional information which is exposed inside the instance context and can be queried or referenced by user-data scripts for dynamic configuration. */ readonly metadata: pulumi.Output<{ [key: string]: string; }>; /** * The netmask of the VM instance network. */ readonly netmask: pulumi.Output; /** * The list of NTP server IP addresses. Maximum of 3 allowed. */ readonly ntpServers: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute node on which VM instance should be launched. */ readonly serverId: pulumi.Output; /** * List of public key used for SSH access to the VM instance. */ readonly sshPublicKeys: pulumi.Output; /** * The current state of the VM instance. */ 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 instance was created. An RFC3339 formatted datetime string. */ readonly timeCreated: pulumi.Output; /** * The time that the VM instance was last updated. An RFC3339 formatted datetime string. */ readonly timeUpdated: pulumi.Output; /** * The time zone to use for the VM instance. */ readonly timeZone: pulumi.Output; /** * Base64-encoded data to be used by Cloud-Init to run custom scripts or provide custom Cloud-Init configuration. For information about how to take advantage of user data, see the [Cloud-Init Documentation](http://cloudinit.readthedocs.org/en/latest/topics/format.html). */ readonly userdata: pulumi.Output; /** * The network VLAN ID. */ readonly vlanId: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Network. * * ** 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 */ readonly vmNetworkId: pulumi.Output; /** * Create a DataccVmInstance 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: DataccVmInstanceArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DataccVmInstance resources. */ export interface DataccVmInstanceState { /** * Boot storage memory to be allocated in GBs. */ bootStorageSizeInGbs?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the VM instance. */ compartmentId?: pulumi.Input; /** * The number of CPU cores enabled for each VM instance. */ cpusEnabled?: pulumi.Input; /** * (Updatable) Data storage to be allocated in GBs. */ dataStorageSizeInGb?: 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) VM instance description. */ description?: pulumi.Input; /** * (Updatable) VM instance display name. This name does not have to be unique, and is changeable. */ displayName?: pulumi.Input; /** * The list of DNS server IP addresses. Maximum of 3 allowed. */ dnsServers?: pulumi.Input[] | undefined>; /** * The domain name of the VM instance. */ domainName?: pulumi.Input; /** * (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 gateway IP address of the VM instance network */ gateway?: pulumi.Input; /** * The host name of the instance. */ hostname?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM custom instance uploaded. */ imageId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure. */ infrastructureId?: pulumi.Input; /** * The IP address of the instance. */ ipAddress?: pulumi.Input; /** * Lifecycle state details of the VM instance. */ lifecycleDetails?: pulumi.Input; /** * The memory to be allocated in GBs. */ memorySizeInGbs?: pulumi.Input; /** * Custom metadata key/value pairs which can be used to: * * Provide information to [Cloud-Init](https://cloudinit.readthedocs.org/en/latest/) to be used for various system initialization tasks. * * Provide additional information which is exposed inside the instance context and can be queried or referenced by user-data scripts for dynamic configuration. */ metadata?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The netmask of the VM instance network. */ netmask?: pulumi.Input; /** * The list of NTP server IP addresses. Maximum of 3 allowed. */ ntpServers?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute node on which VM instance should be launched. */ serverId?: pulumi.Input; /** * List of public key used for SSH access to the VM instance. */ sshPublicKeys?: pulumi.Input[] | undefined>; /** * The current state of the VM instance. */ 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 instance was created. An RFC3339 formatted datetime string. */ timeCreated?: pulumi.Input; /** * The time that the VM instance was last updated. An RFC3339 formatted datetime string. */ timeUpdated?: pulumi.Input; /** * The time zone to use for the VM instance. */ timeZone?: pulumi.Input; /** * Base64-encoded data to be used by Cloud-Init to run custom scripts or provide custom Cloud-Init configuration. For information about how to take advantage of user data, see the [Cloud-Init Documentation](http://cloudinit.readthedocs.org/en/latest/topics/format.html). */ userdata?: pulumi.Input; /** * The network VLAN ID. */ vlanId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Network. * * ** 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 */ vmNetworkId?: pulumi.Input; } /** * The set of arguments for constructing a DataccVmInstance resource. */ export interface DataccVmInstanceArgs { /** * Boot storage memory to be allocated in GBs. */ bootStorageSizeInGbs?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the VM instance. */ compartmentId: pulumi.Input; /** * The number of CPU cores enabled for each VM instance. */ cpusEnabled: pulumi.Input; /** * (Updatable) Data storage to be allocated in GBs. */ dataStorageSizeInGb?: 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) VM instance description. */ description?: pulumi.Input; /** * (Updatable) VM instance display name. This name does not have to be unique, and is changeable. */ displayName?: pulumi.Input; /** * The list of DNS server IP addresses. Maximum of 3 allowed. */ dnsServers?: pulumi.Input[] | undefined>; /** * The domain name of the VM instance. */ domainName?: pulumi.Input; /** * (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 gateway IP address of the VM instance network */ gateway?: pulumi.Input; /** * The host name of the instance. */ hostname?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM custom instance uploaded. */ imageId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Infrastructure. */ infrastructureId: pulumi.Input; /** * The IP address of the instance. */ ipAddress?: pulumi.Input; /** * The memory to be allocated in GBs. */ memorySizeInGbs?: pulumi.Input; /** * Custom metadata key/value pairs which can be used to: * * Provide information to [Cloud-Init](https://cloudinit.readthedocs.org/en/latest/) to be used for various system initialization tasks. * * Provide additional information which is exposed inside the instance context and can be queried or referenced by user-data scripts for dynamic configuration. */ metadata?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The netmask of the VM instance network. */ netmask?: pulumi.Input; /** * The list of NTP server IP addresses. Maximum of 3 allowed. */ ntpServers?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute node on which VM instance should be launched. */ serverId?: pulumi.Input; /** * List of public key used for SSH access to the VM instance. */ sshPublicKeys: 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 zone to use for the VM instance. */ timeZone?: pulumi.Input; /** * Base64-encoded data to be used by Cloud-Init to run custom scripts or provide custom Cloud-Init configuration. For information about how to take advantage of user data, see the [Cloud-Init Documentation](http://cloudinit.readthedocs.org/en/latest/topics/format.html). */ userdata?: pulumi.Input; /** * The network VLAN ID. */ vlanId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Network. * * ** 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 */ vmNetworkId?: pulumi.Input; } //# sourceMappingURL=dataccVmInstance.d.ts.map