import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Attaches iSCSI initiator to a Volume Group identified by {extId}. * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * //list iscsi clients * const list_iscsi_clients = nutanix.getVolumeIscsiClientsV2({}); * // attach iscsi client to the volume group * const vgIscsiExample = new nutanix.index.VolumeGroupIscsiClientsV2("vg_iscsi_example", { * vgExtId: "1cdb5b48-fb2c-41b6-b751-b504117ee3e2", * extId: list_iscsi_clients.iscsiClients?.[0]?.extId, * iscsiInitiatorName: list_iscsi_clients.iscsiClients?.[0]?.iscsiInitiatorName, * }); * ``` * */ export declare class VolumeGroupIscsiClientV2 extends pulumi.CustomResource { /** * Get an existing VolumeGroupIscsiClientV2 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?: VolumeGroupIscsiClientV2State, opts?: pulumi.CustomResourceOptions): VolumeGroupIscsiClientV2; /** * Returns true if the given object is an instance of VolumeGroupIscsiClientV2. 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 VolumeGroupIscsiClientV2; /** * -(Optional) The site where the Volume Group attach operation should be processed. This is an optional field. This field may only be set if Metro DR has been configured for this Volume Group. Valid values are SECONDARY, PRIMARY. */ readonly attachmentSite: pulumi.Output; /** * -(Optional) iSCSI initiator client secret in case of CHAP authentication. This field should not be provided in case the authentication type is not set to CHAP. */ readonly clientSecret: pulumi.Output; /** * -(Optional) (Optional) The authentication type enabled for the Volume Group. This is an optional field. If omitted, authentication is not configured for the Volume Group. If this is set to CHAP, the target/client secret must be provided. Valid values are CHAP, NONE */ readonly enabledAuthentications: pulumi.Output; /** * -(Required) A globally unique identifier of an instance that is suitable for external consumption. */ readonly extId: pulumi.Output; /** * -iSCSI initiator name. During the attach operation, exactly one of iscsiInitiatorName and iscsiInitiatorNetworkId must be specified. This field is immutable. */ readonly iscsiInitiatorName: pulumi.Output; /** * - An unique address that identifies a device on the internet or a local network in IPv4/IPv6 format or a Fully Qualified Domain Name. */ readonly iscsiInitiatorNetworkIds: pulumi.Output; /** * -(Optional) Number of virtual targets generated for the iSCSI target. This field is immutable. */ readonly numVirtualTargets: pulumi.Output; /** * -(Required) The external identifier of the volume group. */ readonly vgExtId: pulumi.Output; /** * Create a VolumeGroupIscsiClientV2 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: VolumeGroupIscsiClientV2Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering VolumeGroupIscsiClientV2 resources. */ export interface VolumeGroupIscsiClientV2State { /** * -(Optional) The site where the Volume Group attach operation should be processed. This is an optional field. This field may only be set if Metro DR has been configured for this Volume Group. Valid values are SECONDARY, PRIMARY. */ attachmentSite?: pulumi.Input; /** * -(Optional) iSCSI initiator client secret in case of CHAP authentication. This field should not be provided in case the authentication type is not set to CHAP. */ clientSecret?: pulumi.Input; /** * -(Optional) (Optional) The authentication type enabled for the Volume Group. This is an optional field. If omitted, authentication is not configured for the Volume Group. If this is set to CHAP, the target/client secret must be provided. Valid values are CHAP, NONE */ enabledAuthentications?: pulumi.Input; /** * -(Required) A globally unique identifier of an instance that is suitable for external consumption. */ extId?: pulumi.Input; /** * -iSCSI initiator name. During the attach operation, exactly one of iscsiInitiatorName and iscsiInitiatorNetworkId must be specified. This field is immutable. */ iscsiInitiatorName?: pulumi.Input; /** * - An unique address that identifies a device on the internet or a local network in IPv4/IPv6 format or a Fully Qualified Domain Name. */ iscsiInitiatorNetworkIds?: pulumi.Input[] | undefined>; /** * -(Optional) Number of virtual targets generated for the iSCSI target. This field is immutable. */ numVirtualTargets?: pulumi.Input; /** * -(Required) The external identifier of the volume group. */ vgExtId?: pulumi.Input; } /** * The set of arguments for constructing a VolumeGroupIscsiClientV2 resource. */ export interface VolumeGroupIscsiClientV2Args { /** * -(Optional) The site where the Volume Group attach operation should be processed. This is an optional field. This field may only be set if Metro DR has been configured for this Volume Group. Valid values are SECONDARY, PRIMARY. */ attachmentSite?: pulumi.Input; /** * -(Optional) iSCSI initiator client secret in case of CHAP authentication. This field should not be provided in case the authentication type is not set to CHAP. */ clientSecret?: pulumi.Input; /** * -(Optional) (Optional) The authentication type enabled for the Volume Group. This is an optional field. If omitted, authentication is not configured for the Volume Group. If this is set to CHAP, the target/client secret must be provided. Valid values are CHAP, NONE */ enabledAuthentications?: pulumi.Input; /** * -(Required) A globally unique identifier of an instance that is suitable for external consumption. */ extId?: pulumi.Input; /** * -iSCSI initiator name. During the attach operation, exactly one of iscsiInitiatorName and iscsiInitiatorNetworkId must be specified. This field is immutable. */ iscsiInitiatorName?: pulumi.Input; /** * - An unique address that identifies a device on the internet or a local network in IPv4/IPv6 format or a Fully Qualified Domain Name. */ iscsiInitiatorNetworkIds?: pulumi.Input[] | undefined>; /** * -(Optional) Number of virtual targets generated for the iSCSI target. This field is immutable. */ numVirtualTargets?: pulumi.Input; /** * -(Required) The external identifier of the volume group. */ vgExtId: pulumi.Input; } //# sourceMappingURL=volumeGroupIscsiClientV2.d.ts.map