共用方式為


ServiceLinkerExtensions.GetLinkerResources Method

Definition

Overloads

GetLinkerResources(ArmResource)

Gets a collection of LinkerResources in the ArmResource. MockingTo mock this method, please mock GetLinkerResources() instead.

GetLinkerResources(ArmClient, ResourceIdentifier)

Gets a collection of LinkerResources in the ArmClient. MockingTo mock this method, please mock GetLinkerResources(ResourceIdentifier) instead.

GetLinkerResources(ArmResource)

Source:
ServiceLinkerExtensions.cs
Source:
ServiceLinkerExtensions.cs

Gets a collection of LinkerResources in the ArmResource. MockingTo mock this method, please mock GetLinkerResources() instead.

public static Azure.ResourceManager.ServiceLinker.LinkerResourceCollection GetLinkerResources (this Azure.ResourceManager.ArmResource armResource);
static member GetLinkerResources : Azure.ResourceManager.ArmResource -> Azure.ResourceManager.ServiceLinker.LinkerResourceCollection
<Extension()>
Public Function GetLinkerResources (armResource As ArmResource) As LinkerResourceCollection

Parameters

armResource
ArmResource

The ArmResource instance the method will execute against.

Returns

An object representing collection of LinkerResources and their operations over a LinkerResource.

Exceptions

armResource is null.

Applies to

GetLinkerResources(ArmClient, ResourceIdentifier)

Source:
ServiceLinkerExtensions.cs
Source:
ServiceLinkerExtensions.cs

Gets a collection of LinkerResources in the ArmClient. MockingTo mock this method, please mock GetLinkerResources(ResourceIdentifier) instead.

public static Azure.ResourceManager.ServiceLinker.LinkerResourceCollection GetLinkerResources (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope);
static member GetLinkerResources : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.ServiceLinker.LinkerResourceCollection
<Extension()>
Public Function GetLinkerResources (client As ArmClient, scope As ResourceIdentifier) As LinkerResourceCollection

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

scope
ResourceIdentifier

The scope that the resource will apply against.

Returns

An object representing collection of LinkerResources and their operations over a LinkerResource.

Exceptions

client is null.

Applies to