import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Compute Gpu Memory Cluster resource in Oracle Cloud Infrastructure Core service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/iaas/latest/ComputeGpuMemoryCluster * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/ * * Create a compute GPU memory cluster instance on a specific compute GPU memory fabric * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testComputeGpuMemoryCluster = new oci.core.ComputeGpuMemoryCluster("test_compute_gpu_memory_cluster", { * availabilityDomain: computeGpuMemoryClusterAvailabilityDomain, * compartmentId: compartmentId, * computeClusterId: testComputeCluster.id, * instanceConfigurationId: testInstanceConfiguration.id, * definedTags: { * "Operations.CostCenter": "42", * }, * displayName: computeGpuMemoryClusterDisplayName, * freeformTags: { * Department: "Finance", * }, * gpuMemoryClusterScaleConfig: { * isUpsizeEnabled: computeGpuMemoryClusterGpuMemoryClusterScaleConfigIsUpsizeEnabled === "true", * isDownsizeEnabled: computeGpuMemoryClusterGpuMemoryClusterScaleConfigIsDownsizeEnabled === "true", * targetSize: computeGpuMemoryClusterGpuMemoryClusterScaleConfigTargetSize, * }, * gpuMemoryFabricId: testGpuMemoryFabric.id, * privateIpIds: computeGpuMemoryClusterPrivateIpIds, * size: computeGpuMemoryClusterSize, * }); * ``` * * ## Import * * ComputeGpuMemoryClusters can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Core/computeGpuMemoryCluster:ComputeGpuMemoryCluster test_compute_gpu_memory_cluster "id" * ``` */ export declare class ComputeGpuMemoryCluster extends pulumi.CustomResource { /** * Get an existing ComputeGpuMemoryCluster 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?: ComputeGpuMemoryClusterState, opts?: pulumi.CustomResourceOptions): ComputeGpuMemoryCluster; /** * Returns true if the given object is an instance of ComputeGpuMemoryCluster. 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 ComputeGpuMemoryCluster; /** * The availability domain of the GPU Memory Cluster. */ readonly availabilityDomain: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the compute GPU Memory Cluster. compartment. */ readonly compartmentId: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster. */ readonly computeClusterId: 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). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ readonly displayName: 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; }>; /** * (Updatable) Configuration settings for GPU Memory Cluster scaling. */ readonly gpuMemoryClusterScaleConfig: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the GPU memory fabric. */ readonly gpuMemoryFabricId: pulumi.Output; /** * (Updatable) Instance Configuration to be used for this GPU Memory Cluster */ readonly instanceConfigurationId: pulumi.Output; /** * (Updatable) Unique list of OCIDs for private IPs (IPv4/IPv6) associated with the GPU Memory Cluster */ readonly privateIpIds: pulumi.Output; /** * (Updatable) The desired number of instances for the GPU Memory Cluster. * * ** 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 size: pulumi.Output; /** * The lifecycle state of the GPU Memory Cluster */ 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 date and time the GPU Memory Cluster was created. Example: `2016-09-15T21:10:29.600Z` */ readonly timeCreated: pulumi.Output; /** * Create a ComputeGpuMemoryCluster 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: ComputeGpuMemoryClusterArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ComputeGpuMemoryCluster resources. */ export interface ComputeGpuMemoryClusterState { /** * The availability domain of the GPU Memory Cluster. */ availabilityDomain?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the compute GPU Memory Cluster. compartment. */ compartmentId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster. */ computeClusterId?: 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). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ displayName?: 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) Configuration settings for GPU Memory Cluster scaling. */ gpuMemoryClusterScaleConfig?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the GPU memory fabric. */ gpuMemoryFabricId?: pulumi.Input; /** * (Updatable) Instance Configuration to be used for this GPU Memory Cluster */ instanceConfigurationId?: pulumi.Input; /** * (Updatable) Unique list of OCIDs for private IPs (IPv4/IPv6) associated with the GPU Memory Cluster */ privateIpIds?: pulumi.Input[] | undefined>; /** * (Updatable) The desired number of instances for the GPU Memory Cluster. * * ** 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 */ size?: pulumi.Input; /** * The lifecycle state of the GPU Memory Cluster */ 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 date and time the GPU Memory Cluster was created. Example: `2016-09-15T21:10:29.600Z` */ timeCreated?: pulumi.Input; } /** * The set of arguments for constructing a ComputeGpuMemoryCluster resource. */ export interface ComputeGpuMemoryClusterArgs { /** * The availability domain of the GPU Memory Cluster. */ availabilityDomain: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the compute GPU Memory Cluster. compartment. */ compartmentId: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute cluster. */ computeClusterId: 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). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ displayName?: 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) Configuration settings for GPU Memory Cluster scaling. */ gpuMemoryClusterScaleConfig?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the GPU memory fabric. */ gpuMemoryFabricId?: pulumi.Input; /** * (Updatable) Instance Configuration to be used for this GPU Memory Cluster */ instanceConfigurationId: pulumi.Input; /** * (Updatable) Unique list of OCIDs for private IPs (IPv4/IPv6) associated with the GPU Memory Cluster */ privateIpIds?: pulumi.Input[] | undefined>; /** * (Updatable) The desired number of instances for the GPU Memory Cluster. * * ** 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 */ size?: pulumi.Input; } //# sourceMappingURL=computeGpuMemoryCluster.d.ts.map