Share via


VirtualNetworkRule Class

Definition

A virtual network rule.

[Microsoft.Rest.Serialization.JsonTransformation]
public class VirtualNetworkRule : Microsoft.Azure.Management.MySQL.Models.ProxyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type VirtualNetworkRule = class
    inherit ProxyResource
Public Class VirtualNetworkRule
Inherits ProxyResource
Inheritance
VirtualNetworkRule
Attributes

Constructors

VirtualNetworkRule()

Initializes a new instance of the VirtualNetworkRule class.

VirtualNetworkRule(String, String, String, String, Nullable<Boolean>, String)

Initializes a new instance of the VirtualNetworkRule class.

Properties

Id

Gets fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

(Inherited from Resource)
IgnoreMissingVnetServiceEndpoint

Gets or sets create firewall rule before the virtual network has vnet service endpoint enabled.

Name

Gets the name of the resource

(Inherited from Resource)
State

Gets virtual Network Rule State. Possible values include: 'Initializing', 'InProgress', 'Ready', 'Deleting', 'Unknown'

Type

Gets the type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

(Inherited from Resource)
VirtualNetworkSubnetId

Gets or sets the ARM resource id of the virtual network subnet.

Methods

Validate()

Validate the object.

Applies to