Partager via


PSVirtualMachineExtensionConversions.ToPSVirtualMachineExtension Method

Definition

Overloads

ToPSVirtualMachineExtension(VirtualMachineExtension, String, String)
ToPSVirtualMachineExtension(AzureOperationResponse<VirtualMachineExtension>, String, String)

ToPSVirtualMachineExtension(VirtualMachineExtension, String, String)

public static Microsoft.Azure.Commands.Compute.Models.PSVirtualMachineExtension ToPSVirtualMachineExtension (this Microsoft.Azure.Management.Compute.Models.VirtualMachineExtension ext, string rgName, string vmName);
static member ToPSVirtualMachineExtension : Microsoft.Azure.Management.Compute.Models.VirtualMachineExtension * string * string -> Microsoft.Azure.Commands.Compute.Models.PSVirtualMachineExtension
<Extension()>
Public Function ToPSVirtualMachineExtension (ext As VirtualMachineExtension, rgName As String, vmName As String) As PSVirtualMachineExtension

Parameters

rgName
String
vmName
String

Returns

Applies to

ToPSVirtualMachineExtension(AzureOperationResponse<VirtualMachineExtension>, String, String)

public static Microsoft.Azure.Commands.Compute.Models.PSVirtualMachineExtension ToPSVirtualMachineExtension (this Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Compute.Models.VirtualMachineExtension> response, string rgName, string vmName);
static member ToPSVirtualMachineExtension : Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Compute.Models.VirtualMachineExtension> * string * string -> Microsoft.Azure.Commands.Compute.Models.PSVirtualMachineExtension
<Extension()>
Public Function ToPSVirtualMachineExtension (response As AzureOperationResponse(Of VirtualMachineExtension), rgName As String, vmName As String) As PSVirtualMachineExtension

Parameters

rgName
String
vmName
String

Returns

Applies to