Class VirtualNetworkRule
java.lang.Object
com.microsoft.azure.management.storage.VirtualNetworkRule
Virtual Network rule.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionaction()Get the action of virtual network rule.state()Get gets the state of virtual network rule.Get resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.withAction(Action action) Set the action of virtual network rule.Set gets the state of virtual network rule.withVirtualNetworkResourceId(String virtualNetworkResourceId) Set resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.
- 
Constructor Details- 
VirtualNetworkRulepublic VirtualNetworkRule()
 
- 
- 
Method Details- 
virtualNetworkResourceIdGet resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.- Returns:
- the virtualNetworkResourceId value
 
- 
withVirtualNetworkResourceIdSet resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.- Parameters:
- virtualNetworkResourceId- the virtualNetworkResourceId value to set
- Returns:
- the VirtualNetworkRule object itself.
 
- 
actionGet the action of virtual network rule. Possible values include: 'Allow'.- Returns:
- the action value
 
- 
withActionSet the action of virtual network rule. Possible values include: 'Allow'.- Parameters:
- action- the action value to set
- Returns:
- the VirtualNetworkRule object itself.
 
- 
stateGet gets the state of virtual network rule. Possible values include: 'provisioning', 'deprovisioning', 'succeeded', 'failed', 'networkSourceDeleted'.- Returns:
- the state value
 
- 
withStateSet gets the state of virtual network rule. Possible values include: 'provisioning', 'deprovisioning', 'succeeded', 'failed', 'networkSourceDeleted'.- Parameters:
- state- the state value to set
- Returns:
- the VirtualNetworkRule object itself.
 
 
-