AutoProvisioningSettingInner Class

public final class AutoProvisioningSettingInner
extends ProxyResource

Auto provisioning setting.

Constructor Summary

Constructor Description
AutoProvisioningSettingInner()

Creates an instance of AutoProvisioningSettingInner class.

Method Summary

Modifier and Type Method and Description
AutoProvision autoProvision()

Get the autoProvision property: Describes what kind of security agent provisioning action to take.

static AutoProvisioningSettingInner fromJson(JsonReader jsonReader)

Reads an instance of AutoProvisioningSettingInner 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.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

AutoProvisioningSettingInner withAutoProvision(AutoProvision autoProvision)

Set the autoProvision property: Describes what kind of security agent provisioning action to take.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

AutoProvisioningSettingInner

public AutoProvisioningSettingInner()

Creates an instance of AutoProvisioningSettingInner class.

Method Details

autoProvision

public AutoProvision autoProvision()

Get the autoProvision property: Describes what kind of security agent provisioning action to take.

Returns:

the autoProvision value.

fromJson

public static AutoProvisioningSettingInner fromJson(JsonReader jsonReader)

Reads an instance of AutoProvisioningSettingInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

AutoProvisioningSettingInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

AutoProvisioningSettingInner.name()

Returns:

the name value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AutoProvisioningSettingInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

AutoProvisioningSettingInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAutoProvision

public AutoProvisioningSettingInner withAutoProvision(AutoProvision autoProvision)

Set the autoProvision property: Describes what kind of security agent provisioning action to take.

Parameters:

autoProvision - the autoProvision value to set.

Returns:

the AutoProvisioningSettingInner object itself.

Applies to