Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc language annotation corrections #1115

Merged
merged 5 commits into from
Sep 27, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
/**
* Entry point for load balancer management API in Azure.
*/
@Fluent()
@Fluent
public interface LoadBalancer extends
GroupableResource,
Refreshable<LoadBalancer>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@
*/
package com.microsoft.azure.management.network.model;

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

/**
* An interface representing a model's ability to reference a load balancer backend port.
*/
@LangDefinition()
@Fluent
public interface HasBackendPort {
/**
* @return the backend port number the network traffic is sent to
Expand All @@ -21,11 +20,6 @@ public interface HasBackendPort {
/**
* Grouping of definition stages involving specifying a backend port.
*/
@LangDefinition(
ContainerName = "Definition",
ContainerFileName = "IDefinition",
IsContainerOnly = true,
MethodConversionType = MethodConversion.OnlyMethod)
interface DefinitionStages {
/**
* The stage of a definition allowing to specify the backend port.
Expand All @@ -46,11 +40,6 @@ interface WithBackendPort<ReturnT> {
/**
* Grouping of update stages involving modifying a backend port.
*/
@LangDefinition(
ContainerName = "Update",
ContainerFileName = "IUpdate",
IsContainerOnly = true,
MethodConversionType = MethodConversion.OnlyMethod)
interface UpdateStages {
/**
* The stage of an update allowing to modify the backend port.
Expand All @@ -69,11 +58,6 @@ interface WithBackendPort<ReturnT> {
/**
* Grouping of definition stages applicable as part of a load balancer update, involving modifying the backend port.
*/
@LangDefinition(
ContainerName = "UpdateDefinition",
ContainerFileName = "IUpdateDefinition",
IsContainerOnly = true,
MethodConversionType = MethodConversion.OnlyMethod)
interface UpdateDefinitionStages {
/**
* The stage of a definition allowing to specify the backend port.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,9 @@
*/
package com.microsoft.azure.management.network.model;

import com.microsoft.azure.management.apigeneration.LangDefinition;
import com.microsoft.azure.management.apigeneration.LangDefinition.MethodConversion;

/**
* An interface representing a model's ability to have floating IP support.
*/
@LangDefinition()
public interface HasFloatingIp {
/**
* @return the state of the floating IP enablement
Expand All @@ -21,11 +17,6 @@ public interface HasFloatingIp {
/**
* Grouping of definition stages involving enabling or disabling floating IP support.
*/
@LangDefinition(
ContainerName = "Definition",
ContainerFileName = "IDefinition",
IsContainerOnly = true,
MethodConversionType = MethodConversion.OnlyMethod)
interface DefinitionStages {
/**
* The stage of a definition allowing to control floating IP support.
Expand Down Expand Up @@ -56,11 +47,6 @@ interface WithFloatingIp<ReturnT> {
/**
* Grouping of update stages involving enabling or disabling floating IP support.
*/
@LangDefinition(
ContainerName = "Update",
ContainerFileName = "IUpdate",
IsContainerOnly = true,
MethodConversionType = MethodConversion.OnlyMethod)
interface UpdateStages {
/**
* The stage of a definition allowing to control floating IP support.
Expand Down Expand Up @@ -92,11 +78,6 @@ interface WithFloatingIp<ReturnT> {
/**
* Grouping of definition stages applicable as part of a load balancer update, involving enabling or disabling floating IP support.
*/
@LangDefinition(
ContainerName = "UpdateDefinition",
ContainerFileName = "IUpdateDefinition",
IsContainerOnly = true,
MethodConversionType = MethodConversion.OnlyMethod)
interface UpdateDefinitionStages {
/**
* The stage of a definition allowing to control floating IP support.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@
*/
package com.microsoft.azure.management.network.model;

import com.microsoft.azure.management.apigeneration.LangDefinition;
import com.microsoft.azure.management.apigeneration.LangDefinition.MethodConversion;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.network.Frontend;

/**
* An interface representing a model's ability to references a load balancer frontend.
*/
@LangDefinition()
@Fluent
public interface HasFrontend {
/**
* @return the associated frontend
Expand All @@ -22,11 +21,6 @@ public interface HasFrontend {
/**
* Grouping of definition stages involving specifying the frontend.
*/
@LangDefinition(
ContainerName = "Definition",
ContainerFileName = "IDefinition",
IsContainerOnly = true,
MethodConversionType = MethodConversion.OnlyMethod)
interface DefinitionStages {
/**
* The stage of a definition allowing to specify a load balancer frontend.
Expand All @@ -45,11 +39,6 @@ interface WithFrontend<ReturnT> {
/**
* Grouping of update stages involving specifying the frontend.
*/
@LangDefinition(
ContainerName = "Update",
ContainerFileName = "IUpdate",
IsContainerOnly = true,
MethodConversionType = MethodConversion.OnlyMethod)
interface UpdateStages {
/**
* The stage of an update allowing to specify a frontend.
Expand All @@ -68,11 +57,6 @@ interface WithFrontend<ReturnT> {
/**
* Grouping of definition stages applicable as part of a load balancer update.
*/
@LangDefinition(
ContainerName = "UpdateDefinition",
ContainerFileName = "IUpdateDefinition",
IsContainerOnly = true,
MethodConversionType = MethodConversion.OnlyMethod)
interface UpdateDefinitionStages {
/**
* The stage of a definition allowing to specify a frontend from this load balancer to associate.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

import java.util.Map;

import com.microsoft.azure.management.apigeneration.LangDefinition;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.network.LoadBalancingRule;

/**
* An interface representing a model's ability to reference load balancing rules.
*/
@LangDefinition()
@Fluent()
public interface HasLoadBalancingRules {
/**
* @return the associated load balancing rules from this load balancer, indexed by their names
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
*/
package com.microsoft.azure.management.network.model;

import com.microsoft.azure.management.apigeneration.LangDefinition;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.network.NetworkInterface;

import java.util.List;

/**
* Interface exposing a list of network interfaces.
*/
@LangDefinition()
@Fluent()
public interface HasNetworkInterfaces {
/**
* Gets the primary network interface.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@
*/
package com.microsoft.azure.management.network.model;

import com.microsoft.azure.management.apigeneration.LangDefinition;
import com.microsoft.azure.management.apigeneration.LangDefinition.MethodConversion;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.network.IPAllocationMethod;

/**
* An interface representing a model's ability to reference a private IP address.
*/
@LangDefinition()
@Fluent()
public interface HasPrivateIpAddress {
/**
* @return the private IP address associated with this resource
Expand All @@ -27,11 +26,6 @@ public interface HasPrivateIpAddress {
/**
* Grouping of definition stages involving specifying the private IP address.
*/
@LangDefinition(
ContainerName = "Definition",
ContainerFileName = "IDefinition",
IsContainerOnly = true,
MethodConversionType = MethodConversion.OnlyMethod)
interface DefinitionStages {
/**
* The stage of a definition allowing to specify the private IP address.
Expand All @@ -56,11 +50,6 @@ interface WithPrivateIpAddress<ReturnT> {
/**
* Grouping of update stages involving modifying the private IP address.
*/
@LangDefinition(
ContainerName = "Update",
ContainerFileName = "IUpdate",
IsContainerOnly = true,
MethodConversionType = MethodConversion.OnlyMethod)
interface UpdateStages {
/**
* The stage of an update allowing to modify the private IP address.
Expand All @@ -85,11 +74,6 @@ interface WithPrivateIpAddress<ReturnT> {
/**
* Grouping of definition stages applicable as part of a parent resource update, involving specifying the private IP address.
*/
@LangDefinition(
ContainerName = "UpdateDefinition",
ContainerFileName = "IUpdateDefinition",
IsContainerOnly = true,
MethodConversionType = MethodConversion.OnlyMethod)
interface UpdateDefinitionStages {
/**
* The stage of a definition allowing to specify the private IP address.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@
*/
package com.microsoft.azure.management.network.model;

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

/**
* An interface representing a model's ability to reference a transport protocol.
* @param <ProtocolT> the protocol type of the value
*/
@LangDefinition()
@Fluent()
public interface HasProtocol<ProtocolT> {
/**
* @return the protocol
Expand All @@ -22,11 +21,6 @@ public interface HasProtocol<ProtocolT> {
/**
* Grouping of definition stages involving specifying the protocol.
*/
@LangDefinition(
ContainerName = "Definition",
ContainerFileName = "IDefinition",
IsContainerOnly = true,
MethodConversionType = MethodConversion.OnlyMethod)
interface DefinitionStages {
/**
* The stage of a definition allowing to specify the protocol.
Expand All @@ -46,11 +40,6 @@ interface WithProtocol<ReturnT, ProtocolT> {
/**
* Grouping of update stages involving modifying the protocol.
*/
@LangDefinition(
ContainerName = "Update",
ContainerFileName = "IUpdate",
IsContainerOnly = true,
MethodConversionType = MethodConversion.OnlyMethod)
interface UpdateStages {
/**
* The stage of an update allowing to modify the transport protocol.
Expand All @@ -70,11 +59,6 @@ interface WithProtocol<ReturnT, ProtocolT> {
/**
* Grouping of definition stages applicable as part of a load balancer update, involving specifying the protocol.
*/
@LangDefinition(
ContainerName = "UpdateDefinition",
ContainerFileName = "IUpdateDefinition",
IsContainerOnly = true,
MethodConversionType = MethodConversion.OnlyMethod)
interface UpdateDefinitionStages {
/**
* The stage of a definition allowing to specify the protocol.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@
*/
package com.microsoft.azure.management.network.model;

import com.microsoft.azure.management.apigeneration.LangDefinition;
import com.microsoft.azure.management.apigeneration.LangDefinition.MethodConversion;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.network.PublicIpAddress;
import com.microsoft.azure.management.resources.fluentcore.model.Creatable;

/**
* An interface representing a model's ability to reference a public IP address.
*/
@LangDefinition()
@Fluent
public interface HasPublicIpAddress {
/**
* @return the resource ID of the associated public IP address
Expand All @@ -28,11 +27,6 @@ public interface HasPublicIpAddress {
/**
* Grouping of definition stages involving specifying the public IP address.
*/
@LangDefinition(
ContainerName = "Definition",
ContainerFileName = "IDefinition",
IsContainerOnly = true,
MethodConversionType = MethodConversion.OnlyMethod)
interface DefinitionStages {
/**
* The stage of the definition allowing to associate the resource with an existing public IP address.
Expand Down Expand Up @@ -106,11 +100,6 @@ interface WithPublicIpAddress<ReturnT> extends
/**
* Grouping of update stages involving modifying an existing reference to a public IP address.
*/
@LangDefinition(
ContainerName = "Update",
ContainerFileName = "IUpdate",
IsContainerOnly = true,
MethodConversionType = MethodConversion.OnlyMethod)
interface UpdateStages {
/**
* The stage definition allowing to associate the resource with an existing public IP address.
Expand Down Expand Up @@ -191,11 +180,6 @@ interface WithPublicIpAddress<ReturnT> extends
/**
* Grouping of definition stages applicable as part of a parent resource update, involving specifying a public IP address.
*/
@LangDefinition(
ContainerName = "UpdateDefinition",
ContainerFileName = "IUpdateDefinition",
IsContainerOnly = true,
MethodConversionType = MethodConversion.OnlyMethod)
interface UpdateDefinitionStages {
/**
* The stage of the definition allowing to associate the resource with an existing public IP address.
Expand Down
Loading