共用方式為


MockableServiceLinkerArmClient.GetLinkerResource Method

Definition

Overloads

GetLinkerResource(ResourceIdentifier)

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

GetLinkerResource(ResourceIdentifier, String, CancellationToken)

Returns Linker resource for a given name.

  • Request Path: /{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • Operation Id: Linker_Get

GetLinkerResource(ResourceIdentifier)

Source:
MockableServiceLinkerArmClient.cs

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

public virtual Azure.ResourceManager.ServiceLinker.LinkerResource GetLinkerResource (Azure.Core.ResourceIdentifier id);
abstract member GetLinkerResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.ServiceLinker.LinkerResource
override this.GetLinkerResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.ServiceLinker.LinkerResource
Public Overridable Function GetLinkerResource (id As ResourceIdentifier) As LinkerResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a LinkerResource object.

Applies to

GetLinkerResource(ResourceIdentifier, String, CancellationToken)

Source:
MockableServiceLinkerArmClient.cs

Returns Linker resource for a given name.

  • Request Path: /{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • Operation Id: Linker_Get
public virtual Azure.Response<Azure.ResourceManager.ServiceLinker.LinkerResource> GetLinkerResource (Azure.Core.ResourceIdentifier scope, string linkerName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetLinkerResource : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ServiceLinker.LinkerResource>
override this.GetLinkerResource : Azure.Core.ResourceIdentifier * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ServiceLinker.LinkerResource>
Public Overridable Function GetLinkerResource (scope As ResourceIdentifier, linkerName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of LinkerResource)

Parameters

scope
ResourceIdentifier

The scope that the resource will apply against.

linkerName
String

The name Linker resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

linkerName is null.

linkerName is an empty string, and was expected to be non-empty.

Applies to