JobPrivateEndpointInner Class

public final class JobPrivateEndpointInner
extends ProxyResource

A job agent private endpoint.

Constructor Summary

Constructor Description
JobPrivateEndpointInner()

Creates an instance of JobPrivateEndpointInner class.

Method Summary

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

Reads an instance of JobPrivateEndpointInner from the JsonReader.

String id()

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

String name()

Get the name property: The name of the resource.

String privateEndpointId()

Get the privateEndpointId property: Private endpoint id of the private endpoint.

String targetServerAzureResourceId()

Get the targetServerAzureResourceId property: ARM resource id of the server the private endpoint will target.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

JobPrivateEndpointInner withTargetServerAzureResourceId(String targetServerAzureResourceId)

Set the targetServerAzureResourceId property: ARM resource id of the server the private endpoint will target.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

JobPrivateEndpointInner

public JobPrivateEndpointInner()

Creates an instance of JobPrivateEndpointInner class.

Method Details

fromJson

public static JobPrivateEndpointInner fromJson(JsonReader jsonReader)

Reads an instance of JobPrivateEndpointInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of JobPrivateEndpointInner 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:

JobPrivateEndpointInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

JobPrivateEndpointInner.name()

Returns:

the name value.

privateEndpointId

public String privateEndpointId()

Get the privateEndpointId property: Private endpoint id of the private endpoint.

Returns:

the privateEndpointId value.

targetServerAzureResourceId

public String targetServerAzureResourceId()

Get the targetServerAzureResourceId property: ARM resource id of the server the private endpoint will target.

Returns:

the targetServerAzureResourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

JobPrivateEndpointInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

JobPrivateEndpointInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withTargetServerAzureResourceId

public JobPrivateEndpointInner withTargetServerAzureResourceId(String targetServerAzureResourceId)

Set the targetServerAzureResourceId property: ARM resource id of the server the private endpoint will target.

Parameters:

targetServerAzureResourceId - the targetServerAzureResourceId value to set.

Returns:

the JobPrivateEndpointInner object itself.

Applies to