RegisteredServerCreateParameters Class

public final class RegisteredServerCreateParameters
extends ProxyResource

The parameters used when creating a registered server.

Constructor Summary

Constructor Description
RegisteredServerCreateParameters()

Creates an instance of RegisteredServerCreateParameters class.

Method Summary

Modifier and Type Method and Description
String agentVersion()

Get the agentVersion property: Registered Server Agent Version.

String applicationId()

Get the applicationId property: Server ServicePrincipal Id.

String clusterId()

Get the clusterId property: Registered Server clusterId.

String clusterName()

Get the clusterName property: Registered Server clusterName.

String friendlyName()

Get the friendlyName property: Friendly Name.

static RegisteredServerCreateParameters fromJson(JsonReader jsonReader)

Reads an instance of RegisteredServerCreateParameters from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

Boolean identity()

Get the identity property: Apply server with newly discovered ApplicationId if available.

String lastHeartBeat()

Get the lastHeartBeat property: Registered Server last heart beat.

String name()

Get the name property: The name of the resource.

String serverCertificate()

Get the serverCertificate property: Registered Server Certificate.

String serverId()

Get the serverId property: Registered Server serverId.

String serverOSVersion()

Get the serverOSVersion property: Registered Server OS Version.

String serverRole()

Get the serverRole property: Registered Server serverRole.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

RegisteredServerCreateParameters withAgentVersion(String agentVersion)

Set the agentVersion property: Registered Server Agent Version.

RegisteredServerCreateParameters withApplicationId(String applicationId)

Set the applicationId property: Server ServicePrincipal Id.

RegisteredServerCreateParameters withClusterId(String clusterId)

Set the clusterId property: Registered Server clusterId.

RegisteredServerCreateParameters withClusterName(String clusterName)

Set the clusterName property: Registered Server clusterName.

RegisteredServerCreateParameters withFriendlyName(String friendlyName)

Set the friendlyName property: Friendly Name.

RegisteredServerCreateParameters withIdentity(Boolean identity)

Set the identity property: Apply server with newly discovered ApplicationId if available.

RegisteredServerCreateParameters withLastHeartBeat(String lastHeartBeat)

Set the lastHeartBeat property: Registered Server last heart beat.

RegisteredServerCreateParameters withServerCertificate(String serverCertificate)

Set the serverCertificate property: Registered Server Certificate.

RegisteredServerCreateParameters withServerId(String serverId)

Set the serverId property: Registered Server serverId.

RegisteredServerCreateParameters withServerOSVersion(String serverOSVersion)

Set the serverOSVersion property: Registered Server OS Version.

RegisteredServerCreateParameters withServerRole(String serverRole)

Set the serverRole property: Registered Server serverRole.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

RegisteredServerCreateParameters

public RegisteredServerCreateParameters()

Creates an instance of RegisteredServerCreateParameters class.

Method Details

agentVersion

public String agentVersion()

Get the agentVersion property: Registered Server Agent Version.

Returns:

the agentVersion value.

applicationId

public String applicationId()

Get the applicationId property: Server ServicePrincipal Id.

Returns:

the applicationId value.

clusterId

public String clusterId()

Get the clusterId property: Registered Server clusterId.

Returns:

the clusterId value.

clusterName

public String clusterName()

Get the clusterName property: Registered Server clusterName.

Returns:

the clusterName value.

friendlyName

public String friendlyName()

Get the friendlyName property: Friendly Name.

Returns:

the friendlyName value.

fromJson

public static RegisteredServerCreateParameters fromJson(JsonReader jsonReader)

Reads an instance of RegisteredServerCreateParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

RegisteredServerCreateParameters.id()

Returns:

the id value.

identity

public Boolean identity()

Get the identity property: Apply server with newly discovered ApplicationId if available.

Returns:

the identity value.

lastHeartBeat

public String lastHeartBeat()

Get the lastHeartBeat property: Registered Server last heart beat.

Returns:

the lastHeartBeat value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

RegisteredServerCreateParameters.name()

Returns:

the name value.

serverCertificate

public String serverCertificate()

Get the serverCertificate property: Registered Server Certificate.

Returns:

the serverCertificate value.

serverId

public String serverId()

Get the serverId property: Registered Server serverId.

Returns:

the serverId value.

serverOSVersion

public String serverOSVersion()

Get the serverOSVersion property: Registered Server OS Version.

Returns:

the serverOSVersion value.

serverRole

public String serverRole()

Get the serverRole property: Registered Server serverRole.

Returns:

the serverRole value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

RegisteredServerCreateParameters.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

RegisteredServerCreateParameters.type()

Returns:

the type value.

withAgentVersion

public RegisteredServerCreateParameters withAgentVersion(String agentVersion)

Set the agentVersion property: Registered Server Agent Version.

Parameters:

agentVersion - the agentVersion value to set.

Returns:

the RegisteredServerCreateParameters object itself.

withApplicationId

public RegisteredServerCreateParameters withApplicationId(String applicationId)

Set the applicationId property: Server ServicePrincipal Id.

Parameters:

applicationId - the applicationId value to set.

Returns:

the RegisteredServerCreateParameters object itself.

withClusterId

public RegisteredServerCreateParameters withClusterId(String clusterId)

Set the clusterId property: Registered Server clusterId.

Parameters:

clusterId - the clusterId value to set.

Returns:

the RegisteredServerCreateParameters object itself.

withClusterName

public RegisteredServerCreateParameters withClusterName(String clusterName)

Set the clusterName property: Registered Server clusterName.

Parameters:

clusterName - the clusterName value to set.

Returns:

the RegisteredServerCreateParameters object itself.

withFriendlyName

public RegisteredServerCreateParameters withFriendlyName(String friendlyName)

Set the friendlyName property: Friendly Name.

Parameters:

friendlyName - the friendlyName value to set.

Returns:

the RegisteredServerCreateParameters object itself.

withIdentity

public RegisteredServerCreateParameters withIdentity(Boolean identity)

Set the identity property: Apply server with newly discovered ApplicationId if available.

Parameters:

identity - the identity value to set.

Returns:

the RegisteredServerCreateParameters object itself.

withLastHeartBeat

public RegisteredServerCreateParameters withLastHeartBeat(String lastHeartBeat)

Set the lastHeartBeat property: Registered Server last heart beat.

Parameters:

lastHeartBeat - the lastHeartBeat value to set.

Returns:

the RegisteredServerCreateParameters object itself.

withServerCertificate

public RegisteredServerCreateParameters withServerCertificate(String serverCertificate)

Set the serverCertificate property: Registered Server Certificate.

Parameters:

serverCertificate - the serverCertificate value to set.

Returns:

the RegisteredServerCreateParameters object itself.

withServerId

public RegisteredServerCreateParameters withServerId(String serverId)

Set the serverId property: Registered Server serverId.

Parameters:

serverId - the serverId value to set.

Returns:

the RegisteredServerCreateParameters object itself.

withServerOSVersion

public RegisteredServerCreateParameters withServerOSVersion(String serverOSVersion)

Set the serverOSVersion property: Registered Server OS Version.

Parameters:

serverOSVersion - the serverOSVersion value to set.

Returns:

the RegisteredServerCreateParameters object itself.

withServerRole

public RegisteredServerCreateParameters withServerRole(String serverRole)

Set the serverRole property: Registered Server serverRole.

Parameters:

serverRole - the serverRole value to set.

Returns:

the RegisteredServerCreateParameters object itself.

Applies to