Show / Hide Table of Contents

    Class RestorableDroppedManagedDatabase

    A restorable dropped managed database resource.

    Inheritance
    Object
    Resource
    TrackedResource
    RestorableDroppedManagedDatabase
    Inherited Members
    Resource.Id
    Resource.Name
    Resource.Type
    TrackedResource.Location
    TrackedResource.Tags
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Sql.dll
    Syntax
    [Microsoft.Rest.Serialization.JsonTransformation]
    public class RestorableDroppedManagedDatabase : Microsoft.Azure.Management.Sql.Models.TrackedResource

    Constructors

    RestorableDroppedManagedDatabase()

    Initializes a new instance of the RestorableDroppedManagedDatabase class.

    Declaration
    public RestorableDroppedManagedDatabase ();

    RestorableDroppedManagedDatabase(String, String, String, String, IDictionary<String,String>, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>)

    Initializes a new instance of the RestorableDroppedManagedDatabase class.

    Declaration
    public RestorableDroppedManagedDatabase (string location, string id = null, string name = null, string type = null, System.Collections.Generic.IDictionary<string,string> tags = null, string databaseName = null, Nullable<DateTime> creationDate = null, Nullable<DateTime> deletionDate = null, Nullable<DateTime> earliestRestoreDate = null);
    Parameters
    String location

    Resource location.

    String id

    Resource ID.

    String name

    Resource name.

    String type

    Resource type.

    IDictionary<String,String> tags

    Resource tags.

    String databaseName

    The name of the database.

    Nullable<DateTime> creationDate

    The creation date of the database (ISO8601 format).

    Nullable<DateTime> deletionDate

    The deletion date of the database (ISO8601 format).

    Nullable<DateTime> earliestRestoreDate

    The earliest restore date of the database (ISO8601 format).

    Properties

    CreationDate

    Gets the creation date of the database (ISO8601 format).

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.creationDate")]
    public Nullable<DateTime> CreationDate { get; }
    Property Value
    Nullable<DateTime>

    DatabaseName

    Gets the name of the database.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.databaseName")]
    public string DatabaseName { get; }
    Property Value
    String

    DeletionDate

    Gets the deletion date of the database (ISO8601 format).

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.deletionDate")]
    public Nullable<DateTime> DeletionDate { get; }
    Property Value
    Nullable<DateTime>

    EarliestRestoreDate

    Gets the earliest restore date of the database (ISO8601 format).

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.earliestRestoreDate")]
    public Nullable<DateTime> EarliestRestoreDate { get; }
    Property Value
    Nullable<DateTime>

    Methods

    Validate()

    Validate the object.

    Declaration
    public override void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net