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

com.microsoft.azure.management.network.model.HasFrontendPort Maven / Gradle / Ivy

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.
 */
package com.microsoft.azure.management.network.model;

import com.microsoft.azure.management.apigeneration.Fluent;

/**
 * An interface representing a model's ability to reference a frontend port.
 */
@Fluent
public interface HasFrontendPort  {
    /**
     * @return the frontend port number the inbound network traffic is received on
     */
    int frontendPort();

    /**
     * Grouping of definition stages involving specifying a frontend port.
     */
    interface DefinitionStages {
        /**
         * The stage of a definition allowing to specify the frontend port.
         * @param  the next stage of the definition
         */
        interface WithFrontendPort {
            /**
             * Specifies the frontend port to receive network traffic on.
             * @param port a port number
             * @return the next stage of the definition
             */
            ReturnT fromFrontendPort(int port);
        }
    }

    /**
     * Grouping of update stages involving modifying a frontend port.
     */
    interface UpdateStages {
        /**
         * The stage of an update allowing to specify the frontend port.
         * @param  the next stage of the update
         */
        interface WithFrontendPort {
            /**
             * Specifies the frontend port to receive network traffic on.
             * @param port a port number
             * @return the next stage of the definition
             */
            ReturnT fromFrontendPort(int port);
        }
    }

    /**
     * Grouping of definition stages applicable as part of a resource update, involving modifying the frontend port.
     */
    interface UpdateDefinitionStages {
        /**
         * The stage of a definition allowing to specify the frontend port.
         * @param  the next stage of the definition
         */
        interface WithFrontendPort {
            /**
             * Specifies the frontend port to receive network traffic on.
             * @param port a port number
             * @return the next stage of the definition
             */
            ReturnT fromFrontendPort(int port);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy