Class AutomationAccountProperties
java.lang.Object
com.azure.resourcemanager.automation.fluent.models.AutomationAccountProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AutomationAccountProperties>
public final class AutomationAccountProperties
extends Object
implements com.azure.json.JsonSerializable<AutomationAccountProperties>
Definition of the account property.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AutomationAccountProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the automationHybridServiceUrl property: URL of automation hybrid service which is used for hybrid worker on-boarding.Get the creationTime property: Gets the creation time.Get the description property: Gets or sets the description.Get the disableLocalAuth property: Indicates whether requests using non-AAD authentication are blocked.Get the encryption property: Encryption properties for the automation account.static AutomationAccountProperties
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of AutomationAccountProperties from the JsonReader.Get the lastModifiedBy property: Gets or sets the last modified by.Get the lastModifiedTime property: Gets the last modified time.Get the privateEndpointConnections property: List of Automation operations supported by the Automation resource provider.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 the SKU of account.state()
Get the state property: Gets status of account.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withAutomationHybridServiceUrl
(String automationHybridServiceUrl) Set the automationHybridServiceUrl property: URL of automation hybrid service which is used for hybrid worker on-boarding.withDescription
(String description) Set the description property: Gets or sets the description.withDisableLocalAuth
(Boolean disableLocalAuth) Set the disableLocalAuth property: Indicates whether requests using non-AAD authentication are blocked.withEncryption
(EncryptionProperties encryption) Set the encryption property: Encryption properties for the automation account.withLastModifiedBy
(String lastModifiedBy) Set the lastModifiedBy property: Gets or sets the last modified by.withPrivateEndpointConnections
(List<PrivateEndpointConnectionInner> privateEndpointConnections) Set the privateEndpointConnections property: List of Automation operations supported by the Automation resource provider.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 the SKU of account.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
-
AutomationAccountProperties
public AutomationAccountProperties()Creates an instance of AutomationAccountProperties class.
-
-
Method Details
-
sku
Get the sku property: Gets or sets the SKU of account.- Returns:
- the sku value.
-
withSku
Set the sku property: Gets or sets the SKU of account.- Parameters:
sku
- the sku value to set.- Returns:
- the AutomationAccountProperties object itself.
-
lastModifiedBy
Get the lastModifiedBy property: Gets or sets the last modified by.- Returns:
- the lastModifiedBy value.
-
withLastModifiedBy
Set the lastModifiedBy property: Gets or sets the last modified by.- Parameters:
lastModifiedBy
- the lastModifiedBy value to set.- Returns:
- the AutomationAccountProperties object itself.
-
state
Get the state property: Gets status of account.- Returns:
- the state value.
-
creationTime
Get the creationTime property: Gets the creation time.- Returns:
- the creationTime value.
-
lastModifiedTime
Get the lastModifiedTime property: Gets the last modified time.- Returns:
- the lastModifiedTime value.
-
description
Get the description property: Gets or sets the description.- Returns:
- the description value.
-
withDescription
Set the description property: Gets or sets the description.- Parameters:
description
- the description value to set.- Returns:
- the AutomationAccountProperties object itself.
-
encryption
Get the encryption property: Encryption properties for the automation account.- Returns:
- the encryption value.
-
withEncryption
Set the encryption property: Encryption properties for the automation account.- Parameters:
encryption
- the encryption value to set.- Returns:
- the AutomationAccountProperties object itself.
-
privateEndpointConnections
Get the privateEndpointConnections property: List of Automation operations supported by the Automation resource provider.- Returns:
- the privateEndpointConnections value.
-
withPrivateEndpointConnections
public AutomationAccountProperties withPrivateEndpointConnections(List<PrivateEndpointConnectionInner> privateEndpointConnections) Set the privateEndpointConnections property: List of Automation operations supported by the Automation resource provider.- Parameters:
privateEndpointConnections
- the privateEndpointConnections value to set.- Returns:
- the AutomationAccountProperties 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
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 AutomationAccountProperties 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 AutomationAccountProperties object itself.
-
automationHybridServiceUrl
Get the automationHybridServiceUrl property: URL of automation hybrid service which is used for hybrid worker on-boarding.- Returns:
- the automationHybridServiceUrl value.
-
withAutomationHybridServiceUrl
public AutomationAccountProperties withAutomationHybridServiceUrl(String automationHybridServiceUrl) Set the automationHybridServiceUrl property: URL of automation hybrid service which is used for hybrid worker on-boarding.- Parameters:
automationHybridServiceUrl
- the automationHybridServiceUrl value to set.- Returns:
- the AutomationAccountProperties 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<AutomationAccountProperties>
- Throws:
IOException
-
fromJson
public static AutomationAccountProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AutomationAccountProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of AutomationAccountProperties 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 AutomationAccountProperties.
-