public class VirtualNetworkRule extends Object
Constructor and Description |
---|
VirtualNetworkRule() |
Modifier and Type | Method and Description |
---|---|
String |
id()
Get resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
|
Boolean |
ignoreMissingVNetServiceEndpoint()
Get create firewall rule before the virtual network has vnet service endpoint enabled.
|
VirtualNetworkRule |
withId(String id)
Set resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
|
VirtualNetworkRule |
withIgnoreMissingVNetServiceEndpoint(Boolean ignoreMissingVNetServiceEndpoint)
Set create firewall rule before the virtual network has vnet service endpoint enabled.
|
public String id()
public VirtualNetworkRule withId(String id)
id
- the id value to setpublic Boolean ignoreMissingVNetServiceEndpoint()
public VirtualNetworkRule withIgnoreMissingVNetServiceEndpoint(Boolean ignoreMissingVNetServiceEndpoint)
ignoreMissingVNetServiceEndpoint
- the ignoreMissingVNetServiceEndpoint value to setCopyright © 2019. All rights reserved.