Class AutomationAccountUpdateProperties

java.lang.Object
com.azure.resourcemanager.automation.fluent.models.AutomationAccountUpdateProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<AutomationAccountUpdateProperties>

public final class AutomationAccountUpdateProperties extends Object implements com.azure.json.JsonSerializable<AutomationAccountUpdateProperties>
The parameters supplied to the update account properties.
  • Constructor Details

    • AutomationAccountUpdateProperties

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

    • sku

      public Sku sku()
      Get the sku property: Gets or sets account SKU.
      Returns:
      the sku value.
    • withSku

      public AutomationAccountUpdateProperties withSku(Sku sku)
      Set the sku property: Gets or sets account SKU.
      Parameters:
      sku - the sku value to set.
      Returns:
      the AutomationAccountUpdateProperties object itself.
    • encryption

      public EncryptionProperties encryption()
      Get the encryption property: Set the encryption properties for the automation account.
      Returns:
      the encryption value.
    • withEncryption

      public AutomationAccountUpdateProperties withEncryption(EncryptionProperties encryption)
      Set the encryption property: Set the encryption properties for the automation account.
      Parameters:
      encryption - the encryption value to set.
      Returns:
      the AutomationAccountUpdateProperties 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 AutomationAccountUpdateProperties 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 AutomationAccountUpdateProperties 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 AutomationAccountUpdateProperties 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 AutomationAccountUpdateProperties 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<AutomationAccountUpdateProperties>
      Throws:
      IOException
    • fromJson

      public static AutomationAccountUpdateProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of AutomationAccountUpdateProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of AutomationAccountUpdateProperties 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 AutomationAccountUpdateProperties.