Class AutomationAccountCreateOrUpdateParameters
java.lang.Object
com.azure.resourcemanager.automation.models.AutomationAccountCreateOrUpdateParameters
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AutomationAccountCreateOrUpdateParameters>
public final class AutomationAccountCreateOrUpdateParameters
extends Object
implements com.azure.json.JsonSerializable<AutomationAccountCreateOrUpdateParameters>
The parameters supplied to the create or update automation account operation.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AutomationAccountCreateOrUpdateParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the disableLocalAuth property: Indicates whether requests using non-AAD authentication are blocked.Get the encryption property: Set the encryption properties for the automation account.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of AutomationAccountCreateOrUpdateParameters from the JsonReader.identity()
Get the identity property: Sets the identity property for automation account.location()
Get the location property: Gets or sets the location of the resource.name()
Get the name property: Gets or sets name of the resource.Get the publicNetworkAccess property: Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public internet.sku()
Get the sku property: Gets or sets account SKU.tags()
Get the tags property: Gets or sets the tags attached to the resource.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withDisableLocalAuth
(Boolean disableLocalAuth) Set the disableLocalAuth property: Indicates whether requests using non-AAD authentication are blocked.withEncryption
(EncryptionProperties encryption) Set the encryption property: Set the encryption properties for the automation account.withIdentity
(Identity identity) Set the identity property: Sets the identity property for automation account.withLocation
(String location) Set the location property: Gets or sets the location of the resource.Set the name property: Gets or sets name of the resource.withPublicNetworkAccess
(Boolean publicNetworkAccess) Set the publicNetworkAccess property: Indicates whether traffic on the non-ARM endpoint (Webhook/Agent) is allowed from the public internet.Set the sku property: Gets or sets account SKU.Set the tags property: Gets or sets the tags attached to the resource.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AutomationAccountCreateOrUpdateParameters
public AutomationAccountCreateOrUpdateParameters()Creates an instance of AutomationAccountCreateOrUpdateParameters class.
-
-
Method Details
-
name
Get the name property: Gets or sets name of the resource.- Returns:
- the name value.
-
withName
Set the name property: Gets or sets name of the resource.- Parameters:
name
- the name value to set.- Returns:
- the AutomationAccountCreateOrUpdateParameters object itself.
-
location
Get the location property: Gets or sets the location of the resource.- Returns:
- the location value.
-
withLocation
Set the location property: Gets or sets the location of the resource.- Parameters:
location
- the location value to set.- Returns:
- the AutomationAccountCreateOrUpdateParameters object itself.
-
identity
Get the identity property: Sets the identity property for automation account.- Returns:
- the identity value.
-
withIdentity
Set the identity property: Sets the identity property for automation account.- Parameters:
identity
- the identity value to set.- Returns:
- the AutomationAccountCreateOrUpdateParameters object itself.
-
tags
Get the tags property: Gets or sets the tags attached to the resource.- Returns:
- the tags value.
-
withTags
Set the tags property: Gets or sets the tags attached to the resource.- Parameters:
tags
- the tags value to set.- Returns:
- the AutomationAccountCreateOrUpdateParameters object itself.
-
sku
Get the sku property: Gets or sets account SKU.- Returns:
- the sku value.
-
withSku
Set the sku property: Gets or sets account SKU.- Parameters:
sku
- the sku value to set.- Returns:
- the AutomationAccountCreateOrUpdateParameters object itself.
-
encryption
Get the encryption property: Set the encryption properties for the automation account.- Returns:
- the encryption value.
-
withEncryption
Set the encryption property: Set the encryption properties for the automation account.- Parameters:
encryption
- the encryption value to set.- Returns:
- the AutomationAccountCreateOrUpdateParameters object itself.
-
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.
-
withPublicNetworkAccess
public AutomationAccountCreateOrUpdateParameters 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 AutomationAccountCreateOrUpdateParameters object itself.
-
disableLocalAuth
Get the disableLocalAuth property: Indicates whether requests using non-AAD authentication are blocked.- Returns:
- the disableLocalAuth value.
-
withDisableLocalAuth
Set the disableLocalAuth property: Indicates whether requests using non-AAD authentication are blocked.- Parameters:
disableLocalAuth
- the disableLocalAuth value to set.- Returns:
- the AutomationAccountCreateOrUpdateParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<AutomationAccountCreateOrUpdateParameters>
- Throws:
IOException
-
fromJson
public static AutomationAccountCreateOrUpdateParameters fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AutomationAccountCreateOrUpdateParameters from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of AutomationAccountCreateOrUpdateParameters 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 AutomationAccountCreateOrUpdateParameters.
-