
com.microsoft.azure.management.network.NetworkWatcher Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-network Show documentation
Show all versions of azure-mgmt-network Show documentation
This package contains Microsoft Azure Network Management SDK. A new set of management libraries are now Generally Available. For documentation on how to use the new libraries, please see https://aka.ms/azsdk/java/mgmt
/**
* 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.apigeneration.Method;
import com.microsoft.azure.management.network.implementation.NetworkManager;
import com.microsoft.azure.management.network.implementation.NetworkWatcherInner;
import com.microsoft.azure.management.network.model.UpdatableWithTags;
import com.microsoft.azure.management.resources.fluentcore.arm.models.GroupableResource;
import com.microsoft.azure.management.resources.fluentcore.arm.models.Resource;
import com.microsoft.azure.management.resources.fluentcore.model.Appliable;
import com.microsoft.azure.management.resources.fluentcore.model.Creatable;
import com.microsoft.azure.management.resources.fluentcore.model.Refreshable;
import com.microsoft.azure.management.resources.fluentcore.model.Updatable;
import rx.Observable;
/**
* Entry point for Network Watcher API in Azure.
*/
@Fluent
@Beta(SinceVersion.V1_2_0)
public interface NetworkWatcher extends
GroupableResource,
Refreshable,
Updatable,
UpdatableWithTags {
/**
* @return entry point to manage packet captures associated with network watcher
*/
PacketCaptures packetCaptures();
/**
* @return entry point to manage connection monitors associated with network watcher
*/
@Beta(SinceVersion.V1_10_0)
@Method
ConnectionMonitors connectionMonitors();
/**
* First step specifying parameters to get topology of a resource group.
* @return current network topology by resource group
*/
@Method
Topology.DefinitionStages.WithTargetResourceGroup topology();
/**
* Gets the configured and effective security group rules on the specified VM.
* @param vmId ID of the target VM
* @return the configured and effective security group rules on the specified VM
*/
SecurityGroupView getSecurityGroupView(String vmId);
/**
* Gets the configured and effective security group rules on the specified VM asynchronously.
* @param vmId ID of the target VM
* @return the configured and effective security group rules on the specified VM
*/
Observable getSecurityGroupViewAsync(String vmId);
/**
* Gets the information on the configuration of flow log.
* @param nsgId the name of the target resource group to get flow log status for
* @return information on the configuration of flow log
*/
FlowLogSettings getFlowLogSettings(String nsgId);
/**
* Gets the information on the configuration of flow log asynchronously.
* @param nsgId the name of the target resource group to get flow log status for
* @return information on the configuration of flow log
*/
Observable getFlowLogSettingsAsync(String nsgId);
/**
* First step specifying the parameters to get next hop for the VM.
* @return a stage to specify parameters for next hop
*/
@Method
NextHop.DefinitionStages.WithTargetResource nextHop();
/**
* Verify IP flow from the specified VM to a location given the currently configured NSG rules.
* @return a stage to specify parameters for ip flow verification
*/
@Method
VerificationIPFlow.DefinitionStages.WithTargetResource verifyIPFlow();
/**
* Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint
* including another virtual machine or an arbitrary remote server.
* @return a stage to specify parameters for connectivity check
*/
@Method
ConnectivityCheck.DefinitionStages.ToDestination checkConnectivity();
/**
* Initiate troubleshooting on a specified resource (virtual network gateway or virtual network gateway connection).
* @return troubleshooting result information
*/
@Beta(SinceVersion.V1_4_0)
@Method
Troubleshooting.DefinitionStages.WithTargetResource troubleshoot();
/**
* Lists all available internet service providers for a specified Azure region.
* @return a stage to specify parameters for internet providers list
*/
@Beta(SinceVersion.V1_10_0)
@Method
AvailableProviders.DefinitionStages.WithExecute availableProviders();
/**
* Gets the relative latency score for internet service providers from a specified location to Azure regions.
* @return a stage to specify parameters for internet providers list
*/
@Beta(SinceVersion.V1_10_0)
@Method
AzureReachabilityReport.DefinitionStages.WithProviderLocation azureReachabilityReport();
/**
* Container interface for all the definitions.
*/
interface Definition extends
DefinitionStages.Blank,
DefinitionStages.WithGroup,
DefinitionStages.WithCreate {
}
/**
* Grouping of network watcher definition stages.
*/
interface DefinitionStages {
/**
* The first stage of a network watcher definition.
*/
interface Blank extends GroupableResource.DefinitionWithRegion {
}
/**
* The stage of the network watcher definition allowing to specify the resource group.
*/
interface WithGroup extends GroupableResource.DefinitionStages.WithGroup {
}
/**
* A network watcher with sufficient inputs to create a new network watcher in the cloud,
* but exposing additional optional inputs to specify.
*/
interface WithCreate extends
Creatable,
Resource.DefinitionWithTags {
}
}
/**
* The template for update operation, containing all the settings that can be modified.
*/
interface Update extends
Appliable,
Resource.UpdateWithTags {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy