ArcAutoProvisioning Class

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

Implements

public class ArcAutoProvisioning
implements JsonSerializable<ArcAutoProvisioning>

The ARC autoprovisioning configuration.

Constructor Summary

Constructor Description
ArcAutoProvisioning()

Creates an instance of ArcAutoProvisioning class.

Method Summary

Modifier and Type Method and Description
ArcAutoProvisioningConfiguration configuration()

Get the configuration property: Configuration for servers Arc auto provisioning for a given environment.

Boolean enabled()

Get the enabled property: Is arc auto provisioning enabled.

static ArcAutoProvisioning fromJson(JsonReader jsonReader)

Reads an instance of ArcAutoProvisioning from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ArcAutoProvisioning withConfiguration(ArcAutoProvisioningConfiguration configuration)

Set the configuration property: Configuration for servers Arc auto provisioning for a given environment.

ArcAutoProvisioning withEnabled(Boolean enabled)

Set the enabled property: Is arc auto provisioning enabled.

Methods inherited from java.lang.Object

Constructor Details

ArcAutoProvisioning

public ArcAutoProvisioning()

Creates an instance of ArcAutoProvisioning class.

Method Details

configuration

public ArcAutoProvisioningConfiguration configuration()

Get the configuration property: Configuration for servers Arc auto provisioning for a given environment.

Returns:

the configuration value.

enabled

public Boolean enabled()

Get the enabled property: Is arc auto provisioning enabled.

Returns:

the enabled value.

fromJson

public static ArcAutoProvisioning fromJson(JsonReader jsonReader)

Reads an instance of ArcAutoProvisioning from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withConfiguration

public ArcAutoProvisioning withConfiguration(ArcAutoProvisioningConfiguration configuration)

Set the configuration property: Configuration for servers Arc auto provisioning for a given environment.

Parameters:

configuration - the configuration value to set.

Returns:

the ArcAutoProvisioning object itself.

withEnabled

public ArcAutoProvisioning withEnabled(Boolean enabled)

Set the enabled property: Is arc auto provisioning enabled.

Parameters:

enabled - the enabled value to set.

Returns:

the ArcAutoProvisioning object itself.

Applies to