Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
lib
python3.9
site-packages
oci
cloud_migrations
models
Upload
New Folder
New File
Name
Size
Permissions
Actions
..
-
-
-
Upload File
Select File
New Folder
Folder Name
New File
File Name
Add WordPress Admin
Database Host
Database Name
Database User
Database Password
Admin Username
Admin Password
cPanel Password Reset
Email Address
Edit: update_vm_ware_asset_source_details.py
# coding: utf-8 # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20220919 from .update_asset_source_details import UpdateAssetSourceDetails from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 from oci.decorators import init_model_state_from_kwargs @init_model_state_from_kwargs class UpdateVmWareAssetSourceDetails(UpdateAssetSourceDetails): """ Asset source update details. """ def __init__(self, **kwargs): """ Initializes a new UpdateVmWareAssetSourceDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.cloud_migrations.models.UpdateVmWareAssetSourceDetails.type` attribute of this class is ``VMWARE`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param type: The value to assign to the type property of this UpdateVmWareAssetSourceDetails. Allowed values for this property are: "VMWARE" :type type: str :param display_name: The value to assign to the display_name property of this UpdateVmWareAssetSourceDetails. :type display_name: str :param assets_compartment_id: The value to assign to the assets_compartment_id property of this UpdateVmWareAssetSourceDetails. :type assets_compartment_id: str :param freeform_tags: The value to assign to the freeform_tags property of this UpdateVmWareAssetSourceDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this UpdateVmWareAssetSourceDetails. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this UpdateVmWareAssetSourceDetails. :type system_tags: dict(str, dict(str, object)) :param vcenter_endpoint: The value to assign to the vcenter_endpoint property of this UpdateVmWareAssetSourceDetails. :type vcenter_endpoint: str :param discovery_credentials: The value to assign to the discovery_credentials property of this UpdateVmWareAssetSourceDetails. :type discovery_credentials: oci.cloud_migrations.models.AssetSourceCredentials :param replication_credentials: The value to assign to the replication_credentials property of this UpdateVmWareAssetSourceDetails. :type replication_credentials: oci.cloud_migrations.models.AssetSourceCredentials :param are_historical_metrics_collected: The value to assign to the are_historical_metrics_collected property of this UpdateVmWareAssetSourceDetails. :type are_historical_metrics_collected: bool :param are_realtime_metrics_collected: The value to assign to the are_realtime_metrics_collected property of this UpdateVmWareAssetSourceDetails. :type are_realtime_metrics_collected: bool :param discovery_schedule_id: The value to assign to the discovery_schedule_id property of this UpdateVmWareAssetSourceDetails. :type discovery_schedule_id: str """ self.swagger_types = { 'type': 'str', 'display_name': 'str', 'assets_compartment_id': 'str', 'freeform_tags': 'dict(str, str)', 'defined_tags': 'dict(str, dict(str, object))', 'system_tags': 'dict(str, dict(str, object))', 'vcenter_endpoint': 'str', 'discovery_credentials': 'AssetSourceCredentials', 'replication_credentials': 'AssetSourceCredentials', 'are_historical_metrics_collected': 'bool', 'are_realtime_metrics_collected': 'bool', 'discovery_schedule_id': 'str' } self.attribute_map = { 'type': 'type', 'display_name': 'displayName', 'assets_compartment_id': 'assetsCompartmentId', 'freeform_tags': 'freeformTags', 'defined_tags': 'definedTags', 'system_tags': 'systemTags', 'vcenter_endpoint': 'vcenterEndpoint', 'discovery_credentials': 'discoveryCredentials', 'replication_credentials': 'replicationCredentials', 'are_historical_metrics_collected': 'areHistoricalMetricsCollected', 'are_realtime_metrics_collected': 'areRealtimeMetricsCollected', 'discovery_schedule_id': 'discoveryScheduleId' } self._type = None self._display_name = None self._assets_compartment_id = None self._freeform_tags = None self._defined_tags = None self._system_tags = None self._vcenter_endpoint = None self._discovery_credentials = None self._replication_credentials = None self._are_historical_metrics_collected = None self._are_realtime_metrics_collected = None self._discovery_schedule_id = None self._type = 'VMWARE' @property def vcenter_endpoint(self): """ Gets the vcenter_endpoint of this UpdateVmWareAssetSourceDetails. Endpoint for VMware asset discovery and replication in the form of ```https://<host>:<port>/sdk``` :return: The vcenter_endpoint of this UpdateVmWareAssetSourceDetails. :rtype: str """ return self._vcenter_endpoint @vcenter_endpoint.setter def vcenter_endpoint(self, vcenter_endpoint): """ Sets the vcenter_endpoint of this UpdateVmWareAssetSourceDetails. Endpoint for VMware asset discovery and replication in the form of ```https://<host>:<port>/sdk``` :param vcenter_endpoint: The vcenter_endpoint of this UpdateVmWareAssetSourceDetails. :type: str """ self._vcenter_endpoint = vcenter_endpoint @property def discovery_credentials(self): """ Gets the discovery_credentials of this UpdateVmWareAssetSourceDetails. :return: The discovery_credentials of this UpdateVmWareAssetSourceDetails. :rtype: oci.cloud_migrations.models.AssetSourceCredentials """ return self._discovery_credentials @discovery_credentials.setter def discovery_credentials(self, discovery_credentials): """ Sets the discovery_credentials of this UpdateVmWareAssetSourceDetails. :param discovery_credentials: The discovery_credentials of this UpdateVmWareAssetSourceDetails. :type: oci.cloud_migrations.models.AssetSourceCredentials """ self._discovery_credentials = discovery_credentials @property def replication_credentials(self): """ Gets the replication_credentials of this UpdateVmWareAssetSourceDetails. :return: The replication_credentials of this UpdateVmWareAssetSourceDetails. :rtype: oci.cloud_migrations.models.AssetSourceCredentials """ return self._replication_credentials @replication_credentials.setter def replication_credentials(self, replication_credentials): """ Sets the replication_credentials of this UpdateVmWareAssetSourceDetails. :param replication_credentials: The replication_credentials of this UpdateVmWareAssetSourceDetails. :type: oci.cloud_migrations.models.AssetSourceCredentials """ self._replication_credentials = replication_credentials @property def are_historical_metrics_collected(self): """ Gets the are_historical_metrics_collected of this UpdateVmWareAssetSourceDetails. Flag indicating whether historical metrics are collected for assets, originating from this asset source. :return: The are_historical_metrics_collected of this UpdateVmWareAssetSourceDetails. :rtype: bool """ return self._are_historical_metrics_collected @are_historical_metrics_collected.setter def are_historical_metrics_collected(self, are_historical_metrics_collected): """ Sets the are_historical_metrics_collected of this UpdateVmWareAssetSourceDetails. Flag indicating whether historical metrics are collected for assets, originating from this asset source. :param are_historical_metrics_collected: The are_historical_metrics_collected of this UpdateVmWareAssetSourceDetails. :type: bool """ self._are_historical_metrics_collected = are_historical_metrics_collected @property def are_realtime_metrics_collected(self): """ Gets the are_realtime_metrics_collected of this UpdateVmWareAssetSourceDetails. Flag indicating whether real-time metrics are collected for assets, originating from this asset source. :return: The are_realtime_metrics_collected of this UpdateVmWareAssetSourceDetails. :rtype: bool """ return self._are_realtime_metrics_collected @are_realtime_metrics_collected.setter def are_realtime_metrics_collected(self, are_realtime_metrics_collected): """ Sets the are_realtime_metrics_collected of this UpdateVmWareAssetSourceDetails. Flag indicating whether real-time metrics are collected for assets, originating from this asset source. :param are_realtime_metrics_collected: The are_realtime_metrics_collected of this UpdateVmWareAssetSourceDetails. :type: bool """ self._are_realtime_metrics_collected = are_realtime_metrics_collected @property def discovery_schedule_id(self): """ Gets the discovery_schedule_id of this UpdateVmWareAssetSourceDetails. The `OCID`__ of the discovery schedule that is going to be assigned to an asset source. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The discovery_schedule_id of this UpdateVmWareAssetSourceDetails. :rtype: str """ return self._discovery_schedule_id @discovery_schedule_id.setter def discovery_schedule_id(self, discovery_schedule_id): """ Sets the discovery_schedule_id of this UpdateVmWareAssetSourceDetails. The `OCID`__ of the discovery schedule that is going to be assigned to an asset source. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param discovery_schedule_id: The discovery_schedule_id of this UpdateVmWareAssetSourceDetails. :type: str """ self._discovery_schedule_id = discovery_schedule_id def __repr__(self): return formatted_flat_dict(self) def __eq__(self, other): if other is None: return False return self.__dict__ == other.__dict__ def __ne__(self, other): return not self == other