Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions sdk/iotcentral/mgmt-v2018_09_01/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-iotcentral</artifactId>
<version>1.0.0-beta</version>
<version>1.0.0</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for IoTCentral Management</name>
<description>This package contains Microsoft IoTCentral Management SDK.</description>
<url>https://github.com/Azure/azure-libraries-for-java</url>
<url>https://github.com/Azure/azure-sdk-for-java</url>
<licenses>
<license>
<name>The MIT License (MIT)</name>
Expand All @@ -28,8 +28,8 @@
</license>
</licenses>
<scm>
<url>scm:git:https://github.com/Azure/azure-libraries-for-java</url>
<connection>scm:git:[email protected]:Azure/azure-libraries-for-java.git</connection>
<url>scm:git:https://github.com/Azure/azure-sdk-for-java</url>
<connection>scm:git:[email protected]:Azure/azure-sdk-for-java.git</connection>
<tag>HEAD</tag>
</scm>
<properties>
Expand Down Expand Up @@ -71,6 +71,8 @@
<artifactId>azure-arm-client-runtime</artifactId>
<type>test-jar</type>
<scope>test</scope>
<!--Below version for test jar needs to be removed, this will be done as part of v1-runtime 1.6.7-->
<version>1.6.5</version>
</dependency>
</dependencies>
<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,36 +77,44 @@ interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup<Wit
interface WithSku {
/**
* Specifies sku.
*/
* @param sku A valid instance SKU
* @return the next definition stage
*/
WithCreate withSku(AppSkuInfo sku);
}

/**
* The stage of the app update allowing to specify DisplayName.
* The stage of the app definition allowing to specify DisplayName.
*/
interface WithDisplayName {
/**
* Specifies displayName.
* @param displayName The display name of the application
* @return the next definition stage
*/
WithCreate withDisplayName(String displayName);
}

/**
* The stage of the app update allowing to specify Subdomain.
* The stage of the app definition allowing to specify Subdomain.
*/
interface WithSubdomain {
/**
* Specifies subdomain.
* @param subdomain The subdomain of the application
* @return the next definition stage
*/
WithCreate withSubdomain(String subdomain);
}

/**
* The stage of the app update allowing to specify Template.
* The stage of the app definition allowing to specify Template.
*/
interface WithTemplate {
/**
* Specifies template.
* @param template The ID of the application template, which is a blueprint that defines the characteristics and behaviors of an application. Optional; if not specified, defaults to a blank blueprint and allows the application to be defined from scratch
* @return the next definition stage
*/
WithCreate withTemplate(String template);
}
Expand All @@ -130,31 +138,37 @@ interface Update extends Appliable<App>, Resource.UpdateWithTags<Update>, Update
*/
interface UpdateStages {
/**
* The stage of the app {0} allowing to specify DisplayName.
* The stage of the app update allowing to specify DisplayName.
*/
interface WithDisplayName {
/**
* Specifies displayName.
* @param displayName The display name of the application
* @return the next update stage
*/
Update withDisplayName(String displayName);
}

/**
* The stage of the app {0} allowing to specify Subdomain.
* The stage of the app update allowing to specify Subdomain.
*/
interface WithSubdomain {
/**
* Specifies subdomain.
* @param subdomain The subdomain of the application
* @return the next update stage
*/
Update withSubdomain(String subdomain);
}

/**
* The stage of the app {0} allowing to specify Template.
* The stage of the app update allowing to specify Template.
*/
interface WithTemplate {
/**
* Specifies template.
* @param template The ID of the application template, which is a blueprint that defines the characteristics and behaviors of an application. Optional; if not specified, defaults to a blank blueprint and allows the application to be defined from scratch
* @return the next update stage
*/
Update withTemplate(String template);
}
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ public final class AppSku extends ExpandableStringEnum<AppSku> {
/** Static value S1 for AppSku. */
public static final AppSku S1 = fromString("S1");

/** Static value ST0 for AppSku. */
public static final AppSku ST0 = fromString("ST0");

/** Static value ST1 for AppSku. */
public static final AppSku ST1 = fromString("ST1");

/** Static value ST2 for AppSku. */
public static final AppSku ST2 = fromString("ST2");

/**
* Creates or finds a AppSku from its string representation.
* @param name a name to look for
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@
*/
public class AppSkuInfo {
/**
* The name of the SKU. Possible values include: 'F1', 'S1'.
* The name of the SKU. Possible values include: 'F1', 'S1', 'ST0', 'ST1',
* 'ST2'.
*/
@JsonProperty(value = "name", required = true)
private AppSku name;

/**
* Get the name of the SKU. Possible values include: 'F1', 'S1'.
* Get the name of the SKU. Possible values include: 'F1', 'S1', 'ST0', 'ST1', 'ST2'.
*
* @return the name value
*/
Expand All @@ -30,7 +31,7 @@ public AppSku name() {
}

/**
* Set the name of the SKU. Possible values include: 'F1', 'S1'.
* Set the name of the SKU. Possible values include: 'F1', 'S1', 'ST0', 'ST1', 'ST2'.
*
* @param name the name value to set
* @return the AppSkuInfo object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,40 @@
import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.iotcentral.v2018_09_01.implementation.IoTCentralManager;
import com.microsoft.azure.management.iotcentral.v2018_09_01.implementation.AppNameAvailabilityInfoInner;
import com.microsoft.azure.management.iotcentral.v2018_09_01.implementation.AppTemplateInner;

/**
* Type representing AppNameAvailabilityInfo.
* Type representing AppTemplate.
*/
public interface AppNameAvailabilityInfo extends HasInner<AppNameAvailabilityInfoInner>, HasManager<IoTCentralManager> {
public interface AppTemplate extends HasInner<AppTemplateInner>, HasManager<IoTCentralManager> {
/**
* @return the message value.
* @return the appTemplateName value.
*/
String message();
String appTemplateName();

/**
* @return the nameAvailable value.
* @return the description value.
*/
Boolean nameAvailable();
String description();

/**
* @return the reason value.
* @return the manifestId value.
*/
AppNameUnavailabilityReason reason();
String manifestId();

/**
* @return the manifestVersion value.
*/
String manifestVersion();

/**
* @return the order value.
*/
Double order();

/**
* @return the title value.
*/
String title();

}
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,12 @@ public interface Apps extends SupportsCreating<App.DefinitionStages.Blank>, Supp
*/
Observable<AppAvailabilityInfo> checkSubdomainAvailabilityAsync(OperationInputs operationInputs);

/**
* Get all available application templates.
*
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
Observable<AppTemplate> listTemplatesAsync();

}

This file was deleted.

Loading