OrchestratorResourceProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.delegatednetwork.models.OrchestratorResourceProperties

Implements

public final class OrchestratorResourceProperties
implements JsonSerializable<OrchestratorResourceProperties>

Properties of orchestrator.

Constructor Summary

Constructor Description
OrchestratorResourceProperties()

Creates an instance of OrchestratorResourceProperties class.

Method Summary

Modifier and Type Method and Description
String apiServerEndpoint()

Get the apiServerEndpoint property: K8s APIServer url.

String clusterRootCA()

Get the clusterRootCA property: RootCA certificate of kubernetes cluster base64 encoded.

ControllerDetails controllerDetails()

Get the controllerDetails property: Properties of the controller.

static OrchestratorResourceProperties fromJson(JsonReader jsonReader)

Reads an instance of OrchestratorResourceProperties from the JsonReader.

String orchestratorAppId()

Get the orchestratorAppId property: AAD ID used with apiserver.

String orchestratorTenantId()

Get the orchestratorTenantId property: TenantID of server App ID.

String privateLinkResourceId()

Get the privateLinkResourceId property: private link arm resource id.

OrchestratorInstanceState provisioningState()

Get the provisioningState property: The current state of orchestratorInstance resource.

String resourceGuid()

Get the resourceGuid property: Resource guid.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

OrchestratorResourceProperties withApiServerEndpoint(String apiServerEndpoint)

Set the apiServerEndpoint property: K8s APIServer url.

OrchestratorResourceProperties withClusterRootCA(String clusterRootCA)

Set the clusterRootCA property: RootCA certificate of kubernetes cluster base64 encoded.

OrchestratorResourceProperties withControllerDetails(ControllerDetails controllerDetails)

Set the controllerDetails property: Properties of the controller.

OrchestratorResourceProperties withOrchestratorAppId(String orchestratorAppId)

Set the orchestratorAppId property: AAD ID used with apiserver.

OrchestratorResourceProperties withOrchestratorTenantId(String orchestratorTenantId)

Set the orchestratorTenantId property: TenantID of server App ID.

OrchestratorResourceProperties withPrivateLinkResourceId(String privateLinkResourceId)

Set the privateLinkResourceId property: private link arm resource id.

Methods inherited from java.lang.Object

Constructor Details

OrchestratorResourceProperties

public OrchestratorResourceProperties()

Creates an instance of OrchestratorResourceProperties class.

Method Details

apiServerEndpoint

public String apiServerEndpoint()

Get the apiServerEndpoint property: K8s APIServer url. Either one of apiServerEndpoint or privateLinkResourceId can be specified.

Returns:

the apiServerEndpoint value.

clusterRootCA

public String clusterRootCA()

Get the clusterRootCA property: RootCA certificate of kubernetes cluster base64 encoded.

Returns:

the clusterRootCA value.

controllerDetails

public ControllerDetails controllerDetails()

Get the controllerDetails property: Properties of the controller.

Returns:

the controllerDetails value.

fromJson

public static OrchestratorResourceProperties fromJson(JsonReader jsonReader)

Reads an instance of OrchestratorResourceProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

orchestratorAppId

public String orchestratorAppId()

Get the orchestratorAppId property: AAD ID used with apiserver.

Returns:

the orchestratorAppId value.

orchestratorTenantId

public String orchestratorTenantId()

Get the orchestratorTenantId property: TenantID of server App ID.

Returns:

the orchestratorTenantId value.

privateLinkResourceId

public String privateLinkResourceId()

Get the privateLinkResourceId property: private link arm resource id. Either one of apiServerEndpoint or privateLinkResourceId can be specified.

Returns:

the privateLinkResourceId value.

provisioningState

public OrchestratorInstanceState provisioningState()

Get the provisioningState property: The current state of orchestratorInstance resource.

Returns:

the provisioningState value.

resourceGuid

public String resourceGuid()

Get the resourceGuid property: Resource guid.

Returns:

the resourceGuid value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withApiServerEndpoint

public OrchestratorResourceProperties withApiServerEndpoint(String apiServerEndpoint)

Set the apiServerEndpoint property: K8s APIServer url. Either one of apiServerEndpoint or privateLinkResourceId can be specified.

Parameters:

apiServerEndpoint - the apiServerEndpoint value to set.

Returns:

the OrchestratorResourceProperties object itself.

withClusterRootCA

public OrchestratorResourceProperties withClusterRootCA(String clusterRootCA)

Set the clusterRootCA property: RootCA certificate of kubernetes cluster base64 encoded.

Parameters:

clusterRootCA - the clusterRootCA value to set.

Returns:

the OrchestratorResourceProperties object itself.

withControllerDetails

public OrchestratorResourceProperties withControllerDetails(ControllerDetails controllerDetails)

Set the controllerDetails property: Properties of the controller.

Parameters:

controllerDetails - the controllerDetails value to set.

Returns:

the OrchestratorResourceProperties object itself.

withOrchestratorAppId

public OrchestratorResourceProperties withOrchestratorAppId(String orchestratorAppId)

Set the orchestratorAppId property: AAD ID used with apiserver.

Parameters:

orchestratorAppId - the orchestratorAppId value to set.

Returns:

the OrchestratorResourceProperties object itself.

withOrchestratorTenantId

public OrchestratorResourceProperties withOrchestratorTenantId(String orchestratorTenantId)

Set the orchestratorTenantId property: TenantID of server App ID.

Parameters:

orchestratorTenantId - the orchestratorTenantId value to set.

Returns:

the OrchestratorResourceProperties object itself.

withPrivateLinkResourceId

public OrchestratorResourceProperties withPrivateLinkResourceId(String privateLinkResourceId)

Set the privateLinkResourceId property: private link arm resource id. Either one of apiServerEndpoint or privateLinkResourceId can be specified.

Parameters:

privateLinkResourceId - the privateLinkResourceId value to set.

Returns:

the OrchestratorResourceProperties object itself.

Applies to