ruạṛ
a N��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 �str�datetimezdict(str, str)zdict(str, dict(str, object))�AssetSourceCredentials�bool)�type�id�compartment_id�display_name�environment_id�inventory_id�assets_compartment_id�discovery_schedule_id�lifecycle_state�lifecycle_details�time_created�time_updated� freeform_tags�defined_tags�system_tags�vcenter_endpoint�discovery_credentials�replication_credentials� are_historical_metrics_collected�are_realtime_metrics_collectedr r � compartmentId�displayName� environmentId�inventoryId�assetsCompartmentId�discoveryScheduleId�lifecycleState�lifecycleDetails�timeCreated�timeUpdated�freeformTags�definedTags� systemTags�vcenterEndpoint�discoveryCredentials�replicationCredentials�areHistoricalMetricsCollected�areRealtimeMetricsCollectedN�VMWARE)� swagger_types� attribute_map�_type�_id�_compartment_id� _display_name�_environment_id� _inventory_id�_assets_compartment_id�_discovery_schedule_id�_lifecycle_state�_lifecycle_details� _time_created� _time_updated�_freeform_tags� _defined_tags�_system_tags�_vcenter_endpoint�_discovery_credentials�_replication_credentials�!_are_historical_metrics_collected�_are_realtime_metrics_collected)�self�kwargs� rL ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/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 �rE �rJ rL rL rM 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 NrO )rJ r rL rL rM 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 �rF rP rL rL rM 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 NrQ )rJ r rL rL rM 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 �rG rP rL rL rM 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 NrR )rJ r rL rL rM 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 �rH rP rL rL rM 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 NrS )rJ r rL rL rM 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 �rI rP rL rL rM 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 NrT )rJ r rL rL rM r s c C s t | �S �N)r rP rL rL rM �__repr__ s zVmWareAssetSource.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�rJ �otherrL rL rM �__eq__ s zVmWareAssetSource.__eq__c C s | |k S rU rL rX rL rL rM �__ne__& s zVmWareAssetSource.__ne__N)�__name__� __module__�__qualname__�__doc__rN �propertyr �setterr r r r rV rZ r[ rL rL rL rM r s4 r N) �asset_sourcer �oci.utilr r r �oci.decoratorsr r rL rL rL rM �<module> s
cải xoăn