共用方式為


MockableComputeArmClient.GetCloudServiceResource(ResourceIdentifier) Method

Definition

Gets an object representing a CloudServiceResource 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 CloudServiceResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.Compute.CloudServiceResource GetCloudServiceResource (Azure.Core.ResourceIdentifier id);
abstract member GetCloudServiceResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Compute.CloudServiceResource
override this.GetCloudServiceResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Compute.CloudServiceResource
Public Overridable Function GetCloudServiceResource (id As ResourceIdentifier) As CloudServiceResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a CloudServiceResource object.

Applies to