Interface SqlVirtualNetworkRule
-
- All Superinterfaces:
ChildResource<SqlServer>,ExternalChildResource<SqlVirtualNetworkRule,SqlServer>,HasInnerModel<VirtualNetworkRuleInner>,HasName,HasParent<SqlServer>,HasResourceGroup,Indexable,Refreshable<SqlVirtualNetworkRule>,Updatable<SqlVirtualNetworkRule.Update>
public interface SqlVirtualNetworkRule extends ExternalChildResource<SqlVirtualNetworkRule,SqlServer>, HasInnerModel<VirtualNetworkRuleInner>, HasResourceGroup, Refreshable<SqlVirtualNetworkRule>, Updatable<SqlVirtualNetworkRule.Update>
An immutable client-side representation of an Azure SQL Server Virtual Network Rule.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceSqlVirtualNetworkRule.DefinitionStagesGrouping of all the SQL Virtual Network Rule definition stages.static interfaceSqlVirtualNetworkRule.SqlVirtualNetworkRuleDefinition<ParentT>Container interface for all the definitions that need to be implemented.static interfaceSqlVirtualNetworkRule.UpdateThe template for a SQL Virtual Network Rule update operation, containing all the settings that can be modified.static interfaceSqlVirtualNetworkRule.UpdateStagesGrouping of all the SQL Virtual Network Rule update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete()Deletes the virtual network rule.Mono<Void>deleteAsync()Deletes the virtual network rule asynchronously.StringparentId()StringsqlServerName()Stringstate()StringsubnetId()-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.ExternalChildResource
id
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModel
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
name
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasParent
parent
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupName
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable
refresh, refreshAsync
-
-
-
-
Method Detail
-
sqlServerName
String sqlServerName()
- Returns:
- name of the SQL Server to which this Virtual Network Rule belongs
-
subnetId
String subnetId()
- Returns:
- the subnet ID of the Azure SQL Server Virtual Network Rule.
-
state
String state()
- Returns:
- the Azure SQL Server Virtual Network Rule state; possible values include: 'Initializing', 'InProgress', 'Ready', 'Deleting', 'Unknown'
-
parentId
String parentId()
- Returns:
- the parent SQL server ID
-
delete
void delete()
Deletes the virtual network rule.
-
-