Share via


AutomationAccountUpdateParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.automation.models.AutomationAccountUpdateParameters

Implements

public final class AutomationAccountUpdateParameters
implements JsonSerializable<AutomationAccountUpdateParameters>

The parameters supplied to the update automation account operation.

Constructor Summary

Constructor Description
AutomationAccountUpdateParameters()

Creates an instance of AutomationAccountUpdateParameters class.

Method Summary

Modifier and Type Method and Description
Boolean disableLocalAuth()

Get the disableLocalAuth property: Indicates whether requests using non-AAD authentication are blocked.

EncryptionProperties encryption()

Get the encryption property: Set the encryption properties for the automation account.

static AutomationAccountUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of AutomationAccountUpdateParameters from the JsonReader.

Identity identity()

Get the identity property: Sets the identity property for automation account.

String location()

Get the location property: Gets or sets the location of the resource.

String name()

Get the name property: Gets or sets the name of the resource.

Boolean publicNetworkAccess()

Get the publicNetworkAccess property: Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public internet.

Sku sku()

Get the sku property: Gets or sets account SKU.

Map<String,String> tags()

Get the tags property: Gets or sets the tags attached to the resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AutomationAccountUpdateParameters withDisableLocalAuth(Boolean disableLocalAuth)

Set the disableLocalAuth property: Indicates whether requests using non-AAD authentication are blocked.

AutomationAccountUpdateParameters withEncryption(EncryptionProperties encryption)

Set the encryption property: Set the encryption properties for the automation account.

AutomationAccountUpdateParameters withIdentity(Identity identity)

Set the identity property: Sets the identity property for automation account.

AutomationAccountUpdateParameters withLocation(String location)

Set the location property: Gets or sets the location of the resource.

AutomationAccountUpdateParameters withName(String name)

Set the name property: Gets or sets the name of the resource.

AutomationAccountUpdateParameters withPublicNetworkAccess(Boolean publicNetworkAccess)

Set the publicNetworkAccess property: Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public internet.

AutomationAccountUpdateParameters withSku(Sku sku)

Set the sku property: Gets or sets account SKU.

AutomationAccountUpdateParameters withTags(Map<String,String> tags)

Set the tags property: Gets or sets the tags attached to the resource.

Methods inherited from java.lang.Object

Constructor Details

AutomationAccountUpdateParameters

public AutomationAccountUpdateParameters()

Creates an instance of AutomationAccountUpdateParameters class.

Method Details

disableLocalAuth

public Boolean disableLocalAuth()

Get the disableLocalAuth property: Indicates whether requests using non-AAD authentication are blocked.

Returns:

the disableLocalAuth value.

encryption

public EncryptionProperties encryption()

Get the encryption property: Set the encryption properties for the automation account.

Returns:

the encryption value.

fromJson

public static AutomationAccountUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of AutomationAccountUpdateParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

identity

public Identity identity()

Get the identity property: Sets the identity property for automation account.

Returns:

the identity value.

location

public String location()

Get the location property: Gets or sets the location of the resource.

Returns:

the location value.

name

public String name()

Get the name property: Gets or sets the name of the resource.

Returns:

the name value.

publicNetworkAccess

public Boolean publicNetworkAccess()

Get the publicNetworkAccess property: Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public internet.

Returns:

the publicNetworkAccess value.

sku

public Sku sku()

Get the sku property: Gets or sets account SKU.

Returns:

the sku value.

tags

public Map<String,String> tags()

Get the tags property: Gets or sets the tags attached to the resource.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDisableLocalAuth

public AutomationAccountUpdateParameters withDisableLocalAuth(Boolean disableLocalAuth)

Set the disableLocalAuth property: Indicates whether requests using non-AAD authentication are blocked.

Parameters:

disableLocalAuth - the disableLocalAuth value to set.

Returns:

the AutomationAccountUpdateParameters object itself.

withEncryption

public AutomationAccountUpdateParameters withEncryption(EncryptionProperties encryption)

Set the encryption property: Set the encryption properties for the automation account.

Parameters:

encryption - the encryption value to set.

Returns:

the AutomationAccountUpdateParameters object itself.

withIdentity

public AutomationAccountUpdateParameters withIdentity(Identity identity)

Set the identity property: Sets the identity property for automation account.

Parameters:

identity - the identity value to set.

Returns:

the AutomationAccountUpdateParameters object itself.

withLocation

public AutomationAccountUpdateParameters withLocation(String location)

Set the location property: Gets or sets the location of the resource.

Parameters:

location - the location value to set.

Returns:

the AutomationAccountUpdateParameters object itself.

withName

public AutomationAccountUpdateParameters withName(String name)

Set the name property: Gets or sets the name of the resource.

Parameters:

name - the name value to set.

Returns:

the AutomationAccountUpdateParameters object itself.

withPublicNetworkAccess

public AutomationAccountUpdateParameters withPublicNetworkAccess(Boolean publicNetworkAccess)

Set the publicNetworkAccess property: Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public internet.

Parameters:

publicNetworkAccess - the publicNetworkAccess value to set.

Returns:

the AutomationAccountUpdateParameters object itself.

withSku

public AutomationAccountUpdateParameters withSku(Sku sku)

Set the sku property: Gets or sets account SKU.

Parameters:

sku - the sku value to set.

Returns:

the AutomationAccountUpdateParameters object itself.

withTags

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

Set the tags property: Gets or sets the tags attached to the resource.

Parameters:

tags - the tags value to set.

Returns:

the AutomationAccountUpdateParameters object itself.

Applies to