Class VirtualNetworkRule
A virtual network rule.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Sql.dll
Syntax
[Microsoft.Rest.Serialization.JsonTransformation]
public class VirtualNetworkRule : Microsoft.Azure.Management.Sql.Models.ProxyResource
Constructors
VirtualNetworkRule()
Initializes a new instance of the VirtualNetworkRule class.
Declaration
public VirtualNetworkRule ();
VirtualNetworkRule(String, String, String, String, Nullable<Boolean>, String)
Initializes a new instance of the VirtualNetworkRule class.
Declaration
public VirtualNetworkRule (string virtualNetworkSubnetId, string id = null, string name = null, string type = null, Nullable<bool> ignoreMissingVnetServiceEndpoint = null, string state = null);
Parameters
String
virtualNetworkSubnetId
The ARM resource id of the virtual network subnet. |
String
id
Resource ID. |
String
name
Resource name. |
String
type
Resource type. |
Nullable<Boolean>
ignoreMissingVnetServiceEndpoint
Create firewall rule before the virtual network has vnet service endpoint enabled. |
String
state
Virtual Network Rule State. Possible values include: 'Initializing', 'InProgress', 'Ready', 'Deleting', 'Unknown' |
Properties
IgnoreMissingVnetServiceEndpoint
Gets or sets create firewall rule before the virtual network has vnet service endpoint enabled.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.ignoreMissingVnetServiceEndpoint")]
public Nullable<bool> IgnoreMissingVnetServiceEndpoint { get; set; }
Property Value
Nullable<Boolean>
|
State
Gets virtual Network Rule State. Possible values include: 'Initializing', 'InProgress', 'Ready', 'Deleting', 'Unknown'
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.state")]
public string State { get; }
Property Value
String
|
VirtualNetworkSubnetId
Gets or sets the ARM resource id of the virtual network subnet.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.virtualNetworkSubnetId")]
public string VirtualNetworkSubnetId { get; set; }
Property Value
String
|
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate ();
Exceptions
ValidationException
Thrown if validation fails |