Class ServerConnectionPolicy
A server secure connection policy.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Sql.dll
Syntax
[Microsoft.Rest.Serialization.JsonTransformation]
public class ServerConnectionPolicy : Microsoft.Azure.Management.Sql.Models.ProxyResource
Constructors
ServerConnectionPolicy()
Initializes a new instance of the ServerConnectionPolicy class.
Declaration
public ServerConnectionPolicy ();
ServerConnectionPolicy(ServerConnectionType, String, String, String, String, String)
Initializes a new instance of the ServerConnectionPolicy class.
Declaration
public ServerConnectionPolicy (Microsoft.Azure.Management.Sql.Models.ServerConnectionType connectionType, string id = null, string name = null, string type = null, string kind = null, string location = null);
Parameters
ServerConnectionType
connectionType
The server connection type. Possible values include: 'Default', 'Proxy', 'Redirect' |
String
id
Resource ID. |
String
name
Resource name. |
String
type
Resource type. |
String
kind
Metadata used for the Azure portal experience. |
String
location
Resource location. |
Properties
ConnectionType
Gets or sets the server connection type. Possible values include: 'Default', 'Proxy', 'Redirect'
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.connectionType")]
public Microsoft.Azure.Management.Sql.Models.ServerConnectionType ConnectionType { get; set; }
Property Value
ServerConnectionType
|
Kind
Gets metadata used for the Azure portal experience.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="kind")]
public string Kind { get; }
Property Value
String
|
Location
Gets resource location.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="location")]
public string Location { get; }
Property Value
String
|
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate ();
Exceptions
ValidationException
Thrown if validation fails |