📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
libexec
›
oracle-cloud-agent
›
plugins
›
osms
›
oci
›
core
›
📁 models
📍
Lokasi:
/usr/libexec/oracle-cloud-agent/plugins/osms/oci/core/models
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: vnic.pyc
a N��faa � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdd� Ze dd � �Z e jd d � �Z e dd� �Zejd d� �Ze dd� �Z e jdd� �Z e dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze d d!� �Zejd"d!� �Ze d#d$� �Zejd%d$� �Ze d&d'� �Zejd(d'� �Ze d)d*� �Zejd+d*� �Ze d,d-� �Zejd.d-� �Ze d/d0� �Zejd1d0� �Ze d2d3� �Zejd4d3� �Ze d5d6� �Zejd7d6� �Ze d8d9� �Zejd:d9� �Zd;d<� Zd=d>� Zd?d@� ZdAS )B�Vnica� A virtual network interface card. Each VNIC resides in a subnet in a VCN. An instance attaches to a VNIC to obtain a network connection into the VCN through that subnet. Each instance has a *primary VNIC* that is automatically created and attached during launch. You can add *secondary VNICs* to an instance after it's launched. For more information, see `Virtual Network Interface Cards (VNICs)`__. Each VNIC has a *primary private IP* that is automatically assigned during launch. You can add *secondary private IPs* to a VNIC after it's created. For more information, see :func:`create_private_ip` and `IP Addresses`__. If you are an Oracle Cloud VMware Solution customer, you will have secondary VNICs that reside in a VLAN instead of a subnet. These VNICs have other differences, which are called out in the descriptions of the relevant attributes in the `Vnic` object. Also see :class:`Vlan`. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see `Getting Started with Policies`__. __ https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm __ https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIPaddresses.htm __ https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm �PROVISIONING� AVAILABLE�TERMINATING� TERMINATEDc K s� dddddddddddddddddd�| _ dd d ddd dddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _dS )a� Initializes a new Vnic object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param availability_domain: The value to assign to the availability_domain property of this Vnic. :type availability_domain: str :param compartment_id: The value to assign to the compartment_id property of this Vnic. :type compartment_id: str :param defined_tags: The value to assign to the defined_tags property of this Vnic. :type defined_tags: dict(str, dict(str, object)) :param display_name: The value to assign to the display_name property of this Vnic. :type display_name: str :param freeform_tags: The value to assign to the freeform_tags property of this Vnic. :type freeform_tags: dict(str, str) :param hostname_label: The value to assign to the hostname_label property of this Vnic. :type hostname_label: str :param id: The value to assign to the id property of this Vnic. :type id: str :param is_primary: The value to assign to the is_primary property of this Vnic. :type is_primary: bool :param lifecycle_state: The value to assign to the lifecycle_state property of this Vnic. Allowed values for this property are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param mac_address: The value to assign to the mac_address property of this Vnic. :type mac_address: str :param nsg_ids: The value to assign to the nsg_ids property of this Vnic. :type nsg_ids: list[str] :param vlan_id: The value to assign to the vlan_id property of this Vnic. :type vlan_id: str :param private_ip: The value to assign to the private_ip property of this Vnic. :type private_ip: str :param public_ip: The value to assign to the public_ip property of this Vnic. :type public_ip: str :param skip_source_dest_check: The value to assign to the skip_source_dest_check property of this Vnic. :type skip_source_dest_check: bool :param subnet_id: The value to assign to the subnet_id property of this Vnic. :type subnet_id: str :param time_created: The value to assign to the time_created property of this Vnic. :type time_created: datetime �strzdict(str, dict(str, object))zdict(str, str)�boolz list[str]�datetime)�availability_domain�compartment_id�defined_tags�display_name� freeform_tags�hostname_label�id� is_primary�lifecycle_state�mac_address�nsg_ids�vlan_id� private_ip� public_ip�skip_source_dest_check� subnet_id�time_created�availabilityDomain� compartmentId�definedTags�displayName�freeformTags� hostnameLabelr � isPrimary�lifecycleState� macAddress�nsgIds�vlanId� privateIp�publicIp�skipSourceDestCheck�subnetId�timeCreatedN)� swagger_types� attribute_map�_availability_domain�_compartment_id� _defined_tags� _display_name�_freeform_tags�_hostname_label�_id�_is_primary�_lifecycle_state�_mac_address�_nsg_ids�_vlan_id�_private_ip� _public_ip�_skip_source_dest_check� _subnet_id� _time_created)�self�kwargs� rD �x/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/core/models/vnic.py�__init__8 sj M��z Vnic.__init__c C s | j S )z� **[Required]** Gets the availability_domain of this Vnic. The VNIC's availability domain. Example: `Uocm:PHX-AD-1` :return: The availability_domain of this Vnic. :rtype: str �r1 �rB rD rD rE r � s zVnic.availability_domainc C s || _ dS )z� Sets the availability_domain of this Vnic. The VNIC's availability domain. Example: `Uocm:PHX-AD-1` :param availability_domain: The availability_domain of this Vnic. :type: str NrG )rB r rD rD rE r � s c C s | j S )a# **[Required]** Gets the compartment_id of this Vnic. The `OCID`__ of the compartment containing the VNIC. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The compartment_id of this Vnic. :rtype: str �r2 rH rD rD rE r � s zVnic.compartment_idc C s || _ dS )a! Sets the compartment_id of this Vnic. The `OCID`__ of the compartment containing the VNIC. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this Vnic. :type: str NrI )rB r rD rD rE r � s c C s | j S )a� Gets the defined_tags of this Vnic. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :return: The defined_tags of this Vnic. :rtype: dict(str, dict(str, object)) �r3 rH rD rD rE r � s zVnic.defined_tagsc C s || _ dS )a� Sets the defined_tags of this Vnic. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :param defined_tags: The defined_tags of this Vnic. :type: dict(str, dict(str, object)) NrJ )rB r rD rD rE r s c C s | j S )z� Gets the display_name of this Vnic. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :return: The display_name of this Vnic. :rtype: str �r4 rH rD rD rE r s zVnic.display_namec C s || _ dS )a Sets the display_name of this Vnic. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param display_name: The display_name of this Vnic. :type: str NrK )rB r rD rD rE r % s c C s | j S )a� Gets the freeform_tags of this Vnic. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :return: The freeform_tags of this Vnic. :rtype: dict(str, str) �r5 rH rD rD rE r 2 s zVnic.freeform_tagsc C s || _ dS )a� Sets the freeform_tags of this Vnic. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :param freeform_tags: The freeform_tags of this Vnic. :type: dict(str, str) NrL )rB r rD rD rE r C s c C s | j S )a Gets the hostname_label of this Vnic. The hostname for the VNIC's primary private IP. Used for DNS. The value is the hostname portion of the primary private IP's fully qualified domain name (FQDN) (for example, `bminstance-1` in FQDN `bminstance-1.subnet123.vcn1.oraclevcn.com`). Must be unique across all VNICs in the subnet and comply with `RFC 952`__ and `RFC 1123`__. For more information, see `DNS in Your Virtual Cloud Network`__. Example: `bminstance-1` __ https://tools.ietf.org/html/rfc952 __ https://tools.ietf.org/html/rfc1123 __ https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm :return: The hostname_label of this Vnic. :rtype: str �r6 rH rD rD rE r T s zVnic.hostname_labelc C s || _ dS )a* Sets the hostname_label of this Vnic. The hostname for the VNIC's primary private IP. Used for DNS. The value is the hostname portion of the primary private IP's fully qualified domain name (FQDN) (for example, `bminstance-1` in FQDN `bminstance-1.subnet123.vcn1.oraclevcn.com`). Must be unique across all VNICs in the subnet and comply with `RFC 952`__ and `RFC 1123`__. For more information, see `DNS in Your Virtual Cloud Network`__. Example: `bminstance-1` __ https://tools.ietf.org/html/rfc952 __ https://tools.ietf.org/html/rfc1123 __ https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm :param hostname_label: The hostname_label of this Vnic. :type: str NrM )rB r rD rD rE r n s c C s | j S )z� **[Required]** Gets the id of this Vnic. The `OCID`__ of the VNIC. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The id of this Vnic. :rtype: str �r7 rH rD rD rE r � s zVnic.idc C s || _ dS )z� Sets the id of this Vnic. The `OCID`__ of the VNIC. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param id: The id of this Vnic. :type: str NrN )rB r rD rD rE r � s c C s | j S )z� Gets the is_primary of this Vnic. Whether the VNIC is the primary VNIC (the VNIC that is automatically created and attached during instance launch). :return: The is_primary of this Vnic. :rtype: bool �r8 rH rD rD rE r � s zVnic.is_primaryc C s || _ dS )a Sets the is_primary of this Vnic. Whether the VNIC is the primary VNIC (the VNIC that is automatically created and attached during instance launch). :param is_primary: The is_primary of this Vnic. :type: bool NrO )rB r rD rD rE r � s c C s | j S )a� **[Required]** Gets the lifecycle_state of this Vnic. The current state of the VNIC. Allowed values for this property are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this Vnic. :rtype: str )r9 rH rD rD rE r � s zVnic.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this Vnic. The current state of the VNIC. :param lifecycle_state: The lifecycle_state of this Vnic. :type: str )r r r r �UNKNOWN_ENUM_VALUEN)r r9 )rB r �allowed_valuesrD rD rE r � s c C s | j S )a� Gets the mac_address of this Vnic. The MAC address of the VNIC. If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution, the MAC address is learned. If the VNIC belongs to a subnet, the MAC address is a static, Oracle-provided value. Example: `00:00:00:00:00:01` :return: The mac_address of this Vnic. :rtype: str �r: rH rD rD rE r � s zVnic.mac_addressc C s || _ dS )a� Sets the mac_address of this Vnic. The MAC address of the VNIC. If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution, the MAC address is learned. If the VNIC belongs to a subnet, the MAC address is a static, Oracle-provided value. Example: `00:00:00:00:00:01` :param mac_address: The mac_address of this Vnic. :type: str NrR )rB r rD rD rE r � s c C s | j S )a; Gets the nsg_ids of this Vnic. A list of the OCIDs of the network security groups that the VNIC belongs to. If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of belonging to a subnet), the value of the `nsgIds` attribute is ignored. Instead, the VNIC belongs to the NSGs that are associated with the VLAN itself. See :class:`Vlan`. For more information about NSGs, see :class:`NetworkSecurityGroup`. :return: The nsg_ids of this Vnic. :rtype: list[str] �r; rH rD rD rE r s zVnic.nsg_idsc C s || _ dS )aA Sets the nsg_ids of this Vnic. A list of the OCIDs of the network security groups that the VNIC belongs to. If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of belonging to a subnet), the value of the `nsgIds` attribute is ignored. Instead, the VNIC belongs to the NSGs that are associated with the VLAN itself. See :class:`Vlan`. For more information about NSGs, see :class:`NetworkSecurityGroup`. :param nsg_ids: The nsg_ids of this Vnic. :type: list[str] NrS )rB r rD rD rE r s c C s | j S )a� Gets the vlan_id of this Vnic. If the VNIC belongs to a VLAN as part of the Oracle Cloud VMware Solution (instead of belonging to a subnet), the `vlanId` is the `OCID`__ of the VLAN the VNIC is in. See :class:`Vlan`. If the VNIC is instead in a subnet, `subnetId` has a value. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The vlan_id of this Vnic. :rtype: str �r<