Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.cosmosdb; import com.fasterxml.jackson.annotation.JsonProperty;
Virtual Network ACL Rule object.
/** * Virtual Network ACL Rule object. */
public class VirtualNetworkRule {
Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
/** * Resource ID of a subnet, for example: * /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. */
@JsonProperty(value = "id") private String id;
Create firewall rule before the virtual network has vnet service endpoint enabled.
/** * Create firewall rule before the virtual network has vnet service * endpoint enabled. */
@JsonProperty(value = "ignoreMissingVNetServiceEndpoint") private Boolean ignoreMissingVNetServiceEndpoint;
Get resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
Returns:the id value
/** * Get resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. * * @return the id value */
public String id() { return this.id; }
Set resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
Params:
  • id – the id value to set
Returns:the VirtualNetworkRule object itself.
/** * Set resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. * * @param id the id value to set * @return the VirtualNetworkRule object itself. */
public VirtualNetworkRule withId(String id) { this.id = id; return this; }
Get create firewall rule before the virtual network has vnet service endpoint enabled.
Returns:the ignoreMissingVNetServiceEndpoint value
/** * Get create firewall rule before the virtual network has vnet service endpoint enabled. * * @return the ignoreMissingVNetServiceEndpoint value */
public Boolean ignoreMissingVNetServiceEndpoint() { return this.ignoreMissingVNetServiceEndpoint; }
Set create firewall rule before the virtual network has vnet service endpoint enabled.
Params:
  • ignoreMissingVNetServiceEndpoint – the ignoreMissingVNetServiceEndpoint value to set
Returns:the VirtualNetworkRule object itself.
/** * Set create firewall rule before the virtual network has vnet service endpoint enabled. * * @param ignoreMissingVNetServiceEndpoint the ignoreMissingVNetServiceEndpoint value to set * @return the VirtualNetworkRule object itself. */
public VirtualNetworkRule withIgnoreMissingVNetServiceEndpoint(Boolean ignoreMissingVNetServiceEndpoint) { this.ignoreMissingVNetServiceEndpoint = ignoreMissingVNetServiceEndpoint; return this; } }