Skip to content

Commit

Permalink
Beta v1.1 markers
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown authored and unknown committed May 18, 2017
1 parent 2864603 commit fd832fc
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,6 @@ public interface AppServiceCertificate extends
*/
HostingEnvironmentProfile hostingEnvironmentProfile();


/**************************************************************
* Fluent interfaces to provision a App service certificate
**************************************************************/

/**
* Container interface for all the definitions that need to be implemented.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import com.microsoft.azure.management.apigeneration.Beta;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.apigeneration.Beta.SinceVersion;
import com.microsoft.azure.management.compute.implementation.ComputeManager;
import com.microsoft.azure.management.compute.implementation.ContainerServiceInner;
import com.microsoft.azure.management.resources.fluentcore.arm.models.GroupableResource;
Expand All @@ -20,7 +21,7 @@
* An client-side representation for a container service.
*/
@Fluent
@Beta
@Beta(SinceVersion.V1_1_0)
public interface ContainerService extends
GroupableResource<ComputeManager, ContainerServiceInner>,
Refreshable<ContainerService>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
package com.microsoft.azure.management.compute;

import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.apigeneration.Beta.SinceVersion;
import com.microsoft.azure.management.apigeneration.Beta;
import com.microsoft.azure.management.compute.implementation.ComputeManager;
import com.microsoft.azure.management.compute.implementation.ContainerServicesInner;
Expand All @@ -24,7 +25,7 @@
* Entry point to container service management API.
*/
@Fluent()
@Beta()
@Beta(SinceVersion.V1_1_0)
public interface ContainerServices extends
SupportsCreating<ContainerService.DefinitionStages.Blank>,
HasManager<ComputeManager>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import com.microsoft.azure.AzureResponseBuilder;
import com.microsoft.azure.credentials.AzureTokenCredentials;
import com.microsoft.azure.management.apigeneration.Beta;
import com.microsoft.azure.management.apigeneration.Beta.SinceVersion;
import com.microsoft.azure.management.compute.AvailabilitySets;
import com.microsoft.azure.management.compute.ComputeUsages;
import com.microsoft.azure.management.compute.Disks;
Expand Down Expand Up @@ -131,7 +132,7 @@ public AvailabilitySets availabilitySets() {
/**
* @return the availability set resource management API entry point
*/
@Beta
@Beta(SinceVersion.V1_1_0)
public ContainerServices containerServices() {
if (containerServices == null) {
containerServices = new ContainerServicesImpl(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import com.microsoft.azure.management.apigeneration.Beta;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.apigeneration.Beta.SinceVersion;
import com.microsoft.azure.management.containerregistry.implementation.ContainerRegistryManager;
import com.microsoft.azure.management.containerregistry.implementation.RegistriesInner;
import com.microsoft.azure.management.containerregistry.implementation.RegistryListCredentialsResultInner;
Expand All @@ -26,7 +27,7 @@
* Entry point to the registry management API.
*/
@Fluent()
@Beta()
@Beta(SinceVersion.V1_1_0)
public interface Registries extends
SupportsCreating<Registry.DefinitionStages.Blank>,
HasManager<ContainerRegistryManager>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
package com.microsoft.azure.management.containerregistry;

import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.apigeneration.Beta.SinceVersion;
import com.microsoft.azure.management.apigeneration.Beta;
import com.microsoft.azure.management.containerregistry.implementation.ContainerRegistryManager;
import com.microsoft.azure.management.containerregistry.implementation.RegistryInner;
Expand All @@ -23,7 +24,7 @@
* An immutable client-side representation of an Azure registry.
*/
@Fluent
@Beta()
@Beta(SinceVersion.V1_1_0)
public interface Registry extends
GroupableResource<ContainerRegistryManager, RegistryInner>,
Refreshable<Registry>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import com.microsoft.azure.AzureResponseBuilder;
import com.microsoft.azure.credentials.AzureTokenCredentials;
import com.microsoft.azure.management.apigeneration.Beta;
import com.microsoft.azure.management.apigeneration.Beta.SinceVersion;
import com.microsoft.azure.management.containerregistry.Registries;
import com.microsoft.azure.management.resources.fluentcore.arm.AzureConfigurable;
import com.microsoft.azure.management.resources.fluentcore.arm.implementation.AzureConfigurableImpl;
Expand All @@ -21,7 +22,7 @@
/**
* Entry point to Azure compute resource management.
*/
@Beta
@Beta(SinceVersion.V1_1_0)
public final class ContainerRegistryManager extends Manager<ContainerRegistryManager, ContainerRegistryManagementClientImpl> {
// The service managers
private RegistriesImpl registries;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import com.microsoft.azure.management.apigeneration.Beta;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.apigeneration.Beta.SinceVersion;
import com.microsoft.azure.management.documentdb.implementation.DocumentDBManager;
import com.microsoft.azure.management.documentdb.implementation.DatabaseAccountInner;
import com.microsoft.azure.management.documentdb.implementation.FailoverPolicyInner;
Expand All @@ -27,7 +28,7 @@
* An immutable client-side representation of an Azure document db.
*/
@Fluent
@Beta
@Beta(SinceVersion.V1_1_0)
public interface DatabaseAccount extends
GroupableResource<DocumentDBManager, DatabaseAccountInner>,
Refreshable<DatabaseAccount>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import com.microsoft.azure.AzureResponseBuilder;
import com.microsoft.azure.credentials.AzureTokenCredentials;
import com.microsoft.azure.management.apigeneration.Beta;
import com.microsoft.azure.management.apigeneration.Beta.SinceVersion;
import com.microsoft.azure.management.documentdb.DatabaseAccounts;
import com.microsoft.azure.management.resources.fluentcore.arm.AzureConfigurable;
import com.microsoft.azure.management.resources.fluentcore.arm.implementation.AzureConfigurableImpl;
Expand All @@ -21,7 +22,7 @@
/**
* Entry point to Azure compute resource management.
*/
@Beta
@Beta(SinceVersion.V1_1_0)
public final class DocumentDBManager extends Manager<DocumentDBManager, DocumentDBImpl> {
private DatabaseAccountsImpl databaseAccounts;
/**
Expand Down
8 changes: 5 additions & 3 deletions azure/src/main/java/com/microsoft/azure/management/Azure.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import com.microsoft.azure.credentials.ApplicationTokenCredentials;
import com.microsoft.azure.credentials.AzureTokenCredentials;
import com.microsoft.azure.management.apigeneration.Beta;
import com.microsoft.azure.management.apigeneration.Beta.SinceVersion;
import com.microsoft.azure.management.appservice.WebApps;
import com.microsoft.azure.management.appservice.implementation.AppServiceManager;
import com.microsoft.azure.management.batch.BatchAccounts;
Expand Down Expand Up @@ -592,30 +593,31 @@ public SqlServers sqlServers() {
/**
* @return entry point to managing Service Bus.
*/
@Beta
public ServiceBusNamespaces serviceBusNamespaces() {
return serviceBusManager.namespaces();
}

/**
* @return entry point to managing Container Services.
*/
@Beta
@Beta(SinceVersion.V1_1_0)
public ContainerServices containerServices() {
return computeManager.containerServices();
}

/**
* @return entry point to managing Container Registries.
*/
@Beta
@Beta(SinceVersion.V1_1_0)
public Registries containerRegistries() {
return containerRegistryManager.containerRegistries();
}

/**
* @return entry point to managing Container Regsitries.
*/
@Beta
@Beta(SinceVersion.V1_1_0)
public DatabaseAccounts documentDBs() {
return documentDBManager.databaseAccounts();
}
Expand Down

0 comments on commit fd832fc

Please sign in to comment.