import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const example = new nutanix.ClusterProfileV2("example", { * name: "tf-cluster-profile", * description: "Example Cluster Profile created via Terraform", * allowedOverrides: [ * "NTP_SERVER_CONFIG", * "SNMP_SERVER_CONFIG", * ], * nameServerIpLists: [{ * ipv4s: [{ * value: "240.29.254.180", * }], * ipv6s: [{ * value: "1a7d:9a64:df8d:dfd8:39c6:c4ea:e35c:0ba4", * }], * }], * ntpServerIpLists: [{ * ipv4s: [{ * value: "240.29.254.180", * }], * ipv6s: [{ * value: "1a7d:9a64:df8d:dfd8:39c6:c4ea:e35c:0ba4", * }], * fqdns: [{ * value: "ntp.example.com", * }], * }], * smtpServer: { * emailAddress: "email@example.com", * type: "SSL", * server: { * ipAddress: { * ipv4s: [{ * value: "240.29.254.180", * }], * ipv6s: [{ * value: "1a7d:9a64:df8d:dfd8:39c6:c4ea:e35c:0ba4", * }], * fqdns: [{ * value: "smtp.example.com", * }], * }, * }, * }, * nfsSubnetWhiteLists: ["10.110.106.45/255.255.255.255"], * snmpConfig: { * isEnabled: true, * users: [{ * username: "snmpuser1", * authType: "MD5", * authKey: "Example_SNMP_user_authentication_key", * privType: "DES", * privKey: "Example_SNMP_user_encryption_key", * }], * transports: [{ * protocol: "UDP", * port: 21, * }], * traps: [{ * address: { * ipv4s: [{ * value: "240.29.254.180", * prefixLength: 24, * }], * ipv6s: [{ * value: "1a7d:9a64:df8d:dfd8:39c6:c4ea:e35c:0ba4", * }], * }, * username: "trapuser", * protocol: "UDP", * port: 59, * shouldInform: false, * engineId: "0x1234567890abcdef12", * version: "V2", * receiverName: "trap-receiver", * communityString: "snmp-server community public RO 192.168.1.0 255.255.255.0", * }], * }, * rsyslogServerLists: [{ * serverName: "exampleServer1", * port: 29, * networkProtocol: "UDP", * ipAddress: { * ipv4s: [{ * value: "240.29.254.180", * }], * ipv6s: [{ * value: "1a7d:9a64:df8d:dfd8:39c6:c4ea:e35c:0ba4", * }], * }, * modules: [ * { * name: "CASSANDRA", * logSeverityLevel: "EMERGENCY", * shouldLogMonitorFiles: true, * }, * { * name: "CURATOR", * logSeverityLevel: "ERROR", * shouldLogMonitorFiles: false, * }, * ], * }], * pulseStatuses: [{ * isEnabled: false, * piiScrubbingLevel: "DEFAULT", * }], * }); * ``` * */ export declare class ClusterProfileV2 extends pulumi.CustomResource { /** * Get an existing ClusterProfileV2 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?: ClusterProfileV2State, opts?: pulumi.CustomResourceOptions): ClusterProfileV2; /** * Returns true if the given object is an instance of ClusterProfileV2. 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 ClusterProfileV2; /** * - (Optional) Indicates if a configuration of attached clusters can be skipped from monitoring. * * | Enum | Description | * |---------------------------|--------------------------------------------| * | NFS_SUBNET_WHITELIST_CONFIG | NFS subnet whitelist configuration | * | NTP_SERVER_CONFIG | NTP server configuration | * | SNMP_SERVER_CONFIG | SNMP server configuration | * | SMTP_SERVER_CONFIG | SMTP server configuration | * | PULSE_CONFIG | Pulse status for a cluster | * | NAME_SERVER_CONFIG | Name server configuration | * | RSYSLOG_SERVER_CONFIG | RSYSLOG server configuration | */ readonly allowedOverrides: pulumi.Output; readonly clusterCount: pulumi.Output; readonly clusters: pulumi.Output; readonly createTime: pulumi.Output; readonly createdBy: pulumi.Output; /** * - (Optional) Detailed description of a cluster profile. */ readonly description: pulumi.Output; readonly driftedClusterCount: pulumi.Output; readonly dryrun: pulumi.Output; readonly extId: pulumi.Output; readonly lastUpdateTime: pulumi.Output; readonly lastUpdatedBy: pulumi.Output; readonly links: pulumi.Output; /** * - (Required) Name of the cluster profile. */ readonly name: pulumi.Output; /** * - (Optional) List of name servers on a cluster. This is a part of payload for both clusters create and update operations. Currently, only IPv4 address and FQDN (fully qualified domain name) values are supported for the create operation. */ readonly nameServerIpLists: pulumi.Output; /** * - (Optional) NFS subnet allowlist addresses. This is part of the payload for cluster update operation only. */ readonly nfsSubnetWhiteLists: pulumi.Output; /** * - (Optional) List of NTP servers on a cluster. This is a part of payload for both cluster create and update operations. Currently, only IPv4 address and FQDN (fully qualified domain name) values are supported for the create operation. */ readonly ntpServerIpLists: pulumi.Output; /** * - (Optional) Pulse status for a cluster. */ readonly pulseStatuses: pulumi.Output; /** * - (Optional) RSYSLOG Server. */ readonly rsyslogServerLists: pulumi.Output; /** * - (Optional) SMTP servers on a cluster. This is part of payload for cluster update operation only. */ readonly smtpServer: pulumi.Output; /** * - (Optional) SNMP information. */ readonly snmpConfig: pulumi.Output; readonly tenantId: pulumi.Output; /** * Create a ClusterProfileV2 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?: ClusterProfileV2Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ClusterProfileV2 resources. */ export interface ClusterProfileV2State { /** * - (Optional) Indicates if a configuration of attached clusters can be skipped from monitoring. * * | Enum | Description | * |---------------------------|--------------------------------------------| * | NFS_SUBNET_WHITELIST_CONFIG | NFS subnet whitelist configuration | * | NTP_SERVER_CONFIG | NTP server configuration | * | SNMP_SERVER_CONFIG | SNMP server configuration | * | SMTP_SERVER_CONFIG | SMTP server configuration | * | PULSE_CONFIG | Pulse status for a cluster | * | NAME_SERVER_CONFIG | Name server configuration | * | RSYSLOG_SERVER_CONFIG | RSYSLOG server configuration | */ allowedOverrides?: pulumi.Input[] | undefined>; clusterCount?: pulumi.Input; clusters?: pulumi.Input[] | undefined>; createTime?: pulumi.Input; createdBy?: pulumi.Input; /** * - (Optional) Detailed description of a cluster profile. */ description?: pulumi.Input; driftedClusterCount?: pulumi.Input; dryrun?: pulumi.Input; extId?: pulumi.Input; lastUpdateTime?: pulumi.Input; lastUpdatedBy?: pulumi.Input; links?: pulumi.Input[] | undefined>; /** * - (Required) Name of the cluster profile. */ name?: pulumi.Input; /** * - (Optional) List of name servers on a cluster. This is a part of payload for both clusters create and update operations. Currently, only IPv4 address and FQDN (fully qualified domain name) values are supported for the create operation. */ nameServerIpLists?: pulumi.Input[] | undefined>; /** * - (Optional) NFS subnet allowlist addresses. This is part of the payload for cluster update operation only. */ nfsSubnetWhiteLists?: pulumi.Input[] | undefined>; /** * - (Optional) List of NTP servers on a cluster. This is a part of payload for both cluster create and update operations. Currently, only IPv4 address and FQDN (fully qualified domain name) values are supported for the create operation. */ ntpServerIpLists?: pulumi.Input[] | undefined>; /** * - (Optional) Pulse status for a cluster. */ pulseStatuses?: pulumi.Input[] | undefined>; /** * - (Optional) RSYSLOG Server. */ rsyslogServerLists?: pulumi.Input[] | undefined>; /** * - (Optional) SMTP servers on a cluster. This is part of payload for cluster update operation only. */ smtpServer?: pulumi.Input; /** * - (Optional) SNMP information. */ snmpConfig?: pulumi.Input; tenantId?: pulumi.Input; } /** * The set of arguments for constructing a ClusterProfileV2 resource. */ export interface ClusterProfileV2Args { /** * - (Optional) Indicates if a configuration of attached clusters can be skipped from monitoring. * * | Enum | Description | * |---------------------------|--------------------------------------------| * | NFS_SUBNET_WHITELIST_CONFIG | NFS subnet whitelist configuration | * | NTP_SERVER_CONFIG | NTP server configuration | * | SNMP_SERVER_CONFIG | SNMP server configuration | * | SMTP_SERVER_CONFIG | SMTP server configuration | * | PULSE_CONFIG | Pulse status for a cluster | * | NAME_SERVER_CONFIG | Name server configuration | * | RSYSLOG_SERVER_CONFIG | RSYSLOG server configuration | */ allowedOverrides?: pulumi.Input[] | undefined>; /** * - (Optional) Detailed description of a cluster profile. */ description?: pulumi.Input; dryrun?: pulumi.Input; /** * - (Required) Name of the cluster profile. */ name?: pulumi.Input; /** * - (Optional) List of name servers on a cluster. This is a part of payload for both clusters create and update operations. Currently, only IPv4 address and FQDN (fully qualified domain name) values are supported for the create operation. */ nameServerIpLists?: pulumi.Input[] | undefined>; /** * - (Optional) NFS subnet allowlist addresses. This is part of the payload for cluster update operation only. */ nfsSubnetWhiteLists?: pulumi.Input[] | undefined>; /** * - (Optional) List of NTP servers on a cluster. This is a part of payload for both cluster create and update operations. Currently, only IPv4 address and FQDN (fully qualified domain name) values are supported for the create operation. */ ntpServerIpLists?: pulumi.Input[] | undefined>; /** * - (Optional) Pulse status for a cluster. */ pulseStatuses?: pulumi.Input[] | undefined>; /** * - (Optional) RSYSLOG Server. */ rsyslogServerLists?: pulumi.Input[] | undefined>; /** * - (Optional) SMTP servers on a cluster. This is part of payload for cluster update operation only. */ smtpServer?: pulumi.Input; /** * - (Optional) SNMP information. */ snmpConfig?: pulumi.Input; } //# sourceMappingURL=clusterProfileV2.d.ts.map