Share via


NetworkExtensions.GetLoadBalancingRuleResource Method

Definition

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

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a LoadBalancingRuleResource object.

Exceptions

client is null.

Applies to