diff --git a/resources/resource-manager/v2018_02_01/pom.xml b/resources/resource-manager/v2018_02_01/pom.xml
index e818f341267c3..3f080ea1daf71 100644
--- a/resources/resource-manager/v2018_02_01/pom.xml
+++ b/resources/resource-manager/v2018_02_01/pom.xml
@@ -11,15 +11,15 @@
com.microsoft.azure
azure-arm-parent
- 1.1.0
- ../../../pom.management.xml
+ 0.0.3-beta
+ ../../../pom.xml
azure-mgmt-resources
- 1.0.0-beta-1
+ 1.0.0-beta
jar
Microsoft Azure SDK for Resources Management
This package contains Microsoft Resources Management SDK.
- https://github.com/Azure/azure-libraries-for-java
+ https://github.com/Azure/azure-sdk-for-java
The MIT License (MIT)
@@ -28,8 +28,8 @@
- scm:git:https://github.com/Azure/azure-libraries-for-java
- scm:git:git@github.com:Azure/azure-libraries-for-java.git
+ scm:git:https://github.com/Azure/azure-sdk-for-java
+ scm:git:git@github.com:Azure/azure-sdk-for-java.git
HEAD
diff --git a/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/DeploymentExtended.java b/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/DeploymentExtended.java
index e1dec4004aec6..b15b190ad025c 100644
--- a/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/DeploymentExtended.java
+++ b/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/DeploymentExtended.java
@@ -59,6 +59,8 @@ interface Blank extends WithResourceGroupName {
interface WithResourceGroupName {
/**
* Specifies resourceGroupName.
+ * @param resourceGroupName The name of the resource group to deploy the resources to. The name is case insensitive. The resource group must already exist
+ * @return the next definition stage
*/
WithProperties withResourceGroupName(String resourceGroupName);
}
@@ -69,6 +71,8 @@ interface WithResourceGroupName {
interface WithProperties {
/**
* Specifies properties.
+ * @param properties The deployment properties
+ * @return the next definition stage
*/
WithCreate withProperties(DeploymentProperties properties);
}
@@ -97,6 +101,8 @@ interface UpdateStages {
interface WithProperties {
/**
* Specifies properties.
+ * @param properties The deployment properties
+ * @return the next update stage
*/
Update withProperties(DeploymentProperties properties);
}
diff --git a/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/DeploymentPropertiesExtended.java b/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/DeploymentPropertiesExtended.java
index 2a3eb61e53fc9..61027f45b92a1 100644
--- a/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/DeploymentPropertiesExtended.java
+++ b/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/DeploymentPropertiesExtended.java
@@ -36,7 +36,7 @@ public class DeploymentPropertiesExtended {
private DateTime timestamp;
/**
- * Key/value pairs that represent deploymentoutput.
+ * Key/value pairs that represent deployment output.
*/
@JsonProperty(value = "outputs")
private Object outputs;
@@ -126,7 +126,7 @@ public DateTime timestamp() {
}
/**
- * Get key/value pairs that represent deploymentoutput.
+ * Get key/value pairs that represent deployment output.
*
* @return the outputs value
*/
@@ -135,7 +135,7 @@ public Object outputs() {
}
/**
- * Set key/value pairs that represent deploymentoutput.
+ * Set key/value pairs that represent deployment output.
*
* @param outputs the outputs value to set
* @return the DeploymentPropertiesExtended object itself.
diff --git a/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/Deployments.java b/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/Deployments.java
index ab1b9412c9c4e..81aeb5b27e16c 100644
--- a/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/Deployments.java
+++ b/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/Deployments.java
@@ -30,7 +30,7 @@ public interface Deployments extends SupportsCreating checkExistenceAsync(String resourceGroupName, String deploymentName);
/**
* Cancels a currently running template deployment.
diff --git a/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/ExportTemplateRequest.java b/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/ExportTemplateRequest.java
index 3c7c218923a08..eda948928615a 100644
--- a/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/ExportTemplateRequest.java
+++ b/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/ExportTemplateRequest.java
@@ -16,23 +16,23 @@
*/
public class ExportTemplateRequest {
/**
- * The IDs of the resources. The only supported string currently is '*'
- * (all resources). Future updates will support exporting specific
- * resources.
+ * The IDs of the resources to filter the export by. To export all
+ * resources, supply an array with single entry '*'.
*/
@JsonProperty(value = "resources")
private List resources;
/**
- * The export template options. Supported values include
- * 'IncludeParameterDefaultValue', 'IncludeComments' or
- * 'IncludeParameterDefaultValue, IncludeComments.
+ * The export template options. A CSV-formatted list containing zero or
+ * more of the following: 'IncludeParameterDefaultValue',
+ * 'IncludeComments', 'SkipResourceNameParameterization',
+ * 'SkipAllParameterization'.
*/
@JsonProperty(value = "options")
private String options;
/**
- * Get the IDs of the resources. The only supported string currently is '*' (all resources). Future updates will support exporting specific resources.
+ * Get the IDs of the resources to filter the export by. To export all resources, supply an array with single entry '*'.
*
* @return the resources value
*/
@@ -41,7 +41,7 @@ public List resources() {
}
/**
- * Set the IDs of the resources. The only supported string currently is '*' (all resources). Future updates will support exporting specific resources.
+ * Set the IDs of the resources to filter the export by. To export all resources, supply an array with single entry '*'.
*
* @param resources the resources value to set
* @return the ExportTemplateRequest object itself.
@@ -52,7 +52,7 @@ public ExportTemplateRequest withResources(List resources) {
}
/**
- * Get the export template options. Supported values include 'IncludeParameterDefaultValue', 'IncludeComments' or 'IncludeParameterDefaultValue, IncludeComments.
+ * Get the export template options. A CSV-formatted list containing zero or more of the following: 'IncludeParameterDefaultValue', 'IncludeComments', 'SkipResourceNameParameterization', 'SkipAllParameterization'.
*
* @return the options value
*/
@@ -61,7 +61,7 @@ public String options() {
}
/**
- * Set the export template options. Supported values include 'IncludeParameterDefaultValue', 'IncludeComments' or 'IncludeParameterDefaultValue, IncludeComments.
+ * Set the export template options. A CSV-formatted list containing zero or more of the following: 'IncludeParameterDefaultValue', 'IncludeComments', 'SkipResourceNameParameterization', 'SkipAllParameterization'.
*
* @param options the options value to set
* @return the ExportTemplateRequest object itself.
diff --git a/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/ParametersLink.java b/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/ParametersLink.java
index 6e7632d8f5551..ba8711528d532 100644
--- a/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/ParametersLink.java
+++ b/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/ParametersLink.java
@@ -11,7 +11,7 @@
import com.fasterxml.jackson.annotation.JsonProperty;
/**
- * Entity representing the reference to the deployment paramaters.
+ * Entity representing the reference to the deployment parameters.
*/
public class ParametersLink {
/**
diff --git a/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/ResourceGroup.java b/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/ResourceGroup.java
index 3652cf418a5b5..5b57231a7e3c1 100644
--- a/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/ResourceGroup.java
+++ b/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/ResourceGroup.java
@@ -75,6 +75,7 @@ interface Blank extends WithSubscription {
interface WithSubscription {
/**
* Specifies .
+ * @return the next definition stage
*/
WithLocation withExistingSubscription();
}
@@ -85,6 +86,8 @@ interface WithSubscription {
interface WithLocation {
/**
* Specifies location.
+ * @param location The location of the resource group. It cannot be changed after the resource group has been created. It must be one of the supported Azure locations
+ * @return the next definition stage
*/
WithCreate withLocation(String location);
}
@@ -95,6 +98,8 @@ interface WithLocation {
interface WithManagedBy {
/**
* Specifies managedBy.
+ * @param managedBy The ID of the resource that manages this resource group
+ * @return the next definition stage
*/
WithCreate withManagedBy(String managedBy);
}
@@ -105,6 +110,8 @@ interface WithManagedBy {
interface WithName {
/**
* Specifies name.
+ * @param name The name of the resource group
+ * @return the next definition stage
*/
WithCreate withName(String name);
}
@@ -115,6 +122,8 @@ interface WithName {
interface WithProperties {
/**
* Specifies properties.
+ * @param properties the properties parameter value
+ * @return the next definition stage
*/
WithCreate withProperties(ResourceGroupProperties properties);
}
@@ -125,6 +134,8 @@ interface WithProperties {
interface WithTags {
/**
* Specifies tags.
+ * @param tags The tags attached to the resource group
+ * @return the next definition stage
*/
WithCreate withTags(Map tags);
}
@@ -153,6 +164,8 @@ interface UpdateStages {
interface WithManagedBy {
/**
* Specifies managedBy.
+ * @param managedBy The ID of the resource that manages this resource group
+ * @return the next update stage
*/
Update withManagedBy(String managedBy);
}
@@ -163,6 +176,8 @@ interface WithManagedBy {
interface WithName {
/**
* Specifies name.
+ * @param name The name of the resource group
+ * @return the next update stage
*/
Update withName(String name);
}
@@ -173,6 +188,8 @@ interface WithName {
interface WithProperties {
/**
* Specifies properties.
+ * @param properties the properties parameter value
+ * @return the next update stage
*/
Update withProperties(ResourceGroupProperties properties);
}
@@ -183,6 +200,8 @@ interface WithProperties {
interface WithTags {
/**
* Specifies tags.
+ * @param tags The tags attached to the resource group
+ * @return the next update stage
*/
Update withTags(Map tags);
}
diff --git a/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/ResourceGroups.java b/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/ResourceGroups.java
index aa21480a91cae..9393810d6c628 100644
--- a/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/ResourceGroups.java
+++ b/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/ResourceGroups.java
@@ -25,7 +25,7 @@ public interface ResourceGroups extends SupportsCreating checkExistenceAsync(String resourceGroupName);
/**
* Captures the specified resource group as a template.
diff --git a/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/Resources.java b/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/Resources.java
index ea0f13adfa3de..31815daed7108 100644
--- a/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/Resources.java
+++ b/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/Resources.java
@@ -34,7 +34,7 @@ public interface Resources extends HasInner {
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
- Completable checkExistenceByIdAsync(String resourceId, String apiVersion);
+ Observable checkExistenceByIdAsync(String resourceId, String apiVersion);
/**
* Deletes a resource by ID.
@@ -121,7 +121,7 @@ public interface Resources extends HasInner {
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
- Completable checkExistenceAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion);
+ Observable checkExistenceAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion);
/**
* Deletes a resource.
diff --git a/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/implementation/DeploymentExtendedImpl.java b/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/implementation/DeploymentExtendedImpl.java
index 62c9568f500bd..5a1230b0f757b 100644
--- a/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/implementation/DeploymentExtendedImpl.java
+++ b/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/implementation/DeploymentExtendedImpl.java
@@ -38,10 +38,10 @@ class DeploymentExtendedImpl extends CreatableUpdatableImpl checkExistenceAsync(String resourceGroupName, String deploymentName) {
DeploymentsInner client = this.inner();
- return client.checkExistenceAsync(resourceGroupName, deploymentName).toCompletable();
- }
+ return client.checkExistenceAsync(resourceGroupName, deploymentName)
+ ;}
@Override
public Completable cancelAsync(String resourceGroupName, String deploymentName) {
diff --git a/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/implementation/ProviderImpl.java b/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/implementation/ProviderImpl.java
index e4a5ffdec2faf..331a1cbbb450f 100644
--- a/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/implementation/ProviderImpl.java
+++ b/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/implementation/ProviderImpl.java
@@ -21,6 +21,7 @@ class ProviderImpl extends IndexableRefreshableWrapperImpl checkExistenceAsync(String resourceGroupName) {
ResourceGroupsInner client = this.inner();
- return client.checkExistenceAsync(resourceGroupName).toCompletable();
- }
+ return client.checkExistenceAsync(resourceGroupName)
+ ;}
@Override
public Observable exportTemplateAsync(String resourceGroupName, ExportTemplateRequest parameters) {
diff --git a/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/implementation/ResourceManagementClientImpl.java b/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/implementation/ResourceManagementClientImpl.java
index 1ca867bc55a3b..acec4803ee679 100644
--- a/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/implementation/ResourceManagementClientImpl.java
+++ b/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/implementation/ResourceManagementClientImpl.java
@@ -63,11 +63,11 @@ public String apiVersion() {
return this.apiVersion;
}
- /** Gets or sets the preferred language for the response. */
+ /** The preferred language for the response. */
private String acceptLanguage;
/**
- * Gets Gets or sets the preferred language for the response.
+ * Gets The preferred language for the response.
*
* @return the acceptLanguage value.
*/
@@ -76,7 +76,7 @@ public String acceptLanguage() {
}
/**
- * Sets Gets or sets the preferred language for the response.
+ * Sets The preferred language for the response.
*
* @param acceptLanguage the acceptLanguage value.
* @return the service client itself
@@ -86,11 +86,11 @@ public ResourceManagementClientImpl withAcceptLanguage(String acceptLanguage) {
return this;
}
- /** Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30. */
+ /** The retry timeout in seconds for Long Running Operations. Default value is 30. */
private int longRunningOperationRetryTimeout;
/**
- * Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
+ * Gets The retry timeout in seconds for Long Running Operations. Default value is 30.
*
* @return the longRunningOperationRetryTimeout value.
*/
@@ -99,7 +99,7 @@ public int longRunningOperationRetryTimeout() {
}
/**
- * Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
+ * Sets The retry timeout in seconds for Long Running Operations. Default value is 30.
*
* @param longRunningOperationRetryTimeout the longRunningOperationRetryTimeout value.
* @return the service client itself
@@ -109,11 +109,11 @@ public ResourceManagementClientImpl withLongRunningOperationRetryTimeout(int lon
return this;
}
- /** When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. */
+ /** Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. */
private boolean generateClientRequestId;
/**
- * Gets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
+ * Gets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
*
* @return the generateClientRequestId value.
*/
@@ -122,7 +122,7 @@ public boolean generateClientRequestId() {
}
/**
- * Sets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
+ * Sets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
*
* @param generateClientRequestId the generateClientRequestId value.
* @return the service client itself
@@ -261,6 +261,6 @@ protected void initialize() {
*/
@Override
public String userAgent() {
- return String.format("%s (%s, %s)", super.userAgent(), "ResourceManagementClient", "2018-02-01");
+ return String.format("%s (%s, %s, auto-generated)", super.userAgent(), "ResourceManagementClient", "2018-02-01");
}
}
diff --git a/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/implementation/ResourcesImpl.java b/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/implementation/ResourcesImpl.java
index 7d31838c0946d..5ddd1482d32db 100644
--- a/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/implementation/ResourcesImpl.java
+++ b/resources/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/resources/v2018_02_01/implementation/ResourcesImpl.java
@@ -53,10 +53,10 @@ public GenericResource call(GenericResourceInner inner) {
}
@Override
- public Completable checkExistenceByIdAsync(String resourceId, String apiVersion) {
+ public Observable checkExistenceByIdAsync(String resourceId, String apiVersion) {
ResourcesInner client = this.inner();
- return client.checkExistenceByIdAsync(resourceId, apiVersion).toCompletable();
- }
+ return client.checkExistenceByIdAsync(resourceId, apiVersion)
+ ;}
@Override
public Completable deleteByIdAsync(String resourceId, String apiVersion) {
@@ -131,10 +131,10 @@ public Completable validateMoveResourcesAsync(String sourceResourceGroupName, Re
}
@Override
- public Completable checkExistenceAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion) {
+ public Observable checkExistenceAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion) {
ResourcesInner client = this.inner();
- return client.checkExistenceAsync(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, apiVersion).toCompletable();
- }
+ return client.checkExistenceAsync(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, apiVersion)
+ ;}
@Override
public Completable deleteAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion) {