From 61d9f80b9962a74bf8c21cc475aeb4cad0fc382f Mon Sep 17 00:00:00 2001 From: alvadb Date: Tue, 13 Sep 2016 16:23:08 -0700 Subject: [PATCH 1/2] Adding api annotations Adding api annotations --- azure-mgmt-compute/pom.xml | 24 ++++++++ .../management/compute/AvailabilitySet.java | 5 ++ .../management/compute/AvailabilitySets.java | 2 + .../management/compute/VirtualMachine.java | 6 ++ .../compute/VirtualMachineDataDisk.java | 10 ++- .../compute/VirtualMachineImage.java | 2 + .../compute/VirtualMachineImages.java | 2 + .../compute/VirtualMachineImagesInSku.java | 2 + .../compute/VirtualMachineOffer.java | 2 + .../compute/VirtualMachineOffers.java | 2 + .../compute/VirtualMachinePublisher.java | 2 + .../compute/VirtualMachinePublishers.java | 2 + .../compute/VirtualMachineSize.java | 3 + .../compute/VirtualMachineSizes.java | 2 + .../management/compute/VirtualMachineSku.java | 2 + .../compute/VirtualMachineSkus.java | 2 + .../management/compute/VirtualMachines.java | 2 + .../implementation/AvailabilitySetImpl.java | 2 + .../implementation/AvailabilitySetsImpl.java | 2 + .../compute/implementation/DataDiskImpl.java | 2 + .../VirtualMachineImageImpl.java | 2 + .../VirtualMachineImagesImpl.java | 2 + .../VirtualMachineImagesInSkuImpl.java | 2 + .../implementation/VirtualMachineImpl.java | 2 + .../VirtualMachineOfferImpl.java | 2 + .../VirtualMachineOffersImpl.java | 2 + .../VirtualMachinePublisherImpl.java | 2 + .../VirtualMachinePublishersImpl.java | 2 + .../VirtualMachineSizeImpl.java | 2 + .../VirtualMachineSizesImpl.java | 2 + .../implementation/VirtualMachineSkuImpl.java | 2 + .../VirtualMachineSkusImpl.java | 2 + .../implementation/VirtualMachinesImpl.java | 2 + azure-mgmt-network/pom.xml | 23 +++++++ .../management/network/LoadBalancer.java | 6 ++ .../management/network/LoadBalancers.java | 2 + .../azure/management/network/Network.java | 6 ++ .../management/network/NetworkInterface.java | 6 ++ .../management/network/NetworkInterfaces.java | 2 + .../network/NetworkSecurityGroup.java | 6 ++ .../network/NetworkSecurityGroups.java | 2 + .../network/NetworkSecurityRule.java | 9 +++ .../azure/management/network/Networks.java | 2 + .../network/NicIpConfiguration.java | 8 +++ .../management/network/PublicIpAddress.java | 6 ++ .../management/network/PublicIpAddresses.java | 2 + .../azure/management/network/Subnet.java | 8 +++ .../implementation/LoadBalancerImpl.java | 2 + .../implementation/LoadBalancersImpl.java | 2 + .../network/implementation/NetworkImpl.java | 2 + .../implementation/NetworkInterfaceImpl.java | 2 + .../implementation/NetworkInterfacesImpl.java | 2 + .../NetworkManagementClientImpl.java | 1 + .../NetworkSecurityGroupImpl.java | 2 + .../NetworkSecurityGroupsImpl.java | 2 + .../NetworkSecurityRuleImpl.java | 2 + .../network/implementation/NetworksImpl.java | 2 + .../NicIpConfigurationImpl.java | 2 + .../implementation/PublicIpAddressImpl.java | 2 + .../implementation/PublicIpAddressesImpl.java | 2 + .../network/implementation/SubnetImpl.java | 2 + .../network/model/HasNetworkInterfaces.java | 2 + azure-mgmt-resources/pom.xml | 23 +++++++ .../management/resources/Deployment.java | 9 +++ .../resources/DeploymentExportResult.java | 2 + .../resources/DeploymentOperation.java | 2 + .../resources/DeploymentOperations.java | 2 + .../management/resources/Deployments.java | 2 + .../azure/management/resources/Feature.java | 2 + .../azure/management/resources/Features.java | 3 + .../management/resources/GenericResource.java | 6 ++ .../resources/GenericResources.java | 2 + .../azure/management/resources/Location.java | 2 + .../azure/management/resources/Provider.java | 2 + .../azure/management/resources/Providers.java | 2 + .../resources/ResourceConnector.java | 2 + .../management/resources/ResourceGroup.java | 6 ++ .../resources/ResourceGroupExportResult.java | 2 + .../management/resources/ResourceGroups.java | 2 + .../management/resources/Subscription.java | 2 + .../management/resources/Subscriptions.java | 2 + .../azure/management/resources/Tenant.java | 2 + .../azure/management/resources/Tenants.java | 2 + .../collection/SupportsDeletingByGroup.java | 4 ++ .../collection/SupportsGettingByGroup.java | 3 + .../arm/collection/SupportsGettingById.java | 3 + .../arm/collection/SupportsGettingByName.java | 3 + .../collection/SupportsListingByGroup.java | 3 + .../fluentcore/arm/models/ChildResource.java | 2 + .../arm/models/GroupableResource.java | 4 ++ .../fluentcore/arm/models/Resource.java | 5 ++ .../collection/SupportsCreating.java | 3 + .../collection/SupportsDeleting.java | 3 + .../collection/SupportsListing.java | 3 + .../collection/SupportsListingByRegion.java | 3 + .../resources/fluentcore/model/Appliable.java | 2 + .../fluentcore/model/Attachable.java | 5 ++ .../resources/fluentcore/model/Creatable.java | 2 + .../resources/fluentcore/model/Indexable.java | 3 + .../fluentcore/model/Refreshable.java | 3 + .../resources/fluentcore/model/Settable.java | 3 + .../resources/fluentcore/model/Updatable.java | 3 + azure-mgmt-storage/pom.xml | 23 +++++++ .../management/storage/StorageAccount.java | 11 ++++ .../management/storage/StorageAccounts.java | 2 + .../management/storage/StorageUsage.java | 2 + .../azure/management/storage/Usages.java | 2 + pom.xml | 61 +++++++++++++++++++ 108 files changed, 460 insertions(+), 1 deletion(-) diff --git a/azure-mgmt-compute/pom.xml b/azure-mgmt-compute/pom.xml index 550c0ab29cc6..fa4ae4c6e5e4 100644 --- a/azure-mgmt-compute/pom.xml +++ b/azure-mgmt-compute/pom.xml @@ -77,6 +77,11 @@ 1.0.0-SNAPSHOT test + + com.microsoft.azure + api-annotations + 0.0.1-SNAPSHOT + @@ -119,6 +124,25 @@
*/]]> + + + org.apache.maven.plugins + maven-compiler-plugin + 3.0 + + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + true + true + + true + true + + + +
diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/AvailabilitySet.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/AvailabilitySet.java index 96505f5c5d1b..f4cafa916d2a 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/AvailabilitySet.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/AvailabilitySet.java @@ -5,6 +5,7 @@ */ package com.microsoft.azure.management.compute; +import com.microsoft.azure.management.apigeneration.LangDefinition; 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; @@ -19,6 +20,7 @@ /** * An immutable client-side representation of an Azure availability set. */ +@LangDefinition(ContainerName="~/") public interface AvailabilitySet extends GroupableResource, Refreshable, @@ -67,6 +69,7 @@ public interface AvailabilitySet extends /** * Container interface for all the definitions. */ + @LangDefinition(ContainerName="~/AvailabilitySet.Definition") interface Definition extends DefinitionStages.Blank, DefinitionStages.WithGroup, @@ -76,6 +79,7 @@ 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. @@ -132,6 +136,7 @@ interface WithCreate extends *

* Call {@link Update#apply()} to apply the changes to the resource in Azure. */ + @LangDefinition(ContainerName="~/AvailabilitySet.Update") interface Update extends Appliable, Resource.UpdateWithTags { diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/AvailabilitySets.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/AvailabilitySets.java index 0b1ea8485e0f..7d540eb77de6 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/AvailabilitySets.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/AvailabilitySets.java @@ -1,5 +1,6 @@ package com.microsoft.azure.management.compute; +import com.microsoft.azure.management.apigeneration.LangDefinition; 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; @@ -12,6 +13,7 @@ /** * Entry point to availability set management API. */ +@LangDefinition(ContainerName="~/") public interface AvailabilitySets extends SupportsListingByGroup, SupportsGettingByGroup, diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachine.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachine.java index 5fba3f859841..e25dbca2b03b 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachine.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachine.java @@ -3,6 +3,7 @@ import com.microsoft.azure.CloudException; import com.microsoft.azure.PagedList; import com.microsoft.azure.management.compute.implementation.VirtualMachineInner; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.network.Network; import com.microsoft.azure.management.network.NetworkInterface; import com.microsoft.azure.management.network.PublicIpAddress; @@ -23,6 +24,7 @@ /** * An immutable client-side representation of an Azure virtual machine. */ +@LangDefinition(ContainerName="~/") public interface VirtualMachine extends GroupableResource, Refreshable, @@ -256,6 +258,7 @@ public interface VirtualMachine extends /** * The entirety of the virtual machine definition. */ + @LangDefinition(ContainerName="~/VirtualMachine.Definition") interface Definition extends DefinitionStages.Blank, DefinitionStages.WithGroup, @@ -275,6 +278,7 @@ 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. @@ -847,6 +851,7 @@ 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. @@ -989,6 +994,7 @@ interface WithExtension { *

* Call {@link Update#apply()} to apply the changes to the resource in Azure. */ + @LangDefinition(ContainerName="~/VirtualMachine.Update") interface Update extends Appliable, Resource.UpdateWithTags, diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineDataDisk.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineDataDisk.java index b844b032c40f..8868797df40f 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineDataDisk.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineDataDisk.java @@ -1,5 +1,6 @@ package com.microsoft.azure.management.compute; +import com.microsoft.azure.management.apigeneration.LangDefinition; 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; @@ -8,6 +9,7 @@ /** * A data disk of a virtual machine. */ +@LangDefinition(ContainerName="~/") public interface VirtualMachineDataDisk extends Wrapper, ChildResource { @@ -66,6 +68,7 @@ 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. @@ -162,6 +165,7 @@ interface WithAttach extends Attachable.InUpdate { * The entirety of a data disk definition. * @param the return type of the final {@link Attachable#attach()} */ + @LangDefinition(ContainerName="~/VirtualMachineDataDisk.Definition") interface Definition extends DefinitionStages.Blank, DefinitionStages.WithAttach, @@ -171,6 +175,7 @@ interface Definition 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. @@ -266,7 +271,8 @@ interface WithAttach extends Attachable.InDefinition { /** The entirety of a data disk definition as part of a virtual machine update. * @param the return type of the final {@link UpdateDefinitionStages.WithAttach#attach()} */ - interface UpdateDefinition extends + @LangDefinition(ContainerName="~/VirtualMachineDataDisk.Update", ContainerFileName="IUpdateDefinition") + interface UpdateDefinition extends UpdateDefinitionStages.Blank, UpdateDefinitionStages.WithAttach, UpdateDefinitionStages.WithStoreAt { @@ -275,6 +281,7 @@ interface UpdateDefinition extends /** * Grouping of data disk update stages. */ + @LangDefinition(ContainerName="~/VirtualMachineDataDisk.Update", ContainerFileName="IUpdate") interface UpdateStages { /** * Specifies the new size in GB for data disk. @@ -304,6 +311,7 @@ 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 { diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImage.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImage.java index c840545abd98..dc5705d53809 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImage.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImage.java @@ -5,6 +5,7 @@ */ package com.microsoft.azure.management.compute; +import com.microsoft.azure.management.apigeneration.LangDefinition; 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; @@ -14,6 +15,7 @@ /** * An immutable client-side representation of an Azure virtual machine image. */ +@LangDefinition(ContainerName="~/") public interface VirtualMachineImage extends Wrapper { /** diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImages.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImages.java index 7f0fd764c314..d33c2f265d2d 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImages.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImages.java @@ -5,11 +5,13 @@ */ package com.microsoft.azure.management.compute; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.fluentcore.collection.SupportsListingByRegion; /** * Entry point to virtual machine image management API. */ +@LangDefinition(ContainerName="~/") public interface VirtualMachineImages extends SupportsListingByRegion { /** diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImagesInSku.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImagesInSku.java index dc08fa163eda..6f317268f843 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImagesInSku.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImagesInSku.java @@ -1,8 +1,10 @@ package com.microsoft.azure.management.compute; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing; /** * Entry point to virtual machine sku images. */ +@LangDefinition(ContainerName="~/") public interface VirtualMachineImagesInSku extends SupportsListing { } diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineOffer.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineOffer.java index b0c7cb3fad39..d8c20509d288 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineOffer.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineOffer.java @@ -5,11 +5,13 @@ */ package com.microsoft.azure.management.compute; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.fluentcore.arm.Region; /** * Represents a virtual machine image offer. */ +@LangDefinition(ContainerName="~/") public interface VirtualMachineOffer { /** * @return the region where this virtual machine image offer is available diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineOffers.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineOffers.java index 07f7b669945e..66b322b22642 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineOffers.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineOffers.java @@ -5,11 +5,13 @@ */ package com.microsoft.azure.management.compute; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing; /** * Entry point to virtual machine image offers. */ +@LangDefinition(ContainerName="~/") public interface VirtualMachineOffers extends SupportsListing { } diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachinePublisher.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachinePublisher.java index f9d84263e672..68ee27d0fd2a 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachinePublisher.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachinePublisher.java @@ -5,11 +5,13 @@ */ package com.microsoft.azure.management.compute; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.fluentcore.arm.Region; /** * Represents a virtual machine image publisher. */ +@LangDefinition(ContainerName="~/") public interface VirtualMachinePublisher { /** * @return the region where virtual machine images from this publisher is available diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachinePublishers.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachinePublishers.java index ed285369616c..771e38662abc 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachinePublishers.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachinePublishers.java @@ -5,11 +5,13 @@ */ package com.microsoft.azure.management.compute; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.fluentcore.collection.SupportsListingByRegion; /** * Entry point to virtual machine image publishers. */ +@LangDefinition(ContainerName="~/") public interface VirtualMachinePublishers extends SupportsListingByRegion { } diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSize.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSize.java index 8a0aafaa82ed..d3b5073fe1c8 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSize.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSize.java @@ -5,9 +5,12 @@ */ package com.microsoft.azure.management.compute; +import com.microsoft.azure.management.apigeneration.LangDefinition; + /** * A type representing virtual machine size available for a subscription in a region. */ +@LangDefinition(ContainerName="~/") public interface VirtualMachineSize { /** * @return the VM size name diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSizes.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSizes.java index 153bc2964448..49939ec91984 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSizes.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSizes.java @@ -5,11 +5,13 @@ */ package com.microsoft.azure.management.compute; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.fluentcore.collection.SupportsListingByRegion; /** * Entry point to virtual machine sizes API. */ +@LangDefinition(ContainerName="~/") public interface VirtualMachineSizes extends SupportsListingByRegion { } diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSku.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSku.java index 882bfabfbc33..daabeb8a2c8f 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSku.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSku.java @@ -5,11 +5,13 @@ */ package com.microsoft.azure.management.compute; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.fluentcore.arm.Region; /** * Represents a virtual machine image SKU. */ +@LangDefinition(ContainerName="~/") public interface VirtualMachineSku { /** * @return the region where this virtual machine image offer SKU is available diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSkus.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSkus.java index 6b77809a2558..0b7b4299baa6 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSkus.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSkus.java @@ -5,10 +5,12 @@ */ package com.microsoft.azure.management.compute; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing; /** * Entry point to virtual machine image offer skus. */ +@LangDefinition(ContainerName="~/") public interface VirtualMachineSkus extends SupportsListing { } diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachines.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachines.java index c6aed475629e..cdf2a7a726e7 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachines.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachines.java @@ -1,6 +1,7 @@ package com.microsoft.azure.management.compute; import com.microsoft.azure.CloudException; +import com.microsoft.azure.management.apigeneration.LangDefinition; 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; @@ -15,6 +16,7 @@ /** * Entry point to virtual machine management API. */ +@LangDefinition(ContainerName="~/") public interface VirtualMachines extends SupportsListing, SupportsListingByGroup, diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/AvailabilitySetImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/AvailabilitySetImpl.java index 27ad41e5a9a0..3271a73bafcb 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/AvailabilitySetImpl.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/AvailabilitySetImpl.java @@ -6,6 +6,7 @@ package com.microsoft.azure.management.compute.implementation; import com.microsoft.azure.SubResource; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.compute.AvailabilitySet; import com.microsoft.azure.management.compute.InstanceViewStatus; import com.microsoft.azure.management.resources.fluentcore.arm.models.implementation.GroupableResourceImpl; @@ -19,6 +20,7 @@ /** * The implementation for {@link AvailabilitySet} and its create and update interfaces. */ +@LangDefinition class AvailabilitySetImpl extends GroupableResourceImpl< diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/AvailabilitySetsImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/AvailabilitySetsImpl.java index 3dc3ba7d7027..985317572a93 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/AvailabilitySetsImpl.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/AvailabilitySetsImpl.java @@ -7,6 +7,7 @@ import com.microsoft.azure.CloudException; import com.microsoft.azure.PagedList; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.compute.AvailabilitySet; import com.microsoft.azure.management.compute.AvailabilitySets; import com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils; @@ -20,6 +21,7 @@ /** * The implementation for {@link AvailabilitySets}. */ +@LangDefinition class AvailabilitySetsImpl extends GroupableResourcesImpl< AvailabilitySet, diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/DataDiskImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/DataDiskImpl.java index fc511eea8912..9827edff9f26 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/DataDiskImpl.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/DataDiskImpl.java @@ -2,6 +2,7 @@ import com.microsoft.azure.management.compute.DataDisk; import com.microsoft.azure.management.compute.VirtualMachine; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.compute.CachingTypes; import com.microsoft.azure.management.compute.DiskCreateOptionTypes; import com.microsoft.azure.management.compute.VirtualHardDisk; @@ -16,6 +17,7 @@ /** * The implementation for {@link DataDisk} and its create and update interfaces. */ +@LangDefinition class DataDiskImpl extends ChildResourceImpl implements diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImageImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImageImpl.java index e3077a03a9df..a145c3bac7fc 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImageImpl.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImageImpl.java @@ -1,6 +1,7 @@ package com.microsoft.azure.management.compute.implementation; import com.microsoft.azure.management.compute.VirtualMachineImage; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.compute.DataDiskImage; import com.microsoft.azure.management.compute.ImageReference; import com.microsoft.azure.management.compute.OSDiskImage; @@ -13,6 +14,7 @@ /** * The implementation for {@link VirtualMachineImage}. */ +@LangDefinition class VirtualMachineImageImpl extends IndexableWrapperImpl implements VirtualMachineImage { diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImagesImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImagesImpl.java index e23dcf587991..4b7d2c357fd6 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImagesImpl.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImagesImpl.java @@ -7,6 +7,7 @@ import com.microsoft.azure.management.compute.VirtualMachineOffer; import com.microsoft.azure.management.compute.VirtualMachinePublisher; import com.microsoft.azure.management.compute.VirtualMachinePublishers; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.compute.VirtualMachineSku; import com.microsoft.azure.management.resources.fluentcore.arm.Region; @@ -15,6 +16,7 @@ /** * The implementation for {@link VirtualMachineImages}. */ +@LangDefinition class VirtualMachineImagesImpl implements VirtualMachineImages { private final VirtualMachinePublishers publishers; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImagesInSkuImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImagesInSkuImpl.java index 28d2ecfbb5e8..d609afb17076 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImagesInSkuImpl.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImagesInSkuImpl.java @@ -2,6 +2,7 @@ import com.microsoft.azure.Page; import com.microsoft.azure.PagedList; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.compute.VirtualMachineImage; import com.microsoft.azure.management.compute.VirtualMachineImagesInSku; import com.microsoft.azure.management.compute.VirtualMachineSku; @@ -14,6 +15,7 @@ /** * The implementation for {@link VirtualMachineImagesInSku}. */ +@LangDefinition class VirtualMachineImagesInSkuImpl implements VirtualMachineImagesInSku { private final VirtualMachineImagesInner innerCollection; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImpl.java index 3979d78faf83..b18ccb132927 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImpl.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineImpl.java @@ -5,6 +5,7 @@ import com.microsoft.azure.Page; import com.microsoft.azure.PagedList; import com.microsoft.azure.SubResource; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.compute.AvailabilitySet; import com.microsoft.azure.management.compute.CachingTypes; import com.microsoft.azure.management.compute.DataDisk; @@ -61,6 +62,7 @@ /** * The implementation for {@link VirtualMachine} and its create and update interfaces. */ +@LangDefinition class VirtualMachineImpl extends GroupableResourceImpl< VirtualMachine, diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineOfferImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineOfferImpl.java index ec5719b28956..275ff160cb37 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineOfferImpl.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineOfferImpl.java @@ -1,5 +1,6 @@ package com.microsoft.azure.management.compute.implementation; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.compute.VirtualMachineOffer; import com.microsoft.azure.management.compute.VirtualMachinePublisher; import com.microsoft.azure.management.compute.VirtualMachineSkus; @@ -8,6 +9,7 @@ /** * The implementation for {@link VirtualMachineOffer}. */ +@LangDefinition class VirtualMachineOfferImpl implements VirtualMachineOffer { private final VirtualMachinePublisher publisher; private final String offerName; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineOffersImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineOffersImpl.java index 25342bcf2b40..d93038360043 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineOffersImpl.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineOffersImpl.java @@ -7,6 +7,7 @@ import com.microsoft.azure.CloudException; import com.microsoft.azure.PagedList; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.compute.VirtualMachineOffer; import com.microsoft.azure.management.compute.VirtualMachineOffers; import com.microsoft.azure.management.compute.VirtualMachinePublisher; @@ -17,6 +18,7 @@ /** * The implementation for {@link VirtualMachineOffers}. */ +@LangDefinition class VirtualMachineOffersImpl extends ReadableWrappersImpl implements VirtualMachineOffers { diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachinePublisherImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachinePublisherImpl.java index 0c8cceada269..66c096b45558 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachinePublisherImpl.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachinePublisherImpl.java @@ -6,6 +6,7 @@ package com.microsoft.azure.management.compute.implementation; import com.microsoft.azure.management.compute.VirtualMachineExtensionImageTypes; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.compute.VirtualMachineOffers; import com.microsoft.azure.management.compute.VirtualMachinePublisher; import com.microsoft.azure.management.resources.fluentcore.arm.Region; @@ -13,6 +14,7 @@ /** * The implementation for {@link VirtualMachinePublisher}. */ +@LangDefinition class VirtualMachinePublisherImpl implements VirtualMachinePublisher { private final Region location; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachinePublishersImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachinePublishersImpl.java index 96da04818e75..ef4a69c7fc9f 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachinePublishersImpl.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachinePublishersImpl.java @@ -7,6 +7,7 @@ import com.microsoft.azure.CloudException; import com.microsoft.azure.PagedList; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.compute.VirtualMachinePublisher; import com.microsoft.azure.management.compute.VirtualMachinePublishers; import com.microsoft.azure.management.resources.fluentcore.arm.Region; @@ -17,6 +18,7 @@ /** * The implementation for {@link VirtualMachinePublishers}. */ +@LangDefinition class VirtualMachinePublishersImpl extends ReadableWrappersImpl implements VirtualMachinePublishers { diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSizeImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSizeImpl.java index fd584b576ea7..2d94cedfb102 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSizeImpl.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSizeImpl.java @@ -5,11 +5,13 @@ */ package com.microsoft.azure.management.compute.implementation; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.compute.VirtualMachineSize; /** * The implementation for {@link VirtualMachineSize}. */ +@LangDefinition class VirtualMachineSizeImpl implements VirtualMachineSize { private VirtualMachineSizeInner innerModel; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSizesImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSizesImpl.java index c7303452c773..d4e0fd2d0048 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSizesImpl.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSizesImpl.java @@ -7,6 +7,7 @@ import com.microsoft.azure.CloudException; import com.microsoft.azure.PagedList; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.compute.VirtualMachineSize; import com.microsoft.azure.management.compute.VirtualMachineSizes; import com.microsoft.azure.management.resources.fluentcore.arm.Region; @@ -17,6 +18,7 @@ /** * The implementation for {@link VirtualMachineSizes}. */ +@LangDefinition class VirtualMachineSizesImpl extends ReadableWrappersImpl implements VirtualMachineSizes { diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSkuImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSkuImpl.java index 0d77c7346dfb..e22ff0f7357c 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSkuImpl.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSkuImpl.java @@ -2,6 +2,7 @@ import com.microsoft.azure.management.compute.VirtualMachineOffer; import com.microsoft.azure.management.compute.VirtualMachinePublisher; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.compute.Sku; import com.microsoft.azure.management.compute.VirtualMachineImagesInSku; import com.microsoft.azure.management.compute.VirtualMachineSku; @@ -10,6 +11,7 @@ /** * The implementation for {@link Sku}. */ +@LangDefinition class VirtualMachineSkuImpl implements VirtualMachineSku { private final VirtualMachineOffer offer; diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSkusImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSkusImpl.java index ec8e4e05310f..5f9f8f97a60a 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSkusImpl.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachineSkusImpl.java @@ -6,6 +6,7 @@ package com.microsoft.azure.management.compute.implementation; import com.microsoft.azure.PagedList; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.compute.VirtualMachineOffer; import com.microsoft.azure.management.compute.VirtualMachineSkus; import com.microsoft.azure.management.compute.VirtualMachineSku; @@ -17,6 +18,7 @@ /** * The implementation for {@link VirtualMachineSkus}. */ +@LangDefinition class VirtualMachineSkusImpl extends ReadableWrappersImpl implements VirtualMachineSkus { diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachinesImpl.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachinesImpl.java index 59d54f31347e..813c6d2af303 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachinesImpl.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/implementation/VirtualMachinesImpl.java @@ -8,6 +8,7 @@ import com.fasterxml.jackson.databind.ObjectMapper; import com.microsoft.azure.CloudException; import com.microsoft.azure.PagedList; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.compute.DataDisk; import com.microsoft.azure.management.compute.HardwareProfile; import com.microsoft.azure.management.compute.NetworkProfile; @@ -28,6 +29,7 @@ /** * The implementation for {@link VirtualMachines}. */ +@LangDefinition class VirtualMachinesImpl extends GroupableResourcesImpl< VirtualMachine, diff --git a/azure-mgmt-network/pom.xml b/azure-mgmt-network/pom.xml index 0ea3ecac32d6..e88976a6bdb8 100644 --- a/azure-mgmt-network/pom.xml +++ b/azure-mgmt-network/pom.xml @@ -67,6 +67,11 @@ 1.0.0-SNAPSHOT test + + com.microsoft.azure + api-annotations + 0.0.1-SNAPSHOT + @@ -116,6 +121,24 @@ + + org.apache.maven.plugins + maven-compiler-plugin + 3.0 + + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + true + true + + true + true + + + + diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LoadBalancer.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LoadBalancer.java index 6fd254a21191..8bfda4486628 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LoadBalancer.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LoadBalancer.java @@ -8,6 +8,7 @@ import java.util.List; import java.util.Map; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.network.implementation.LoadBalancerInner; import com.microsoft.azure.management.network.model.HasLoadBalancingRules; import com.microsoft.azure.management.network.model.HasNetworkInterfaces; @@ -22,6 +23,7 @@ /** * Entry point for load balancer management API in Azure. */ +@LangDefinition() public interface LoadBalancer extends GroupableResource, Refreshable, @@ -68,6 +70,7 @@ public interface LoadBalancer extends /** * The entirety of the load balancer definition. */ + @LangDefinition(ContainerName="~/LoadBalancer.Definition", ContainerFileName="IDefinition") interface Definition extends DefinitionStages.Blank, DefinitionStages.WithGroup, @@ -87,6 +90,7 @@ interface Definition extends /** * Grouping of load balancer definition stages. */ + @LangDefinition(ContainerName="~/LoadBalancer.Definition", ContainerFileName="IDefinition", IsContainerOnly=true) interface DefinitionStages { /** * The first stage of a load balancer definition. @@ -385,6 +389,7 @@ interface WithInboundNatPool { /** * Grouping of load balancer update stages. */ + @LangDefinition(ContainerName="~/LoadBalancer.Update", ContainerFileName="IUpdate", IsContainerOnly=true) interface UpdateStages { /** * The stage of the load balancer update allowing to add or remove backends. @@ -644,6 +649,7 @@ interface WithInboundNatPool { *

* Call {@link Update#apply()} to apply the changes to the resource in Azure. */ + @LangDefinition(ContainerName="~/LoadBalancer.Update", ContainerFileName="IUpdate") interface Update extends Appliable, Resource.UpdateWithTags, diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LoadBalancers.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LoadBalancers.java index 9d4f3ef831a9..d2e27b8b62df 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LoadBalancers.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LoadBalancers.java @@ -5,6 +5,7 @@ */ package com.microsoft.azure.management.network; +import com.microsoft.azure.management.apigeneration.LangDefinition; 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; @@ -18,6 +19,7 @@ /** * Entry point to load balancer management API in Azure. */ +@LangDefinition() public interface LoadBalancers extends SupportsCreating, SupportsListing, diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/Network.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/Network.java index b08ae013ca88..7d7170cf44ac 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/Network.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/Network.java @@ -8,6 +8,7 @@ import java.util.List; import java.util.Map; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.network.implementation.VirtualNetworkInner; import com.microsoft.azure.management.resources.fluentcore.arm.models.GroupableResource; import com.microsoft.azure.management.resources.fluentcore.arm.models.Resource; @@ -20,6 +21,7 @@ /** * Entry point for Virtual Network management API in Azure. */ +@LangDefinition() public interface Network extends GroupableResource, Refreshable, @@ -50,6 +52,7 @@ public interface Network extends /** * The entirety of the virtual network definition. */ + @LangDefinition(ContainerName="Definition", ContainerFileName="IDefinition") interface Definition extends DefinitionStages.Blank, DefinitionStages.WithGroup, @@ -61,6 +64,7 @@ interface Definition extends /** * Grouping of virtual network definition stages. */ + @LangDefinition(ContainerName="Definition", ContainerFileName="IDefinition", IsContainerOnly=true) interface DefinitionStages { /** * The first stage of a virtual network definition. @@ -161,6 +165,7 @@ interface WithCreateAndSubnet extends /** * Grouping of virtual network update stages. */ + @LangDefinition(ContainerName="Update", ContainerFileName="IUpdate", IsContainerOnly=true) interface UpdateStages { /** * The stage of the virtual network update allowing to add or remove subnets. @@ -246,6 +251,7 @@ interface WithAddressSpace { *

* Call {@link Update#apply()} to apply the changes to the resource in Azure. */ + @LangDefinition(ContainerName="Update", ContainerFileName="IUpdate") interface Update extends Appliable, Resource.UpdateWithTags, diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkInterface.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkInterface.java index 88f30cfec376..76fc200659c1 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkInterface.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkInterface.java @@ -7,6 +7,7 @@ package com.microsoft.azure.management.network; import com.microsoft.azure.CloudException; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.network.implementation.NetworkInterfaceInner; import com.microsoft.azure.management.resources.fluentcore.arm.models.GroupableResource; import com.microsoft.azure.management.resources.fluentcore.arm.models.Resource; @@ -23,6 +24,7 @@ /** * Network interface. */ +@LangDefinition() public interface NetworkInterface extends GroupableResource, Refreshable, @@ -143,6 +145,7 @@ public interface NetworkInterface extends /** * The entirety of the network interface definition. */ + @LangDefinition(ContainerName="Definition", ContainerFileName="IDefinition") interface Definition extends DefinitionStages.Blank, DefinitionStages.WithGroup, @@ -155,6 +158,7 @@ interface Definition extends /** * Grouping of network interface definition stages. */ + @LangDefinition(ContainerName="Definition", ContainerFileName="IDefinition", IsContainerOnly=true) interface DefinitionStages { /** * The first stage of the network interface. @@ -375,6 +379,7 @@ interface WithCreate extends /** * Grouping of network interface update stages. */ + @LangDefinition(ContainerName="Update", ContainerFileName="IUpdate", IsContainerOnly=true) interface UpdateStages { /** * The stage of the network interface update allowing to specify subnet. @@ -578,6 +583,7 @@ interface WithIpConfiguration { *

* Call {@link Update#apply()} to apply the changes to the resource in Azure. */ + @LangDefinition(ContainerName="Update", ContainerFileName="IUpdate") interface Update extends Appliable, Resource.UpdateWithTags, diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkInterfaces.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkInterfaces.java index 96e726f9f406..cdb333ea9108 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkInterfaces.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkInterfaces.java @@ -1,5 +1,6 @@ package com.microsoft.azure.management.network; +import com.microsoft.azure.management.apigeneration.LangDefinition; 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; @@ -12,6 +13,7 @@ /** * Entry point to network interface management. */ +@LangDefinition() public interface NetworkInterfaces extends SupportsCreating, SupportsListing, diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkSecurityGroup.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkSecurityGroup.java index 595782cafc7d..6c1e3cfeda82 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkSecurityGroup.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkSecurityGroup.java @@ -8,6 +8,7 @@ import java.util.List; import java.util.Map; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.network.implementation.NetworkSecurityGroupInner; import com.microsoft.azure.management.resources.fluentcore.arm.models.GroupableResource; import com.microsoft.azure.management.resources.fluentcore.arm.models.Resource; @@ -21,6 +22,7 @@ /** * Network security group. */ +@LangDefinition() public interface NetworkSecurityGroup extends GroupableResource, Refreshable, @@ -51,6 +53,7 @@ public interface NetworkSecurityGroup extends /** * The entirety of the network security group definition. */ + @LangDefinition(ContainerName="Definition", ContainerFileName="IDefinition") interface Definition extends DefinitionStages.Blank, DefinitionStages.WithGroup, @@ -60,6 +63,7 @@ interface Definition extends /** * Grouping of network security group definition stages. */ + @LangDefinition(ContainerName="Definition", ContainerFileName="IDefinition", IsContainerOnly=true) interface DefinitionStages { /** * The first stage of the definition. @@ -105,6 +109,7 @@ interface WithCreate extends /** * Grouping of network security group update stages. */ + @LangDefinition(ContainerName="Update", ContainerFileName="IUpdate", IsContainerOnly=true) interface UpdateStages { /** * The stage of the resource definition allowing to add or remove security rules. @@ -139,6 +144,7 @@ interface WithRule { *

* Call {@link Update#apply()} to apply the changes to the resource in Azure. */ + @LangDefinition(ContainerName="Update", ContainerFileName="IUpdate") interface Update extends Appliable, Resource.UpdateWithTags, diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkSecurityGroups.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkSecurityGroups.java index dd6e6bde8998..d9e824511150 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkSecurityGroups.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkSecurityGroups.java @@ -5,6 +5,7 @@ */ package com.microsoft.azure.management.network; +import com.microsoft.azure.management.apigeneration.LangDefinition; 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; @@ -18,6 +19,7 @@ /** * Entry point to network security group management. */ +@LangDefinition() public interface NetworkSecurityGroups extends SupportsCreating, SupportsListing, diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkSecurityRule.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkSecurityRule.java index 99ed6d1a3628..647d3199bdc0 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkSecurityRule.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkSecurityRule.java @@ -5,6 +5,8 @@ */ package com.microsoft.azure.management.network; +import com.microsoft.azure.management.apigeneration.LangDefinition; +import com.microsoft.azure.management.apigeneration.LangDefinition.MethodConversion; import com.microsoft.azure.management.network.implementation.SecurityRuleInner; import com.microsoft.azure.management.resources.fluentcore.arm.models.ChildResource; import com.microsoft.azure.management.resources.fluentcore.model.Attachable; @@ -14,6 +16,7 @@ /** * A network security rule in a network security group. */ +@LangDefinition() public interface NetworkSecurityRule extends Wrapper, ChildResource { @@ -70,6 +73,7 @@ public interface NetworkSecurityRule extends * The entirety of a network security rule definition. * @param the return type of the final {@link Attachable#attach()} */ + @LangDefinition(ContainerName="Definition", ContainerFileName="IDefinition") interface Definition extends DefinitionStages.Blank, DefinitionStages.WithAttach, @@ -84,6 +88,7 @@ interface Definition extends /** * Grouping of security rule definition stages applicable as part of a network security group creation. */ + @LangDefinition(ContainerName="Definition", ContainerFileName="IDefinition", IsContainerOnly=true, MethodConversionType=MethodConversion.OnlyMethod) interface DefinitionStages { /** * The first stage of a security rule definition. @@ -277,6 +282,7 @@ interface WithAttach extends /** The entirety of a network security rule definition as part of a network security group update. * @param the return type of the final {@link UpdateDefinitionStages.WithAttach#attach()} */ + @LangDefinition(ContainerName="UpdateDefinition", ContainerFileName="IUpdateDefinition") interface UpdateDefinition extends UpdateDefinitionStages.Blank, UpdateDefinitionStages.WithDirectionAccess, @@ -291,6 +297,7 @@ interface UpdateDefinition extends /** * Grouping of security rule definition stages applicable as part of a network security group update. */ + @LangDefinition(ContainerName="UpdateDefinition", ContainerFileName="IUpdateDefinition", IsContainerOnly=true, MethodConversionType=MethodConversion.OnlyMethod) interface UpdateDefinitionStages { /** * The first stage of a security rule description as part of an update of a networking security group. @@ -469,6 +476,7 @@ interface WithAttach extends Attachable.InUpdate { /** * The entirety of a security rule update as part of a network security group update. */ + @LangDefinition(ContainerName="Update", ContainerFileName="IUpdate", MethodConversionType=MethodConversion.OnlyMethod) interface Update extends UpdateStages.WithDirectionAccess, UpdateStages.WithSourceAddress, @@ -497,6 +505,7 @@ interface Update extends /** * Grouping of security rule update stages. */ + @LangDefinition(ContainerName="Update", ContainerFileName="IUpdate", IsContainerOnly=true) interface UpdateStages { /** * The stage of the network rule description allowing the direction and the access type to be specified. diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/Networks.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/Networks.java index 6795405c8b5b..cda1a05f1bdd 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/Networks.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/Networks.java @@ -5,6 +5,7 @@ */ package com.microsoft.azure.management.network; +import com.microsoft.azure.management.apigeneration.LangDefinition; 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; @@ -18,6 +19,7 @@ /** * Entry point to virtual network management API in Azure. */ +@LangDefinition() public interface Networks extends SupportsCreating, SupportsListing, diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NicIpConfiguration.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NicIpConfiguration.java index 22736f6fbbdf..5a5b308bbc66 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NicIpConfiguration.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NicIpConfiguration.java @@ -1,6 +1,7 @@ package com.microsoft.azure.management.network; import com.microsoft.azure.CloudException; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.network.implementation.NetworkInterfaceIPConfigurationInner; import com.microsoft.azure.management.network.model.HasPrivateIpAddress; import com.microsoft.azure.management.resources.fluentcore.arm.models.ChildResource; @@ -14,6 +15,7 @@ /** * An IP configuration in a network interface. */ +@LangDefinition() public interface NicIpConfiguration extends Wrapper, ChildResource, @@ -60,6 +62,7 @@ public interface NicIpConfiguration extends * The entirety of the network interface IP configuration definition. * @param the return type of the final {@link Attachable#attach()} */ + @LangDefinition(ContainerName="Definition", ContainerFileName="IDefinition") interface Definition extends DefinitionStages.Blank, DefinitionStages.WithAttach, @@ -72,6 +75,7 @@ interface Definition extends * Grouping of network interface IP configuration definition stages applicable as part of a * network interface update. */ + @LangDefinition(ContainerName="Definition", ContainerFileName="IDefinition", IsContainerOnly=true) interface DefinitionStages { /** * The first stage of network interface IP configuration definition. @@ -218,6 +222,7 @@ interface WithAttach /** The entirety of a network interface IP configuration definition as part of a network interface update. * @param the return type of the final {@link UpdateDefinitionStages.WithAttach#attach()} */ + @LangDefinition(ContainerName="UpdateDefinition", ContainerFileName="IUpdateDefinition") interface UpdateDefinition extends UpdateDefinitionStages.Blank, UpdateDefinitionStages.WithAttach, @@ -230,6 +235,7 @@ interface UpdateDefinition extends /** * Grouping of network interface IP configuration definition stages. */ + @LangDefinition(ContainerName="UpdateDefinition", ContainerFileName="IUpdateDefinition", IsContainerOnly=true) interface UpdateDefinitionStages { /** * The first stage of network interface IP configuration definition. @@ -376,6 +382,7 @@ interface WithAttach /** * The entirety of a network interface IP configuration update as part of a network interface update. */ + @LangDefinition(ContainerName="Update", ContainerFileName="IUpdate") interface Update extends Settable, UpdateStages.WithSubnet, @@ -388,6 +395,7 @@ interface Update extends /** * Grouping of network interface IP configuration update stages. */ + @LangDefinition(ContainerName="Update", ContainerFileName="IUpdate", IsContainerOnly=true) interface UpdateStages { /** * The stage of the network interface IP configuration update allowing to specify subnet. diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/PublicIpAddress.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/PublicIpAddress.java index cbb5b12a4641..f342316ca6f0 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/PublicIpAddress.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/PublicIpAddress.java @@ -5,6 +5,7 @@ */ package com.microsoft.azure.management.network; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.network.implementation.PublicIPAddressInner; import com.microsoft.azure.management.resources.fluentcore.arm.models.GroupableResource; import com.microsoft.azure.management.resources.fluentcore.arm.models.Resource; @@ -17,6 +18,7 @@ /** * Public IP address. */ +@LangDefinition() public interface PublicIpAddress extends GroupableResource, Refreshable, @@ -64,6 +66,7 @@ public interface PublicIpAddress extends /** * Container interface for all the definitions. */ + @LangDefinition(ContainerName="Definition", ContainerFileName="IDefinition") interface Definition extends DefinitionStages.Blank, DefinitionStages.WithGroup, @@ -73,6 +76,7 @@ interface Definition extends /** * Grouping of public IP address definition stages. */ + @LangDefinition(ContainerName="Definition", ContainerFileName="IDefinition", IsContainerOnly=true) interface DefinitionStages { /** * The first stage of a public IP address definition. @@ -186,6 +190,7 @@ interface WithCreate extends *

* Use {@link Update#apply()} to apply the changes to the resource in Azure. */ + @LangDefinition(ContainerName="Update", ContainerFileName="IUpdate") interface Update extends Appliable, UpdateStages.WithIpAddress, @@ -198,6 +203,7 @@ interface Update extends /** * Grouping of public IP address update stages. */ + @LangDefinition(ContainerName="Update", ContainerFileName="IUpdate", IsContainerOnly=true) interface UpdateStages { /** * A public IP address update allowing to change the IP allocation method (static or dynamic). diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/PublicIpAddresses.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/PublicIpAddresses.java index ae434425751c..8be7456b2911 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/PublicIpAddresses.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/PublicIpAddresses.java @@ -5,6 +5,7 @@ */ package com.microsoft.azure.management.network; +import com.microsoft.azure.management.apigeneration.LangDefinition; 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; @@ -18,6 +19,7 @@ /** * Entry point to public IP address management. */ +@LangDefinition() public interface PublicIpAddresses extends SupportsListing, SupportsCreating, diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/Subnet.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/Subnet.java index 3663685bdfc3..26987be18d79 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/Subnet.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/Subnet.java @@ -6,6 +6,7 @@ package com.microsoft.azure.management.network; import com.microsoft.azure.CloudException; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.network.implementation.SubnetInner; import com.microsoft.azure.management.resources.fluentcore.arm.models.ChildResource; import com.microsoft.azure.management.resources.fluentcore.model.Attachable; @@ -17,6 +18,7 @@ /** * An immutable client-side representation of a subnet of a virtual network. */ +@LangDefinition() public interface Subnet extends Wrapper, ChildResource { @@ -39,6 +41,7 @@ public interface Subnet extends /** * Grouping of subnet definition stages. */ + @LangDefinition(ContainerName="~/Subnet.Definition", ContainerFileName="IDefinition", IsContainerOnly=true) interface DefinitionStages { /** * The first stage of the subnet definition. @@ -95,6 +98,7 @@ interface WithAttach extends /** The entirety of a Subnet definition. * @param the return type of the final {@link DefinitionStages.WithAttach#attach()} */ + @LangDefinition(ContainerName="~/Subnet.Definition", ContainerFileName="IDefinition") interface Definition extends DefinitionStages.Blank, DefinitionStages.WithAddressPrefix, @@ -104,6 +108,7 @@ interface Definition extends /** * Grouping of subnet update stages. */ + @LangDefinition(ContainerName="~/Subnet.Update", ContainerFileName="IUpdate", IsContainerOnly=true) interface UpdateStages { /** * The stage of the subnet update allowing to change the address space for the subnet. @@ -140,6 +145,7 @@ interface WithNetworkSecurityGroup { /** * The entirety of a subnet update as part of a network update. */ + @LangDefinition(ContainerName="~/Subnet.Update", ContainerFileName="IUpdate") interface Update extends UpdateStages.WithAddressPrefix, UpdateStages.WithNetworkSecurityGroup, @@ -149,6 +155,7 @@ interface Update extends /** * Grouping of subnet definition stages applicable as part of a virtual network update. */ + @LangDefinition(ContainerName="~/Subnet.UpdateDefinition", ContainerFileName="IUpdateDefinition", IsContainerOnly=true) interface UpdateDefinitionStages { /** * The first stage of the subnet definition. @@ -205,6 +212,7 @@ interface WithAttach extends /** The entirety of a subnet definition as part of a virtual network update. * @param the return type of the final {@link UpdateDefinitionStages.WithAttach#attach()} */ + @LangDefinition(ContainerName="~/Subnet.UpdateDefinition", ContainerFileName="IUpdateDefinition") interface UpdateDefinition extends UpdateDefinitionStages.Blank, UpdateDefinitionStages.WithAddressPrefix, diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/LoadBalancerImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/LoadBalancerImpl.java index e47cce47525f..55081b005929 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/LoadBalancerImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/LoadBalancerImpl.java @@ -11,6 +11,7 @@ import com.microsoft.azure.management.network.HttpProbe; import com.microsoft.azure.management.network.InboundNatPool; import com.microsoft.azure.management.network.InboundNatRule; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.network.LoadBalancer; import com.microsoft.azure.management.network.LoadBalancingRule; import com.microsoft.azure.management.network.Network; @@ -39,6 +40,7 @@ /** * Implementation of the LoadBalancer interface. */ +@LangDefinition class LoadBalancerImpl extends GroupableParentResourceImpl< LoadBalancer, diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/LoadBalancersImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/LoadBalancersImpl.java index 1017e60977bc..33253d1dfa4b 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/LoadBalancersImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/LoadBalancersImpl.java @@ -7,6 +7,7 @@ import com.microsoft.azure.CloudException; import com.microsoft.azure.PagedList; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.network.LoadBalancer; import com.microsoft.azure.management.network.LoadBalancers; import com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils; @@ -17,6 +18,7 @@ /** * Implementation for {@link LoadBalancers}. */ +@LangDefinition class LoadBalancersImpl extends GroupableResourcesImpl< LoadBalancer, diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkImpl.java index 8f3db154a917..2f59b64bda3f 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkImpl.java @@ -5,6 +5,7 @@ */ package com.microsoft.azure.management.network.implementation; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.network.Network; import com.microsoft.azure.management.network.Subnet; import com.microsoft.azure.management.resources.fluentcore.arm.models.implementation.GroupableParentResourceImpl; @@ -19,6 +20,7 @@ /** * Implementation for {@link Network} and its create and update interfaces. */ +@LangDefinition class NetworkImpl extends GroupableParentResourceImpl< Network, diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkInterfaceImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkInterfaceImpl.java index fe4cdb84f90f..58ae7ad5bc3b 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkInterfaceImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkInterfaceImpl.java @@ -8,6 +8,7 @@ import com.microsoft.azure.CloudException; import com.microsoft.azure.SubResource; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.network.IPAllocationMethod; import com.microsoft.azure.management.network.Network; import com.microsoft.azure.management.network.NetworkInterface; @@ -33,6 +34,7 @@ /** * Implementation for {@link NetworkInterface} and its create and update interfaces. */ +@LangDefinition class NetworkInterfaceImpl extends GroupableParentResourceImpl< NetworkInterface, diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkInterfacesImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkInterfacesImpl.java index 4778bba77079..33ee1e3f9637 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkInterfacesImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkInterfacesImpl.java @@ -2,6 +2,7 @@ import com.microsoft.azure.CloudException; import com.microsoft.azure.PagedList; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.network.NetworkInterface; import com.microsoft.azure.management.network.NetworkInterfaceDnsSettings; import com.microsoft.azure.management.network.NetworkInterfaces; @@ -14,6 +15,7 @@ /** * Implementation for {@link NetworkInterfaces}. */ +@LangDefinition class NetworkInterfacesImpl extends GroupableResourcesImpl< NetworkInterface, diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkManagementClientImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkManagementClientImpl.java index 62ca97b891b5..bda1794360ef 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkManagementClientImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkManagementClientImpl.java @@ -14,6 +14,7 @@ import com.microsoft.azure.AzureServiceResponseBuilder; import com.microsoft.azure.CloudException; import com.microsoft.azure.RestClient; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.rest.credentials.ServiceClientCredentials; import com.microsoft.rest.ServiceCall; import com.microsoft.rest.ServiceCallback; diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkSecurityGroupImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkSecurityGroupImpl.java index 7696a2e1da4f..24c04d6f4764 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkSecurityGroupImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkSecurityGroupImpl.java @@ -5,6 +5,7 @@ */ package com.microsoft.azure.management.network.implementation; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.network.NetworkSecurityGroup; import com.microsoft.azure.management.network.NetworkSecurityRule; import com.microsoft.azure.management.resources.fluentcore.arm.models.implementation.GroupableParentResourceImpl; @@ -19,6 +20,7 @@ /** * Implementation for {@link NetworkSecurityGroup} and its create and update interfaces. */ +@LangDefinition class NetworkSecurityGroupImpl extends GroupableParentResourceImpl< NetworkSecurityGroup, diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkSecurityGroupsImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkSecurityGroupsImpl.java index 3e95c6a63ceb..b60be34f07c6 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkSecurityGroupsImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkSecurityGroupsImpl.java @@ -7,6 +7,7 @@ import com.microsoft.azure.CloudException; import com.microsoft.azure.PagedList; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.network.NetworkSecurityGroup; import com.microsoft.azure.management.network.NetworkSecurityGroups; import com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils; @@ -18,6 +19,7 @@ /** * Implementation for {@link NetworkSecurityGroups}. */ +@LangDefinition class NetworkSecurityGroupsImpl extends GroupableResourcesImpl< NetworkSecurityGroup, diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkSecurityRuleImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkSecurityRuleImpl.java index 4e15c4d16c08..4e2ba5713706 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkSecurityRuleImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkSecurityRuleImpl.java @@ -5,6 +5,7 @@ */ package com.microsoft.azure.management.network.implementation; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.network.NetworkSecurityGroup; import com.microsoft.azure.management.network.NetworkSecurityRule; import com.microsoft.azure.management.network.SecurityRuleAccess; @@ -15,6 +16,7 @@ /** * Implementation for {@link NetworkSecurityRule} and its create and update interfaces. */ +@LangDefinition class NetworkSecurityRuleImpl extends ChildResourceImpl implements diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworksImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworksImpl.java index 6e9038a5eb90..30eab4179fb2 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworksImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworksImpl.java @@ -7,6 +7,7 @@ import com.microsoft.azure.CloudException; import com.microsoft.azure.PagedList; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.network.AddressSpace; import com.microsoft.azure.management.network.DhcpOptions; import com.microsoft.azure.management.network.Network; @@ -20,6 +21,7 @@ /** * Implementation for {@link Networks}. */ +@LangDefinition class NetworksImpl extends GroupableResourcesImpl< Network, diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NicIpConfigurationImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NicIpConfigurationImpl.java index 966afa3ab808..7ac23a2aca97 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NicIpConfigurationImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NicIpConfigurationImpl.java @@ -2,6 +2,7 @@ import com.microsoft.azure.CloudException; import com.microsoft.azure.SubResource; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.network.IPAllocationMethod; import com.microsoft.azure.management.network.LoadBalancer; import com.microsoft.azure.management.network.Network; @@ -20,6 +21,7 @@ /** * Implementation for {@link NicIpConfiguration} and its create and update interfaces. */ +@LangDefinition() class NicIpConfigurationImpl extends ChildResourceImpl diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/PublicIpAddressImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/PublicIpAddressImpl.java index 12925b631663..213ecd3d2ea8 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/PublicIpAddressImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/PublicIpAddressImpl.java @@ -5,6 +5,7 @@ */ package com.microsoft.azure.management.network.implementation; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.network.IPAllocationMethod; import com.microsoft.azure.management.network.PublicIPAddressDnsSettings; import com.microsoft.azure.management.network.PublicIpAddress; @@ -14,6 +15,7 @@ /** * Implementation for {@link PublicIpAddress} and its create and update interfaces. */ +@LangDefinition class PublicIpAddressImpl extends GroupableResourceImpl< PublicIpAddress, diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/PublicIpAddressesImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/PublicIpAddressesImpl.java index e279eae13039..a7421e734ae3 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/PublicIpAddressesImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/PublicIpAddressesImpl.java @@ -10,6 +10,7 @@ import com.microsoft.azure.management.network.PublicIPAddressDnsSettings; import com.microsoft.azure.management.network.PublicIpAddress; import com.microsoft.azure.management.network.PublicIpAddresses; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.fluentcore.arm.ResourceUtils; import com.microsoft.azure.management.resources.fluentcore.arm.collection.implementation.GroupableResourcesImpl; @@ -18,6 +19,7 @@ /** * Implementation for {@link PublicIpAddresses}. */ +@LangDefinition class PublicIpAddressesImpl extends GroupableResourcesImpl< PublicIpAddress, diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/SubnetImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/SubnetImpl.java index 712ccc7feeb8..bd584d858b34 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/SubnetImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/SubnetImpl.java @@ -9,6 +9,7 @@ import com.microsoft.azure.CloudException; import com.microsoft.azure.SubResource; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.network.Network; import com.microsoft.azure.management.network.NetworkSecurityGroup; import com.microsoft.azure.management.network.Subnet; @@ -17,6 +18,7 @@ /** * Implementation for {@link Subnet} and its create and update interfaces. */ +@LangDefinition class SubnetImpl extends ChildResourceImpl implements diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/model/HasNetworkInterfaces.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/model/HasNetworkInterfaces.java index e2a1459a079a..cfb0bf322bb2 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/model/HasNetworkInterfaces.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/model/HasNetworkInterfaces.java @@ -10,10 +10,12 @@ import com.microsoft.azure.CloudException; import com.microsoft.azure.management.network.NetworkInterface; +import com.microsoft.azure.management.apigeneration.LangDefinition; /** * Interface exposing a list of network interfaces. */ +@LangDefinition() public interface HasNetworkInterfaces { /** * Gets the primary network interface. diff --git a/azure-mgmt-resources/pom.xml b/azure-mgmt-resources/pom.xml index 25a82ff5d3f0..a6e693f58c09 100644 --- a/azure-mgmt-resources/pom.xml +++ b/azure-mgmt-resources/pom.xml @@ -66,6 +66,11 @@ 1.0.0-SNAPSHOT test + + com.microsoft.azure + api-annotations + 0.0.1-SNAPSHOT + @@ -108,6 +113,24 @@ + + org.apache.maven.plugins + maven-compiler-plugin + 3.0 + + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + true + true + + true + true + + + + diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Deployment.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Deployment.java index e20b35f596e1..1f75bd0ce047 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Deployment.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Deployment.java @@ -7,6 +7,9 @@ package com.microsoft.azure.management.resources; import com.microsoft.azure.CloudException; +import com.microsoft.azure.management.apigeneration.LangDefinition; +import com.microsoft.azure.management.apigeneration.LangMethodDefinition; +import com.microsoft.azure.management.apigeneration.LangMethodDefinition.LangMethodType; import com.microsoft.azure.management.resources.fluentcore.arm.Region; import com.microsoft.azure.management.resources.fluentcore.arm.models.GroupableResource; import com.microsoft.azure.management.resources.fluentcore.model.Appliable; @@ -23,6 +26,7 @@ /** * An immutable client-side representation of an Azure deployment. */ +@LangDefinition(ContainerName="~/") public interface Deployment extends Refreshable, Updatable, @@ -97,6 +101,7 @@ public interface Deployment extends /** * @return the operations related to this deployment */ + @LangMethodDefinition(AsType=LangMethodType.Property) DeploymentOperations deploymentOperations(); /** @@ -119,6 +124,7 @@ public interface Deployment extends /** * Container interface for all the deployment definitions. */ + @LangDefinition(ContainerName="~/Deployment.Definition") interface Definition extends DefinitionStages.Blank, DefinitionStages.WithGroup, @@ -131,6 +137,7 @@ interface Definition extends /** * Grouping of all the deployment definition stages. */ + @LangDefinition(ContainerName="~/Deployment.Definition", ContainerFileName="IDefinition", IsContainerOnly=true) interface DefinitionStages { /** * The first stage of deployment definition. @@ -244,6 +251,7 @@ interface WithCreate extends Creatable { /** * Grouping of all the deployment updates stages. */ + @LangDefinition(ContainerName="~/Deployment.Update", ContainerFileName="IUpdate", IsContainerOnly=true) interface UpdateStages { /** * A deployment update allowing to change the deployment mode. @@ -327,6 +335,7 @@ interface WithParameters { *

* Call {@link Update#apply()} to apply the changes to the deployment in Azure. */ + @LangDefinition(ContainerName="~/Deployment.Update") interface Update extends Appliable, UpdateStages.WithTemplate, diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentExportResult.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentExportResult.java index bf56e858d2dc..77f6f6399c9f 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentExportResult.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentExportResult.java @@ -6,12 +6,14 @@ package com.microsoft.azure.management.resources; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.fluentcore.model.Wrapper; import com.microsoft.azure.management.resources.implementation.DeploymentExportResultInner; /** * An immutable client-side representation of an Azure deployment template export result. */ +@LangDefinition(ContainerName="~/") public interface DeploymentExportResult extends Wrapper { diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentOperation.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentOperation.java index 8611575768d3..52d2c7bc91d0 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentOperation.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentOperation.java @@ -6,6 +6,7 @@ package com.microsoft.azure.management.resources; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.fluentcore.model.Indexable; import com.microsoft.azure.management.resources.fluentcore.model.Refreshable; import com.microsoft.azure.management.resources.fluentcore.model.Wrapper; @@ -15,6 +16,7 @@ /** * An immutable client-side representation of a deployment operation. */ +@LangDefinition(ContainerName="~/") public interface DeploymentOperation extends Indexable, Refreshable, diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentOperations.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentOperations.java index 065d71b6496c..fcd4bf81f940 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentOperations.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentOperations.java @@ -6,12 +6,14 @@ package com.microsoft.azure.management.resources; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById; import com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing; /** * Entry point to deployment operation management API. */ +@LangDefinition(ContainerName="~/") public interface DeploymentOperations extends SupportsListing, SupportsGettingById { diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Deployments.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Deployments.java index c1b49302437d..d70194693329 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Deployments.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Deployments.java @@ -7,6 +7,7 @@ package com.microsoft.azure.management.resources; import com.microsoft.azure.CloudException; +import com.microsoft.azure.management.apigeneration.LangDefinition; 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; @@ -21,6 +22,7 @@ /** * Entry point to template deployment in Azure. */ +@LangDefinition(ContainerName="~/") public interface Deployments extends SupportsCreating, SupportsListing, diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Feature.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Feature.java index e0ffd3f3780a..33aa82099064 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Feature.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Feature.java @@ -6,6 +6,7 @@ package com.microsoft.azure.management.resources; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.fluentcore.model.Indexable; import com.microsoft.azure.management.resources.fluentcore.model.Wrapper; import com.microsoft.azure.management.resources.implementation.FeatureResultInner; @@ -13,6 +14,7 @@ /** * An immutable client-side representation of an Azure feature. */ +@LangDefinition(ContainerName="~/") public interface Feature extends Indexable, Wrapper { diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Features.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Features.java index 38c8fe3a8e1f..969730fbc473 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Features.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Features.java @@ -7,6 +7,7 @@ package com.microsoft.azure.management.resources; import com.microsoft.azure.CloudException; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingByName; import com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing; @@ -15,6 +16,7 @@ /** * Entry point to features management API. */ +@LangDefinition(ContainerName="~/") public interface Features extends SupportsListing { /** @@ -28,6 +30,7 @@ public interface Features extends /** * Entry point to features management API in a specific resource provider. */ + @LangDefinition(ContainerName="~/Feature") interface InResourceProvider extends SupportsListing, SupportsGettingByName { diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/GenericResource.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/GenericResource.java index 3795d7dccae6..7a946aba97cd 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/GenericResource.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/GenericResource.java @@ -6,6 +6,7 @@ package com.microsoft.azure.management.resources; +import com.microsoft.azure.management.apigeneration.LangDefinition; 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; @@ -18,6 +19,7 @@ /** * An immutable client-side representation of an Azure generic resource. */ +@LangDefinition(ContainerName="~/") public interface GenericResource extends GroupableResource, Refreshable, @@ -56,6 +58,7 @@ public interface GenericResource extends /** * The entirety of the generic resource definition. */ + @LangDefinition(ContainerName="~/GenericResource.Definition", ContainerFileName="IDefinition") interface Definition extends DefinitionStages.Blank, DefinitionStages.WithGroup, @@ -70,6 +73,7 @@ interface Definition extends /** * Grouping of generic resource definition stages. */ + @LangDefinition(ContainerName="~/GenericResource.Definition", ContainerFileName="IDefinition", IsContainerOnly=true) interface DefinitionStages { /** * A generic resource definition allowing region to be specified. @@ -180,6 +184,7 @@ interface WithCreate extends /** * Grouping of generic resource update stages. */ + @LangDefinition(ContainerName="~/GenericResource.Update", ContainerFileName="IUpdate", IsContainerOnly=true) interface UpdateStages { /** * A generic resource update allowing to change the resource properties. @@ -247,6 +252,7 @@ interface WithApiVersion { /** * The template for a generic resource update operation, containing all the settings that can be modified. */ + @LangDefinition(ContainerName="~/GenericResource.Update") interface Update extends Appliable, UpdateStages.WithPlan, diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/GenericResources.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/GenericResources.java index 1a70853b83e4..7a9d7fbcfc16 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/GenericResources.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/GenericResources.java @@ -7,6 +7,7 @@ package com.microsoft.azure.management.resources; import com.microsoft.azure.CloudException; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById; import com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsListingByGroup; import com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating; @@ -17,6 +18,7 @@ /** * Entry point to generic resources management API. */ +@LangDefinition(ContainerName="~/") public interface GenericResources extends SupportsListingByGroup, SupportsGettingById, diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Location.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Location.java index 568008a30eda..9ee99d9ede33 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Location.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Location.java @@ -6,6 +6,7 @@ package com.microsoft.azure.management.resources; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.fluentcore.model.Indexable; import com.microsoft.azure.management.resources.fluentcore.model.Wrapper; import com.microsoft.azure.management.resources.implementation.LocationInner; @@ -13,6 +14,7 @@ /** * An immutable client-side representation of an Azure location. */ +@LangDefinition(ContainerName="~/") public interface Location extends Indexable, Wrapper { diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Provider.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Provider.java index 263c203ec893..4a6789370109 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Provider.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Provider.java @@ -6,6 +6,7 @@ package com.microsoft.azure.management.resources; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.fluentcore.model.Indexable; import com.microsoft.azure.management.resources.fluentcore.model.Wrapper; import com.microsoft.azure.management.resources.implementation.ProviderInner; @@ -15,6 +16,7 @@ /** * An immutable client-side representation of an Azure resource provider. */ +@LangDefinition(ContainerName="~/") public interface Provider extends Indexable, Wrapper { diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Providers.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Providers.java index 02330ab2384b..6478ce220dd8 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Providers.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Providers.java @@ -7,6 +7,7 @@ package com.microsoft.azure.management.resources; import com.microsoft.azure.CloudException; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingByName; import com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing; import com.microsoft.rest.ServiceResponse; @@ -16,6 +17,7 @@ /** * Entry point to providers management API. */ +@LangDefinition(ContainerName="~/") public interface Providers extends SupportsListing, SupportsGettingByName { diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceConnector.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceConnector.java index 89156df30a62..8898a3d80e6d 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceConnector.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceConnector.java @@ -7,12 +7,14 @@ package com.microsoft.azure.management.resources; import com.microsoft.azure.RestClient; +import com.microsoft.azure.management.apigeneration.LangDefinition; /** * Defines a connector that connects other resources to a resource group. * Implementations of this class can let users browse resources inside a * specific resource group. */ +@LangDefinition(ContainerName="~/") public interface ResourceConnector { /** * Implementations of this interface defines how to create a connector. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroup.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroup.java index 4307c2d4c2e4..8f71a4ec7001 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroup.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroup.java @@ -7,6 +7,7 @@ package com.microsoft.azure.management.resources; import com.microsoft.azure.CloudException; +import com.microsoft.azure.management.apigeneration.LangDefinition; 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; @@ -22,6 +23,7 @@ /** * An immutable client-side representation of an Azure resource group. */ +@LangDefinition(ContainerName="~/") public interface ResourceGroup extends Indexable, Resource, @@ -55,6 +57,7 @@ public interface ResourceGroup extends /** * Container interface for all the definitions that need to be implemented. */ + @LangDefinition(ContainerName="~/ResourceGroup.Definition", ContainerFileName="IDefinition") interface Definition extends DefinitionStages.Blank, DefinitionStages.WithCreate { @@ -63,6 +66,7 @@ interface Definition extends /** * Grouping of all the resource group definition stages. */ + @LangDefinition(ContainerName="~/ResourceGroup.Definition", ContainerFileName="IDefinition", IsContainerOnly=true) interface DefinitionStages { /** * A resource group definition allowing location to be set. @@ -84,6 +88,7 @@ interface WithCreate extends /** * Grouping of all the resource group update stages. */ + @LangDefinition(ContainerName="~/ResourceGroup.Update", ContainerFileName="IUpdate") interface UpdateStages { } @@ -92,6 +97,7 @@ interface UpdateStages { *

* Call {@link Update#apply()} to apply the changes to the resource group in Azure. */ + @LangDefinition(ContainerName="~/ResourceGroup.Update", ContainerFileName="IUpdate") interface Update extends Appliable, Resource.UpdateWithTags { diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroupExportResult.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroupExportResult.java index 98c82e94f2bc..f770fdff793c 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroupExportResult.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroupExportResult.java @@ -6,12 +6,14 @@ package com.microsoft.azure.management.resources; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.fluentcore.model.Wrapper; import com.microsoft.azure.management.resources.implementation.ResourceGroupExportResultInner; /** * An immutable client-side representation of an Azure deployment template export result. */ +@LangDefinition(ContainerName="~/") public interface ResourceGroupExportResult extends Wrapper { diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroups.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroups.java index a39a0253329b..7acc232a24c0 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroups.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroups.java @@ -7,6 +7,7 @@ package com.microsoft.azure.management.resources; import com.microsoft.azure.CloudException; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingByName; import com.microsoft.azure.management.resources.fluentcore.collection.SupportsBatchCreation; import com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating; @@ -18,6 +19,7 @@ /** * Entry point to resource group management API. */ +@LangDefinition(ContainerName="~/") public interface ResourceGroups extends SupportsListing, SupportsGettingByName, diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Subscription.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Subscription.java index 78bc06ca2626..9b60b3c91c34 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Subscription.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Subscription.java @@ -8,6 +8,7 @@ import com.microsoft.azure.CloudException; import com.microsoft.azure.PagedList; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.fluentcore.model.Indexable; import com.microsoft.azure.management.resources.fluentcore.model.Wrapper; import com.microsoft.azure.management.resources.implementation.SubscriptionInner; @@ -17,6 +18,7 @@ /** * An immutable client-side representation of an Azure subscription. */ +@LangDefinition(ContainerName="~/") public interface Subscription extends Indexable, Wrapper { diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Subscriptions.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Subscriptions.java index 85df43bf9bbb..f91b4dac47f1 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Subscriptions.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Subscriptions.java @@ -6,12 +6,14 @@ package com.microsoft.azure.management.resources; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingByName; import com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing; /** * Entry point to subscription management API. */ +@LangDefinition(ContainerName="~/") public interface Subscriptions extends SupportsListing, SupportsGettingByName { diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Tenant.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Tenant.java index a7fcff2de6fe..fd2180a8c62b 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Tenant.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Tenant.java @@ -6,6 +6,7 @@ package com.microsoft.azure.management.resources; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.fluentcore.model.Indexable; import com.microsoft.azure.management.resources.fluentcore.model.Wrapper; import com.microsoft.azure.management.resources.implementation.TenantIdDescriptionInner; @@ -13,6 +14,7 @@ /** * An immutable client-side representation of an Azure tenant. */ +@LangDefinition(ContainerName="~/") public interface Tenant extends Indexable, Wrapper { diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Tenants.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Tenants.java index a6646f3ef984..30ee652f5d93 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Tenants.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Tenants.java @@ -6,11 +6,13 @@ package com.microsoft.azure.management.resources; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing; /** * Entry point to tenant management API. */ +@LangDefinition(ContainerName="~/") public interface Tenants extends SupportsListing { } diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsDeletingByGroup.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsDeletingByGroup.java index d87908d41f44..b5bcf6627d9f 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsDeletingByGroup.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsDeletingByGroup.java @@ -6,11 +6,15 @@ package com.microsoft.azure.management.resources.fluentcore.arm.collection; +import com.microsoft.azure.management.apigeneration.LangDefinition; +import com.microsoft.azure.management.apigeneration.LangDefinition.MethodConversion; + /** * Provides access to deleting a resource from Azure, identifying it by its name and its resource group. * * (Note: this interface is not intended to be implemented by user code) */ +@LangDefinition(ContainerName="CollectionActions", CreateAsyncMethods=true, MethodConversionType=MethodConversion.OnlyMethod) public interface SupportsDeletingByGroup { /** * Deletes a resource from Azure, identifying it by its name and its resource group. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsGettingByGroup.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsGettingByGroup.java index 164695eb2cea..49746090b2c7 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsGettingByGroup.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsGettingByGroup.java @@ -7,6 +7,8 @@ package com.microsoft.azure.management.resources.fluentcore.arm.collection; import com.microsoft.azure.CloudException; +import com.microsoft.azure.management.apigeneration.LangDefinition; +import com.microsoft.azure.management.apigeneration.LangDefinition.MethodConversion; import java.io.IOException; @@ -17,6 +19,7 @@ * * @param the type of the resource to get. */ +@LangDefinition(ContainerName="CollectionActions", CreateAsyncMethods=true, MethodConversionType=MethodConversion.OnlyMethod) public interface SupportsGettingByGroup { /** * Gets the information about a resource from Azure based on the resource name and the name of its resource group. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsGettingById.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsGettingById.java index f89d1e4530b4..5c11eb0b085d 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsGettingById.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsGettingById.java @@ -8,6 +8,8 @@ package com.microsoft.azure.management.resources.fluentcore.arm.collection; import com.microsoft.azure.CloudException; +import com.microsoft.azure.management.apigeneration.LangDefinition; +import com.microsoft.azure.management.apigeneration.LangDefinition.MethodConversion; import java.io.IOException; @@ -16,6 +18,7 @@ * * @param the type of the resource collection */ +@LangDefinition(ContainerName="CollectionActions", CreateAsyncMethods=true, MethodConversionType=MethodConversion.OnlyMethod) public interface SupportsGettingById { /** * Gets the information about a resource from Azure based on the resource id. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsGettingByName.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsGettingByName.java index 2744189d2182..e1522f62748b 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsGettingByName.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsGettingByName.java @@ -8,6 +8,8 @@ package com.microsoft.azure.management.resources.fluentcore.arm.collection; import com.microsoft.azure.CloudException; +import com.microsoft.azure.management.apigeneration.LangDefinition; +import com.microsoft.azure.management.apigeneration.LangDefinition.MethodConversion; import java.io.IOException; @@ -16,6 +18,7 @@ * * @param the type of the resource collection */ +@LangDefinition(ContainerName="CollectionActions", CreateAsyncMethods=true, MethodConversionType=MethodConversion.OnlyMethod) public interface SupportsGettingByName { /** * Gets the information about a resource from Azure based on the resource name within the current resource group. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsListingByGroup.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsListingByGroup.java index b2f950507468..7e93c9e5f9fe 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsListingByGroup.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsListingByGroup.java @@ -8,6 +8,8 @@ import com.microsoft.azure.CloudException; import com.microsoft.azure.PagedList; +import com.microsoft.azure.management.apigeneration.LangDefinition; +import com.microsoft.azure.management.apigeneration.LangDefinition.MethodConversion; import java.io.IOException; @@ -18,6 +20,7 @@ * * @param the type of the resources listed. */ +@LangDefinition(ContainerName="CollectionActions", CreateAsyncMethods=true, MethodConversionType=MethodConversion.OnlyMethod) public interface SupportsListingByGroup { /** * Lists resources of the specified type in the specified resource group. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/models/ChildResource.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/models/ChildResource.java index 1fc38f6cdf1d..4086d7f8e136 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/models/ChildResource.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/models/ChildResource.java @@ -5,11 +5,13 @@ */ package com.microsoft.azure.management.resources.fluentcore.arm.models; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.fluentcore.model.Indexable; /** * Base interface used by child resources. */ +@LangDefinition() public interface ChildResource extends Indexable { /** * @return the name of the child resource diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/models/GroupableResource.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/models/GroupableResource.java index f6afddeac75a..6305be06b738 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/models/GroupableResource.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/models/GroupableResource.java @@ -6,12 +6,14 @@ package com.microsoft.azure.management.resources.fluentcore.arm.models; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.ResourceGroup; import com.microsoft.azure.management.resources.fluentcore.model.Creatable; /** * Base interface for resources in resource groups. */ +@LangDefinition() public interface GroupableResource extends Resource { /** * @return the name of the resource group @@ -21,6 +23,8 @@ public interface GroupableResource extends Resource { /** * Grouping of all the definition stages. */ + + @LangDefinition(ContainerName="GroupableResource.Definition", ContainerFileName="IDefinition", IsContainerOnly=true) interface DefinitionStages { /** * A resource definition allowing a resource group to be selected. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/models/Resource.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/models/Resource.java index e8c5c0a360f2..c60ca3142c31 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/models/Resource.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/models/Resource.java @@ -6,6 +6,7 @@ package com.microsoft.azure.management.resources.fluentcore.arm.models; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.fluentcore.arm.Region; import com.microsoft.azure.management.resources.fluentcore.model.Indexable; @@ -14,6 +15,7 @@ /** * Base interfaces for fluent resources. */ +@LangDefinition() public interface Resource extends Indexable { /** * @return the resource ID string @@ -50,6 +52,7 @@ public interface Resource extends Indexable { * * @param the type of the next stage resource definition */ + @LangDefinition(ContainerName="Resource.Definition", ContainerFileName="IDefinition") interface DefinitionWithRegion { /** * Specifies the region for the resource by name. @@ -71,6 +74,7 @@ interface DefinitionWithRegion { * * @param the type of the next stage resource definition */ + @LangDefinition(ContainerName="Resource.Definition", ContainerFileName="IDefinition") interface DefinitionWithTags { /** * Specifies tags for the resource as a {@link Map}. @@ -93,6 +97,7 @@ interface DefinitionWithTags { * * @param the type of the next stage resource update */ + @LangDefinition(ContainerName="Resource.Update", ContainerFileName="IUpdate") interface UpdateWithTags { /** * Specifies tags for the resource as a {@link Map}. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsCreating.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsCreating.java index eea690334dd2..9c7c1eec9991 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsCreating.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsCreating.java @@ -8,12 +8,15 @@ import com.microsoft.azure.management.resources.fluentcore.model.Creatable; +import com.microsoft.azure.management.apigeneration.LangDefinition; +import com.microsoft.azure.management.apigeneration.LangDefinition.MethodConversion; /** * Providing access to creating Azure top level resources. *

* (Note: this interface is not intended to be implemented by user code) * @param the initial blank definition interface */ +@LangDefinition(ContainerName="CollectionActions", MethodConversionType=MethodConversion.OnlyMethod) public interface SupportsCreating { /** * Begins a definition for a new resource. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsDeleting.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsDeleting.java index 9684afbf6308..2bdb36a5473a 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsDeleting.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsDeleting.java @@ -6,11 +6,14 @@ package com.microsoft.azure.management.resources.fluentcore.collection; +import com.microsoft.azure.management.apigeneration.LangDefinition; + /** * Provides access to deleting a resource from Azure, identifying it by its resource ID. *

* (Note: this interface is not intended to be implemented by user code) */ +@LangDefinition(ContainerName="CollectionActions", CreateAsyncMethods=true) public interface SupportsDeleting { /** * Deletes a resource from Azure, identifying it by its resource ID. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsListing.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsListing.java index bb9156b0bd92..75f51ef042bc 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsListing.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsListing.java @@ -8,6 +8,8 @@ import com.microsoft.azure.PagedList; import com.microsoft.rest.RestException; +import com.microsoft.azure.management.apigeneration.LangDefinition; +import com.microsoft.azure.management.apigeneration.LangDefinition.MethodConversion; import java.io.IOException; @@ -18,6 +20,7 @@ * * @param the fluent type of the resource */ +@LangDefinition(ContainerName="CollectionActions", MethodConversionType=MethodConversion.OnlyMethod) public interface SupportsListing { /** * Lists all the resources of the specified type in the currently selected subscription. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsListingByRegion.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsListingByRegion.java index 1d860a1fc343..543ebe9e39af 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsListingByRegion.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsListingByRegion.java @@ -8,6 +8,8 @@ import com.microsoft.azure.CloudException; import com.microsoft.azure.PagedList; +import com.microsoft.azure.management.apigeneration.LangDefinition; +import com.microsoft.azure.management.apigeneration.LangDefinition.MethodConversion; import com.microsoft.azure.management.resources.fluentcore.arm.Region; import java.io.IOException; @@ -19,6 +21,7 @@ * * @param the fluent type of the resource */ +@LangDefinition(ContainerName="CollectionActions", MethodConversionType=MethodConversion.OnlyMethod) public interface SupportsListingByRegion { /** * Lists all the resources of the specified type in the specified region. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Appliable.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Appliable.java index df7662af7fac..336ccfc35b25 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Appliable.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Appliable.java @@ -6,6 +6,7 @@ package com.microsoft.azure.management.resources.fluentcore.model; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.rest.ServiceCall; import com.microsoft.rest.ServiceCallback; import rx.Observable; @@ -15,6 +16,7 @@ * * @param the type of the resource returned from the update. */ +@LangDefinition(ContainerName="ResourceActions", CreateAsyncMultiThreadMethodParam=true) public interface Appliable extends Indexable { /** * Execute the update request. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Attachable.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Attachable.java index d50cb5fdcd8b..10da601050c8 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Attachable.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Attachable.java @@ -6,11 +6,14 @@ package com.microsoft.azure.management.resources.fluentcore.model; +import com.microsoft.azure.management.apigeneration.LangDefinition; + /** * The final stage of the child object definition, at which it can be attached to the parent, using {@link Attachable#attach()}. * * @param the parent definition {@link Attachable#attach()} returns to */ +@LangDefinition(ContainerName="ChildResourceActions") public interface Attachable { /** * Attaches this child object's definition to its parent's definition. @@ -22,6 +25,7 @@ public interface Attachable { * The final stage of the child object definition, as which it can be attached to the parent. * @param the parent definition */ + @LangDefinition(ContainerName="~/Core.ChildResource.Definition", ContainerFileName="IDefinition") interface InDefinition { /** * Attaches the child definition to the parent resource definiton. @@ -46,6 +50,7 @@ interface InDefinitionAlt { * The final stage of the child object definition, as which it can be attached to the parent. * @param the parent definition */ + @LangDefinition(ContainerName="~/Core.ChildResource.Update", ContainerFileName="IUpdate") interface InUpdate { /** * Attaches the child definition to the parent resource update. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Creatable.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Creatable.java index a96712672357..02ccd2481426 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Creatable.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Creatable.java @@ -6,6 +6,7 @@ package com.microsoft.azure.management.resources.fluentcore.model; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.rest.ServiceCall; import com.microsoft.rest.ServiceCallback; import rx.Observable; @@ -15,6 +16,7 @@ * * @param the fluent type of the resource to be created */ +@LangDefinition(ContainerName="ResourceActions", CreateAsyncMultiThreadMethodParam=true) public interface Creatable extends Indexable { /** * @return the name of the creatable resource. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Indexable.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Indexable.java index e3d2998f0cb5..910976820ff9 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Indexable.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Indexable.java @@ -6,9 +6,12 @@ package com.microsoft.azure.management.resources.fluentcore.model; +import com.microsoft.azure.management.apigeneration.LangDefinition; + /** * Base interface for all models that can be indexed by a key. */ +@LangDefinition(ContainerName="ResourceActions", CreateAsyncMultiThreadMethodParam=true) public interface Indexable { /** * @return the index key. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Refreshable.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Refreshable.java index 4cfc5175cdf3..ee7b47839711 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Refreshable.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Refreshable.java @@ -6,11 +6,14 @@ package com.microsoft.azure.management.resources.fluentcore.model; +import com.microsoft.azure.management.apigeneration.LangDefinition; + /** * Base class for resources that can be refreshed to get the latest state. * * @param the fluent type of the resource */ +@LangDefinition(ContainerName="ResourceActions") public interface Refreshable { /** * Refreshes the resource to sync with Azure. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Settable.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Settable.java index 3c9f7a6e7037..dd2c64cd17dd 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Settable.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Settable.java @@ -1,11 +1,14 @@ package com.microsoft.azure.management.resources.fluentcore.model; +import com.microsoft.azure.management.apigeneration.LangDefinition; + /** * The base interface for all template interfaces for child resources that support * update operations. * * @param the parent definition {@link Settable#parent()} returns to */ +@LangDefinition(ContainerName="ChildResourceActions") public interface Settable { /** * Begins an update for a child resource. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Updatable.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Updatable.java index 0c45d5d071d3..1c1e80d6629a 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Updatable.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Updatable.java @@ -6,11 +6,14 @@ package com.microsoft.azure.management.resources.fluentcore.model; +import com.microsoft.azure.management.apigeneration.LangDefinition; + /** * Base class for resource that can be updated. * * @param the fluent type of the resource */ +@LangDefinition(ContainerName="ResourceActions") public interface Updatable { /** * Begins an update for a new resource. diff --git a/azure-mgmt-storage/pom.xml b/azure-mgmt-storage/pom.xml index 6cd45c1659db..0ada7eae840b 100644 --- a/azure-mgmt-storage/pom.xml +++ b/azure-mgmt-storage/pom.xml @@ -67,6 +67,11 @@ 1.0.0-SNAPSHOT test + + com.microsoft.azure + api-annotations + 0.0.1-SNAPSHOT + @@ -111,6 +116,24 @@ + + org.apache.maven.plugins + maven-compiler-plugin + 3.0 + + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + true + true + + true + true + + + + diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageAccount.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageAccount.java index 15b5e748fb52..c3e4d349816b 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageAccount.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageAccount.java @@ -7,6 +7,9 @@ package com.microsoft.azure.management.storage; import com.microsoft.azure.CloudException; +import com.microsoft.azure.management.apigeneration.LangDefinition; +import com.microsoft.azure.management.apigeneration.LangMethodDefinition; +import com.microsoft.azure.management.apigeneration.LangMethodDefinition.LangMethodType; 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; @@ -24,6 +27,7 @@ /** * An immutable client-side representation of an Azure storage account. */ +@LangDefinition public interface StorageAccount extends GroupableResource, Refreshable, @@ -102,6 +106,7 @@ public interface StorageAccount extends * @throws CloudException exception thrown from REST call * @throws IOException exception thrown from serialization/deserialization */ + @LangMethodDefinition(AsType=LangMethodType.Method) List keys() throws CloudException, IOException; /** @@ -112,6 +117,7 @@ public interface StorageAccount extends * @throws CloudException exception thrown from REST call * @throws IOException exception thrown from serialization/deserialization */ + @LangMethodDefinition(AsType=LangMethodType.Method) List refreshKeys() throws CloudException, IOException; /** @@ -122,6 +128,7 @@ public interface StorageAccount extends * @throws CloudException exception thrown from REST call * @throws IOException exception thrown from serialization/deserialization */ + @LangMethodDefinition(AsType=LangMethodType.Method) List regenerateKey(String keyName) throws CloudException, IOException; /************************************************************** @@ -131,6 +138,7 @@ public interface StorageAccount extends /** * Container interface for all the definitions that need to be implemented. */ + @LangDefinition(ContainerName="~/StorageAccount.Definition", ContainerFileName="IDefinition") interface Definition extends DefinitionStages.Blank, DefinitionStages.WithGroup, @@ -141,6 +149,7 @@ interface Definition extends /** * Grouping of all the storage account definition stages. */ + @LangDefinition(ContainerName="~/StorageAccount.Definition", ContainerFileName="IDefinition", IsContainerOnly=true) interface DefinitionStages { /** * The first stage of the storage account definition. @@ -274,6 +283,7 @@ interface WithCreateAndAccessTier extends DefinitionStages.WithCreate { /** * Grouping of all the storage account update stages. */ + @LangDefinition(ContainerName="~/StorageAccount.Update", ContainerFileName="IUpdate", IsContainerOnly=true) interface UpdateStages { /** * A storage account update stage allowing to change the parameters. @@ -361,6 +371,7 @@ interface WithAccessTier { /** * The template for a storage account update operation, containing all the settings that can be modified. */ + @LangDefinition(ContainerName="~/StorageAccount.Update", ContainerFileName="IUpdate") interface Update extends Appliable, UpdateStages.WithSku, diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageAccounts.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageAccounts.java index 0e8804e86927..1d58f71d1518 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageAccounts.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageAccounts.java @@ -7,6 +7,7 @@ package com.microsoft.azure.management.storage; import com.microsoft.azure.CloudException; +import com.microsoft.azure.management.apigeneration.LangDefinition; 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; @@ -21,6 +22,7 @@ /** * Entry point for storage accounts management API. */ +@LangDefinition(ContainerName="~/") public interface StorageAccounts extends SupportsListing, SupportsCreating, diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageUsage.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageUsage.java index 4fae8301c132..aff09297c05c 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageUsage.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageUsage.java @@ -6,12 +6,14 @@ package com.microsoft.azure.management.storage; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.fluentcore.model.Wrapper; import com.microsoft.azure.management.storage.implementation.UsageInner; /** * An immutable client-side representation of an Azure storage resource usage info object. */ +@LangDefinition(ContainerName="~/") public interface StorageUsage extends Wrapper { /** * @return the unit of measurement. Possible values include: 'Count', diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/Usages.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/Usages.java index c9c354254a6e..ac9995b5af80 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/Usages.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/Usages.java @@ -6,10 +6,12 @@ package com.microsoft.azure.management.storage; +import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing; /** * Entry point for storage resource usage management API. */ +@LangDefinition(ContainerName="~/") public interface Usages extends SupportsListing { } diff --git a/pom.xml b/pom.xml index 48c53b03085c..18aa3f5357e8 100644 --- a/pom.xml +++ b/pom.xml @@ -52,6 +52,16 @@ always + + azure-public-snapshots + Azure Public Snapshots + http://adxmaven.westus.cloudapp.azure.com/repository/maven-snapshots + default + + true + always + + @@ -98,6 +108,7 @@ 4.12 test + @@ -159,6 +170,27 @@ maven-release-plugin 2.5.3 + + + com.googlecode.addjars-maven-plugin + addjars-maven-plugin + 1.0.5 + + + + add-jars + + + + + ../extlib + + + + + + + @@ -190,6 +222,35 @@ maven-release-plugin 2.5.2 + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + + com.googlecode.addjars-maven-plugin + + + addjars-maven-plugin + + [1.0.5,) + + add-jars + + + + + + + + + + From 68cdbb82867e4be38171d311424a516979b89fbd Mon Sep 17 00:00:00 2001 From: alvadb Date: Tue, 13 Sep 2016 23:42:06 -0700 Subject: [PATCH 2/2] Style fixes. Style fixes. --- .../azure/management/compute/AvailabilitySet.java | 8 ++++---- .../azure/management/compute/AvailabilitySets.java | 2 +- .../azure/management/compute/VirtualMachine.java | 10 +++++----- .../management/compute/VirtualMachineDataDisk.java | 14 +++++++------- .../management/compute/VirtualMachineImage.java | 2 +- .../management/compute/VirtualMachineImages.java | 2 +- .../compute/VirtualMachineImagesInSku.java | 2 +- .../management/compute/VirtualMachineOffer.java | 2 +- .../management/compute/VirtualMachineOffers.java | 2 +- .../compute/VirtualMachinePublisher.java | 2 +- .../compute/VirtualMachinePublishers.java | 2 +- .../management/compute/VirtualMachineSize.java | 2 +- .../management/compute/VirtualMachineSizes.java | 2 +- .../management/compute/VirtualMachineSku.java | 2 +- .../management/compute/VirtualMachineSkus.java | 2 +- .../azure/management/compute/VirtualMachines.java | 2 +- .../azure/management/network/LoadBalancer.java | 8 ++++---- .../azure/management/network/Network.java | 8 ++++---- .../azure/management/network/NetworkInterface.java | 8 ++++---- .../management/network/NetworkSecurityGroup.java | 8 ++++---- .../management/network/NetworkSecurityRule.java | 12 ++++++------ .../management/network/NicIpConfiguration.java | 12 ++++++------ .../azure/management/network/PublicIpAddress.java | 8 ++++---- .../microsoft/azure/management/network/Subnet.java | 12 ++++++------ .../network/implementation/LoadBalancerImpl.java | 2 +- .../implementation/NetworkInterfaceImpl.java | 4 ++-- .../NetworkManagementClientImpl.java | 1 - .../azure/management/resources/Deployment.java | 12 ++++++------ .../resources/DeploymentExportResult.java | 2 +- .../management/resources/DeploymentOperation.java | 2 +- .../management/resources/DeploymentOperations.java | 2 +- .../azure/management/resources/Deployments.java | 2 +- .../azure/management/resources/Feature.java | 2 +- .../azure/management/resources/Features.java | 4 ++-- .../management/resources/GenericResource.java | 10 +++++----- .../management/resources/GenericResources.java | 2 +- .../azure/management/resources/Location.java | 2 +- .../azure/management/resources/Provider.java | 2 +- .../azure/management/resources/Providers.java | 2 +- .../management/resources/ResourceConnector.java | 2 +- .../azure/management/resources/ResourceGroup.java | 10 +++++----- .../resources/ResourceGroupExportResult.java | 2 +- .../azure/management/resources/ResourceGroups.java | 2 +- .../azure/management/resources/Subscription.java | 2 +- .../azure/management/resources/Subscriptions.java | 2 +- .../azure/management/resources/Tenant.java | 2 +- .../azure/management/resources/Tenants.java | 2 +- .../arm/collection/SupportsDeletingByGroup.java | 2 +- .../arm/collection/SupportsGettingByGroup.java | 2 +- .../arm/collection/SupportsGettingById.java | 2 +- .../arm/collection/SupportsGettingByName.java | 2 +- .../arm/collection/SupportsListingByGroup.java | 2 +- .../fluentcore/arm/models/GroupableResource.java | 4 ++-- .../resources/fluentcore/arm/models/Resource.java | 6 +++--- .../fluentcore/collection/SupportsCreating.java | 2 +- .../fluentcore/collection/SupportsDeleting.java | 2 +- .../fluentcore/collection/SupportsListing.java | 2 +- .../collection/SupportsListingByRegion.java | 2 +- .../resources/fluentcore/model/Appliable.java | 2 +- .../resources/fluentcore/model/Attachable.java | 6 +++--- .../resources/fluentcore/model/Creatable.java | 2 +- .../resources/fluentcore/model/Indexable.java | 2 +- .../resources/fluentcore/model/Refreshable.java | 2 +- .../resources/fluentcore/model/Settable.java | 2 +- .../resources/fluentcore/model/Updatable.java | 2 +- .../azure/management/storage/StorageAccount.java | 14 +++++++------- .../azure/management/storage/StorageAccounts.java | 2 +- .../azure/management/storage/StorageUsage.java | 2 +- .../microsoft/azure/management/storage/Usages.java | 2 +- 69 files changed, 137 insertions(+), 138 deletions(-) diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/AvailabilitySet.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/AvailabilitySet.java index f4cafa916d2a..f2cb9800a6ab 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/AvailabilitySet.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/AvailabilitySet.java @@ -20,7 +20,7 @@ /** * An immutable client-side representation of an Azure availability set. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface AvailabilitySet extends GroupableResource, Refreshable, @@ -69,7 +69,7 @@ public interface AvailabilitySet extends /** * Container interface for all the definitions. */ - @LangDefinition(ContainerName="~/AvailabilitySet.Definition") + @LangDefinition(ContainerName = "~/AvailabilitySet.Definition") interface Definition extends DefinitionStages.Blank, DefinitionStages.WithGroup, @@ -79,7 +79,7 @@ interface Definition extends /** * Grouping of availability set definition stages. */ - @LangDefinition(ContainerName="~/AvailabilitySet.Definition", ContainerFileName="IDefinition", IsContainerOnly=true) + @LangDefinition(ContainerName = "~/AvailabilitySet.Definition", ContainerFileName = "IDefinition", IsContainerOnly = true) interface DefinitionStages { /** * The first stage of an availability set definition. @@ -136,7 +136,7 @@ interface WithCreate extends *

* Call {@link Update#apply()} to apply the changes to the resource in Azure. */ - @LangDefinition(ContainerName="~/AvailabilitySet.Update") + @LangDefinition(ContainerName = "~/AvailabilitySet.Update") interface Update extends Appliable, Resource.UpdateWithTags { diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/AvailabilitySets.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/AvailabilitySets.java index 7d540eb77de6..b9c15e5b0187 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/AvailabilitySets.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/AvailabilitySets.java @@ -13,7 +13,7 @@ /** * Entry point to availability set management API. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface AvailabilitySets extends SupportsListingByGroup, SupportsGettingByGroup, diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachine.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachine.java index e25dbca2b03b..11cdde960a85 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachine.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachine.java @@ -24,7 +24,7 @@ /** * An immutable client-side representation of an Azure virtual machine. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface VirtualMachine extends GroupableResource, Refreshable, @@ -258,7 +258,7 @@ public interface VirtualMachine extends /** * The entirety of the virtual machine definition. */ - @LangDefinition(ContainerName="~/VirtualMachine.Definition") + @LangDefinition(ContainerName = "~/VirtualMachine.Definition") interface Definition extends DefinitionStages.Blank, DefinitionStages.WithGroup, @@ -278,7 +278,7 @@ interface Definition extends /** * Grouping of virtual machine definition stages. */ - @LangDefinition(ContainerName="~/VirtualMachine.Definition", ContainerFileName="IDefinition", IsContainerOnly=true) + @LangDefinition(ContainerName = "~/VirtualMachine.Definition", ContainerFileName = "IDefinition", IsContainerOnly = true) interface DefinitionStages { /** * The first stage of a virtual machine definition. @@ -851,7 +851,7 @@ interface WithCreate extends /** * Grouping of virtual machine update stages. */ - @LangDefinition(ContainerName="~/VirtualMachine.Update", ContainerFileName="IUpdate", IsContainerOnly=true) + @LangDefinition(ContainerName = "~/VirtualMachine.Update", ContainerFileName = "IUpdate", IsContainerOnly = true) interface UpdateStages { /** * The stage of the virtual machine definition allowing to specify data disk configuration. @@ -994,7 +994,7 @@ interface WithExtension { *

* Call {@link Update#apply()} to apply the changes to the resource in Azure. */ - @LangDefinition(ContainerName="~/VirtualMachine.Update") + @LangDefinition(ContainerName = "~/VirtualMachine.Update") interface Update extends Appliable, Resource.UpdateWithTags, diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineDataDisk.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineDataDisk.java index 8868797df40f..8c463c5aceb1 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineDataDisk.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineDataDisk.java @@ -9,7 +9,7 @@ /** * A data disk of a virtual machine. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface VirtualMachineDataDisk extends Wrapper, ChildResource { @@ -68,7 +68,7 @@ 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) + @LangDefinition(ContainerName = "~/VirtualMachineDataDisk.Definition", ContainerFileName = "IDefinition", IsContainerOnly = true) interface DefinitionStages { /** * The first stage of a data disk definition. @@ -165,7 +165,7 @@ interface WithAttach extends Attachable.InUpdate { * The entirety of a data disk definition. * @param the return type of the final {@link Attachable#attach()} */ - @LangDefinition(ContainerName="~/VirtualMachineDataDisk.Definition") + @LangDefinition(ContainerName = "~/VirtualMachineDataDisk.Definition") interface Definition extends DefinitionStages.Blank, DefinitionStages.WithAttach, @@ -175,7 +175,7 @@ interface Definition extends /** * Grouping of data disk definition stages applicable as part of a virtual machine update. */ - @LangDefinition(ContainerName="~/VirtualMachineDataDisk.Update", ContainerFileName="IUpdateDefinition", IsContainerOnly=true) + @LangDefinition(ContainerName = "~/VirtualMachineDataDisk.Update", ContainerFileName = "IUpdateDefinition", IsContainerOnly = true) interface UpdateDefinitionStages { /** * The first stage of a data disk definition. @@ -271,7 +271,7 @@ interface WithAttach extends Attachable.InDefinition { /** The entirety of a data disk definition as part of a virtual machine update. * @param the return type of the final {@link UpdateDefinitionStages.WithAttach#attach()} */ - @LangDefinition(ContainerName="~/VirtualMachineDataDisk.Update", ContainerFileName="IUpdateDefinition") + @LangDefinition(ContainerName = "~/VirtualMachineDataDisk.Update", ContainerFileName = "IUpdateDefinition") interface UpdateDefinition extends UpdateDefinitionStages.Blank, UpdateDefinitionStages.WithAttach, @@ -281,7 +281,7 @@ interface UpdateDefinition extends /** * Grouping of data disk update stages. */ - @LangDefinition(ContainerName="~/VirtualMachineDataDisk.Update", ContainerFileName="IUpdate") + @LangDefinition(ContainerName = "~/VirtualMachineDataDisk.Update", ContainerFileName = "IUpdate") interface UpdateStages { /** * Specifies the new size in GB for data disk. @@ -311,7 +311,7 @@ interface UpdateStages { /** * The entirety of a data disk update as part of a virtual machine update. */ - @LangDefinition(ContainerName="~/VirtualMachineDataDisk.Update") + @LangDefinition(ContainerName = "~/VirtualMachineDataDisk.Update") interface Update extends UpdateStages, Settable { diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImage.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImage.java index dc5705d53809..a57bf77b3007 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImage.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImage.java @@ -15,7 +15,7 @@ /** * An immutable client-side representation of an Azure virtual machine image. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface VirtualMachineImage extends Wrapper { /** diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImages.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImages.java index d33c2f265d2d..5b1a7e68a8b5 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImages.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImages.java @@ -11,7 +11,7 @@ /** * Entry point to virtual machine image management API. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface VirtualMachineImages extends SupportsListingByRegion { /** diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImagesInSku.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImagesInSku.java index 6f317268f843..3fb591b1c127 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImagesInSku.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineImagesInSku.java @@ -5,6 +5,6 @@ /** * Entry point to virtual machine sku images. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface VirtualMachineImagesInSku extends SupportsListing { } diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineOffer.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineOffer.java index d8c20509d288..192f82183d2a 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineOffer.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineOffer.java @@ -11,7 +11,7 @@ /** * Represents a virtual machine image offer. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface VirtualMachineOffer { /** * @return the region where this virtual machine image offer is available diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineOffers.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineOffers.java index 66b322b22642..d3dbac4920de 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineOffers.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineOffers.java @@ -11,7 +11,7 @@ /** * Entry point to virtual machine image offers. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface VirtualMachineOffers extends SupportsListing { } diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachinePublisher.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachinePublisher.java index 68ee27d0fd2a..fd5afda6f86b 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachinePublisher.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachinePublisher.java @@ -11,7 +11,7 @@ /** * Represents a virtual machine image publisher. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface VirtualMachinePublisher { /** * @return the region where virtual machine images from this publisher is available diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachinePublishers.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachinePublishers.java index 771e38662abc..c1692f1bdb60 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachinePublishers.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachinePublishers.java @@ -11,7 +11,7 @@ /** * Entry point to virtual machine image publishers. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface VirtualMachinePublishers extends SupportsListingByRegion { } diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSize.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSize.java index d3b5073fe1c8..85a03138194e 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSize.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSize.java @@ -10,7 +10,7 @@ /** * A type representing virtual machine size available for a subscription in a region. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface VirtualMachineSize { /** * @return the VM size name diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSizes.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSizes.java index 49939ec91984..ddbee2edfcc1 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSizes.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSizes.java @@ -11,7 +11,7 @@ /** * Entry point to virtual machine sizes API. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface VirtualMachineSizes extends SupportsListingByRegion { } diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSku.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSku.java index daabeb8a2c8f..3f15803b8231 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSku.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSku.java @@ -11,7 +11,7 @@ /** * Represents a virtual machine image SKU. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface VirtualMachineSku { /** * @return the region where this virtual machine image offer SKU is available diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSkus.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSkus.java index 0b7b4299baa6..a25a339a29f1 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSkus.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineSkus.java @@ -11,6 +11,6 @@ /** * Entry point to virtual machine image offer skus. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface VirtualMachineSkus extends SupportsListing { } diff --git a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachines.java b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachines.java index cdf2a7a726e7..bfe2b274d406 100644 --- a/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachines.java +++ b/azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachines.java @@ -16,7 +16,7 @@ /** * Entry point to virtual machine management API. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface VirtualMachines extends SupportsListing, SupportsListingByGroup, diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LoadBalancer.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LoadBalancer.java index 8bfda4486628..69501a4a9ac7 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LoadBalancer.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/LoadBalancer.java @@ -70,7 +70,7 @@ public interface LoadBalancer extends /** * The entirety of the load balancer definition. */ - @LangDefinition(ContainerName="~/LoadBalancer.Definition", ContainerFileName="IDefinition") + @LangDefinition(ContainerName = "~/LoadBalancer.Definition", ContainerFileName = "IDefinition") interface Definition extends DefinitionStages.Blank, DefinitionStages.WithGroup, @@ -90,7 +90,7 @@ interface Definition extends /** * Grouping of load balancer definition stages. */ - @LangDefinition(ContainerName="~/LoadBalancer.Definition", ContainerFileName="IDefinition", IsContainerOnly=true) + @LangDefinition(ContainerName = "~/LoadBalancer.Definition", ContainerFileName = "IDefinition", IsContainerOnly = true) interface DefinitionStages { /** * The first stage of a load balancer definition. @@ -389,7 +389,7 @@ interface WithInboundNatPool { /** * Grouping of load balancer update stages. */ - @LangDefinition(ContainerName="~/LoadBalancer.Update", ContainerFileName="IUpdate", IsContainerOnly=true) + @LangDefinition(ContainerName = "~/LoadBalancer.Update", ContainerFileName = "IUpdate", IsContainerOnly = true) interface UpdateStages { /** * The stage of the load balancer update allowing to add or remove backends. @@ -649,7 +649,7 @@ interface WithInboundNatPool { *

* Call {@link Update#apply()} to apply the changes to the resource in Azure. */ - @LangDefinition(ContainerName="~/LoadBalancer.Update", ContainerFileName="IUpdate") + @LangDefinition(ContainerName = "~/LoadBalancer.Update", ContainerFileName = "IUpdate") interface Update extends Appliable, Resource.UpdateWithTags, diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/Network.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/Network.java index 7d7170cf44ac..f17768bea6f8 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/Network.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/Network.java @@ -52,7 +52,7 @@ public interface Network extends /** * The entirety of the virtual network definition. */ - @LangDefinition(ContainerName="Definition", ContainerFileName="IDefinition") + @LangDefinition(ContainerName = "Definition", ContainerFileName = "IDefinition") interface Definition extends DefinitionStages.Blank, DefinitionStages.WithGroup, @@ -64,7 +64,7 @@ interface Definition extends /** * Grouping of virtual network definition stages. */ - @LangDefinition(ContainerName="Definition", ContainerFileName="IDefinition", IsContainerOnly=true) + @LangDefinition(ContainerName = "Definition", ContainerFileName = "IDefinition", IsContainerOnly = true) interface DefinitionStages { /** * The first stage of a virtual network definition. @@ -165,7 +165,7 @@ interface WithCreateAndSubnet extends /** * Grouping of virtual network update stages. */ - @LangDefinition(ContainerName="Update", ContainerFileName="IUpdate", IsContainerOnly=true) + @LangDefinition(ContainerName = "Update", ContainerFileName = "IUpdate", IsContainerOnly = true) interface UpdateStages { /** * The stage of the virtual network update allowing to add or remove subnets. @@ -251,7 +251,7 @@ interface WithAddressSpace { *

* Call {@link Update#apply()} to apply the changes to the resource in Azure. */ - @LangDefinition(ContainerName="Update", ContainerFileName="IUpdate") + @LangDefinition(ContainerName = "Update", ContainerFileName = "IUpdate") interface Update extends Appliable, Resource.UpdateWithTags, diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkInterface.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkInterface.java index 76fc200659c1..fc8018ae87fe 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkInterface.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkInterface.java @@ -145,7 +145,7 @@ public interface NetworkInterface extends /** * The entirety of the network interface definition. */ - @LangDefinition(ContainerName="Definition", ContainerFileName="IDefinition") + @LangDefinition(ContainerName = "Definition", ContainerFileName = "IDefinition") interface Definition extends DefinitionStages.Blank, DefinitionStages.WithGroup, @@ -158,7 +158,7 @@ interface Definition extends /** * Grouping of network interface definition stages. */ - @LangDefinition(ContainerName="Definition", ContainerFileName="IDefinition", IsContainerOnly=true) + @LangDefinition(ContainerName = "Definition", ContainerFileName = "IDefinition", IsContainerOnly = true) interface DefinitionStages { /** * The first stage of the network interface. @@ -379,7 +379,7 @@ interface WithCreate extends /** * Grouping of network interface update stages. */ - @LangDefinition(ContainerName="Update", ContainerFileName="IUpdate", IsContainerOnly=true) + @LangDefinition(ContainerName = "Update", ContainerFileName = "IUpdate", IsContainerOnly = true) interface UpdateStages { /** * The stage of the network interface update allowing to specify subnet. @@ -583,7 +583,7 @@ interface WithIpConfiguration { *

* Call {@link Update#apply()} to apply the changes to the resource in Azure. */ - @LangDefinition(ContainerName="Update", ContainerFileName="IUpdate") + @LangDefinition(ContainerName = "Update", ContainerFileName = "IUpdate") interface Update extends Appliable, Resource.UpdateWithTags, diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkSecurityGroup.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkSecurityGroup.java index 6c1e3cfeda82..5f4cc42c0643 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkSecurityGroup.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkSecurityGroup.java @@ -53,7 +53,7 @@ public interface NetworkSecurityGroup extends /** * The entirety of the network security group definition. */ - @LangDefinition(ContainerName="Definition", ContainerFileName="IDefinition") + @LangDefinition(ContainerName = "Definition", ContainerFileName = "IDefinition") interface Definition extends DefinitionStages.Blank, DefinitionStages.WithGroup, @@ -63,7 +63,7 @@ interface Definition extends /** * Grouping of network security group definition stages. */ - @LangDefinition(ContainerName="Definition", ContainerFileName="IDefinition", IsContainerOnly=true) + @LangDefinition(ContainerName = "Definition", ContainerFileName = "IDefinition", IsContainerOnly = true) interface DefinitionStages { /** * The first stage of the definition. @@ -109,7 +109,7 @@ interface WithCreate extends /** * Grouping of network security group update stages. */ - @LangDefinition(ContainerName="Update", ContainerFileName="IUpdate", IsContainerOnly=true) + @LangDefinition(ContainerName = "Update", ContainerFileName = "IUpdate", IsContainerOnly = true) interface UpdateStages { /** * The stage of the resource definition allowing to add or remove security rules. @@ -144,7 +144,7 @@ interface WithRule { *

* Call {@link Update#apply()} to apply the changes to the resource in Azure. */ - @LangDefinition(ContainerName="Update", ContainerFileName="IUpdate") + @LangDefinition(ContainerName = "Update", ContainerFileName = "IUpdate") interface Update extends Appliable, Resource.UpdateWithTags, diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkSecurityRule.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkSecurityRule.java index 647d3199bdc0..086a7926d3ce 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkSecurityRule.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NetworkSecurityRule.java @@ -73,7 +73,7 @@ public interface NetworkSecurityRule extends * The entirety of a network security rule definition. * @param the return type of the final {@link Attachable#attach()} */ - @LangDefinition(ContainerName="Definition", ContainerFileName="IDefinition") + @LangDefinition(ContainerName = "Definition", ContainerFileName = "IDefinition") interface Definition extends DefinitionStages.Blank, DefinitionStages.WithAttach, @@ -88,7 +88,7 @@ interface Definition extends /** * Grouping of security rule definition stages applicable as part of a network security group creation. */ - @LangDefinition(ContainerName="Definition", ContainerFileName="IDefinition", IsContainerOnly=true, MethodConversionType=MethodConversion.OnlyMethod) + @LangDefinition(ContainerName = "Definition", ContainerFileName = "IDefinition", IsContainerOnly = true, MethodConversionType = MethodConversion.OnlyMethod) interface DefinitionStages { /** * The first stage of a security rule definition. @@ -282,7 +282,7 @@ interface WithAttach extends /** The entirety of a network security rule definition as part of a network security group update. * @param the return type of the final {@link UpdateDefinitionStages.WithAttach#attach()} */ - @LangDefinition(ContainerName="UpdateDefinition", ContainerFileName="IUpdateDefinition") + @LangDefinition(ContainerName = "UpdateDefinition", ContainerFileName = "IUpdateDefinition") interface UpdateDefinition extends UpdateDefinitionStages.Blank, UpdateDefinitionStages.WithDirectionAccess, @@ -297,7 +297,7 @@ interface UpdateDefinition extends /** * Grouping of security rule definition stages applicable as part of a network security group update. */ - @LangDefinition(ContainerName="UpdateDefinition", ContainerFileName="IUpdateDefinition", IsContainerOnly=true, MethodConversionType=MethodConversion.OnlyMethod) + @LangDefinition(ContainerName = "UpdateDefinition", ContainerFileName = "IUpdateDefinition", IsContainerOnly = true, MethodConversionType = MethodConversion.OnlyMethod) interface UpdateDefinitionStages { /** * The first stage of a security rule description as part of an update of a networking security group. @@ -476,7 +476,7 @@ interface WithAttach extends Attachable.InUpdate { /** * The entirety of a security rule update as part of a network security group update. */ - @LangDefinition(ContainerName="Update", ContainerFileName="IUpdate", MethodConversionType=MethodConversion.OnlyMethod) + @LangDefinition(ContainerName = "Update", ContainerFileName = "IUpdate", MethodConversionType = MethodConversion.OnlyMethod) interface Update extends UpdateStages.WithDirectionAccess, UpdateStages.WithSourceAddress, @@ -505,7 +505,7 @@ interface Update extends /** * Grouping of security rule update stages. */ - @LangDefinition(ContainerName="Update", ContainerFileName="IUpdate", IsContainerOnly=true) + @LangDefinition(ContainerName = "Update", ContainerFileName = "IUpdate", IsContainerOnly = true) interface UpdateStages { /** * The stage of the network rule description allowing the direction and the access type to be specified. diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NicIpConfiguration.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NicIpConfiguration.java index 5a5b308bbc66..c03849b10410 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NicIpConfiguration.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/NicIpConfiguration.java @@ -62,7 +62,7 @@ public interface NicIpConfiguration extends * The entirety of the network interface IP configuration definition. * @param the return type of the final {@link Attachable#attach()} */ - @LangDefinition(ContainerName="Definition", ContainerFileName="IDefinition") + @LangDefinition(ContainerName = "Definition", ContainerFileName = "IDefinition") interface Definition extends DefinitionStages.Blank, DefinitionStages.WithAttach, @@ -75,7 +75,7 @@ interface Definition extends * Grouping of network interface IP configuration definition stages applicable as part of a * network interface update. */ - @LangDefinition(ContainerName="Definition", ContainerFileName="IDefinition", IsContainerOnly=true) + @LangDefinition(ContainerName = "Definition", ContainerFileName = "IDefinition", IsContainerOnly = true) interface DefinitionStages { /** * The first stage of network interface IP configuration definition. @@ -222,7 +222,7 @@ interface WithAttach /** The entirety of a network interface IP configuration definition as part of a network interface update. * @param the return type of the final {@link UpdateDefinitionStages.WithAttach#attach()} */ - @LangDefinition(ContainerName="UpdateDefinition", ContainerFileName="IUpdateDefinition") + @LangDefinition(ContainerName = "UpdateDefinition", ContainerFileName = "IUpdateDefinition") interface UpdateDefinition extends UpdateDefinitionStages.Blank, UpdateDefinitionStages.WithAttach, @@ -235,7 +235,7 @@ interface UpdateDefinition extends /** * Grouping of network interface IP configuration definition stages. */ - @LangDefinition(ContainerName="UpdateDefinition", ContainerFileName="IUpdateDefinition", IsContainerOnly=true) + @LangDefinition(ContainerName = "UpdateDefinition", ContainerFileName = "IUpdateDefinition", IsContainerOnly = true) interface UpdateDefinitionStages { /** * The first stage of network interface IP configuration definition. @@ -382,7 +382,7 @@ interface WithAttach /** * The entirety of a network interface IP configuration update as part of a network interface update. */ - @LangDefinition(ContainerName="Update", ContainerFileName="IUpdate") + @LangDefinition(ContainerName = "Update", ContainerFileName = "IUpdate") interface Update extends Settable, UpdateStages.WithSubnet, @@ -395,7 +395,7 @@ interface Update extends /** * Grouping of network interface IP configuration update stages. */ - @LangDefinition(ContainerName="Update", ContainerFileName="IUpdate", IsContainerOnly=true) + @LangDefinition(ContainerName = "Update", ContainerFileName = "IUpdate", IsContainerOnly = true) interface UpdateStages { /** * The stage of the network interface IP configuration update allowing to specify subnet. diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/PublicIpAddress.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/PublicIpAddress.java index f342316ca6f0..68ec03db56b6 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/PublicIpAddress.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/PublicIpAddress.java @@ -66,7 +66,7 @@ public interface PublicIpAddress extends /** * Container interface for all the definitions. */ - @LangDefinition(ContainerName="Definition", ContainerFileName="IDefinition") + @LangDefinition(ContainerName = "Definition", ContainerFileName = "IDefinition") interface Definition extends DefinitionStages.Blank, DefinitionStages.WithGroup, @@ -76,7 +76,7 @@ interface Definition extends /** * Grouping of public IP address definition stages. */ - @LangDefinition(ContainerName="Definition", ContainerFileName="IDefinition", IsContainerOnly=true) + @LangDefinition(ContainerName = "Definition", ContainerFileName = "IDefinition", IsContainerOnly = true) interface DefinitionStages { /** * The first stage of a public IP address definition. @@ -190,7 +190,7 @@ interface WithCreate extends *

* Use {@link Update#apply()} to apply the changes to the resource in Azure. */ - @LangDefinition(ContainerName="Update", ContainerFileName="IUpdate") + @LangDefinition(ContainerName = "Update", ContainerFileName = "IUpdate") interface Update extends Appliable, UpdateStages.WithIpAddress, @@ -203,7 +203,7 @@ interface Update extends /** * Grouping of public IP address update stages. */ - @LangDefinition(ContainerName="Update", ContainerFileName="IUpdate", IsContainerOnly=true) + @LangDefinition(ContainerName = "Update", ContainerFileName = "IUpdate", IsContainerOnly = true) interface UpdateStages { /** * A public IP address update allowing to change the IP allocation method (static or dynamic). diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/Subnet.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/Subnet.java index 26987be18d79..0d78c66fa205 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/Subnet.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/Subnet.java @@ -41,7 +41,7 @@ public interface Subnet extends /** * Grouping of subnet definition stages. */ - @LangDefinition(ContainerName="~/Subnet.Definition", ContainerFileName="IDefinition", IsContainerOnly=true) + @LangDefinition(ContainerName = "~/Subnet.Definition", ContainerFileName = "IDefinition", IsContainerOnly = true) interface DefinitionStages { /** * The first stage of the subnet definition. @@ -98,7 +98,7 @@ interface WithAttach extends /** The entirety of a Subnet definition. * @param the return type of the final {@link DefinitionStages.WithAttach#attach()} */ - @LangDefinition(ContainerName="~/Subnet.Definition", ContainerFileName="IDefinition") + @LangDefinition(ContainerName = "~/Subnet.Definition", ContainerFileName = "IDefinition") interface Definition extends DefinitionStages.Blank, DefinitionStages.WithAddressPrefix, @@ -108,7 +108,7 @@ interface Definition extends /** * Grouping of subnet update stages. */ - @LangDefinition(ContainerName="~/Subnet.Update", ContainerFileName="IUpdate", IsContainerOnly=true) + @LangDefinition(ContainerName = "~/Subnet.Update", ContainerFileName = "IUpdate", IsContainerOnly = true) interface UpdateStages { /** * The stage of the subnet update allowing to change the address space for the subnet. @@ -145,7 +145,7 @@ interface WithNetworkSecurityGroup { /** * The entirety of a subnet update as part of a network update. */ - @LangDefinition(ContainerName="~/Subnet.Update", ContainerFileName="IUpdate") + @LangDefinition(ContainerName = "~/Subnet.Update", ContainerFileName = "IUpdate") interface Update extends UpdateStages.WithAddressPrefix, UpdateStages.WithNetworkSecurityGroup, @@ -155,7 +155,7 @@ interface Update extends /** * Grouping of subnet definition stages applicable as part of a virtual network update. */ - @LangDefinition(ContainerName="~/Subnet.UpdateDefinition", ContainerFileName="IUpdateDefinition", IsContainerOnly=true) + @LangDefinition(ContainerName = "~/Subnet.UpdateDefinition", ContainerFileName = "IUpdateDefinition", IsContainerOnly = true) interface UpdateDefinitionStages { /** * The first stage of the subnet definition. @@ -212,7 +212,7 @@ interface WithAttach extends /** The entirety of a subnet definition as part of a virtual network update. * @param the return type of the final {@link UpdateDefinitionStages.WithAttach#attach()} */ - @LangDefinition(ContainerName="~/Subnet.UpdateDefinition", ContainerFileName="IUpdateDefinition") + @LangDefinition(ContainerName = "~/Subnet.UpdateDefinition", ContainerFileName = "IUpdateDefinition") interface UpdateDefinition extends UpdateDefinitionStages.Blank, UpdateDefinitionStages.WithAddressPrefix, diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/LoadBalancerImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/LoadBalancerImpl.java index 55081b005929..9d64084ff1e8 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/LoadBalancerImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/LoadBalancerImpl.java @@ -502,7 +502,7 @@ private FrontendImpl defineFrontend(String name) { return new FrontendImpl(inner, this); } else { return (FrontendImpl) frontend; - } + } } @Override diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkInterfaceImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkInterfaceImpl.java index 58ae7ad5bc3b..fa3a62aa490f 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkInterfaceImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkInterfaceImpl.java @@ -198,7 +198,7 @@ public NetworkInterfaceImpl withIpForwarding() { return this; } - //TODO: Networking doesn't support this yet, even though it exposes the API; so we have the impl but not exposed via the interface yet. + //TODO: Networking doesn't support this yet, even though it exposes the API; so we have the impl but not exposed via the interface yet. public NetworkInterfaceImpl withoutIpConfiguration(String name) { this.nicIpConfigurations.remove(name); return this; @@ -442,7 +442,7 @@ protected void beforeCreating() { } NicIpConfigurationImpl.ensureConfigurations(this.nicIpConfigurations.values()); - + // Reset and update IP configs this.inner().withIpConfigurations(innersFromWrappers(this.nicIpConfigurations.values())); } diff --git a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkManagementClientImpl.java b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkManagementClientImpl.java index bda1794360ef..62ca97b891b5 100644 --- a/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkManagementClientImpl.java +++ b/azure-mgmt-network/src/main/java/com/microsoft/azure/management/network/implementation/NetworkManagementClientImpl.java @@ -14,7 +14,6 @@ import com.microsoft.azure.AzureServiceResponseBuilder; import com.microsoft.azure.CloudException; import com.microsoft.azure.RestClient; -import com.microsoft.azure.management.apigeneration.LangDefinition; import com.microsoft.rest.credentials.ServiceClientCredentials; import com.microsoft.rest.ServiceCall; import com.microsoft.rest.ServiceCallback; diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Deployment.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Deployment.java index 1f75bd0ce047..f3d409675339 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Deployment.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Deployment.java @@ -26,7 +26,7 @@ /** * An immutable client-side representation of an Azure deployment. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface Deployment extends Refreshable, Updatable, @@ -101,7 +101,7 @@ public interface Deployment extends /** * @return the operations related to this deployment */ - @LangMethodDefinition(AsType=LangMethodType.Property) + @LangMethodDefinition(AsType = LangMethodType.Property) DeploymentOperations deploymentOperations(); /** @@ -124,7 +124,7 @@ public interface Deployment extends /** * Container interface for all the deployment definitions. */ - @LangDefinition(ContainerName="~/Deployment.Definition") + @LangDefinition(ContainerName = "~/Deployment.Definition") interface Definition extends DefinitionStages.Blank, DefinitionStages.WithGroup, @@ -137,7 +137,7 @@ interface Definition extends /** * Grouping of all the deployment definition stages. */ - @LangDefinition(ContainerName="~/Deployment.Definition", ContainerFileName="IDefinition", IsContainerOnly=true) + @LangDefinition(ContainerName = "~/Deployment.Definition", ContainerFileName = "IDefinition", IsContainerOnly = true) interface DefinitionStages { /** * The first stage of deployment definition. @@ -251,7 +251,7 @@ interface WithCreate extends Creatable { /** * Grouping of all the deployment updates stages. */ - @LangDefinition(ContainerName="~/Deployment.Update", ContainerFileName="IUpdate", IsContainerOnly=true) + @LangDefinition(ContainerName = "~/Deployment.Update", ContainerFileName = "IUpdate", IsContainerOnly = true) interface UpdateStages { /** * A deployment update allowing to change the deployment mode. @@ -335,7 +335,7 @@ interface WithParameters { *

* Call {@link Update#apply()} to apply the changes to the deployment in Azure. */ - @LangDefinition(ContainerName="~/Deployment.Update") + @LangDefinition(ContainerName = "~/Deployment.Update") interface Update extends Appliable, UpdateStages.WithTemplate, diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentExportResult.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentExportResult.java index 77f6f6399c9f..e663bbecbcca 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentExportResult.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentExportResult.java @@ -13,7 +13,7 @@ /** * An immutable client-side representation of an Azure deployment template export result. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface DeploymentExportResult extends Wrapper { diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentOperation.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentOperation.java index 52d2c7bc91d0..947df7a40693 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentOperation.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentOperation.java @@ -16,7 +16,7 @@ /** * An immutable client-side representation of a deployment operation. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface DeploymentOperation extends Indexable, Refreshable, diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentOperations.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentOperations.java index fcd4bf81f940..976e36202502 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentOperations.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/DeploymentOperations.java @@ -13,7 +13,7 @@ /** * Entry point to deployment operation management API. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface DeploymentOperations extends SupportsListing, SupportsGettingById { diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Deployments.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Deployments.java index d70194693329..ece9655b657e 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Deployments.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Deployments.java @@ -22,7 +22,7 @@ /** * Entry point to template deployment in Azure. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface Deployments extends SupportsCreating, SupportsListing, diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Feature.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Feature.java index 33aa82099064..38fd29781e0d 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Feature.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Feature.java @@ -14,7 +14,7 @@ /** * An immutable client-side representation of an Azure feature. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface Feature extends Indexable, Wrapper { diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Features.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Features.java index 969730fbc473..0590bbb23f08 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Features.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Features.java @@ -16,7 +16,7 @@ /** * Entry point to features management API. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface Features extends SupportsListing { /** @@ -30,7 +30,7 @@ public interface Features extends /** * Entry point to features management API in a specific resource provider. */ - @LangDefinition(ContainerName="~/Feature") + @LangDefinition(ContainerName = "~/Feature") interface InResourceProvider extends SupportsListing, SupportsGettingByName { diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/GenericResource.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/GenericResource.java index 7a946aba97cd..c168b0066693 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/GenericResource.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/GenericResource.java @@ -19,7 +19,7 @@ /** * An immutable client-side representation of an Azure generic resource. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface GenericResource extends GroupableResource, Refreshable, @@ -58,7 +58,7 @@ public interface GenericResource extends /** * The entirety of the generic resource definition. */ - @LangDefinition(ContainerName="~/GenericResource.Definition", ContainerFileName="IDefinition") + @LangDefinition(ContainerName = "~/GenericResource.Definition", ContainerFileName = "IDefinition") interface Definition extends DefinitionStages.Blank, DefinitionStages.WithGroup, @@ -73,7 +73,7 @@ interface Definition extends /** * Grouping of generic resource definition stages. */ - @LangDefinition(ContainerName="~/GenericResource.Definition", ContainerFileName="IDefinition", IsContainerOnly=true) + @LangDefinition(ContainerName = "~/GenericResource.Definition", ContainerFileName = "IDefinition", IsContainerOnly = true) interface DefinitionStages { /** * A generic resource definition allowing region to be specified. @@ -184,7 +184,7 @@ interface WithCreate extends /** * Grouping of generic resource update stages. */ - @LangDefinition(ContainerName="~/GenericResource.Update", ContainerFileName="IUpdate", IsContainerOnly=true) + @LangDefinition(ContainerName = "~/GenericResource.Update", ContainerFileName = "IUpdate", IsContainerOnly = true) interface UpdateStages { /** * A generic resource update allowing to change the resource properties. @@ -252,7 +252,7 @@ interface WithApiVersion { /** * The template for a generic resource update operation, containing all the settings that can be modified. */ - @LangDefinition(ContainerName="~/GenericResource.Update") + @LangDefinition(ContainerName = "~/GenericResource.Update") interface Update extends Appliable, UpdateStages.WithPlan, diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/GenericResources.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/GenericResources.java index 7a9d7fbcfc16..8d468de589d4 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/GenericResources.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/GenericResources.java @@ -18,7 +18,7 @@ /** * Entry point to generic resources management API. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface GenericResources extends SupportsListingByGroup, SupportsGettingById, diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Location.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Location.java index 9ee99d9ede33..ac4febdc053b 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Location.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Location.java @@ -14,7 +14,7 @@ /** * An immutable client-side representation of an Azure location. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface Location extends Indexable, Wrapper { diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Provider.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Provider.java index 4a6789370109..5948052af524 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Provider.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Provider.java @@ -16,7 +16,7 @@ /** * An immutable client-side representation of an Azure resource provider. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface Provider extends Indexable, Wrapper { diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Providers.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Providers.java index 6478ce220dd8..5ce042215034 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Providers.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Providers.java @@ -17,7 +17,7 @@ /** * Entry point to providers management API. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface Providers extends SupportsListing, SupportsGettingByName { diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceConnector.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceConnector.java index 8898a3d80e6d..181a15bdc755 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceConnector.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceConnector.java @@ -14,7 +14,7 @@ * Implementations of this class can let users browse resources inside a * specific resource group. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface ResourceConnector { /** * Implementations of this interface defines how to create a connector. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroup.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroup.java index 8f71a4ec7001..a7f257c653a5 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroup.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroup.java @@ -23,7 +23,7 @@ /** * An immutable client-side representation of an Azure resource group. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface ResourceGroup extends Indexable, Resource, @@ -57,7 +57,7 @@ public interface ResourceGroup extends /** * Container interface for all the definitions that need to be implemented. */ - @LangDefinition(ContainerName="~/ResourceGroup.Definition", ContainerFileName="IDefinition") + @LangDefinition(ContainerName = "~/ResourceGroup.Definition", ContainerFileName = "IDefinition") interface Definition extends DefinitionStages.Blank, DefinitionStages.WithCreate { @@ -66,7 +66,7 @@ interface Definition extends /** * Grouping of all the resource group definition stages. */ - @LangDefinition(ContainerName="~/ResourceGroup.Definition", ContainerFileName="IDefinition", IsContainerOnly=true) + @LangDefinition(ContainerName = "~/ResourceGroup.Definition", ContainerFileName = "IDefinition", IsContainerOnly = true) interface DefinitionStages { /** * A resource group definition allowing location to be set. @@ -88,7 +88,7 @@ interface WithCreate extends /** * Grouping of all the resource group update stages. */ - @LangDefinition(ContainerName="~/ResourceGroup.Update", ContainerFileName="IUpdate") + @LangDefinition(ContainerName = "~/ResourceGroup.Update", ContainerFileName = "IUpdate") interface UpdateStages { } @@ -97,7 +97,7 @@ interface UpdateStages { *

* Call {@link Update#apply()} to apply the changes to the resource group in Azure. */ - @LangDefinition(ContainerName="~/ResourceGroup.Update", ContainerFileName="IUpdate") + @LangDefinition(ContainerName = "~/ResourceGroup.Update", ContainerFileName = "IUpdate") interface Update extends Appliable, Resource.UpdateWithTags { diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroupExportResult.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroupExportResult.java index f770fdff793c..477c9a971712 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroupExportResult.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroupExportResult.java @@ -13,7 +13,7 @@ /** * An immutable client-side representation of an Azure deployment template export result. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface ResourceGroupExportResult extends Wrapper { diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroups.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroups.java index 7acc232a24c0..de60ca3ff124 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroups.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/ResourceGroups.java @@ -19,7 +19,7 @@ /** * Entry point to resource group management API. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface ResourceGroups extends SupportsListing, SupportsGettingByName, diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Subscription.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Subscription.java index 9b60b3c91c34..888e21fb404b 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Subscription.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Subscription.java @@ -18,7 +18,7 @@ /** * An immutable client-side representation of an Azure subscription. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface Subscription extends Indexable, Wrapper { diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Subscriptions.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Subscriptions.java index f91b4dac47f1..bc06a07ce2b3 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Subscriptions.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Subscriptions.java @@ -13,7 +13,7 @@ /** * Entry point to subscription management API. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface Subscriptions extends SupportsListing, SupportsGettingByName { diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Tenant.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Tenant.java index fd2180a8c62b..df518bd530f6 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Tenant.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Tenant.java @@ -14,7 +14,7 @@ /** * An immutable client-side representation of an Azure tenant. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface Tenant extends Indexable, Wrapper { diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Tenants.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Tenants.java index 30ee652f5d93..877736ffe113 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Tenants.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/Tenants.java @@ -12,7 +12,7 @@ /** * Entry point to tenant management API. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface Tenants extends SupportsListing { } diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsDeletingByGroup.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsDeletingByGroup.java index b5bcf6627d9f..c7431e958fc6 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsDeletingByGroup.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsDeletingByGroup.java @@ -14,7 +14,7 @@ * * (Note: this interface is not intended to be implemented by user code) */ -@LangDefinition(ContainerName="CollectionActions", CreateAsyncMethods=true, MethodConversionType=MethodConversion.OnlyMethod) +@LangDefinition(ContainerName = "CollectionActions", CreateAsyncMethods = true, MethodConversionType = MethodConversion.OnlyMethod) public interface SupportsDeletingByGroup { /** * Deletes a resource from Azure, identifying it by its name and its resource group. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsGettingByGroup.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsGettingByGroup.java index 49746090b2c7..b3774800bb0b 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsGettingByGroup.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsGettingByGroup.java @@ -19,7 +19,7 @@ * * @param the type of the resource to get. */ -@LangDefinition(ContainerName="CollectionActions", CreateAsyncMethods=true, MethodConversionType=MethodConversion.OnlyMethod) +@LangDefinition(ContainerName = "CollectionActions", CreateAsyncMethods = true, MethodConversionType = MethodConversion.OnlyMethod) public interface SupportsGettingByGroup { /** * Gets the information about a resource from Azure based on the resource name and the name of its resource group. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsGettingById.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsGettingById.java index 5c11eb0b085d..db84ecfb284f 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsGettingById.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsGettingById.java @@ -18,7 +18,7 @@ * * @param the type of the resource collection */ -@LangDefinition(ContainerName="CollectionActions", CreateAsyncMethods=true, MethodConversionType=MethodConversion.OnlyMethod) +@LangDefinition(ContainerName = "CollectionActions", CreateAsyncMethods = true, MethodConversionType = MethodConversion.OnlyMethod) public interface SupportsGettingById { /** * Gets the information about a resource from Azure based on the resource id. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsGettingByName.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsGettingByName.java index e1522f62748b..ca590d17b3fd 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsGettingByName.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsGettingByName.java @@ -18,7 +18,7 @@ * * @param the type of the resource collection */ -@LangDefinition(ContainerName="CollectionActions", CreateAsyncMethods=true, MethodConversionType=MethodConversion.OnlyMethod) +@LangDefinition(ContainerName = "CollectionActions", CreateAsyncMethods = true, MethodConversionType = MethodConversion.OnlyMethod) public interface SupportsGettingByName { /** * Gets the information about a resource from Azure based on the resource name within the current resource group. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsListingByGroup.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsListingByGroup.java index 7e93c9e5f9fe..973acc2d694a 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsListingByGroup.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/collection/SupportsListingByGroup.java @@ -20,7 +20,7 @@ * * @param the type of the resources listed. */ -@LangDefinition(ContainerName="CollectionActions", CreateAsyncMethods=true, MethodConversionType=MethodConversion.OnlyMethod) +@LangDefinition(ContainerName = "CollectionActions", CreateAsyncMethods = true, MethodConversionType = MethodConversion.OnlyMethod) public interface SupportsListingByGroup { /** * Lists resources of the specified type in the specified resource group. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/models/GroupableResource.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/models/GroupableResource.java index 6305be06b738..c2afa3836c26 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/models/GroupableResource.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/models/GroupableResource.java @@ -23,8 +23,8 @@ public interface GroupableResource extends Resource { /** * Grouping of all the definition stages. */ - - @LangDefinition(ContainerName="GroupableResource.Definition", ContainerFileName="IDefinition", IsContainerOnly=true) + + @LangDefinition(ContainerName = "GroupableResource.Definition", ContainerFileName = "IDefinition", IsContainerOnly = true) interface DefinitionStages { /** * A resource definition allowing a resource group to be selected. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/models/Resource.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/models/Resource.java index c60ca3142c31..35a681c6ee83 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/models/Resource.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/arm/models/Resource.java @@ -52,7 +52,7 @@ public interface Resource extends Indexable { * * @param the type of the next stage resource definition */ - @LangDefinition(ContainerName="Resource.Definition", ContainerFileName="IDefinition") + @LangDefinition(ContainerName = "Resource.Definition", ContainerFileName = "IDefinition") interface DefinitionWithRegion { /** * Specifies the region for the resource by name. @@ -74,7 +74,7 @@ interface DefinitionWithRegion { * * @param the type of the next stage resource definition */ - @LangDefinition(ContainerName="Resource.Definition", ContainerFileName="IDefinition") + @LangDefinition(ContainerName = "Resource.Definition", ContainerFileName = "IDefinition") interface DefinitionWithTags { /** * Specifies tags for the resource as a {@link Map}. @@ -97,7 +97,7 @@ interface DefinitionWithTags { * * @param the type of the next stage resource update */ - @LangDefinition(ContainerName="Resource.Update", ContainerFileName="IUpdate") + @LangDefinition(ContainerName = "Resource.Update", ContainerFileName = "IUpdate") interface UpdateWithTags { /** * Specifies tags for the resource as a {@link Map}. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsCreating.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsCreating.java index 9c7c1eec9991..fa7a586af7d2 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsCreating.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsCreating.java @@ -16,7 +16,7 @@ * (Note: this interface is not intended to be implemented by user code) * @param the initial blank definition interface */ -@LangDefinition(ContainerName="CollectionActions", MethodConversionType=MethodConversion.OnlyMethod) +@LangDefinition(ContainerName = "CollectionActions", MethodConversionType = MethodConversion.OnlyMethod) public interface SupportsCreating { /** * Begins a definition for a new resource. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsDeleting.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsDeleting.java index 2bdb36a5473a..eb6f36e79b37 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsDeleting.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsDeleting.java @@ -13,7 +13,7 @@ *

* (Note: this interface is not intended to be implemented by user code) */ -@LangDefinition(ContainerName="CollectionActions", CreateAsyncMethods=true) +@LangDefinition(ContainerName = "CollectionActions", CreateAsyncMethods = true) public interface SupportsDeleting { /** * Deletes a resource from Azure, identifying it by its resource ID. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsListing.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsListing.java index 75f51ef042bc..df35181f8576 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsListing.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsListing.java @@ -20,7 +20,7 @@ * * @param the fluent type of the resource */ -@LangDefinition(ContainerName="CollectionActions", MethodConversionType=MethodConversion.OnlyMethod) +@LangDefinition(ContainerName = "CollectionActions", MethodConversionType = MethodConversion.OnlyMethod) public interface SupportsListing { /** * Lists all the resources of the specified type in the currently selected subscription. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsListingByRegion.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsListingByRegion.java index 543ebe9e39af..1b33427b1126 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsListingByRegion.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/collection/SupportsListingByRegion.java @@ -21,7 +21,7 @@ * * @param the fluent type of the resource */ -@LangDefinition(ContainerName="CollectionActions", MethodConversionType=MethodConversion.OnlyMethod) +@LangDefinition(ContainerName = "CollectionActions", MethodConversionType = MethodConversion.OnlyMethod) public interface SupportsListingByRegion { /** * Lists all the resources of the specified type in the specified region. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Appliable.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Appliable.java index 336ccfc35b25..14a4b3f6d143 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Appliable.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Appliable.java @@ -16,7 +16,7 @@ * * @param the type of the resource returned from the update. */ -@LangDefinition(ContainerName="ResourceActions", CreateAsyncMultiThreadMethodParam=true) +@LangDefinition(ContainerName = "ResourceActions", CreateAsyncMultiThreadMethodParam = true) public interface Appliable extends Indexable { /** * Execute the update request. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Attachable.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Attachable.java index 10da601050c8..ef105f2a2a60 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Attachable.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Attachable.java @@ -13,7 +13,7 @@ * * @param the parent definition {@link Attachable#attach()} returns to */ -@LangDefinition(ContainerName="ChildResourceActions") +@LangDefinition(ContainerName = "ChildResourceActions") public interface Attachable { /** * Attaches this child object's definition to its parent's definition. @@ -25,7 +25,7 @@ public interface Attachable { * The final stage of the child object definition, as which it can be attached to the parent. * @param the parent definition */ - @LangDefinition(ContainerName="~/Core.ChildResource.Definition", ContainerFileName="IDefinition") + @LangDefinition(ContainerName = "~/Core.ChildResource.Definition", ContainerFileName = "IDefinition") interface InDefinition { /** * Attaches the child definition to the parent resource definiton. @@ -50,7 +50,7 @@ interface InDefinitionAlt { * The final stage of the child object definition, as which it can be attached to the parent. * @param the parent definition */ - @LangDefinition(ContainerName="~/Core.ChildResource.Update", ContainerFileName="IUpdate") + @LangDefinition(ContainerName = "~/Core.ChildResource.Update", ContainerFileName = "IUpdate") interface InUpdate { /** * Attaches the child definition to the parent resource update. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Creatable.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Creatable.java index 02ccd2481426..110f2e100883 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Creatable.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Creatable.java @@ -16,7 +16,7 @@ * * @param the fluent type of the resource to be created */ -@LangDefinition(ContainerName="ResourceActions", CreateAsyncMultiThreadMethodParam=true) +@LangDefinition(ContainerName = "ResourceActions", CreateAsyncMultiThreadMethodParam = true) public interface Creatable extends Indexable { /** * @return the name of the creatable resource. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Indexable.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Indexable.java index 910976820ff9..92f4b92c453e 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Indexable.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Indexable.java @@ -11,7 +11,7 @@ /** * Base interface for all models that can be indexed by a key. */ -@LangDefinition(ContainerName="ResourceActions", CreateAsyncMultiThreadMethodParam=true) +@LangDefinition(ContainerName = "ResourceActions", CreateAsyncMultiThreadMethodParam = true) public interface Indexable { /** * @return the index key. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Refreshable.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Refreshable.java index ee7b47839711..c57e34a4983d 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Refreshable.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Refreshable.java @@ -13,7 +13,7 @@ * * @param the fluent type of the resource */ -@LangDefinition(ContainerName="ResourceActions") +@LangDefinition(ContainerName = "ResourceActions") public interface Refreshable { /** * Refreshes the resource to sync with Azure. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Settable.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Settable.java index dd2c64cd17dd..76de599d9540 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Settable.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Settable.java @@ -8,7 +8,7 @@ * * @param the parent definition {@link Settable#parent()} returns to */ -@LangDefinition(ContainerName="ChildResourceActions") +@LangDefinition(ContainerName = "ChildResourceActions") public interface Settable { /** * Begins an update for a child resource. diff --git a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Updatable.java b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Updatable.java index 1c1e80d6629a..6d274e92c9a2 100644 --- a/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Updatable.java +++ b/azure-mgmt-resources/src/main/java/com/microsoft/azure/management/resources/fluentcore/model/Updatable.java @@ -13,7 +13,7 @@ * * @param the fluent type of the resource */ -@LangDefinition(ContainerName="ResourceActions") +@LangDefinition(ContainerName = "ResourceActions") public interface Updatable { /** * Begins an update for a new resource. diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageAccount.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageAccount.java index c3e4d349816b..0079054677b1 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageAccount.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageAccount.java @@ -106,7 +106,7 @@ public interface StorageAccount extends * @throws CloudException exception thrown from REST call * @throws IOException exception thrown from serialization/deserialization */ - @LangMethodDefinition(AsType=LangMethodType.Method) + @LangMethodDefinition(AsType = LangMethodType.Method) List keys() throws CloudException, IOException; /** @@ -117,7 +117,7 @@ public interface StorageAccount extends * @throws CloudException exception thrown from REST call * @throws IOException exception thrown from serialization/deserialization */ - @LangMethodDefinition(AsType=LangMethodType.Method) + @LangMethodDefinition(AsType = LangMethodType.Method) List refreshKeys() throws CloudException, IOException; /** @@ -128,7 +128,7 @@ public interface StorageAccount extends * @throws CloudException exception thrown from REST call * @throws IOException exception thrown from serialization/deserialization */ - @LangMethodDefinition(AsType=LangMethodType.Method) + @LangMethodDefinition(AsType = LangMethodType.Method) List regenerateKey(String keyName) throws CloudException, IOException; /************************************************************** @@ -138,7 +138,7 @@ public interface StorageAccount extends /** * Container interface for all the definitions that need to be implemented. */ - @LangDefinition(ContainerName="~/StorageAccount.Definition", ContainerFileName="IDefinition") + @LangDefinition(ContainerName = "~/StorageAccount.Definition", ContainerFileName = "IDefinition") interface Definition extends DefinitionStages.Blank, DefinitionStages.WithGroup, @@ -149,7 +149,7 @@ interface Definition extends /** * Grouping of all the storage account definition stages. */ - @LangDefinition(ContainerName="~/StorageAccount.Definition", ContainerFileName="IDefinition", IsContainerOnly=true) + @LangDefinition(ContainerName = "~/StorageAccount.Definition", ContainerFileName = "IDefinition", IsContainerOnly = true) interface DefinitionStages { /** * The first stage of the storage account definition. @@ -283,7 +283,7 @@ interface WithCreateAndAccessTier extends DefinitionStages.WithCreate { /** * Grouping of all the storage account update stages. */ - @LangDefinition(ContainerName="~/StorageAccount.Update", ContainerFileName="IUpdate", IsContainerOnly=true) + @LangDefinition(ContainerName = "~/StorageAccount.Update", ContainerFileName = "IUpdate", IsContainerOnly = true) interface UpdateStages { /** * A storage account update stage allowing to change the parameters. @@ -371,7 +371,7 @@ interface WithAccessTier { /** * The template for a storage account update operation, containing all the settings that can be modified. */ - @LangDefinition(ContainerName="~/StorageAccount.Update", ContainerFileName="IUpdate") + @LangDefinition(ContainerName = "~/StorageAccount.Update", ContainerFileName = "IUpdate") interface Update extends Appliable, UpdateStages.WithSku, diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageAccounts.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageAccounts.java index 1d58f71d1518..8a521d1e0316 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageAccounts.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageAccounts.java @@ -22,7 +22,7 @@ /** * Entry point for storage accounts management API. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface StorageAccounts extends SupportsListing, SupportsCreating, diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageUsage.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageUsage.java index aff09297c05c..ebd5c924d9bb 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageUsage.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/StorageUsage.java @@ -13,7 +13,7 @@ /** * An immutable client-side representation of an Azure storage resource usage info object. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface StorageUsage extends Wrapper { /** * @return the unit of measurement. Possible values include: 'Count', diff --git a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/Usages.java b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/Usages.java index ac9995b5af80..f543747f20ab 100644 --- a/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/Usages.java +++ b/azure-mgmt-storage/src/main/java/com/microsoft/azure/management/storage/Usages.java @@ -12,6 +12,6 @@ /** * Entry point for storage resource usage management API. */ -@LangDefinition(ContainerName="~/") +@LangDefinition(ContainerName = "~/") public interface Usages extends SupportsListing { }