Share via


MockableComputeArmClient.GetCloudServiceRoleInstanceResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a CloudServiceRoleInstanceResource object.

Applies to