Class AutomationAccountInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.automation.fluent.models.AutomationAccountInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class AutomationAccountInner
extends com.azure.core.management.Resource
Definition of the automation account type.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AutomationAccountInner 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.etag()
Get the etag property: Gets or sets the etag of the resource.static AutomationAccountInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of AutomationAccountInner from the JsonReader.id()
Get the id property: Fully qualified resource Id for the resource.identity()
Get the identity property: Identity for the resource.Get the lastModifiedBy property: Gets or sets the last modified by.Get the lastModifiedTime property: Gets the last modified time.name()
Get the name property: The name of the resource.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.core.management.SystemData
Get the systemData property: Resource system metadata.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) type()
Get the type property: The type of the resource.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.Set the etag property: Gets or sets the etag of the resource.withIdentity
(Identity identity) Set the identity property: Identity for the resource.withLastModifiedBy
(String lastModifiedBy) Set the lastModifiedBy property: Gets or sets the last modified by.withLocation
(String location) 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 com.azure.core.management.Resource
location, tags
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
-
AutomationAccountInner
public AutomationAccountInner()Creates an instance of AutomationAccountInner class.
-
-
Method Details
-
etag
Get the etag property: Gets or sets the etag of the resource.- Returns:
- the etag value.
-
withEtag
Set the etag property: Gets or sets the etag of the resource.- Parameters:
etag
- the etag value to set.- Returns:
- the AutomationAccountInner object itself.
-
identity
Get the identity property: Identity for the resource.- Returns:
- the identity value.
-
withIdentity
Set the identity property: Identity for the resource.- Parameters:
identity
- the identity value to set.- Returns:
- the AutomationAccountInner object itself.
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Resource system metadata.- Returns:
- the systemData value.
-
type
Get the type property: The type of the resource.- Overrides:
type
in classcom.azure.core.management.ProxyResource
- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
name
in classcom.azure.core.management.ProxyResource
- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
id
in classcom.azure.core.management.ProxyResource
- Returns:
- the id value.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
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 AutomationAccountInner 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 AutomationAccountInner 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 AutomationAccountInner 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 AutomationAccountInner object itself.
-
privateEndpointConnections
Get the privateEndpointConnections property: List of Automation operations supported by the Automation resource provider.- Returns:
- the privateEndpointConnections value.
-
withPrivateEndpointConnections
public AutomationAccountInner 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 AutomationAccountInner 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 AutomationAccountInner 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 AutomationAccountInner 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
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 AutomationAccountInner 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<com.azure.core.management.ProxyResource>
- Overrides:
toJson
in classcom.azure.core.management.Resource
- Throws:
IOException
-
fromJson
public static AutomationAccountInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AutomationAccountInner from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of AutomationAccountInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException
- If the deserialized JSON object was missing any required properties.IOException
- If an error occurs while reading the AutomationAccountInner.
-