GuestAgentProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.scvmm.models.GuestAgentProperties

Implements

public final class GuestAgentProperties
implements JsonSerializable<GuestAgentProperties>

Defines the resource properties.

Constructor Summary

Constructor Description
GuestAgentProperties()

Creates an instance of GuestAgentProperties class.

Method Summary

Modifier and Type Method and Description
GuestCredential credentials()

Get the credentials property: Username / Password Credentials to provision guest agent.

String customResourceName()

Get the customResourceName property: Gets the name of the corresponding resource in Kubernetes.

static GuestAgentProperties fromJson(JsonReader jsonReader)

Reads an instance of GuestAgentProperties from the JsonReader.

HttpProxyConfiguration httpProxyConfig()

Get the httpProxyConfig property: HTTP Proxy configuration for the VM.

ProvisioningAction provisioningAction()

Get the provisioningAction property: Gets or sets the guest agent provisioning action.

ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

String status()

Get the status property: Gets the guest agent status.

JsonWriter toJson(JsonWriter jsonWriter)
String uuid()

Get the uuid property: Gets a unique identifier for this resource.

void validate()

Validates the instance.

GuestAgentProperties withCredentials(GuestCredential credentials)

Set the credentials property: Username / Password Credentials to provision guest agent.

GuestAgentProperties withHttpProxyConfig(HttpProxyConfiguration httpProxyConfig)

Set the httpProxyConfig property: HTTP Proxy configuration for the VM.

GuestAgentProperties withProvisioningAction(ProvisioningAction provisioningAction)

Set the provisioningAction property: Gets or sets the guest agent provisioning action.

Methods inherited from java.lang.Object

Constructor Details

GuestAgentProperties

public GuestAgentProperties()

Creates an instance of GuestAgentProperties class.

Method Details

credentials

public GuestCredential credentials()

Get the credentials property: Username / Password Credentials to provision guest agent.

Returns:

the credentials value.

customResourceName

public String customResourceName()

Get the customResourceName property: Gets the name of the corresponding resource in Kubernetes.

Returns:

the customResourceName value.

fromJson

public static GuestAgentProperties fromJson(JsonReader jsonReader)

Reads an instance of GuestAgentProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of GuestAgentProperties 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 GuestAgentProperties.

httpProxyConfig

public HttpProxyConfiguration httpProxyConfig()

Get the httpProxyConfig property: HTTP Proxy configuration for the VM.

Returns:

the httpProxyConfig value.

provisioningAction

public ProvisioningAction provisioningAction()

Get the provisioningAction property: Gets or sets the guest agent provisioning action.

Returns:

the provisioningAction value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

Returns:

the provisioningState value.

status

public String status()

Get the status property: Gets the guest agent status.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

uuid

public String uuid()

Get the uuid property: Gets a unique identifier for this resource.

Returns:

the uuid value.

validate

public void validate()

Validates the instance.

withCredentials

public GuestAgentProperties withCredentials(GuestCredential credentials)

Set the credentials property: Username / Password Credentials to provision guest agent.

Parameters:

credentials - the credentials value to set.

Returns:

the GuestAgentProperties object itself.

withHttpProxyConfig

public GuestAgentProperties withHttpProxyConfig(HttpProxyConfiguration httpProxyConfig)

Set the httpProxyConfig property: HTTP Proxy configuration for the VM.

Parameters:

httpProxyConfig - the httpProxyConfig value to set.

Returns:

the GuestAgentProperties object itself.

withProvisioningAction

public GuestAgentProperties withProvisioningAction(ProvisioningAction provisioningAction)

Set the provisioningAction property: Gets or sets the guest agent provisioning action.

Parameters:

provisioningAction - the provisioningAction value to set.

Returns:

the GuestAgentProperties object itself.

Applies to