nutanix_vmm 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/CHANGELOG.md +11 -0
- data/Gemfile +9 -0
- data/README.md +931 -0
- data/Rakefile +10 -0
- data/docs/AssignIpById202Response.md +20 -0
- data/docs/AssignIpById4XXResponse.md +20 -0
- data/docs/AssignVmOwner202Response.md +20 -0
- data/docs/AssignVmOwner202Response1.md +20 -0
- data/docs/AssignVmOwner4XXResponse.md +20 -0
- data/docs/AssignVmOwner4XXResponse1.md +20 -0
- data/docs/AssociateCategories202Response.md +20 -0
- data/docs/AssociateCategories202Response1.md +20 -0
- data/docs/AssociateCategories4XXResponse.md +20 -0
- data/docs/AssociateCategories4XXResponse1.md +20 -0
- data/docs/CancelGuestUpdate202Response.md +20 -0
- data/docs/CancelGuestUpdate4XXResponse.md +20 -0
- data/docs/CloneVm202Response.md +20 -0
- data/docs/CloneVm4XXResponse.md +20 -0
- data/docs/CommonV10ConfigFlag.md +20 -0
- data/docs/CommonV10ConfigIPv4Address.md +20 -0
- data/docs/CommonV10ConfigKVPair.md +20 -0
- data/docs/CommonV10ConfigKVPairValue.md +59 -0
- data/docs/CommonV10ConfigMapOfStringWrapper.md +18 -0
- data/docs/CommonV10ConfigMessage.md +24 -0
- data/docs/CommonV10ConfigMessageSeverity.md +15 -0
- data/docs/CommonV10ConfigTenantAwareModel.md +18 -0
- data/docs/CommonV10ResponseApiLink.md +20 -0
- data/docs/CommonV10ResponseApiResponseMetadata.md +26 -0
- data/docs/CommonV10ResponseExternalizableAbstractModel.md +22 -0
- data/docs/CommonV10StatsDownSamplingOperator.md +15 -0
- data/docs/CompleteGuestUpdate202Response.md +20 -0
- data/docs/CompleteGuestUpdate4XXResponse.md +20 -0
- data/docs/CreateCdRom202Response.md +20 -0
- data/docs/CreateCdRom4XXResponse.md +20 -0
- data/docs/CreateDisk202Response.md +20 -0
- data/docs/CreateDisk4XXResponse.md +20 -0
- data/docs/CreateGpu202Response.md +20 -0
- data/docs/CreateGpu4XXResponse.md +20 -0
- data/docs/CreateImage202Response.md +20 -0
- data/docs/CreateImage4XXResponse.md +20 -0
- data/docs/CreateNic202Response.md +20 -0
- data/docs/CreateNic4XXResponse.md +20 -0
- data/docs/CreatePcieDevice202Response.md +20 -0
- data/docs/CreatePcieDevice4XXResponse.md +20 -0
- data/docs/CreatePlacementPolicy202Response.md +20 -0
- data/docs/CreatePlacementPolicy4XXResponse.md +20 -0
- data/docs/CreateRateLimitPolicy202Response.md +20 -0
- data/docs/CreateRateLimitPolicy4XXResponse.md +20 -0
- data/docs/CreateSerialPort202Response.md +20 -0
- data/docs/CreateSerialPort4XXResponse.md +20 -0
- data/docs/CreateTemplate202Response.md +20 -0
- data/docs/CreateTemplate4XXResponse.md +20 -0
- data/docs/CreateVm202Response.md +20 -0
- data/docs/CreateVm4XXResponse.md +20 -0
- data/docs/CreateVmAntiAffinityPolicy202Response.md +20 -0
- data/docs/CreateVmAntiAffinityPolicy4XXResponse.md +20 -0
- data/docs/CreateVmHostAffinityPolicy202Response.md +20 -0
- data/docs/CreateVmHostAffinityPolicy4XXResponse.md +20 -0
- data/docs/CrossClusterMigrateVm202Response.md +20 -0
- data/docs/CrossClusterMigrateVm4XXResponse.md +20 -0
- data/docs/CustomizeGuestVm202Response.md +20 -0
- data/docs/CustomizeGuestVm4XXResponse.md +20 -0
- data/docs/DataprotectionV40CommonBaseRecoveryPoint.md +34 -0
- data/docs/DataprotectionV40CommonRecoveryPointStatus.md +15 -0
- data/docs/DataprotectionV40CommonRecoveryPointType.md +15 -0
- data/docs/DeleteCdRomById202Response.md +20 -0
- data/docs/DeleteCdRomById4XXResponse.md +20 -0
- data/docs/DeleteDiskById202Response.md +20 -0
- data/docs/DeleteDiskById4XXResponse.md +20 -0
- data/docs/DeleteGpuById202Response.md +20 -0
- data/docs/DeleteGpuById4XXResponse.md +20 -0
- data/docs/DeleteImageById202Response.md +20 -0
- data/docs/DeleteImageById4XXResponse.md +20 -0
- data/docs/DeleteLegacyVmAntiAffinityPolicyById202Response.md +20 -0
- data/docs/DeleteLegacyVmAntiAffinityPolicyById4XXResponse.md +20 -0
- data/docs/DeleteNicById202Response.md +20 -0
- data/docs/DeleteNicById4XXResponse.md +20 -0
- data/docs/DeletePcieDeviceById202Response.md +20 -0
- data/docs/DeletePcieDeviceById4XXResponse.md +20 -0
- data/docs/DeletePlacementPolicyById202Response.md +20 -0
- data/docs/DeletePlacementPolicyById4XXResponse.md +20 -0
- data/docs/DeleteRateLimitPolicyById202Response.md +20 -0
- data/docs/DeleteRateLimitPolicyById4XXResponse.md +20 -0
- data/docs/DeleteSerialPortById202Response.md +20 -0
- data/docs/DeleteSerialPortById4XXResponse.md +20 -0
- data/docs/DeleteTemplateById202Response.md +20 -0
- data/docs/DeleteTemplateById4XXResponse.md +20 -0
- data/docs/DeleteTemplateVersionById202Response.md +20 -0
- data/docs/DeleteTemplateVersionById4XXResponse.md +20 -0
- data/docs/DeleteVmAntiAffinityPolicyById202Response.md +20 -0
- data/docs/DeleteVmAntiAffinityPolicyById4XXResponse.md +20 -0
- data/docs/DeleteVmById202Response.md +20 -0
- data/docs/DeleteVmById4XXResponse.md +20 -0
- data/docs/DeleteVmHostAffinityPolicyById202Response.md +20 -0
- data/docs/DeleteVmHostAffinityPolicyById4XXResponse.md +20 -0
- data/docs/DeployTemplate202Response.md +20 -0
- data/docs/DeployTemplate4XXResponse.md +20 -0
- data/docs/DisassociateCategories202Response.md +20 -0
- data/docs/DisassociateCategories202Response1.md +20 -0
- data/docs/DisassociateCategories4XXResponse.md +20 -0
- data/docs/DisassociateCategories4XXResponse1.md +20 -0
- data/docs/EjectCdRomById202Response.md +20 -0
- data/docs/EjectCdRomById4XXResponse.md +20 -0
- data/docs/EsxiStatsApi.md +369 -0
- data/docs/EsxiVmApi.md +1455 -0
- data/docs/GetCdRomById200Response.md +20 -0
- data/docs/GetCdRomById4XXResponse.md +20 -0
- data/docs/GetDiskById200Response.md +20 -0
- data/docs/GetDiskById4XXResponse.md +20 -0
- data/docs/GetDiskStatsById200Response.md +20 -0
- data/docs/GetDiskStatsById200Response1.md +20 -0
- data/docs/GetDiskStatsById4XXResponse.md +20 -0
- data/docs/GetDiskStatsById4XXResponse1.md +20 -0
- data/docs/GetFileByImageId4XXResponse.md +20 -0
- data/docs/GetGpuById200Response.md +20 -0
- data/docs/GetGpuById4XXResponse.md +20 -0
- data/docs/GetGuestToolsById200Response.md +20 -0
- data/docs/GetGuestToolsById4XXResponse.md +20 -0
- data/docs/GetImageById200Response.md +20 -0
- data/docs/GetImageById4XXResponse.md +20 -0
- data/docs/GetNicById200Response.md +20 -0
- data/docs/GetNicById4XXResponse.md +20 -0
- data/docs/GetNicStatsById200Response.md +20 -0
- data/docs/GetNicStatsById200Response1.md +20 -0
- data/docs/GetNicStatsById4XXResponse.md +20 -0
- data/docs/GetNicStatsById4XXResponse1.md +20 -0
- data/docs/GetNutanixGuestToolsById200Response.md +20 -0
- data/docs/GetNutanixGuestToolsById4XXResponse.md +20 -0
- data/docs/GetPcieDeviceById200Response.md +20 -0
- data/docs/GetPcieDeviceById4XXResponse.md +20 -0
- data/docs/GetPlacementPolicyById200Response.md +20 -0
- data/docs/GetPlacementPolicyById4XXResponse.md +20 -0
- data/docs/GetRateLimitPolicyById200Response.md +20 -0
- data/docs/GetRateLimitPolicyById4XXResponse.md +20 -0
- data/docs/GetSerialPortById200Response.md +20 -0
- data/docs/GetSerialPortById4XXResponse.md +20 -0
- data/docs/GetTemplateById200Response.md +20 -0
- data/docs/GetTemplateById4XXResponse.md +20 -0
- data/docs/GetTemplateVersionById200Response.md +20 -0
- data/docs/GetTemplateVersionById4XXResponse.md +20 -0
- data/docs/GetVmAntiAffinityPolicyById200Response.md +20 -0
- data/docs/GetVmAntiAffinityPolicyById4XXResponse.md +20 -0
- data/docs/GetVmById200Response.md +20 -0
- data/docs/GetVmById200Response1.md +20 -0
- data/docs/GetVmById4XXResponse.md +20 -0
- data/docs/GetVmById4XXResponse1.md +20 -0
- data/docs/GetVmHostAffinityPolicyById200Response.md +20 -0
- data/docs/GetVmHostAffinityPolicyById4XXResponse.md +20 -0
- data/docs/GetVmStatsById200Response.md +20 -0
- data/docs/GetVmStatsById200Response1.md +20 -0
- data/docs/GetVmStatsById4XXResponse.md +20 -0
- data/docs/GetVmStatsById4XXResponse1.md +20 -0
- data/docs/IamV40AuthnBucketsAccessKey.md +44 -0
- data/docs/IamV40AuthnBucketsAccessKeyStatusType.md +15 -0
- data/docs/IamV40AuthnCreationType.md +15 -0
- data/docs/IamV40AuthnUser.md +66 -0
- data/docs/IamV40AuthnUserStatusType.md +15 -0
- data/docs/IamV40AuthnUserType.md +15 -0
- data/docs/ImagePlacementPoliciesApi.md +567 -0
- data/docs/ImageRateLimitPoliciesApi.md +491 -0
- data/docs/ImagesApi.md +558 -0
- data/docs/ImportImage202Response.md +20 -0
- data/docs/ImportImage4XXResponse.md +20 -0
- data/docs/InitiateGuestUpdate202Response.md +20 -0
- data/docs/InitiateGuestUpdate4XXResponse.md +20 -0
- data/docs/InsertCdRomById202Response.md +20 -0
- data/docs/InsertCdRomById4XXResponse.md +20 -0
- data/docs/InsertNutanixGuestTools202Response.md +20 -0
- data/docs/InsertNutanixGuestTools4XXResponse.md +20 -0
- data/docs/InsertVmGuestTools202Response.md +20 -0
- data/docs/InsertVmGuestTools4XXResponse.md +20 -0
- data/docs/InstallNutanixGuestTools202Response.md +20 -0
- data/docs/InstallNutanixGuestTools4XXResponse.md +20 -0
- data/docs/InstallVmGuestTools202Response.md +20 -0
- data/docs/InstallVmGuestTools4XXResponse.md +20 -0
- data/docs/ListCdRomsByVmId200Response.md +20 -0
- data/docs/ListCdRomsByVmId4XXResponse.md +20 -0
- data/docs/ListDisksByVmId200Response.md +20 -0
- data/docs/ListDisksByVmId4XXResponse.md +20 -0
- data/docs/ListEffectiveRateLimitPolicies200Response.md +20 -0
- data/docs/ListEffectiveRateLimitPolicies4XXResponse.md +20 -0
- data/docs/ListGpusByVmId200Response.md +20 -0
- data/docs/ListGpusByVmId4XXResponse.md +20 -0
- data/docs/ListImages200Response.md +20 -0
- data/docs/ListImages4XXResponse.md +20 -0
- data/docs/ListLegacyVmAntiAffinityPolicies200Response.md +20 -0
- data/docs/ListLegacyVmAntiAffinityPolicies4XXResponse.md +20 -0
- data/docs/ListNicsByVmId200Response.md +20 -0
- data/docs/ListNicsByVmId4XXResponse.md +20 -0
- data/docs/ListPcieDevicesByVmId200Response.md +20 -0
- data/docs/ListPcieDevicesByVmId4XXResponse.md +20 -0
- data/docs/ListPlacementPolicies200Response.md +20 -0
- data/docs/ListPlacementPolicies4XXResponse.md +20 -0
- data/docs/ListRateLimitPolicies200Response.md +20 -0
- data/docs/ListRateLimitPolicies4XXResponse.md +20 -0
- data/docs/ListSerialPortsByVmId200Response.md +20 -0
- data/docs/ListSerialPortsByVmId4XXResponse.md +20 -0
- data/docs/ListTemplateVersions200Response.md +20 -0
- data/docs/ListTemplateVersions4XXResponse.md +20 -0
- data/docs/ListTemplates200Response.md +20 -0
- data/docs/ListTemplates4XXResponse.md +20 -0
- data/docs/ListVmAntiAffinityPolicies200Response.md +20 -0
- data/docs/ListVmAntiAffinityPolicies4XXResponse.md +20 -0
- data/docs/ListVmAntiAffinityPolicyVmComplianceStates200Response.md +20 -0
- data/docs/ListVmAntiAffinityPolicyVmComplianceStates4XXResponse.md +20 -0
- data/docs/ListVmHostAffinityPolicies200Response.md +20 -0
- data/docs/ListVmHostAffinityPolicies4XXResponse.md +20 -0
- data/docs/ListVmHostAffinityPolicyVmComplianceStates200Response.md +20 -0
- data/docs/ListVmHostAffinityPolicyVmComplianceStates4XXResponse.md +20 -0
- data/docs/ListVmStats200Response.md +20 -0
- data/docs/ListVmStats200Response1.md +20 -0
- data/docs/ListVmStats4XXResponse.md +20 -0
- data/docs/ListVmStats4XXResponse1.md +20 -0
- data/docs/ListVms200Response.md +20 -0
- data/docs/ListVms200Response1.md +20 -0
- data/docs/ListVms4XXResponse.md +20 -0
- data/docs/ListVms4XXResponse1.md +20 -0
- data/docs/MigrateNicById202Response.md +20 -0
- data/docs/MigrateNicById4XXResponse.md +20 -0
- data/docs/MigrateVmDisks202Response.md +20 -0
- data/docs/MigrateVmDisks4XXResponse.md +20 -0
- data/docs/MigrateVmToHost202Response.md +20 -0
- data/docs/MigrateVmToHost4XXResponse.md +20 -0
- data/docs/PowerCycleVm202Response.md +20 -0
- data/docs/PowerCycleVm4XXResponse.md +20 -0
- data/docs/PowerOffVm202Response.md +20 -0
- data/docs/PowerOffVm202Response1.md +20 -0
- data/docs/PowerOffVm4XXResponse.md +20 -0
- data/docs/PowerOffVm4XXResponse1.md +20 -0
- data/docs/PowerOnVm202Response.md +20 -0
- data/docs/PowerOnVm202Response1.md +20 -0
- data/docs/PowerOnVm4XXResponse.md +20 -0
- data/docs/PowerOnVm4XXResponse1.md +20 -0
- data/docs/PrismV40ConfigTaskReference.md +18 -0
- data/docs/PublishTemplate202Response.md +20 -0
- data/docs/PublishTemplate4XXResponse.md +20 -0
- data/docs/ReEnforceVmHostAffinityPolicyById202Response.md +20 -0
- data/docs/ReEnforceVmHostAffinityPolicyById4XXResponse.md +20 -0
- data/docs/RebootGuestVm202Response.md +20 -0
- data/docs/RebootGuestVm4XXResponse.md +20 -0
- data/docs/RebootVm202Response.md +20 -0
- data/docs/RebootVm4XXResponse.md +20 -0
- data/docs/ReleaseIpById202Response.md +20 -0
- data/docs/ReleaseIpById4XXResponse.md +20 -0
- data/docs/ResetVm202Response.md +20 -0
- data/docs/ResetVm202Response1.md +20 -0
- data/docs/ResetVm4XXResponse.md +20 -0
- data/docs/ResetVm4XXResponse1.md +20 -0
- data/docs/ResumePlacementPolicy202Response.md +20 -0
- data/docs/ResumePlacementPolicy4XXResponse.md +20 -0
- data/docs/RevertVm202Response.md +20 -0
- data/docs/RevertVm202Response1.md +20 -0
- data/docs/RevertVm4XXResponse.md +20 -0
- data/docs/RevertVm4XXResponse1.md +20 -0
- data/docs/ShutdownGuestVm202Response.md +20 -0
- data/docs/ShutdownGuestVm4XXResponse.md +20 -0
- data/docs/ShutdownVm202Response.md +20 -0
- data/docs/ShutdownVm4XXResponse.md +20 -0
- data/docs/StatsApi.md +369 -0
- data/docs/SuspendPlacementPolicy202Response.md +20 -0
- data/docs/SuspendPlacementPolicy4XXResponse.md +20 -0
- data/docs/SuspendVm202Response.md +20 -0
- data/docs/SuspendVm4XXResponse.md +20 -0
- data/docs/TemplatesApi.md +1057 -0
- data/docs/UninstallNutanixGuestTools202Response.md +20 -0
- data/docs/UninstallNutanixGuestTools4XXResponse.md +20 -0
- data/docs/UninstallVmGuestTools202Response.md +20 -0
- data/docs/UninstallVmGuestTools4XXResponse.md +20 -0
- data/docs/UpdateDiskById202Response.md +20 -0
- data/docs/UpdateDiskById4XXResponse.md +20 -0
- data/docs/UpdateGuestToolsById202Response.md +20 -0
- data/docs/UpdateGuestToolsById4XXResponse.md +20 -0
- data/docs/UpdateImageById202Response.md +20 -0
- data/docs/UpdateImageById4XXResponse.md +20 -0
- data/docs/UpdateNicById202Response.md +20 -0
- data/docs/UpdateNicById4XXResponse.md +20 -0
- data/docs/UpdateNutanixGuestToolsById202Response.md +20 -0
- data/docs/UpdateNutanixGuestToolsById4XXResponse.md +20 -0
- data/docs/UpdatePlacementPolicyById202Response.md +20 -0
- data/docs/UpdatePlacementPolicyById4XXResponse.md +20 -0
- data/docs/UpdateRateLimitPolicyById202Response.md +20 -0
- data/docs/UpdateRateLimitPolicyById4XXResponse.md +20 -0
- data/docs/UpdateSerialPortById202Response.md +20 -0
- data/docs/UpdateSerialPortById4XXResponse.md +20 -0
- data/docs/UpdateTemplateById202Response.md +20 -0
- data/docs/UpdateTemplateById4XXResponse.md +20 -0
- data/docs/UpdateVmAntiAffinityPolicyById202Response.md +20 -0
- data/docs/UpdateVmAntiAffinityPolicyById4XXResponse.md +20 -0
- data/docs/UpdateVmById202Response.md +20 -0
- data/docs/UpdateVmById4XXResponse.md +20 -0
- data/docs/UpdateVmHostAffinityPolicyById202Response.md +20 -0
- data/docs/UpdateVmHostAffinityPolicyById4XXResponse.md +20 -0
- data/docs/UpgradeNutanixGuestTools202Response.md +20 -0
- data/docs/UpgradeNutanixGuestTools4XXResponse.md +20 -0
- data/docs/UpgradeVmGuestTools202Response.md +20 -0
- data/docs/UpgradeVmGuestTools4XXResponse.md +20 -0
- data/docs/VersionOfATemplateVersionSource.md +18 -0
- data/docs/VirtualDiskImageChecksum.md +18 -0
- data/docs/VirtualDiskImageSource.md +18 -0
- data/docs/VmAntiAffinityPoliciesApi.md +649 -0
- data/docs/VmApi.md +4897 -0
- data/docs/VmHostAffinityPoliciesApi.md +569 -0
- data/docs/VmmV40AhvConfigADSFDiskMigrationPlan.md +20 -0
- data/docs/VmmV40AhvConfigADSFVmStorageConfig.md +20 -0
- data/docs/VmmV40AhvConfigADSFVolumeGroupReference.md +18 -0
- data/docs/VmmV40AhvConfigAllDisksMigrationPlan.md +18 -0
- data/docs/VmmV40AhvConfigApcConfig.md +20 -0
- data/docs/VmmV40AhvConfigAssignIpApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigAssignIpParams.md +18 -0
- data/docs/VmmV40AhvConfigAssignVmOwnerApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigAssociateCategoriesApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigAssociateVmCategoriesParams.md +18 -0
- data/docs/VmmV40AhvConfigAvailabilityZoneReference.md +18 -0
- data/docs/VmmV40AhvConfigBootDeviceDisk.md +18 -0
- data/docs/VmmV40AhvConfigBootDeviceNic.md +18 -0
- data/docs/VmmV40AhvConfigBootDeviceType.md +15 -0
- data/docs/VmmV40AhvConfigCategoryReference.md +18 -0
- data/docs/VmmV40AhvConfigCdRom.md +28 -0
- data/docs/VmmV40AhvConfigCdRomAddress.md +20 -0
- data/docs/VmmV40AhvConfigCdRomBusType.md +15 -0
- data/docs/VmmV40AhvConfigCdRomInsertParams.md +18 -0
- data/docs/VmmV40AhvConfigCloneOverrideParams.md +32 -0
- data/docs/VmmV40AhvConfigCloneOverrideParamsBootConfig.md +49 -0
- data/docs/VmmV40AhvConfigCloneVmApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigCloudInit.md +22 -0
- data/docs/VmmV40AhvConfigCloudInitCloudInitScript.md +49 -0
- data/docs/VmmV40AhvConfigCloudInitDataSourceType.md +15 -0
- data/docs/VmmV40AhvConfigClusterReference.md +18 -0
- data/docs/VmmV40AhvConfigCpuFeature.md +15 -0
- data/docs/VmmV40AhvConfigCpuModelReference.md +20 -0
- data/docs/VmmV40AhvConfigCreateCdRomApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigCreateDiskApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigCreateGpuApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigCreateNicApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigCreatePcieDeviceApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigCreateSerialPortApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigCreateVmApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigCredential.md +20 -0
- data/docs/VmmV40AhvConfigCrossClusterMigrateVmApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigCustomKeyValues.md +18 -0
- data/docs/VmmV40AhvConfigCustomizeGuestVmApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigDataSource.md +18 -0
- data/docs/VmmV40AhvConfigDataSourceReference.md +49 -0
- data/docs/VmmV40AhvConfigDeleteCdRomApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigDeleteDiskApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigDeleteGpuApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigDeleteNicApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigDeletePcieDeviceApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigDeleteSerialPortApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigDeleteVmApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigDisassociateCategoriesApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigDisassociateVmCategoriesParams.md +18 -0
- data/docs/VmmV40AhvConfigDisk.md +26 -0
- data/docs/VmmV40AhvConfigDiskAddress.md +20 -0
- data/docs/VmmV40AhvConfigDiskAllOfBackingInfo.md +18 -0
- data/docs/VmmV40AhvConfigDiskBusType.md +15 -0
- data/docs/VmmV40AhvConfigDiskMigrationParams.md +18 -0
- data/docs/VmmV40AhvConfigDiskMigrationParamsMigrateDisks.md +49 -0
- data/docs/VmmV40AhvConfigEjectCdRomApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigEmulatedNic.md +24 -0
- data/docs/VmmV40AhvConfigEmulatedNicModel.md +15 -0
- data/docs/VmmV40AhvConfigGetCdRomApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigGetCdRomApiResponseData.md +49 -0
- data/docs/VmmV40AhvConfigGetDiskApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigGetDiskApiResponseData.md +49 -0
- data/docs/VmmV40AhvConfigGetGpuApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigGetGpuApiResponseData.md +49 -0
- data/docs/VmmV40AhvConfigGetGuestToolsApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigGetGuestToolsApiResponseData.md +49 -0
- data/docs/VmmV40AhvConfigGetNicApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigGetNicApiResponseData.md +49 -0
- data/docs/VmmV40AhvConfigGetPcieDeviceApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigGetPcieDeviceApiResponseData.md +49 -0
- data/docs/VmmV40AhvConfigGetSerialPortApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigGetSerialPortApiResponseData.md +49 -0
- data/docs/VmmV40AhvConfigGetVmApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigGetVmApiResponseData.md +49 -0
- data/docs/VmmV40AhvConfigGpu.md +40 -0
- data/docs/VmmV40AhvConfigGpuMode.md +15 -0
- data/docs/VmmV40AhvConfigGpuVendor.md +15 -0
- data/docs/VmmV40AhvConfigGuestCustomizationParams.md +18 -0
- data/docs/VmmV40AhvConfigGuestCustomizationParamsConfig.md +49 -0
- data/docs/VmmV40AhvConfigGuestPowerOptions.md +18 -0
- data/docs/VmmV40AhvConfigGuestPowerStateTransitionConfig.md +20 -0
- data/docs/VmmV40AhvConfigGuestTools.md +36 -0
- data/docs/VmmV40AhvConfigGuestToolsInsertConfig.md +20 -0
- data/docs/VmmV40AhvConfigGuestToolsInstallConfig.md +22 -0
- data/docs/VmmV40AhvConfigGuestToolsUpgradeConfig.md +18 -0
- data/docs/VmmV40AhvConfigHostReference.md +18 -0
- data/docs/VmmV40AhvConfigImageReference.md +18 -0
- data/docs/VmmV40AhvConfigInsertCdRomApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigInsertVmGuestToolsApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigInstallType.md +15 -0
- data/docs/VmmV40AhvConfigInstallVmGuestToolsApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigIpv4Config.md +22 -0
- data/docs/VmmV40AhvConfigIpv4Info.md +18 -0
- data/docs/VmmV40AhvConfigIsoType.md +15 -0
- data/docs/VmmV40AhvConfigLegacyBoot.md +20 -0
- data/docs/VmmV40AhvConfigLegacyBootBootDevice.md +49 -0
- data/docs/VmmV40AhvConfigListCdRomsApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigListCdRomsApiResponseData.md +49 -0
- data/docs/VmmV40AhvConfigListDisksApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigListDisksApiResponseData.md +49 -0
- data/docs/VmmV40AhvConfigListGpusApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigListGpusApiResponseData.md +49 -0
- data/docs/VmmV40AhvConfigListNicsApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigListNicsApiResponseData.md +49 -0
- data/docs/VmmV40AhvConfigListPcieDevicesApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigListPcieDevicesApiResponseData.md +49 -0
- data/docs/VmmV40AhvConfigListSerialPortsApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigListSerialPortsApiResponseData.md +49 -0
- data/docs/VmmV40AhvConfigListVmsApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigListVmsApiResponseData.md +49 -0
- data/docs/VmmV40AhvConfigMachineType.md +15 -0
- data/docs/VmmV40AhvConfigMigrateDiskReference.md +18 -0
- data/docs/VmmV40AhvConfigMigrateNicApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigMigrateNicConfig.md +22 -0
- data/docs/VmmV40AhvConfigMigrateNicType.md +15 -0
- data/docs/VmmV40AhvConfigMigrateVmDisksApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigMigrateVmToHostApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigMigrationPlans.md +18 -0
- data/docs/VmmV40AhvConfigNetworkFunctionChainReference.md +18 -0
- data/docs/VmmV40AhvConfigNetworkFunctionNicType.md +15 -0
- data/docs/VmmV40AhvConfigNgtCapability.md +15 -0
- data/docs/VmmV40AhvConfigNic.md +26 -0
- data/docs/VmmV40AhvConfigNicNetworkInfo.md +34 -0
- data/docs/VmmV40AhvConfigNicType.md +15 -0
- data/docs/VmmV40AhvConfigNvramDevice.md +18 -0
- data/docs/VmmV40AhvConfigOwnerReference.md +18 -0
- data/docs/VmmV40AhvConfigOwnershipInfo.md +18 -0
- data/docs/VmmV40AhvConfigPcieDevice.md +26 -0
- data/docs/VmmV40AhvConfigPcieDeviceAllOfBackingInfo.md +18 -0
- data/docs/VmmV40AhvConfigPcieDeviceInfo.md +18 -0
- data/docs/VmmV40AhvConfigPcieDeviceReference.md +18 -0
- data/docs/VmmV40AhvConfigPolicyReference.md +18 -0
- data/docs/VmmV40AhvConfigPowerCycleVmApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigPowerOffVmApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigPowerOnVmApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigPowerState.md +15 -0
- data/docs/VmmV40AhvConfigProtectionPolicyState.md +18 -0
- data/docs/VmmV40AhvConfigProtectionType.md +15 -0
- data/docs/VmmV40AhvConfigQosConfig.md +18 -0
- data/docs/VmmV40AhvConfigRebootPreference.md +20 -0
- data/docs/VmmV40AhvConfigRebootPreferenceSchedule.md +18 -0
- data/docs/VmmV40AhvConfigRebootVmApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigReleaseIpApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigResetVmApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigRevertParams.md +18 -0
- data/docs/VmmV40AhvConfigRevertVmApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigSBDF.md +24 -0
- data/docs/VmmV40AhvConfigScheduleType.md +15 -0
- data/docs/VmmV40AhvConfigSerialPort.md +26 -0
- data/docs/VmmV40AhvConfigShutdownVmApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigSubnetReference.md +18 -0
- data/docs/VmmV40AhvConfigSysprep.md +20 -0
- data/docs/VmmV40AhvConfigSysprepSysprepScript.md +49 -0
- data/docs/VmmV40AhvConfigUefiBoot.md +24 -0
- data/docs/VmmV40AhvConfigUefiBootBootDevice.md +49 -0
- data/docs/VmmV40AhvConfigUnattendxml.md +18 -0
- data/docs/VmmV40AhvConfigUninstallVmGuestToolsApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigUpdateDiskApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigUpdateGuestToolsApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigUpdateNicApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigUpdateSerialPortApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigUpdateVmApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigUpgradeVmGuestToolsApiResponse.md +20 -0
- data/docs/VmmV40AhvConfigUserdata.md +18 -0
- data/docs/VmmV40AhvConfigVlanMode.md +15 -0
- data/docs/VmmV40AhvConfigVm.md +114 -0
- data/docs/VmmV40AhvConfigVmAllOfBootConfig.md +18 -0
- data/docs/VmmV40AhvConfigVmCrossClusterMigrateOverrides.md +18 -0
- data/docs/VmmV40AhvConfigVmCrossClusterMigrateParams.md +24 -0
- data/docs/VmmV40AhvConfigVmDisk.md +28 -0
- data/docs/VmmV40AhvConfigVmDiskContainerReference.md +18 -0
- data/docs/VmmV40AhvConfigVmDiskReference.md +22 -0
- data/docs/VmmV40AhvConfigVmDiskStorageConfig.md +18 -0
- data/docs/VmmV40AhvConfigVmMigrateToHostParams.md +18 -0
- data/docs/VmmV40AhvConfigVmRecoveryPoint.md +36 -0
- data/docs/VmmV40AhvConfigVmReference.md +18 -0
- data/docs/VmmV40AhvConfigVmSourceReference.md +20 -0
- data/docs/VmmV40AhvConfigVmSourceReferenceEntityType.md +15 -0
- data/docs/VmmV40AhvConfigVtpmConfig.md +20 -0
- data/docs/VmmV40AhvPoliciesCategoryReference.md +18 -0
- data/docs/VmmV40AhvPoliciesClusterReference.md +18 -0
- data/docs/VmmV40AhvPoliciesConflictingLegacyVmAntiAffinityPolicy.md +18 -0
- data/docs/VmmV40AhvPoliciesConflictingVmAntiAffinityPolicy.md +18 -0
- data/docs/VmmV40AhvPoliciesConflictingVmHostAffinityPolicy.md +18 -0
- data/docs/VmmV40AhvPoliciesCreateVmAntiAffinityPolicyApiResponse.md +20 -0
- data/docs/VmmV40AhvPoliciesCreateVmHostAffinityPolicyApiResponse.md +20 -0
- data/docs/VmmV40AhvPoliciesDeleteLegacyVmAntiAffinityPolicyApiResponse.md +20 -0
- data/docs/VmmV40AhvPoliciesDeleteVmAntiAffinityPolicyApiResponse.md +20 -0
- data/docs/VmmV40AhvPoliciesDeleteVmHostAffinityPolicyApiResponse.md +20 -0
- data/docs/VmmV40AhvPoliciesGetVmAntiAffinityPolicyApiResponse.md +20 -0
- data/docs/VmmV40AhvPoliciesGetVmAntiAffinityPolicyApiResponseData.md +49 -0
- data/docs/VmmV40AhvPoliciesGetVmHostAffinityPolicyApiResponse.md +20 -0
- data/docs/VmmV40AhvPoliciesGetVmHostAffinityPolicyApiResponseData.md +49 -0
- data/docs/VmmV40AhvPoliciesHostReference.md +18 -0
- data/docs/VmmV40AhvPoliciesLegacyVmAntiAffinityPolicy.md +28 -0
- data/docs/VmmV40AhvPoliciesListLegacyVmAntiAffinityPoliciesApiResponse.md +20 -0
- data/docs/VmmV40AhvPoliciesListLegacyVmAntiAffinityPoliciesApiResponseData.md +49 -0
- data/docs/VmmV40AhvPoliciesListVmAntiAffinityPoliciesApiResponse.md +20 -0
- data/docs/VmmV40AhvPoliciesListVmAntiAffinityPoliciesApiResponseData.md +49 -0
- data/docs/VmmV40AhvPoliciesListVmAntiAffinityPolicyVmComplianceStatesApiResponse.md +20 -0
- data/docs/VmmV40AhvPoliciesListVmAntiAffinityPolicyVmComplianceStatesApiResponseData.md +49 -0
- data/docs/VmmV40AhvPoliciesListVmHostAffinityPoliciesApiResponse.md +20 -0
- data/docs/VmmV40AhvPoliciesListVmHostAffinityPoliciesApiResponseData.md +49 -0
- data/docs/VmmV40AhvPoliciesListVmHostAffinityPolicyVmComplianceStatesApiResponse.md +20 -0
- data/docs/VmmV40AhvPoliciesListVmHostAffinityPolicyVmComplianceStatesApiResponseData.md +49 -0
- data/docs/VmmV40AhvPoliciesNonCompliantVmAntiAffinityPolicy.md +18 -0
- data/docs/VmmV40AhvPoliciesNonCompliantVmAntiAffinityPolicyNonComplianceReason.md +51 -0
- data/docs/VmmV40AhvPoliciesNonCompliantVmHostAffinityPolicy.md +18 -0
- data/docs/VmmV40AhvPoliciesNonCompliantVmHostAffinityPolicyNonComplianceReason.md +51 -0
- data/docs/VmmV40AhvPoliciesPeNotCapableForVmHostAffinityPolicy.md +18 -0
- data/docs/VmmV40AhvPoliciesReEnforceVmHostAffinityPolicyApiResponse.md +20 -0
- data/docs/VmmV40AhvPoliciesUpdateVmAntiAffinityPolicyApiResponse.md +20 -0
- data/docs/VmmV40AhvPoliciesUpdateVmHostAffinityPolicyApiResponse.md +20 -0
- data/docs/VmmV40AhvPoliciesUserReference.md +18 -0
- data/docs/VmmV40AhvPoliciesVmAntiAffinityPolicy.md +42 -0
- data/docs/VmmV40AhvPoliciesVmAntiAffinityPolicyVmComplianceState.md +30 -0
- data/docs/VmmV40AhvPoliciesVmAntiAffinityPolicyVmComplianceStateAllOfComplianceStatus.md +18 -0
- data/docs/VmmV40AhvPoliciesVmHostAffinityPolicy.md +46 -0
- data/docs/VmmV40AhvPoliciesVmHostAffinityPolicyVmComplianceState.md +30 -0
- data/docs/VmmV40AhvPoliciesVmHostAffinityPolicyVmComplianceStateAllOfComplianceStatus.md +18 -0
- data/docs/VmmV40AhvPoliciesVmReference.md +18 -0
- data/docs/VmmV40AhvStatsGetDiskStatsApiResponse.md +20 -0
- data/docs/VmmV40AhvStatsGetDiskStatsApiResponseData.md +49 -0
- data/docs/VmmV40AhvStatsGetNicStatsApiResponse.md +20 -0
- data/docs/VmmV40AhvStatsGetNicStatsApiResponseData.md +49 -0
- data/docs/VmmV40AhvStatsGetVmStatsApiResponse.md +20 -0
- data/docs/VmmV40AhvStatsGetVmStatsApiResponseData.md +49 -0
- data/docs/VmmV40AhvStatsListVmStatsApiResponse.md +20 -0
- data/docs/VmmV40AhvStatsListVmStatsApiResponseData.md +49 -0
- data/docs/VmmV40AhvStatsVmDiskStats.md +26 -0
- data/docs/VmmV40AhvStatsVmDiskStatsTuple.md +72 -0
- data/docs/VmmV40AhvStatsVmNicStats.md +26 -0
- data/docs/VmmV40AhvStatsVmNicStatsTuple.md +22 -0
- data/docs/VmmV40AhvStatsVmStats.md +24 -0
- data/docs/VmmV40AhvStatsVmStatsTuple.md +184 -0
- data/docs/VmmV40ContentCancelGuestUpdateApiResponse.md +20 -0
- data/docs/VmmV40ContentCompleteGuestUpdateApiResponse.md +20 -0
- data/docs/VmmV40ContentCompleteGuestUpdateSpec.md +22 -0
- data/docs/VmmV40ContentComplianceStatus.md +15 -0
- data/docs/VmmV40ContentCreateImageApiResponse.md +20 -0
- data/docs/VmmV40ContentCreateImageApiResponseData.md +49 -0
- data/docs/VmmV40ContentCreateTemplateApiResponse.md +20 -0
- data/docs/VmmV40ContentDeleteImageApiResponse.md +20 -0
- data/docs/VmmV40ContentDeleteTemplateApiResponse.md +20 -0
- data/docs/VmmV40ContentDeleteTemplateVersionApiResponse.md +20 -0
- data/docs/VmmV40ContentDeployTemplateApiResponse.md +20 -0
- data/docs/VmmV40ContentEnforcementMode.md +15 -0
- data/docs/VmmV40ContentGetImageApiResponse.md +20 -0
- data/docs/VmmV40ContentGetImageApiResponseData.md +49 -0
- data/docs/VmmV40ContentGetImageFileApiResponse.md +20 -0
- data/docs/VmmV40ContentGetImageFileApiResponseData.md +49 -0
- data/docs/VmmV40ContentGetTemplateApiResponse.md +20 -0
- data/docs/VmmV40ContentGetTemplateApiResponseData.md +49 -0
- data/docs/VmmV40ContentGetTemplateVersionApiResponse.md +20 -0
- data/docs/VmmV40ContentGetTemplateVersionApiResponseData.md +49 -0
- data/docs/VmmV40ContentGuestUpdateStatus.md +18 -0
- data/docs/VmmV40ContentImage.md +46 -0
- data/docs/VmmV40ContentImageImportConfig.md +20 -0
- data/docs/VmmV40ContentImagePlacementStatus.md +28 -0
- data/docs/VmmV40ContentImageSha1Checksum.md +18 -0
- data/docs/VmmV40ContentImageSha256Checksum.md +18 -0
- data/docs/VmmV40ContentImageType.md +15 -0
- data/docs/VmmV40ContentImportImageApiResponse.md +20 -0
- data/docs/VmmV40ContentInitiateGuestUpdateApiResponse.md +20 -0
- data/docs/VmmV40ContentInitiateGuestUpdateSpec.md +18 -0
- data/docs/VmmV40ContentListImagesApiResponse.md +20 -0
- data/docs/VmmV40ContentListImagesApiResponseData.md +49 -0
- data/docs/VmmV40ContentListTemplateVersionsApiResponse.md +20 -0
- data/docs/VmmV40ContentListTemplateVersionsApiResponseData.md +49 -0
- data/docs/VmmV40ContentListTemplatesApiResponse.md +20 -0
- data/docs/VmmV40ContentListTemplatesApiResponseData.md +49 -0
- data/docs/VmmV40ContentObjectsLiteSource.md +18 -0
- data/docs/VmmV40ContentPublishTemplateApiResponse.md +20 -0
- data/docs/VmmV40ContentTemplate.md +38 -0
- data/docs/VmmV40ContentTemplateDeployment.md +24 -0
- data/docs/VmmV40ContentTemplatePublishSpec.md +18 -0
- data/docs/VmmV40ContentTemplateUser.md +66 -0
- data/docs/VmmV40ContentTemplateVersionReference.md +20 -0
- data/docs/VmmV40ContentTemplateVersionSpec.md +40 -0
- data/docs/VmmV40ContentTemplateVmReference.md +20 -0
- data/docs/VmmV40ContentUpdateImageApiResponse.md +20 -0
- data/docs/VmmV40ContentUpdateTemplateApiResponse.md +20 -0
- data/docs/VmmV40ContentUrlBasicAuth.md +20 -0
- data/docs/VmmV40ContentUrlSource.md +22 -0
- data/docs/VmmV40ContentVmConfigOverride.md +30 -0
- data/docs/VmmV40ContentVmDiskSource.md +18 -0
- data/docs/VmmV40ErrorAppMessage.md +28 -0
- data/docs/VmmV40ErrorErrorResponse.md +18 -0
- data/docs/VmmV40ErrorErrorResponseError.md +49 -0
- data/docs/VmmV40ErrorMessageSeverity.md +15 -0
- data/docs/VmmV40ErrorSchemaValidationError.md +26 -0
- data/docs/VmmV40ErrorSchemaValidationErrorMessage.md +22 -0
- data/docs/VmmV40EsxiConfigAdapterType.md +15 -0
- data/docs/VmmV40EsxiConfigAssignVmOwnerApiResponse.md +20 -0
- data/docs/VmmV40EsxiConfigAssociateCategoriesApiResponse.md +20 -0
- data/docs/VmmV40EsxiConfigAssociateVmCategoriesParams.md +18 -0
- data/docs/VmmV40EsxiConfigCategoryReference.md +18 -0
- data/docs/VmmV40EsxiConfigCdRom.md +26 -0
- data/docs/VmmV40EsxiConfigCdRomAddress.md +20 -0
- data/docs/VmmV40EsxiConfigCdRomBackingInfo.md +20 -0
- data/docs/VmmV40EsxiConfigCdRomBusType.md +15 -0
- data/docs/VmmV40EsxiConfigClusterReference.md +18 -0
- data/docs/VmmV40EsxiConfigDisassociateCategoriesApiResponse.md +20 -0
- data/docs/VmmV40EsxiConfigDisassociateVmCategoriesParams.md +18 -0
- data/docs/VmmV40EsxiConfigDisk.md +26 -0
- data/docs/VmmV40EsxiConfigDiskAddress.md +20 -0
- data/docs/VmmV40EsxiConfigDiskBusType.md +15 -0
- data/docs/VmmV40EsxiConfigGetNutanixGuestToolsApiResponse.md +20 -0
- data/docs/VmmV40EsxiConfigGetNutanixGuestToolsApiResponseData.md +49 -0
- data/docs/VmmV40EsxiConfigGetVmApiResponse.md +20 -0
- data/docs/VmmV40EsxiConfigGetVmApiResponseData.md +49 -0
- data/docs/VmmV40EsxiConfigHostReference.md +18 -0
- data/docs/VmmV40EsxiConfigInsertNutanixGuestToolsApiResponse.md +20 -0
- data/docs/VmmV40EsxiConfigInstallNutanixGuestToolsApiResponse.md +20 -0
- data/docs/VmmV40EsxiConfigIpAddressInfo.md +20 -0
- data/docs/VmmV40EsxiConfigListVmsApiResponse.md +20 -0
- data/docs/VmmV40EsxiConfigListVmsApiResponseData.md +49 -0
- data/docs/VmmV40EsxiConfigNic.md +26 -0
- data/docs/VmmV40EsxiConfigNicBackingInfo.md +22 -0
- data/docs/VmmV40EsxiConfigNicNetworkInfo.md +20 -0
- data/docs/VmmV40EsxiConfigNutanixCredential.md +20 -0
- data/docs/VmmV40EsxiConfigNutanixGuestTools.md +36 -0
- data/docs/VmmV40EsxiConfigNutanixGuestToolsCapability.md +15 -0
- data/docs/VmmV40EsxiConfigNutanixGuestToolsInsertConfig.md +18 -0
- data/docs/VmmV40EsxiConfigNutanixGuestToolsInstallConfig.md +22 -0
- data/docs/VmmV40EsxiConfigNutanixGuestToolsUpgradeConfig.md +18 -0
- data/docs/VmmV40EsxiConfigNutanixRebootPreference.md +20 -0
- data/docs/VmmV40EsxiConfigNutanixRebootPreferenceSchedule.md +18 -0
- data/docs/VmmV40EsxiConfigNutanixScheduleType.md +15 -0
- data/docs/VmmV40EsxiConfigOwnerReference.md +20 -0
- data/docs/VmmV40EsxiConfigOwnerReferenceEntityType.md +15 -0
- data/docs/VmmV40EsxiConfigOwnershipInfo.md +18 -0
- data/docs/VmmV40EsxiConfigPortGroupInfo.md +18 -0
- data/docs/VmmV40EsxiConfigPowerOffVmApiResponse.md +20 -0
- data/docs/VmmV40EsxiConfigPowerOnVmApiResponse.md +20 -0
- data/docs/VmmV40EsxiConfigPowerState.md +15 -0
- data/docs/VmmV40EsxiConfigRebootGuestOSApiResponse.md +20 -0
- data/docs/VmmV40EsxiConfigResetVmApiResponse.md +20 -0
- data/docs/VmmV40EsxiConfigRevertParams.md +18 -0
- data/docs/VmmV40EsxiConfigRevertVmApiResponse.md +20 -0
- data/docs/VmmV40EsxiConfigShutdownVmApiResponse.md +20 -0
- data/docs/VmmV40EsxiConfigSuspendVmApiResponse.md +20 -0
- data/docs/VmmV40EsxiConfigUninstallNutanixGuestToolsApiResponse.md +20 -0
- data/docs/VmmV40EsxiConfigUpdateNutanixGuestToolsApiResponse.md +20 -0
- data/docs/VmmV40EsxiConfigUpgradeNutanixGuestToolsApiResponse.md +20 -0
- data/docs/VmmV40EsxiConfigVm.md +54 -0
- data/docs/VmmV40EsxiConfigVmDisk.md +22 -0
- data/docs/VmmV40EsxiConfigVmDiskContainerReference.md +18 -0
- data/docs/VmmV40EsxiConfigVmDiskStorageConfig.md +18 -0
- data/docs/VmmV40EsxiStatsGetDiskStatsApiResponse.md +20 -0
- data/docs/VmmV40EsxiStatsGetDiskStatsApiResponseData.md +49 -0
- data/docs/VmmV40EsxiStatsGetNicStatsApiResponse.md +20 -0
- data/docs/VmmV40EsxiStatsGetNicStatsApiResponseData.md +49 -0
- data/docs/VmmV40EsxiStatsGetVmStatsApiResponse.md +20 -0
- data/docs/VmmV40EsxiStatsGetVmStatsApiResponseData.md +49 -0
- data/docs/VmmV40EsxiStatsListVmStatsApiResponse.md +20 -0
- data/docs/VmmV40EsxiStatsListVmStatsApiResponseData.md +49 -0
- data/docs/VmmV40EsxiStatsVmDiskStats.md +26 -0
- data/docs/VmmV40EsxiStatsVmDiskStatsTuple.md +68 -0
- data/docs/VmmV40EsxiStatsVmNicStats.md +26 -0
- data/docs/VmmV40EsxiStatsVmNicStatsTuple.md +22 -0
- data/docs/VmmV40EsxiStatsVmStats.md +24 -0
- data/docs/VmmV40EsxiStatsVmStatsTuple.md +124 -0
- data/docs/VmmV40ImagesConfigCreatePlacementPolicyApiResponse.md +20 -0
- data/docs/VmmV40ImagesConfigCreateRateLimitPolicyApiResponse.md +20 -0
- data/docs/VmmV40ImagesConfigDeletePlacementPolicyApiResponse.md +20 -0
- data/docs/VmmV40ImagesConfigDeleteRateLimitPolicyApiResponse.md +20 -0
- data/docs/VmmV40ImagesConfigEffectiveRateLimitPolicy.md +26 -0
- data/docs/VmmV40ImagesConfigEnforcementState.md +15 -0
- data/docs/VmmV40ImagesConfigFilter.md +20 -0
- data/docs/VmmV40ImagesConfigFilterMatchType.md +15 -0
- data/docs/VmmV40ImagesConfigGetPlacementPolicyApiResponse.md +20 -0
- data/docs/VmmV40ImagesConfigGetPlacementPolicyApiResponseData.md +49 -0
- data/docs/VmmV40ImagesConfigGetRateLimitPolicyApiResponse.md +20 -0
- data/docs/VmmV40ImagesConfigGetRateLimitPolicyApiResponseData.md +49 -0
- data/docs/VmmV40ImagesConfigListEffectiveRateLimitPoliciesApiResponse.md +20 -0
- data/docs/VmmV40ImagesConfigListEffectiveRateLimitPoliciesApiResponseData.md +49 -0
- data/docs/VmmV40ImagesConfigListPlacementPoliciesApiResponse.md +20 -0
- data/docs/VmmV40ImagesConfigListPlacementPoliciesApiResponseData.md +49 -0
- data/docs/VmmV40ImagesConfigListRateLimitPoliciesApiResponse.md +20 -0
- data/docs/VmmV40ImagesConfigListRateLimitPoliciesApiResponseData.md +49 -0
- data/docs/VmmV40ImagesConfigPlacementPolicy.md +40 -0
- data/docs/VmmV40ImagesConfigPlacementType.md +15 -0
- data/docs/VmmV40ImagesConfigRateLimitPolicy.md +38 -0
- data/docs/VmmV40ImagesConfigResumePlacementPolicyApiResponse.md +20 -0
- data/docs/VmmV40ImagesConfigSuspendPlacementPolicyApiResponse.md +20 -0
- data/docs/VmmV40ImagesConfigSuspendPlacementPolicyConfig.md +18 -0
- data/docs/VmmV40ImagesConfigUpdatePlacementPolicyApiResponse.md +20 -0
- data/docs/VmmV40ImagesConfigUpdateRateLimitPolicyApiResponse.md +20 -0
- data/git_push.sh +57 -0
- data/lib/nutanix_vmm/api/esxi_stats_api.rb +437 -0
- data/lib/nutanix_vmm/api/esxi_vm_api.rb +1539 -0
- data/lib/nutanix_vmm/api/image_placement_policies_api.rb +585 -0
- data/lib/nutanix_vmm/api/image_rate_limit_policies_api.rb +494 -0
- data/lib/nutanix_vmm/api/images_api.rb +553 -0
- data/lib/nutanix_vmm/api/stats_api.rb +437 -0
- data/lib/nutanix_vmm/api/templates_api.rb +1095 -0
- data/lib/nutanix_vmm/api/vm_anti_affinity_policies_api.rb +660 -0
- data/lib/nutanix_vmm/api/vm_api.rb +5382 -0
- data/lib/nutanix_vmm/api/vm_host_affinity_policies_api.rb +589 -0
- data/lib/nutanix_vmm/api_client.rb +394 -0
- data/lib/nutanix_vmm/api_error.rb +58 -0
- data/lib/nutanix_vmm/configuration.rb +315 -0
- data/lib/nutanix_vmm/models/assign_ip_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/assign_ip_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/assign_vm_owner202_response.rb +224 -0
- data/lib/nutanix_vmm/models/assign_vm_owner202_response1.rb +224 -0
- data/lib/nutanix_vmm/models/assign_vm_owner4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/assign_vm_owner4_xx_response1.rb +224 -0
- data/lib/nutanix_vmm/models/associate_categories202_response.rb +224 -0
- data/lib/nutanix_vmm/models/associate_categories202_response1.rb +224 -0
- data/lib/nutanix_vmm/models/associate_categories4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/associate_categories4_xx_response1.rb +224 -0
- data/lib/nutanix_vmm/models/cancel_guest_update202_response.rb +224 -0
- data/lib/nutanix_vmm/models/cancel_guest_update4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/clone_vm202_response.rb +224 -0
- data/lib/nutanix_vmm/models/clone_vm4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/common_v10_config_flag.rb +256 -0
- data/lib/nutanix_vmm/models/common_v10_config_ipv4_address.rb +284 -0
- data/lib/nutanix_vmm/models/common_v10_config_kv_pair.rb +253 -0
- data/lib/nutanix_vmm/models/common_v10_config_kv_pair_value.rb +111 -0
- data/lib/nutanix_vmm/models/common_v10_config_map_of_string_wrapper.rb +218 -0
- data/lib/nutanix_vmm/models/common_v10_config_message.rb +268 -0
- data/lib/nutanix_vmm/models/common_v10_config_message_severity.rb +43 -0
- data/lib/nutanix_vmm/models/common_v10_config_tenant_aware_model.rb +237 -0
- data/lib/nutanix_vmm/models/common_v10_response_api_link.rb +226 -0
- data/lib/nutanix_vmm/models/common_v10_response_api_response_metadata.rb +376 -0
- data/lib/nutanix_vmm/models/common_v10_response_externalizable_abstract_model.rb +312 -0
- data/lib/nutanix_vmm/models/common_v10_stats_down_sampling_operator.rb +46 -0
- data/lib/nutanix_vmm/models/complete_guest_update202_response.rb +224 -0
- data/lib/nutanix_vmm/models/complete_guest_update4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/create_cd_rom202_response.rb +224 -0
- data/lib/nutanix_vmm/models/create_cd_rom4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/create_disk202_response.rb +224 -0
- data/lib/nutanix_vmm/models/create_disk4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/create_gpu202_response.rb +224 -0
- data/lib/nutanix_vmm/models/create_gpu4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/create_image202_response.rb +224 -0
- data/lib/nutanix_vmm/models/create_image4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/create_nic202_response.rb +224 -0
- data/lib/nutanix_vmm/models/create_nic4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/create_pcie_device202_response.rb +224 -0
- data/lib/nutanix_vmm/models/create_pcie_device4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/create_placement_policy202_response.rb +224 -0
- data/lib/nutanix_vmm/models/create_placement_policy4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/create_rate_limit_policy202_response.rb +224 -0
- data/lib/nutanix_vmm/models/create_rate_limit_policy4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/create_serial_port202_response.rb +224 -0
- data/lib/nutanix_vmm/models/create_serial_port4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/create_template202_response.rb +224 -0
- data/lib/nutanix_vmm/models/create_template4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/create_vm202_response.rb +224 -0
- data/lib/nutanix_vmm/models/create_vm4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/create_vm_anti_affinity_policy202_response.rb +224 -0
- data/lib/nutanix_vmm/models/create_vm_anti_affinity_policy4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/create_vm_host_affinity_policy202_response.rb +224 -0
- data/lib/nutanix_vmm/models/create_vm_host_affinity_policy4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/cross_cluster_migrate_vm202_response.rb +224 -0
- data/lib/nutanix_vmm/models/cross_cluster_migrate_vm4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/customize_guest_vm202_response.rb +224 -0
- data/lib/nutanix_vmm/models/customize_guest_vm4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/dataprotection_v40_common_base_recovery_point.rb +432 -0
- data/lib/nutanix_vmm/models/dataprotection_v40_common_recovery_point_status.rb +41 -0
- data/lib/nutanix_vmm/models/dataprotection_v40_common_recovery_point_type.rb +42 -0
- data/lib/nutanix_vmm/models/delete_cd_rom_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/delete_cd_rom_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/delete_disk_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/delete_disk_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/delete_gpu_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/delete_gpu_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/delete_image_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/delete_image_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/delete_legacy_vm_anti_affinity_policy_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/delete_legacy_vm_anti_affinity_policy_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/delete_nic_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/delete_nic_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/delete_pcie_device_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/delete_pcie_device_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/delete_placement_policy_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/delete_placement_policy_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/delete_rate_limit_policy_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/delete_rate_limit_policy_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/delete_serial_port_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/delete_serial_port_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/delete_template_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/delete_template_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/delete_template_version_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/delete_template_version_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/delete_vm_anti_affinity_policy_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/delete_vm_anti_affinity_policy_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/delete_vm_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/delete_vm_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/delete_vm_host_affinity_policy_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/delete_vm_host_affinity_policy_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/deploy_template202_response.rb +224 -0
- data/lib/nutanix_vmm/models/deploy_template4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/disassociate_categories202_response.rb +224 -0
- data/lib/nutanix_vmm/models/disassociate_categories202_response1.rb +224 -0
- data/lib/nutanix_vmm/models/disassociate_categories4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/disassociate_categories4_xx_response1.rb +224 -0
- data/lib/nutanix_vmm/models/eject_cd_rom_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/eject_cd_rom_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_cd_rom_by_id200_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_cd_rom_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_disk_by_id200_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_disk_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_disk_stats_by_id200_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_disk_stats_by_id200_response1.rb +224 -0
- data/lib/nutanix_vmm/models/get_disk_stats_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_disk_stats_by_id4_xx_response1.rb +224 -0
- data/lib/nutanix_vmm/models/get_file_by_image_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_gpu_by_id200_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_gpu_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_guest_tools_by_id200_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_guest_tools_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_image_by_id200_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_image_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_nic_by_id200_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_nic_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_nic_stats_by_id200_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_nic_stats_by_id200_response1.rb +224 -0
- data/lib/nutanix_vmm/models/get_nic_stats_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_nic_stats_by_id4_xx_response1.rb +224 -0
- data/lib/nutanix_vmm/models/get_nutanix_guest_tools_by_id200_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_nutanix_guest_tools_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_pcie_device_by_id200_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_pcie_device_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_placement_policy_by_id200_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_placement_policy_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_rate_limit_policy_by_id200_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_rate_limit_policy_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_serial_port_by_id200_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_serial_port_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_template_by_id200_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_template_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_template_version_by_id200_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_template_version_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_vm_anti_affinity_policy_by_id200_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_vm_anti_affinity_policy_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_vm_by_id200_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_vm_by_id200_response1.rb +224 -0
- data/lib/nutanix_vmm/models/get_vm_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_vm_by_id4_xx_response1.rb +224 -0
- data/lib/nutanix_vmm/models/get_vm_host_affinity_policy_by_id200_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_vm_host_affinity_policy_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_vm_stats_by_id200_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_vm_stats_by_id200_response1.rb +224 -0
- data/lib/nutanix_vmm/models/get_vm_stats_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/get_vm_stats_by_id4_xx_response1.rb +224 -0
- data/lib/nutanix_vmm/models/iam_v40_authn_buckets_access_key.rb +579 -0
- data/lib/nutanix_vmm/models/iam_v40_authn_buckets_access_key_status_type.rb +43 -0
- data/lib/nutanix_vmm/models/iam_v40_authn_creation_type.rb +43 -0
- data/lib/nutanix_vmm/models/iam_v40_authn_user.rb +913 -0
- data/lib/nutanix_vmm/models/iam_v40_authn_user_status_type.rb +42 -0
- data/lib/nutanix_vmm/models/iam_v40_authn_user_type.rb +45 -0
- data/lib/nutanix_vmm/models/import_image202_response.rb +224 -0
- data/lib/nutanix_vmm/models/import_image4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/initiate_guest_update202_response.rb +224 -0
- data/lib/nutanix_vmm/models/initiate_guest_update4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/insert_cd_rom_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/insert_cd_rom_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/insert_nutanix_guest_tools202_response.rb +224 -0
- data/lib/nutanix_vmm/models/insert_nutanix_guest_tools4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/insert_vm_guest_tools202_response.rb +224 -0
- data/lib/nutanix_vmm/models/insert_vm_guest_tools4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/install_nutanix_guest_tools202_response.rb +224 -0
- data/lib/nutanix_vmm/models/install_nutanix_guest_tools4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/install_vm_guest_tools202_response.rb +224 -0
- data/lib/nutanix_vmm/models/install_vm_guest_tools4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/list_cd_roms_by_vm_id200_response.rb +226 -0
- data/lib/nutanix_vmm/models/list_cd_roms_by_vm_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/list_disks_by_vm_id200_response.rb +226 -0
- data/lib/nutanix_vmm/models/list_disks_by_vm_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/list_effective_rate_limit_policies200_response.rb +226 -0
- data/lib/nutanix_vmm/models/list_effective_rate_limit_policies4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/list_gpus_by_vm_id200_response.rb +226 -0
- data/lib/nutanix_vmm/models/list_gpus_by_vm_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/list_images200_response.rb +226 -0
- data/lib/nutanix_vmm/models/list_images4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/list_legacy_vm_anti_affinity_policies200_response.rb +226 -0
- data/lib/nutanix_vmm/models/list_legacy_vm_anti_affinity_policies4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/list_nics_by_vm_id200_response.rb +226 -0
- data/lib/nutanix_vmm/models/list_nics_by_vm_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/list_pcie_devices_by_vm_id200_response.rb +226 -0
- data/lib/nutanix_vmm/models/list_pcie_devices_by_vm_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/list_placement_policies200_response.rb +226 -0
- data/lib/nutanix_vmm/models/list_placement_policies4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/list_rate_limit_policies200_response.rb +226 -0
- data/lib/nutanix_vmm/models/list_rate_limit_policies4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/list_serial_ports_by_vm_id200_response.rb +226 -0
- data/lib/nutanix_vmm/models/list_serial_ports_by_vm_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/list_template_versions200_response.rb +226 -0
- data/lib/nutanix_vmm/models/list_template_versions4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/list_templates200_response.rb +226 -0
- data/lib/nutanix_vmm/models/list_templates4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/list_vm_anti_affinity_policies200_response.rb +226 -0
- data/lib/nutanix_vmm/models/list_vm_anti_affinity_policies4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/list_vm_anti_affinity_policy_vm_compliance_states200_response.rb +226 -0
- data/lib/nutanix_vmm/models/list_vm_anti_affinity_policy_vm_compliance_states4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/list_vm_host_affinity_policies200_response.rb +226 -0
- data/lib/nutanix_vmm/models/list_vm_host_affinity_policies4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/list_vm_host_affinity_policy_vm_compliance_states200_response.rb +226 -0
- data/lib/nutanix_vmm/models/list_vm_host_affinity_policy_vm_compliance_states4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/list_vm_stats200_response.rb +226 -0
- data/lib/nutanix_vmm/models/list_vm_stats200_response1.rb +226 -0
- data/lib/nutanix_vmm/models/list_vm_stats4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/list_vm_stats4_xx_response1.rb +224 -0
- data/lib/nutanix_vmm/models/list_vms200_response.rb +226 -0
- data/lib/nutanix_vmm/models/list_vms200_response1.rb +226 -0
- data/lib/nutanix_vmm/models/list_vms4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/list_vms4_xx_response1.rb +224 -0
- data/lib/nutanix_vmm/models/migrate_nic_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/migrate_nic_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/migrate_vm_disks202_response.rb +224 -0
- data/lib/nutanix_vmm/models/migrate_vm_disks4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/migrate_vm_to_host202_response.rb +224 -0
- data/lib/nutanix_vmm/models/migrate_vm_to_host4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/power_cycle_vm202_response.rb +224 -0
- data/lib/nutanix_vmm/models/power_cycle_vm4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/power_off_vm202_response.rb +224 -0
- data/lib/nutanix_vmm/models/power_off_vm202_response1.rb +224 -0
- data/lib/nutanix_vmm/models/power_off_vm4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/power_off_vm4_xx_response1.rb +224 -0
- data/lib/nutanix_vmm/models/power_on_vm202_response.rb +224 -0
- data/lib/nutanix_vmm/models/power_on_vm202_response1.rb +224 -0
- data/lib/nutanix_vmm/models/power_on_vm4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/power_on_vm4_xx_response1.rb +224 -0
- data/lib/nutanix_vmm/models/prism_v40_config_task_reference.rb +237 -0
- data/lib/nutanix_vmm/models/publish_template202_response.rb +224 -0
- data/lib/nutanix_vmm/models/publish_template4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/re_enforce_vm_host_affinity_policy_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/re_enforce_vm_host_affinity_policy_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/reboot_guest_vm202_response.rb +224 -0
- data/lib/nutanix_vmm/models/reboot_guest_vm4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/reboot_vm202_response.rb +224 -0
- data/lib/nutanix_vmm/models/reboot_vm4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/release_ip_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/release_ip_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/reset_vm202_response.rb +224 -0
- data/lib/nutanix_vmm/models/reset_vm202_response1.rb +224 -0
- data/lib/nutanix_vmm/models/reset_vm4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/reset_vm4_xx_response1.rb +224 -0
- data/lib/nutanix_vmm/models/resume_placement_policy202_response.rb +224 -0
- data/lib/nutanix_vmm/models/resume_placement_policy4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/revert_vm202_response.rb +224 -0
- data/lib/nutanix_vmm/models/revert_vm202_response1.rb +224 -0
- data/lib/nutanix_vmm/models/revert_vm4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/revert_vm4_xx_response1.rb +224 -0
- data/lib/nutanix_vmm/models/shutdown_guest_vm202_response.rb +224 -0
- data/lib/nutanix_vmm/models/shutdown_guest_vm4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/shutdown_vm202_response.rb +224 -0
- data/lib/nutanix_vmm/models/shutdown_vm4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/suspend_placement_policy202_response.rb +224 -0
- data/lib/nutanix_vmm/models/suspend_placement_policy4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/suspend_vm202_response.rb +224 -0
- data/lib/nutanix_vmm/models/suspend_vm4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/uninstall_nutanix_guest_tools202_response.rb +224 -0
- data/lib/nutanix_vmm/models/uninstall_nutanix_guest_tools4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/uninstall_vm_guest_tools202_response.rb +224 -0
- data/lib/nutanix_vmm/models/uninstall_vm_guest_tools4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/update_disk_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/update_disk_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/update_guest_tools_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/update_guest_tools_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/update_image_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/update_image_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/update_nic_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/update_nic_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/update_nutanix_guest_tools_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/update_nutanix_guest_tools_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/update_placement_policy_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/update_placement_policy_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/update_rate_limit_policy_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/update_rate_limit_policy_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/update_serial_port_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/update_serial_port_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/update_template_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/update_template_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/update_vm_anti_affinity_policy_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/update_vm_anti_affinity_policy_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/update_vm_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/update_vm_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/update_vm_host_affinity_policy_by_id202_response.rb +224 -0
- data/lib/nutanix_vmm/models/update_vm_host_affinity_policy_by_id4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/upgrade_nutanix_guest_tools202_response.rb +224 -0
- data/lib/nutanix_vmm/models/upgrade_nutanix_guest_tools4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/upgrade_vm_guest_tools202_response.rb +224 -0
- data/lib/nutanix_vmm/models/upgrade_vm_guest_tools4_xx_response.rb +224 -0
- data/lib/nutanix_vmm/models/version_of_a_template_version_source.rb +222 -0
- data/lib/nutanix_vmm/models/virtual_disk_image_checksum.rb +222 -0
- data/lib/nutanix_vmm/models/virtual_disk_image_source.rb +222 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_adsf_disk_migration_plan.rb +255 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_adsf_volume_group_reference.rb +237 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_adsfvm_storage_config.rb +225 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_all_disks_migration_plan.rb +215 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_apc_config.rb +225 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_assign_ip_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_assign_ip_params.rb +215 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_assign_vm_owner_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_associate_categories_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_associate_vm_categories_params.rb +245 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_availability_zone_reference.rb +237 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_boot_device_disk.rb +215 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_boot_device_nic.rb +237 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_boot_device_type.rb +43 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_category_reference.rb +237 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_cd_rom.rb +361 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_cd_rom_address.rb +247 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_cd_rom_bus_type.rb +42 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_cd_rom_insert_params.rb +215 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_clone_override_params.rb +409 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_clone_override_params_boot_config.rb +106 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_clone_vm_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_cloud_init.rb +275 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_cloud_init_cloud_init_script.rb +106 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_cloud_init_data_source_type.rb +41 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_cluster_reference.rb +237 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_cpu_feature.rb +41 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_cpu_model_reference.rb +266 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_create_cd_rom_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_create_disk_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_create_gpu_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_create_nic_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_create_pcie_device_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_create_serial_port_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_create_vm_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_credential.rb +245 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_cross_cluster_migrate_vm_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_custom_key_values.rb +246 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_customize_guest_vm_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_data_source.rb +215 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_data_source_reference.rb +106 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_delete_cd_rom_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_delete_disk_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_delete_gpu_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_delete_nic_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_delete_pcie_device_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_delete_serial_port_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_delete_vm_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_disassociate_categories_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_disassociate_vm_categories_params.rb +245 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_disk.rb +330 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_disk_address.rb +266 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_disk_all_of_backing_info.rb +222 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_disk_bus_type.rb +45 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_disk_migration_params.rb +215 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_disk_migration_params_migrate_disks.rb +106 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_eject_cd_rom_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_emulated_nic.rb +311 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_emulated_nic_model.rb +42 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_get_cd_rom_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_get_cd_rom_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_get_disk_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_get_disk_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_get_gpu_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_get_gpu_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_get_guest_tools_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_get_guest_tools_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_get_nic_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_get_nic_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_get_pcie_device_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_get_pcie_device_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_get_serial_port_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_get_serial_port_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_get_vm_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_get_vm_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_gpu.rb +459 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_gpu_mode.rb +43 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_gpu_vendor.rb +43 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_guest_customization_params.rb +215 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_guest_customization_params_config.rb +106 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_guest_power_options.rb +215 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_guest_power_state_transition_config.rb +226 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_guest_tools.rb +336 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_guest_tools_insert_config.rb +256 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_guest_tools_install_config.rb +264 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_guest_tools_upgrade_config.rb +215 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_host_reference.rb +237 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_image_reference.rb +237 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_insert_cd_rom_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_insert_vm_guest_tools_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_install_type.rb +42 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_install_vm_guest_tools_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_ipv4_config.rb +265 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_ipv4_info.rb +246 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_iso_type.rb +43 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_legacy_boot.rb +255 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_legacy_boot_boot_device.rb +106 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_list_cd_roms_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_list_cd_roms_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_list_disks_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_list_disks_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_list_gpus_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_list_gpus_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_list_nics_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_list_nics_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_list_pcie_devices_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_list_pcie_devices_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_list_serial_ports_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_list_serial_ports_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_list_vms_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_list_vms_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_machine_type.rb +43 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_migrate_disk_reference.rb +237 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_migrate_nic_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_migrate_nic_config.rb +269 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_migrate_nic_type.rb +42 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_migrate_vm_disks_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_migrate_vm_to_host_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_migration_plans.rb +245 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_network_function_chain_reference.rb +237 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_network_function_nic_type.rb +43 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_ngt_capability.rb +42 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_nic.rb +330 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_nic_network_info.rb +341 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_nic_type.rb +44 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_nvram_device.rb +215 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_owner_reference.rb +237 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_ownership_info.rb +215 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_pcie_device.rb +330 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_pcie_device_all_of_backing_info.rb +222 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_pcie_device_info.rb +215 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_pcie_device_reference.rb +237 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_policy_reference.rb +237 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_power_cycle_vm_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_power_off_vm_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_power_on_vm_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_power_state.rb +44 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_protection_policy_state.rb +215 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_protection_type.rb +43 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_qos_config.rb +216 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_reboot_preference.rb +246 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_reboot_preference_schedule.rb +216 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_reboot_vm_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_release_ip_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_reset_vm_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_revert_params.rb +244 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_revert_vm_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_sbdf.rb +246 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_schedule_type.rb +43 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_serial_port.rb +360 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_shutdown_vm_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_subnet_reference.rb +237 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_sysprep.rb +246 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_sysprep_sysprep_script.rb +106 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_uefi_boot.rb +274 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_uefi_boot_boot_device.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_unattendxml.rb +235 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_uninstall_vm_guest_tools_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_update_disk_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_update_guest_tools_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_update_nic_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_update_serial_port_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_update_vm_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_upgrade_vm_guest_tools_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_userdata.rb +235 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_vlan_mode.rb +42 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_vm.rb +1177 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_vm_all_of_boot_config.rb +222 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_vm_cross_cluster_migrate_overrides.rb +246 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_vm_cross_cluster_migrate_params.rb +257 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_vm_disk.rb +303 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_vm_disk_container_reference.rb +237 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_vm_disk_reference.rb +255 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_vm_disk_storage_config.rb +216 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_vm_migrate_to_host_params.rb +222 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_vm_recovery_point.rb +441 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_vm_reference.rb +237 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_vm_source_reference.rb +268 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_vm_source_reference_entity_type.rb +42 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_config_vtpm_config.rb +226 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_category_reference.rb +237 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_cluster_reference.rb +237 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_conflicting_legacy_vm_anti_affinity_policy.rb +237 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_conflicting_vm_anti_affinity_policy.rb +237 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_conflicting_vm_host_affinity_policy.rb +237 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_create_vm_anti_affinity_policy_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_create_vm_host_affinity_policy_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_delete_legacy_vm_anti_affinity_policy_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_delete_vm_anti_affinity_policy_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_delete_vm_host_affinity_policy_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_get_vm_anti_affinity_policy_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_get_vm_anti_affinity_policy_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_get_vm_host_affinity_policy_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_get_vm_host_affinity_policy_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_host_reference.rb +237 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_legacy_vm_anti_affinity_policy.rb +399 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_list_legacy_vm_anti_affinity_policies_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_list_legacy_vm_anti_affinity_policies_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_list_vm_anti_affinity_policies_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_list_vm_anti_affinity_policies_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_list_vm_anti_affinity_policy_vm_compliance_states_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_list_vm_anti_affinity_policy_vm_compliance_states_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_list_vm_host_affinity_policies_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_list_vm_host_affinity_policies_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_list_vm_host_affinity_policy_vm_compliance_states_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_list_vm_host_affinity_policy_vm_compliance_states_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_non_compliant_vm_anti_affinity_policy.rb +215 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_non_compliant_vm_anti_affinity_policy_non_compliance_reason.rb +107 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_non_compliant_vm_host_affinity_policy.rb +215 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_non_compliant_vm_host_affinity_policy_non_compliance_reason.rb +107 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_pe_not_capable_for_vm_host_affinity_policy.rb +216 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_re_enforce_vm_host_affinity_policy_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_update_vm_anti_affinity_policy_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_update_vm_host_affinity_policy_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_user_reference.rb +237 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_vm_anti_affinity_policy.rb +468 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_vm_anti_affinity_policy_vm_compliance_state.rb +379 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_vm_anti_affinity_policy_vm_compliance_state_all_of_compliance_status.rb +222 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_vm_host_affinity_policy.rb +509 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_vm_host_affinity_policy_vm_compliance_state.rb +379 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_vm_host_affinity_policy_vm_compliance_state_all_of_compliance_status.rb +222 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_policies_vm_reference.rb +237 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_stats_get_disk_stats_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_stats_get_disk_stats_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_stats_get_nic_stats_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_stats_get_nic_stats_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_stats_get_vm_stats_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_stats_get_vm_stats_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_stats_list_vm_stats_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_stats_list_vm_stats_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_disk_stats.rb +355 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_disk_stats_tuple.rb +486 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_nic_stats.rb +355 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_nic_stats_tuple.rb +236 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats.rb +324 -0
- data/lib/nutanix_vmm/models/vmm_v40_ahv_stats_vm_stats_tuple.rb +1046 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_cancel_guest_update_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_complete_guest_update_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_complete_guest_update_spec.rb +290 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_compliance_status.rb +42 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_create_image_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_create_image_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_create_template_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_delete_image_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_delete_template_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_delete_template_version_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_deploy_template_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_enforcement_mode.rb +42 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_get_image_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_get_image_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_get_image_file_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_get_image_file_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_get_template_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_get_template_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_get_template_version_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_get_template_version_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_guest_update_status.rb +237 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_image.rb +622 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_image_import_config.rb +291 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_image_placement_status.rb +418 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_image_sha1_checksum.rb +244 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_image_sha256_checksum.rb +244 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_image_type.rb +42 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_import_image_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_initiate_guest_update_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_initiate_guest_update_spec.rb +237 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_list_images_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_list_images_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_list_template_versions_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_list_template_versions_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_list_templates_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_list_templates_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_objects_lite_source.rb +251 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_publish_template_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_template.rb +434 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_template_deployment.rb +332 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_template_publish_spec.rb +243 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_template_user.rb +913 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_template_version_reference.rb +260 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_template_version_spec.rb +455 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_template_vm_reference.rb +253 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_update_image_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_update_template_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_url_basic_auth.rb +268 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_url_source.rb +265 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_vm_config_override.rb +409 -0
- data/lib/nutanix_vmm/models/vmm_v40_content_vm_disk_source.rb +244 -0
- data/lib/nutanix_vmm/models/vmm_v40_error_app_message.rb +291 -0
- data/lib/nutanix_vmm/models/vmm_v40_error_error_response.rb +215 -0
- data/lib/nutanix_vmm/models/vmm_v40_error_error_response_error.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_error_message_severity.rb +43 -0
- data/lib/nutanix_vmm/models/vmm_v40_error_schema_validation_error.rb +258 -0
- data/lib/nutanix_vmm/models/vmm_v40_error_schema_validation_error_message.rb +236 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_adapter_type.rb +47 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_assign_vm_owner_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_associate_categories_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_associate_vm_categories_params.rb +252 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_category_reference.rb +237 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_cd_rom.rb +330 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_cd_rom_address.rb +266 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_cd_rom_backing_info.rb +246 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_cd_rom_bus_type.rb +42 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_cluster_reference.rb +237 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_disassociate_categories_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_disassociate_vm_categories_params.rb +252 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_disk.rb +330 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_disk_address.rb +266 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_disk_bus_type.rb +44 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_get_nutanix_guest_tools_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_get_nutanix_guest_tools_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_get_vm_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_get_vm_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_host_reference.rb +237 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_insert_nutanix_guest_tools_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_install_nutanix_guest_tools_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_ip_address_info.rb +286 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_list_vms_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_list_vms_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_nic.rb +330 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_nic_backing_info.rb +280 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_nic_network_info.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_nutanix_credential.rb +259 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_nutanix_guest_tools.rb +336 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_nutanix_guest_tools_capability.rb +42 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_nutanix_guest_tools_insert_config.rb +246 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_nutanix_guest_tools_install_config.rb +271 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_nutanix_guest_tools_upgrade_config.rb +215 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_nutanix_reboot_preference.rb +246 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_nutanix_reboot_preference_schedule.rb +216 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_nutanix_schedule_type.rb +43 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_owner_reference.rb +268 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_owner_reference_entity_type.rb +41 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_ownership_info.rb +222 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_port_group_info.rb +235 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_power_off_vm_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_power_on_vm_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_power_state.rb +44 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_reboot_guest_os_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_reset_vm_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_revert_params.rb +244 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_revert_vm_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_shutdown_vm_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_suspend_vm_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_uninstall_nutanix_guest_tools_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_update_nutanix_guest_tools_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_upgrade_nutanix_guest_tools_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_vm.rb +723 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_vm_disk.rb +253 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_vm_disk_container_reference.rb +237 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_config_vm_disk_storage_config.rb +216 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_stats_get_disk_stats_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_stats_get_disk_stats_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_stats_get_nic_stats_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_stats_get_nic_stats_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_stats_get_vm_stats_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_stats_get_vm_stats_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_stats_list_vm_stats_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_stats_list_vm_stats_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_stats_vm_disk_stats.rb +355 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_stats_vm_disk_stats_tuple.rb +466 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_stats_vm_nic_stats.rb +355 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_stats_vm_nic_stats_tuple.rb +236 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_stats_vm_stats.rb +324 -0
- data/lib/nutanix_vmm/models/vmm_v40_esxi_stats_vm_stats_tuple.rb +746 -0
- data/lib/nutanix_vmm/models/vmm_v40_images_config_create_placement_policy_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_images_config_create_rate_limit_policy_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_images_config_delete_placement_policy_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_images_config_delete_rate_limit_policy_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_images_config_effective_rate_limit_policy.rb +387 -0
- data/lib/nutanix_vmm/models/vmm_v40_images_config_enforcement_state.rb +42 -0
- data/lib/nutanix_vmm/models/vmm_v40_images_config_filter.rb +291 -0
- data/lib/nutanix_vmm/models/vmm_v40_images_config_filter_match_type.rb +42 -0
- data/lib/nutanix_vmm/models/vmm_v40_images_config_get_placement_policy_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_images_config_get_placement_policy_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_images_config_get_rate_limit_policy_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_images_config_get_rate_limit_policy_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_images_config_list_effective_rate_limit_policies_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_images_config_list_effective_rate_limit_policies_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_images_config_list_placement_policies_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_images_config_list_placement_policies_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_images_config_list_rate_limit_policies_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_images_config_list_rate_limit_policies_api_response_data.rb +105 -0
- data/lib/nutanix_vmm/models/vmm_v40_images_config_placement_policy.rb +515 -0
- data/lib/nutanix_vmm/models/vmm_v40_images_config_placement_type.rb +42 -0
- data/lib/nutanix_vmm/models/vmm_v40_images_config_rate_limit_policy.rb +537 -0
- data/lib/nutanix_vmm/models/vmm_v40_images_config_resume_placement_policy_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_images_config_suspend_placement_policy_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_images_config_suspend_placement_policy_config.rb +218 -0
- data/lib/nutanix_vmm/models/vmm_v40_images_config_update_placement_policy_api_response.rb +224 -0
- data/lib/nutanix_vmm/models/vmm_v40_images_config_update_rate_limit_policy_api_response.rb +224 -0
- data/lib/nutanix_vmm/version.rb +15 -0
- data/lib/nutanix_vmm.rb +727 -0
- data/nutanix_vmm.gemspec +39 -0
- data/renovate.json +5 -0
- data/spec/api/esxi_stats_api_spec.rb +108 -0
- data/spec/api/esxi_vm_api_spec.rb +290 -0
- data/spec/api/image_placement_policies_api_spec.rb +132 -0
- data/spec/api/image_rate_limit_policies_api_spec.rb +119 -0
- data/spec/api/images_api_spec.rb +128 -0
- data/spec/api/stats_api_spec.rb +108 -0
- data/spec/api/templates_api_spec.rb +218 -0
- data/spec/api/vm_anti_affinity_policies_api_spec.rb +145 -0
- data/spec/api/vm_api_spec.rb +911 -0
- data/spec/api/vm_host_affinity_policies_api_spec.rb +132 -0
- data/spec/models/assign_ip_by_id202_response_spec.rb +42 -0
- data/spec/models/assign_ip_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/assign_vm_owner202_response1_spec.rb +42 -0
- data/spec/models/assign_vm_owner202_response_spec.rb +42 -0
- data/spec/models/assign_vm_owner4_xx_response1_spec.rb +42 -0
- data/spec/models/assign_vm_owner4_xx_response_spec.rb +42 -0
- data/spec/models/associate_categories202_response1_spec.rb +42 -0
- data/spec/models/associate_categories202_response_spec.rb +42 -0
- data/spec/models/associate_categories4_xx_response1_spec.rb +42 -0
- data/spec/models/associate_categories4_xx_response_spec.rb +42 -0
- data/spec/models/cancel_guest_update202_response_spec.rb +42 -0
- data/spec/models/cancel_guest_update4_xx_response_spec.rb +42 -0
- data/spec/models/clone_vm202_response_spec.rb +42 -0
- data/spec/models/clone_vm4_xx_response_spec.rb +42 -0
- data/spec/models/common_v10_config_flag_spec.rb +42 -0
- data/spec/models/common_v10_config_ipv4_address_spec.rb +42 -0
- data/spec/models/common_v10_config_kv_pair_spec.rb +42 -0
- data/spec/models/common_v10_config_kv_pair_value_spec.rb +32 -0
- data/spec/models/common_v10_config_map_of_string_wrapper_spec.rb +36 -0
- data/spec/models/common_v10_config_message_severity_spec.rb +30 -0
- data/spec/models/common_v10_config_message_spec.rb +54 -0
- data/spec/models/common_v10_config_tenant_aware_model_spec.rb +36 -0
- data/spec/models/common_v10_response_api_link_spec.rb +42 -0
- data/spec/models/common_v10_response_api_response_metadata_spec.rb +60 -0
- data/spec/models/common_v10_response_externalizable_abstract_model_spec.rb +48 -0
- data/spec/models/common_v10_stats_down_sampling_operator_spec.rb +30 -0
- data/spec/models/complete_guest_update202_response_spec.rb +42 -0
- data/spec/models/complete_guest_update4_xx_response_spec.rb +42 -0
- data/spec/models/create_cd_rom202_response_spec.rb +42 -0
- data/spec/models/create_cd_rom4_xx_response_spec.rb +42 -0
- data/spec/models/create_disk202_response_spec.rb +42 -0
- data/spec/models/create_disk4_xx_response_spec.rb +42 -0
- data/spec/models/create_gpu202_response_spec.rb +42 -0
- data/spec/models/create_gpu4_xx_response_spec.rb +42 -0
- data/spec/models/create_image202_response_spec.rb +42 -0
- data/spec/models/create_image4_xx_response_spec.rb +42 -0
- data/spec/models/create_nic202_response_spec.rb +42 -0
- data/spec/models/create_nic4_xx_response_spec.rb +42 -0
- data/spec/models/create_pcie_device202_response_spec.rb +42 -0
- data/spec/models/create_pcie_device4_xx_response_spec.rb +42 -0
- data/spec/models/create_placement_policy202_response_spec.rb +42 -0
- data/spec/models/create_placement_policy4_xx_response_spec.rb +42 -0
- data/spec/models/create_rate_limit_policy202_response_spec.rb +42 -0
- data/spec/models/create_rate_limit_policy4_xx_response_spec.rb +42 -0
- data/spec/models/create_serial_port202_response_spec.rb +42 -0
- data/spec/models/create_serial_port4_xx_response_spec.rb +42 -0
- data/spec/models/create_template202_response_spec.rb +42 -0
- data/spec/models/create_template4_xx_response_spec.rb +42 -0
- data/spec/models/create_vm202_response_spec.rb +42 -0
- data/spec/models/create_vm4_xx_response_spec.rb +42 -0
- data/spec/models/create_vm_anti_affinity_policy202_response_spec.rb +42 -0
- data/spec/models/create_vm_anti_affinity_policy4_xx_response_spec.rb +42 -0
- data/spec/models/create_vm_host_affinity_policy202_response_spec.rb +42 -0
- data/spec/models/create_vm_host_affinity_policy4_xx_response_spec.rb +42 -0
- data/spec/models/cross_cluster_migrate_vm202_response_spec.rb +42 -0
- data/spec/models/cross_cluster_migrate_vm4_xx_response_spec.rb +42 -0
- data/spec/models/customize_guest_vm202_response_spec.rb +42 -0
- data/spec/models/customize_guest_vm4_xx_response_spec.rb +42 -0
- data/spec/models/dataprotection_v40_common_base_recovery_point_spec.rb +84 -0
- data/spec/models/dataprotection_v40_common_recovery_point_status_spec.rb +30 -0
- data/spec/models/dataprotection_v40_common_recovery_point_type_spec.rb +30 -0
- data/spec/models/delete_cd_rom_by_id202_response_spec.rb +42 -0
- data/spec/models/delete_cd_rom_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/delete_disk_by_id202_response_spec.rb +42 -0
- data/spec/models/delete_disk_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/delete_gpu_by_id202_response_spec.rb +42 -0
- data/spec/models/delete_gpu_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/delete_image_by_id202_response_spec.rb +42 -0
- data/spec/models/delete_image_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/delete_legacy_vm_anti_affinity_policy_by_id202_response_spec.rb +42 -0
- data/spec/models/delete_legacy_vm_anti_affinity_policy_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/delete_nic_by_id202_response_spec.rb +42 -0
- data/spec/models/delete_nic_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/delete_pcie_device_by_id202_response_spec.rb +42 -0
- data/spec/models/delete_pcie_device_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/delete_placement_policy_by_id202_response_spec.rb +42 -0
- data/spec/models/delete_placement_policy_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/delete_rate_limit_policy_by_id202_response_spec.rb +42 -0
- data/spec/models/delete_rate_limit_policy_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/delete_serial_port_by_id202_response_spec.rb +42 -0
- data/spec/models/delete_serial_port_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/delete_template_by_id202_response_spec.rb +42 -0
- data/spec/models/delete_template_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/delete_template_version_by_id202_response_spec.rb +42 -0
- data/spec/models/delete_template_version_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/delete_vm_anti_affinity_policy_by_id202_response_spec.rb +42 -0
- data/spec/models/delete_vm_anti_affinity_policy_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/delete_vm_by_id202_response_spec.rb +42 -0
- data/spec/models/delete_vm_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/delete_vm_host_affinity_policy_by_id202_response_spec.rb +42 -0
- data/spec/models/delete_vm_host_affinity_policy_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/deploy_template202_response_spec.rb +42 -0
- data/spec/models/deploy_template4_xx_response_spec.rb +42 -0
- data/spec/models/disassociate_categories202_response1_spec.rb +42 -0
- data/spec/models/disassociate_categories202_response_spec.rb +42 -0
- data/spec/models/disassociate_categories4_xx_response1_spec.rb +42 -0
- data/spec/models/disassociate_categories4_xx_response_spec.rb +42 -0
- data/spec/models/eject_cd_rom_by_id202_response_spec.rb +42 -0
- data/spec/models/eject_cd_rom_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_cd_rom_by_id200_response_spec.rb +42 -0
- data/spec/models/get_cd_rom_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_disk_by_id200_response_spec.rb +42 -0
- data/spec/models/get_disk_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_disk_stats_by_id200_response1_spec.rb +42 -0
- data/spec/models/get_disk_stats_by_id200_response_spec.rb +42 -0
- data/spec/models/get_disk_stats_by_id4_xx_response1_spec.rb +42 -0
- data/spec/models/get_disk_stats_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_file_by_image_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_gpu_by_id200_response_spec.rb +42 -0
- data/spec/models/get_gpu_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_guest_tools_by_id200_response_spec.rb +42 -0
- data/spec/models/get_guest_tools_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_image_by_id200_response_spec.rb +42 -0
- data/spec/models/get_image_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_nic_by_id200_response_spec.rb +42 -0
- data/spec/models/get_nic_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_nic_stats_by_id200_response1_spec.rb +42 -0
- data/spec/models/get_nic_stats_by_id200_response_spec.rb +42 -0
- data/spec/models/get_nic_stats_by_id4_xx_response1_spec.rb +42 -0
- data/spec/models/get_nic_stats_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_nutanix_guest_tools_by_id200_response_spec.rb +42 -0
- data/spec/models/get_nutanix_guest_tools_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_pcie_device_by_id200_response_spec.rb +42 -0
- data/spec/models/get_pcie_device_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_placement_policy_by_id200_response_spec.rb +42 -0
- data/spec/models/get_placement_policy_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_rate_limit_policy_by_id200_response_spec.rb +42 -0
- data/spec/models/get_rate_limit_policy_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_serial_port_by_id200_response_spec.rb +42 -0
- data/spec/models/get_serial_port_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_template_by_id200_response_spec.rb +42 -0
- data/spec/models/get_template_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_template_version_by_id200_response_spec.rb +42 -0
- data/spec/models/get_template_version_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_vm_anti_affinity_policy_by_id200_response_spec.rb +42 -0
- data/spec/models/get_vm_anti_affinity_policy_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_vm_by_id200_response1_spec.rb +42 -0
- data/spec/models/get_vm_by_id200_response_spec.rb +42 -0
- data/spec/models/get_vm_by_id4_xx_response1_spec.rb +42 -0
- data/spec/models/get_vm_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_vm_host_affinity_policy_by_id200_response_spec.rb +42 -0
- data/spec/models/get_vm_host_affinity_policy_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/get_vm_stats_by_id200_response1_spec.rb +42 -0
- data/spec/models/get_vm_stats_by_id200_response_spec.rb +42 -0
- data/spec/models/get_vm_stats_by_id4_xx_response1_spec.rb +42 -0
- data/spec/models/get_vm_stats_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/iam_v40_authn_buckets_access_key_spec.rb +114 -0
- data/spec/models/iam_v40_authn_buckets_access_key_status_type_spec.rb +30 -0
- data/spec/models/iam_v40_authn_creation_type_spec.rb +30 -0
- data/spec/models/iam_v40_authn_user_spec.rb +180 -0
- data/spec/models/iam_v40_authn_user_status_type_spec.rb +30 -0
- data/spec/models/iam_v40_authn_user_type_spec.rb +30 -0
- data/spec/models/import_image202_response_spec.rb +42 -0
- data/spec/models/import_image4_xx_response_spec.rb +42 -0
- data/spec/models/initiate_guest_update202_response_spec.rb +42 -0
- data/spec/models/initiate_guest_update4_xx_response_spec.rb +42 -0
- data/spec/models/insert_cd_rom_by_id202_response_spec.rb +42 -0
- data/spec/models/insert_cd_rom_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/insert_nutanix_guest_tools202_response_spec.rb +42 -0
- data/spec/models/insert_nutanix_guest_tools4_xx_response_spec.rb +42 -0
- data/spec/models/insert_vm_guest_tools202_response_spec.rb +42 -0
- data/spec/models/insert_vm_guest_tools4_xx_response_spec.rb +42 -0
- data/spec/models/install_nutanix_guest_tools202_response_spec.rb +42 -0
- data/spec/models/install_nutanix_guest_tools4_xx_response_spec.rb +42 -0
- data/spec/models/install_vm_guest_tools202_response_spec.rb +42 -0
- data/spec/models/install_vm_guest_tools4_xx_response_spec.rb +42 -0
- data/spec/models/list_cd_roms_by_vm_id200_response_spec.rb +42 -0
- data/spec/models/list_cd_roms_by_vm_id4_xx_response_spec.rb +42 -0
- data/spec/models/list_disks_by_vm_id200_response_spec.rb +42 -0
- data/spec/models/list_disks_by_vm_id4_xx_response_spec.rb +42 -0
- data/spec/models/list_effective_rate_limit_policies200_response_spec.rb +42 -0
- data/spec/models/list_effective_rate_limit_policies4_xx_response_spec.rb +42 -0
- data/spec/models/list_gpus_by_vm_id200_response_spec.rb +42 -0
- data/spec/models/list_gpus_by_vm_id4_xx_response_spec.rb +42 -0
- data/spec/models/list_images200_response_spec.rb +42 -0
- data/spec/models/list_images4_xx_response_spec.rb +42 -0
- data/spec/models/list_legacy_vm_anti_affinity_policies200_response_spec.rb +42 -0
- data/spec/models/list_legacy_vm_anti_affinity_policies4_xx_response_spec.rb +42 -0
- data/spec/models/list_nics_by_vm_id200_response_spec.rb +42 -0
- data/spec/models/list_nics_by_vm_id4_xx_response_spec.rb +42 -0
- data/spec/models/list_pcie_devices_by_vm_id200_response_spec.rb +42 -0
- data/spec/models/list_pcie_devices_by_vm_id4_xx_response_spec.rb +42 -0
- data/spec/models/list_placement_policies200_response_spec.rb +42 -0
- data/spec/models/list_placement_policies4_xx_response_spec.rb +42 -0
- data/spec/models/list_rate_limit_policies200_response_spec.rb +42 -0
- data/spec/models/list_rate_limit_policies4_xx_response_spec.rb +42 -0
- data/spec/models/list_serial_ports_by_vm_id200_response_spec.rb +42 -0
- data/spec/models/list_serial_ports_by_vm_id4_xx_response_spec.rb +42 -0
- data/spec/models/list_template_versions200_response_spec.rb +42 -0
- data/spec/models/list_template_versions4_xx_response_spec.rb +42 -0
- data/spec/models/list_templates200_response_spec.rb +42 -0
- data/spec/models/list_templates4_xx_response_spec.rb +42 -0
- data/spec/models/list_vm_anti_affinity_policies200_response_spec.rb +42 -0
- data/spec/models/list_vm_anti_affinity_policies4_xx_response_spec.rb +42 -0
- data/spec/models/list_vm_anti_affinity_policy_vm_compliance_states200_response_spec.rb +42 -0
- data/spec/models/list_vm_anti_affinity_policy_vm_compliance_states4_xx_response_spec.rb +42 -0
- data/spec/models/list_vm_host_affinity_policies200_response_spec.rb +42 -0
- data/spec/models/list_vm_host_affinity_policies4_xx_response_spec.rb +42 -0
- data/spec/models/list_vm_host_affinity_policy_vm_compliance_states200_response_spec.rb +42 -0
- data/spec/models/list_vm_host_affinity_policy_vm_compliance_states4_xx_response_spec.rb +42 -0
- data/spec/models/list_vm_stats200_response1_spec.rb +42 -0
- data/spec/models/list_vm_stats200_response_spec.rb +42 -0
- data/spec/models/list_vm_stats4_xx_response1_spec.rb +42 -0
- data/spec/models/list_vm_stats4_xx_response_spec.rb +42 -0
- data/spec/models/list_vms200_response1_spec.rb +42 -0
- data/spec/models/list_vms200_response_spec.rb +42 -0
- data/spec/models/list_vms4_xx_response1_spec.rb +42 -0
- data/spec/models/list_vms4_xx_response_spec.rb +42 -0
- data/spec/models/migrate_nic_by_id202_response_spec.rb +42 -0
- data/spec/models/migrate_nic_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/migrate_vm_disks202_response_spec.rb +42 -0
- data/spec/models/migrate_vm_disks4_xx_response_spec.rb +42 -0
- data/spec/models/migrate_vm_to_host202_response_spec.rb +42 -0
- data/spec/models/migrate_vm_to_host4_xx_response_spec.rb +42 -0
- data/spec/models/power_cycle_vm202_response_spec.rb +42 -0
- data/spec/models/power_cycle_vm4_xx_response_spec.rb +42 -0
- data/spec/models/power_off_vm202_response1_spec.rb +42 -0
- data/spec/models/power_off_vm202_response_spec.rb +42 -0
- data/spec/models/power_off_vm4_xx_response1_spec.rb +42 -0
- data/spec/models/power_off_vm4_xx_response_spec.rb +42 -0
- data/spec/models/power_on_vm202_response1_spec.rb +42 -0
- data/spec/models/power_on_vm202_response_spec.rb +42 -0
- data/spec/models/power_on_vm4_xx_response1_spec.rb +42 -0
- data/spec/models/power_on_vm4_xx_response_spec.rb +42 -0
- data/spec/models/prism_v40_config_task_reference_spec.rb +36 -0
- data/spec/models/publish_template202_response_spec.rb +42 -0
- data/spec/models/publish_template4_xx_response_spec.rb +42 -0
- data/spec/models/re_enforce_vm_host_affinity_policy_by_id202_response_spec.rb +42 -0
- data/spec/models/re_enforce_vm_host_affinity_policy_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/reboot_guest_vm202_response_spec.rb +42 -0
- data/spec/models/reboot_guest_vm4_xx_response_spec.rb +42 -0
- data/spec/models/reboot_vm202_response_spec.rb +42 -0
- data/spec/models/reboot_vm4_xx_response_spec.rb +42 -0
- data/spec/models/release_ip_by_id202_response_spec.rb +42 -0
- data/spec/models/release_ip_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/reset_vm202_response1_spec.rb +42 -0
- data/spec/models/reset_vm202_response_spec.rb +42 -0
- data/spec/models/reset_vm4_xx_response1_spec.rb +42 -0
- data/spec/models/reset_vm4_xx_response_spec.rb +42 -0
- data/spec/models/resume_placement_policy202_response_spec.rb +42 -0
- data/spec/models/resume_placement_policy4_xx_response_spec.rb +42 -0
- data/spec/models/revert_vm202_response1_spec.rb +42 -0
- data/spec/models/revert_vm202_response_spec.rb +42 -0
- data/spec/models/revert_vm4_xx_response1_spec.rb +42 -0
- data/spec/models/revert_vm4_xx_response_spec.rb +42 -0
- data/spec/models/shutdown_guest_vm202_response_spec.rb +42 -0
- data/spec/models/shutdown_guest_vm4_xx_response_spec.rb +42 -0
- data/spec/models/shutdown_vm202_response_spec.rb +42 -0
- data/spec/models/shutdown_vm4_xx_response_spec.rb +42 -0
- data/spec/models/suspend_placement_policy202_response_spec.rb +42 -0
- data/spec/models/suspend_placement_policy4_xx_response_spec.rb +42 -0
- data/spec/models/suspend_vm202_response_spec.rb +42 -0
- data/spec/models/suspend_vm4_xx_response_spec.rb +42 -0
- data/spec/models/uninstall_nutanix_guest_tools202_response_spec.rb +42 -0
- data/spec/models/uninstall_nutanix_guest_tools4_xx_response_spec.rb +42 -0
- data/spec/models/uninstall_vm_guest_tools202_response_spec.rb +42 -0
- data/spec/models/uninstall_vm_guest_tools4_xx_response_spec.rb +42 -0
- data/spec/models/update_disk_by_id202_response_spec.rb +42 -0
- data/spec/models/update_disk_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/update_guest_tools_by_id202_response_spec.rb +42 -0
- data/spec/models/update_guest_tools_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/update_image_by_id202_response_spec.rb +42 -0
- data/spec/models/update_image_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/update_nic_by_id202_response_spec.rb +42 -0
- data/spec/models/update_nic_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/update_nutanix_guest_tools_by_id202_response_spec.rb +42 -0
- data/spec/models/update_nutanix_guest_tools_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/update_placement_policy_by_id202_response_spec.rb +42 -0
- data/spec/models/update_placement_policy_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/update_rate_limit_policy_by_id202_response_spec.rb +42 -0
- data/spec/models/update_rate_limit_policy_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/update_serial_port_by_id202_response_spec.rb +42 -0
- data/spec/models/update_serial_port_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/update_template_by_id202_response_spec.rb +42 -0
- data/spec/models/update_template_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/update_vm_anti_affinity_policy_by_id202_response_spec.rb +42 -0
- data/spec/models/update_vm_anti_affinity_policy_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/update_vm_by_id202_response_spec.rb +42 -0
- data/spec/models/update_vm_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/update_vm_host_affinity_policy_by_id202_response_spec.rb +42 -0
- data/spec/models/update_vm_host_affinity_policy_by_id4_xx_response_spec.rb +42 -0
- data/spec/models/upgrade_nutanix_guest_tools202_response_spec.rb +42 -0
- data/spec/models/upgrade_nutanix_guest_tools4_xx_response_spec.rb +42 -0
- data/spec/models/upgrade_vm_guest_tools202_response_spec.rb +42 -0
- data/spec/models/upgrade_vm_guest_tools4_xx_response_spec.rb +42 -0
- data/spec/models/version_of_a_template_version_source_spec.rb +36 -0
- data/spec/models/virtual_disk_image_checksum_spec.rb +36 -0
- data/spec/models/virtual_disk_image_source_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_adsf_disk_migration_plan_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_adsf_volume_group_reference_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_adsfvm_storage_config_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_all_disks_migration_plan_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_apc_config_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_assign_ip_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_assign_ip_params_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_assign_vm_owner_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_associate_categories_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_associate_vm_categories_params_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_availability_zone_reference_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_boot_device_disk_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_boot_device_nic_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_boot_device_type_spec.rb +30 -0
- data/spec/models/vmm_v40_ahv_config_category_reference_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_cd_rom_address_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_cd_rom_bus_type_spec.rb +30 -0
- data/spec/models/vmm_v40_ahv_config_cd_rom_insert_params_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_cd_rom_spec.rb +66 -0
- data/spec/models/vmm_v40_ahv_config_clone_override_params_boot_config_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_config_clone_override_params_spec.rb +78 -0
- data/spec/models/vmm_v40_ahv_config_clone_vm_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_cloud_init_cloud_init_script_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_config_cloud_init_data_source_type_spec.rb +30 -0
- data/spec/models/vmm_v40_ahv_config_cloud_init_spec.rb +48 -0
- data/spec/models/vmm_v40_ahv_config_cluster_reference_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_cpu_feature_spec.rb +30 -0
- data/spec/models/vmm_v40_ahv_config_cpu_model_reference_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_create_cd_rom_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_create_disk_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_create_gpu_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_create_nic_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_create_pcie_device_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_create_serial_port_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_create_vm_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_credential_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_cross_cluster_migrate_vm_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_custom_key_values_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_customize_guest_vm_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_data_source_reference_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_config_data_source_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_delete_cd_rom_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_delete_disk_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_delete_gpu_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_delete_nic_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_delete_pcie_device_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_delete_serial_port_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_delete_vm_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_disassociate_categories_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_disassociate_vm_categories_params_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_disk_address_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_disk_all_of_backing_info_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_disk_bus_type_spec.rb +30 -0
- data/spec/models/vmm_v40_ahv_config_disk_migration_params_migrate_disks_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_config_disk_migration_params_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_disk_spec.rb +60 -0
- data/spec/models/vmm_v40_ahv_config_eject_cd_rom_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_emulated_nic_model_spec.rb +30 -0
- data/spec/models/vmm_v40_ahv_config_emulated_nic_spec.rb +54 -0
- data/spec/models/vmm_v40_ahv_config_get_cd_rom_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_config_get_cd_rom_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_get_disk_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_config_get_disk_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_get_gpu_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_config_get_gpu_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_get_guest_tools_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_config_get_guest_tools_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_get_nic_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_config_get_nic_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_get_pcie_device_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_config_get_pcie_device_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_get_serial_port_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_config_get_serial_port_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_get_vm_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_config_get_vm_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_gpu_mode_spec.rb +30 -0
- data/spec/models/vmm_v40_ahv_config_gpu_spec.rb +102 -0
- data/spec/models/vmm_v40_ahv_config_gpu_vendor_spec.rb +30 -0
- data/spec/models/vmm_v40_ahv_config_guest_customization_params_config_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_config_guest_customization_params_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_guest_power_options_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_guest_power_state_transition_config_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_guest_tools_insert_config_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_guest_tools_install_config_spec.rb +48 -0
- data/spec/models/vmm_v40_ahv_config_guest_tools_spec.rb +90 -0
- data/spec/models/vmm_v40_ahv_config_guest_tools_upgrade_config_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_host_reference_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_image_reference_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_insert_cd_rom_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_insert_vm_guest_tools_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_install_type_spec.rb +30 -0
- data/spec/models/vmm_v40_ahv_config_install_vm_guest_tools_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_ipv4_config_spec.rb +48 -0
- data/spec/models/vmm_v40_ahv_config_ipv4_info_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_iso_type_spec.rb +30 -0
- data/spec/models/vmm_v40_ahv_config_legacy_boot_boot_device_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_config_legacy_boot_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_list_cd_roms_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_config_list_cd_roms_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_list_disks_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_config_list_disks_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_list_gpus_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_config_list_gpus_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_list_nics_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_config_list_nics_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_list_pcie_devices_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_config_list_pcie_devices_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_list_serial_ports_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_config_list_serial_ports_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_list_vms_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_config_list_vms_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_machine_type_spec.rb +30 -0
- data/spec/models/vmm_v40_ahv_config_migrate_disk_reference_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_migrate_nic_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_migrate_nic_config_spec.rb +48 -0
- data/spec/models/vmm_v40_ahv_config_migrate_nic_type_spec.rb +30 -0
- data/spec/models/vmm_v40_ahv_config_migrate_vm_disks_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_migrate_vm_to_host_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_migration_plans_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_network_function_chain_reference_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_network_function_nic_type_spec.rb +30 -0
- data/spec/models/vmm_v40_ahv_config_ngt_capability_spec.rb +30 -0
- data/spec/models/vmm_v40_ahv_config_nic_network_info_spec.rb +84 -0
- data/spec/models/vmm_v40_ahv_config_nic_spec.rb +60 -0
- data/spec/models/vmm_v40_ahv_config_nic_type_spec.rb +30 -0
- data/spec/models/vmm_v40_ahv_config_nvram_device_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_owner_reference_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_ownership_info_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_pcie_device_all_of_backing_info_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_pcie_device_info_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_pcie_device_reference_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_pcie_device_spec.rb +60 -0
- data/spec/models/vmm_v40_ahv_config_policy_reference_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_power_cycle_vm_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_power_off_vm_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_power_on_vm_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_power_state_spec.rb +30 -0
- data/spec/models/vmm_v40_ahv_config_protection_policy_state_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_protection_type_spec.rb +30 -0
- data/spec/models/vmm_v40_ahv_config_qos_config_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_reboot_preference_schedule_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_reboot_preference_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_reboot_vm_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_release_ip_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_reset_vm_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_revert_params_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_revert_vm_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_sbdf_spec.rb +54 -0
- data/spec/models/vmm_v40_ahv_config_schedule_type_spec.rb +30 -0
- data/spec/models/vmm_v40_ahv_config_serial_port_spec.rb +60 -0
- data/spec/models/vmm_v40_ahv_config_shutdown_vm_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_subnet_reference_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_sysprep_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_sysprep_sysprep_script_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_config_uefi_boot_boot_device_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_config_uefi_boot_spec.rb +54 -0
- data/spec/models/vmm_v40_ahv_config_unattendxml_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_uninstall_vm_guest_tools_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_update_disk_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_update_guest_tools_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_update_nic_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_update_serial_port_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_update_vm_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_upgrade_vm_guest_tools_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_userdata_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_vlan_mode_spec.rb +30 -0
- data/spec/models/vmm_v40_ahv_config_vm_all_of_boot_config_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_vm_cross_cluster_migrate_overrides_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_vm_cross_cluster_migrate_params_spec.rb +54 -0
- data/spec/models/vmm_v40_ahv_config_vm_disk_container_reference_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_vm_disk_reference_spec.rb +48 -0
- data/spec/models/vmm_v40_ahv_config_vm_disk_spec.rb +66 -0
- data/spec/models/vmm_v40_ahv_config_vm_disk_storage_config_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_vm_migrate_to_host_params_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_vm_recovery_point_spec.rb +90 -0
- data/spec/models/vmm_v40_ahv_config_vm_reference_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_config_vm_source_reference_entity_type_spec.rb +30 -0
- data/spec/models/vmm_v40_ahv_config_vm_source_reference_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_config_vm_spec.rb +324 -0
- data/spec/models/vmm_v40_ahv_config_vtpm_config_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_policies_category_reference_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_policies_cluster_reference_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_policies_conflicting_legacy_vm_anti_affinity_policy_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_policies_conflicting_vm_anti_affinity_policy_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_policies_conflicting_vm_host_affinity_policy_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_policies_create_vm_anti_affinity_policy_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_policies_create_vm_host_affinity_policy_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_policies_delete_legacy_vm_anti_affinity_policy_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_policies_delete_vm_anti_affinity_policy_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_policies_delete_vm_host_affinity_policy_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_policies_get_vm_anti_affinity_policy_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_policies_get_vm_anti_affinity_policy_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_policies_get_vm_host_affinity_policy_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_policies_get_vm_host_affinity_policy_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_policies_host_reference_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_policies_legacy_vm_anti_affinity_policy_spec.rb +66 -0
- data/spec/models/vmm_v40_ahv_policies_list_legacy_vm_anti_affinity_policies_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_policies_list_legacy_vm_anti_affinity_policies_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_policies_list_vm_anti_affinity_policies_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_policies_list_vm_anti_affinity_policies_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_policies_list_vm_anti_affinity_policy_vm_compliance_states_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_policies_list_vm_anti_affinity_policy_vm_compliance_states_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_policies_list_vm_host_affinity_policies_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_policies_list_vm_host_affinity_policies_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_policies_list_vm_host_affinity_policy_vm_compliance_states_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_policies_list_vm_host_affinity_policy_vm_compliance_states_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_policies_non_compliant_vm_anti_affinity_policy_non_compliance_reason_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_policies_non_compliant_vm_anti_affinity_policy_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_policies_non_compliant_vm_host_affinity_policy_non_compliance_reason_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_policies_non_compliant_vm_host_affinity_policy_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_policies_pe_not_capable_for_vm_host_affinity_policy_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_policies_re_enforce_vm_host_affinity_policy_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_policies_update_vm_anti_affinity_policy_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_policies_update_vm_host_affinity_policy_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_policies_user_reference_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_policies_vm_anti_affinity_policy_spec.rb +108 -0
- data/spec/models/vmm_v40_ahv_policies_vm_anti_affinity_policy_vm_compliance_state_all_of_compliance_status_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_policies_vm_anti_affinity_policy_vm_compliance_state_spec.rb +72 -0
- data/spec/models/vmm_v40_ahv_policies_vm_host_affinity_policy_spec.rb +120 -0
- data/spec/models/vmm_v40_ahv_policies_vm_host_affinity_policy_vm_compliance_state_all_of_compliance_status_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_policies_vm_host_affinity_policy_vm_compliance_state_spec.rb +72 -0
- data/spec/models/vmm_v40_ahv_policies_vm_reference_spec.rb +36 -0
- data/spec/models/vmm_v40_ahv_stats_get_disk_stats_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_stats_get_disk_stats_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_stats_get_nic_stats_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_stats_get_nic_stats_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_stats_get_vm_stats_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_stats_get_vm_stats_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_stats_list_vm_stats_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_ahv_stats_list_vm_stats_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_ahv_stats_vm_disk_stats_spec.rb +60 -0
- data/spec/models/vmm_v40_ahv_stats_vm_disk_stats_tuple_spec.rb +198 -0
- data/spec/models/vmm_v40_ahv_stats_vm_nic_stats_spec.rb +60 -0
- data/spec/models/vmm_v40_ahv_stats_vm_nic_stats_tuple_spec.rb +48 -0
- data/spec/models/vmm_v40_ahv_stats_vm_stats_spec.rb +54 -0
- data/spec/models/vmm_v40_ahv_stats_vm_stats_tuple_spec.rb +534 -0
- data/spec/models/vmm_v40_content_cancel_guest_update_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_content_complete_guest_update_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_content_complete_guest_update_spec_spec.rb +48 -0
- data/spec/models/vmm_v40_content_compliance_status_spec.rb +30 -0
- data/spec/models/vmm_v40_content_create_image_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_content_create_image_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_content_create_template_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_content_delete_image_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_content_delete_template_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_content_delete_template_version_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_content_deploy_template_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_content_enforcement_mode_spec.rb +30 -0
- data/spec/models/vmm_v40_content_get_image_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_content_get_image_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_content_get_image_file_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_content_get_image_file_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_content_get_template_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_content_get_template_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_content_get_template_version_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_content_get_template_version_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_content_guest_update_status_spec.rb +36 -0
- data/spec/models/vmm_v40_content_image_import_config_spec.rb +42 -0
- data/spec/models/vmm_v40_content_image_placement_status_spec.rb +66 -0
- data/spec/models/vmm_v40_content_image_sha1_checksum_spec.rb +36 -0
- data/spec/models/vmm_v40_content_image_sha256_checksum_spec.rb +36 -0
- data/spec/models/vmm_v40_content_image_spec.rb +120 -0
- data/spec/models/vmm_v40_content_image_type_spec.rb +30 -0
- data/spec/models/vmm_v40_content_import_image_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_content_initiate_guest_update_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_content_initiate_guest_update_spec_spec.rb +36 -0
- data/spec/models/vmm_v40_content_list_images_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_content_list_images_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_content_list_template_versions_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_content_list_template_versions_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_content_list_templates_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_content_list_templates_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_content_objects_lite_source_spec.rb +36 -0
- data/spec/models/vmm_v40_content_publish_template_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_content_template_deployment_spec.rb +54 -0
- data/spec/models/vmm_v40_content_template_publish_spec_spec.rb +36 -0
- data/spec/models/vmm_v40_content_template_spec.rb +96 -0
- data/spec/models/vmm_v40_content_template_user_spec.rb +180 -0
- data/spec/models/vmm_v40_content_template_version_reference_spec.rb +42 -0
- data/spec/models/vmm_v40_content_template_version_spec_spec.rb +102 -0
- data/spec/models/vmm_v40_content_template_vm_reference_spec.rb +42 -0
- data/spec/models/vmm_v40_content_update_image_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_content_update_template_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_content_url_basic_auth_spec.rb +42 -0
- data/spec/models/vmm_v40_content_url_source_spec.rb +48 -0
- data/spec/models/vmm_v40_content_vm_config_override_spec.rb +72 -0
- data/spec/models/vmm_v40_content_vm_disk_source_spec.rb +36 -0
- data/spec/models/vmm_v40_error_app_message_spec.rb +66 -0
- data/spec/models/vmm_v40_error_error_response_error_spec.rb +32 -0
- data/spec/models/vmm_v40_error_error_response_spec.rb +36 -0
- data/spec/models/vmm_v40_error_message_severity_spec.rb +30 -0
- data/spec/models/vmm_v40_error_schema_validation_error_message_spec.rb +48 -0
- data/spec/models/vmm_v40_error_schema_validation_error_spec.rb +60 -0
- data/spec/models/vmm_v40_esxi_config_adapter_type_spec.rb +30 -0
- data/spec/models/vmm_v40_esxi_config_assign_vm_owner_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_esxi_config_associate_categories_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_esxi_config_associate_vm_categories_params_spec.rb +36 -0
- data/spec/models/vmm_v40_esxi_config_category_reference_spec.rb +36 -0
- data/spec/models/vmm_v40_esxi_config_cd_rom_address_spec.rb +42 -0
- data/spec/models/vmm_v40_esxi_config_cd_rom_backing_info_spec.rb +42 -0
- data/spec/models/vmm_v40_esxi_config_cd_rom_bus_type_spec.rb +30 -0
- data/spec/models/vmm_v40_esxi_config_cd_rom_spec.rb +60 -0
- data/spec/models/vmm_v40_esxi_config_cluster_reference_spec.rb +36 -0
- data/spec/models/vmm_v40_esxi_config_disassociate_categories_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_esxi_config_disassociate_vm_categories_params_spec.rb +36 -0
- data/spec/models/vmm_v40_esxi_config_disk_address_spec.rb +42 -0
- data/spec/models/vmm_v40_esxi_config_disk_bus_type_spec.rb +30 -0
- data/spec/models/vmm_v40_esxi_config_disk_spec.rb +60 -0
- data/spec/models/vmm_v40_esxi_config_get_nutanix_guest_tools_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_esxi_config_get_nutanix_guest_tools_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_esxi_config_get_vm_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_esxi_config_get_vm_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_esxi_config_host_reference_spec.rb +36 -0
- data/spec/models/vmm_v40_esxi_config_insert_nutanix_guest_tools_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_esxi_config_install_nutanix_guest_tools_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_esxi_config_ip_address_info_spec.rb +42 -0
- data/spec/models/vmm_v40_esxi_config_list_vms_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_esxi_config_list_vms_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_esxi_config_nic_backing_info_spec.rb +48 -0
- data/spec/models/vmm_v40_esxi_config_nic_network_info_spec.rb +42 -0
- data/spec/models/vmm_v40_esxi_config_nic_spec.rb +60 -0
- data/spec/models/vmm_v40_esxi_config_nutanix_credential_spec.rb +42 -0
- data/spec/models/vmm_v40_esxi_config_nutanix_guest_tools_capability_spec.rb +30 -0
- data/spec/models/vmm_v40_esxi_config_nutanix_guest_tools_insert_config_spec.rb +36 -0
- data/spec/models/vmm_v40_esxi_config_nutanix_guest_tools_install_config_spec.rb +48 -0
- data/spec/models/vmm_v40_esxi_config_nutanix_guest_tools_spec.rb +90 -0
- data/spec/models/vmm_v40_esxi_config_nutanix_guest_tools_upgrade_config_spec.rb +36 -0
- data/spec/models/vmm_v40_esxi_config_nutanix_reboot_preference_schedule_spec.rb +36 -0
- data/spec/models/vmm_v40_esxi_config_nutanix_reboot_preference_spec.rb +42 -0
- data/spec/models/vmm_v40_esxi_config_nutanix_schedule_type_spec.rb +30 -0
- data/spec/models/vmm_v40_esxi_config_owner_reference_entity_type_spec.rb +30 -0
- data/spec/models/vmm_v40_esxi_config_owner_reference_spec.rb +42 -0
- data/spec/models/vmm_v40_esxi_config_ownership_info_spec.rb +36 -0
- data/spec/models/vmm_v40_esxi_config_port_group_info_spec.rb +36 -0
- data/spec/models/vmm_v40_esxi_config_power_off_vm_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_esxi_config_power_on_vm_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_esxi_config_power_state_spec.rb +30 -0
- data/spec/models/vmm_v40_esxi_config_reboot_guest_os_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_esxi_config_reset_vm_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_esxi_config_revert_params_spec.rb +36 -0
- data/spec/models/vmm_v40_esxi_config_revert_vm_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_esxi_config_shutdown_vm_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_esxi_config_suspend_vm_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_esxi_config_uninstall_nutanix_guest_tools_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_esxi_config_update_nutanix_guest_tools_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_esxi_config_upgrade_nutanix_guest_tools_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_esxi_config_vm_disk_container_reference_spec.rb +36 -0
- data/spec/models/vmm_v40_esxi_config_vm_disk_spec.rb +48 -0
- data/spec/models/vmm_v40_esxi_config_vm_disk_storage_config_spec.rb +36 -0
- data/spec/models/vmm_v40_esxi_config_vm_spec.rb +144 -0
- data/spec/models/vmm_v40_esxi_stats_get_disk_stats_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_esxi_stats_get_disk_stats_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_esxi_stats_get_nic_stats_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_esxi_stats_get_nic_stats_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_esxi_stats_get_vm_stats_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_esxi_stats_get_vm_stats_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_esxi_stats_list_vm_stats_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_esxi_stats_list_vm_stats_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_esxi_stats_vm_disk_stats_spec.rb +60 -0
- data/spec/models/vmm_v40_esxi_stats_vm_disk_stats_tuple_spec.rb +186 -0
- data/spec/models/vmm_v40_esxi_stats_vm_nic_stats_spec.rb +60 -0
- data/spec/models/vmm_v40_esxi_stats_vm_nic_stats_tuple_spec.rb +48 -0
- data/spec/models/vmm_v40_esxi_stats_vm_stats_spec.rb +54 -0
- data/spec/models/vmm_v40_esxi_stats_vm_stats_tuple_spec.rb +354 -0
- data/spec/models/vmm_v40_images_config_create_placement_policy_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_images_config_create_rate_limit_policy_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_images_config_delete_placement_policy_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_images_config_delete_rate_limit_policy_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_images_config_effective_rate_limit_policy_spec.rb +60 -0
- data/spec/models/vmm_v40_images_config_enforcement_state_spec.rb +30 -0
- data/spec/models/vmm_v40_images_config_filter_match_type_spec.rb +30 -0
- data/spec/models/vmm_v40_images_config_filter_spec.rb +42 -0
- data/spec/models/vmm_v40_images_config_get_placement_policy_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_images_config_get_placement_policy_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_images_config_get_rate_limit_policy_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_images_config_get_rate_limit_policy_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_images_config_list_effective_rate_limit_policies_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_images_config_list_effective_rate_limit_policies_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_images_config_list_placement_policies_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_images_config_list_placement_policies_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_images_config_list_rate_limit_policies_api_response_data_spec.rb +32 -0
- data/spec/models/vmm_v40_images_config_list_rate_limit_policies_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_images_config_placement_policy_spec.rb +102 -0
- data/spec/models/vmm_v40_images_config_placement_type_spec.rb +30 -0
- data/spec/models/vmm_v40_images_config_rate_limit_policy_spec.rb +96 -0
- data/spec/models/vmm_v40_images_config_resume_placement_policy_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_images_config_suspend_placement_policy_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_images_config_suspend_placement_policy_config_spec.rb +36 -0
- data/spec/models/vmm_v40_images_config_update_placement_policy_api_response_spec.rb +42 -0
- data/spec/models/vmm_v40_images_config_update_rate_limit_policy_api_response_spec.rb +42 -0
- data/spec/spec_helper.rb +111 -0
- data/swagger-vmm-v4.0-all.yaml +41585 -0
- metadata +2847 -0
@@ -0,0 +1,1539 @@
|
|
1
|
+
=begin
|
2
|
+
#Nutanix Virtual Machine Management APIs
|
3
|
+
|
4
|
+
#Manage the life-cycle of virtual machines hosted on Nutanix
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 4.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.9.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'cgi'
|
14
|
+
|
15
|
+
module NutanixVmm
|
16
|
+
class EsxiVmApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
# Assign owner of a VM
|
23
|
+
# Assign the owner of a virtual machine.
|
24
|
+
# @param ext_id [String] The globally unique identifier of an instance of type UUID.
|
25
|
+
# @param ntnx_request_id [String] A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
|
26
|
+
# @param vmm_v40_esxi_config_ownership_info [VmmV40EsxiConfigOwnershipInfo]
|
27
|
+
# @param [Hash] opts the optional parameters
|
28
|
+
# @return [AssignVmOwner202Response]
|
29
|
+
def assign_vm_owner(ext_id, ntnx_request_id, vmm_v40_esxi_config_ownership_info, opts = {})
|
30
|
+
data, _status_code, _headers = assign_vm_owner_with_http_info(ext_id, ntnx_request_id, vmm_v40_esxi_config_ownership_info, opts)
|
31
|
+
data
|
32
|
+
end
|
33
|
+
|
34
|
+
# Assign owner of a VM
|
35
|
+
# Assign the owner of a virtual machine.
|
36
|
+
# @param ext_id [String] The globally unique identifier of an instance of type UUID.
|
37
|
+
# @param ntnx_request_id [String] A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
|
38
|
+
# @param vmm_v40_esxi_config_ownership_info [VmmV40EsxiConfigOwnershipInfo]
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [Array<(AssignVmOwner202Response, Integer, Hash)>] AssignVmOwner202Response data, response status code and response headers
|
41
|
+
def assign_vm_owner_with_http_info(ext_id, ntnx_request_id, vmm_v40_esxi_config_ownership_info, opts = {})
|
42
|
+
if @api_client.config.debugging
|
43
|
+
@api_client.config.logger.debug 'Calling API: EsxiVmApi.assign_vm_owner ...'
|
44
|
+
end
|
45
|
+
# verify the required parameter 'ext_id' is set
|
46
|
+
if @api_client.config.client_side_validation && ext_id.nil?
|
47
|
+
fail ArgumentError, "Missing the required parameter 'ext_id' when calling EsxiVmApi.assign_vm_owner"
|
48
|
+
end
|
49
|
+
pattern = Regexp.new(/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)
|
50
|
+
if @api_client.config.client_side_validation && ext_id !~ pattern
|
51
|
+
fail ArgumentError, "invalid value for 'ext_id' when calling EsxiVmApi.assign_vm_owner, must conform to the pattern #{pattern}."
|
52
|
+
end
|
53
|
+
|
54
|
+
# verify the required parameter 'ntnx_request_id' is set
|
55
|
+
if @api_client.config.client_side_validation && ntnx_request_id.nil?
|
56
|
+
fail ArgumentError, "Missing the required parameter 'ntnx_request_id' when calling EsxiVmApi.assign_vm_owner"
|
57
|
+
end
|
58
|
+
# verify the required parameter 'vmm_v40_esxi_config_ownership_info' is set
|
59
|
+
if @api_client.config.client_side_validation && vmm_v40_esxi_config_ownership_info.nil?
|
60
|
+
fail ArgumentError, "Missing the required parameter 'vmm_v40_esxi_config_ownership_info' when calling EsxiVmApi.assign_vm_owner"
|
61
|
+
end
|
62
|
+
# resource path
|
63
|
+
local_var_path = '/vmm/v4.0/esxi/config/vms/{extId}/$actions/assign-owner'.sub('{' + 'extId' + '}', CGI.escape(ext_id.to_s))
|
64
|
+
|
65
|
+
# query parameters
|
66
|
+
query_params = opts[:query_params] || {}
|
67
|
+
|
68
|
+
# header parameters
|
69
|
+
header_params = opts[:header_params] || {}
|
70
|
+
# HTTP header 'Accept' (if needed)
|
71
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
72
|
+
# HTTP header 'Content-Type'
|
73
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
74
|
+
if !content_type.nil?
|
75
|
+
header_params['Content-Type'] = content_type
|
76
|
+
end
|
77
|
+
header_params[:'NTNX-Request-Id'] = ntnx_request_id
|
78
|
+
|
79
|
+
# form parameters
|
80
|
+
form_params = opts[:form_params] || {}
|
81
|
+
|
82
|
+
# http body (model)
|
83
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(vmm_v40_esxi_config_ownership_info)
|
84
|
+
|
85
|
+
# return_type
|
86
|
+
return_type = opts[:debug_return_type] || 'AssignVmOwner202Response'
|
87
|
+
|
88
|
+
# auth_names
|
89
|
+
auth_names = opts[:debug_auth_names] || ['apiKeyAuthScheme', 'basicAuthScheme']
|
90
|
+
|
91
|
+
new_options = opts.merge(
|
92
|
+
:operation => :"EsxiVmApi.assign_vm_owner",
|
93
|
+
:header_params => header_params,
|
94
|
+
:query_params => query_params,
|
95
|
+
:form_params => form_params,
|
96
|
+
:body => post_body,
|
97
|
+
:auth_names => auth_names,
|
98
|
+
:return_type => return_type
|
99
|
+
)
|
100
|
+
|
101
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
102
|
+
if @api_client.config.debugging
|
103
|
+
@api_client.config.logger.debug "API called: EsxiVmApi#assign_vm_owner\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
104
|
+
end
|
105
|
+
return data, status_code, headers
|
106
|
+
end
|
107
|
+
|
108
|
+
# Associate categories to a VM
|
109
|
+
# Associate categories to a virtual machine.
|
110
|
+
# @param ext_id [String] The globally unique identifier of an instance of type UUID.
|
111
|
+
# @param ntnx_request_id [String] A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
|
112
|
+
# @param vmm_v40_esxi_config_associate_vm_categories_params [VmmV40EsxiConfigAssociateVmCategoriesParams]
|
113
|
+
# @param [Hash] opts the optional parameters
|
114
|
+
# @return [AssociateCategories202Response]
|
115
|
+
def associate_categories(ext_id, ntnx_request_id, vmm_v40_esxi_config_associate_vm_categories_params, opts = {})
|
116
|
+
data, _status_code, _headers = associate_categories_with_http_info(ext_id, ntnx_request_id, vmm_v40_esxi_config_associate_vm_categories_params, opts)
|
117
|
+
data
|
118
|
+
end
|
119
|
+
|
120
|
+
# Associate categories to a VM
|
121
|
+
# Associate categories to a virtual machine.
|
122
|
+
# @param ext_id [String] The globally unique identifier of an instance of type UUID.
|
123
|
+
# @param ntnx_request_id [String] A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
|
124
|
+
# @param vmm_v40_esxi_config_associate_vm_categories_params [VmmV40EsxiConfigAssociateVmCategoriesParams]
|
125
|
+
# @param [Hash] opts the optional parameters
|
126
|
+
# @return [Array<(AssociateCategories202Response, Integer, Hash)>] AssociateCategories202Response data, response status code and response headers
|
127
|
+
def associate_categories_with_http_info(ext_id, ntnx_request_id, vmm_v40_esxi_config_associate_vm_categories_params, opts = {})
|
128
|
+
if @api_client.config.debugging
|
129
|
+
@api_client.config.logger.debug 'Calling API: EsxiVmApi.associate_categories ...'
|
130
|
+
end
|
131
|
+
# verify the required parameter 'ext_id' is set
|
132
|
+
if @api_client.config.client_side_validation && ext_id.nil?
|
133
|
+
fail ArgumentError, "Missing the required parameter 'ext_id' when calling EsxiVmApi.associate_categories"
|
134
|
+
end
|
135
|
+
pattern = Regexp.new(/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)
|
136
|
+
if @api_client.config.client_side_validation && ext_id !~ pattern
|
137
|
+
fail ArgumentError, "invalid value for 'ext_id' when calling EsxiVmApi.associate_categories, must conform to the pattern #{pattern}."
|
138
|
+
end
|
139
|
+
|
140
|
+
# verify the required parameter 'ntnx_request_id' is set
|
141
|
+
if @api_client.config.client_side_validation && ntnx_request_id.nil?
|
142
|
+
fail ArgumentError, "Missing the required parameter 'ntnx_request_id' when calling EsxiVmApi.associate_categories"
|
143
|
+
end
|
144
|
+
# verify the required parameter 'vmm_v40_esxi_config_associate_vm_categories_params' is set
|
145
|
+
if @api_client.config.client_side_validation && vmm_v40_esxi_config_associate_vm_categories_params.nil?
|
146
|
+
fail ArgumentError, "Missing the required parameter 'vmm_v40_esxi_config_associate_vm_categories_params' when calling EsxiVmApi.associate_categories"
|
147
|
+
end
|
148
|
+
# resource path
|
149
|
+
local_var_path = '/vmm/v4.0/esxi/config/vms/{extId}/$actions/associate-categories'.sub('{' + 'extId' + '}', CGI.escape(ext_id.to_s))
|
150
|
+
|
151
|
+
# query parameters
|
152
|
+
query_params = opts[:query_params] || {}
|
153
|
+
|
154
|
+
# header parameters
|
155
|
+
header_params = opts[:header_params] || {}
|
156
|
+
# HTTP header 'Accept' (if needed)
|
157
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
158
|
+
# HTTP header 'Content-Type'
|
159
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
160
|
+
if !content_type.nil?
|
161
|
+
header_params['Content-Type'] = content_type
|
162
|
+
end
|
163
|
+
header_params[:'NTNX-Request-Id'] = ntnx_request_id
|
164
|
+
|
165
|
+
# form parameters
|
166
|
+
form_params = opts[:form_params] || {}
|
167
|
+
|
168
|
+
# http body (model)
|
169
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(vmm_v40_esxi_config_associate_vm_categories_params)
|
170
|
+
|
171
|
+
# return_type
|
172
|
+
return_type = opts[:debug_return_type] || 'AssociateCategories202Response'
|
173
|
+
|
174
|
+
# auth_names
|
175
|
+
auth_names = opts[:debug_auth_names] || ['apiKeyAuthScheme', 'basicAuthScheme']
|
176
|
+
|
177
|
+
new_options = opts.merge(
|
178
|
+
:operation => :"EsxiVmApi.associate_categories",
|
179
|
+
:header_params => header_params,
|
180
|
+
:query_params => query_params,
|
181
|
+
:form_params => form_params,
|
182
|
+
:body => post_body,
|
183
|
+
:auth_names => auth_names,
|
184
|
+
:return_type => return_type
|
185
|
+
)
|
186
|
+
|
187
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
188
|
+
if @api_client.config.debugging
|
189
|
+
@api_client.config.logger.debug "API called: EsxiVmApi#associate_categories\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
190
|
+
end
|
191
|
+
return data, status_code, headers
|
192
|
+
end
|
193
|
+
|
194
|
+
# Disassociate categories from a VM
|
195
|
+
# Disassociate categories from a virtual machine.
|
196
|
+
# @param ext_id [String] The globally unique identifier of an instance of type UUID.
|
197
|
+
# @param ntnx_request_id [String] A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
|
198
|
+
# @param vmm_v40_esxi_config_disassociate_vm_categories_params [VmmV40EsxiConfigDisassociateVmCategoriesParams]
|
199
|
+
# @param [Hash] opts the optional parameters
|
200
|
+
# @return [DisassociateCategories202Response]
|
201
|
+
def disassociate_categories(ext_id, ntnx_request_id, vmm_v40_esxi_config_disassociate_vm_categories_params, opts = {})
|
202
|
+
data, _status_code, _headers = disassociate_categories_with_http_info(ext_id, ntnx_request_id, vmm_v40_esxi_config_disassociate_vm_categories_params, opts)
|
203
|
+
data
|
204
|
+
end
|
205
|
+
|
206
|
+
# Disassociate categories from a VM
|
207
|
+
# Disassociate categories from a virtual machine.
|
208
|
+
# @param ext_id [String] The globally unique identifier of an instance of type UUID.
|
209
|
+
# @param ntnx_request_id [String] A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
|
210
|
+
# @param vmm_v40_esxi_config_disassociate_vm_categories_params [VmmV40EsxiConfigDisassociateVmCategoriesParams]
|
211
|
+
# @param [Hash] opts the optional parameters
|
212
|
+
# @return [Array<(DisassociateCategories202Response, Integer, Hash)>] DisassociateCategories202Response data, response status code and response headers
|
213
|
+
def disassociate_categories_with_http_info(ext_id, ntnx_request_id, vmm_v40_esxi_config_disassociate_vm_categories_params, opts = {})
|
214
|
+
if @api_client.config.debugging
|
215
|
+
@api_client.config.logger.debug 'Calling API: EsxiVmApi.disassociate_categories ...'
|
216
|
+
end
|
217
|
+
# verify the required parameter 'ext_id' is set
|
218
|
+
if @api_client.config.client_side_validation && ext_id.nil?
|
219
|
+
fail ArgumentError, "Missing the required parameter 'ext_id' when calling EsxiVmApi.disassociate_categories"
|
220
|
+
end
|
221
|
+
pattern = Regexp.new(/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)
|
222
|
+
if @api_client.config.client_side_validation && ext_id !~ pattern
|
223
|
+
fail ArgumentError, "invalid value for 'ext_id' when calling EsxiVmApi.disassociate_categories, must conform to the pattern #{pattern}."
|
224
|
+
end
|
225
|
+
|
226
|
+
# verify the required parameter 'ntnx_request_id' is set
|
227
|
+
if @api_client.config.client_side_validation && ntnx_request_id.nil?
|
228
|
+
fail ArgumentError, "Missing the required parameter 'ntnx_request_id' when calling EsxiVmApi.disassociate_categories"
|
229
|
+
end
|
230
|
+
# verify the required parameter 'vmm_v40_esxi_config_disassociate_vm_categories_params' is set
|
231
|
+
if @api_client.config.client_side_validation && vmm_v40_esxi_config_disassociate_vm_categories_params.nil?
|
232
|
+
fail ArgumentError, "Missing the required parameter 'vmm_v40_esxi_config_disassociate_vm_categories_params' when calling EsxiVmApi.disassociate_categories"
|
233
|
+
end
|
234
|
+
# resource path
|
235
|
+
local_var_path = '/vmm/v4.0/esxi/config/vms/{extId}/$actions/disassociate-categories'.sub('{' + 'extId' + '}', CGI.escape(ext_id.to_s))
|
236
|
+
|
237
|
+
# query parameters
|
238
|
+
query_params = opts[:query_params] || {}
|
239
|
+
|
240
|
+
# header parameters
|
241
|
+
header_params = opts[:header_params] || {}
|
242
|
+
# HTTP header 'Accept' (if needed)
|
243
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
244
|
+
# HTTP header 'Content-Type'
|
245
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
246
|
+
if !content_type.nil?
|
247
|
+
header_params['Content-Type'] = content_type
|
248
|
+
end
|
249
|
+
header_params[:'NTNX-Request-Id'] = ntnx_request_id
|
250
|
+
|
251
|
+
# form parameters
|
252
|
+
form_params = opts[:form_params] || {}
|
253
|
+
|
254
|
+
# http body (model)
|
255
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(vmm_v40_esxi_config_disassociate_vm_categories_params)
|
256
|
+
|
257
|
+
# return_type
|
258
|
+
return_type = opts[:debug_return_type] || 'DisassociateCategories202Response'
|
259
|
+
|
260
|
+
# auth_names
|
261
|
+
auth_names = opts[:debug_auth_names] || ['apiKeyAuthScheme', 'basicAuthScheme']
|
262
|
+
|
263
|
+
new_options = opts.merge(
|
264
|
+
:operation => :"EsxiVmApi.disassociate_categories",
|
265
|
+
:header_params => header_params,
|
266
|
+
:query_params => query_params,
|
267
|
+
:form_params => form_params,
|
268
|
+
:body => post_body,
|
269
|
+
:auth_names => auth_names,
|
270
|
+
:return_type => return_type
|
271
|
+
)
|
272
|
+
|
273
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
274
|
+
if @api_client.config.debugging
|
275
|
+
@api_client.config.logger.debug "API called: EsxiVmApi#disassociate_categories\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
276
|
+
end
|
277
|
+
return data, status_code, headers
|
278
|
+
end
|
279
|
+
|
280
|
+
# Get VM NGT configuration
|
281
|
+
# Retrieves the Nutanix Guest Tools configuration for a virtual machine.
|
282
|
+
# @param ext_id [String] A globally unique identifier of a VM of type UUID.
|
283
|
+
# @param [Hash] opts the optional parameters
|
284
|
+
# @return [GetNutanixGuestToolsById200Response]
|
285
|
+
def get_nutanix_guest_tools_by_id(ext_id, opts = {})
|
286
|
+
data, _status_code, _headers = get_nutanix_guest_tools_by_id_with_http_info(ext_id, opts)
|
287
|
+
data
|
288
|
+
end
|
289
|
+
|
290
|
+
# Get VM NGT configuration
|
291
|
+
# Retrieves the Nutanix Guest Tools configuration for a virtual machine.
|
292
|
+
# @param ext_id [String] A globally unique identifier of a VM of type UUID.
|
293
|
+
# @param [Hash] opts the optional parameters
|
294
|
+
# @return [Array<(GetNutanixGuestToolsById200Response, Integer, Hash)>] GetNutanixGuestToolsById200Response data, response status code and response headers
|
295
|
+
def get_nutanix_guest_tools_by_id_with_http_info(ext_id, opts = {})
|
296
|
+
if @api_client.config.debugging
|
297
|
+
@api_client.config.logger.debug 'Calling API: EsxiVmApi.get_nutanix_guest_tools_by_id ...'
|
298
|
+
end
|
299
|
+
# verify the required parameter 'ext_id' is set
|
300
|
+
if @api_client.config.client_side_validation && ext_id.nil?
|
301
|
+
fail ArgumentError, "Missing the required parameter 'ext_id' when calling EsxiVmApi.get_nutanix_guest_tools_by_id"
|
302
|
+
end
|
303
|
+
pattern = Regexp.new(/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)
|
304
|
+
if @api_client.config.client_side_validation && ext_id !~ pattern
|
305
|
+
fail ArgumentError, "invalid value for 'ext_id' when calling EsxiVmApi.get_nutanix_guest_tools_by_id, must conform to the pattern #{pattern}."
|
306
|
+
end
|
307
|
+
|
308
|
+
# resource path
|
309
|
+
local_var_path = '/vmm/v4.0/esxi/config/vms/{extId}/nutanix-guest-tools'.sub('{' + 'extId' + '}', CGI.escape(ext_id.to_s))
|
310
|
+
|
311
|
+
# query parameters
|
312
|
+
query_params = opts[:query_params] || {}
|
313
|
+
|
314
|
+
# header parameters
|
315
|
+
header_params = opts[:header_params] || {}
|
316
|
+
# HTTP header 'Accept' (if needed)
|
317
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
318
|
+
|
319
|
+
# form parameters
|
320
|
+
form_params = opts[:form_params] || {}
|
321
|
+
|
322
|
+
# http body (model)
|
323
|
+
post_body = opts[:debug_body]
|
324
|
+
|
325
|
+
# return_type
|
326
|
+
return_type = opts[:debug_return_type] || 'GetNutanixGuestToolsById200Response'
|
327
|
+
|
328
|
+
# auth_names
|
329
|
+
auth_names = opts[:debug_auth_names] || ['apiKeyAuthScheme', 'basicAuthScheme']
|
330
|
+
|
331
|
+
new_options = opts.merge(
|
332
|
+
:operation => :"EsxiVmApi.get_nutanix_guest_tools_by_id",
|
333
|
+
:header_params => header_params,
|
334
|
+
:query_params => query_params,
|
335
|
+
:form_params => form_params,
|
336
|
+
:body => post_body,
|
337
|
+
:auth_names => auth_names,
|
338
|
+
:return_type => return_type
|
339
|
+
)
|
340
|
+
|
341
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
342
|
+
if @api_client.config.debugging
|
343
|
+
@api_client.config.logger.debug "API called: EsxiVmApi#get_nutanix_guest_tools_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
344
|
+
end
|
345
|
+
return data, status_code, headers
|
346
|
+
end
|
347
|
+
|
348
|
+
# Get VM configuration details
|
349
|
+
# Retrieves configuration details for a virtual machine.
|
350
|
+
# @param ext_id [String] The globally unique identifier of an instance of type UUID.
|
351
|
+
# @param [Hash] opts the optional parameters
|
352
|
+
# @return [GetVmById200Response]
|
353
|
+
def get_vm_by_id(ext_id, opts = {})
|
354
|
+
data, _status_code, _headers = get_vm_by_id_with_http_info(ext_id, opts)
|
355
|
+
data
|
356
|
+
end
|
357
|
+
|
358
|
+
# Get VM configuration details
|
359
|
+
# Retrieves configuration details for a virtual machine.
|
360
|
+
# @param ext_id [String] The globally unique identifier of an instance of type UUID.
|
361
|
+
# @param [Hash] opts the optional parameters
|
362
|
+
# @return [Array<(GetVmById200Response, Integer, Hash)>] GetVmById200Response data, response status code and response headers
|
363
|
+
def get_vm_by_id_with_http_info(ext_id, opts = {})
|
364
|
+
if @api_client.config.debugging
|
365
|
+
@api_client.config.logger.debug 'Calling API: EsxiVmApi.get_vm_by_id ...'
|
366
|
+
end
|
367
|
+
# verify the required parameter 'ext_id' is set
|
368
|
+
if @api_client.config.client_side_validation && ext_id.nil?
|
369
|
+
fail ArgumentError, "Missing the required parameter 'ext_id' when calling EsxiVmApi.get_vm_by_id"
|
370
|
+
end
|
371
|
+
pattern = Regexp.new(/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)
|
372
|
+
if @api_client.config.client_side_validation && ext_id !~ pattern
|
373
|
+
fail ArgumentError, "invalid value for 'ext_id' when calling EsxiVmApi.get_vm_by_id, must conform to the pattern #{pattern}."
|
374
|
+
end
|
375
|
+
|
376
|
+
# resource path
|
377
|
+
local_var_path = '/vmm/v4.0/esxi/config/vms/{extId}'.sub('{' + 'extId' + '}', CGI.escape(ext_id.to_s))
|
378
|
+
|
379
|
+
# query parameters
|
380
|
+
query_params = opts[:query_params] || {}
|
381
|
+
|
382
|
+
# header parameters
|
383
|
+
header_params = opts[:header_params] || {}
|
384
|
+
# HTTP header 'Accept' (if needed)
|
385
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
386
|
+
|
387
|
+
# form parameters
|
388
|
+
form_params = opts[:form_params] || {}
|
389
|
+
|
390
|
+
# http body (model)
|
391
|
+
post_body = opts[:debug_body]
|
392
|
+
|
393
|
+
# return_type
|
394
|
+
return_type = opts[:debug_return_type] || 'GetVmById200Response'
|
395
|
+
|
396
|
+
# auth_names
|
397
|
+
auth_names = opts[:debug_auth_names] || ['apiKeyAuthScheme', 'basicAuthScheme']
|
398
|
+
|
399
|
+
new_options = opts.merge(
|
400
|
+
:operation => :"EsxiVmApi.get_vm_by_id",
|
401
|
+
:header_params => header_params,
|
402
|
+
:query_params => query_params,
|
403
|
+
:form_params => form_params,
|
404
|
+
:body => post_body,
|
405
|
+
:auth_names => auth_names,
|
406
|
+
:return_type => return_type
|
407
|
+
)
|
408
|
+
|
409
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
410
|
+
if @api_client.config.debugging
|
411
|
+
@api_client.config.logger.debug "API called: EsxiVmApi#get_vm_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
412
|
+
end
|
413
|
+
return data, status_code, headers
|
414
|
+
end
|
415
|
+
|
416
|
+
# Insert NGT ISO into an available CD-ROM for a VM
|
417
|
+
# Inserts the Nutanix Guest Tools installation and configuration ISO into a virtual machine.
|
418
|
+
# @param ext_id [String] A globally unique identifier of a VM of type UUID.
|
419
|
+
# @param if_match [String] The If-Match request header makes the request conditional. When not provided the server will respond with an HTTP 428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP 412 (Precondition Failed) response
|
420
|
+
# @param ntnx_request_id [String] A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
|
421
|
+
# @param vmm_v40_esxi_config_nutanix_guest_tools_insert_config [VmmV40EsxiConfigNutanixGuestToolsInsertConfig]
|
422
|
+
# @param [Hash] opts the optional parameters
|
423
|
+
# @return [InsertNutanixGuestTools202Response]
|
424
|
+
def insert_nutanix_guest_tools(ext_id, if_match, ntnx_request_id, vmm_v40_esxi_config_nutanix_guest_tools_insert_config, opts = {})
|
425
|
+
data, _status_code, _headers = insert_nutanix_guest_tools_with_http_info(ext_id, if_match, ntnx_request_id, vmm_v40_esxi_config_nutanix_guest_tools_insert_config, opts)
|
426
|
+
data
|
427
|
+
end
|
428
|
+
|
429
|
+
# Insert NGT ISO into an available CD-ROM for a VM
|
430
|
+
# Inserts the Nutanix Guest Tools installation and configuration ISO into a virtual machine.
|
431
|
+
# @param ext_id [String] A globally unique identifier of a VM of type UUID.
|
432
|
+
# @param if_match [String] The If-Match request header makes the request conditional. When not provided the server will respond with an HTTP 428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP 412 (Precondition Failed) response
|
433
|
+
# @param ntnx_request_id [String] A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
|
434
|
+
# @param vmm_v40_esxi_config_nutanix_guest_tools_insert_config [VmmV40EsxiConfigNutanixGuestToolsInsertConfig]
|
435
|
+
# @param [Hash] opts the optional parameters
|
436
|
+
# @return [Array<(InsertNutanixGuestTools202Response, Integer, Hash)>] InsertNutanixGuestTools202Response data, response status code and response headers
|
437
|
+
def insert_nutanix_guest_tools_with_http_info(ext_id, if_match, ntnx_request_id, vmm_v40_esxi_config_nutanix_guest_tools_insert_config, opts = {})
|
438
|
+
if @api_client.config.debugging
|
439
|
+
@api_client.config.logger.debug 'Calling API: EsxiVmApi.insert_nutanix_guest_tools ...'
|
440
|
+
end
|
441
|
+
# verify the required parameter 'ext_id' is set
|
442
|
+
if @api_client.config.client_side_validation && ext_id.nil?
|
443
|
+
fail ArgumentError, "Missing the required parameter 'ext_id' when calling EsxiVmApi.insert_nutanix_guest_tools"
|
444
|
+
end
|
445
|
+
pattern = Regexp.new(/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)
|
446
|
+
if @api_client.config.client_side_validation && ext_id !~ pattern
|
447
|
+
fail ArgumentError, "invalid value for 'ext_id' when calling EsxiVmApi.insert_nutanix_guest_tools, must conform to the pattern #{pattern}."
|
448
|
+
end
|
449
|
+
|
450
|
+
# verify the required parameter 'if_match' is set
|
451
|
+
if @api_client.config.client_side_validation && if_match.nil?
|
452
|
+
fail ArgumentError, "Missing the required parameter 'if_match' when calling EsxiVmApi.insert_nutanix_guest_tools"
|
453
|
+
end
|
454
|
+
# verify the required parameter 'ntnx_request_id' is set
|
455
|
+
if @api_client.config.client_side_validation && ntnx_request_id.nil?
|
456
|
+
fail ArgumentError, "Missing the required parameter 'ntnx_request_id' when calling EsxiVmApi.insert_nutanix_guest_tools"
|
457
|
+
end
|
458
|
+
# verify the required parameter 'vmm_v40_esxi_config_nutanix_guest_tools_insert_config' is set
|
459
|
+
if @api_client.config.client_side_validation && vmm_v40_esxi_config_nutanix_guest_tools_insert_config.nil?
|
460
|
+
fail ArgumentError, "Missing the required parameter 'vmm_v40_esxi_config_nutanix_guest_tools_insert_config' when calling EsxiVmApi.insert_nutanix_guest_tools"
|
461
|
+
end
|
462
|
+
# resource path
|
463
|
+
local_var_path = '/vmm/v4.0/esxi/config/vms/{extId}/nutanix-guest-tools/$actions/insert-iso'.sub('{' + 'extId' + '}', CGI.escape(ext_id.to_s))
|
464
|
+
|
465
|
+
# query parameters
|
466
|
+
query_params = opts[:query_params] || {}
|
467
|
+
|
468
|
+
# header parameters
|
469
|
+
header_params = opts[:header_params] || {}
|
470
|
+
# HTTP header 'Accept' (if needed)
|
471
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
472
|
+
# HTTP header 'Content-Type'
|
473
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
474
|
+
if !content_type.nil?
|
475
|
+
header_params['Content-Type'] = content_type
|
476
|
+
end
|
477
|
+
header_params[:'If-Match'] = if_match
|
478
|
+
header_params[:'NTNX-Request-Id'] = ntnx_request_id
|
479
|
+
|
480
|
+
# form parameters
|
481
|
+
form_params = opts[:form_params] || {}
|
482
|
+
|
483
|
+
# http body (model)
|
484
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(vmm_v40_esxi_config_nutanix_guest_tools_insert_config)
|
485
|
+
|
486
|
+
# return_type
|
487
|
+
return_type = opts[:debug_return_type] || 'InsertNutanixGuestTools202Response'
|
488
|
+
|
489
|
+
# auth_names
|
490
|
+
auth_names = opts[:debug_auth_names] || ['apiKeyAuthScheme', 'basicAuthScheme']
|
491
|
+
|
492
|
+
new_options = opts.merge(
|
493
|
+
:operation => :"EsxiVmApi.insert_nutanix_guest_tools",
|
494
|
+
:header_params => header_params,
|
495
|
+
:query_params => query_params,
|
496
|
+
:form_params => form_params,
|
497
|
+
:body => post_body,
|
498
|
+
:auth_names => auth_names,
|
499
|
+
:return_type => return_type
|
500
|
+
)
|
501
|
+
|
502
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
503
|
+
if @api_client.config.debugging
|
504
|
+
@api_client.config.logger.debug "API called: EsxiVmApi#insert_nutanix_guest_tools\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
505
|
+
end
|
506
|
+
return data, status_code, headers
|
507
|
+
end
|
508
|
+
|
509
|
+
# Install NGT in a VM
|
510
|
+
# Installs Nutanix Guest Tools in a Virtual Machine by using the provided credentials.
|
511
|
+
# @param ext_id [String] A globally unique identifier of a VM of type UUID.
|
512
|
+
# @param if_match [String] The If-Match request header makes the request conditional. When not provided the server will respond with an HTTP 428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP 412 (Precondition Failed) response
|
513
|
+
# @param ntnx_request_id [String] A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
|
514
|
+
# @param vmm_v40_esxi_config_nutanix_guest_tools_install_config [VmmV40EsxiConfigNutanixGuestToolsInstallConfig]
|
515
|
+
# @param [Hash] opts the optional parameters
|
516
|
+
# @return [InstallNutanixGuestTools202Response]
|
517
|
+
def install_nutanix_guest_tools(ext_id, if_match, ntnx_request_id, vmm_v40_esxi_config_nutanix_guest_tools_install_config, opts = {})
|
518
|
+
data, _status_code, _headers = install_nutanix_guest_tools_with_http_info(ext_id, if_match, ntnx_request_id, vmm_v40_esxi_config_nutanix_guest_tools_install_config, opts)
|
519
|
+
data
|
520
|
+
end
|
521
|
+
|
522
|
+
# Install NGT in a VM
|
523
|
+
# Installs Nutanix Guest Tools in a Virtual Machine by using the provided credentials.
|
524
|
+
# @param ext_id [String] A globally unique identifier of a VM of type UUID.
|
525
|
+
# @param if_match [String] The If-Match request header makes the request conditional. When not provided the server will respond with an HTTP 428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP 412 (Precondition Failed) response
|
526
|
+
# @param ntnx_request_id [String] A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
|
527
|
+
# @param vmm_v40_esxi_config_nutanix_guest_tools_install_config [VmmV40EsxiConfigNutanixGuestToolsInstallConfig]
|
528
|
+
# @param [Hash] opts the optional parameters
|
529
|
+
# @return [Array<(InstallNutanixGuestTools202Response, Integer, Hash)>] InstallNutanixGuestTools202Response data, response status code and response headers
|
530
|
+
def install_nutanix_guest_tools_with_http_info(ext_id, if_match, ntnx_request_id, vmm_v40_esxi_config_nutanix_guest_tools_install_config, opts = {})
|
531
|
+
if @api_client.config.debugging
|
532
|
+
@api_client.config.logger.debug 'Calling API: EsxiVmApi.install_nutanix_guest_tools ...'
|
533
|
+
end
|
534
|
+
# verify the required parameter 'ext_id' is set
|
535
|
+
if @api_client.config.client_side_validation && ext_id.nil?
|
536
|
+
fail ArgumentError, "Missing the required parameter 'ext_id' when calling EsxiVmApi.install_nutanix_guest_tools"
|
537
|
+
end
|
538
|
+
pattern = Regexp.new(/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)
|
539
|
+
if @api_client.config.client_side_validation && ext_id !~ pattern
|
540
|
+
fail ArgumentError, "invalid value for 'ext_id' when calling EsxiVmApi.install_nutanix_guest_tools, must conform to the pattern #{pattern}."
|
541
|
+
end
|
542
|
+
|
543
|
+
# verify the required parameter 'if_match' is set
|
544
|
+
if @api_client.config.client_side_validation && if_match.nil?
|
545
|
+
fail ArgumentError, "Missing the required parameter 'if_match' when calling EsxiVmApi.install_nutanix_guest_tools"
|
546
|
+
end
|
547
|
+
# verify the required parameter 'ntnx_request_id' is set
|
548
|
+
if @api_client.config.client_side_validation && ntnx_request_id.nil?
|
549
|
+
fail ArgumentError, "Missing the required parameter 'ntnx_request_id' when calling EsxiVmApi.install_nutanix_guest_tools"
|
550
|
+
end
|
551
|
+
# verify the required parameter 'vmm_v40_esxi_config_nutanix_guest_tools_install_config' is set
|
552
|
+
if @api_client.config.client_side_validation && vmm_v40_esxi_config_nutanix_guest_tools_install_config.nil?
|
553
|
+
fail ArgumentError, "Missing the required parameter 'vmm_v40_esxi_config_nutanix_guest_tools_install_config' when calling EsxiVmApi.install_nutanix_guest_tools"
|
554
|
+
end
|
555
|
+
# resource path
|
556
|
+
local_var_path = '/vmm/v4.0/esxi/config/vms/{extId}/nutanix-guest-tools/$actions/install'.sub('{' + 'extId' + '}', CGI.escape(ext_id.to_s))
|
557
|
+
|
558
|
+
# query parameters
|
559
|
+
query_params = opts[:query_params] || {}
|
560
|
+
|
561
|
+
# header parameters
|
562
|
+
header_params = opts[:header_params] || {}
|
563
|
+
# HTTP header 'Accept' (if needed)
|
564
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
565
|
+
# HTTP header 'Content-Type'
|
566
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
567
|
+
if !content_type.nil?
|
568
|
+
header_params['Content-Type'] = content_type
|
569
|
+
end
|
570
|
+
header_params[:'If-Match'] = if_match
|
571
|
+
header_params[:'NTNX-Request-Id'] = ntnx_request_id
|
572
|
+
|
573
|
+
# form parameters
|
574
|
+
form_params = opts[:form_params] || {}
|
575
|
+
|
576
|
+
# http body (model)
|
577
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(vmm_v40_esxi_config_nutanix_guest_tools_install_config)
|
578
|
+
|
579
|
+
# return_type
|
580
|
+
return_type = opts[:debug_return_type] || 'InstallNutanixGuestTools202Response'
|
581
|
+
|
582
|
+
# auth_names
|
583
|
+
auth_names = opts[:debug_auth_names] || ['apiKeyAuthScheme', 'basicAuthScheme']
|
584
|
+
|
585
|
+
new_options = opts.merge(
|
586
|
+
:operation => :"EsxiVmApi.install_nutanix_guest_tools",
|
587
|
+
:header_params => header_params,
|
588
|
+
:query_params => query_params,
|
589
|
+
:form_params => form_params,
|
590
|
+
:body => post_body,
|
591
|
+
:auth_names => auth_names,
|
592
|
+
:return_type => return_type
|
593
|
+
)
|
594
|
+
|
595
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
596
|
+
if @api_client.config.debugging
|
597
|
+
@api_client.config.logger.debug "API called: EsxiVmApi#install_nutanix_guest_tools\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
598
|
+
end
|
599
|
+
return data, status_code, headers
|
600
|
+
end
|
601
|
+
|
602
|
+
# List VMs
|
603
|
+
# Lists the Virtual Machines defined on the system. List of Virtual Machines can be further filtered out using various filtering options.
|
604
|
+
# @param [Hash] opts the optional parameters
|
605
|
+
# @option opts [Integer] :page A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results. (default to 0)
|
606
|
+
# @option opts [Integer] :limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set. (default to 50)
|
607
|
+
# @option opts [String] :filter A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'. The filter can be applied to the following fields: - cluster/extId - guestOsName - host/extId - memorySizeBytes - name - numCoresPerSocket - numCpus - powerState - virtualHardwareVersion
|
608
|
+
# @option opts [String] :orderby A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order. The orderby can be applied to the following fields: - guestOsName - memorySizeBytes - name - numCoresPerSocket - numCpus - virtualHardwareVersion
|
609
|
+
# @option opts [String] :select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. - categories - cdRoms - cluster/extId - description - disks - extId - guestOsName - host/extId - links - memorySizeBytes - name - nics - numCoresPerSocket - numCpus - nutanixGuestTools/availableVersion - nutanixGuestTools/capabilities - nutanixGuestTools/guestOsVersion - nutanixGuestTools/isEnabled - nutanixGuestTools/isInstalled - nutanixGuestTools/isIsoInserted - nutanixGuestTools/isReachable - nutanixGuestTools/isVmMobilityDriversInstalled - nutanixGuestTools/isVssSnapshotCapable - nutanixGuestTools/version - ownershipInfo/owner - powerState - tenantId - virtualHardwareVersion
|
610
|
+
# @return [ListVms200Response]
|
611
|
+
def list_vms(opts = {})
|
612
|
+
data, _status_code, _headers = list_vms_with_http_info(opts)
|
613
|
+
data
|
614
|
+
end
|
615
|
+
|
616
|
+
# List VMs
|
617
|
+
# Lists the Virtual Machines defined on the system. List of Virtual Machines can be further filtered out using various filtering options.
|
618
|
+
# @param [Hash] opts the optional parameters
|
619
|
+
# @option opts [Integer] :page A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results. (default to 0)
|
620
|
+
# @option opts [Integer] :limit A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set. (default to 50)
|
621
|
+
# @option opts [String] :filter A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. For example, filter '$filter=name eq 'karbon-ntnx-1.0' would filter the result on cluster name 'karbon-ntnx1.0', filter '$filter=startswith(name, 'C')' would filter on cluster name starting with 'C'. The filter can be applied to the following fields: - cluster/extId - guestOsName - host/extId - memorySizeBytes - name - numCoresPerSocket - numCpus - powerState - virtualHardwareVersion
|
622
|
+
# @option opts [String] :orderby A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default. For example, '$orderby=templateName desc' would get all templates sorted by templateName in descending order. The orderby can be applied to the following fields: - guestOsName - memorySizeBytes - name - numCoresPerSocket - numCpus - virtualHardwareVersion
|
623
|
+
# @option opts [String] :select A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the [OData V4.01](https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html) URL conventions. If a $select expression consists of a single select item that is an asterisk (i.e., *), then all properties on the matching resource will be returned. - categories - cdRoms - cluster/extId - description - disks - extId - guestOsName - host/extId - links - memorySizeBytes - name - nics - numCoresPerSocket - numCpus - nutanixGuestTools/availableVersion - nutanixGuestTools/capabilities - nutanixGuestTools/guestOsVersion - nutanixGuestTools/isEnabled - nutanixGuestTools/isInstalled - nutanixGuestTools/isIsoInserted - nutanixGuestTools/isReachable - nutanixGuestTools/isVmMobilityDriversInstalled - nutanixGuestTools/isVssSnapshotCapable - nutanixGuestTools/version - ownershipInfo/owner - powerState - tenantId - virtualHardwareVersion
|
624
|
+
# @return [Array<(ListVms200Response, Integer, Hash)>] ListVms200Response data, response status code and response headers
|
625
|
+
def list_vms_with_http_info(opts = {})
|
626
|
+
if @api_client.config.debugging
|
627
|
+
@api_client.config.logger.debug 'Calling API: EsxiVmApi.list_vms ...'
|
628
|
+
end
|
629
|
+
if @api_client.config.client_side_validation && !opts[:'page'].nil? && opts[:'page'] < 0
|
630
|
+
fail ArgumentError, 'invalid value for "opts[:"page"]" when calling EsxiVmApi.list_vms, must be greater than or equal to 0.'
|
631
|
+
end
|
632
|
+
|
633
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 100
|
634
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling EsxiVmApi.list_vms, must be smaller than or equal to 100.'
|
635
|
+
end
|
636
|
+
|
637
|
+
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
638
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling EsxiVmApi.list_vms, must be greater than or equal to 1.'
|
639
|
+
end
|
640
|
+
|
641
|
+
# resource path
|
642
|
+
local_var_path = '/vmm/v4.0/esxi/config/vms'
|
643
|
+
|
644
|
+
# query parameters
|
645
|
+
query_params = opts[:query_params] || {}
|
646
|
+
query_params[:'$page'] = opts[:'page'] if !opts[:'page'].nil?
|
647
|
+
query_params[:'$limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
648
|
+
query_params[:'$filter'] = opts[:'filter'] if !opts[:'filter'].nil?
|
649
|
+
query_params[:'$orderby'] = opts[:'orderby'] if !opts[:'orderby'].nil?
|
650
|
+
query_params[:'$select'] = opts[:'select'] if !opts[:'select'].nil?
|
651
|
+
|
652
|
+
# header parameters
|
653
|
+
header_params = opts[:header_params] || {}
|
654
|
+
# HTTP header 'Accept' (if needed)
|
655
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
656
|
+
|
657
|
+
# form parameters
|
658
|
+
form_params = opts[:form_params] || {}
|
659
|
+
|
660
|
+
# http body (model)
|
661
|
+
post_body = opts[:debug_body]
|
662
|
+
|
663
|
+
# return_type
|
664
|
+
return_type = opts[:debug_return_type] || 'ListVms200Response'
|
665
|
+
|
666
|
+
# auth_names
|
667
|
+
auth_names = opts[:debug_auth_names] || ['apiKeyAuthScheme', 'basicAuthScheme']
|
668
|
+
|
669
|
+
new_options = opts.merge(
|
670
|
+
:operation => :"EsxiVmApi.list_vms",
|
671
|
+
:header_params => header_params,
|
672
|
+
:query_params => query_params,
|
673
|
+
:form_params => form_params,
|
674
|
+
:body => post_body,
|
675
|
+
:auth_names => auth_names,
|
676
|
+
:return_type => return_type
|
677
|
+
)
|
678
|
+
|
679
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
680
|
+
if @api_client.config.debugging
|
681
|
+
@api_client.config.logger.debug "API called: EsxiVmApi#list_vms\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
682
|
+
end
|
683
|
+
return data, status_code, headers
|
684
|
+
end
|
685
|
+
|
686
|
+
# Force power off a VM
|
687
|
+
# Forceably shuts down a virtual machine which is equivalent to removing the power cable. Note: The forced shutdown may result in data loss if any operations are in progress during the shutdown.
|
688
|
+
# @param ext_id [String] A globally unique identifier of a VM of type UUID.
|
689
|
+
# @param if_match [String] The If-Match request header makes the request conditional. When not provided the server will respond with an HTTP 428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP 412 (Precondition Failed) response
|
690
|
+
# @param ntnx_request_id [String] A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
|
691
|
+
# @param [Hash] opts the optional parameters
|
692
|
+
# @return [PowerOffVm202Response]
|
693
|
+
def power_off_vm(ext_id, if_match, ntnx_request_id, opts = {})
|
694
|
+
data, _status_code, _headers = power_off_vm_with_http_info(ext_id, if_match, ntnx_request_id, opts)
|
695
|
+
data
|
696
|
+
end
|
697
|
+
|
698
|
+
# Force power off a VM
|
699
|
+
# Forceably shuts down a virtual machine which is equivalent to removing the power cable. Note: The forced shutdown may result in data loss if any operations are in progress during the shutdown.
|
700
|
+
# @param ext_id [String] A globally unique identifier of a VM of type UUID.
|
701
|
+
# @param if_match [String] The If-Match request header makes the request conditional. When not provided the server will respond with an HTTP 428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP 412 (Precondition Failed) response
|
702
|
+
# @param ntnx_request_id [String] A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
|
703
|
+
# @param [Hash] opts the optional parameters
|
704
|
+
# @return [Array<(PowerOffVm202Response, Integer, Hash)>] PowerOffVm202Response data, response status code and response headers
|
705
|
+
def power_off_vm_with_http_info(ext_id, if_match, ntnx_request_id, opts = {})
|
706
|
+
if @api_client.config.debugging
|
707
|
+
@api_client.config.logger.debug 'Calling API: EsxiVmApi.power_off_vm ...'
|
708
|
+
end
|
709
|
+
# verify the required parameter 'ext_id' is set
|
710
|
+
if @api_client.config.client_side_validation && ext_id.nil?
|
711
|
+
fail ArgumentError, "Missing the required parameter 'ext_id' when calling EsxiVmApi.power_off_vm"
|
712
|
+
end
|
713
|
+
pattern = Regexp.new(/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)
|
714
|
+
if @api_client.config.client_side_validation && ext_id !~ pattern
|
715
|
+
fail ArgumentError, "invalid value for 'ext_id' when calling EsxiVmApi.power_off_vm, must conform to the pattern #{pattern}."
|
716
|
+
end
|
717
|
+
|
718
|
+
# verify the required parameter 'if_match' is set
|
719
|
+
if @api_client.config.client_side_validation && if_match.nil?
|
720
|
+
fail ArgumentError, "Missing the required parameter 'if_match' when calling EsxiVmApi.power_off_vm"
|
721
|
+
end
|
722
|
+
# verify the required parameter 'ntnx_request_id' is set
|
723
|
+
if @api_client.config.client_side_validation && ntnx_request_id.nil?
|
724
|
+
fail ArgumentError, "Missing the required parameter 'ntnx_request_id' when calling EsxiVmApi.power_off_vm"
|
725
|
+
end
|
726
|
+
# resource path
|
727
|
+
local_var_path = '/vmm/v4.0/esxi/config/vms/{extId}/$actions/power-off'.sub('{' + 'extId' + '}', CGI.escape(ext_id.to_s))
|
728
|
+
|
729
|
+
# query parameters
|
730
|
+
query_params = opts[:query_params] || {}
|
731
|
+
|
732
|
+
# header parameters
|
733
|
+
header_params = opts[:header_params] || {}
|
734
|
+
# HTTP header 'Accept' (if needed)
|
735
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
736
|
+
header_params[:'If-Match'] = if_match
|
737
|
+
header_params[:'NTNX-Request-Id'] = ntnx_request_id
|
738
|
+
|
739
|
+
# form parameters
|
740
|
+
form_params = opts[:form_params] || {}
|
741
|
+
|
742
|
+
# http body (model)
|
743
|
+
post_body = opts[:debug_body]
|
744
|
+
|
745
|
+
# return_type
|
746
|
+
return_type = opts[:debug_return_type] || 'PowerOffVm202Response'
|
747
|
+
|
748
|
+
# auth_names
|
749
|
+
auth_names = opts[:debug_auth_names] || ['apiKeyAuthScheme', 'basicAuthScheme']
|
750
|
+
|
751
|
+
new_options = opts.merge(
|
752
|
+
:operation => :"EsxiVmApi.power_off_vm",
|
753
|
+
:header_params => header_params,
|
754
|
+
:query_params => query_params,
|
755
|
+
:form_params => form_params,
|
756
|
+
:body => post_body,
|
757
|
+
:auth_names => auth_names,
|
758
|
+
:return_type => return_type
|
759
|
+
)
|
760
|
+
|
761
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
762
|
+
if @api_client.config.debugging
|
763
|
+
@api_client.config.logger.debug "API called: EsxiVmApi#power_off_vm\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
764
|
+
end
|
765
|
+
return data, status_code, headers
|
766
|
+
end
|
767
|
+
|
768
|
+
# Power on or resume a VM
|
769
|
+
# Powers a Virtual Machine on or resumes it from the suspended state.
|
770
|
+
# @param ext_id [String] A globally unique identifier of a VM of type UUID.
|
771
|
+
# @param if_match [String] The If-Match request header makes the request conditional. When not provided the server will respond with an HTTP 428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP 412 (Precondition Failed) response
|
772
|
+
# @param ntnx_request_id [String] A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
|
773
|
+
# @param [Hash] opts the optional parameters
|
774
|
+
# @return [PowerOnVm202Response]
|
775
|
+
def power_on_vm(ext_id, if_match, ntnx_request_id, opts = {})
|
776
|
+
data, _status_code, _headers = power_on_vm_with_http_info(ext_id, if_match, ntnx_request_id, opts)
|
777
|
+
data
|
778
|
+
end
|
779
|
+
|
780
|
+
# Power on or resume a VM
|
781
|
+
# Powers a Virtual Machine on or resumes it from the suspended state.
|
782
|
+
# @param ext_id [String] A globally unique identifier of a VM of type UUID.
|
783
|
+
# @param if_match [String] The If-Match request header makes the request conditional. When not provided the server will respond with an HTTP 428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP 412 (Precondition Failed) response
|
784
|
+
# @param ntnx_request_id [String] A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
|
785
|
+
# @param [Hash] opts the optional parameters
|
786
|
+
# @return [Array<(PowerOnVm202Response, Integer, Hash)>] PowerOnVm202Response data, response status code and response headers
|
787
|
+
def power_on_vm_with_http_info(ext_id, if_match, ntnx_request_id, opts = {})
|
788
|
+
if @api_client.config.debugging
|
789
|
+
@api_client.config.logger.debug 'Calling API: EsxiVmApi.power_on_vm ...'
|
790
|
+
end
|
791
|
+
# verify the required parameter 'ext_id' is set
|
792
|
+
if @api_client.config.client_side_validation && ext_id.nil?
|
793
|
+
fail ArgumentError, "Missing the required parameter 'ext_id' when calling EsxiVmApi.power_on_vm"
|
794
|
+
end
|
795
|
+
pattern = Regexp.new(/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)
|
796
|
+
if @api_client.config.client_side_validation && ext_id !~ pattern
|
797
|
+
fail ArgumentError, "invalid value for 'ext_id' when calling EsxiVmApi.power_on_vm, must conform to the pattern #{pattern}."
|
798
|
+
end
|
799
|
+
|
800
|
+
# verify the required parameter 'if_match' is set
|
801
|
+
if @api_client.config.client_side_validation && if_match.nil?
|
802
|
+
fail ArgumentError, "Missing the required parameter 'if_match' when calling EsxiVmApi.power_on_vm"
|
803
|
+
end
|
804
|
+
# verify the required parameter 'ntnx_request_id' is set
|
805
|
+
if @api_client.config.client_side_validation && ntnx_request_id.nil?
|
806
|
+
fail ArgumentError, "Missing the required parameter 'ntnx_request_id' when calling EsxiVmApi.power_on_vm"
|
807
|
+
end
|
808
|
+
# resource path
|
809
|
+
local_var_path = '/vmm/v4.0/esxi/config/vms/{extId}/$actions/power-on'.sub('{' + 'extId' + '}', CGI.escape(ext_id.to_s))
|
810
|
+
|
811
|
+
# query parameters
|
812
|
+
query_params = opts[:query_params] || {}
|
813
|
+
|
814
|
+
# header parameters
|
815
|
+
header_params = opts[:header_params] || {}
|
816
|
+
# HTTP header 'Accept' (if needed)
|
817
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
818
|
+
header_params[:'If-Match'] = if_match
|
819
|
+
header_params[:'NTNX-Request-Id'] = ntnx_request_id
|
820
|
+
|
821
|
+
# form parameters
|
822
|
+
form_params = opts[:form_params] || {}
|
823
|
+
|
824
|
+
# http body (model)
|
825
|
+
post_body = opts[:debug_body]
|
826
|
+
|
827
|
+
# return_type
|
828
|
+
return_type = opts[:debug_return_type] || 'PowerOnVm202Response'
|
829
|
+
|
830
|
+
# auth_names
|
831
|
+
auth_names = opts[:debug_auth_names] || ['apiKeyAuthScheme', 'basicAuthScheme']
|
832
|
+
|
833
|
+
new_options = opts.merge(
|
834
|
+
:operation => :"EsxiVmApi.power_on_vm",
|
835
|
+
:header_params => header_params,
|
836
|
+
:query_params => query_params,
|
837
|
+
:form_params => form_params,
|
838
|
+
:body => post_body,
|
839
|
+
:auth_names => auth_names,
|
840
|
+
:return_type => return_type
|
841
|
+
)
|
842
|
+
|
843
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
844
|
+
if @api_client.config.debugging
|
845
|
+
@api_client.config.logger.debug "API called: EsxiVmApi#power_on_vm\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
846
|
+
end
|
847
|
+
return data, status_code, headers
|
848
|
+
end
|
849
|
+
|
850
|
+
# Issue an ESXi guest OS reboot command
|
851
|
+
# Issues a command to reboot ESXi guest OS. This operation requires ESXi tools installed.
|
852
|
+
# @param ext_id [String] A globally unique identifier of a VM of type UUID.
|
853
|
+
# @param if_match [String] The If-Match request header makes the request conditional. When not provided the server will respond with an HTTP 428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP 412 (Precondition Failed) response
|
854
|
+
# @param ntnx_request_id [String] A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
|
855
|
+
# @param [Hash] opts the optional parameters
|
856
|
+
# @return [RebootGuestVm202Response]
|
857
|
+
def reboot_guest_vm(ext_id, if_match, ntnx_request_id, opts = {})
|
858
|
+
data, _status_code, _headers = reboot_guest_vm_with_http_info(ext_id, if_match, ntnx_request_id, opts)
|
859
|
+
data
|
860
|
+
end
|
861
|
+
|
862
|
+
# Issue an ESXi guest OS reboot command
|
863
|
+
# Issues a command to reboot ESXi guest OS. This operation requires ESXi tools installed.
|
864
|
+
# @param ext_id [String] A globally unique identifier of a VM of type UUID.
|
865
|
+
# @param if_match [String] The If-Match request header makes the request conditional. When not provided the server will respond with an HTTP 428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP 412 (Precondition Failed) response
|
866
|
+
# @param ntnx_request_id [String] A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
|
867
|
+
# @param [Hash] opts the optional parameters
|
868
|
+
# @return [Array<(RebootGuestVm202Response, Integer, Hash)>] RebootGuestVm202Response data, response status code and response headers
|
869
|
+
def reboot_guest_vm_with_http_info(ext_id, if_match, ntnx_request_id, opts = {})
|
870
|
+
if @api_client.config.debugging
|
871
|
+
@api_client.config.logger.debug 'Calling API: EsxiVmApi.reboot_guest_vm ...'
|
872
|
+
end
|
873
|
+
# verify the required parameter 'ext_id' is set
|
874
|
+
if @api_client.config.client_side_validation && ext_id.nil?
|
875
|
+
fail ArgumentError, "Missing the required parameter 'ext_id' when calling EsxiVmApi.reboot_guest_vm"
|
876
|
+
end
|
877
|
+
pattern = Regexp.new(/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)
|
878
|
+
if @api_client.config.client_side_validation && ext_id !~ pattern
|
879
|
+
fail ArgumentError, "invalid value for 'ext_id' when calling EsxiVmApi.reboot_guest_vm, must conform to the pattern #{pattern}."
|
880
|
+
end
|
881
|
+
|
882
|
+
# verify the required parameter 'if_match' is set
|
883
|
+
if @api_client.config.client_side_validation && if_match.nil?
|
884
|
+
fail ArgumentError, "Missing the required parameter 'if_match' when calling EsxiVmApi.reboot_guest_vm"
|
885
|
+
end
|
886
|
+
# verify the required parameter 'ntnx_request_id' is set
|
887
|
+
if @api_client.config.client_side_validation && ntnx_request_id.nil?
|
888
|
+
fail ArgumentError, "Missing the required parameter 'ntnx_request_id' when calling EsxiVmApi.reboot_guest_vm"
|
889
|
+
end
|
890
|
+
# resource path
|
891
|
+
local_var_path = '/vmm/v4.0/esxi/config/vms/{extId}/$actions/guest-reboot'.sub('{' + 'extId' + '}', CGI.escape(ext_id.to_s))
|
892
|
+
|
893
|
+
# query parameters
|
894
|
+
query_params = opts[:query_params] || {}
|
895
|
+
|
896
|
+
# header parameters
|
897
|
+
header_params = opts[:header_params] || {}
|
898
|
+
# HTTP header 'Accept' (if needed)
|
899
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
900
|
+
header_params[:'If-Match'] = if_match
|
901
|
+
header_params[:'NTNX-Request-Id'] = ntnx_request_id
|
902
|
+
|
903
|
+
# form parameters
|
904
|
+
form_params = opts[:form_params] || {}
|
905
|
+
|
906
|
+
# http body (model)
|
907
|
+
post_body = opts[:debug_body]
|
908
|
+
|
909
|
+
# return_type
|
910
|
+
return_type = opts[:debug_return_type] || 'RebootGuestVm202Response'
|
911
|
+
|
912
|
+
# auth_names
|
913
|
+
auth_names = opts[:debug_auth_names] || ['apiKeyAuthScheme', 'basicAuthScheme']
|
914
|
+
|
915
|
+
new_options = opts.merge(
|
916
|
+
:operation => :"EsxiVmApi.reboot_guest_vm",
|
917
|
+
:header_params => header_params,
|
918
|
+
:query_params => query_params,
|
919
|
+
:form_params => form_params,
|
920
|
+
:body => post_body,
|
921
|
+
:auth_names => auth_names,
|
922
|
+
:return_type => return_type
|
923
|
+
)
|
924
|
+
|
925
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
926
|
+
if @api_client.config.debugging
|
927
|
+
@api_client.config.logger.debug "API called: EsxiVmApi#reboot_guest_vm\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
928
|
+
end
|
929
|
+
return data, status_code, headers
|
930
|
+
end
|
931
|
+
|
932
|
+
# Reset an ESXi VM by sequentially powering it off and on
|
933
|
+
# Sequentially performs the power off and power on operations; any operation between these actions will fail.
|
934
|
+
# @param ext_id [String] A globally unique identifier of a VM of type UUID.
|
935
|
+
# @param if_match [String] The If-Match request header makes the request conditional. When not provided the server will respond with an HTTP 428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP 412 (Precondition Failed) response
|
936
|
+
# @param ntnx_request_id [String] A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
|
937
|
+
# @param [Hash] opts the optional parameters
|
938
|
+
# @return [ResetVm202Response]
|
939
|
+
def reset_vm(ext_id, if_match, ntnx_request_id, opts = {})
|
940
|
+
data, _status_code, _headers = reset_vm_with_http_info(ext_id, if_match, ntnx_request_id, opts)
|
941
|
+
data
|
942
|
+
end
|
943
|
+
|
944
|
+
# Reset an ESXi VM by sequentially powering it off and on
|
945
|
+
# Sequentially performs the power off and power on operations; any operation between these actions will fail.
|
946
|
+
# @param ext_id [String] A globally unique identifier of a VM of type UUID.
|
947
|
+
# @param if_match [String] The If-Match request header makes the request conditional. When not provided the server will respond with an HTTP 428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP 412 (Precondition Failed) response
|
948
|
+
# @param ntnx_request_id [String] A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
|
949
|
+
# @param [Hash] opts the optional parameters
|
950
|
+
# @return [Array<(ResetVm202Response, Integer, Hash)>] ResetVm202Response data, response status code and response headers
|
951
|
+
def reset_vm_with_http_info(ext_id, if_match, ntnx_request_id, opts = {})
|
952
|
+
if @api_client.config.debugging
|
953
|
+
@api_client.config.logger.debug 'Calling API: EsxiVmApi.reset_vm ...'
|
954
|
+
end
|
955
|
+
# verify the required parameter 'ext_id' is set
|
956
|
+
if @api_client.config.client_side_validation && ext_id.nil?
|
957
|
+
fail ArgumentError, "Missing the required parameter 'ext_id' when calling EsxiVmApi.reset_vm"
|
958
|
+
end
|
959
|
+
pattern = Regexp.new(/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)
|
960
|
+
if @api_client.config.client_side_validation && ext_id !~ pattern
|
961
|
+
fail ArgumentError, "invalid value for 'ext_id' when calling EsxiVmApi.reset_vm, must conform to the pattern #{pattern}."
|
962
|
+
end
|
963
|
+
|
964
|
+
# verify the required parameter 'if_match' is set
|
965
|
+
if @api_client.config.client_side_validation && if_match.nil?
|
966
|
+
fail ArgumentError, "Missing the required parameter 'if_match' when calling EsxiVmApi.reset_vm"
|
967
|
+
end
|
968
|
+
# verify the required parameter 'ntnx_request_id' is set
|
969
|
+
if @api_client.config.client_side_validation && ntnx_request_id.nil?
|
970
|
+
fail ArgumentError, "Missing the required parameter 'ntnx_request_id' when calling EsxiVmApi.reset_vm"
|
971
|
+
end
|
972
|
+
# resource path
|
973
|
+
local_var_path = '/vmm/v4.0/esxi/config/vms/{extId}/$actions/reset'.sub('{' + 'extId' + '}', CGI.escape(ext_id.to_s))
|
974
|
+
|
975
|
+
# query parameters
|
976
|
+
query_params = opts[:query_params] || {}
|
977
|
+
|
978
|
+
# header parameters
|
979
|
+
header_params = opts[:header_params] || {}
|
980
|
+
# HTTP header 'Accept' (if needed)
|
981
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
982
|
+
header_params[:'If-Match'] = if_match
|
983
|
+
header_params[:'NTNX-Request-Id'] = ntnx_request_id
|
984
|
+
|
985
|
+
# form parameters
|
986
|
+
form_params = opts[:form_params] || {}
|
987
|
+
|
988
|
+
# http body (model)
|
989
|
+
post_body = opts[:debug_body]
|
990
|
+
|
991
|
+
# return_type
|
992
|
+
return_type = opts[:debug_return_type] || 'ResetVm202Response'
|
993
|
+
|
994
|
+
# auth_names
|
995
|
+
auth_names = opts[:debug_auth_names] || ['apiKeyAuthScheme', 'basicAuthScheme']
|
996
|
+
|
997
|
+
new_options = opts.merge(
|
998
|
+
:operation => :"EsxiVmApi.reset_vm",
|
999
|
+
:header_params => header_params,
|
1000
|
+
:query_params => query_params,
|
1001
|
+
:form_params => form_params,
|
1002
|
+
:body => post_body,
|
1003
|
+
:auth_names => auth_names,
|
1004
|
+
:return_type => return_type
|
1005
|
+
)
|
1006
|
+
|
1007
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1008
|
+
if @api_client.config.debugging
|
1009
|
+
@api_client.config.logger.debug "API called: EsxiVmApi#reset_vm\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1010
|
+
end
|
1011
|
+
return data, status_code, headers
|
1012
|
+
end
|
1013
|
+
|
1014
|
+
# Revert the ESXi VM.
|
1015
|
+
# Revert VM identified by {extId}. This does an in-place VM restore from a specified VM Recovery Point.
|
1016
|
+
# @param ext_id [String] A globally unique identifier of a VM of type UUID.
|
1017
|
+
# @param if_match [String] The If-Match request header makes the request conditional. When not provided the server will respond with an HTTP 428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP 412 (Precondition Failed) response
|
1018
|
+
# @param ntnx_request_id [String] A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
|
1019
|
+
# @param vmm_v40_esxi_config_revert_params [VmmV40EsxiConfigRevertParams] Input for the VM revert operation. Specify the VM Recovery Point ID to which the VM would be reverted.
|
1020
|
+
# @param [Hash] opts the optional parameters
|
1021
|
+
# @return [RevertVm202Response]
|
1022
|
+
def revert_vm(ext_id, if_match, ntnx_request_id, vmm_v40_esxi_config_revert_params, opts = {})
|
1023
|
+
data, _status_code, _headers = revert_vm_with_http_info(ext_id, if_match, ntnx_request_id, vmm_v40_esxi_config_revert_params, opts)
|
1024
|
+
data
|
1025
|
+
end
|
1026
|
+
|
1027
|
+
# Revert the ESXi VM.
|
1028
|
+
# Revert VM identified by {extId}. This does an in-place VM restore from a specified VM Recovery Point.
|
1029
|
+
# @param ext_id [String] A globally unique identifier of a VM of type UUID.
|
1030
|
+
# @param if_match [String] The If-Match request header makes the request conditional. When not provided the server will respond with an HTTP 428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP 412 (Precondition Failed) response
|
1031
|
+
# @param ntnx_request_id [String] A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
|
1032
|
+
# @param vmm_v40_esxi_config_revert_params [VmmV40EsxiConfigRevertParams] Input for the VM revert operation. Specify the VM Recovery Point ID to which the VM would be reverted.
|
1033
|
+
# @param [Hash] opts the optional parameters
|
1034
|
+
# @return [Array<(RevertVm202Response, Integer, Hash)>] RevertVm202Response data, response status code and response headers
|
1035
|
+
def revert_vm_with_http_info(ext_id, if_match, ntnx_request_id, vmm_v40_esxi_config_revert_params, opts = {})
|
1036
|
+
if @api_client.config.debugging
|
1037
|
+
@api_client.config.logger.debug 'Calling API: EsxiVmApi.revert_vm ...'
|
1038
|
+
end
|
1039
|
+
# verify the required parameter 'ext_id' is set
|
1040
|
+
if @api_client.config.client_side_validation && ext_id.nil?
|
1041
|
+
fail ArgumentError, "Missing the required parameter 'ext_id' when calling EsxiVmApi.revert_vm"
|
1042
|
+
end
|
1043
|
+
pattern = Regexp.new(/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)
|
1044
|
+
if @api_client.config.client_side_validation && ext_id !~ pattern
|
1045
|
+
fail ArgumentError, "invalid value for 'ext_id' when calling EsxiVmApi.revert_vm, must conform to the pattern #{pattern}."
|
1046
|
+
end
|
1047
|
+
|
1048
|
+
# verify the required parameter 'if_match' is set
|
1049
|
+
if @api_client.config.client_side_validation && if_match.nil?
|
1050
|
+
fail ArgumentError, "Missing the required parameter 'if_match' when calling EsxiVmApi.revert_vm"
|
1051
|
+
end
|
1052
|
+
# verify the required parameter 'ntnx_request_id' is set
|
1053
|
+
if @api_client.config.client_side_validation && ntnx_request_id.nil?
|
1054
|
+
fail ArgumentError, "Missing the required parameter 'ntnx_request_id' when calling EsxiVmApi.revert_vm"
|
1055
|
+
end
|
1056
|
+
# verify the required parameter 'vmm_v40_esxi_config_revert_params' is set
|
1057
|
+
if @api_client.config.client_side_validation && vmm_v40_esxi_config_revert_params.nil?
|
1058
|
+
fail ArgumentError, "Missing the required parameter 'vmm_v40_esxi_config_revert_params' when calling EsxiVmApi.revert_vm"
|
1059
|
+
end
|
1060
|
+
# resource path
|
1061
|
+
local_var_path = '/vmm/v4.0/esxi/config/vms/{extId}/$actions/revert'.sub('{' + 'extId' + '}', CGI.escape(ext_id.to_s))
|
1062
|
+
|
1063
|
+
# query parameters
|
1064
|
+
query_params = opts[:query_params] || {}
|
1065
|
+
|
1066
|
+
# header parameters
|
1067
|
+
header_params = opts[:header_params] || {}
|
1068
|
+
# HTTP header 'Accept' (if needed)
|
1069
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
1070
|
+
# HTTP header 'Content-Type'
|
1071
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
1072
|
+
if !content_type.nil?
|
1073
|
+
header_params['Content-Type'] = content_type
|
1074
|
+
end
|
1075
|
+
header_params[:'If-Match'] = if_match
|
1076
|
+
header_params[:'NTNX-Request-Id'] = ntnx_request_id
|
1077
|
+
|
1078
|
+
# form parameters
|
1079
|
+
form_params = opts[:form_params] || {}
|
1080
|
+
|
1081
|
+
# http body (model)
|
1082
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(vmm_v40_esxi_config_revert_params)
|
1083
|
+
|
1084
|
+
# return_type
|
1085
|
+
return_type = opts[:debug_return_type] || 'RevertVm202Response'
|
1086
|
+
|
1087
|
+
# auth_names
|
1088
|
+
auth_names = opts[:debug_auth_names] || ['apiKeyAuthScheme', 'basicAuthScheme']
|
1089
|
+
|
1090
|
+
new_options = opts.merge(
|
1091
|
+
:operation => :"EsxiVmApi.revert_vm",
|
1092
|
+
:header_params => header_params,
|
1093
|
+
:query_params => query_params,
|
1094
|
+
:form_params => form_params,
|
1095
|
+
:body => post_body,
|
1096
|
+
:auth_names => auth_names,
|
1097
|
+
:return_type => return_type
|
1098
|
+
)
|
1099
|
+
|
1100
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1101
|
+
if @api_client.config.debugging
|
1102
|
+
@api_client.config.logger.debug "API called: EsxiVmApi#revert_vm\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1103
|
+
end
|
1104
|
+
return data, status_code, headers
|
1105
|
+
end
|
1106
|
+
|
1107
|
+
# Shut down services on ESXi guest OS
|
1108
|
+
# Issues a command to the ESXi guest OS to perform a clean shut down of services running on it. This operation requires ESXi tools to be installed.
|
1109
|
+
# @param ext_id [String] A globally unique identifier of a VM of type UUID.
|
1110
|
+
# @param if_match [String] The If-Match request header makes the request conditional. When not provided the server will respond with an HTTP 428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP 412 (Precondition Failed) response
|
1111
|
+
# @param ntnx_request_id [String] A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
|
1112
|
+
# @param [Hash] opts the optional parameters
|
1113
|
+
# @return [ShutdownGuestVm202Response]
|
1114
|
+
def shutdown_guest_vm(ext_id, if_match, ntnx_request_id, opts = {})
|
1115
|
+
data, _status_code, _headers = shutdown_guest_vm_with_http_info(ext_id, if_match, ntnx_request_id, opts)
|
1116
|
+
data
|
1117
|
+
end
|
1118
|
+
|
1119
|
+
# Shut down services on ESXi guest OS
|
1120
|
+
# Issues a command to the ESXi guest OS to perform a clean shut down of services running on it. This operation requires ESXi tools to be installed.
|
1121
|
+
# @param ext_id [String] A globally unique identifier of a VM of type UUID.
|
1122
|
+
# @param if_match [String] The If-Match request header makes the request conditional. When not provided the server will respond with an HTTP 428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP 412 (Precondition Failed) response
|
1123
|
+
# @param ntnx_request_id [String] A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
|
1124
|
+
# @param [Hash] opts the optional parameters
|
1125
|
+
# @return [Array<(ShutdownGuestVm202Response, Integer, Hash)>] ShutdownGuestVm202Response data, response status code and response headers
|
1126
|
+
def shutdown_guest_vm_with_http_info(ext_id, if_match, ntnx_request_id, opts = {})
|
1127
|
+
if @api_client.config.debugging
|
1128
|
+
@api_client.config.logger.debug 'Calling API: EsxiVmApi.shutdown_guest_vm ...'
|
1129
|
+
end
|
1130
|
+
# verify the required parameter 'ext_id' is set
|
1131
|
+
if @api_client.config.client_side_validation && ext_id.nil?
|
1132
|
+
fail ArgumentError, "Missing the required parameter 'ext_id' when calling EsxiVmApi.shutdown_guest_vm"
|
1133
|
+
end
|
1134
|
+
pattern = Regexp.new(/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)
|
1135
|
+
if @api_client.config.client_side_validation && ext_id !~ pattern
|
1136
|
+
fail ArgumentError, "invalid value for 'ext_id' when calling EsxiVmApi.shutdown_guest_vm, must conform to the pattern #{pattern}."
|
1137
|
+
end
|
1138
|
+
|
1139
|
+
# verify the required parameter 'if_match' is set
|
1140
|
+
if @api_client.config.client_side_validation && if_match.nil?
|
1141
|
+
fail ArgumentError, "Missing the required parameter 'if_match' when calling EsxiVmApi.shutdown_guest_vm"
|
1142
|
+
end
|
1143
|
+
# verify the required parameter 'ntnx_request_id' is set
|
1144
|
+
if @api_client.config.client_side_validation && ntnx_request_id.nil?
|
1145
|
+
fail ArgumentError, "Missing the required parameter 'ntnx_request_id' when calling EsxiVmApi.shutdown_guest_vm"
|
1146
|
+
end
|
1147
|
+
# resource path
|
1148
|
+
local_var_path = '/vmm/v4.0/esxi/config/vms/{extId}/$actions/guest-shutdown'.sub('{' + 'extId' + '}', CGI.escape(ext_id.to_s))
|
1149
|
+
|
1150
|
+
# query parameters
|
1151
|
+
query_params = opts[:query_params] || {}
|
1152
|
+
|
1153
|
+
# header parameters
|
1154
|
+
header_params = opts[:header_params] || {}
|
1155
|
+
# HTTP header 'Accept' (if needed)
|
1156
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
1157
|
+
header_params[:'If-Match'] = if_match
|
1158
|
+
header_params[:'NTNX-Request-Id'] = ntnx_request_id
|
1159
|
+
|
1160
|
+
# form parameters
|
1161
|
+
form_params = opts[:form_params] || {}
|
1162
|
+
|
1163
|
+
# http body (model)
|
1164
|
+
post_body = opts[:debug_body]
|
1165
|
+
|
1166
|
+
# return_type
|
1167
|
+
return_type = opts[:debug_return_type] || 'ShutdownGuestVm202Response'
|
1168
|
+
|
1169
|
+
# auth_names
|
1170
|
+
auth_names = opts[:debug_auth_names] || ['apiKeyAuthScheme', 'basicAuthScheme']
|
1171
|
+
|
1172
|
+
new_options = opts.merge(
|
1173
|
+
:operation => :"EsxiVmApi.shutdown_guest_vm",
|
1174
|
+
:header_params => header_params,
|
1175
|
+
:query_params => query_params,
|
1176
|
+
:form_params => form_params,
|
1177
|
+
:body => post_body,
|
1178
|
+
:auth_names => auth_names,
|
1179
|
+
:return_type => return_type
|
1180
|
+
)
|
1181
|
+
|
1182
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1183
|
+
if @api_client.config.debugging
|
1184
|
+
@api_client.config.logger.debug "API called: EsxiVmApi#shutdown_guest_vm\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1185
|
+
end
|
1186
|
+
return data, status_code, headers
|
1187
|
+
end
|
1188
|
+
|
1189
|
+
# Pause/Suspend virtual machine execution
|
1190
|
+
# Pause/Suspend execution in an ESXi virtual machine.
|
1191
|
+
# @param ext_id [String] A globally unique identifier of a VM of type UUID.
|
1192
|
+
# @param if_match [String] The If-Match request header makes the request conditional. When not provided the server will respond with an HTTP 428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP 412 (Precondition Failed) response
|
1193
|
+
# @param ntnx_request_id [String] A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
|
1194
|
+
# @param [Hash] opts the optional parameters
|
1195
|
+
# @return [SuspendVm202Response]
|
1196
|
+
def suspend_vm(ext_id, if_match, ntnx_request_id, opts = {})
|
1197
|
+
data, _status_code, _headers = suspend_vm_with_http_info(ext_id, if_match, ntnx_request_id, opts)
|
1198
|
+
data
|
1199
|
+
end
|
1200
|
+
|
1201
|
+
# Pause/Suspend virtual machine execution
|
1202
|
+
# Pause/Suspend execution in an ESXi virtual machine.
|
1203
|
+
# @param ext_id [String] A globally unique identifier of a VM of type UUID.
|
1204
|
+
# @param if_match [String] The If-Match request header makes the request conditional. When not provided the server will respond with an HTTP 428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP 412 (Precondition Failed) response
|
1205
|
+
# @param ntnx_request_id [String] A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
|
1206
|
+
# @param [Hash] opts the optional parameters
|
1207
|
+
# @return [Array<(SuspendVm202Response, Integer, Hash)>] SuspendVm202Response data, response status code and response headers
|
1208
|
+
def suspend_vm_with_http_info(ext_id, if_match, ntnx_request_id, opts = {})
|
1209
|
+
if @api_client.config.debugging
|
1210
|
+
@api_client.config.logger.debug 'Calling API: EsxiVmApi.suspend_vm ...'
|
1211
|
+
end
|
1212
|
+
# verify the required parameter 'ext_id' is set
|
1213
|
+
if @api_client.config.client_side_validation && ext_id.nil?
|
1214
|
+
fail ArgumentError, "Missing the required parameter 'ext_id' when calling EsxiVmApi.suspend_vm"
|
1215
|
+
end
|
1216
|
+
pattern = Regexp.new(/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)
|
1217
|
+
if @api_client.config.client_side_validation && ext_id !~ pattern
|
1218
|
+
fail ArgumentError, "invalid value for 'ext_id' when calling EsxiVmApi.suspend_vm, must conform to the pattern #{pattern}."
|
1219
|
+
end
|
1220
|
+
|
1221
|
+
# verify the required parameter 'if_match' is set
|
1222
|
+
if @api_client.config.client_side_validation && if_match.nil?
|
1223
|
+
fail ArgumentError, "Missing the required parameter 'if_match' when calling EsxiVmApi.suspend_vm"
|
1224
|
+
end
|
1225
|
+
# verify the required parameter 'ntnx_request_id' is set
|
1226
|
+
if @api_client.config.client_side_validation && ntnx_request_id.nil?
|
1227
|
+
fail ArgumentError, "Missing the required parameter 'ntnx_request_id' when calling EsxiVmApi.suspend_vm"
|
1228
|
+
end
|
1229
|
+
# resource path
|
1230
|
+
local_var_path = '/vmm/v4.0/esxi/config/vms/{extId}/$actions/suspend'.sub('{' + 'extId' + '}', CGI.escape(ext_id.to_s))
|
1231
|
+
|
1232
|
+
# query parameters
|
1233
|
+
query_params = opts[:query_params] || {}
|
1234
|
+
|
1235
|
+
# header parameters
|
1236
|
+
header_params = opts[:header_params] || {}
|
1237
|
+
# HTTP header 'Accept' (if needed)
|
1238
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
1239
|
+
header_params[:'If-Match'] = if_match
|
1240
|
+
header_params[:'NTNX-Request-Id'] = ntnx_request_id
|
1241
|
+
|
1242
|
+
# form parameters
|
1243
|
+
form_params = opts[:form_params] || {}
|
1244
|
+
|
1245
|
+
# http body (model)
|
1246
|
+
post_body = opts[:debug_body]
|
1247
|
+
|
1248
|
+
# return_type
|
1249
|
+
return_type = opts[:debug_return_type] || 'SuspendVm202Response'
|
1250
|
+
|
1251
|
+
# auth_names
|
1252
|
+
auth_names = opts[:debug_auth_names] || ['apiKeyAuthScheme', 'basicAuthScheme']
|
1253
|
+
|
1254
|
+
new_options = opts.merge(
|
1255
|
+
:operation => :"EsxiVmApi.suspend_vm",
|
1256
|
+
:header_params => header_params,
|
1257
|
+
:query_params => query_params,
|
1258
|
+
:form_params => form_params,
|
1259
|
+
:body => post_body,
|
1260
|
+
:auth_names => auth_names,
|
1261
|
+
:return_type => return_type
|
1262
|
+
)
|
1263
|
+
|
1264
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1265
|
+
if @api_client.config.debugging
|
1266
|
+
@api_client.config.logger.debug "API called: EsxiVmApi#suspend_vm\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1267
|
+
end
|
1268
|
+
return data, status_code, headers
|
1269
|
+
end
|
1270
|
+
|
1271
|
+
# Uninstall NGT from a VM
|
1272
|
+
# Trigger an in-guest uninstallation of Nutanix Guest Tools.
|
1273
|
+
# @param ext_id [String] A globally unique identifier of a VM of type UUID.
|
1274
|
+
# @param if_match [String] The If-Match request header makes the request conditional. When not provided the server will respond with an HTTP 428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP 412 (Precondition Failed) response
|
1275
|
+
# @param ntnx_request_id [String] A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
|
1276
|
+
# @param [Hash] opts the optional parameters
|
1277
|
+
# @return [UninstallNutanixGuestTools202Response]
|
1278
|
+
def uninstall_nutanix_guest_tools(ext_id, if_match, ntnx_request_id, opts = {})
|
1279
|
+
data, _status_code, _headers = uninstall_nutanix_guest_tools_with_http_info(ext_id, if_match, ntnx_request_id, opts)
|
1280
|
+
data
|
1281
|
+
end
|
1282
|
+
|
1283
|
+
# Uninstall NGT from a VM
|
1284
|
+
# Trigger an in-guest uninstallation of Nutanix Guest Tools.
|
1285
|
+
# @param ext_id [String] A globally unique identifier of a VM of type UUID.
|
1286
|
+
# @param if_match [String] The If-Match request header makes the request conditional. When not provided the server will respond with an HTTP 428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP 412 (Precondition Failed) response
|
1287
|
+
# @param ntnx_request_id [String] A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
|
1288
|
+
# @param [Hash] opts the optional parameters
|
1289
|
+
# @return [Array<(UninstallNutanixGuestTools202Response, Integer, Hash)>] UninstallNutanixGuestTools202Response data, response status code and response headers
|
1290
|
+
def uninstall_nutanix_guest_tools_with_http_info(ext_id, if_match, ntnx_request_id, opts = {})
|
1291
|
+
if @api_client.config.debugging
|
1292
|
+
@api_client.config.logger.debug 'Calling API: EsxiVmApi.uninstall_nutanix_guest_tools ...'
|
1293
|
+
end
|
1294
|
+
# verify the required parameter 'ext_id' is set
|
1295
|
+
if @api_client.config.client_side_validation && ext_id.nil?
|
1296
|
+
fail ArgumentError, "Missing the required parameter 'ext_id' when calling EsxiVmApi.uninstall_nutanix_guest_tools"
|
1297
|
+
end
|
1298
|
+
pattern = Regexp.new(/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)
|
1299
|
+
if @api_client.config.client_side_validation && ext_id !~ pattern
|
1300
|
+
fail ArgumentError, "invalid value for 'ext_id' when calling EsxiVmApi.uninstall_nutanix_guest_tools, must conform to the pattern #{pattern}."
|
1301
|
+
end
|
1302
|
+
|
1303
|
+
# verify the required parameter 'if_match' is set
|
1304
|
+
if @api_client.config.client_side_validation && if_match.nil?
|
1305
|
+
fail ArgumentError, "Missing the required parameter 'if_match' when calling EsxiVmApi.uninstall_nutanix_guest_tools"
|
1306
|
+
end
|
1307
|
+
# verify the required parameter 'ntnx_request_id' is set
|
1308
|
+
if @api_client.config.client_side_validation && ntnx_request_id.nil?
|
1309
|
+
fail ArgumentError, "Missing the required parameter 'ntnx_request_id' when calling EsxiVmApi.uninstall_nutanix_guest_tools"
|
1310
|
+
end
|
1311
|
+
# resource path
|
1312
|
+
local_var_path = '/vmm/v4.0/esxi/config/vms/{extId}/nutanix-guest-tools/$actions/uninstall'.sub('{' + 'extId' + '}', CGI.escape(ext_id.to_s))
|
1313
|
+
|
1314
|
+
# query parameters
|
1315
|
+
query_params = opts[:query_params] || {}
|
1316
|
+
|
1317
|
+
# header parameters
|
1318
|
+
header_params = opts[:header_params] || {}
|
1319
|
+
# HTTP header 'Accept' (if needed)
|
1320
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
1321
|
+
header_params[:'If-Match'] = if_match
|
1322
|
+
header_params[:'NTNX-Request-Id'] = ntnx_request_id
|
1323
|
+
|
1324
|
+
# form parameters
|
1325
|
+
form_params = opts[:form_params] || {}
|
1326
|
+
|
1327
|
+
# http body (model)
|
1328
|
+
post_body = opts[:debug_body]
|
1329
|
+
|
1330
|
+
# return_type
|
1331
|
+
return_type = opts[:debug_return_type] || 'UninstallNutanixGuestTools202Response'
|
1332
|
+
|
1333
|
+
# auth_names
|
1334
|
+
auth_names = opts[:debug_auth_names] || ['apiKeyAuthScheme', 'basicAuthScheme']
|
1335
|
+
|
1336
|
+
new_options = opts.merge(
|
1337
|
+
:operation => :"EsxiVmApi.uninstall_nutanix_guest_tools",
|
1338
|
+
:header_params => header_params,
|
1339
|
+
:query_params => query_params,
|
1340
|
+
:form_params => form_params,
|
1341
|
+
:body => post_body,
|
1342
|
+
:auth_names => auth_names,
|
1343
|
+
:return_type => return_type
|
1344
|
+
)
|
1345
|
+
|
1346
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1347
|
+
if @api_client.config.debugging
|
1348
|
+
@api_client.config.logger.debug "API called: EsxiVmApi#uninstall_nutanix_guest_tools\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1349
|
+
end
|
1350
|
+
return data, status_code, headers
|
1351
|
+
end
|
1352
|
+
|
1353
|
+
# Update NGT configuration for a VM
|
1354
|
+
# Updates the Nutanix Guest Tools configuration for a virtual machine.
|
1355
|
+
# @param ext_id [String] A globally unique identifier of a VM of type UUID.
|
1356
|
+
# @param if_match [String] The If-Match request header makes the request conditional. When not provided, the server will respond with an HTTP-428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow the successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP-412 (Precondition Failed) response will be returned.
|
1357
|
+
# @param ntnx_request_id [String] A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
|
1358
|
+
# @param vmm_v40_esxi_config_nutanix_guest_tools [VmmV40EsxiConfigNutanixGuestTools]
|
1359
|
+
# @param [Hash] opts the optional parameters
|
1360
|
+
# @return [UpdateNutanixGuestToolsById202Response]
|
1361
|
+
def update_nutanix_guest_tools_by_id(ext_id, if_match, ntnx_request_id, vmm_v40_esxi_config_nutanix_guest_tools, opts = {})
|
1362
|
+
data, _status_code, _headers = update_nutanix_guest_tools_by_id_with_http_info(ext_id, if_match, ntnx_request_id, vmm_v40_esxi_config_nutanix_guest_tools, opts)
|
1363
|
+
data
|
1364
|
+
end
|
1365
|
+
|
1366
|
+
# Update NGT configuration for a VM
|
1367
|
+
# Updates the Nutanix Guest Tools configuration for a virtual machine.
|
1368
|
+
# @param ext_id [String] A globally unique identifier of a VM of type UUID.
|
1369
|
+
# @param if_match [String] The If-Match request header makes the request conditional. When not provided, the server will respond with an HTTP-428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow the successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP-412 (Precondition Failed) response will be returned.
|
1370
|
+
# @param ntnx_request_id [String] A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
|
1371
|
+
# @param vmm_v40_esxi_config_nutanix_guest_tools [VmmV40EsxiConfigNutanixGuestTools]
|
1372
|
+
# @param [Hash] opts the optional parameters
|
1373
|
+
# @return [Array<(UpdateNutanixGuestToolsById202Response, Integer, Hash)>] UpdateNutanixGuestToolsById202Response data, response status code and response headers
|
1374
|
+
def update_nutanix_guest_tools_by_id_with_http_info(ext_id, if_match, ntnx_request_id, vmm_v40_esxi_config_nutanix_guest_tools, opts = {})
|
1375
|
+
if @api_client.config.debugging
|
1376
|
+
@api_client.config.logger.debug 'Calling API: EsxiVmApi.update_nutanix_guest_tools_by_id ...'
|
1377
|
+
end
|
1378
|
+
# verify the required parameter 'ext_id' is set
|
1379
|
+
if @api_client.config.client_side_validation && ext_id.nil?
|
1380
|
+
fail ArgumentError, "Missing the required parameter 'ext_id' when calling EsxiVmApi.update_nutanix_guest_tools_by_id"
|
1381
|
+
end
|
1382
|
+
pattern = Regexp.new(/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)
|
1383
|
+
if @api_client.config.client_side_validation && ext_id !~ pattern
|
1384
|
+
fail ArgumentError, "invalid value for 'ext_id' when calling EsxiVmApi.update_nutanix_guest_tools_by_id, must conform to the pattern #{pattern}."
|
1385
|
+
end
|
1386
|
+
|
1387
|
+
# verify the required parameter 'if_match' is set
|
1388
|
+
if @api_client.config.client_side_validation && if_match.nil?
|
1389
|
+
fail ArgumentError, "Missing the required parameter 'if_match' when calling EsxiVmApi.update_nutanix_guest_tools_by_id"
|
1390
|
+
end
|
1391
|
+
# verify the required parameter 'ntnx_request_id' is set
|
1392
|
+
if @api_client.config.client_side_validation && ntnx_request_id.nil?
|
1393
|
+
fail ArgumentError, "Missing the required parameter 'ntnx_request_id' when calling EsxiVmApi.update_nutanix_guest_tools_by_id"
|
1394
|
+
end
|
1395
|
+
# verify the required parameter 'vmm_v40_esxi_config_nutanix_guest_tools' is set
|
1396
|
+
if @api_client.config.client_side_validation && vmm_v40_esxi_config_nutanix_guest_tools.nil?
|
1397
|
+
fail ArgumentError, "Missing the required parameter 'vmm_v40_esxi_config_nutanix_guest_tools' when calling EsxiVmApi.update_nutanix_guest_tools_by_id"
|
1398
|
+
end
|
1399
|
+
# resource path
|
1400
|
+
local_var_path = '/vmm/v4.0/esxi/config/vms/{extId}/nutanix-guest-tools'.sub('{' + 'extId' + '}', CGI.escape(ext_id.to_s))
|
1401
|
+
|
1402
|
+
# query parameters
|
1403
|
+
query_params = opts[:query_params] || {}
|
1404
|
+
|
1405
|
+
# header parameters
|
1406
|
+
header_params = opts[:header_params] || {}
|
1407
|
+
# HTTP header 'Accept' (if needed)
|
1408
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
1409
|
+
# HTTP header 'Content-Type'
|
1410
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
1411
|
+
if !content_type.nil?
|
1412
|
+
header_params['Content-Type'] = content_type
|
1413
|
+
end
|
1414
|
+
header_params[:'If-Match'] = if_match
|
1415
|
+
header_params[:'NTNX-Request-Id'] = ntnx_request_id
|
1416
|
+
|
1417
|
+
# form parameters
|
1418
|
+
form_params = opts[:form_params] || {}
|
1419
|
+
|
1420
|
+
# http body (model)
|
1421
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(vmm_v40_esxi_config_nutanix_guest_tools)
|
1422
|
+
|
1423
|
+
# return_type
|
1424
|
+
return_type = opts[:debug_return_type] || 'UpdateNutanixGuestToolsById202Response'
|
1425
|
+
|
1426
|
+
# auth_names
|
1427
|
+
auth_names = opts[:debug_auth_names] || ['apiKeyAuthScheme', 'basicAuthScheme']
|
1428
|
+
|
1429
|
+
new_options = opts.merge(
|
1430
|
+
:operation => :"EsxiVmApi.update_nutanix_guest_tools_by_id",
|
1431
|
+
:header_params => header_params,
|
1432
|
+
:query_params => query_params,
|
1433
|
+
:form_params => form_params,
|
1434
|
+
:body => post_body,
|
1435
|
+
:auth_names => auth_names,
|
1436
|
+
:return_type => return_type
|
1437
|
+
)
|
1438
|
+
|
1439
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
1440
|
+
if @api_client.config.debugging
|
1441
|
+
@api_client.config.logger.debug "API called: EsxiVmApi#update_nutanix_guest_tools_by_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1442
|
+
end
|
1443
|
+
return data, status_code, headers
|
1444
|
+
end
|
1445
|
+
|
1446
|
+
# Upgrade NGT inside a VM
|
1447
|
+
# Trigger an in-guest upgrade of Nutanix Guest Tools.
|
1448
|
+
# @param ext_id [String] A globally unique identifier of a VM of type UUID.
|
1449
|
+
# @param if_match [String] The If-Match request header makes the request conditional. When not provided the server will respond with an HTTP 428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP 412 (Precondition Failed) response
|
1450
|
+
# @param ntnx_request_id [String] A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
|
1451
|
+
# @param vmm_v40_esxi_config_nutanix_guest_tools_upgrade_config [VmmV40EsxiConfigNutanixGuestToolsUpgradeConfig]
|
1452
|
+
# @param [Hash] opts the optional parameters
|
1453
|
+
# @return [UpgradeNutanixGuestTools202Response]
|
1454
|
+
def upgrade_nutanix_guest_tools(ext_id, if_match, ntnx_request_id, vmm_v40_esxi_config_nutanix_guest_tools_upgrade_config, opts = {})
|
1455
|
+
data, _status_code, _headers = upgrade_nutanix_guest_tools_with_http_info(ext_id, if_match, ntnx_request_id, vmm_v40_esxi_config_nutanix_guest_tools_upgrade_config, opts)
|
1456
|
+
data
|
1457
|
+
end
|
1458
|
+
|
1459
|
+
# Upgrade NGT inside a VM
|
1460
|
+
# Trigger an in-guest upgrade of Nutanix Guest Tools.
|
1461
|
+
# @param ext_id [String] A globally unique identifier of a VM of type UUID.
|
1462
|
+
# @param if_match [String] The If-Match request header makes the request conditional. When not provided the server will respond with an HTTP 428 (Precondition Required) response code indicating that the server requires the request to be conditional. The server will allow successful completion of PUT and PATCH operations, if the resource matches the ETag value returned to the response of a GET operation. If the conditional does not match, then an HTTP 412 (Precondition Failed) response
|
1463
|
+
# @param ntnx_request_id [String] A unique identifier that is associated with each request. The provided value must be opaque and preferably in Universal Unique Identifier (UUID) format. This identifier is also used as an idempotence token for safely retrying requests in case of network errors. All the supported Nutanix API clients add this auto-generated request identifier to each request.
|
1464
|
+
# @param vmm_v40_esxi_config_nutanix_guest_tools_upgrade_config [VmmV40EsxiConfigNutanixGuestToolsUpgradeConfig]
|
1465
|
+
# @param [Hash] opts the optional parameters
|
1466
|
+
# @return [Array<(UpgradeNutanixGuestTools202Response, Integer, Hash)>] UpgradeNutanixGuestTools202Response data, response status code and response headers
|
1467
|
+
def upgrade_nutanix_guest_tools_with_http_info(ext_id, if_match, ntnx_request_id, vmm_v40_esxi_config_nutanix_guest_tools_upgrade_config, opts = {})
|
1468
|
+
if @api_client.config.debugging
|
1469
|
+
@api_client.config.logger.debug 'Calling API: EsxiVmApi.upgrade_nutanix_guest_tools ...'
|
1470
|
+
end
|
1471
|
+
# verify the required parameter 'ext_id' is set
|
1472
|
+
if @api_client.config.client_side_validation && ext_id.nil?
|
1473
|
+
fail ArgumentError, "Missing the required parameter 'ext_id' when calling EsxiVmApi.upgrade_nutanix_guest_tools"
|
1474
|
+
end
|
1475
|
+
pattern = Regexp.new(/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/)
|
1476
|
+
if @api_client.config.client_side_validation && ext_id !~ pattern
|
1477
|
+
fail ArgumentError, "invalid value for 'ext_id' when calling EsxiVmApi.upgrade_nutanix_guest_tools, must conform to the pattern #{pattern}."
|
1478
|
+
end
|
1479
|
+
|
1480
|
+
# verify the required parameter 'if_match' is set
|
1481
|
+
if @api_client.config.client_side_validation && if_match.nil?
|
1482
|
+
fail ArgumentError, "Missing the required parameter 'if_match' when calling EsxiVmApi.upgrade_nutanix_guest_tools"
|
1483
|
+
end
|
1484
|
+
# verify the required parameter 'ntnx_request_id' is set
|
1485
|
+
if @api_client.config.client_side_validation && ntnx_request_id.nil?
|
1486
|
+
fail ArgumentError, "Missing the required parameter 'ntnx_request_id' when calling EsxiVmApi.upgrade_nutanix_guest_tools"
|
1487
|
+
end
|
1488
|
+
# verify the required parameter 'vmm_v40_esxi_config_nutanix_guest_tools_upgrade_config' is set
|
1489
|
+
if @api_client.config.client_side_validation && vmm_v40_esxi_config_nutanix_guest_tools_upgrade_config.nil?
|
1490
|
+
fail ArgumentError, "Missing the required parameter 'vmm_v40_esxi_config_nutanix_guest_tools_upgrade_config' when calling EsxiVmApi.upgrade_nutanix_guest_tools"
|
1491
|
+
end
|
1492
|
+
# resource path
|
1493
|
+
local_var_path = '/vmm/v4.0/esxi/config/vms/{extId}/nutanix-guest-tools/$actions/upgrade'.sub('{' + 'extId' + '}', CGI.escape(ext_id.to_s))
|
1494
|
+
|
1495
|
+
# query parameters
|
1496
|
+
query_params = opts[:query_params] || {}
|
1497
|
+
|
1498
|
+
# header parameters
|
1499
|
+
header_params = opts[:header_params] || {}
|
1500
|
+
# HTTP header 'Accept' (if needed)
|
1501
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
1502
|
+
# HTTP header 'Content-Type'
|
1503
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
1504
|
+
if !content_type.nil?
|
1505
|
+
header_params['Content-Type'] = content_type
|
1506
|
+
end
|
1507
|
+
header_params[:'If-Match'] = if_match
|
1508
|
+
header_params[:'NTNX-Request-Id'] = ntnx_request_id
|
1509
|
+
|
1510
|
+
# form parameters
|
1511
|
+
form_params = opts[:form_params] || {}
|
1512
|
+
|
1513
|
+
# http body (model)
|
1514
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(vmm_v40_esxi_config_nutanix_guest_tools_upgrade_config)
|
1515
|
+
|
1516
|
+
# return_type
|
1517
|
+
return_type = opts[:debug_return_type] || 'UpgradeNutanixGuestTools202Response'
|
1518
|
+
|
1519
|
+
# auth_names
|
1520
|
+
auth_names = opts[:debug_auth_names] || ['apiKeyAuthScheme', 'basicAuthScheme']
|
1521
|
+
|
1522
|
+
new_options = opts.merge(
|
1523
|
+
:operation => :"EsxiVmApi.upgrade_nutanix_guest_tools",
|
1524
|
+
:header_params => header_params,
|
1525
|
+
:query_params => query_params,
|
1526
|
+
:form_params => form_params,
|
1527
|
+
:body => post_body,
|
1528
|
+
:auth_names => auth_names,
|
1529
|
+
:return_type => return_type
|
1530
|
+
)
|
1531
|
+
|
1532
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1533
|
+
if @api_client.config.debugging
|
1534
|
+
@api_client.config.logger.debug "API called: EsxiVmApi#upgrade_nutanix_guest_tools\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1535
|
+
end
|
1536
|
+
return data, status_code, headers
|
1537
|
+
end
|
1538
|
+
end
|
1539
|
+
end
|