File manager - Edit - /usr/lib/mysqlsh/lib/python3.9/site-packages/oci/data_science/models/notebook_session_configuration_details.py
Back
# coding: utf-8 # Copyright (c) 2016, 2026, 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: 20190101 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 NotebookSessionConfigurationDetails(object): """ Details for the notebook session configuration. """ def __init__(self, **kwargs): """ Initializes a new NotebookSessionConfigurationDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param shape: The value to assign to the shape property of this NotebookSessionConfigurationDetails. :type shape: str :param block_storage_size_in_gbs: The value to assign to the block_storage_size_in_gbs property of this NotebookSessionConfigurationDetails. :type block_storage_size_in_gbs: int :param subnet_id: The value to assign to the subnet_id property of this NotebookSessionConfigurationDetails. :type subnet_id: str :param private_endpoint_id: The value to assign to the private_endpoint_id property of this NotebookSessionConfigurationDetails. :type private_endpoint_id: str :param notebook_session_shape_config_details: The value to assign to the notebook_session_shape_config_details property of this NotebookSessionConfigurationDetails. :type notebook_session_shape_config_details: oci.data_science.models.NotebookSessionShapeConfigDetails """ self.swagger_types = { 'shape': 'str', 'block_storage_size_in_gbs': 'int', 'subnet_id': 'str', 'private_endpoint_id': 'str', 'notebook_session_shape_config_details': 'NotebookSessionShapeConfigDetails' } self.attribute_map = { 'shape': 'shape', 'block_storage_size_in_gbs': 'blockStorageSizeInGBs', 'subnet_id': 'subnetId', 'private_endpoint_id': 'privateEndpointId', 'notebook_session_shape_config_details': 'notebookSessionShapeConfigDetails' } self._shape = None self._block_storage_size_in_gbs = None self._subnet_id = None self._private_endpoint_id = None self._notebook_session_shape_config_details = None @property def shape(self): """ **[Required]** Gets the shape of this NotebookSessionConfigurationDetails. The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. :return: The shape of this NotebookSessionConfigurationDetails. :rtype: str """ return self._shape @shape.setter def shape(self, shape): """ Sets the shape of this NotebookSessionConfigurationDetails. The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. :param shape: The shape of this NotebookSessionConfigurationDetails. :type: str """ self._shape = shape @property def block_storage_size_in_gbs(self): """ Gets the block_storage_size_in_gbs of this NotebookSessionConfigurationDetails. A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs. :return: The block_storage_size_in_gbs of this NotebookSessionConfigurationDetails. :rtype: int """ return self._block_storage_size_in_gbs @block_storage_size_in_gbs.setter def block_storage_size_in_gbs(self, block_storage_size_in_gbs): """ Sets the block_storage_size_in_gbs of this NotebookSessionConfigurationDetails. A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs. :param block_storage_size_in_gbs: The block_storage_size_in_gbs of this NotebookSessionConfigurationDetails. :type: int """ self._block_storage_size_in_gbs = block_storage_size_in_gbs @property def subnet_id(self): """ **[Required]** Gets the subnet_id of this NotebookSessionConfigurationDetails. A notebook session instance is provided with a VNIC for network access. This specifies the `OCID`__ of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT gateway for egress to the internet. __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The subnet_id of this NotebookSessionConfigurationDetails. :rtype: str """ return self._subnet_id @subnet_id.setter def subnet_id(self, subnet_id): """ Sets the subnet_id of this NotebookSessionConfigurationDetails. A notebook session instance is provided with a VNIC for network access. This specifies the `OCID`__ of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT gateway for egress to the internet. __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param subnet_id: The subnet_id of this NotebookSessionConfigurationDetails. :type: str """ self._subnet_id = subnet_id @property def private_endpoint_id(self): """ Gets the private_endpoint_id of this NotebookSessionConfigurationDetails. The OCID of a Data Science private endpoint. :return: The private_endpoint_id of this NotebookSessionConfigurationDetails. :rtype: str """ return self._private_endpoint_id @private_endpoint_id.setter def private_endpoint_id(self, private_endpoint_id): """ Sets the private_endpoint_id of this NotebookSessionConfigurationDetails. The OCID of a Data Science private endpoint. :param private_endpoint_id: The private_endpoint_id of this NotebookSessionConfigurationDetails. :type: str """ self._private_endpoint_id = private_endpoint_id @property def notebook_session_shape_config_details(self): """ Gets the notebook_session_shape_config_details of this NotebookSessionConfigurationDetails. :return: The notebook_session_shape_config_details of this NotebookSessionConfigurationDetails. :rtype: oci.data_science.models.NotebookSessionShapeConfigDetails """ return self._notebook_session_shape_config_details @notebook_session_shape_config_details.setter def notebook_session_shape_config_details(self, notebook_session_shape_config_details): """ Sets the notebook_session_shape_config_details of this NotebookSessionConfigurationDetails. :param notebook_session_shape_config_details: The notebook_session_shape_config_details of this NotebookSessionConfigurationDetails. :type: oci.data_science.models.NotebookSessionShapeConfigDetails """ self._notebook_session_shape_config_details = notebook_session_shape_config_details 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
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings