Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
package com.microsoft.azure.management.network;
import com.microsoft.azure.management.apigeneration.Beta;
import com.microsoft.azure.management.apigeneration.Beta.SinceVersion;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.network.implementation.AzureReachabilityReportInner;
import com.microsoft.azure.management.resources.fluentcore.arm.models.HasParent;
import com.microsoft.azure.management.resources.fluentcore.model.Executable;
import com.microsoft.azure.management.resources.fluentcore.model.HasInner;
import org.joda.time.DateTime;
import java.util.List;
An immutable client-side representation of Azure reachability report details.
/**
* An immutable client-side representation of Azure reachability report details.
*/
@Fluent
@Beta(SinceVersion.V1_10_0)
public interface AzureReachabilityReport extends Executable<AzureReachabilityReport>,
HasInner<AzureReachabilityReportInner>,
HasParent<NetworkWatcher> {
Returns: the aggregation level of Azure reachability report. Can be Country,
State or City.
/**
* @return the aggregation level of Azure reachability report. Can be Country,
* State or City.
*/
String aggregationLevel();
Returns: the providerLocation property
/**
* @return the providerLocation property
*/
AzureReachabilityReportLocation providerLocation();
Returns: list of Azure reachability report items.
/**
* @return list of Azure reachability report items.
*/
List<AzureReachabilityReportItem> reachabilityReport();
Returns: parameters used to query available internet providers
/**
* @return parameters used to query available internet providers
*/
AzureReachabilityReportParameters azureReachabilityReportParameters();
The entirety of Azure reachability report parameters definition.
/**
* The entirety of Azure reachability report parameters definition.
*/
interface Definition extends DefinitionStages.WithProviderLocation,
DefinitionStages.WithStartTime,
DefinitionStages.WithEndTime,
DefinitionStages.WithExecute {
}
Grouping of Azure reachability report definition stages.
/**
* Grouping of Azure reachability report definition stages.
*/
interface DefinitionStages {
The first stage of Azure reachability report parameters definition.
/**
* The first stage of Azure reachability report parameters definition.
*/
interface WithProviderLocation {
Params: - country – the name of the country
Returns: the AzureReachabilityReport object itself
/**
* @param country the name of the country
* @return the AzureReachabilityReport object itself
*/
WithStartTime withProviderLocation(String country);
Params: - country – the name of the country
- state – the name of the state
Returns: the AzureReachabilityReport object itself
/**
* @param country the name of the country
* @param state the name of the state
* @return the AzureReachabilityReport object itself
*/
WithStartTime withProviderLocation(String country, String state);
Params: - country – the name of the country
- state – the name of the state
- city – the name of the city
Returns: the AzureReachabilityReport object itself
/**
* @param country the name of the country
* @param state the name of the state
* @param city the name of the city
* @return the AzureReachabilityReport object itself
*/
WithStartTime withProviderLocation(String country, String state, String city);
}
Sets the start time for the Azure reachability report.
/**
* Sets the start time for the Azure reachability report.
*/
interface WithStartTime {
Params: - startTime – the start time for the Azure reachability report
Returns: the next stage of the definition
/**
* @param startTime the start time for the Azure reachability report
* @return the next stage of the definition
*/
WithEndTime withStartTime(DateTime startTime);
}
Sets the end time for the Azure reachability report.
/**
* Sets the end time for the Azure reachability report.
*/
interface WithEndTime {
Params: - endTime – the start time for the Azure reachability report
Returns: the next stage of the definition
/**
* @param endTime the start time for the Azure reachability report
* @return the next stage of the definition
*/
WithExecute withEndTime(DateTime endTime);
}
Sets Azure regions to scope the query to.
Note: if none or multiple Azure regions specified, only one provider should be set.
If none or multiple providers specified, only one Azure region should be set.
/**
* Sets Azure regions to scope the query to.
* Note: if none or multiple Azure regions specified, only one provider should be set.
* If none or multiple providers specified, only one Azure region should be set.
*/
interface WithAzureLocations {
WithExecute withAzureLocations(String... azureLocations);
}
Sets the list of Internet service providers.
Note: if none or multiple Azure regions specified, only one provider should be set.
If none or multiple providers specified, only one Azure region should be set.
/**
* Sets the list of Internet service providers.
* Note: if none or multiple Azure regions specified, only one provider should be set.
* If none or multiple providers specified, only one Azure region should be set.
*/
interface WithProviders {
Params: - providers – the list of Internet service providers
Returns: the next stage of the definition
/**
* @param providers the list of Internet service providers
* @return the next stage of the definition
*/
WithExecute withProviders(String... providers);
}
The stage of the definition which contains all the minimum required inputs for execution, but also allows
for any other optional settings to be specified.
/**
* The stage of the definition which contains all the minimum required inputs for execution, but also allows
* for any other optional settings to be specified.
*/
interface WithExecute extends
Executable<AzureReachabilityReport>,
DefinitionStages.WithAzureLocations,
DefinitionStages.WithProviders {
}
}
}