ServiceLinkerExtensions.GetLinkerResources Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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.