VirtualNetworkRule Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. models. VirtualNetworkRule
- com.
public final class VirtualNetworkRule
Virtual Network ACL Rule object.
Constructor Summary
Constructor | Description |
---|---|
VirtualNetworkRule() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
id()
Get the id property: Resource ID of a subnet, for example: /subscriptions/{subscription |
Boolean |
ignoreMissingVNetServiceEndpoint()
Get the ignore |
void |
validate()
Validates the instance. |
Virtual |
withId(String id)
Set the id property: Resource ID of a subnet, for example: /subscriptions/{subscription |
Virtual |
withIgnoreMissingVNetServiceEndpoint(Boolean ignoreMissingVNetServiceEndpoint)
Set the ignore |
Methods inherited from java.lang.Object
Constructor Details
VirtualNetworkRule
public VirtualNetworkRule()
Creates an instance of VirtualNetworkRule class.
Method Details
id
public String id()
Get the id property: Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
Returns:
ignoreMissingVNetServiceEndpoint
public Boolean ignoreMissingVNetServiceEndpoint()
Get the ignoreMissingVNetServiceEndpoint property: Create firewall rule before the virtual network has vnet service endpoint enabled.
Returns:
validate
public void validate()
Validates the instance.
withId
public VirtualNetworkRule withId(String id)
Set the id property: Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
Parameters:
Returns:
withIgnoreMissingVNetServiceEndpoint
public VirtualNetworkRule withIgnoreMissingVNetServiceEndpoint(Boolean ignoreMissingVNetServiceEndpoint)
Set the ignoreMissingVNetServiceEndpoint property: Create firewall rule before the virtual network has vnet service endpoint enabled.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for