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 Details

    • AutomationAccountCreateOrUpdateProperties

      public AutomationAccountCreateOrUpdateProperties()
      Creates an instance of AutomationAccountCreateOrUpdateProperties class.
  • Method Details

    • sku

      public Sku 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

      public EncryptionProperties 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

      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.
    • 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

      public Boolean disableLocalAuth()
      Get the disableLocalAuth property: Indicates whether requests using non-AAD authentication are blocked.
      Returns:
      the disableLocalAuth value.
    • withDisableLocalAuth

      public AutomationAccountCreateOrUpdateProperties 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 AutomationAccountCreateOrUpdateProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.