import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a resource to add a Nutanix cluster based on the input parameters. * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const clsname = new nutanix.index.NdbClusters("clsname", { * name: "{{ test-cluster }}", * description: "test description", * clusterIp: "{{ cluster_ip }}", * username: "{{ username of cluster }}", * password: "{{ password of cluster }}", * storageContainer: "{{ storage_container }}", * agentNetworkInfo: [{ * dns: "{{ DNS servers available in the }}", * ntp: "{{ NTP servers available }}", * }], * networksInfo: [{ * type: "DHCP", * networkInfo: [{ * vlanName: "vlan_static", * staticIp: "{{ static_ip }}", * gateway: "{{ gateway }}", * subnetMask: "{{ subnet_mask }}", * }], * accessType: [ * "PRISM", * "DSIP", * "DBSERVER", * ], * }], * }); * ``` * */ export declare class NdbCluster extends pulumi.CustomResource { /** * Get an existing NdbCluster 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?: NdbClusterState, opts?: pulumi.CustomResourceOptions): NdbCluster; /** * Returns true if the given object is an instance of NdbCluster. 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 NdbCluster; /** * agent network info to register cluster */ readonly agentNetworkInfos: pulumi.Output; readonly agentVmPrefix: pulumi.Output; /** * - cloud info */ readonly cloudInfo: pulumi.Output; /** * - cloud type */ readonly cloudType: pulumi.Output; /** * Prism Element IP address */ readonly clusterIp: pulumi.Output; readonly clusterType: pulumi.Output; /** * - creation date */ readonly dateCreated: pulumi.Output; /** * - date modified */ readonly dateModified: pulumi.Output; /** * description of cluster */ readonly description: pulumi.Output; /** * - no. of entities related */ readonly entityCounts: pulumi.Output; /** * - fqdn */ readonly fqdns: pulumi.Output; /** * - if healthy status */ readonly healthy: pulumi.Output; /** * - hypervisor type */ readonly hypervisorType: pulumi.Output; /** * - hypervisor version */ readonly hypervisorVersion: pulumi.Output; /** * - IP address */ readonly ipAddresses: pulumi.Output; /** * - NA */ readonly managementServerInfo: pulumi.Output; /** * name of the cluster to be registered */ readonly name: pulumi.Output; /** * network segmentation to segment the network traffic of the agent VM. */ readonly networksInfos: pulumi.Output; /** * - nutanix cluster uuid */ readonly nxClusterUuid: pulumi.Output; /** * - owner UUID */ readonly ownerId: pulumi.Output; /** * Prism Element password */ readonly password: pulumi.Output; readonly port: pulumi.Output; /** * - list of properties */ readonly properties: pulumi.Output; readonly protocol: pulumi.Output; /** * - NA */ readonly referenceCount: pulumi.Output; /** * - resource related consumption info */ readonly resourceConfigs: pulumi.Output; /** * - current status */ readonly status: pulumi.Output; /** * select a storage container which is used for performing database operations in the cluster */ readonly storageContainer: pulumi.Output; /** * - unique name of cluster */ readonly uniqueName: pulumi.Output; /** * username of the Prism Element administrator */ readonly username: pulumi.Output; /** * - version */ readonly version: pulumi.Output; /** * Create a NdbCluster 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: NdbClusterArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NdbCluster resources. */ export interface NdbClusterState { /** * agent network info to register cluster */ agentNetworkInfos?: pulumi.Input[] | undefined>; agentVmPrefix?: pulumi.Input; /** * - cloud info */ cloudInfo?: pulumi.Input; /** * - cloud type */ cloudType?: pulumi.Input; /** * Prism Element IP address */ clusterIp?: pulumi.Input; clusterType?: pulumi.Input; /** * - creation date */ dateCreated?: pulumi.Input; /** * - date modified */ dateModified?: pulumi.Input; /** * description of cluster */ description?: pulumi.Input; /** * - no. of entities related */ entityCounts?: pulumi.Input[] | undefined>; /** * - fqdn */ fqdns?: pulumi.Input; /** * - if healthy status */ healthy?: pulumi.Input; /** * - hypervisor type */ hypervisorType?: pulumi.Input; /** * - hypervisor version */ hypervisorVersion?: pulumi.Input; /** * - IP address */ ipAddresses?: pulumi.Input[] | undefined>; /** * - NA */ managementServerInfo?: pulumi.Input; /** * name of the cluster to be registered */ name?: pulumi.Input; /** * network segmentation to segment the network traffic of the agent VM. */ networksInfos?: pulumi.Input[] | undefined>; /** * - nutanix cluster uuid */ nxClusterUuid?: pulumi.Input; /** * - owner UUID */ ownerId?: pulumi.Input; /** * Prism Element password */ password?: pulumi.Input; port?: pulumi.Input; /** * - list of properties */ properties?: pulumi.Input[] | undefined>; protocol?: pulumi.Input; /** * - NA */ referenceCount?: pulumi.Input; /** * - resource related consumption info */ resourceConfigs?: pulumi.Input[] | undefined>; /** * - current status */ status?: pulumi.Input; /** * select a storage container which is used for performing database operations in the cluster */ storageContainer?: pulumi.Input; /** * - unique name of cluster */ uniqueName?: pulumi.Input; /** * username of the Prism Element administrator */ username?: pulumi.Input; /** * - version */ version?: pulumi.Input; } /** * The set of arguments for constructing a NdbCluster resource. */ export interface NdbClusterArgs { /** * agent network info to register cluster */ agentNetworkInfos: pulumi.Input[]>; agentVmPrefix?: pulumi.Input; /** * Prism Element IP address */ clusterIp: pulumi.Input; clusterType?: pulumi.Input; /** * description of cluster */ description?: pulumi.Input; /** * name of the cluster to be registered */ name?: pulumi.Input; /** * network segmentation to segment the network traffic of the agent VM. */ networksInfos: pulumi.Input[]>; /** * Prism Element password */ password: pulumi.Input; port?: pulumi.Input; protocol?: pulumi.Input; /** * select a storage container which is used for performing database operations in the cluster */ storageContainer: pulumi.Input; /** * username of the Prism Element administrator */ username: pulumi.Input; /** * - version */ version?: pulumi.Input; } //# sourceMappingURL=ndbCluster.d.ts.map