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 30ecc6996595e8e8fea4215fb88141aa787e4ebd (#164)
Merge branch 'master' into Network-2018-05-01 # Conflicts: # specification/network/resource-manager/readme.md
- Loading branch information
1 parent
0346118
commit cf1add2
Showing
96 changed files
with
2,666 additions
and
852 deletions.
There are no files selected for viewing
122 changes: 122 additions & 0 deletions
122
...rc/main/java/com/microsoft/azure/management/network/AvailableProvidersListParameters.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,122 @@ | ||
/** | ||
* 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.List; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* Constraints that determine the list of available Internet service providers. | ||
*/ | ||
public class AvailableProvidersListParameters { | ||
/** | ||
* A list of Azure regions. | ||
*/ | ||
@JsonProperty(value = "azureLocations") | ||
private List<String> azureLocations; | ||
|
||
/** | ||
* The country for available providers list. | ||
*/ | ||
@JsonProperty(value = "country") | ||
private String country; | ||
|
||
/** | ||
* The state for available providers list. | ||
*/ | ||
@JsonProperty(value = "state") | ||
private String state; | ||
|
||
/** | ||
* The city or town for available providers list. | ||
*/ | ||
@JsonProperty(value = "city") | ||
private String city; | ||
|
||
/** | ||
* Get the azureLocations value. | ||
* | ||
* @return the azureLocations value | ||
*/ | ||
public List<String> azureLocations() { | ||
return this.azureLocations; | ||
} | ||
|
||
/** | ||
* Set the azureLocations value. | ||
* | ||
* @param azureLocations the azureLocations value to set | ||
* @return the AvailableProvidersListParameters object itself. | ||
*/ | ||
public AvailableProvidersListParameters withAzureLocations(List<String> azureLocations) { | ||
this.azureLocations = azureLocations; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the country value. | ||
* | ||
* @return the country value | ||
*/ | ||
public String country() { | ||
return this.country; | ||
} | ||
|
||
/** | ||
* Set the country value. | ||
* | ||
* @param country the country value to set | ||
* @return the AvailableProvidersListParameters object itself. | ||
*/ | ||
public AvailableProvidersListParameters withCountry(String country) { | ||
this.country = country; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the state value. | ||
* | ||
* @return the state value | ||
*/ | ||
public String state() { | ||
return this.state; | ||
} | ||
|
||
/** | ||
* Set the state value. | ||
* | ||
* @param state the state value to set | ||
* @return the AvailableProvidersListParameters object itself. | ||
*/ | ||
public AvailableProvidersListParameters withState(String state) { | ||
this.state = state; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the city value. | ||
* | ||
* @return the city value | ||
*/ | ||
public String city() { | ||
return this.city; | ||
} | ||
|
||
/** | ||
* Set the city value. | ||
* | ||
* @param city the city value to set | ||
* @return the AvailableProvidersListParameters object itself. | ||
*/ | ||
public AvailableProvidersListParameters withCity(String city) { | ||
this.city = city; | ||
return this; | ||
} | ||
|
||
} |
149 changes: 149 additions & 0 deletions
149
...c/main/java/com/microsoft/azure/management/network/AzureReachabilityReportParameters.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,149 @@ | ||
/** | ||
* 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.List; | ||
import org.joda.time.DateTime; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* Geographic and time constraints for Azure reachability report. | ||
*/ | ||
public class AzureReachabilityReportParameters { | ||
/** | ||
* The providerLocation property. | ||
*/ | ||
@JsonProperty(value = "providerLocation", required = true) | ||
private AzureReachabilityReportLocation providerLocation; | ||
|
||
/** | ||
* List of Internet service providers. | ||
*/ | ||
@JsonProperty(value = "providers") | ||
private List<String> providers; | ||
|
||
/** | ||
* Optional Azure regions to scope the query to. | ||
*/ | ||
@JsonProperty(value = "azureLocations") | ||
private List<String> azureLocations; | ||
|
||
/** | ||
* The start time for the Azure reachability report. | ||
*/ | ||
@JsonProperty(value = "startTime", required = true) | ||
private DateTime startTime; | ||
|
||
/** | ||
* The end time for the Azure reachability report. | ||
*/ | ||
@JsonProperty(value = "endTime", required = true) | ||
private DateTime endTime; | ||
|
||
/** | ||
* Get the providerLocation value. | ||
* | ||
* @return the providerLocation value | ||
*/ | ||
public AzureReachabilityReportLocation providerLocation() { | ||
return this.providerLocation; | ||
} | ||
|
||
/** | ||
* Set the providerLocation value. | ||
* | ||
* @param providerLocation the providerLocation value to set | ||
* @return the AzureReachabilityReportParameters object itself. | ||
*/ | ||
public AzureReachabilityReportParameters withProviderLocation(AzureReachabilityReportLocation providerLocation) { | ||
this.providerLocation = providerLocation; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the providers value. | ||
* | ||
* @return the providers value | ||
*/ | ||
public List<String> providers() { | ||
return this.providers; | ||
} | ||
|
||
/** | ||
* Set the providers value. | ||
* | ||
* @param providers the providers value to set | ||
* @return the AzureReachabilityReportParameters object itself. | ||
*/ | ||
public AzureReachabilityReportParameters withProviders(List<String> providers) { | ||
this.providers = providers; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the azureLocations value. | ||
* | ||
* @return the azureLocations value | ||
*/ | ||
public List<String> azureLocations() { | ||
return this.azureLocations; | ||
} | ||
|
||
/** | ||
* Set the azureLocations value. | ||
* | ||
* @param azureLocations the azureLocations value to set | ||
* @return the AzureReachabilityReportParameters object itself. | ||
*/ | ||
public AzureReachabilityReportParameters withAzureLocations(List<String> azureLocations) { | ||
this.azureLocations = azureLocations; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the startTime value. | ||
* | ||
* @return the startTime value | ||
*/ | ||
public DateTime startTime() { | ||
return this.startTime; | ||
} | ||
|
||
/** | ||
* Set the startTime value. | ||
* | ||
* @param startTime the startTime value to set | ||
* @return the AzureReachabilityReportParameters object itself. | ||
*/ | ||
public AzureReachabilityReportParameters withStartTime(DateTime startTime) { | ||
this.startTime = startTime; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the endTime value. | ||
* | ||
* @return the endTime value | ||
*/ | ||
public DateTime endTime() { | ||
return this.endTime; | ||
} | ||
|
||
/** | ||
* Set the endTime value. | ||
* | ||
* @param endTime the endTime value to set | ||
* @return the AzureReachabilityReportParameters object itself. | ||
*/ | ||
public AzureReachabilityReportParameters withEndTime(DateTime endTime) { | ||
this.endTime = endTime; | ||
return this; | ||
} | ||
|
||
} |
122 changes: 122 additions & 0 deletions
122
...-network/src/main/java/com/microsoft/azure/management/network/ConnectivityParameters.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,122 @@ | ||
/** | ||
* 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; | ||
|
||
/** | ||
* Parameters that determine how the connectivity check will be performed. | ||
*/ | ||
public class ConnectivityParameters { | ||
/** | ||
* The source property. | ||
*/ | ||
@JsonProperty(value = "source", required = true) | ||
private ConnectivitySource source; | ||
|
||
/** | ||
* The destination property. | ||
*/ | ||
@JsonProperty(value = "destination", required = true) | ||
private ConnectivityDestination destination; | ||
|
||
/** | ||
* Network protocol. Possible values include: 'Tcp', 'Http', 'Https', | ||
* 'Icmp'. | ||
*/ | ||
@JsonProperty(value = "protocol") | ||
private Protocol protocol; | ||
|
||
/** | ||
* The protocolConfiguration property. | ||
*/ | ||
@JsonProperty(value = "protocolConfiguration") | ||
private ProtocolConfiguration protocolConfiguration; | ||
|
||
/** | ||
* Get the source value. | ||
* | ||
* @return the source value | ||
*/ | ||
public ConnectivitySource source() { | ||
return this.source; | ||
} | ||
|
||
/** | ||
* Set the source value. | ||
* | ||
* @param source the source value to set | ||
* @return the ConnectivityParameters object itself. | ||
*/ | ||
public ConnectivityParameters withSource(ConnectivitySource source) { | ||
this.source = source; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the destination value. | ||
* | ||
* @return the destination value | ||
*/ | ||
public ConnectivityDestination destination() { | ||
return this.destination; | ||
} | ||
|
||
/** | ||
* Set the destination value. | ||
* | ||
* @param destination the destination value to set | ||
* @return the ConnectivityParameters object itself. | ||
*/ | ||
public ConnectivityParameters withDestination(ConnectivityDestination destination) { | ||
this.destination = destination; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the protocol value. | ||
* | ||
* @return the protocol value | ||
*/ | ||
public Protocol protocol() { | ||
return this.protocol; | ||
} | ||
|
||
/** | ||
* Set the protocol value. | ||
* | ||
* @param protocol the protocol value to set | ||
* @return the ConnectivityParameters object itself. | ||
*/ | ||
public ConnectivityParameters withProtocol(Protocol protocol) { | ||
this.protocol = protocol; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the protocolConfiguration value. | ||
* | ||
* @return the protocolConfiguration value | ||
*/ | ||
public ProtocolConfiguration protocolConfiguration() { | ||
return this.protocolConfiguration; | ||
} | ||
|
||
/** | ||
* Set the protocolConfiguration value. | ||
* | ||
* @param protocolConfiguration the protocolConfiguration value to set | ||
* @return the ConnectivityParameters object itself. | ||
*/ | ||
public ConnectivityParameters withProtocolConfiguration(ProtocolConfiguration protocolConfiguration) { | ||
this.protocolConfiguration = protocolConfiguration; | ||
return this; | ||
} | ||
|
||
} |
Oops, something went wrong.