ArmNetworkCloudModelFactory.NetworkCloudVirtualMachineConsolePatch Method
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.
public static Azure.ResourceManager.NetworkCloud.Models.NetworkCloudVirtualMachineConsolePatch NetworkCloudVirtualMachineConsolePatch(Azure.ResourceManager.NetworkCloud.Models.ConsoleEnabled? enabled = default, DateTimeOffset? expireOn = default, string keyData = default, System.Collections.Generic.IDictionary<string,string> tags = default);
static member NetworkCloudVirtualMachineConsolePatch : Nullable<Azure.ResourceManager.NetworkCloud.Models.ConsoleEnabled> * Nullable<DateTimeOffset> * string * System.Collections.Generic.IDictionary<string, string> -> Azure.ResourceManager.NetworkCloud.Models.NetworkCloudVirtualMachineConsolePatch
Public Shared Function NetworkCloudVirtualMachineConsolePatch (Optional enabled As Nullable(Of ConsoleEnabled) = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional keyData As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing) As NetworkCloudVirtualMachineConsolePatch
Parameters
- enabled
- Nullable<ConsoleEnabled>
The indicator of whether the console access is enabled.
- expireOn
- Nullable<DateTimeOffset>
The date and time after which the key will be disallowed access.
- keyData
- String
The SSH public key data.
- tags
- IDictionary<String,String>
Resource tags.
Returns
A new NetworkCloudVirtualMachineConsolePatch instance for mocking.