CreateMountTargetDetails

class oci.file_storage.models.CreateMountTargetDetails(**kwargs)

Bases: object

Details for creating the mount target.

__init__(**kwargs)

Initializes a new CreateMountTargetDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • availability_domain (str) -- The value to assign to the availability_domain property of this CreateMountTargetDetails.
  • compartment_id (str) -- The value to assign to the compartment_id property of this CreateMountTargetDetails.
  • display_name (str) -- The value to assign to the display_name property of this CreateMountTargetDetails.
  • hostname_label (str) -- The value to assign to the hostname_label property of this CreateMountTargetDetails.
  • ip_address (str) -- The value to assign to the ip_address property of this CreateMountTargetDetails.
  • subnet_id (str) -- The value to assign to the subnet_id property of this CreateMountTargetDetails.
  • freeform_tags (dict(str, str)) -- The value to assign to the freeform_tags property of this CreateMountTargetDetails.
  • defined_tags (dict(str, dict(str, object))) -- The value to assign to the defined_tags property of this CreateMountTargetDetails.
availability_domain

[Required] Gets the availability_domain of this CreateMountTargetDetails. The availability domain in which to create the mount target.

Example: Uocm:PHX-AD-1

Returns:The availability_domain of this CreateMountTargetDetails.
Return type:str
compartment_id

[Required] Gets the compartment_id of this CreateMountTargetDetails. The OCID of the compartment in which to create the mount target.

Returns:The compartment_id of this CreateMountTargetDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateMountTargetDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations": {"CostCenter": "42"}}

Returns:The defined_tags of this CreateMountTargetDetails.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this CreateMountTargetDetails. A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.

Example: My mount target

Returns:The display_name of this CreateMountTargetDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateMountTargetDetails. 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"}

Returns:The freeform_tags of this CreateMountTargetDetails.
Return type:dict(str, str)
hostname_label

Gets the hostname_label of this CreateMountTargetDetails. The hostname for the mount target's IP address, used for DNS resolution. The value is the hostname portion of the private IP address's fully qualified domain name (FQDN). For example, files-1 in the FQDN files-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: files-1

Returns:The hostname_label of this CreateMountTargetDetails.
Return type:str
ip_address

Gets the ip_address of this CreateMountTargetDetails. A private IP address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns a private IP address from the subnet.

Example: 10.0.3.3

Returns:The ip_address of this CreateMountTargetDetails.
Return type:str
subnet_id

[Required] Gets the subnet_id of this CreateMountTargetDetails. The OCID of the subnet in which to create the mount target.

Returns:The subnet_id of this CreateMountTargetDetails.
Return type:str