Share via


ISqlVirtualNetworkRule Interface

Definition

An immutable client-side representation of an Azure SQL Server Virtual Network Rule.

public interface ISqlVirtualNetworkRule : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IChildResource<Microsoft.Azure.Management.Sql.Fluent.ISqlServer>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IExternalChildResource<Microsoft.Azure.Management.Sql.Fluent.ISqlVirtualNetworkRule,Microsoft.Azure.Management.Sql.Fluent.ISqlServer>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Sql.Fluent.Models.VirtualNetworkRuleInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasParent<Microsoft.Azure.Management.Sql.Fluent.ISqlServer>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasResourceGroup, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IRefreshable<Microsoft.Azure.Management.Sql.Fluent.ISqlVirtualNetworkRule>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IUpdatable<Microsoft.Azure.Management.Sql.Fluent.SqlVirtualNetworkRule.Update.IUpdate>
type ISqlVirtualNetworkRule = interface
    interface IBeta
    interface IExternalChildResource<ISqlVirtualNetworkRule, ISqlServer>
    interface IChildResource<ISqlServer>
    interface IHasName
    interface IIndexable
    interface IHasParent<ISqlServer>
    interface IRefreshable<ISqlVirtualNetworkRule>
    interface IHasInner<VirtualNetworkRuleInner>
    interface IHasResourceGroup
    interface IUpdatable<IUpdate>
Public Interface ISqlVirtualNetworkRule
Implements IBeta, IChildResource(Of ISqlServer), IExternalChildResource(Of ISqlVirtualNetworkRule, ISqlServer), IHasInner(Of VirtualNetworkRuleInner), IHasParent(Of ISqlServer), IHasResourceGroup, IRefreshable(Of ISqlVirtualNetworkRule), IUpdatable(Of IUpdate)
Implements

Properties

Id (Inherited from IExternalChildResource<FluentModelT,IParentT>)
Inner (Inherited from IHasInner<T>)
Key (Inherited from IIndexable)
Name

Gets the name of the resource

(Inherited from IHasName)
Parent

Gets the parent of this child resource.

(Inherited from IHasParent<ParentT>)
ParentId

Gets the parent SQL server ID.

ResourceGroupName (Inherited from IHasResourceGroup)
SqlServerName

Gets name of the SQL Server to which this Virtual Network Rule belongs.

State

Gets the Azure SQL Server Virtual Network Rule state; possible values include: 'Initializing', 'InProgress', 'Ready', 'Deleting', 'Unknown'.

SubnetId

Gets the subnet ID of the Azure SQL Server Virtual Network Rule.

Methods

Delete()

Deletes the virtual network rule.

DeleteAsync(CancellationToken)

Deletes the virtual network rule asynchronously.

Refresh()

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
RefreshAsync(CancellationToken)

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
Update() (Inherited from IUpdatable<T>)

Applies to