VirtualMachineDiagnosticRunCommand Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| VirtualMachineDiagnosticRunCommand() |
Initializes a new instance of the VirtualMachineDiagnosticRunCommand class. |
| VirtualMachineDiagnosticRunCommand(String, String, String, String, IDictionary<String,String>, VirtualMachineRunCommandProperties) |
Initializes a new instance of the VirtualMachineDiagnosticRunCommand class. |
VirtualMachineDiagnosticRunCommand()
Initializes a new instance of the VirtualMachineDiagnosticRunCommand class.
public VirtualMachineDiagnosticRunCommand();
Public Sub New ()
Applies to
VirtualMachineDiagnosticRunCommand(String, String, String, String, IDictionary<String,String>, VirtualMachineRunCommandProperties)
Initializes a new instance of the VirtualMachineDiagnosticRunCommand class.
public VirtualMachineDiagnosticRunCommand(string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Compute.Models.VirtualMachineRunCommandProperties properties = default);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineDiagnosticRunCommand : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Models.VirtualMachineRunCommandProperties -> Microsoft.Azure.Management.Compute.Models.VirtualMachineDiagnosticRunCommand
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional properties As VirtualMachineRunCommandProperties = Nothing)
Parameters
- location
- String
The geo-location where the resource lives
- id
- String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
The name of the resource
- type
- String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- tags
- IDictionary<String,String>
Resource tags.
- properties
- VirtualMachineRunCommandProperties
Describes the properties of a Virtual Machine diagnostic run command.