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.network; import java.util.Collection; import com.fasterxml.jackson.annotation.JsonCreator; import com.microsoft.rest.ExpandableStringEnum;
Defines values for VirtualNetworkPeeringState.
/** * Defines values for VirtualNetworkPeeringState. */
public final class VirtualNetworkPeeringState extends ExpandableStringEnum<VirtualNetworkPeeringState> {
Static value Initiated for VirtualNetworkPeeringState.
/** Static value Initiated for VirtualNetworkPeeringState. */
public static final VirtualNetworkPeeringState INITIATED = fromString("Initiated");
Static value Connected for VirtualNetworkPeeringState.
/** Static value Connected for VirtualNetworkPeeringState. */
public static final VirtualNetworkPeeringState CONNECTED = fromString("Connected");
Static value Disconnected for VirtualNetworkPeeringState.
/** Static value Disconnected for VirtualNetworkPeeringState. */
public static final VirtualNetworkPeeringState DISCONNECTED = fromString("Disconnected");
Creates or finds a VirtualNetworkPeeringState from its string representation.
Params:
  • name – a name to look for
Returns:the corresponding VirtualNetworkPeeringState
/** * Creates or finds a VirtualNetworkPeeringState from its string representation. * @param name a name to look for * @return the corresponding VirtualNetworkPeeringState */
@JsonCreator public static VirtualNetworkPeeringState fromString(String name) { return fromString(name, VirtualNetworkPeeringState.class); }
Returns:known VirtualNetworkPeeringState values
/** * @return known VirtualNetworkPeeringState values */
public static Collection<VirtualNetworkPeeringState> values() { return values(VirtualNetworkPeeringState.class); } }