Package: assisted-service-client
# assisted-service-clientAssisted installationThis Python package is automatically generated by theSwagger Codegenproject:API version: 1.0.0Package version: 1.0.0Build package: io.swagger.codegen.languages.PythonClientCodegenRequirements.Python 2.7 and 3.4+Installation & Usagepip installIf the python package is hosted on Github, you can install directly from Githubpipinstallassisted-service-client(you may need to runpipwith root permission:sudo pip install assisted-service-client)Then import the package:importassisted_service_clientSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:importassisted_service_clientGetting StartedPlease follow theinstallation procedureand then run the following:from__future__importprint_functionimporttimeimportassisted_service_clientfromassisted_service_client.restimportApiExceptionfrompprintimportpprint# Configure API key authorization: urlAuthconfiguration=assisted_service_client.Configuration()configuration.api_key['api_key']='YOUR_API_KEY'# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['api_key'] = 'Bearer'# Configure API key authorization: userAuthconfiguration=assisted_service_client.Configuration()configuration.api_key['Authorization']='YOUR_API_KEY'# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['Authorization'] = 'Bearer'# create an instance of the API classapi_instance=assisted_service_client.EventsApi(assisted_service_client.ApiClient(configuration))cluster_id='cluster_id_example'# str | The cluster to return events for. (optional)host_id='host_id_example'# str | A host in the specified cluster to return events for (DEPRECATED. Use `host_ids` instead). (optional)host_ids=['host_ids_example']# list[str] | Hosts in the specified cluster to return events for. (optional)infra_env_id='infra_env_id_example'# str | The infra-env to return events for. (optional)limit=56# int | The maximum number of records to retrieve. (optional)offset=56# int | Number of records to skip before starting to return the records. (optional)order='ascending'# str | Order by event_time of events retrieved. (optional) (default to ascending)severities=['severities_example']# list[str] | Retrieved events severities. (optional)message='message_example'# str | Retrieved events message pattern. (optional)deleted_hosts=true# bool | Deleted hosts flag. (optional)cluster_level=true# bool | Cluster level events flag. (optional)categories=['categories_example']# list[str] | A comma-separated list of event categories. (optional)try:api_response=api_instance.v2_list_events(cluster_id=cluster_id,host_id=host_id,host_ids=host_ids,infra_env_id=infra_env_id,limit=limit,offset=offset,order=order,severities=severities,message=message,deleted_hosts=deleted_hosts,cluster_level=cluster_level,categories=categories)pprint(api_response)exceptApiExceptionase:print("Exception when calling EventsApi->v2_list_events:%s"% e)Documentation for API EndpointsAll URIs are relative tohttp://api.openshift.com/api/assisted-installClassMethodHTTP requestDescriptionEventsApiv2_list_eventsGET/v2/eventsEventsApiv2_trigger_eventPOST/v2/eventsInstallerApibind_hostPOST/v2/infra-envs/{infra_env_id}/hosts/{host_id}/actions/bindInstallerApideregister_infra_envDELETE/v2/infra-envs/{infra_env_id}InstallerApidownload_minimal_initrdGET/v2/infra-envs/{infra_env_id}/downloads/minimal-initrdInstallerApiget_cluster_supported_platformsGET/v2/clusters/{cluster_id}/supported-platformsInstallerApiget_infra_envGET/v2/infra-envs/{infra_env_id}InstallerApiget_infra_env_download_urlGET/v2/infra-envs/{infra_env_id}/downloads/image-urlInstallerApiget_infra_env_presigned_file_urlGET/v2/infra-envs/{infra_env_id}/downloads/files-presignedInstallerApiget_supported_architecturesGET/v2/support-levels/architecturesInstallerApiget_supported_featuresGET/v2/support-levels/featuresInstallerApilist_cluster_hostsGET/v2/clusters/{cluster_id}/hostsInstallerApilist_infra_envsGET/v2/infra-envsInstallerApiregenerate_infra_env_signing_keyPOST/v2/infra-envs/{infra_env_id}/regenerate-signing-keyInstallerApiregister_infra_envPOST/v2/infra-envsInstallerApitransform_cluster_to_adding_hostsPOST/v2/clusters/{cluster_id}/actions/allow-add-hostsInstallerApitransform_cluster_to_day2POST/v2/clusters/{cluster_id}/actions/allow-add-workersInstallerApiunbind_hostPOST/v2/infra-envs/{infra_env_id}/hosts/{host_id}/actions/unbindInstallerApiupdate_infra_envPATCH/v2/infra-envs/{infra_env_id}InstallerApiv2_cancel_installationPOST/v2/clusters/{cluster_id}/actions/cancelInstallerApiv2_complete_installationPOST/v2/clusters/{cluster_id}/actions/complete-installationInstallerApiv2_deregister_clusterDELETE/v2/clusters/{cluster_id}InstallerApiv2_deregister_hostDELETE/v2/infra-envs/{infra_env_id}/hosts/{host_id}InstallerApiv2_download_cluster_credentialsGET/v2/clusters/{cluster_id}/downloads/credentialsInstallerApiv2_download_cluster_filesGET/v2/clusters/{cluster_id}/downloads/filesInstallerApiv2_download_cluster_logsGET/v2/clusters/{cluster_id}/logsInstallerApiv2_download_host_ignitionGET/v2/infra-env/{infra_env_id}/hosts/{host_id}/downloads/ignitionInstallerApiv2_download_infra_env_filesGET/v2/infra-envs/{infra_env_id}/downloads/filesInstallerApiv2_get_clusterGET/v2/clusters/{cluster_id}InstallerApiv2_get_cluster_default_configGET/v2/clusters/default-configInstallerApiv2_get_cluster_install_configGET/v2/clusters/{cluster_id}/install-configInstallerApiv2_get_cluster_ui_settingsGET/v2/clusters/{cluster_id}/ui-settingsInstallerApiv2_get_credentialsGET/v2/clusters/{cluster_id}/credentialsInstallerApiv2_get_hostGET/v2/infra-envs/{infra_env_id}/hosts/{host_id}InstallerApiv2_get_host_ignitionGET/v2/infra-envs/{infra_env_id}/hosts/{host_id}/ignitionInstallerApiv2_get_ignored_validationsGET/v2/clusters/{cluster_id}/ignored-validationsInstallerApiv2_get_next_stepsGET/v2/infra-envs/{infra_env_id}/hosts/{host_id}/instructionsInstallerApiv2_get_preflight_requirementsGET/v2/clusters/{cluster_id}/preflight-requirementsInstallerApiv2_get_presigned_for_cluster_credentialsGET/v2/clusters/{cluster_id}/downloads/credentials-presignedInstallerApiv2_get_presigned_for_cluster_filesGET/v2/clusters/{cluster_id}/downloads/files-presignedInstallerApiv2_import_clusterPOST/v2/clusters/importInstallerApiv2_install_clusterPOST/v2/clusters/{cluster_id}/actions/installInstallerApiv2_install_hostPOST/v2/infra-envs/{infra_env_id}/hosts/{host_id}/actions/installInstallerApiv2_list_clustersGET/v2/clustersInstallerApiv2_list_hostsGET/v2/infra-envs/{infra_env_id}/hostsInstallerApiv2_list_of_cluster_operatorsGET/v2/clusters/{cluster_id}/monitored-operatorsInstallerApiv2_post_step_replyPOST/v2/infra-envs/{infra_env_id}/hosts/{host_id}/instructionsInstallerApiv2_register_clusterPOST/v2/clustersInstallerApiv2_register_hostPOST/v2/infra-envs/{infra_env_id}/hostsInstallerApiv2_report_monitored_operator_statusPUT/v2/clusters/{cluster_id}/monitored-operatorsInstallerApiv2_reset_clusterPOST/v2/clusters/{cluster_id}/actions/resetInstallerApiv2_reset_hostPOST/v2/infra-envs/{infra_env_id}/hosts/{host_id}/actions/resetInstallerApiv2_reset_host_validationPATCH/v2/infra-envs/{infra_env_id}/hosts/{host_id}/actions/reset-validation/{validation_id}Reset failed host validation.InstallerApiv2_set_ignored_validationsPUT/v2/clusters/{cluster_id}/ignored-validationsInstallerApiv2_update_clusterPATCH/v2/clusters/{cluster_id}InstallerApiv2_update_cluster_finalizing_progressPUT/v2/clusters/{cluster_id}/progressInstallerApiv2_update_cluster_install_configPATCH/v2/clusters/{cluster_id}/install-configInstallerApiv2_update_cluster_logs_progressPUT/v2/clusters/{cluster_id}/logs-progressInstallerApiv2_update_cluster_ui_settingsPUT/v2/clusters/{cluster_id}/ui-settingsInstallerApiv2_update_hostPATCH/v2/infra-envs/{infra_env_id}/hosts/{host_id}InstallerApiv2_update_host_ignitionPATCH/v2/infra-envs/{infra_env_id}/hosts/{host_id}/ignitionInstallerApiv2_update_host_install_progressPUT/v2/infra-envs/{infra_env_id}/hosts/{host_id}/progressInstallerApiv2_update_host_installer_argsPATCH/v2/infra-envs/{infra_env_id}/hosts/{host_id}/installer-argsInstallerApiv2_update_host_logs_progressPUT/v2/infra-envs/{infra_env_id}/hosts/{host_id}/logs-progressInstallerApiv2_upload_cluster_ingress_certPOST/v2/clusters/{cluster_id}/uploads/ingress-certInstallerApiv2_upload_logsPOST/v2/clusters/{cluster_id}/logsManagedDomainsApiv2_list_managed_domainsGET/v2/domainsManifestsApiv2_create_cluster_manifestPOST/v2/clusters/{cluster_id}/manifestsManifestsApiv2_delete_cluster_manifestDELETE/v2/clusters/{cluster_id}/manifestsManifestsApiv2_download_cluster_manifestGET/v2/clusters/{cluster_id}/manifests/filesManifestsApiv2_list_cluster_manifestsGET/v2/clusters/{cluster_id}/manifestsManifestsApiv2_update_cluster_manifestPATCH/v2/clusters/{cluster_id}/manifestsOperatorsApiv2_list_of_cluster_operatorsGET/v2/clusters/{cluster_id}/monitored-operatorsOperatorsApiv2_list_operator_propertiesGET/v2/supported-operators/{operator_name}OperatorsApiv2_list_supported_operatorsGET/v2/supported-operatorsOperatorsApiv2_report_monitored_operator_statusPUT/v2/clusters/{cluster_id}/monitored-operatorsVersionsApiv2_list_component_versionsGET/v2/component-versionsVersionsApiv2_list_release_sourcesGET/v2/release-sourcesVersionsApiv2_list_supported_openshift_versionsGET/v2/openshift-versionsDocumentation For ModelsApiVipApiVipConnectivityAdditionalRequestHeaderApiVipConnectivityRequestApiVipConnectivityResponseArchitectureSupportLevelIdBindHostParamsBootClusterClusterCreateParamsClusterDefaultConfigClusterFinalizingProgressClusterHostRequirementsClusterHostRequirementsDetailsClusterHostRequirementsListClusterListClusterNetworkClusterProgressInfoClusterValidationIdCompletionParamsConnectivityCheckHostConnectivityCheckNicConnectivityCheckParamsConnectivityRemoteHostConnectivityReportContainerImageAvailabilityContainerImageAvailabilityRequestContainerImageAvailabilityResponseContainerImageAvailabilityResultCpuCreateManifestParamsCredentialsDhcpAllocationRequestDhcpAllocationResponseDiskDiskConfigParamsDiskEncryptionDiskInfoDiskInstallationEligibilityDiskRoleDiskSkipFormattingParamsDiskSpeedDiskSpeedCheckRequestDiskSpeedCheckResponseDomainResolutionRequestDomainResolutionResponseDomainResolutionResponseResolutionsDownloadBootArtifactsRequestDriveTypeErrorEventEventListFeatureSupportLevelIdFinalizingStageFreeAddressesListFreeAddressesRequestFreeNetworkAddressesFreeNetworksAddressesGpuHostHostCreateParamsHostIgnitionParamsHostListHostNetworkHostProgressHostProgressInfoHostRegistrationResponseHostRegistrationResponseNextStepRunnerCommandHostRoleHostRoleUpdateParamsHostStageHostStaticNetworkConfigHostTypeHardwareRequirementsHostTypeHardwareRequirementsWrapperHostUpdateParamsHostValidationIdIgnitionEndpointIgnitionEndpointHttpHeadersParamsIgnoredValidationsImageCreateParamsImageInfoImageTypeImportClusterParamsInfraEnvInfraEnvCreateParamsInfraEnvListInfraEnvUpdateParamsInfraErrorIngressCertParamsIngressVipInlineResponse200InlineResponse2001InstallCmdRequestInstallerArgsParamsInterfaceInventoryIoPerfIpKernelArgumentKernelArgumentsL2ConnectivityL3ConnectivityLastInstallationPreparationListManagedDomainsListManifestsListVersionsLogsGatherCmdRequestLogsProgressParamsLogsStateLogsTypeMacInterfaceMapMacInterfaceMapInnerMachineNetworkManagedDomainManifestMemoryMemoryMethodMonitoredOperatorMonitoredOperatorsListNextStepCmdRequestNodeLabelParamsNtpSourceNtpSynchronizationRequestNtpSynchronizationResponseOpenshiftVersionOpenshiftVersionsOperatorCreateParamsOperatorHardwareRequirementsOperatorHostRequirementsOperatorMonitorReportOperatorPropertiesOperatorPropertyOperatorStatusOperatorTypeOsImageOsImagesPlatformPlatformExternalPlatformTypePreflightHardwareRequirementsPresignedUrlProxyRebootForReclaimRequestReleaseChannelReleaseImageReleaseImagesReleaseSourceReleaseSourcesRouteServiceNetworkSourceStateStepStepReplyStepTypeStepsStepsReplySubnetSupportLevelSupportLevelsSystemVendorTangConnectivityRequestTangConnectivityResponseTangConnectivityResponseSignaturesTangConnectivityResponseTangServerResponseUpdateManifestParamsUpgradeAgentRequestUpgradeAgentResponseUpgradeAgentResultUpgradeChannelUsageV2ClusterUpdateParamsVerifiedVipVerifyVipVerifyVipsRequestVerifyVipsResponseVersionedHostRequirementsVersionsVipTypeVipVerificationDocumentation For AuthorizationagentAuthType: API keyAPI key parameter name: X-Secret-KeyLocation: HTTP headerimageAuthType: API keyAPI key parameter name: Image-TokenLocation: HTTP headerimageURLAuthType: API keyAPI key parameter name: image_tokenLocation: URL query stringurlAuthType: API keyAPI key parameter name: api_keyLocation: URL query stringuserAuthType: API keyAPI key parameter name: AuthorizationLocation: HTTP headerAuthor