WinRMConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.WinRMConfiguration

Implements

public final class WinRMConfiguration
implements JsonSerializable<WinRMConfiguration>

Describes Windows Remote Management configuration of the VM.

Constructor Summary

Constructor Description
WinRMConfiguration()

Creates an instance of WinRMConfiguration class.

Method Summary

Modifier and Type Method and Description
static WinRMConfiguration fromJson(JsonReader jsonReader)

Reads an instance of WinRMConfiguration from the JsonReader.

List<WinRMListener> listeners()

Get the listeners property: The list of Windows Remote Management listeners.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

WinRMConfiguration withListeners(List<WinRMListener> listeners)

Set the listeners property: The list of Windows Remote Management listeners.

Methods inherited from java.lang.Object

Constructor Details

WinRMConfiguration

public WinRMConfiguration()

Creates an instance of WinRMConfiguration class.

Method Details

fromJson

public static WinRMConfiguration fromJson(JsonReader jsonReader)

Reads an instance of WinRMConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of WinRMConfiguration if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the WinRMConfiguration.

listeners

public List listeners()

Get the listeners property: The list of Windows Remote Management listeners.

Returns:

the listeners value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withListeners

public WinRMConfiguration withListeners(List listeners)

Set the listeners property: The list of Windows Remote Management listeners.

Parameters:

listeners - the listeners value to set.

Returns:

the WinRMConfiguration object itself.

Applies to