Server IP : 103.119.228.120 / Your IP : 18.188.13.127 Web Server : Apache System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : nobody ( 99) PHP Version : 5.6.40 Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/local/ssl/lib/mysqlsh/lib/python3.9/site-packages/oci/core/models/ |
Upload File : |
# 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: 20160918 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 InventoryVcnSummary(object): """ Provides the summary of a VCN's IP Inventory data under specified compartments. """ #: A constant which can be used with the resource_type property of a InventoryVcnSummary. #: This constant has a value of "VCN" RESOURCE_TYPE_VCN = "VCN" def __init__(self, **kwargs): """ Initializes a new InventoryVcnSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param vcn_id: The value to assign to the vcn_id property of this InventoryVcnSummary. :type vcn_id: str :param vcn_name: The value to assign to the vcn_name property of this InventoryVcnSummary. :type vcn_name: str :param resource_type: The value to assign to the resource_type property of this InventoryVcnSummary. Allowed values for this property are: "VCN", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type resource_type: str :param inventory_vcn_cidr_block_collection: The value to assign to the inventory_vcn_cidr_block_collection property of this InventoryVcnSummary. :type inventory_vcn_cidr_block_collection: list[oci.core.models.InventoryVcnCidrBlockSummary] :param dns_domain_name: The value to assign to the dns_domain_name property of this InventoryVcnSummary. :type dns_domain_name: str :param region: The value to assign to the region property of this InventoryVcnSummary. :type region: str :param compartment_id: The value to assign to the compartment_id property of this InventoryVcnSummary. :type compartment_id: str :param inventory_subnetcollection: The value to assign to the inventory_subnetcollection property of this InventoryVcnSummary. :type inventory_subnetcollection: list[oci.core.models.InventorySubnetSummary] """ self.swagger_types = { 'vcn_id': 'str', 'vcn_name': 'str', 'resource_type': 'str', 'inventory_vcn_cidr_block_collection': 'list[InventoryVcnCidrBlockSummary]', 'dns_domain_name': 'str', 'region': 'str', 'compartment_id': 'str', 'inventory_subnetcollection': 'list[InventorySubnetSummary]' } self.attribute_map = { 'vcn_id': 'vcnId', 'vcn_name': 'vcnName', 'resource_type': 'resourceType', 'inventory_vcn_cidr_block_collection': 'inventoryVcnCidrBlockCollection', 'dns_domain_name': 'dnsDomainName', 'region': 'region', 'compartment_id': 'compartmentId', 'inventory_subnetcollection': 'inventorySubnetcollection' } self._vcn_id = None self._vcn_name = None self._resource_type = None self._inventory_vcn_cidr_block_collection = None self._dns_domain_name = None self._region = None self._compartment_id = None self._inventory_subnetcollection = None @property def vcn_id(self): """ Gets the vcn_id of this InventoryVcnSummary. The `OCID`__ of the VCN . __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The vcn_id of this InventoryVcnSummary. :rtype: str """ return self._vcn_id @vcn_id.setter def vcn_id(self, vcn_id): """ Sets the vcn_id of this InventoryVcnSummary. The `OCID`__ of the VCN . __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param vcn_id: The vcn_id of this InventoryVcnSummary. :type: str """ self._vcn_id = vcn_id @property def vcn_name(self): """ Gets the vcn_name of this InventoryVcnSummary. Name of the VCN. :return: The vcn_name of this InventoryVcnSummary. :rtype: str """ return self._vcn_name @vcn_name.setter def vcn_name(self, vcn_name): """ Sets the vcn_name of this InventoryVcnSummary. Name of the VCN. :param vcn_name: The vcn_name of this InventoryVcnSummary. :type: str """ self._vcn_name = vcn_name @property def resource_type(self): """ Gets the resource_type of this InventoryVcnSummary. Resource types of the VCN. Allowed values for this property are: "VCN", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The resource_type of this InventoryVcnSummary. :rtype: str """ return self._resource_type @resource_type.setter def resource_type(self, resource_type): """ Sets the resource_type of this InventoryVcnSummary. Resource types of the VCN. :param resource_type: The resource_type of this InventoryVcnSummary. :type: str """ allowed_values = ["VCN"] if not value_allowed_none_or_none_sentinel(resource_type, allowed_values): resource_type = 'UNKNOWN_ENUM_VALUE' self._resource_type = resource_type @property def inventory_vcn_cidr_block_collection(self): """ Gets the inventory_vcn_cidr_block_collection of this InventoryVcnSummary. Lists `InventoryVcnCidrBlockSummary` objects. :return: The inventory_vcn_cidr_block_collection of this InventoryVcnSummary. :rtype: list[oci.core.models.InventoryVcnCidrBlockSummary] """ return self._inventory_vcn_cidr_block_collection @inventory_vcn_cidr_block_collection.setter def inventory_vcn_cidr_block_collection(self, inventory_vcn_cidr_block_collection): """ Sets the inventory_vcn_cidr_block_collection of this InventoryVcnSummary. Lists `InventoryVcnCidrBlockSummary` objects. :param inventory_vcn_cidr_block_collection: The inventory_vcn_cidr_block_collection of this InventoryVcnSummary. :type: list[oci.core.models.InventoryVcnCidrBlockSummary] """ self._inventory_vcn_cidr_block_collection = inventory_vcn_cidr_block_collection @property def dns_domain_name(self): """ Gets the dns_domain_name of this InventoryVcnSummary. DNS domain name of the VCN. :return: The dns_domain_name of this InventoryVcnSummary. :rtype: str """ return self._dns_domain_name @dns_domain_name.setter def dns_domain_name(self, dns_domain_name): """ Sets the dns_domain_name of this InventoryVcnSummary. DNS domain name of the VCN. :param dns_domain_name: The dns_domain_name of this InventoryVcnSummary. :type: str """ self._dns_domain_name = dns_domain_name @property def region(self): """ Gets the region of this InventoryVcnSummary. Region name of the VCN. :return: The region of this InventoryVcnSummary. :rtype: str """ return self._region @region.setter def region(self, region): """ Sets the region of this InventoryVcnSummary. Region name of the VCN. :param region: The region of this InventoryVcnSummary. :type: str """ self._region = region @property def compartment_id(self): """ Gets the compartment_id of this InventoryVcnSummary. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The compartment_id of this InventoryVcnSummary. :rtype: str """ return self._compartment_id @compartment_id.setter def compartment_id(self, compartment_id): """ Sets the compartment_id of this InventoryVcnSummary. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this InventoryVcnSummary. :type: str """ self._compartment_id = compartment_id @property def inventory_subnetcollection(self): """ Gets the inventory_subnetcollection of this InventoryVcnSummary. Lists `Subnetcollection` objects :return: The inventory_subnetcollection of this InventoryVcnSummary. :rtype: list[oci.core.models.InventorySubnetSummary] """ return self._inventory_subnetcollection @inventory_subnetcollection.setter def inventory_subnetcollection(self, inventory_subnetcollection): """ Sets the inventory_subnetcollection of this InventoryVcnSummary. Lists `Subnetcollection` objects :param inventory_subnetcollection: The inventory_subnetcollection of this InventoryVcnSummary. :type: list[oci.core.models.InventorySubnetSummary] """ self._inventory_subnetcollection = inventory_subnetcollection 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