forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from 33626878da85ff8ff03060c1f41e98af039600e7
removed the exclude file.
- Loading branch information
SDK Automation
committed
Feb 12, 2020
1 parent
70d002f
commit 9695c32
Showing
109 changed files
with
15,350 additions
and
0 deletions.
There are no files selected for viewing
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,135 @@ | ||
<!-- | ||
* 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. | ||
--> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>com.microsoft.azure.peering.v2020_01_01_preview</groupId> | ||
<parent> | ||
<groupId>com.microsoft.azure</groupId> | ||
<artifactId>azure-arm-parent</artifactId> | ||
<version>1.1.0</version> | ||
<relativePath>../../../pom.management.xml</relativePath> | ||
</parent> | ||
<artifactId>azure-mgmt-peering</artifactId> | ||
<version>1.0.0-beta</version> | ||
<packaging>jar</packaging> | ||
<name>Microsoft Azure SDK for Peering Management</name> | ||
<description>This package contains Microsoft Peering Management SDK.</description> | ||
<url>https://github.com/Azure/azure-sdk-for-java</url> | ||
<licenses> | ||
<license> | ||
<name>The MIT License (MIT)</name> | ||
<url>http://opensource.org/licenses/MIT</url> | ||
<distribution>repo</distribution> | ||
</license> | ||
</licenses> | ||
<scm> | ||
<url>scm:git:https://github.com/Azure/azure-sdk-for-java</url> | ||
<connection>scm:git:git@github.com:Azure/azure-sdk-for-java.git</connection> | ||
<tag>HEAD</tag> | ||
</scm> | ||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<legal><![CDATA[[INFO] Any downloads listed may be third party software. Microsoft grants you no rights for third party software.]]></legal> | ||
</properties> | ||
<developers> | ||
<developer> | ||
<id>microsoft</id> | ||
<name>Microsoft</name> | ||
</developer> | ||
</developers> | ||
<dependencies> | ||
<dependency> | ||
<groupId>com.microsoft.azure</groupId> | ||
<artifactId>azure-client-runtime</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.microsoft.azure</groupId> | ||
<artifactId>azure-arm-client-runtime</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.microsoft.azure</groupId> | ||
<artifactId>azure-client-authentication</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.microsoft.azure</groupId> | ||
<artifactId>azure-mgmt-resources</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.microsoft.azure</groupId> | ||
<artifactId>azure-arm-client-runtime</artifactId> | ||
<type>test-jar</type> | ||
<scope>test</scope> | ||
<!--Below version for test jar needs to be removed, this will be done as part of v1-runtime 1.6.7--> | ||
<version>1.6.5</version> | ||
</dependency> | ||
</dependencies> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<configuration> | ||
<archive> | ||
<manifest> | ||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> | ||
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> | ||
</manifest> | ||
</archive> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>build-helper-maven-plugin</artifactId> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.1</version> | ||
<configuration> | ||
<source>1.7</source> | ||
<target>1.7</target> | ||
<annotationProcessors> | ||
<annotationProcessor> | ||
com.microsoft.azure.management.apigeneration.LangDefinitionProcessor | ||
</annotationProcessor> | ||
</annotationProcessors> | ||
<debug>true</debug> | ||
<optimize>true</optimize> | ||
<compilerArguments> | ||
<AaddGeneratedAnnotation>true</AaddGeneratedAnnotation> | ||
<Adebug>true</Adebug> | ||
</compilerArguments> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
<version>2.8</version> | ||
<configuration> | ||
<excludePackageNames>*.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search</excludePackageNames> | ||
<bottom> | ||
<![CDATA[<code> | ||
/** | ||
<br />* Copyright (c) Microsoft Corporation. All rights reserved. | ||
<br />* Licensed under the MIT License. See License.txt in the project root for | ||
<br />* license information. | ||
<br />*/ | ||
</code>]]> | ||
</bottom> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
263 changes: 263 additions & 0 deletions
263
.../src/main/java/com/microsoft/azure/management/peering/v2020_01_01_preview/BgpSession.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,263 @@ | ||
/** | ||
* 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.peering.v2020_01_01_preview; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* The properties that define a BGP session. | ||
*/ | ||
public class BgpSession { | ||
/** | ||
* The IPv4 prefix that contains both ends' IPv4 addresses. | ||
*/ | ||
@JsonProperty(value = "sessionPrefixV4") | ||
private String sessionPrefixV4; | ||
|
||
/** | ||
* The IPv6 prefix that contains both ends' IPv6 addresses. | ||
*/ | ||
@JsonProperty(value = "sessionPrefixV6") | ||
private String sessionPrefixV6; | ||
|
||
/** | ||
* The IPv4 session address on Microsoft's end. | ||
*/ | ||
@JsonProperty(value = "microsoftSessionIPv4Address", access = JsonProperty.Access.WRITE_ONLY) | ||
private String microsoftSessionIPv4Address; | ||
|
||
/** | ||
* The IPv6 session address on Microsoft's end. | ||
*/ | ||
@JsonProperty(value = "microsoftSessionIPv6Address", access = JsonProperty.Access.WRITE_ONLY) | ||
private String microsoftSessionIPv6Address; | ||
|
||
/** | ||
* The IPv4 session address on peer's end. | ||
*/ | ||
@JsonProperty(value = "peerSessionIPv4Address") | ||
private String peerSessionIPv4Address; | ||
|
||
/** | ||
* The IPv6 session address on peer's end. | ||
*/ | ||
@JsonProperty(value = "peerSessionIPv6Address") | ||
private String peerSessionIPv6Address; | ||
|
||
/** | ||
* The state of the IPv4 session. Possible values include: 'None', 'Idle', | ||
* 'Connect', 'Active', 'OpenSent', 'OpenConfirm', 'OpenReceived', | ||
* 'Established', 'PendingAdd', 'PendingUpdate', 'PendingRemove'. | ||
*/ | ||
@JsonProperty(value = "sessionStateV4", access = JsonProperty.Access.WRITE_ONLY) | ||
private SessionStateV4 sessionStateV4; | ||
|
||
/** | ||
* The state of the IPv6 session. Possible values include: 'None', 'Idle', | ||
* 'Connect', 'Active', 'OpenSent', 'OpenConfirm', 'OpenReceived', | ||
* 'Established', 'PendingAdd', 'PendingUpdate', 'PendingRemove'. | ||
*/ | ||
@JsonProperty(value = "sessionStateV6", access = JsonProperty.Access.WRITE_ONLY) | ||
private SessionStateV6 sessionStateV6; | ||
|
||
/** | ||
* The maximum number of prefixes advertised over the IPv4 session. | ||
*/ | ||
@JsonProperty(value = "maxPrefixesAdvertisedV4") | ||
private Integer maxPrefixesAdvertisedV4; | ||
|
||
/** | ||
* The maximum number of prefixes advertised over the IPv6 session. | ||
*/ | ||
@JsonProperty(value = "maxPrefixesAdvertisedV6") | ||
private Integer maxPrefixesAdvertisedV6; | ||
|
||
/** | ||
* The MD5 authentication key of the session. | ||
*/ | ||
@JsonProperty(value = "md5AuthenticationKey") | ||
private String md5AuthenticationKey; | ||
|
||
/** | ||
* Get the IPv4 prefix that contains both ends' IPv4 addresses. | ||
* | ||
* @return the sessionPrefixV4 value | ||
*/ | ||
public String sessionPrefixV4() { | ||
return this.sessionPrefixV4; | ||
} | ||
|
||
/** | ||
* Set the IPv4 prefix that contains both ends' IPv4 addresses. | ||
* | ||
* @param sessionPrefixV4 the sessionPrefixV4 value to set | ||
* @return the BgpSession object itself. | ||
*/ | ||
public BgpSession withSessionPrefixV4(String sessionPrefixV4) { | ||
this.sessionPrefixV4 = sessionPrefixV4; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the IPv6 prefix that contains both ends' IPv6 addresses. | ||
* | ||
* @return the sessionPrefixV6 value | ||
*/ | ||
public String sessionPrefixV6() { | ||
return this.sessionPrefixV6; | ||
} | ||
|
||
/** | ||
* Set the IPv6 prefix that contains both ends' IPv6 addresses. | ||
* | ||
* @param sessionPrefixV6 the sessionPrefixV6 value to set | ||
* @return the BgpSession object itself. | ||
*/ | ||
public BgpSession withSessionPrefixV6(String sessionPrefixV6) { | ||
this.sessionPrefixV6 = sessionPrefixV6; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the IPv4 session address on Microsoft's end. | ||
* | ||
* @return the microsoftSessionIPv4Address value | ||
*/ | ||
public String microsoftSessionIPv4Address() { | ||
return this.microsoftSessionIPv4Address; | ||
} | ||
|
||
/** | ||
* Get the IPv6 session address on Microsoft's end. | ||
* | ||
* @return the microsoftSessionIPv6Address value | ||
*/ | ||
public String microsoftSessionIPv6Address() { | ||
return this.microsoftSessionIPv6Address; | ||
} | ||
|
||
/** | ||
* Get the IPv4 session address on peer's end. | ||
* | ||
* @return the peerSessionIPv4Address value | ||
*/ | ||
public String peerSessionIPv4Address() { | ||
return this.peerSessionIPv4Address; | ||
} | ||
|
||
/** | ||
* Set the IPv4 session address on peer's end. | ||
* | ||
* @param peerSessionIPv4Address the peerSessionIPv4Address value to set | ||
* @return the BgpSession object itself. | ||
*/ | ||
public BgpSession withPeerSessionIPv4Address(String peerSessionIPv4Address) { | ||
this.peerSessionIPv4Address = peerSessionIPv4Address; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the IPv6 session address on peer's end. | ||
* | ||
* @return the peerSessionIPv6Address value | ||
*/ | ||
public String peerSessionIPv6Address() { | ||
return this.peerSessionIPv6Address; | ||
} | ||
|
||
/** | ||
* Set the IPv6 session address on peer's end. | ||
* | ||
* @param peerSessionIPv6Address the peerSessionIPv6Address value to set | ||
* @return the BgpSession object itself. | ||
*/ | ||
public BgpSession withPeerSessionIPv6Address(String peerSessionIPv6Address) { | ||
this.peerSessionIPv6Address = peerSessionIPv6Address; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the state of the IPv4 session. Possible values include: 'None', 'Idle', 'Connect', 'Active', 'OpenSent', 'OpenConfirm', 'OpenReceived', 'Established', 'PendingAdd', 'PendingUpdate', 'PendingRemove'. | ||
* | ||
* @return the sessionStateV4 value | ||
*/ | ||
public SessionStateV4 sessionStateV4() { | ||
return this.sessionStateV4; | ||
} | ||
|
||
/** | ||
* Get the state of the IPv6 session. Possible values include: 'None', 'Idle', 'Connect', 'Active', 'OpenSent', 'OpenConfirm', 'OpenReceived', 'Established', 'PendingAdd', 'PendingUpdate', 'PendingRemove'. | ||
* | ||
* @return the sessionStateV6 value | ||
*/ | ||
public SessionStateV6 sessionStateV6() { | ||
return this.sessionStateV6; | ||
} | ||
|
||
/** | ||
* Get the maximum number of prefixes advertised over the IPv4 session. | ||
* | ||
* @return the maxPrefixesAdvertisedV4 value | ||
*/ | ||
public Integer maxPrefixesAdvertisedV4() { | ||
return this.maxPrefixesAdvertisedV4; | ||
} | ||
|
||
/** | ||
* Set the maximum number of prefixes advertised over the IPv4 session. | ||
* | ||
* @param maxPrefixesAdvertisedV4 the maxPrefixesAdvertisedV4 value to set | ||
* @return the BgpSession object itself. | ||
*/ | ||
public BgpSession withMaxPrefixesAdvertisedV4(Integer maxPrefixesAdvertisedV4) { | ||
this.maxPrefixesAdvertisedV4 = maxPrefixesAdvertisedV4; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the maximum number of prefixes advertised over the IPv6 session. | ||
* | ||
* @return the maxPrefixesAdvertisedV6 value | ||
*/ | ||
public Integer maxPrefixesAdvertisedV6() { | ||
return this.maxPrefixesAdvertisedV6; | ||
} | ||
|
||
/** | ||
* Set the maximum number of prefixes advertised over the IPv6 session. | ||
* | ||
* @param maxPrefixesAdvertisedV6 the maxPrefixesAdvertisedV6 value to set | ||
* @return the BgpSession object itself. | ||
*/ | ||
public BgpSession withMaxPrefixesAdvertisedV6(Integer maxPrefixesAdvertisedV6) { | ||
this.maxPrefixesAdvertisedV6 = maxPrefixesAdvertisedV6; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the MD5 authentication key of the session. | ||
* | ||
* @return the md5AuthenticationKey value | ||
*/ | ||
public String md5AuthenticationKey() { | ||
return this.md5AuthenticationKey; | ||
} | ||
|
||
/** | ||
* Set the MD5 authentication key of the session. | ||
* | ||
* @param md5AuthenticationKey the md5AuthenticationKey value to set | ||
* @return the BgpSession object itself. | ||
*/ | ||
public BgpSession withMd5AuthenticationKey(String md5AuthenticationKey) { | ||
this.md5AuthenticationKey = md5AuthenticationKey; | ||
return this; | ||
} | ||
|
||
} |
Oops, something went wrong.