다음을 통해 공유


MockableDataShareArmClient.GetDataShareResource(ResourceIdentifier) Method

Definition

Gets an object representing a DataShareResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a DataShareResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.DataShare.DataShareResource GetDataShareResource (Azure.Core.ResourceIdentifier id);
abstract member GetDataShareResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.DataShare.DataShareResource
override this.GetDataShareResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.DataShare.DataShareResource
Public Overridable Function GetDataShareResource (id As ResourceIdentifier) As DataShareResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a DataShareResource object.

Applies to