Share via


ApiManagementExtensions.GetServiceWorkspaceApiOperationResource Method

Definition

Gets an object representing a ServiceWorkspaceApiOperationResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String, String) to create a ServiceWorkspaceApiOperationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetServiceWorkspaceApiOperationResource(ResourceIdentifier) instead.

public static Azure.ResourceManager.ApiManagement.ServiceWorkspaceApiOperationResource GetServiceWorkspaceApiOperationResource (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id);
static member GetServiceWorkspaceApiOperationResource : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.ApiManagement.ServiceWorkspaceApiOperationResource
<Extension()>
Public Function GetServiceWorkspaceApiOperationResource (client As ArmClient, id As ResourceIdentifier) As ServiceWorkspaceApiOperationResource

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ServiceWorkspaceApiOperationResource object.

Exceptions

client is null.

Applies to