All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.management.network.ConnectivityIssue Maven / Gradle / Ivy

Go to download

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

There is a newer version: 1.41.4
Show newest version
/**
 * 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 java.util.Map;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Information about an issue encountered in the process of checking for
 * connectivity.
 */
public class ConnectivityIssue {
    /**
     * The origin of the issue. Possible values include: 'Local', 'Inbound',
     * 'Outbound'.
     */
    @JsonProperty(value = "origin", access = JsonProperty.Access.WRITE_ONLY)
    private Origin origin;

    /**
     * The severity of the issue. Possible values include: 'Error', 'Warning'.
     */
    @JsonProperty(value = "severity", access = JsonProperty.Access.WRITE_ONLY)
    private Severity severity;

    /**
     * The type of issue. Possible values include: 'Unknown', 'AgentStopped',
     * 'GuestFirewall', 'DnsResolution', 'SocketBind', 'NetworkSecurityRule',
     * 'UserDefinedRoute', 'PortThrottled', 'Platform'.
     */
    @JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY)
    private IssueType type;

    /**
     * Provides additional context on the issue.
     */
    @JsonProperty(value = "context", access = JsonProperty.Access.WRITE_ONLY)
    private List> context;

    /**
     * Get the origin of the issue. Possible values include: 'Local', 'Inbound', 'Outbound'.
     *
     * @return the origin value
     */
    public Origin origin() {
        return this.origin;
    }

    /**
     * Get the severity of the issue. Possible values include: 'Error', 'Warning'.
     *
     * @return the severity value
     */
    public Severity severity() {
        return this.severity;
    }

    /**
     * Get the type of issue. Possible values include: 'Unknown', 'AgentStopped', 'GuestFirewall', 'DnsResolution', 'SocketBind', 'NetworkSecurityRule', 'UserDefinedRoute', 'PortThrottled', 'Platform'.
     *
     * @return the type value
     */
    public IssueType type() {
        return this.type;
    }

    /**
     * Get provides additional context on the issue.
     *
     * @return the context value
     */
    public List> context() {
        return this.context;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy