Struct CleanupOptions
The clean up preference when the script execution gets in a terminal state. Default setting is 'Always'.
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.Resources.dll
Syntax
public struct CleanupOptions : IEquatable<Azure.ResourceManager.Resources.Models.CleanupOptions>
Constructors
CleanupOptions(String)
Initializes a new instance of CleanupOptions.
Declaration
public CleanupOptions (string value);
Parameters
System.String
value
|
Exceptions
System.ArgumentNullException
|
Properties
Always
Always.
Declaration
public static Azure.ResourceManager.Resources.Models.CleanupOptions Always { get; }
Property Value
CleanupOptions
|
OnExpiration
OnExpiration.
Declaration
public static Azure.ResourceManager.Resources.Models.CleanupOptions OnExpiration { get; }
Property Value
CleanupOptions
|
OnSuccess
OnSuccess.
Declaration
public static Azure.ResourceManager.Resources.Models.CleanupOptions OnSuccess { get; }
Property Value
CleanupOptions
|
Methods
Equals(CleanupOptions)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals (Azure.ResourceManager.Resources.Models.CleanupOptions other);
Parameters
CleanupOptions
other
An object to compare with this object. |
Returns
System.Boolean
|
Equals(Object)
Indicates whether this instance and a specified object are equal.
Declaration
[System.ComponentModel.EditorBrowsable]
public override bool Equals (object obj);
Parameters
System.Object
obj
The object to compare with the current instance. |
Returns
System.Boolean
|
GetHashCode()
Returns the hash code for this instance.
Declaration
[System.ComponentModel.EditorBrowsable]
public override int GetHashCode ();
Returns
System.Int32
A 32-bit signed integer that is the hash code for this instance. |
ToString()
Returns the fully qualified type name of this instance.
Declaration
public override string ToString ();
Returns
System.String
The fully qualified type name. |
Operators
Equality(CleanupOptions, CleanupOptions)
Determines if two CleanupOptions values are the same.
Declaration
public static bool operator == (Azure.ResourceManager.Resources.Models.CleanupOptions left, Azure.ResourceManager.Resources.Models.CleanupOptions right);
Parameters
CleanupOptions
left
|
CleanupOptions
right
|
Returns
System.Boolean
|
Implicit(String to CleanupOptions)
Converts a string to a CleanupOptions.
Declaration
public static implicit operator Azure.ResourceManager.Resources.Models.CleanupOptions (string value);
Parameters
System.String
value
|
Returns
CleanupOptions
|
Inequality(CleanupOptions, CleanupOptions)
Determines if two CleanupOptions values are not the same.
Declaration
public static bool operator != (Azure.ResourceManager.Resources.Models.CleanupOptions left, Azure.ResourceManager.Resources.Models.CleanupOptions right);
Parameters
CleanupOptions
left
|
CleanupOptions
right
|
Returns
System.Boolean
|