Class VirtualNetworkRule
java.lang.Object
com.microsoft.azure.management.storage.VirtualNetworkRule
Virtual Network rule.
-
Constructor Summary
-
Method Summary
Modifier 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
-
VirtualNetworkRule
public VirtualNetworkRule()
-
-
Method Details
-
virtualNetworkResourceId
Get resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.- Returns:
- the virtualNetworkResourceId value
-
withVirtualNetworkResourceId
Set 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.
-
action
Get the action of virtual network rule. Possible values include: 'Allow'.- Returns:
- the action value
-
withAction
Set the action of virtual network rule. Possible values include: 'Allow'.- Parameters:
action
- the action value to set- Returns:
- the VirtualNetworkRule object itself.
-
state
Get gets the state of virtual network rule. Possible values include: 'provisioning', 'deprovisioning', 'succeeded', 'failed', 'networkSourceDeleted'.- Returns:
- the state value
-
withState
Set 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.
-