Show / Hide Table of Contents

    Class Server

    An Azure SQL Database server.

    Inheritance
    Object
    Resource
    TrackedResource
    Server
    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 Server : Microsoft.Azure.Management.Sql.Models.TrackedResource

    Constructors

    Server()

    Initializes a new instance of the Server class.

    Declaration
    public Server ();

    Server(String, String, String, String, IDictionary<String,String>, ResourceIdentity, String, String, String, String, String, String)

    Initializes a new instance of the Server class.

    Declaration
    public Server (string location, string id = null, string name = null, string type = null, System.Collections.Generic.IDictionary<string,string> tags = null, Microsoft.Azure.Management.Sql.Models.ResourceIdentity identity = null, string kind = null, string administratorLogin = null, string administratorLoginPassword = null, string version = null, string state = null, string fullyQualifiedDomainName = null);
    Parameters
    String location

    Resource location.

    String id

    Resource ID.

    String name

    Resource name.

    String type

    Resource type.

    IDictionary<String,String> tags

    Resource tags.

    ResourceIdentity identity

    The Azure Active Directory identity of the server.

    String kind

    Kind of sql server. This is metadata used for the Azure portal experience.

    String administratorLogin

    Administrator username for the server. Once created it cannot be changed.

    String administratorLoginPassword

    The administrator login password (required for server creation).

    String version

    The version of the server.

    String state

    The state of the server.

    String fullyQualifiedDomainName

    The fully qualified domain name of the server.

    Properties

    AdministratorLogin

    Gets or sets administrator username for the server. Once created it cannot be changed.

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

    AdministratorLoginPassword

    Gets or sets the administrator login password (required for server creation).

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

    FullyQualifiedDomainName

    Gets the fully qualified domain name of the server.

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

    Identity

    Gets or sets the Azure Active Directory identity of the server.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="identity")]
    public Microsoft.Azure.Management.Sql.Models.ResourceIdentity Identity { get; set; }
    Property Value
    ResourceIdentity

    Kind

    Gets kind of sql server. This is metadata used for the Azure portal experience.

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

    State

    Gets the state of the server.

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

    Version

    Gets or sets the version of the server.

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

    Methods

    Validate()

    Validate the object.

    Declaration
    public override void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net