Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
03bc0b3
language annotations on Backend interfaces
Sep 16, 2016
aac0b9e
language annotations on LB frontend interfaces
Sep 16, 2016
f82a315
language annotations for load balancer probes
Sep 16, 2016
7417721
language annotations for load balancer inbound NAT pool
Sep 16, 2016
dda6b1a
language annotations for load balancer's inbound nat rule
Sep 16, 2016
03102b8
updated language annotations for LoadBalancer
Sep 16, 2016
b159d17
simplilfying Backend lang annotations
Sep 16, 2016
379f95b
simplifying frontend lang annotations
Sep 16, 2016
580c793
language annotations on LB rules
Sep 16, 2016
c092a4f
simplifying probe language annotations
Sep 16, 2016
8b39ed8
simplifying inbound NAT pool lang annotations
Sep 16, 2016
1ba8cdc
simplifying inbound nat rule lang annotations
Sep 16, 2016
3df9f03
simplifying load balancer lang annotations
Sep 16, 2016
b044be2
Merge remote-tracking branch 'upstream/master' into martin-networking
Sep 16, 2016
18e70ce
all networking lang annotations on intrerfaces revisited
Sep 17, 2016
ee99f5b
Merge remote-tracking branch 'upstream/master' into martin-networking
Sep 17, 2016
c557748
factoring out a shared HasSubnet interface to help enforce consistenc…
Sep 19, 2016
80eee05
refactoring LB private frontend to reference the shared HasSubnet int…
Sep 19, 2016
6c19eb0
NIC simplification
Sep 19, 2016
0143034
NIC simplification:
Sep 20, 2016
3ec1b0c
javadoc fix
Sep 20, 2016
bb59287
factoring out public IP related methods into a standalone interface f…
Sep 20, 2016
ec45559
refactoring NIC IP configuration to use the shared HasPublicIpAddress…
Sep 20, 2016
5669475
enhancing the frontend PIP listing logic
Sep 20, 2016
7f1e2b7
unifying the ways PIP references are handled between LB frontend and …
Sep 20, 2016
43af144
Merge remote-tracking branch 'upstream/master' into martin-networking
Sep 20, 2016
add5848
simplifying networking lang conversion annotations to the simple new …
Sep 20, 2016
130b43b
Merge remote-tracking branch 'upstream/master' into martin-networking
Sep 21, 2016
db49185
Merge remote-tracking branch 'upstream/master' into martin-networking
Sep 21, 2016
585139d
ensuring the latest @Fluent annotations in compute
Sep 21, 2016
c4ae77e
converting language annotations to the latest @Fluent and removing re…
Sep 21, 2016
42395de
renaming StorageAccount#refreshKeys() as getKeys() and removing keys(…
Sep 21, 2016
3b19c5b
other language annotations for methods that would by default be conve…
Sep 21, 2016
b4222fa
Merge remote-tracking branch 'upstream/master' into martin-networking
Sep 22, 2016
209d10c
Merge remote-tracking branch 'upstream/master' into martin-networking
Sep 22, 2016
7f94621
network impl annotations
Sep 22, 2016
5b58d44
Merge remote-tracking branch 'upstream/master' into martin-networking
Sep 22, 2016
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 @@ -5,7 +5,7 @@
*/
package com.microsoft.azure.management.compute;

import com.microsoft.azure.management.apigeneration.LangDefinition;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.compute.implementation.AvailabilitySetInner;
import com.microsoft.azure.management.resources.fluentcore.arm.models.GroupableResource;
import com.microsoft.azure.management.resources.fluentcore.arm.models.Resource;
Expand All @@ -20,7 +20,7 @@
/**
* An immutable client-side representation of an Azure availability set.
*/
@LangDefinition(ContainerName = "~/")
@Fluent()
public interface AvailabilitySet extends
GroupableResource,
Refreshable<AvailabilitySet>,
Expand Down Expand Up @@ -69,7 +69,6 @@ public interface AvailabilitySet extends
/**
* Container interface for all the definitions.
*/
@LangDefinition(ContainerName = "~/AvailabilitySet.Definition")
interface Definition extends
DefinitionStages.Blank,
DefinitionStages.WithGroup,
Expand All @@ -79,7 +78,6 @@ interface Definition extends
/**
* Grouping of availability set definition stages.
*/
@LangDefinition(ContainerName = "~/AvailabilitySet.Definition", ContainerFileName = "IDefinition", IsContainerOnly = true)
interface DefinitionStages {
/**
* The first stage of an availability set definition.
Expand Down Expand Up @@ -136,7 +134,6 @@ interface WithCreate extends
* <p>
* Call {@link Update#apply()} to apply the changes to the resource in Azure.
*/
@LangDefinition(ContainerName = "~/AvailabilitySet.Update")
interface Update extends
Appliable<AvailabilitySet>,
Resource.UpdateWithTags<Update> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.microsoft.azure.management.compute;

import com.microsoft.azure.management.apigeneration.LangDefinition;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsDeletingByGroup;
import com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingByGroup;
import com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById;
Expand All @@ -13,7 +13,7 @@
/**
* Entry point to availability set management API.
*/
@LangDefinition(ContainerName = "~/")
@Fluent
public interface AvailabilitySets extends
SupportsListingByGroup<AvailabilitySet>,
SupportsGettingByGroup<AvailabilitySet>,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package com.microsoft.azure.management.compute;

import com.microsoft.azure.PagedList;
import com.microsoft.azure.management.apigeneration.LangDefinition;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.apigeneration.LangMethodDefinition;
import com.microsoft.azure.management.apigeneration.LangMethodDefinition.LangMethodType;
import com.microsoft.azure.management.compute.implementation.VirtualMachineInner;
import com.microsoft.azure.management.network.Network;
import com.microsoft.azure.management.network.NetworkInterface;
Expand All @@ -22,7 +24,7 @@
/**
* An immutable client-side representation of an Azure virtual machine.
*/
@LangDefinition(ContainerName = "~/")
@Fluent
public interface VirtualMachine extends
GroupableResource,
Refreshable<VirtualMachine>,
Expand Down Expand Up @@ -137,7 +139,13 @@ public interface VirtualMachine extends
*
* @return the public IP of the primary network interface
*/
PublicIpAddress primaryPublicIpAddress();
@LangMethodDefinition(AsType = LangMethodType.Method)
PublicIpAddress getPrimaryPublicIpAddress();

/**
* @return the resource ID of the public IP address associated with this virtual machine's primary network interface
*/
String primaryPublicIpAddressId();

/**
* Returns id to the availability set this virtual machine associated with.
Expand Down Expand Up @@ -222,7 +230,6 @@ public interface VirtualMachine extends
/**
* The entirety of the virtual machine definition.
*/
@LangDefinition(ContainerName = "~/VirtualMachine.Definition")
interface Definition extends
DefinitionStages.Blank,
DefinitionStages.WithGroup,
Expand All @@ -242,7 +249,6 @@ interface Definition extends
/**
* Grouping of virtual machine definition stages.
*/
@LangDefinition(ContainerName = "~/VirtualMachine.Definition", ContainerFileName = "IDefinition", IsContainerOnly = true)
interface DefinitionStages {
/**
* The first stage of a virtual machine definition.
Expand Down Expand Up @@ -815,7 +821,6 @@ interface WithCreate extends
/**
* Grouping of virtual machine update stages.
*/
@LangDefinition(ContainerName = "~/VirtualMachine.Update", ContainerFileName = "IUpdate", IsContainerOnly = true)
interface UpdateStages {
/**
* The stage of the virtual machine definition allowing to specify data disk configuration.
Expand Down Expand Up @@ -958,7 +963,6 @@ interface WithExtension {
* <p>
* Call {@link Update#apply()} to apply the changes to the resource in Azure.
*/
@LangDefinition(ContainerName = "~/VirtualMachine.Update")
interface Update extends
Appliable<VirtualMachine>,
Resource.UpdateWithTags<Update>,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.microsoft.azure.management.compute;

import com.microsoft.azure.management.apigeneration.LangDefinition;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.resources.fluentcore.arm.models.ChildResource;
import com.microsoft.azure.management.resources.fluentcore.model.Attachable;
import com.microsoft.azure.management.resources.fluentcore.model.Settable;
Expand All @@ -9,7 +9,7 @@
/**
* A data disk of a virtual machine.
*/
@LangDefinition(ContainerName = "~/")
@Fluent
public interface VirtualMachineDataDisk extends
Wrapper<DataDisk>,
ChildResource<VirtualMachine> {
Expand Down Expand Up @@ -68,7 +68,6 @@ public interface VirtualMachineDataDisk extends
/**
* Grouping of data disk definition stages applicable as part of a virtual machine creation.
*/
@LangDefinition(ContainerName = "~/VirtualMachineDataDisk.Definition", ContainerFileName = "IDefinition", IsContainerOnly = true)
interface DefinitionStages {
/**
* The first stage of a data disk definition.
Expand Down Expand Up @@ -165,7 +164,6 @@ interface WithAttach<ParentT> extends Attachable.InUpdate<ParentT> {
* The entirety of a data disk definition.
* @param <ParentT> the return type of the final {@link Attachable#attach()}
*/
@LangDefinition(ContainerName = "~/VirtualMachineDataDisk.Definition")
interface Definition<ParentT> extends
DefinitionStages.Blank<ParentT>,
DefinitionStages.WithAttach<ParentT>,
Expand All @@ -175,7 +173,6 @@ interface Definition<ParentT> extends
/**
* Grouping of data disk definition stages applicable as part of a virtual machine update.
*/
@LangDefinition(ContainerName = "~/VirtualMachineDataDisk.Update", ContainerFileName = "IUpdateDefinition", IsContainerOnly = true)
interface UpdateDefinitionStages {
/**
* The first stage of a data disk definition.
Expand Down Expand Up @@ -271,7 +268,6 @@ interface WithAttach<ParentT> extends Attachable.InDefinition<ParentT> {
/** The entirety of a data disk definition as part of a virtual machine update.
* @param <ParentT> the return type of the final {@link UpdateDefinitionStages.WithAttach#attach()}
*/
@LangDefinition(ContainerName = "~/VirtualMachineDataDisk.Update", ContainerFileName = "IUpdateDefinition")
interface UpdateDefinition<ParentT> extends
UpdateDefinitionStages.Blank<ParentT>,
UpdateDefinitionStages.WithAttach<ParentT>,
Expand All @@ -281,7 +277,6 @@ interface UpdateDefinition<ParentT> extends
/**
* Grouping of data disk update stages.
*/
@LangDefinition(ContainerName = "~/VirtualMachineDataDisk.Update", ContainerFileName = "IUpdate")
interface UpdateStages {
/**
* Specifies the new size in GB for data disk.
Expand Down Expand Up @@ -311,7 +306,6 @@ interface UpdateStages {
/**
* The entirety of a data disk update as part of a virtual machine update.
*/
@LangDefinition(ContainerName = "~/VirtualMachineDataDisk.Update")
interface Update extends
UpdateStages,
Settable<VirtualMachine.Update> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.microsoft.azure.management.compute;

import com.microsoft.azure.management.apigeneration.LangDefinition;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.compute.implementation.VirtualMachineExtensionInner;
import com.microsoft.azure.management.resources.fluentcore.arm.models.ExternalChildResource;
import com.microsoft.azure.management.resources.fluentcore.model.Attachable;
Expand All @@ -14,7 +13,7 @@
* An immutable client-side representation of an Azure virtual machine extension.
* An extension associated with a virtual machine will be created from a {@link VirtualMachineExtensionImage }.
*/
@LangDefinition
@Fluent
public interface VirtualMachineExtension extends
ExternalChildResource<VirtualMachineExtension, VirtualMachine>,
Wrapper<VirtualMachineExtensionInner> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.microsoft.azure.management.compute;

import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.compute.implementation.VirtualMachineExtensionImageInner;
import com.microsoft.azure.management.resources.fluentcore.model.Wrapper;

Expand All @@ -8,6 +9,7 @@
* <p>
* Note: Azure virtual machine extension image is also referred as virtual machine extension handler.
*/
@Fluent
public interface VirtualMachineExtensionImage extends
Wrapper<VirtualMachineExtensionImageInner> {
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
package com.microsoft.azure.management.compute;

import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.compute.implementation.VirtualMachineExtensionImageInner;
import com.microsoft.azure.management.resources.fluentcore.model.Wrapper;

/**
* An immutable client-side representation of an Azure virtual machine extension image type.
*/
@Fluent
public interface VirtualMachineExtensionImageType extends
Wrapper<VirtualMachineExtensionImageInner> {
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
package com.microsoft.azure.management.compute;

import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing;

/**
* Entry point to virtual machine image extension types.
*/
@Fluent
public interface VirtualMachineExtensionImageTypes extends SupportsListing<VirtualMachineExtensionImageType> {
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
package com.microsoft.azure.management.compute;

import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.compute.implementation.VirtualMachineExtensionImageInner;
import com.microsoft.azure.management.resources.fluentcore.model.Wrapper;

/**
* An immutable client-side representation of an Azure virtual machine extension image version.
*/
@Fluent
public interface VirtualMachineExtensionImageVersion extends
Wrapper<VirtualMachineExtensionImageInner> {
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
package com.microsoft.azure.management.compute;

import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing;

/**
* Entry point to virtual machine image extension versions.
*/
@Fluent
public interface VirtualMachineExtensionImageVersions extends SupportsListing<VirtualMachineExtensionImageVersion> {
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
package com.microsoft.azure.management.compute;

import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.resources.fluentcore.collection.SupportsListingByRegion;

/**
* Entry point to virtual machine extension image management API.
*/
@Fluent
public interface VirtualMachineExtensionImages extends SupportsListingByRegion<VirtualMachineExtensionImage> {
/**
* @return entry point to virtual machine extension image publishers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/
package com.microsoft.azure.management.compute;

import com.microsoft.azure.management.apigeneration.LangDefinition;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.compute.implementation.VirtualMachineImageInner;
import com.microsoft.azure.management.resources.fluentcore.arm.Region;
import com.microsoft.azure.management.resources.fluentcore.model.Wrapper;
Expand All @@ -15,7 +15,7 @@
/**
* An immutable client-side representation of an Azure virtual machine image.
*/
@LangDefinition(ContainerName = "~/")
@Fluent
public interface VirtualMachineImage extends
Wrapper<VirtualMachineImageInner> {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
*/
package com.microsoft.azure.management.compute;

import com.microsoft.azure.management.apigeneration.LangDefinition;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.resources.fluentcore.collection.SupportsListingByRegion;

/**
* Entry point to virtual machine image management API.
*/
@LangDefinition(ContainerName = "~/")
@Fluent
public interface VirtualMachineImages extends
SupportsListingByRegion<VirtualMachineImage> {
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package com.microsoft.azure.management.compute;
import com.microsoft.azure.management.apigeneration.LangDefinition;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing;

/**
* Entry point to virtual machine sku images.
*/
@LangDefinition(ContainerName = "~/")
@Fluent
public interface VirtualMachineImagesInSku extends SupportsListing<VirtualMachineImage> {
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
*/
package com.microsoft.azure.management.compute;

import com.microsoft.azure.management.apigeneration.LangDefinition;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.resources.fluentcore.arm.Region;

/**
* Represents a virtual machine image offer.
*/
@LangDefinition(ContainerName = "~/")
@Fluent
public interface VirtualMachineOffer {
/**
* @return the region where this virtual machine image offer is available
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
*/
package com.microsoft.azure.management.compute;

import com.microsoft.azure.management.apigeneration.LangDefinition;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing;

/**
* Entry point to virtual machine image offers.
*/
@LangDefinition(ContainerName = "~/")
@Fluent
public interface VirtualMachineOffers extends SupportsListing<VirtualMachineOffer> {
}

Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
*/
package com.microsoft.azure.management.compute;

import com.microsoft.azure.management.apigeneration.LangDefinition;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.resources.fluentcore.arm.Region;

/**
* Represents a virtual machine image publisher.
*/
@LangDefinition(ContainerName = "~/")
@Fluent
public interface VirtualMachinePublisher {
/**
* @return the region where virtual machine images from this publisher is available
Expand Down
Loading