ActionOnUnmanage Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. ActionOnUnmanage
- com.
Implements
public final class ActionOnUnmanage
implements JsonSerializable<ActionOnUnmanage>
Defines the behavior of resources that are no longer managed after the stack is updated or deleted.
Constructor Summary
Constructor | Description |
---|---|
ActionOnUnmanage() |
Creates an instance of Action |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Action |
fromJson(JsonReader jsonReader)
Reads an instance of Action |
Deployment |
managementGroups()
Get the management |
Deployment |
resourceGroups()
Get the resource |
Deployment |
resources()
Get the resources property: Specifies an action for a newly unmanaged resource. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Action |
withManagementGroups(DeploymentStacksDeleteDetachEnum managementGroups)
Set the management |
Action |
withResourceGroups(DeploymentStacksDeleteDetachEnum resourceGroups)
Set the resource |
Action |
withResources(DeploymentStacksDeleteDetachEnum resources)
Set the resources property: Specifies an action for a newly unmanaged resource. |
Methods inherited from java.lang.Object
Constructor Details
ActionOnUnmanage
public ActionOnUnmanage()
Creates an instance of ActionOnUnmanage class.
Method Details
fromJson
public static ActionOnUnmanage fromJson(JsonReader jsonReader)
Reads an instance of ActionOnUnmanage from the JsonReader.
Parameters:
Returns:
Throws:
managementGroups
public DeploymentStacksDeleteDetachEnum managementGroups()
Get the managementGroups property: Specifies an action for a newly unmanaged resource. Delete will attempt to delete the resource from Azure. Detach will leave the resource in it's current state.
Returns:
resourceGroups
public DeploymentStacksDeleteDetachEnum resourceGroups()
Get the resourceGroups property: Specifies an action for a newly unmanaged resource. Delete will attempt to delete the resource from Azure. Detach will leave the resource in it's current state.
Returns:
resources
public DeploymentStacksDeleteDetachEnum resources()
Get the resources property: Specifies an action for a newly unmanaged resource. Delete will attempt to delete the resource from Azure. Detach will leave the resource in it's current state.
Returns:
toJson
validate
public void validate()
Validates the instance.
withManagementGroups
public ActionOnUnmanage withManagementGroups(DeploymentStacksDeleteDetachEnum managementGroups)
Set the managementGroups property: Specifies an action for a newly unmanaged resource. Delete will attempt to delete the resource from Azure. Detach will leave the resource in it's current state.
Parameters:
Returns:
withResourceGroups
public ActionOnUnmanage withResourceGroups(DeploymentStacksDeleteDetachEnum resourceGroups)
Set the resourceGroups property: Specifies an action for a newly unmanaged resource. Delete will attempt to delete the resource from Azure. Detach will leave the resource in it's current state.
Parameters:
Returns:
withResources
public ActionOnUnmanage withResources(DeploymentStacksDeleteDetachEnum resources)
Set the resources property: Specifies an action for a newly unmanaged resource. Delete will attempt to delete the resource from Azure. Detach will leave the resource in it's current state.
Parameters:
Returns:
Applies to
Azure SDK for Java