Share via


ControllerInner Class

public final class ControllerInner
extends Resource

The Controller model.

Constructor Summary

Constructor Description
ControllerInner()

Creates an instance of ControllerInner class.

Method Summary

Modifier and Type Method and Description
String dataPlaneFqdn()

Get the dataPlaneFqdn property: DNS name for accessing DataPlane services.

static ControllerInner fromJson(JsonReader jsonReader)

Reads an instance of ControllerInner from the JsonReader.

String hostSuffix()

Get the hostSuffix property: DNS suffix for public endpoints running in the Azure Dev Spaces Controller.

String id()

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

String name()

Get the name property: The name of the resource.

ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the Azure Dev Spaces Controller.

Sku sku()

Get the sku property: Model representing SKU for Azure Dev Spaces Controller.

String targetContainerHostApiServerFqdn()

Get the targetContainerHostApiServerFqdn property: DNS of the target container host's API server.

String targetContainerHostCredentialsBase64()

Get the targetContainerHostCredentialsBase64 property: Credentials of the target container host (base64).

String targetContainerHostResourceId()

Get the targetContainerHostResourceId property: Resource ID of the target container host.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ControllerInner withLocation(String location)
ControllerInner withSku(Sku sku)

Set the sku property: Model representing SKU for Azure Dev Spaces Controller.

ControllerInner withTags(Map<String,String> tags)
ControllerInner withTargetContainerHostCredentialsBase64(String targetContainerHostCredentialsBase64)

Set the targetContainerHostCredentialsBase64 property: Credentials of the target container host (base64).

ControllerInner withTargetContainerHostResourceId(String targetContainerHostResourceId)

Set the targetContainerHostResourceId property: Resource ID of the target container host.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

ControllerInner

public ControllerInner()

Creates an instance of ControllerInner class.

Method Details

dataPlaneFqdn

public String dataPlaneFqdn()

Get the dataPlaneFqdn property: DNS name for accessing DataPlane services.

Returns:

the dataPlaneFqdn value.

fromJson

public static ControllerInner fromJson(JsonReader jsonReader)

Reads an instance of ControllerInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

hostSuffix

public String hostSuffix()

Get the hostSuffix property: DNS suffix for public endpoints running in the Azure Dev Spaces Controller.

Returns:

the hostSuffix value.

id

public String id()

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

Overrides:

ControllerInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ControllerInner.name()

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the Azure Dev Spaces Controller.

Returns:

the provisioningState value.

sku

public Sku sku()

Get the sku property: Model representing SKU for Azure Dev Spaces Controller.

Returns:

the sku value.

targetContainerHostApiServerFqdn

public String targetContainerHostApiServerFqdn()

Get the targetContainerHostApiServerFqdn property: DNS of the target container host's API server.

Returns:

the targetContainerHostApiServerFqdn value.

targetContainerHostCredentialsBase64

public String targetContainerHostCredentialsBase64()

Get the targetContainerHostCredentialsBase64 property: Credentials of the target container host (base64).

Returns:

the targetContainerHostCredentialsBase64 value.

targetContainerHostResourceId

public String targetContainerHostResourceId()

Get the targetContainerHostResourceId property: Resource ID of the target container host.

Returns:

the targetContainerHostResourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ControllerInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ControllerInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withLocation

public ControllerInner withLocation(String location)

Overrides:

ControllerInner.withLocation(String location)

Parameters:

location

withSku

public ControllerInner withSku(Sku sku)

Set the sku property: Model representing SKU for Azure Dev Spaces Controller.

Parameters:

sku - the sku value to set.

Returns:

the ControllerInner object itself.

withTags

public ControllerInner withTags(Map<String,String> tags)

Overrides:

ControllerInner.withTags(Map<String,String> tags)

Parameters:

tags

withTargetContainerHostCredentialsBase64

public ControllerInner withTargetContainerHostCredentialsBase64(String targetContainerHostCredentialsBase64)

Set the targetContainerHostCredentialsBase64 property: Credentials of the target container host (base64).

Parameters:

targetContainerHostCredentialsBase64 - the targetContainerHostCredentialsBase64 value to set.

Returns:

the ControllerInner object itself.

withTargetContainerHostResourceId

public ControllerInner withTargetContainerHostResourceId(String targetContainerHostResourceId)

Set the targetContainerHostResourceId property: Resource ID of the target container host.

Parameters:

targetContainerHostResourceId - the targetContainerHostResourceId value to set.

Returns:

the ControllerInner object itself.

Applies to