ArcAutoProvisioningConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.ArcAutoProvisioningConfiguration

Implements

public final class ArcAutoProvisioningConfiguration
implements JsonSerializable<ArcAutoProvisioningConfiguration>

Configuration for servers Arc auto provisioning for a given environment.

Constructor Summary

Constructor Description
ArcAutoProvisioningConfiguration()

Creates an instance of ArcAutoProvisioningConfiguration class.

Method Summary

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

Reads an instance of ArcAutoProvisioningConfiguration from the JsonReader.

String privateLinkScope()

Get the privateLinkScope property: Optional Arc private link scope resource id to link the Arc agent.

String proxy()

Get the proxy property: Optional HTTP proxy endpoint to use for the Arc agent.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ArcAutoProvisioningConfiguration withPrivateLinkScope(String privateLinkScope)

Set the privateLinkScope property: Optional Arc private link scope resource id to link the Arc agent.

ArcAutoProvisioningConfiguration withProxy(String proxy)

Set the proxy property: Optional HTTP proxy endpoint to use for the Arc agent.

Methods inherited from java.lang.Object

Constructor Details

ArcAutoProvisioningConfiguration

public ArcAutoProvisioningConfiguration()

Creates an instance of ArcAutoProvisioningConfiguration class.

Method Details

fromJson

public static ArcAutoProvisioningConfiguration fromJson(JsonReader jsonReader)

Reads an instance of ArcAutoProvisioningConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

privateLinkScope

public String privateLinkScope()

Get the privateLinkScope property: Optional Arc private link scope resource id to link the Arc agent.

Returns:

the privateLinkScope value.

proxy

public String proxy()

Get the proxy property: Optional HTTP proxy endpoint to use for the Arc agent.

Returns:

the proxy value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withPrivateLinkScope

public ArcAutoProvisioningConfiguration withPrivateLinkScope(String privateLinkScope)

Set the privateLinkScope property: Optional Arc private link scope resource id to link the Arc agent.

Parameters:

privateLinkScope - the privateLinkScope value to set.

Returns:

the ArcAutoProvisioningConfiguration object itself.

withProxy

public ArcAutoProvisioningConfiguration withProxy(String proxy)

Set the proxy property: Optional HTTP proxy endpoint to use for the Arc agent.

Parameters:

proxy - the proxy value to set.

Returns:

the ArcAutoProvisioningConfiguration object itself.

Applies to