Share via


MockableServiceFabricArmClient.GetServiceFabricServiceResource Method

Definition

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

public virtual Azure.ResourceManager.ServiceFabric.ServiceFabricServiceResource GetServiceFabricServiceResource (Azure.Core.ResourceIdentifier id);
abstract member GetServiceFabricServiceResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.ServiceFabric.ServiceFabricServiceResource
override this.GetServiceFabricServiceResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.ServiceFabric.ServiceFabricServiceResource
Public Overridable Function GetServiceFabricServiceResource (id As ResourceIdentifier) As ServiceFabricServiceResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ServiceFabricServiceResource object.

Applies to