Partilhar via


MockableComputeArmClient.GetVirtualMachineExtensionResource Method

Definition

Gets an object representing a VirtualMachineExtensionResource 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 VirtualMachineExtensionResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.Compute.VirtualMachineExtensionResource GetVirtualMachineExtensionResource (Azure.Core.ResourceIdentifier id);
abstract member GetVirtualMachineExtensionResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Compute.VirtualMachineExtensionResource
override this.GetVirtualMachineExtensionResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Compute.VirtualMachineExtensionResource
Public Overridable Function GetVirtualMachineExtensionResource (id As ResourceIdentifier) As VirtualMachineExtensionResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a VirtualMachineExtensionResource object.

Applies to