Share Class
Represents a share on the Data Box Edge/Gateway device.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.mgmt.datab.models._models_py3.ARMBaseModelShare
Constructor
Share(*, share_status: Union[str, azure.mgmt.datab.models._data_box_edge_management_client_enums.ShareStatus], monitoring_status: Union[str, azure.mgmt.datab.models._data_box_edge_management_client_enums.MonitoringStatus], access_protocol: Union[str, azure.mgmt.datab.models._data_box_edge_management_client_enums.ShareAccessProtocol], description: Optional[str] = None, azure_container_info: Optional[azure.mgmt.datab.models._models_py3.AzureContainerInfo] = None, user_access_rights: Optional[List[azure.mgmt.datab.models._models_py3.UserAccessRight]] = None, client_access_rights: Optional[List[azure.mgmt.datab.models._models_py3.ClientAccessRight]] = None, refresh_details: Optional[azure.mgmt.datab.models._models_py3.RefreshDetails] = None, data_policy: Optional[Union[str, azure.mgmt.datab.models._data_box_edge_management_client_enums.DataPolicy]] = None, **kwargs)
Parameters
- share_status
- str or <xref:azure.mgmt.databoxedge.v2020_12_01.models.ShareStatus>
Required. Current status of the share. Possible values include: "Offline", "Unknown", "OK", "Updating", "NeedsAttention".
- monitoring_status
- str or <xref:azure.mgmt.databoxedge.v2020_12_01.models.MonitoringStatus>
Required. Current monitoring status of the share. Possible values include: "Enabled", "Disabled".
- azure_container_info
- <xref:azure.mgmt.databoxedge.v2020_12_01.models.AzureContainerInfo>
Azure container mapping for the share.
- access_protocol
- str or <xref:azure.mgmt.databoxedge.v2020_12_01.models.ShareAccessProtocol>
Required. Access protocol to be used by the share. Possible values include: "SMB", "NFS".
- user_access_rights
- list[<xref:azure.mgmt.databoxedge.v2020_12_01.models.UserAccessRight>]
Mapping of users and corresponding access rights on the share (required for SMB protocol).
- client_access_rights
- list[<xref:azure.mgmt.databoxedge.v2020_12_01.models.ClientAccessRight>]
List of IP addresses and corresponding access rights on the share(required for NFS protocol).
- refresh_details
- <xref:azure.mgmt.databoxedge.v2020_12_01.models.RefreshDetails>
Details of the refresh job on this share.
- data_policy
- str or <xref:azure.mgmt.databoxedge.v2020_12_01.models.DataPolicy>
Data policy of the share. Possible values include: "Cloud", "Local".
Variables
- id
- str
The path ID that uniquely identifies the object.
- name
- str
The object name.
- type
- str
The hierarchical type of the object.
- system_data
- <xref:azure.mgmt.databoxedge.v2020_12_01.models.SystemData>
Share on ASE device.
- share_mappings
- list[<xref:azure.mgmt.databoxedge.v2020_12_01.models.MountPointMap>]
Share mount point to the role.
Feedback
Submit and view feedback for