public class VirtualNetworkRule extends Object
Constructor and Description |
---|
VirtualNetworkRule() |
Modifier and Type | Method and Description |
---|---|
Action |
action()
Get the action of virtual network rule.
|
State |
state()
Get gets the state of virtual network rule.
|
String |
virtualNetworkResourceId()
Get resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.
|
VirtualNetworkRule |
withAction(Action action)
Set the action of virtual network rule.
|
VirtualNetworkRule |
withState(State state)
Set gets the state of virtual network rule.
|
VirtualNetworkRule |
withVirtualNetworkResourceId(String virtualNetworkResourceId)
Set resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}.
|
public String virtualNetworkResourceId()
public VirtualNetworkRule withVirtualNetworkResourceId(String virtualNetworkResourceId)
virtualNetworkResourceId
- the virtualNetworkResourceId value to setpublic Action action()
public VirtualNetworkRule withAction(Action action)
action
- the action value to setpublic State state()
public VirtualNetworkRule withState(State state)
state
- the state value to setCopyright © 2019. All rights reserved.