Skip to content

Commit

Permalink
Generated from 3c5a775d910055a60fea74423e7b4599f410abe1 (#33)
Browse files Browse the repository at this point in the history
Network 2018-02 for Go and Python
  • Loading branch information
AutorestCI authored Mar 30, 2018
1 parent fc1cf5f commit 98dc428
Show file tree
Hide file tree
Showing 65 changed files with 7,365 additions and 788 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/**
* 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 CircuitConnectionStatus.
*/
public final class CircuitConnectionStatus extends ExpandableStringEnum<CircuitConnectionStatus> {
/** Static value Connected for CircuitConnectionStatus. */
public static final CircuitConnectionStatus CONNECTED = fromString("Connected");

/** Static value Connecting for CircuitConnectionStatus. */
public static final CircuitConnectionStatus CONNECTING = fromString("Connecting");

/** Static value Disconnected for CircuitConnectionStatus. */
public static final CircuitConnectionStatus DISCONNECTED = fromString("Disconnected");

/**
* Creates or finds a CircuitConnectionStatus from its string representation.
* @param name a name to look for
* @return the corresponding CircuitConnectionStatus
*/
@JsonCreator
public static CircuitConnectionStatus fromString(String name) {
return fromString(name, CircuitConnectionStatus.class);
}

/**
* @return known CircuitConnectionStatus values
*/
public static Collection<CircuitConnectionStatus> values() {
return values(CircuitConnectionStatus.class);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/**
* 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 com.fasterxml.jackson.annotation.JsonProperty;

/**
* The ExpressRouteCircuitReference model.
*/
public class ExpressRouteCircuitReference {
/**
* Corresponding Express Route Circuit Id.
*/
@JsonProperty(value = "id")
private String id;

/**
* Get the id value.
*
* @return the id value
*/
public String id() {
return this.id;
}

/**
* Set the id value.
*
* @param id the id value to set
* @return the ExpressRouteCircuitReference object itself.
*/
public ExpressRouteCircuitReference withId(String id) {
this.id = id;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
/**
* 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 com.fasterxml.jackson.annotation.JsonProperty;

/**
* The routes table associated with the ExpressRouteCircuit.
*/
public class ExpressRouteCrossConnectionRoutesTableSummary {
/**
* IP address of Neighbor router.
*/
@JsonProperty(value = "neighbor")
private String neighbor;

/**
* Autonomous system number.
*/
@JsonProperty(value = "asn")
private Integer asn;

/**
* The length of time that the BGP session has been in the Established
* state, or the current status if not in the Established state.
*/
@JsonProperty(value = "upDown")
private String upDown;

/**
* Current state of the BGP session, and the number of prefixes that have
* been received from a neighbor or peer group.
*/
@JsonProperty(value = "stateOrPrefixesReceived")
private String stateOrPrefixesReceived;

/**
* Get the neighbor value.
*
* @return the neighbor value
*/
public String neighbor() {
return this.neighbor;
}

/**
* Set the neighbor value.
*
* @param neighbor the neighbor value to set
* @return the ExpressRouteCrossConnectionRoutesTableSummary object itself.
*/
public ExpressRouteCrossConnectionRoutesTableSummary withNeighbor(String neighbor) {
this.neighbor = neighbor;
return this;
}

/**
* Get the asn value.
*
* @return the asn value
*/
public Integer asn() {
return this.asn;
}

/**
* Set the asn value.
*
* @param asn the asn value to set
* @return the ExpressRouteCrossConnectionRoutesTableSummary object itself.
*/
public ExpressRouteCrossConnectionRoutesTableSummary withAsn(Integer asn) {
this.asn = asn;
return this;
}

/**
* Get the upDown value.
*
* @return the upDown value
*/
public String upDown() {
return this.upDown;
}

/**
* Set the upDown value.
*
* @param upDown the upDown value to set
* @return the ExpressRouteCrossConnectionRoutesTableSummary object itself.
*/
public ExpressRouteCrossConnectionRoutesTableSummary withUpDown(String upDown) {
this.upDown = upDown;
return this;
}

/**
* Get the stateOrPrefixesReceived value.
*
* @return the stateOrPrefixesReceived value
*/
public String stateOrPrefixesReceived() {
return this.stateOrPrefixesReceived;
}

/**
* Set the stateOrPrefixesReceived value.
*
* @param stateOrPrefixesReceived the stateOrPrefixesReceived value to set
* @return the ExpressRouteCrossConnectionRoutesTableSummary object itself.
*/
public ExpressRouteCrossConnectionRoutesTableSummary withStateOrPrefixesReceived(String stateOrPrefixesReceived) {
this.stateOrPrefixesReceived = stateOrPrefixesReceived;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/**
* 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 ExpressRoutePeeringState.
*/
public final class ExpressRoutePeeringState extends ExpandableStringEnum<ExpressRoutePeeringState> {
/** Static value Disabled for ExpressRoutePeeringState. */
public static final ExpressRoutePeeringState DISABLED = fromString("Disabled");

/** Static value Enabled for ExpressRoutePeeringState. */
public static final ExpressRoutePeeringState ENABLED = fromString("Enabled");

/**
* Creates or finds a ExpressRoutePeeringState from its string representation.
* @param name a name to look for
* @return the corresponding ExpressRoutePeeringState
*/
@JsonCreator
public static ExpressRoutePeeringState fromString(String name) {
return fromString(name, ExpressRoutePeeringState.class);
}

/**
* @return known ExpressRoutePeeringState values
*/
public static Collection<ExpressRoutePeeringState> values() {
return values(ExpressRoutePeeringState.class);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/**
* 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 ExpressRoutePeeringType.
*/
public final class ExpressRoutePeeringType extends ExpandableStringEnum<ExpressRoutePeeringType> {
/** Static value AzurePublicPeering for ExpressRoutePeeringType. */
public static final ExpressRoutePeeringType AZURE_PUBLIC_PEERING = fromString("AzurePublicPeering");

/** Static value AzurePrivatePeering for ExpressRoutePeeringType. */
public static final ExpressRoutePeeringType AZURE_PRIVATE_PEERING = fromString("AzurePrivatePeering");

/** Static value MicrosoftPeering for ExpressRoutePeeringType. */
public static final ExpressRoutePeeringType MICROSOFT_PEERING = fromString("MicrosoftPeering");

/**
* Creates or finds a ExpressRoutePeeringType from its string representation.
* @param name a name to look for
* @return the corresponding ExpressRoutePeeringType
*/
@JsonCreator
public static ExpressRoutePeeringType fromString(String name) {
return fromString(name, ExpressRoutePeeringType.class);
}

/**
* @return known ExpressRoutePeeringType values
*/
public static Collection<ExpressRoutePeeringType> values() {
return values(ExpressRoutePeeringType.class);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,11 @@
import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Parameters that define a resource to query flow log and traffic analytics
* (optional) status.
* Parameters that define a resource to query flow log status.
*/
public class FlowLogStatusParameters {
/**
* The target resource where getting the flow logging and traffic analytics
* (optional) status.
* The target resource where getting the flow logging status.
*/
@JsonProperty(value = "targetResourceId", required = true)
private String targetResourceId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ public final class IkeEncryption extends ExpandableStringEnum<IkeEncryption> {
/** Static value AES256 for IkeEncryption. */
public static final IkeEncryption AES256 = fromString("AES256");

/** Static value GCMAES256 for IkeEncryption. */
public static final IkeEncryption GCMAES256 = fromString("GCMAES256");

/** Static value GCMAES128 for IkeEncryption. */
public static final IkeEncryption GCMAES128 = fromString("GCMAES128");

/**
* Creates or finds a IkeEncryption from its string representation.
* @param name a name to look for
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ public final class IkeIntegrity extends ExpandableStringEnum<IkeIntegrity> {
/** Static value SHA384 for IkeIntegrity. */
public static final IkeIntegrity SHA384 = fromString("SHA384");

/** Static value GCMAES256 for IkeIntegrity. */
public static final IkeIntegrity GCMAES256 = fromString("GCMAES256");

/** Static value GCMAES128 for IkeIntegrity. */
public static final IkeIntegrity GCMAES128 = fromString("GCMAES128");

/**
* Creates or finds a IkeIntegrity from its string representation.
* @param name a name to look for
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ public class IpsecPolicy {

/**
* The IKE encryption algorithm (IKE phase 2). Possible values include:
* 'DES', 'DES3', 'AES128', 'AES192', 'AES256'.
* 'DES', 'DES3', 'AES128', 'AES192', 'AES256', 'GCMAES256', 'GCMAES128'.
*/
@JsonProperty(value = "ikeEncryption", required = true)
private IkeEncryption ikeEncryption;

/**
* The IKE integrity algorithm (IKE phase 2). Possible values include:
* 'MD5', 'SHA1', 'SHA256', 'SHA384'.
* 'MD5', 'SHA1', 'SHA256', 'SHA384', 'GCMAES256', 'GCMAES128'.
*/
@JsonProperty(value = "ikeIntegrity", required = true)
private IkeIntegrity ikeIntegrity;
Expand All @@ -66,8 +66,9 @@ public class IpsecPolicy {
private DhGroup dhGroup;

/**
* The DH Groups used in IKE Phase 2 for new child SA. Possible values
* include: 'None', 'PFS1', 'PFS2', 'PFS2048', 'ECP256', 'ECP384', 'PFS24'.
* The Pfs Groups used in IKE Phase 2 for new child SA. Possible values
* include: 'None', 'PFS1', 'PFS2', 'PFS2048', 'ECP256', 'ECP384', 'PFS24',
* 'PFS14', 'PFSMM'.
*/
@JsonProperty(value = "pfsGroup", required = true)
private PfsGroup pfsGroup;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ public final class PfsGroup extends ExpandableStringEnum<PfsGroup> {
/** Static value PFS24 for PfsGroup. */
public static final PfsGroup PFS24 = fromString("PFS24");

/** Static value PFS14 for PfsGroup. */
public static final PfsGroup PFS14 = fromString("PFS14");

/** Static value PFSMM for PfsGroup. */
public static final PfsGroup PFSMM = fromString("PFSMM");

/**
* Creates or finds a PfsGroup from its string representation.
* @param name a name to look for
Expand Down
Loading

0 comments on commit 98dc428

Please sign in to comment.