forked from Azure/azure-libraries-for-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from 3c5a775d910055a60fea74423e7b4599f410abe1 (#33)
Network 2018-02 for Go and Python
- Loading branch information
1 parent
fc1cf5f
commit 98dc428
Showing
65 changed files
with
7,365 additions
and
788 deletions.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
...network/src/main/java/com/microsoft/azure/management/network/CircuitConnectionStatus.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
...rk/src/main/java/com/microsoft/azure/management/network/ExpressRouteCircuitReference.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
|
||
} |
123 changes: 123 additions & 0 deletions
123
...com/microsoft/azure/management/network/ExpressRouteCrossConnectionRoutesTableSummary.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
|
||
} |
41 changes: 41 additions & 0 deletions
41
...etwork/src/main/java/com/microsoft/azure/management/network/ExpressRoutePeeringState.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
...network/src/main/java/com/microsoft/azure/management/network/ExpressRoutePeeringType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.