共用方式為


MockableStoragePoolArmClient.GetDiskPoolResource(ResourceIdentifier) Method

Definition

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

public virtual Azure.ResourceManager.StoragePool.DiskPoolResource GetDiskPoolResource (Azure.Core.ResourceIdentifier id);
abstract member GetDiskPoolResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.StoragePool.DiskPoolResource
override this.GetDiskPoolResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.StoragePool.DiskPoolResource
Public Overridable Function GetDiskPoolResource (id As ResourceIdentifier) As DiskPoolResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a DiskPoolResource object.

Applies to