# Class CIM_SharingDependency
extends CIM_HostedDependency

In some configurations, a logical device may be shared among multiple systems while only belonging to one. When modeling this sharing relationship, one instance of LogicalDevice exists to model the resource. This instance is associated with the owning system via the SystemDevice association. An additional instance of LogicalDevice will exist for each system the device is shared with to represent the device in the context of each System it is shared with. Each of these instances is associated with a single instance of System via an instance of the SystemDevice association. This is very similar to the way that virtual devices are modeled. However, there are additional semantics associated with shared devices that need to be modeled, including the current access of a sharing system to the shared device. The SharingDependency association will be used to add support for modeling this additional semantic. It is used to associate a LogicalDevice instance in the sharing system to the LogicalDevice representing the underlying shared resource.

### Table of Contents
Hierarchy
Direct Known Subclasses
Class Qualifiers
Class Properties
Class Methods

## Class Hierarchy

CIM_Dependency
|
+--CIM_HostedDependency
|
+--CIM_SharingDependency

## Direct Known Subclasses

## Class Qualifiers

Name | Data Type | Value
--- | --- | ---
Association | boolean | true
Description | string | In some configurations, a logical device may be shared among multiple systems while only belonging to one. When modeling this sharing relationship, one instance of LogicalDevice exists to model the resource. This instance is associated with the owning system via the SystemDevice association. An additional instance of LogicalDevice will exist for each system the device is shared with to represent the device in the context of each System it is shared with. Each of these instances is associated with a single instance of System via an instance of the SystemDevice association. This is very similar to the way that virtual devices are modeled. However, there are additional semantics associated with shared devices that need to be modeled, including the current access of a sharing system to the shared device. The SharingDependency association will be used to add support for modeling this additional semantic. It is used to associate a LogicalDevice instance in the sharing system to the LogicalDevice representing the underlying shared resource.
UMLPackagePath | string | CIM::Device::SCSI
Version | string | 2.22.0

## Class Properties

### Local Class Properties

Name | Data Type | Default Value | Qualifiers
--- | --- | --- | ---
Name | Data Type | Value
CurrentAccess | uint16 |
Description | string | CurrentAccess describes the current ability of the System owning the Dependent LogicalDevice to access the shared device. This property does not model whether or not the referenced System is authorized to utilize the shared resource. It is intended to model the current sharing relationship the system has to the device. Authorization for a user or service running within the system would be modeled identical to if the resource was owned exclusively by the system. However, the ability of an authorized user to utilize a shared resource is contingent on the System having access to the shared resource. Unknown (0) indicates that the current access of the System to the shared resource is unknown No Access (1) indicates that the System currently does not have access to the shared resource Exclusive Access (2) indicates that the System has exclusive access to the shared resource. The resource is effectively locked. Granting another System access to the shared resource will cause this system to lose access. Shared Read (3) indicates that the System is accessing the resource in a read only mode. Other Systems can have concurrent access to the device of type "Shared Read" or "Shared Full" Shared Full (4) indicates that the System is accessing the resource in read/write mode. Other Systems can have concurrent access to the device of type "Shared Read" or "Shared Full".
ModelCorrespondence | string | CIM_SharingDependency.OtherCurrentAccess, CIM_DeviceSharingCapabilities.SupportedAccessModes
ValueMap | string | 0, 1, 2, 3, 4, 5, .., 32768..65535
Values | string | Unknown, Other, No Access, Exclusive Access, Shared Read, Shared Full, DMTF Reserved, Vendor Reserved
OtherCurrentAccess | string |
Description | string | A string value describing CurrentAccess when it has a value of "1 (Other)".
ModelCorrespondence | string | CIM_SharingDependency.CurrentAccess

### Association References

Name | Class Origin | Reference Class
--- | --- | ---
Antecedent | CIM_SharingDependency | CIM_LogicalDevice
Dependent | CIM_SharingDependency | CIM_LogicalDevice

## Class Methods