UpdateMountTargetDetails¶
-
class
oci.file_storage.models.UpdateMountTargetDetails(**kwargs)¶ Bases:
objectDetails for updating the mount target.
Methods
__init__(**kwargs)Initializes a new UpdateMountTargetDetails object with values from keyword arguments. Attributes
defined_tagsGets the defined_tags of this UpdateMountTargetDetails. display_nameGets the display_name of this UpdateMountTargetDetails. freeform_tagsGets the freeform_tags of this UpdateMountTargetDetails. idmap_typeGets the idmap_type of this UpdateMountTargetDetails. kerberosGets the kerberos of this UpdateMountTargetDetails. ldap_idmapGets the ldap_idmap of this UpdateMountTargetDetails. nsg_idsGets the nsg_ids of this UpdateMountTargetDetails. -
__init__(**kwargs)¶ Initializes a new UpdateMountTargetDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - display_name (str) – The value to assign to the display_name property of this UpdateMountTargetDetails.
- idmap_type (str) – The value to assign to the idmap_type property of this UpdateMountTargetDetails.
- ldap_idmap (oci.file_storage.models.UpdateLdapIdmapDetails) – The value to assign to the ldap_idmap property of this UpdateMountTargetDetails.
- nsg_ids (list[str]) – The value to assign to the nsg_ids property of this UpdateMountTargetDetails.
- kerberos (oci.file_storage.models.UpdateKerberosDetails) – The value to assign to the kerberos property of this UpdateMountTargetDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateMountTargetDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateMountTargetDetails.
Gets the defined_tags of this UpdateMountTargetDetails. 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 UpdateMountTargetDetails. Return type: dict(str, dict(str, object))
-
display_name¶ Gets the display_name of this UpdateMountTargetDetails. A user-friendly name. Does not have to be unique, and it is changeable. Avoid entering confidential information.
Example: My mount target
Returns: The display_name of this UpdateMountTargetDetails. Return type: str
Gets the freeform_tags of this UpdateMountTargetDetails. 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 UpdateMountTargetDetails. Return type: dict(str, str)
-
idmap_type¶ Gets the idmap_type of this UpdateMountTargetDetails. The method used to map a Unix UID to secondary groups, if any.
Returns: The idmap_type of this UpdateMountTargetDetails. Return type: str
-
kerberos¶ Gets the kerberos of this UpdateMountTargetDetails.
Returns: The kerberos of this UpdateMountTargetDetails. Return type: oci.file_storage.models.UpdateKerberosDetails
-
ldap_idmap¶ Gets the ldap_idmap of this UpdateMountTargetDetails.
Returns: The ldap_idmap of this UpdateMountTargetDetails. Return type: oci.file_storage.models.UpdateLdapIdmapDetails
-
nsg_ids¶ Gets the nsg_ids of this UpdateMountTargetDetails. A list of Network Security Group OCIDs associated with this mount target. A maximum of 5 is allowed. Setting this to an empty array after the list is created removes the mount target from all NSGs. For more information about NSGs, see Security Rules.
Returns: The nsg_ids of this UpdateMountTargetDetails. Return type: list[str]
-