📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
cloud_migrations
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/cloud_migrations/models/__pycache__
💾
Free:
45.4 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: vm_ware_asset_source.cpython-39.pyc
a ���f/ � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�AssetSource� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zdd� Zdd� Z dd� ZdS )�VmWareAssetSourcez) Description of an asset source. c K s� ddddddddddddddddddddd�| _ dd d ddd ddddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _d| _d| _dS )ap Initializes a new VmWareAssetSource object with values from keyword arguments. The default value of the :py:attr:`~oci.cloud_migrations.models.VmWareAssetSource.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 VmWareAssetSource. Allowed values for this property are: "VMWARE" :type type: str :param id: The value to assign to the id property of this VmWareAssetSource. :type id: str :param compartment_id: The value to assign to the compartment_id property of this VmWareAssetSource. :type compartment_id: str :param display_name: The value to assign to the display_name property of this VmWareAssetSource. :type display_name: str :param environment_id: The value to assign to the environment_id property of this VmWareAssetSource. :type environment_id: str :param inventory_id: The value to assign to the inventory_id property of this VmWareAssetSource. :type inventory_id: str :param assets_compartment_id: The value to assign to the assets_compartment_id property of this VmWareAssetSource. :type assets_compartment_id: str :param discovery_schedule_id: The value to assign to the discovery_schedule_id property of this VmWareAssetSource. :type discovery_schedule_id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this VmWareAssetSource. Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "UPDATING", "NEEDS_ATTENTION" :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this VmWareAssetSource. :type lifecycle_details: str :param time_created: The value to assign to the time_created property of this VmWareAssetSource. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this VmWareAssetSource. :type time_updated: datetime :param freeform_tags: The value to assign to the freeform_tags property of this VmWareAssetSource. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this VmWareAssetSource. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this VmWareAssetSource. :type system_tags: dict(str, dict(str, object)) :param vcenter_endpoint: The value to assign to the vcenter_endpoint property of this VmWareAssetSource. :type vcenter_endpoint: str :param discovery_credentials: The value to assign to the discovery_credentials property of this VmWareAssetSource. :type discovery_credentials: oci.cloud_migrations.models.AssetSourceCredentials :param replication_credentials: The value to assign to the replication_credentials property of this VmWareAssetSource. :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 VmWareAssetSource. :type are_historical_metrics_collected: bool :param are_realtime_metrics_collected: The value to assign to the are_realtime_metrics_collected property of this VmWareAssetSource. :type are_realtime_metrics_collected: bool �strZdatetimezdict(str, str)zdict(str, dict(str, object))ZAssetSourceCredentials�bool)�type�idZcompartment_idZdisplay_nameZenvironment_idZinventory_idZassets_compartment_idZdiscovery_schedule_idZlifecycle_stateZlifecycle_detailsZtime_createdZtime_updatedZ freeform_tagsZdefined_tagsZsystem_tags�vcenter_endpoint�discovery_credentials�replication_credentials� are_historical_metrics_collected�are_realtime_metrics_collectedr r Z compartmentIdZdisplayNameZ environmentIdZinventoryIdZassetsCompartmentIdZdiscoveryScheduleIdZlifecycleStateZlifecycleDetailsZtimeCreatedZtimeUpdatedZfreeformTagsZdefinedTagsZ systemTagsZvcenterEndpointZdiscoveryCredentialsZreplicationCredentialsZareHistoricalMetricsCollectedZareRealtimeMetricsCollectedNZVMWARE)Z swagger_typesZ attribute_mapZ_typeZ_idZ_compartment_idZ _display_nameZ_environment_idZ _inventory_idZ_assets_compartment_idZ_discovery_schedule_idZ_lifecycle_stateZ_lifecycle_detailsZ _time_createdZ _time_updatedZ_freeform_tagsZ _defined_tagsZ_system_tags�_vcenter_endpoint�_discovery_credentials�_replication_credentials�!_are_historical_metrics_collected�_are_realtime_metrics_collected)�self�kwargs� r �T/usr/lib/python3.9/site-packages/oci/cloud_migrations/models/vm_ware_asset_source.py�__init__ s~ Z��zVmWareAssetSource.__init__c C s | j S )a **[Required]** Gets the vcenter_endpoint of this VmWareAssetSource. Endpoint for VMware asset discovery and replication in the form of ```https://<host>:<port>/sdk``` :return: The vcenter_endpoint of this VmWareAssetSource. :rtype: str �r �r r r r r � s z"VmWareAssetSource.vcenter_endpointc C s || _ dS )a Sets the vcenter_endpoint of this VmWareAssetSource. Endpoint for VMware asset discovery and replication in the form of ```https://<host>:<port>/sdk``` :param vcenter_endpoint: The vcenter_endpoint of this VmWareAssetSource. :type: str Nr )r r r r r r � s c C s | j S )z� **[Required]** Gets the discovery_credentials of this VmWareAssetSource. :return: The discovery_credentials of this VmWareAssetSource. :rtype: oci.cloud_migrations.models.AssetSourceCredentials �r r r r r r � s z'VmWareAssetSource.discovery_credentialsc C s || _ dS )z� Sets the discovery_credentials of this VmWareAssetSource. :param discovery_credentials: The discovery_credentials of this VmWareAssetSource. :type: oci.cloud_migrations.models.AssetSourceCredentials Nr )r r r r r r � s c C s | j S )z� Gets the replication_credentials of this VmWareAssetSource. :return: The replication_credentials of this VmWareAssetSource. :rtype: oci.cloud_migrations.models.AssetSourceCredentials �r r r r r r � s z)VmWareAssetSource.replication_credentialsc C s || _ dS )z� Sets the replication_credentials of this VmWareAssetSource. :param replication_credentials: The replication_credentials of this VmWareAssetSource. :type: oci.cloud_migrations.models.AssetSourceCredentials Nr )r r r r r r � s c C s | j S )a/ Gets the are_historical_metrics_collected of this VmWareAssetSource. Flag indicating whether historical metrics are collected for assets, originating from this asset source. :return: The are_historical_metrics_collected of this VmWareAssetSource. :rtype: bool �r r r r r r � s z2VmWareAssetSource.are_historical_metrics_collectedc C s || _ dS )aN Sets the are_historical_metrics_collected of this VmWareAssetSource. 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 VmWareAssetSource. :type: bool Nr )r r r r r r � s c C s | j S )a* Gets the are_realtime_metrics_collected of this VmWareAssetSource. Flag indicating whether real-time metrics are collected for assets, originating from this asset source. :return: The are_realtime_metrics_collected of this VmWareAssetSource. :rtype: bool �r r r r r r s z0VmWareAssetSource.are_realtime_metrics_collectedc C s || _ dS )aG Sets the are_realtime_metrics_collected of this VmWareAssetSource. 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 VmWareAssetSource. :type: bool Nr! )r r r r r r s c C s t | �S �N)r r r r r �__repr__ s zVmWareAssetSource.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__" s zVmWareAssetSource.__eq__c C s | |k S r"