AutomationScope Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. AutomationScope
- com.
Implements
public final class AutomationScope
implements JsonSerializable<AutomationScope>
A single automation scope.
Constructor Summary
| Constructor | Description |
|---|---|
| AutomationScope() |
Creates an instance of Automation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
description()
Get the description property: The resources scope description. |
|
static
Automation |
fromJson(JsonReader jsonReader)
Reads an instance of Automation |
| String |
scopePath()
Get the scope |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Automation |
withDescription(String description)
Set the description property: The resources scope description. |
|
Automation |
withScopePath(String scopePath)
Set the scope |
Methods inherited from java.lang.Object
Constructor Details
AutomationScope
public AutomationScope()
Creates an instance of AutomationScope class.
Method Details
description
public String description()
Get the description property: The resources scope description.
Returns:
fromJson
public static AutomationScope fromJson(JsonReader jsonReader)
Reads an instance of AutomationScope from the JsonReader.
Parameters:
Returns:
Throws:
scopePath
public String scopePath()
Get the scopePath property: The resources scope path. Can be the subscription on which the automation is defined on or a resource group under that subscription (fully qualified Azure resource IDs).
Returns:
toJson
validate
public void validate()
Validates the instance.
withDescription
public AutomationScope withDescription(String description)
Set the description property: The resources scope description.
Parameters:
Returns:
withScopePath
public AutomationScope withScopePath(String scopePath)
Set the scopePath property: The resources scope path. Can be the subscription on which the automation is defined on or a resource group under that subscription (fully qualified Azure resource IDs).
Parameters:
Returns: