VirtualMachineOperationsExtensions.Get Method (IVirtualMachineOperations, String, String, String)
Retrieves information about the specified Virtual Machine.
Namespace: Microsoft.WindowsAzure.Management.Compute
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)
Syntax
public static VirtualMachineGetResponse Get(
this IVirtualMachineOperations operations,
string serviceName,
string deploymentName,
string virtualMachineName
)
public:
[ExtensionAttribute]
static VirtualMachineGetResponse^ Get(
IVirtualMachineOperations^ operations,
String^ serviceName,
String^ deploymentName,
String^ virtualMachineName
)
static member Get :
operations:IVirtualMachineOperations *
serviceName:string *
deploymentName:string *
virtualMachineName:string -> VirtualMachineGetResponse
<ExtensionAttribute>
Public Shared Function Get (
operations As IVirtualMachineOperations,
serviceName As String,
deploymentName As String,
virtualMachineName As String
) As VirtualMachineGetResponse
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Compute.IVirtualMachineOperationsThe IVirtualMachineOperations object that specifies the operations for managing Virtual Machines.
serviceName
Type: System.StringThe name of the cloud service that contains the Virtual Machine.
deploymentName
Type: System.StringThe name of the deployment.
virtualMachineName
Type: System.StringThe name of the Virtual Machine from which the information should be retrieved.
Return Value
Type: Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineGetResponse
The VirtualMachineGetResponse object that contains the information about the Virtual Machine.
Remarks
For more information about retrieving Virtual Machine information, see the following resources:
See Also
VirtualMachineOperationsExtensions Class
Microsoft.WindowsAzure.Management.Compute Namespace
Return to top