HciVmExtensions.GetHciVmGuestAgent(ArmClient, ResourceIdentifier) Method

Definition

Gets an object representing a HciVmGuestAgentResource along with the instance operations that can be performed on it in the ArmClient <item> Mocking. To mock this method, please mock GetHciVmGuestAgent(ResourceIdentifier) instead. </item>

public static Azure.ResourceManager.Hci.Vm.HciVmGuestAgentResource GetHciVmGuestAgent(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope);
static member GetHciVmGuestAgent : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Hci.Vm.HciVmGuestAgentResource
<Extension()>
Public Function GetHciVmGuestAgent (client As ArmClient, scope As ResourceIdentifier) As HciVmGuestAgentResource

Parameters

client
ArmClient

The ArmClient the method will execute against.

scope
ResourceIdentifier

The scope that the resource will apply against.

Returns

Returns a HciVmGuestAgentResource object.

Exceptions

client is null.

Applies to