Class AutomationAccountCreateOrUpdateProperties
java.lang.Object
com.azure.resourcemanager.automation.fluent.models.AutomationAccountCreateOrUpdateProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AutomationAccountCreateOrUpdateProperties>
public final class AutomationAccountCreateOrUpdateProperties
extends Object
implements com.azure.json.JsonSerializable<AutomationAccountCreateOrUpdateProperties>
The parameters supplied to the create or update account properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AutomationAccountCreateOrUpdateProperties 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 AutomationAccountCreateOrUpdateProperties from the JsonReader.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.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.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.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
-
AutomationAccountCreateOrUpdateProperties
public AutomationAccountCreateOrUpdateProperties()Creates an instance of AutomationAccountCreateOrUpdateProperties class.
-
-
Method Details
-
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 AutomationAccountCreateOrUpdateProperties 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 AutomationAccountCreateOrUpdateProperties 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 AutomationAccountCreateOrUpdateProperties 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 AutomationAccountCreateOrUpdateProperties 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 AutomationAccountCreateOrUpdateProperties 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<AutomationAccountCreateOrUpdateProperties>
- Throws:
IOException
-
fromJson
public static AutomationAccountCreateOrUpdateProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AutomationAccountCreateOrUpdateProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of AutomationAccountCreateOrUpdateProperties 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 AutomationAccountCreateOrUpdateProperties.
-