import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a Nutanix Virtual Machine resource to Migrate a nic. * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const migrate = new nutanix.VmNetworkDeviceMigrateV2("migrate", { * vmExtId: "246f6e8a-ff05-4057-af6b-b1fd23a46d7d", * extId: "eb0157e7-4a87-4ba6-ac8f-62cfe6251b8b", * subnets: [{ * extId: "6085d3ba-99ce-41fa-9866-e5d5babb62c7", * }], * migrateType: "ASSIGN_IP", * ipAddresses: [{ * value: "10.10.10.11", * prefixLength: 32, * }], * }); * ``` * */ export declare class VmNetworkDeviceMigrateV2 extends pulumi.CustomResource { /** * Get an existing VmNetworkDeviceMigrateV2 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?: VmNetworkDeviceMigrateV2State, opts?: pulumi.CustomResourceOptions): VmNetworkDeviceMigrateV2; /** * Returns true if the given object is an instance of VmNetworkDeviceMigrateV2. 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 VmNetworkDeviceMigrateV2; /** * - (Required) The globally unique identifier of a Nic. It should be of type UUID. */ readonly extId: pulumi.Output; /** * - (Optional) Ip config settings. */ readonly ipAddresses: pulumi.Output; /** * - (Required) The type of IP address management for NIC migration. * Valid values are: * - `ASSIGN_IP` The type of NIC is Span-Destination. * - `RELEASE_IP` The type of NIC is Normal. */ readonly migrateType: pulumi.Output; /** * - (Required) Network identifier for this adapter. Only valid if nicType is NORMAL_NIC or DIRECT_NIC. */ readonly subnets: pulumi.Output; /** * - (Required) The globally unique identifier of a VM. It should be of type UUID. */ readonly vmExtId: pulumi.Output; /** * Create a VmNetworkDeviceMigrateV2 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: VmNetworkDeviceMigrateV2Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering VmNetworkDeviceMigrateV2 resources. */ export interface VmNetworkDeviceMigrateV2State { /** * - (Required) The globally unique identifier of a Nic. It should be of type UUID. */ extId?: pulumi.Input; /** * - (Optional) Ip config settings. */ ipAddresses?: pulumi.Input[] | undefined>; /** * - (Required) The type of IP address management for NIC migration. * Valid values are: * - `ASSIGN_IP` The type of NIC is Span-Destination. * - `RELEASE_IP` The type of NIC is Normal. */ migrateType?: pulumi.Input; /** * - (Required) Network identifier for this adapter. Only valid if nicType is NORMAL_NIC or DIRECT_NIC. */ subnets?: pulumi.Input[] | undefined>; /** * - (Required) The globally unique identifier of a VM. It should be of type UUID. */ vmExtId?: pulumi.Input; } /** * The set of arguments for constructing a VmNetworkDeviceMigrateV2 resource. */ export interface VmNetworkDeviceMigrateV2Args { /** * - (Required) The globally unique identifier of a Nic. It should be of type UUID. */ extId: pulumi.Input; /** * - (Optional) Ip config settings. */ ipAddresses?: pulumi.Input[] | undefined>; /** * - (Required) The type of IP address management for NIC migration. * Valid values are: * - `ASSIGN_IP` The type of NIC is Span-Destination. * - `RELEASE_IP` The type of NIC is Normal. */ migrateType: pulumi.Input; /** * - (Required) Network identifier for this adapter. Only valid if nicType is NORMAL_NIC or DIRECT_NIC. */ subnets: pulumi.Input[]>; /** * - (Required) The globally unique identifier of a VM. It should be of type UUID. */ vmExtId: pulumi.Input; } //# sourceMappingURL=vmNetworkDeviceMigrateV2.d.ts.map